/* ============================================================================
   PURCHASE PACKAGE - MAIN STYLESHEET
   (c) 2026 Andres Lazaro Perez Cardoso. All rights reserved.

   THEME: Dark navy (#182635) + signal red (#d71920) + light gray backgrounds

   MAJOR SECTIONS:
   --------------
   - CSS variables (:root) - colors, spacing
   - Header (.header) - logo, toolbar with action buttons
   - Navigation (.nav) - 3-page tab buttons
   - Pager (.pager) - Previous/Next with progress bar
   - Sign-in gate (#signInScreen, .front-gate) - full-page login overlay
   - Form layout (.sheet, .section, .col2/.col3/.col4 grids)
   - Inputs: text-transform rules
     * Default: capitalize (proper case display)
     * .uppercase / inline styles: uppercase (VIN, plate, etc.)
     * Email/username: lowercase
   - Toast notifications (.s441-toast-*)
   - Confirmation modal (.s441-modal-*)
   - Draft picker, date picker modal styles
   - Print styles (@media print) - hides nav/toolbar for PDF print
   - Mobile responsive (@media max-width)

   NOTE: Input text-transform is VISUAL ONLY. The actual value conversion
   happens in JavaScript (installFormatting, toProperCase).
   ============================================================================ */

@charset "utf-8";
/* CSS Document */
.choice-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:4px}.choice{display:flex!important;align-items:center;gap:7px;cursor:pointer}.choice input{width:auto!important}.co-seller-details{display:contents}

