.director-dashboard{--dash-blue:#3982cc;--dash-green:#21816d;--dash-muted:#78867f}.director-dashboard .heading{align-items:center;gap:12px;margin-bottom:22px}.director-dashboard .heading h1{font-size:clamp(28px,3.5vw,40px);margin:8px 0}.director-dashboard .heading p{font-size:14px;margin:0}.director-dashboard button{cursor:pointer}.director-dashboard small{font-size:12px}.director-dashboard .dash-online{color:#347bc1}.director-dashboard .dash-local{color:#21816d}.dash-periods{margin-bottom:22px}.dash-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dash-metric{position:relative;text-align:left;border:1px solid #e2e9e5;border-radius:20px;background:white;min-height:166px;padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;color:#233931;box-shadow:0 5px 18px #20372e04}.dash-metric>span:first-child{font-weight:600;font-size:14px}.dash-metric strong{font-size:42px;line-height:1.1;letter-spacing:-1.5px}.dash-metric small{color:#78867f;line-height:1.5}.dash-metric .dash-arrow{position:absolute;top:20px;right:18px;font-size:19px;opacity:.5}.dash-metric-online{background:linear-gradient(130deg,#f4f9ff,#e6f1ff);border-color:#dbe9f8;color:#235d96}.dash-metric-local{background:linear-gradient(130deg,#f3fbf7,#e4f3eb);border-color:#d9eade;color:#21644e}.dash-metric-complete{background:#f2f5f3}.dash-completion-split{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 24px}.dash-completion-split button{background:transparent;border:0;padding:4px;font-size:12px;color:#68796f;min-height:28px}.dash-completion-split b{color:#254a3c;margin-left:5px}.dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.dash-section-head h2{font-size:18px;margin:0}.dash-section-head>span{font-size:12px;color:#78867f}.dash-section-head button{padding:6px 12px;font-size:12px}.director-dashboard .panel{padding:24px;border:1px solid #e2e9e5;border-radius:20px;box-shadow:none;margin-bottom:20px}.dash-priorities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.dash-priority{border-radius:14px;padding:16px 12px;border:1px solid #e3e9e5;display:flex;flex-direction:column;gap:10px;align-items:flex-start;background:#f8faf9;color:#263c33;text-align:left}.dash-priority>span{font-size:13px;font-weight:600}.dash-priority strong{font-size:30px;line-height:1.1}.dash-priority small{display:flex;flex-direction:column;gap:4px;font-size:11px}.dash-overdue{background:#fff1f0;border-color:#efc2bf;color:#ac3833}.dash-urgent{background:#fff7ed;border-color:#efd2ab;color:#a46217}.dash-followup{background:#fffbea;border-color:#e9dfb0;color:#887024}.dash-unknown{background:#f0f3f7;border-color:#dde4ed;color:#64758d}.dash-note{font-size:12px!important;line-height:1.65!important;color:#78867f;margin:12px 0 0!important}.dash-chart-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.dash-chart{min-width:0}.dash-legend{display:flex;gap:18px;font-size:12px;margin-bottom:12px}.dash-bar-scroll{overflow-x:auto;padding-top:10px}.dash-bars{height:190px;display:flex;gap:7px;align-items:end;border-bottom:1px solid #dfe7e2;background:repeating-linear-gradient(to top,transparent 0,transparent 49px,#edf1ee 50px)}.dash-bar-col{flex:1;min-width:18px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.dash-bar-pair{height:158px;width:100%;display:flex;align-items:flex-end;justify-content:center}.dash-stacked{height:100%;width:min(32px,80%);display:flex;flex-direction:column;justify-content:flex-end;border-radius:5px 5px 0 0;overflow:hidden}.dash-bar-online{background:#3982cc}.dash-bar-local{background:#21816d}.dash-bar-col>small{font-size:10px;color:#78867f;margin:8px 0 5px;white-space:nowrap}.dash-axis{display:block;color:#78867f;margin-top:12px}.dash-chart svg{width:100%;min-height:190px;display:block}.dash-chart svg text{font-size:11px;fill:#78867f}.dash-report-values{font-size:12px;color:#68796f;margin-top:8px}.dash-table-scroll{overflow:auto}.dash-report-values table{width:100%;border-collapse:collapse}.dash-report-values th,.dash-report-values td{padding:8px;border-bottom:1px solid #edf1ee;text-align:left;white-space:nowrap}.dash-stage-row{width:100%;display:grid;grid-template-columns:150px 1fr 40px 170px;align-items:center;gap:16px;border:0;border-radius:0;border-bottom:1px solid #edf1ee;padding:15px 0;background:transparent;text-align:left;font-size:13px}.dash-stage-row:last-child{border-bottom:0}.dash-stage-row strong{text-align:right;font-size:17px}.dash-stage-row small{display:flex;justify-content:flex-end;gap:8px;font-size:11px}.dash-stage-track{display:flex;height:10px;border-radius:10px;background:#f1f4f2;overflow:hidden}.dash-stage-track i{height:100%;display:block}.dash-list-filters{display:grid;grid-template-columns:1fr 160px;gap:12px}.dash-list-filters input,.dash-list-filters select,.dash-dates input{width:100%;min-width:0;font-size:16px;box-sizing:border-box}.dash-active-filter{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding-top:12px}.dash-active-filter button{font-size:12px;padding:5px 10px}.dash-order{display:block;text-align:left;width:100%;padding:18px;border:1px solid #e1e8e3;border-left-width:4px;border-radius:14px;margin-top:12px;color:#243d32}.dash-order.dash-overdue{border-left-color:#c6524b}.dash-order.dash-urgent{border-left-color:#d08b36}.dash-order.dash-followup{border-left-color:#c7ad49}.dash-order.dash-standard,.dash-order.dash-completed{background:white}.dash-order-top,.dash-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.dash-order-top strong{font-size:17px}.dash-urgency-label{font-size:12px;font-weight:600;text-align:right}.dash-order p{font-size:13px!important;margin:10px 0!important;line-height:1.5!important}.dash-order-bottom{flex-wrap:wrap;font-size:12px;color:#68796f;margin-bottom:12px}.dash-order>small{display:block;color:#78867f;line-height:1.6}.dash-order .dash-correction{color:#a46217}.dash-load-more{display:block;width:100%;margin-top:16px}.dash-end,.dash-footnote{font-size:12px;line-height:1.7;color:#78867f;text-align:center}.dash-end{margin-top:18px}.dash-dates{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.dash-dates label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px}.dash-chart-loading{min-height:150px;display:grid;place-items:center;color:#78867f}.dash-order-panel{scroll-margin-top:20px}.dash-metric:hover,.dash-order:hover{box-shadow:0 5px 18px #20372e0b}.director-dashboard button:focus-visible{outline:3px solid #3982cc;outline-offset:3px}
@media(max-width:1050px){.dash-metrics{gap:12px}.dash-metric{padding:18px;min-height:150px}.dash-priorities{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-chart-grid{grid-template-columns:1fr}.dash-stage-row{grid-template-columns:140px 1fr 32px}.dash-stage-row small{grid-column:2/4;justify-content:flex-start;margin-top:-8px}}
@media(max-width:600px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dash-metric{padding:17px;min-height:146px;border-radius:17px}.dash-metric strong{font-size:36px}.dash-metric>span:first-child{font-size:12px;padding-right:12px}.dash-metric small{font-size:11px}.director-dashboard .panel{padding:18px;border-radius:18px}.dash-priorities{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dash-priority:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center}.dash-priority:last-child small{grid-column:1/-1;flex-direction:row;gap:15px}.dash-periods{margin-bottom:18px}.dash-stage-row{grid-template-columns:118px 1fr 28px;gap:10px;font-size:12px}.dash-stage-row small{font-size:10px}.dash-list-filters{grid-template-columns:1fr}.dash-section-head h2{font-size:17px}.dash-dates{grid-template-columns:1fr 1fr}.dash-dates button{grid-column:1/-1}.dash-completion-split{margin-bottom:18px}.dash-order{padding:15px}.dash-chart-grid{gap:0}.director-dashboard .dash-refresh{font-size:12px;padding:8px 12px}.dash-order-top strong{font-size:16px}.dash-order-bottom span:last-child{max-width:100%;overflow-wrap:anywhere}}

/* Dashboard sections: pills switch views; report dates use a compact dropdown. */
.dash-section-tabs{margin-bottom:22px}.dash-period-select{display:flex;align-items:center;gap:10px;font-size:12px;color:#78867f}.dash-period-select select{font-size:16px;min-height:44px;min-width:154px;padding:8px 34px 8px 12px;background:white;border:1px solid #dfe7e2;border-radius:12px;color:#254a3c}.dash-report-section .dash-completion-split{margin-bottom:0}.dash-report-section .dash-dates{padding:16px 0;border:0}.dash-report-section .dash-metric{box-shadow:none}.dash-section-tabs button{min-width:100px}
@media(max-width:600px){.dash-report-section .dash-section-head{align-items:center;flex-wrap:nowrap}.dash-period-select{gap:6px}.dash-period-select>span{display:none}.dash-period-select select{min-width:132px;max-width:160px}.dash-report-section .dash-metric{padding:14px}.dash-report-section .dash-metrics{gap:10px}.dash-section-tabs{margin-bottom:18px}}
