:root{--ink:#162f30;--muted:#526b6c;--brand:#17685b;--brand-dark:#103e38;--bg:#f3f5f2;--surface:#fff;--line:#dbe3dc;--soft:#e7efe8;--amber:#875a14;--red:#a23d34;--radius:14px;--shadow:0 12px 40px #18382c0b;--font:"Avenir Next","Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 var(--font)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #178575}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin-bottom:12px;font-weight:650}h2{font-size:21px;letter-spacing:-.5px;font-weight:650}h3{font-size:16px}a{color:var(--brand)}small{font-size:12px}svg{display:block;flex:none}button{border:0}input,select,textarea{width:100%;padding:12px 14px;border:1px solid #bdcbc1;border-radius:9px;background:white;color:var(--ink);min-height:46px}textarea{resize:vertical;min-height:88px}label{display:block;font-weight:600;font-size:13px;margin-bottom:7px}label small{display:block;color:var(--muted);font-weight:400}form .field{margin-bottom:18px}.muted{color:var(--muted)}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;font-weight:700;color:var(--muted);margin-bottom:9px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:5px 10px;font-size:11px;line-height:1.3;font-weight:650;background:var(--soft);color:#235446;white-space:normal}.pill.warn{background:#fbefd9;color:#785015}.pill.bad{background:#fae8e4;color:#8e302b}.pill.neutral{background:#eaf0ef;color:#4a6262}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;background:var(--brand);color:white;border-radius:9px;font-weight:600;text-decoration:none;font-size:13px;transition:background .15s}.btn:hover{background:var(--brand-dark)}.btn.secondary{background:white;color:var(--ink);border:1px solid #cbd7ce}.btn.secondary:hover{background:var(--soft)}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.btn.danger{background:#fff2ef;color:var(--red);border:1px solid #e9c9c3}.btn.small{padding:8px 12px;min-height:40px;font-size:12px}.iconbtn{display:flex;justify-content:center;align-items:center;width:44px;height:44px;border-radius:9px;background:transparent;color:var(--muted)}.iconbtn:hover{background:var(--soft)}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.app-shell{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100dvh}.sidebar{background:#153e38;color:#eaf4ee;padding:29px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.brand{display:flex;align-items:center;gap:11px;font-size:23px;letter-spacing:-.8px;font-weight:650}.brand-mark{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border:1px solid #628379;border-radius:11px;color:#d7eeb6}.sidebar .brand{padding:0 11px}.sidebar .eyebrow{color:#aec6ba;padding:0 12px;margin:30px 0 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;text-align:left;gap:11px;background:transparent;color:#cfdfd7;padding:12px;border-radius:9px;min-height:46px;font-size:13px;font-weight:500}.nav button.active{background:#d8e9bd;color:#1c4036;font-weight:700}.nav button:hover:not(.active){background:#ffffff0c}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.sidebar-note{padding:15px;border:1px solid #527469;border-radius:10px;font-size:12px;color:#c1d3cb}.sidebar-note strong{display:block;margin-bottom:5px;color:#f1f8f3}.sidebar .logout{color:#d7e7de;width:100%;margin-top:15px;text-align:left;justify-content:flex-start}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:19px 38px;background:#fff;border-bottom:1px solid var(--line);gap:20px;min-height:83px}.org{font-size:13px;font-weight:650}.org small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:2px}.avatar{display:grid;place-items:center;width:36px;height:36px;background:#ebeee4;border:1px solid #dde2d2;border-radius:50%;font-size:12px;font-weight:700}.user-name{font-size:12px;font-weight:600}.user-role{font-size:11px;color:var(--muted)}main{padding:35px 38px 60px;max-width:1680px;margin:0 auto;min-width:0}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:28px}.page-head p{color:var(--muted);font-size:14px;margin:0}.date-label{font-size:12px;color:var(--muted)}.banner{padding:14px 18px;border-radius:10px;border:1px solid #ccdaca;background:#eaf1e5;font-size:12px;display:flex;align-items:flex-start;gap:10px;margin-bottom:23px}.banner.warn{background:#fff5e3;border-color:#ead5b0;color:#745522}.banner p{margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px;box-shadow:var(--shadow)}.stat-label{color:var(--muted);font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-value{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:13px 0 7px}.stat-sub{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.panel-head{padding:22px 23px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head h2{font-size:17px;margin:0}.panel-body{padding:0 23px 23px}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{padding:12px 20px;background:#f7f9f6;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);font-weight:600}td{padding:17px 20px;border-bottom:1px solid #e8ede7;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{font-size:12px;display:block}td .muted{display:block;font-size:11px;margin-top:3px}.nowrap{white-space:nowrap}.empty{padding:45px 25px;text-align:center;color:var(--muted);font-size:14px}.empty svg{margin:0 auto 15px;color:#789083}.empty h3{color:var(--ink);margin-bottom:7px}.queue-item{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}.queue-item:last-child{border:0}.queue-number{width:30px;height:30px;flex:none;background:var(--soft);border-radius:9px;display:grid;place-items:center;font-size:11px;font-weight:600}.queue-item h3{font-size:13px;margin:0 0 4px}.queue-item p{font-size:11px;color:var(--muted);margin:0}.queue-item .pill{margin-top:8px}.path-panel{margin-top:22px;padding:23px;background:#e6ede1;border:1px solid #d2dfca;border-radius:var(--radius)}.path-panel h2{font-size:17px;margin-bottom:7px}.path-panel p{font-size:12px;color:#4c6450}.steps{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.step-tag{border:1px solid #bbccb1;border-radius:7px;padding:8px 12px;background:#ffffff60}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.toolbar input,.toolbar select{width:auto;max-width:100%}.segmented{display:flex;border:1px solid #cbd7ce;border-radius:9px;padding:3px;background:#fff}.segmented button{min-height:37px;padding:8px 15px;background:transparent;color:var(--muted);border-radius:6px;font-size:12px}.segmented button.active{background:var(--brand);color:#fff}.schedule-group{margin-bottom:18px}.schedule-group h3{font-size:14px;margin:0;padding:17px 20px;background:#f9faf7;border-bottom:1px solid var(--line)}.schedule-row{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--line);gap:15px}.schedule-row:last-child{border:0}.schedule-row p{margin:3px 0 0;color:var(--muted);font-size:12px}.schedule-row strong{font-size:13px}.schedule-time{min-width:125px;font-size:12px}.driver-hero{padding:30px;background:#183f38;color:#f4f7ee;border-radius:16px;position:relative;overflow:hidden;margin-bottom:22px}.driver-hero .eyebrow,.driver-hero .muted{color:#c4d6cc}.driver-hero h2{font-size:27px;margin-bottom:6px}.driver-hero .btn{background:#d8e9bd;color:#143a31}.driver-hero .hero-detail{font-size:14px;margin:13px 0 20px;color:#d6e4da}.driver-layout{max-width:930px;margin:0 auto}.checklist{padding:0;margin:0;list-style:none}.checklist li{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.checklist li:last-child{border:0}.check-indicator{width:29px;height:29px;display:grid;place-items:center;background:#edf0eb;border-radius:50%;color:#627469;flex:none}.check-indicator.done{background:#e0eedb;color:#26623e}.checklist strong{font-size:13px}.checklist p{font-size:12px;color:var(--muted);margin:2px 0 0}.test-shell{max-width:800px;margin:0 auto}.test-progress{display:flex;gap:6px;margin-bottom:28px}.test-progress span{height:5px;background:#dce4db;flex:1;border-radius:5px}.test-progress span.done{background:#277563}.test-progress span.current{background:#a9c977}.test-card{padding:35px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.test-card h2{font-size:27px;line-height:1.2;margin-bottom:12px}.test-card>p{color:var(--muted);font-size:14px}.test-stage{height:200px;background:#f1f5ee;border:1px solid #dbe5d7;border-radius:12px;margin:24px 0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.test-stage .dot{width:30px;height:30px;background:#2d7e69;border-radius:50%;box-shadow:0 0 0 12px #2d7e6915}.reaction-button{width:100%;height:100%;border-radius:12px;background:#e5eae0;color:#405e4b;font-size:20px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.reaction-button.ready{background:#185d4d;color:white}.reaction-button small{font-size:12px;font-weight:400}.metric-row{display:flex;gap:14px;flex-wrap:wrap;margin:17px 0}.metric{background:#f2f5ef;padding:12px 16px;border-radius:9px;font-size:12px}.metric strong{display:block;font-size:22px}.stage-info{padding:14px;background:#f7f8f4;border-left:3px solid #b8cc9f;font-size:12px;color:var(--muted);margin:18px 0}.test-controls{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:23px}.recording{color:#ad3d32;font-weight:700}.recording::before{content:"";display:inline-block;width:8px;height:8px;background:#b43c31;border-radius:50%;margin-right:7px}.record-preview{width:100%;height:180px;background:#1c302a;border-radius:10px;object-fit:cover}.test-card audio{width:100%;margin-top:12px}.number-grid{display:grid;grid-template-columns:repeat(3,50px);gap:8px}.number-grid span{display:grid;place-items:center;height:42px;background:white;border:1px solid #d3dfcf;border-radius:6px;font-weight:600}.login-page{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr}.login-intro{background:#153e38;color:white;display:flex;flex-direction:column;padding:50px 65px;position:relative;overflow:hidden}.login-intro::after{content:"";position:absolute;width:550px;height:550px;border:1px solid #68876a55;border-radius:50%;right:-190px;bottom:-250px;box-shadow:0 0 0 65px #a4c0980a,0 0 0 130px #a4c09806;pointer-events:none}.login-intro .brand{margin-bottom:100px}.login-intro h1{max-width:480px;font-size:48px;line-height:1.12;letter-spacing:-1.8px}.login-intro p{color:#bbd1c6;max-width:360px;font-size:16px}.login-intro .eyebrow{color:#c2da9f}.login-intro footer{margin-top:auto;padding-top:65px;font-size:12px;color:#aec7b8}.login-content{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{width:100%;max-width:360px}.login-form h2{font-size:28px}.login-form .btn{width:100%;margin-top:8px}.login-help{font-size:12px;color:var(--muted);padding-top:25px;border-top:1px solid var(--line);margin-top:28px}.error{padding:12px 14px;background:#fff0ed;border:1px solid #edc9c1;border-radius:9px;color:#933b30;font-size:13px;margin-bottom:15px;overflow-wrap:anywhere}.success{padding:12px 14px;background:#edf5e8;border:1px solid #cedfc1;border-radius:9px;color:#315a2d;font-size:13px}.error:empty{display:none}.boot{padding:70px;text-align:center;color:var(--muted)}#toast{position:fixed;right:24px;bottom:24px;max-width:390px;background:#193f36;color:white;padding:14px 20px;border-radius:11px;z-index:100;box-shadow:0 8px 30px #102c2830;display:none;font-size:13px}dialog{border:1px solid #cad6c8;border-radius:17px;width:min(650px,calc(100% - 28px));padding:0;color:var(--ink);box-shadow:0 20px 80px #132d2a33;max-height:90dvh}dialog::backdrop{background:#102b2866}dialog .modal-head{display:flex;justify-content:space-between;align-items:center;padding:21px 25px;border-bottom:1px solid var(--line)}dialog h2{margin:0;font-size:21px}dialog .modal-body{padding:25px}dialog .modal-body>.muted{font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .wide{grid-column:1/-1}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.detail-box{background:#f3f6f0;padding:13px;border-radius:9px;font-size:12px}.detail-box strong{display:block;margin-top:5px;font-size:14px}.audit-list{padding:0;list-style:none}.audit-list li{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.audit-list time{display:block;color:var(--muted);font-size:11px}.media-player{width:100%;max-height:300px;background:#edf1e9;border-radius:10px}.result-table td,.result-table th{padding:10px}.privacy-note{font-size:12px;color:var(--muted);margin:14px 0}.skip-link{position:fixed;left:12px;top:-100px;background:#fff;padding:12px;z-index:200}.skip-link:focus{top:10px}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.help-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:12px}.help-card h3{margin:12px 0 7px}.help-card p{font-size:13px;color:var(--muted);margin-bottom:0}.help-number{font-size:12px;color:var(--brand);font-weight:700}.role-permissions{font-size:13px;margin:20px 0}.role-permissions li{margin:8px 0}.inline-status{font-size:12px;margin-top:10px;color:var(--muted)}.check-option{display:flex;align-items:center;gap:8px;font-size:12px}.check-option input{width:18px;min-height:18px}.mobile-logo{display:none}.divider{height:1px;background:var(--line);margin:22px 0}
@media(min-width:1600px){main{padding-top:45px}.dashboard-grid{grid-template-columns:1.9fr 1fr}}@media(max-width:1100px){.app-shell{grid-template-columns:200px minmax(0,1fr)}main{padding:28px 25px}.topbar{padding:18px 25px}.stats{gap:10px}.stat{padding:18px}.dashboard-grid{grid-template-columns:1fr}.login-intro{padding:40px}.login-intro h1{font-size:40px}.help-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){body{font-size:15px}.app-shell{display:block}.sidebar{position:static;height:auto;padding:15px 16px 9px}.sidebar>.brand{padding:0;margin-bottom:14px;font-size:22px}.sidebar>.eyebrow,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto;gap:5px;padding-bottom:5px}.nav button{flex:none;padding:9px 12px;min-height:42px;font-size:12px}.nav button svg{width:16px;height:16px}.topbar{padding:13px 18px;min-height:65px}.org{font-size:11px}.topbar .org small{display:none}.user-name{font-size:11px}.topbar .avatar{width:30px;height:30px}main{padding:25px 16px 50px}.page-head{margin-bottom:22px}.page-head h1{font-size:27px}.page-head p{font-size:12px}.page-head .btn{font-size:11px;padding:8px 11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:17px}.stat-value{font-size:29px;margin:10px 0 4px}.stat-label{font-size:11px}.stat-sub{font-size:10px}.panel-head{padding:18px}.panel-body{padding:0 18px 18px}td,th{padding:13px 15px}.banner{font-size:11px;padding:12px}.schedule-row{flex-wrap:wrap;padding:15px}.schedule-time{min-width:auto}.toolbar{align-items:stretch}.toolbar input,.toolbar select{font-size:16px;min-width:0;flex:1}.toolbar .segmented{flex:none}.test-card{padding:22px}.test-card h2{font-size:24px}.test-stage{height:180px}.test-progress{margin-bottom:20px}.driver-hero{padding:24px}.driver-hero h2{font-size:25px}.form-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr 1fr}dialog .modal-body{padding:20px}dialog .modal-head{padding:16px 20px}input,select,textarea{font-size:16px}.login-page{grid-template-columns:1fr}.login-intro{padding:28px;min-height:260px}.login-intro .brand{margin-bottom:35px}.login-intro h1{font-size:31px;max-width:350px;margin-bottom:12px}.login-intro p{font-size:13px;margin:0}.login-intro footer{display:none}.login-content{padding:32px 25px}.login-form h2{font-size:25px}.help-grid{grid-template-columns:1fr}.date-label{display:none}#toast{left:16px;right:16px;bottom:16px;max-width:none}.actions .btn{flex:1}.test-controls .btn{flex:1}.hide-mobile{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
