/* Overview only: compact surfaces, clear hierarchy and a quiet palette. */
.overview-premium { --ov-ink:#18243b; --ov-muted:#738096; --ov-line:#e7ebf2; color:var(--ov-ink); display:grid; gap:18px; max-width:1720px; margin:0 auto; }
.overview-premium button { font-family:inherit; }
.ov-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:2px 0 4px; }
.ov-eyebrow { display:flex; align-items:center; gap:7px; color:#65748d; font-size:10px; letter-spacing:1.4px; font-weight:650; }
.ov-live-dot,.ov-status-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#4265da; flex-shrink:0; }
.ov-header h2 { font-size:28px; letter-spacing:-1px; font-weight:700; margin:5px 0 3px; line-height:1.2; }
.ov-header p { color:var(--ov-muted); font-size:12px; margin:0; }
.ov-header p > span { margin:0 6px; color:#a0abbd; }
.ov-header-actions { display:flex; gap:8px; flex-shrink:0; }
.ov-header-actions .btn { display:inline-flex; align-items:center; gap:7px; font-size:12px; padding:9px 13px; min-height:38px; border-radius:9px; }
.ov-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.ov-metric { text-align:left; padding:16px 18px; border:1px solid var(--ov-line); border-radius:13px; background:#fff; display:flex; flex-direction:column; gap:7px; min-width:0; cursor:pointer; box-shadow:0 2px 4px #15274403; transition:border-color .15s,box-shadow .15s; }
.ov-metric:hover { border-color:#b9c8ea; box-shadow:0 4px 14px #233e7710; }
.ov-metric-top { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; font-weight:550; color:#5e6c83; }
.ov-metric-icon { width:31px; height:31px; border-radius:9px; background:#f1f5ff; color:#5275ce; display:grid; place-items:center; }
.ov-metric-value { font-size:clamp(23px,2.1vw,34px); letter-spacing:-1px; line-height:1.15; font-weight:650; white-space:nowrap; font-variant-numeric:tabular-nums; }
.ov-metric-caption { color:var(--ov-muted); font-size:11px; line-height:1.5; }
.ov-tone-ink .ov-metric-icon { color:#65758c; background:#f1f4f8; }
.ov-tone-amber .ov-metric-icon { color:#b07820; background:#fff6e7; }
.ov-tone-green .ov-metric-icon { color:#368475; background:#edf8f4; }
.ov-summary-strip { display:flex; align-items:center; flex-wrap:wrap; gap:10px 22px; padding:0 3px; margin-top:-5px; }
.ov-summary-strip button { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--ov-muted); background:none; border:0; padding:3px 0; cursor:pointer; }
.ov-summary-strip button strong { color:#45546d; font-size:12px; font-weight:650; }
.ov-summary-strip button:hover span { color:#2563eb; }
.ov-green { background:#3c9a7b; }.ov-slate { background:#a0acbe; }
.ov-strip-note { color:#94a0b2; margin-left:auto; font-size:10px; }
.ov-main-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; align-items:start; }
.ov-panel { background:#fff; border:1px solid var(--ov-line); border-radius:14px; min-width:0; overflow:hidden; box-shadow:0 2px 5px #1c2d4d03; }
.ov-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px 16px; }
.ov-section-kicker { display:block; font-size:9px; font-weight:650; letter-spacing:1px; color:#8a96a8; line-height:1.5; }
.ov-panel h3 { display:flex; align-items:center; gap:8px; margin:5px 0 0; font-size:16px; letter-spacing:-.3px; font-weight:650; color:var(--ov-ink); }
.ov-panel h3 > svg { color:#6b80ab; }
.ov-counter { background:#edf2fe; color:#5170b7; font-size:10px; padding:2px 6px; border-radius:5px; }
.ov-text-action { display:inline-flex; align-items:center; gap:5px; background:none; border:0; padding:3px 0; color:#5472ad; cursor:pointer; font-size:11px; font-weight:550; white-space:nowrap; }
.ov-text-action svg { width:13px; height:13px; }.ov-text-action:hover { color:#244ca5; text-decoration:underline; }
.ov-list-label { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 20px; background:#f8fafc; border-top:1px solid #eef1f6; border-bottom:1px solid #eef1f6; font-size:9px; font-weight:650; letter-spacing:.8px; color:#6d7b91; }
.ov-list-label > span { font-size:10px; font-weight:400; text-transform:none; letter-spacing:0; color:#8793a6; }
.ov-next-label { margin-top:2px; }
.ov-agenda-item { display:flex; align-items:center; gap:14px; padding:14px 20px; border-bottom:1px solid #f0f3f8; }
.ov-time { width:59px; flex-shrink:0; align-self:flex-start; text-align:center; padding:6px 0; background:#f1f5fe; border-radius:8px; color:#4c68a9; }
.ov-time strong { display:block; font-size:17px; font-weight:650; font-variant-numeric:tabular-nums; letter-spacing:-.4px; }
.ov-time span { display:block; font-size:9px; margin-top:2px; }.ov-time-late { color:#9c7737; background:#fcf7ed; }
.ov-item-content { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; }
.ov-item-topline { display:flex; gap:6px; align-items:center; }
.ov-type { color:#7d8ca4; font-size:9px; font-weight:550; }
.ov-item-title { display:block; font-size:12px; line-height:1.5; font-weight:600; color:#27354c; overflow-wrap:anywhere; }
.ov-entity-link { display:block; text-align:left; border:0; padding:0; background:none; color:#65768f; font-size:11px; cursor:pointer; width:fit-content; max-width:100%; overflow-wrap:anywhere; }
.ov-entity-link:hover { color:#315cba; text-decoration:underline; }
.ov-item-meta { display:block; color:#8b97a9; font-size:10px; line-height:1.5; }
.ov-icon-action { width:30px; height:30px; flex-shrink:0; display:grid; place-items:center; border:1px solid #e5ebf4; border-radius:8px; color:#7a8da7; background:#fff; cursor:pointer; }
.ov-icon-action:hover { border-color:#9bc4b9; color:#32856d; background:#f0faf5; }
.ov-attention-item { display:flex; align-items:center; gap:10px; padding:13px 20px; border-bottom:1px solid #f0f3f8; }
.ov-alert-dot { width:6px; height:6px; flex-shrink:0; border-radius:50%; background:#d8a24c; }
.ov-tag { display:inline-flex; padding:3px 7px; border-radius:5px; font-size:9px; font-weight:550; white-space:nowrap; background:#f0f4fa; color:#6b7a8f; }
.ov-tag-amber { background:#fff5e6; color:#a47628; }
.ov-priority-item { display:flex; gap:12px; align-items:center; padding:14px 20px; border-bottom:1px solid #f0f3f8; }
.ov-deal-link { text-decoration:none; }.ov-deal-link:hover { color:#315cba; }
.ov-deal-meta { display:flex; gap:6px 12px; flex-wrap:wrap; font-size:9px; line-height:1.5; color:#8995a7; margin-top:3px; }
.ov-deal-meta > strong { color:#65758b; font-size:10px; font-weight:550; }
.ov-schedule-btn { display:flex; align-items:center; gap:5px; border:1px solid #e0e8f8; border-radius:7px; background:#f7f9ff; color:#5876b3; font-size:10px; padding:7px 9px; cursor:pointer; flex-shrink:0; }
.ov-schedule-btn svg { width:13px; height:13px; }.ov-schedule-btn:hover { background:#edf2ff; border-color:#c3d1ee; }
.ov-panel-footer { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; border:0; padding:12px; background:#fff; color:#6c7e9c; font-size:10px; cursor:pointer; }.ov-panel-footer:hover { background:#f8faff; color:#315cba; }
.ov-empty { display:flex; align-items:center; flex-direction:column; justify-content:center; gap:5px; padding:22px 16px; text-align:center; }
.ov-empty > span { display:grid; place-items:center; width:26px; height:26px; background:#f1f6f5; color:#83a198; border-radius:50%; margin-bottom:1px; }
.ov-empty strong { font-size:11px; font-weight:550; color:#6f7d90; }.ov-empty p { font-size:10px; color:#98a3b3; margin:0; }
.ov-pipeline-total { font-size:11px; font-weight:550; color:#61728b; }.ov-pipeline-total span { font-weight:400; color:#93a0b2; }
.ov-stage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 26px; padding:2px 20px 20px; }
.ov-stage-item { min-width:0; }.ov-stage-item > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; margin-bottom:7px; }
.ov-stage-item > div > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.ov-stage-item strong { font-size:11px; font-weight:600; }
.ov-stage-track { height:5px; background:#f0f3f8; border-radius:4px; overflow:hidden; }.ov-stage-fill { display:block; height:100%; border-radius:4px; background:#6d8ed4; }.ov-stage-color-1 { background:#8fa7d9; }.ov-stage-color-2 { background:#b1c2e6; }
.ov-stage-item small { display:block; font-size:9px; color:#94a0b2; margin-top:6px; overflow-wrap:anywhere; }
.ov-stage-detail { border-top:1px solid var(--ov-line); }.ov-stage-detail summary { display:flex; align-items:center; justify-content:space-between; padding:11px 20px; color:#74839a; font-size:10px; cursor:pointer; list-style:none; }.ov-stage-detail summary::-webkit-details-marker { display:none; }
.ov-stage-detail > p { margin:0 20px 10px; }.ov-stage-detail table { font-size:11px; }.ov-stage-detail .table-wrapper { border:0; border-radius:0; }.ov-stage-detail th { font-size:10px; }
.overview-premium button:focus-visible,.overview-premium a:focus-visible,.overview-premium summary:focus-visible { outline:2px solid #507be1; outline-offset:3px; }
@media(min-width:1600px) { .ov-main-grid { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); } }
@media(max-width:1100px) { .ov-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.ov-strip-note { display:none; }.ov-main-grid { gap:13px; }.ov-panel-heading { padding:16px; }.ov-panel h3 { font-size:14px; }.ov-agenda-item,.ov-attention-item,.ov-priority-item { padding:13px 16px; }.ov-section-kicker { font-size:8px; } }
@media(max-width:800px) { .ov-header { align-items:flex-start; flex-direction:column; gap:12px; }.ov-header h2 { font-size:25px; }.ov-main-grid { grid-template-columns:1fr; }.ov-header-actions { width:100%; }.ov-stage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.ov-summary-strip { gap:8px 16px; } }
@media(max-width:440px) { .overview-premium { gap:13px; }.ov-metrics { gap:8px; }.ov-metric { padding:12px; }.ov-metric-value { font-size:22px; }.ov-metric-top { font-size:10px; }.ov-metric-caption { font-size:9px; }.ov-metric-icon { width:24px; height:24px; }.ov-header-actions .btn { flex:1; padding:8px; font-size:10px; }.ov-agenda-item { gap:10px; }.ov-time { width:49px; }.ov-schedule-btn span { display:none; }.ov-stage-grid { grid-template-columns:1fr; }.ov-header p { font-size:10px; }.ov-section-kicker { letter-spacing:.5px; } }

/* Keep a single primary call action while the overview is visible. */
body:has(.overview-premium) #quick-log-call-btn { display:none; }
.ov-quick-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ov-quick-paths > button { display:flex; align-items:center; gap:10px; min-width:0; border:1px solid #e3eaf5; border-radius:9px; background:#fff; padding:11px 13px; cursor:pointer; text-align:left; color:#6d85ad; }
.ov-quick-paths > button:hover { background:#f7faff; border-color:#c6d6ee; }.ov-quick-paths > button > svg { flex-shrink:0; }
.ov-quick-paths strong { display:block; font-size:12px; font-weight:600; color:#516888; }.ov-quick-paths small { display:block; font-size:11px; color:#8b99ac; margin-top:3px; }
@media(max-width:600px) { .ov-quick-paths { grid-template-columns:1fr; gap:7px; }.ov-quick-paths > button { padding:10px 12px; } }
