
:root{
  --nav:#101a29; --nav2:#172338; --ink:#101828; --muted:#667085; --line:#dfe7f1;
  --bg:#f5f8fc; --card:#fff; --blue:#2f80ed; --shadow:0 5px 15px rgba(30,55,85,.08);
  --green:#16a34a; --yellow:#f3b51b; --orange:#f28c28; --red:#e43d3d;
}
*{box-sizing:border-box} html,body{margin:0;height:100%;font-family:Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg)}
button,input,select,textarea{font:inherit} button{cursor:pointer}
.app{height:100vh;display:flex;overflow:hidden;background:linear-gradient(120deg,#fff 0%,#f7faff 48%,#edf4fb 100%)}
.sidebar{width:200px;flex:0 0 200px;background:linear-gradient(180deg,#101a29,#121d2c 64%,#0d1725);color:#dbe5f0;display:flex;flex-direction:column;box-shadow:3px 0 15px rgba(18,33,54,.12);z-index:3}
.logo-wrap{height:96px;display:flex;align-items:center;justify-content:center;padding:8px 10px 4px}.logo-wrap img{width:174px;height:auto;display:block}
.nav{padding:6px 10px}.nav-item{border:0;background:transparent;color:#dce6f1;width:100%;height:46px;border-radius:7px;display:flex;gap:12px;align-items:center;text-align:left;padding:0 13px;font-weight:600;font-size:14px;margin-bottom:3px}
.nav-item:hover{background:#1b2b43}.nav-item.active{background:#2a3c56;box-shadow:inset 3px 0 #4fa3ff}.nav-icon{font-size:18px;width:20px;text-align:center;color:#e8f2fd}.sidebar-spacer{flex:1}.motto{font-style:italic;font-weight:600;font-size:18px;line-height:1.25;padding:0 27px 29px;color:#e3edf8}
.main{min-width:0;flex:1;display:flex;flex-direction:column;height:100vh;overflow:hidden}
.top{position:relative;z-index:100;overflow:visible;flex:0 0 auto;padding:16px 20px 0 28px;background:rgba(255,255,255,.58);backdrop-filter:blur(4px);border-bottom:1px solid rgba(216,226,238,.75)}
.header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.heading h1{margin:0;font-size:30px;line-height:1.05;letter-spacing:-.5px}.heading p{margin:4px 0 0;color:#344767;font-size:14px}.header-actions{display:flex;align-items:center;gap:13px}.search{position:relative}.search input{width:290px;height:42px;border:1px solid #d7e1ec;border-radius:6px;background:#fff;padding:0 42px 0 42px;outline:none;box-shadow:0 1px 4px rgba(24,47,77,.04)}.search .mag{position:absolute;left:14px;top:10px;color:#536b8b;font-size:18px}.search-clear{position:absolute;right:7px;top:7px;width:28px;height:28px;border:0;border-radius:50%;background:#eef3f8;color:#52667d;display:grid;place-items:center;padding:0;font-size:19px;line-height:1;cursor:pointer}.search-clear:hover{background:#e2eaf3;color:#263b54}.search-clear:focus-visible{outline:3px solid rgba(47,128,237,.24);outline-offset:1px}.search-clear[hidden]{display:none}.location{height:42px;width:165px;border:1px solid #d7e1ec;border-radius:6px;background:#fff;color:#53657c;padding:0 13px}.profile-wrap{position:relative}.profile{display:flex;align-items:center;gap:10px;padding:0 8px 0 6px;height:42px;border:0;background:transparent;border-radius:8px;cursor:pointer;color:inherit}.profile:hover,.profile.menu-open{background:#eef4fb}.avatar-large{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#132033;color:white;font-weight:700;font-size:13px}.profile-name{font-weight:700;font-size:14px}.chev{color:#456080;font-size:15px;transition:transform .15s}.profile.menu-open .chev{transform:rotate(180deg)}.profile-menu{position:absolute;right:0;top:50px;width:260px;background:#fff;border:1px solid #dfe7f0;border-radius:9px;box-shadow:0 14px 34px rgba(18,39,66,.18);z-index:850;display:none;overflow:hidden}.profile-menu.show{display:block}.profile-menu-head{padding:14px 15px;border-bottom:1px solid #e7edf3;background:#f8fafc}.profile-menu-name{font-size:14px;font-weight:800;color:#172338}.profile-menu-email{font-size:11px;color:#667085;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-btn{width:100%;height:42px;border:0;background:#fff;text-align:left;padding:0 15px;color:#30445f;font-size:13px;font-weight:650;display:flex;align-items:center;gap:9px;cursor:pointer}.profile-menu-btn:hover{background:#f4f7fb}.profile-menu-btn.danger{color:#b42318;border-top:1px solid #eef2f6}
.kpis{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin:24px 0 18px}.kpi{height:80px;background:#fff;border:1px solid #edf2f7;border-radius:6px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center}.kpi .num{font-size:25px;font-weight:800;line-height:1}.kpi .lbl{margin-top:8px;color:#43536a;font-size:13px;text-align:center}.kpi.blue .num{color:#1976df}.kpi.green .num{color:#0c9f49}.kpi.red .num,.kpi.red .lbl{color:#e11d25}.kpi.amber .num{color:#e6a317}.kpi.orange .num{color:#ec7c14}.kpi.clickable:hover{outline:2px solid rgba(47,128,237,.18)}.kpi.age-breakdown .lbl{margin-top:5px}.kpi-age-sub{margin-top:5px;display:flex;gap:7px;align-items:center;justify-content:center;font-size:9.5px;font-weight:800;color:#b42318;white-space:nowrap}.kpi-age-sub span+span{padding-left:7px;border-left:1px solid #f0c8c8}

.kpi-metric-sub{margin-top:4px;font-size:9px;font-weight:800;color:#718197;white-space:nowrap}.mechanical-metric-kpi .lbl{margin-top:5px}
.mechanical-metric-modal{width:min(620px,94vw)}.mechanical-metric-subtitle{font-size:11px;color:#718197;margin-top:3px}.mechanical-metric-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}.mechanical-metric-summary>div{padding:13px 10px;border:1px solid #dfe7ef;border-radius:8px;background:#f8fafc;text-align:center}.mechanical-metric-summary b{display:block;font-size:23px;color:#1f5f9f}.mechanical-metric-summary span{display:block;margin-top:4px;font-size:10px;font-weight:800;color:#718197}.mechanical-metric-note{padding:9px 10px;border-radius:7px;background:#eef5fc;color:#405a77;font-size:10.5px;line-height:1.4;margin-bottom:12px}.mechanical-stage-breakdown{border:1px solid #dfe7ef;border-radius:8px;overflow:hidden;background:#fff}.mechanical-stage-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-top:1px solid #edf2f6}.mechanical-stage-row:first-child{border-top:0}.mechanical-stage-row span{font-size:11px;color:#40556f}.mechanical-stage-row b{font-size:12px;color:#253b55}.mechanical-metric-empty{padding:28px 18px;border:1px dashed #d6e0e9;border-radius:8px;background:#fafcfe;color:#718197;font-size:11px;line-height:1.5;text-align:center}
.toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 -1px 8px;gap:10px}.view-toggle{display:flex;gap:10px}.tool-btn{height:40px;background:#fff;border:1px solid #dfe7f0;border-radius:5px;padding:0 16px;font-size:13px;color:#273b58;font-weight:600}.tool-btn.active{border-color:#3e8eff;box-shadow:0 0 0 1px rgba(62,142,255,.1);color:#21589d}.right-tools{display:flex;align-items:center;gap:10px;color:#344054;font-size:13px}.right-tools select{height:40px;border:1px solid #dfe7f0;border-radius:5px;background:white;padding:0 36px 0 12px;color:#273b58}.add-btn{height:40px;border:0;border-radius:5px;padding:0 18px;background:#0f7de8;color:white;font-weight:700;box-shadow:0 3px 9px rgba(15,125,232,.23)}
.workspace{min-height:0;flex:1;display:flex;flex-direction:column;padding:0 16px 14px 16px;overflow:hidden}.board-shell{min-height:0;flex:1;display:flex;flex-direction:column;background:rgba(255,255,255,.34);border-radius:6px}.board-scroll{position:relative;min-height:0;flex:1;overflow-x:auto;overflow-y:auto;scrollbar-color:#aebccd #e7edf4;scrollbar-width:auto;scrollbar-gutter:stable;padding-bottom:10px}.board{height:auto;min-height:100%;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));align-items:stretch;gap:3px;min-width:0}
.col{display:flex;flex-direction:column;min-width:0;align-self:stretch;min-height:100%;background:linear-gradient(180deg,#f1f5fa,#edf2f7);border-radius:5px 5px 0 0;overflow:visible}.col-head{position:sticky;top:0;z-index:10;height:66px;padding:12px 10px;color:white;font-size:14px;font-weight:800;line-height:1.26;display:flex;align-items:flex-start;justify-content:space-between;gap:6px;border-radius:5px 5px 0 0;box-shadow:0 2px 5px rgba(24,42,64,.14)}.count{margin-top:1px;min-width:19px;height:19px;border-radius:10px;background:rgba(255,255,255,.25);display:grid;place-items:center;font-size:11px}.cards{padding:6px 4px 20px;flex:1;min-height:120px}.cards.drag-over{background:rgba(47,128,237,.08)}
.vehicle{position:relative;background:#fff;border:1px solid #d7e1ec;border-radius:6px;margin-bottom:8px;box-shadow:0 2px 6px rgba(40,61,86,.07);overflow:hidden;cursor:grab;transition:transform .08s,box-shadow .12s}.vehicle:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(40,61,86,.12)}.vehicle.dragging{opacity:.45;transform:scale(.98)}.vehicle-main{padding:10px 9px 10px;min-height:96px}.vehicle-title{font-size:12px;font-weight:800;line-height:1.28;color:#182230;margin-bottom:5px}.vehicle-sub{font-size:11px;color:#3f5068;line-height:1.55}.recon-day{font-weight:800;margin-top:3px}.stage-days{font-size:10.5px;font-weight:700;color:#52657e;margin-top:1px}.vehicle-card-note{display:block;min-width:0;max-width:100%;margin-top:6px;padding:4px 34px 4px 6px;border:1px solid rgba(210,220,231,.82);border-radius:4px;background:rgba(255,255,255,.9);color:#40556f;font-size:9.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.age-green .vehicle-main{background:linear-gradient(90deg,#e7f9ea,#f7fff8)}.age-yellow .vehicle-main{background:linear-gradient(90deg,#fff8d7,#fffdf5)}.age-orange .vehicle-main{background:linear-gradient(90deg,#fff0e2,#fff9f4)}.age-red .vehicle-main{background:linear-gradient(90deg,#ffe5e4,#fff7f6)}.age-green .recon-day{color:#087b2f}.age-yellow .recon-day{color:#986400}.age-orange .recon-day{color:#c45f0c}.age-red .recon-day{color:#d51e1e}.vehicle.age-red{border-color:#f4a9a5}.vehicle.age-orange{border-color:#fac086}.vehicle.age-yellow{border-color:#f2d477}.vehicle-footer{min-height:52px;padding:9px 8px 8px;border-top:1px solid rgba(210,220,231,.72);background:rgba(255,255,255,.72);font-size:10.5px;color:#40556f;line-height:1.4;position:relative}.vehicle-note{padding-right:22px}.mini-avatar{position:absolute;right:7px;top:7px;width:24px;height:24px;border-radius:50%;background:#64748b;color:white;display:grid;place-items:center;font-weight:800;font-size:9px}.vehicle-meta2{text-align:right;margin-top:2px;padding-right:1px;color:#586c87}.stage-icon{margin-right:5px}.selected-outline{outline:2px solid #287fe6;outline-offset:-1px}
.recon-needs-card{display:flex;align-items:center;gap:4px;margin-top:5px;padding-right:34px;min-height:21px;pointer-events:none}.recon-need-icon{width:21px;height:21px;border-radius:7px;display:inline-grid;place-items:center;border:1px solid #d9e4ef;background:#fff;box-shadow:0 1px 2px rgba(28,49,74,.06)}.recon-need-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.recon-need-icon.windshield{color:#2b73b9;background:#eef7ff;border-color:#cfe5f8}.recon-need-icon.paint{color:#b65736;background:#fff3ee;border-color:#f2d5ca}.recon-need-icon.interior{color:#76513a;background:#f8f3ef;border-color:#e8d9cf}.recon-need-icon.gas{color:#956100;background:#fff8df;border-color:#efdfa8}.recon-need-icon.pdr{color:#5d6470;background:#f2f4f7;border-color:#d8dde5}.recon-need-icon.odor{color:#6e4b8b;background:#f8f0ff;border-color:#e4cff3}
.recon-needs-drawer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recon-need-toggle{min-height:72px;border:1px solid #dce5ee;border-radius:9px;background:#f8fafc;color:#53657b;padding:8px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s,transform .08s}.recon-need-toggle:hover{background:#f3f7fb;transform:translateY(-1px)}.recon-need-toggle.active{background:#eef7ff;border-color:#92bee8;box-shadow:0 0 0 2px rgba(47,128,237,.08);color:#245f9d}.recon-need-toggle:disabled{opacity:.62;cursor:wait;transform:none}.recon-need-toggle .recon-need-icon{width:27px;height:27px}.recon-need-toggle .recon-need-icon svg{width:18px;height:18px}.recon-need-label{font-size:10.5px;font-weight:800;line-height:1.15;text-align:center}.recon-need-state{font-size:9px;font-weight:700;color:#8996a6}.recon-need-toggle.active .recon-need-state{color:#2872b5}.recon-needs-help{font-size:10.5px;color:#7b899b;line-height:1.4;margin:0 0 8px}.recon-needs-status{min-height:16px;font-size:10.5px;color:#63758b;margin-top:7px}.recon-needs-status.bad{color:#b42318}.recon-needs-status.good{color:#067647}
.desktop-checkin-cue{display:inline-flex;align-items:center;margin-top:6px;padding:3px 7px;border-radius:999px;background:#eaf3ff;color:#2468ad;border:1px solid #bdd6f0;font-size:9px;font-weight:900;letter-spacing:.3px;text-transform:uppercase}
.checkin-note-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-top:11px}.checkin-note-field label{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.35px;color:#718197;margin-bottom:5px}.checkin-note-field textarea{width:100%;min-height:62px;resize:vertical;border:1px solid #d8e1eb;border-radius:8px;background:#fff;padding:9px 10px;color:#263b54;line-height:1.35}.checkin-note-field textarea:focus{outline:none;border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.10)}.checkin-save-row{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:8px}.checkin-save-btn{height:34px;border:1px solid #b7d1ec;border-radius:7px;background:#eef7ff;color:#2468ad;padding:0 11px;font-size:11px;font-weight:800}.checkin-read-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.checkin-read-flag{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #dde5ee;border-radius:8px;background:#f8fafc;color:#41566e;font-size:10.5px;font-weight:800}.checkin-read-flag .recon-need-icon{width:22px;height:22px}.checkin-read-note{margin-top:8px;border:1px solid #e1e7ee;border-radius:8px;padding:9px 10px;background:#f8fafc;font-size:11.5px;line-height:1.4;color:#40556f}.checkin-read-note b{color:#23384f}.checkin-none{margin-top:6px;color:#7b899b;font-size:11.5px;font-style:italic}

@keyframes stageOverduePulse{0%,100%{box-shadow:0 2px 6px rgba(40,61,86,.07),0 0 0 0 rgba(217,45,32,0)}50%{box-shadow:0 5px 14px rgba(40,61,86,.14),0 0 0 4px rgba(217,45,32,.22)}}
.vehicle.stage-overdue{border:2px solid #d92d20;animation:stageOverduePulse 1.6s ease-in-out infinite}
.stage-overdue-badge{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:3px 6px;border-radius:999px;background:#fff0ee;color:#b42318;border:1px solid #f1b3ad;font-size:9.5px;font-weight:800;letter-spacing:.1px}
@keyframes frameDeadlinePulse{0%,100%{box-shadow:0 0 0 2px #b42318,0 5px 14px rgba(120,0,0,.18)}50%{box-shadow:0 0 0 6px rgba(180,35,24,.34),0 8px 22px rgba(120,0,0,.28)}}
.vehicle.frame-inspection-emergency{border:3px solid #b42318;animation:frameDeadlinePulse 1.05s ease-in-out infinite;overflow:hidden}
.frame-inspection-overlay{position:absolute;z-index:8;left:-24%;top:35%;width:148%;transform:rotate(-12deg);background:rgba(180,35,24,.96);color:#fff;border-top:3px solid #fff;border-bottom:3px solid #fff;padding:7px 4px 6px;text-align:center;pointer-events:none;box-shadow:0 4px 12px rgba(69,10,7,.28);text-transform:uppercase;letter-spacing:.55px}
.frame-inspection-overlay strong{display:block;font-size:14px;line-height:1;font-weight:1000}.frame-inspection-overlay span{display:block;margin-top:3px;font-size:8.5px;line-height:1.1;font-weight:900}.mobile-arrival-card.frame-inspection-emergency{border:3px solid #b42318;animation:frameDeadlinePulse 1.05s ease-in-out infinite}.mobile-frame-alert{margin:-2px 0 10px;padding:8px 9px;border-radius:10px;background:#b42318;color:#fff;font-size:12px;font-weight:950;letter-spacing:.3px;text-align:center;text-transform:uppercase}
@keyframes salesAgingPulse{0%,100%{box-shadow:0 2px 6px rgba(40,61,86,.07),0 0 0 1px rgba(217,45,32,.22)}50%{box-shadow:0 7px 18px rgba(120,0,0,.18),0 0 0 5px rgba(217,45,32,.34)}}
.vehicle.sales-aging-overdue{border:2px solid #d92d20;animation:salesAgingPulse 1.7s ease-in-out infinite}.vehicle.sales-aging-overdue .vehicle-main{background:linear-gradient(90deg,#fff0ee,#fffafa)}.sales-aging-banner{margin:-2px 32px 7px 0;padding:6px 7px;border:1px solid #efb4af;border-radius:6px;background:#fff0ee;color:#a72118;display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:9.5px;font-weight:950;letter-spacing:.12px}.sales-aging-review-btn{height:25px;flex:0 0 auto;border:1px solid #dc8f88;border-radius:5px;background:#fff;color:#9d261d;padding:0 7px;font-size:9px;font-weight:900;cursor:pointer}.sales-aging-review-btn:hover{background:#fff7f6}.sales-aging-review-btn:disabled{opacity:.6;cursor:wait}.sales-aging-reviewed{margin:-2px 32px 7px 0;padding:4px 6px;border:1px solid #d5e1db;border-radius:5px;background:#f5faf7;color:#4c6b5b;font-size:9px;font-weight:800}
@media (prefers-reduced-motion:reduce){.vehicle.stage-overdue,.vehicle.frame-inspection-emergency,.vehicle.sales-aging-overdue,.mobile-arrival-card.frame-inspection-emergency{animation:none;box-shadow:0 0 0 3px rgba(217,45,32,.2)}}

.legend{height:64px;flex:0 0 64px;margin-top:10px;background:#fff;border:1px solid #e1e9f2;border-radius:6px;box-shadow:0 3px 10px rgba(30,55,85,.04);display:flex;align-items:center;justify-content:space-between;padding:0 25px;gap:18px}.legend-left{display:flex;align-items:center;gap:25px;font-size:12px;color:#43536a}.legend-title{font-weight:800;color:#192433;margin-right:-10px}.legend-item{display:flex;align-items:center;gap:10px;white-space:nowrap}.dot{width:20px;height:20px;border-radius:50%;box-shadow:0 2px 5px rgba(30,50,70,.1)}.dot.g{background:var(--green)}.dot.y{background:#ffc42b}.dot.o{background:#ff8628}.dot.r{background:#ef3838}.legend-right{font-size:11px;color:#6b7f99;white-space:nowrap}.refresh{font-size:19px;margin-left:10px;color:#4f6f94}
.list-wrap{display:none;flex:1;min-height:0;overflow:auto;background:white;border-radius:6px;border:1px solid #e2e9f1}.list-table{width:100%;border-collapse:collapse;font-size:13px}.list-table th{position:sticky;top:0;background:#f2f6fa;text-align:left;padding:12px;border-bottom:1px solid #dbe4ed;color:#506176}.list-table td{padding:11px 12px;border-bottom:1px solid #edf1f5}.pill{display:inline-block;padding:4px 8px;border-radius:999px;color:#fff;font-size:11px;font-weight:700}.list-age{font-weight:800}
.drawer{position:fixed;right:0;top:0;height:100vh;width:420px;background:#fff;box-shadow:-10px 0 28px rgba(15,28,46,.18);transform:translateX(104%);transition:transform .22s ease;z-index:900;display:flex;flex-direction:column}.drawer.open{transform:translateX(0)}.drawer-top{padding:19px 22px;border-bottom:1px solid #e7edf3;display:flex;justify-content:space-between;align-items:flex-start}.drawer-title{font-size:22px;font-weight:800}.drawer-sub{font-size:12px;color:#65758b;margin-top:3px}.close{border:0;background:#f4f6f9;width:31px;height:31px;border-radius:50%;font-size:18px}.drawer-body{padding:18px 22px;overflow:auto;flex:1}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.info{border:1px solid #e4eaf0;border-radius:7px;padding:11px}.info .k{font-size:10px;text-transform:uppercase;color:#7a899d;letter-spacing:.4px}.info .v{font-size:13px;font-weight:700;margin-top:5px;color:#21324b}.section-title{margin:20px 0 8px;font-weight:800;font-size:14px}.note-box{border:1px solid #dfe6ee;background:#f8fafc;border-radius:7px;padding:12px;font-size:13px;line-height:1.45}.history{border-left:2px solid #d7e2ee;margin-left:7px;padding-left:14px}.history-item{position:relative;padding:2px 0 13px;font-size:12px;color:#40516a}.history-item:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;left:-19px;top:6px;background:#3b82f6}.history-note{margin-top:6px;padding:6px 8px;border-radius:5px;background:#f4f7fa;color:#53657b;line-height:1.4}.drawer-actions{padding:14px 20px;border-top:1px solid #e6edf4;display:flex;gap:8px}.action{height:39px;border:1px solid #dce5ee;background:#fff;border-radius:5px;padding:0 11px;font-weight:700;color:#30445f}.action.primary{background:#0f7de8;color:#fff;border-color:#0f7de8;margin-left:auto}
.modal-back{position:fixed;inset:0;background:rgba(9,20,34,.38);display:none;align-items:center;justify-content:center;z-index:1000}.modal-back.show{display:flex}.modal{width:610px;max-height:90vh;overflow:auto;background:white;border-radius:10px;box-shadow:0 24px 70px rgba(14,24,38,.28)}.modal-head{padding:18px 20px;border-bottom:1px solid #e4eaf0;display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:19px;margin:0}.modal-body{padding:19px 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field label{display:block;font-size:11px;font-weight:700;color:#53657b;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid #d8e1eb;border-radius:6px;padding:9px 10px;background:#fff;outline:none}.field textarea{min-height:72px;resize:vertical}.span2{grid-column:span 2}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid #e5ebf1}.ghost{height:39px;padding:0 14px;border-radius:5px;background:#fff;border:1px solid #d7e0ea;font-weight:700;color:#40526a}.save{height:39px;padding:0 16px;border:0;border-radius:5px;background:#0f7de8;color:white;font-weight:800}.danger{margin-right:auto;color:#b42318;border-color:#f0c3c0}.reports{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-card{border:1px solid #dfe7ef;border-radius:7px;padding:14px}.report-card b{font-size:22px;display:block;margin-top:3px}.settings-row{display:grid;grid-template-columns:1fr 95px;gap:10px;align-items:center;margin:11px 0}.settings-row input{height:38px;border:1px solid #d9e2ec;border-radius:6px;padding:0 9px}
@media(max-width:1100px){.sidebar{width:170px;flex-basis:170px}.header-actions .profile-name{display:none}.kpis{grid-template-columns:repeat(4,1fr)}.search input{width:220px}.legend-left{gap:12px}.legend-item span:last-child{display:none}}

.vehicle-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vehicle-meta2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:14px}


/* Production/direct-entry additions */
.sync-chip{height:30px;border-radius:999px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid #d9e4ef;background:#fff;color:#43566f;font-size:11px;font-weight:700;white-space:nowrap}.sync-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.sync-chip.team .sync-dot{background:#16a34a}.sync-chip.warn .sync-dot{background:#f59e0b}
.vehicle.complete{border-color:#cbd5e1}.vehicle.complete .vehicle-main{background:linear-gradient(90deg,#e5e7eb,#f5f6f7)!important}.vehicle.complete .recon-day{color:#667085!important}.vehicle.complete .vehicle-footer{background:#f2f4f7}.vehicle.complete .vehicle-title{color:#475467}
.quick-intro{margin:-2px 0 15px;padding:11px 12px;border:1px solid #dce8f5;background:#f6faff;border-radius:7px;color:#3d526d;font-size:12px;line-height:1.45}.required:after{content:' *';color:#d92d20}.field small{display:block;color:#8492a6;font-size:10px;margin-top:4px}.vin-entry{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.vin-entry .field{min-width:0}.vin-entry .mini-btn{height:38px;margin-bottom:0}.vin-decode-status{grid-column:span 2;min-height:16px;margin-top:-8px;font-size:11px;color:#667085}.vin-decode-status.ok{color:#067647}.vin-decode-status.error{color:#b42318}.advanced-toggle{grid-column:span 2;border:0;background:transparent;color:#2468ad;font-weight:700;font-size:12px;text-align:left;padding:2px 0}.advanced-fields{grid-column:span 2;display:none;grid-template-columns:1fr 1fr;gap:14px}.advanced-fields.show{display:grid}.form-status{grid-column:span 2;min-height:18px;font-size:12px;color:#667085}.form-status.error{color:#b42318}.form-status.ok{color:#067647}
.team-box{border:1px solid #dfe7ef;background:#f9fbfd;border-radius:8px;padding:13px;margin-top:16px}.team-box h3{margin:0 0 5px;font-size:14px}.team-box p{margin:0 0 11px;color:#667085;font-size:12px;line-height:1.4}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.team-grid .span2{grid-column:span 2}.team-grid input{width:100%;height:38px;border:1px solid #d9e2ec;border-radius:6px;padding:0 9px}.team-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.team-status{font-size:11px;color:#667085;margin-top:8px;line-height:1.4}.team-status.good{color:#067647}.team-status.bad{color:#b42318}.mini-btn{height:34px;padding:0 11px;border-radius:5px;border:1px solid #d7e0ea;background:#fff;font-weight:700;color:#40526a}.mini-btn.primary{background:#0f7de8;color:#fff;border-color:#0f7de8}.mini-btn.green{background:#0f9f5a;color:#fff;border-color:#0f9f5a}.divider{height:1px;background:#e5ebf1;margin:16px 0}.backup-actions{display:flex;gap:8px;flex-wrap:wrap}.backup-note{font-size:11px;color:#7a899d;margin-top:7px}
.settings-section{border:1px solid #dfe7ef;border-radius:9px;padding:14px 15px;margin-bottom:13px;background:#fff}.settings-section h3{margin:0 0 4px;font-size:14px;color:#1e2d40}.settings-section .section-help{margin:0 0 11px;color:#667085;font-size:12px;line-height:1.45}.stage-alert-row{display:grid;grid-template-columns:minmax(0,1fr) 96px 78px;gap:10px;align-items:center;padding:8px 0;border-top:1px solid #eef2f6}.stage-alert-row:first-child{border-top:0}.stage-alert-name{font-size:13px;font-weight:700;color:#33465e}.stage-alert-toggle{display:flex;align-items:center;gap:6px;font-size:12px;color:#53657b}.stage-alert-toggle input{width:16px;height:16px}.stage-alert-days{height:35px;width:100%;border:1px solid #d9e2ec;border-radius:6px;padding:0 8px}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.switch-copy b{display:block;font-size:13px}.switch-copy span{display:block;font-size:11px;color:#667085;margin-top:3px;line-height:1.35}.switch-row input[type=checkbox]{width:18px;height:18px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-grid .span2{grid-column:span 2}.account-grid input{width:100%;height:38px;border:1px solid #d9e2ec;border-radius:6px;padding:0 9px}.account-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0}.account-email{font-weight:700;font-size:13px;color:#33465e}.account-muted{font-size:11px;color:#667085;margin-top:2px}.settings-status{min-height:18px;font-size:11px;color:#667085;margin-top:8px}.settings-status.good{color:#067647}.settings-status.bad{color:#b42318}.admin-users-list{display:flex;flex-direction:column;border:1px solid #e4eaf1;border-radius:8px;overflow:hidden;background:#fff}.admin-user-row{display:grid;grid-template-columns:minmax(0,1fr) 128px 116px;gap:10px;align-items:center;padding:10px 11px;border-top:1px solid #eef2f6}.admin-user-row:first-child{border-top:0}.admin-user-name{font-size:13px;font-weight:800;color:#293b52}.admin-user-email{font-size:10.5px;color:#7a899c;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-you{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:999px;background:#eaf3ff;color:#2468ad;font-size:9px;font-weight:800;vertical-align:1px}.admin-role-select{height:34px;border:1px solid #d9e2ec;border-radius:6px;background:#fff;padding:0 7px;color:#33465e;font-size:12px}.admin-access{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px;font-weight:800}.admin-access input{width:17px;height:17px}.admin-access.active{color:#067647}.admin-access.disabled{color:#b42318}.admin-user-row.busy{opacity:.58;pointer-events:none}.admin-add-user{border:1px solid #dfe7ef;border-radius:8px;background:#f8fafc;padding:11px;margin-bottom:11px}.admin-add-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.admin-add-user-grid .span2{grid-column:span 2}.admin-add-user input,.admin-add-user select{width:100%;height:36px;border:1px solid #d9e2ec;border-radius:6px;background:#fff;padding:0 8px}.admin-add-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.admin-add-active{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#40556f}.admin-add-active input{width:17px;height:17px}.operational-alerts-section>.section-help{margin-bottom:13px}.operational-rule{border:1px solid #dfe7ef;border-radius:9px;background:#fbfcfe;padding:12px 13px;margin-top:10px}.operational-rule:first-of-type{margin-top:0}.operational-rule.emergency{border-left:4px solid #b42318}.operational-rule.sales{border-left:4px solid #d89518}.operational-rule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.operational-rule-title{display:flex;align-items:flex-start;gap:9px;min-width:0}.operational-rule-icon{font-size:16px;line-height:20px;flex:0 0 auto}.operational-rule-title b{display:block;color:#24364d;font-size:13px}.operational-rule-title span:not(.operational-rule-icon){display:block;margin-top:3px;color:#6b7d91;font-size:10.5px;line-height:1.35}.operational-rule-body{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:11px;padding-top:10px;border-top:1px solid #edf1f5}.sales-rule-body{align-items:center}.rule-inline{display:inline-flex;align-items:center;gap:6px;color:#40556f;font-size:11.5px;font-weight:750}.rule-inline input[type=number]{width:58px;height:32px;border:1px solid #cad6e2;border-radius:6px;background:#fff;padding:0 7px;font-weight:800;color:#24364d}.rule-notify{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#66788d;font-size:10.5px}.rule-notify>span{font-weight:850;color:#53657b;text-transform:uppercase;letter-spacing:.03em}.rule-notify label{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:750;color:#40556f}.rule-notify input{width:15px;height:15px}.rule-toggle{display:flex;align-items:center;gap:7px;cursor:pointer;flex:0 0 auto;user-select:none}.rule-toggle input{position:absolute;opacity:0;pointer-events:none}.rule-toggle-track{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(64,82,105,.12);transition:background .16s}.rule-toggle-track:before{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(28,49,74,.22);transition:transform .16s}.rule-toggle input:checked + .rule-toggle-track{background:#0f7de8}.operational-rule.emergency .rule-toggle input:checked + .rule-toggle-track{background:#b42318}.rule-toggle input:checked + .rule-toggle-track:before{transform:translateX(20px)}.rule-toggle input:focus-visible + .rule-toggle-track{outline:3px solid rgba(47,128,237,.24);outline-offset:2px}.rule-toggle-state{min-width:24px;color:#7a899c;font-size:9px;font-weight:900;letter-spacing:.04em}.rule-toggle-state:after{content:'OFF'}.rule-toggle input:checked ~ .rule-toggle-state{color:#0f6fcf}.operational-rule.emergency .rule-toggle input:checked ~ .rule-toggle-state{color:#b42318}.rule-toggle input:checked ~ .rule-toggle-state:after{content:'ON'}.operational-rule-note{margin-top:9px;color:#6b7d91;font-size:10.5px;line-height:1.4}.operational-rule-note b{color:#40556f}.compact-status{min-height:0;margin-top:6px}.compact-status:empty{display:none}.settings-modal{width:620px}.settings-modal .modal-body{background:#f8fafc}@media(max-width:620px){.admin-user-row{grid-template-columns:1fr 104px}.admin-access{grid-column:1 / -1;justify-content:flex-start}.admin-add-user-grid{grid-template-columns:1fr}.admin-add-user-grid .span2{grid-column:auto}.operational-rule-head{gap:9px}.operational-rule-body{align-items:flex-start;flex-direction:column;gap:9px}.rule-inline{width:100%;justify-content:space-between}.rule-notify{align-items:flex-start}.rule-toggle-state{display:none}}
.drawer-stage-row{display:flex;gap:8px;margin-top:8px}.drawer-stage-row select{flex:1;height:38px;border:1px solid #d7e1ec;border-radius:6px;background:white;padding:0 8px}.source-badge{display:inline-block;font-size:10px;font-weight:800;padding:4px 7px;border-radius:999px;background:#edf4ff;color:#245ea8;margin-bottom:7px}.source-badge.direct{background:#ecfdf3;color:#027a48}

.mobile-walkaround{display:none}
.mobile-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,24px);z-index:6000;min-width:min(360px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:12px 14px;border-radius:12px;background:#132033;color:#fff;font-size:13px;font-weight:750;text-align:center;box-shadow:0 12px 30px rgba(15,28,46,.25);opacity:0;pointer-events:none;transition:.2s ease}.mobile-toast.show{opacity:1;transform:translate(-50%,0)}.mobile-toast.good{background:#087a43}.mobile-toast.bad{background:#b42318}
@media(max-width:1100px){
  html,body{overscroll-behavior:none}
  body.mobile-walkaround-mode{background:#f3f6fa;overflow:hidden}
  body.mobile-walkaround-mode .app{display:block;height:100dvh;overflow:hidden;background:#f3f6fa}
  body.mobile-walkaround-mode .sidebar,body.mobile-walkaround-mode .top,body.mobile-walkaround-mode .workspace{display:none!important}
  body.mobile-walkaround-mode .main{display:block;width:100%;height:100dvh;overflow:hidden;background:#f3f6fa}
  body.mobile-walkaround-mode .mobile-walkaround{display:flex;flex-direction:column;height:100dvh;overflow:hidden;background:#f3f6fa}
  .mobile-app-bar{flex:0 0 auto;min-height:70px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:#101a29;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 2px 12px rgba(10,24,42,.16);z-index:10}
  .mobile-app-brand{display:flex;align-items:center;gap:10px;min-width:0}.mobile-app-mark{width:38px;height:38px;border-radius:11px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.15)}.mobile-app-mark img{width:34px;height:auto;display:block}.mobile-app-brand-copy{min-width:0}.mobile-app-name{font-size:15px;font-weight:850;letter-spacing:-.1px}.mobile-app-caption{font-size:10px;color:#aab9cb;margin-top:2px;font-weight:700;letter-spacing:.25px;text-transform:uppercase}
  .mobile-app-user{width:40px;height:40px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:#243750;color:#fff;font-size:12px;font-weight:850;display:grid;place-items:center;padding:0}
  .mobile-app-main{min-height:0;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 14px calc(28px + env(safe-area-inset-bottom))}
  .mobile-app-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.mobile-app-kicker{font-size:11px;font-weight:850;color:#2f80ed;text-transform:uppercase;letter-spacing:.55px}.mobile-walk-title{font-size:29px;line-height:1.04;font-weight:900;letter-spacing:-.7px;color:#142238;margin-top:3px}.mobile-walk-count{min-width:44px;height:34px;padding:0 11px;border-radius:999px;display:grid;place-items:center;background:#e5f0ff;color:#2468ad;font-size:15px;font-weight:900}
  .mobile-walk-sub{margin:8px 0 14px;font-size:13px;line-height:1.45;color:#66768a}.mobile-sync-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.mobile-online{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#617287}.mobile-online:before{content:'';width:8px;height:8px;border-radius:50%;background:#16a34a}.mobile-online.offline{color:#b42318}.mobile-online.offline:before{background:#d92d20}.mobile-refresh{border:0;background:transparent;color:#2468ad;font-size:12px;font-weight:850;padding:6px 2px}
  .mobile-arrival-list{min-height:80px}.mobile-arrival-card{position:relative;background:#fff;border:1px solid #dce5ef;border-radius:16px;margin-bottom:11px;padding:15px 15px 13px;box-shadow:0 5px 16px rgba(25,46,72,.07);cursor:pointer;-webkit-tap-highlight-color:transparent}.mobile-arrival-card:active{transform:scale(.992);background:#fbfdff}
  .mobile-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-card-title{font-size:17px;font-weight:900;line-height:1.2;color:#16263a}.mobile-card-stock{font-size:12px;font-weight:750;color:#68798f;margin-top:4px}.mobile-card-chevron{width:34px;height:34px;border-radius:50%;background:#eef5fd;color:#276aa8;display:grid;place-items:center;font-size:20px;font-weight:500;flex:0 0 auto}.mobile-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #eef2f6}.mobile-arrival-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#ecfdf3;color:#087a43;font-size:10px;font-weight:850}.mobile-arrival-chip.transit{background:#f2f4f7;color:#667085}.mobile-card-hint{font-size:11px;font-weight:750;color:#708198}.mobile-card-icons{display:flex;gap:5px;align-items:center}.mobile-card-icons .recon-need-icon{width:24px;height:24px}.mobile-card-icons .recon-need-icon svg{width:15px;height:15px}
  .mobile-empty{padding:34px 20px;text-align:center;background:#fff;border:1px solid #dce5ef;border-radius:16px;color:#6b7b8e;font-size:13px;line-height:1.5;box-shadow:0 5px 16px rgba(25,46,72,.05)}.mobile-empty-icon{width:54px;height:54px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:#087a43;font-size:25px;font-weight:900}.mobile-empty b{display:block;color:#263b54;font-size:17px;margin-bottom:5px}
  .mobile-access-denied{padding:30px 20px;text-align:center;background:#fff;border:1px solid #dce5ef;border-radius:16px;color:#66768a;font-size:13px;line-height:1.5}.mobile-access-denied b{display:block;color:#263b54;font-size:17px;margin-bottom:6px}
  .drawer.mobile-walk-drawer{width:100vw;max-width:none;height:100dvh;transform:translateX(104%);border-radius:0;background:#f5f7fa}.drawer.mobile-walk-drawer.open{transform:translateX(0)}
  .mobile-walk-drawer .drawer-top{min-height:70px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#101a29;color:#fff;border:0;align-items:center}.mobile-walk-drawer .drawer-title{font-size:17px;color:#fff;line-height:1.2}.mobile-walk-drawer .drawer-sub{font-size:11px;color:#aebcd0;margin-top:3px}.mobile-walk-drawer .close{width:40px;height:40px;background:#263a54;color:#fff;font-size:0;order:-1;margin-right:6px}.mobile-walk-drawer .close:after{content:'‹';font-size:30px;line-height:1;position:relative;top:-1px}.mobile-walk-drawer .drawer-body{padding:14px 14px 126px;overflow-y:auto}.mobile-walk-drawer .section-title{margin:17px 0 8px;font-size:15px}.mobile-walk-drawer .recon-needs-help{font-size:12px;margin-bottom:11px;color:#6b7b8e}.mobile-walk-drawer .recon-needs-drawer{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mobile-walk-drawer .recon-need-toggle{min-height:94px;border-radius:14px;padding:10px 7px;background:#fff}.mobile-walk-drawer .recon-need-toggle.active{background:#eaf5ff}.mobile-walk-drawer .recon-need-toggle .recon-need-icon{width:36px;height:36px;border-radius:11px}.mobile-walk-drawer .recon-need-toggle .recon-need-icon svg{width:22px;height:22px}.mobile-walk-drawer .recon-need-label{font-size:12px}.mobile-walk-drawer .recon-need-state{font-size:10px}
  .mobile-walk-summary{display:flex;gap:8px;margin:0 0 7px}.mobile-walk-summary span{flex:1;padding:10px 11px;border:1px solid #e1e7ee;border-radius:12px;background:#fff}.mobile-walk-summary b{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.45px;color:#8592a2}.mobile-walk-summary strong{display:block;margin-top:4px;font-size:12px;color:#24374f}.mobile-checkin-tip{padding:10px 11px;border-radius:11px;background:#edf6ff;color:#41617f;font-size:11px;line-height:1.4;margin:10px 0 2px}
  .mobile-walk-drawer .checkin-note-field textarea{min-height:74px;border-radius:12px;font-size:14px;background:#fff}.mobile-walk-drawer .checkin-save-row{display:none}
  .mobile-walk-actions{position:absolute;left:0;right:0;bottom:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e2e8f0;box-shadow:0 -7px 24px rgba(25,45,70,.10);z-index:4}.mobile-complete-btn{width:100%;min-height:55px;border:0;border-radius:13px;background:#16844f;color:#fff;font-size:15px;font-weight:900;box-shadow:0 5px 14px rgba(22,132,79,.25)}.mobile-complete-btn:disabled{opacity:.58}.mobile-walk-action-help{text-align:center;font-size:10px;color:#8390a0;margin-top:6px}
}
@media(max-width:900px){.sidebar{width:64px;flex-basis:64px}.logo-wrap{height:70px}.logo-wrap img{width:54px}.nav-item{justify-content:center;padding:0}.nav-item span:not(.nav-icon){display:none}.motto{display:none}.top{padding-left:14px}.header-actions .location,.profile-name{display:none}.search input{width:210px}.kpis{grid-template-columns:repeat(4,1fr);gap:6px}.kpi{height:66px}.kpi .num{font-size:21px}.kpi .lbl{font-size:11px}.board{min-width:1290px}.modal{width:min(94vw,610px)}.drawer{width:min(92vw,420px)}}


.archive-note{font-size:11px;color:#667085;margin-top:8px}.action.archive{border-color:#cbd5e1;color:#475467;background:#f8fafc}

.auth-gate{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#0d1725 0%,#13233a 52%,#eef4fb 52%,#f8fbff 100%)}
.auth-gate.hidden{display:none}.app.auth-locked{visibility:hidden;pointer-events:none}.auth-card{width:min(430px,94vw);background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 24px 70px rgba(8,22,40,.30);padding:30px}.auth-brand{font-size:25px;font-weight:800;letter-spacing:-.45px;color:#102033}.auth-brand span{color:#1778d4}.auth-title{font-size:20px;font-weight:800;margin:22px 0 5px;color:#17283d}.auth-sub{font-size:13px;line-height:1.5;color:#667085;margin-bottom:19px}.auth-field{margin-top:12px}.auth-field label{display:block;font-size:12px;font-weight:700;color:#344054;margin-bottom:6px}.auth-field input{width:100%;height:44px;border:1px solid #cfd9e5;border-radius:7px;padding:0 12px;outline:none;background:#fff}.auth-field input:focus{border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.12)}.auth-button{width:100%;height:44px;border:0;border-radius:7px;background:#0f7de8;color:#fff;font-weight:800;margin-top:18px;box-shadow:0 4px 12px rgba(15,125,232,.22)}.auth-button:disabled{opacity:.65;cursor:wait}.auth-status{min-height:20px;font-size:12px;color:#667085;margin-top:10px;line-height:1.4}.auth-status.bad{color:#b42318}.auth-status.good{color:#067647}.auth-foot{font-size:11px;color:#8995a5;margin-top:15px;text-align:center}


.tenant-wordmark{font-weight:900;font-size:18px;line-height:1.05;text-align:center;color:#f4f8fc;letter-spacing:.2px}

.website-check-settings-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);gap:12px;margin-top:13px}
.website-check-settings-grid .field{margin:0}
.website-check-settings-grid input,.website-check-settings-grid select{width:100%}
@media(max-width:620px){.website-check-settings-grid{grid-template-columns:1fr}}

.next-action-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.inline-note-edit{border:0;background:transparent;color:#0f6fc7;font-size:14px;font-weight:800;padding:5px 2px;cursor:pointer}
.inline-note-edit:hover,.inline-note-edit:focus-visible{text-decoration:underline}
.drawer-note-box{min-height:42px;white-space:pre-wrap}
.drawer-note-editor[hidden]{display:none}
.drawer-note-editor{margin-top:8px}
.drawer-note-editor input{width:100%;height:42px;border:1px solid #b8c8d8;border-radius:6px;padding:0 11px;font:inherit;font-size:14px;color:#263b54;background:#fff}
.drawer-note-editor input:focus{outline:3px solid rgba(15,125,232,.17);border-color:#0f7de8}
.drawer-note-actions{display:flex;gap:8px;margin-top:8px}
.drawer-note-status{min-height:18px;margin-top:6px;font-size:12px;color:#65758b}
.drawer-note-status.error{color:#b42318;font-weight:700}

.drawer-frame-alert{border:3px solid #b42318;background:#fff0ee;color:#8b1710;font-weight:900;margin-bottom:12px}
.drawer-persistent{padding-bottom:15px}
.drawer-tabs{display:grid;grid-template-columns:.9fr 1.08fr 1.28fr .78fr;gap:0;margin:0 -22px;border-top:1px solid #e5ebf2;border-bottom:1px solid #dce5ee;background:#f8fafc}
.drawer-tab{position:relative;min-width:0;height:46px;border:0;border-bottom:3px solid transparent;background:transparent;color:#68798d;font-size:11px;font-weight:850;padding:0 5px;white-space:nowrap}
.drawer-tab:hover{background:#f0f5fa;color:#334b66}
.drawer-tab[aria-selected="true"]{background:#fff;color:#176fbe;border-bottom-color:#1680df}
.drawer-tab:focus-visible{outline:2px solid #1680df;outline-offset:-3px}
.drawer-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:999px;background:#d92d20;color:#fff;font-size:9px;font-weight:900}
.drawer-tab-panels{padding-top:15px}
.drawer-tab-panel[hidden]{display:none}
.drawer-tab-panel .source-badge{margin-bottom:10px}
.drawer-conversation-card{border:1px solid #dce5ee;border-radius:10px;background:#f8fafc;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:11px}
.drawer-conversation-icon{width:38px;height:38px;border-radius:10px;background:#e8f3ff;display:grid;place-items:center;font-size:20px}
.drawer-conversation-copy b{display:block;color:#263b54;font-size:14px}
.drawer-conversation-copy p{margin:5px 0 13px;color:#66788d;font-size:12px;line-height:1.45}
.drawer-conversation-card .action{grid-column:1/-1;width:100%}
.drawer-history{margin-top:1px}
.drawer-info-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.drawer-info-head .source-badge{margin:0}
.drawer-info-actions{display:flex;align-items:center;gap:10px}
.drawer-info-menu{position:relative}
.drawer-info-menu summary{list-style:none;border:1px solid #ced9e5;border-radius:6px;background:#fff;color:#43566d;font-size:12px;font-weight:800;padding:7px 10px;cursor:pointer}
.drawer-info-menu summary::-webkit-details-marker{display:none}
.drawer-info-menu[open] summary{border-color:#91bce3;box-shadow:0 0 0 2px rgba(22,128,223,.10)}
.drawer-delete-action{position:absolute;right:0;top:calc(100% + 6px);z-index:4;width:210px;border:1px solid #f1b8b2;border-radius:7px;background:#fff;color:#b42318;padding:10px 12px;text-align:left;font-size:12px;font-weight:800;box-shadow:0 8px 24px rgba(39,53,70,.16)}
.drawer-delete-action:hover,.drawer-delete-action:focus-visible{background:#fff1f0}
.drawer-info-vin{overflow-wrap:anywhere}
.drawer-info-editor[hidden]{display:none}
.drawer-info-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}
.drawer-info-form label{display:block;min-width:0}
.drawer-info-form label>span{display:block;margin-bottom:5px;color:#53657a;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.35px}
.drawer-info-form input,.drawer-info-form select{width:100%;height:40px;border:1px solid #cbd7e3;border-radius:6px;background:#fff;color:#263b54;padding:0 9px;font:inherit;font-size:13px}
.drawer-info-form input:focus,.drawer-info-form select:focus{outline:3px solid rgba(15,125,232,.14);border-color:#0f7de8}
.drawer-info-wide{grid-column:1/-1}
.drawer-vin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.drawer-vin-row .action{height:40px;white-space:nowrap}
.drawer-info-form .vin-decode-status{display:block;min-height:17px;margin-top:4px}
.drawer-info-save-row{display:flex;gap:8px;margin-top:15px}
.drawer-info-status{min-height:20px;margin-top:7px;color:#65758b;font-size:12px;line-height:1.4}
.drawer-info-status.error{color:#b42318;font-weight:700}

@media(max-width:440px){.drawer-tabs{margin-left:-14px;margin-right:-14px}.drawer-tab{font-size:10px;padding:0 3px}.drawer-info-form{grid-template-columns:1fr}.drawer-info-wide{grid-column:auto}.drawer-vin-row{grid-template-columns:1fr}.drawer-info-head{align-items:flex-start}.drawer-info-actions{gap:6px}}


.vehicle-quick-actions{position:absolute;right:7px;bottom:7px;z-index:3;display:flex;align-items:center;gap:5px}.tekmetric-card-action{position:relative;width:29px;height:29px;display:inline-grid;place-items:center;flex:0 0 auto;padding:0;border:1px solid #ccd8e5;border-radius:8px;background:rgba(255,255,255,.94);color:#f15a24;box-shadow:0 1px 3px rgba(26,47,72,.12);cursor:pointer;transition:border-color .15s,background .15s,color .15s,transform .1s}.tekmetric-card-action:hover{transform:translateY(-1px);border-color:#f15a24;background:#fff}.tekmetric-card-action:focus-visible{outline:3px solid rgba(47,128,237,.28);outline-offset:2px}.tekmetric-card-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tekmetric-card-action.searching{border-color:#8abaf3;background:#eef6ff;color:#2f80ed;cursor:wait}.tekmetric-card-action.searching svg{opacity:0}.tekmetric-card-action.searching:after{content:"";position:absolute;width:13px;height:13px;border:2px solid rgba(47,128,237,.25);border-top-color:#2f80ed;border-radius:50%;animation:tekmetricCardSpin .75s linear infinite}.tekmetric-card-action:disabled:hover{transform:none;border-color:#ccd8e5;background:rgba(255,255,255,.94)}.tekmetric-card-toast{position:fixed;left:50%;bottom:24px;z-index:6200;max-width:min(420px,calc(100vw - 28px));padding:11px 14px;border-radius:9px;background:#263b54;color:#fff;font-size:12px;font-weight:800;line-height:1.35;text-align:center;box-shadow:0 8px 28px rgba(20,38,60,.24);opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .18s,transform .18s}.tekmetric-card-toast.show{opacity:1;transform:translate(-50%,0)}.tekmetric-card-toast.bad{background:#8b2d25}@keyframes tekmetricCardSpin{to{transform:rotate(360deg)}}
@media(max-width:620px){.mobile-card-actions{display:flex;align-items:center;gap:8px}.mobile-card-actions .tekmetric-card-action{width:34px;height:34px;border-radius:50%}.mobile-card-actions .tekmetric-card-action svg{width:18px;height:18px}}

/* Full tracker phone layout (non-Sales mobile route) */
@media(max-width:1100px){
  body:not(.mobile-walkaround-mode){overflow:hidden;background:#f3f6fa}
  body:not(.mobile-walkaround-mode) .app{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#f3f6fa}
  body:not(.mobile-walkaround-mode) .main{order:1;width:100%;height:calc(100dvh - 66px - env(safe-area-inset-bottom));min-height:0}
  body:not(.mobile-walkaround-mode) .sidebar{order:2;width:100%;height:calc(66px + env(safe-area-inset-bottom));flex:0 0 calc(66px + env(safe-area-inset-bottom));display:block;background:#101a29;box-shadow:0 -4px 16px rgba(12,28,48,.18);padding-bottom:env(safe-area-inset-bottom);z-index:950}
  body:not(.mobile-walkaround-mode) .logo-wrap,
  body:not(.mobile-walkaround-mode) .sidebar-spacer,
  body:not(.mobile-walkaround-mode) .motto{display:none}
  body:not(.mobile-walkaround-mode) .nav{height:66px;padding:0;display:flex;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
  body:not(.mobile-walkaround-mode) .nav::-webkit-scrollbar{display:none}
  body:not(.mobile-walkaround-mode) .nav-item{flex:1 0 62px;min-width:62px;height:66px;margin:0;padding:6px 3px 5px;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font-size:10px;line-height:1.05;font-weight:750;white-space:nowrap}
  body:not(.mobile-walkaround-mode) .nav-item .nav-icon{display:block;width:auto;font-size:20px;line-height:22px}
  body:not(.mobile-walkaround-mode) .nav-item.active{background:#20344f;box-shadow:inset 0 3px #4fa3ff;color:#fff}
  body:not(.mobile-walkaround-mode) #navReports{display:none}
  body:not(.mobile-walkaround-mode) .top{padding:calc(8px + env(safe-area-inset-top)) 10px 8px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
  body:not(.mobile-walkaround-mode) .header-row{align-items:center;gap:8px}
  body:not(.mobile-walkaround-mode) .heading{flex:0 0 auto}
  body:not(.mobile-walkaround-mode) .heading h1{font-size:20px;letter-spacing:-.25px;white-space:nowrap}
  body:not(.mobile-walkaround-mode) .heading p,
  body:not(.mobile-walkaround-mode) .location,
  body:not(.mobile-walkaround-mode) .sync-chip,
  body:not(.mobile-walkaround-mode) .profile-name{display:none!important}
  body:not(.mobile-walkaround-mode) .header-actions{min-width:0;flex:1;justify-content:flex-end;gap:6px}
  body:not(.mobile-walkaround-mode) .search{min-width:0;flex:1;max-width:220px}
  body:not(.mobile-walkaround-mode) .search input{width:100%;height:38px;padding-left:34px;font-size:14px}
  body:not(.mobile-walkaround-mode) .search .mag{left:11px;top:8px}
  body:not(.mobile-walkaround-mode) .profile{height:38px;padding:0 2px}
  body:not(.mobile-walkaround-mode) .avatar-large{width:36px;height:36px}
  body:not(.mobile-walkaround-mode) .profile .chev{display:none}
  body:not(.mobile-walkaround-mode) .profile-menu{position:fixed;right:10px;top:calc(54px + env(safe-area-inset-top));width:min(270px,calc(100vw - 20px))}
  body:not(.mobile-walkaround-mode) .kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0;padding:0;overflow:visible}
  body:not(.mobile-walkaround-mode) .kpis::-webkit-scrollbar{display:none}
  body:not(.mobile-walkaround-mode) .kpi{display:none;height:62px}body:not(.mobile-walkaround-mode) .kpi:nth-child(2),body:not(.mobile-walkaround-mode) .kpi:nth-child(6),body:not(.mobile-walkaround-mode) .kpi:nth-child(7),body:not(.mobile-walkaround-mode) .kpi:nth-child(9){display:flex}
  body:not(.mobile-walkaround-mode) .kpi .num{font-size:20px}
  body:not(.mobile-walkaround-mode) .kpi .lbl{margin-top:5px;font-size:10px;line-height:1.1;padding:0 4px}
  body:not(.mobile-walkaround-mode) .kpi-age-sub{font-size:8px;margin-top:3px}
  body:not(.mobile-walkaround-mode) .toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;margin:0 0 1px}
  body:not(.mobile-walkaround-mode) .view-toggle{gap:6px}
  body:not(.mobile-walkaround-mode) .tool-btn{height:38px;padding:0 10px;font-size:11px}
  body:not(.mobile-walkaround-mode) .right-tools{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
  body:not(.mobile-walkaround-mode) .right-tools>span,
  body:not(.mobile-walkaround-mode) #sort{display:none}
  body:not(.mobile-walkaround-mode) .right-tools select{width:100%;min-width:0;height:38px;padding:0 27px 0 9px;font-size:12px}
  body:not(.mobile-walkaround-mode) .add-btn{height:38px;padding:0 11px;font-size:0;white-space:nowrap}
  body:not(.mobile-walkaround-mode) .add-btn::after{content:'+ Add';font-size:12px}
  body:not(.mobile-walkaround-mode) .workspace{padding:8px 8px 0;overflow:hidden}
  body:not(.mobile-walkaround-mode) .legend{display:none}
  body:not(.mobile-walkaround-mode) .board-shell{border-radius:9px}
  body:not(.mobile-walkaround-mode) .board-scroll{scroll-snap-type:x proximity;padding-bottom:4px}
  body:not(.mobile-walkaround-mode) .board{grid-template-columns:repeat(11,280px);min-width:max-content;gap:8px}
  body:not(.mobile-walkaround-mode) .col{scroll-snap-align:start;border-radius:8px 8px 0 0}
  body:not(.mobile-walkaround-mode) .list-wrap{border:0;background:transparent;border-radius:0}
  body:not(.mobile-walkaround-mode) .list-table,
  body:not(.mobile-walkaround-mode) .list-table tbody{display:block;width:100%}
  body:not(.mobile-walkaround-mode) .list-table thead{display:none}
  body:not(.mobile-walkaround-mode) .list-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;margin-bottom:9px;padding:12px;border:1px solid #dce5ee;border-radius:10px;background:#fff;box-shadow:0 3px 10px rgba(30,55,85,.07)}
  body:not(.mobile-walkaround-mode) .list-table td{display:block;min-width:0;padding:0;border:0;font-size:12px;color:#53657b}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(1){grid-column:1;font-size:15px;color:#182230}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(2){grid-column:2;text-align:right;font-weight:800;color:#344054}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(2)::before{content:'Stock #';font-size:9px;color:#8492a6;margin-right:3px}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(3){display:none}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(4){grid-column:1 / -1}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(5),
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(6),
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(7){display:inline-flex;align-items:center;gap:4px}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(5)::before{content:'Recon day';font-size:10px;color:#8492a6}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(6)::before{content:'Stage days';font-size:10px;color:#8492a6}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(7)::before{content:'Assigned';font-size:10px;color:#8492a6}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(8){grid-column:1 / -1;margin-top:2px;padding-top:7px;border-top:1px solid #edf1f5;color:#344054;white-space:normal}
  body:not(.mobile-walkaround-mode) .list-table td:nth-child(8)::before{content:'Next action: ';font-weight:800;color:#667085}
  body:not(.mobile-walkaround-mode) .drawer{width:100vw;max-width:none;height:100dvh}
  body:not(.mobile-walkaround-mode) .drawer-top{padding:calc(14px + env(safe-area-inset-top)) 14px 13px}
  body:not(.mobile-walkaround-mode) .drawer-body{padding:14px}
  body:not(.mobile-walkaround-mode) .drawer-actions{padding:10px 12px calc(10px + env(safe-area-inset-bottom));overflow-x:auto}
  body:not(.mobile-walkaround-mode) .modal-back{align-items:flex-end;padding-top:env(safe-area-inset-top)}
  body:not(.mobile-walkaround-mode) .modal{width:100%;max-height:94dvh;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  body:not(.mobile-walkaround-mode) .form-grid{grid-template-columns:1fr}
  body:not(.mobile-walkaround-mode) .span2,
  body:not(.mobile-walkaround-mode) .vin-entry,
  body:not(.mobile-walkaround-mode) .vin-decode-status,
  body:not(.mobile-walkaround-mode) .advanced-toggle,
  body:not(.mobile-walkaround-mode) .advanced-fields,
  body:not(.mobile-walkaround-mode) .form-status{grid-column:auto}
  body:not(.mobile-walkaround-mode) .advanced-fields.show{grid-template-columns:1fr}
}
@media(max-width:1100px) and (max-height:500px){
  body:not(.mobile-walkaround-mode) .kpis{display:none}
  body:not(.mobile-walkaround-mode) .top{padding-top:calc(6px + env(safe-area-inset-top))}
  body:not(.mobile-walkaround-mode) .toolbar{margin-top:7px}
}


/* Unified mobile workspace */
@media(max-width:1100px){
  body.mobile-walkaround-mode .mobile-app-main{padding:18px 14px calc(24px + env(safe-area-inset-bottom))}
  body.mobile-walkaround-mode .mobile-screen{width:100%;max-width:680px;margin:0 auto}
  body.mobile-walkaround-mode .mobile-home-intro{padding:4px 2px 18px}
  body.mobile-walkaround-mode .mobile-home-intro h1{margin:5px 0 5px;color:#142238;font-size:28px;line-height:1.08;letter-spacing:-.7px}
  body.mobile-walkaround-mode .mobile-home-intro p{margin:0;color:#66768a;font-size:13px}
  body.mobile-walkaround-mode .mobile-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.mobile-walkaround-mode .mobile-home-tile{position:relative;min-height:154px;padding:17px 14px;border:1px solid #dbe5ef;border-radius:18px;background:#fff;color:#172b43;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;box-shadow:0 7px 20px rgba(25,46,72,.08);-webkit-tap-highlight-color:transparent}
  body.mobile-walkaround-mode .mobile-home-tile:active{transform:scale(.985);background:#f8fbff}
  body.mobile-walkaround-mode .mobile-home-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eaf3ff;color:#246fbd;font-size:23px;font-weight:900}
  body.mobile-walkaround-mode .mobile-home-tile.checkin .mobile-home-icon{background:#e9f8ef;color:#12804b}
  body.mobile-walkaround-mode .mobile-home-tile.add .mobile-home-icon{background:#edf4ff;color:#176fc1;font-size:30px}
  body.mobile-walkaround-mode .mobile-home-tile.work .mobile-home-icon{background:#fff2df;color:#b56708}
  body.mobile-walkaround-mode .mobile-home-label{font-size:18px;line-height:1.12;font-weight:900;letter-spacing:-.25px}
  body.mobile-walkaround-mode .mobile-home-label small{font-size:13px;color:#66768a}
  body.mobile-walkaround-mode .mobile-home-count{position:absolute;top:16px;right:15px;min-width:29px;height:29px;padding:0 8px;border-radius:999px;background:#eef3f8;color:#40546a;display:grid;place-items:center;font-size:12px;font-weight:900}
  body.mobile-walkaround-mode .mobile-home-sync{margin:18px 2px 0;padding-top:13px;border-top:1px solid #dfe7ef}
  body.mobile-walkaround-mode .mobile-back{margin:0 0 15px;padding:8px 3px;border:0;background:transparent;color:#2468ad;font-size:14px;font-weight:850}
  body.mobile-walkaround-mode .mobile-search{height:48px;margin:14px 0 13px;padding:0 13px;border:1px solid #d7e2ed;border-radius:13px;background:#fff;display:flex;align-items:center;gap:9px;box-shadow:0 3px 10px rgba(25,46,72,.04)}
  body.mobile-walkaround-mode .mobile-search span{color:#6a7e94;font-size:20px}
  body.mobile-walkaround-mode .mobile-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#1b2e45;font-size:16px}body.mobile-walkaround-mode .mobile-search input::-webkit-search-cancel-button{display:none}body.mobile-walkaround-mode .mobile-search-clear{width:32px;height:32px;flex:0 0 32px;border:0;border-radius:50%;background:#eef3f8;color:#52667d;display:grid;place-items:center;padding:0;font-size:21px;line-height:1}body.mobile-walkaround-mode .mobile-search-clear[hidden]{display:none}
  body.mobile-walkaround-mode .mobile-vehicle-card.needs-attention{border-left:4px solid #e69814}
  body.mobile-walkaround-mode .mobile-stage-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#edf4ff;color:#2869a6;font-size:10px;font-weight:850}
  body.mobile-walkaround-mode .mobile-card-age{font-size:11px;font-weight:800;color:#718196}
  body.mobile-walkaround-mode .mobile-card-note{margin-top:10px;padding-top:9px;border-top:1px solid #eef2f6;color:#52667c;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.mobile-walkaround-mode .drawer:not(.mobile-walk-drawer){width:100vw;max-width:none;height:100dvh}
  body.mobile-walkaround-mode .drawer:not(.mobile-walk-drawer) .drawer-top{padding:calc(14px + env(safe-area-inset-top)) 14px 13px}
  body.mobile-walkaround-mode .drawer:not(.mobile-walk-drawer) .drawer-body{padding:14px calc(14px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left))}
  body.mobile-walkaround-mode .modal-back{align-items:flex-end;padding-top:env(safe-area-inset-top)}
  body.mobile-walkaround-mode .modal{width:100%;max-height:94dvh;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  body.mobile-walkaround-mode .modal-body{overflow-y:auto}
  body.mobile-walkaround-mode .form-grid{grid-template-columns:1fr}
  body.mobile-walkaround-mode .span2,
  body.mobile-walkaround-mode .vin-entry,
  body.mobile-walkaround-mode .vin-decode-status,
  body.mobile-walkaround-mode .advanced-toggle,
  body.mobile-walkaround-mode .advanced-fields,
  body.mobile-walkaround-mode .form-status{grid-column:auto}
  body.mobile-walkaround-mode .advanced-fields.show{grid-template-columns:1fr}
}
@media(max-width:380px){
  body.mobile-walkaround-mode .mobile-home-grid{gap:9px}
  body.mobile-walkaround-mode .mobile-home-tile{min-height:138px;padding:14px 12px}
  body.mobile-walkaround-mode .mobile-home-label{font-size:16px}
}

.vehicle-removal-modal{width:min(560px,calc(100vw - 24px));max-height:90vh;overflow:auto}.removal-identity,.deleted-vehicle{display:flex;flex-direction:column;gap:8px}.removal-identity{padding:14px;background:#edf3fa;border-radius:8px;overflow-wrap:anywhere}.removal-field{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-size:14px;font-weight:600}.removal-field select,.removal-field textarea{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:6px;font:inherit}.removal-field[hidden],#vehicleRemovalSettings[hidden]{display:none}.deleted-vehicle{padding:16px 0;border-bottom:1px solid #e2e8f0;font-size:14px;overflow-wrap:anywhere}.deleted-vehicle small{font-size:12px;color:#526174}.deleted-vehicle button{align-self:flex-start}#drawerDeleteVehicle{margin:8px 0;font-size:14px;min-height:40px;padding:8px 12px}#vehicleRemovalSettings{margin-top:20px}.vehicle-removal-modal p{font-size:14px;line-height:1.5}

.drawer-actions{flex-wrap:wrap}.drawer-actions #drawerDeleteVehicle{flex:0 0 100%;margin:0;text-align:center;border:1px solid #f0c4c0;border-radius:5px;background:#fff5f4;color:#b42318}.drawer-info-actions{flex-wrap:wrap;gap:8px}.drawer-info-actions #deleteDrawerVehicle{min-height:34px;padding:6px 10px;border:1px solid #f0c4c0;border-radius:5px;background:#fff5f4;color:#b42318}

#drawerDeleteVehicle,#deleteDrawerVehicle{position:static;top:auto;right:auto;width:auto;box-shadow:none}

.message-recipient-picker{border:1px solid #d7e1ec;border-radius:7px;background:#fff;font-size:12px}.message-recipient-picker summary{cursor:pointer;padding:10px;font-weight:750;color:#263b54}.message-recipient-options{max-height:210px;overflow-y:auto;padding:0 10px 10px}.message-recipient-group{font-size:10px;font-weight:850;text-transform:uppercase;color:#718196;margin:10px 0 5px}.message-recipient-option{display:flex;align-items:center;gap:8px;min-height:34px;padding:4px 0;cursor:pointer}.message-recipient-option input{width:17px;height:17px;flex:0 0 17px;margin:0}.message-recipient-to{font-size:11px;line-height:1.45;color:#52667d;margin:7px 0;overflow-wrap:anywhere}
