.payment-employee-dialog{width:min(450px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #bcc8ce;border-radius:8px;background:#fff;color:#202d36;box-shadow:0 20px 60px #0003;overflow-y:auto;letter-spacing:0}.payment-employee-dialog::backdrop{background:#10182070}.payment-employee-dialog form{padding:24px}.payment-employee-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.payment-employee-dialog h3{margin:5px 0 0;font-size:21px;line-height:1.3;letter-spacing:0}.payment-employee-dialog .eyebrow{margin:0;color:#586673;font-size:12px}.payment-vehicle-summary{display:grid;gap:5px;margin:20px 0;padding:14px 0;border-block:1px solid #dce2e7;font-size:14px}.payment-vehicle-summary span{color:#586673;overflow-wrap:anywhere}.payment-employee-field{display:grid;gap:8px;font-size:14px;font-weight:700}.payment-employee-field>span>small{display:block;margin-top:4px;color:#586673;font-size:12px;font-weight:400}.payment-employee-field select{width:100%;min-width:0;height:42px;padding:0 10px;background:#fff;color:#202d36;border:1px solid #919fa9;border-radius:4px;font:inherit;font-weight:400}.payment-employee-dialog select:focus-visible{outline:3px solid #b0283740;outline-offset:2px}.payment-employee-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}.payment-store-field{margin-bottom:18px}.payment-store-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.payment-store-label small,.payment-floating-label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:400;color:#456773}.payment-floating-label{margin:10px 0 0}.payment-employee-field select:disabled{background:#eef1f3;color:#586673;opacity:1}.payment-employee-add .payment-floating-toggle{display:flex;align-items:center;gap:7px;min-height:37px}.payment-employee-add .payment-floating-toggle input{width:17px;height:17px;margin:0;padding:0}.payment-employee-add select{margin-left:0;height:37px;max-width:200px}.payment-employee-dialog button:disabled{opacity:.5;cursor:not-allowed}.paid-employee-edit{display:inline-flex;align-items:center;align-self:start;gap:5px;padding:3px 0;background:none;border:0;color:#8f2231;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}.payment-employee-settings table{width:100%;border-collapse:collapse}.payment-employee-settings th,.payment-employee-settings td{padding:10px 12px;text-align:left;border-bottom:1px solid #dce2e7}.payment-employee-settings th{font-size:12px;color:#52626d}.payment-employee-settings th:last-child,.payment-employee-settings td:last-child{width:70px;text-align:center}.payment-employee-settings select{padding:8px;margin-left:8px;background:#fff;color:#202d36;border:1px solid #b7c2ca;border-radius:4px}.payment-employee-add{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:18px}.payment-employee-add label{display:grid;gap:6px;font-size:13px}.payment-employee-add label:first-child{flex:1 1 180px}.payment-employee-add label:nth-child(2){width:85px}.payment-employee-add input{box-sizing:border-box;width:100%;min-width:0;padding:9px;border:1px solid #b7c2ca;border-radius:4px;font:inherit}.payment-employee-add button{min-height:37px}.app-shell[data-theme=dark] .payment-employee-settings,.app-shell[data-theme=dark] .payment-employee-dialog{color:#202d36;background:#fff}@media(max-width:520px){.payment-employee-dialog form{padding:18px}.payment-employee-settings .settings-panel-header{flex-wrap:wrap}}.reports-help{padding:22px 0;max-width:1100px}.reports-help-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.reports-help-heading h3{margin:0;font-size:21px}.reports-help-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--uapi-border)}.reports-help-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px 0;border-bottom:1px solid var(--uapi-border)}.reports-help-file{color:var(--uapi-muted)}.reports-help-copy{min-width:0;overflow-wrap:anywhere}.reports-help-copy h4{margin:0 0 6px;font-size:17px}.reports-help-copy p{margin:0 0 9px;font-size:14px;line-height:1.5}.reports-help-copy small{color:var(--uapi-muted);font-size:12px}.reports-help-actions{display:flex;gap:8px;align-items:center}.reports-help-actions a{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--uapi-border);border-radius:5px;color:inherit;text-decoration:none;font-size:14px;font-weight:650}.reports-help-open{padding:0 13px}.reports-help-download{width:40px}.reports-help-actions a:hover{border-color:var(--uapi-red)}.reports-help-actions a:focus-visible{outline:2px solid var(--uapi-red);outline-offset:3px}.reports-help-error{max-width:600px}@media(max-width:650px){.reports-help-list li{grid-template-columns:24px minmax(0,1fr);gap:12px}.reports-help-actions{grid-column:2}}.tow-fees-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.tow-fees-section-heading .tow-fees-trigger{min-height:30px;height:30px;padding:0 10px;font-size:12px;font-weight:700;text-transform:none;flex-shrink:0}.tow-fees-dialog{--tow-ink: #252525;--tow-muted: #63686b;--tow-line: #d6dcdf;--tow-surface: #fff;--tow-band: #f1f4f5;color:var(--tow-ink);background:var(--tow-surface);width:min(640px,calc(100vw - 24px));max-width:none;max-height:min(800px,calc(100dvh - 32px));margin:auto;border:1px solid var(--tow-line);border-radius:8px;padding:0;box-shadow:0 20px 60px #0003;font-family:inherit;overflow:hidden}.tow-fees-dialog[open]{display:flex;flex-direction:column;height:min(800px,calc(100dvh - 32px))}.tow-fees-dialog::backdrop{background:#17202780}.tow-fees-dialog[data-theme=dark]{--tow-ink: #edf1f4;--tow-muted: #bdc5cd;--tow-line: #42505c;--tow-surface: #18232d;--tow-band: #243441}.tow-fees-dialog *{box-sizing:border-box;letter-spacing:0}.tow-fees-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px}.tow-fees-heading{display:flex;gap:12px;align-items:center;min-width:0}.tow-fees-heading>svg{color:#b21f24;flex-shrink:0}.tow-fees-heading h3{margin:2px 0 0;font-size:22px;line-height:1.25}.tow-fees-eyebrow{color:var(--tow-muted);margin:0;font-size:11px;font-weight:700;text-transform:uppercase}.tow-fees-header-actions{display:flex;gap:6px}.tow-fees-dialog .icon-button{width:36px;height:36px;min-width:36px}.tow-fees-dialog .icon-button,.tow-fees-dialog .secondary-button{background:var(--tow-surface);color:var(--tow-ink);border-color:var(--tow-line)}.tow-fees-context{display:flex;align-items:center;gap:8px;padding:11px 22px;background:var(--tow-band);border-block:1px solid var(--tow-line);font-size:13px;flex-wrap:wrap}.tow-fees-reference{color:var(--tow-muted);margin-left:auto;font-size:12px}.tow-fees-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px 22px}.tow-fees-filters label{display:grid;gap:7px;min-width:0}.tow-fees-filters label>span{font-size:12px;font-weight:700}.tow-fees-dialog input,.tow-fees-dialog select{font:inherit;color:var(--tow-ink);background:var(--tow-surface);width:100%;height:38px;min-width:0;padding:6px 9px;border:1px solid var(--tow-line);border-radius:4px;font-size:14px}.tow-fees-search{display:flex;align-items:center;border:1px solid var(--tow-line);border-radius:4px;padding-left:10px;gap:5px}.tow-fees-search>svg{color:var(--tow-muted);flex-shrink:0}.tow-fees-search input{border:0;height:36px}.tow-fees-search button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;color:var(--tow-muted);background:transparent;flex-shrink:0}.tow-fees-table-scroll{overflow-y:auto;min-height:140px;flex:1 1 auto;padding:0 22px;overscroll-behavior:contain;scrollbar-gutter:stable}.tow-fees-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.tow-fees-table th{position:sticky;top:0;background:var(--tow-band);padding:10px 12px;text-align:left;border-bottom:1px solid var(--tow-line);font-size:12px}.tow-fees-table td{padding:10px 12px;border-bottom:1px solid var(--tow-line);height:42px;overflow-wrap:anywhere}.tow-fees-price-col{width:125px}.tow-fees-active-col{width:68px}.tow-fees-table .tow-fees-price{text-align:right;font-variant-numeric:tabular-nums}.tow-fees-table td.tow-fees-price{font-weight:700}.tow-fees-location-match{background:#eaf5ee;color:#244d32}.tow-fees-dialog[data-theme=dark] .tow-fees-location-match{background:#243d31;color:#ddf4e3}.tow-fees-table td>svg{vertical-align:middle;margin-left:9px}.tow-fees-table input{height:32px;padding:4px 7px}.tow-fees-table input[type=checkbox]{width:17px;height:17px;accent-color:#b21f24;vertical-align:middle}.tow-fees-money{display:flex;align-items:center;gap:4px}.tow-fees-money input{text-align:right}.tow-fees-empty{padding:35px 8px;text-align:center;color:var(--tow-muted);font-size:14px}.tow-fees-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 22px;border-top:1px solid var(--tow-line)}.tow-fees-footer>span{font-size:12px;color:var(--tow-muted)}.tow-fees-footer>div{display:flex;gap:8px}.tow-fees-dialog .secondary-button,.tow-fees-dialog .primary-button{height:38px;min-height:38px;font-size:13px;padding:0 12px;white-space:nowrap;flex:0 0 auto}.tow-fees-add{display:grid;grid-template-columns:minmax(0,1fr) 100px 36px;gap:8px;padding:12px 22px;border-top:1px solid var(--tow-line)}.tow-fees-notice,.tow-fees-error{padding:10px 22px;margin:0 0 8px;font-size:13px;line-height:1.4}.tow-fees-notice{display:flex;align-items:center;gap:6px;color:#24623d;background:#eaf5ee}.tow-fees-error{color:#8f181c;background:#fdebed}.tow-fees-close-warning{padding:14px 22px;background:var(--tow-band);border-top:2px solid #b21f24}.tow-fees-close-warning>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tow-fees-dialog button:focus-visible,.tow-fees-dialog input:focus-visible,.tow-fees-dialog select:focus-visible{outline:2px solid #306e9e;outline-offset:2px}@media(max-width:520px){.tow-fees-header{padding:15px 14px}.tow-fees-heading{gap:8px}.tow-fees-heading h3{font-size:19px}.tow-fees-heading>svg{display:none}.tow-fees-context,.tow-fees-footer{padding:12px 14px}.tow-fees-filters{grid-template-columns:1fr;padding:14px;gap:10px}.tow-fees-table-scroll{padding:0 14px}.tow-fees-table th,.tow-fees-table td{padding:8px}.tow-fees-price-col{width:92px}.tow-fees-active-col{width:56px}.tow-fees-add{padding:10px 14px;grid-template-columns:minmax(0,1fr) 75px 36px}.tow-fees-dialog input,.tow-fees-dialog select{font-size:16px}.tow-fees-close-warning{padding:12px 14px}.tow-fees-close-warning>div{display:grid;grid-template-columns:1fr 1fr}.tow-fees-close-warning .primary-button{grid-column:1 / -1}}.tow-fees-retry{padding:0 22px 12px}.tow-fees-dialog button:disabled{cursor:not-allowed;opacity:.55}.active-wreckers-dialog{width:min(1160px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 60px);padding:0;border:1px solid #c7d1db;border-radius:8px;color:#20262d;background:#fff;box-shadow:0 12px 48px #0003;overflow:hidden;letter-spacing:0}.active-wreckers-dialog[open]{display:flex;flex-direction:column}.active-wreckers-dialog::backdrop{background:#171b2266}.active-wreckers-header,.active-wreckers-filters,.active-wreckers-actions{display:flex;align-items:center;gap:12px}.active-wreckers-header{justify-content:space-between;padding:18px 20px;border-bottom:1px solid #d6dfe7}.active-wreckers-header h2{display:flex;align-items:center;gap:9px;margin:0;font-size:21px}.active-wreckers-header p{margin:5px 0 0;font-size:14px}.active-wreckers-header p span{margin-left:12px;color:#596772}.active-wreckers-actions{flex:0 0 auto}.active-wreckers-filters{padding:14px 20px;flex-wrap:wrap;background:#f2f5f7;border-bottom:1px solid #d6dfe7}.active-wreckers-filters label{display:grid;gap:4px;min-width:180px;font-size:12px;font-weight:700}.active-wreckers-filters select{width:100%;min-height:36px;font:inherit;font-size:14px;color:inherit;background:#fff;border:1px solid #a9b7c2;border-radius:4px;padding:6px 28px 6px 8px}.active-wreckers-order{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#596772}.active-wreckers-scroll{overflow:auto;min-height:120px;min-width:0}.active-wreckers-scroll table{width:100%;border-collapse:collapse;font-size:14px;table-layout:auto}.active-wreckers-scroll th,.active-wreckers-scroll td{padding:13px 15px;text-align:left;border-bottom:1px solid #e1e6eb;overflow-wrap:anywhere}.active-wreckers-scroll th{position:sticky;top:0;background:#e9eef3;font-size:12px;white-space:nowrap;z-index:1}.active-wreckers-scroll tr:hover td{background:#f3f7fa}.dispatch-open-lead{display:inline-flex;align-items:center;gap:5px;text-align:left;border:0;background:transparent;padding:0;font:inherit;color:#185b89;cursor:pointer}.dispatch-open-lead:hover{text-decoration:underline}.dispatch-open-lead svg{flex:0 0 auto}.dispatch-open-lead strong{display:block;font-size:12px;margin-bottom:3px}.dispatch-elapsed{font-variant-numeric:tabular-nums;font-weight:750;white-space:nowrap}.dispatch-needs-time td:nth-child(5){color:#865710}.active-wreckers-error{margin:0;padding:10px 20px;background:#fff1e8;color:#8b3214;font-size:14px}.active-wreckers-empty{padding:20px;color:#596772;margin:0}.active-wreckers-footer{padding:10px 20px;font-size:12px;color:#596772;border-top:1px solid #d6dfe7}.active-wreckers-dialog[data-theme=dark]{color:#e8edf2;background:#22272c;border-color:#53606c}.active-wreckers-dialog[data-theme=dark] .active-wreckers-filters,.active-wreckers-dialog[data-theme=dark] th{background:#313a43}.active-wreckers-dialog[data-theme=dark] select{color:#e8edf2;background:#22272c}.active-wreckers-dialog[data-theme=dark] .dispatch-open-lead{color:#93cfff}.active-wreckers-dialog[data-theme=dark] tr:hover td{background:#313a43}.active-wreckers-dialog[data-theme=dark] :is(.active-wreckers-header p span,.active-wreckers-order,.active-wreckers-footer,.active-wreckers-empty){color:#bbc7d2}.active-wreckers-dialog[data-theme=dark] .dispatch-needs-time td:nth-child(5){color:#f4c87c}@media(max-width:700px){.active-wreckers-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.active-wreckers-header{padding:14px 12px;gap:8px}.active-wreckers-header h2{font-size:18px}.active-wreckers-header p span{display:block;margin:3px 0 0}.active-wreckers-filters{padding:12px;gap:10px}.active-wreckers-filters label{flex:1 1 135px;min-width:0}.active-wreckers-order{margin-left:0}.active-wreckers-scroll thead{display:none}.active-wreckers-scroll :is(table,tbody,tr){display:block}.active-wreckers-scroll tr{padding:10px 12px;border-bottom:1px solid #c7d1db}.active-wreckers-scroll td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;padding:6px 0;border:0}.active-wreckers-scroll td:before{content:attr(data-label);color:#657481;font-size:12px;font-weight:600}}.archive-import .archive-heading,.archive-import .archive-toolbar,.archive-import .archive-file,.archive-import .archive-actions,.archive-import .archive-pager,.archive-import .archive-row-controls{display:flex;align-items:center;gap:10px;min-width:0}.archive-import .archive-heading h3,.archive-import h4{margin:0}.archive-import .archive-toolbar{flex-wrap:wrap}.archive-import .archive-content{padding:18px;display:grid;gap:18px;min-width:0}.archive-import .archive-warning,.archive-import .archive-success{display:flex;gap:9px;align-items:center;margin:0;padding:12px;border-left:4px solid #ac7115;background:#fff5d9;color:#593d10}.archive-import .archive-success{border-color:#237946;background:#e9f6ed;color:#194d2e}.archive-import .archive-file{padding-bottom:10px;border-bottom:1px solid var(--section-border,var(--uapi-border));overflow-wrap:anywhere}.archive-import .archive-file .icon-button{margin-left:auto;flex-shrink:0}.archive-import .archive-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.archive-import label{display:grid;gap:6px;min-width:0;font-size:13px;font-weight:600}.archive-import select,.archive-import input:not([type=checkbox]):not([type=file]){width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--section-field-border,var(--uapi-border));border-radius:4px;padding:8px;font:inherit;min-height:38px;color:inherit;background:var(--section-field-bg,#fff)}.archive-import .archive-layout{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:20px;min-width:0}.archive-import .archive-sheets{margin:0;padding:10px 0;border:0;max-height:430px;overflow:auto;min-width:0}.archive-import .archive-sheets legend{font-weight:700}.archive-import .archive-sheets label{display:flex;align-items:center;padding:8px 2px;border-bottom:1px solid var(--section-border,var(--uapi-border));gap:8px}.archive-import .archive-sheets label span{overflow-wrap:anywhere;min-width:0}.archive-import .archive-sheets small{margin-left:auto;white-space:nowrap;font-weight:400}.archive-import .archive-mapping{display:grid;gap:12px;min-width:0}.archive-import summary{cursor:pointer;font-weight:700;padding:8px 0}.archive-import .archive-setup>.archive-options{margin:8px 0 18px}.archive-import .archive-field-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:310px;overflow:auto;padding:5px 8px 5px 2px}.archive-import .archive-summary{display:flex;flex-wrap:wrap;gap:10px 18px;border-block:1px solid var(--section-border,var(--uapi-border));padding:12px 0;font-size:13px}.archive-import [data-state=needs_review]{color:#8b480c}.archive-import .archive-row-controls{justify-content:space-between;flex-wrap:wrap}.archive-import .archive-row-controls label{grid-template-columns:auto minmax(130px,200px);align-items:center}.archive-import .archive-pager span{min-width:64px;text-align:center;font-variant-numeric:tabular-nums}.archive-import .archive-table-scroll{overflow:auto;max-width:100%;max-height:440px;border:1px solid var(--section-border,var(--uapi-border))}.archive-import .archive-table{border-collapse:collapse;table-layout:auto;width:100%;font-size:13px;min-width:680px}.archive-import .archive-table th,.archive-import .archive-table td{padding:9px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--section-border,var(--uapi-border));max-width:260px;overflow-wrap:anywhere}.archive-import .archive-table th{position:sticky;top:0;z-index:1;background:var(--section-heading,#eff2f4);color:var(--section-ink,#17212b);white-space:nowrap}.archive-import .archive-table td span{display:block;margin-top:4px;font-size:12px;max-width:260px}.archive-import .archive-table td:nth-child(2){white-space:nowrap}.archive-import .archive-table td:nth-child(1){min-width:125px}.archive-import .archive-table td:nth-child(3){min-width:85px}.archive-import .archive-table td:nth-child(4){min-width:125px}.archive-import .archive-table td:nth-child(5){min-width:150px}.archive-import .archive-history{display:grid;gap:10px;border-top:1px solid var(--section-border,var(--uapi-border));padding-top:16px;min-width:0}.archive-import .archive-empty{margin:0;padding:12px 0;opacity:.75;font-size:13px}.app-shell[data-theme=dark] .archive-import .archive-warning{background:#362b16;color:#f6d893}.app-shell[data-theme=dark] .archive-import .archive-success{background:#173626;color:#b9edcc}.app-shell[data-theme=dark] .archive-import [data-state=needs_review]{color:#f0c187}@media(max-width:700px){.archive-import .archive-layout,.archive-import .archive-options{grid-template-columns:1fr}.archive-import .archive-sheets{max-height:200px}.archive-import .archive-field-map{grid-template-columns:1fr}.archive-import .settings-panel-header{flex-wrap:wrap;gap:12px}.archive-import .archive-content{padding:12px}.archive-import .archive-actions button{max-width:100%;white-space:normal}.archive-import .archive-toolbar{width:100%}}.archive-search-toggle{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;font-size:14px;font-weight:600;cursor:pointer}.archive-search-toggle input{width:17px;height:17px;margin:0;accent-color:var(--uapi-red)}.archive-search-status{display:inline-block;margin-left:12px;min-width:80px;font-size:12px}.archived-grid-value{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px;min-height:28px}.archive-row-label{display:inline-block;font-size:12px;font-weight:700;color:#315c52}.lead-sheet-grid tr.is-archived .lead-sheet-row-number{border-left:3px solid #417a6d}.app-shell[data-theme=dark] .archive-row-label{color:#a8d9c7}.archive-lead-dialog{width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--section-border);border-radius:6px;background:#fff;color:var(--section-ink);overflow:auto}.archive-lead-dialog::backdrop{background:#00000073}.archive-lead-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;background:var(--section-heading);border-bottom:1px solid var(--section-border)}.archive-lead-heading>div{min-width:0}.archive-lead-heading .icon-button{flex-shrink:0}.archive-lead-heading h2{font-size:22px;margin:8px 0;overflow-wrap:anywhere}.archive-lead-heading p{margin:0;font-size:14px;overflow-wrap:anywhere}.archive-lead-kicker{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700}.archive-lead-content section{padding:16px 24px;border-bottom:1px solid var(--section-border)}.archive-lead-content section h3{margin:0 0 14px;font-size:16px}.archive-lead-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin:0}.archive-lead-fields dt{font-size:12px;font-weight:700;margin-bottom:4px}.archive-lead-fields dd{font-size:14px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.archive-lead-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.app-shell[data-theme=dark] .archive-lead-dialog{background:#18232a}@media(max-width:600px){.archive-lead-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.archive-lead-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.archive-lead-heading,.archive-lead-content section{padding:16px}.archive-lead-heading h2{font-size:20px}}:root{color:#211d19;background:#f3f1ea;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--uapi-black: #171717;--uapi-panel: #24201c;--uapi-red: #b21f24;--uapi-red-dark: #8f181c;--uapi-yellow: #f3c32f;--uapi-cream: #f8f5eb;--uapi-border: #d8d0bd;--uapi-muted: #6f675b}.fender-inventory-lookup{container-type:inline-size;margin-top:12px;padding-top:12px;border-top:1px solid var(--uapi-border)}.fender-lookup-header,.fender-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.fender-lookup-title{display:flex;align-items:center;gap:9px;min-width:0}.fender-lookup-title>span,.fender-subhead>div{display:grid;gap:2px;min-width:0}.fender-lookup-title strong,.fender-subhead strong{font-size:13px}.fender-lookup-title small,.fender-subhead small{color:var(--uapi-muted);font-size:11px;line-height:1.35}.fender-lookup-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fender-lookup-toggle{flex:0 0 auto;height:34px;padding-inline:11px;font-size:12px;font-weight:750}.fender-lookup-body{display:grid;gap:12px;padding-top:12px}.fender-model-field{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:10px;color:var(--uapi-muted);font-size:11px;font-weight:800;text-transform:uppercase}.fender-model-field select{min-width:0;height:34px;padding:0 30px 0 9px;border:1px solid var(--uapi-border);border-radius:6px;background:#fff;color:#211d19;font-size:12px;font-weight:650;text-transform:none}.fender-lookup-error{margin:0;padding:9px 10px;border-left:3px solid var(--uapi-red);background:#fff3f1;color:#7d1d21;font-size:12px;line-height:1.4}.fender-lookup-note{margin:0;padding:8px 10px;border-left:3px solid #d89a1a;background:#fff9e7;color:#61470d;font-size:12px;line-height:1.4}.fender-choice-section,.alternate-vehicle-section{display:grid;gap:8px;min-width:0}.fender-subhead .text-button{min-height:30px;padding:4px 2px;border:0;background:transparent;color:var(--uapi-red);display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;white-space:nowrap}.fender-choice-list{max-height:186px;overflow-y:auto;border-block:1px solid var(--uapi-border)}.fender-choice{width:100%;min-height:34px;padding:6px 8px;border:0;border-bottom:1px solid #e8e2d5;background:#fff;color:#211d19;display:grid;grid-template-columns:62px minmax(0,1fr) 52px;align-items:center;gap:8px;text-align:left;font-size:12px}.fender-choice:last-child{border-bottom:0}.fender-choice:hover,.fender-choice:focus-visible,.fender-choice.is-selected{background:#f7f1df}.fender-choice-code,.fender-choice-side,.alternate-store,.alternate-wholesale{font-weight:800}.fender-choice-description{min-width:0;overflow-wrap:anywhere}.fender-choice-side{text-align:right}.alternate-vehicle-table{min-width:0;border-block:1px solid var(--uapi-border)}.alternate-vehicle-results{max-height:300px;overflow-y:auto}.alternate-vehicle-row{display:grid;grid-template-columns:72px minmax(142px,1fr) 58px 68px 44px 84px 78px;align-items:center;gap:7px;min-height:38px;padding:5px 7px;border-bottom:1px solid #e8e2d5;font-size:11px}.alternate-vehicle-results .alternate-vehicle-row:last-child{border-bottom:0}.alternate-vehicle-columns{min-height:30px;background:#eee9de;color:var(--uapi-muted);font-size:10px;font-weight:800;text-transform:uppercase}.alternate-vehicle-row.is-selected-store{box-shadow:inset 3px 0 0 var(--uapi-yellow);background:#fffbed}.alternate-vehicle{min-width:0}.alternate-stock,.alternate-location{min-width:0;overflow-wrap:anywhere}.alternate-days-header{text-align:right}.alternate-vehicle strong,.alternate-vehicle small{display:block}.alternate-vehicle small{margin-top:2px;color:var(--uapi-muted);line-height:1.25;overflow-wrap:anywhere}.alternate-price,.alternate-days{display:grid;justify-items:end;font-variant-numeric:tabular-nums}.alternate-price>small,.alternate-days>small,.alternate-detail-label{display:none}.alternate-wholesale{color:#14753f}.alternate-retail{color:#0c5d91}.app-shell[data-theme=dark] .fender-model-field select,.app-shell[data-theme=dark] .fender-choice{border-color:#1e3348;background:#162230;color:#e0e6ed}.app-shell[data-theme=dark] .fender-choice:hover,.app-shell[data-theme=dark] .fender-choice:focus-visible,.app-shell[data-theme=dark] .fender-choice.is-selected,.app-shell[data-theme=dark] .alternate-vehicle-row.is-selected-store{background:#1b2a38}.app-shell[data-theme=dark] .fender-lookup-error{background:#b21f242e;color:#ffb8bb}.app-shell[data-theme=dark] .fender-lookup-note{background:#d89a1a24;color:#f9d48a}.app-shell[data-theme=dark] .alternate-vehicle-table,.app-shell[data-theme=dark] .fender-choice-list,.app-shell[data-theme=dark] .alternate-vehicle-row,.app-shell[data-theme=dark] .fender-inventory-lookup{border-color:#1e3348}.app-shell[data-theme=dark] .alternate-vehicle-columns{background:#101b26}.app-shell[data-theme=dark] .alternate-wholesale{color:#66d394}.app-shell[data-theme=dark] .alternate-retail{color:#75b9ea}@media(max-width:1360px){.lead-workspace.has-communication .alternate-vehicle-row{grid-template-columns:64px minmax(128px,1fr) 54px 60px 44px 78px 74px}}@media(max-width:700px){.fender-lookup-header,.fender-subhead{align-items:flex-start}.fender-lookup-toggle{width:34px;padding:0;overflow:hidden;gap:18px;color:transparent}.fender-lookup-toggle svg{flex:0 0 16px;color:#211d19}.app-shell[data-theme=dark] .fender-lookup-toggle svg{color:#e0e6ed}.fender-model-field{grid-template-columns:1fr;gap:5px}}@container (max-width: 650px){.alternate-vehicle-columns{display:none}.alternate-vehicle-row,.lead-workspace.has-communication .alternate-vehicle-row{grid-template-columns:minmax(0,1fr) 44px 68px 64px;grid-template-areas:"vehicle days wholesale retail" "store store stock location";gap:3px 8px;padding-block:8px}.alternate-store{grid-area:store}.alternate-vehicle{grid-area:vehicle}.alternate-stock{grid-area:stock}.alternate-location{grid-area:location}.alternate-days{grid-area:days}.alternate-wholesale{grid-area:wholesale}.alternate-retail{grid-area:retail}.alternate-price>small,.alternate-days>small{display:block;color:var(--uapi-muted);font-size:9px;font-weight:700;line-height:1.1;text-transform:uppercase}.alternate-detail-label{display:inline;color:var(--uapi-muted);font-size:inherit}}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.app-shell.sidebar-collapsed{grid-template-columns:84px minmax(0,1fr)}.sidebar{background:var(--uapi-black);color:#fffaf0;padding:24px;display:flex;flex-direction:column;gap:28px}.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark,.metric-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:var(--uapi-yellow);color:var(--uapi-black)}.brand h1,.brand p,.topbar h2,.topbar p,.table-header h3,.table-header p,.form-header h3,.form-header p{margin:0}.brand h1{font-size:22px}.brand-copy{min-width:0}.sidebar-toggle{flex:0 0 auto;background:#2a2621;border-color:#4a4034;color:#fffaf0}.brand p,.sidebar-note p,.table-header p,.metric-card span,.eyebrow,small{color:var(--uapi-muted)}.sidebar .brand p,.sidebar-note p{color:#d9cfb8}.nav-list{display:grid;gap:8px}.nav-list button{height:44px;border:0;border-radius:8px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#efe5cf;background:transparent;text-align:left}.nav-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-list button.active,.nav-list button:hover{background:var(--uapi-red);color:#fff}.sidebar-note{margin-top:auto;padding:16px;border:1px solid #4a4034;border-radius:8px;background:var(--uapi-panel)}.sidebar-note strong{display:block;margin-bottom:8px}.sidebar-collapsed .sidebar{padding:20px;align-items:center}.sidebar-collapsed .sidebar-top{flex-direction:column}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-list button span,.sidebar-collapsed .sidebar-note{display:none}.sidebar-collapsed .nav-list button{width:44px;padding:0;justify-content:center}.workspace{padding:14px 18px 18px;display:flex;flex-direction:column;gap:10px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:14px}.topbar h2{font-size:26px;line-height:1.1}.topbar-title-input{width:min(620px,100%);border:0;border-bottom:2px solid #d8d0bd;border-radius:0;padding:0 0 3px;background:transparent;color:var(--uapi-black);font-size:26px;font-weight:850;line-height:1.1}.topbar-title-input:focus{outline:0;border-bottom-color:var(--uapi-yellow)}.topbar-title-input:disabled{color:var(--uapi-black);opacity:1}.connection-line{margin-top:3px;color:var(--uapi-muted);font-size:12px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:0;font-weight:800}.topbar-actions,.form-actions{display:flex;gap:8px;align-items:center}.icon-button,.primary-button,.secondary-button{height:42px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;color:#211d19;display:inline-flex;align-items:center;justify-content:center;gap:8px}.topbar-actions .icon-button,.topbar-actions .primary-button,.topbar-actions .secondary-button{height:36px}.icon-button{width:42px;padding:0}.primary-button{padding:0 16px;background:var(--uapi-red);color:#fff;border-color:var(--uapi-red);font-weight:750}.primary-button:hover{background:var(--uapi-red-dark);border-color:var(--uapi-red-dark)}.secondary-button{padding:0 16px}.danger{color:var(--uapi-red)}.metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px}.metric-card{background:#fff;border:1px solid var(--uapi-border);border-radius:8px;padding:16px;display:grid;gap:8px}.metric-card svg{width:20px;height:20px}.metric-card strong{font-size:26px}.board-switcher{display:flex;gap:8px;align-items:center;overflow-x:auto}.board-switcher button{min-height:34px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;color:#211d19;padding:0 14px;font-weight:800;white-space:nowrap}.board-switcher button.active,.board-switcher button:hover{background:var(--uapi-red);border-color:var(--uapi-red);color:#fff}.board-switcher .attention-filter{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.board-switcher .clear-filters{display:inline-flex;align-items:center;gap:6px}.board-switcher .attention-filter>span{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:10px;background:#211d19;color:#fff;padding:0 5px;font-size:11px;line-height:1}.board-switcher .attention-filter.active{background:#d9aa12;border-color:#bd9000;color:#211d19}.board-switcher .attention-filter.active>span{background:#211d19;color:#fff}.board-sheet-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:-4px}.board-sheet-strip-scroll{min-width:0;display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.board-sheet-chip,.board-sheet-new-button{min-height:36px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:800}.board-sheet-chip{border:1px solid #e0d5bf;border-radius:8px;background:#fffaf0;color:#211d19;padding:0 12px}.board-sheet-chip:hover{background:var(--uapi-yellow);border-color:var(--uapi-yellow)}.board-sheet-empty{min-height:36px;display:inline-flex;align-items:center;color:var(--uapi-muted);font-size:12px;font-weight:800;padding:0 4px;white-space:nowrap}.filters-band{display:grid;grid-template-columns:minmax(260px,1fr) repeat(5,minmax(134px,172px));gap:8px;align-items:center}.search-box,.filter-select,.field{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--uapi-border);border-radius:8px;min-height:38px;padding:0 12px}.filter-label{color:#7b7168;font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase;white-space:nowrap}.search-box input,.filter-select select,.field input,.field select,.field textarea{width:100%;border:0;outline:0;background:transparent;color:#211d19;min-width:0}.search-box:focus-within,.filter-select:focus-within,.field:focus-within,.photo-upload-field:focus-within{border-color:var(--uapi-red);box-shadow:0 0 0 3px #b21f2429}[data-presence-tone=blue]{--presence-light: #2463a5;--presence-light-bg: #edf5ff;--presence-dark: #75b9ff;--presence-dark-bg: #18354a}[data-presence-tone=green]{--presence-light: #247248;--presence-light-bg: #edf8f1;--presence-dark: #6fcd9b;--presence-dark-bg: #193b2d}[data-presence-tone=gold]{--presence-light: #886200;--presence-light-bg: #fff8e6;--presence-dark: #e7c15b;--presence-dark-bg: #40341a}[data-presence-tone=rose]{--presence-light: #ad3151;--presence-light-bg: #ffeff3;--presence-dark: #ff91ad;--presence-dark-bg: #43232e}[data-presence-tone=violet]{--presence-light: #6946a1;--presence-light-bg: #f5efff;--presence-dark: #c5a5ff;--presence-dark-bg: #332548}[data-presence-tone=teal]{--presence-light: #007779;--presence-light-bg: #e8f8f8;--presence-dark: #58cfd1;--presence-dark-bg: #153a3c}[data-presence-tone=orange]{--presence-light: #b45309;--presence-light-bg: #fff3e9;--presence-dark: #ffb173;--presence-dark-bg: #432e1d}[data-presence-tone=indigo]{--presence-light: #3f51b5;--presence-light-bg: #f0f1ff;--presence-dark: #a1b0ff;--presence-dark-bg: #282f50}[data-presence-tone=magenta]{--presence-light: #a52691;--presence-light-bg: #fff0fc;--presence-dark: #f3a0e5;--presence-dark-bg: #40223d}[data-presence-tone=olive]{--presence-light: #66751a;--presence-light-bg: #f5f8e8;--presence-dark: #bfce72;--presence-dark-bg: #323b1e}[data-presence-tone]{--presence-color: var(--presence-light);--presence-bg: var(--presence-light-bg)}.app-shell[data-theme=dark] [data-presence-tone]{--presence-color: var(--presence-dark);--presence-bg: var(--presence-dark-bg)}.field.is-presence-editing{border-color:var(--presence-color);box-shadow:0 0 0 3px var(--presence-bg)}.lead-form .field.is-presence-editing{margin-bottom:12px}.field-presence-note{position:absolute;right:8px;bottom:-17px;z-index:1;color:var(--presence-color);font-size:10px;font-weight:800;line-height:1;pointer-events:none;text-transform:uppercase;white-space:nowrap;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis}.field .field-presence-note [data-presence-tone]{color:var(--presence-color);font-size:inherit}.choice-field{position:relative}.choice-menu{position:absolute;z-index:80;top:calc(100% + 4px);right:-1px;left:-1px;max-height:220px;overflow:auto;padding:4px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;box-shadow:0 14px 34px #2a262129}.choice-option{display:flex;align-items:center;width:100%;min-height:34px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#211d19;font:inherit;text-align:left;cursor:pointer}.choice-option:hover,.choice-option:focus-visible{background:#fff8e4;color:var(--uapi-red)}button:focus-visible,a:focus-visible{outline:3px solid rgba(178,31,36,.34);outline-offset:2px}.table-wrap{background:#fff;border:1px solid var(--uapi-border);border-radius:8px;overflow:hidden;max-height:calc(100vh - 132px);display:flex;flex-direction:column}.table-header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px 8px;border-bottom:1px solid #e7dec9;background:#fff}.table-header h3{font-size:15px;line-height:1.2}.table-header p{font-size:12px}.table-header-actions{display:flex;align-items:center;gap:8px}.pager{display:flex;align-items:center;gap:8px;color:var(--uapi-muted);font-size:12px;font-weight:750}.pager .secondary-button{height:34px;padding:0 10px}.lead-sheet-scroll{min-height:0;overflow:auto;flex:1;scrollbar-color:#bdb7ad #f0f1f2;scrollbar-width:thin}.lead-sheet-grid{width:auto;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#fff;font-size:11px}.lead-sheet-grid th,.lead-sheet-grid td{height:29px;padding:0;overflow:hidden;border-right:1px solid #e3e6e8;border-bottom:1px solid #e3e6e8;text-align:left}.lead-sheet-grid th{position:sticky;z-index:6;top:0;height:30px;padding:0 3px;background:#2a2621;color:#f3c32f;font-size:11px;font-weight:820;text-transform:uppercase;-webkit-user-select:none;user-select:none}.lead-sheet-grid .lead-sheet-row-number{position:sticky;z-index:7;left:0;width:var(--lead-row-number-width, 28px);min-width:var(--lead-row-number-width, 28px);max-width:var(--lead-row-number-width, 28px);background:#f0f1f2;color:#746e65;text-align:center}.lead-sheet-grid th.lead-sheet-row-number{z-index:9;background:#201d1a;color:#d8ccb6}.lead-sheet-grid .lead-sheet-attention-cell{position:sticky;z-index:7;left:var(--lead-row-number-width, 28px);width:32px;min-width:32px;max-width:32px;padding:0;background:#fff;text-align:center}.lead-sheet-grid th.lead-sheet-attention-cell{z-index:9;background:#201d1a;color:#f3c32f}.lead-sheet-grid th.lead-sheet-attention-cell svg{display:block;margin:0 auto}.lead-sheet-grid tbody tr:hover td{background:#f4f8fb}.lead-sheet-grid tbody tr:hover .lead-sheet-row-number{background:#e5ebef}.lead-sheet-grid tbody tr:not(.lead-sheet-quick-row){cursor:pointer}.lead-sheet-grid .lead-sheet-editor{width:100%;height:28px;min-width:0;padding:0 3px;overflow:hidden;border:0;border-radius:0;outline:0;background:transparent;color:#211d19;font-size:13px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.lead-sheet-grid input[list].lead-sheet-editor{padding-right:18px}.grid-choice-input{display:block;position:relative;width:100%;height:28px}.grid-choice-input .lead-sheet-editor{padding-right:15px}.grid-choice-chevron{position:absolute;right:2px;top:8px;pointer-events:none;color:#6c747b}.grid-choice-menu{position:fixed;z-index:2500;overflow:auto;padding:3px;border:1px solid #9da8b2;border-radius:4px;background:#fff;color:#211d19;box-shadow:0 4px 14px #00000026;font-size:13px;overscroll-behavior:contain}.grid-choice-menu button{display:block;width:100%;min-height:28px;padding:5px 8px;border:0;border-radius:2px;text-align:left;overflow-wrap:anywhere;background:transparent;color:inherit;font:inherit}.grid-choice-menu button:hover,.grid-choice-menu button.is-active,.grid-choice-menu button[aria-selected=true]{background:#e6f0fa;color:#173f66}.grid-choice-menu[data-theme=dark]{background:#272727;color:#f3f3f3;border-color:#7b858d}.grid-choice-menu[data-theme=dark] button:hover,.grid-choice-menu[data-theme=dark] button.is-active,.grid-choice-menu[data-theme=dark] button[aria-selected=true]{background:#394858;color:#fff}.grid-choice-empty{padding:8px}.lead-sheet-grid select.lead-sheet-editor{padding-right:2px}.lead-sheet-grid select.lead-sheet-editor:not(:disabled){cursor:pointer}.lead-sheet-grid .lead-sheet-editor:focus{position:relative;z-index:2;background:#fff;box-shadow:inset 0 0 0 2px #2f73b7}.lead-sheet-grid .lead-sheet-editor:disabled{color:#514b44;opacity:1;pointer-events:none}.lead-sheet-grid .lead-sheet-editor:not(:disabled){cursor:text}.lead-sheet-quick-row td{position:sticky;z-index:4;top:30px;background:#fff9e7;border-bottom:2px solid #d8b94e}.lead-sheet-quick-row .lead-sheet-row-number{z-index:8;background:var(--uapi-yellow)}.lead-sheet-quick-row .lead-sheet-attention-cell{z-index:8;background:#fff9e7}.lead-sheet-row-number button{width:22px;height:22px;display:inline-grid;padding:0;place-items:center;border:0;border-radius:5px;background:transparent;color:#625c54;font-size:12px;font-weight:820}.lead-sheet-row-number button:hover{background:#2a2621;color:#fff}.shows-lead-ids .lead-sheet-row-number button{width:calc(100% - 6px);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.shows-lead-ids .lead-sheet-quick-row .lead-sheet-row-number button{width:22px;display:inline-grid}.lead-grid-id-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px}.lead-grid-id-setting small{display:block;margin-top:4px}.paid-attribution{font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.lead-sheet-quick-row .lead-sheet-row-number button{background:#2a2621;color:#fff}.lead-sheet-grid input::placeholder{color:#8b806a}.resizable-head-cell{position:relative;padding-right:10px}.column-resizer{position:absolute;top:-9px;right:-6px;width:12px;height:calc(100% + 18px);border:0;border-radius:0;background:transparent;cursor:col-resize;padding:0}.column-resizer:after{content:"";position:absolute;top:8px;bottom:8px;left:5px;width:1px;background:#d5cab5}.column-resizer:hover:after,.is-resizing-column .column-resizer:after{background:var(--uapi-red);width:2px}.is-resizing-column{cursor:col-resize;-webkit-user-select:none;user-select:none}.lead-sheet-grid th.resizable-head-cell{position:sticky;padding-right:9px}.lead-sheet-header-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-sheet-grid th .column-resizer{z-index:2;top:0;right:0;width:8px;height:100%}.lead-sheet-grid th .column-resizer:after{top:5px;bottom:5px;left:3px;background:#f3c32f8a}.lead-sheet-grid th .column-resizer:hover:after,.lead-sheet-grid th .column-resizer:focus-visible:after,.is-resizing-column .lead-sheet-grid th .column-resizer:after{width:2px;background:#fff}.lead-sheet-grid .lead-sheet-actions-cell{width:116px;min-width:116px;max-width:116px;padding:0 3px;overflow:visible;text-align:center}.lead-sheet-grid th.lead-sheet-actions-cell{z-index:10;right:0}.lead-sheet-grid td.lead-sheet-actions-cell{position:sticky;z-index:3;right:0;background:#fff}.lead-sheet-quick-row td.lead-sheet-actions-cell{z-index:8;background:#fff9e7}.lead-sheet-status-cell{padding:0 3px!important;vertical-align:middle}.lead-status-summary .status-badge{align-self:start;justify-self:start;margin-top:6px}.lead-sheet-status-cell .status-badge{max-width:100%;min-height:22px;padding:0 6px;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.attention-marker{position:relative;width:22px;height:22px;display:inline-grid;padding:0;place-items:center;border:0;border-radius:50%;cursor:pointer}.attention-marker.new{background:#e1ad16;color:#2d2200}.attention-marker.scheduled{background:#2f73b7;color:#fff}.attention-marker.due{background:#d97706;color:#fff}.attention-marker.urgent{background:#c83a47;color:#fff}.attention-marker:hover,.attention-marker:focus-visible{box-shadow:0 0 0 2px currentColor;outline:0}.attention-marker>span{position:absolute;top:-4px;right:-4px;min-width:13px;height:13px;display:grid;place-items:center;padding:0 3px;border:1px solid #ffffff;border-radius:7px;background:#b21f2d;color:#fff;font-size:8px;font-weight:850;line-height:1}.lead-sheet-grid tbody tr.attention-new td,.lead-sheet-grid tbody tr.attention-new td.lead-sheet-actions-cell{background:#fff0c2}.lead-sheet-grid tbody tr.attention-due td,.lead-sheet-grid tbody tr.attention-due td.lead-sheet-actions-cell{background:#ffe3ad}.lead-sheet-grid tbody tr.attention-urgent td,.lead-sheet-grid tbody tr.attention-urgent td.lead-sheet-actions-cell{background:#ffdce0}.lead-sheet-grid tbody tr.is-last-opened td,.lead-sheet-grid tbody tr.is-last-opened td.lead-sheet-actions-cell{background:#e6f2fb;box-shadow:inset 0 1px #2f73b7,inset 0 -1px #2f73b7}.lead-sheet-grid tbody tr.is-last-opened:hover td{background:#dcecf8}.lead-sheet-grid tbody tr.is-last-opened .lead-sheet-row-number,.lead-sheet-grid tbody tr.is-last-opened:hover .lead-sheet-row-number{background:#2f73b7;color:#fff}.lead-sheet-grid td.has-grid-presence{position:relative}.lead-sheet-grid td.has-grid-presence .lead-sheet-editor{padding-right:27px;background:var(--presence-bg);box-shadow:inset 0 0 0 2px var(--presence-color)}.lead-sheet-grid td.grid-presence-viewing .lead-sheet-editor{box-shadow:inset 0 0 0 1px var(--presence-color)}.grid-cell-presence-list{position:absolute;z-index:3;top:4px;right:3px;display:flex;flex-direction:row-reverse;pointer-events:none}.grid-cell-presence{width:22px;height:22px;display:grid;margin-left:-6px;place-items:center;border:1px solid #ffffff;border-radius:50%;background:var(--presence-color);box-shadow:0 0 0 1px #fff;color:#fff;font-size:9px;font-weight:900;line-height:1}.grid-cell-presence[data-mode=viewing]{border-radius:5px}.grid-cell-presence:last-child{margin-left:0}.row-actions{display:flex;justify-content:flex-end;gap:6px}.row-actions .icon-button{width:32px;height:32px}.grid-save-error{color:var(--uapi-red)!important;font-weight:750}.grid-save-spinner{animation:grid-save-spin .8s linear infinite}@keyframes grid-save-spin{to{transform:rotate(360deg)}}.message-action:not(:disabled){position:relative;color:var(--uapi-red)}.message-action.channel-unavailable:not(:disabled){border-color:#d7dadd;background:#eceff1;color:#8a8f94;box-shadow:none}.message-action.channel-unavailable:not(:disabled):hover,.message-action.channel-unavailable:not(:disabled):focus-visible{border-color:#b9bec3;background:#e1e5e8;color:#5f666c}.message-count{position:absolute;top:-5px;right:-5px;display:grid;min-width:17px;height:17px;padding:0 4px;place-items:center;color:#fff;background:var(--uapi-red);border:2px solid #ffffff;border-radius:9px;font-size:9px;font-weight:900}.icon-button:disabled{cursor:not-allowed;color:#aeb8b2;background:#f5f7f5}.status-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 8px;font-size:11px;font-weight:800;background:#f1ead9;color:#5a4d3c}.status-badge.quoted,.status-badge.new{background:#f3c32f;color:#211d19}.status-badge.quoted{background:#fff;color:var(--uapi-red);border:1px solid var(--uapi-red)}.status-badge.dispatched{background:#dcecff;color:#1e5b9e}.status-badge.paid{background:#dff2df;color:#236334}.status-badge.delivered{background:#e9e0cc;color:#4a4034}.status-badge.canceled{background:var(--uapi-red);color:#fff}.lead-sheet-status-cell .lead-sheet-status-editor{display:block;width:calc(100% - 2px);height:22px;min-height:22px;margin:0 1px;padding:0 16px 0 6px;overflow:hidden;border-radius:999px;font-size:11px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.lead-sheet-grid tbody tr.is-saving .lead-sheet-row-number{background:#dcecff;color:#1e5b9e}.source-badge,.needs-review-badge{width:fit-content;max-width:100%;display:inline-flex;align-items:center;min-height:22px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:0}.source-badge{border:1px solid #d8d0bd;background:#fff;color:#4a4034}.source-website{border-color:#c00;background:#fff0f0;color:#b00000}.source-android{border-color:#75b843;background:#eef8e8;color:#347012}.source-ios{border-color:#7aa9d8;background:#edf5ff;color:#1e5b9e}.source-email{border-color:#d8b84e;background:#fff8df;color:#6e5512}.needs-review-badge{margin-top:4px;border:1px solid #cc0000;background:#c00;color:#fff}.settings-page{display:grid;gap:12px;min-width:0}.portal-page,.placeholder-page{display:grid;gap:16px}.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.portal-tile{min-height:148px;border:1px solid #e4dac5;border-radius:8px;background:#fffdf7;color:var(--uapi-black);display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:10px 12px;padding:18px;text-align:left;cursor:pointer;box-shadow:0 14px 34px #2a262114}.portal-tile:hover{border-color:var(--uapi-red);transform:translateY(-1px)}.portal-tile-icon{width:44px;height:44px;border-radius:8px;background:#2a2621;color:#fff;display:grid;place-items:center}.portal-tile-copy{min-width:0;display:grid;gap:6px}.portal-tile-copy strong{font-size:18px}.portal-tile-copy small,.portal-tile-meta,.portal-band p,.placeholder-panel p{color:var(--uapi-muted)}.portal-tile-meta{grid-column:2;font-size:12px;font-weight:700;text-transform:uppercase}.portal-band,.placeholder-panel{border:1px solid #e4dac5;border-radius:8px;background:#fffdf7;padding:18px}.portal-band{display:flex;justify-content:space-between;gap:24px;align-items:center}.portal-band h3,.portal-band p,.placeholder-panel h3,.placeholder-panel p{margin:0}.placeholder-panel{min-height:260px;display:grid;align-content:center;justify-items:center;gap:10px;text-align:center}.company-dashboard-page{--dash-bg: #0f1923;--dash-panel: #162230;--dash-panel-2: #111b26;--dash-border: #1e3348;--dash-text: #e0e6ed;--dash-muted: #7a8fa3;--dash-soft: #c0ccd8;--dash-green: #34d399;--dash-blue: #60a5fa;--dash-amber: #fbbf24;--dash-orange: #fb923c;--dash-purple: #a78bfa;--dash-pink: #e879f9;--dash-cyan: #22d3ee;--dash-red: #f87171;background:var(--dash-bg);color:var(--dash-text);display:grid;gap:14px;padding:16px;border-radius:8px;border:1px solid var(--dash-border)}.company-dashboard-page.is-light{--dash-bg: #f7f9fb;--dash-panel: #ffffff;--dash-panel-2: #eef3f7;--dash-border: #d8e1ea;--dash-text: #17212b;--dash-muted: #627386;--dash-soft: #314155}.dashboard-empty,.dashboard-hero,.dashboard-category,.dashboard-store,.dashboard-panel{background:var(--dash-panel);border:1px solid var(--dash-border);border-radius:8px}.dashboard-empty{min-height:240px;display:grid;place-items:center;color:var(--dash-muted);font-weight:700}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}.dashboard-kicker,.dashboard-asof span,.dashboard-category span,.dashboard-category small,.dashboard-store p,.dashboard-store span,.dashboard-store-cat span,.dashboard-store-cat small,.dashboard-panel h3,.dashboard-feed-row span{color:var(--dash-muted)}.dashboard-kicker{margin:0 0 6px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;text-transform:uppercase}.dashboard-live-dot{width:8px;height:8px;border-radius:999px;background:var(--dash-green);box-shadow:0 0 0 5px #34d3991f}.dashboard-live-dot.is-error{background:var(--dash-red);box-shadow:0 0 0 5px #f871711f}.dashboard-hero h3{margin:0;color:var(--dash-green);font-size:34px;line-height:1}.dashboard-hero p{margin:0}.dashboard-asof{text-align:right;display:grid;gap:4px}.dashboard-asof strong{color:var(--dash-soft);font-variant-numeric:tabular-nums}.dashboard-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-category{display:grid;gap:4px;min-width:0;padding:14px}.dashboard-category span,.dashboard-store-cat span,.dashboard-panel h3{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.dashboard-category strong,.dashboard-store-cat strong{font-size:21px;font-variant-numeric:tabular-nums}.dashboard-category.used-parts strong,.dashboard-store-cat.used-parts strong,.dashboard-compare i.used-parts{color:var(--dash-green);background:var(--dash-green)}.dashboard-category.new-parts strong,.dashboard-store-cat.new-parts strong,.dashboard-compare i.new-parts{color:var(--dash-blue);background:var(--dash-blue)}.dashboard-category.concessions strong,.dashboard-store-cat.concessions strong,.dashboard-compare i.concessions{color:var(--dash-amber);background:var(--dash-amber)}.dashboard-category.cores strong,.dashboard-store-cat.cores strong,.dashboard-compare i.cores{color:var(--dash-orange);background:var(--dash-orange)}.dashboard-category.full-service strong,.dashboard-store-cat.full-service strong,.dashboard-compare i.full-service{color:var(--dash-pink);background:var(--dash-pink)}.dashboard-category.vehicle-sold strong,.dashboard-store-cat.vehicle-sold strong,.dashboard-compare i.vehicle-sold{color:var(--dash-cyan);background:var(--dash-cyan)}.dashboard-category.labor strong,.dashboard-store-cat.labor strong,.dashboard-compare i.labor{color:var(--dash-purple);background:var(--dash-purple)}.dashboard-category.returns strong,.dashboard-store-cat.returns strong{color:var(--dash-red)}.dashboard-store-list{display:grid;gap:12px}.dashboard-store{overflow:hidden}.dashboard-store header{display:flex;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid var(--dash-border)}.dashboard-store h3,.dashboard-panel h3{margin:0}.dashboard-store header strong{color:var(--dash-green);display:block;text-align:right;font-size:22px}.dashboard-store-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--dash-border)}.dashboard-store-cat{background:var(--dash-panel);display:grid;gap:3px;min-width:0;padding:12px}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.dashboard-panel{overflow:hidden}.dashboard-panel h3{padding:12px 14px;border-bottom:1px solid var(--dash-border)}.dashboard-compare{display:grid;gap:10px;padding:14px}.dashboard-compare-row{display:grid;grid-template-columns:90px minmax(0,1fr) 70px;align-items:center;gap:10px}.dashboard-compare-row span,.dashboard-compare-row strong{font-size:12px}.dashboard-compare-row div{min-width:0;height:24px;display:flex;overflow:hidden;border-radius:6px;background:var(--dash-panel-2)}.dashboard-compare-row i{display:block}.dashboard-feed{max-height:430px;overflow:auto}.dashboard-feed-row{display:grid;grid-template-columns:58px 86px minmax(0,1fr) 92px 84px;align-items:center;gap:8px;padding:9px 14px;border-bottom:1px solid var(--dash-border);font-size:12px}.dashboard-feed-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dash-soft)}.dashboard-feed-row em{justify-self:start;border-radius:4px;padding:3px 7px;background:var(--dash-panel-2);color:var(--dash-blue);font-style:normal;font-size:10px;font-weight:800;text-transform:uppercase}.dashboard-feed-row b{justify-self:end;font-variant-numeric:tabular-nums}.dashboard-feed-row b.is-negative{color:var(--dash-red)}.dashboard-frame-page{min-height:calc(100vh - 118px);border:1px solid #1e3348;border-radius:8px;overflow:hidden;background:#0f1923}.dashboard-frame{width:100%;min-height:calc(100vh - 118px);border:0;display:block;background:#0f1923}.settings-panel{background:#fff;border:1px solid var(--uapi-border);border-radius:8px;overflow:hidden}.settings-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #e7dec9}.settings-panel-header h3,.settings-panel-header p{margin:0}.settings-panel-header h3{font-size:16px}.settings-panel-header p{margin-top:3px;color:var(--uapi-muted);font-size:12px}.lead-alert-sound-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px}.messaging-settings-panel{overflow:visible}.messaging-settings-header .eyebrow{margin:0 0 3px}.master-switch{display:inline-flex;align-items:center;gap:8px;min-width:84px;min-height:38px;padding:5px 10px;border:1px solid var(--uapi-border);border-radius:6px;background:#fff;font-weight:850}.master-switch input{width:18px;height:18px;margin:0;accent-color:var(--uapi-red)}.master-switch:has(input:checked){color:#176232;border-color:#98c9a5;background:#eef8f0}.master-switch:has(input:disabled){cursor:not-allowed;opacity:.7}.messaging-availability{display:flex;align-items:center;gap:10px;margin:14px 16px 0;padding:10px 12px;color:#6f5400;border:1px solid #e7d27d;border-radius:6px;background:#fff8d7}.messaging-availability[data-ready=true]{color:#176232;border-color:#a8cfb1;background:#eef8f0}.messaging-availability div,.automatic-setting span{display:grid;gap:2px}.messaging-availability strong,.automatic-setting strong{font-size:13px}.messaging-availability span,.automatic-setting small{color:var(--uapi-muted);font-size:11px}.automatic-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:14px;border-top:1px solid #eee6d6;background:#eee6d6}.automatic-setting{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:13px 16px;background:#fff}.automatic-setting input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--uapi-red)}.messaging-settings-panel>.settings-success,.messaging-settings-panel>.settings-autosave{margin:12px 16px 14px}.notification-template-list{display:grid}.notification-template-row{min-width:0;padding:13px 16px 14px;border-bottom:1px solid #eee6d6}.notification-template-row-header,.notification-template-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.notification-template-row-header label{color:var(--uapi-ink);font-size:13px;font-weight:850}.notification-template-reset{width:30px;height:30px;min-height:30px}.notification-template-row textarea{display:block;width:100%;min-height:70px;margin-top:7px;padding:9px 10px;resize:vertical;color:var(--uapi-ink);border:1px solid var(--uapi-border);border-radius:5px;background:#fff;font:inherit;font-size:13px;line-height:1.4}.notification-template-row textarea:focus{border-color:#9f1d20;outline:2px solid rgba(159,29,32,.12);outline-offset:1px}.notification-template-meta{margin-top:5px;color:var(--uapi-muted);font-family:Consolas,Courier New,monospace;font-size:10px}.notification-template-preview{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;margin:9px 0 0;color:var(--uapi-muted);font-size:12px;line-height:1.4}.notification-template-preview strong{color:var(--uapi-ink);font-size:11px}.notification-template-privacy{display:block;margin:6px 0 0 60px;color:var(--uapi-muted);font-size:10px}.notification-template-actions{display:flex;justify-content:flex-end;padding:12px 16px 14px}.communication-template-list{display:grid}.communication-template-row{min-width:0;padding:14px 16px;border-bottom:1px solid #eee6d6}.communication-template-controls{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,190px) 34px;align-items:end;gap:10px}.communication-template-controls label,.communication-template-message{display:grid;gap:5px;min-width:0;color:var(--uapi-ink);font-size:11px;font-weight:800}.communication-template-controls input,.communication-template-controls select,.communication-template-message textarea{width:100%;min-height:38px;padding:8px 10px;color:var(--uapi-ink);border:1px solid var(--uapi-border);border-radius:5px;background:#fff;font:inherit;font-size:13px}.communication-template-message{margin-top:10px}.communication-template-message textarea{min-height:76px;resize:vertical;line-height:1.4}.communication-template-controls input:focus,.communication-template-controls select:focus,.communication-template-message textarea:focus{border-color:#9f1d20;outline:2px solid rgba(159,29,32,.12);outline-offset:1px}.communication-template-delete{width:34px;height:38px;min-height:38px}.communication-template-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:6px;color:var(--uapi-muted);font-family:Consolas,Courier New,monospace;font-size:10px}.communication-template-meta span:first-child{min-width:0;overflow-wrap:anywhere}.communication-template-meta span:last-child{flex:0 0 auto;text-align:right}.communication-template-preview{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;margin:9px 0 0;color:var(--uapi-muted);font-size:12px;line-height:1.4;white-space:pre-wrap}.communication-template-preview strong{color:var(--uapi-ink);font-size:11px}.communication-template-empty{padding:22px 16px;color:var(--uapi-muted);font-size:13px;text-align:center;border-bottom:1px solid #eee6d6}.email-account-form{margin-top:14px;border-top:1px solid #eee6d6}.email-account-band{min-width:0;background:#fff}.email-account-band-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:9px 16px;border-bottom:1px solid #eee6d6;background:#f8f6f0}.email-account-band-header strong{font-size:13px}.email-account-band-header span{color:var(--uapi-muted);font-size:11px;font-weight:800}.email-status-update-band{border-top:1px solid #eee6d6}.email-status-update-heading{display:flex;flex-direction:column;gap:2px;min-width:0}.email-status-update-band .automatic-settings-grid{margin-top:0}.email-status-update-band .email-account-band-header{flex-wrap:wrap}.email-account-band-header .master-switch span{color:inherit;font-size:12px}.email-account-grid{display:grid;gap:10px;padding:12px 16px 14px}.email-identity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.email-protocol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #eee6d6}.email-protocol-grid>.email-account-band+.email-account-band{border-left:1px solid #eee6d6}.email-server-grid{grid-template-columns:minmax(150px,1fr) 78px minmax(112px,140px);align-items:end}.email-login-field{grid-column:span 2}.email-credentials-toggle,.email-password-clear{display:flex;align-items:center;gap:8px;min-height:36px;color:var(--uapi-muted);font-size:12px;font-weight:750}.email-credentials-toggle{grid-column:span 2}.email-password-clear{grid-column:1 / -1;min-height:22px}.email-credentials-toggle input,.email-password-clear input{width:16px;height:16px;margin:0;accent-color:var(--uapi-red)}.email-settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid #eee6d6;background:#fbfaf7}.email-settings-message{margin:12px 16px 14px}.settings-table{display:grid}.settings-row{display:grid;gap:8px;align-items:center;padding:8px 12px;border-bottom:1px solid #eee6d6}.settings-row:last-child{border-bottom:0}.base-formula-grid{display:grid;grid-template-columns:minmax(160px,220px) minmax(140px,190px) minmax(260px,1fr);gap:12px;align-items:stretch;padding:14px 16px 16px}.base-formula-note{display:grid;align-content:center;gap:4px;min-height:58px;border-left:4px solid var(--uapi-yellow);background:var(--uapi-cream);padding:8px 12px}.base-formula-note strong{color:#2f281f;font-size:13px}.base-formula-note span{color:var(--uapi-muted);font-size:12px}.quote-modifiers-table .settings-row{grid-template-columns:minmax(160px,1.3fr) minmax(180px,1.8fr) minmax(110px,.8fr) minmax(90px,.6fr)}.towing-company-table .settings-row{grid-template-columns:minmax(190px,1.4fr) minmax(150px,.9fr) minmax(90px,.45fr)}.board-buyer-table .settings-row{grid-template-columns:minmax(180px,1.2fr) minmax(110px,.7fr) minmax(90px,.45fr) 44px}.user-settings-table .settings-row{grid-template-columns:minmax(130px,1.1fr) minmax(180px,1.35fr) minmax(110px,.75fr) minmax(92px,.6fr) minmax(112px,.75fr) minmax(130px,.9fr) minmax(78px,.5fr)}.security-status{display:inline-flex;align-items:center;justify-content:center;min-width:62px;min-height:24px;border:1px solid #c9b98f;border-radius:5px;padding:3px 7px;background:#fff8d7;color:#6f5400;font-size:10px;font-style:normal;font-weight:900;text-transform:capitalize}.security-status.success{border-color:#98c9a5;background:#eef8f0;color:#176232}.security-status.failure,.security-status.blocked{border-color:#efb4ac;background:#fff2ef;color:#8c251e}.security-status.audit{border-color:#a9bdd0;background:#edf4fa;color:#274f73}.settings-empty-state{margin:0;padding:20px 16px;color:var(--uapi-muted);font-size:12px;text-align:center}.security-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.security-event-list{display:grid;max-height:420px;overflow:auto}.security-event-row{display:grid;grid-template-columns:68px minmax(0,1fr) minmax(120px,auto);gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #eee6d6}.security-event-row:last-child{border-bottom:0}.security-event-row>div{display:grid;gap:2px;min-width:0}.security-event-row strong,.security-event-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.security-event-row strong{font-size:12px;text-transform:capitalize}.security-event-row small,.security-event-row time{color:var(--uapi-muted);font-size:10px}.security-event-row time{text-align:right}.settings-action-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.database-tools-message{margin:12px 16px 0}.database-tools-body{display:grid;gap:14px;padding:14px 16px 16px}.database-count-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.database-count-tile{min-height:72px;display:grid;gap:5px;align-content:center;border:1px solid #e5d8bf;border-radius:8px;background:var(--uapi-cream);padding:10px 12px}.database-count-tile span{color:var(--uapi-muted);font-size:11px;font-weight:800;text-transform:uppercase}.database-count-tile strong{color:#231f19;font-size:24px;line-height:1}.database-danger-zone{display:grid;grid-template-columns:minmax(240px,1fr) minmax(220px,320px) auto;gap:12px;align-items:end;border:1px solid #f0b8ae;border-radius:8px;background:#fff2ef;padding:12px}.database-danger-zone strong{display:inline-flex;align-items:center;gap:7px;color:#82271f;font-size:14px}.database-danger-zone p{max-width:780px;margin:5px 0 0;color:#6f463f;font-size:12px}.danger-button{background:#b3362d;border-color:#b3362d}.danger-button:hover{background:#8f241d;border-color:#8f241d}.danger-button:disabled{background:#dec7c3;border-color:#dec7c3;color:#fff8f5;cursor:not-allowed}.board-settings-button-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;padding:14px 16px 16px}.board-settings-button{width:100%;min-height:74px;border:1px solid #e5d8bf;border-radius:8px;background:#fff;color:#241f19;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;text-align:left;cursor:pointer}.board-settings-button:hover{border-color:var(--uapi-red);background:#fffaf0}.board-settings-button-icon{width:38px;height:38px;border-radius:8px;background:var(--uapi-yellow);color:#201b15;display:grid;place-items:center}.board-settings-button strong,.board-settings-button small{display:block}.board-settings-button strong{font-size:15px}.board-settings-button small{margin-top:4px;color:var(--uapi-muted);font-size:12px}.compact-icon-button{width:36px;height:36px;align-self:center}.board-sheets-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:12px;align-items:start}.board-sheet-list-panel,.board-sheet-editor-panel{min-width:0}.board-sheet-list{display:grid;gap:8px;padding:12px}.board-sheet-list-button{width:100%;border:1px solid #e7dec9;border-radius:8px;background:#fff;color:#241f19;padding:10px 12px;text-align:left}.board-sheet-list-button:hover,.board-sheet-list-button.active{border-color:var(--uapi-red);background:#fff9ea}.board-sheet-list-button strong,.board-sheet-list-button small{display:block}.board-sheet-list-button small{margin-top:4px;color:var(--uapi-muted)}.board-sheet-meta{padding:12px 16px;border-bottom:1px solid #e7dec9;background:var(--uapi-cream)}.board-sheet-meta .field{max-width:420px}.board-sheet-full-page{min-width:0;display:grid;grid-template-rows:minmax(0,1fr)}.blank-sheet-scroll{width:100%;height:calc(100vh - 150px);min-height:420px;overflow:auto;background:#fff;border:1px solid var(--uapi-border);border-radius:8px}.blank-sheet-grid{display:grid;min-width:max-content}.blank-sheet-corner,.blank-sheet-column-head,.blank-sheet-row-head{min-height:26px;border-right:1px solid #d8d0bd;border-bottom:1px solid #d8d0bd;background:#f2ead7;color:#4c4236;display:grid;place-items:center;font-size:11px;font-weight:800;position:sticky;z-index:2}.blank-sheet-corner{left:0;top:0;z-index:4}.blank-sheet-column-head{top:0}.blank-sheet-row-head{left:0;z-index:3}.blank-sheet-cell{width:100%;min-width:96px;height:26px;border:0;border-right:1px solid #eee6d6;border-bottom:1px solid #eee6d6;border-radius:0;padding:3px 6px;background:#fff;font-size:12px;line-height:1.2}.blank-sheet-cell:focus{position:relative;z-index:5;outline:2px solid var(--uapi-yellow);outline-offset:-2px}.board-sheet-empty-editor{min-height:280px;display:grid;place-items:center;align-content:center;gap:8px;padding:30px;color:var(--uapi-muted);text-align:center}.board-sheet-empty-editor h3,.board-sheet-empty-editor p{margin:0}.board-settings-body{display:grid;gap:0}.board-settings-section{display:grid;border-top:1px solid #e7dec9}.board-settings-section:first-of-type{border-top:0}.board-settings-subhead{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--uapi-cream);border-bottom:1px solid #eee6d6}.board-settings-subhead strong{color:#2f281f;font-size:13px}.board-settings-subhead span{color:var(--uapi-muted);font-size:12px}.empty-settings-row{padding:14px 16px;color:var(--uapi-muted);font-size:13px;font-weight:750}.role-settings-list{display:grid;gap:12px;padding:14px 16px 16px}.role-card{display:grid;border:1px solid #e7dec9;border-radius:8px;background:#fff;overflow:hidden}.role-card.is-muted{background:#f8f5eb}.role-summary-button{min-height:58px;width:100%;border:0;background:transparent;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;color:#211d19;text-align:left}.role-summary-button:hover{background:var(--uapi-cream)}.role-summary-button span{display:grid;gap:3px;min-width:0}.role-summary-button strong,.role-summary-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-summary-button em{border-radius:8px;background:#edf8ed;color:#236334;padding:4px 8px;font-size:12px;font-style:normal;font-weight:800}.role-card.is-muted .role-summary-button em{background:#f8e2df;color:#9b352f}.role-card-body{display:grid;gap:12px;padding:12px;border-top:1px solid #e7dec9}.role-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.role-title-grid{flex:1;display:grid;grid-template-columns:minmax(140px,.7fr) minmax(180px,1fr);gap:10px;min-width:0}.permission-groups{display:grid;gap:10px}.permission-group{display:grid;gap:7px}.permission-group strong{color:#2f281f;font-size:12px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.permission-grid.compact{grid-template-columns:repeat(auto-fit,minmax(122px,1fr))}.check-pill{min-height:38px;display:flex;align-items:center;gap:8px;border:1px solid var(--uapi-border);border-radius:8px;background:var(--uapi-cream);padding:8px 10px;color:#211d19;font-size:13px;font-weight:750}.check-pill input{width:16px;height:16px;flex:0 0 auto}.settings-head{background:#2a2621;color:#f3c32f;font-size:11px;font-weight:850;text-transform:uppercase}.settings-row input,.settings-row select{width:100%;min-height:34px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;color:#211d19;padding:0 10px}.settings-row textarea{width:100%;min-height:58px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;color:#211d19;padding:8px 10px;resize:vertical}.settings-row.is-muted{background:#f8f5eb;color:var(--uapi-muted)}.toggle-field{min-height:34px;display:flex;align-items:center;gap:8px;font-weight:750}.toggle-field input{width:16px;height:16px}.settings-success{margin:0;padding:10px 12px;border:1px solid #b7d9ba;border-radius:8px;background:#edf8ed;color:#236334;font-weight:800}.settings-autosave{margin:0;padding:8px 12px;border:1px solid #d8d0bd;border-radius:8px;background:#fff9ea;color:#5d5142;font-size:12px;font-weight:800}.modal-backdrop{position:fixed;inset:0;background:#17171785;display:grid;place-items:center;padding:24px;z-index:20}.lead-form{width:min(1180px,100%);max-height:min(88vh,850px);overflow:auto;background:#fff;border-radius:8px;box-shadow:0 24px 70px #17171747}.unsaved-lead-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;padding:24px;border:1px solid var(--uapi-border);border-radius:8px;background:#fff;color:#211d19;box-shadow:0 16px 48px #0000003d}.unsaved-lead-dialog::backdrop{background:#17171773}.unsaved-lead-dialog h3{margin:0;font-size:20px}.unsaved-lead-dialog p{margin:12px 0 20px;line-height:1.5}.unsaved-lead-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.unsaved-lead-actions button{flex:1 1 auto;white-space:nowrap}.app-shell[data-theme=dark] .unsaved-lead-dialog{background:#162230;color:#e8edf2}.lead-workspace{width:min(1580px,100%);max-height:min(92vh,900px);display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;color:#211d19;background:#fff;border-radius:8px;box-shadow:0 24px 70px #17171747}.lead-workspace.has-communication{grid-template-columns:minmax(720px,1fr) minmax(370px,430px)}.lead-workspace.has-communication.communication-minimized{grid-template-columns:minmax(720px,1fr) minmax(210px,250px)}.lead-workspace .lead-form{width:100%;max-height:min(92vh,900px);border-radius:0;box-shadow:none}.lead-communication-panel{min-width:0;min-height:0;max-height:min(92vh,900px);display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#bdb7ad #f0f1f2;scrollbar-gutter:stable;scrollbar-width:thin;background:#fff;border-left:1px solid var(--uapi-border)}.lead-communication-panel.is-minimized{min-height:0;overflow:hidden}.lead-communication-panel .text-thread{flex:0 0 auto;min-height:220px;overflow-y:visible}.lead-communication-panel>.text-drawer-header,.lead-communication-panel>.message-channel-tabs,.lead-communication-panel>.text-preview-notice,.lead-communication-panel>.text-lead-context,.lead-communication-panel>.customer-quote-tools,.lead-communication-panel>.automatic-texts{flex:0 0 auto}.lead-communication-panel>.text-composer{position:sticky;z-index:3;bottom:0;flex:0 0 auto}.text-drawer-backdrop{position:fixed;inset:0;z-index:30;display:flex;justify-content:flex-end;background:#1717177a}.text-drawer{width:min(470px,100%);height:100vh;display:flex;flex-direction:column;color:#211d19;background:#fff;box-shadow:-18px 0 50px #1717173d}.message-channel-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;padding:8px 18px;background:#f3f1ea;border-bottom:1px solid var(--uapi-border)}.message-channel-tabs button{min-height:34px;color:var(--uapi-muted);background:transparent;border:1px solid transparent;border-radius:5px;font-size:11px;font-weight:900;text-transform:uppercase}.message-channel-tabs button.active{color:#fff;background:var(--uapi-black);border-color:var(--uapi-black)}.conversation-attention{min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;color:#8c251e;background:#fff0ee;border-radius:999px;font-size:10px;font-weight:900;line-height:1.2;text-transform:uppercase;white-space:nowrap}.conversation-attention>span{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:currentColor}.message-composer-lock{display:flex;align-items:center;gap:9px;padding:9px 10px;color:var(--presence-color);background:var(--presence-bg);border:1px solid var(--presence-color);border-radius:5px}.message-composer-lock>svg{flex:0 0 auto}.message-composer-lock>span{min-width:0;display:grid;flex:1 1 auto;gap:1px}.message-composer-lock strong{font-size:11px}.message-composer-lock small{color:#4f6f88;font-size:10px}.text-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid var(--uapi-border)}.text-drawer-header>div{min-width:0}.text-drawer-header .communication-header-actions{min-width:auto;display:flex;flex:0 0 auto;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:160px}.clear-reply-alert{min-height:32px;padding:6px 9px;font-size:12px}.text-drawer-header h3,.text-drawer-header p{margin:0}.text-drawer-header h3{margin-top:2px;font-size:22px}.text-drawer-header a{display:block;margin-top:3px;color:var(--uapi-red);font-size:13px;font-weight:800;overflow-wrap:anywhere;text-decoration:none}.text-drawer-header .preferred-contact-summary{display:inline-flex;align-items:baseline;gap:6px;margin-top:9px;padding:5px 8px;color:var(--uapi-black);background:#f1f3f5;border-left:3px solid #76808a;border-radius:3px;font-size:12px}.preferred-contact-summary span{color:var(--uapi-muted);font-size:10px;font-weight:800;text-transform:uppercase}.preferred-contact-summary strong{font-size:12px}.preferred-contact-summary[data-contact=phone]{border-left-color:#19704a}.preferred-contact-summary[data-contact=sms]{border-left-color:#176db0}.preferred-contact-summary[data-contact=email]{border-left-color:var(--uapi-red)}.preferred-contact-summary[data-contact=app]{border-left-color:#8a6200}.communication-history-button{align-self:stretch;justify-content:center;margin:12px 18px 18px}.text-preview-notice{display:flex;align-items:center;gap:8px;padding:8px 18px;color:#574500;background:#fff4bf;border-bottom:1px solid #ead88b;font-size:12px}.text-preview-notice span{padding:3px 6px;color:var(--uapi-black);background:var(--uapi-yellow);font-size:10px;font-weight:900;text-transform:uppercase}.text-preview-notice[data-state=live]{color:#176232;background:#eef8f0;border-color:#a8cfb1}.text-preview-notice[data-state=live] span{color:#fff;background:#1f7a3d}.text-preview-notice[data-state=app]{color:#24513a;background:#edf7f0;border-color:#accab6}.text-preview-notice[data-state=app] span{color:#fff;background:#276844}.text-preview-notice[data-state=off]{color:#7d2824;background:#fff0ee;border-color:#efc5c0}.text-preview-notice[data-state=off] span{color:#fff;background:var(--uapi-red)}.text-lead-context{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) auto;align-items:center;gap:12px;padding:12px 18px;background:var(--uapi-cream);border-bottom:1px solid var(--uapi-border)}.text-lead-context>div{display:grid;gap:2px;min-width:0}.text-lead-context>div span{color:var(--uapi-muted);font-size:10px;font-weight:850;text-transform:uppercase}.text-lead-context>div strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.customer-quote-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 18px;background:#fff9dc;border-bottom:1px solid #e8d98d}.customer-quote-tools>div{display:grid;gap:5px;min-width:0}.customer-quote-tools span{color:#756523;font-size:10px;font-weight:900;text-transform:uppercase}.customer-quote-tools strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-quote-price-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.customer-quote-price-pair>span{display:grid;gap:1px;min-width:0}.customer-quote-price-pair small{color:#756523;font-size:9px;font-weight:900;text-transform:uppercase}.customer-quote-price-pair strong{color:var(--uapi-ink)}.customer-quote-tools .customer-quote-state{color:#756523;font-size:10px}.customer-quote-tools .secondary-button{min-height:34px;padding:7px 10px;font-size:10px}.automatic-texts{display:grid;gap:8px;padding:13px 18px;border-bottom:1px solid var(--uapi-border)}.automatic-texts-head>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.automatic-texts-head span{color:var(--uapi-muted);font-size:11px}.automatic-text-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.automatic-text-row label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;min-width:0}.automatic-text-row input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--uapi-red)}.automatic-text-row label span{display:grid;gap:1px}.automatic-text-row label strong{font-size:12px}.automatic-text-row label small{color:var(--uapi-muted);font-size:10px}.automatic-text-row>button{min-height:30px;padding:5px 8px;color:var(--uapi-red);background:transparent;border:1px solid var(--uapi-border);border-radius:6px;font-size:10px;font-weight:850;text-transform:uppercase}.automatic-text-row>button:disabled{cursor:not-allowed;color:#9c968b;background:#f3f1ea}.text-thread{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:18px;background:#f3f1ea}.text-thread-empty{margin:auto;color:var(--uapi-muted);font-size:12px;font-weight:750;text-align:center}.text-message{width:fit-content;max-width:84%;padding:10px 12px;border-radius:8px}.text-message p{margin:0;font-size:13px;line-height:1.42;overflow-wrap:anywhere;white-space:pre-wrap}.email-message-subject{display:block;margin-bottom:5px;font-size:11px;line-height:1.3}.text-message small{display:block;margin-top:5px;font-size:9px;font-weight:800;text-transform:uppercase}.text-message.outgoing{align-self:flex-end;color:#fff;background:var(--uapi-black);border-bottom-right-radius:2px}.text-message.outgoing small{color:#d9d1c4}.text-message.incoming{align-self:flex-start;background:#fff;border:1px solid var(--uapi-border);border-bottom-left-radius:2px}.text-message.incoming small{color:var(--uapi-muted)}.text-composer{display:grid;gap:8px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--uapi-border)}.text-error{width:100%;padding:8px 10px;border:1px solid #efc5c0;border-radius:6px;background:#fff0ee}.text-composer select,.text-composer textarea{width:100%;color:inherit;background:#fff;border:1px solid var(--uapi-border);border-radius:6px}.text-composer select{min-height:38px;padding:7px 9px}.text-composer textarea{min-height:74px;padding:9px 10px;resize:vertical}.text-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-composer-actions>span{color:var(--uapi-muted);font-size:11px;font-weight:800}.text-composer-actions>span[data-over-limit=true]{color:var(--uapi-red)}.text-composer-actions .primary-button{height:38px}.text-composer-actions .primary-button:disabled{cursor:not-allowed;color:#817b71;border-color:#d9d4ca;background:#e9e5dd}.form-header{position:sticky;top:0;background:#fff;z-index:2;display:grid;gap:12px;padding:16px 18px 14px;border-bottom:1px solid #e7dec9}.form-header-main{display:flex;justify-content:space-between;align-items:center;gap:12px}.form-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.lead-presence-banner{width:fit-content;max-width:100%;border:1px solid var(--presence-color);border-radius:8px;background:var(--presence-bg);color:var(--presence-color);font-size:12px;font-weight:800;padding:8px 10px}.floating-save{box-shadow:0 8px 20px #b21f2438}.lead-quick-strip{display:grid;grid-template-columns:minmax(120px,.95fr) minmax(96px,.75fr) minmax(116px,.9fr) minmax(108px,.82fr) minmax(120px,.9fr) minmax(120px,.9fr);gap:8px}.lead-quick-strip .field{min-height:54px;padding:7px 9px}.lead-quick-strip .field span{font-size:11px}.lead-quick-strip .field input,.lead-quick-strip .field select{min-height:24px}.form-body-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px;padding:18px 20px 8px}.form-column,.form-flow-section{display:grid;gap:10px;align-content:start}.form-column{gap:18px}.form-body-layout .form-section-title{padding:9px 12px;border-left:4px solid var(--section-rule);border-bottom:1px solid var(--section-border);background:var(--section-heading);color:var(--section-ink)}.form-body-layout .form-grid,.form-body-layout .photo-manager,.form-body-layout .map-panel{margin:0;padding:0}.form-grid{padding:0 20px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.vin-decode-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:center}.vin-decode-row .field{min-width:0}.vin-decode-action .icon-button{width:36px;height:36px}.vin-decode-message{margin:4px 12px 0;font-size:13px;overflow-wrap:anywhere}.form-grid-quote{grid-template-columns:minmax(110px,1fr) minmax(100px,.8fr) minmax(100px,.8fr)}.lead-details-grid .lead-status-field,.lead-details-grid .paid-date-field{grid-column:2}.form-grid-tight{grid-template-columns:repeat(6,minmax(96px,1fr))}.form-grid-tight .field{grid-column:span 2}.form-grid-tight .field-compact{grid-column:span 1}.form-grid-tight .field-wide{grid-column:1 / -1}.form-section-title{padding:18px 20px 10px;color:#4a4034;font-size:13px;font-weight:850;text-transform:uppercase;letter-spacing:0}.photo-manager{margin:0 20px 18px;display:grid;gap:10px}.photo-upload-field{position:relative;min-height:58px;border:1px dashed #b9af9b;border-radius:8px;background:var(--uapi-cream);display:flex;align-items:center;gap:10px;padding:10px 12px;overflow:hidden}.photo-upload-field svg{color:var(--uapi-red);flex:0 0 auto}.photo-upload-field span,.pending-photo-item span{display:grid;gap:3px;min-width:0}.photo-upload-field strong,.pending-photo-item strong{color:#2f281f;font-size:13px}.photo-upload-field small,.pending-photo-item small{color:var(--uapi-muted);font-size:12px}.photo-upload-field input{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-upload-field.is-disabled{opacity:.62}.photo-upload-field.is-disabled input{cursor:not-allowed}.photo-error{padding:0 2px}.pending-photo-list{display:grid;gap:8px}.pending-photo-item{min-height:44px;border:1px solid #e7dec9;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px}.pending-photo-item .icon-button,.photo-tile .icon-button{width:32px;height:32px}.photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.photo-empty{min-height:96px;border:1px solid #e7dec9;border-radius:8px;background:#fff;color:var(--uapi-muted);display:grid;place-items:center;font-size:13px;font-weight:750}.photo-tile{margin:0;border:1px solid #e7dec9;border-radius:8px;background:#fff;overflow:hidden}.pending-photo-tile{border-style:dashed;background:var(--uapi-cream)}.photo-tile a{display:block;aspect-ratio:4 / 3;background:#211d19}.photo-tile img{width:100%;height:100%;object-fit:cover;display:block}.photo-tile figcaption{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px}.photo-tile figcaption span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--uapi-muted);font-size:12px;font-weight:750}.rate-hint{min-height:58px;padding:10px 12px;border:1px solid var(--uapi-border);border-radius:8px;background:var(--uapi-cream);display:grid;align-content:center;gap:4px}.rate-hint strong,.map-panel-header strong{color:#2f281f}.rate-hint span,.map-panel-header span{color:var(--uapi-muted);font-size:13px}.map-panel{margin:0 20px 18px;border:1px solid var(--uapi-border);border-radius:8px;overflow:hidden;background:#fff}.map-panel-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid #e7dec9}.map-panel-header div{display:grid;gap:3px;min-width:0}.map-panel-toggle{min-width:0;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:10px;padding:0;text-align:left}.map-panel-toggle span{display:grid;gap:3px;min-width:0}.map-panel-toggle small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-panel-compact .map-panel-header{border-bottom:0}.map-panel-compact.is-expanded .map-panel-header{border-bottom:1px solid #e7dec9}.map-panel iframe,.map-empty{width:100%;height:260px;border:0;display:block}.map-empty{display:grid;place-items:center;color:var(--uapi-muted);background:var(--uapi-cream)}.map-modal{width:min(920px,100%);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 24px 70px #17171747}.map-panel-modal{margin:18px}.map-panel-modal iframe{height:min(62vh,520px)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#171717eb,#2f281fdb),var(--uapi-black)}.login-panel{width:min(460px,100%);display:grid;gap:18px}.login-brand{display:flex;align-items:center;gap:14px;color:#fffaf0}.login-brand h1,.login-brand p{margin:0}.login-brand h1{font-size:34px}.login-brand .eyebrow,.login-brand p{color:#d9cfb8}.login-form{width:min(420px,100%);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 24px 70px #17171747}.login-form-page{width:100%;box-shadow:0 24px 70px #00000052}.login-body{display:grid;gap:12px;padding:20px}.login-error{margin:0;color:#9b352f;font-size:13px;font-weight:700}.field{display:grid;gap:6px;align-items:start;padding:8px 12px}.field span{font-size:12px;color:var(--uapi-muted);font-weight:800}.field input,.field select{min-height:26px}.field textarea{min-height:90px;resize:vertical}.field textarea.textarea-short{min-height:48px}.field-wide{grid-column:1 / -1}.lead-form .field>span:first-child{padding-right:16px}.lead-form .field-clear-button{position:absolute;top:4px;right:5px;display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:3px;background:transparent;color:#69727b}.lead-form .field-clear-button:hover{color:#a71923;background:#fbe8e9}.app-shell[data-theme=dark] .field-clear-button{color:#c9cdd2}body:has(.website-lead-page){min-width:0}.website-lead-page{min-height:100vh;background:#fff;color:#22262a;font-family:Montserrat,Arial,Verdana,sans-serif}.website-lead-header{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #cc0000;border-bottom:5px solid #cc0000;background:#fff;padding:12px max(28px,calc((100vw - 1120px)/2))}.website-lead-header img{width:165px;height:auto}.website-lead-header a{color:#c00;font-size:22px;font-weight:800;text-decoration:none;letter-spacing:0}.website-lead-shell{width:min(1120px,100%);margin:0 auto;padding:48px 28px;display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:34px;align-items:start}.website-lead-intro{min-width:0;position:sticky;top:28px;display:grid;gap:18px;padding:0}.website-lead-logo{width:min(360px,100%);height:auto}.website-lead-hero-image{width:100%;border:1px solid #e1e1e1;display:block}.website-lead-intro h1,.website-lead-intro p{margin:0}.website-lead-intro h1{color:#c00;font-size:42px;line-height:1.05;font-weight:400;letter-spacing:.08em;text-transform:uppercase}.website-lead-intro p:not(.eyebrow){color:#22262a;font-size:17px;line-height:1.55}.website-lead-form{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;border:1px solid #dedede;border-top:5px solid #cc0000;border-radius:0;background:#f7f7f7;padding:22px;box-shadow:0 14px 34px #22262a1f}.website-lead-page.website-lead-embedded{min-height:0;background:transparent}.website-lead-embedded .website-lead-shell{width:100%;display:block;margin:0;padding:0}.website-lead-embedded .website-lead-form{box-shadow:none}.website-form-section-heading{display:grid;gap:3px;margin-top:8px;padding:5px 0 7px;border-bottom:1px solid #d4d4d4}.website-form-section-heading:first-of-type{margin-top:0}.website-form-section-heading h2,.website-form-section-heading p{margin:0}.website-form-section-heading h2{color:#22262a;font-size:16px;line-height:1.25}.website-form-section-heading p{color:#666;font-size:12px;line-height:1.4}.website-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.website-form-grid-vehicle{grid-template-columns:repeat(3,minmax(0,1fr))}.website-lead-form .field,.website-photo-field{background:#fff;border-color:#d4d4d4;color:#22262a;border-radius:0}.website-lead-form .field input,.website-lead-form .field select,.website-lead-form .field textarea{color:#22262a}.website-lead-form .field span,.website-photo-field small{color:#666;font-weight:700;text-transform:uppercase}.website-lead-form .choice-menu{border-color:#d4d4d4;border-radius:0;background:#fff}.website-lead-form .choice-option{border-radius:0;color:#22262a;text-transform:none}.website-lead-form .choice-option:hover,.website-lead-form .choice-option:focus-visible{background:#f6f6f6;color:#c00}.website-lead-success{display:grid;gap:4px;border:1px solid #cc0000;border-radius:0;background:#fff;color:#c00;padding:12px}.website-lead-success span{color:#22262a}.website-lead-success small{color:#666;font-weight:700}.website-lead-success .secondary-button{width:fit-content;margin-top:8px}.website-hp-field{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}.website-submit-button{justify-self:end;min-width:190px;min-height:46px;border-radius:0;background:#c00;border-color:#c00;color:#fff;text-transform:uppercase;letter-spacing:.08em}.website-submit-button:hover{background:#900;border-color:#900}.form-actions{justify-content:flex-end;padding:16px 20px 20px;border-top:1px solid #e7dec9}.form-error{margin:0 auto 0 0;color:#9b352f;font-size:13px;font-weight:750}.form-error-top{margin:10px 20px 0;padding:10px 12px;border:1px solid #efc5c0;border-radius:8px;background:#fff3f1}.theme-toggle{min-width:130px}.login-theme-toggle{justify-self:end}.login-page[data-theme=light]{background:linear-gradient(135deg,#f8f5ebf5,#e8e0cde6),#f3f1ea}.login-page[data-theme=light] .login-brand{color:#211d19}.login-page[data-theme=light] .login-brand .eyebrow,.login-page[data-theme=light] .login-brand p{color:var(--uapi-muted)}.app-shell[data-theme=dark]{--uapi-border: #1e3348;--uapi-cream: #0f1923;--uapi-muted: #7a8fa3;background:#0f1923;color:#e0e6ed}.app-shell[data-theme=dark] .workspace{background:#0f1923}.app-shell[data-theme=dark] .sidebar{background:#101820;color:#e0e6ed}.app-shell[data-theme=dark] .brand-mark,.app-shell[data-theme=dark] .metric-icon{background:#1e3348;color:#4ea8ff}.app-shell[data-theme=dark] .brand h1,.app-shell[data-theme=dark] .topbar h2{color:#fff}.app-shell[data-theme=dark] .sidebar .brand p,.app-shell[data-theme=dark] .sidebar-note p{color:#7a8fa3}.app-shell[data-theme=dark] .nav-list button{color:#c0ccd8}.app-shell[data-theme=dark] .nav-list button.active,.app-shell[data-theme=dark] .nav-list button:hover{background:#1e3348;color:#4ea8ff}.app-shell[data-theme=dark] .sidebar-note{background:#162230;border-color:#1e3348}.app-shell[data-theme=dark] .topbar-title-input,.app-shell[data-theme=dark] .search-box input,.app-shell[data-theme=dark] .filter-select select,.app-shell[data-theme=dark] .field input,.app-shell[data-theme=dark] .field select,.app-shell[data-theme=dark] .field textarea,.app-shell[data-theme=dark] .map-panel-toggle,.login-page[data-theme=dark] .field input,.login-page[data-theme=dark] .field select,.login-page[data-theme=dark] .field textarea{color:#e0e6ed}.app-shell[data-theme=dark] .filter-label{color:#8ba4ba}.app-shell[data-theme=dark] .lead-presence-banner{background:var(--presence-bg);border-color:var(--presence-color);color:var(--presence-color)}.app-shell[data-theme=dark] .field-presence-note{color:var(--presence-color)}.app-shell[data-theme=dark] .icon-button,.app-shell[data-theme=dark] .secondary-button,.app-shell[data-theme=dark] .metric-card,.app-shell[data-theme=dark] .board-switcher button,.app-shell[data-theme=dark] .search-box,.app-shell[data-theme=dark] .filter-select,.app-shell[data-theme=dark] .field,.app-shell[data-theme=dark] .table-wrap,.app-shell[data-theme=dark] .table-header,.app-shell[data-theme=dark] .table-row,.app-shell[data-theme=dark] .portal-tile,.app-shell[data-theme=dark] .portal-band,.app-shell[data-theme=dark] .placeholder-panel,.app-shell[data-theme=dark] .settings-panel,.app-shell[data-theme=dark] .board-settings-button,.app-shell[data-theme=dark] .board-sheet-chip,.app-shell[data-theme=dark] .board-sheet-list-button,.app-shell[data-theme=dark] .lead-form,.app-shell[data-theme=dark] .lead-workspace,.app-shell[data-theme=dark] .lead-communication-panel,.app-shell[data-theme=dark] .text-drawer,.app-shell[data-theme=dark] .form-header,.app-shell[data-theme=dark] .pending-photo-item,.app-shell[data-theme=dark] .photo-empty,.app-shell[data-theme=dark] .photo-tile,.app-shell[data-theme=dark] .map-panel,.app-shell[data-theme=dark] .map-modal,.login-page[data-theme=dark] .login-form,.login-page[data-theme=dark] .field{background:#162230;border-color:#1e3348;color:#e0e6ed}.app-shell[data-theme=dark] .text-lead-context,.app-shell[data-theme=dark] .text-thread{background:#0f1923;border-color:#1e3348}.app-shell[data-theme=dark] .security-event-row{border-color:#1e3348}.app-shell[data-theme=dark] .security-status.pending{border-color:#8c7332;background:#b4891b29;color:#f2cf71}.app-shell[data-theme=dark] .security-status.success{border-color:#3d7d4e;background:#368b4e29;color:#8bd39d}.app-shell[data-theme=dark] .security-status.failure,.app-shell[data-theme=dark] .security-status.blocked{border-color:#88463f;background:#b21f2426;color:#f49a91}.app-shell[data-theme=dark] .security-status.audit{border-color:#31516f;background:#1e3348;color:#8bc6f4}.app-shell[data-theme=dark] .text-drawer-header,.app-shell[data-theme=dark] .automatic-texts,.app-shell[data-theme=dark] .text-composer{background:#162230;border-color:#1e3348}.app-shell[data-theme=dark] .conversation-attention{color:#f49a91;background:#b21f2426}.app-shell[data-theme=dark] .message-composer-lock{color:var(--presence-color);background:var(--presence-bg);border-color:var(--presence-color)}.app-shell[data-theme=dark] .message-composer-lock small{color:#a6bdd0}.app-shell[data-theme=dark] .text-drawer-header .preferred-contact-summary{color:#edf4fb;background:#1e3348}.app-shell[data-theme=dark] .text-message.incoming,.app-shell[data-theme=dark] .text-composer select,.app-shell[data-theme=dark] .text-composer textarea{color:#e0e6ed;background:#1e3348;border-color:#31516f}.app-shell[data-theme=dark] .text-message.outgoing{background:#263f59}.app-shell[data-theme=dark] .automatic-text-row>button{border-color:#31516f;color:#4ea8ff}.app-shell[data-theme=dark] .automatic-text-row>button:disabled{color:#6f8294;background:#0f1923}.app-shell[data-theme=dark] .field.is-presence-editing{border-color:var(--presence-color);box-shadow:0 0 0 3px var(--presence-bg)}.app-shell[data-theme=dark] .portal-tile,.app-shell[data-theme=dark] .portal-band,.app-shell[data-theme=dark] .placeholder-panel,.app-shell[data-theme=dark] .metric-card,.app-shell[data-theme=dark] .settings-panel,.login-page[data-theme=dark] .login-form{box-shadow:0 18px 46px #0000003d}.app-shell[data-theme=dark] .table-head,.app-shell[data-theme=dark] .sidebar-toggle{background:#1e3348;color:#4ea8ff}.app-shell[data-theme=dark] .choice-menu{background:#162230;border-color:#1e3348;box-shadow:0 18px 44px #00000057}.app-shell[data-theme=dark] .choice-option{color:#e0e6ed}.app-shell[data-theme=dark] .choice-option:hover,.app-shell[data-theme=dark] .choice-option:focus-visible{background:#1e3348;color:#4ea8ff}.app-shell[data-theme=dark] .table-row,.app-shell[data-theme=dark] .settings-row,.app-shell[data-theme=dark] .settings-panel-header,.app-shell[data-theme=dark] .form-header,.app-shell[data-theme=dark] .form-actions,.app-shell[data-theme=dark] .map-panel-header{border-color:#1e3348}.app-shell[data-theme=dark] .table-row:hover,.app-shell[data-theme=dark] .board-sheet-chip:hover,.app-shell[data-theme=dark] .board-settings-button:hover,.app-shell[data-theme=dark] .board-sheet-list-button:hover,.app-shell[data-theme=dark] .board-sheet-list-button.active{background:#1e3348;border-color:#4ea8ff}.app-shell[data-theme=dark] .board-switcher button.active,.app-shell[data-theme=dark] .board-switcher button:hover{background:#1e3348;border-color:#4ea8ff;color:#4ea8ff}.app-shell[data-theme=dark] .portal-tile-icon{background:#1e3348;color:#4ea8ff}.app-shell[data-theme=dark] .base-formula-note,.app-shell[data-theme=dark] .photo-upload-field,.app-shell[data-theme=dark] .pending-photo-tile,.app-shell[data-theme=dark] .rate-hint,.app-shell[data-theme=dark] .map-empty,.app-shell[data-theme=dark] .settings-row.is-muted,.app-shell[data-theme=dark] .settings-autosave{background:#0f1923;border-color:#1e3348;color:#c0ccd8}.app-shell[data-theme=dark] .base-formula-note strong,.app-shell[data-theme=dark] .photo-upload-field strong,.app-shell[data-theme=dark] .pending-photo-item strong,.app-shell[data-theme=dark] .rate-hint strong,.app-shell[data-theme=dark] .map-panel-header strong,.app-shell[data-theme=dark] .form-section-title{color:#e0e6ed}.app-shell[data-theme=dark] .primary-button{background:#1e3348;border-color:#4ea8ff;color:#e0e6ed}.app-shell[data-theme=dark] .text-composer-actions .primary-button:disabled{color:#748596;border-color:#30465a;background:#18293a}.app-shell[data-theme=dark] .primary-button:hover{background:#263f59;border-color:#60a5fa}.app-shell[data-theme=dark] .theme-toggle,.app-shell[data-theme=dark] .icon-button:hover,.app-shell[data-theme=dark] .secondary-button:hover{border-color:#4ea8ff;color:#4ea8ff}.app-shell[data-theme=dark] .message-action.channel-unavailable:not(:disabled){border-color:#3a4650;background:#27323c;color:#77838d}.app-shell[data-theme=dark] .message-action.channel-unavailable:not(:disabled):hover,.app-shell[data-theme=dark] .message-action.channel-unavailable:not(:disabled):focus-visible{border-color:#52616e;background:#32404c;color:#aeb8c0}.app-shell[data-theme=dark] .eyebrow,.app-shell[data-theme=dark] .portal-tile-meta{color:#5a7a94}.app-shell[data-theme=dark] .metric-card strong,.app-shell[data-theme=dark] .portal-tile-copy strong,.app-shell[data-theme=dark] .settings-panel-header h3,.app-shell[data-theme=dark] .board-settings-button strong,.app-shell[data-theme=dark] .board-sheet-list-button strong{color:#fff}.app-shell[data-theme=dark] .master-switch,.app-shell[data-theme=dark] .automatic-setting{color:#e0e6ed;background:#162230;border-color:#31516f}.app-shell[data-theme=dark] .master-switch:has(input:checked),.app-shell[data-theme=dark] .messaging-availability[data-ready=true]{color:#a9e5b6;background:#163122;border-color:#2c6840}.app-shell[data-theme=dark] .messaging-availability{color:#eadb9d;background:#342f1b;border-color:#665a25}.app-shell[data-theme=dark] .automatic-settings-grid{border-color:#1e3348;background:#1e3348}.app-shell[data-theme=dark] .notification-template-row,.app-shell[data-theme=dark] .communication-template-row,.app-shell[data-theme=dark] .communication-template-empty{border-color:#1e3348}.app-shell[data-theme=dark] .notification-template-row-header label,.app-shell[data-theme=dark] .notification-template-preview strong,.app-shell[data-theme=dark] .communication-template-controls label,.app-shell[data-theme=dark] .communication-template-message,.app-shell[data-theme=dark] .communication-template-preview strong{color:#fff}.app-shell[data-theme=dark] .notification-template-row textarea,.app-shell[data-theme=dark] .communication-template-controls input,.app-shell[data-theme=dark] .communication-template-controls select,.app-shell[data-theme=dark] .communication-template-message textarea{color:#e0e6ed;border-color:#31516f;background:#162230}.app-shell[data-theme=dark] .metric-card svg,.app-shell[data-theme=dark] .photo-upload-field svg{color:#4ea8ff}.app-shell[data-theme=dark] .status-badge.new,.app-shell[data-theme=dark] .status-badge.quoted{background:#4ea8ff1f;border-color:#4ea8ff;color:#4ea8ff}.app-shell[data-theme=dark] .status-badge.paid{background:#34d3991f;color:#34d399}.app-shell[data-theme=dark] .status-badge.dispatched{background:#60a5fa1f;color:#60a5fa}.app-shell[data-theme=dark] .source-badge{background:#0f1923;border-color:#1e3348;color:#c0ccd8}.app-shell[data-theme=dark] .source-website{background:#cc000024;border-color:#f87171;color:#fca5a5}.app-shell[data-theme=dark] .source-android{background:#34d3991f;border-color:#34d399;color:#34d399}.app-shell[data-theme=dark] .source-ios{background:#60a5fa1f;border-color:#60a5fa;color:#60a5fa}.app-shell[data-theme=dark] .needs-review-badge{border-color:#f87171;background:#b21f24;color:#fff}.app-shell[data-theme=dark] .lead-sheet-grid,.app-shell[data-theme=dark] .lead-sheet-grid td,.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-editor{background:#162230;border-color:#1e3348;color:#e0e6ed}.app-shell[data-theme=dark] .lead-sheet-grid th{background:#101820;border-color:#1e3348;color:#f3c32f}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-row-number{background:#111b26;color:#8ba4ba}.app-shell[data-theme=dark] .lead-sheet-quick-row td,.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-editor:focus{background:#1c2b38}.app-shell[data-theme=dark] .lead-sheet-quick-row .lead-sheet-row-number{background:#f3c32f;color:#171717}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr:hover td{background:#1b2a37}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.new{background:#f3c32f33;color:#f3c32f}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.quoted{border-color:#4ea8ff;background:#4ea8ff1f;color:#4ea8ff}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.dispatched{background:#60a5fa1f;color:#60a5fa}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.delivered{background:#d6be8e29;color:#d6be8e}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.paid{background:#34d3991f;color:#34d399}.app-shell[data-theme=dark] .lead-sheet-grid .lead-sheet-status-editor.canceled{background:#b21f24;color:#fff}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-saving .lead-sheet-row-number{background:#4ea8ff2e;color:#60a5fa}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-new td,.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-new td.lead-sheet-actions-cell{background:#393219}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-due td,.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-due td.lead-sheet-actions-cell{background:#493019}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-urgent td,.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.attention-urgent td.lead-sheet-actions-cell{background:#46232a}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-last-opened td,.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-last-opened td.lead-sheet-actions-cell{background:#17334a;box-shadow:inset 0 1px #4ea8ff,inset 0 -1px #4ea8ff}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-last-opened:hover td{background:#1d3e58}.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-last-opened .lead-sheet-row-number,.app-shell[data-theme=dark] .lead-sheet-grid tbody tr.is-last-opened:hover .lead-sheet-row-number{background:#2f73b7;color:#fff}.app-shell[data-theme=dark] .lead-sheet-grid td.has-grid-presence .lead-sheet-editor{background:var(--presence-bg);box-shadow:inset 0 0 0 2px var(--presence-color)}.app-shell[data-theme=dark] .lead-sheet-grid td.grid-presence-viewing .lead-sheet-editor{box-shadow:inset 0 0 0 1px var(--presence-color)}.app-shell[data-theme=dark] .grid-cell-presence{border-color:#162230;background:var(--presence-color);box-shadow:0 0 0 1px #162230;color:#0f1923}.app-shell[data-theme=dark] .attention-marker.new{background:#d9aa12;color:#171717}.app-shell[data-theme=dark] .attention-marker.scheduled{background:#4ea8ff;color:#0f1923}.app-shell[data-theme=dark] .attention-marker.due{background:#f59e0b;color:#171717}.app-shell[data-theme=dark] .attention-marker.urgent{background:#d95562;color:#fff}.app-shell[data-theme=dark] .board-switcher .attention-filter.active{background:#d9aa12;border-color:#d9aa12;color:#171717}.app-shell[data-theme=dark] .board-switcher .attention-filter.active>span{background:#171717;color:#fff}.app-shell[data-theme=dark] .dashboard-frame-page,.app-shell[data-theme=dark] .dashboard-frame{background:#0f1923;border-color:#1e3348}.app-shell[data-theme=light] .dashboard-frame-page,.app-shell[data-theme=light] .dashboard-frame{background:#f3f1ea;border-color:#d8d0bd}.app-shell{--section-heading: #e8edf0;--section-border: #b9c3cb;--section-rule: #687984;--section-ink: #24313a;--section-active: #b21f24;--section-active-bg: #fff0f0;--section-subheading: #f0f3f5;--section-field-border: #aeb9c2}.app-shell[data-theme=dark]{--section-heading: #293b4b;--section-border: #526777;--section-rule: #9cabb7;--section-ink: #f0f4f7;--section-active: #ffb5b8;--section-active-bg: #442a33;--section-subheading: #20303e;--section-field-border: #607585}.app-shell .form-flow-section:focus-within>.form-section-title{border-left-color:var(--section-active);background:var(--section-active-bg);color:var(--section-ink)}.app-shell .lead-form .field:not(.is-presence-editing):not(:focus-within),.app-shell .settings-page .field:not(.is-presence-editing):not(:focus-within){border-color:var(--section-field-border)}.app-shell .settings-page{gap:20px}.app-shell .settings-page .settings-panel{overflow:visible;border-color:var(--section-border)}.app-shell .settings-page .settings-panel-header{position:sticky;top:0;z-index:3;border-left:4px solid var(--section-rule);border-bottom-color:var(--section-border);border-radius:7px 7px 0 0;background:var(--section-heading);color:var(--section-ink)}.app-shell .settings-page .settings-panel:focus-within>.settings-panel-header{border-left-color:var(--section-active);background:var(--section-active-bg)}.app-shell .settings-page .settings-panel-header p{color:var(--section-ink)}.app-shell .settings-page .email-account-band-header{background:var(--section-subheading);border-bottom-color:var(--section-border)}.app-shell .settings-page :is(.communication-template-row,.notification-template-row){border-bottom-color:var(--section-border)}.app-shell .settings-page :is(.communication-template-row,.notification-template-row):focus-within{box-shadow:inset 4px 0 var(--section-active)}.app-shell .settings-page :is(input,select,textarea){scroll-margin-block:150px 24px}html:has(.settings-page){scroll-padding-block:150px 24px}.app-shell .settings-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not(:focus){border-color:var(--section-field-border)}@media(max-width:760px){html:has(.settings-page){scroll-padding-block:24px}.app-shell .settings-page .settings-panel-header{position:static;flex-wrap:wrap}}@media(max-width:1100px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:static;padding:18px}.sidebar-collapsed .brand-copy{display:block}.sidebar-collapsed .nav-list,.sidebar-collapsed .sidebar-note{display:none}.filters-band{grid-template-columns:repeat(2,minmax(0,1fr))}.table-header{align-items:flex-start;flex-wrap:wrap}.search-box{grid-column:1 / -1}.lead-quick-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.lead-workspace.has-communication,.lead-workspace.has-communication.communication-minimized{grid-template-columns:minmax(0,1fr);overflow-y:auto}.lead-workspace.has-communication .lead-form{max-height:none;overflow:visible}.lead-communication-panel{min-height:600px;border-top:1px solid var(--uapi-border);border-left:0}.lead-communication-panel.is-minimized{min-height:0}.dashboard-category-grid,.dashboard-store-cats,.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.website-lead-shell{grid-template-columns:minmax(0,1fr)}.website-lead-intro{position:static;padding:8px 0 0}.form-body-layout,.database-danger-zone,.security-history-grid,.email-protocol-grid{grid-template-columns:1fr}.email-protocol-grid>.email-account-band+.email-account-band{border-top:1px solid #eee6d6;border-left:0}}@media(max-width:720px){.website-lead-page{padding:0}.website-lead-header{min-height:auto;align-items:flex-start;flex-direction:column;padding:14px 18px}.website-lead-header a{font-size:18px}.website-lead-shell{padding:28px 18px}.website-lead-form{padding:16px}.website-submit-button{min-width:min(190px,100%);max-width:100%;white-space:normal}.website-lead-intro h1{font-size:32px}.website-form-grid,.website-form-grid-vehicle{grid-template-columns:1fr}.workspace{padding:18px}.topbar{align-items:flex-start;flex-direction:column}.topbar h2,.topbar-title-input{font-size:28px}.topbar-actions{width:100%;justify-content:stretch}.primary-button{flex:1}.filters-band,.board-sheet-strip,.portal-band,.lead-quick-strip,.form-grid{grid-template-columns:1fr}.portal-band{align-items:flex-start;flex-direction:column}.dashboard-category-grid,.dashboard-store-cats,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-hero,.dashboard-store header{display:grid}.dashboard-asof,.dashboard-store header strong{text-align:left}.dashboard-feed-row{grid-template-columns:54px minmax(0,1fr) 78px}.dashboard-feed-row span:nth-child(2),.dashboard-feed-row em{display:none}.form-body-layout{padding:14px 16px 6px}.form-grid-quote,.base-formula-grid,.board-sheets-layout,.board-settings-button-grid,.quote-modifiers-table .settings-row,.board-buyer-table .settings-row,.towing-company-table .settings-row,.user-settings-table .settings-row,.role-title-grid{grid-template-columns:1fr}.settings-panel-header{align-items:flex-start;flex-direction:column}.settings-panel-header>.secondary-button,.settings-panel-header>.lead-alert-sound-actions,.communication-template-controls{width:100%}.lead-alert-sound-actions .secondary-button{flex:1 1 auto;justify-content:center}.communication-template-controls{grid-template-columns:minmax(0,1fr) 42px}.communication-template-controls label:first-child{grid-column:1 / -1}.communication-template-meta{display:grid}.communication-template-meta span:last-child{text-align:left}.security-event-row{grid-template-columns:62px minmax(0,1fr)}.security-event-row time{grid-column:2;text-align:left}.automatic-settings-grid,.email-identity-grid,.email-server-grid{grid-template-columns:1fr}.email-login-field,.email-credentials-toggle,.email-password-clear{grid-column:1}.email-settings-actions{align-items:stretch;flex-direction:column}.email-settings-actions .primary-button,.email-settings-actions .secondary-button{width:100%;justify-content:center}.master-switch{width:100%;justify-content:space-between}.settings-action-row,.board-settings-subhead{width:100%;justify-content:flex-start;flex-direction:column}.role-card-head{flex-direction:column}.form-grid-tight .field,.form-grid-tight .field-compact,.form-grid-tight .field-wide,.lead-details-grid .lead-status-field,.lead-details-grid .paid-date-field{grid-column:1 / -1}.lead-form .form-header{position:static}.form-header-main{align-items:flex-start;flex-direction:column}.form-header-actions{width:100%;flex-direction:row;align-items:flex-end}.text-drawer{width:100%}.text-lead-context{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.text-lead-context .status-badge{grid-column:1 / -1;justify-self:start}.automatic-texts-head>div{align-items:flex-start;flex-direction:column;gap:2px}.fender-lookup-toggle{width:34px;padding:0}.fender-lookup-toggle span{display:none}}.filters-band{grid-template-columns:minmax(230px,1fr) minmax(226px,270px) repeat(4,minmax(110px,150px))}.lead-date-filter{position:relative;min-width:0;align-self:stretch;z-index:15}.lead-date-control{display:flex;gap:3px;align-items:stretch;height:100%;min-height:42px}.lead-date-control button{background:#fff;color:#211d19;border:1px solid var(--uapi-border);border-radius:6px}.lead-date-control button:hover{background:#f6f6f6;border-color:var(--uapi-red)}.lead-date-arrow{display:grid;place-items:center;width:24px;flex:0 0 24px;padding:0}.lead-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:1;min-width:0;padding:5px 9px;text-align:left}.lead-date-trigger>span{display:grid;gap:1px;flex:1;min-width:0}.lead-date-trigger small{font-size:10px;text-transform:uppercase;color:#7b7168;font-weight:700;letter-spacing:0}.lead-date-trigger strong{font-size:12px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}.lead-date-trigger svg{flex-shrink:0}.lead-date-trigger[aria-expanded=true]{border-color:var(--uapi-red);box-shadow:0 0 0 2px #b21f2418}.lead-date-picker{position:absolute;z-index:100;top:calc(100% + 7px);left:0;width:365px;max-width:calc(100vw - 36px);background:#fff;color:#211d19;padding:15px;border:1px solid #cfcfcf;border-radius:7px;box-shadow:0 10px 25px #00000020}.lead-date-modes{display:flex;gap:5px;margin-bottom:17px}.lead-date-picker button{font:inherit;font-size:13px;font-weight:600;border:1px solid #d2d2d2;border-radius:4px;padding:7px 10px;min-height:34px;background:#fff;color:#333}.lead-date-modes button{flex:1;white-space:nowrap}.lead-date-modes button[aria-pressed=true],.lead-date-picker .lead-date-apply{background:var(--uapi-red);border-color:var(--uapi-red);color:#fff}.lead-date-picker label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:650;color:#555}.lead-date-picker input{font:inherit;font-size:14px;font-weight:400;width:100%;min-width:0;border:1px solid #ccc;background:#fff;color:#222;padding:7px;border-radius:4px;height:38px}.lead-date-picker input:focus-visible,.lead-date-picker button:focus-visible,.lead-date-control button:focus-visible{outline:2px solid var(--uapi-red);outline-offset:2px}.lead-date-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lead-date-picker footer{display:flex;align-items:center;gap:7px;margin-top:18px}.lead-date-picker footer>span{flex:1}.lead-date-picker .lead-date-all{background:none;border-color:transparent;padding-left:0;color:#666}.lead-date-error{font-size:12px;color:#b21f24;margin:10px 0 0}@media(max-width:1400px){.filters-band{grid-template-columns:minmax(240px,1.5fr) minmax(226px,1fr) minmax(150px,1fr)}}@media(max-width:850px){.filters-band{grid-template-columns:1fr 1fr}.lead-date-picker{right:0;left:auto}}@media(max-width:560px){.filters-band{grid-template-columns:1fr}.lead-date-picker{left:0;right:auto;width:100%}.lead-date-range{grid-template-columns:1fr}.lead-date-picker input{font-size:16px}}
