/* ECUVO Portal — original layout implementation, designed independently for ECUVO. */
:root{--bg:#171819;--card:#252628;--card2:#202123;--line:#333538;--fg:#f6f6f7;--sub:#a4a6aa;--red:#f0444a;--red2:#cf353c;--green:#43d69a;--radius:10px;color-scheme:dark}
html{scroll-behavior:smooth}body{background:#18191b;color:var(--fg)}body:has(.portal-shell){min-width:320px}
.portal-shell{max-width:none;margin:0;padding:0;width:100%;min-height:100dvh}
.portal-topbar{height:70px;min-height:70px;padding:0 28px;position:sticky;top:0;z-index:500;display:flex;align-items:center;gap:27px;background:#252627;border-bottom:1px solid #303133;box-shadow:0 3px 18px #05050516}
.portal-topbar .brand{min-width:248px;gap:0}
.portal-topbar .brand-symbol{width:0;height:0;padding:0;margin:0;overflow:hidden;border:0}
.portal-topbar .brand-copy{gap:0}
.portal-topbar .brand-copy strong{font-style:italic;font-size:26px;font-weight:950;letter-spacing:-.055em;line-height:1}
.portal-topbar .brand-copy small{letter-spacing:.18em;font-weight:700;font-size:8px;margin-top:5px}
.portal-top-status{display:flex;align-items:center;gap:14px;font-size:13px;color:#c9cacc}
.portal-service-indicator{display:flex;align-items:center;gap:9px;background:#193b2f;color:#66e2ad;border:1px solid #284b3e;border-radius:7px;padding:9px 12px;font-weight:800;letter-spacing:.025em}
.portal-service-indicator i{height:7px;width:7px;background:#64e8a9;border-radius:50%;box-shadow:0 0 12px #47e6a4}
.portal-topbar .head-actions{gap:12px;margin-left:auto;flex-wrap:nowrap}
.portal-topbar .mini-button{border-radius:8px;background:#323335;border-color:#3b3d40;min-width:45px;min-height:38px}
.global-queue{display:flex;align-items:center;gap:11px;white-space:nowrap;border:0;background:transparent;padding:0;margin:0;color:#d4d6d9;font-size:12px;font-weight:650}
.global-queue strong{background:#173e3f;color:#4fe0c2;padding:10px 13px;min-width:37px;text-align:center;border-radius:7px;font-size:14px;font-weight:900}
.portal-topbar .user-pill{flex-direction:row;max-width:none;text-align:left;align-items:center;gap:8px}
.portal-topbar .user-pill button{width:38px;height:38px;border-radius:8px;background:#333538;border:1px solid #414347;display:flex;justify-content:center;align-items:center;padding:0;position:relative;color:#dedee0}
.portal-topbar .user-pill button:hover,.portal-topbar .mini-button:hover{background:#424449;color:#fff}
.portal-topbar .user-pill button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.portal-topbar .user-pill button span{font-size:10px;position:absolute;right:-5px;top:-5px;border-radius:50px;padding:2px 5px;min-width:16px;background:#ec454d;color:white;line-height:1.2}
.portal-topbar .user-pill button span:empty{display:none}
.portal-topbar .user-pill button span:is(:not(:empty)){font-weight:800}
.portal-layout{display:grid;grid-template-columns:268px minmax(0,1fr);min-height:calc(100dvh - 70px)}
.portal-sidebar{position:sticky;top:70px;align-self:start;height:calc(100dvh - 70px);background:#252628;border-right:1px solid #353638;display:flex;flex-direction:column;min-height:0;z-index:300;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4a4b50 #252628}
.portal-sidebar-profile{display:grid;grid-template-columns:52px minmax(0,1fr);gap:0 12px;align-items:center;padding:23px 19px 21px;min-height:119px;border-bottom:1px solid #37383b}
.portal-profile-avatar{height:52px;width:52px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#171719,#36363a);color:#f0444a;border:1px solid #4b4d51;font-size:26px;font-weight:900;grid-row:span 3}
.portal-profile-name{font-size:14px;font-weight:800;color:#f3f4f5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:end;min-width:0}
.portal-profile-role{font-size:11px;color:#a8aaad;align-self:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.portal-profile-credits{align-self:start;justify-self:start;font-size:11px;color:#ff575e;background:#4a2c30;border-radius:5px;padding:3px 7px;font-weight:800}
.portal-sidebar .navigation{display:block;margin:0;padding:8px 14px 20px;flex:none}
.portal-nav-group{padding-top:20px;padding-bottom:7px}
.portal-nav-heading{font-size:10px;letter-spacing:.16em;color:#a8aaad;font-weight:800;padding:5px 11px 12px;white-space:nowrap}
.portal-sidebar .portal-nav-link{display:flex;align-items:center;width:100%;gap:12px;text-align:left;padding:12px 13px;min-height:43px;border-radius:7px;color:#b6b8bd;font-weight:600;font-size:13px;background:transparent;box-shadow:none;line-height:1.3}
.portal-sidebar .portal-nav-link svg{height:18px;width:18px;min-width:18px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.portal-sidebar .portal-nav-link:hover{background:#36373a;color:white}
.portal-sidebar .portal-nav-link.selected{background:#f0444a;color:#fff;box-shadow:none}
.portal-sidebar .portal-nav-link.selected svg{opacity:1}
.portal-nav-count{margin-left:auto;padding:2px 7px;background:#fffc;border-radius:5px;color:#b21d2b;font-size:10px}
.portal-sidebar-bottom{margin-top:auto;padding:12px 17px 20px}
.portal-help-link{background:#38393c;color:#d4d6db;border:1px solid #444649;border-radius:7px;padding:12px;display:flex;gap:11px;align-items:center;width:100%;font-size:12px;font-weight:700}
.portal-nav-icon{width:20px;height:20px;border:1px solid #9da0a6;border-radius:50%;display:grid;place-items:center;font-size:12px}
.portal-powered{display:flex;justify-content:space-between;font-size:10px;color:#818389;padding:19px 7px 0;font-weight:750;letter-spacing:.08em}
.portal-sidebar-scrim{display:none}
.portal-main{min-width:0;padding:22px clamp(20px,3.3vw,45px) 0;background:#191a1c}
.portal-main #app{min-height:calc(100dvh - 200px)}
.portal-main .hero.compact{padding:17px 0 27px}
.portal-main .hero.compact h1{font-size:clamp(26px,3.3vw,35px);letter-spacing:-.045em;line-height:1.25;margin:8px 0}
.portal-main .hero.compact .eyebrow{color:#dd9fa3;font-size:10px;letter-spacing:.12em}
.portal-main .hero.compact p{font-size:13px;margin-top:7px}
.portal-main .card{background:#252628;border:1px solid #343638;border-radius:9px;padding:22px;box-shadow:none}
.portal-main .card.soft{background:#252628}
.portal-main .btn{border-radius:8px;background:#f0444a;border-color:#f0444a;font-weight:700}
.portal-main .btn.secondary{background:#36383a;border-color:#45474a;color:#f0f1f3}
.portal-main .btn.green{background:#1b5644;border-color:#2e785d}
.portal-main .btn.ghost{background:transparent;border-color:#47494d;color:#cbced1}
.portal-main .btn:hover{filter:brightness(1.08)}
.portal-main .field input,.portal-main .field textarea,.portal-main .field select{background:#303134;border-color:#44464a;border-radius:7px;color:#f4f4f5}
.portal-main .field input:focus,.portal-main .field select:focus,.portal-main .field textarea:focus{background:#343638}
.portal-main .field input::placeholder,.portal-main .field textarea::placeholder{color:#9b9da2}
.portal-main .field span{color:#d6d8dc}
.portal-main .tabs{background:#242629;border:1px solid #393a3d;border-radius:8px;gap:5px;padding:6px}
.portal-main .tab{border-radius:6px}
.portal-main .footer{margin-top:45px;border-color:#37383a;padding:22px 0}
.portal-main .stats .stat,.portal-main .stat{background:#262729;border-radius:9px}
.portal-main .status.pending{background:#573d22;color:#ffe0a0}
/* Dashboard */
.portal-dashboard{display:flex;flex-direction:column;gap:19px;padding-top:0}
.portal-welcome{padding:9px 0 4px}
.portal-welcome h1{margin:0;font-size:clamp(24px,2.6vw,32px);font-weight:600;letter-spacing:-.045em}
.portal-welcome h1 strong{font-weight:850}
.portal-welcome p{margin:7px 0 0;font-size:12px;color:#9da0a7}
.portal-promo{min-height:126px;border-radius:9px;background:radial-gradient(circle at 83% 50%,#9f2e38aa,transparent 25%),linear-gradient(110deg,#2b2c2f 0%,#242527 59%,#302126 100%);border:1px solid #3b383a;position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;padding:20px 27px}
.portal-promo>div{position:relative;z-index:2}
.portal-promo-kicker{font-size:10px;letter-spacing:.13em;color:#c8c9ca;font-weight:800}
.portal-promo h2{font-size:clamp(18px,2.2vw,25px);letter-spacing:-.045em;margin:4px 0 5px;color:#fff}
.portal-promo p{font-size:12px;color:#bfc0c4;margin:0;max-width:600px}
.portal-promo .btn{white-space:nowrap}
.portal-promo-mark{position:absolute;right:12%;bottom:-19px;font-size:100px;font-weight:950;letter-spacing:-.12em;opacity:.04;transform:skewX(-10deg);user-select:none}
.portal-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
.portal-metric{position:relative;min-height:225px;background:#252628;border:1px solid #353638;border-radius:9px;padding:27px 27px 77px;overflow:hidden}
.portal-metric-head{display:flex;justify-content:space-between;align-items:center;color:#aaaeb4;font-size:12px;font-weight:700;margin-bottom:8px}
.portal-metric-head svg{width:21px;height:21px;fill:none;stroke:#858990;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.portal-metric>strong{display:block;font-size:38px;font-weight:800;letter-spacing:-.05em;line-height:1.1}
.portal-metric>strong small{font-size:15px;letter-spacing:0;font-weight:650;color:#aeb2b6}
.portal-metric>p{margin:6px 0;font-size:12px;color:#a4a7ad}
.portal-metric-graph{position:absolute;left:0;right:0;bottom:0;width:100%;height:94px;overflow:visible}
.portal-metric-graph polygon{fill:#44db9b48}.portal-metric-graph polyline{fill:none;stroke:#42d69a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.portal-metric-graph.warm polygon{fill:#fc555546}.portal-metric-graph.warm polyline{stroke:#ff555c}
.portal-quick-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.portal-quick-stats>div{padding:16px 18px;border:1px solid #37393b;border-radius:8px;background:#222426;display:flex;flex-direction:column;gap:7px;min-width:0}
.portal-quick-stats span{color:#aeb0b6;font-size:11px}.portal-quick-stats strong{font-size:18px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-query-feed{margin-top:0}
.portal-query-feed .title-row h2{font-size:19px}
.portal-query-list{display:flex;flex-direction:column}
.portal-query-row{display:grid;grid-template-columns:36px minmax(160px,1.2fr) minmax(130px,1.4fr) max-content;gap:15px;align-items:center;padding:15px 4px;border-top:1px solid #343638}
.portal-query-avatar{width:33px;height:33px;border-radius:8px;background:#383a3d;display:grid;place-items:center}
.portal-query-avatar svg{width:19px;height:19px;fill:none;stroke:#b2b4b8;stroke-width:1.8}
.portal-query-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.portal-query-main strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-query-main small{color:#92969a;font-size:11px}
.portal-query-mods{display:flex;flex-wrap:wrap;gap:7px;font-size:11px;color:#d7d8db}
.portal-query-mods>span:not(.automated-tune-badge){background:#3a3b3f;padding:4px 7px;border-radius:4px}
.portal-query-status{justify-self:end}
/* Vehicle database */
.portal-vehicle-browser .toolbar{margin-bottom:12px}.portal-vehicle-browser h2{margin:0;font-size:19px}
.portal-vehicle-browser p{margin:4px 0}
.portal-vehicle-filters{display:grid;grid-template-columns:1fr 1.4fr;gap:13px;margin:18px 0}
.portal-vehicle-results{max-height:560px;overflow-y:auto;scrollbar-color:#424448 #252628;border-top:1px solid #3b3d3e}
.portal-vehicle-result{display:grid;grid-template-columns:33px minmax(0,1fr) minmax(85px,.6fr);gap:14px;align-items:center;padding:14px 2px;border-bottom:1px solid #343639}
.portal-vehicle-icon{background:#35373a;display:grid;place-items:center;width:31px;height:31px;border-radius:8px}
.portal-vehicle-icon svg{width:20px;height:20px;stroke:#bbbfc3;stroke-width:1.8;fill:none}
.portal-vehicle-result>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.portal-vehicle-result strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-vehicle-result small{color:#999da3;font-size:11px}
.portal-vehicle-ecu{justify-self:end;color:#adb1b6;font-size:11px}
/* Keep modal dialogs and all existing file operations functional */
.ecuvo-modal-backdrop{z-index:1002}.checksum-overlay{z-index:1100}.notice{border-radius:8px;margin:5px 0 18px}.live-alerts{position:fixed;top:78px;right:20px;z-index:999}
.portal-menu-toggle{display:none;width:38px;height:38px;border:1px solid #414347;background:#303236;border-radius:8px;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;flex:none}
.portal-menu-toggle span{width:17px;height:2px;border-radius:9px;background:#f3f4f4}
@media(max-width:1200px){.portal-layout{grid-template-columns:235px minmax(0,1fr)}.portal-topbar .brand{min-width:208px}.portal-main{padding-left:25px;padding-right:25px}.portal-promo{padding:18px}.portal-metric{padding-left:20px;padding-right:20px}.portal-query-row{grid-template-columns:34px minmax(100px,1fr) minmax(110px,1fr) max-content}}
@media(max-width:940px){.portal-topbar{padding:0 15px;gap:15px}.portal-topbar .brand{min-width:0;margin-right:auto}.portal-top-status{display:none}.portal-menu-toggle{display:flex}.portal-layout{display:block}.portal-sidebar{position:fixed;left:0;top:70px;bottom:0;height:auto;width:min(290px,85vw);transform:translateX(-110%);transition:transform .2s ease;z-index:550;box-shadow:10px 0 35px #0005}.sidebar-open .portal-sidebar{transform:translateX(0)}.portal-sidebar-scrim{display:none;position:fixed;inset:70px 0 0;background:#0009;z-index:540}.sidebar-open .portal-sidebar-scrim{display:block}.portal-main{padding:18px 20px 0}}
@media(max-width:720px){.portal-topbar{height:63px;min-height:63px}.portal-topbar .brand-copy strong{font-size:21px}.portal-topbar .brand-copy small{font-size:7px}.portal-topbar .head-actions{gap:6px}.portal-topbar .mini-button{min-width:35px;padding:8px 6px}.portal-topbar .user-pill{gap:4px}.portal-topbar .user-pill button{height:34px;width:33px}.global-queue{gap:5px}.global-queue strong{padding:8px 7px;font-size:12px}.queue-label{display:none}.portal-sidebar{top:63px}.portal-sidebar-scrim{inset:63px 0 0}.portal-main{padding:15px 13px 0}.portal-metrics{grid-template-columns:1fr;gap:12px}.portal-metric{min-height:200px}.portal-quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-promo{align-items:flex-start;flex-direction:column;gap:14px}.portal-query-row{grid-template-columns:30px minmax(0,1fr) max-content;gap:9px}.portal-query-mods{grid-column:2/4}.portal-query-status{grid-column:3;grid-row:1}.portal-vehicle-filters{grid-template-columns:1fr}.portal-vehicle-result{grid-template-columns:30px minmax(0,1fr)}.portal-vehicle-ecu{grid-column:2;justify-self:start}.portal-main .card{padding:16px}}
@media(max-width:420px){.portal-topbar .brand-copy small{display:none}.portal-topbar .brand-copy strong{font-size:20px}.portal-topbar{gap:7px;padding:0 9px}.portal-metric>strong{font-size:32px}.portal-promo h2{font-size:20px}}

/* ECUVO v2.6 — original progressive vehicle data browser.
   Reference: three-step automotive catalog interaction; all artwork/CSS is ECUVO-owned. */
.vdb-page{max-width:1460px;margin:0 auto;padding:4px 0 16px;color:#f6f7fa}
.vdb-header{margin:8px 0 22px}
.vdb-eyebrow{color:#ff6168;display:block;font-weight:800;font-size:10px;letter-spacing:.18em;margin-bottom:10px}
.vdb-header h1{font-size:clamp(24px,3.2vw,37px);font-weight:850;line-height:1.16;letter-spacing:-.04em;margin:0 0 11px}
.vdb-header p{color:#b3b6bf;margin:0;font-size:13px;max-width:720px;line-height:1.6}
.vdb-crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:13px 0 20px;padding:11px 16px;background:#24262a;border:1px solid #393b40;border-radius:9px}
.vdb-crumbs button{background:transparent;padding:3px 0;border:0;color:#aeb2ba;cursor:pointer;font-weight:700;font-size:12px}
.vdb-crumbs button:hover,.vdb-crumbs button[aria-current=step]{color:#ff676e}
.vdb-sep{color:#64676e;font-size:12px}
.vdb-panel{background:#24262a;border:1px solid #383b40;border-radius:10px;padding:24px}
.vdb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.vdb-toolbar>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.vdb-toolbar strong{font-weight:800;font-size:17px}
.vdb-toolbar small{font-size:11px;color:#a8abb4}
.vdb-search{flex:0 1 375px;position:relative;display:block;margin:0}
.vdb-search input{width:100%;background:#323439;border:1px solid #4a4d53;outline:none;color:#f5f5f5;border-radius:8px;padding:12px 14px 12px 40px;font-size:12px;min-height:43px}
.vdb-search input:focus{border-color:#ef5159;box-shadow:0 0 0 3px #ef515922}
.vdb-search input::placeholder{color:#a3a5ad}
.vdb-search-icon{position:absolute;left:12px;top:13px;color:#a5a7ae;pointer-events:none;line-height:0}
.vdb-search-icon svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}
.vdb-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.vdb-type-tile{min-width:0;min-height:160px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px solid #44464c;border-radius:9px;background:linear-gradient(150deg,#2c2e32,#26282c);color:#f3f3f5;cursor:pointer;transition:transform .16s,border-color .16s,background .16s;text-align:center;padding:16px}
.vdb-type-tile:not(.unavailable):hover{transform:translateY(-3px);border-color:#ff5963;background:#353038}
.vdb-type-tile.unavailable{cursor:not-allowed;opacity:.45}
.vdb-type-icon{width:68px;height:63px;display:grid;place-items:center;color:#e8e9eb;border-radius:15px;background:radial-gradient(circle at 48% 40%,#495057,#292b30 74%);box-shadow:inset 0 0 0 1px #51545b66}
.vdb-type-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vdb-type-tile strong{font-size:13px;font-weight:850;line-height:1.3}
.vdb-type-tile small{font-size:10px;color:#aaaeb4}
.vdb-make-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.vdb-make-tile{display:flex;align-items:center;min-height:90px;gap:12px;text-align:left;position:relative;min-width:0;border:1px solid #44464c;border-radius:9px;background:#2d2f33;color:#f5f6f7;padding:14px;cursor:pointer;transition:border-color .16s,background .16s}
.vdb-make-tile:hover{border-color:#ff6269;background:#363238}
.vdb-make-monogram{width:46px;height:46px;min-width:46px;display:grid;place-items:center;border:1px solid #5a5d65;border-radius:13px;background:#1c1e22;color:#f8f8f9;font-weight:900;font-size:24px;letter-spacing:-.08em}
.vdb-make-tile strong,.vdb-make-tile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 85px)}
.vdb-make-tile strong{font-size:13px;font-weight:850}.vdb-make-tile small{font-size:10px;color:#a9acb4;margin-top:5px}
.vdb-next{margin-left:auto;color:#f66b70;font-size:27px;line-height:1}
.vdb-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.vdb-model-tile,.vdb-generation-tile{display:flex;align-items:center;gap:16px;min-width:0;min-height:104px;border:1px solid #44464c;background:#2c2e32;color:#f4f6f7;border-radius:9px;text-align:left;cursor:pointer;padding:15px;transition:border-color .16s,background .16s}
.vdb-model-tile:hover,.vdb-generation-tile:hover{background:#373339;border-color:#f6636b}
.vdb-model-symbol,.vdb-generation-icon{width:60px;height:54px;min-width:60px;display:grid;place-items:center;border-radius:9px;background:#22262a;color:#cdd1d7}
.vdb-model-symbol svg,.vdb-generation-icon svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vdb-model-tile>div,.vdb-generation-tile>div{min-width:0}
.vdb-model-tile strong,.vdb-generation-tile strong{display:block;font-size:14px;font-weight:850;overflow:hidden;text-overflow:ellipsis}
.vdb-model-tile small,.vdb-generation-tile small{display:block;margin-top:7px;color:#adafb5;font-size:11px}
.vdb-generation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.vdb-generation-tile{min-height:82px}
.vdb-generation-icon{width:50px;height:49px;min-width:50px}.vdb-generation-icon svg{width:30px;height:30px}
.vdb-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.vdb-variant-card{display:flex;align-items:center;gap:15px;padding:18px;background:#2d2f33;border:1px solid #41444a;border-radius:9px;min-width:0}
.vdb-variant-symbol{width:43px;height:43px;min-width:43px;display:grid;place-items:center;border-radius:10px;background:#433034;color:#ff7c80}
.vdb-variant-symbol svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linejoin:round}
.vdb-variant-info{min-width:0;flex:1}.vdb-variant-info strong{display:block;font-weight:850;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vdb-variant-info>small{display:block;margin-top:4px;color:#a8abb2;font-size:10px}
.vdb-variant-specs{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.vdb-variant-specs span{font-size:10px;color:#c8cbd1;background:#3b3d42;border-radius:5px;padding:4px 7px;line-height:1.1}
.vdb-use{border-radius:8px;border:1px solid #f45259;background:#ef4a52;color:white;font-weight:750;font-size:11px;padding:11px 12px;cursor:pointer;flex:none}.vdb-use:hover{background:#ff5b63}.vdb-use span{margin-left:5px}
.vdb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:50px 15px;color:#cdd0d6;text-align:center}.vdb-empty svg{width:30px;height:30px;stroke:#ff666b;fill:none}.vdb-empty strong{font-size:15px}.vdb-empty p{font-size:12px;color:#aeb0b8}
.vdb-disclaimer{font-size:11px;color:#94979e;line-height:1.6;margin:14px 3px}
@media(max-width:1200px){.vdb-category-grid,.vdb-make-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vdb-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.vdb-panel{padding:16px}.vdb-header{margin:6px 0 14px}.vdb-category-grid,.vdb-make-grid,.vdb-model-grid,.vdb-generation-list,.vdb-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.vdb-toolbar{align-items:stretch;flex-direction:column;gap:13px}.vdb-search{flex:auto;width:100%}.vdb-type-tile{min-height:135px;padding:10px}.vdb-type-icon{width:55px;height:52px}.vdb-type-icon svg{width:35px;height:35px}.vdb-make-tile{min-height:95px;gap:8px;padding:9px}.vdb-make-monogram{width:35px;height:35px;min-width:35px;font-size:19px}.vdb-make-tile strong,.vdb-make-tile small{max-width:none}.vdb-make-tile strong{font-size:12px}.vdb-next{font-size:20px}.vdb-model-tile{padding:10px;gap:8px;min-height:90px}.vdb-model-symbol{width:42px;height:42px;min-width:42px}.vdb-model-symbol svg{width:29px;height:29px}.vdb-generation-tile{padding:10px;gap:9px}.vdb-generation-icon{width:38px;height:38px;min-width:38px}.vdb-generation-icon svg{width:26px;height:26px}.vdb-variants{grid-template-columns:1fr}.vdb-variant-card{padding:12px;gap:10px}.vdb-crumbs{padding:10px;gap:7px}}
@media(max-width:420px){.vdb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vdb-make-grid,.vdb-model-grid,.vdb-generation-list{grid-template-columns:1fr}.vdb-panel{padding:12px}.vdb-use{padding:9px 8px}.vdb-crumbs button{font-size:11px}}

/* Make tile typography: keep the full brand visible instead of sharing one row with its count. */
.vdb-make-body{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px}.vdb-make-body strong,.vdb-make-body small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vdb-make-body strong{font-size:13px}.vdb-make-body small{font-size:10px;color:#a9acb4;margin:0}

/* ECUVO v2.7 – standalone byte identification lab, dark red ECUVO UI */
.idlab-wrap{max-width:1030px}.idlab-header{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.idlab-header h2{margin:0 0 4px}.idlab-icon{width:55px;height:55px;flex:none;display:grid;place-items:center;border:1px solid #804047;border-radius:12px;background:#392227;color:#ff747d}
.idlab-icon svg,.idlab-drop svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6}
.idlab-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:170px;background:#212428;border:2px dashed #62636b;border-radius:12px;color:#f2f3f6;padding:28px;cursor:pointer;transition:.2s}
.idlab-drop strong{font-size:15px}.idlab-drop span{font-size:12px;color:#b8bbc3;max-width:100%;overflow-wrap:anywhere}
.idlab-drop:hover,.idlab-drop.dragover{border-color:#ff616b;background:#30272b}.idlab-drop svg{color:#ff737c}
.idlab-form>input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.idlab-actions{display:flex;align-items:center;gap:20px;margin-top:17px;flex-wrap:wrap}
.idlab-meta{display:flex;gap:9px;flex-wrap:wrap;margin:9px 0 13px}.idlab-meta span{background:#292c31;border:1px solid #4d5057;border-radius:6px;color:#d8dae0;padding:5px 9px;font-size:11px}
.idlab-sha{font-size:11px;overflow-wrap:anywhere;color:#9fa3ad;margin:10px 0 12px}
.idlab-sha span{color:#ff8188;font-weight:800;letter-spacing:.07em}.idlab-sha code{color:#c9cbd2}
#mod-library-table tr[hidden]{display:none!important}
@media(max-width:580px){.idlab-actions{align-items:stretch;flex-direction:column;gap:12px}.idlab-actions .btn{width:100%}.idlab-header{gap:9px}.idlab-icon{width:44px;height:44px}}

/* ECUVO 2.7.4 — File Room / queue and weekly schedule */
.portal-top-status{gap:9px;white-space:nowrap}
.portal-top-caption{font-weight:680;color:#bcbec3}
.portal-service-indicator{border:0;padding:10px 15px;border-radius:8px;background:#183a31;color:#4bdf9a;font-weight:850;letter-spacing:0;font-size:13px}
.portal-service-indicator.is-closed{background:#422530;color:#ff5c71}
.room-schedule-wrap{position:relative;flex:none}
.portal-topbar .schedule-toggle{width:40px;height:40px;min-width:40px;display:grid;place-items:center;padding:7px}
.schedule-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.room-schedule-panel{position:absolute;z-index:1001;right:0;top:calc(100% + 14px);width:min(390px,calc(100vw - 22px));padding:22px 17px 14px;background:#292a2c;border:1px solid #47484b;border-radius:12px;box-shadow:0 19px 50px #0009;color:#f7f7f8;max-height:min(75vh,680px);overflow:auto}
.room-schedule-panel h2{font-weight:850;letter-spacing:-.02em;font-size:20px;margin:0 0 8px}
.room-schedule-panel>p{color:#aaaeb4;font-size:12px;margin:0 0 14px}
.room-week{display:grid;gap:1px}
.room-day{display:grid;grid-template-columns:14px 1fr auto;gap:13px;align-items:center;min-height:56px;padding:8px 10px;border-radius:6px}
.room-day.current{background:#383a3d}
.room-dot{width:12px;height:12px;border-radius:100%;display:block;background:#ed5664}
.room-dot.open{background:#4bc38e}
.room-day-label{display:flex;flex-direction:column;gap:4px}
.room-day-label strong{font-size:14px;font-weight:780}
.room-day-label small{font-size:11px;color:#b5b7bb}
.room-day-time{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.room-schedule-panel .room-now{text-align:center;font-size:11px;margin:16px 0 1px;color:#b5b8be}
.room-schedule-panel .room-now strong{color:#f5f6f7;font-weight:750}
.portal-topbar .user-pill button .notice-badge[hidden],.portal-topbar .user-pill button #notification-count[hidden]{display:none!important}
.room-admin-days{display:grid;gap:7px;margin-top:17px}
.room-admin-day{display:grid;grid-template-columns:minmax(100px,1fr) 120px 12px 120px;gap:8px;align-items:center;border:1px solid #3b3d41;border-radius:8px;background:#303236;padding:10px 12px}
.room-admin-day label{display:flex;align-items:center;gap:9px;font-size:13px}
.room-admin-day label input{accent-color:#f0444a}
.room-admin-day>input[type=time]{width:100%;min-width:0;padding:7px;background:#222326;color:white;border:1px solid #4e5156;border-radius:6px;color-scheme:dark}
.room-admin-day>input[type=time]:disabled{opacity:.42}
.room-admin-day>span{text-align:center;color:#8c9097}
@media(max-width:940px){.portal-top-status{display:flex;gap:7px}.portal-top-caption{display:none}.portal-topbar{gap:12px}.portal-topbar .brand{min-width:0}}
@media(max-width:720px){.portal-service-indicator{font-size:11px;padding:9px 7px}.portal-topbar .schedule-toggle{width:33px;height:33px;min-width:33px;padding:5px}.schedule-toggle svg{width:17px;height:17px}.portal-topbar .head-actions{gap:5px}.room-schedule-panel{top:calc(100% + 12px)}.portal-topbar .user-pill button{width:31px}}
@media(max-width:420px){.portal-topbar .user-pill button:last-child{display:flex}.portal-topbar .brand-copy small{display:none}.portal-topbar .brand-copy strong{font-size:18px}.portal-topbar{gap:4px;padding:0 8px}.portal-service-indicator{font-size:10px}.portal-topbar .mini-button{min-width:30px;padding:6px 4px}.portal-topbar .head-actions{gap:4px}.global-queue strong{min-width:28px}.portal-topbar .user-pill button{width:29px;padding:0}.room-schedule-panel{position:fixed;top:69px;left:8px;right:8px;width:auto}.room-admin-day{grid-template-columns:1fr 97px 9px 97px;gap:5px;padding:9px 7px}.room-admin-day>input[type=time]{padding:5px 2px}}

.portal-topbar .user-pill button #chat-count[hidden]{display:none!important}

/* ECUVO 2.7.5 — exact reference grouping: File Room: Closed | Queue: 0 */
.portal-topbar .head-actions{display:flex;align-items:center}
.portal-status-pair{display:inline-flex;align-items:center;gap:19px;flex:none;white-space:nowrap}
.portal-status-pair .portal-top-status{display:inline-flex;align-items:center;gap:13px;flex:none}
.portal-status-pair .portal-top-caption{display:inline;color:#bfc0c4;font-size:14px;font-weight:540}
.portal-status-pair .portal-service-indicator{padding:12px 17px;min-height:43px;border-radius:8px;background:#183a31;color:#46d89b;font-size:16px;font-weight:800}
.portal-status-pair .portal-service-indicator.is-closed{background:#392732;color:#ff495d}
.portal-status-pair .portal-status-divider{width:1px;height:24px;background:#4a4b4d;display:block;flex:none}
.portal-status-pair .global-queue{display:inline-flex;align-items:center;gap:16px;color:#bfc0c4;font-size:14px;font-weight:600}
.portal-status-pair .queue-label{display:inline;color:#bfc0c4}
.portal-status-pair .global-queue strong{min-width:44px;min-height:44px;padding:11px 12px;border-radius:8px;background:#17363b;color:#45dba0;font-size:17px;line-height:22px}
@media(max-width:1150px){.portal-topbar{gap:12px;padding-inline:14px}.portal-topbar .brand{min-width:0}.portal-status-pair{gap:13px}.portal-status-pair .portal-top-status{gap:8px}.portal-status-pair .global-queue{gap:8px}.portal-topbar .head-actions{gap:7px}.portal-status-pair .portal-top-caption,.portal-status-pair .queue-label{font-size:12px}}
@media(max-width:850px){.portal-status-pair .portal-top-caption,.portal-status-pair .queue-label{display:none}.portal-status-pair{gap:8px}.portal-status-pair .portal-service-indicator{font-size:12px;padding:10px 9px;min-height:34px}.portal-status-pair .global-queue strong{min-width:30px;min-height:34px;font-size:12px;line-height:16px;padding:9px 8px}.portal-status-pair .portal-status-divider{height:19px}}
@media(max-width:420px){.portal-topbar .head-actions{gap:4px}.portal-status-pair{gap:5px}.portal-status-pair .portal-service-indicator{font-size:10px;padding:8px 5px;min-height:31px}.portal-status-pair .global-queue strong{min-width:23px;min-height:31px;padding:7px 5px}.portal-status-pair .portal-status-divider{height:18px}}

/* Buy Credits sidebar uses the standard neutral navigation style; only .selected is red. */
.price-list-intro{background:linear-gradient(115deg,#29282b,#2f2026 76%,#4a232a);border:1px solid #4b3035;border-radius:10px;padding:24px 27px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}
.price-list-eyebrow{font-size:10px;letter-spacing:.13em;color:#ffa2a6;font-weight:800}
.price-list-intro h2{font-size:clamp(19px,2.5vw,28px);font-weight:850;letter-spacing:-.04em;margin:8px 0}
.price-list-intro p{font-size:13px;color:#c4bfc3;margin:0 0 15px}
.price-list-account{display:inline-block;font-size:11px;font-weight:700;color:#b8b8bf;background:#1f2024;padding:9px 12px;border-radius:7px}
.price-list-account strong{color:#fff}
.price-list-actions{display:flex;gap:8px;flex-wrap:wrap}
.price-list-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,410px),1fr));gap:18px;align-items:start}
.portal-main .price-list-section{padding:0;overflow:hidden}
.price-list-heading{padding:19px 21px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #3b3b3c}
.price-list-heading>span{display:grid;place-items:center;width:40px;height:40px;background:#44282e;border:1px solid #6a3139;border-radius:8px;flex-shrink:0}
.price-list-heading svg{width:21px;height:21px;stroke:#ff6069;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.price-list-heading small{display:block;color:#f2636b;font-size:10px;font-weight:800;letter-spacing:.12em}
.portal-main .price-list-heading h2{font-size:18px;margin:4px 0 0}
.price-list-section .table-wrap{overflow-x:auto}
.price-list-table{min-width:340px}
.price-list-table td,.price-list-table th{padding:13px 20px}
.price-list-table td:nth-child(n+2),.price-list-table th:nth-child(n+2){text-align:right;white-space:nowrap}
.price-list-service{display:flex;align-items:center;gap:10px}
.price-list-service svg{stroke:#ff686f;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;min-width:19px}.price-service-icon{width:28px;height:28px;min-width:28px;border-radius:10px;background:#2a2d32;border:1px solid #3e4248;display:grid;place-items:center;overflow:hidden}.price-service-icon img{display:block;width:100%;height:100%;object-fit:contain}
.price-list-service span{display:flex;flex-direction:column;gap:4px}
.price-list-service strong{font-size:12px;font-weight:750}
.price-list-service small{font-size:10px;color:#96979d}
.price-list-amount{font-size:16px;color:#fff;white-space:nowrap}
.price-list-amount small{font-size:10px;color:#d0aeb4}
.price-list-note{margin:17px 0;padding:13px 16px;background:#282729;border-left:3px solid #ee424b;border-radius:4px;font-size:12px;color:#c4c4c9;line-height:1.65}
@media(max-width:680px){.price-list-intro{padding:19px}.price-list-sections{grid-template-columns:minmax(0,1fr)}.price-list-table td,.price-list-table th{padding:13px 12px}.price-list-actions{width:100%}.price-list-actions .btn{flex:1}}

/* ECUVO v2.7.8 — credit purchase plan grid (responsive, no live checkout) */
.credit-plans-view{max-width:1260px;margin:0 auto;padding:3px 10px 45px;color:#f6f6f6}
.credit-plans-header{text-align:center;margin:7px auto 48px}
.credit-plans-header h1{font-size:clamp(27px,3vw,38px);letter-spacing:-.03em;margin:6px 0 16px;font-weight:830}
.credit-plans-header p{font-size:15px;font-weight:550;color:#d5d5d5}
.plan-inline-link{background:none;border:0;padding:0;font-weight:750;color:#ff454e;cursor:pointer}
.plan-draft-note{margin:-21px auto 28px;max-width:820px;color:#efc583;text-align:center;font-size:13px}
.credit-plans-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:35px}
.credit-plan-card{min-height:226px;position:relative;background:#323335;border:1px solid #37383a;border-radius:9px;display:flex;flex-direction:column;padding:27px 29px 24px;overflow:hidden}
.credit-plan-card h3{font-size:17px;margin:0 0 18px;color:#ff4952;font-weight:800}
.plan-amount{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.plan-amount strong{font-size:clamp(30px,2.7vw,43px);font-weight:850;letter-spacing:-.045em;line-height:1}
.plan-amount s{font-size:21px;color:#7f8082;text-decoration-thickness:2px}
.plan-vat{color:#bbbcc0;font-size:13px;margin:12px 0 17px}
.plan-benefits{min-height:69px;display:flex;flex-direction:column;gap:7px;font-size:12px;color:#c3c4c7}
.plan-benefits b{font-size:12px;color:#e5e5e7;font-weight:700}
.plan-benefits b::first-letter{color:#f8494e}
.plan-select{align-self:flex-start;margin-top:auto!important;padding:10px 20px!important;border-radius:5px!important}
.plan-ribbon{position:absolute;right:0;top:0;width:0;height:0;border-top:60px solid #f4444b;border-left:60px solid transparent;color:#fff;font-weight:900;font-size:18px;z-index:1}
.plan-ribbon::after{content:'%';position:absolute;top:-53px;right:7px;color:#fff;transform:rotate(44deg)}
.plan-ribbon{font-size:0}
.plan-payment-note{margin:24px 0 20px;color:#aeb0b4;font-size:13px;max-width:1000px}
.plan-future{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;color:#a5a6a8;font-size:13px}
.plan-future span{padding:10px 12px;border:1px dashed #555;border-radius:7px}
.plan-dialog-price{font-weight:850;color:#ff4e54;font-size:23px}
.plan-admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.plan-admin-grid label{display:flex;flex-direction:column;gap:5px;font-size:13px}
.plan-admin-grid .mini-input{width:100%;min-width:0}
@media(max-width:1200px){.credit-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}}
@media(max-width:680px){.credit-plans-header{margin-bottom:26px}.credit-plans-grid{grid-template-columns:1fr;gap:13px}.credit-plan-card{min-height:220px;padding:23px}.plan-admin-grid{grid-template-columns:repeat(2,1fr)}}

/* Keep the percentage glyph readable inside the sale corner. */
.plan-ribbon{width:59px;height:59px;border:0;background:linear-gradient(45deg,transparent 49%,#f4444b 50%);right:0;top:0;font-size:0}
.plan-ribbon::after{content:'%';position:absolute;right:10px;top:8px;color:#fff;transform:none;font-size:17px}

/* v2.8.0: self-hosted Czech bank QR payments */
.plan-future-methods{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 8px}.plan-future-methods span{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid #43444a;border-radius:9px;background:#242629;color:#bfc0c5;font-size:.84rem}.plan-future-methods svg{width:16px;height:16px}.qr-pay-flex{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin:20px 0}.qr-canvas{background:#fff;padding:10px;border-radius:10px;min-width:280px;min-height:280px;display:flex;justify-content:center;align-items:center}.qr-canvas svg{display:block;max-width:100%;height:auto}.qr-detail{display:grid;gap:12px;min-width:210px}.qr-detail strong{font-size:2rem;color:#f5f5f7}.qr-detail code{word-break:break-all;color:#f5f5f7}.qr-detail div{color:#bfc0c5;line-height:1.6}@media(max-width:490px){.qr-canvas{min-width:0;width:100%}.qr-canvas svg{width:min(280px,100%);height:auto}}

/* ECUVO v2.8.1 - concise administration and discoverable payment configuration */
.portal-setup-dot{width:8px;height:8px;min-width:8px;border-radius:50%;background:#ffad52;box-shadow:0 0 0 3px #ffad5220;margin-left:auto}
.portal-sidebar .payment-admin-link{border:1px solid #544143;background:#342829;color:#ffbec2}
.portal-sidebar .payment-admin-link:hover{background:#493133;color:white}
.portal-sidebar .payment-admin-link.selected{background:#ed424a;color:#fff}
.payment-admin-reminder,.payment-readiness{border:1px solid #6b4b37;background:#2e2826;border-radius:9px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.payment-admin-reminder strong,.payment-readiness strong{color:#fff;font-size:16px}
.payment-admin-reminder p,.payment-readiness p{font-size:12px;color:#c1b6b0;margin:5px 0 0}
.payment-admin-reminder button{white-space:nowrap}
.payment-readiness{max-width:920px;align-items:flex-start;flex-direction:column;margin-bottom:15px}
.payment-readiness.is-ready{border-color:#34765d;background:#222e2b}
.payment-checklist{display:flex;flex-wrap:wrap;gap:8px}
.payment-checklist span{border-radius:6px;padding:7px 9px;background:#363638;color:#d7d7d9;font-size:12px;font-weight:600}
.payment-checklist span.ready{color:#70daa7;background:#214435}
.payment-checklist span.missing{color:#ffc597;background:#534131}
.payment-shop-admin{display:inline-flex;gap:7px;align-items:center;margin:0 0 18px}
.payment-shop-admin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}
.admin-section-body{padding-bottom:20px}
@media(max-width:640px){.payment-admin-reminder{flex-direction:column;align-items:flex-start}.payment-readiness{padding:15px}.payment-checklist{display:grid;grid-template-columns:1fr 1fr;width:100%}.payment-checklist span{font-size:11px}.portal-topbar .user-pill button:last-child{display:inline-flex}}

/* v2.8.2: stable QR transfer state and lean administration */
.qr-active-banner{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:14px 18px;margin:0 auto 28px;max-width:1160px;background:#1f3530;border:1px solid #306951;border-radius:9px}
.qr-active-banner strong{color:#75e2b2}.qr-active-banner p{margin:5px 0 0;color:#cad4ce;font-size:12px;line-height:1.6}.qr-active-banner .btn{white-space:nowrap}
.qr-paid-btn{display:inline-flex;align-items:center;gap:7px;min-height:41px!important;background:#167b50!important;border-color:#299965!important;color:#fff!important;font-weight:800!important}
.qr-paid-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qr-paid-btn:disabled{opacity:.5;cursor:wait}.qr-review-note{color:#72e0ab;font-size:13px;font-weight:700}.qr-inline-notice,.form-inline-error{padding:10px 13px;color:#ffcece;background:#542b32;border-radius:7px;margin:12px 0;font-size:13px}.qr-inline-notice.hidden{display:none}
.qr-claimed-row{background:#21362b!important}.qr-claim-label{display:inline-block;margin-top:7px;font-size:11px;font-weight:700}.qr-claim-label.sent{color:#56daa0}.qr-claim-label.waiting{color:#f7cd88}
.ecuvo-admin-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 17px;padding:8px;background:#222426;border:1px solid #383a3d;border-radius:9px}
.ecuvo-admin-tab{cursor:pointer;border:1px solid transparent;border-radius:7px;color:#c5c7ca;background:transparent;font-size:12px;font-weight:700;padding:10px 14px;white-space:nowrap}
.ecuvo-admin-tab:hover{background:#383b3e;color:#fff}.ecuvo-admin-tab.active{background:#e9434b;color:#fff}
@media(max-width:680px){.qr-active-banner{flex-direction:column;align-items:flex-start}.ecuvo-admin-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.ecuvo-admin-tab{flex:0 0 auto}}

/* v2.8.3 – keep the primary sidebar compact; put QR controls together. */
.qr-active-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;flex-shrink:0}
.qr-active-actions .btn{min-height:39px}
.qr-cancel-btn{border-color:#555b64!important;color:#e2e3e7!important;background:#35383e!important}
.qr-cancel-btn:hover{border-color:#ed5b66!important;color:#fff!important}
.qr-cancel-btn:disabled{opacity:.5;cursor:wait}
@media(max-width:680px){.qr-active-actions{width:100%}.qr-active-actions .btn{flex:1 1 auto}}

/* v2.8.6: clear customer acknowledgement and multi-currency package price controls */
.credit-currency-select{display:inline-flex;gap:12px;align-items:center;margin:24px auto 0;color:#e5e7eb;font-size:14px;font-weight:750}
.credit-currency-select select{min-width:110px;background:#303134;border:1px solid #60636a;border-radius:9px;color:#fff;padding:11px 17px;font-weight:800;font-size:15px;cursor:pointer}
.credit-currency-select select:focus{outline:2px solid #ff454e;outline-offset:3px}
.currency-unavailable{margin:-15px 0 24px;padding:14px 18px;border:1px solid #7e6437;background:#30291e;color:#f1d19b;border-radius:9px;text-align:center}
.credit-fee-note{font-size:12px;font-weight:700;color:#f1bca6;margin:0 0 15px}
.currency-admin-section{border:1px solid #414348;border-radius:12px;padding:16px 18px;margin:8px 0 17px;min-width:0}
.currency-admin-section legend{color:#ff555e;font-weight:900;font-size:18px;padding:0 10px}
.currency-enable{display:flex;gap:10px;align-items:center;margin:2px 0 14px;color:#fafafa;font-weight:700}
.currency-enable input{accent-color:#ff464e;width:18px;height:18px}
.currency-admin-settings{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0 20px}
.currency-admin-settings label{display:flex;flex:1 1 200px;flex-direction:column;gap:7px;color:#cacbd0;font-size:13px;font-weight:700}
.currency-admin-settings input{padding:10px;color:#fff;background:#292b2f;border-radius:7px;border:1px solid #575960;width:100%;box-sizing:border-box}
.currency-quote{margin:18px 0;padding:14px 18px;background:#20272a;border:1px solid #394a4e;border-radius:10px;display:grid;gap:11px}
.currency-quote>div{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px}
.currency-quote>div>span{color:#bdc8cb}.currency-quote>div>strong{color:#f4f8fa;white-space:nowrap}
.currency-quote .currency-total{padding-top:13px;border-top:1px solid #536267;font-weight:900;font-size:17px}
.currency-quote .currency-total strong{color:#72dfaa;font-size:22px}
.currency-quote>p{margin:6px 0 0}
.qr-paid-btn{padding:19px 25px!important;min-height:62px!important;min-width:260px!important;
 background:linear-gradient(135deg,#00a567,#11814c)!important;border:2px solid #66eab3!important;
 border-radius:12px!important;font-size:17px!important;letter-spacing:.01em;box-shadow:0 0 0 4px #15a76529,0 9px 26px #0c80563b!important;justify-content:center;animation:ecuvo-paid-glow 2.4s ease-in-out infinite}
.qr-paid-btn:hover{filter:brightness(1.14);transform:translateY(-1px)}
.qr-paid-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.qr-paid-btn svg{width:21px;height:21px}.qr-paid-chevron{font-size:22px;font-weight:900}
@keyframes ecuvo-paid-glow{0%,100%{box-shadow:0 0 0 4px #15a76520,0 8px 20px #0c80562c}50%{box-shadow:0 0 0 7px #15a7652f,0 12px 30px #0c805651}}
@media(prefers-reduced-motion:reduce){.qr-paid-btn{animation:none}}
@media(max-width:570px){.credit-currency-select{display:flex;flex-direction:column}.qr-paid-btn{width:100%;min-width:0!important}.currency-quote>div{flex-wrap:wrap}.currency-total strong{margin-left:auto}}

/* v2.8.8: global latest modifications, country + flag, foreign details intentionally absent. */
.global-feed-row{grid-template-columns:36px minmax(170px,1.4fr) minmax(145px,1.5fr) minmax(125px,.9fr) auto;gap:14px}
.portal-query-country{display:flex;gap:9px;align-items:center;min-width:0;font-size:12px;font-weight:650;color:#dadde1}
.portal-query-country>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-country-flag{font-size:23px;line-height:1.15;flex-shrink:0}
@media(max-width:1150px){.global-feed-row{grid-template-columns:34px minmax(120px,1fr) minmax(130px,1fr) minmax(85px,.8fr) auto}}
@media(max-width:720px){.global-feed-row{grid-template-columns:30px minmax(0,1fr) auto;gap:9px}.global-feed-row .portal-query-mods{grid-column:2/4;grid-row:auto}.global-feed-row .portal-query-country{grid-column:2/4;grid-row:auto}.global-feed-row .portal-query-status{grid-column:3;grid-row:1}}

.portal-query-logo{background:transparent;border:0;width:44px;height:44px}
.portal-query-logo .make-logo{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#202227;border:1px solid #3d4046;color:#eef1f4;font-size:12px;font-weight:900;letter-spacing:-.04em;position:relative;overflow:hidden}
.portal-query-logo .badge-generic{background:linear-gradient(135deg,#343741,#1d2026)}
.portal-query-logo .badge-vw,.portal-query-logo .badge-skoda,.portal-query-logo .badge-mercedes,.portal-query-logo .badge-porsche,.portal-query-logo .badge-seat,.portal-query-logo .badge-cupra,.portal-query-logo .badge-ford,.portal-query-logo .badge-opel,.portal-query-logo .badge-renault,.portal-query-logo .badge-peugeot,.portal-query-logo .badge-mini,.portal-query-logo .badge-landrover{border-radius:50%}
.portal-query-logo .badge-vw{font-weight:950;border-color:#7f95ad;background:radial-gradient(circle at 30% 30%,#415d7b,#1c2530 70%)}
.portal-query-logo .badge-skoda{background:radial-gradient(circle at 35% 35%,#2c7b53,#183125 70%);border-color:#3d8d66}
.portal-query-logo .badge-mercedes{background:radial-gradient(circle at 35% 35%,#5f6672,#1b1f26 70%);border-color:#818896;font-size:18px}
.portal-query-logo .badge-porsche{background:linear-gradient(180deg,#7e5a2d,#281c10);border-color:#b38b47}
.portal-query-logo .badge-seat{background:linear-gradient(180deg,#9a2027,#311419);border-color:#d94450}
.portal-query-logo .badge-cupra{background:linear-gradient(180deg,#7b6439,#231d14);border-color:#b19157}
.portal-query-logo .badge-ford{background:linear-gradient(180deg,#24548d,#162334);border-color:#4e81bf}
.portal-query-logo .badge-opel{background:linear-gradient(180deg,#756635,#211d13);border-color:#b29a53}
.portal-query-logo .badge-renault{background:linear-gradient(180deg,#7e6a31,#221e13);border-color:#bea14f}
.portal-query-logo .badge-peugeot{background:linear-gradient(180deg,#2f3744,#191d24);border-color:#536073}
.portal-query-logo .badge-mini{background:linear-gradient(180deg,#555c69,#1d2128);border-color:#7f8896}
.portal-query-logo .badge-landrover{background:linear-gradient(180deg,#2b6d53,#173127);border-color:#3f8c6d;font-size:10px}
.portal-query-logo .badge-bmw{border-radius:50%;border-color:#7d8795;background:conic-gradient(from 45deg,#dfe7ef 0 25%,#6ab4ff 0 50%,#dfe7ef 0 75%,#6ab4ff 0);color:#09121d;font-size:0}
.portal-query-logo .badge-bmw span{position:absolute;font-size:7px;font-weight:900;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.55)}
.portal-query-logo .badge-bmw span:nth-child(1){top:4px;left:50%;transform:translateX(-50%)}
.portal-query-logo .badge-bmw span:nth-child(2){bottom:5px;left:6px}
.portal-query-logo .badge-bmw span:nth-child(3){bottom:5px;right:6px}
.portal-query-logo .badge-audi{background:transparent;border:none;width:40px;height:18px;gap:2px}
.portal-query-logo .badge-audi i{display:block;width:8px;height:8px;border:2px solid #cfd5dd;border-radius:50%}
.portal-query-country{justify-self:end;min-width:22px}
.portal-query-country .portal-country-flag{font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.portal-query-country>span:last-child{display:none}

/* SVG brand logos */
.portal-query-logo{background:transparent;border:0;width:44px;height:44px}
.portal-query-logo .make-logo{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;overflow:visible;background:transparent;border:0;border-radius:0;color:inherit;font-size:0;letter-spacing:0;position:relative}
.portal-query-logo .make-logo svg{width:38px;height:38px;display:block;overflow:visible}
.portal-query-logo .svg-audi svg{width:42px;height:18px}
.portal-query-logo .svg-generic svg rect{fill:#23262c;stroke:#575d68}
.portal-query-main .vehicle-model{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v2.8.12: genuine hosted SVG/PNG marque logos + SVG country flags */
.portal-query-row.global-feed-row .portal-query-logo{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:0;background:transparent}
.portal-query-logo .brand-logo-frame{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#f5f6f7;border:1px solid #72767e;overflow:hidden;padding:2px}
.portal-query-logo .brand-logo-image{display:block;width:39px;height:39px;max-width:100%;object-fit:contain}
.portal-query-logo .brand-logo-fallback{display:grid;place-items:center;width:41px;height:41px;background:#292b2f;border-radius:50%;color:#e1e3e8}
.portal-query-logo .brand-logo-fallback svg{width:20px;height:20px;stroke:currentColor}
.portal-query-country{justify-self:end;min-width:30px;display:flex;align-items:center}
.portal-query-country .country-flag-img,.profile-country-flag .country-flag-img{display:block;width:30px;height:23px;max-width:none;object-fit:cover;border-radius:3px;border:1px solid #6669;box-shadow:0 1px 4px #0004}
.profile-country-flag{display:inline-flex;align-items:center;justify-content:center}
.portal-query-country .country-unknown{font-size:21px;line-height:1}
@media (max-width:720px){.portal-query-row.global-feed-row .portal-query-logo{width:38px;height:38px}.portal-query-logo .brand-logo-frame{width:36px;height:36px}.portal-query-logo .brand-logo-image{width:33px;height:33px}.portal-query-row.global-feed-row{grid-template-columns:38px minmax(0,1fr) auto}}


/* ECUVO 2.8.13 — genuine manufacturer logos in the vehicle catalog */
.vdb-make-logo,.vdb-brand-symbol{display:grid;place-items:center;flex:none;background:transparent;border:0;overflow:visible}
.vdb-make-logo{width:52px;height:52px;min-width:52px}
.vdb-brand-symbol{background:#25272b}
.vdb-make-logo .brand-logo-frame,.vdb-brand-symbol .brand-logo-frame{display:grid;place-items:center;width:50px;height:50px;min-width:50px;min-height:50px;box-sizing:border-box;background:#f5f6f7;border:1px solid #72767e;border-radius:50%;overflow:hidden;padding:4px}
.vdb-make-logo .brand-logo-image,.vdb-brand-symbol .brand-logo-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.vdb-make-logo .brand-logo-fallback,.vdb-brand-symbol .brand-logo-fallback{display:grid;place-items:center;width:48px;height:48px;min-width:48px;border-radius:12px;border:1px solid #51545a;background:#34363c;color:#b6bbc5}
.vdb-make-logo .brand-logo-fallback svg,.vdb-brand-symbol .brand-logo-fallback svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}
.vdb-model-symbol.vdb-brand-symbol{width:60px;height:54px}
.vdb-generation-icon.vdb-brand-symbol{width:50px;height:49px}
.vdb-generation-icon.vdb-brand-symbol .brand-logo-frame{width:44px;height:44px;min-width:44px;min-height:44px}
.vdb-generation-icon.vdb-brand-symbol .brand-logo-fallback{width:44px;height:44px;min-width:44px}
@media(max-width:720px){
 .vdb-make-logo{width:39px;height:39px;min-width:39px}
 .vdb-make-logo .brand-logo-frame{width:38px;height:38px;min-width:38px;min-height:38px;padding:3px}
 .vdb-make-logo .brand-logo-fallback{width:36px;height:36px;min-width:36px}
 .vdb-model-symbol.vdb-brand-symbol{width:42px;height:42px;min-width:42px}
 .vdb-model-symbol.vdb-brand-symbol .brand-logo-frame{width:40px;height:40px;min-width:40px;min-height:40px;padding:3px}
 .vdb-model-symbol.vdb-brand-symbol .brand-logo-fallback{width:40px;height:40px;min-width:40px}
 .vdb-generation-icon.vdb-brand-symbol{width:38px;height:38px;min-width:38px}
 .vdb-generation-icon.vdb-brand-symbol .brand-logo-frame{width:36px;height:36px;min-width:36px;min-height:36px;padding:3px}
 .vdb-generation-icon.vdb-brand-symbol .brand-logo-fallback{width:36px;height:36px;min-width:36px}
}

/* v2.8.14 Vehicle detail / dyno / component positions */
.vdet-page{max-width:1500px;margin:auto;padding:5px 0 26px;color:#e8e9ec}
.vdet-back{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:#afb4bf;font-size:12px;font-weight:750;cursor:pointer;padding:8px 3px;margin:5px 0 18px}
.vdet-back:hover{color:#fa5a62}
.vdet-header{display:flex;align-items:center;gap:15px;margin-bottom:25px}
.vdet-header h1{font-size:clamp(22px,2.1vw,29px);letter-spacing:-.025em;line-height:1.2;margin:0 0 7px;color:#f4f4f5}
.vdet-header p{color:#aeb1b9;font-size:13px;margin:0}
.vdet-brand{width:58px;height:58px;flex:none;display:grid;place-items:center}
.vdet-brand .brand-logo-frame,.vdet-brand .brand-logo-fallback{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#f1f2f4;padding:4px}
.vdet-brand .brand-logo-image{width:100%;height:100%;object-fit:contain}
.vdet-brand .brand-logo-fallback{background:#34363b;padding:0;color:#b7b9bd}
.vdet-layout{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:23px;align-items:start}
.vdet-aside{border:1px solid #3c3f43;background:#242629;border-radius:10px;overflow:hidden}
.vdet-aside-title{font-size:20px;font-weight:800;padding:22px;border-bottom:1px solid #3c3f43}
.vdet-aside dl{margin:0;padding:13px 22px;display:grid;gap:7px}
.vdet-aside dt{font-size:12px;font-weight:850;color:#f4f5f6;margin-top:14px}
.vdet-aside dd{font-size:12px;color:#aeb0b7;margin:0;line-height:1.55;overflow-wrap:anywhere}
.vdet-aside-order{padding:0 22px 22px}.vdet-aside-order button{width:100%}
.vdet-main{display:grid;gap:13px;min-width:0}
.vdet-accordion{border:1px solid #43464b;background:#26282c;border-radius:9px;overflow:hidden}
.vdet-acc-head{border:0;background:#282a2d;display:flex;gap:14px;align-items:center;color:#f2f3f5;width:100%;min-height:75px;text-align:left;padding:12px 20px;cursor:pointer}
.vdet-acc-head:hover{background:#313134}
.vdet-acc-icon{font-style:italic;font-size:27px;font-weight:950;letter-spacing:-.12em;color:#9ea0a7;min-width:40px}.vdet-acc-icon span{color:#f24e54}
.vdet-acc-icon.eco{color:#b9e653}
.vdet-acc-name{flex:1;display:grid;gap:4px;min-width:0}
.vdet-acc-name b{font-size:14px}.vdet-acc-name small{font-size:11px;color:#a9abb2;font-weight:500}
.vdet-acc-preview{font-size:17px;font-weight:900;min-width:120px;text-align:right}
.vdet-acc-preview em{font-style:normal;font-size:13px;color:#abb0b8;margin-left:11px}
.vdet-acc-chevron{font-size:24px;color:#c0c5cd}
.vdet-stats{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.vdet-stats th,.vdet-stats td{border:2px solid #28282b;padding:15px 16px;font-size:12px;background:#393b3e}
.vdet-stats thead th{text-transform:uppercase;color:#dadde0;font-size:11px;letter-spacing:.03em}
.vdet-stats thead th:nth-child(3){background:#ef474f;color:#fff}
.vdet-stats thead th:nth-child(4){background:#4ec887;color:#fff}
.vdet-stats td:nth-child(3){background:#452a2b;color:#ff626b;font-weight:800}
.vdet-stats td:nth-child(4){background:#20383b;color:#5be39c;font-weight:800}
.vdet-stats tbody th{font-size:11px;color:#d3d4d7}
.vdet-dyno-panel{padding:0 0 21px}
.vdet-chart-wrap{background:#37393d;padding:17px 9px 15px}
.vdet-dyno{width:100%;display:block;max-height:490px}
.vdet-chart-labels{fill:#bec3c9;font-size:10px;font-weight:650}
.vdet-grid-line,.vdet-grid-vertical{stroke:#63676c;stroke-width:.8;stroke-dasharray:2 5;opacity:.65}
.vdet-dyno path{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.vdet-power-oem{stroke:#aaaeb4}.vdet-power-tuned{stroke:#fa4955}
.vdet-torque-oem{stroke:#aaaeb4;stroke-dasharray:3 5;stroke-width:2.4!important}
.vdet-torque-tuned{stroke:#ff5058;stroke-dasharray:3 5;stroke-width:2.4!important}
.vdet-legend{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin:6px 0 2px}
.vdet-legend span{font-size:10px;font-weight:750;color:#d6d8db;display:inline-flex;align-items:center;gap:6px}
.vdet-legend span:before{content:'';display:block;height:2px;width:20px;background:#aaaeb4}
.vdet-legend span.tuned:before{background:#fa4955}.vdet-legend span.dashed:before{background:repeating-linear-gradient(90deg,#aaaeb4 0 3px,transparent 3px 6px)}.vdet-legend span.tuned.dashed:before{background:repeating-linear-gradient(90deg,#fa4955 0 3px,transparent 3px 6px)}
.vdet-estimate-note{font-size:11px;color:#b1b5bd;line-height:1.6;margin:15px 20px}
.vdet-dyno-panel>button{margin-left:20px}
.vdet-eco-body{padding:22px 24px;background:#1b3538;color:#74e0b0;line-height:1.6;font-size:12px}
.vdet-eco-body b{font-size:14px}.vdet-eco-body p{max-width:850px}
.vdet-extras,.vdet-locations{margin-top:27px}.vdet-extras h2,.vdet-locations h2{font-size:21px;margin:0 0 16px}
.vdet-extras-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vdet-extra-card{background:#27292d;border:1px solid #3d4045;border-radius:9px;padding:15px;display:flex;gap:13px;align-items:center}
.vdet-extra-card>span{display:grid;place-items:center;flex:none;color:#ed555e}.extra-service-icon{width:42px;height:42px;min-width:42px;border-radius:12px;background:#2b2e33;border:1px solid #3b4047;display:grid;place-items:center;overflow:hidden}.extra-service-icon img{display:block;width:100%;height:100%;object-fit:contain}
.vdet-extra-card svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
.vdet-extra-card b{font-size:12px;display:block}.vdet-extra-card small{font-size:10px;color:#acb0b9;margin-top:6px;display:block}
.vdet-locations-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vdet-component{background:#27292c;border:1px solid #3b3e44;border-radius:10px;overflow:hidden}
.vdet-photo{height:180px;background:#202226;display:grid;place-items:center;overflow:hidden}
.vdet-photo img{width:100%;height:100%;object-fit:cover}
.vdet-photo-placeholder{color:#565b64}.vdet-photo-placeholder svg{width:75px;height:75px;stroke:currentColor;fill:none;stroke-width:1.15}
.vdet-component-body{padding:17px}.vdet-component-body>b{font-size:16px;color:#fff;display:block}
.vdet-component-body>strong{font-size:11px;color:#d8d9db;display:block;margin-top:6px}
.vdet-component-body>p{font-size:12px;color:#aaafb7;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}
.vdet-disclaimer{margin-top:18px;font-size:11px;color:#989da7;line-height:1.6}
.vdet-admin{margin:18px 0 24px;padding:18px;border:1px solid #474a51;background:#2a2d31;border-radius:10px}
.vdet-admin-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.vdet-admin-form .field.full{grid-column:1/-1}
.vdet-admin-part{display:grid;align-content:start;gap:12px;min-width:0}
.vdet-admin-part>strong{font-size:15px}
.vdet-admin-part textarea{min-height:94px;width:100%;background:#171b21;color:#f3f4f5;border:1px solid #4c5059;border-radius:8px;padding:10px;font-size:12px}
.vdet-admin-part input[type=file]{max-width:100%;font-size:11px;color:#dce0e7}
@media(max-width:1100px){.vdet-layout{grid-template-columns:250px minmax(0,1fr)}.vdet-extras-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.vdet-layout{grid-template-columns:1fr}.vdet-aside dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}.vdet-aside dt{margin-top:10px}.vdet-aside dd{margin-bottom:9px}.vdet-locations-grid{grid-template-columns:1fr}.vdet-extras-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vdet-admin-form{grid-template-columns:1fr}}
@media(max-width:520px){.vdet-header h1{font-size:20px}.vdet-header p{font-size:11px}.vdet-acc-head{padding:10px 12px;gap:7px;min-height:65px}.vdet-acc-preview{font-size:13px;min-width:60px}.vdet-acc-preview em{display:block;font-size:10px;margin:0}.vdet-stats th,.vdet-stats td{padding:9px 6px;font-size:10px}.vdet-stats thead th{font-size:10px}.vdet-chart-wrap{padding:10px 2px}.vdet-extras-grid{grid-template-columns:1fr}.vdet-photo{height:210px}.vdet-main{gap:9px}}

.brand-logo-frame.is-unavailable{background:#2d3037!important;color:#b9c1cc}.brand-logo-unavailable{display:grid;place-items:center}.brand-logo-unavailable svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.8}

/* Missing-vehicle shortcut: same size and structure as vehicle makes */
.vdb-missing-tile{border:1px dashed #ab5159;background:linear-gradient(125deg,#35292e,#292b30)}
.vdb-missing-tile:hover{background:linear-gradient(125deg,#48262f,#33343a);border-color:#fa626d}
.vdb-missing-icon{width:43px;height:43px;min-width:43px;border-radius:11px;background:#542b33;color:#ff98a0;display:grid;place-items:center;border:1px solid #864651}
.vdb-missing-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7}
.vdb-missing-tile .vdb-make-body{min-width:0;flex:1}
.vdb-missing-tile strong{white-space:normal;line-height:1.25;max-width:none}
.vdb-missing-tile small{max-width:none}

/* ECUVO 2.8.17 — per-engine fuel and service eligibility */
.vehicle-fuel-editor{margin:16px 0;padding:18px;background:#1c2228;border:1px solid #3d4952;border-radius:12px}
.vehicle-fuel-editor h4{font-size:15px;margin:0 0 8px}
.vehicle-fuel-editor p{line-height:1.5;margin:6px 0 14px}
.vehicle-fuel-editor .form-grid{margin:10px 0}
.vehicle-fuel-editor .field select{background:#141a20}
@media(max-width:600px){.vehicle-fuel-editor{padding:12px}.vehicle-fuel-editor .form-grid{grid-template-columns:1fr}}

/* Model-scoped ECU/OBD/SCR location reference metadata */
.vdet-admin-part{min-width:0}
.vdet-admin-part input[type=url]{width:100%}

.vdb-variant-request{border-style:dashed!important;border-color:#6d5364!important}.vdb-variant-request .vdb-variant-symbol{opacity:.75}.vdb-variant-request .small{margin:5px 0 0;line-height:1.5}

/* ECUVO v2.8.23 – admin-only ECU/HW editor */
.vehicle-ecu-editor{border:1px solid #39414b;background:#1c2028;border-radius:12px;padding:18px;margin:18px 0}
.vehicle-ecu-editor h3{margin:0 0 8px}.vehicle-ecu-editor p{margin:0 0 12px}
@media(max-width:700px){.vehicle-ecu-editor{padding:14px}}

/* ECU provenance – v2.8.24: advisory candidates are not confirmed ECU types */
.ecu-candidate-hint{display:block;margin-top:6px;line-height:1.5;font-size:11px;color:#c0af85;white-space:normal;overflow-wrap:anywhere}
.ecu-suggestion-list{border:1px solid #4c4133;background:#27251f;border-radius:12px;padding:16px;margin-bottom:15px}
.ecu-suggestion-list .small{line-height:1.65}
.ecu-suggestion-pills{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.ecu-suggestion-pills .btn{min-height:32px;font-size:11px;white-space:normal;text-align:left}
.ecu-private-refs{margin-top:12px;padding-top:12px;border-top:1px solid #494139;display:grid;gap:5px;font-size:11px;overflow-wrap:anywhere}
.ecu-private-refs strong{color:#d5cbb2}
.ecu-private-refs a{color:#e9b6a1;text-decoration:underline}
.ecu-private-refs small{color:#8f939b}
.ecu-coverage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.ecu-coverage-stats>div{background:#24262c;border:1px solid #383c44;border-radius:12px;padding:14px}
.ecu-coverage-stats b{font-size:25px;display:block;font-variant-numeric:tabular-nums}
.ecu-coverage-stats small{color:#b7bec8;display:block;font-size:11px;margin-top:7px}
@media(max-width:560px){.ecu-coverage-stats{gap:7px}.ecu-coverage-stats>div{padding:10px}.ecu-coverage-stats b{font-size:18px}.ecu-coverage-stats small{font-size:10px}}

.ecu-picker{display:grid;gap:8px;min-width:0}
.ecu-picker .field{margin:0;min-width:0}
.ecu-picker select,.ecu-picker input{width:100%;min-width:0;max-width:100%}
.ecu-picker [hidden],.dfb-reference [hidden]{display:none}
.vdb-variant-info .ecu-picker,.vdet-aside-order .ecu-picker{margin:12px 0}
.vdb-variant-info .ecu-picker .field>span,.vdet-aside-order .ecu-picker .field>span{font-size:12px}
.ecu-picker small{overflow-wrap:anywhere}
.dfb-reference{margin:12px 0}
.dfb-reference details{margin:8px 0}
.dfb-reference summary{padding:7px 0;cursor:pointer}
.ecu-coverage-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:640px){.ecu-coverage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.vdet-acc-head .vdet-acc-icon.has-image {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: transparent;
  border: 0;
}
.vdet-acc-icon.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#live-alerts{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;z-index:2147483000;width:min(440px,calc(100vw - 24px));pointer-events:none}
#live-alerts .notice{margin:0;overflow-wrap:anywhere;box-shadow:0 4px 18px #0005}
.news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.news-grid article{min-width:0;overflow-wrap:anywhere}
.news-grid p{white-space:pre-wrap}
@media(max-width:1050px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr}}

.localized-file{position:relative;display:flex;align-items:center;gap:10px;min-height:40px;min-width:0}
.localized-file input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
.localized-file:focus-within{outline:2px solid currentColor;outline-offset:2px}
.file-action{background:#34373e;color:#fff;padding:8px 12px;border-radius:6px;white-space:nowrap}
.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
