#section-overview > :not(.general-dashboard) { display: none !important; }
.pulso-analyst-dock { display: none !important; }
.general-dashboard { color: #172033; }
.gd-header { display: grid; grid-template-columns: minmax(0,1fr) auto 220px; gap: 20px; align-items: center; margin-bottom: 18px; }
.gd-candidate-identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
.gd-candidate-identity > div { min-width: 0; }
.gd-candidate-avatar { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 1px solid #dce4ee; border-radius: 11px; background: #101827; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .04em; box-shadow: 0 4px 14px rgba(15,23,42,.1); }
.gd-candidate-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gd-kicker, .gd-card header span, .gd-insights header span, .gd-kpi > span { color: #8490a5; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.gd-header h1 { margin: 3px 0 4px; color: #101827; font-size: clamp(24px,2.3vw,34px); line-height: 1.1; }
.gd-header p { margin: 0; color: #677489; font-size: 12px; }
.gd-header-status { display: grid; justify-items: end; gap: 5px; }
.gd-header-status > span { display: flex; align-items: center; gap: 7px; color: #334155; font-size: 11px; font-weight: 750; }
.gd-header-status i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.gd-header-status small { color: #8995a8; font-size: 9px; }
.gd-quality { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px 14px; text-align: left; border: 1px solid #e1e7ef; border-radius: 12px; background: #fff; cursor: help; }
.gd-quality > span { color: #8490a5; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.gd-quality > strong { grid-row: 1/3; grid-column: 2; align-self: center; font-size: 21px; }
.gd-quality > small { color: #475569; font-size: 10px; font-weight: 700; }
.gd-quality > i { grid-column: 1/-1; height: 4px; overflow: hidden; border-radius: 10px; background: #e7edf4; }
.gd-quality > i b { display: block; width: 0; height: 100%; border-radius: inherit; background: #2563eb; }
#gdQualityDetail { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: none; width: 285px; padding: 14px; border: 1px solid #dce4ed; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(15,23,42,.15); }
.gd-quality:hover #gdQualityDetail, .gd-quality[aria-expanded="true"] #gdQualityDetail { display: block; }
#gdQualityDetail p { display: flex; justify-content: space-between; margin: 0 0 8px; color: #64748b; font-size: 10px; }
#gdQualityDetail p:last-child { margin: 0; }
#gdQualityDetail b { color: #1e293b; }
.gd-state-banner { margin-bottom: 14px; padding: 10px 13px; border: 1px solid #fde68a; border-radius: 9px; color: #854d0e; background: #fffbeb; font-size: 11px; }
.gd-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.gd-kpi { position: relative; min-height: 148px; padding: 15px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.035); cursor: pointer; }
.gd-kpi:first-child { grid-column: span 1; }
.gd-kpi[data-available="false"] { background:#f8fafc; box-shadow:none; }
.gd-kpi[data-available="false"] h3 { color:#60717c; font-size:21px; letter-spacing:-.025em; }
.gd-kpi:hover { border-color: #b8cae0; box-shadow: 0 9px 24px rgba(15,23,42,.07); }
.gd-kpi h3 { margin: 13px 0 2px; font-size: 30px; line-height: 1; }
.gd-kpi h3.word { font-size: 23px; }
.gd-kpi .gd-delta { display: block; margin-top: 9px; color: #64748b; font-size: 10px; font-weight: 700; }
.gd-kpi .gd-delta.good { color: #059669; }.gd-kpi .gd-delta.bad { color: #dc2626; }
.gd-kpi p { margin: 9px 0 0; color: #64748b; font-size: 10px; line-height: 1.45; }
.gd-kpi footer { position: absolute; right: 14px; bottom: 11px; left: 14px; display: flex; justify-content: space-between; color: #94a3b8; font-size: 8px; }
.gd-mini { display: block; width: 100%; height: 28px; margin-top: 8px; }.gd-mini polyline { fill: none; stroke: #2563eb; stroke-width: 2; }
.gd-sentiment { display: flex; height: 7px; margin: 11px 0 7px; overflow: hidden; border-radius: 10px; background: #e2e8f0; }.gd-sentiment .pos{background:#22c55e}.gd-sentiment .neu{background:#cbd5e1}.gd-sentiment .neg{background:#ef4444}
.gd-main-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(260px,.85fr) minmax(240px,.75fr); gap: 12px; }
.gd-card, .gd-insights { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.gd-card { min-height: 300px; padding: 16px; }
.gd-card header, .gd-insights header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gd-card h2, .gd-insights h2 { margin: 3px 0 0; font-size: 15px; }.gd-card header button,.gd-card footer button { padding: 0; color:#2563eb;border:0;background:none;font-size:9px;font-weight:750;cursor:pointer }
.gd-card select { padding: 7px 9px; border: 1px solid #d9e1ea; border-radius: 8px; color: #475569; background: #fff; font-size: 9px; }
.gd-chart { height: 260px; margin-top: 12px; }.gd-chart svg { width: 100%; height: 100%; }.gd-chart .grid{stroke:#e7edf4;stroke-width:1}.gd-chart .candidate{fill:none;stroke:#2563eb;stroke-width:3}.gd-chart .rival{fill:none;stroke:#ef4444;stroke-width:2.5;stroke-dasharray:6 5}.gd-chart text{fill:#94a3b8;font-size:9px}.gd-chart circle{cursor:pointer}
.gd-evolution footer { display:flex;justify-content:space-between;align-items:center }.gd-evolution footer div {display:flex;gap:12px;color:#64748b;font-size:9px}.gd-evolution footer i{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:50%}
.gd-map-loading { display:grid;place-items:center;height:250px;margin-top:10px;color:#94a3b8;background:#f8fafc;border-radius:10px;font-size:10px }.gd-map-loading svg{width:100%;height:100%}.gd-map-loading path{stroke:#fff;stroke-width:.55;cursor:pointer;transition:opacity .15s}.gd-map-loading path:hover{opacity:.68;stroke:#0f172a;stroke-width:1}
.gd-territory-counts { display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:9px }.gd-territory-counts div{display:flex;align-items:center;gap:6px;color:#64748b;font-size:9px}.gd-territory-counts i{width:7px;height:7px;border-radius:2px}.gd-territory-counts b{margin-left:auto;color:#1e293b}
#gdAlerts { margin-top: 12px; }.gd-alert-item { display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:start;padding:11px 0;border-bottom:1px solid #edf1f5;cursor:pointer }.gd-alert-item:last-child{border:0}.gd-alert-item>i{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff7ed;color:#ea580c;font-style:normal}.gd-alert-item strong{display:block;font-size:10px;line-height:1.4}.gd-alert-item small{color:#94a3b8;font-size:8px}.gd-empty{display:grid;place-items:center;min-height:180px;padding:20px;color:#8995a8;text-align:center;font-size:10px;line-height:1.5}
.gd-insights { margin-top: 12px; padding: 16px; }.gd-insights header small{color:#94a3b8;font-size:9px}.gd-insights>div{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:14px}.gd-insights.is-compact>div{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.gd-insight{min-height:92px;padding:3px 18px;border-left:1px solid #e8edf3}.gd-insight:first-child{border-left:0;padding-left:0}.gd-insight>span{font-size:8px;font-weight:850;letter-spacing:.1em}.gd-insight.strength>span{color:#059669}.gd-insight.risk>span{color:#dc2626}.gd-insight.opportunity>span{color:#d97706}.gd-insight.competition>span{color:#2563eb}.gd-insight.coverage-gap>span{color:#64748b}.gd-insight p{margin:8px 0;color:#334155;font-size:10px;line-height:1.5}.gd-insight button{padding:0;border:0;color:#2563eb;background:none;font-size:9px;font-weight:750;cursor:pointer}
.gd-drawer { position:fixed;z-index:1002;inset:0 0 0 auto;width:min(520px,100vw);height:100dvh;max-width:100%;padding:0;overflow:hidden auto;overscroll-behavior:contain;visibility:hidden;pointer-events:none;transform:translate3d(100%,0,0);transition:transform .22s cubic-bezier(.22,.8,.22,1),visibility 0s linear .22s;border:0!important;border-left:1px solid #dce5ea!important;border-radius:0!important;background:#fff;box-shadow:-18px 0 48px rgba(15,36,48,.16);contain:layout paint}.gd-drawer.open{visibility:visible;pointer-events:auto;transform:translate3d(0,0,0);transition-delay:0s}.gd-drawer>button{position:sticky;z-index:4;top:16px;float:right;width:36px;height:36px;margin:16px 18px -52px 0;border:1px solid #dbe5ea;border-radius:50%;background:rgba(255,255,255,.96);color:#183442;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(15,48,63,.08)}#gdDrawerContent{min-height:100%;padding:54px 28px 32px;overflow-wrap:anywhere}.gd-drawer h2{margin:8px 48px 22px 0;color:#132f3e;font-size:24px;line-height:1.18;letter-spacing:-.03em}.gd-drawer h3{margin:24px 0 9px;font-size:13px}.gd-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gd-detail-grid div{min-width:0;padding:12px;border:1px solid #e4ebef;border-radius:9px;background:#f8fafb}.gd-detail-grid span{display:block;color:#758995;font-size:8px}.gd-detail-grid strong{display:block;margin-top:5px;font-size:14px;overflow-wrap:anywhere}.gd-drawer-backdrop{position:fixed;z-index:1001;inset:0;display:block;visibility:hidden;opacity:0;pointer-events:none;background:rgba(9,25,35,.42);backdrop-filter:blur(2px);transition:opacity .18s ease,visibility 0s linear .18s}.gd-drawer-backdrop.open{visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s}html.gd-drawer-open,body.gd-drawer-open{overflow:hidden!important;overscroll-behavior:none}body{overflow-x:hidden}.gd-drawer .gd-empty{min-height:220px}@media(max-width:600px){.gd-drawer{width:100vw}.gd-detail-grid{grid-template-columns:1fr}#gdDrawerContent{padding:50px 20px 28px}.gd-drawer>button{top:10px;margin:10px 12px -46px 0}}
.skeleton { pointer-events:none; background:linear-gradient(90deg,#f2f5f8 25%,#fafbfd 50%,#f2f5f8 75%);background-size:200% 100%;animation:gd-shimmer 1.3s infinite }.gd-kpi.skeleton::after{content:"";display:block;width:70%;height:18px;margin-top:35px;border-radius:5px;background:#e6ebf1}@keyframes gd-shimmer{to{background-position:-200% 0}}
@media(max-width:1180px){.gd-kpis{grid-template-columns:repeat(3,1fr)}.gd-main-grid{grid-template-columns:1.4fr 1fr}.gd-alerts{grid-column:1/-1;min-height:auto}.gd-header{grid-template-columns:1fr auto}.gd-quality{grid-column:1/-1;width:260px}}
@media(max-width:760px){.gd-header{grid-template-columns:1fr}.gd-header-status{justify-items:start}.gd-kpis,.gd-main-grid,.gd-insights>div{grid-template-columns:1fr}.gd-insight{padding:12px 0;border-left:0;border-top:1px solid #e8edf3}.gd-insight:first-child{border-top:0}.gd-card{min-height:auto}.gd-chart{height:225px}.top-actions .last-update{display:none}}

/* Flat executive hierarchy: related information reads as one surface. */
.gd-flat-group { border-block:1px solid #e4eaee; background:#fff; box-shadow: none; }
.gd-kpi + .gd-kpi { border-left:1px solid #e4eaee; }

/* Reserve a dedicated action row so KPI descriptions never cover card footers. */
.gd-kpi{box-sizing:border-box;padding-bottom:43px}.gd-kpi>p{max-width:100%;margin-bottom:8px;overflow-wrap:anywhere}.gd-kpi>footer{z-index:3;align-items:center;min-height:25px;padding-top:7px;border-top:1px solid #eef2f5;background:#fff}.gd-kpi>footer span,.gd-kpi>footer b{display:block;min-width:0}.gd-kpi>footer b{margin-left:8px;white-space:nowrap;color:#256781}.gd-kpis{column-gap:12px}
