:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;color:#0f172a;resize:vertical}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;box-shadow:0 5px 20px #0f172a0d;margin-bottom:14px}.auth-card{width:min(440px,100%)}label{display:grid;gap:6px;margin:14px 0;font-weight:600}input,select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;color:#0f172a}.primary{background:#0f172a;color:#fff;border:0;border-radius:12px;padding:11px 15px}.ghost{border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:9px 12px}.seg{display:flex;gap:8px;margin:18px 0}.seg button,.tabs button,header button,.wizard-actions button,.inline-actions button{border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:9px 12px}.seg .active,.tabs .active{background:#e2e8f0;font-weight:700}.muted{color:#64748b}.optional{font-size:.82rem;color:#64748b;font-weight:400}.help{font-size:.8rem;color:#64748b;font-weight:400}.notice,.warning,.error{padding:12px;border-radius:10px}.notice{background:#ecfdf5}.warning{background:#fff7ed}.error{background:#fef2f2;color:#991b1b;margin-bottom:12px}.compact{margin:10px 0}.app-shell header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e2e8f0;padding:12px 18px;display:flex;justify-content:space-between;align-items:center}.app-shell header>div:first-child{display:grid}.app-shell header small{color:#64748b}.header-actions{display:flex;gap:8px;align-items:center}.refresh-button{font-size:1.35rem;padding:6px 11px!important;line-height:1}.tabs{display:flex;gap:8px;overflow:auto;padding:10px 16px;background:#fff;border-bottom:1px solid #e2e8f0}.tabs button{white-space:nowrap}.content{max-width:1100px;margin:auto;padding:18px}.breadcrumb{font-size:.9rem;color:#64748b;margin-bottom:12px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.vehicle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.vehicle{border:1px solid #e2e8f0;border-radius:14px;padding:14px}.vehicle-button{text-align:left;background:#fff;color:inherit;display:grid;gap:6px}.vehicle-button:hover{border-color:#94a3b8}.vehicle-title{font-size:1.05rem;font-weight:700}.danger{border-color:#fecaca;background:snow}.password-field{position:relative;display:block}.password-field input{padding-right:48px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;border-radius:9px;font-size:1.3rem;line-height:1}.password-toggle:hover{background:#f1f5f9}.modal-backdrop{position:fixed;inset:0;z-index:30;background:#0f172a80;display:grid;place-items:center;padding:18px;overflow:auto}.wizard{width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto}.wizard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.wizard-head h2,.wizard-body h3{margin-top:2px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:800;color:#64748b;margin:0 0 3px}.progress{height:6px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin:12px 0 20px}.progress span{display:block;height:100%;background:#0f172a;transition:width .2s}.wizard-body{min-height:310px}.form-grid,.module-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.module-form{align-items:end;margin:18px 0 22px}.module-form .primary{justify-self:start;margin:12px 0}.span-2{grid-column:1/-1}.field-wrap{margin:14px 0}.field-wrap>label{margin:0 0 6px}.field-error input,.field-error select,.field-error textarea,.field-error-box{border-color:#dc2626!important;background:snow}.field-error-message{color:#b91c1c;font-size:.8rem;font-weight:600}.date-combo{display:flex;gap:8px;align-items:stretch}.date-combo>input{flex:1}.calendar-button{position:relative;width:52px;margin:0;display:grid;place-items:center;border:1px solid #cbd5e1;border-radius:12px;background:#fff;font-size:1.2rem;overflow:hidden}.calendar-input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}fieldset{border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;margin:16px 0}legend{font-weight:700;padding:0 5px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;justify-content:flex-start;gap:8px;margin:8px 0;font-weight:500}.check input{width:auto;margin:0}.wizard-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e2e8f0;padding-top:16px;margin-top:18px}.wizard-actions .primary,.inline-actions .primary{background:#0f172a;color:#fff;border-color:#0f172a}.review{display:grid;gap:0;margin:0}.review div,.details div{display:grid;grid-template-columns:minmax(170px,.8fr) 1.2fr;gap:16px;padding:10px 0;border-bottom:1px solid #f1f5f9}.review dt,.details dt{font-weight:700;color:#475569}.review dd,.details dd{margin:0}.identity-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-top:18px}.identity-head h1,.identity-head h2{margin:2px 0}.plate{border:1px solid #cbd5e1;border-radius:9px;padding:8px 12px;background:#f8fafc;white-space:nowrap}.details{margin:18px 0 0}.draft-choice p{margin:8px 0}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.module-card h1{margin-top:0}.module-title-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.metric{display:grid;text-align:right}.metric strong{font-size:1.25rem}.metric small{color:#64748b}.vehicle-picker{max-width:520px}.context-chip{display:inline-block;border:1px solid #cbd5e1;background:#f8fafc;border-radius:999px;padding:8px 12px;margin:4px 0 12px;font-weight:650}.settings-line{max-width:440px}.stats-strip{display:flex;gap:12px;margin:18px 0}.stats-strip>div{flex:1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px;display:grid;gap:3px}.stats-strip strong{font-size:1.2rem}.stats-strip span{font-size:.82rem;color:#64748b}.list{display:grid;gap:8px}.list-row{border:1px solid #e2e8f0;border-radius:12px;padding:12px;display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.list-row>div{display:grid;gap:4px}.list-row small{color:#64748b}.list-row-button{width:100%;background:#fff;text-align:left;color:inherit}.list-row-button:hover{border-color:#94a3b8}.badge{display:inline-block;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;background:#e2e8f0;border-radius:999px;padding:3px 7px;margin-right:7px;color:#334155}.timeline{display:grid;gap:10px;margin-top:18px}.timeline-row{border:1px solid #e2e8f0;border-left:5px solid #94a3b8;border-radius:12px;padding:12px;display:flex;justify-content:space-between;gap:14px}.timeline-row>div{display:grid;gap:5px}.timeline-row small{color:#64748b}.timeline-row.action{border-left-color:#f59e0b;background:#fffbeb}.timeline-row.late{border-left-color:#dc2626;background:#fef2f2}.intervention-row>div{max-width:80%}@media(max-width:600px){.content{padding:12px}.row{align-items:flex-start;flex-direction:column}.card{padding:16px}.tabs{padding:8px}.app-shell header{padding:10px 12px}.app-shell header strong{font-size:1rem}.app-shell header small{max-width:210px;overflow:hidden;text-overflow:ellipsis}.header-actions{gap:5px}.header-actions button{padding:8px 10px}.form-grid,.module-form{grid-template-columns:1fr}.modal-backdrop{padding:8px}.wizard{max-height:calc(100vh - 16px)}.review div,.details div{grid-template-columns:1fr;gap:4px}.identity-head{flex-direction:column}.plate{align-self:flex-start}.module-title-row{flex-direction:column}.metric{text-align:left}.stats-strip,.list-row,.timeline-row{flex-direction:column}.intervention-row>div{max-width:100%}.date-combo{gap:6px}}