:root{--red:#c9141d;--red2:#a90e16;--blue:#0b4c7c;--navy:#18232d;--ink:#18232d;--muted:#65717c;--line:#cbd4dc;--bg:#e9edf1;--field:#f3f8fc}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
.header{background:var(--navy);color:#fff;padding:14px 20px;position:sticky;top:0;z-index:100;box-shadow:0 2px 10px #0004}
.header-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo{font-size:24px;font-weight:900}.logo span{color:#e21a23}
.subtitle{font-size:11px;opacity:.8;margin-top:2px}
.toolbar{display:flex;gap:7px;flex-wrap:wrap}
button{font:inherit;font-weight:700;border:0;border-radius:6px;padding:9px 13px;cursor:pointer}
.btn-red{background:var(--red);color:white}.btn-blue{background:var(--blue);color:white}.btn-light{background:#eef2f5;color:var(--ink)}
.nav{max-width:1200px;margin:14px auto 0;display:flex;gap:7px;padding:0 12px}
.pager{max-width:1200px;margin:8px auto 0;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.pager button{min-width:145px}
.bottom-pager{margin:14px 0 0;padding:12px;border-top:1px solid var(--line);}
.bottom-pager .page-indicator{flex:1;}
.page-indicator{flex:1;text-align:center;font-size:12px;font-weight:800;color:#4a5661}
.progress{height:5px;background:#d5dce2;border-radius:99px;overflow:hidden;max-width:300px;margin:5px auto 0}
.progress i{display:block;height:100%;width:33.333%;background:var(--red);transition:width .45s cubic-bezier(.22,.9,.3,1.2)}

.nav button{background:#fff;border:1px solid var(--line)}.nav button.active{background:var(--red);color:#fff;border-color:var(--red)}
.status{max-width:1200px;margin:12px auto 0;padding:10px 14px;border-radius:6px;background:#eaf7eb;color:#216b28;display:none}.status.error{background:#fff0f0;color:#9b1d25}
.container{max-width:1200px;margin:12px auto 45px;padding:0 12px}
.sheet{background:#fff;border-radius:10px;box-shadow:0 2px 14px #00000012;margin-bottom:18px;overflow:hidden}
.sheet-header{padding:12px 16px;background:linear-gradient(90deg,var(--navy),#273541);color:#fff;display:flex;justify-content:space-between;align-items:center}
.sheet-header h2{margin:0;font-size:16px}.page-number{font-size:11px;opacity:.8}
.section{border:1px solid #d3dae0;border-radius:8px;margin:14px;padding:0;overflow:hidden}
.section-title{background:#edf1f4;border-bottom:1px solid #d3dae0;padding:8px 11px;font-size:13px;font-weight:900;color:#202b35;text-transform:uppercase}
.section-title.red{background:var(--red);color:#fff;border-color:var(--red)}
.small-btn{float:right;background:#fff;color:#202b35;border:1px solid #c8d0d7;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:800;cursor:pointer}.small-btn:hover{background:#f5f7f9}
.section-title.blue{background:var(--blue);color:#fff;border-color:var(--blue)}
.section-body{padding:12px}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
.payoff-grid{
    position:relative;
}
@media(max-width:800px){.payoff-grid::before{display:none}}
.col1{grid-column:span 1}.col2{grid-column:span 2}.col3{grid-column:span 3}.col4{grid-column:span 4}.col5{grid-column:span 5}.col6{grid-column:span 6}.col8{grid-column:span 8}.col9{grid-column:span 9}.col12{grid-column:1/-1}
label{font-size:11px;font-weight:800;color:#3e4b57;display:block;margin-bottom:4px}
input,select,textarea{width:100%;border:1px solid #bfcbd5;background:var(--field);border-radius:5px;padding:8px 9px;font-size:13px;color:#17212a;text-transform:capitalize;text-align:left}select{text-align:left;text-align-last:left}
input,select{height:36px}textarea{min-height:70px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid #c7e0f3;border-color:#5a99c4;background:#fff}
.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline label{display:flex;align-items:center;gap:5px;margin:0;font-weight:700}.inline input[type=checkbox],.inline input[type=radio]{width:auto;height:auto}
.note{font-size:11px;color:var(--muted);line-height:1.45}
.signature{height:42px;background:#fff}
.required::after{content:" *";color:var(--red)}
.vehicle-actions{display:flex;gap:8px;align-items:end}
.vehicle-actions button{height:36px}
#editStockBtn{height:36px;width:100%}
input[readonly]{background:#edf1f4;color:#53616d}
.small{font-size:10px}
.footer{padding:14px;text-align:center;font-size:11px;color:#697681}
@media(max-width:800px){.pager{padding:0 10px}.pager button{min-width:120px;padding:9px 8px}.page-indicator{font-size:11px}.header-inner{align-items:flex-start;flex-direction:column}.toolbar{width:100%}.toolbar button{flex:1}.col1,.col2,.col3,.col4,.col5,.col6,.col8,.col9{grid-column:1/-1}}
@media print{
 @page{size:Letter;margin:.35in}
 body{background:#fff;font-size:10px}
 .header,.nav,.status,.toolbar,.no-print{display:none!important}
 .container{max-width:none;margin:0;padding:0}
 .sheet{box-shadow:none;border:0;margin:0 0 8px;break-after:page}
 .sheet:last-child{break-after:auto}
 .sheet-header{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .section{break-inside:avoid;margin:8px 0}
 .section-title,.sheet-header{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 input,select,textarea{background:#fff;border:1px solid #777;height:27px;padding:4px;font-size:10px}
 textarea{min-height:45px}
 .signature{height:30px}
}

input[type="date"]{width:100%;min-height:38px;padding:9px 10px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#111827;font:inherit;box-sizing:border-box;}
input[type="date"]:focus{outline:2px solid rgba(11,92,171,.18);border-color:#0b5cab;}

/* V24 Front Page — website design */
.front-hero{position:relative;min-height:calc(100vh - 24px);overflow:hidden;border-radius:18px;background:linear-gradient(135deg,#f7fafc 0%,#ffffff 52%,#eef2f5 100%);border:1px solid #d7dfe6;box-shadow:0 12px 32px rgba(15,23,32,.12)}
.front-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 22%,rgba(215,25,32,.10),transparent 28%),radial-gradient(circle at 12% 85%,rgba(11,76,124,.08),transparent 28%);pointer-events:none}
.front-wrap{position:relative;z-index:2;min-height:calc(100vh - 24px);padding:24px 28px 18px;display:flex;flex-direction:column}
.front-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #dde3e8}
.front-brand{display:flex;align-items:center;gap:14px}.front-mark{width:56px;height:56px;border-radius:8px;background:#d71920;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px;letter-spacing:.8px;box-shadow:0 6px 16px rgba(215,25,32,.22)}
.front-brand h1{margin:0;font-size:30px;line-height:.95;letter-spacing:-1px;color:#121820}.front-brand h1 span{color:#d71920}.front-brand small{display:block;margin-top:7px;letter-spacing:4px;font-weight:800;color:#4a5661;font-size:9px}
.front-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.front-actions button{padding:8px 10px;font-size:11px;border-radius:7px}
.front-main{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);gap:26px;align-items:stretch;flex:1;padding:24px 0 14px}
.front-left{display:flex;flex-direction:column;justify-content:center;min-width:0}.front-kicker{font-weight:800;font-size:20px;color:#25313b;margin-bottom:3px}.front-title{font-size:56px;line-height:.94;margin:0 0 14px;font-weight:900;letter-spacing:-2.7px;color:#101820}.front-title span{color:#d71920}.front-lead{font-size:17px;line-height:1.5;color:#3a4853;max-width:670px;margin:0 0 20px}
.front-card{max-width:710px;background:rgba(255,255,255,.98);border:1px solid #d7dfe6;border-radius:15px;padding:22px;box-shadow:0 16px 34px rgba(15,23,32,.12)}.front-card-head h3{margin:0;font-size:21px}.front-card-head p{margin:5px 0 15px;font-size:12px;color:#66737e}.front-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.front-field label{font-size:11px;font-weight:900;color:#27313a;text-transform:uppercase;display:block;margin-bottom:6px}.front-field input{height:45px;border-radius:9px;background:#fff;border:1px solid #c9d2da;font-size:14px;padding:9px 12px;text-transform:capitalize}.front-field input[type=date]{text-transform:none}.front-start{width:100%;margin-top:15px;height:48px;border-radius:9px;font-size:15px;font-weight:900;background:#d71920;color:#fff;box-shadow:0 8px 18px rgba(215,25,32,.22)}
.front-highlights{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;max-width:860px;margin-top:16px}.front-highlight{display:flex;align-items:flex-start;gap:8px;background:#fff;border-radius:10px;padding:10px 9px;border:1px solid #dce2e7}.front-icon{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#20262c;color:#fff;font-size:13px;font-weight:900}.front-highlight:nth-child(1) .front-icon,.front-highlight:nth-child(3) .front-icon{background:#d71920}.front-highlight strong{display:block;font-size:9.5px;line-height:1.15}.front-highlight span{display:block;font-size:8.5px;color:#5d6670;line-height:1.25;margin-top:3px}
.front-visual{position:relative;min-height:520px;border-radius:18px;overflow:hidden;box-shadow:0 16px 38px rgba(15,23,32,.16);background:#dfe6ec center/cover no-repeat url('front_page_art.png')}.front-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 55%,rgba(12,18,24,.22) 100%)}.front-visual-badge{position:absolute;left:18px;bottom:18px;z-index:2;background:rgba(255,255,255,.92);border-radius:12px;padding:12px 14px;box-shadow:0 8px 20px rgba(0,0,0,.14);max-width:290px}.front-visual-badge strong{display:block;font-size:13px;color:#111820}.front-visual-badge span{display:block;font-size:11px;color:#596570;margin-top:4px}
.front-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;border-top:1px solid #dde3e8}.front-contact{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#2c3640}.front-contact b{color:#111}.front-tagline{font-size:17px;font-style:italic;font-weight:700;color:#262c31}.front-nav{margin-top:10px}.front-nav .bottom-pager{border-top:0;padding:0}.front-nav .page-indicator{font-size:11px}

/* V34 front-page gate */
body.front-locked .toolbar > :not(.draft-btn):not(.logout-btn):not(#dashHomeBtn){display:none!important}
body.front-locked > .nav,
body.front-locked > .pager,
body.front-locked .front-nav,
body.front-locked #status{display:none!important}
.front-locked .container{max-width:none;margin:0;padding:0}
.front-gate{position:relative;min-height:calc(100vh - 74px);background:#12202c center/cover no-repeat url('front_page_art.jpg');overflow:hidden;border-radius:0}
.front-gate::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,28,.78) 0%,rgba(8,18,28,.55) 40%,rgba(8,18,28,.16) 67%,rgba(8,18,28,.06) 100%)}
.front-gate::after{content:"";position:absolute;left:0;right:0;bottom:0;height:30%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.3))}
.front-gate-content{position:relative;z-index:2;min-height:calc(100vh - 74px);max-width:1220px;margin:auto;padding:70px 44px;display:flex;align-items:center}
.front-copy{width:min(560px,100%);color:#fff}
.front-eyebrow{font-size:15px;font-weight:900;letter-spacing:2.4px;text-transform:uppercase;opacity:.96;margin-bottom:12px}
.front-gate-title{font-size:clamp(42px,5.2vw,76px);line-height:.96;letter-spacing:-2.8px;font-weight:950;margin:0 0 18px}
.front-gate-title span{color:#e21a23}
.front-gate-lead{font-size:18px;line-height:1.5;max-width:500px;margin:0 0 26px;color:rgba(255,255,255,.92)}
.front-form-card{background:rgba(255,255,255,.97);border-radius:18px;padding:22px;box-shadow:0 18px 46px rgba(0,0,0,.28);color:#18232d;max-width:560px}
.front-form-title{font-size:22px;font-weight:900;margin:0 0 6px}.front-form-sub{font-size:12px;color:#67727d;margin-bottom:16px}
.front-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.front-form-row label{color:#25313c;font-size:12px;text-transform:uppercase}.front-form-row input,.front-form-row select{text-transform:capitalize;background:#f4f8fb;border-color:#c6d2dc;font-size:14px;padding:11px}
.front-ready{display:none;margin-top:12px;font-size:12px;font-weight:800;color:#167034;background:#effaf1;border:1px solid #bde3c6;border-radius:10px;padding:10px 12px}
.front-locked .front-form-card.ready .front-ready{display:block}
.front-continue{width:100%;margin-top:12px;height:48px;border:0;border-radius:9px;font-size:15px;font-weight:900;background:#d71920;color:#fff;box-shadow:0 8px 18px rgba(215,25,32,.22);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.front-continue:disabled{background:#aeb8c2;box-shadow:none;cursor:not-allowed;opacity:.75}
.front-continue:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(215,25,32,.28)}
.front-instructions{margin-top:16px;font-size:12px;color:rgba(255,255,255,.8)}
.front-brand-overlay{display:flex;align-items:center;gap:12px;margin-bottom:28px}.front-brand-overlay .mark{width:52px;height:52px;border-radius:11px;background:#d71920;display:grid;place-items:center;font-weight:900;font-size:10px}.front-brand-overlay strong{font-size:25px;letter-spacing:-.6px}.front-brand-overlay strong span{color:#e21a23}.front-brand-overlay small{display:block;font-size:10px;letter-spacing:3px;margin-top:3px;opacity:.82}
body.purchase-ready .front-gate{min-height:calc(100vh - 150px)}
body.purchase-ready .front-gate-content{min-height:calc(100vh - 150px)}
@media(max-width:800px){.front-form-row{grid-template-columns:1fr}.front-gate-content{padding:38px 20px}.front-gate{min-height:calc(100vh - 70px)}.front-gate::before{background:linear-gradient(90deg,rgba(8,18,28,.84),rgba(8,18,28,.52))}.front-brand-overlay strong{font-size:21px}}

/* V26 page transitions */
.web-page{opacity:0;transform:translateX(18px);transition:opacity .24s ease,transform .24s ease}
.web-page.page-visible{opacity:1;transform:translateX(0)}
@media (prefers-reduced-motion: reduce){.web-page{transition:none}}
.front-card{transition:transform .2s ease,box-shadow .2s ease}.front-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(15,23,32,.14)}
.nav button,.pager button,.front-start{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.nav button:hover,.pager button:hover,.front-start:hover{transform:translateY(-1px)}

body.front-page-active{background:#eef2f5}.front-page-active .header,.front-page-active>.nav,.front-page-active>.pager{display:block!important}.front-page-active .container{max-width:1500px;margin:12px auto 12px;padding:0 12px}.front-page-active #webPage4{display:block!important;margin:0}.front-page-active #webPage4>.sheet-header,.front-page-active #webPage4>.section,.front-page-active #webPage4>.footer{display:none}.front-page-active #webPage4 .front-page-layout{display:block!important}
@media(max-width:1050px){.front-main{grid-template-columns:1fr}.front-visual{min-height:360px}.front-highlights{grid-template-columns:1fr 1fr}.front-footer{flex-direction:column;align-items:flex-start}}
@media(max-width:650px){.front-wrap{padding:16px}.front-top{align-items:flex-start}.front-actions{display:none}.front-brand h1{font-size:23px}.front-mark{width:50px;height:50px}.front-kicker{font-size:16px}.front-title{font-size:38px;letter-spacing:-1.6px}.front-lead{font-size:15px}.front-form-grid{grid-template-columns:1fr}.front-highlights{grid-template-columns:1fr}.front-visual{min-height:290px}.front-footer{gap:10px}.front-tagline{font-size:15px}}
@media print{.front-page-active .front-hero{box-shadow:none;min-height:auto}.front-page-active #webPage4{display:none!important}}
	
	
	/* =========================================
   SOURCE OF PURCHASE DROPDOWN
   ========================================= */

.front-select {
    width: 100%;
    height: 52px;
    box-sizing: border-box;

    padding: 0 42px 0 16px;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    background-color: #ffffff;


    color: #1f2937;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
    outline: none;

    appearance: auto;
    -webkit-appearance: auto;
}

/* Dropdown when selected/clicked */
.front-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* First option - SELECT SOURCE */
.front-select option:first-child {
    color: #6b7280;
}

/* Other options */
.front-select option {
    background-color: #ffffff;
    color: #1f2937;
    font-size: 15px;
}

/* Make date and dropdown the same height */
.front-form-row input[type="date"],
.front-form-row input.flatpickr-input,
.front-form-row select.front-select {
    height: 52px !important;
    min-height: 52px !important;
    box-sizing: border-box;
    width: 100%;
}
	
.seller-customer-buttons {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    flex-wrap: wrap;
}

.seller-customer-buttons button {
    padding: 9px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

#saveSellerBtn {
    background: #198754;
    color: white;
}

#insertSellerBtn {
    background: #0d6efd;
    color: white;
}

.seller-customer-buttons button:hover {
    opacity: 0.9;
}

/* =========================================================
   REQUIRED FIELD STYLING
   ========================================================= */

/* Required field that is empty */
input[required]:user-invalid,
select[required]:user-invalid,
textarea[required]:user-invalid {
    border: 2px solid #dc3545;
    background-color: #fff5f5;
}

/* Required field that has been completed */
input[required]:valid,
select[required]:valid,
textarea[required]:valid {
    border: 2px solid #28a745;
    background-color: #f6fff8;
}

/* When the user clicks into a required field */
input[required]:focus,
select[required]:focus,
textarea[required]:focus {
    outline: none;
    border: 2px solid #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* =========================================================
   NOT REQUIRED FIELD STYLING
   ========================================================= */

/* Required field that has been completed */
.textinput:valid {
    border: 2px solid #28a745;
    background-color: #f6fff8;
}

/* When the user clicks into a required field */
.textinput:focus {
    outline: none;
    border: 2px solid #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}
/* =========================================================
   LARGE MONEY FIELDS
   ========================================================= */

.large-money-field {
    height: 70px !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    text-align: right;
    box-sizing: border-box;
}
/* =========================================================
       MID MONEY FIELDS
   ========================================================= */

.mid-money-field {
    height: 50px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    text-align: right;
    box-sizing: border-box;
}
/* =========================================================
   COMPANY DATABASE AUTOCOMPLETE
   ========================================================= */

#companySuggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;

    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;

    max-height: 250px;
    overflow-y: auto;

    z-index: 99999;

    box-shadow: 0 6px 16px rgba(24, 35, 45, 0.18);

    margin-top: 3px;
}


/* Individual suggestion */
.company-suggestion {
    padding: 10px 12px;

    background: #ffffff;
    color: var(--ink);

    border-bottom: 1px solid #e1e6ea;

    font-size: 13px;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


/* Remove border from last suggestion */
.company-suggestion:last-child {
    border-bottom: none;
}


/* Company name */
.company-suggestion strong {
    display: block;

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;

    margin-bottom: 3px;
}


/* EIN */
.company-suggestion small {
    display: block;

    color: var(--muted);

    font-size: 11px;
}


/* Hover */
.company-suggestion:hover {
    background: var(--field);
}


/* Hover company name */
.company-suggestion:hover strong {
    color: var(--blue);
}


/* Hover EIN */
.company-suggestion:hover small {
    color: var(--blue);
}


/* Scrollbar */
#companySuggestions::-webkit-scrollbar {
    width: 7px;
}

#companySuggestions::-webkit-scrollbar-track {
    background: #edf1f4;
    border-radius: 6px;
}

#companySuggestions::-webkit-scrollbar-thumb {
    background: #b7c2cc;
    border-radius: 6px;
}

#companySuggestions::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}
.sheet-header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}.field-error{border-color:#c0392b !important;box-shadow:0 0 0 2px rgba(192,57,43,.15)}
#s441LoginEmail,#s441LoginPin{text-transform:none}

/* Button loading spinner */
.btn-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:btn-spin .7s linear infinite;vertical-align:-2px}
@keyframes btn-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.btn-spinner{animation:none}}

/* Button press states and focus rings */
.btn-red,.btn-light,button[type=button]{transition:transform .08s ease,box-shadow .15s ease,background-color .15s ease}
.btn-red:active,.btn-light:active,button[type=button]:active{transform:scale(.97)}
.btn-red:focus-visible,.btn-light:focus-visible,button[type=button]:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2563eb;outline-offset:1px;border-color:#2563eb}
@media (prefers-reduced-motion: reduce){.btn-red,.btn-light,button[type=button]{transition:none}.btn-red:active,.btn-light:active,button[type=button]:active{transform:none}}

/* Sign-in entrance animation */
#signInScreen .front-gate-content{animation:signin-rise .45s cubic-bezier(.2,.8,.3,1) both}
#signInScreen .front-form-card input:not([type="checkbox"]),#signInScreen .front-form-card select{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.45);color:#fff}
#signInScreen .front-form-card input::placeholder{color:rgba(255,255,255,.55)}
#signInScreen .front-form-card input:focus,#signInScreen .front-form-card select:focus{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.75);outline:none}
#signInScreen .front-form-card select option{color:#17212a;background:#fff}
#signInScreen .front-form-card{animation:signin-rise .45s .08s cubic-bezier(.2,.8,.3,1) both;background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);border:1px solid rgba(255,255,255,.35);box-shadow:0 18px 46px rgba(0,0,0,.4);color:#fff}#signInScreen .front-form-card h2,#signInScreen .front-form-card .front-form-title{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.4)}#signInScreen .front-form-card .front-form-sub{color:rgba(255,255,255,.85)}#signInScreen .front-form-card label{color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.35)}
@keyframes signin-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion: reduce){#signInScreen .front-gate-content,#signInScreen .front-form-card{animation:none}}

/* Login error shake */
@keyframes login-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.login-shake{animation:login-shake .4s ease}
@media (prefers-reduced-motion: reduce){.login-shake{animation:none}}

/* Bank / lienholder autocomplete */
.bank-ac-wrap{position:relative}
.bank-ac-list{position:absolute;top:100%;left:0;right:0;z-index:50;background:#fff;
  border:1px solid #d1d5db;border-top:none;border-radius:0 0 8px 8px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);max-height:240px;overflow-y:auto}
.bank-ac-item{padding:9px 12px;cursor:pointer;border-bottom:1px solid #f1f3f5}
.bank-ac-item:last-child{border-bottom:none}
.bank-ac-item:hover{background:#f3f6fb}
.bank-ac-item b{display:block;font-size:14px;color:#111}
.bank-ac-item span{display:block;font-size:12px;color:#6b7280;margin-top:2px}

/* Login tabs (associate / admin) */
.login-tabs{display:flex;gap:6px;background:rgba(0,0,0,.28);border-radius:10px;padding:4px;margin:14px 0 4px}
.login-tab{flex:1;border:none;background:transparent;color:#b8c6d4;font-size:14px;font-weight:700;
  padding:10px;border-radius:7px;cursor:pointer;transition:background .15s,color .15s}
.login-tab:hover{color:#fff}
.login-tab.active{background:#d71920;color:#fff}

/* Login fields: never auto-uppercase */
#s441LoginEmail,#s441LoginPin{text-transform:none !important}

/* Force light styling on password/PIN fields (fixes dark autofill rendering) */
input[type=password]{
  background:#fff !important;
  color:#1a1a1a !important;
  -webkit-text-fill-color:#1a1a1a !important;
  caret-color:#1a1a1a;
}
input[type=password]:-webkit-autofill,
input[type=password]:-webkit-autofill:hover,
input[type=password]:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color:#1a1a1a !important;
  background:#fff !important;
}

/* Mobile polish: larger touch targets, better readability on small screens */
@media(max-width:800px){
  input, select, textarea{font-size:16px !important; min-height:44px}
  button, .btn-red, .btn-light{min-height:44px; font-size:15px}
  .header-inner{padding:10px 12px}
  h2{font-size:20px}
  .sheet-header{flex-direction:column; align-items:flex-start; gap:10px}
  .header-actions{flex-wrap:wrap; width:100%}
  table{font-size:13px}
  th, td{padding:8px 6px}
  .pager button{min-width:100px}
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.s441-toast-container{position:fixed;top:20px;right:20px;z-index:99999;display:flex;flex-direction:column;gap:10px;pointer-events:none}
.s441-toast{pointer-events:auto;min-width:280px;max-width:380px;padding:14px 18px;border-radius:10px;font-size:14px;font-weight:600;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);display:flex;align-items:center;gap:10px;animation:s441-toast-in .3s ease-out}
.s441-toast.success{background:linear-gradient(135deg,#1a9e4b,#147a38)}
.s441-toast.error{background:linear-gradient(135deg,#d71920,#a81319)}
.s441-toast.info{background:linear-gradient(135deg,#2b6cb0,#1a4a7a)}
.s441-toast.hiding{animation:s441-toast-out .3s ease-in forwards}
@keyframes s441-toast-in{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes s441-toast-out{from{transform:translateX(0);opacity:1}to{transform:translateX(100%);opacity:0}}

/* =========================================================
   CONFIRMATION MODAL
   ========================================================= */
.s441-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.55);z-index:99998;display:flex;align-items:center;justify-content:center;animation:s441-modal-fade .2s ease-out}
.s441-modal{background:#fff;border-radius:14px;padding:28px;max-width:420px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:s441-modal-pop .25s ease-out}
.s441-modal h3{margin:0 0 12px;font-size:18px;color:#1a2332}
.s441-modal p{margin:0 0 24px;font-size:14px;color:#5a6a7a;line-height:1.5}
.s441-modal-buttons{display:flex;gap:12px;justify-content:flex-end}
.s441-modal-btn{padding:11px 24px;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer;border:none;transition:all .15s}
.s441-modal-btn.cancel{background:#e8edf1;color:#3a4a5a}
.s441-modal-btn.cancel:hover{background:#d5dde3}
.s441-modal-btn.confirm{background:#d71920;color:#fff}
.s441-modal-btn.confirm:hover{background:#b8141a}
.s441-modal-btn.confirm.blue{background:#2b6cb0}
.s441-modal-btn.confirm.blue:hover{background:#1e4f82}
@keyframes s441-modal-fade{from{opacity:0}to{opacity:1}}
@keyframes s441-modal-pop{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}
/* Sign-in card fields: glassy, matching the card (same treatment as the Admin Console) */
#s441LoginEmail, #s441LoginPin, #setOwnPinNew, #setOwnPinConfirm {
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 8px;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}
#s441LoginForm input::placeholder, #setOwnPinForm input::placeholder { color: rgba(255,255,255,.6); }
#s441LoginForm input:focus, #setOwnPinForm input:focus { border-color: #fff !important; box-shadow: 0 0 0 3px rgba(255,255,255,.15); background: rgba(255,255,255,.22) !important; outline: none; }
#setOwnPinCard label { color: #fff; }
/* Override browser autofill styling on sign-in fields */
#s441LoginForm input:-webkit-autofill,
#s441LoginForm input:-webkit-autofill:hover,
#s441LoginForm input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.15) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Button family (refresh 2026-10-16): one system, two surfaces — glass
   pills on the navy header toolbar, solid pills on light content. Red
   stays reserved for the single primary action on each screen. */
.btn-red, .btn-light, .btn-blue { border-radius: 99px; }
.btn-light { border: 1px solid #c3ced6; }
.btn-light:hover { border-color: #93a5b3; }
.btn-red:hover { background: #a90e16; }
.header .toolbar .btn-light { background: #ffffff1f; border: 1px solid #ffffff47; color: #fff; }
.header .toolbar .btn-light:hover { background: #ffffff33; border-color: #ffffff70; }
.header .toolbar .btn-red { padding-left: 18px; padding-right: 18px; }
.logout-btn { display: inline-flex; align-items: center; gap: 7px; }

/* Sign-in report panel (2026-10-18): deep-blue band + the sign-in
   card's glass recipe, at the top of the signed-in workspace. */
/* MONTH PANEL PLACEMENT (2026-10-19): inside the workspace gate the
   band is a flex sibling of .front-copy - form on the left, the glass
   month panel on the right (Andres's direction). Scoped to #webPage4
   so the public sign-in gate keeps its layout. On narrower screens
   the gate stacks and the panel sits under the form card. */
#webPage4 .front-gate-content{justify-content:space-between;gap:48px}
#webPage4 .front-gate-content>.mr-band{flex:0 1 470px;max-width:470px;margin:0}
@media(max-width:1080px){#webPage4 .front-gate-content{flex-direction:column;justify-content:flex-start}#webPage4 .front-gate-content>.mr-band{flex:none;width:100%;max-width:560px;margin:18px auto 0}}
.mr-band{max-width:1060px;margin:0 auto 18px;border-radius:20px;padding:16px;background:radial-gradient(700px 300px at 10% -20%,rgba(64,145,220,.30),rgba(64,145,220,0) 60%),radial-gradient(640px 320px at 105% 115%,rgba(214,48,49,.22),rgba(214,48,49,0) 55%),linear-gradient(135deg,rgba(13,27,41,.40),rgba(20,50,78,.34) 55%,rgba(13,36,56,.40))}
.mr-glass{background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(2px) saturate(1.35);backdrop-filter:blur(2px) saturate(1.35);border:1px solid rgba(255,255,255,.26);border-radius:18px;box-shadow:0 18px 46px rgba(0,0,0,.4);color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5);padding:20px 22px}
.mr-head{display:flex;align-items:baseline;gap:12px}
.mr-title{font-size:20px;font-weight:800;text-shadow:0 1px 8px rgba(0,0,0,.4)}
.mr-month{font-size:11.5px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:rgba(255,255,255,.85)}
.mr-sub{font-size:12.5px;color:rgba(255,255,255,.85);margin-top:3px}
.mr-cols{display:flex;gap:26px;flex-wrap:wrap;margin-top:6px}
.mr-col{flex:1;min-width:280px}
.mr-sec{font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.35);margin:14px 0 9px}
.mr-leader{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);margin-bottom:7px}
.mr-rk{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.25);font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.mr-leader.first .mr-rk{background:#ffb62e;color:#4a2f00}
.mr-nm{font-size:14.5px;font-weight:700;min-width:110px}
.mr-bar{flex:1;height:7px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.mr-bar i{display:block;height:100%;border-radius:99px;background:rgba(255,255,255,.85)}
.mr-leader.first .mr-bar i{background:#ffb62e}
.mr-ct{font-size:15px;font-weight:800;min-width:56px;text-align:right}
.mr-ct small{display:block;font-size:10px;font-weight:400;color:rgba(255,255,255,.75)}
.mr-leader.you{background:rgba(255,182,46,.20);border-color:rgba(255,182,46,.55)}
.mr-leader.you .mr-rk{background:#ffb62e;color:#4a2f00}
.mr-gap{font-size:12.5px;color:rgba(255,255,255,.92);margin-top:3px}
.mr-gap b{color:#ffcf6b}
.mr-mine{display:flex;align-items:center;gap:10px;padding:7px 10px;border-bottom:1px solid rgba(255,255,255,.14);font-size:13.5px}
.mr-mine:last-child{border-bottom:none}
.mr-dt{color:rgba(255,255,255,.8);font-size:12px;min-width:46px}
.mr-stk{font-weight:800;min-width:64px}
.mr-veh{flex:1}
.mr-slr{color:rgba(255,255,255,.8);font-size:12px}
.mr-empty{font-size:13px;color:rgba(255,255,255,.85);padding:6px 2px}
.mr-foot{margin-top:14px;font-size:11.5px;color:rgba(255,255,255,.72);display:flex;justify-content:space-between;gap:10px}

.mr-dots{text-align:center;color:rgba(255,255,255,.55);letter-spacing:2px;font-size:13px;padding:0 0 5px}

/* Salesperson dashboard (2026-10-27; hero restyle 2026-10-28, mockup
   approved by Andres): the signed-in home screen wears the same hero
   design as the sign-in screen and purchase step 1 — the site photo,
   the gate's dark overlay, data panels in the This Month band's
   dark-glass recipe, red pill actions — so moving between the
   dashboard and a purchase no longer jumps between two design
   languages. While it is up, body.dash-home hides the purchase form,
   the page tabs and the pager; the header keeps Log Out (and the
   dashboard hides the form-only toolbar buttons). */
body.dash-home section.web-page,body.dash-home .nav,body.dash-home .pager{display:none!important}
body.dash-home .toolbar .draft-btn,body.dash-home #newPurchaseBtn,body.dash-home #generatePdfBtn{display:none!important}
.dash-hero{position:relative;border-radius:12px;overflow:hidden;background:#12202c center/cover no-repeat url('front_page_art.jpg');box-shadow:0 12px 32px rgba(15,23,32,.18);margin-bottom:18px}
.dash-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,28,.80) 0%,rgba(8,18,28,.62) 45%,rgba(8,18,28,.34) 75%,rgba(8,18,28,.22) 100%)}
.dash-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:26%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.30))}
.dash-hero-inner{position:relative;z-index:2;max-width:1120px;margin:0 auto;padding:34px 30px 38px}
.dash-gatebar{position:absolute;top:16px;right:20px;z-index:6;align-items:center;gap:12px;background:radial-gradient(700px 300px at 10% -20%,rgba(64,145,220,.30),rgba(64,145,220,0) 60%),radial-gradient(640px 320px at 105% 115%,rgba(214,48,49,.22),rgba(214,48,49,0) 55%),linear-gradient(135deg,rgba(13,27,41,.78),rgba(20,50,78,.68) 55%,rgba(13,36,56,.78));-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3);border:1px solid rgba(255,255,255,.30);color:#fff;border-radius:999px;padding:7px 7px 7px 16px;box-shadow:0 10px 26px rgba(0,0,0,.35)}
.dash-gatebar-txt{color:#fff;font-size:13px;font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.dash-gatebar-btn{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.50);color:#fff;border-radius:999px;padding:8px 16px;cursor:pointer;white-space:nowrap}
@media(max-width:800px){.dash-gatebar{top:10px;right:12px}.dash-gatebar-txt{display:none}}
.dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:2px 0 20px}
.dash-eyebrow{font-size:12px;font-weight:900;letter-spacing:2.4px;text-transform:uppercase;color:rgba(255,255,255,.92);margin-bottom:8px}
.dash-title{margin:0;font-size:clamp(34px,4.6vw,56px);line-height:1.02;letter-spacing:-1.6px;font-weight:950;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.45)}
.dash-sub{color:rgba(255,255,255,.92);font-size:15px;margin-top:6px;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.dash-start{border-radius:999px;padding:12px 22px;height:46px;font-size:14.5px;letter-spacing:.4px;cursor:pointer;box-shadow:0 8px 18px rgba(215,25,32,.30);white-space:nowrap}
.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px;padding:18px 20px;border-radius:20px;background:radial-gradient(700px 300px at 10% -20%,rgba(64,145,220,.30),rgba(64,145,220,0) 60%),radial-gradient(640px 320px at 105% 115%,rgba(214,48,49,.22),rgba(214,48,49,0) 55%),linear-gradient(135deg,rgba(13,27,41,.42),rgba(20,50,78,.36) 55%,rgba(13,36,56,.42));border:1px solid rgba(255,255,255,.26);box-shadow:0 18px 46px rgba(0,0,0,.4);color:#fff}
.dash-stat{padding:2px 8px}
.dash-stat + .dash-stat{border-left:1px solid rgba(255,255,255,.14)}
.dash-stat-num{font-size:29px;font-weight:900;color:#fff;line-height:1.1;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.dash-stat-lbl{font-size:11px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase;color:rgba(255,255,255,.78);margin-top:4px}
.dash-pace-top{font-size:15px;font-weight:800;color:#fff;margin-bottom:8px;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.dash-pace-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.dash-pace-bar i{display:block;height:100%;width:0;background:#e21a23;border-radius:99px;transition:width .4s}
.dash-note{background:rgba(253,246,224,.95);border:1px solid #eed88a;color:#5c4a08;border-radius:12px;padding:12px 14px;font-size:13.5px;margin-bottom:14px}
.dash-card{background:radial-gradient(700px 300px at 10% -20%,rgba(64,145,220,.30),rgba(64,145,220,0) 60%),radial-gradient(640px 320px at 105% 115%,rgba(214,48,49,.22),rgba(214,48,49,0) 55%),linear-gradient(135deg,rgba(13,27,41,.42),rgba(20,50,78,.36) 55%,rgba(13,36,56,.42));border:1px solid rgba(255,255,255,.26);border-radius:18px;box-shadow:0 18px 46px rgba(0,0,0,.4);color:#fff;padding:20px 22px;margin-bottom:14px}
.dash-card h3{margin:0 0 12px;font-size:17px;font-weight:800;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.dash-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.dash-card-head h3{margin:0;white-space:nowrap}
.dash-monthdd{position:relative}
.dash-month-btn{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.40);color:#fff;border-radius:8px;padding:8px 12px;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.dash-month-btn:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:2px}
.dash-month-caret{font-size:11px;opacity:.85}
.dash-month-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:216px;z-index:40;background:linear-gradient(135deg,rgba(13,27,41,.94),rgba(20,50,78,.92) 55%,rgba(13,36,56,.94));-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);border:1px solid rgba(255,255,255,.28);border-radius:12px;box-shadow:0 18px 46px rgba(0,0,0,.5);padding:6px;max-height:308px;overflow:auto}
.dash-month-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:8px;color:#fff;font-size:13.5px;cursor:pointer}
.dash-month-item.all{border-bottom:1px solid rgba(255,255,255,.16);border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:4px;padding-bottom:11px;font-weight:700}
.dash-month-item:hover{background:rgba(255,255,255,.13)}
.dash-month-item.sel{font-weight:800;background:rgba(255,255,255,.08)}
.dash-month-check{color:#7cc0ff;font-weight:900}
.dash-search{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid rgba(255,255,255,.35);border-radius:10px;font-size:14px;margin-bottom:8px;background:rgba(255,255,255,.10);color:#fff;height:42px;text-transform:none}
.dash-search::placeholder{color:rgba(255,255,255,.55)}
.dash-search:focus{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.6);outline:none}
.dash-search-sm{width:230px;height:38px;margin-bottom:0;font-size:13.5px}
.dash-row{padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.14)}
.dash-row:last-child{border-bottom:none}
.dash-row-main{display:flex;align-items:baseline;gap:8px}
.dash-row-veh{color:rgba(255,255,255,.85)}
.dash-row-amt{margin-left:auto;font-weight:800;color:#fff}
.dash-row-sub{color:rgba(255,255,255,.72);font-size:12.5px;margin-top:2px}
.dash-chip{display:inline-block;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:99px;padding:1px 8px;font-size:11px;font-weight:600;margin-left:4px}
.dash-foot{color:rgba(255,255,255,.78);font-size:13px;padding-top:10px}
.dash-empty{color:rgba(255,255,255,.78);font-size:13.5px;padding:8px 2px}
.dash-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dash-mix{margin-bottom:10px}
.dash-mix:last-child{margin-bottom:0}
.dash-mix-top{display:flex;justify-content:space-between;font-size:13.5px;color:#fff;margin-bottom:4px}
.dash-mix-ct{color:rgba(255,255,255,.72)}
.dash-mix-bar{height:7px;border-radius:99px;background:rgba(255,255,255,.15);overflow:hidden}
.dash-mix-bar i{display:block;height:100%;background:#6db3f2;border-radius:99px}
#dashBrandMix .dash-mix-bar i{background:#f0564f}
.dash-draft{display:flex;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.14)}
.dash-draft:last-child{border-bottom:none}
.dash-draft-main{flex:1}
#dashView .dash-resume{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.45);color:#fff;border-radius:999px;padding:8px 18px;cursor:pointer;white-space:nowrap}
body.ux-solid #dashView .dash-card,body.ux-solid #dashView .dash-stats{background:rgba(13,27,42,.97)}
@media(max-width:820px){.dash-stats{grid-template-columns:1fr 1fr}.dash-stat + .dash-stat{border-left:none}.dash-cols{grid-template-columns:1fr}.dash-hero-inner{padding:26px 18px 30px}}

/* GATE CARD UNIFICATION (2026-10-19, Andres approved the mockup):
   one family of controls on the signed-in Welcome gate - same
   height/radius/border/font, a 1-2-2 grid, the locked Associate
   cell replaces the green signed-in bar, and Continue is a glass
   pill until the card is ready, then brand red. All rules are
   scoped to #webPage4 so the sign-in card is untouched. */
/* The card itself goes glass (2026-10-19 fix): the unification rules
   below paint the card's text white for a glass card - the sign-in
   card's recipe - but the card background was never switched, leaving
   white text on the old solid-white card (Andres's washed-out
   screenshot). Same glass as #signInScreen's card. */
#webPage4 .front-form-card{background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);border:1px solid rgba(255,255,255,.35);box-shadow:0 18px 46px rgba(0,0,0,.4);color:#fff}
#webPage4 .front-form-card label{font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.35);margin:0 0 7px}
#webPage4 .front-form-card label.required::after{color:#ff8080}
#webPage4 .front-form-sub{color:rgba(255,255,255,.85);font-size:12.5px}
#webPage4 .gate-field{width:100%;height:46px;border-radius:10px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);color:#fff;font-size:15px;padding:0 12px;font-family:inherit}
#webPage4 .gate-field::placeholder{color:rgba(255,255,255,.55)}
#webPage4 .gate-field:focus{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.75);outline:none}
#webPage4 select.gate-field{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.85) 50%),linear-gradient(135deg,rgba(255,255,255,.85) 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}
#webPage4 select.gate-field option{color:#17212a;background:#fff}
#webPage4 #s441CompanySelect{text-transform:uppercase}
#webPage4 input[type="date"].gate-field{color-scheme:dark}
#webPage4 .gate-grid{gap:16px}
#webPage4 .gate-locked{align-items:center;gap:8px;height:46px;border-radius:10px;border:1px dashed rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-size:15px;font-weight:700;padding:0 12px}
#webPage4 .gate-locked small{margin-left:auto;font-size:11px;font-weight:400;color:rgba(255,255,255,.75)}
#webPage4 .gate-locked-static{background:rgba(255,255,255,.12);border:1px dashed rgba(255,255,255,.4);border-radius:10px;font-size:15px;padding:12px;color:#fff;font-weight:700}
#webPage4 .gate-note{font-size:12px;color:rgba(255,255,255,.7);margin-top:4px}
#webPage4 .front-continue{border-radius:999px;height:46px;letter-spacing:1.2px}
#webPage4 .front-form-card .front-continue:disabled{background:rgba(255,255,255,.16);color:rgba(255,255,255,.75);box-shadow:none;border:1px solid rgba(255,255,255,.45);cursor:default}
#webPage4 .front-form-card.ready .front-continue{background:#d71920;color:#fff;border:0}
#webPage4 .front-ready{background:transparent;border:0;color:#b9f2c4;padding:2px 0 0;font-size:12.5px}
@media(max-width:640px){#webPage4 .gate-grid{grid-template-columns:1fr}}
/* Solid panels (console UX pass 2026-10-21): the console's Panels toggle
   stores cpConsolePrefs on this origin; when it says "solid", the sign-in
   month-report glass goes opaque for bright screens. */
body.ux-solid .mr-glass{background:rgba(13,27,42,.97);-webkit-backdrop-filter:none;backdrop-filter:none;text-shadow:none}

/* Website Customization (Phase 1, 2026-10-24): dealer theme +
   field setup applied by site-custom.js. */
.sc-hidden{display:none!important}
body.sc-header-light .header{background:#ffffff;color:var(--ink);border-bottom:2px solid var(--blue)}
body.sc-header-primary .header{background:var(--blue)}
body.sc-font-classic .section-title,body.sc-font-classic .header{font-family:Georgia,'Times New Roman',serif}
body.sc-font-bold{font-weight:600}
body.sc-font-bold input,body.sc-font-bold select{font-weight:600}
