/* The overview owns its viewport; long collections scroll inside their panels. */
.overview-workspace{padding:14px 20px;overflow:hidden;scrollbar-gutter:auto}
.overview-workspace #view{height:100%;min-height:0}
.overview-dashboard{height:100%;min-height:0;display:grid;grid-template-rows:78px minmax(0,1fr);gap:12px}
.overview-dashboard .kpi-strip{margin:0;border-radius:4px}.overview-dashboard .kpi{padding:10px 15px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 8px}
.overview-dashboard .kpi-label{font-size:11px}.overview-dashboard .kpi-label svg{width:13px;height:13px}.overview-dashboard .kpi strong{font-size:25px;line-height:1.1;margin:0;grid-column:1;grid-row:2}.overview-dashboard .kpi small{font-size:9px;grid-row:2;grid-column:2;max-width:100px;line-height:1.6;text-align:right}
.overview-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:"map map feed" "coverage trend errors";gap:16px;min-height:0;min-width:0}
.overview-panel{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;border-top:1px solid var(--line)}
.overview-panel>.section-head{height:34px;min-height:34px;margin:0;gap:6px;flex-shrink:0}.overview-panel h2{font-size:13px;white-space:nowrap}.overview-panel h2 small{font-size:10px;margin-left:5px;font-weight:500;color:var(--muted)}.overview-panel .section-head>.icon-button{width:26px;min-width:26px;height:27px}.overview-panel .section-head>.icon-button svg{width:14px;height:14px}
.overview-feed{grid-area:feed}.overview-coverage{grid-area:coverage}.overview-trend{grid-area:trend}.overview-errors{grid-area:errors}
.overview-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.overview-panel .empty{padding:18px 12px;border-radius:3px;font-size:12px;line-height:1.7}.overview-panel .empty p{font-size:10px}.overview-panel .empty svg{width:21px;height:21px;margin-bottom:8px}

