.admin-dashboard{display:grid;gap:24px;color:#15213a;font-family:Inter,Arial,sans-serif}.admin-dashboard *{box-sizing:border-box}.dash-heading h1{margin:0;font-size:24px;font-weight:720;letter-spacing:-.035em}.dash-heading p{margin:6px 0 0;color:#6b7d9f;font-size:14px}.dash-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dash-metric,.dash-card{border:0;border-radius:16px;background:#fff;box-shadow:0 8px 24px #23395f0a,0 2px 6px #23395f04}.dash-metric{position:relative;display:flex;min-height:100px;justify-content:space-between;padding:20px}.dash-metric:first-child,.dash-metric:nth-child(2),.dash-metric:nth-child(3),.dash-metric:nth-child(4){min-height:124px}.dash-metric>div{display:grid;align-content:start;gap:6px}.dash-metric span{color:#607393;font-size:14px}.dash-metric strong{color:#0c1730;font-size:23px;font-weight:730;line-height:1}.dash-metric small{color:#8392aa;font-size:11px}.dash-metric-icon{display:grid;width:40px;height:40px;flex:none;place-items:center;border-radius:12px}.dash-metric-icon svg,.dash-task-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dash-metric-icon.green{background:#eafaf3;color:#20a476}.dash-metric-icon.blue,.dash-task-icon{background:#edf3ff;color:#427aff}.dash-metric-icon.amber{background:#fff8e8;color:#e99500}.dash-metric-icon.cyan{background:#e9fbfc;color:#1796be}.dash-metric-icon.purple{background:#f4efff;color:#8950f4}.dash-metric-icon.red{background:#fff0f1;color:#ed4249}.dash-panels{display:grid;grid-template-columns:minmax(0,2.04fr) minmax(320px,1fr);gap:22px}.dash-card{min-width:0;padding:24px}.dash-card h2{margin:0;color:#0e1a33;font-size:16px;font-weight:700}.dash-card-heading p{margin:4px 0 0;color:#6f82a3;font-size:12px}.dash-activity,.dash-announcements{min-height:384px}.dash-chart-legend{display:flex;justify-content:center;gap:20px;color:#7183a1;font-size:11px}.dash-chart-legend span{display:flex;align-items:center;gap:6px}.dash-chart-legend i{width:10px;height:10px;border-radius:2px}.dash-chart-legend .blue{background:#4c82f6}.dash-chart-legend .green{background:#36b886}.dash-announcement{display:grid;width:100%;gap:5px;margin-top:18px;border:0;border-radius:12px;background:#f3f6ff;padding:12px;text-align:left;cursor:pointer}.dash-announcement:hover{background:#ecf2ff}.dash-announcement>span{display:flex;align-items:center;gap:8px}.dash-announcement em{font-size:10px;font-style:normal}.dash-announcement .urgent{border:1px solid #ffbaba;border-radius:99px;background:#fff3f3;padding:3px 9px;color:#e52d34}.dash-announcement .pinned{color:#426aff;font-weight:750}.dash-announcement strong{overflow:hidden;color:#102048;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.dash-announcement small{display:-webkit-box;overflow:hidden;color:#6680a7;font-size:12px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dash-empty{margin:22px 0;color:#8594ac;font-size:13px}.dash-recent,.dash-types{min-height:480px}.dash-recent-list{display:grid;margin-top:18px}.dash-recent-list button{display:flex;min-height:67px;width:100%;align-items:center;gap:12px;border:0;border-radius:9px;background:transparent;padding:7px 10px;text-align:left;cursor:pointer}.dash-recent-list button:hover{background:#f4f7fd}.dash-task-icon{display:grid;width:36px;height:36px;flex:none;place-items:center;border-radius:11px}.dash-task-copy{display:grid;min-width:0;gap:3px}.dash-task-copy strong{overflow:hidden;color:#13213a;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.dash-task-copy small{overflow:hidden;color:#6e80a0;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.dash-task-badges{display:flex;flex:none;gap:8px;margin-left:auto}.dash-task-badges em{border:1px solid #c9d9ff;border-radius:99px;background:#f0f5ff;padding:4px 10px;color:#3466ef;font-size:11px;font-style:normal;line-height:1}.dash-task-badges .status.completed{border-color:#a8edc5;background:#ecfff4;color:#168b54}.dash-task-badges .priority.urgent{border-color:#ffb7b7;background:#fff0f1;color:#d83940}.dash-task-badges .priority.high{border-color:#ffcfaa;background:#fff6e9;color:#cf7914}.dash-type-legend{display:grid;gap:8px;margin:0 auto;max-width:300px}.dash-type-legend>div{display:flex;align-items:center;gap:8px;color:#62799e;font-size:12px}.dash-type-legend i{width:10px;height:10px;border-radius:50%}.dash-type-legend strong{margin-left:auto;color:#182743;font-weight:650}.dash-technicians{padding:24px}.dash-technician-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.dash-technician-grid article{display:flex;min-width:0;min-height:79px;align-items:center;gap:10px;border:0;border-radius:12px;padding:12px}.dash-avatar{display:grid;width:39px;height:39px;flex:none;place-items:center;border-radius:50%;background:#3d70ef;color:#fff;font-weight:700}.dash-technician-grid article>div{display:grid;min-width:0;gap:3px}.dash-technician-grid article>div strong,.dash-technician-grid article>div span,.dash-technician-grid article>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-technician-grid article>div strong{font-size:13px;font-weight:600}.dash-technician-grid article>div span{color:#7186a5;font-size:11px}.dash-technician-grid article>div small{color:#8a9bb5;font-size:10px}.dash-technician-grid article>em{flex:none;margin-left:auto;color:#eb8c21;font-size:11px;font-style:normal}.dash-technician-grid article>em:before{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:currentColor;content:""}.dash-technician-grid article>em.busy{color:#1cac80}
@media(max-width:1200px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-metric,.dash-metric:first-child,.dash-metric:nth-child(2),.dash-metric:nth-child(3),.dash-metric:nth-child(4){min-height:105px}.dash-panels{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.dash-technician-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.dash-panels{grid-template-columns:1fr}.dash-activity,.dash-announcements,.dash-recent,.dash-types{min-height:0}.dash-technician-grid{grid-template-columns:1fr 1fr}.dash-card{padding:18px}.dash-donut{margin:30px auto}}
@media(max-width:540px){.admin-dashboard{gap:16px}.dash-heading h1{font-size:21px}.dash-heading p{font-size:12px}.dash-metrics{gap:10px}.dash-metric,.dash-metric:first-child,.dash-metric:nth-child(2),.dash-metric:nth-child(3),.dash-metric:nth-child(4){min-height:97px;padding:14px}.dash-metric span{font-size:11px}.dash-metric strong{font-size:20px}.dash-metric-icon{width:32px;height:32px}.dash-metric-icon svg{width:17px;height:17px}.dash-technician-grid{grid-template-columns:1fr}.dash-task-badges{gap:3px}.dash-task-badges em{padding:4px 6px;font-size:9px}.dash-recent-list button{padding-inline:0}.dash-card{padding:15px}}
.admin-dashboard{container-type:inline-size}.admin-dashboard .dash-metric{width:100%;font:inherit;text-align:left;cursor:pointer}.admin-dashboard .dash-metric:hover,.admin-dashboard .dash-card-link:hover{box-shadow:0 10px 28px #2f65c618}.admin-dashboard .dash-card-link{cursor:pointer}.admin-dashboard :is(.dash-metric,.dash-card-link,.dash-type-legend button,.dash-technician,.dash-announcement,.dash-recent-list button):focus-visible{outline:3px solid #3d70ef;outline-offset:3px}.dash-type-legend button{display:flex;min-height:35px;width:100%;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;padding:5px 7px;color:#62799e;font:inherit;font-size:12px;text-align:left;cursor:pointer}.dash-type-legend button:hover{background:#f0f5ff}.dash-type-legend button i{width:10px;height:10px;border-radius:50%}.dash-type-legend button strong{margin-left:auto;color:#182743;font-weight:650}.dash-technician-grid .dash-technician{display:flex;min-width:0;min-height:79px;width:100%;align-items:center;gap:10px;border:0;border-radius:12px;background:#fff;padding:12px;font:inherit;text-align:left;cursor:pointer}.dash-technician-grid .dash-technician:hover{background:#f8faff}.dash-technician-grid .dash-technician>div{display:grid;min-width:0;gap:3px}.dash-technician-grid .dash-technician>div :is(strong,span,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-technician-grid .dash-technician>div strong{font-size:13px;font-weight:600}.dash-technician-grid .dash-technician>div span{color:#7186a5;font-size:11px}.dash-technician-grid .dash-technician>div small{color:#8a9bb5;font-size:10px}.dash-technician-grid .dash-technician>em{flex:none;margin-left:auto;color:#eb8c21;font-size:11px;font-style:normal}.dash-technician-grid .dash-technician>em:before{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:currentColor;content:""}.dash-technician-grid .dash-technician>em.busy{color:#1cac80}
@container (max-width:850px){.dash-panels{grid-template-columns:1fr}.dash-activity,.dash-announcements,.dash-recent,.dash-types{min-height:0}.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-technician-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:480px){.dash-technician-grid{grid-template-columns:1fr}.dash-card{padding:16px}.dash-recent-list button{flex-wrap:wrap}.dash-task-badges{margin-left:48px}}
@container (max-width:340px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dash-metric,.dash-metric:first-child,.dash-metric:nth-child(2),.dash-metric:nth-child(3),.dash-metric:nth-child(4){min-width:0;min-height:94px;padding:11px}.dash-metric>div{min-width:0}.dash-metric span{font-size:10px;line-height:1.25}.dash-metric strong{font-size:19px}.dash-metric-icon{width:29px;height:29px;margin-left:4px}.dash-metric-icon svg{width:16px;height:16px}}
.dash-activity-chart{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:14px;margin:34px 0 20px;font-size:12px;color:#8da0bd}.dash-chart-scale{display:flex;height:220px;flex-direction:column;justify-content:space-between;text-align:right;transform:translateY(-7px)}.dash-chart-plot{position:relative;min-width:0;height:250px}.dash-chart-grid{position:absolute;inset:0 0 30px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.dash-chart-grid i{border-top:1px dashed #e1e9f6;width:100%}.dash-chart-days{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:100%;gap:clamp(2px,1.2cqi,16px)}.dash-chart-day{position:relative;min-width:0;border-radius:5px;outline-offset:3px}.dash-chart-day:focus-visible{outline:2px solid #4c82f6}.dash-chart-bars{height:220px;display:flex;align-items:flex-end;justify-content:center;gap:clamp(2px,.5cqi,5px)}.dash-chart-bars i{display:block;width:38%;max-width:30px;border-radius:4px 4px 2px 2px;transform-origin:center bottom;transition:transform .18s ease,filter .18s ease}.dash-chart-bars .blue{background:#4c82f6}.dash-chart-bars .green{background:#36b886}.dash-chart-bars i:hover,.dash-chart-day:focus-visible .dash-chart-bars i{transform:translateY(-3px) scale(1.08,1.04);filter:brightness(1.06);box-shadow:0 0 0 1px #15213a18}.dash-chart-day-label{display:block;padding-top:16px;text-align:center;white-space:nowrap}.dash-activity-tooltip{position:absolute;z-index:2;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);display:none;gap:4px;width:max-content;padding:9px 12px;border:1px solid var(--fc-line,#dbe4ef);border-radius:8px;background:var(--fc-surface,#fff);color:var(--fc-ink,#172033);font-size:11px;box-shadow:0 4px 12px #15213a25;pointer-events:none}.dash-activity-tooltip strong{font-size:12px}.dash-chart-day:is(:hover,:focus-visible) .dash-activity-tooltip{display:grid}.dash-chart-day:first-child .dash-activity-tooltip{left:0;transform:none}.dash-chart-day:last-child .dash-activity-tooltip{left:auto;right:0;transform:none}.dash-activity{display:flex;flex-direction:column}.dash-activity .dash-chart-legend{margin-top:auto;padding-top:5px}
.dash-donut{position:relative;width:min(200px,100%);aspect-ratio:1;margin:36px auto 28px}.dash-donut svg{display:block;width:100%;height:100%;overflow:visible}.dash-donut-track,.dash-donut-segment{fill:none;stroke-width:36}.dash-donut-track{stroke:#edf2f9}.dash-donut-segment{pointer-events:stroke;cursor:pointer;transform-box:view-box;transform-origin:100px 100px;transition:transform .18s ease;outline:none}.dash-donut-segment:focus-visible{filter:drop-shadow(0 0 3px #15213a)}.dash-donut-center,.dash-donut-detail{position:absolute;inset:27%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;pointer-events:none;color:#6f82a3;font-size:11px}.dash-donut-center strong,.dash-donut-detail strong{color:#15213a;font-size:25px;line-height:1.15}.dash-donut-center span{width:auto;height:auto;background:none}.dash-donut-detail{visibility:hidden}.dash-donut-detail small{font-size:10px}.has-active-type .dash-donut-center{visibility:hidden}.dash-donut-detail.is-active{visibility:visible}.dash-type-legend button.is-active{background:#edf3ff;color:#264e9d}.dash-type-legend button i{flex-shrink:0}.dash-types .dash-type-legend button{transition:background .18s,color .18s}
@container (max-width:480px){.dash-activity-chart{gap:8px;font-size:11px;margin-top:30px}.dash-chart-bars,.dash-chart-scale{height:180px}.dash-chart-plot{height:210px}.dash-chart-day-label{padding-top:12px}.dash-donut{margin:28px auto}}
@media(prefers-reduced-motion:reduce){.dash-donut-segment,.dash-types .dash-type-legend button,.dash-chart-bars i{transition:none}}
.dash-cashflow{display:grid;gap:14px;min-width:0}
.dash-cashflow-heading h2{margin:0;color:#15213a;font-size:17px}
.dash-cashflow-heading p{margin:5px 0 0;color:#6b7d9f;font-size:12px;line-height:1.5}
.dash-cashflow .dash-metric{display:flex;align-items:center;gap:12px;min-width:0;min-height:118px;padding:20px;text-align:left;border-radius:16px}
.dash-cashflow .dash-metric>div{display:grid;gap:9px;min-width:0}
.dash-cashflow .dash-metric span{font-size:12px;font-weight:400}
.dash-cashflow .dash-metric strong{font-size:clamp(18px,2cqi,26px);line-height:1.2;overflow-wrap:anywhere}
.dash-cashflow .dash-metric small{font-size:10px;line-height:1.4}
.dash-cashflow .dash-metric-icon{width:44px;height:44px}
.dash-cashflow .dash-metric:has(.green) strong{color:#29ad7e}
.dash-cashflow .dash-metric:has(.red) strong{color:#f23555}
.dash-cashflow .dash-metric:has(.blue) strong{color:#3b62ff}
.dash-cashflow .dash-metric:has(.purple) strong{color:#8950f4}
@container(max-width:600px){.dash-cashflow .dash-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px}.dash-cashflow .dash-metric>div{display:contents}.dash-cashflow .dash-metric span{grid-column:1;grid-row:1;align-self:center;font-size:11px}.dash-cashflow .dash-metric strong{grid-column:1/-1;grid-row:2}.dash-cashflow .dash-metric small{grid-column:1/-1;grid-row:3}.dash-cashflow .dash-metric-icon{grid-column:2;grid-row:1;width:32px;height:32px}}

/* Match Cash Flow: zoom only the active slice, keeping its neighbors unchanged. */
.dash-donut-segment{-webkit-tap-highlight-color:transparent}
.dash-donut-segment:is(:hover,:focus-visible),.dash-donut-segment.is-active{transform:scale(1.055)}
.dash-donut-segment:focus{outline:none}
.dash-donut-segment:focus-visible{filter:drop-shadow(0 0 3px #7397ff)}
@media(prefers-reduced-motion:reduce){.dash-donut-segment:is(:hover,:focus-visible),.dash-donut-segment.is-active,.dash-chart-bars i:hover,.dash-chart-day:focus-visible .dash-chart-bars i{transform:none}}

.dash-technician-grid .dash-technician>em.clock-clocked_in{color:#1cac80}.dash-technician-grid .dash-technician>em:is(.clock-clocked_out,.clock-not_clocked_in){color:#7186a5}

.dash-technicians{scroll-margin-top:88px}.dash-technicians:focus-visible{outline:3px solid #3d70ef;outline-offset:4px}
