.dashboard-v3-root { display: grid; gap: 18px; }
.dashboard-v3-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.dashboard-v3-metric { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; min-width: 0; }
.dashboard-v3-metric strong { display: block; margin-top: 6px; font-size: 30px; line-height: 1; color: var(--text-primary); }
.dashboard-v3-metric span { display: block; margin-top: 7px; color: var(--text-secondary); font-size: 12px; }
.dashboard-v3-metric[data-tone="danger"] { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); }
.dashboard-v3-metric[data-tone="warning"] { border-color: color-mix(in srgb, var(--warning) 45%, var(--border)); }
.dashboard-v3-columns { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 16px; }
.dashboard-v3-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.dashboard-v3-panel > header { height: auto; min-height: 0; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.dashboard-v3-panel h2 { margin: 0; font-size: 16px; }
.dashboard-v3-list { display: grid; }
.dashboard-v3-item { appearance: none; width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text-primary); display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; text-align: left; cursor: pointer; }
.dashboard-v3-item:last-child { border-bottom: 0; }
.dashboard-v3-item:hover { background: var(--surface-muted); }
.dashboard-v3-thumb { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: var(--surface-muted); border: 1px solid var(--border); }
.dashboard-v3-thumb.empty { display: grid; place-items: center; color: var(--text-secondary); font-size: 18px; }
.dashboard-v3-item-main { min-width: 0; }
.dashboard-v3-item-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-v3-meta { margin-top: 4px; color: var(--text-secondary); font-size: 12px; overflow-wrap: anywhere; }
.dashboard-v3-item-side { display: grid; justify-items: end; gap: 6px; }
.dashboard-v3-empty { padding: 22px 16px; color: var(--text-secondary); }
.dashboard-v3-attention { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dashboard-v3-subhead { padding: 11px 14px 8px; font-size: 12px; font-weight: 800; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.dashboard-v3-platforms { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.dashboard-v3-platform { border: 1px solid var(--border); border-radius: 999px; padding: 5px 8px; font-size: 12px; color: var(--text-secondary); background: var(--surface-muted); }
.status-chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 7px; font-size: 11px; font-weight: 800; white-space: nowrap; background: var(--surface-muted); color: var(--text-primary); }
.status-chip[data-tone="success"] { color: var(--success); background: var(--success-bg); }
.status-chip[data-tone="warning"] { color: var(--warning); background: var(--warning-bg); }
.status-chip[data-tone="danger"] { color: var(--danger); background: var(--danger-bg); }
.status-chip[data-tone="info"] { color: var(--info); background: var(--info-bg); }
.dashboard-v3-events { padding: 0 14px 14px; }
.dashboard-v3-event { display: grid; grid-template-columns: 150px 140px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.dashboard-v3-event:last-child { border-bottom: 0; }
.dashboard-v3-event[data-level="error"] { color: var(--danger); }
@media (max-width: 980px) { .dashboard-v3-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-v3-columns,.dashboard-v3-attention { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .dashboard-v3-metrics { grid-template-columns: 1fr; } .dashboard-v3-item { grid-template-columns: 42px minmax(0,1fr); } .dashboard-v3-item-side { grid-column: 2; justify-items: start; } .dashboard-v3-event { grid-template-columns: 1fr; } }

/* VISUAL-001: scoped Overview layout; panels follow their content height. */
.overview-v1 { max-width:1440px; margin:0 auto; gap:24px; }
.overview-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.overview-eyebrow { font-size:10px; font-weight:800; letter-spacing:.14em; color:var(--text-secondary); }
.overview-heading h2 { margin:6px 0; font-size:28px; letter-spacing:-.035em; }
.overview-heading p { margin:0; color:var(--text-secondary); font-size:13px; }
.overview-create { border:0; border-radius:10px; padding:12px 17px; background:#315bea; color:white; font-weight:700; cursor:pointer; }
.overview-v1 .dashboard-v3-metrics { gap:12px; }
.overview-v1 .dashboard-v3-metric { text-align:left; font:inherit; color:var(--text-primary); padding:17px 19px; border-radius:12px; cursor:pointer; box-shadow:none; }
.overview-v1 .dashboard-v3-metric > div { display:flex; justify-content:space-between; font-size:13px; }
.overview-v1 .dashboard-v3-metric > div span { margin:0; font-size:15px; }
.overview-v1 .dashboard-v3-metric strong { font-size:32px; margin:13px 0 7px; letter-spacing:-.04em; }
.overview-v1 .dashboard-v3-metric:hover { border-color:#315bea; }
.overview-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr); gap:20px; align-items:start; }
.overview-side { display:grid; gap:16px; min-width:0; }
.overview-v1 .dashboard-v3-panel { min-width:0; box-shadow:none; border-radius:12px; height:auto; }
.overview-v1 .dashboard-v3-panel > header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; }
.overview-v1 .dashboard-v3-panel header h2 { font-size:15px; letter-spacing:-.015em; }
.overview-v1 header > div > span { display:block; color:var(--text-secondary); font-size:12px; margin-top:5px; }
.overview-v1 .dashboard-v3-item { padding:14px 18px; grid-template-columns:40px minmax(0,1fr) auto; gap:12px; }
.overview-v1 .dashboard-v3-thumb { width:40px; height:40px; border-radius:8px; }
.overview-v1 .dashboard-v3-item-main strong { font-size:13px; line-height:1.5; }
.overview-v1 .dashboard-v3-meta { font-size:11px; line-height:1.6; }
.overview-v1 .dashboard-v3-item-side { max-width:170px; }
.overview-review { grid-column:1/-1; }
.overview-review .dashboard-v3-list { display:grid; grid-template-columns:1fr 1fr; }
.overview-review .dashboard-v3-item { border-right:1px solid var(--border); }
.overview-calendar,.overview-sources { background:transparent; color:var(--text-primary); border:0; font-size:12px; cursor:pointer; padding:7px; }
.overview-calendar { margin-left:auto; }
.overview-sources { display:block; margin:0 12px 12px; text-align:left; }
.overview-clear { display:flex; gap:12px; padding:20px 18px; align-items:center; }
.overview-clear > span { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:var(--success); background:var(--success-bg); }
.overview-clear strong { font-size:13px; }
.overview-clear p { margin:4px 0 0; font-size:12px; color:var(--text-secondary); }
.overview-v1 .dashboard-v3-platforms { padding:14px 18px; }
.overview-help { position:relative; flex:0 0 auto; }
.overview-help > summary { list-style:none; width:23px; height:23px; display:grid; place-items:center; cursor:pointer; border:1px solid var(--border); color:var(--text-secondary); border-radius:50%; font-size:12px; font-weight:700; }
.overview-help > summary::-webkit-details-marker { display:none; }
.overview-help[open] > div { position:absolute; right:0; top:31px; z-index:20; width:min(300px,70vw); padding:16px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text-primary); box-shadow:0 8px 30px #0002; font-size:13px; line-height:1.65; }
.overview-help p { margin:7px 0 0; color:var(--text-secondary); }
.overview-v1 .dashboard-v3-panel:has(.overview-help[open]) { overflow:visible; }
.overview-v1 :focus-visible { outline:3px solid #315bea; outline-offset:3px; }
@media(max-width:1000px) { .overview-grid { grid-template-columns:1fr; } .overview-side { grid-template-columns:1fr 1fr; } .overview-review { grid-column:auto; } }
@media(max-width:640px) { .overview-heading { align-items:flex-start; flex-direction:column; gap:12px; } .overview-heading h2 { font-size:24px; } .overview-v1 .dashboard-v3-metrics { grid-template-columns:1fr 1fr; } .overview-side,.overview-review .dashboard-v3-list { grid-template-columns:1fr; } .overview-v1 .dashboard-v3-item { grid-template-columns:36px minmax(0,1fr); } .overview-v1 .dashboard-v3-item-side { grid-column:2; justify-items:start; max-width:none; } .overview-calendar { font-size:11px; } }

/* Owner review: mobile first screen prioritizes actual publications. */
.overview-v1 { gap:16px; }
.overview-heading { gap:12px; min-height:36px; }
.overview-heading p { font-size:12px; }
.overview-create { padding:10px 14px; }
.overview-v1 .dashboard-v3-metric { padding:13px 16px; }
.overview-v1 .dashboard-v3-metric strong { margin:9px 0 5px; font-size:28px; }
@media(max-width:640px) {
 .overview-v1 { gap:12px; }
 .overview-heading { flex-direction:row; align-items:center; min-height:34px; }
 .overview-heading p { font-size:11px; line-height:1.4; }
 .overview-create { padding:9px 11px; font-size:12px; white-space:nowrap; }
 .overview-v1 .dashboard-v3-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
 .overview-v1 .dashboard-v3-metric { padding:9px 7px; border-radius:9px; min-height:70px; }
 .overview-v1 .dashboard-v3-metric > div { font-size:10px; line-height:1.25; min-height:25px; }
 .overview-v1 .dashboard-v3-metric > div > span,.overview-v1 .dashboard-v3-metric > span { display:none; }
 .overview-v1 .dashboard-v3-metric strong { font-size:22px; line-height:1; margin:3px 0 0; }
 .overview-v1 .dashboard-v3-panel > header { padding:12px; }
 .overview-v1 .dashboard-v3-panel header h2 { font-size:14px; }
 .overview-v1 header > div > span { display:none; }
 .overview-v1 .dashboard-v3-item { padding:12px; }
 .overview-v1 .dashboard-v3-item-main strong { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
 .overview-v1 .dashboard-v3-meta { font-size:10px; }
 .overview-v1 .dashboard-v3-item-side { display:flex; gap:8px; align-items:center; }
 .overview-help > summary { width:28px; height:28px; }
}

/* Owner revision: one thin heading and chart-first layout. */
html[data-page="overview"] main > header { height:44px!important; min-height:44px!important; padding:6px 18px!important; gap:10px; }
html[data-page="overview"] .ui-header-copy { display:flex!important; align-items:center; gap:12px; flex-wrap:nowrap; }
html[data-page="overview"] .ui-header-kicker,html[data-page="overview"] .ui-page-subtitle { display:none!important; }
html[data-page="overview"] #page-title { margin:0!important; font-size:18px!important; line-height:26px!important; }
.ui-overview-date { color:var(--text-secondary); font-size:12px; white-space:nowrap; }
.ui-overview-date[hidden] { display:none!important; }
html[data-page="overview"] #view { padding:16px; }
.overview-v1 { gap:12px; }
.overview-chart { padding:14px 18px 8px; overflow:visible!important; }
.overview-chart-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.overview-chart-title { display:flex; align-items:center; gap:8px; }
.overview-chart-title h2 { font-size:15px; margin:0; }
.overview-chart-title > span { color:var(--text-secondary); font-size:13px; font-weight:700; }
.overview-chart-periods { display:flex; padding:3px; gap:2px; background:var(--surface-muted); border-radius:7px; }
.overview-chart-periods button { border:0; background:transparent; color:var(--text-secondary); padding:6px 11px; border-radius:5px; cursor:pointer; font-size:12px; white-space:nowrap; }
.overview-chart-periods button[aria-pressed="true"] { background:var(--surface); color:var(--text-primary); box-shadow:0 1px 4px #0001; font-weight:700; }
.overview-chart-range { display:flex; align-items:center; justify-content:center; gap:10px; margin:10px 0; font-size:12px; color:var(--text-secondary); }
.overview-chart-range button { padding:3px 8px; border:0; background:transparent; color:var(--text-primary); cursor:pointer; font-size:16px; border-radius:5px; }
.overview-chart-range .overview-chart-today { font-size:11px; margin-left:6px; }
.overview-chart-range .overview-create { margin-left:auto; background:#315bea; color:#fff; width:28px; height:28px; font-size:19px; padding:0; border-radius:7px; }
.overview-chart-plot { display:grid; grid-template-columns:22px minmax(0,1fr); gap:8px; height:208px; min-width:0; }
.overview-chart-axis { display:flex; flex-direction:column; justify-content:space-between; padding-bottom:22px; text-align:right; font-size:10px; color:var(--text-secondary); }
.overview-chart-bars { display:grid; grid-template-columns:repeat(var(--chart-columns),minmax(0,1fr)); gap:7px; min-width:0; background:linear-gradient(var(--border),var(--border)) 0 0/100% 1px no-repeat,linear-gradient(var(--border),var(--border)) 0 calc(50% - 10px)/100% 1px no-repeat,linear-gradient(var(--border),var(--border)) 0 calc(100% - 20px)/100% 1px no-repeat; }
.overview-chart-bar { border:0; padding:0; background:transparent; display:flex; flex-direction:column; min-width:0; cursor:pointer; color:var(--text-secondary); border-radius:3px; }
.overview-chart-bar:hover,.overview-chart-bar[aria-current] { background:color-mix(in srgb,#315bea 9%,transparent); }
.overview-chart-stack { height:calc(100% - 20px); width:100%; display:flex; flex-direction:column; justify-content:flex-end; gap:0; }
.overview-chart-stack > span { display:block; min-height:2px; width:100%; border-radius:2px; }
.overview-chart-tick { height:20px; font-size:10px; line-height:20px; text-align:center; }
.overview-platform-chart { display:flex; flex-wrap:wrap; gap:14px; margin:12px 0 0 30px; }
.overview-platform-row { flex:1; min-width:80px; max-width:240px; }
.overview-platform-row > span { display:flex; gap:6px; align-items:center; color:var(--text-secondary); font-size:11px; }
.overview-platform-row i { width:7px; height:7px; border-radius:50%; }
.overview-platform-row strong { margin-left:auto; color:var(--text-primary); }
.overview-platform-track { margin-top:5px; height:4px; background:var(--surface-muted); border-radius:3px; overflow:hidden; }
.overview-platform-track > span { height:100%; display:block; border-radius:3px; }
.overview-chart-detail { min-height:18px; margin:8px 0 0 30px; color:var(--text-secondary); font-size:11px; line-height:1.5; }
.overview-chart-empty { margin:8px 0 0 30px; font-size:12px; color:var(--text-secondary); }
.overview-chart-loading,.overview-chart-error { padding:24px 0; font-size:13px; }
.overview-v1 .dashboard-v3-metric { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:0; height:50px; padding:10px 13px; }
.overview-v1 .dashboard-v3-metric > span,.overview-v1 .dashboard-v3-metric > div > span { display:none; }
.overview-v1 .dashboard-v3-metric > div { min-height:0; line-height:1.2; }
.overview-v1 .dashboard-v3-metric strong { margin:0; font-size:24px; }
@media(max-width:640px) {
 html[data-page="overview"] main > header { padding:5px 10px!important; }
 html[data-page="overview"] .ui-mobile-menu { width:30px; height:30px; min-width:30px; padding:0; }
 html[data-page="overview"] #page-title { font-size:16px!important; }
 html[data-page="overview"] #view { padding:10px; }
 .overview-chart { padding:10px 10px 4px; }
 .overview-chart-toolbar { gap:6px; }
 .overview-chart-title { gap:5px; }
 .overview-chart-title h2 { font-size:13px; }
 .overview-chart-title > span { font-size:12px; }
 .overview-chart-title .overview-help > summary { width:23px; height:23px; }
 .overview-chart-periods button { padding:5px 6px; font-size:10px; }
 .overview-chart-range { margin:7px 0; gap:4px; font-size:11px; }
 .overview-chart-range button { padding:2px 5px; }
 .overview-chart-range .overview-chart-today { font-size:10px; margin-left:0; }
 .overview-chart-plot { height:156px; grid-template-columns:16px minmax(0,1fr); gap:5px; }
 .overview-chart-bars { gap:3px; }
 .overview-chart-tick { font-size:9px; }
 .overview-platform-chart { margin-left:21px; gap:10px; }
 .overview-platform-row { min-width:70px; }
 .overview-chart-detail,.overview-chart-empty { margin-left:21px; font-size:10px; }
 .overview-v1 .dashboard-v3-metric { height:48px; padding:7px 6px; gap:4px; }
 .overview-v1 .dashboard-v3-metric strong { font-size:18px; }
 .overview-v1 .dashboard-v3-metric > div { font-size:10px; }
}

.overview-chart .overview-help[open] > div { left:0; right:auto; }
@media(max-width:640px) {
 .overview-chart-periods button { font-size:11px; min-height:28px; }
 .overview-chart-detail { font-size:11px; }
 .overview-chart .overview-help[open] > div { position:fixed; left:12px; right:12px; top:106px; width:auto; max-height:calc(100dvh - 128px); overflow:auto; z-index:100; }
}

@media(max-width:640px) {
 .overview-chart-toolbar { flex-wrap:nowrap; gap:4px; }
 .overview-chart-title { gap:4px; }
 .overview-chart-title h2 { font-size:12px; }
 .overview-chart-periods { gap:0; padding:2px; }
 .overview-chart-periods button { padding:4px 5px; font-size:10px; min-height:28px; }
 .overview-chart-range button { min-height:28px; }
}

@media(max-width:360px){.overview-chart-toolbar{flex-wrap:wrap}.overview-chart-periods{margin-left:auto}.overview-chart-range{flex-wrap:wrap}.overview-chart-range .overview-create{flex:0 0 28px}}
