/* Radar de Vagas DeSá — dashboard extension */
.main-nav{display:flex;gap:8px;flex-wrap:wrap;padding:14px 22px;border-bottom:1px solid var(--line)}
.main-nav a{display:inline-block;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:9px;padding:11px 15px;font-weight:650}
.main-nav a:hover{background:#eef8fc}
.main-nav a[aria-current="page"]{background:#e8f7fd;border-color:#a9dcef;color:#007eaf}
.dashboard-sidebar .brand{text-decoration:none;color:inherit}
.dashboard-page{padding:26px 34px 20px;max-width:1600px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 8px}
.dashboard-heading h1{margin:0 0 10px;font-size:clamp(28px,3vw,38px);letter-spacing:-1px}
.dashboard-heading p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.6}
.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--blue);margin:0 0 10px}
.dashboard-heading .secondary{text-decoration:none;white-space:nowrap}
.dashboard-updated{font-size:12px;color:var(--muted);margin:16px 0 24px}
.dash-panel{border:1px solid var(--line);background:#fff;border-radius:15px;padding:22px 24px;margin:0 0 28px;box-shadow:0 3px 16px #17223705}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-head.standalone{margin:32px 0 18px}
.section-head h2{font-size:20px;margin:0 0 7px;letter-spacing:-.3px}
.section-head p{font-size:12px;margin:0;color:var(--muted);line-height:1.6}
.dashboard-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.dashboard-filters label,.view-range{font-size:12px;font-weight:650;color:#43546a;display:flex;flex-direction:column;gap:6px}
.dashboard-filters input,.dashboard-filters select,.view-range select{width:100%;min-width:0;background:#fff;border:1px solid #d6e0eb;color:var(--ink);padding:12px;border-radius:9px;font-size:13px;min-height:44px}
.dashboard-filters small{font-size:10px;color:var(--muted);font-weight:400}
.dashboard-filters .dash-primary{align-self:end;min-height:44px;background:var(--blue);color:#fff;border:0;border-radius:9px;padding:11px 18px;font-weight:700}
.dashboard-filters .dash-primary:hover{background:#047cb0}
.dash-status{padding:12px 16px;color:#485b72;border:1px solid var(--line);background:#fff;border-radius:9px;margin:0 0 17px;font-size:13px}
.dash-status:empty{display:none}
.dash-status.dash-error{background:#fff5ef;border-color:#f1c9af;color:#98450d}
.history-notice{padding:12px 16px;margin:0 0 23px;background:#f0f7fc;border-left:3px solid var(--blue);font-size:12px;line-height:1.7;color:#355575}
.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.kpi-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;min-height:160px;display:flex;flex-direction:column;gap:8px}
.kpi-card a{text-decoration:none;color:inherit}
.kpi-title{color:#62748c;text-transform:uppercase;letter-spacing:.065em;font-size:11px;font-weight:800}
.kpi-value{font-size:clamp(27px,3vw,36px);line-height:1.1;letter-spacing:-1px;color:var(--ink);font-weight:800}
.kpi-description{font-size:12px;line-height:1.55;color:var(--muted)}
.kpi-comparison{margin-top:auto;color:#64748b;font-size:11px}
.kpi-comparison.positive{color:#12724a}
.kpi-comparison.negative{color:#a74730}
.kpi-card .kpi-open-link{color:var(--blue);text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:700}
.dashboard-explainer{margin:15px 0 25px;font-size:12px;color:var(--muted);line-height:1.7}
.chart-key{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:8px 0 16px}
.key-new,.key-closed{display:inline-block;width:12px;height:12px;border-radius:3px}
.key-new{background:#008bc5}.key-closed{background:#f2aa61;margin-left:14px}
.activity-chart{display:flex;align-items:flex-end;gap:12px;min-height:234px;overflow-x:auto;border-bottom:1px solid var(--line);padding:15px 2px 12px}
.chart-period{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px;flex:1;min-width:60px;height:200px;text-align:center}
.chart-bars{width:100%;height:156px;display:flex;align-items:flex-end;justify-content:center;gap:5px}
.chart-bar{width:min(36%,42px);min-height:2px;border-radius:5px 5px 0 0;position:relative}
.chart-bar.new{background:#008bc5}.chart-bar.closed{background:#f2aa61}
.chart-bar .bar-number{position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;color:#51627b}
.chart-period>span{white-space:nowrap;font-size:10px;color:var(--muted)}
.chart-period.missing{background:repeating-linear-gradient(130deg,#fff,#fff 10px,#f6f8fa 10px,#f6f8fa 20px);border-radius:6px}
.chart-period.missing .chart-bars{height:156px;display:grid;place-items:center;font-size:11px;color:#8091a5}
.chart-empty{width:100%;text-align:center;align-self:center;color:var(--muted);padding:45px 8px;font-size:13px}
.view-range{flex-direction:row;align-items:center;white-space:nowrap}
.view-range select{min-width:125px;width:auto;min-height:36px;padding:8px}
.table-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 12px}
.table-heading h3{margin:0;font-size:15px}
.dash-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px}
.dash-table-scroll table{min-width:650px;text-align:left}
.dash-table-scroll th,.dash-table-scroll td{padding:13px 15px;border-bottom:1px solid #edf1f6;font-size:12px}
.dash-table-scroll th{color:#5e6f85;background:#f5f9fc;font-weight:750;white-space:nowrap}
.dash-table-scroll tbody tr:last-child td{border-bottom:0}
.dash-table-scroll td:not(:first-child){font-variant-numeric:tabular-nums}
.dash-table-scroll td.not-available{color:#8393a6}
.dash-table-scroll .month-partial{color:#7e8795;font-size:10px}
.dash-table-scroll tr:hover{background:#f9fbfd}
.dashboard-page footer{padding:14px 0 24px}
@media(max-width:1100px){.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page{padding:22px}}
@media(max-width:800px){.main-nav{padding:10px 16px;display:flex}.dashboard-sidebar .sidebar-note{display:block;padding:8px 18px 15px}.dashboard-page{padding:18px 16px}.dashboard-heading{align-items:flex-start;flex-direction:column}.dash-panel{padding:18px 15px;margin-bottom:19px}.dashboard-filters{grid-template-columns:1fr}.kpi-grid{grid-template-columns:1fr 1fr;gap:10px}.kpi-card{padding:15px;min-height:156px}.section-head{gap:10px;flex-wrap:wrap}.section-head h2{font-size:18px}.activity-chart{min-height:220px}}
@media(max-width:480px){.kpi-grid{grid-template-columns:1fr}.dashboard-page{padding:14px}.dashboard-heading h1{font-size:29px}.view-range{width:100%;justify-content:space-between}.chart-period{min-width:62px}}

/* Source coverage is a global collection-health audit, not a filtered vacancy KPI. */
.source-health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 20px}
.health-mini-card{background:#f7fafc;border:1px solid var(--line);border-radius:11px;padding:17px}
.health-mini-card span{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-bottom:8px}
.health-mini-card strong{display:block;font-size:26px;letter-spacing:-.7px}
@media(min-width:641px) and (max-width:1200px){.source-health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.source-health-summary{grid-template-columns:1fr}.health-mini-card{padding:13px}.health-mini-card strong{font-size:23px}}


.area-ranking-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.area-ranking-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; }
.area-ranking-row > span { overflow-wrap: anywhere; }
.area-ranking-row > strong { font-variant-numeric: tabular-nums; }
.area-ranking-track { grid-column: 1 / -1; height: .65rem; border-radius: .35rem; background: #e8eef0; }
.area-ranking-bar { height: 100%; border-radius: inherit; background: #008bc5; }