.overview-board .geo-section{grid-area:map;margin:0;display:flex;flex-direction:column;min-height:0;min-width:0}
.overview-board .geo-heading{height:38px;min-height:38px;margin:0 0 6px;flex-wrap:nowrap}.overview-board .geo-heading h2{font-size:13px}.overview-board .geo-heading p{font-size:9px;margin-top:4px;white-space:nowrap;max-width:none}
.overview-board .geo-map-modes .segment{padding:2px}.overview-board .geo-map-modes .segment button{font-size:10px;padding:4px 7px}
.geo-map-modes{position:absolute;z-index:3;top:6px;right:6px;display:flex;align-items:center;gap:5px;padding:3px;background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:0 2px 8px #17202b18}.geo-map-modes .segment{display:flex;align-items:center;background:var(--raised);border:1px solid var(--line);border-radius:5px;padding:2px}.geo-map-modes .segment button{border-radius:3px;color:var(--muted)}.geo-map-modes .segment button[aria-pressed="true"]{background:var(--surface);color:var(--cyan);box-shadow:0 1px 4px #17202b12;font-weight:600}.geo-map>.geo-vector-map.maplibregl-map{position:absolute;inset:0;width:100%;height:100%;z-index:0}.geo-vector-map[hidden]{display:none!important}.geo-vector-map canvas{outline:none}.geo-vector-map .maplibregl-ctrl-attrib{font-size:8px;background:color-mix(in srgb,var(--surface) 90%,transparent);color:var(--muted)}.geo-vector-map .maplibregl-ctrl-attrib a{color:inherit}.geo-vector-map .maplibregl-ctrl-attrib-button{background-color:var(--surface)}.geo-svg{position:relative;z-index:0}.geo-loading{z-index:4}.geo-map-tools,.geo-legend,.geo-tooltip,.geo-map-error{z-index:3}.geo-map-error{background:var(--canvas-bg)}
:root[data-theme=dark] .monitor-production .geo-section{--geo-land:#223039;--geo-1:#2a3941;--geo-2:#30464f;--geo-3:#385560;--geo-4:#416772;--geo-5:#4a7a86;--geo-overlay-opacity:.22}
:root[data-theme=dark] .monitor-production .geo-vector-map .maplibregl-ctrl-attrib,:root[data-theme=dark] .monitor-production .geo-vector-map .maplibregl-ctrl-attrib.maplibregl-compact-show{background:color-mix(in srgb,var(--op-surface) 94%,transparent)!important;color:var(--op-muted)!important;box-shadow:0 0 0 1px var(--op-line)}
:root[data-theme=dark] .monitor-production .geo-vector-map .maplibregl-ctrl-attrib-button{background-color:var(--op-surface)!important;filter:invert(.78)}
.overview-board .geo-layout{flex:1;grid-template-columns:minmax(0,1fr) 169px;gap:12px;min-height:0}
.overview-board .geo-main{min-height:0;display:flex;flex-direction:column}.overview-board .geo-map{height:auto;min-height:85px;flex:1;border-radius:4px}
.overview-board .geo-map-foot{font-size:9px;padding-top:6px;min-height:21px;max-height:34px;overflow:auto;scrollbar-width:thin}.overview-board .geo-unlocated button{font-size:9px}
.overview-board .geo-sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.overview-board .geo-detail{min-height:0;padding-bottom:7px;flex-shrink:0}.overview-board .geo-detail-title{min-height:22px}.overview-board .geo-detail-title strong{font-size:11px;gap:5px}.overview-board .geo-detail-title small{display:none}.overview-board .geo-detail-title svg{width:14px;height:14px}.overview-board .geo-detail-title .flag{font-size:14px}
.overview-board .geo-total{margin-top:5px;gap:7px}.overview-board .geo-total strong{font-size:22px}.overview-board .geo-total span{font-size:9px}
.overview-board .geo-metrics{margin:7px 0;gap:4px}.overview-board .geo-metrics dt{font-size:9px}.overview-board .geo-metrics dd{font-size:11px;margin-top:4px}
.overview-board .geo-actions{gap:6px}.overview-board .geo-actions .text-button{min-height:23px;height:23px;padding:4px 7px;gap:4px;font-size:9px}.overview-board .geo-actions .text-button span{display:none}.overview-board .geo-empty{font-size:10px;line-height:1.5}
.overview-board .geo-rank-title{margin:8px 0 4px;flex-shrink:0}.overview-board .geo-rank-title h3{font-size:10px}.overview-board .geo-rank-title>span{font-size:9px}.overview-board .geo-rank{max-height:none;min-height:0;flex:1}
.overview-board .geo-rank-row{grid-template-columns:13px 15px minmax(0,1fr) auto;gap:4px;min-height:29px;padding:6px 2px}.overview-board .geo-rank-row .flag{font-size:13px}.overview-board .geo-rank-name,.overview-board .geo-rank-amount{font-size:10px}.overview-board .geo-rank-track{left:36px;right:2px;height:1px;bottom:2px}.overview-board .geo-rank-track i{height:1px}
.overview-board .geo-legend{left:5px;bottom:5px;padding:4px 6px;gap:5px;font-size:9px}.overview-board .geo-scale i{width:10px;height:5px}
.overview-board .geo-map-tools{top:6px;left:6px}.overview-board .geo-map-tools .icon-button{width:23px;min-width:23px;height:23px}.overview-board .geo-map-tools svg{width:13px;height:13px}

.overview-feed-tabs{display:flex;align-items:center;gap:3px;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:2px}.overview-feed-tabs button{font-size:10px;padding:4px 7px;display:flex;align-items:center;gap:5px;border-radius:2px;color:var(--muted)}.overview-feed-tabs button[aria-pressed="true"]{color:var(--cyan);background:var(--cyan-bg)}.overview-feed-tabs svg{width:12px;height:12px}
.overview-feed-body{display:flex;flex-direction:column;flex:1;min-height:0}.overview-feed-meta{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted);min-height:28px;flex-shrink:0}.overview-feed-meta span:nth-child(2){margin-left:auto;white-space:nowrap}.overview-feed-meta b{font-variant-numeric:tabular-nums;color:var(--text);font-weight:500}.overview-feed-meta .icon-button{height:24px;width:24px;min-width:24px}.overview-feed-meta svg{width:13px;height:13px}
.brief-row{display:grid;grid-template-columns:56px minmax(0,1fr);width:100%;min-height:87px;align-items:center;gap:11px;text-align:left;padding:10px 3px;border-bottom:1px solid var(--line)}.brief-row:hover,.brief-video:hover{background:var(--hover)}
.brief-preview{height:60px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--raised);color:var(--dim);border:1px solid var(--line);border-radius:3px;overflow:hidden;isolation:isolate}
.brief-preview>svg{width:21px;height:21px}.overview-thumb{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}.brief-unavailable:after{content:attr(data-unavailable);font-size:9px;text-align:center;line-height:1.5;color:var(--muted);max-width:44px}
.brief-copy{display:block;min-width:0}.brief-copy>strong{font-size:12px;font-weight:550;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.brief-source{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;margin-top:6px;min-width:0}.brief-source>.flag{font-size:12px}.brief-source>span:not(.flag){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.brief-source time{font-size:9px;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.brief-kind{display:flex;align-items:center;gap:4px;font-size:9px;color:var(--dim);margin-top:4px}.brief-kind.amber{color:var(--amber)}.brief-kind svg{width:10px;height:10px}
.overview-feed-foot{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;color:var(--dim);border-top:1px solid var(--line);flex-shrink:0}
.brief-videos{container-type:size;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;align-content:start;gap:10px;padding:5px 2px 9px}
.brief-video{display:flex;flex-direction:column;text-align:left;min-width:0;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--surface)}.brief-video .brief-preview{height:auto;aspect-ratio:16/9;width:100%;flex-shrink:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.brief-video .brief-preview[data-platform="tiktok"]{aspect-ratio:9/16;align-self:center;width:min(100%,max(80px,calc((100cqh - 120px)*.5625)))}.brief-video .brief-unavailable:after{max-width:100%;padding:0 8px}
.brief-video .overview-thumb{object-fit:contain}.brief-video .brief-copy{width:100%;padding:8px}.brief-video .brief-copy>strong{font-size:11px}.brief-video .brief-source{flex-wrap:wrap;gap:3px}.brief-video .brief-source>span:not(.flag){max-width:80%}.brief-video .brief-source time{margin-left:0;width:100%;padding-top:3px}.brief-video .brief-kind{margin-top:6px;flex-wrap:wrap}
.brief-video-preview>small{font-size:9px;margin-top:8px}.brief-play{position:absolute;left:7px;bottom:7px;display:grid;place-items:center;width:22px;height:22px;background:var(--surface);color:var(--cyan);border-radius:50%;border:1px solid var(--line)}.brief-play svg{width:10px;height:10px;fill:currentColor}

.source-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;column-gap:14px}
.coverage-source{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:5px;text-align:left;min-height:30px;border-bottom:1px solid var(--line);padding:3px 1px;min-width:0}.coverage-source:hover,.coverage-source[aria-pressed="true"]{background:var(--hover)}.coverage-source[aria-pressed="true"] strong{color:var(--cyan)}
.source-symbol{height:24px;width:24px;display:grid;place-items:center;background:var(--cyan-bg);color:var(--cyan);border-radius:4px}.source-symbol svg{width:13px;height:13px}.source-symbol.source-inactive{color:var(--dim);background:var(--raised)}
.coverage-source strong{font-weight:500;display:block;font-size:11px;white-space:nowrap}.coverage-source small{display:block;font-size:9px;margin:0;color:var(--muted);white-space:nowrap}.source-output{text-align:right;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.source-pending{display:flex;align-items:center;gap:7px;font-size:10px;min-height:31px;border-bottom:1px solid var(--line);flex-shrink:0}.source-pending>strong{font-size:11px;font-weight:600}.source-pending>span:not(.tiktok-symbol){color:var(--muted)}.source-pending>.badge{margin-left:auto;font-size:9px;padding:3px 6px;background:var(--raised)}.tiktok-symbol{display:flex;align-items:center;color:var(--text)}.tiktok-symbol svg{width:16px;height:16px;filter:drop-shadow(-1px 0 #24b9c9) drop-shadow(1px 0 #da536e)}
.overview-cadence{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;min-height:24px;flex-shrink:0;padding:3px 0;text-align:left}.overview-cadence>svg{width:12px;height:12px}.overview-cadence>svg:last-child{margin-left:auto}.overview-cadence:hover{color:var(--cyan)}
.overview-trend .chart-frame{height:auto;flex:1;min-height:60px;border-bottom:0}.overview-trend-foot{height:24px;min-height:24px;display:flex;align-items:center;gap:15px;font-size:10px;color:var(--muted)}
.overview-errors .priority-list{border-top:0}.overview-errors .priority-row{padding:9px 2px;min-height:55px;gap:7px;grid-template-columns:4px minmax(0,1fr) auto}.overview-errors .severity-dot{width:3px;height:20px}.overview-errors .priority-row>div{min-width:0}.overview-errors .priority-row strong{font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px}.overview-errors .priority-row small{font-size:9px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-errors .badge{font-size:9px;padding:3px 5px}
.overview-skeleton{grid-template-rows:1fr}.overview-skeleton>.skeleton-shell,.overview-skeleton .skeleton-layout{height:100%;min-height:0}.overview-skeleton .skeleton-layout{display:grid;grid-template-rows:82px minmax(0,1fr);gap:12px}.overview-skeleton .kpi{display:block}.overview-skeleton .skeleton-line{margin:8px 0}.overview-skeleton .skeleton-map{grid-area:map;height:100%}.overview-skeleton .skeleton-panel{min-height:0;overflow:hidden;padding:4px 10px;background:var(--raised)}

@media(min-width:1650px){.overview-workspace{padding:16px 26px}.overview-dashboard{grid-template-rows:82px minmax(0,1fr);gap:14px}.overview-board{gap:20px;grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)}.overview-board .geo-layout{grid-template-columns:minmax(0,1fr) 200px;gap:16px}.overview-board .geo-rank-row{min-height:32px}.overview-board .geo-rank-name,.overview-board .geo-rank-amount{font-size:11px}.overview-panel h2,.overview-board .geo-heading h2{font-size:14px}.brief-copy>strong{font-size:13px}.brief-row{min-height:94px;grid-template-columns:66px minmax(0,1fr)}.brief-preview{height:65px}.brief-source,.brief-source time,.brief-kind{font-size:10px}.coverage-source{min-height:46px}.coverage-source strong{font-size:12px}}
@media(min-width:1100px) and (max-width:1350px){.overview-dashboard .kpi{padding:9px 11px}.overview-dashboard .kpi small{max-width:74px;font-size:8px}.overview-dashboard .kpi strong{font-size:23px}.overview-board .geo-layout{grid-template-columns:minmax(0,1fr) 150px;gap:10px}.source-coverage{column-gap:8px}.source-output small{display:none}.coverage-source{grid-template-columns:20px minmax(0,1fr) auto auto;gap:4px}.coverage-source small{font-size:8px}.source-output{font-size:10px}.source-symbol{width:20px;height:22px}.coverage-source strong{font-size:10px}.overview-feed-meta span:nth-child(2){font-size:8px}.brief-row{gap:8px;grid-template-columns:45px minmax(0,1fr)}}


@media(min-width:1100px) and (max-height:650px){.overview-workspace{overflow:auto}.overview-workspace #view{height:auto}.overview-dashboard{height:650px}}


/* Approved map summary: compact hierarchy, semantic metrics, aligned actions. */
.monitor-production .op-map-overview #opsMap .geo-detail{padding:2px 0 15px;border-bottom-color:var(--op-line)}
.monitor-production .op-map-overview #opsMap .geo-detail-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:30px}
.monitor-production .op-map-overview #opsMap .geo-detail-title strong{display:flex;align-items:center;gap:8px;min-width:0;color:var(--op-heading);font-size:14px;font-weight:650;letter-spacing:.05px;line-height:1.3}
.monitor-production .op-map-overview #opsMap .geo-detail-title strong svg{width:18px;height:18px;color:var(--op-secondary)}
.monitor-production .op-map-overview #opsMap .geo-detail-title small{color:var(--op-muted);font-size:11px;line-height:1.3;white-space:nowrap}
.monitor-production .op-map-overview #opsMap .geo-detail-title .icon-button{width:27px;min-width:27px;height:27px}
.monitor-production .op-map-overview #opsMap .geo-total{display:flex;align-items:baseline;gap:9px;margin:15px 0 14px}
.monitor-production .op-map-overview #opsMap .geo-total strong{color:var(--op-heading);font-size:34px;font-weight:650;letter-spacing:-1.15px;line-height:1;font-variant-numeric:tabular-nums}
.monitor-production .op-map-overview #opsMap .geo-total span{color:var(--op-muted);font-size:11px;white-space:nowrap}
.monitor-production .op-map-overview #opsMap .geo-metric-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px}
.monitor-production .op-map-overview #opsMap .geo-metric{box-sizing:border-box;min-width:0;min-height:60px;padding:9px 8px 8px;border:1px solid var(--op-line);border-radius:7px;background:color-mix(in srgb,var(--op-raised) 72%,var(--op-surface));overflow:hidden}
.monitor-production .op-map-overview #opsMap .geo-metric dt{overflow:hidden;color:var(--op-muted);font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.monitor-production .op-map-overview #opsMap .geo-metric dd{margin:7px 0 0;color:var(--op-heading);font-size:17px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}
.monitor-production .op-map-overview #opsMap .geo-metric-success dd{color:var(--op-green,var(--green))}
.monitor-production .op-map-overview #opsMap .geo-metric-failure dd{color:var(--op-red,var(--red))}
.monitor-production .op-map-overview #opsMap.geo-pending .geo-metric dd{color:var(--op-muted)}
.monitor-production .op-map-overview #opsMap .geo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.monitor-production .op-map-overview #opsMap .geo-actions .text-button{box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:6px 8px;justify-content:center;gap:6px;border-color:var(--op-line);border-radius:7px;background:transparent;color:var(--op-secondary);font-size:11px;white-space:nowrap}
.monitor-production .op-map-overview #opsMap .geo-actions .text-button:hover{border-color:color-mix(in srgb,var(--op-accent) 42%,var(--op-line));background:var(--op-accent-soft);color:var(--op-accent)}
.monitor-production .op-map-overview #opsMap .geo-actions .text-button svg{display:block;width:14px;height:14px}
.monitor-production .op-map-overview #opsMap .geo-actions .text-button span{display:inline}


