@charset "UTF-8";:root{--form-modal-w: 1000px;--brand: #c0392b;--brand-dark: #a93226;--brand-accent: #e74c3c;--brand-ring: rgba(192, 57, 43, .12);--ink: #1f2533;--pos: #2e7d32;--neg: #c62828;--info: #1565c0;--bg: #f4f5f7;--surface: #ffffff;--elevated: #ffffff;--input-bg: #ffffff;--border: #cdd3db;--muted: #5a6473}:root[data-theme=dark]{--brand: #e0574a;--brand-dark: #c0392b;--brand-accent: #ef6a5c;--brand-ring: rgba(224, 87, 74, .22);--ink: #e6e8ec;--pos: #4caf50;--neg: #ef5350;--info: #4aa3f0;--bg: #0e1116;--surface: #191e27;--elevated: #222835;--input-bg: #11151c;--border: #2c333f;--muted: #99a3b2}:root[data-theme=dark] body{background:var(--bg);color:var(--ink)}:root[data-theme=dark] .sidebar,:root[data-theme=dark] .topbar,:root[data-theme=dark] .tx-head,:root[data-theme=dark] .build-head,:root[data-theme=dark] .calc-head{background:#12161d}:root[data-theme=dark] .content,:root[data-theme=dark] .main,:root[data-theme=dark] .ledger,:root[data-theme=dark] .build-page,:root[data-theme=dark] .calc-page,:root[data-theme=dark] .tx-app{background:var(--bg)}:root[data-theme=dark] .scrim,:root[data-theme=dark] .modal-back,:root[data-theme=dark] .note-back{background:#0009}:root[data-theme=dark] [class*=card],:root[data-theme=dark] [class*=-dialog],:root[data-theme=dark] [class*=-panel],:root[data-theme=dark] .card,:root[data-theme=dark] .comp-card,:root[data-theme=dark] .modal,:root[data-theme=dark] .note-dialog,:root[data-theme=dark] .cross-orv-dialog,:root[data-theme=dark] .cd-dialog,:root[data-theme=dark] .bell-menu,:root[data-theme=dark] .panel,:root[data-theme=dark] .tile,:root[data-theme=dark] .stat,:root[data-theme=dark] .box,:root[data-theme=dark] .cont-pane,:root[data-theme=dark] .region,:root[data-theme=dark] .picker,:root[data-theme=dark] .comp-row,:root[data-theme=dark] .msd-row,:root[data-theme=dark] .delta-sec,:root[data-theme=dark] .results,:root[data-theme=dark] .continue select,:root[data-theme=dark] .qinv-panel{background:var(--surface);color:var(--ink);border-color:var(--border)}:root[data-theme=dark] .modal-card,:root[data-theme=dark] .note-dialog,:root[data-theme=dark] .bell-menu,:root[data-theme=dark] .cross-orv-dialog,:root[data-theme=dark] .cd-dialog{background:var(--elevated)}:root[data-theme=dark] .cd-btn:not(.primary),:root[data-theme=dark] .btn.secondary{background:#232a35;color:var(--ink);border-color:var(--border)}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{background:var(--input-bg)!important;color:var(--ink)!important;border-color:var(--border)!important}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#6b7480}:root[data-theme=dark] option{background:var(--elevated);color:var(--ink)}:root[data-theme=dark] table,:root[data-theme=dark] .tbl,:root[data-theme=dark] .scale-table{color:var(--ink)}:root[data-theme=dark] th{color:var(--muted)}:root[data-theme=dark] td,:root[data-theme=dark] th{border-color:var(--border)}:root[data-theme=dark] tbody tr:nth-child(2n){background:#ffffff05}:root[data-theme=dark] :is(h1,h2,h3,h4,h5,strong,b,label,dt,legend){color:var(--ink)}:root[data-theme=dark] output,:root[data-theme=dark] .desc,:root[data-theme=dark] .note,:root[data-theme=dark] .muted,:root[data-theme=dark] .sub,:root[data-theme=dark] .hint,:root[data-theme=dark] .rt-sub{color:var(--muted)}:root[data-theme=dark] output{background:#0c0f14}:root[data-theme=dark] .toast{background:#1f2733;color:var(--ink)}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;width:100%;max-width:100%;overflow:hidden;overscroll-behavior:none;position:relative}#eims-fatal{overflow:auto}app-root{position:fixed;inset:0;display:block;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#f4f5f7;-webkit-font-smoothing:antialiased}button{font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;box-sizing:border-box;padding:10px 16px;border:1px solid #d4d4d4;border-radius:8px;background:#f4f4f4;color:#333;font-size:15px;font-weight:600;line-height:1.15;cursor:pointer;text-decoration:none;transition:background .15s ease,opacity .15s ease}.btn:hover:not(:disabled){background:#ececec}.btn:disabled{opacity:.55;cursor:default}.btn.block{width:100%}.btn.small{min-height:34px;padding:6px 11px;font-size:13px;border-radius:7px}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}.btn.primary:hover:not(:disabled){background:var(--brand-dark)}.btn.secondary{background:#f4f4f4;border-color:#d4d4d4;color:#333}.btn.ghost{background:transparent;border-color:transparent;color:#555}.btn.ghost:hover:not(:disabled){background:#0000000d}.btn.warn{background:#e67e22;border-color:#e67e22;color:#fff}.btn.warn:hover:not(:disabled){background:#d3701c}.btn.danger{background:#fff;border-color:var(--brand);color:var(--brand)}.btn.danger:hover:not(:disabled){background:var(--brand-ring)}.btn.danger.solid{background:#b02a37;border-color:#b02a37;color:#fff}.btn.danger.solid:hover:not(:disabled){background:#97232e}.btn.ok{background:#27ae60;border-color:#27ae60;color:#fff}.btn.ok:hover:not(:disabled){background:#219653}.btn.face{background:#fff;border-color:var(--brand);color:var(--brand);font-weight:700}@media(min-width:768px){.btn{min-height:46px;font-size:15.5px;padding:11px 18px}}@media(pointer:coarse){.btn.small{min-height:40px}}.two-col>*,.two-up>*,.ae-grid>*,.mag-loc-grid>*,.veh-grid>*,.detail-grid>*{min-width:0}@media(max-width:560px){.two-col,.two-up,.ae-grid,.mag-loc-grid,.veh-grid,.detail-grid{grid-template-columns:1fr!important}}@media print{html,body{height:auto!important;overflow:visible!important;background:#fff!important}.sidebar,.topbar,.sig-clear{display:none!important}.shell{display:block!important}.main{margin:0!important;width:auto!important;min-width:0!important}.content{padding:0!important;margin:0!important;overflow:visible!important;height:auto!important;max-height:none!important}}
