:root{--background:#e9edf2;--panel:#ffffffb8;--panel-strong:#ffffffe6;--panel-soft:#f7f9fbb8;--ink:#15171a;--muted:#666b73;--line:#5258602e;--glass-line:#ffffffc7;--glass-surface:#ffffffad;--glass-soft:#ffffff7a;--glass-control:#ffffffc2;--glass-hover:#fffffff0;--red-soft:#a4000012;--segmented-text:#666b73;--teal:#a40000;--teal-dark:#7d0000;--blue:#111;--ter-red:#a40000;--ter-black:#050505;--ter-stripe:#cfcfcf;--amber:#b96f00;--green:#1e7c45;--red:#b92f2f;--shadow:0 18px 48px #252a311c, inset 0 1px 0 #ffffffd1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--background:#111318;--panel:#1d2026c7;--panel-strong:#262930f0;--panel-soft:#2a2e35b3;--ink:#f4f5f7;--muted:#a9afb8;--line:#ffffff21;--glass-line:#ffffff1a;--glass-surface:#23262dc7;--glass-soft:#1e21279e;--glass-control:#30343cc7;--glass-hover:#393d46f0;--red-soft:#d63e3e24;--segmented-text:#d2d6dc;--teal:#e15a5a;--teal-dark:#ff8b8b;--ter-red:#d83f3f;--ter-black:#08090b;--amber:#f0ad4e;--green:#57bd7b;--red:#f77;--shadow:0 20px 54px #00000052, inset 0 1px 0 #ffffff14;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme]),:root[data-theme=system]{--background:#111318;--panel:#1d2026c7;--panel-strong:#262930f0;--panel-soft:#2a2e35b3;--ink:#f4f5f7;--muted:#a9afb8;--line:#ffffff21;--glass-line:#ffffff1a;--glass-surface:#23262dc7;--glass-soft:#1e21279e;--glass-control:#30343cc7;--glass-hover:#393d46f0;--red-soft:#d63e3e24;--segmented-text:#d2d6dc;--teal:#e15a5a;--teal-dark:#ff8b8b;--ter-red:#d83f3f;--ter-black:#08090b;--amber:#f0ad4e;--green:#57bd7b;--red:#f77;--shadow:0 20px 54px #00000052, inset 0 1px 0 #ffffff14;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html{background:var(--background);min-width:320px}body{color:var(--ink);background:var(--background);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}button,textarea,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.72}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:1;color:color-mix(in srgb, var(--ink) 72%, var(--muted));background:color-mix(in srgb, var(--glass-control) 70%, var(--background))}.app-shell{min-height:100vh;padding:18px 28px 36px}.workspace{width:min(1440px,100%);margin:0 auto}.topbar{z-index:50;border:1px solid var(--glass-line);background:var(--glass-surface);-webkit-backdrop-filter:blur(28px)saturate(170%);border-radius:8px;grid-template-columns:minmax(250px,auto) minmax(320px,1fr) auto;justify-content:space-between;align-items:center;gap:24px;width:100%;margin-bottom:18px;padding:10px 12px;display:grid;position:sticky;top:12px;box-shadow:0 12px 32px #23282f1a,inset 0 1px #fffffff2}.brand-lockup{align-items:center;gap:14px;min-width:0;display:flex}.brand-logo{box-sizing:border-box;background:#fffffff0;border-radius:6px;place-items:center;width:182px;height:73px;padding:5px 7px;display:grid;box-shadow:inset 0 1px #fff}.brand-logo img{grid-area:1/1;width:168px;height:auto}.brand-logo-dark{display:none}:root[data-theme=dark] .brand-logo{box-shadow:none;background:0 0}:root[data-theme=dark] .brand-logo-light{display:none}:root[data-theme=dark] .brand-logo-dark{display:block}@media (prefers-color-scheme:dark){:root:not([data-theme]) .brand-logo,:root[data-theme=system] .brand-logo{box-shadow:none;background:0 0}:root:not([data-theme]) .brand-logo-light,:root[data-theme=system] .brand-logo-light{display:none}:root:not([data-theme]) .brand-logo-dark,:root[data-theme=system] .brand-logo-dark{display:block}}.product-name{border-left:1px solid var(--line);color:var(--ink);padding-left:14px;font-size:.95rem;font-weight:750}.topbar-actions{justify-content:flex-end;align-items:center;gap:9px;display:flex}.universal-search{z-index:60;justify-self:center;width:min(650px,100%);min-width:0;position:relative}.universal-search-form{border:1px solid var(--line);background:var(--glass-control);-webkit-backdrop-filter:blur(22px)saturate(160%);border-radius:8px;grid-template-columns:20px minmax(0,1fr) auto 36px;align-items:center;min-height:44px;padding-left:12px;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffff24,0 4px 14px #14181c0f}.universal-search-form:focus-within{border-color:var(--ter-red);background:var(--glass-hover);box-shadow:0 0 0 3px color-mix(in srgb, var(--ter-red) 14%, transparent), inset 0 1px 0 #ffffff2e}.universal-search-leading{width:17px;height:17px;color:var(--muted)}.universal-search-form input{min-width:0;min-height:42px;box-shadow:none;color:var(--ink);background:0 0;border:0;border-radius:0;padding:0 10px;font-size:.9rem}.universal-search-form input:focus{box-shadow:none;background:0 0;border:0}.universal-search-form input::-webkit-search-cancel-button{display:none}.universal-search-clear,.universal-search-submit{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:inline-grid}.universal-search-clear:hover{background:var(--glass-soft);color:var(--ink)}.universal-search-submit{border-left:1px solid var(--line);background:color-mix(in srgb, var(--ter-red) 9%, transparent);width:36px;height:44px;color:var(--ter-red);border-radius:0}.universal-search-submit:hover:not(:disabled){background:var(--ter-red);color:#fff}.universal-search-clear svg,.universal-search-submit svg{width:16px;height:16px}.universal-search-results{border:1px solid var(--glass-line);background:var(--panel-strong);-webkit-backdrop-filter:blur(34px)saturate(170%);border-radius:8px;width:100%;min-width:min(620px,100vw - 48px);max-height:min(620px,100vh - 118px);padding:10px;position:absolute;top:calc(100% + 8px);left:0;overflow:hidden;box-shadow:0 24px 64px #0c0f143d,inset 0 1px #ffffff1f}.universal-search-status{min-height:74px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:.86rem;font-weight:800;display:flex}.universal-search-status.error{color:var(--red)}.universal-search-status svg{width:18px;height:18px}.universal-results-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:2px 2px 10px 6px;display:flex}.universal-results-heading>div{gap:3px;min-width:0;display:grid}.universal-results-heading strong,.universal-results-heading span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.universal-results-heading strong{font-size:.85rem}.universal-results-heading span{color:var(--muted);font-size:.72rem;font-weight:750}.universal-result-list{gap:6px;max-height:min(548px,100vh - 190px);padding:8px 2px 2px;display:grid;overflow-y:auto}.universal-result{background:var(--glass-soft);width:100%;min-height:72px;color:var(--ink);text-align:left;border:1px solid #0000;border-radius:7px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.universal-result:hover,.universal-result.selected{border-color:color-mix(in srgb, var(--ter-red) 50%, var(--line));background:var(--red-soft)}.universal-result>svg{width:19px;height:19px;color:var(--ter-red)}.universal-result-body{gap:3px;min-width:0;display:grid}.universal-result-title{align-items:center;gap:7px;min-width:0;display:flex}.universal-result-title strong,.universal-result-body>span,.universal-result-body>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.universal-result-title strong{font-size:.9rem}.universal-result-title small{border:1px solid var(--line);color:var(--muted);border-radius:999px;flex:none;padding:2px 6px;font-size:.62rem;font-weight:850}.universal-result-body>span{color:var(--ink);font-size:.78rem;font-weight:750}.universal-result-body>small{color:var(--muted);font-size:.7rem}.universal-result-total{color:var(--muted);justify-content:flex-end;align-items:center;gap:6px;display:flex}.universal-result-total strong{max-width:116px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.universal-result-total svg{width:15px;height:15px}.universal-search-empty{min-height:150px;color:var(--muted);text-align:center;align-content:center;justify-items:center;gap:7px;padding:20px;display:grid}.universal-search-empty svg{width:26px;height:26px;color:var(--ter-red)}.universal-search-empty strong{color:var(--ink);font-size:.88rem}.universal-search-empty span{max-width:380px;font-size:.76rem;line-height:1.4}.theme-control{border:1px solid var(--line);background:var(--glass-soft);border-radius:8px;grid-auto-flow:column;gap:2px;padding:3px;display:inline-grid;box-shadow:inset 0 1px #ffffff1f}.theme-control button{width:32px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:inline-grid}.theme-control button:hover{color:var(--ink)}.theme-control button.active{background:var(--glass-hover);color:var(--ink);box-shadow:0 2px 7px #14181c1f,inset 0 1px #ffffff38}.theme-control svg{width:15px;height:15px}.eyebrow,.section-label{color:var(--teal-dark);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:800}.status-chip{color:#fffffff0;background:#141517e6;border:1px solid #0000001f;border-radius:999px;flex:none;align-items:center;gap:8px;min-height:38px;padding:8px 12px;font-size:.88rem;font-weight:700;display:inline-flex;box-shadow:inset 0 1px #ffffff21}.status-chip span{background:var(--ter-red);border-radius:999px;width:8px;height:8px}.account-chip{border:1px solid var(--line);background:var(--glass-soft);border-radius:8px;align-items:center;gap:9px;min-width:0;min-height:38px;padding:6px 10px;display:inline-flex}.account-chip>svg{width:17px;height:17px;color:var(--ter-red);flex:none}.account-chip>span{min-width:0;line-height:1.15;display:grid}.account-chip strong,.account-chip small{text-overflow:ellipsis;white-space:nowrap;max-width:190px;overflow:hidden}.account-chip strong{font-size:.8rem}.account-chip small{color:var(--muted);margin-top:3px;font-size:.68rem;font-weight:700}.sign-out-action{width:38px;height:38px}.auth-shell{align-items:start;min-height:100vh;display:grid}.auth-workspace{grid-template-rows:auto 1fr;min-height:calc(100vh - 54px);display:grid}.access-panel{border:1px solid var(--glass-line);background:var(--panel);width:min(480px,100%);box-shadow:var(--shadow);text-align:center;-webkit-backdrop-filter:blur(30px)saturate(165%);border-radius:8px;place-self:center;justify-items:center;gap:12px;padding:34px;display:grid}.access-icon{border:1px solid color-mix(in srgb, var(--ter-red) 30%, var(--line));background:var(--red-soft);width:48px;height:48px;color:var(--ter-red);border-radius:50%;place-items:center;margin-bottom:2px;display:grid}.access-icon svg{width:22px;height:22px}.access-panel h1{letter-spacing:0;margin:0;font-size:1.55rem}.access-panel>p:not(.section-label){max-width:390px;color:var(--muted);margin:0 0 8px;font-size:.92rem;line-height:1.5}.access-sign-in{min-width:210px;text-decoration:none}.spin{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.command-panel,.data-panel,.empty-state{border:1px solid var(--glass-line);background:var(--panel);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(30px)saturate(165%);border-radius:8px}.command-panel{box-shadow:var(--shadow);width:100%;padding:22px}.panel-heading,.selected-header,.review-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.panel-heading h2,.selected-header h2,.review-header h2,.empty-state h2,.estimate-panel h2{letter-spacing:0;margin:4px 0 0;font-size:1.35rem;line-height:1.18}.panel-heading svg{width:28px;height:28px;color:var(--ter-red);flex:none}.panel-heading.compact h2{font-size:1rem}.quote-form{align-content:stretch;gap:0;margin-top:0;display:grid}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}label{gap:8px;display:grid}label span{color:var(--muted);font-size:.79rem;font-weight:700}.required-marker{color:var(--ter-red);margin-left:4px;font-style:normal;font-weight:900}textarea,select,input{border:1px solid var(--line);background:var(--glass-control);width:100%;color:var(--ink);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:8px;outline:none;box-shadow:inset 0 1px #fffffff2,0 1px 2px #14181c0a}textarea{resize:vertical;min-height:106px;padding:14px;font-size:1.03rem;line-height:1.45}select{min-height:44px;padding:0 12px}input{min-height:40px;padding:0 11px}textarea:focus,select:focus,input:focus,button:focus-visible{border-color:var(--teal);background:var(--glass-hover);outline:none;box-shadow:0 0 0 3px #a400001f,inset 0 1px #fff}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.quote-entry-layout,.results-layout{grid-template-columns:minmax(360px,.95fr) minmax(420px,1.25fr);width:100%;margin-top:18px;display:grid}.quote-entry-layout{align-items:start;column-gap:18px}.quote-search-column,.quote-details-column{align-content:start;gap:14px;width:100%;min-width:0;display:grid}.quote-form{grid-template-rows:58px auto;align-content:start;align-self:start;width:100%;min-width:0;margin:0}.needs-form-content{grid-template-rows:repeat(3,auto);align-content:start;gap:14px;min-height:0;padding:14px;display:grid}.needs-form-actions{flex-wrap:wrap;align-self:start;gap:10px;display:flex}.needs-form-actions .primary-action,.needs-form-actions .secondary-action{align-self:start}.quote-details-column>.netsuite-form{width:100%}.quote-search-column>.catalog-matches-panel{align-self:start}.quote-details-column>.package-preview{width:100%}.package-preview{border:1px solid var(--glass-line);background:var(--glass-surface);-webkit-backdrop-filter:blur(26px)saturate(165%);backdrop-filter:blur(26px)saturate(165%);border-radius:8px;gap:14px;padding:16px;display:grid;box-shadow:0 14px 34px #2329301a,inset 0 1px #fffffff0}.package-preview-header{justify-content:space-between;align-items:flex-start;gap:16px;min-height:62px;display:flex;overflow:hidden}.package-preview-header>div{min-width:0}.package-preview-header h3{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 2px;font-size:1.05rem;overflow:hidden}.package-preview-header>div>span,.package-preview p{color:var(--muted);font-size:.86rem;line-height:1.48}.package-preview-header>div>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.package-preview p{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;max-height:42px;margin:0;display:-webkit-box;overflow:hidden}.package-preview-meta{flex-wrap:wrap;gap:7px;min-height:31px;max-height:31px;display:flex;overflow:hidden}.package-preview-meta span{border:1px solid var(--line);background:var(--glass-soft);color:var(--muted);border-radius:999px;padding:5px 8px;font-size:.72rem;font-weight:750}.package-preview-actions{justify-content:flex-end;align-items:flex-end;min-height:42px;display:flex}.package-preview .package-metrics,.package-preview .line-preview{margin-top:0}.package-preview .metric{height:74px;min-height:74px}.icon-action{border:1px solid var(--line);background:var(--glass-soft);width:34px;height:34px;color:var(--muted);border-radius:8px;flex:none;place-items:center;display:inline-grid}.icon-action:hover{background:var(--glass-hover);color:var(--ink)}.icon-action svg{width:16px;height:16px}.persistent-items{padding-top:2px}.catalog-panel{border:1px solid var(--line);background:var(--glass-soft);-webkit-backdrop-filter:blur(20px)saturate(150%);backdrop-filter:blur(20px)saturate(150%);border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:inset 0 1px #ffffffe0}.catalog-filter{border:1px solid var(--line);background:var(--panel-soft);border-radius:6px;grid-auto-columns:minmax(76px,auto);grid-auto-flow:column;width:fit-content;margin-top:12px;display:inline-grid;overflow:hidden;box-shadow:inset 0 1px #ffffffe0}.catalog-panel>.catalog-filter{margin-top:0}.catalog-filter button{border:0;border-right:1px solid var(--line);min-height:34px;color:var(--segmented-text);background:0 0;border-radius:0;padding:0 11px;font-size:.78rem;font-weight:900}.catalog-filter button:last-child{border-right:0}.catalog-filter button:hover{background:var(--glass-hover);color:var(--ink)}.catalog-filter button.active{color:#fff;background:#141517eb}.vehicle-filter-summary{border-left:3px solid var(--ter-red);background:var(--glass-soft);border-radius:6px;align-items:center;gap:9px;width:fit-content;min-height:38px;margin-top:12px;padding:7px 10px;display:flex}.catalog-panel>.vehicle-filter-summary{width:100%;margin-top:0}.vehicle-filter-summary svg{width:18px;height:18px;color:var(--ter-red);flex:none}.vehicle-filter-summary>span{gap:2px;display:grid}.vehicle-filter-summary strong{font-size:.8rem}.vehicle-filter-summary small{color:var(--muted);font-size:.72rem;font-weight:800}.product-category-filter{width:min(360px,100%);margin-top:12px}.catalog-panel>.product-category-filter{width:100%;margin-top:0}.product-category-filter select{min-height:38px}.record-picker{min-width:0;position:relative}.record-menu{z-index:30;border:1px solid var(--line);border-color:var(--glass-line);background:var(--panel-strong);-webkit-backdrop-filter:blur(28px)saturate(170%);backdrop-filter:blur(28px)saturate(170%);border-radius:8px;max-height:320px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 20px 44px #181d2333,inset 0 1px #fff}.record-menu button{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:78px minmax(0,1fr);gap:10px;padding:9px;display:grid}.record-menu button:hover,.record-menu button:focus-visible{background:var(--red-soft)}.record-type{background:var(--ter-black);color:#fff;text-transform:uppercase;border-radius:4px;place-self:start;padding:4px 6px;font-size:.68rem;font-weight:900}.record-type.customer{background:var(--ter-red)}.record-type.package{background:#4b4b4b}.record-main{gap:3px;min-width:0;display:grid}.record-main strong,.record-main small,.record-main em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.record-main small{color:var(--muted);font-size:.78rem;font-style:normal}.record-main em{color:#777;font-size:.76rem;font-style:normal}.record-empty{color:var(--muted);padding:12px;font-size:.86rem;font-weight:800}.record-empty.error{color:var(--ter-red)}.selection-chips{flex-wrap:wrap;gap:8px;display:flex}.selection-chip{background:var(--red-soft);min-height:32px;color:var(--ink);border:1px solid #dfc7c7;border-radius:999px;align-items:center;gap:7px;padding:4px 5px 4px 10px;font-size:.82rem;font-weight:800;display:inline-flex;box-shadow:inset 0 1px #ffffffe6}.selection-chip strong{color:var(--ter-red);text-transform:uppercase;font-size:.7rem}.selection-chip-quantity{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:900}.selection-chip button{background:var(--ter-red);color:#fff;border:0;border-radius:999px;place-items:center;width:22px;height:22px;padding:0;display:inline-grid}.selection-chip svg{width:13px;height:13px}.quote-form,.netsuite-form{border:1px solid var(--glass-line);background:var(--glass-soft);-webkit-backdrop-filter:blur(26px)saturate(160%);backdrop-filter:blur(26px)saturate(160%);border-radius:8px;overflow:hidden;box-shadow:0 12px 34px #242a3117,inset 0 1px #fffffff0}.form-titlebar{border-bottom:1px solid var(--line);background:var(--glass-soft);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:12px 14px;display:flex;box-shadow:inset 0 1px #ffffff14}.form-titlebar p{color:var(--teal-dark);text-transform:uppercase;margin:0;font-size:.75rem;font-weight:900}.form-titlebar h3{color:var(--ink);letter-spacing:0;margin:2px 0 0;font-size:1.1rem}.form-id-badge{background:var(--panel-strong);text-align:right;border:1px solid #ffffff4d;border-radius:8px;gap:2px;min-width:98px;padding:8px 10px;display:grid}.form-id-badge span{color:var(--muted);font-size:.68rem;font-weight:900}.form-id-badge strong{font-size:1.05rem}.form-section-tabs{border-bottom:1px solid var(--line);background:var(--glass-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-wrap:wrap;gap:4px;padding:6px 12px;display:flex}.form-section-tabs button{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 13px;font-size:.78rem;font-weight:900}.form-section-tabs button:hover{background:var(--red-soft);color:var(--ink)}.form-section-tabs button.active{background:var(--glass-hover);color:var(--ink);box-shadow:0 2px 7px #14181c1a,inset 0 1px #ffffff1f}.form-sections{gap:16px;padding:14px;display:grid}.form-group{background:var(--glass-soft);min-width:0;box-shadow:inset 0 0 0 1px var(--line), inset 0 1px 0 #ffffff14;border-radius:8px;gap:14px;padding:15px;display:grid}.form-group-title{min-height:22px;color:var(--ink);align-items:center;gap:8px;display:flex}.form-group-title h4{letter-spacing:0;margin:0;font-size:.88rem;font-weight:760}.form-group-title svg{width:16px;height:16px;color:var(--teal)}.form-group-content{min-width:0}.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.vehicle-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.notes-grid textarea{min-height:84px;font-size:.95rem}.form-items-list{gap:8px;display:grid}.form-item-row{border:1px solid var(--line);background:var(--glass-surface);border-radius:8px;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.form-item-details{gap:3px;min-width:0;display:grid}.form-item-row strong,.form-item-row span,.form-item-row small{overflow-wrap:anywhere}.form-item-details>span,.form-item-row small,.form-items-empty span{color:var(--muted);font-size:.8rem;line-height:1.35}.quantity-control{justify-items:end;gap:5px;display:grid}.quantity-control>span{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:900}.quantity-stepper{border:1px solid var(--line);background:var(--glass-control);border-radius:8px;grid-template-columns:32px 50px 32px;height:34px;display:grid;overflow:hidden}.quantity-stepper:focus-within{border-color:var(--ter-red);box-shadow:0 0 0 3px #a400001f}.quantity-stepper button,.quantity-stepper input{width:100%;min-height:32px;color:var(--ink);background:0 0;border:0;border-radius:0;padding:0}.quantity-stepper button{place-items:center;display:grid}.quantity-stepper button:first-child{border-right:1px solid var(--line)}.quantity-stepper button:last-child{border-left:1px solid var(--line)}.quantity-stepper button:hover:not(:disabled){background:var(--red-soft);color:var(--ter-red)}.quantity-stepper button:disabled{color:var(--muted);opacity:.4}.quantity-stepper button svg{width:15px;height:15px}.quantity-stepper input{appearance:textfield;text-align:center;font-variant-numeric:tabular-nums;box-shadow:none;font-size:.9rem;font-weight:900}.quantity-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.quantity-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.quantity-stepper input:focus{box-shadow:none;background:0 0}.form-items-empty{border:1px dashed var(--line);background:var(--panel-soft);border-radius:8px;align-items:center;gap:12px;min-height:84px;padding:14px;display:flex}.form-items-empty>svg{width:24px;height:24px;color:var(--ter-red);flex:none}.form-items-empty>div{gap:4px;display:grid}.selected-items-actions{border-top:1px solid var(--line);justify-content:flex-end;margin-top:14px;padding-top:14px;display:flex}.readonly-quantity{min-width:64px;color:var(--muted);text-align:right;font-size:.76rem;font-weight:800}.role-access-notice{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);border-radius:8px;align-items:center;gap:9px;margin-top:14px;padding:11px 12px;font-size:.82rem;font-weight:700;line-height:1.4;display:flex}.role-access-notice svg{width:18px;height:18px;color:var(--ter-red);flex:none}.checkbox-field{border:1px solid var(--line);background:var(--glass-soft);border-radius:8px;align-items:center;gap:10px;min-height:64px;padding:10px;display:flex}.checkbox-field input{flex:none;width:18px;height:18px;min-height:18px}.checkbox-field span{color:var(--ink)}.panel-note{color:var(--muted);margin:10px 0 0;font-size:.9rem;line-height:1.4}.primary-action,.secondary-action,.ghost-action{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:800;display:inline-flex}.primary-action{background:var(--ter-red);color:#fff;width:fit-content}.primary-action:hover{background:var(--ter-black)}.secondary-action{border-color:var(--line);background:var(--panel-soft);color:var(--ink)}.ghost-action{color:var(--muted);background:0 0;border-color:#0000}.primary-action svg,.secondary-action svg{width:18px;height:18px}.results-layout{align-items:start;gap:18px;margin-inline:0}.left-column,.right-column{gap:18px;width:100%;min-width:0;display:grid}.data-panel{width:100%;padding:18px}.requirements-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.requirement,.metric,.estimate-detail{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:5px;min-height:74px;padding:12px;display:grid}.requirement span,.metric span,.estimate-detail span{color:var(--muted);font-size:.78rem;font-weight:800}.requirement strong,.metric strong,.estimate-detail strong{align-self:end;line-height:1.2}.confidence{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;align-items:center;gap:10px;min-width:106px;padding:9px 10px;display:inline-flex}.confidence svg{width:22px;height:22px;color:var(--blue)}.confidence div{gap:1px;display:grid}.confidence strong{line-height:1}.confidence span{color:var(--muted);font-size:.74rem;font-weight:800}.alias-list{gap:8px;margin-top:14px;display:grid}.alias-list>span{color:var(--muted);font-size:.8rem;font-weight:800}.alias-list div,.clarification-log{flex-wrap:wrap;gap:8px;display:flex}mark,.clarification-log span{color:var(--teal-dark);background:#a4000012;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.clarification-log{margin-top:14px}.clarification-log svg{width:14px;height:14px}.match-list{gap:10px;margin-top:16px;display:grid}.match-card{border:1px solid var(--line);background:var(--glass-surface);width:100%;min-height:92px;color:var(--ink);text-align:left;border-radius:8px;grid-template-columns:42px minmax(0,1fr) 54px;align-items:center;gap:12px;padding:12px;display:grid;box-shadow:inset 0 1px #ffffffe6}.match-card:hover,.match-card.selected{border-color:var(--teal);background:var(--red-soft)}.rank{background:var(--ink);color:#fff;border-radius:999px;place-items:center;width:34px;height:34px;font-size:.82rem;font-weight:800;display:inline-grid}.match-body{gap:4px;display:grid}.match-body strong{line-height:1.2}.match-body small,.reason-list{color:var(--muted)}.reason-list{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.score{color:var(--ink);text-align:right;font-weight:900}.catalog-match-list{gap:8px;max-height:520px;margin-top:14px;padding-right:3px;display:grid;overflow-y:auto}.catalog-matches-panel .catalog-match-list{max-height:420px}.catalog-match{border:1px solid var(--line);background:var(--glass-surface);width:100%;min-height:78px;color:var(--ink);text-align:left;border-radius:8px;grid-template-columns:76px minmax(0,1fr) 54px 64px;align-items:center;gap:11px;padding:10px;display:grid}.catalog-match:hover{border-color:var(--ter-red);background:var(--red-soft)}.catalog-match.selected{border-color:var(--green);background:color-mix(in srgb, var(--green) 12%, transparent)}.catalog-match .score{border:1px solid color-mix(in srgb, var(--ter-red) 38%, var(--line));background:var(--red-soft);min-width:54px;min-height:30px;color:var(--teal-dark);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;display:inline-flex}.catalog-match-body{gap:3px;min-width:0;display:grid}.catalog-match-body strong,.catalog-match-body span,.catalog-match-body small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.catalog-match-body span,.catalog-match-body small{color:var(--muted);font-size:.78rem}.catalog-add-state{color:var(--ter-red);justify-content:flex-end;align-items:center;gap:5px;font-size:.76rem;font-weight:900;display:inline-flex}.catalog-match.selected .catalog-add-state{color:var(--green)}.catalog-add-state svg{width:15px;height:15px}.catalog-no-results{border:1px dashed var(--line);background:var(--panel-soft);min-height:72px;color:var(--muted);border-radius:8px;align-items:center;gap:9px;margin-top:14px;padding:12px;font-size:.84rem;font-weight:800;display:flex}.catalog-no-results svg{width:18px;height:18px;color:var(--ter-red);flex:none}.success-panel,.estimate-panel{align-items:flex-start;gap:14px;display:flex}.success-panel>svg,.estimate-panel>svg{width:30px;height:30px;color:var(--green);flex:none}.question-stack{gap:12px;margin-top:16px;display:grid}.question{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;padding:13px}.question p{margin:0 0 10px;font-weight:800}.answer-options{flex-wrap:wrap;gap:8px;display:flex}.answer-options button{border:1px solid var(--line);background:var(--glass-surface);min-height:34px;color:var(--ink);border-radius:999px;padding:0 11px;font-size:.84rem;font-weight:800}.answer-options button:hover{border-color:var(--teal);color:var(--teal-dark)}.selected-header p,.review-header p,.empty-state p,.estimate-panel p{color:var(--muted);margin:7px 0 0;line-height:1.45}.package-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.line-preview{grid-template-rows:repeat(3,54px);gap:0;margin-top:16px;display:grid}.line-preview div{border-top:1px solid var(--line);grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;height:54px;min-height:54px;padding-top:8px;display:grid;overflow:hidden}.line-preview span{color:var(--muted);font-size:.8rem;font-weight:900}.line-preview strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.review-panel{overflow:hidden}.transaction-record-shell{margin-bottom:18px;scroll-margin-top:118px}.transaction-record-state{grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:12px;min-height:112px;display:grid}.transaction-record-state>svg{width:26px;height:26px;color:var(--ter-red)}.transaction-record-state.error>svg{color:var(--red)}.transaction-record-state h2{margin:4px 0 0;font-size:1.15rem}.transaction-record-state p:not(.section-label){color:var(--muted);margin:5px 0 0;font-size:.84rem}.transaction-open-link{text-decoration:none}.transaction-line-description{white-space:pre-wrap;line-height:1.45}.transaction-lines-empty{color:var(--muted);text-align:center!important;font-weight:750!important}.required-fields-alert{background:var(--red-soft);color:var(--ink);border:1px solid #a400003d;border-radius:8px;align-items:flex-start;gap:9px;margin-top:16px;padding:11px 12px;font-size:.84rem;font-weight:750;line-height:1.4;display:flex}.required-fields-alert svg{width:18px;height:18px;color:var(--ter-red);flex:none}.quote-profit-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.profitability-section{border-block:1px solid var(--line);margin-top:20px;padding:18px 0}.profitability-heading h3{letter-spacing:0;margin:4px 0 0;font-size:1.05rem}.profitability-table-wrap{border:1px solid var(--line);border-radius:8px;width:100%;margin-top:14px;overflow-x:auto}.profitability-table{table-layout:fixed;min-width:620px}.profitability-table th,.profitability-table td{text-align:right;vertical-align:middle;width:22%;padding:12px 14px}.profitability-table th:first-child,.profitability-table td:first-child{text-align:left;width:34%}.profitability-table tbody th{color:var(--muted);letter-spacing:0;text-transform:none;background:0 0;font-size:.8rem}.profitability-table tbody td{color:var(--ink);font-weight:850}.profitability-class{border:1px solid var(--line);border-radius:999px;align-items:center;min-height:26px;padding:3px 8px;font-size:.72rem;font-weight:900;display:inline-flex}.profitability-class.parts{background:color-mix(in srgb, var(--teal) 10%, transparent);color:var(--teal-dark)}.profitability-class.labor{background:color-mix(in srgb, var(--amber) 12%, transparent);color:var(--amber)}.review-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.table-wrap{border:1px solid var(--line);border-radius:8px;width:100%;margin-top:16px;overflow-x:auto}table{border-collapse:collapse;background:var(--panel-strong);width:100%;min-width:1240px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:11px 12px}th{background:var(--panel-soft);color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.76rem}td{font-size:.9rem}td:first-child{font-weight:900}td:first-child,td:nth-child(5),td:nth-child(6),td:nth-child(7),td:nth-child(8),td:nth-child(9),td:nth-child(10){text-align:right}.line-description-cell{min-width:320px}.line-description-input{resize:vertical;min-height:64px;padding:9px 10px;font-size:.86rem;line-height:1.4}.line-description-cell .required,.line-description-cell .optional{margin-top:6px;margin-left:0}.line-price-cell{min-width:150px}.line-price-input{border:1px solid var(--line);background:var(--glass-control);border-radius:7px;grid-template-columns:28px minmax(0,1fr);width:142px;min-height:36px;margin-left:auto;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffff1a}.line-price-input:focus-within{border-color:var(--ter-red);box-shadow:0 0 0 3px #e43d4124}.line-price-input.invalid{border-color:var(--ter-red)}.line-price-input>span{border-right:1px solid var(--line);color:var(--muted);place-items:center;font-weight:850;display:grid}.line-price-input input{width:100%;min-width:0;min-height:34px;box-shadow:none;color:var(--ink);font:inherit;text-align:right;background:0 0;border:0;border-radius:0;padding:0 9px;font-weight:850}.line-price-input input:focus{box-shadow:none;background:0 0;border:0;outline:0}.line-price-input input::-webkit-inner-spin-button{appearance:none;margin:0}.line-price-input input::-webkit-outer-spin-button{appearance:none;margin:0}tr:last-child td{border-bottom:0}.required,.optional{border-radius:999px;margin-left:8px;padding:3px 7px;font-size:.68rem;font-weight:900;display:inline-flex}.required{color:var(--green);background:#eaf5ee}.optional{background:color-mix(in srgb, var(--amber) 13%, transparent);color:var(--amber)}.estimate-panel{min-height:230px}.dialog-backdrop{z-index:100;background:#050505a3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.submit-dialog{border:1px solid var(--line);border-top:5px solid var(--ter-red);background:var(--panel-strong);border-radius:8px;grid-template-columns:46px minmax(0,1fr);gap:16px;width:min(560px,100%);max-height:calc(100vh - 40px);padding:22px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #00000052}.submit-dialog h2{letter-spacing:0;margin:4px 0 0;font-size:1.35rem}.submit-dialog p:not(.section-label){color:var(--muted);margin:9px 0 0;line-height:1.5}.submit-dialog-icon{background:var(--red-soft);width:46px;height:46px;color:var(--ter-red);border-radius:8px;place-items:center;display:grid}.submit-dialog-icon svg{width:22px;height:22px}.submit-dialog-summary,.submit-dialog-actions{grid-column:1/-1}.submit-dialog-summary{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;display:flex}.submit-dialog-summary span{color:var(--muted);font-size:.82rem;font-weight:800}.submit-dialog-pricing{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;display:grid}.submit-dialog-pricing>div{gap:5px;min-width:0;display:grid}.submit-dialog-pricing strong{overflow-wrap:anywhere}.submit-dialog-actions{justify-content:flex-end;gap:8px;display:flex}.estimate-warnings{color:var(--amber);gap:6px;margin-top:14px;font-size:.84rem;font-weight:700;display:grid}.estimate-link{margin-top:16px;text-decoration:none}.review-summary,.estimate-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.estimate-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapping-grid{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;padding:10px;display:grid}.mapping-grid div{border-bottom:1px solid var(--line);gap:4px;min-height:48px;padding:0 0 8px;display:grid}.mapping-grid div:nth-last-child(-n+2){border-bottom:0;padding-bottom:0}.mapping-grid span{color:var(--muted);font-size:.73rem;font-weight:900}.mapping-grid strong{overflow-wrap:anywhere;font-size:.86rem;line-height:1.25}.estimate-detail{min-height:56px;margin-top:10px}.empty-state{justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:24px;display:flex}.empty-state>svg{width:42px;height:42px;color:var(--teal);flex:none}.alert{border-radius:8px;align-items:center;gap:10px;margin-top:14px;padding:11px 12px;font-weight:800;display:flex}.alert.error{background:color-mix(in srgb, var(--red) 12%, transparent);color:var(--red);border:1px solid #b92f2f40}.alert svg{width:18px;height:18px}@media (max-width:980px){.app-shell{padding:18px}.brand-lockup{grid-template-columns:170px minmax(0,1fr)}.topbar,.results-layout,.quote-entry-layout,.empty-state{grid-template-columns:1fr}.topbar{grid-template-columns:minmax(0,1fr) auto;display:grid}.brand-lockup{grid-area:1/1}.topbar-actions{grid-area:1/2}.universal-search{grid-area:2/1/auto/-1;width:100%;max-width:none}.results-layout{margin-inline:0;display:grid}.status-chip{width:fit-content}.topbar-actions{justify-content:space-between}}@media (max-width:680px){.app-shell{padding:12px}.command-panel,.data-panel,.empty-state{padding:14px}.brand-lockup{grid-area:1/1;align-self:start;gap:10px}.topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px 8px;padding:9px 10px}.universal-search{grid-area:2/1/auto/-1}.topbar-actions{grid-area:1/2;grid-template-columns:auto 34px;grid-template-areas:"account account""theme logout";align-self:start;place-items:center end;gap:6px;display:grid}.topbar-actions .theme-control{grid-area:theme}.topbar-actions .theme-control button{width:30px}.topbar-actions .sign-out-action{grid-area:logout}.universal-search-results{min-width:0}.universal-result{grid-template-columns:28px minmax(0,1fr)}.universal-result-total{grid-column:2;justify-content:flex-start}.transaction-record-state{grid-template-columns:32px minmax(0,1fr) 34px}.brand-logo{width:128px;height:54px;padding:3px 5px}.brand-logo img{width:118px}.product-name{padding-left:10px;font-size:.78rem}.account-chip{grid-area:account;justify-self:end;gap:0;width:auto;max-width:116px;min-height:34px;padding:5px 8px}.account-chip>svg{display:none}.account-chip strong,.account-chip small{max-width:98px}.account-chip strong{font-size:.7rem}.account-chip small{margin-top:2px;font-size:.6rem}.auth-workspace .topbar>.theme-control{grid-area:1/2;justify-self:end}.access-panel{align-self:start;margin-top:48px;padding:26px 18px}.form-grid,.field-grid,.vehicle-grid,.notes-grid,.requirements-grid,.package-metrics,.quote-profit-metrics,.review-summary,.estimate-detail-grid,.mapping-grid,.submit-dialog-pricing{grid-template-columns:1fr}.panel-heading,.selected-header,.review-header,.empty-state{flex-direction:column;align-items:stretch}.match-card{grid-template-columns:36px minmax(0,1fr)}.catalog-match{grid-template-columns:1fr auto auto}.catalog-match .record-type{grid-area:1/1}.catalog-match .score{grid-area:1/2}.catalog-add-state{grid-area:1/3}.catalog-match-body{grid-column:1/-1}.score{text-align:left;grid-column:2}.line-preview div{grid-template-columns:1fr;gap:4px}.package-preview-header,.package-preview-meta,.package-preview>p,.package-preview-actions,.package-preview .metric,.line-preview div{height:auto;min-height:0;max-height:none}.line-preview{grid-template-rows:none}.primary-action,.secondary-action{width:100%}.submit-dialog{grid-template-columns:1fr;padding:18px}.submit-dialog-summary,.submit-dialog-actions{grid-column:1}.submit-dialog-actions{display:grid}.record-menu button{grid-template-columns:1fr}.form-item-row{grid-template-columns:64px minmax(0,1fr)}.quantity-control{grid-column:2;justify-items:start}.catalog-filter{grid-auto-columns:1fr;width:100%}}@media (max-width:380px){.brand-lockup{gap:8px}.brand-logo{width:92px;height:48px}.brand-logo img{width:84px}.product-name{padding-left:6px;font-size:.68rem}.account-chip{max-width:106px;padding-inline:7px}.account-chip strong,.account-chip small{max-width:92px}.topbar-actions{grid-template-columns:auto 32px}.topbar-actions .theme-control button{width:26px;height:28px}.topbar-actions .sign-out-action{width:32px;height:32px}}
