/* SALVUS professional analytics: compact, data-led, shared petrol / teal palette. */
.professional main:has(.dashboard-tabs){max-width:1600px;margin:auto;padding-top:28px}.professional main:has(.dashboard-tabs)>.page-heading h1{font-size:34px;letter-spacing:-1.3px}.professional main:has(.dashboard-tabs) .page-heading{margin-bottom:18px}.dashboard-scope{display:flex;align-items:center;gap:9px;color:#5c7381;font-size:11px;margin:0 0 22px}.dashboard-scope b{color:#176f7c;white-space:nowrap}.scope-dot{width:7px;height:7px;background:#23a5a9;border-radius:50%;flex-shrink:0}.dashboard-filter-bar{background:#fff;border:1px solid #dce8ed;border-radius:18px;padding:17px 20px;margin-bottom:20px}.dashboard-filter-bar form{display:flex;gap:12px;align-items:end}.dashboard-filter-bar label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#627c8b;margin:0;flex:1}.dashboard-filter-bar input,.dashboard-filter-bar select{font-size:12px;margin-top:6px;min-height:40px;background:#f6fafb;border:1px solid #dce8ed;border-radius:9px;width:100%;color:#183c50}.dashboard-filter-bar button{font-size:11px;min-height:40px;white-space:nowrap}.dashboard-periods{display:flex;align-items:center;gap:7px;margin-top:12px;color:#758a96;font-size:10px}.dashboard-periods button{border:0;border-radius:6px;background:#edf5f7;padding:4px 9px;color:#436878;min-height:28px;font-size:10px}.dashboard-periods button:hover{background:#d7eff1;color:#076b78}.dashboard-cut{margin-left:auto}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.dashboard-kpis article{position:relative;background:#fff;border:1px solid #dce8ed;border-radius:17px;padding:19px 22px;overflow:hidden}.dashboard-kpis article:first-child{background:linear-gradient(115deg,#10394b,#0a6979);color:#fff;border-color:transparent}.dashboard-kpis article>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#5d7a8b}.dashboard-kpis article>span svg{width:17px;height:17px}.dashboard-kpis article:first-child>span,.dashboard-kpis article:first-child>small{color:#b8e2e7}.dashboard-kpis strong{display:block;font-size:37px;line-height:1.2;letter-spacing:-1.4px;margin:12px 0 8px;font-weight:600;font-variant-numeric:tabular-nums}.dashboard-kpis em{font-size:18px;font-style:normal;color:#829aa7;letter-spacing:0}.dashboard-kpis article>small{font-size:10px;color:#6d8795}.dashboard-tabs{display:flex;gap:6px;background:#e7f0f4;padding:5px;border:1px solid #dfe9ee;border-radius:13px;margin:0 0 20px;overflow:auto}.dashboard-tabs button{flex:1;white-space:nowrap;background:transparent;color:#5d7888;border:0;padding:12px 16px;font-size:12px;border-radius:9px;min-height:44px;transition:background .2s,color .2s}.dashboard-tabs button.selected{color:#076b79;background:#fff;box-shadow:0 2px 7px #153f4e0d;font-weight:650}.active-dot{display:inline-block;width:5px;height:5px;background:#169aa8;border-radius:50%;margin-left:8px}.dashboard-primary-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:20px}.professional .dashboard-primary-grid .card,.professional .dashboard-secondary-grid .card{padding:22px;margin:0}.dashboard-primary-grid h2,.dashboard-secondary-grid h2,.dashboard-assigned h2,.dashboard-metric-table h2{font-size:18px!important;letter-spacing:-.4px}.dashboard-trend>svg{display:block;width:100%;height:220px;margin-top:18px;overflow:visible}.dashboard-trend svg text{font:12px sans-serif;fill:#6e8a99}.dashboard-trend svg circle:hover{r:6;fill:#bde9eb}.dashboard-details{border-top:1px solid #e0eaef;padding-top:12px;margin-top:6px}.dashboard-details summary{font-size:11px;color:#337787;cursor:pointer}.dashboard-details .table-wrap{max-height:270px;overflow:auto}.dashboard-demography h2{margin:8px 0}.dashboard-donut{position:relative;margin:16px auto 18px;width:152px;height:152px}.dashboard-donut svg{width:100%;height:100%}.dashboard-donut>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.dashboard-donut strong{font-size:29px;color:#163e51;letter-spacing:-1px}.dashboard-donut small{font-size:10px;color:#6c8797}.dashboard-legend>div{display:grid;grid-template-columns:8px 1fr 26px 45px;align-items:center;gap:8px;padding:6px 0;font-size:11px}.dashboard-legend small{font-size:10px;color:#708a98;text-align:right}.legend-color{width:7px;height:7px;border-radius:50%}.color-0{background:#0d8290}.color-1{background:#76c7cd}.color-2{background:#e0eaf0}.dashboard-secondary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:20px;margin-top:20px}.dashboard-age-bars{margin-top:25px;display:grid;gap:17px}.dashboard-age-bars>div{display:grid;grid-template-columns:45px 1fr 25px 45px;gap:12px;align-items:center;font-size:12px}.dashboard-age-bars span>small{display:block;font-size:9px;color:#8297a3}.dashboard-age-bars svg{height:8px;width:100%}.dashboard-age-bars>div>small{font-size:10px;color:#708896;text-align:right}.dashboard-ranking .table-wrap{margin-top:16px}.dashboard-ranking td,.dashboard-ranking th{font-size:11px;padding:11px 9px}.dashboard-ranking td:last-child{text-align:right}.dashboard-ranking th:last-child{text-align:right}.rank-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eaf5f6;color:#228794;font-size:10px;margin-right:10px}.dashboard-ranking p.small{margin-bottom:0}.professional .dashboard-assigned{margin-top:22px;padding:22px}.dashboard-patient-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.dashboard-patient-links a{display:flex;gap:10px;align-items:center;padding:13px;border:1px solid #deeaee;border-radius:12px;background:#f7fbfc}.dashboard-patient-links .avatar{width:31px;height:31px;font-size:12px}.dashboard-patient-links b{font-size:11px}.dashboard-patient-links small{display:block;color:#728997;font-size:10px;margin-top:4px}.dashboard-patient-links a>svg{width:15px;margin-left:auto}.dashboard-area-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px;gap:16px}.dashboard-area-title h2{font-size:22px;margin:0 0 6px}.dashboard-area-title p{font-size:11px;color:#6e8795;margin:0}.dashboard-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-metric{text-align:left;padding:19px 18px 14px;background:#fff;border:1px solid #dce8ed;border-radius:16px;color:#183c50;cursor:pointer;transition:transform .2s,box-shadow .2s}.dashboard-metric:hover{transform:translateY(-3px);box-shadow:0 10px 24px #1d657b12;border-color:#8dc8cf}.dashboard-metric>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;min-height:32px}.dashboard-metric>span svg{width:14px;height:14px;color:#61929e;flex-shrink:0}.dashboard-metric>strong{font-size:29px;display:block;font-weight:600;letter-spacing:-1px;margin-top:10px}.dashboard-metric strong small{font-size:10px;letter-spacing:0;font-weight:400;color:#708b99}.dashboard-metric p{font-size:10px;color:#708b99;margin:7px 0 13px}.dashboard-metric>svg{width:100%;height:55px}.dashboard-metric footer{display:flex;justify-content:space-between;gap:5px;border-top:1px solid #ebf1f4;padding-top:11px;margin-top:10px;font-size:9px;color:#6c8797}.professional .dashboard-metric-table{margin-top:20px;padding:22px}.dashboard-metric-table th,.dashboard-metric-table td{padding:14px 12px;font-size:12px}.dashboard-metric-table td:first-child small{font-size:10px}.dashboard-metric-table .text-button{font-size:12px;padding:0;text-align:left;min-height:32px}.coverage-label{background:#e5f4f2;color:#1a7d79;padding:5px 7px;border-radius:6px;font-size:11px}.dashboard-dialog{width:min(580px,calc(100% - 32px));padding:26px;border:1px solid #cfe2e8;border-radius:20px;color:#16394b;background:white;box-shadow:0 24px 100px #07324336}.dashboard-dialog::backdrop{background:#062a3d78;backdrop-filter:blur(4px)}.dashboard-dialog h2{font-size:24px}.dashboard-dialog p{font-size:12px;line-height:1.6}.dashboard-dialog th,.dashboard-dialog td{font-size:12px;padding:14px 10px}.dashboard-dialog .section-heading{gap:15px}.dashboard-dialog table{width:100%}#dashboard-content{animation:dashboard-enter .3s ease-out}@keyframes dashboard-enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.dashboard-trend>svg{height:255px}.dashboard-donut{width:175px;height:175px}}
@media(max-width:1150px){.dashboard-filter-bar form{flex-wrap:wrap}.dashboard-filter-bar label{min-width:150px}.dashboard-kpis article{padding:16px}.dashboard-kpis strong{font-size:30px}.dashboard-primary-grid{grid-template-columns:1.6fr 1fr}.dashboard-secondary-grid{grid-template-columns:1fr}.dashboard-metrics-grid{grid-template-columns:repeat(3,1fr)}.dashboard-patient-links{grid-template-columns:1fr 1fr}.dashboard-cut{display:none}}
@media(max-width:800px){.dashboard-primary-grid{grid-template-columns:1fr}.dashboard-demography{display:grid;grid-template-columns:150px 1fr;gap:0 15px}.dashboard-demography>p,.dashboard-demography>h2{grid-column:1/-1}.dashboard-donut{width:130px;height:130px;margin:14px 0}.dashboard-legend{align-self:center}.dashboard-metrics-grid{grid-template-columns:1fr 1fr}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-area-title{align-items:start;flex-direction:column}.dashboard-scope{align-items:start;flex-wrap:wrap}.dashboard-scope>span:last-child{flex-basis:100%}.dashboard-trend>svg{height:auto;min-height:145px}.dashboard-filter-bar form label{min-width:110px}.dashboard-filter-bar{padding:14px}.dashboard-filter-bar form button{flex:1}.dashboard-periods{flex-wrap:wrap}.dashboard-tabs{gap:0}.dashboard-tabs button{padding:10px 14px}.dashboard-kpis article>small{font-size:9px}.dashboard-metric-table .table-wrap{overflow:auto}.dashboard-metric-table table{min-width:650px}.dashboard-patient-links{grid-template-columns:1fr 1fr}.dashboard-patient-links a{padding:9px}.professional main:has(.dashboard-tabs)>.page-heading h1{font-size:28px}.dashboard-metric{padding:14px}.dashboard-metric strong{font-size:25px}.dashboard-metric footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){#dashboard-content{animation:none}.dashboard-metric,.dashboard-tabs button{transition:none}.dashboard-metric:hover{transform:none}}
@media(min-width:1000px){
.professional main:has(.dashboard-tabs){padding-top:22px}.professional main:has(.dashboard-tabs)>.page-heading{margin-bottom:10px}.professional main:has(.dashboard-tabs)>.page-heading h1{font-size:30px;margin:5px 0 6px}.professional main:has(.dashboard-tabs)>.page-heading .eyebrow{margin:0}.professional main:has(.dashboard-tabs)>.page-heading .muted{font-size:12px;margin:0}.dashboard-scope{margin-bottom:14px;font-size:10px}.dashboard-filter-bar{padding:12px 16px;margin-bottom:14px}.dashboard-filter-bar label{display:flex;flex-direction:column;gap:5px;line-height:1.2}.dashboard-filter-bar input,.dashboard-filter-bar select{height:36px;min-height:36px;margin:0;padding:7px 10px}.dashboard-filter-bar form>button{min-height:36px;height:36px}.dashboard-periods{margin-top:9px}.dashboard-periods button{min-height:25px;padding:3px 8px}.dashboard-kpis{gap:12px;margin-bottom:16px}.dashboard-kpis article{padding:14px 18px}.dashboard-kpis strong{font-size:32px;margin:7px 0 5px}.dashboard-tabs{margin-bottom:16px;padding:4px}.dashboard-tabs button{min-height:38px;padding:9px 15px}.dashboard-trend>svg{height:190px}.professional .dashboard-primary-grid .card{padding:19px}.dashboard-donut{width:128px;height:128px;margin:12px auto}.dashboard-legend>div{padding:4px 0}
}

.dashboard-tabs button.selected::after{content:"";display:inline-block;width:5px;height:5px;background:#169aa8;border-radius:50%;margin-left:8px}.dashboard-trend polyline{stroke-dasharray:1;stroke-dashoffset:0;animation:dashboard-line 700ms ease-out}.dashboard-donut{animation:dashboard-enter 500ms ease-out}@keyframes dashboard-line{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.dashboard-trend polyline,.dashboard-donut{animation:none}}
