﻿/* Production-connected additions to the approved v27 design system: loading, empty, unavailable and source states,
   the sandboxed report viewer and the standalone sign-in error page. Uses the prototype's tokens only. */
.live-boot{padding:48px 24px;text-align:center;color:var(--muted,#667085)}
.live-state{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;min-height:180px;padding:24px;text-align:center;color:var(--muted,#667085);font-size:13px}
.live-state.compact{min-height:96px;grid-column:1/-1}
.live-state p{margin:0;max-width:420px;line-height:1.6}
.live-state .icon{width:22px;height:22px;color:var(--brand,#368b94);flex-shrink:0}
.live-error{flex-direction:column}
.live-spinner{width:22px;height:22px;border-radius:50%;border:3px solid color-mix(in srgb,var(--brand,#368b94) 22%,transparent);border-top-color:var(--brand,#368b94);animation:live-spin .9s linear infinite;display:inline-block}
@keyframes live-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.live-spinner{animation:none}}
.live-source{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted,#667085)}
.tag.warning{color:#b54708;background:#fffaeb}
.dark .tag.warning{color:#fec84b;background:#3a2a10}
.placeholder-text{color:var(--border,#e4e7ec);letter-spacing:-1px}
.report-frame{display:block;width:100%;min-height:78vh;border:1px solid var(--border,#e4e7ec);border-radius:16px;background:#fff}
.dd-signin{border:0;width:100%;cursor:pointer;font:inherit}
@media print{.report-frame{border:0;min-height:0}}
/* Sign-in error page (server-rendered, no script) */
.plain-page{margin:0;min-height:100vh;display:grid;place-items:center;background:#f9fafb;color:#1d2939;font:15px/1.6 "Segoe UI",Tahoma,sans-serif;padding:16px}
.plain-card{max-width:560px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:32px}
.plain-card h1{font-size:22px;margin:0 0 12px;color:#28727b}
.plain-card a{color:#28727b}
.plain-btn{display:inline-block;background:#368b94;color:#fff!important;text-decoration:none;border-radius:8px;padding:10px 16px;margin-inline-end:12px}
.directory-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.searchbox-inline{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--border,#e4e7ec);border-radius:8px;background:var(--surface,#fff)}
.searchbox-inline .icon{width:16px;height:16px;color:var(--brand,#368b94)}
.searchbox-inline input{border:0;outline:0;background:none;color:var(--text);min-width:180px;font:inherit}
.directory-tools select{height:40px;border:1px solid var(--border,#e4e7ec);border-radius:8px;background:var(--surface,#fff);color:var(--text);padding:0 10px;font:inherit}
.pager{display:flex;align-items:center;gap:8px}.pager .btn{min-height:34px;padding:6px 10px}
@media(max-width:600px){.searchbox-inline input{min-width:0;width:100%}.directory-tools{width:100%}.searchbox-inline{flex:1}}
/* Release scope 2026-10-11: drilldown row, publisher ranking/detail, region treemap, factual summary */
.drill-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.drill-select select{max-width:220px}
.ranking-details{margin:0 0 16px}
.ranking-details summary{cursor:pointer;font-weight:600;color:var(--text);margin-bottom:10px}
.ranking-details summary:focus-visible,.entity-open:focus-visible,.drill-select select:focus-visible{outline:2px solid var(--brand,#368b94);outline-offset:2px}
.ranking-chart .rank-no{display:inline-block;min-width:22px;color:var(--muted,#667085);font-weight:600}
.entity-open{border:0;background:none;padding:0;cursor:pointer;text-align:start;font:inherit;color:inherit}
.entity-open strong{color:var(--brand-dark,#28727b)}
.dark .entity-open strong{color:#7cc4cb}
.detail-h{font-size:14px;margin:18px 0 8px;color:var(--text)}
.treemap-svg .treemap-label{fill:#fff;font-size:12px;font-weight:600}
.treemap-svg .treemap-value{fill:#fff;font-size:11px;opacity:.9}
.tree-legend{margin-top:12px}
.summary-facts{margin:14px 0;padding-inline-start:18px;line-height:1.7;color:var(--text)}
.summary-facts li{margin:2px 0}.selectbox:focus-within,.searchbox-inline:focus-within{outline:2px solid var(--brand,#368b94);outline-offset:2px}
