@charset "UTF-8";
:root{--navy:#123443;--teal:#087e78;--teal-dark:#08635f;--mint:#e6f5f0;--bg:#f3f6f8;--ink:#183340;--muted:#637681;--border:#dfe7eb;--white:#fff;--amber:#aa650d;--red:#b84439;--shadow:0 3px 15px #16324005}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:none}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:650;line-height:1.2;letter-spacing:-1px}h2{font-size:20px;font-weight:650;line-height:1.35;letter-spacing:-.3px}h3{font-size:17px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #36a69f;outline-offset:3px}input,select,textarea{width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #cedbe1;border-radius:8px;padding:12px 14px;min-height:48px;outline:none;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #09887e15}textarea{resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23637681' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}label{display:block;font-size:14px;font-weight:600}::placeholder{color:#8797a0}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0;font-size:16px;font-weight:600}input[type=radio]{width:auto;min-height:0}input[type=file]{font-size:14px;padding:8px;background:#fff}input::file-selector-button{border:0;border-radius:5px;padding:8px;background:var(--mint);color:var(--teal-dark);margin-right:10px;cursor:pointer}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:absolute;top:-100px;left:20px;background:#fff;padding:12px;z-index:100}.skip:focus{top:10px}.muted{color:var(--muted)}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.3px;color:var(--teal);line-height:1.5}.eyebrow.light{color:#93c9c6}.topbar{min-height:90px;padding:16px 36px;display:flex;justify-content:space-between;align-items:center;gap:25px;background:#fff;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:20px;color:var(--ink);min-width:0}.brand-title{display:block;font-size:22px;font-weight:700;letter-spacing:-.5px;background:linear-gradient(100deg,#173c4e 0%,#173c4e 35%,#0ba598 45%,#d9af39 50%,#0ba598 55%,#173c4e 65%,#173c4e 100%);background-size:300% 100%;color:transparent;background-clip:text;-webkit-background-clip:text;animation:title-shimmer 60s linear infinite}.brand-subtitle{display:block;font-size:10px;letter-spacing:2px;color:#6c7e86;margin-top:5px}.brand img{object-fit:contain;flex:none}.header-note{color:var(--muted);font-size:14px}.account{display:flex;align-items:center;gap:11px;font-size:14px}.avatar{display:grid;place-items:center;border-radius:50%;height:36px;width:36px;background:#eaf3f4;color:var(--teal);font-weight:700}.logout{border:0;border-left:1px solid var(--border);padding:8px 0 8px 16px;margin-left:8px;color:var(--muted);background:none;font-size:14px}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;min-height:46px;padding:11px 20px;font-size:14px;font-weight:650;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button.primary{background:var(--teal);color:#fff;box-shadow:0 3px 7px #087e7810}.button.primary:hover{background:var(--teal-dark)}.button.secondary{background:#fff;border-color:#d4dfe5;color:var(--ink)}.button.secondary:hover{background:#f8fbfc;border-color:#91a8b3}.button.ghost{background:transparent;color:var(--muted)}.button.ghost:hover{background:#eaf0f3}.button.small{min-height:38px;padding:8px 14px}.full{width:100%}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:650;white-space:nowrap}.badge.neutral{background:#edf2f5;color:#5c7380}.badge.good{background:#e5f4ed;color:#267a5c}.badge.warning{background:#fff2dc;color:#995d16}.badge.critical{background:#fcece8;color:#ad493d}.alert{padding:14px 17px;border-radius:8px;margin:15px 0;font-size:14px}.alert.error{background:#fff0ed;border:1px solid #f2c9c2;color:#993e33}.toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 22px;background:var(--navy);color:white;box-shadow:0 8px 28px #0b293a30;border-radius:10px;max-width:calc(100% - 32px);width:max-content;font-size:14px}.toast.error{background:#9d4036}
.field.invalid .choice>span{border-color:var(--red)}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--border)}
.history-title{min-width:0;overflow-wrap:anywhere;font-size:14px}
.history-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.button.danger-outline{border-color:#e8beb8;background:#fff;color:var(--red)}
.button.danger-outline:hover{background:#fff0ed}
.button.danger{background:var(--red);color:white}
.button.danger:hover{background:#94362e}
.confirm-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100% - 32px);padding:28px;border:1px solid var(--border);border-radius:14px;color:var(--ink);box-shadow:0 20px 80px #0c273940}
.confirm-dialog::backdrop{background:#102c3d80}
.confirm-dialog>p{margin-top:14px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.confirm-dialog .dialog-record{color:var(--ink);font-weight:600}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}
@media(max-width:700px){.history-row{align-items:flex-start;flex-direction:column;gap:10px}.history-actions{width:100%;flex-wrap:wrap}.history-actions .button{min-height:44px;flex:1}.confirm-dialog{padding:22px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}}
.brand{display:grid;grid-template-columns:auto minmax(0,1fr);direction:ltr}
.brand-copy{grid-column:2;grid-row:1;min-width:0}
.brand-crest{grid-column:1;grid-row:1;justify-self:start}
/* Sign in */
.login-page{background:#fff}.login-layout{min-height:calc(100vh - 90px);display:grid;grid-template-columns:1.12fr 1fr}.login-story{background:var(--navy);padding:70px clamp(35px,5vw,90px) 35px;color:white;position:relative;overflow:hidden;display:flex;flex-direction:column}.login-story:before{content:"";position:absolute;width:440px;height:440px;border:1px solid #ffffff09;border-radius:50%;right:-270px;top:-130px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff02;pointer-events:none}.login-story h1{font-size:clamp(36px,3.4vw,56px);line-height:1.16;font-weight:600;letter-spacing:-1.5px;margin:26px 0}.login-story h1 span{color:#75d3bc}.login-story>p{color:#bfd1d8;font-size:17px;line-height:1.8;max-width:490px}.route-art{margin:45px -15px 30px}.route-art svg{width:100%;display:block}.route-captions{display:flex;justify-content:space-between;margin:0 12px;color:#b5cfd5;font-size:12px}.story-bottom{display:flex;gap:20px;border-top:1px solid #ffffff1c;padding-top:24px;margin-top:auto;color:#aac4ce;font-size:12px}.login-panel{padding:60px 30px 25px;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-card{width:100%;max-width:370px}.small-icon{width:44px;height:44px;border-radius:13px;background:#e5f5ef;color:var(--teal);display:grid;place-items:center;font-size:24px;margin-bottom:30px}.login-card h2{font-size:32px;margin:8px 0 10px;font-weight:650;letter-spacing:-.7px}.login-card>.muted{font-size:15px}.login-form{margin-top:30px}.login-form>label{margin:22px 0 8px}.login-form>.button{margin-top:26px;min-height:50px}.password-wrap{position:relative}.password-wrap input{padding-right:94px}.password-wrap button{position:absolute;right:12px;top:9px;bottom:9px;background:transparent;border:0;color:var(--teal);font-size:12px}.login-help{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--border);margin-top:30px;padding-top:24px;color:var(--muted);font-size:13px;line-height:1.7}.outline-icon{border:1px solid #a8b9c2;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;flex:none;font-size:12px;margin-top:3px}.login-footer{font-size:12px;color:#8a9aa3;margin-top:60px}
/* Shared workspace */
.workspace{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 90px)}.sidebar{background:#fff;border-right:1px solid var(--border);padding:30px 18px;display:flex;flex-direction:column;align-self:stretch}.sidebar>.eyebrow{color:#85949d;font-size:9px;letter-spacing:1.1px;padding:0 12px}.sidebar-current{background:var(--mint);color:var(--teal-dark);border-radius:8px;padding:13px 13px;display:flex;gap:12px;align-items:center;font-size:14px;font-weight:650;margin-top:18px}.sidebar-current>span,.sidebar-item>span{font-size:20px}.sidebar-item{display:flex;align-items:center;gap:12px;padding:13px;font-size:14px;color:#5c707d}.sidebar-label{font-size:10px;font-weight:650;letter-spacing:1px;color:#8b99a2;margin:34px 12px 12px}.step-nav{display:flex;flex-direction:column;gap:5px}.step-link{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:10px;color:#637983;font-size:13px;min-height:46px;border-radius:8px;padding:10px}.step-link:hover{background:#f4f8f9}.step-num{height:24px;width:24px;border-radius:50%;border:1px solid #dbe5e9;display:grid;place-items:center;flex:none;font-size:11px}.step-link.active{color:var(--teal-dark);font-weight:700;background:#f0f8f6}.step-link.active .step-num{color:#fff;background:var(--teal);border-color:var(--teal)}.step-link.complete .step-check{margin-left:auto;font-size:12px;color:var(--teal)}.step-link.complete .step-check:after{content:'✓'}.sidebar-tip{margin-top:35px;border-radius:10px;padding:18px 14px;background:#f5f8fa;font-size:12px;color:#71818b}.sidebar-tip strong{display:block;font-size:13px;color:#415d6b;margin:9px 0 6px}.sidebar-tip .tip-icon{font-size:23px;color:var(--teal)}.district-label{margin-top:auto;padding:45px 12px 0;font-size:9px;letter-spacing:1.2px;color:#8b99a1}.district-label strong{display:block;color:#566d7b;font-size:13px;letter-spacing:0;margin-top:5px}.main-content{padding:35px clamp(24px,3vw,48px) 20px;min-width:0;max-width:1700px;width:100%;margin:auto;align-self:start}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{margin:7px 0 9px}.page-heading p{font-size:14px}.page-heading>.badge{align-self:center}.card{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}.page-footer{margin-top:28px;display:flex;justify-content:space-between;gap:20px;color:#82939c;font-size:11px;border-top:1px solid var(--border);padding:20px 0 3px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.card-heading h2{font-size:17px}.card-heading p{color:var(--muted);font-size:12px;margin-top:5px}.card-heading>.muted{font-size:12px;white-space:nowrap}
/* Checklist */
.checker-main{max-width:1150px}.progress-card{padding:17px 22px;background:#fff;border:1px solid var(--border);border-radius:10px;margin-bottom:22px}.progress-card>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:center}.progress-card strong{font-size:13px}.progress-card .muted{font-size:12px}.progress-track{height:5px;border-radius:5px;background:#eaf0f3;margin-top:14px;overflow:hidden}.progress-track>div{height:100%;background:var(--teal);border-radius:5px;transition:width .3s}.form-section{padding:28px 30px}.section-heading{display:flex;gap:17px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:26px}.section-symbol{width:48px;height:48px;border-radius:12px;background:#e8f3f1;color:var(--teal);font-size:20px;font-weight:600;display:grid;place-items:center;flex:none}.section-heading .eyebrow{font-size:10px}.section-heading h2{font-size:25px;margin:3px 0 5px}.section-heading p{color:var(--muted);font-size:13px}.info-note{border-left:3px solid #b6d5da;padding:10px 14px;background:#f3f8fa;color:#607b89;font-size:12px;line-height:1.65;margin-bottom:25px}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.field.wide{grid-column:1/-1}.field>label{margin-bottom:8px;font-size:14px;font-weight:600}.field-number{color:#8c9ca4;font-weight:400}.field-error{color:var(--red);font-size:12px;display:block;margin-top:5px}.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--red)}.field.invalid fieldset{border-left:3px solid var(--red);padding-left:10px}.choice-group{display:flex;gap:12px;margin-top:13px}.choice{position:relative;min-width:102px;cursor:pointer;font-size:14px}.choice input{position:absolute;opacity:0;left:12px;top:13px}.choice>span{display:flex;align-items:center;gap:10px;border:1px solid #d6e1e5;padding:12px 18px;border-radius:8px;font-weight:500;color:#5b7380;background:#fff}.choice>span:before{content:"";height:15px;width:15px;border:1px solid #b8c9d1;border-radius:50%;background:#fff}.choice input:checked+span{background:#eaf7f1;border-color:#4aaca1;color:var(--teal-dark)}.choice input:checked+span:before{background:var(--teal);border:4px solid white;box-shadow:0 0 0 1px var(--teal)}.choice input:focus-visible+span{outline:3px solid #62b9ad;outline-offset:2px}.field fieldset{padding-bottom:12px;border-bottom:1px solid #eef2f4}.form-actions{display:flex;justify-content:space-between;gap:12px;padding:22px 0 12px}.form-actions>div{display:flex;gap:10px}.photo-upload{margin-top:26px;padding:22px;background:#f7fafb;border:1px dashed #c0d5de;border-radius:10px;display:flex;justify-content:space-between;gap:20px;align-items:center}.photo-upload>div{min-width:0}.photo-upload strong{font-size:14px}.photo-upload p{font-size:12px;color:var(--muted);margin:5px 0 13px}.photo-upload img{width:110px;height:90px;object-fit:cover;border-radius:8px}.photo-upload .muted{display:block;font-size:12px;margin-top:7px}.review-note{padding:22px;background:#f2f8f6;border-radius:9px;margin-top:25px;font-size:14px}.review-note p{color:var(--muted);margin:8px 0 12px}.review-note #review-completion{font-weight:600;color:var(--teal)}.history{border:1px solid var(--border);border-radius:9px;margin-bottom:20px;background:#fff;font-size:13px}.history summary{padding:13px 17px;cursor:pointer;color:#516e7c}.history summary>span{color:var(--teal);padding-left:10px}.history-list{padding:0 17px 12px}.history-list>a{padding:10px 0;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--ink)}.success-panel{text-align:center;padding:65px 30px}.success-icon{margin:0 auto 25px;width:70px;height:70px;border-radius:50%;background:var(--mint);color:var(--teal);font-size:36px;display:grid;place-items:center}.success-panel h2{font-size:30px;margin:10px 0}.success-panel p{color:var(--muted)}.success-links{display:flex;justify-content:center;gap:12px;margin-top:30px}
/* Dashboard */
.filter-card{padding:20px 22px}.filter-fields{display:grid;grid-template-columns:1fr 1fr 1.5fr 1.5fr 1.2fr 1.2fr;gap:13px}.filter-fields label{font-size:12px;color:#6a808b;font-weight:500}.filter-fields input,.filter-fields select{font-size:13px;min-height:41px;padding:9px 10px;margin-top:6px}.filter-fields select{padding-right:30px}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px}.filter-actions>.muted{margin-right:auto;font-size:11px}.dashboard-subline{display:flex;justify-content:space-between;font-size:12px;color:#7b8d96;margin:22px 0 14px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:11px;padding:21px 23px;min-width:0;display:flex;flex-direction:column}.stat-label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;font-weight:600;color:#627985;white-space:nowrap}.stat-icon{height:29px;width:29px;border-radius:8px;display:grid;place-items:center;background:#edf2f5;color:#5c798b;font-size:16px;font-weight:600;flex:none}.stat-icon.teal{background:#e4f4ed;color:#3c9979}.stat-icon.amber{background:#fff4df;color:#be893e}.stat-card>strong{font-size:38px;font-weight:650;letter-spacing:-1px;margin:9px 0 4px;line-height:1.3}.stat-card>.muted,.accent-stat>span:last-child{font-size:11px}.stat-card.accent-stat{background:var(--navy);color:#fff;border-color:var(--navy)}.accent-stat .stat-label{color:#d3e4e9}.accent-stat .stat-icon{color:#e8ba71;background:#ffffff14}.accent-stat>span:last-child{color:#b4cbd4}.charts-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;margin-top:22px}.charts-grid.equal{grid-template-columns:1fr 1fr}.chart-card{padding:24px;overflow:hidden}.chart-key{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.chart-key i{width:7px;height:7px;background:var(--teal);border-radius:50%}.chart-container{min-height:220px;display:flex;align-items:center;justify-content:center}.chart-container svg{width:100%;height:auto;max-height:255px;overflow:visible}.chart-container svg text{font-family:inherit;font-size:11px;fill:#7d919a}.donut-container{display:flex;align-items:center;justify-content:center;gap:24px;min-height:220px;flex-wrap:wrap}.donut-wrap{position:relative;width:154px;height:154px;flex:none}.donut-wrap svg{width:154px;height:154px;transform:rotate(-90deg)}.donut-middle{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-middle strong{font-size:32px;line-height:1.2}.donut-middle span{font-size:11px;color:var(--muted);margin-top:5px}.chart-legend{font-size:12px;display:flex;flex-direction:column;gap:14px;min-width:140px}.chart-legend>div{display:flex;gap:8px;align-items:center}.chart-legend i{height:7px;width:7px;border-radius:50%;flex:none}.chart-legend strong{margin-left:auto}.bars{display:flex;flex-direction:column;gap:17px;min-height:210px;justify-content:center}.bar-top{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:7px;color:#5f7683}.bar-top strong{color:var(--ink);font-weight:600;flex:none}.bar-track{height:7px;border-radius:4px;background:#edf2f4;overflow:hidden}.bar-fill{height:100%;border-radius:4px;background:var(--teal)}.issues-bars .bar-fill{background:#d9a357}.empty-chart{color:#81949e;font-size:13px;text-align:center;padding:40px 10px;width:100%}.empty-banner{display:flex;align-items:center;gap:18px;margin-top:22px;padding:22px 25px;border:1px dashed #b6cdd6;background:#edf5f7;border-radius:12px}.empty-banner h2{font-size:17px}.empty-banner p{font-size:13px;color:#617c88;margin-top:6px}.empty-icon{height:46px;width:46px;background:#dcebf0;color:#527a8e;display:grid;place-items:center;font-size:25px;border-radius:12px;flex:none}.routes-card,.results-card{margin-top:22px;padding:24px}.route-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}.route-item .bar-top{font-size:13px}.route-meta{font-size:11px;color:#82949e;margin-top:7px}.table-wrap{overflow:auto;margin:0 -24px}table{border-collapse:collapse;width:100%;font-size:13px}th{background:#f7f9fa;padding:13px 22px;color:#8a99a2;font-weight:500;font-size:11px;text-align:left;white-space:nowrap}td{padding:18px 22px;border-bottom:1px solid #edf1f3;vertical-align:middle}td strong{display:block;font-size:13px;font-weight:600}td small{display:block;color:#80929c;margin-top:5px;font-size:11px}td .score{font-size:20px;color:var(--teal);font-weight:650;white-space:nowrap}td a{font-size:12px;font-weight:600;white-space:nowrap}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:18px;font-size:12px;color:var(--muted)}.method-note{margin:22px 0;font-size:12px;color:var(--muted)}.method-note summary{cursor:pointer;color:#5b7784}.method-note p{margin:12px 0;line-height:1.8;max-width:1000px}.backup-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf1f4;border:1px solid #dae5e9;border-radius:10px;padding:25px}.backup-panel h2{font-size:19px;margin:6px 0}.backup-panel p{font-size:12px;color:#67818d}.backup-panel .muted{font-size:11px;overflow-wrap:anywhere;margin-top:8px}.backup-panel .eyebrow{font-size:10px}
/* Result */
.detail-main{max-width:1100px;margin:auto;padding:40px 30px}.detail-actions{display:flex;gap:10px}.detail-overview{padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0}.detail-overview>div{display:flex;flex-direction:column}.detail-overview strong{font-size:44px;line-height:1.3;color:var(--teal)}.detail-overview strong small{font-size:22px}.detail-overview>span{font-size:13px}.detail-overview .muted{font-size:12px}.detail-section,.detail-issues{padding:28px 30px;margin:20px 0}.detail-section dl{margin-bottom:0}.detail-section dl>div{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:14px 0;border-top:1px solid #edf1f3;font-size:14px}.detail-section dt{color:var(--muted)}.detail-section dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-photo{width:100%;max-width:500px;max-height:350px;object-fit:contain;object-position:left;margin-top:25px;border-radius:8px}.detail-issues>div{display:flex;align-items:center;gap:15px;padding-top:17px;font-size:13px}.detail-issues p{color:var(--muted)}.detail-issues strong{color:var(--ink)}.error-page{max-width:700px;margin:80px auto;padding:30px}.error-page h1{margin:15px 0}.error-page .button{margin-top:25px}
@keyframes title-shimmer{0%{background-position:100% 50%}7%{background-position:0% 50%}100%{background-position:0% 50%}}
@media(min-width:1500px){.donut-container{flex-wrap:nowrap}.filter-fields{gap:18px}}
@media(max-width:1250px){.workspace{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:26px 12px}.main-content{padding:28px 24px 20px}.filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{padding:17px}.stat-label{white-space:normal;font-size:11px}.stat-icon{width:25px;height:25px}.stat-card>.muted,.accent-stat>span:last-child{font-size:10px}.charts-grid{grid-template-columns:1.4fr 1fr}.chart-card{padding:20px}.donut-container{gap:16px}.chart-key{display:none}.login-story{padding-top:60px}.story-bottom{gap:15px;font-size:11px}}
@media(max-width:1000px){.topbar{padding:16px 24px}.brand-title{font-size:20px}.brand img{width:34px;height:43px}.brand-subtitle{font-size:9px;letter-spacing:1.5px}.role-name{display:none}.workspace{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:12px 24px;position:static}.sidebar>.eyebrow,.sidebar-current,.sidebar-label,.sidebar-tip,.district-label{display:none}.step-nav{flex-direction:row;overflow:auto;gap:6px;padding-bottom:3px}.step-link{flex:none;font-size:12px}.step-link.active{background:#e8f5f0}.step-check{display:none}.admin-sidebar{flex-direction:row;gap:14px}.admin-sidebar .sidebar-current{display:flex;margin:0;font-size:12px}.admin-sidebar .sidebar-item{font-size:12px}.main-content{margin:0 auto}.stat-label{font-size:12px}.charts-grid{grid-template-columns:1.5fr 1fr}.login-story{padding:50px 30px 30px}.login-story h1{font-size:40px}.login-story>p{font-size:15px}.story-bottom{flex-wrap:wrap;gap:8px 20px}.login-panel{padding:45px 28px 25px}.route-art{margin:35px -10px}.header-note{font-size:12px}}
@media(max-width:700px){h1{font-size:27px;letter-spacing:-.7px}.topbar{min-height:80px;padding:13px 18px;gap:12px}.brand{gap:12px}.brand-title{font-size:16px;line-height:1.25;max-width:255px}.brand-subtitle{font-size:8px;letter-spacing:.8px;margin-top:4px}.brand img{width:30px;height:38px}.account{gap:0}.avatar,.role-name,.header-note{display:none}.logout{padding:10px 0 10px 12px;font-size:12px;margin:0}.login-layout{display:flex;flex-direction:column;min-height:calc(100vh - 80px)}.login-story{padding:32px 25px}.login-story .eyebrow{font-size:10px}.login-story h1{font-size:34px;letter-spacing:-1px;margin:15px 0 17px;line-height:1.15}.login-story h1 br:first-of-type{display:none}.login-story h1 br:first-of-type:after{content:' '}.login-story>p{font-size:14px;line-height:1.6;max-width:480px}.route-art,.story-bottom{display:none}.login-panel{padding:32px 25px 22px;flex:1}.small-icon{display:none}.login-card{max-width:440px}.login-card h2{font-size:28px}.login-card .eyebrow{font-size:10px}.login-card>.muted{font-size:14px}.login-form{margin-top:24px}.login-form>label{margin-top:17px}.login-footer{margin-top:28px;font-size:11px}.login-help{margin-top:24px;padding-top:18px;font-size:12px}.workspace{min-height:0}.sidebar{padding:9px 16px}.step-link{padding:8px;min-height:42px}.step-num{width:22px;height:22px}.admin-sidebar{overflow:auto;gap:2px;white-space:nowrap;padding:8px 14px}.admin-sidebar .sidebar-item,.admin-sidebar .sidebar-current{padding:10px 12px;flex:none;font-size:11px}.sidebar-item>span,.sidebar-current>span{font-size:17px}.main-content{padding:25px 16px 15px}.page-heading{align-items:flex-start;gap:14px;margin-bottom:23px;flex-wrap:wrap}.page-heading .eyebrow{font-size:10px}.page-heading h1{margin:6px 0 10px}.page-heading p{font-size:13px}.page-heading>.badge{display:none}.page-heading>.button{min-height:38px;padding:8px 14px;font-size:12px}.progress-card{padding:15px;margin-bottom:17px}.progress-card>div:first-child{flex-wrap:wrap;gap:5px}.progress-card strong{font-size:12px}.progress-card .muted{font-size:11px}.form-section{padding:22px 18px}.section-heading{gap:13px;padding-bottom:19px;margin-bottom:20px}.section-heading h2{font-size:22px}.section-heading p{font-size:12px}.section-symbol{width:42px;height:42px;font-size:17px}.fields-grid{grid-template-columns:1fr;gap:22px}.field label,.field legend{font-size:14px}.field>input,.field>select{font-size:16px;min-height:49px}.info-note{font-size:11px}.choice{flex:1}.choice-group{gap:10px}.choice>span{justify-content:center;padding:13px 16px}.form-actions{flex-wrap:wrap;padding:18px 0 0}.form-actions>.button{order:2;width:100%;font-size:13px}.form-actions>div{width:100%}.form-actions>div .primary{flex:1}.form-actions .button{font-size:13px;padding:12px 16px;min-height:47px}.photo-upload{padding:15px;gap:12px;align-items:flex-start;flex-wrap:wrap}.photo-upload img{height:95px;width:120px}.review-note{padding:18px;font-size:13px}.page-footer{font-size:10px;gap:15px;align-items:flex-start}.page-footer>span{text-align:right;max-width:60%}.history summary{font-size:12px}.history-list>a{font-size:11px;gap:8px}.filter-card{padding:16px}.filter-fields{grid-template-columns:1fr 1fr;gap:14px 12px}.filter-fields label{font-size:11px}.filter-fields input,.filter-fields select{font-size:16px;min-height:44px}.filter-actions{flex-wrap:wrap;gap:5px;margin-top:13px}.filter-actions>.muted{width:100%;font-size:10px;margin-bottom:5px}.filter-actions .button{min-height:42px;font-size:12px}.dashboard-subline{font-size:10px;margin:20px 0 12px}.stat-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:15px}.stat-label{font-size:11px;gap:6px;align-items:flex-start}.stat-icon{width:23px;height:23px;font-size:13px;border-radius:6px}.stat-card>strong{font-size:33px;margin:8px 0 5px}.stat-card>.muted,.accent-stat>span:last-child{font-size:10px;line-height:1.6}.charts-grid,.charts-grid.equal{grid-template-columns:1fr;gap:16px;margin-top:16px}.chart-card{padding:21px 18px}.card-heading{margin-bottom:20px;gap:12px}.card-heading h2{font-size:16px}.card-heading p{font-size:11px}.chart-container{min-height:180px}.donut-container{min-height:190px;gap:25px}.donut-wrap,.donut-wrap svg{width:145px;height:145px}.chart-legend{font-size:11px;min-width:130px}.bars{min-height:130px}.bar-top{font-size:12px}.empty-banner{padding:18px;gap:13px}.empty-banner h2{font-size:15px}.empty-banner p{font-size:12px}.empty-icon{display:none}.route-comparison{grid-template-columns:1fr;gap:20px}.routes-card,.results-card{padding:21px 18px;margin-top:16px}.table-wrap{margin:0 -18px}table{min-width:620px}th,td{padding:13px 16px}.pagination{justify-content:space-between;font-size:11px;gap:8px}.pagination .button{font-size:12px}.method-note{font-size:11px}.backup-panel{padding:20px;flex-wrap:wrap;gap:18px}.backup-panel .button{width:100%;font-size:13px}.backup-panel p{font-size:11px}.backup-panel h2{font-size:18px}.detail-main{padding:25px 16px}.detail-main h1{font-size:25px}.detail-overview{padding:20px;flex-wrap:wrap;gap:15px}.detail-overview strong{font-size:36px}.detail-section,.detail-issues{padding:22px 18px}.detail-section dl>div{grid-template-columns:1fr;gap:5px;font-size:14px}.detail-section h2{font-size:21px}.detail-issues>div{align-items:flex-start;gap:10px;font-size:12px}.success-panel{padding:45px 20px}.success-panel h2{font-size:25px}.success-links{flex-direction:column}.toast{bottom:16px;font-size:13px}}
@media(max-width:360px){.brand-title{font-size:14px}.brand-subtitle{font-size:7px}.brand img{width:25px;height:31px}.brand{gap:7px}.topbar{padding:12px}.stat-card{padding:12px}.donut-container{gap:16px}.donut-wrap,.donut-wrap svg{width:130px;height:130px}.login-story h1{font-size:29px}}
.sidebar{min-width:0}.step-nav{min-width:0;max-width:100%}.table-wrap{position:relative}.filter-fields label{font-size:14px}.stat-label{font-size:14px;white-space:normal}.stat-card>.muted,.accent-stat>span:last-child{font-size:12px}.bar-top,.chart-legend{font-size:14px}.filter-fields input,.filter-fields select{font-size:14px}.step-link{font-size:14px}.login-story h1 br:first-of-type{display:initial}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.filter-fields input,.filter-fields select{font-size:16px}.stat-label{font-size:13px}.chart-legend{font-size:12px}.stat-card>.muted,.accent-stat>span:last-child{font-size:12px}.stat-card{padding:15px 13px}.filter-fields label{font-size:14px}.step-link{font-size:13px}.login-story h1{font-size:32px}.login-story h1 br:first-of-type{display:initial}}
@media(max-width:700px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-fields>label{min-width:0}}
@media(max-width:360px){.filter-fields{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.brand-title{animation:none;background:none;color:var(--ink)}}
@media print{body{background:white;font-size:11px}.topbar{padding:10px 0}.brand-title{animation:none;color:#000;background:none}.account,.detail-actions,.page-footer{display:none}.detail-main{max-width:none;padding:15px 0}.detail-section,.detail-issues{box-shadow:none;break-inside:avoid;margin:14px 0;padding:16px}.detail-section dl>div{font-size:11px;gap:20px;padding:8px 0}.detail-overview{padding:15px}.detail-photo{max-height:220px}.page-heading h1{font-size:22px}.detail-overview strong{font-size:32px}}

/* Native pickers must not compete with animated focus scrolling on phones. */
@media(any-pointer:coarse),(max-width:700px){html{scroll-behavior:auto}select{touch-action:manipulation;transition:none}}
