
    :root{color-scheme:dark;--bg:#0d1118;--panel:#151b25;--panel-2:#1b2330;--panel-3:#222d3c;--border:#293343;--muted:#97a4b6;--text:#edf3fb;--soft:#c8d3e0;--blue:#6599ff;--blue-2:#397aff;--danger:#ff777e;--green:#68d6aa;--radius:15px;--shadow:0 10px 38px rgba(0,0,0,.19)}
    [hidden]{display:none!important}
    *{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.4}
    button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}svg{width:18px;height:18px;flex-shrink:0;vertical-align:middle}
    .shell{max-width:1800px;margin:0 auto;padding:30px 32px 48px}
    .topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
    .brand{display:flex;align-items:center;gap:14px}.brandmark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(140deg,#4481f5,#2443a5);box-shadow:0 8px 28px #225ee43d}.brandmark svg{width:26px;height:26px}.brand-eyebrow{color:var(--blue);font-size:10px;letter-spacing:2.1px;font-weight:800;text-transform:uppercase}.brand h1{font-size:24px;letter-spacing:-.9px;line-height:1.12;margin:4px 0 0;font-weight:800}.top-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
    .btn{min-height:39px;border-radius:10px;border:1px solid var(--border);background:var(--panel);color:var(--soft);display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 14px;font-weight:650;transition:background .15s,border .15s,transform .15s;text-decoration:none}.btn:hover{background:var(--panel-2);border-color:#43526a}.btn:active{transform:translateY(1px)}.btn:focus-visible,.icon-btn:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.btn svg{width:17px;height:17px}.btn-primary{background:var(--blue-2);border-color:var(--blue-2);color:#fff}.btn-primary:hover{background:#4e8aff;border-color:#4e8aff}.btn-danger{color:#ffc8cb;border-color:#7d414a;background:#3e252d}.btn-danger:hover{background:#58313a}.btn-plain{border-color:transparent;background:transparent}
    .intro{margin-top:28px;padding:24px 26px;border:1px solid var(--border);border-radius:19px;background:radial-gradient(ellipse at 90% 15%,#223454 0,transparent 45%),linear-gradient(130deg,#1a263a 0%,#151b25 70%);display:flex;justify-content:space-between;gap:20px;align-items:center}.intro h2{font-size:21px;margin:0 0 5px;letter-spacing:-.6px}.intro p{margin:0;color:#aebccf;max-width:710px}.intro-pill{border:1px solid #37537d;background:#1c2d47;color:#bcd3ff;border-radius:99px;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap;font-weight:650}.intro-pill svg{width:15px;height:15px}
    .metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0 26px}.metric{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:15px 18px;min-height:91px}.metric-title{font-size:12px;color:var(--muted);font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-title svg{width:16px;height:16px;color:#8295ad}.metric-value{font-variant-numeric:tabular-nums;font-size:29px;font-weight:780;margin-top:5px;line-height:1;letter-spacing:-1px}.metric-value.warning{color:#ffbf7b}.metric-value.danger{color:#ff8188}
    .board-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}.board-head h2{font-size:18px;margin:0;letter-spacing:-.4px}.board-subtitle{font-size:12px;color:var(--muted);margin-top:4px}.board-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search-wrap{position:relative;min-width:220px}.search-wrap svg{position:absolute;left:12px;top:11px;width:17px;height:17px;color:var(--muted)}.search-wrap input{width:100%;padding:10px 12px 10px 38px;min-height:40px;background:var(--panel);border:1px solid var(--border);border-radius:10px;color:var(--text);outline:none}.search-wrap input::placeholder{color:#7f8da3}.search-wrap input:focus{border-color:var(--blue)}
    .board{display:flex;align-items:stretch;gap:13px;overflow-x:auto;padding:1px 1px 18px;min-height:360px;scrollbar-color:#394758 transparent;scrollbar-width:thin}.lane{--accent:#98a7b9;background:#121821;border:1px solid var(--border);border-radius:16px;min-width:283px;flex:1 0 283px;max-width:420px;display:flex;flex-direction:column;min-height:358px;transition:background .12s,border .12s}.lane.is-over{background:#1a2a43;border-color:#6599ff;box-shadow:inset 0 0 0 1px #6599ff}.lane-head{padding:17px 16px 14px;border-bottom:1px solid #252f3d;display:flex;justify-content:space-between;align-items:center}.lane-heading{display:flex;align-items:center;gap:9px;min-width:0}.lane-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 13%,transparent)}.lane-title{font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.1px}.lane-count{border:1px solid #344052;background:#26303e;border-radius:7px;padding:2px 8px;color:#b7c3d2;font-weight:750;font-size:12px;font-variant-numeric:tabular-nums}.cards{padding:12px;display:flex;flex-direction:column;gap:10px;min-height:150px;flex:1}
    .vehicle-card{background:var(--panel-2);border:1px solid #344155;border-radius:12px;padding:13px 13px 11px;cursor:grab;transition:transform .12s,box-shadow .12s,border-color .12s}.vehicle-card:hover{border-color:#5c7190;box-shadow:0 5px 16px #05080f44}.vehicle-card:active{cursor:grabbing}.vehicle-card.is-dragging{opacity:.4;transform:scale(.97)}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.vin-label{color:#8ea0b7;letter-spacing:1.15px;text-transform:uppercase;font-size:9px;font-weight:800}.vin{font-size:14px;line-height:1.5;letter-spacing:.5px;font-weight:800;color:#f2f6ff;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-top:2px}.icon-btn{border:0;background:transparent;border-radius:7px;min-width:29px;min-height:29px;display:grid;place-items:center;color:#92a5bf;padding:4px}.icon-btn:hover{background:#334256;color:#fff}.icon-btn svg{width:16px;height:16px}.card-model{font-size:12px;color:#c9d6e5;min-height:17px;margin-top:8px;overflow-wrap:anywhere}.card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 12px}.tag{display:inline-flex;align-items:center;gap:5px;border:1px solid #3b4c62;background:#273446;color:#b9cce0;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:650}.tag svg{width:12px;height:12px}.tag.due{border-color:#655138;background:#392f24;color:#f8ce91}.tag.late{border-color:#78404a;background:#42262d;color:#ffb2b9}.note-preview{color:#8899ae;font-size:11px;line-height:1.5;max-height:33px;overflow:hidden;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.card-footer{border-top:1px solid #334052;padding-top:9px;display:flex;align-items:center;gap:8px;justify-content:space-between}.card-hint{color:#8496ab;display:flex;gap:5px;align-items:center;font-size:10px}.card-hint svg{width:13px;height:13px}.move-select{background:#222e3f;border:1px solid #3b4b61;border-radius:7px;padding:5px 24px 5px 8px;color:#d9e6f5;max-width:151px;font-size:11px;cursor:pointer}.move-select option{background:#222e3f;color:#edf3fb}
    .lane-empty{display:flex;align-items:center;justify-content:center;text-align:center;color:#64748b;border:1px dashed #2d3a4c;border-radius:10px;padding:21px 10px;min-height:90px;font-size:12px;line-height:1.65}.no-results{font-size:12px;color:var(--muted);padding:13px 0}.add-lane{min-width:200px;max-width:200px;align-self:flex-start;min-height:70px;background:transparent;border:1px dashed #45546a;color:#9aadc9;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:650}.add-lane:hover{color:#d6e7ff;border-color:#6699ff;background:#1b2737}
    .footer{margin-top:14px;display:flex;gap:10px 20px;align-items:center;justify-content:space-between;flex-wrap:wrap;color:#8493a8;font-size:12px}.footer-copy{display:flex;align-items:center;gap:6px}.footer-copy svg{height:14px;width:14px;color:var(--green)}.footer-actions{display:flex;gap:15px;align-items:center}.footer button{padding:0;border:0;color:#9fb7d5;background:none;font-weight:650}.footer button:hover{color:#d7e8ff;text-decoration:underline}.save-warning{color:#ffb5b9!important;font-weight:700}.color-dot{width:10px;height:10px;border-radius:50%;flex:none;display:inline-block;border:1px solid #8a97aa}.color-dot-BRANCO{background:#f3f7fc}.color-dot-CINZA{background:#8c98a7}.color-dot-PRATA{background:#d6e1e8}.color-dot-VERDE{background:#5a977b}.color-dot-PRETO{background:#151b24}.color-dot-PITACHE{background:#c2d38b}
    dialog{background:#171f2b;color:var(--text);border:1px solid #39495e;box-shadow:0 24px 80px #000a;border-radius:18px;width:min(94vw,555px);max-height:min(90vh,850px);padding:0;overflow:auto}dialog::backdrop{background:#040811ba;backdrop-filter:blur(4px)}.modal-head{padding:22px 24px 15px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal-eyebrow{font-size:10px;color:var(--blue);letter-spacing:1.5px;font-weight:800;text-transform:uppercase}.modal-head h2{font-size:21px;letter-spacing:-.5px;margin:3px 0 0}.modal-body{padding:4px 24px 22px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:12px;font-weight:650;color:#cbd6e4}.field label .optional{font-weight:400;color:#8493aa}.field input,.field select,.field textarea,.stage-entry input,.stage-add input{width:100%;border:1px solid #37465b;background:#111925;border-radius:10px;padding:10px 12px;color:var(--text);outline:none;min-height:41px}.field input:focus,.field select:focus,.field textarea:focus,.stage-entry input:focus,.stage-add input:focus{border-color:var(--blue)}.field textarea{resize:vertical;min-height:82px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.field-full{grid-column:1/-1}.modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #2d3949;padding:17px 24px 21px;flex-wrap:wrap}.modal-actions{display:flex;gap:9px;align-items:center;margin-left:auto}.helper{font-size:11px;color:#8999ac;margin:0 0 15px;line-height:1.55}.error{font-size:12px;color:#ff9ca3;min-height:14px;margin-top:7px}.history{border-top:1px solid #303d50;margin-top:20px;padding-top:15px}.history h3{font-size:12px;letter-spacing:.2px;margin:0 0 9px;color:#bdcbda}.history-line{padding:7px 0;border-bottom:1px solid #293545;font-size:11px;color:#a6b6c9;display:flex;justify-content:space-between;gap:14px}.history-line strong{font-weight:650;color:#d6e4f6}.history-line time{color:#74859a;white-space:nowrap}
    .stage-list{display:flex;flex-direction:column;gap:9px;margin-bottom:18px}.stage-entry{display:flex;align-items:center;gap:8px}.stage-entry input{flex:1}.stage-entry button{border:1px solid #39485c;background:#212d3c;border-radius:9px;color:#c0cee0;min-width:35px;min-height:39px;display:grid;place-items:center}.stage-entry button:hover:enabled{background:#314155;color:#fff}.stage-entry button svg{width:16px;height:16px}.stage-add{display:flex;align-items:center;gap:8px}.stage-add input{flex:1}.stage-add .btn{white-space:nowrap}.help-content{color:#bdc9d9;font-size:13px;line-height:1.65}.help-content p{margin-top:0}.help-content ol{padding-left:22px}.help-content li{margin-bottom:8px}.help-content strong{color:#eaf1ff}.help-content code{color:#bfceff;font-size:12px;background:#283144;padding:2px 5px;border-radius:4px}
    .toast{position:fixed;right:25px;bottom:22px;z-index:20;min-height:50px;max-width:min(430px,calc(100vw - 28px));background:#243348;border:1px solid #476181;border-radius:11px;box-shadow:var(--shadow);padding:12px 13px;display:flex;align-items:center;gap:15px;color:#e9f2ff;font-size:12px;transform:translateY(100px);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}.toast.visible{transform:translateY(0);opacity:1;pointer-events:auto}.toast button{border:0;background:#4168a5;color:white;border-radius:7px;padding:6px 9px;white-space:nowrap;font-weight:700}
    @media(max-width:1050px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{padding:24px 20px 35px}.lane{min-width:300px;flex-basis:300px}}
    @media(max-width:650px){.shell{padding:17px 13px 25px}.topbar{align-items:flex-start}.brand h1{font-size:20px}.brandmark{width:42px;height:42px}.top-actions{width:100%}.top-actions>.btn{flex:1}.top-actions>.btn-primary{flex:2}.intro{padding:18px;align-items:flex-start;flex-direction:column;gap:12px}.intro h2{font-size:19px}.intro-pill{font-size:11px}.metrics{gap:9px;margin:12px 0 21px}.metric{min-height:82px;padding:13px}.metric-value{font-size:24px}.board-head{align-items:stretch}.board-tools{width:100%}.search-wrap{flex:1}.board-tools>.btn{min-width:100px}.lane{min-width:275px;flex-basis:275px}.footer{align-items:flex-start;flex-direction:column}.fields{grid-template-columns:1fr}.field-full{grid-column:auto}.modal-head{padding:18px}.modal-body{padding:5px 18px 19px}.modal-foot{padding:15px 18px}.stage-entry{gap:5px}.stage-entry button{min-width:31px}}
    @media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
  
/* PátioFlow Cloud */
.screen{max-width:520px;margin:50px auto 0;padding:10px 0}.panel{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:26px;box-shadow:var(--shadow)}.panel h2{margin:0 0 6px;font-size:23px;letter-spacing:-.6px}.panel p{color:var(--muted);line-height:1.6}.stack{display:flex;flex-direction:column;gap:14px}.stack .field{gap:6px}.stack .field input{width:100%;padding:11px 12px;background:#101824;border:1px solid #3a4960;border-radius:10px;color:#fff;min-height:43px}.stack .field input:focus{outline:2px solid #6599ff}.stack button{min-height:44px}.tabs{display:flex;gap:7px;margin:18px 0}.tabs button{flex:1}.error-banner{border:1px solid #904650;background:#3e242b;border-radius:9px;padding:11px 13px;color:#ffc8c8;font-size:12px;line-height:1.6}.ok-banner{border:1px solid #386b55;background:#1a3930;border-radius:9px;padding:11px 13px;color:#b5f4d5;font-size:12px;line-height:1.6}.muted{color:var(--muted);font-size:12px}.code-field{padding:11px 13px;border:1px dashed #536788;background:#0d1624;color:#d9e8ff;border-radius:8px;font-family:ui-monospace,monospace;word-break:break-all;font-size:12px}.status-dot{width:8px;height:8px;border-radius:100%;background:#79cda6;display:inline-block;margin-right:6px}.subtle-link{background:none;color:#a6c5ff;border:0;padding:0;cursor:pointer;text-decoration:underline}.cloud-pill{font-size:11px;color:#b4e7d0;border:1px solid #356b57;background:#1a352c;padding:6px 9px;border-radius:20px;font-weight:750}.header-user{font-size:11px;color:#97a4b6;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-note{border:1px solid var(--border);background:#131b26;border-radius:12px;padding:12px 16px;margin-top:14px;color:#90a0b7;font-size:12px}.team-details{margin-top:15px;display:grid;gap:12px}.team-details label{font-size:12px;color:#a4b6cb}.btn-small{min-height:32px;padding:5px 9px;font-size:11px}.sync-error{color:#ffadad!important}.spinner{width:17px;height:17px;border:2px solid #55749c;border-top-color:#bad0ff;animation:spin .7s linear infinite;border-radius:50%;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.empty-banner{text-align:center;color:#a2b4ca;padding:30px 10px}.header-compact{font-size:12px;color:#9ab1c9}.notice{background:#1e2a3b;border:1px solid #3b587d;padding:11px 13px;border-radius:10px;font-size:12px;color:#c3d6f2}.cloud-dialog{max-width:560px}.modal-foot .btn{white-space:nowrap}.workflow{display:flex;gap:8px;flex-wrap:wrap}.workflow .tag{font-size:11px}.loading{display:flex;align-items:center;gap:10px;color:#bed0e5}.nowrap{white-space:nowrap}
@media (max-width:750px){.shell{padding:18px 14px 36px}.intro{padding:19px;flex-direction:column;align-items:flex-start}.topbar{align-items:flex-start}.top-actions{gap:6px}.top-actions .btn{padding:7px 9px;font-size:12px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:12px}.metric-value{font-size:24px}.board-head{display:block}.board-tools{margin-top:11px}.search-wrap{flex:1;min-width:180px}.lane{flex-basis:270px;min-width:270px}.brand h1{font-size:20px}.screen{margin-top:26px}.panel{padding:19px}.intro-pill{white-space:normal}.footer{align-items:flex-start}}


/* PátioFlow 2.1 — dois quadros e papéis */
.role-chip{font-size:10px;font-weight:800;letter-spacing:.3px;color:#bbd5ff;background:#1a2c49;border:1px solid #365884;border-radius:999px;padding:6px 10px;white-space:nowrap}
.board-group{border-radius:16px;border:1px solid #304157;background:#101924;margin-top:18px;overflow:hidden;padding:18px 17px 20px}
.board-group.external-group{margin-top:22px;background:#121825;border-color:#3d3b57}
.group-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.group-kicker{color:#719de7;letter-spacing:1.8px;font-size:10px;font-weight:800;margin-bottom:5px}
.external-group .group-kicker{color:#b5a0f5}
.group-head h3{font-size:18px;font-weight:800;margin:0;letter-spacing:-.3px;color:#edf4ff}
.group-head p{font-size:12px;color:#8192ab;margin:5px 0 0}
.group-count{font-size:13px;display:inline-flex;align-items:center;justify-content:center;min-width:27px;padding:3px 7px;border-radius:6px;margin-left:6px;background:#23364e;color:#acd1ff}
.board-group .board{margin:0;min-height:170px}
.board-group .lane{min-width:255px;flex:1 0 255px}
.board-group .add-lane{min-width:175px;min-height:85px;max-width:175px}
.board-group .lane-empty{min-height:82px}
.board-group .lane .lane-head{padding-top:13px;padding-bottom:13px}
.stage-section-label{font-size:11px;font-weight:800;letter-spacing:1px;color:#80b5ff;margin:15px 0 9px}
.stage-section-label.external{color:#b1a0ee}
.stage-add select{min-height:40px;color:#dfeaff;background:#111925;border:1px solid #39485c;border-radius:9px;padding:0 9px;max-width:185px}
.member-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #304055}
.member-id{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;color:#dce9fb}
.member-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.member-actions select{background:#131f2e;border:1px solid #425674;padding:7px 10px;color:#dfeeff;border-radius:8px;font-size:11px;max-width:135px}
.read-only-banner{font-size:12px;color:#c5d5ec;border:1px solid #425b7a;background:#1b293d;padding:10px 13px;border-radius:9px;margin-top:10px}
@media(max-width:650px){.board-group{padding:14px 10px 16px}.group-head{align-items:flex-start;flex-wrap:wrap}.group-head h3{font-size:17px}.stage-add{flex-wrap:wrap}.stage-add select{max-width:none;flex:1 1 100%}.member-entry{align-items:flex-start;flex-direction:column}.member-actions{width:100%;justify-content:flex-start}.top-actions .role-chip{order:-1}}


/* PátioFlow 2.3 — somente dispositivos móveis. Layout do desktop preservado. */
.mobile-menu,.mobile-board-nav,.mobile-search-results{display:none}
@media (max-width:650px){
  html{scroll-padding-top:14px}
  body{font-size:15px}
  .shell{padding:13px 12px 30px}
  .topbar{display:flex;align-items:center;gap:10px;justify-content:space-between}
  .brand{gap:10px}.brandmark{width:39px;height:39px;border-radius:11px}
  .brand h1{font-size:19px;margin-top:2px}.brand-eyebrow{font-size:8px;letter-spacing:1.5px}
  .top-actions{width:auto;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:8px;margin-left:auto}
  .top-actions>.cloud-pill,.top-actions>.header-user,.top-actions>.role-chip,.top-actions>#teamBtn,.top-actions>#backupBtn,.top-actions>#csvBtn,.top-actions>#signOutBtn{display:none!important}
  .top-actions>#newBtn{flex:0 0 auto;min-height:42px;font-size:12px;padding:0 11px;border-radius:10px;white-space:nowrap}
  .mobile-menu{display:block;position:relative;z-index:12}
  .mobile-menu>summary{list-style:none;user-select:none;border:1px solid #3c506b;background:#1b283b;color:#dce9fd;border-radius:10px;min-height:42px;display:flex;align-items:center;justify-content:center;padding:0 12px;cursor:pointer;font-size:12px;font-weight:750;white-space:nowrap}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu-popover{position:absolute;right:0;top:49px;width:min(255px,calc(100vw - 24px));background:#1c2738;border:1px solid #465a76;border-radius:13px;box-shadow:0 15px 42px #0009;display:grid;padding:7px;z-index:12}
  .mobile-menu-popover button{background:transparent;border:none;text-align:left;color:#e4edfa;font-size:14px;border-radius:8px;padding:12px 11px;min-height:44px}
  .mobile-menu-popover button:active,.mobile-menu-popover button:hover{background:#334865}
  .mobile-menu-popover button.mobile-menu-signout{color:#ffbabf;border-top:1px solid #3d4858;border-radius:0}
  .intro{margin-top:15px;padding:16px;border-radius:14px;gap:9px}.intro h2{font-size:18px}
  .intro p{font-size:12px;line-height:1.45}.intro-pill{padding:5px 10px;font-size:10px}
  .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:10px 0 18px}
  .metric{border-radius:10px;padding:10px 6px;min-height:75px;text-align:center}
  .metric-title{display:block;font-size:9px;font-weight:650;min-height:25px;line-height:1.3}
  .metric-title span{display:none}.metric-value{font-size:23px;margin-top:5px;letter-spacing:-.5px}
  .board-head h2{font-size:17px}.board-subtitle{font-size:11px}
  .board-head{margin-bottom:10px}
  .board-tools{display:flex;gap:8px}.board-tools .search-wrap{flex:1 1 100%;width:100%;min-width:0}
  .search-wrap input{font-size:16px;min-height:46px;border-radius:11px}
  .search-wrap svg{top:14px}
  .board-tools>#stagesBtn,.board-tools>#importBtn{display:none!important}
  .mobile-board-nav{display:block;margin-top:12px}
  .mobile-board-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;border:1px solid #2f435e;padding:5px;border-radius:13px;background:#111d2b}
  .mobile-board-tabs button{border:0;border-radius:9px;background:transparent;color:#9aaac0;padding:12px 5px;min-height:44px;font-size:12px;font-weight:750;white-space:nowrap}
  .mobile-board-tabs button.active{background:#2d4e7f;color:#eaf3ff;box-shadow:0 2px 8px #0004}
  .mobile-board-tabs span{background:#121f31;border-radius:99px;padding:3px 7px;font-size:11px;margin-left:3px}
  .mobile-stage-picker{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:13px 1px 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
  .mobile-stage-picker::-webkit-scrollbar{display:none}
  .mobile-stage-chip{flex:none;scroll-snap-align:start;border:1px solid #40506b;border-radius:10px;background:#1b2738;color:#b4c5da;font-size:12px;font-weight:700;min-height:42px;padding:0 12px}
  .mobile-stage-chip.active{color:#fff;background:#34598e;border-color:#6599ff}
  .mobile-stage-chip span{margin-left:4px;font-size:11px;opacity:.8}
  .board-group,.board-group.external-group{display:none;margin-top:2px;padding:0;background:transparent;border:0;border-radius:0;overflow:visible}
  .board-group.mobile-current-group{display:block}
  .board-group .group-head{display:none}
  .board-group .board{display:block;overflow:visible;min-height:0;padding:0;margin:0}
  .board-group .lane{display:none;min-height:0;max-width:none;min-width:0;width:100%;border:1px solid #34465e;background:#131d2a;border-radius:14px}
  .board-group .lane.mobile-current-lane{display:flex}
  .lane-head{padding:15px 15px 12px!important}
  .lane-title{font-size:15px}
  .cards{padding:10px;gap:11px;min-height:130px}
  .vehicle-card{cursor:default;padding:15px;border-radius:12px;border-color:#3b4d67}
  .vehicle-card:active{cursor:default}
  .vin-label{font-size:10px}.vin{font-size:16px;letter-spacing:.4px}
  .icon-btn{min-width:42px;min-height:42px;font-size:19px;background:#27384d;border:1px solid #3d526e;border-radius:10px}
  .card-model{font-size:14px;margin-top:7px}.card-meta{margin:11px 0}
  .tag{font-size:11px;padding:5px 7px}.note-preview{font-size:12px;max-height:45px}
  .card-footer{padding-top:12px;display:block}.card-hint{font-size:11px;margin-bottom:8px}
  .move-select{display:block;width:100%;max-width:none;min-height:46px;padding:11px 14px;font-size:14px;border-radius:10px;background:#263c5a;border-color:#4e709e}
  .board-group .add-lane{display:none}
  .lane-empty{font-size:12px}
  #mainApp.mobile-is-searching .board-group,#mainApp.mobile-is-searching .mobile-board-nav{display:none}
  #mainApp.mobile-is-searching .mobile-search-results{display:block}
  .mobile-results-heading{display:flex;align-items:center;justify-content:space-between;margin:8px 1px 13px}
  .mobile-results-heading h3{margin:0;font-size:16px}.mobile-results-heading span{color:#9fb4ce;font-size:12px}
  .mobile-result{margin-bottom:12px;padding:12px 10px 10px;border:1px solid #364c68;border-radius:13px;background:#131c2a}
  .mobile-result-location{font-size:12px;color:#a6c4f0;font-weight:750;margin:0 2px 10px}
  .mobile-no-results{padding:21px;text-align:center;color:#a4b3c7}
  .footer{font-size:11px;padding-bottom:8px}
  dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 22px);border-radius:15px}
  .modal-head{padding:17px 16px 12px}.modal-body{padding:5px 16px 18px}
  .modal-foot{padding:12px 15px 16px;position:sticky;bottom:0;background:#171f2b;z-index:2}
  .field input,.field select,.field textarea{font-size:16px;min-height:46px}
  .modal-actions{flex:1;justify-content:flex-end}
  .modal-actions .btn{min-height:45px;padding:0 10px;font-size:13px}
  .stage-entry button{min-height:44px;min-width:34px}
  .stage-entry input{font-size:16px}
  .stage-add input,.stage-add select{font-size:16px}
  .screen{margin-top:20px}
  .panel{padding:18px}
  .toast{right:10px;bottom:12px;max-width:calc(100vw - 20px)}
}
@media (max-width:370px){
  .shell{padding-left:9px;padding-right:9px}
  .brand h1{font-size:17px}.brandmark{width:34px;height:34px}
  .top-actions>#newBtn{padding:0 8px;font-size:11px}.mobile-menu>summary{padding:0 9px;font-size:11px}
  .metric{padding:9px 3px}.metric-title{font-size:8px}.metric-value{font-size:21px}
}
