:root {
    --pas-blue: #155eef;
    --pas-ink: #172033;
    --pas-muted: #5b6779;
    --pas-surface: #f8fafc;
    --pas-line: #dbe3ef;
    --pas-green: #0f8b5f;
    --pas-placeholder: #5b6779;
    --admin-sidebar-width: 320px;
}

/* Trial domain choice */
.domain-choice-page{--domain-ink:#10213f;--domain-blue:#1769e8;--domain-green:#63bd1f;max-width:1280px;margin:0 auto}
.domain-choice-head{align-items:flex-end;padding:12px 0 26px}
.domain-choice-head h1{max-width:760px;margin:6px 0 8px;color:var(--domain-ink);font-size:clamp(2rem,4vw,3rem);line-height:1.06;letter-spacing:-.035em}
.domain-choice-head p{max-width:760px;margin:0;color:#66758b;font-size:1rem;line-height:1.6}
.domain-choice-eyebrow{color:var(--domain-blue);font-size:.76rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.domain-free-banner{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:20px;padding:18px 20px;border:1px solid #bfe69e;border-radius:15px;background:#f3fbea;box-shadow:0 10px 26px rgba(67,122,28,.07)}
.domain-free-banner>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--domain-green);color:#fff;font-size:1.25rem;font-weight:900}
.domain-free-banner strong{display:block;color:#24420e;font-size:1rem}.domain-free-banner p{margin:3px 0 0;color:#52703b;font-size:.9rem;line-height:1.5}
.domain-current-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;margin-bottom:24px;border:1px solid #dce5ef;border-radius:14px;background:#dce5ef}
.domain-current-summary>div{min-width:0;padding:16px 18px;background:#fff}.domain-current-summary span{display:block;margin-bottom:5px;color:#778499;font-size:.68rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.domain-current-summary strong{display:block;overflow-wrap:anywhere;color:var(--domain-ink);font-size:.92rem}
.domain-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.domain-choice-card{position:relative;padding:25px;border:1px solid #dce5ef;border-radius:17px;background:#fff;box-shadow:0 14px 34px rgba(20,43,76,.06)}
.domain-choice-card.is-recommended{border-color:#9fc8ff;box-shadow:0 15px 36px rgba(23,105,232,.11)}
.domain-choice-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.domain-choice-number{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf3ff;color:var(--domain-blue);font-weight:900}
.domain-choice-tag{padding:5px 9px;border-radius:999px;background:#eaf8df;color:#3e7616;font-size:.68rem;font-weight:900;text-transform:uppercase}.domain-choice-tag.is-neutral{background:#eef3f8;color:#607086}
.domain-choice-card h2{margin:0 0 9px;color:var(--domain-ink);font-size:1.22rem;font-weight:850}.domain-choice-card>p{min-height:72px;margin:0 0 19px;color:#67758a;font-size:.86rem;line-height:1.6}.domain-choice-card>p strong{color:#34465f}
.domain-choice-form,.domain-purchase-form{display:grid;gap:10px}.domain-choice-form label{color:#2a3c55;font-size:.78rem;font-weight:800}.domain-choice-form input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #ccd8e6;border-radius:9px;color:#142540;background:#fff}.domain-choice-form input:focus{border-color:var(--domain-blue);outline:3px solid rgba(23,105,232,.12)}.domain-choice-form small{color:#7b8798;font-size:.7rem;line-height:1.45}.domain-choice-form .dashboard-primary-btn,.domain-purchase-form .dashboard-primary-btn{width:100%;justify-content:center;margin-top:4px}
.domain-subdomain-input{display:flex;align-items:stretch}.domain-subdomain-input input{min-width:0;border-radius:9px 0 0 9px}.domain-subdomain-input span{display:flex;align-items:center;padding:0 11px;border:1px solid #ccd8e6;border-left:0;border-radius:0 9px 9px 0;background:#f5f8fb;color:#607086;font-size:.75rem;white-space:nowrap}
.domain-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.domain-search-row .dashboard-primary-btn{margin:0}.domain-search-message{min-height:20px;color:#64748b;font-size:.75rem}.domain-search-results{display:grid;gap:7px}.domain-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 12px;border:1px solid #d5e0ec;border-radius:9px;background:#fff;color:var(--domain-ink);text-align:left}.domain-result:hover,.domain-result:focus-visible{border-color:var(--domain-blue);background:#f5f9ff}.domain-result strong{overflow-wrap:anywhere;font-size:.78rem}.domain-result span{color:#39731a;font-size:.72rem;font-weight:850;white-space:nowrap}
.domain-purchase-form{margin-top:14px;padding-top:14px;border-top:1px solid #e3eaf2}.domain-selected{display:flex;justify-content:space-between;gap:12px;padding:11px;border-radius:9px;background:#edf6ff}.domain-selected span{color:#637289;font-size:.7rem}.domain-selected strong{color:#164f9d;font-size:.75rem;text-align:right}.domain-terms{display:flex;align-items:flex-start;gap:9px;color:#66758a;font-size:.7rem;line-height:1.5}.domain-terms input{flex:0 0 17px;width:17px;height:17px;margin-top:1px}
.domain-status-note{display:grid;gap:4px;margin-top:15px;padding:12px;border-radius:9px;background:#f4f7fa;color:#4d5e74;font-size:.74rem}.domain-status-note small{line-height:1.45}.domain-status-note.is-warning{background:#fff8e7;color:#7c5b0c}
.domain-choice-footer{display:flex;align-items:center;gap:12px;margin-top:24px;padding:20px 22px;border-radius:15px;background:#0d2441;color:#fff}.domain-choice-footer strong{white-space:nowrap}.domain-choice-footer p{flex:1;margin:0;color:#b9c8d9;font-size:.82rem}.domain-choice-footer .dashboard-secondary-btn{border-color:#6f829a;color:#fff;white-space:nowrap}
@media(max-width:1100px){.domain-choice-grid{grid-template-columns:1fr}.domain-choice-card>p{min-height:0}.domain-choice-card{padding:22px}.domain-current-summary{grid-template-columns:1fr}.domain-choice-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.domain-choice-head{align-items:flex-start}.domain-free-banner{grid-template-columns:36px minmax(0,1fr);padding:15px}.domain-free-banner>span{width:36px;height:36px}.domain-choice-card{padding:18px}.domain-subdomain-input{display:grid}.domain-subdomain-input input{border-radius:9px 9px 0 0}.domain-subdomain-input span{min-height:40px;border-left:1px solid #ccd8e6;border-top:0;border-radius:0 0 9px 9px}.domain-search-row{grid-template-columns:1fr}.domain-selected{align-items:flex-start;flex-direction:column}.domain-selected strong{text-align:left}}

/* Google Vehicle Ads readiness */
.google-readiness-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid #bfdbfe;
  border-radius: 1.15rem;
  color: #fff;
  background: linear-gradient(125deg, #071f49 0%, #0d4fb8 70%, #1677ff 100%);
  box-shadow: 0 18px 40px rgba(10, 52, 110, .18);
}
.google-readiness-hero.is-ready { background: linear-gradient(125deg, #073b2a, #07835d 70%, #10b981); }
.google-readiness-hero h2 { margin: .35rem 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
.google-readiness-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.8); }
.google-readiness-state { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #bfdbfe; }
.google-readiness-score {
  width: 7rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #0c397d 78%, transparent 80% 99%), conic-gradient(#fff calc(var(--score) * 1%), rgba(255,255,255,.18) 0);
}
.google-readiness-hero.is-ready .google-readiness-score { background: radial-gradient(circle closest-side, #087052 78%, transparent 80% 99%), conic-gradient(#fff calc(var(--score) * 1%), rgba(255,255,255,.18) 0); }
.google-readiness-score strong, .google-readiness-score span { display: block; }
.google-readiness-score strong { font-size: 1.45rem; line-height: 1; }
.google-readiness-score span { margin-top: .25rem; color: rgba(255,255,255,.72); font-size: .72rem; text-transform: uppercase; }
.google-readiness-progress { position: absolute; inset: auto 0 0; height: 5px; background: rgba(255,255,255,.16); }
.google-readiness-progress i { display: block; height: 100%; background: #fff; }
.google-readiness-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 1rem; align-items: start; }
.google-readiness-checks { padding: .5rem; }
.google-readiness-check {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .8rem;
  border-radius: .75rem;
  color: inherit;
  text-decoration: none;
}
.google-readiness-check:hover { background: #f4f8ff; color: inherit; }
.google-readiness-check + .google-readiness-check { border-top: 1px solid #e7edf6; }
.google-readiness-check-icon { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.google-readiness-check.is-passed .google-readiness-check-icon { color: #067647; background: #dcfae6; }
.google-readiness-check.is-blocked .google-readiness-check-icon { color: #b54708; background: #ffead5; }
.google-readiness-check strong, .google-readiness-check small { display: block; }
.google-readiness-check small { margin-top: .15rem; color: #667085; }
.google-readiness-confirmations { display: grid; gap: .7rem; }
.google-readiness-confirmations label { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .65rem; align-items: start; padding: .7rem; border: 1px solid #dce5f2; border-radius: .7rem; cursor: pointer; }
.google-readiness-confirmations input { margin-top: .18rem; }
@media (max-width: 991.98px) {
  .google-readiness-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .google-readiness-hero { grid-template-columns: 1fr; }
  .google-readiness-score { width: 5.75rem; }
}

/* Keep examples visibly distinct from values a shopper or staff member entered. */
.form-control::placeholder,
textarea.form-control::placeholder {
    color: var(--pas-placeholder);
    opacity: 1;
}

.form-select:has(> option[value=""]:checked) {
    color: var(--pas-placeholder);
}

.form-select option:not([value=""]) {
    color: var(--pas-ink);
}

@layer platform-faq-legacy {
/* ===== Previous public platform FAQ ===== */
.platform-faq-page {
    background: #f7f9fc;
    color: #13203a;
}

.platform-faq-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 82px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #081a36;
    color: #fff;
}

.platform-faq-hero::after {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(38vw, 600px);
    border-left: 1px solid rgba(255, 255, 255, .09);
    background: #0d2348;
    content: '';
    pointer-events: none;
}

.platform-faq-hero .container {
    z-index: 1;
}

.platform-faq-kicker {
    color: #58a6ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.platform-faq-hero h1 {
    max-width: 830px;
    margin: 0;
    font-size: 4.25rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.02;
}

.platform-faq-hero p {
    max-width: 730px;
    margin: 24px 0 0;
    color: #c9d7eb;
    font-size: 1.15rem;
    line-height: 1.7;
}

.platform-faq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.platform-faq-content {
    padding: 76px 0 88px;
}

.platform-faq-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    align-items: end;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #d9e2ee;
}

.platform-faq-search-wrap label {
    display: block;
    margin-bottom: 8px;
    color: #34435e;
    font-size: .82rem;
    font-weight: 800;
}

.platform-faq-search-control {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid #cbd7e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(29, 54, 93, .07);
}

.platform-faq-search-control:focus-within {
    border-color: #155eef;
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .12);
}

.platform-faq-search-control svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #66758f;
}

.platform-faq-search-control input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #13203a;
    font: inherit;
}

.platform-faq-search-control input::placeholder {
    color: #7d8aa0;
}

.platform-faq-result-count {
    min-height: 21px;
    margin-top: 8px;
    color: #65738a;
    font-size: .82rem;
    font-weight: 700;
}

.platform-faq-categories {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    margin: 26px 0 58px;
    padding: 4px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #eef3f8;
    scrollbar-width: thin;
}

.platform-faq-categories button {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 8px 15px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #52627c;
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
}

.platform-faq-categories button:hover {
    color: #13203a;
}

.platform-faq-categories button:focus-visible {
    outline: 3px solid rgba(21, 94, 239, .25);
    outline-offset: 1px;
}

.platform-faq-categories button.is-active {
    background: #fff;
    color: #0f58d6;
    box-shadow: 0 2px 9px rgba(29, 54, 93, .08);
}

.platform-faq-group {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 54px;
    padding: 0 0 64px;
}

.platform-faq-group + .platform-faq-group {
    padding-top: 64px;
    border-top: 1px solid #d9e2ee;
}

.platform-faq-group-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.platform-faq-group-heading > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #bad0f6;
    border-radius: 50%;
    background: #eaf2ff;
    color: #0d58dd;
    font-size: .72rem;
    font-weight: 900;
}

.platform-faq-group-heading h3 {
    margin: 2px 0 4px;
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: 0;
}

.platform-faq-group-heading p {
    margin: 0;
    color: #748197;
    font-size: .82rem;
}

.platform-faq-list {
    border-top: 1px solid #cfd9e6;
}

.platform-faq-item {
    border-bottom: 1px solid #cfd9e6;
}

.platform-faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
    gap: 20px;
    min-height: 74px;
    padding: 18px 4px;
    color: #17243d;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    list-style: none;
}

.platform-faq-item summary::-webkit-details-marker {
    display: none;
}

.platform-faq-item summary:hover {
    color: #155eef;
}

.platform-faq-item summary:focus-visible {
    outline: 3px solid rgba(21, 94, 239, .2);
    outline-offset: 4px;
}

.platform-faq-toggle {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid #c5d2e2;
    border-radius: 50%;
    background: #fff;
}

.platform-faq-toggle::before,
.platform-faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: #155eef;
    content: '';
    transform: translate(-50%, -50%);
    transition: transform .18s ease;
}

.platform-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.platform-faq-item[open] .platform-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.platform-faq-answer {
    max-width: 810px;
    padding: 0 56px 23px 4px;
    color: #52627a;
    line-height: 1.75;
}

.platform-faq-answer p {
    margin: 0;
}

.platform-faq-empty {
    padding: 54px 24px;
    border: 1px solid #d3deeb;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.platform-faq-empty h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 850;
}

.platform-faq-empty p {
    margin: 0 0 18px;
    color: #65738a;
}

.platform-faq-next {
    padding: 0 0 88px;
}

.platform-faq-next-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 44px 48px;
    border: 1px solid #cad7e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(25, 45, 78, .07);
}

.platform-faq-next h2 {
    margin: 0 0 9px;
    font-size: 2.2rem;
    font-weight: 850;
    letter-spacing: 0;
}

.platform-faq-next p {
    max-width: 720px;
    margin: 0;
    color: #65738a;
}

.platform-faq-next-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .platform-faq-hero {
        padding: 68px 0;
    }

    .platform-faq-hero-actions {
        justify-content: flex-start;
    }

    .platform-faq-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .platform-faq-group {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .platform-faq-next-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .platform-faq-hero {
        padding: 52px 0;
    }

    .platform-faq-hero h1 {
        font-size: 2.55rem;
    }

    .platform-faq-next h2 {
        font-size: 1.65rem;
    }

    .platform-faq-hero p {
        font-size: 1rem;
    }

    .platform-faq-hero-actions,
    .platform-faq-next-actions {
        width: 100%;
        flex-direction: column;
    }

    .platform-faq-content {
        padding: 54px 0 64px;
    }

    .platform-faq-categories {
        margin-bottom: 42px;
    }

    .platform-faq-group,
    .platform-faq-group + .platform-faq-group {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .platform-faq-group:first-child {
        padding-top: 0;
    }

    .platform-faq-item summary {
        min-height: 68px;
        gap: 12px;
        font-size: .94rem;
    }

    .platform-faq-answer {
        padding-right: 4px;
    }

    .platform-faq-next {
        padding-bottom: 64px;
    }

    .platform-faq-next-inner {
        padding: 30px 24px;
    }
}
}

/* ===== Public platform FAQ redesign ===== */
.platform-faq-page {
    --faq-navy: #071b36;
    --faq-navy-light: #0d2e5c;
    --faq-blue: #1d6ff2;
    --faq-orange: #ff7a1a;
    --faq-ink: #10213d;
    --faq-muted: #65738a;
    --faq-line: #dce5f0;
    --faq-soft: #f5f8fc;
    background: var(--faq-soft);
    color: var(--faq-ink);
}

.platform-faq-shell {
    overflow: clip;
}

.platform-faq-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 104px;
    background:
        radial-gradient(circle at 88% 14%, rgba(37, 112, 235, .33), transparent 36%),
        linear-gradient(115deg, #06182f 0%, #09254a 60%, #0b3267 100%);
    color: #fff;
}

.platform-faq-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 70px 70px;
    content: '';
    mask-image: linear-gradient(to right, transparent, #000 28%, #000);
    pointer-events: none;
}

.platform-faq-hero::after {
    position: absolute;
    top: 64px;
    right: 7%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 122, 26, .14);
    content: '';
    filter: blur(1px);
    pointer-events: none;
}

.platform-faq-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(370px, .8fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
}

.platform-faq-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9bc2ff;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.platform-faq-kicker > span {
    width: 26px;
    height: 2px;
    background: var(--faq-orange);
}

.platform-faq-hero h1 {
    max-width: 760px;
    margin: 24px 0 20px;
    font-size: clamp(3.25rem, 5vw, 5rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .98;
}

.platform-faq-hero-copy > p {
    max-width: 720px;
    margin: 0;
    color: #c6d5e8;
    font-size: 1.08rem;
    line-height: 1.75;
}

.platform-faq-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.platform-faq-hero-meta > span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .065);
    color: #d8e4f2;
    font-size: .82rem;
    font-weight: 700;
}

.platform-faq-hero-meta svg {
    width: 16px;
    height: 16px;
    color: #55d6aa;
}

.platform-faq-launch-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    color: var(--faq-ink);
    box-shadow: 0 28px 70px rgba(0, 8, 24, .28);
    transform: rotate(1.4deg);
}

.platform-faq-launch-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    color: #6c7789;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.platform-faq-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9faf3;
    color: #168661;
    font-size: .69rem;
    letter-spacing: 0;
    text-transform: none;
}

.platform-faq-launch-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #24ad7b;
    box-shadow: 0 0 0 4px rgba(36, 173, 123, .11);
}

.platform-faq-launch-card h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.platform-faq-launch-card > p {
    margin: 0 0 22px;
    color: #6b788c;
    font-size: .88rem;
    line-height: 1.6;
}

.platform-faq-launch-steps {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.platform-faq-launch-steps li {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #e5ebf3;
    border-radius: 10px;
    background: #f9fbfd;
    font-size: .8rem;
    font-weight: 800;
}

.platform-faq-launch-steps b {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--faq-blue);
}

.platform-faq-search-overlap {
    position: relative;
    z-index: 4;
    margin-top: -34px;
}

.platform-faq-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 17px 22px;
    border: 1px solid #e2e8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 37, 68, .13);
}

.platform-faq-search-control {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 13px;
    padding: 0 15px;
    border: 1px solid #d4deeb;
    border-radius: 11px;
    background: #fbfcfe;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.platform-faq-search-control:focus-within {
    border-color: var(--faq-blue);
    box-shadow: 0 0 0 4px rgba(29, 111, 242, .12);
}

.platform-faq-search-control > svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: #74839a;
}

.platform-faq-search-control input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--faq-ink);
    font: inherit;
}

.platform-faq-search-control input::placeholder {
    color: #98a4b5;
}

.platform-faq-search-control button {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #e9eef5;
    color: #4d5d74;
    font-size: 1.35rem;
    line-height: 1;
}

.platform-faq-search-control button:hover {
    background: #dde6f1;
    color: var(--faq-ink);
}

.platform-faq-result-count {
    color: #5b6779;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.platform-faq-result-count::first-letter {
    color: var(--faq-ink);
}

.platform-faq-content {
    padding: 72px 0 104px;
}

.platform-faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 64px);
}

.platform-faq-sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
}

.platform-faq-category-card {
    padding: 22px 14px 14px;
    border: 1px solid var(--faq-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(21, 43, 76, .055);
}

.platform-faq-sidebar-title {
    margin: 0 9px 12px;
    color: #5b6779;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.platform-faq-categories {
    display: grid;
    gap: 5px;
}

.platform-faq-categories button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #526178;
    font-size: .78rem;
    font-weight: 750;
    text-align: left;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.platform-faq-categories button > span:last-child {
    display: grid;
    min-width: 25px;
    height: 25px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #eef2f7;
    color: #7b8798;
    font-size: .68rem;
}

.platform-faq-categories button:hover {
    background: #f4f7fb;
    color: var(--faq-ink);
    transform: translateX(2px);
}

.platform-faq-categories button.is-active {
    background: #eaf2ff;
    color: #0f60db;
}

.platform-faq-categories button.is-active > span:last-child {
    background: #fff;
    color: #0f60db;
}

.platform-faq-category-name {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.platform-faq-category-icon {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #63728a;
}

.platform-faq-category-icon svg {
    width: 17px;
    height: 17px;
}

.platform-faq-categories button.is-active .platform-faq-category-icon {
    background: #fff;
    color: var(--faq-blue);
    box-shadow: 0 2px 8px rgba(29, 111, 242, .1);
}

.platform-faq-support-card {
    position: relative;
    overflow: hidden;
    padding: 23px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0a2242, #0d3264);
    color: #fff;
    box-shadow: 0 14px 36px rgba(7, 27, 54, .14);
}

.platform-faq-support-card::after {
    position: absolute;
    right: -28px;
    bottom: -30px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: rgba(41, 116, 239, .22);
    content: '';
}

.platform-faq-support-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .1);
    color: #8db9ff;
}

.platform-faq-support-icon svg {
    width: 22px;
    height: 22px;
}

.platform-faq-support-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 850;
}

.platform-faq-support-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #bdcce0;
    font-size: .8rem;
    line-height: 1.6;
}

.platform-faq-support-card a {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.platform-faq-support-card a span {
    display: inline-block;
    margin-left: 4px;
    color: var(--faq-orange);
    transition: transform .18s ease;
}

.platform-faq-support-card a:hover span {
    transform: translateX(3px);
}

.platform-faq-toolbar {
    display: flex;
    min-height: 72px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.platform-faq-toolbar h2 {
    margin: 0 0 7px;
    font-size: clamp(1.75rem, 2.4vw, 2.3rem);
    font-weight: 850;
    letter-spacing: -.04em;
}

.platform-faq-toolbar p {
    margin: 0;
    color: var(--faq-muted);
    font-size: .91rem;
}

.platform-faq-toolbar-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.platform-faq-toolbar-actions button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    background: #fff;
    color: #56657b;
    font-size: .75rem;
    font-weight: 800;
}

.platform-faq-toolbar-actions button:hover {
    border-color: #b8c9de;
    color: var(--faq-blue);
}

.platform-faq-group {
    display: block;
    padding-bottom: 52px;
}

.platform-faq-group + .platform-faq-group {
    padding-top: 6px;
    border-top: 0;
}

.platform-faq-group-heading {
    display: grid;
    grid-template-columns: 34px auto minmax(24px, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.platform-faq-group-heading > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: #155eef;
    font-size: .67rem;
    font-weight: 900;
}

.platform-faq-group-heading h3 {
    margin: 0;
    color: #23334d;
    font-size: .87rem;
    font-weight: 850;
}

.platform-faq-group-heading i {
    height: 1px;
    background: var(--faq-line);
}

.platform-faq-group-heading small {
    color: #5b6779;
    font-size: .7rem;
    font-weight: 700;
}

.platform-faq-list {
    display: grid;
    gap: 9px;
    border-top: 0;
}

.platform-faq-item {
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(25, 48, 82, .035);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.platform-faq-item:hover {
    border-color: #c5d4e6;
    transform: translateY(-1px);
}

.platform-faq-item[open] {
    border-color: #aac9fa;
    box-shadow: 0 12px 28px rgba(29, 111, 242, .09);
}

.platform-faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    min-height: 70px;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    color: #1b2c47;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 800;
    list-style: none;
}

.platform-faq-item summary::-webkit-details-marker {
    display: none;
}

.platform-faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-faq-question > i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--faq-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 26, .09);
}

.platform-faq-toggle {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #d9e2ed;
    border-radius: 50%;
    background: #f8fafc;
    color: #5c6e86;
}

.platform-faq-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.platform-faq-item[open] .platform-faq-toggle {
    border-color: #c5dafa;
    background: #eaf2ff;
    color: var(--faq-blue);
}

.platform-faq-item[open] .platform-faq-toggle svg {
    transform: rotate(180deg);
}

.platform-faq-answer {
    margin: 0 20px;
    padding: 0 44px 22px 18px;
    border-top: 1px solid #edf1f6;
    color: #5c6b81;
    line-height: 1.75;
}

.platform-faq-answer p {
    margin: 17px 0 0;
}

.platform-faq-empty {
    padding: 56px 24px;
    border: 1px dashed #ccd8e8;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.platform-faq-empty > svg {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    color: #91a0b5;
}

.platform-faq-empty h2,
.platform-faq-empty h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 850;
}

.platform-faq-empty p {
    margin: 0 0 18px;
    color: var(--faq-muted);
}

.platform-faq-next {
    padding: 0 0 96px;
    background: var(--faq-soft);
}

.platform-faq-next-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 48px 54px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 15%, rgba(40, 117, 244, .42), transparent 30%),
        linear-gradient(125deg, #071b36, #0b2d5b);
    color: #fff;
    box-shadow: 0 24px 54px rgba(8, 31, 61, .16);
}

.platform-faq-next-inner::after {
    position: absolute;
    right: -60px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: '';
}

.platform-faq-next-inner > div {
    position: relative;
    z-index: 1;
}

.platform-faq-next h2 {
    max-width: 700px;
    margin: 17px 0 12px;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.06;
}

.platform-faq-next p {
    max-width: 720px;
    margin: 0;
    color: #becde0;
    line-height: 1.7;
}

.platform-faq-next-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.platform-faq-next-actions .btn-warning {
    border-color: var(--faq-orange);
    background: var(--faq-orange);
    color: #10203a;
}

.platform-faq-page button:focus-visible,
.platform-faq-page a:focus-visible,
.platform-faq-item summary:focus-visible {
    outline: 3px solid rgba(29, 111, 242, .3);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .platform-faq-hero-grid {
        grid-template-columns: minmax(0, 1fr) 370px;
        gap: 44px;
    }

    .platform-faq-hero h1 {
        font-size: clamp(3.15rem, 5.6vw, 4.2rem);
    }

    .platform-faq-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 38px;
    }
}

@media (max-width: 991.98px) {
    .platform-faq-hero {
        padding: 70px 0 92px;
    }

    .platform-faq-hero-grid {
        grid-template-columns: 1fr;
    }

    .platform-faq-hero-copy {
        max-width: 760px;
    }

    .platform-faq-launch-card {
        display: none;
    }

    .platform-faq-content {
        padding-top: 58px;
    }

    .platform-faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .platform-faq-sidebar {
        position: static;
        display: block;
        min-width: 0;
    }

    .platform-faq-category-card {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .platform-faq-sidebar-title {
        margin-left: 0;
    }

    .platform-faq-categories {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 2px 2px 10px;
        scrollbar-width: thin;
    }

    .platform-faq-categories button {
        width: auto;
        min-width: max-content;
        flex: 0 0 auto;
        padding: 7px 12px;
        border: 1px solid var(--faq-line);
        background: #fff;
    }

    .platform-faq-categories button:hover {
        transform: translateY(-1px);
    }

    .platform-faq-category-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .platform-faq-support-card {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .platform-faq-hero {
        padding: 58px 0 84px;
    }

    .platform-faq-hero h1 {
        margin-top: 19px;
        font-size: clamp(2.7rem, 11vw, 4rem);
    }

    .platform-faq-hero-copy > p {
        font-size: 1rem;
    }

    .platform-faq-search-panel {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 14px;
    }

    .platform-faq-result-count {
        padding: 0 4px 2px;
    }

    .platform-faq-content {
        padding: 52px 0 76px;
    }

    .platform-faq-toolbar {
        display: grid;
        gap: 18px;
        margin-bottom: 28px;
    }

    .platform-faq-group {
        padding-bottom: 42px;
    }

    .platform-faq-group-heading {
        grid-template-columns: 32px minmax(0, 1fr) auto;
    }

    .platform-faq-group-heading i {
        display: none;
    }

    .platform-faq-next-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 34px;
    }

    .platform-faq-next-actions {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .platform-faq-hero {
        padding: 48px 0 76px;
    }

    .platform-faq-hero h1 {
        font-size: 2.65rem;
        line-height: 1.01;
    }

    .platform-faq-hero-meta {
        display: grid;
        justify-items: start;
        margin-top: 24px;
    }

    .platform-faq-search-overlap {
        margin-top: -26px;
    }

    .platform-faq-search-control {
        min-height: 52px;
        padding: 0 12px;
    }

    .platform-faq-layout {
        gap: 34px;
    }

    .platform-faq-toolbar-actions {
        width: 100%;
    }

    .platform-faq-toolbar-actions button {
        min-height: 44px;
        flex: 1;
    }

    .platform-faq-group-heading small {
        max-width: 58px;
        text-align: right;
    }

    .platform-faq-item summary {
        min-height: 66px;
        gap: 12px;
        padding: 15px 14px;
        font-size: .86rem;
    }

    .platform-faq-question {
        gap: 9px;
    }

    .platform-faq-answer {
        margin: 0 14px;
        padding: 0 4px 20px 15px;
        font-size: .9rem;
    }

    .platform-faq-next {
        padding-bottom: 68px;
    }

    .platform-faq-next-inner {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .platform-faq-next h2 {
        font-size: 2rem;
    }

    .platform-faq-next-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-faq-page *,
    .platform-faq-page *::before,
    .platform-faq-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Initial website setup wizard */
.website-setup-page {
    --setup-ink: #0b1837;
    --setup-muted: #60708c;
    --setup-line: #dbe4f0;
    --setup-soft: #f4f7fb;
    --setup-blue: #0f66f2;
    --setup-blue-dark: #0a4fc1;
    --setup-green: #0c996f;
    max-width: 1500px;
    margin: 0 auto;
    color: var(--setup-ink);
}

.website-setup-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
}

.website-setup-back {
    display: inline-flex;
    margin-bottom: 16px;
    color: #52627d;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.website-setup-back:hover {
    color: var(--setup-blue);
}

.website-setup-kicker,
.website-setup-step-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--setup-blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.website-setup-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.website-setup-hero p {
    max-width: 740px;
    margin: 12px 0 0;
    color: var(--setup-muted);
    font-size: 1.03rem;
}

.website-setup-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 4px;
    white-space: nowrap;
}

.website-setup-hero-actions a {
    color: var(--setup-blue);
    font-weight: 800;
    text-decoration: none;
}

.website-setup-time {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #d7e0ec;
    border-radius: 999px;
    background: #fff;
    color: #5f6f88;
    font-size: .8rem;
    font-weight: 700;
}

.website-setup-success {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid #a9e4d1;
    border-radius: 16px;
    background: #effcf7;
}

.website-setup-success-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--setup-green);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.website-setup-success strong {
    display: block;
    font-size: 1rem;
}

.website-setup-success p {
    margin: 3px 0 0;
    color: #517064;
    font-size: .88rem;
}

.website-setup-success-actions {
    display: flex;
    gap: 9px;
}

.website-setup-progress {
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid var(--setup-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 41, 75, .05);
}

.website-setup-progress ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.website-setup-progress li {
    min-width: 0;
}

.website-setup-progress button {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #73819a;
    text-align: left;
    transition: background-color .18s ease, color .18s ease;
}

.website-setup-progress button:hover {
    background: var(--setup-soft);
    color: var(--setup-ink);
}

.website-setup-progress button > span {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border: 1px solid #ccd7e6;
    border-radius: 50%;
    background: #fff;
    font-size: .76rem;
    font-weight: 800;
}

.website-setup-progress button b {
    min-width: 0;
    font-size: .82rem;
    line-height: 1.15;
}

.website-setup-progress button small {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    font-size: .68rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-setup-progress .is-active button {
    background: #edf4ff;
    color: var(--setup-blue-dark);
}

.website-setup-progress .is-active button > span {
    border-color: var(--setup-blue);
    background: var(--setup-blue);
    color: #fff;
}

.website-setup-progress .is-complete button > span {
    border-color: #9ddcca;
    background: #e8faf4;
    color: #087758;
}

.website-setup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: 20px;
}

.website-setup-main,
.website-setup-preview-panel {
    border: 1px solid var(--setup-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(16, 34, 66, .07);
}

.website-setup-main {
    overflow: hidden;
}

.website-setup-step {
    min-height: 590px;
    padding: clamp(24px, 3vw, 42px);
}

.website-setup-step[hidden] {
    display: none !important;
}

.website-setup-step-heading {
    max-width: 740px;
    margin-bottom: 30px;
}

.website-setup-step-heading h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.website-setup-step-heading p {
    margin: 9px 0 0;
    color: var(--setup-muted);
    font-size: .98rem;
    line-height: 1.55;
}

.website-setup-step-heading h2:focus {
    outline: 0;
}

.website-setup-brand-grid {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(360px, 1.28fr);
    align-items: start;
    gap: 28px;
}

.website-setup-field-label {
    display: block;
    margin-bottom: 8px;
    color: #283754;
    font-size: .82rem;
    font-weight: 800;
}

.website-setup-logo-upload {
    display: flex;
    min-height: 285px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1.5px dashed #b9c7da;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
    transition: border-color .18s ease, background-color .18s ease;
}

.website-setup-logo-upload:hover {
    border-color: var(--setup-blue);
    background: #f2f7ff;
}

.website-setup-logo-preview {
    display: grid;
    width: 150px;
    height: 94px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
}

.website-setup-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.website-setup-logo-preview b {
    color: var(--setup-blue);
    font-size: 1.7rem;
    letter-spacing: -.05em;
}

.website-setup-logo-upload strong,
.website-setup-logo-upload small {
    display: block;
}

.website-setup-logo-upload strong {
    color: var(--setup-ink);
}

.website-setup-logo-upload small {
    max-width: 250px;
    margin-top: 5px;
    color: var(--setup-muted);
    font-size: .76rem;
    line-height: 1.45;
}

.website-setup-upload-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 8px 15px;
    border: 1px solid #c8d4e4;
    border-radius: 9px;
    background: #fff;
    color: #263650;
    font-size: .78rem;
    font-weight: 800;
}

.website-setup-fields {
    display: grid;
    gap: 20px;
}

.website-setup-fields label {
    display: block;
}

.website-setup-fields .form-control {
    min-height: 49px;
    border-color: #cfd9e7;
    border-radius: 10px;
    box-shadow: none;
}

.website-setup-fields textarea.form-control {
    min-height: 100px;
}

.website-setup-fields .form-control:focus {
    border-color: var(--setup-blue);
    box-shadow: 0 0 0 3px rgba(15, 102, 242, .12);
}

.website-setup-large-input {
    min-height: 58px !important;
    font-size: 1.15rem;
    font-weight: 700;
}

.website-setup-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.website-setup-help {
    display: block;
    margin-top: 6px;
    color: #71809a;
    font-size: .75rem;
}

.website-setup-template-fieldset,
.website-setup-choice-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.website-setup-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.website-setup-template-card {
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #d6dfeb;
    border-radius: 13px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.website-setup-template-card:hover {
    border-color: #93b9f5;
    box-shadow: 0 10px 24px rgba(25, 64, 125, .1);
    transform: translateY(-2px);
}

.website-setup-template-card.is-selected {
    border-color: var(--setup-blue);
    box-shadow: 0 0 0 2px rgba(15, 102, 242, .12);
}

.website-setup-template-card:focus-within {
    outline: 3px solid rgba(15, 102, 242, .22);
    outline-offset: 2px;
}

.website-setup-template-image {
    position: relative;
    display: grid;
    height: 118px;
    place-items: center;
    overflow: hidden;
    background: #e9eef5;
}

.website-setup-template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.website-setup-template-image > b {
    color: #6d7c92;
    font-size: 1.5rem;
}

.website-setup-template-image i {
    position: absolute;
    top: 9px;
    right: 9px;
    display: none;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--setup-blue);
    color: #fff;
    font-size: .7rem;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 3px 8px rgba(3, 24, 58, .25);
}

.website-setup-template-card.is-selected .website-setup-template-image i {
    display: grid;
}

.website-setup-template-info {
    display: block;
    min-height: 112px;
    padding: 13px;
}

.website-setup-template-info strong,
.website-setup-template-info small {
    display: block;
}

.website-setup-template-info strong {
    margin-bottom: 5px;
    font-size: .9rem;
}

.website-setup-template-info small {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7890;
    font-size: .7rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.website-setup-style-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 19px 20px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #f8fafc;
}

.website-setup-style-card h3,
.website-setup-mobile-actions h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.website-setup-style-card p,
.website-setup-mobile-actions p {
    margin: 4px 0 0;
    color: var(--setup-muted);
    font-size: .78rem;
}

.website-setup-color-row {
    display: flex;
    gap: 10px;
}

.website-setup-color-control {
    display: flex;
    min-width: 128px;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #d2dcea;
    border-radius: 10px;
    background: #fff;
}

.website-setup-color-control input {
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.website-setup-color-control b,
.website-setup-color-control small {
    display: block;
}

.website-setup-color-control b {
    font-size: .76rem;
}

.website-setup-color-control small {
    margin-top: 2px;
    color: #7a879c;
    font-size: .63rem;
}

.website-setup-choice-fieldset {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.website-setup-choice-fieldset legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-size: .86rem;
    font-weight: 800;
}

.website-setup-choice-card {
    position: relative;
    display: grid;
    min-height: 112px;
    cursor: pointer;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #d3ddea;
    border-radius: 13px;
    background: #fff;
}

.website-setup-choice-card:has(input:checked) {
    border-color: var(--setup-blue);
    background: #f4f8ff;
    box-shadow: 0 0 0 2px rgba(15, 102, 242, .1);
}

.website-setup-choice-card input {
    position: absolute;
    top: 12px;
    right: 12px;
}

.website-setup-choice-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 10px;
    background: #eaf2ff;
    color: var(--setup-blue);
    font-size: 1rem;
    font-weight: 900;
}

.website-setup-choice-card strong,
.website-setup-choice-card small {
    display: block;
}

.website-setup-choice-card strong {
    font-size: .86rem;
}

.website-setup-choice-card small {
    margin-top: 5px;
    color: var(--setup-muted);
    font-size: .72rem;
    line-height: 1.4;
}

.website-setup-hero-upload {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 15px;
    margin-top: 2px;
    padding: 13px;
    border: 1px solid #d7e0ec;
    border-radius: 13px;
    background: #f8fafc;
}

.website-setup-hero-library {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 2px;
    padding: 15px;
    border: 1px solid #d7e0ec;
    border-radius: 13px;
    background: #f8fafc;
}

.website-setup-hero-library[hidden] {
    display: none !important;
}

.website-setup-hero-library > p {
    margin: 0 0 12px;
    color: var(--setup-ink);
    font-size: .78rem;
    font-weight: 800;
}

.website-setup-hero-library .hero-background-picker {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.website-setup-hero-library .hero-background-option {
    border-radius: 11px;
}

.website-setup-hero-upload[hidden] {
    display: none !important;
}

.website-setup-hero-upload > img,
.website-setup-hero-upload > div {
    display: grid;
    width: 145px;
    height: 76px;
    flex: 0 0 145px;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #dfe7f2;
    object-fit: cover;
}

.website-setup-hero-upload > div span {
    color: #77869b;
    font-size: .72rem;
}

.website-setup-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.website-setup-feature-card {
    position: relative;
    display: grid;
    min-height: 132px;
    cursor: pointer;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 13px;
    padding: 19px;
    border: 1px solid #d5dfeb;
    border-radius: 14px;
    background: #fff;
}

.website-setup-feature-card:has(input[type="checkbox"]:checked) {
    border-color: #9ac0fa;
    background: #f6f9ff;
}

.website-setup-feature-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.website-setup-feature-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: #eaf2ff;
    color: var(--setup-blue);
    font-size: 1.1rem;
}

.website-setup-feature-card strong,
.website-setup-feature-card small {
    display: block;
}

.website-setup-feature-card strong {
    font-size: .88rem;
}

.website-setup-feature-card small {
    margin-top: 6px;
    color: var(--setup-muted);
    font-size: .73rem;
    line-height: 1.45;
}

.website-setup-feature-card > i {
    position: relative;
    display: block;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: #c8d3e1;
    transition: background-color .18s ease;
}

.website-setup-feature-card > i::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
    content: '';
    transition: transform .18s ease;
}

.website-setup-feature-card:has(input[type="checkbox"]:checked) > i {
    background: var(--setup-blue);
}

.website-setup-feature-card:has(input[type="checkbox"]:checked) > i::after {
    transform: translateX(16px);
}

.website-setup-mobile-actions {
    display: grid;
    grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: #f8fafc;
}

.website-setup-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.website-setup-chip-grid label {
    cursor: pointer;
}

.website-setup-chip-grid input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.website-setup-chip-grid span {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid #cdd8e6;
    border-radius: 999px;
    background: #fff;
    color: #4c5d78;
    font-size: .74rem;
    font-weight: 750;
}

.website-setup-chip-grid input:checked + span {
    border-color: var(--setup-blue);
    background: #eaf2ff;
    color: #0a4db7;
}

.website-setup-review-list {
    display: grid;
    gap: 10px;
}

.website-setup-review-list article {
    display: grid;
    min-height: 73px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 15px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
}

.website-setup-review-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: #edf4ff;
    color: var(--setup-blue);
    font-size: .85rem;
    font-weight: 900;
}

.website-setup-review-list small,
.website-setup-review-list strong {
    display: block;
}

.website-setup-review-list small {
    margin-bottom: 3px;
    color: #748198;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.website-setup-review-list strong {
    overflow: hidden;
    font-size: .87rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-setup-review-list button {
    min-width: 48px;
    min-height: 40px;
    padding: 7px;
    border: 0;
    background: transparent;
    color: var(--setup-blue);
    font-size: .75rem;
    font-weight: 800;
}

.website-setup-location-status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin-top: 16px;
    padding: 15px;
    border: 1px solid #f0d391;
    border-radius: 13px;
    background: #fffaf0;
}

.website-setup-location-status.is-ready {
    border-color: #b2e2d4;
    background: #f1fbf7;
}

.website-setup-location-status > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #df9e18;
    color: #fff;
    font-weight: 900;
}

.website-setup-location-status.is-ready > span {
    background: var(--setup-green);
}

.website-setup-location-status strong {
    display: block;
    font-size: .83rem;
}

.website-setup-location-status p {
    margin: 3px 0 0;
    color: #68788f;
    font-size: .73rem;
}

.website-setup-location-status a {
    color: var(--setup-blue);
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.website-setup-confirm {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #33425e;
    font-size: .8rem;
    font-weight: 650;
}

.website-setup-confirm input {
    width: 19px;
    height: 19px;
    accent-color: var(--setup-blue);
}

.website-setup-step-actions {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: 12px;
    padding: 18px clamp(24px, 3vw, 42px);
    border-top: 1px solid var(--setup-line);
    background: #fbfcfe;
}

.website-setup-step-actions [data-wizard-previous] {
    justify-self: start;
}

.website-setup-step-actions [data-wizard-next],
.website-setup-step-actions [data-wizard-submit] {
    justify-self: end;
}

.website-setup-step-actions > span {
    color: #7b899e;
    font-size: .72rem;
    font-weight: 750;
}

.website-setup-preview-panel {
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.website-setup-preview-heading {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--setup-line);
}

.website-setup-preview-heading span,
.website-setup-preview-heading strong {
    display: block;
}

.website-setup-preview-heading span {
    margin-bottom: 3px;
    color: #748198;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.website-setup-preview-heading strong {
    font-size: .9rem;
}

.website-setup-preview-heading button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d3dce8;
    border-radius: 9px;
    background: #fff;
    color: #40516e;
    font-size: 1.1rem;
}

.website-setup-browser {
    margin: 17px;
    overflow: hidden;
    border: 1px solid #cbd6e4;
    border-radius: 11px;
    background: #e9eef5;
    box-shadow: 0 12px 26px rgba(20, 41, 77, .12);
}

.website-setup-browser-bar {
    display: flex;
    height: 29px;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    background: #f8fafc;
}

.website-setup-browser-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aab6c7;
}

.website-setup-browser-bar span {
    overflow: hidden;
    margin-left: 5px;
    color: #8a96a8;
    font-size: .54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-setup-preview-viewport {
    position: relative;
    width: 100%;
    min-height: 210px;
    overflow: hidden;
    background: #e9eef5;
}

.website-setup-preview-viewport iframe {
    display: block;
    border: 0;
    background: #fff;
    transform: scale(.275);
    transform-origin: top left;
}

.website-setup-preview-tip {
    display: flex;
    gap: 10px;
    margin: 0 17px 17px;
    padding: 13px;
    border-radius: 10px;
    background: #f1f6fd;
    color: #52637d;
}

.website-setup-preview-tip > span {
    color: var(--setup-blue);
}

.website-setup-preview-tip p {
    margin: 0;
    font-size: .7rem;
    line-height: 1.45;
}

.website-setup-preview-tip strong {
    display: block;
    margin-bottom: 2px;
    color: #263650;
}

.website-setup-page button:focus-visible,
.website-setup-page a:focus-visible,
.website-setup-page label:has(input:focus-visible),
.website-setup-page input:focus-visible,
.website-setup-page textarea:focus-visible {
    outline: 3px solid rgba(15, 102, 242, .27);
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .website-setup-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .website-setup-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .website-setup-progress button small {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .website-setup-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-setup-preview-panel {
        position: static;
        grid-row: 2;
    }

    .website-setup-preview-viewport {
        min-height: 0;
    }

    .website-setup-progress {
        overflow-x: auto;
    }

    .website-setup-progress ol {
        min-width: 690px;
    }

    .website-setup-step {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .website-setup-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .website-setup-hero-actions {
        width: 100%;
        justify-content: space-between;
    }

    .website-setup-success {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .website-setup-success-actions {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }

    .website-setup-brand-grid,
    .website-setup-field-row,
    .website-setup-choice-fieldset,
    .website-setup-feature-grid,
    .website-setup-mobile-actions,
    .website-setup-style-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-setup-template-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-setup-template-card {
        display: grid;
        grid-template-columns: 142px minmax(0, 1fr);
    }

    .website-setup-template-image {
        height: 100%;
        min-height: 128px;
    }

    .website-setup-template-info {
        min-height: 128px;
    }

    .website-setup-color-row {
        width: 100%;
    }

    .website-setup-color-control {
        flex: 1;
    }

    .website-setup-step-actions {
        position: sticky;
        z-index: 10;
        bottom: 0;
    }
}

.ops-sensitive-row { background: #fffafb; }
.ops-audit-details { min-width: 120px; }
.ops-audit-details summary { color: var(--ops-blue); cursor: pointer; font-weight: 700; }
.ops-audit-diff { position: absolute; z-index: 20; right: 2rem; display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); width: min(720px, calc(100vw - 3rem)); gap: .75rem; padding: .9rem; border: 1px solid #cbd8e8; border-radius: 12px; background: #fff; box-shadow: 0 18px 50px rgba(13, 38, 72, .18); }
.ops-audit-diff > div { min-width: 0; }
.ops-audit-diff strong { color: var(--ops-navy); font-size: .7rem; text-transform: uppercase; }
.ops-audit-diff pre { max-height: 280px; margin: .35rem 0 0; padding: .65rem; overflow: auto; border-radius: 8px; background: #f4f7fb; color: #263950; font-size: .68rem; white-space: pre-wrap; overflow-wrap: anywhere; }

.ops-announcement-form { padding-bottom: 1.2rem; }
.ops-announcement-form > form { padding: 0 1.15rem; }
.ops-target-picker { margin: 0 0 1rem; padding: .75rem; border: 1px solid var(--ops-border); border-radius: 10px; }
.ops-target-picker legend { float: none; width: auto; margin: 0 0 .45rem; padding: 0 .25rem; color: var(--ops-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.ops-target-picker > label, .ops-target-scroll label { display: flex; align-items: flex-start; gap: .45rem; padding: .3rem; color: #34475f; font-size: .78rem; }
.ops-target-scroll { max-height: 210px; overflow: auto; }
.ops-target-scroll label span { display: flex; flex: 1; justify-content: space-between; gap: .75rem; }
.ops-target-scroll small { color: var(--ops-muted); }
.ops-announcement-list { display: grid; gap: .8rem; padding: 0 1rem 1rem; }
.ops-announcement-card { padding: 1rem; border: 1px solid var(--ops-border); border-left: 4px solid var(--ops-blue); border-radius: 12px; background: #fff; }
.ops-announcement-card.is-healthy { border-left-color: var(--ops-green); }
.ops-announcement-card.is-warning { border-left-color: var(--ops-amber); }
.ops-announcement-card.is-critical { border-left-color: var(--ops-red); }
.ops-announcement-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ops-announcement-card-head > div { display: flex; gap: .35rem; }
.ops-announcement-card-head small { color: var(--ops-muted); }
.ops-announcement-card h3 { margin: .75rem 0 .25rem; color: var(--ops-navy); font-size: 1rem; }
.ops-announcement-card > p { color: #43546a; font-size: .8rem; }

.platform-announcement { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-width: 1px 1px 1px 4px; box-shadow: 0 8px 24px rgba(16, 43, 76, .06); }
.platform-announcement-label { margin-bottom: .15rem; font-size: .65rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.platform-announcement form { margin: .15rem 0 0; }
.ops-message-cell { min-width: 260px; max-width: 520px; white-space: normal; }

@media (max-width: 767.98px) {
    .ops-audit-diff { position: fixed; inset: 5rem 1rem auto; grid-template-columns: 1fr; width: auto; max-height: calc(100vh - 7rem); overflow: auto; }
}

.ops-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ops-feature-card { padding: 1rem; border-top: 3px solid var(--ops-green); }
.ops-feature-card.is-disabled { border-top-color: var(--ops-red); background: #fffafb; }
.ops-feature-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ops-feature-card-head h2 { margin: .55rem 0 .1rem; color: var(--ops-navy); font-size: 1rem; }
.ops-feature-card-head code { color: var(--ops-muted); font-size: .68rem; }
.ops-feature-card > p { min-height: 2.5rem; margin: .75rem 0; color: #4d5f76; font-size: .78rem; }
.ops-feature-dealer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding: .75rem; border-radius: 10px; background: #f5f8fc; }
.ops-feature-dealer > div { display: grid; }
.ops-feature-dealer strong { color: var(--ops-navy); font-size: .78rem; }
.ops-feature-dealer small { color: var(--ops-muted); font-size: .67rem; }
.ops-security-list { display: grid; padding: 0 1rem 1rem; }
.ops-security-list article { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #edf1f6; }
.ops-security-list article > div { display: grid; min-width: 0; }
.ops-security-list article strong { color: var(--ops-navy); font-size: .78rem; }
.ops-security-list article small { color: var(--ops-muted); font-size: .68rem; overflow-wrap: anywhere; }

@media (max-width: 991.98px) {
    .ops-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .ops-feature-card-head, .ops-feature-dealer { align-items: stretch; flex-direction: column; }
}

.ops-retention-list { display: grid; padding: 0 1rem 1rem; }
.ops-retention-list article { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(420px, auto); align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid #edf1f6; }
.ops-retention-list article > div { display: grid; }
.ops-retention-list article > div strong { color: var(--ops-navy); font-size: .8rem; }
.ops-retention-list article > div small { color: var(--ops-muted); font-size: .7rem; }
.ops-retention-list form { display: flex; align-items: flex-end; gap: .5rem; }
.ops-retention-list form label { display: grid; gap: .2rem; color: var(--ops-muted); font-size: .62rem; font-weight: 700; }
.ops-retention-list form input { width: 105px; }

@media (max-width: 991.98px) {
    .ops-retention-list article { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .ops-retention-list form { align-items: stretch; flex-direction: column; }
    .ops-retention-list form input { width: 100%; }
}

/* Super Admin contact inbox */
.contact-inbox-filters {
    padding: 1rem;
}

.contact-inbox-list {
    display: flex;
    flex-direction: column;
}

.contact-inbox-row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) minmax(190px, 260px) auto;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    border-bottom: 1px solid #e7ebf1;
    padding: 1rem;
    transition: background-color .16s ease;
}

.contact-inbox-row:last-child {
    border-bottom: 0;
}

.contact-inbox-row:hover {
    background: #f8fafc;
}

.contact-inbox-row.is-unread {
    background: #f3f8ff;
}

.contact-inbox-row.is-unread:hover {
    background: #edf5ff;
}

.contact-inbox-unread {
    width: 9px;
    height: 9px;
    border: 1px solid #bcc5d2;
    border-radius: 50%;
    background: #ffffff;
}

.contact-inbox-row.is-unread .contact-inbox-unread {
    border-color: #0969f6;
    background: #0969f6;
    box-shadow: 0 0 0 3px rgba(9, 105, 246, .12);
}

.contact-inbox-main,
.contact-inbox-contact {
    min-width: 0;
}

.contact-inbox-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .75rem;
}

.contact-inbox-heading span,
.contact-inbox-contact,
.contact-inbox-preview {
    color: #657187;
}

.contact-inbox-preview {
    display: -webkit-box;
    max-width: 52rem;
    overflow: hidden;
    margin-top: .2rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.contact-inbox-contact > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-detail-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e7ebf1;
    padding: 1rem 1.1rem;
}

.contact-original-message {
    min-height: 130px;
    padding: 1.1rem;
    color: #26334a;
    line-height: 1.65;
}

.contact-detail-list {
    display: grid;
    grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr);
    gap: .7rem 1rem;
}

.contact-detail-list dt {
    color: #657187;
    font-weight: 600;
}

.contact-detail-list dd {
    min-width: 0;
    margin: 0;
}

.contact-reply-history {
    max-height: 560px;
    overflow-y: auto;
}

.contact-reply-item {
    border-bottom: 1px solid #e7ebf1;
    padding: 1rem;
}

.contact-reply-item:last-child {
    border-bottom: 0;
}

.contact-reply-item p {
    overflow-wrap: anywhere;
    color: #344159;
}

.platform-contact-alert-modal .modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 35, 70, .24);
}

.platform-contact-alert-modal .modal-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

@media (max-width: 991.98px) {
    .contact-inbox-row {
        grid-template-columns: 12px minmax(0, 1fr) auto;
    }

    .contact-inbox-contact {
        grid-column: 2;
    }

    .contact-inbox-action {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 575.98px) {
    .contact-inbox-row {
        grid-template-columns: 10px minmax(0, 1fr);
        gap: .75rem;
        align-items: start;
        padding: .9rem .8rem;
    }

    .contact-inbox-contact,
    .contact-inbox-action {
        grid-column: 2;
        grid-row: auto;
    }

    .contact-inbox-action .btn {
        width: 100%;
    }

    .contact-detail-list {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .contact-detail-list dd {
        margin-bottom: .65rem;
    }
}

@media (max-width: 479.98px) {
    .website-setup-page {
        margin-inline: -4px;
    }

    .website-setup-hero h1 {
        font-size: 2rem;
    }

    .website-setup-progress ol {
        min-width: 580px;
    }

    .website-setup-progress button {
        min-height: 50px;
    }

    .website-setup-main,
    .website-setup-preview-panel {
        border-radius: 15px;
    }

    .website-setup-step {
        padding: 23px 18px 28px;
    }

    .website-setup-logo-upload {
        min-height: 230px;
    }

    .website-setup-template-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .website-setup-template-info,
    .website-setup-template-image {
        min-height: 118px;
    }

    .website-setup-feature-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .website-setup-feature-card > i {
        position: absolute;
        top: 17px;
        right: 17px;
    }

    .website-setup-review-list article,
    .website-setup-location-status {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .website-setup-review-list button,
    .website-setup-location-status a {
        grid-column: 2;
        justify-self: start;
    }

    .website-setup-step-actions {
        grid-template-columns: 1fr 1fr;
        padding: 14px 18px;
    }

    .website-setup-step-actions > span {
        display: none;
    }

    .website-setup-step-actions [data-wizard-next],
    .website-setup-step-actions [data-wizard-submit] {
        grid-column: 2;
    }

    .website-setup-hero-upload {
        align-items: flex-start;
        flex-direction: column;
    }
}

body {
    color: var(--pas-ink);
    background: #ffffff;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
}

.hero-band {
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 58%, #eefaf5 100%);
    border-bottom: 1px solid var(--pas-line);
}

.feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1.25rem;
    background: #ffffff;
}

.auth-body {
    background:
        radial-gradient(circle at 85% 15%, rgba(35, 118, 255, .08), transparent 26rem),
        radial-gradient(circle at 10% 90%, rgba(255, 121, 43, .06), transparent 22rem),
        var(--pas-surface);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}

.auth-panel {
    width: 100%;
    max-width: 430px;
}

.auth-logo {
    display: block;
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-logo img {
    width: 210px;
    max-width: 60vw;
    height: auto;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--pas-line);
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 18px 45px rgba(21, 50, 94, .08);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}

.auth-subtitle {
    color: var(--pas-muted);
    font-size: .95rem;
    margin-bottom: 1.75rem;
}

.auth-inline-link {
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-inline-link:hover {
    text-decoration: underline;
}

.auth-help {
    text-align: center;
    color: var(--pas-muted);
    font-size: .875rem;
    margin: 1.75rem 0 0;
}

.auth-help a {
    font-weight: 600;
    text-decoration: none;
}

.auth-back {
    text-align: center;
    font-size: .875rem;
    margin: .5rem 0 0;
}

.auth-back a {
    color: var(--pas-muted);
    text-decoration: none;
}

.auth-back a:hover {
    color: var(--pas-ink);
}

@media (max-width: 575.98px) {
    .auth-shell {
        align-items: flex-start;
        padding: 2rem 1rem;
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
    }
}

/* ===== Dedicated public service appointment page ===== */

.dealer-service-hero {
    position: relative;
    min-height: clamp(360px, 43vw, 520px);
    overflow: hidden;
    background: #0b1119;
}

.dealer-service-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dealer-service-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 10, 17, .98) 0%, rgba(5, 10, 17, .88) 28%, rgba(5, 10, 17, .3) 58%, rgba(5, 10, 17, .04) 100%);
}

.dealer-service-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: inherit;
    max-width: 680px;
    margin-left: max(0px, calc((100vw - 1320px) / 2));
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.dealer-service-hero-content > span,
.dealer-service-booking-head > span,
.dealer-service-popular-head > div > span {
    color: var(--dealer-primary, #d7222a);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dealer-service-hero-content h1 {
    max-width: 620px;
    margin: .55rem 0 .8rem;
    font-size: clamp(2.8rem, 6vw, 5.35rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .95;
    text-transform: uppercase;
}

.dealer-service-hero-content i {
    display: block;
    width: 58px;
    height: 4px;
    margin-bottom: 1.15rem;
    background: var(--dealer-primary, #d7222a);
}

.dealer-service-hero-content p {
    max-width: 450px;
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.55;
}

.dealer-service-benefits {
    border-bottom: 1px solid #e3e7ec;
    background: #fff;
}

.dealer-service-benefits .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dealer-service-benefits article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    padding: 1.5rem 1.25rem;
    border-right: 1px solid #e6e9ee;
}

.dealer-service-benefits article:first-child {
    border-left: 1px solid #e6e9ee;
}

.dealer-service-benefits svg {
    width: 40px;
    height: 40px;
    padding: .45rem;
    color: var(--dealer-primary, #d7222a);
    border: 1px solid color-mix(in srgb, var(--dealer-primary, #d7222a) 55%, white);
    border-radius: 50%;
}

.dealer-service-benefits article div {
    display: grid;
    gap: .15rem;
}

.dealer-service-benefits strong {
    color: #182231;
    font-size: .75rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dealer-service-benefits span {
    color: #6d7786;
    font-size: .7rem;
}

.dealer-service-page {
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    background: #f7f8fa;
}

.dealer-service-booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.35rem;
    align-items: start;
}

.dealer-service-booking-card,
.dealer-service-summary-card {
    border: 1px solid #dfe4ea;
    border-radius: .55rem;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20, 31, 47, .055);
}

.dealer-service-booking-card {
    padding: clamp(1.15rem, 3vw, 2rem);
}

.dealer-service-booking-head h2,
.dealer-service-popular-head h2 {
    margin: .25rem 0 .35rem;
    color: #131c29;
    font-size: clamp(1.4rem, 2.7vw, 2rem);
    font-weight: 900;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.dealer-service-booking-head p {
    max-width: 700px;
    margin: 0;
    color: #6d7786;
    font-size: .86rem;
}

.dealer-service-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 1.5rem 0 1.8rem;
    padding: 0;
    list-style: none;
}

.dealer-service-progress li {
    position: relative;
    display: grid;
    gap: .35rem;
    justify-items: center;
    color: #5b6779;
    text-align: center;
}

.dealer-service-progress li::before {
    position: absolute;
    top: 15px;
    right: 50%;
    left: -50%;
    height: 1px;
    content: "";
    background: #dce1e7;
}

.dealer-service-progress li:first-child::before {
    display: none;
}

.dealer-service-progress li span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d8dee6;
    border-radius: 50%;
    background: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.dealer-service-progress li.is-active {
    color: var(--dealer-primary, #d7222a);
}

.dealer-service-progress li.is-active span {
    color: #fff;
    border-color: var(--dealer-primary, #d7222a);
    background: var(--dealer-primary, #d7222a);
}

.dealer-service-progress small {
    font-size: .67rem;
    font-weight: 700;
}

.dealer-service-form-wrap {
    padding-top: 1.4rem;
    border-top: 1px solid #e5e9ee;
}

.dealer-service-form-wrap .dealer-lead-form > .row > .col-12:first-child h2 {
    color: #172231;
    font-size: 1rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dealer-service-form-wrap .form-label {
    color: #273344;
    font-size: .76rem;
    font-weight: 750;
}

.dealer-service-form-wrap .form-control,
.dealer-service-form-wrap .form-select {
    min-height: 46px;
    border-color: #d7dde5;
    border-radius: .35rem;
    font-size: .82rem;
}

.dealer-service-form-wrap textarea.form-control {
    min-height: 105px;
}

.dealer-service-form-wrap .btn-dealer {
    min-width: 210px;
    min-height: 48px;
    font-weight: 850;
    text-transform: uppercase;
}

.dealer-service-online-reasons {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #dfe4ea;
    border-radius: .45rem;
    background: #fafbfc;
}

.dealer-service-online-reasons > div {
    display: grid;
    gap: .3rem;
}

.dealer-service-online-reasons strong {
    color: #1b2533;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dealer-service-online-reasons span,
.dealer-service-online-reasons li {
    color: #697485;
    font-size: .72rem;
}

.dealer-service-online-reasons ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dealer-service-online-reasons li::before {
    margin-right: .45rem;
    color: #2e9b50;
    content: "✓";
    font-weight: 900;
}

.dealer-service-summary-card {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: .65rem;
    padding: 1.25rem;
}

.dealer-service-summary-card > span {
    color: #202a38;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dealer-service-summary-image {
    height: 145px;
    overflow: hidden;
    border-radius: .4rem;
    background: #eef1f4;
}

.dealer-service-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dealer-service-summary-card > strong {
    color: #182231;
    font-size: .9rem;
    text-align: center;
}

.dealer-service-summary-card > p {
    margin: 0;
    color: #5b6779;
    font-size: .75rem;
    text-align: center;
}

.dealer-service-summary-card dl {
    display: grid;
    gap: .5rem;
    margin: .5rem 0 0;
    padding: .9rem 0;
    border-top: 1px solid #e4e8ed;
    border-bottom: 1px solid #e4e8ed;
}

.dealer-service-summary-card dl div,
.dealer-service-hours-mini div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
}

.dealer-service-summary-card dt,
.dealer-service-summary-card dd,
.dealer-service-hours-mini span,
.dealer-service-hours-mini b {
    margin: 0;
    color: #6d7786;
    font-size: .68rem;
    font-weight: 650;
}

.dealer-service-summary-card dd {
    color: #263243;
    text-align: right;
}

.dealer-service-help,
.dealer-service-hours-mini {
    display: grid;
    gap: .3rem;
    padding-top: .35rem;
}

.dealer-service-help strong,
.dealer-service-hours-mini > strong {
    color: #202a38;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dealer-service-help span {
    color: #5b6779;
    font-size: .69rem;
}

.dealer-service-help a {
    color: var(--dealer-primary, #d7222a);
    font-size: .88rem;
    font-weight: 850;
    text-decoration: none;
}

.dealer-service-popular {
    margin-top: clamp(2rem, 5vw, 4rem);
}

.dealer-service-popular-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.dealer-service-popular-head a {
    color: var(--dealer-primary, #d7222a);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.dealer-service-popular-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
}

.dealer-service-popular-grid article {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 245px;
    padding: 1rem;
    border: 1px solid #dde3e9;
    border-radius: .45rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 31, 44, .035);
}

.dealer-service-popular-grid article > img,
.dealer-service-card-number {
    width: 48px;
    height: 48px;
    margin-bottom: .85rem;
    border-radius: 50%;
}

.dealer-service-popular-grid article > img {
    object-fit: cover;
}

.dealer-service-card-number {
    display: grid;
    place-items: center;
    color: var(--dealer-primary, #d7222a);
    border: 1px solid color-mix(in srgb, var(--dealer-primary, #d7222a) 45%, white);
    background: color-mix(in srgb, var(--dealer-primary, #d7222a) 7%, white);
    font-weight: 900;
}

.dealer-service-popular-grid h3 {
    margin: 0 0 .5rem;
    color: #192331;
    font-size: .86rem;
    font-weight: 850;
}

.dealer-service-popular-grid p {
    margin: 0;
    color: #5b6779;
    font-size: .7rem;
    line-height: 1.55;
}

.dealer-service-popular-grid article > div {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    align-items: center;
    margin-top: 1rem;
}

.dealer-service-popular-grid button,
.dealer-service-popular-grid a {
    padding: 0;
    color: var(--dealer-primary, #d7222a);
    border: 0;
    background: none;
    font-size: .72rem;
    font-weight: 850;
    text-decoration: none;
}

.dealer-service-contact-strip {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #dce2e8;
    border-radius: .45rem;
    background: #fff;
}

.dealer-service-contact-strip > div {
    display: grid;
    gap: .15rem;
}

.dealer-service-contact-strip strong {
    color: #1d2735;
    font-size: .92rem;
}

.dealer-service-contact-strip span {
    color: #5b6779;
    font-size: .75rem;
}

@media (max-width: 1199.98px) {
    .dealer-service-popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dealer-service-benefits .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-service-benefits article:nth-child(3) {
        border-left: 1px solid #e6e9ee;
    }

    .dealer-service-booking-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dealer-service-summary-card {
        position: static;
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .dealer-service-summary-card > span,
    .dealer-service-summary-image {
        grid-row: span 2;
    }
}

@media (max-width: 767.98px) {
    .dealer-service-hero {
        min-height: 430px;
    }

    .dealer-service-hero > img {
        object-position: 60% center;
    }

    .dealer-service-hero-shade {
        background: linear-gradient(90deg, rgba(5, 10, 17, .96), rgba(5, 10, 17, .65));
    }

    .dealer-service-hero-content {
        margin-left: auto;
    }

    .dealer-service-benefits .container,
    .dealer-service-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-service-online-reasons,
    .dealer-service-summary-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .dealer-service-summary-card > span,
    .dealer-service-summary-image {
        grid-row: auto;
    }

    .dealer-service-progress small {
        display: none;
    }

    .dealer-service-contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .dealer-service-benefits .container,
    .dealer-service-popular-grid,
    .dealer-service-online-reasons ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .dealer-service-benefits article,
    .dealer-service-benefits article:nth-child(3) {
        border-right: 1px solid #e6e9ee;
        border-left: 1px solid #e6e9ee;
    }

    .dealer-service-popular-grid article {
        min-height: 210px;
    }
}

.admin-shell {
    min-height: 100vh;
    background: var(--pas-surface);
}

.admin-sidebar {
    width: 260px;
    background: #111827;
    color: #e5e7eb;
}

.admin-sidebar a {
    color: #cbd5e1;
    border-radius: 6px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    min-width: 0;
}

.metric-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.25rem;
}

.stat-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
    min-height: 108px;
}

.stat-card .stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 3rem;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stat-card-link:hover {
    border-color: #b8cbea;
    color: inherit;
    box-shadow: 0 12px 28px rgba(25, 67, 125, .1);
    transform: translateY(-2px);
}

.stat-card-link:focus-visible {
    outline: 3px solid rgba(23, 105, 224, .28);
    outline-offset: 3px;
}

.stat-card-link-icon {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    background: #edf4ff;
    color: #1769e0;
    font-size: 1rem;
    font-weight: 800;
    transform: translateY(-50%);
    transition: background-color .18s ease, transform .18s ease;
}

.stat-card-link:hover .stat-card-link-icon {
    background: #dceaff;
    transform: translate(.15rem, -50%);
}

.table-panel {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.table-panel .table {
    margin-bottom: 0;
}

.chat-admin-shell {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    min-height: 650px;
}

.chat-admin-list {
    border-right: 1px solid var(--pas-line);
    background: #ffffff;
}

.chat-conversation-list {
    max-height: 570px;
    overflow: auto;
}

.chat-conversation-item {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--pas-line);
    background: #ffffff;
    padding: .85rem 1rem;
    text-align: left;
}

.chat-conversation-item:hover,
.chat-conversation-item.is-active {
    background: #f1f6ff;
}

.chat-admin-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.chat-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--pas-line);
    background: #ffffff;
}

.chat-admin-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem;
    overflow: auto;
}

.chat-admin-message {
    width: fit-content;
    max-width: min(680px, 82%);
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: .75rem .9rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.chat-admin-message.is-admin {
    align-self: flex-end;
    border-color: color-mix(in srgb, var(--pas-blue) 30%, #ffffff);
    background: #eef5ff;
}

.chat-admin-typing {
    align-self: flex-start;
    min-height: 0;
    margin: 0 1rem .65rem;
    padding: .48rem .78rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8 !important;
    font-size: .82rem !important;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .10);
}

.chat-admin-typing:empty {
    display: none;
}

.chat-admin-typing:not(:empty) {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
}

.chat-admin-typing:not(:empty)::before {
    content: "";
    width: .48rem;
    height: .48rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #2563eb;
    animation: pas-chat-typing-pulse 1.15s ease-in-out infinite;
}

.chat-admin-typing:not(:empty)::after {
    content: "";
    width: 1.2rem;
    height: .58rem;
    flex: 0 0 auto;
    background:
        radial-gradient(circle closest-side, currentColor 90%, transparent) 0 100% / .3rem .3rem no-repeat,
        radial-gradient(circle closest-side, currentColor 90%, transparent) 50% 100% / .3rem .3rem no-repeat,
        radial-gradient(circle closest-side, currentColor 90%, transparent) 100% 100% / .3rem .3rem no-repeat;
    animation: pas-chat-typing-dots 1.05s linear infinite;
}

@keyframes pas-chat-typing-pulse {
    0%, 100% { opacity: .38; transform: scale(.82); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes pas-chat-typing-dots {
    0%, 100% { background-position: 0 100%, 50% 100%, 100% 100%; }
    25% { background-position: 0 0, 50% 100%, 100% 100%; }
    50% { background-position: 0 100%, 50% 0, 100% 100%; }
    75% { background-position: 0 100%, 50% 100%, 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .chat-admin-typing:not(:empty)::before,
    .chat-admin-typing:not(:empty)::after {
        animation: none;
    }
}

.chat-admin-reply {
    padding: 1rem;
    border-top: 1px solid var(--pas-line);
    background: #ffffff;
}

.admin-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.inline-control-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.grid-column-full {
    grid-column: 1 / -1;
}

.user-permission-box {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1rem;
    background: #f8fafc;
}

.user-permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .75rem;
}

.user-permission-choice {
    display: flex;
    gap: .65rem;
    min-height: 82px;
    align-items: flex-start;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    padding: .8rem;
    background: #ffffff;
}

.user-permission-choice .form-check-input {
    margin-top: .15rem;
    flex: none;
}

.user-permission-choice strong,
.user-permission-choice small {
    display: block;
}

.user-permission-choice strong {
    color: #172033;
    font-size: .92rem;
}

.user-permission-choice small {
    margin-top: .18rem;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.35;
}

.user-permission-choice.is-admin-only {
    border-color: #fed7aa;
    background: #fffaf3;
}

.user-permission-choice.is-disabled {
    opacity: .55;
    background: #f3f6fa;
}

.template-upload-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 1rem;
    align-items: start;
}

.template-upload-form {
    display: grid;
    gap: .75rem;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1rem;
    background: #f8fafc;
}

.template-theme-presets {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: .85rem;
    background: #f8fafc;
}

.dealer-hero {
    background: #101828;
    color: #ffffff;
}

.inventory-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.inventory-image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dbeafe, #ecfdf5);
}

.vehicle-thumb {
    width: 96px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--pas-line);
    border-radius: 6px;
    background: #f1f5f9;
}

.vehicle-thumb-empty {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
    font-size: .75rem;
}

.media-upload-panel {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
}

.media-type-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.media-type-picker label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.media-type-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.media-type-picker span {
    display: flex;
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
    border: 1px solid var(--pas-line);
    border-radius: 7px;
    background: #ffffff;
    padding: .8rem 1rem;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.media-type-picker small {
    color: var(--pas-muted);
    line-height: 1.35;
}

.media-type-picker input:checked + span {
    border-color: var(--pas-blue);
    background: #f4f8ff;
    box-shadow: inset 0 0 0 1px var(--pas-blue);
}

.media-type-picker input:focus-visible + span {
    outline: 3px solid rgba(14, 102, 255, .22);
    outline-offset: 2px;
}

.media-drop-zone {
    border: 2px dashed #9ab2d4;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f8fbff;
    transition: border-color .15s ease, background .15s ease;
}

.media-drop-zone.is-dragging {
    border-color: var(--pas-blue);
    background: #eef5ff;
}

.media-drop-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto .75rem;
    background: #e2ebff;
    color: var(--pas-blue);
    font-size: 1.75rem;
    line-height: 1;
}

.media-upload-progress {
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    padding: .85rem;
}

.media-upload-progress .progress {
    height: .75rem;
    background: #dbeafe;
}

.body-style-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.35rem;
}

.body-style-color-preview {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .85rem;
    color: #172033;
}

.body-style-color-preview-image {
    display: grid;
    width: 9rem;
    height: 4.25rem;
    place-items: center;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.body-style-color-preview-image img {
    display: block;
    width: 8rem;
    height: 3rem;
    object-fit: contain;
}

.body-style-color-option {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: .45rem;
    padding: .1rem .05rem .3rem;
    color: #526176;
    font-weight: 700;
    cursor: pointer;
    transition: color .15s ease;
}

.body-style-color-option .form-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
}

.body-style-color-option:has(.form-check-input:checked) {
    color: var(--pas-blue);
}

.body-style-color-option:has(.form-check-input:checked)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 1.65rem;
    height: 2px;
    border-radius: 999px;
    background: var(--pas-blue);
}

.body-style-color-swatch {
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}

.body-style-color-option:has(.form-check-input:checked) .body-style-color-swatch {
    border-color: var(--pas-blue);
    box-shadow: 0 0 0 .18rem rgba(14, 102, 255, .14), inset 0 0 0 2px rgba(255, 255, 255, .45);
}

.body-style-color-swatch-black {
    background: #111827;
}

.body-style-color-swatch-yellow {
    background: #facc15;
}

.body-style-color-swatch-white {
    background: #ffffff;
}

.body-style-color-swatch-gray {
    background: #9ca3af;
}

.body-style-color-swatch-red {
    background: #dc2626;
}

.body-style-color-swatch-blue {
    background: #2563eb;
}

.media-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.media-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.media-card-content,
.media-card-content form,
.media-watermark-field {
    min-width: 0;
}

.media-card-content {
    overflow-wrap: anywhere;
}

.media-card-content .form-control,
.media-card-content .form-select {
    width: 100%;
    min-width: 0;
}

.media-watermark-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    align-items: end;
}

.media-watermark-field .form-label {
    display: block;
    margin-bottom: .35rem;
    line-height: 1.25;
}

.media-watermark-action {
    grid-column: 1 / -1;
}

.media-watermark-action .dashboard-secondary-btn {
    width: 100%;
}

@media (max-width: 575.98px) {
    .media-watermark-controls {
        grid-template-columns: minmax(0, 1fr);
    }
}

.media-card.is-dragging {
    z-index: 2;
    border-color: #0b63f6;
    box-shadow: 0 12px 28px rgba(20, 54, 96, .18);
    opacity: .72;
}

.media-grid.is-saving .media-card {
    pointer-events: none;
}

.media-sortable-ready .media-direction-form {
    display: none;
}

.media-preview {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-badges {
    position: absolute;
    left: .5rem;
    top: .5rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.media-drag-handle {
    position: absolute;
    z-index: 3;
    top: .5rem;
    right: .5rem;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(15, 34, 61, .16);
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    color: #43536b;
    box-shadow: 0 4px 12px rgba(15, 34, 61, .14);
    cursor: grab;
    touch-action: none;
}

.media-drag-handle:hover,
.media-drag-handle:focus-visible {
    border-color: #0b63f6;
    color: #0b63f6;
    outline: 3px solid rgba(11, 99, 246, .16);
}

.media-drag-handle:active {
    cursor: grabbing;
}

.media-drag-dots {
    width: 16px;
    height: 22px;
    background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.75px);
    background-position: center;
    background-size: 7px 7px;
}

.spin-review-card {
    background: #ffffff;
}

.spin-review-thumb {
    width: 92px;
    height: 66px;
    border-radius: 6px;
    object-fit: cover;
}

.spin-review-workspace {
    border-top: 1px solid var(--pas-line);
    padding-top: 1rem;
}

.spin-admin-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 920px);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid #26364f;
    border-radius: 10px;
    background: #0f172a;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.spin-admin-preview:focus-visible {
    outline: 3px solid rgba(11, 99, 246, .28);
    outline-offset: 3px;
}

.spin-admin-preview.is-dragging {
    cursor: grabbing;
}

.spin-admin-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.7;
    object-fit: contain;
    pointer-events: none;
}

.spin-admin-preview-hint,
.spin-admin-preview-count {
    position: absolute;
    bottom: .75rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, .84);
    color: #ffffff;
    padding: .35rem .6rem;
    font-size: .75rem;
    font-weight: 800;
    pointer-events: none;
}

.spin-admin-preview-hint {
    right: .75rem;
}

.spin-admin-preview-count {
    left: .75rem;
}

.spin-order-status {
    min-height: 1.25rem;
    font-weight: 700;
}

.spin-order-status.is-saving {
    color: #52637a;
}

.spin-order-status.is-saved {
    color: #198754;
}

.spin-order-status.is-error {
    color: #b42318;
}

.spin-frame-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: .75rem;
}

.spin-frame-list.is-saving {
    opacity: .72;
    pointer-events: none;
}

.spin-frame-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.spin-frame-card.is-dragging {
    z-index: 2;
    border-color: #0b63f6;
    box-shadow: 0 10px 24px rgba(20, 54, 96, .2);
    opacity: .68;
}

.spin-frame-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f7;
}

.spin-frame-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.spin-frame-drag {
    position: absolute;
    z-index: 2;
    top: .4rem;
    right: .4rem;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(15, 34, 61, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: #43536b;
    cursor: grab;
}

.spin-frame-drag:hover,
.spin-frame-drag:focus-visible {
    border-color: #0b63f6;
    color: #0b63f6;
    outline: 3px solid rgba(11, 99, 246, .16);
}

.spin-frame-number {
    position: absolute;
    left: .4rem;
    bottom: .4rem;
    min-width: 28px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .86);
    color: #ffffff;
    padding: .2rem .45rem;
    text-align: center;
    font-size: .72rem;
    font-weight: 800;
}

.spin-frame-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .35rem;
    padding: .4rem;
}

.spin-frame-actions button {
    min-height: 32px;
    border: 1px solid var(--pas-line);
    border-radius: 6px;
    background: #ffffff;
    color: #32435a;
    font-weight: 850;
}

.spin-frame-actions button:hover:not(:disabled),
.spin-frame-actions button:focus-visible {
    border-color: #0b63f6;
    color: #0b63f6;
    outline: 2px solid rgba(11, 99, 246, .14);
}

.spin-frame-actions button:disabled {
    opacity: .38;
}

@media (max-width: 575.98px) {
    .spin-frame-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spin-admin-preview-hint {
        display: none;
    }
}

.photo-shot-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.photo-shot-kicker {
    display: block;
    margin-bottom: .45rem;
    color: #0b63f6;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.photo-shot-count {
    min-width: 124px;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: #10243e;
    color: #ffffff;
    text-align: center;
}

.photo-shot-count strong,
.photo-shot-count span {
    display: block;
}

.photo-shot-count strong {
    font-size: 2rem;
    line-height: 1;
}

.photo-shot-count span {
    margin-top: .4rem;
    color: #c7d7ed;
    font-size: .76rem;
    font-weight: 700;
}

.photo-shot-list {
    display: grid;
    gap: .75rem;
}

.photo-shot-row {
    display: grid;
    grid-template-columns: 44px 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid var(--pas-line);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.photo-shot-row.is-dragging {
    z-index: 2;
    border-color: #0b63f6;
    box-shadow: 0 12px 28px rgba(20, 54, 96, .18);
    opacity: .75;
}

.photo-shot-handle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #ccd7e6;
    border-radius: 10px;
    background: #f5f8fc;
    color: #52637a;
    cursor: grab;
    touch-action: none;
}

.photo-shot-handle:hover,
.photo-shot-handle:focus-visible {
    border-color: #0b63f6;
    color: #0b63f6;
    outline: 3px solid rgba(11, 99, 246, .14);
}

.photo-shot-position {
    color: #8a96a8;
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
}

.photo-shot-field .form-label {
    margin-bottom: .25rem;
    color: #52637a;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .photo-shot-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .photo-shot-count {
        min-width: 0;
    }

    .photo-shot-row {
        grid-template-columns: 42px 28px minmax(0, 1fr);
    }

    .photo-shot-row [data-photo-shot-remove] {
        grid-column: 3;
        justify-self: start;
    }
}

.media-order-status {
    min-height: 1.25rem;
}

.media-order-status.is-saving {
    color: #52637a;
}

.media-order-status.is-saved {
    color: #18794e;
}

.media-order-status.is-error {
    color: #b42318;
}

body.media-photo-dragging {
    user-select: none;
}

.dealer-public {
    --dealer-theme-action: var(--dealer-primary);
    --dealer-theme-action-contrast: #ffffff;
    background: #f6f8fb;
}

body.dealer-public[data-template-width="boxed"] {
    background: color-mix(in srgb, var(--dealer-template-muted, #eef1f4) 72%, #d8dde2);
}

.dealer-public[data-template-width="boxed"] > .site-shell {
    width: calc(100% - 32px);
    max-width: 1440px;
    margin: 12px auto 28px;
    border: 1px solid rgba(15, 23, 42, .22);
    background: var(--dealer-template-surface, #fff);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .12);
}

.dealer-public[data-template-width="full_screen"] > .site-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.dealer-public .dealer-breadcrumb {
    --bs-link-color-rgb: var(--dealer-link-color-rgb);
    --bs-link-hover-color-rgb: var(--dealer-link-hover-color-rgb);
}

.dealer-public.has-mobile-actions {
    padding-bottom: 58px;
}

@media (max-width: 991.98px) {
    .dealer-public[data-template-width="boxed"] > .site-shell {
        width: 100%;
        margin: 0;
        border: 0;
        box-shadow: none;
    }
}

.dealer-topbar {
    background: #0f172a;
    color: #dbe4f0;
}

.dealer-topbar-primary,
.dealer-topbar-links,
.dealer-department-phone-links,
.dealer-footer-social {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    align-items: center;
}

.dealer-topbar-primary {
    max-width: 100%;
}

.dealer-topbar-links {
    justify-content: flex-start;
}

.dealer-location-switcher {
    display: inline-flex;
    z-index: 1030;
}

.dealer-language-nav > .nav-link {
    min-width: 3.25rem;
    white-space: nowrap;
    text-align: center;
}

.dealer-language-nav .dropdown-item.active {
    background: color-mix(in srgb, var(--dealer-primary) 12%, #ffffff);
    color: var(--dealer-primary);
    font-weight: 700;
}

.dealer-location-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(219, 228, 240, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: inherit;
    padding: .16rem .6rem;
    font: inherit;
    line-height: 1.2;
}

.dealer-location-switcher-toggle strong {
    font-weight: 800;
}

.dealer-location-switcher-toggle:hover,
.dealer-location-switcher-toggle[aria-expanded="true"] {
    border-color: rgba(219, 228, 240, .6);
    background: rgba(255, 255, 255, .1);
}

.dealer-location-switcher-menu {
    min-width: min(22rem, calc(100vw - 2rem));
    max-height: 72vh;
    overflow-y: auto;
}

.dealer-location-switcher-menu .dropdown-item {
    white-space: normal;
}

.dealer-faq-section {
    scroll-margin-top: 6rem;
}

.dealer-faq-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.dealer-faq-heading p {
    margin: 0 0 .35rem;
    color: var(--dealer-primary);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dealer-faq-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    line-height: 1.2;
}

.dealer-faq-heading div {
    margin-top: .65rem;
    color: #526174;
    line-height: 1.65;
}

.help-faq-panel {
    overflow: hidden;
}

.help-faq-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    border-bottom: 1px solid #e7ebf1;
    padding: 1.25rem;
}

.help-faq-eyebrow {
    display: block;
    margin-bottom: .25rem;
    color: var(--pas-primary, #155eef);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.help-faq-head h2 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
}

.help-faq-head p {
    margin: .35rem 0 0;
    color: #667085;
}

.help-faq-search {
    width: min(100%, 390px);
}

.help-faq-search span {
    display: block;
    margin-bottom: .35rem;
    color: #344054;
    font-size: .8rem;
    font-weight: 700;
}

.help-faq-summary {
    border-bottom: 1px solid #e7ebf1;
    padding: .65rem 1.25rem;
    color: #667085;
    font-size: .82rem;
    font-weight: 700;
}

.help-faq-group {
    padding: 1.25rem;
}

.help-faq-group + .help-faq-group {
    border-top: 1px solid #e7ebf1;
}

.help-faq-group h3 {
    margin: 0 0 .75rem;
    color: #344054;
    font-size: .9rem;
    font-weight: 800;
}

.help-faq-list {
    display: grid;
    gap: .5rem;
}

.help-faq-item {
    border: 1px solid #e4e9f0;
    border-radius: 6px;
    background: #ffffff;
}

.help-faq-item summary {
    position: relative;
    padding: .9rem 2.75rem .9rem 1rem;
    color: #1d2939;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.help-faq-item summary::-webkit-details-marker {
    display: none;
}

.help-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1rem;
    color: #667085;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
}

.help-faq-item[open] summary::after {
    content: "-";
}

.help-faq-item summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--pas-primary, #155eef) 30%, transparent);
    outline-offset: 2px;
}

.help-faq-answer {
    border-top: 1px solid #edf0f4;
    padding: 1rem;
}

.help-faq-answer p {
    max-width: 90ch;
    margin: 0 0 .85rem;
    color: #526174;
    line-height: 1.65;
}

.help-faq-empty {
    display: grid;
    gap: .25rem;
    padding: 2rem 1.25rem;
    text-align: center;
}

.help-faq-empty span {
    color: #667085;
}

@media (max-width: 767.98px) {
    .help-faq-head {
        align-items: stretch;
        flex-direction: column;
    }

    .help-faq-search {
        width: 100%;
    }
}

.dealer-department-phone-links {
    gap: .45rem .85rem;
}

.dealer-department-phone-links a,
.dealer-footer-social a {
    font-weight: 700;
    text-decoration: none;
}

.dealer-footer-social a:hover {
    text-decoration: underline;
}

.dealer-social-icon-link {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    border-radius: 50%;
    color: inherit;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.dealer-social-icon-link:hover {
    border-color: var(--dealer-theme-action, var(--dealer-primary));
    background: var(--dealer-theme-action, var(--dealer-primary));
    color: var(--dealer-theme-action-contrast, #fff);
    text-decoration: none !important;
    transform: translateY(-2px);
}

.dealer-social-icon-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--dealer-theme-action, var(--dealer-primary)) 48%, transparent);
    outline-offset: 3px;
}

.dealer-social-icon {
    display: block;
    width: 20px;
    height: 20px;
    overflow: visible;
}

.dealer-topbar a,
.dealer-footer a {
    color: inherit;
}

.dealer-public .dealer-public-alert {
    background: color-mix(in srgb, var(--dealer-primary) 10%, #ffffff);
    border-bottom: 1px solid color-mix(in srgb, var(--dealer-primary) 28%, #ffffff);
    color: color-mix(in srgb, var(--dealer-primary) 72%, #111827);
    padding: .85rem 0;
}

.dealer-public .dealer-public-alert strong {
    display: inline-block;
    margin-right: .5rem;
}

.dealer-public .dealer-public-alert .btn {
    border-color: var(--dealer-theme-action, var(--dealer-primary));
    background: var(--dealer-theme-action, var(--dealer-primary));
    color: var(--dealer-theme-action-contrast, #ffffff);
    font-weight: 700;
}

.dealer-public .dealer-public-alert .btn:hover,
.dealer-public .dealer-public-alert .btn:focus-visible {
    border-color: color-mix(in srgb, var(--dealer-theme-action, var(--dealer-primary)) 82%, #000000);
    background: color-mix(in srgb, var(--dealer-theme-action, var(--dealer-primary)) 82%, #000000);
    color: var(--dealer-theme-action-contrast, #ffffff);
}

.dealer-holiday-hours-item {
    background: rgba(255, 255, 255, .52);
    min-width: 210px;
}

.dealer-navbar .navbar-brand {
    color: #111827;
}

/* Dealer menus are configurable and can crowd the bar on small laptops;
   tighten link spacing between the lg expand point and full desktop. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .dealer-navbar .navbar-nav .nav-link {
        padding-left: .45rem;
        padding-right: .45rem;
        font-size: .875rem;
    }
}

.dealer-logo {
    display: block;
    max-width: min(520px, 70vw);
    max-height: 150px;
    object-fit: contain;
}

.dealer-public .text-primary {
    color: var(--dealer-primary) !important;
}

.dealer-public .btn-outline-primary {
    --bs-btn-color: var(--dealer-theme-action);
    --bs-btn-border-color: var(--dealer-theme-action);
    --bs-btn-hover-color: var(--dealer-theme-action-contrast);
    --bs-btn-hover-bg: var(--dealer-theme-action);
    --bs-btn-hover-border-color: var(--dealer-theme-action);
    --bs-btn-active-color: var(--dealer-theme-action-contrast);
    --bs-btn-active-bg: color-mix(in srgb, var(--dealer-theme-action) 82%, #000000);
    --bs-btn-active-border-color: color-mix(in srgb, var(--dealer-theme-action) 82%, #000000);
    --bs-btn-disabled-color: color-mix(in srgb, var(--dealer-theme-action) 58%, #64748b);
    --bs-btn-disabled-border-color: color-mix(in srgb, var(--dealer-theme-action) 46%, #cbd5e1);
}

.dealer-public .btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--dealer-theme-action) 28%, transparent);
}

.btn-dealer {
    --bs-btn-bg: var(--dealer-primary);
    --bs-btn-border-color: var(--dealer-primary);
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: #0f172a;
    --bs-btn-hover-border-color: #0f172a;
    --bs-btn-hover-color: #ffffff;
}

.dealer-hero-public {
    background: linear-gradient(135deg, var(--dealer-hero-bg-start, color-mix(in srgb, var(--dealer-primary) 86%, #000 14%)), #172033 62%, var(--dealer-hero-bg-end, color-mix(in srgb, var(--dealer-secondary) 78%, #000 22%)));
    color: #ffffff;
}

.dealer-custom-hero {
    position: relative;
    overflow: hidden;
}

.dealer-custom-hero .carousel,
.dealer-custom-hero .carousel-inner,
.dealer-custom-hero .carousel-item {
    min-height: 100%;
}

.dealer-hero-slide {
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, 62vh, 760px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dealer-hero-bg-start, color-mix(in srgb, var(--dealer-primary) 86%, #000 14%)), #172033 62%, var(--dealer-hero-bg-end, color-mix(in srgb, var(--dealer-secondary) 78%, #000 22%)));
}

.dealer-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 13, 26, var(--dealer-hero-overlay, .45)), rgba(8, 13, 26, calc(var(--dealer-hero-overlay, .45) * .72)));
}

.dealer-hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-swatch-dropdown {
    position: relative;
}

.color-swatch-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.color-swatch {
    display: inline-block;
    flex: none;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(16, 24, 40, .28);
    border-radius: 3px;
}

.color-swatch-menu {
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
}

.color-swatch-item {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.color-swatch-item.active {
    background: #eef4ff;
    color: inherit;
}

.hero-background-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .75rem;
}

.hero-background-option {
    display: grid;
    gap: .45rem;
    border: 1px solid var(--pas-border);
    border-radius: 8px;
    background: #ffffff;
    padding: .5rem;
    cursor: pointer;
}

.hero-background-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hero-background-option img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.hero-background-option span {
    color: var(--pas-text);
    font-size: .82rem;
    font-weight: 700;
}

.hero-background-option.is-selected {
    border-color: var(--pas-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.dealer-hero-layout-centered .dealer-hero-slide::before {
    background: rgba(8, 13, 26, var(--dealer-hero-overlay, .45));
}

.dealer-hero-public .lead {
    color: rgba(255, 255, 255, .82);
}

.dealer-hero-listings {
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
    color: var(--pas-text);
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.dealer-hero-listings a {
    color: inherit;
}

.dealer-hero-listing {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: .55rem;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dealer-hero-listing:hover {
    border-color: color-mix(in srgb, var(--dealer-primary) 42%, var(--pas-line));
    box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    transform: translateY(-1px);
}

.dealer-hero-listing img,
.dealer-hero-listing-placeholder {
    width: 92px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    background: #e8edf5;
}

.dealer-hero-listing-placeholder {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
    font-size: .8rem;
    font-weight: 700;
}

.dealer-hero-listing strong {
    display: block;
    overflow: hidden;
    color: var(--pas-text);
    font-size: .95rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-hero-listing small {
    display: block;
    margin-top: .25rem;
    color: var(--pas-muted);
    font-weight: 700;
}

.dealer-hero-panel,
.dealer-filter-panel,
.dealer-detail-panel,
.dealer-lead-panel,
.dealer-vehicle-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.dealer-hero-panel,
.dealer-filter-panel,
.dealer-detail-panel,
.dealer-lead-panel {
    padding: 1.25rem;
}

/* Public trade-in intake */
.dealer-trade-header {
    position: relative;
    overflow: hidden;
}

.dealer-trade-header::after {
    content: "";
    position: absolute;
    inset: auto -5rem -8rem auto;
    width: 18rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 9%, transparent);
    pointer-events: none;
}

.dealer-trade-eyebrow,
.dealer-trade-step-kicker {
    display: block;
    margin-bottom: .45rem;
    color: var(--dealer-primary, #155eef);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.dealer-trade-page {
    background:
        radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--dealer-primary, #155eef) 7%, transparent), transparent 24rem),
        #f7f9fc;
}

.dealer-trade-layout {
    display: grid;
    grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.45fr);
    gap: 2rem;
    align-items: start;
}

.dealer-trade-summary {
    display: grid;
    gap: 1.25rem;
    position: sticky;
    top: 1.25rem;
}

.dealer-trade-intro,
.dealer-trade-privacy-note,
.dealer-trade-form-card {
    border: 1px solid #dce4ef;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.dealer-trade-intro {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.dealer-trade-intro h2,
.dealer-trade-form-heading h2 {
    margin: 0 0 .55rem;
    color: #101828;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.dealer-trade-intro > p,
.dealer-trade-form-heading p {
    margin: 0;
    color: #667085;
    line-height: 1.7;
}

.dealer-trade-next-steps {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid #e8edf4;
    list-style: none;
}

.dealer-trade-next-steps li {
    display: grid;
    grid-template-columns: 2.15rem 1fr;
    gap: .8rem;
    align-items: start;
}

.dealer-trade-next-steps li > span,
.dealer-trade-section legend > span:first-child {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border-radius: .7rem;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 11%, white);
    color: var(--dealer-primary, #155eef);
    font-weight: 900;
}

.dealer-trade-next-steps strong,
.dealer-trade-next-steps small {
    display: block;
}

.dealer-trade-next-steps strong {
    color: #182230;
    font-size: .94rem;
}

.dealer-trade-next-steps small {
    margin-top: .15rem;
    color: #667085;
    line-height: 1.5;
}

.dealer-trade-valuation {
    border-radius: 1.1rem;
}

.dealer-trade-privacy-note {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: .85rem;
    padding: 1.1rem;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 5%, white);
}

.dealer-trade-privacy-note svg {
    width: 2.25rem;
    fill: var(--dealer-primary, #155eef);
}

.dealer-trade-privacy-note strong,
.dealer-trade-privacy-note p {
    display: block;
    margin: 0;
}

.dealer-trade-privacy-note p {
    margin-top: .2rem;
    color: #667085;
    font-size: .82rem;
    line-height: 1.5;
}

.dealer-trade-form-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.35rem;
}

.dealer-trade-form-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #e5eaf1;
}

.dealer-trade-time {
    flex: 0 0 auto;
    padding: .52rem .75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475467;
    font-size: .78rem;
    font-weight: 800;
}

.dealer-trade-form {
    display: grid;
    gap: 0;
}

.dealer-trade-section {
    min-width: 0;
    margin: 0;
    padding: 1.75rem 0;
    border: 0;
    border-bottom: 1px solid #e5eaf1;
}

.dealer-trade-section legend {
    display: grid;
    grid-template-columns: 2.15rem 1fr;
    gap: .75rem;
    align-items: start;
    width: auto;
    margin: 0 0 1.25rem;
    color: #182230;
    font-size: 1.05rem;
    font-weight: 850;
}

.dealer-trade-section legend small {
    display: block;
    margin-top: .16rem;
    color: #667085;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.45;
}

.dealer-trade-grid {
    display: grid;
    gap: 1rem;
}

.dealer-trade-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dealer-trade-field-wide {
    grid-column: 1 / -1;
}

.dealer-trade-form .form-label {
    margin-bottom: .42rem;
    color: #344054;
    font-size: .84rem;
    font-weight: 750;
}

.dealer-trade-form .form-control,
.dealer-trade-form .form-select {
    min-height: 3rem;
    border-color: #cfd8e6;
    border-radius: .72rem;
    background-color: #fff;
}

.dealer-trade-form textarea.form-control {
    min-height: auto;
}

.dealer-trade-form .form-control:focus,
.dealer-trade-form .form-select:focus {
    border-color: var(--dealer-primary, #155eef);
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--dealer-primary, #155eef) 16%, transparent);
}

.dealer-trade-form .form-text {
    color: #667085;
    font-size: .76rem;
}

.dealer-trade-vin-status {
    min-height: 1.15rem;
    margin-top: .3rem;
    color: #667085;
    font-size: .76rem;
    font-weight: 650;
}

.dealer-trade-vin-status.is-success {
    color: #067647;
}

.dealer-trade-vin-status.is-warning {
    color: #8a4b0f;
}

.dealer-trade-vin-status.is-error {
    color: #b42318;
}

.dealer-trade-or {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #5b6779;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dealer-trade-or::before,
.dealer-trade-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e5eaf1;
}

.dealer-trade-money {
    position: relative;
}

.dealer-trade-money > span {
    position: absolute;
    z-index: 1;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    font-weight: 750;
}

.dealer-trade-money .form-control {
    padding-left: 2rem;
}

.dealer-trade-upload {
    margin-top: 1.15rem;
    padding: 1rem;
    border: 1px dashed #b8c5d8;
    border-radius: 1rem;
    background: #f8fafc;
}

.dealer-trade-upload > label {
    display: grid;
    grid-template-columns: 2.6rem 1fr auto;
    gap: .85rem;
    align-items: center;
    cursor: pointer;
}

.dealer-trade-upload > label svg {
    width: 2.25rem;
    fill: var(--dealer-primary, #155eef);
}

.dealer-trade-upload strong,
.dealer-trade-upload small {
    display: block;
}

.dealer-trade-upload strong {
    color: #182230;
}

.dealer-trade-upload small,
.dealer-trade-photo-status {
    color: #667085;
    font-size: .77rem;
}

.dealer-trade-upload > input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.dealer-trade-photo-status {
    margin-top: .65rem;
}

.dealer-trade-photo-status.is-error,
.dealer-trade-form-status.is-error {
    color: #b42318;
    font-weight: 700;
}

.dealer-trade-photo-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
    margin-top: .75rem;
}

.dealer-trade-photo-preview:empty {
    display: none;
}

.dealer-trade-photo-preview figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 1px solid #dce4ef;
    border-radius: .75rem;
    background: #e9eef5;
}

.dealer-trade-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dealer-trade-photo-preview figcaption {
    position: absolute;
    inset: auto 0 0;
    overflow: hidden;
    padding: .35rem .45rem;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-trade-captcha {
    display: grid;
    gap: .7rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #dce4ef;
    border-radius: .9rem;
    background: #f8fafc;
}

.dealer-trade-captcha .public-captcha-visual {
    display: flex;
    gap: .65rem;
    align-items: center;
    flex-wrap: wrap;
}

.dealer-trade-captcha .public-captcha-image {
    display: block;
    width: 230px;
    max-width: 100%;
    height: 72px;
    border: 1px solid #cdd8e6;
    border-radius: .75rem;
    object-fit: cover;
}

.dealer-trade-captcha .public-captcha-refresh {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    place-items: center;
    border: 1px solid #cdd8e6;
    border-radius: .75rem;
    background: #fff;
    color: var(--dealer-primary, #155eef);
}

.dealer-trade-captcha .public-captcha-refresh svg {
    width: 1.3rem;
    fill: currentColor;
}

.dealer-trade-captcha .public-captcha-answer {
    max-width: 230px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 800;
}

.dealer-trade-captcha .public-captcha-help {
    color: #667085;
    font-size: .76rem;
}

.dealer-trade-consents {
    display: grid;
    gap: .55rem;
    margin-top: 1.15rem;
}

.dealer-trade-consents .form-check-label {
    color: #475467;
    font-size: .84rem;
}

.dealer-trade-submit {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 1.4rem;
}

.dealer-trade-submit p {
    max-width: 35rem;
    margin: 0;
    color: #667085;
    font-size: .75rem;
    line-height: 1.5;
}

.dealer-trade-submit .btn {
    flex: 0 0 auto;
    min-width: 13rem;
}

.dealer-trade-form-status {
    min-height: 1.2rem;
    margin-top: .65rem;
    font-size: .8rem;
}

.dealer-trade-unavailable {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #f0d69b;
    border-radius: .9rem;
    background: #fff9e8;
    color: #704b00;
}

.dealer-trade-unavailable p {
    margin-top: .2rem;
}

@media (max-width: 991.98px) {
    .dealer-trade-layout {
        grid-template-columns: 1fr;
    }

    .dealer-trade-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .dealer-trade-page {
        padding-top: 1.5rem !important;
    }

    .dealer-trade-form-card,
    .dealer-trade-intro {
        padding: 1rem;
        border-radius: 1rem;
    }

    .dealer-trade-form-heading,
    .dealer-trade-submit {
        display: grid;
    }

    .dealer-trade-time {
        justify-self: start;
    }

    .dealer-trade-grid-2 {
        grid-template-columns: 1fr;
    }

    .dealer-trade-field-wide,
    .dealer-trade-or {
        grid-column: auto;
    }

    .dealer-trade-upload > label {
        grid-template-columns: 2.4rem 1fr;
    }

    .dealer-trade-upload > label .btn {
        grid-column: 1 / -1;
    }

    .dealer-trade-photo-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-trade-captcha .public-captcha-answer,
    .dealer-trade-submit .btn {
        width: 100%;
        max-width: none;
    }
}

.dealer-mini-calculator {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 1rem;
}

.dealer-mini-calculator .form-label {
    margin-bottom: .25rem;
    color: var(--pas-muted);
    font-weight: 700;
}

.dealer-home-search {
    margin-top: -2.25rem;
    position: relative;
    z-index: 2;
}

.dealer-home-search-tabs {
    display: none;
}

.dealer-home-search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.dealer-body-style-section {
    background: #ffffff;
}

.dealer-body-style-view-all {
    color: var(--dealer-primary);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.dealer-body-style-view-all:hover {
    color: #111827;
}

.dealer-body-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
}

.dealer-body-style-card {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    padding: 1rem;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dealer-body-style-card:hover {
    border-color: color-mix(in srgb, var(--dealer-primary) 38%, var(--pas-line));
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    color: #111827;
    transform: translateY(-1px);
}

.dealer-body-style-image-wrap {
    display: grid;
    min-height: 82px;
    place-items: center;
    margin-bottom: .75rem;
}

.dealer-body-style-image-wrap img {
    display: block;
    width: 100%;
    height: 84px;
    object-fit: contain;
}

.dealer-body-style-label {
    display: block;
    font-weight: 800;
    line-height: 1.2;
}

.dealer-body-style-count {
    display: block;
    margin-top: .2rem;
    color: var(--pas-muted);
    font-size: .88rem;
    font-weight: 600;
}

.dealer-search-mode {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin: 0;
}

.dealer-search-mode legend {
    width: auto;
    margin: 0 .35rem 0 0;
    color: var(--pas-muted);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dealer-search-mode .btn {
    min-width: 6rem;
}

.dealer-inventory-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.dealer-home-story-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--pas-line);
    background: #e8edf5;
}

.dealer-home-story-placeholder {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.dealer-story-vehicle-rotator {
    position: relative;
    display: block;
    overflow: hidden;
}

.dealer-story-vehicle-slides,
.dealer-story-vehicle-slide {
    position: absolute;
    inset: 0;
}

.dealer-story-vehicle-slide {
    z-index: 0;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    text-decoration: none;
    transition: opacity .45s ease;
}

.dealer-story-vehicle-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.dealer-story-vehicle-slide::after {
    position: absolute;
    inset: 35% 0 0;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(4, 10, 24, .9));
}

.dealer-story-vehicle-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dealer-story-vehicle-meta {
    position: absolute;
    z-index: 2;
    right: 3.5rem;
    bottom: 1rem;
    left: 1rem;
    display: grid;
    gap: .15rem;
    line-height: 1.25;
}

.dealer-story-vehicle-meta strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-story-vehicle-kicker {
    color: color-mix(in srgb, var(--dealer-accent, var(--dealer-primary)) 72%, #fff);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dealer-story-vehicle-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #fff;
    background: rgba(4, 10, 24, .58);
    font-size: 1.6rem;
    line-height: 1;
    transform: translateY(-50%);
}

.dealer-story-vehicle-control:hover,
.dealer-story-vehicle-control:focus-visible {
    border-color: #fff;
    background: var(--dealer-primary);
}

.dealer-story-vehicle-control.is-previous {
    left: .75rem;
}

.dealer-story-vehicle-control.is-next {
    right: .75rem;
}

.dealer-story-vehicle-dots {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 1.1rem;
    display: flex;
    gap: .32rem;
}

.dealer-story-vehicle-dots button {
    width: .55rem;
    height: .55rem;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 0;
    background: transparent;
}

.dealer-story-vehicle-dots button.is-active {
    background: var(--dealer-primary);
}

.dealer-public .dealer-home-story-image.dealer-stock-story-image {
    overflow: hidden;
    border-radius: 18px !important;
}

.homepage-article-list {
    display: grid;
    gap: 18px;
}

.homepage-article-editor {
    overflow: hidden;
    border: 1px solid #d5dfec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .07);
}

.homepage-article-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #e3eaf3;
    background: linear-gradient(135deg, #f8fbff, #fff);
}

.homepage-article-editor-head strong,
.homepage-article-kicker {
    display: block;
}

.homepage-article-kicker {
    margin-bottom: 2px;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.homepage-article-remove {
    border: 0;
    padding: 6px 9px;
    color: #b42318;
    background: transparent;
    font-size: .75rem;
    font-weight: 800;
}

.homepage-article-remove:hover,
.homepage-article-remove:focus-visible {
    border-radius: 7px;
    background: #fff0ee;
}

.homepage-article-editor-grid {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.55fr);
    gap: 20px;
    padding: 18px;
}

.homepage-article-image-preview {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #d9e3ef;
    border-radius: 14px;
    color: #718096;
    background: #eef3f8;
    font-size: .78rem;
    font-weight: 700;
}

.homepage-article-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-article-image-preview.is-fresh-arrivals {
    border-color: #93b7e8;
    color: #174ea6;
    background: #edf5ff;
}

.homepage-article-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    padding: 10px 12px;
    border: 1px dashed #b9c9dd;
    border-radius: 10px;
    cursor: pointer;
    color: #174ea6;
    background: #f6f9fd;
    font-size: .75rem;
    font-weight: 800;
}

.homepage-article-upload small {
    color: #73839a;
    font-weight: 600;
}

.homepage-stock-image-picker {
    margin-top: 10px;
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    background: #fff;
}

.homepage-stock-image-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 10px 12px;
    color: #253754;
    font-size: .76rem;
    font-weight: 800;
}

.homepage-stock-image-picker summary span {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #eaf1fb;
}

.homepage-stock-image-grid {
    display: grid;
    max-height: 310px;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0 10px 10px;
}

.homepage-stock-image-option {
    display: grid;
    min-width: 0;
    overflow: hidden;
    gap: 6px;
    border: 1px solid #d6e0ec;
    border-radius: 11px;
    padding: 6px;
    color: #273a59;
    background: #fff;
    text-align: left;
}

.homepage-stock-image-option img,
.homepage-stock-image-auto {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    object-fit: cover;
    border-radius: 8px;
    background: #edf2f7;
}

.homepage-stock-image-option strong {
    overflow: hidden;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homepage-stock-image-option.is-selected {
    border-color: #1264d8;
    box-shadow: 0 0 0 2px rgba(18, 100, 216, .14);
}

.homepage-stock-image-picker > p {
    margin: 0;
    padding: 0 11px 11px;
    color: #718096;
    font-size: .65rem;
}

.homepage-article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.homepage-article-actions span {
    color: #64748b;
    font-size: .75rem;
    font-weight: 700;
}

.structured-json-editor {
    display: grid;
    gap: .75rem;
}

.structured-json-rows {
    display: grid;
    gap: .75rem;
}

.structured-json-row {
    position: relative;
    display: flex;
    gap: .75rem;
    align-items: flex-end;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    padding: .85rem;
    background: #fff;
}

.structured-json-remove {
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    padding: .48rem .6rem;
    color: #b42318;
    background: #fff0ee;
    font-size: .75rem;
    font-weight: 800;
}

.structured-json-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
}

.structured-json-actions span {
    color: #64748b;
    font-size: .75rem;
}

.weekly-hours-grid,
.department-hours-editor {
    display: grid;
    gap: .65rem;
}

.feed-settings-editor {
    display: grid;
    gap: 1rem;
}

.feed-settings-group {
    padding: 1rem;
    border: 1px solid var(--bs-border-color, #d9dee7);
    background: var(--bs-body-bg, #fff);
}

.feed-settings-group[hidden] {
    display: none;
}

.weekly-hours-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr) 90px;
    gap: .75rem;
    align-items: end;
    border-bottom: 1px solid #e3eaf3;
    padding: .65rem 0;
}

.weekly-hours-row > strong {
    align-self: center;
}

.weekly-hours-row label span,
.department-hours-grid label span {
    display: block;
    margin-bottom: .25rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
}

.weekly-hours-row .form-check {
    align-self: center;
    margin: 0;
}

.department-hours-group {
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    background: #fff;
}

.department-hours-group summary {
    cursor: pointer;
    padding: .75rem .85rem;
    font-weight: 750;
}

.department-hours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    padding: 0 .85rem .85rem;
}

@media (max-width: 767.98px) {
    .structured-json-row {
        align-items: stretch;
        flex-direction: column;
    }

    .structured-json-remove {
        align-self: flex-start;
    }

    .weekly-hours-row,
    .department-hours-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .homepage-article-editor-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .homepage-stock-image-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dealer-social-band {
    background: #ffffff;
    border-top: 1px solid var(--pas-line);
    border-bottom: 1px solid var(--pas-line);
}

.dealer-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}

.dealer-social-grid a {
    display: flex;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1rem;
    color: var(--pas-text);
    text-decoration: none;
    background: #f8fafc;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dealer-social-grid a:hover {
    border-color: color-mix(in srgb, var(--dealer-primary) 45%, var(--pas-line));
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.dealer-social-grid span {
    color: var(--pas-muted);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dealer-social-grid strong {
    margin-top: .25rem;
}

.dealer-page-header {
    background: #ffffff;
    border-bottom: 1px solid var(--pas-line);
}

.dealer-band {
    background: #ffffff;
    border-top: 1px solid var(--pas-line);
    border-bottom: 1px solid var(--pas-line);
}

.dealer-vehicle-card {
    overflow: hidden;
}

.dealer-vehicle-card a {
    color: inherit;
    text-decoration: none;
}

.dealer-vehicle-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #e8edf5;
    color: var(--pas-muted);
}

.dealer-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Public inventory list redesign */

.dealer-inventory-page {
    padding: 1.25rem 0 2.5rem;
    background: #f7f9fc;
}

.inventory-search-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1.5rem;
    align-items: stretch;
}

.inventory-search-main,
.inventory-promo-panel,
.inventory-filter-rail,
.inventory-list-card {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.inventory-search-main {
    padding: 1rem 1.1rem;
}

.inventory-search-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #e4eaf3;
    margin: -.15rem 0 .9rem;
}

.inventory-search-tabs a {
    position: relative;
    padding: .45rem 0 .7rem;
    color: #56657b;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}

.inventory-search-tabs a.is-active {
    color: var(--dealer-primary);
}

.inventory-search-tabs a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--dealer-primary);
}

.inventory-search-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 120px;
    gap: .4rem;
}

.inventory-search-row .form-select,
.inventory-search-row .form-control,
.inventory-filter-rail .form-control,
.inventory-sort-tools .form-select {
    min-height: 44px;
    border-color: #ced8e6;
    color: #283954;
    font-size: .9rem;
}

.inventory-keyword {
    position: relative;
}

.inventory-keyword span {
    position: absolute;
    top: 50%;
    left: .9rem;
    transform: translateY(-50%);
    color: #687891;
    font-size: 1.05rem;
    line-height: 1;
}

.inventory-keyword .form-control {
    padding-left: 2.45rem;
    padding-right: 2.5rem;
}

.inventory-keyword-clear {
    position: absolute;
    top: 50%;
    right: .75rem;
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #edf2f8;
    color: #526176;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.inventory-keyword-clear:hover {
    background: var(--dealer-primary);
    color: #ffffff;
}

.inventory-quick-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-bottom: .85rem;
}

.inventory-quick-strip > span,
.inventory-active-label {
    color: #5b6779;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.inventory-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
    margin-top: 1rem;
}

.inventory-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: .55rem;
    border: 1px solid #9bbcff;
    border-radius: 4px;
    padding: 0 .85rem;
    color: var(--dealer-primary);
    background: #f7faff;
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none;
}

.inventory-chip.is-clear,
.inventory-chip.is-quick {
    border-color: #d8e1ee;
    background: #fbfcff;
}

.inventory-quick-strip .inventory-chip.is-quick {
    border-color: #cfd8e6;
    background: transparent;
    color: #283954;
}

.inventory-quick-strip .inventory-chip.is-quick:hover {
    border-color: var(--dealer-primary);
    color: var(--dealer-primary);
}

.inventory-chip.is-selected-quick {
    border-color: var(--dealer-primary);
    background: color-mix(in srgb, var(--dealer-primary) 10%, #ffffff);
}

.inventory-chip-remove {
    display: inline-grid;
    width: 1rem;
    height: 1rem;
    place-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--dealer-primary) 12%, #ffffff);
    font-size: .75rem;
    line-height: 1;
}

.inventory-reset-link {
    color: var(--dealer-primary);
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none;
}

.inventory-promo-panel {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.inventory-promo-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #e8edf5, #f8fafc);
}

.inventory-promo-media img {
    width: 58%;
    max-width: 145px;
    height: 82px;
    margin-left: -1.6rem;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .18);
}

.inventory-promo-media img:first-child {
    margin-left: 0;
}

.inventory-promo-media span {
    color: #6b7890;
    font-weight: 800;
}

.inventory-promo-panel h2 {
    margin: 0 0 .4rem;
    color: #071427;
    font-size: 1.1rem;
    font-weight: 850;
}

.inventory-promo-panel p {
    margin: 0 0 .65rem;
    color: #526176;
    font-size: .9rem;
}

.inventory-promo-panel a {
    color: var(--dealer-primary);
    font-weight: 800;
    text-decoration: none;
}

.inventory-shop-layout {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: .35rem;
}

.inventory-filter-rail {
    overflow: hidden;
}

.inventory-filter-head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid #e6ebf2;
    padding: 1rem 1.1rem;
}

.inventory-filter-head h2 {
    margin: 0 0 .25rem;
    color: #071427;
    font-size: 1rem;
    font-weight: 850;
}

.inventory-filter-head span,
.inventory-filter-head a {
    color: #55667d;
    font-size: .82rem;
}

.inventory-filter-head a {
    color: var(--dealer-primary);
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.inventory-filter-section {
    display: grid;
    gap: .5rem;
    border-bottom: 1px solid #e6ebf2;
    padding: 1rem 1.1rem;
}

.inventory-filter-section h3 {
    margin: 0;
    color: #071427;
    font-size: .88rem;
    font-weight: 850;
}

.inventory-filter-section label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    margin: 0;
    color: #394960;
    font-size: .84rem;
    cursor: pointer;
}

.inventory-filter-section input[type="radio"],
.inventory-filter-section input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--dealer-primary);
}

.inventory-filter-section label span {
    flex: 1;
}

.inventory-filter-section label em {
    color: #5b6779;
    font-size: .76rem;
    font-style: normal;
    font-weight: 650;
}

.inventory-filter-options {
    display: grid;
    gap: .5rem;
    max-height: 196px;
    overflow-y: auto;
    padding-right: .25rem;
    scrollbar-width: thin;
}

.inventory-range-line {
    position: relative;
    height: 20px;
}

.inventory-range-line::before,
.inventory-range-line span {
    content: "";
    position: absolute;
    top: 9px;
    height: 4px;
    border-radius: 999px;
}

.inventory-range-line::before {
    right: 0;
    left: 0;
    background: #d9e2ef;
}

.inventory-range-line span {
    right: 8%;
    left: 8%;
    background: var(--dealer-primary);
}

.inventory-range-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.inventory-filter-rail > .btn {
    margin: 1rem;
    width: calc(100% - 2rem) !important;
}

.inventory-results-panel {
    min-width: 0;
}

.inventory-results-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.inventory-results-toolbar h1 {
    margin: 0;
    color: #071427;
    font-size: 1.08rem;
    font-weight: 850;
}

.inventory-sort-tools {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #56657b;
    font-size: .86rem;
}

.inventory-sort-tools .form-select {
    width: 190px;
}

.inventory-view-toggle {
    display: grid;
    width: 40px;
    height: 38px;
    place-items: center;
    border: 1px solid #d8e1ee;
    border-radius: 6px;
    color: #7a89a0;
    background: #ffffff;
    font-weight: 900;
}

.inventory-view-toggle.is-active {
    color: var(--dealer-primary);
    background: #eef5ff;
}

.inventory-list-results {
    display: grid;
    gap: .8rem;
}

.inventory-list-results.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.inventory-list-results.is-grid .inventory-list-card {
    grid-template-columns: 1fr;
    gap: .75rem;
}

.inventory-list-results.is-grid .inventory-list-actions {
    border-left: 0;
    padding-left: 0;
}

.inventory-list-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 210px;
    gap: 1.35rem;
    align-items: stretch;
    padding: .4rem;
}

.inventory-list-photo-wrap {
    position: relative;
    min-width: 0;
}

.inventory-list-photo {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 154px;
    overflow: hidden;
    place-items: center;
    border-radius: 6px;
    color: var(--pas-muted);
    background: #edf2f8;
    font-weight: 800;
    text-decoration: none;
}

.inventory-list-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inventory-list-photo em {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    border-radius: 4px;
    padding: .2rem .45rem;
    color: #ffffff;
    background: rgba(15, 23, 42, .82);
    font-size: .72rem;
    font-style: normal;
    font-weight: 750;
}

.inventory-video-badge {
    position: absolute;
    top: .55rem;
    left: .55rem;
}

.inventory-save-btn {
    position: absolute;
    top: .55rem;
    right: .55rem;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #dfe6ef;
    border-radius: 50%;
    color: #64748b;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
    font-size: 0;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.inventory-save-btn.active {
    border-color: #ef4444;
    background: #ffffff;
    color: #dc2626;
}

.inventory-save-btn:active {
    transform: scale(.94);
}

.inventory-list-body {
    display: grid;
    align-content: center;
    padding: 1rem 0;
    min-width: 0;
}

.inventory-list-body h2 {
    margin: 0 0 .35rem;
    color: #071427;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.18;
}

.inventory-list-body h2 a {
    color: inherit;
    text-decoration: none;
}

.inventory-list-body p {
    margin: 0 0 1.3rem;
    color: #56657b;
    font-size: .86rem;
}

.inventory-list-body p span {
    margin: 0 .6rem;
    color: #a5b0c0;
}

.inventory-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    gap: 1rem;
}

.inventory-spec-grid div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: .5rem;
    align-items: center;
}

.inventory-spec-grid i {
    display: grid;
    grid-row: span 2;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #b9c5d6;
    border-radius: 8px;
    color: #627189;
    font-size: .58rem;
    font-style: normal;
    font-weight: 900;
}

.inventory-spec-grid strong,
.inventory-spec-grid span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-spec-grid strong {
    color: #071427;
    font-size: .9rem;
    font-weight: 850;
}

.inventory-spec-grid span {
    color: #63738b;
    font-size: .78rem;
}

.inventory-list-actions {
    display: grid;
    align-content: center;
    gap: .75rem;
    border-left: 1px solid #e5ebf3;
    padding: 1rem .9rem 1rem 1.2rem;
}

.inventory-list-actions strong {
    color: #071427;
    font-size: 1.35rem;
    font-weight: 900;
}

.inventory-list-actions .btn {
    width: 100%;
    border-radius: 6px;
    font-weight: 800;
}

.inventory-list-actions > a:not(.btn) {
    color: var(--dealer-primary);
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1500px) {
    .inventory-shop-layout {
        grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    }

    .inventory-list-card {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
        gap: 1rem;
    }

    .inventory-list-body {
        padding: .85rem .5rem .85rem 0;
    }

    .inventory-list-body h2 {
        font-size: 1.15rem;
    }

    .inventory-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .inventory-list-actions {
        grid-column: 1 / -1;
        grid-template-columns: minmax(140px, .7fr) repeat(2, minmax(150px, 1fr)) minmax(130px, .8fr);
        align-items: center;
        border-top: 1px solid #e5ebf3;
        border-left: 0;
        padding: .9rem;
    }

    .inventory-list-actions strong {
        font-size: 1.15rem;
    }
}

@media (max-width: 1200px) {
    .inventory-search-dock,
    .inventory-shop-layout {
        grid-template-columns: 1fr;
    }

    .inventory-promo-panel {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .inventory-list-card {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .inventory-list-actions {
        grid-column: 1 / -1;
        grid-template-columns: minmax(130px, .7fr) repeat(2, minmax(150px, 1fr)) minmax(130px, .8fr);
        align-items: center;
        border-top: 1px solid #e5ebf3;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .inventory-search-row,
    .inventory-list-card,
    .inventory-list-actions,
    .inventory-promo-panel,
    .inventory-spec-grid {
        grid-template-columns: 1fr;
    }

    .inventory-results-toolbar,
    .inventory-sort-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .inventory-sort-tools .form-select {
        width: 100%;
    }

    .inventory-view-toggle {
        width: 100%;
    }

    .inventory-list-body {
        padding: 0;
    }

    .inventory-list-actions {
        align-items: stretch;
        padding: .9rem 0 0;
    }

    .inventory-list-actions strong {
        font-size: 1.2rem;
    }

    .inventory-search-tabs {
        gap: .9rem;
        overflow-x: auto;
    }
}

.inventory-list-results.is-grid .inventory-list-card {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    padding: .55rem;
}

.inventory-list-results.is-grid .inventory-list-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.inventory-list-results.is-grid .inventory-list-body {
    align-content: start;
    padding: 1rem .15rem .75rem;
}

.inventory-list-results.is-grid .inventory-list-body h2 {
    font-size: 1.05rem;
}

.inventory-list-results.is-grid .inventory-list-body p {
    margin-bottom: .9rem;
}

.inventory-list-results.is-grid .inventory-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.inventory-list-results.is-grid .inventory-list-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-top: 0;
    border-left: 0;
    padding: .25rem .15rem .2rem;
}

.inventory-list-results.is-grid .inventory-list-actions strong {
    font-size: 1.15rem;
}

.dealer-badge-strip {
    position: absolute;
    left: .65rem;
    top: .65rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    align-items: center;
}

.dealer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 6px;
    padding: .2rem .5rem;
    color: #ffffff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .22);
}

.dealer-badge-special {
    background: #b42318;
}

.dealer-badge-featured {
    background: var(--dealer-primary);
}

.dealer-badge-certified {
    background: var(--dealer-secondary);
}

.dealer-badge-video {
    background: #0f172a;
}

.dealer-card-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.dealer-card-specs div {
    min-width: 0;
    border: 1px solid #edf1f7;
    border-radius: 6px;
    padding: .5rem;
    background: #f8fafc;
}

.dealer-card-specs span {
    display: block;
    color: var(--pas-muted);
    font-size: .72rem;
}

.dealer-card-specs strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .84rem;
}

.dealer-card-merch {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.dealer-card-merch span,
.dealer-card-merch a {
    border: 1px solid var(--pas-line);
    border-radius: 6px;
    padding: .25rem .45rem;
    background: #ffffff;
    color: var(--pas-muted);
    font-size: .78rem;
    font-weight: 700;
}

.dealer-card-merch a.dealer-trust-link {
    border-color: color-mix(in srgb, var(--dealer-secondary) 35%, var(--pas-line));
    background: color-mix(in srgb, var(--dealer-secondary) 7%, #ffffff);
    color: color-mix(in srgb, var(--dealer-secondary) 35%, #0f172a);
}

.dealer-price,
.dealer-vdp-price {
    color: var(--dealer-primary);
    font-weight: 800;
    white-space: nowrap;
}

.dealer-vdp-price {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.dealer-cta-tile {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: flex-end;
    gap: .5rem;
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dealer-primary), #111827);
}

.dealer-cta-tile span {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .82;
}

.dealer-cta-tile strong {
    font-size: 1.15rem;
    line-height: 1.25;
}

.dealer-cta-tile small {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
}

.dealer-empty {
    border: 1px dashed #b8c4d6;
    border-radius: 8px;
    background: #ffffff;
    color: var(--pas-muted);
    padding: 2rem;
    text-align: center;
}

.dealer-gallery {
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--pas-line);
}

.dealer-gallery-main,
.dealer-gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e8edf5;
}

.dealer-gallery-placeholder {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
}

.dealer-gallery-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 120px;
    gap: .5rem;
    overflow-x: auto;
    padding: .75rem;
}

.dealer-gallery-strip img {
    width: 120px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--pas-line);
}

.dealer-spec-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dealer-spec-grid div {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: .85rem;
    background: #f8fafc;
}

.dealer-spec-grid span {
    display: block;
    color: var(--pas-muted);
    font-size: .78rem;
    margin-bottom: .2rem;
}

.dealer-vdp-page {
    --dealer-vdp-accent: var(--dealer-accent, var(--dealer-primary));
    --dealer-vdp-ink: var(--dealer-template-ink, var(--pas-ink));
    --dealer-vdp-line: var(--summit-line, var(--dealer-template-border, var(--pas-line)));
    --dealer-vdp-muted-bg: var(--dealer-template-muted, #f8fafc);
    --dealer-vdp-surface: var(--dealer-template-surface, #ffffff);
    background: #ffffff;
    color: var(--dealer-vdp-ink);
    font-family: var(--dealer-font-family, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    padding: 1rem 0 2.25rem;
}

.dealer-vdp-page .btn,
.dealer-vdp-page button,
.dealer-vdp-page input,
.dealer-vdp-page select,
.dealer-vdp-page textarea {
    font-family: inherit;
}

.dealer-vdp-topbar {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dealer-vdp-topbar .breadcrumb-list {
    margin-bottom: 0;
}

.dealer-vdp-nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    white-space: nowrap;
}

.dealer-vdp-nav-links a {
    color: var(--dealer-vdp-ink);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.dealer-vdp-nav-links a:hover {
    color: var(--dealer-vdp-accent);
}

.dealer-vdp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr);
    gap: 1.75rem;
    align-items: start;
}

.dealer-vdp-gallery {
    min-width: 0;
}

.dealer-vdp-media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 10px;
    background: var(--dealer-vdp-muted-bg);
}

.dealer-vdp-media-frame img,
.dealer-vdp-panorama,
.dealer-vdp-photo-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.25;
    object-fit: contain;
}

.dealer-vdp-enlarge-trigger {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #ffffff;
    padding: 0;
    cursor: zoom-in;
}

.dealer-vdp-enlarge-trigger[hidden] {
    display: none !important;
}

.dealer-vdp-enlarge-trigger:focus-visible {
    outline: 3px solid var(--dealer-vdp-accent);
    outline-offset: -3px;
}

.dealer-vdp-enlarge-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(15, 23, 42, .86);
    color: #ffffff;
    padding: .45rem .75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .24);
    font-size: .78rem;
    font-weight: 850;
    line-height: 1;
    pointer-events: none;
    transition: background-color .18s ease, transform .18s ease;
}

.dealer-vdp-enlarge-trigger:hover .dealer-vdp-enlarge-hint,
.dealer-vdp-enlarge-trigger:focus-visible .dealer-vdp-enlarge-hint {
    background: rgba(15, 23, 42, .96);
    transform: translateY(-2px);
}

.dealer-vdp-media-frame [hidden] {
    display: none !important;
}

.dealer-vdp-panorama {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.dealer-vdp-panorama .pnlm-render-container,
.dealer-vdp-panorama canvas {
    width: 100% !important;
    height: 100% !important;
}

.dealer-vdp-panorama-hint,
.dealer-vdp-spin-hint {
    position: absolute;
    z-index: 4;
    right: 1rem;
    bottom: 1rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, .84);
    color: #ffffff;
    padding: .35rem .65rem;
    font-size: .78rem;
    font-weight: 800;
    pointer-events: none;
}

.dealer-vdp-spin {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.dealer-vdp-spin.is-dragging {
    cursor: grabbing;
}

.dealer-vdp-spin img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.25;
    object-fit: contain;
    pointer-events: none;
}

.dealer-vdp-photo-empty {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
    font-weight: 800;
}

.dealer-vdp-photo-count {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, .86);
    color: #ffffff;
    padding: .35rem .65rem;
    font-size: .9rem;
    font-weight: 800;
}

.dealer-vdp-gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
}

.dealer-vdp-gallery-arrow.is-prev {
    left: 1rem;
}

.dealer-vdp-gallery-arrow.is-next {
    right: 1rem;
}

body.vdp-lightbox-open {
    overflow: hidden;
}

.dealer-vdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: block;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    background: rgba(2, 6, 23, .96);
    color: #ffffff;
    padding: 0;
    backdrop-filter: blur(6px);
}

.dealer-vdp-lightbox[hidden] {
    display: none;
}

.dealer-vdp-lightbox-shell {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: clamp(.75rem, 2vw, 1.5rem);
}

.dealer-vdp-lightbox-toolbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    font-weight: 800;
}

.dealer-vdp-lightbox-close,
.dealer-vdp-lightbox-arrow {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    padding: 0;
    line-height: 1;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.dealer-vdp-lightbox-close {
    font-size: 2rem;
}

.dealer-vdp-lightbox-arrow {
    font-size: 2.4rem;
}

.dealer-vdp-lightbox-close:hover,
.dealer-vdp-lightbox-arrow:hover {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
    transform: scale(1.04);
}

.dealer-vdp-lightbox-close:focus-visible,
.dealer-vdp-lightbox-arrow:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.dealer-vdp-lightbox-stage {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: clamp(.5rem, 2vw, 1.5rem);
    touch-action: pan-y;
}

.dealer-vdp-lightbox-stage figure {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    grid-template-rows: minmax(0, 1fr) auto;
    place-items: center;
    gap: .65rem;
    margin: 0;
}

.dealer-vdp-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .38));
}

.dealer-vdp-lightbox-stage figcaption {
    overflow: hidden;
    max-width: min(80vw, 70ch);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-vdp-lightbox-help {
    margin: 0;
    padding-top: .65rem;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
    text-align: center;
}

.dealer-vdp-thumb-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .55rem;
    margin-top: .75rem;
}

.dealer-vdp-thumb-strip button {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 7px;
    background: var(--dealer-vdp-muted-bg);
    padding: 0;
}

.dealer-vdp-360-badge {
    position: absolute;
    right: .35rem;
    bottom: .35rem;
    border-radius: 5px;
    background: rgba(15, 23, 42, .9);
    color: #ffffff;
    padding: .18rem .4rem;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
}

.dealer-vdp-thumb-strip button.is-active {
    border-color: var(--dealer-vdp-accent);
    box-shadow: inset 0 0 0 1px var(--dealer-vdp-accent);
}

.dealer-vdp-video-thumb {
    display: grid;
    min-height: 74px;
    place-items: center;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 7px;
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}

.dealer-vdp-video-thumb strong {
    display: block;
    font-size: .9rem;
    line-height: 1;
}

.dealer-vdp-video-thumb span {
    display: block;
    font-size: .78rem;
    color: rgba(255, 255, 255, .78);
}

.dealer-vdp-video-panel {
    margin-top: .75rem;
    overflow: hidden;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 8px;
    background: #ffffff;
}

.dealer-vdp-video-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--dealer-vdp-line);
}

.dealer-vdp-video-head a {
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.dealer-vdp-video-panel iframe,
.dealer-vdp-video-fallback {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #0f172a;
}

.dealer-vdp-video-fallback {
    display: grid;
    place-items: center;
    padding: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.dealer-vdp-thumb-strip img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.dealer-vdp-more-photos {
    display: grid;
    min-height: 70px;
    place-items: center;
    color: var(--dealer-vdp-ink);
    font-weight: 800;
}

.dealer-vdp-more-photos strong,
.dealer-vdp-more-photos span {
    display: block;
    line-height: 1.1;
}

@media (max-width: 575.98px) {
    .media-type-picker {
        grid-template-columns: 1fr;
    }

    .dealer-vdp-panorama-hint,
    .dealer-vdp-spin-hint {
        right: .75rem;
        bottom: .75rem;
    }

    .dealer-vdp-enlarge-hint {
        right: .75rem;
        bottom: .75rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        padding: .5rem;
        font-size: 0;
    }

    .dealer-vdp-lightbox-shell {
        padding: .65rem;
    }

    .dealer-vdp-lightbox-stage {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-inline: 0;
    }

    .dealer-vdp-lightbox-stage figure {
        width: 100%;
        height: 100%;
    }

    .dealer-vdp-lightbox-stage figcaption {
        display: none;
    }

    .dealer-vdp-lightbox-arrow {
        position: absolute;
        z-index: 2;
        top: 50%;
        width: 44px;
        height: 44px;
        border-color: rgba(255, 255, 255, .42);
        background: rgba(2, 6, 23, .72);
        transform: translateY(-50%);
    }

    .dealer-vdp-lightbox-arrow:hover {
        transform: translateY(-50%);
    }

    .dealer-vdp-lightbox-arrow.is-prev {
        left: .25rem;
    }

    .dealer-vdp-lightbox-arrow.is-next {
        right: .25rem;
    }

    .dealer-vdp-lightbox-help {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dealer-vdp-enlarge-hint,
    .dealer-vdp-lightbox-close,
    .dealer-vdp-lightbox-arrow {
        transition: none;
    }
}

.dealer-vdp-more-photos span {
    color: #475569;
    font-size: .82rem;
}

.dealer-vdp-summary {
    min-width: 0;
    padding-top: .15rem;
}

.dealer-vdp-title-row {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.dealer-vdp-status {
    display: inline-block;
    margin-bottom: .55rem;
    border-radius: 6px;
    background: color-mix(in srgb, var(--dealer-vdp-accent) 14%, #ffffff);
    color: var(--dealer-vdp-accent);
    padding: .22rem .55rem;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.dealer-vdp-title-row h1 {
    margin: 0;
    color: var(--dealer-vdp-ink);
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 900;
    line-height: 1.05;
}

.dealer-vdp-meta {
    margin-top: .55rem;
    color: #64748b;
    font-weight: 700;
}

.dealer-vdp-meta span {
    margin: 0 .65rem;
    color: #59677d;
}

.dealer-vdp-save-icon {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 999px;
    background: var(--dealer-vdp-surface);
    color: var(--dealer-vdp-ink);
    padding: .65rem;
    font-weight: 800;
}

.dealer-vdp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}

.dealer-vdp-price-block {
    margin-top: 1rem;
}

.dealer-vdp-summary .dealer-vdp-price {
    color: var(--dealer-vdp-accent);
    font-size: clamp(1.9rem, 3.2vw, 2.35rem);
    font-weight: 900;
}

.dealer-vdp-price-block a,
.dealer-vdp-panel a,
.dealer-vdp-trust-strip a,
.dealer-vdp-history-links a {
    color: var(--dealer-vdp-accent);
    font-weight: 800;
    text-decoration: none;
}

.dealer-vdp-price-block a:hover,
.dealer-vdp-panel a:hover,
.dealer-vdp-trust-strip a:hover,
.dealer-vdp-history-links a:hover {
    text-decoration: underline;
}

.dealer-vdp-recall-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--dealer-text, #172033) 16%, transparent);
}

.dealer-vdp-recall-summary summary {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--dealer-vdp-ink);
    font-size: .9rem;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.dealer-vdp-recall-summary summary::-webkit-details-marker {
    display: none;
}

.dealer-vdp-recall-chevron {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    transition: transform .18s ease;
}

.dealer-vdp-recall-summary[open] .dealer-vdp-recall-chevron {
    transform: rotate(180deg);
}

.dealer-vdp-recall-body {
    padding-top: .65rem;
}

.dealer-vdp-recall-summary p,
.dealer-vdp-recall-summary small {
    display: block;
    margin: 0 0 .6rem;
}

.dealer-vdp-recall-summary a {
    font-weight: 700;
}

.dealer-vdp-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.15rem;
}

.dealer-vdp-primary-actions .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}

.dealer-vdp-secondary-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-top: .85rem;
}

.dealer-vdp-secondary-actions a,
.dealer-vdp-secondary-actions button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 7px;
    background: var(--dealer-vdp-surface);
    color: color-mix(in srgb, var(--dealer-vdp-ink) 82%, #64748b);
    padding: .4rem .45rem;
    font-size: clamp(.74rem, .68rem + .1vw, .8rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.dealer-vdp-secondary-actions svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dealer-vdp-secondary-actions a:hover,
.dealer-vdp-secondary-actions button:hover {
    border-color: color-mix(in srgb, var(--dealer-vdp-accent) 45%, var(--dealer-vdp-line));
    color: var(--dealer-vdp-accent);
}

.dealer-vdp-spec-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.1rem;
    border-top: 1px solid var(--dealer-vdp-line);
}

.dealer-vdp-spec-matrix div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .6rem;
    align-content: center;
    min-height: 54px;
    border-right: 1px solid var(--dealer-vdp-line);
    padding: .72rem .85rem .55rem 0;
}

.dealer-vdp-spec-matrix i {
    grid-row: 1 / span 2;
    align-self: center;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d4dce8;
    border-radius: 8px;
    color: #627189;
    font-style: normal;
}

.dealer-vdp-spec-matrix span,
.dealer-vdp-spec-matrix strong {
    grid-column: 2;
}

.dealer-vdp-spec-matrix div:nth-child(3n) {
    border-right: 0;
    padding-left: .95rem;
}

.dealer-vdp-spec-matrix div:nth-child(3n + 2) {
    padding-left: .95rem;
}

.dealer-vdp-spec-matrix span,
.dealer-vdp-spec-matrix small {
    display: block;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.dealer-vdp-spec-matrix strong {
    display: block;
    color: var(--dealer-vdp-ink);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
}

.dealer-vdp-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.dealer-vdp-panel {
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 10px;
    background: var(--dealer-vdp-surface);
    padding: 1.35rem;
}

.dealer-vdp-panel h2 {
    margin: 0 0 1rem;
    color: var(--dealer-vdp-ink);
    font-size: 1.1rem;
    font-weight: 900;
}

.dealer-vdp-panel p {
    color: color-mix(in srgb, var(--dealer-vdp-ink) 84%, #64748b);
    line-height: 1.65;
}

.dealer-vdp-highlights ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dealer-vdp-highlights li,
.dealer-vdp-history li {
    position: relative;
    color: color-mix(in srgb, var(--dealer-vdp-ink) 84%, #64748b);
    font-weight: 700;
    line-height: 1.35;
}

.dealer-vdp-highlights li {
    padding-left: 1.45rem;
}

.dealer-vdp-highlights li::before {
    position: absolute;
    top: .12rem;
    left: 0;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 999px;
    background: var(--dealer-vdp-accent);
    color: #ffffff;
    content: "\2713";
    font-size: .65rem;
    font-weight: 900;
}

.dealer-vdp-history ul {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dealer-vdp-history-links {
    display: grid;
    gap: .5rem;
    margin-top: 1.25rem;
}

.dealer-vdp-history-reports {
    display: grid;
    gap: .75rem;
    margin-top: 1.25rem;
}

.dealer-history-report-card {
    display: grid;
    gap: .35rem;
    border: 1px solid color-mix(in srgb, var(--dealer-vdp-accent) 22%, var(--dealer-vdp-line));
    border-radius: 8px;
    padding: .9rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--dealer-vdp-accent) 7%, #ffffff), #ffffff);
}

.dealer-history-report-card strong,
.dealer-history-report-card small,
.dealer-history-report-card span {
    display: block;
}

.dealer-history-report-card strong {
    color: var(--dealer-vdp-ink);
    font-size: .94rem;
    font-weight: 900;
}

.dealer-history-report-card small {
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.dealer-history-provider-mark {
    justify-self: start;
    border-radius: 6px;
    padding: .22rem .48rem;
    background: var(--dealer-vdp-ink);
    color: #ffffff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.dealer-history-report-card.is-carfax .dealer-history-provider-mark {
    background: #0b5cab;
}

.dealer-history-report-card.is-autocheck .dealer-history-provider-mark {
    background: #b42318;
}

.dealer-provider-embed-panel {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
}

.dealer-provider-embed-head {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .9rem;
}

.dealer-provider-embed-panel iframe {
    display: block;
    width: 100%;
    min-height: 620px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #f8fafc;
}

.dealer-vdp-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1rem;
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 8px;
    background: var(--dealer-vdp-surface);
}

.dealer-vdp-trust-strip div {
    min-height: 112px;
    border-right: 1px solid var(--dealer-vdp-line);
    padding: 1.35rem 1.5rem;
}

.dealer-vdp-trust-strip div:last-child {
    border-right: 0;
}

.dealer-vdp-trust-strip strong,
.dealer-vdp-trust-strip span,
.dealer-vdp-trust-strip a {
    display: block;
}

.dealer-vdp-trust-strip strong {
    color: var(--dealer-vdp-ink);
    font-weight: 900;
}

.dealer-vdp-trust-strip span {
    margin: .25rem 0 .55rem;
    color: #64748b;
    font-size: .92rem;
}

.dealer-vdp-leads {
    background: var(--dealer-vdp-muted-bg);
    border-top: 1px solid var(--dealer-vdp-line);
    padding: 2.5rem 0;
}

.dealer-vdp-lead-head {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.dealer-vdp-lead-head h2 {
    margin: 0 0 .35rem;
    color: var(--dealer-vdp-ink);
    font-weight: 900;
}

.dealer-vdp-lead-head p {
    max-width: 720px;
    margin: 0;
    color: #5b6779;
}

.dealer-page-header .text-secondary {
    color: #5b6779 !important;
}

.dealer-page-header nav a,
.dealer-content .text-secondary a {
    color: #0b57d0;
}

.dealer-content .text-secondary {
    color: #5b6779 !important;
}

.dealer-public .text-secondary {
    color: var(--pas-muted) !important;
}

.dealer-content .text-bg-white {
    color: #172033 !important;
}

.dealer-vdp-phone-actions {
    display: flex;
    gap: .5rem;
}

.dealer-vdp-lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dealer-vdp-deal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border: 1px solid color-mix(in srgb, var(--dealer-primary, #155eef) 28%, #d7e0ec);
    border-left: 4px solid var(--dealer-primary, #155eef);
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 5%, #fff);
}

.dealer-vdp-deal-cta strong,
.dealer-vdp-deal-cta span {
    display: block;
}

.dealer-vdp-deal-cta span {
    margin-top: 3px;
    color: #5d6878;
}

.dealer-deal-builder {
    padding: 30px 0 72px;
    background: #f5f7fa;
}

.dealer-deal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin: 18px 0 28px;
    padding: 22px;
    border: 1px solid #dce3ec;
    background: #fff;
}

.dealer-deal-vehicle {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.dealer-deal-vehicle img {
    width: 170px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef1f5;
}

.dealer-deal-vehicle h1 {
    margin: 4px 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.dealer-deal-vehicle p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    color: #5d6878;
}

.dealer-deal-payment {
    min-width: 220px;
    padding-left: 28px;
    border-left: 1px solid #dce3ec;
    text-align: right;
}

.dealer-deal-payment > span,
.dealer-deal-payment > small,
.dealer-deal-payment > strong {
    display: block;
}

.dealer-deal-payment strong {
    color: var(--dealer-primary, #155eef);
    font-size: 2rem;
    line-height: 1.1;
}

.dealer-deal-payment strong small {
    font-size: .9rem;
}

.dealer-deal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    align-items: start;
    gap: 24px;
}

.dealer-deal-form {
    display: grid;
    gap: 18px;
}

.dealer-deal-section,
.dealer-deal-summary {
    padding: 26px;
    border: 1px solid #dce3ec;
    background: #fff;
}

.dealer-deal-step {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.dealer-deal-step > span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--dealer-primary, #155eef);
    color: #fff;
    font-weight: 700;
}

.dealer-deal-step h2 {
    margin: 0;
    font-size: 1.2rem;
}

.dealer-deal-step p {
    margin: 4px 0 0;
    color: #667285;
}

.dealer-deal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.dealer-deal-addons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dealer-deal-addons label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px;
    border: 1px solid #dce3ec;
    cursor: pointer;
}

.dealer-deal-addons label:has(input:checked) {
    border-color: var(--dealer-primary, #155eef);
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 5%, #fff);
}

.dealer-deal-addons strong,
.dealer-deal-addons small {
    display: block;
}

.dealer-deal-addons small {
    margin-top: 2px;
    color: #667285;
}

.dealer-deal-consent {
    align-items: flex-start;
    gap: 9px;
    margin: 6px 0 20px;
    color: #5d6878;
    font-size: .88rem;
}

.dealer-deal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dealer-deal-summary {
    position: sticky;
    top: 18px;
}

.dealer-deal-summary h2 {
    margin: 0 0 18px;
    font-size: 1.25rem;
}

.dealer-deal-summary dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    margin: 0;
}

.dealer-deal-summary dt {
    color: #5d6878;
    font-weight: 500;
}

.dealer-deal-summary dd {
    margin: 0;
    text-align: right;
}

.dealer-deal-summary .dealer-deal-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #dce3ec;
    color: #182133;
    font-weight: 700;
}

.dealer-deal-summary-payment {
    margin-top: 20px;
    padding: 18px;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 8%, #fff);
}

.dealer-deal-summary-payment span,
.dealer-deal-summary-payment strong,
.dealer-deal-summary-payment small {
    display: block;
}

.dealer-deal-summary-payment strong {
    margin: 4px 0;
    color: var(--dealer-primary, #155eef);
    font-size: 2rem;
}

.dealer-deal-summary > p {
    margin: 18px 0 0;
    color: #667285;
    font-size: .78rem;
}

@media (max-width: 900px) {
    .dealer-deal-head,
    .dealer-deal-layout {
        grid-template-columns: 1fr;
    }

    .dealer-deal-payment {
        padding: 18px 0 0;
        border-top: 1px solid #dce3ec;
        border-left: 0;
        text-align: left;
    }

    .dealer-deal-summary {
        position: static;
        grid-row: 1;
    }
}

@media (max-width: 620px) {
    .dealer-vdp-deal-cta,
    .dealer-deal-vehicle {
        align-items: flex-start;
        flex-direction: column;
    }

    .dealer-vdp-deal-cta .btn,
    .dealer-deal-actions .btn {
        width: 100%;
    }

    .dealer-deal-vehicle img {
        width: 100%;
    }

    .dealer-deal-fields,
    .dealer-deal-addons {
        grid-template-columns: 1fr;
    }

    .dealer-deal-section,
    .dealer-deal-summary {
        padding: 20px;
    }
}

.dealer-vdp-lead-card {
    border: 1px solid var(--dealer-vdp-line);
    border-radius: 8px;
    background: var(--dealer-vdp-surface);
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-vdp-lead-card-primary:only-child {
    grid-column: 1 / -1;
}

@media (max-width: 1199.98px) {
    .dealer-vdp-hero {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
        gap: 1.5rem;
    }

    .dealer-vdp-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dealer-vdp-history {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .dealer-vdp-hero {
        grid-template-columns: 1fr;
    }

    .dealer-vdp-summary {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .dealer-vdp-page {
        padding-top: .75rem;
    }

    .dealer-vdp-topbar,
    .dealer-vdp-lead-head {
        align-items: stretch;
        flex-direction: column;
    }

    .dealer-vdp-nav-links {
        justify-content: space-between;
        white-space: normal;
    }

    .dealer-vdp-title-row {
        gap: .75rem;
    }

    .dealer-vdp-title-row > div {
        min-width: 0;
    }

    .dealer-vdp-title-row h1 {
        font-size: 1.75rem;
    }

    .dealer-vdp-primary-actions,
    .dealer-vdp-info-grid,
    .dealer-vdp-trust-strip,
    .dealer-vdp-lead-grid {
        grid-template-columns: 1fr;
    }

    .dealer-vdp-secondary-actions,
    .dealer-vdp-spec-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-vdp-spec-matrix div,
    .dealer-vdp-spec-matrix div:nth-child(3n),
    .dealer-vdp-spec-matrix div:nth-child(3n + 2) {
        border-bottom: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
        padding: .85rem .65rem;
    }

    .dealer-vdp-spec-matrix div:nth-child(2n) {
        border-right: 0;
    }

    .dealer-vdp-spec-matrix div:last-child {
        border-bottom: 0;
    }

    .dealer-vdp-highlights ul {
        grid-template-columns: 1fr;
    }

    .dealer-vdp-trust-strip div {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .dealer-vdp-trust-strip div:last-child {
        border-bottom: 0;
    }

    .dealer-provider-embed-head {
        flex-direction: column;
    }

    .dealer-provider-embed-panel iframe {
        min-height: 520px;
    }

    .dealer-vdp-thumb-strip {
        grid-auto-flow: column;
        grid-auto-columns: 104px;
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: .2rem;
    }
}

@media (max-width: 419.98px) {
    .dealer-vdp-secondary-actions,
    .dealer-vdp-spec-matrix {
        grid-template-columns: 1fr;
    }

    .dealer-vdp-secondary-actions a,
    .dealer-vdp-secondary-actions button {
        min-height: 46px;
    }

    .dealer-vdp-spec-matrix div,
    .dealer-vdp-spec-matrix div:nth-child(2n),
    .dealer-vdp-spec-matrix div:nth-child(3n),
    .dealer-vdp-spec-matrix div:nth-child(3n + 2) {
        border-right: 0;
        padding-inline: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dealer-vdp-recall-chevron {
        transition: none;
    }
}

.dealer-content {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.5rem;
    line-height: 1.7;
}

.dealer-content-card {
    overflow: hidden;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-content-card-media {
    display: grid;
    min-height: 180px;
    place-items: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--dealer-primary) 12%, #ffffff 88%), #eef3f8);
    color: var(--dealer-primary);
    font-weight: 800;
    text-decoration: none;
}

.dealer-content-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #e8edf5;
}

.dealer-content-card-media img {
    min-height: 180px;
}

.dealer-content-hero {
    width: 100%;
    max-height: 420px;
    border-radius: 8px;
    object-fit: cover;
}

.dealer-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.dealer-review-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-review-stars {
    color: #d97706;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.dealer-review-source {
    color: var(--pas-muted);
    font-size: .86rem;
    font-weight: 700;
    margin-top: .15rem;
    text-transform: uppercase;
}

.dealer-review-detail {
    border-bottom: 1px solid var(--pas-line);
    padding-bottom: 1rem;
}

.dealer-review-card blockquote {
    margin: .8rem 0 1rem;
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

.dealer-review-meta strong,
.dealer-review-meta span {
    display: block;
}

.dealer-review-meta span {
    color: var(--pas-muted);
    font-size: .9rem;
}

.dealer-review-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 1rem;
}

.dealer-review-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

@media (max-width: 767.98px) {
    .dealer-review-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

.dealer-lead-form .form-control,
.dealer-lead-form .form-select {
    background: #fbfdff;
}

.dealer-disclaimer {
    font-size: .9rem;
    color: var(--pas-muted);
}

.dealer-saved-count-badge {
    display: inline-grid;
    min-width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 999px;
    background: var(--pas-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 .35rem;
}

.dealer-saved-count-badge-mobile {
    position: absolute;
    top: .25rem;
    right: .3rem;
    min-width: 1.1rem;
    height: 1.1rem;
    font-size: .62rem;
}

.dealer-compare-table th {
    color: var(--pas-muted);
    font-size: .8rem;
    text-transform: uppercase;
}

.dealer-compare-vehicle {
    display: flex;
    gap: .85rem;
    align-items: center;
    min-width: 240px;
}

.dealer-compare-vehicle img,
.dealer-compare-photo-empty {
    width: 88px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--pas-line);
    border-radius: 6px;
    background: #eef2f7;
}

.dealer-compare-photo-empty {
    display: grid;
    place-items: center;
    color: var(--pas-muted);
    font-size: .75rem;
    text-align: center;
}

.dealer-contact-list {
    display: grid;
    gap: .75rem;
}

.dealer-contact-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--pas-line);
    padding-bottom: .65rem;
}

.dealer-contact-list span {
    color: var(--pas-muted);
}

.dealer-contact-list strong {
    text-align: right;
}

.dealer-contact-list a {
    color: inherit;
    text-decoration: none;
}

.dealer-contact-list a:hover {
    text-decoration: underline;
}

.dealer-department-contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dealer-department-contact-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.15rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-department-phone {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #edf1f7;
    padding-top: .85rem;
}

.dealer-department-phone span,
.dealer-department-hours dt {
    color: var(--pas-muted);
    font-weight: 600;
}

.dealer-department-phone a {
    color: inherit;
    font-weight: 800;
    text-align: right;
    text-decoration: none;
}

.dealer-department-phone a:hover {
    text-decoration: underline;
}

.dealer-department-hours {
    display: grid;
    gap: .35rem;
}

.dealer-department-hours div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-top: 1px solid #edf1f7;
    padding-top: .35rem;
}

.dealer-department-hours dd {
    margin: 0;
    text-align: right;
}

.dealer-location-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.15rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-location-address {
    color: #111827;
    font-weight: 600;
}

.dealer-location-contact {
    display: grid;
    gap: .5rem;
}

.dealer-location-contact div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-top: 1px solid #edf1f7;
    padding-top: .5rem;
}

.dealer-location-contact span {
    color: var(--pas-muted);
}

.dealer-location-contact a {
    color: inherit;
    font-weight: 700;
    text-align: right;
}

.dealer-map-embed {
    overflow: hidden;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #eef2f7;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.dealer-map-embed iframe {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 0;
}

.dealer-hours-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dealer-hours-card {
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
}

.dealer-hours-card dl div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid #edf1f7;
    padding: .4rem 0;
}

.dealer-hours-card dl div:last-child {
    border-bottom: 0;
}

.dealer-hours-card dt {
    color: var(--pas-muted);
    font-weight: 600;
}

.dealer-hours-card dd {
    margin: 0;
    text-align: right;
}

.dealer-footer {
    background: #ffffff;
    border-top: 1px solid var(--pas-line);
}

.dealer-footer .dealer-powered-by-link {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.dealer-mobile-actions {
    position: sticky;
    bottom: 0;
    z-index: 1020;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    background: #ffffff;
    border-top: 1px solid var(--pas-line);
    box-shadow: 0 -12px 24px rgba(15, 23, 42, .08);
}

.dealer-mobile-actions a {
    position: relative;
    padding: .75rem .4rem;
    text-align: center;
    color: var(--dealer-primary);
    font-size: .8rem;
    text-decoration: none;
    font-weight: 700;
}

.dealer-mobile-actions-global {
    position: fixed;
    right: 0;
    left: 0;
}

.dealer-mobile-actions-vdp {
    position: fixed;
    right: 0;
    left: 0;
}

.pas-vehicle-showcase-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pas-consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    max-width: min(640px, calc(100vw - 2rem));
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .18);
}

.pas-lead-widget {
    position: fixed;
    right: 1rem;
    z-index: 1060;
    display: flex;
    max-width: min(420px, calc(100vw - 2rem));
    gap: .85rem;
    align-items: center;
    border: 1px solid var(--pas-line);
    border-radius: 8px;
    padding: 1rem 1.25rem 1rem 1rem;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .2);
}

.pas-lead-widget strong {
    display: block;
    line-height: 1.2;
}

.pas-lead-widget p {
    margin: .25rem 0 0;
    color: var(--pas-muted);
    font-size: .92rem;
}

.pas-lead-widget-banner {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
    max-width: min(760px, calc(100vw - 2rem));
}

.pas-lead-widget-slide_in,
.pas-lead-widget-popup {
    bottom: 5rem;
}

.pas-lead-widget-popup {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
}

.pas-lead-widget-copy {
    min-width: 0;
    flex: 1;
}

.pas-lead-widget-close {
    position: absolute;
    top: .35rem;
    right: .45rem;
    border: 0;
    background: transparent;
    color: var(--pas-muted);
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .dealer-hero-slide {
        min-height: auto;
    }

    .dealer-hero-listing {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .dealer-hero-listing img,
    .dealer-hero-listing-placeholder {
        width: 74px;
    }

    .pas-consent-banner {
        left: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .pas-lead-widget {
        left: 1rem;
        right: 1rem;
        bottom: 4.75rem;
        transform: none;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        width: 100%;
    }

    .admin-shell {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .dealer-public.has-mobile-actions {
        padding-bottom: 0;
    }

    .dealer-mobile-actions {
        display: none;
    }
}

.dealer-public [data-save-vehicle].btn-outline-secondary.active,
.dealer-public .vehicle-save-heart-btn.active {
    border-color: var(--dealer-template-border, var(--pas-line)) !important;
    background: var(--dealer-template-muted, var(--pas-surface)) !important;
}

.vehicle-save-heart-btn {
    display: inline-grid;
    width: 34px;
    min-width: 34px;
    height: 32px;
    padding: 0 !important;
    place-items: center;
    color: var(--pas-muted) !important;
    font-size: 0;
    line-height: 1;
}

.vehicle-save-heart-icon {
    width: 19px;
    height: 19px;
    overflow: visible;
    pointer-events: none;
}

.vehicle-save-heart-icon path {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 18;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill .16s ease, stroke .16s ease;
}

.dealer-public .vehicle-save-heart-btn:hover,
.dealer-public .vehicle-save-heart-btn:focus-visible {
    border-color: var(--dealer-template-border, var(--pas-line)) !important;
    background: var(--dealer-template-muted, var(--pas-surface)) !important;
    color: #dc2626 !important;
}

.vehicle-save-heart-btn.active {
    color: #dc2626 !important;
}

.vehicle-save-heart-btn.active .vehicle-save-heart-icon path {
    fill: currentColor;
    stroke: currentColor;
}

@media print {
    @page {
        margin: .5in;
    }

    .dealer-topbar,
    .dealer-navbar,
    .dealer-footer,
    .dealer-mobile-actions,
    .dealer-lead-form,
    .dealer-mini-calculator,
    .dealer-lead-panel hr,
    .dealer-vdp-similar,
    .dealer-vdp-visit,
    .dealer-gallery-strip,
    .dealer-map-embed,
    .pas-consent-banner,
    .pas-lead-widget,
    .dealer-band,
    .dealer-cta-tile,
    .btn,
    [data-save-vehicle],
    [data-compare-vehicle],
    [data-share-vehicle],
    [data-print-page] {
        display: none !important;
    }

    .dealer-public {
        background: #ffffff;
        color: #000000;
        padding-bottom: 0;
        font-size: 11pt;
    }

    .dealer-detail-panel,
    .dealer-lead-panel,
    .dealer-gallery {
        box-shadow: none;
        border-color: #cccccc;
        break-inside: avoid;
    }

    .dealer-page-header {
        border-bottom: 1px solid #cccccc;
        background: #ffffff;
        padding-bottom: .25in !important;
    }

    .dealer-page-header .breadcrumb-list,
    .dealer-page-header nav {
        display: none !important;
    }

    .dealer-vdp-price {
        color: #000000;
        font-size: 20pt;
    }

    .dealer-gallery-main,
    .dealer-gallery-placeholder {
        max-height: 4.25in;
        object-fit: contain;
        background: #ffffff;
    }

    .dealer-detail-panel {
        margin-top: .2in !important;
        padding: .16in;
    }

    .dealer-lead-panel {
        margin-top: .2in;
    }

    .dealer-lead-panel > .d-flex,
    .dealer-lead-panel > .d-flex + .d-flex {
        display: block !important;
    }

    .dealer-spec-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: .08in;
    }

    .dealer-spec-grid div {
        border-color: #dddddd;
        padding: .08in;
    }

    a {
        color: #000000;
        text-decoration: none;
    }

    .dealer-disclaimer {
        border-color: #cccccc;
        color: #000000;
    }

    .sticky-lg-top {
        position: static !important;
    }
}

/* Dealer admin dashboard inspired by the provided ProAutoSites dashboard reference. */
.admin-body {
    --console-radius: 12px;
    --console-line: #e3e9f2;
    --console-shadow: 0 10px 30px rgba(17, 35, 68, .05);
    --console-blue: #2376ff;
    --console-blue-dark: #155cd7;
    --bs-link-color: #2376ff;
    --bs-link-color-rgb: 35, 118, 255;
    --bs-link-hover-color: #155cd7;
    --bs-link-hover-color-rgb: 21, 92, 215;
    background: #f3f6fb;
    color: #14213b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.admin-body .text-secondary,
.admin-body .form-text {
    color: #59677d !important;
}

.admin-body .btn-outline-secondary {
    border-color: #68768a;
    color: #4f5d72;
}

.admin-body .btn-outline-danger {
    border-color: #b42318;
    color: #b42318;
}

.admin-body .btn-outline-warning {
    border-color: #765500;
    color: #765500;
}

.admin-body code {
    color: #a51d58;
}

.admin-body h1 {
    color: #0b1730;
    font-weight: 800;
    letter-spacing: -.02em;
}

.admin-body h2,
.admin-body h3 {
    color: #14213b;
    font-weight: 700;
}

.admin-body .metric-card,
.admin-body .stat-card,
.admin-body .table-panel,
.admin-body .feature-card,
.admin-body .card {
    border-color: var(--console-line);
    border-radius: var(--console-radius);
    box-shadow: var(--console-shadow);
}

.admin-body .stat-card .stat-value {
    color: #0b1730;
}

.admin-body .table {
    --bs-table-hover-bg: #f6f9ff;
}

.admin-body .table thead th {
    padding-top: .65rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--console-line);
    background: #f8fafd;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-body .table td {
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.admin-body .form-label {
    color: #33415c;
    font-size: .875rem;
    font-weight: 600;
}

.admin-body .form-control,
.admin-body .form-select {
    min-height: 44px;
    border-color: #d7e0ec;
    border-radius: 8px;
}

.admin-body .form-control::placeholder,
.admin-body textarea.form-control::placeholder {
    color: var(--pas-placeholder);
    opacity: 1;
}

.admin-body .vehicle-catalog-selectors .form-select:has(> option[value=""]:checked) {
    color: var(--pas-placeholder);
}

.admin-body .vehicle-catalog-selectors .form-select option:not([value=""]) {
    color: #172033;
}

.admin-body .form-control-sm,
.admin-body .form-select-sm {
    min-height: 34px;
    border-radius: 7px;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
    border-color: #8eb8ff;
    box-shadow: 0 0 0 .25rem rgba(35, 118, 255, .12);
}

.admin-body .btn {
    border-radius: 8px;
    font-weight: 650;
}

.admin-body .btn-primary {
    --bs-btn-bg: var(--console-blue);
    --bs-btn-border-color: var(--console-blue);
    --bs-btn-hover-bg: var(--console-blue-dark);
    --bs-btn-hover-border-color: var(--console-blue-dark);
    --bs-btn-active-bg: var(--console-blue-dark);
    --bs-btn-active-border-color: var(--console-blue-dark);
}

.admin-body .btn-outline-primary {
    --bs-btn-color: var(--console-blue);
    --bs-btn-border-color: #bcd4ff;
    --bs-btn-hover-bg: var(--console-blue);
    --bs-btn-hover-border-color: var(--console-blue);
    --bs-btn-active-bg: var(--console-blue-dark);
    --bs-btn-active-border-color: var(--console-blue-dark);
}

.admin-body .alert {
    border: 0;
    border-radius: 10px;
}

.admin-body .badge {
    border-radius: 6px;
    padding: .42em .62em;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.admin-body .badge.text-bg-success {
    background-color: #e5f6ee !important;
    color: #14804a !important;
}

.admin-body .badge.text-bg-danger {
    background-color: #fdecec !important;
    color: #c22f2f !important;
}

.admin-body .badge.text-bg-warning {
    background-color: #fff3d6 !important;
    color: #976400 !important;
}

.admin-body .badge.text-bg-info {
    background-color: #e3f1fd !important;
    color: #0b6bcb !important;
}

.admin-body .badge.text-bg-primary {
    background-color: #e7efff !important;
    color: #155cd7 !important;
}

.admin-body .badge.text-bg-secondary,
.admin-body .badge.text-bg-light {
    background-color: #eef1f6 !important;
    color: #5b6b83 !important;
}

.admin-avatar {
    display: grid;
    flex: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #e7efff;
    color: #155cd7;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.admin-body .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(21, 50, 94, .18);
}

.admin-shell {
    background: #f3f6fb;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    flex: 0 0 var(--admin-sidebar-width);
    width: var(--admin-sidebar-width);
    min-width: var(--admin-sidebar-width);
    max-width: var(--admin-sidebar-width);
    height: 100vh;
    flex-direction: column;
    overflow-y: auto;
    background: linear-gradient(180deg, #07162e 0%, #061329 100%);
    color: #dbe4f0;
}

.admin-brand {
    display: flex;
    gap: .75rem;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin-bottom: 1.35rem;
    padding-bottom: 1.25rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.admin-brand:hover {
    color: #ffffff;
}

.admin-brand-logo {
    display: block;
    width: min(100%, 158px);
    height: auto;
    object-fit: contain;
}

.admin-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff5b3d, #ff785f);
    color: #ffffff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(255, 91, 61, .25);
}

.admin-brand strong,
.admin-brand small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-brand strong {
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-brand small {
    margin-top: .2rem;
    color: #9babc4;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-sidebar .nav-link {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: .65rem;
    min-height: 40px;
    border-radius: 8px;
    padding: .58rem .75rem;
    color: #aebbd0;
    font-size: .9rem;
    font-weight: 700;
}

.admin-sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
}

.admin-sidebar .nav-link.active {
    color: #ffffff;
    background: #2376ff;
    box-shadow: 0 8px 20px rgba(35, 118, 255, .35);
}

.admin-nav-icon {
    display: inline-flex;
    flex: none;
    width: 18px;
    height: 18px;
    opacity: .9;
}

.admin-nav-icon:empty {
    display: none;
}

.admin-nav-icon svg {
    width: 100%;
    height: 100%;
}

.admin-nav-group-label {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.admin-nav-group-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: .58rem .75rem;
    background: transparent;
    color: #aebbd0;
    font-size: .9rem;
    font-weight: 700;
    text-align: left;
}

.admin-nav-group-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .06);
}

.admin-nav-group-toggle:focus-visible {
    outline: 2px solid #8eb8ff;
    outline-offset: 2px;
}

.admin-nav-caret {
    flex: none;
    width: .5rem;
    height: .5rem;
    margin-right: .15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .18s ease;
}

.admin-nav-group-toggle.collapsed .admin-nav-caret {
    transform: rotate(-45deg);
}

.admin-nav-group {
    margin-left: 1.05rem;
    padding-left: .5rem;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.admin-nav-group .nav-link {
    min-height: 36px;
    margin-bottom: .15rem;
    padding: .48rem .7rem;
    font-size: .865rem;
}

.admin-sidebar-card {
    display: grid;
    gap: .65rem;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, .06);
}

.admin-sidebar-card strong {
    color: #ffffff;
}

.admin-sidebar-card span {
    color: #9babc4;
    font-size: .8rem;
    line-height: 1.45;
}

.admin-sidebar-card a {
    display: inline-flex;
    justify-content: center;
    border-radius: 8px;
    padding: .55rem .7rem;
    color: #07162e;
    background: #ffffff;
    font-size: .75rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-content {
    min-width: 0;
}

.admin-content > .navbar {
    min-height: 76px;
    border-color: #e6ebf2 !important;
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(12px);
}

.admin-mobile-menu {
    display: none;
    min-height: 38px;
    justify-content: center;
    min-width: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 0 .7rem;
    background: #ffffff;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
}

.admin-mobile-menu svg {
    width: 22px;
    height: 22px;
}

.admin-sidebar-overlay {
    display: none;
}

.dealer-dashboard {
    --dash-navy: #07162e;
    --dash-ink: #0d1b34;
    --dash-muted: #748197;
    --dash-line: #e5eaf1;
    --dash-bg: #f3f6fb;
    --dash-orange: #ff5b3d;
    --dash-green: #19a873;
    --dash-blue: #3979f6;
    --dash-purple: #7559e8;
    --dash-yellow: #f5a623;
    display: grid;
    gap: 1.15rem;
    color: var(--dash-ink);
}

.dealer-dashboard a {
    text-decoration: none;
}

.dashboard-simple {
    gap: 1rem;
}

.dealer-dashboard-hero {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .25rem;
}

.dashboard-simple-hero {
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    padding: 1.2rem;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 35, 68, .06);
}

.dashboard-eyebrow {
    margin: 0 0 .25rem;
    color: var(--dash-orange);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dealer-dashboard-hero h1 {
    margin: 0;
    color: #0b1730;
    font-size: clamp(1.55rem, 1.2rem + 1vw, 2.1rem);
    font-weight: 850;
    letter-spacing: 0;
}

.dealer-dashboard-hero p {
    margin: .35rem 0 0;
    color: var(--dash-muted);
    font-size: .9rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
    justify-content: flex-end;
}

.dashboard-search {
    display: flex;
    width: min(320px, 100%);
    min-height: 42px;
    align-items: center;
    gap: .55rem;
    border: 1px solid var(--dash-line);
    border-radius: 8px;
    padding: 0 .85rem;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(17, 35, 68, .04);
}

.dashboard-search span {
    color: #8c99ac;
    font-size: .74rem;
    font-weight: 800;
}

.dashboard-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--dash-ink);
    background: transparent;
}

.dashboard-primary-btn,
.dashboard-secondary-btn,
.dashboard-icon-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 900;
}

.dashboard-primary-btn {
    padding: 0 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dash-orange), #ff785f);
    box-shadow: 0 12px 24px rgba(255, 91, 61, .22);
    text-transform: uppercase;
}

.dashboard-secondary-btn,
.dashboard-icon-btn {
    border: 1px solid var(--dash-line);
    color: #334155;
    background: #ffffff;
}

.dashboard-secondary-btn {
    padding: 0 .9rem;
}

.dashboard-icon-btn {
    width: 42px;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-summary-card {
    display: grid;
    min-height: 142px;
    align-content: space-between;
    border: 1px solid var(--dash-line);
    border-radius: 8px;
    padding: 1rem;
    color: #0b1730;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 35, 68, .06);
}

.dashboard-summary-card span {
    color: #6b778b;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-summary-card strong {
    margin-top: .7rem;
    color: #07162e;
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1;
}

.dashboard-summary-card small {
    color: #748197;
    font-size: .82rem;
    font-weight: 700;
}

.dashboard-summary-card.is-primary {
    border-color: #ffd3c8;
    background: linear-gradient(135deg, #fff6f2, #ffffff 58%);
}

.dashboard-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .9fr);
    gap: 1rem;
}

.dashboard-attention-list {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.dashboard-attention-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: .8rem;
    align-items: center;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: .85rem;
    color: #1e2d44;
    background: #ffffff;
}

.dashboard-attention-item:hover,
.dashboard-work-card:hover,
.dashboard-summary-card:hover {
    border-color: #cfd8e6;
    box-shadow: 0 12px 26px rgba(17, 35, 68, .08);
    transform: translateY(-1px);
}

.dashboard-attention-item > strong {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    color: #07162e;
    background: #f1f5fb;
    font-size: 1.1rem;
    font-weight: 900;
}

.dashboard-attention-item span {
    min-width: 0;
}

.dashboard-attention-item b,
.dashboard-attention-item small {
    display: block;
}

.dashboard-attention-item b {
    color: #12213a;
    font-size: .92rem;
}

.dashboard-attention-item small {
    margin-top: .16rem;
    color: #738198;
    font-size: .8rem;
}

.dashboard-attention-item em {
    color: var(--dash-orange);
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-attention-item.is-urgent {
    border-color: #ffd3c8;
    background: #fff8f5;
}

.dashboard-attention-item.is-urgent > strong {
    color: #9a3412;
    background: #ffeadf;
}

.dashboard-attention-item.is-warning {
    border-color: #fde7ba;
    background: #fffaf0;
}

.dashboard-attention-item.is-warning > strong {
    color: #8a5700;
    background: #fff1c9;
}

.dashboard-caught-up {
    display: grid;
    gap: .2rem;
    border: 1px dashed #b8c8dc;
    border-radius: 8px;
    padding: 1.25rem;
    color: #536176;
    background: #f8fbff;
    text-align: center;
}

.dashboard-caught-up strong {
    color: #10203a;
}

.dashboard-work-grid {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.dashboard-work-card {
    display: grid;
    gap: .2rem;
    min-height: 74px;
    align-content: center;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: .85rem;
    color: #1e2d44;
    background: #ffffff;
}

.dashboard-work-card strong {
    color: #0c1b34;
    font-size: .92rem;
}

.dashboard-work-card span {
    color: #748197;
    font-size: .8rem;
}

.dashboard-work-card.is-primary {
    border-color: #ffd3c8;
    background: linear-gradient(135deg, #fff2ec, #ffffff);
}

.dashboard-alert-strip,
.dashboard-panel,
.dashboard-stat-card {
    border: 1px solid var(--dash-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 35, 68, .07);
}

.dashboard-alert-strip {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-color: #fed7aa;
    background: #fff7ed;
    color: #7c2d12;
}

.dashboard-alert-strip span {
    display: block;
    margin-top: .1rem;
    font-size: .84rem;
}

.dashboard-alert-strip a {
    color: #7c2d12;
    font-weight: 900;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-stat-card {
    position: relative;
    min-height: 132px;
    overflow: hidden;
    padding: 1rem;
    color: inherit;
}

.dashboard-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-stat-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 900;
}

.dashboard-stat-icon.is-orange {
    color: var(--dash-orange);
    background: #fff0ec;
}

.dashboard-stat-icon.is-blue {
    color: var(--dash-blue);
    background: #edf3ff;
}

.dashboard-stat-icon.is-green {
    color: var(--dash-green);
    background: #eaf8f2;
}

.dashboard-stat-icon.is-purple {
    color: var(--dash-purple);
    background: #f1edff;
}

.dashboard-stat-icon.is-yellow {
    color: var(--dash-yellow);
    background: #fff7e7;
}

.dashboard-trend {
    border-radius: 8px;
    padding: .28rem .48rem;
    color: var(--dash-green);
    background: #eaf8f2;
    font-size: .68rem;
    font-weight: 900;
}

.dashboard-stat-card strong {
    display: block;
    margin-top: .95rem;
    color: #0b1730;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
}

.dashboard-stat-card > span:last-of-type {
    display: block;
    margin-top: .4rem;
    color: var(--dash-muted);
    font-size: .78rem;
    font-weight: 800;
}

.dashboard-stat-card > i {
    position: absolute;
    right: .85rem;
    bottom: .8rem;
    width: 66px;
    height: 28px;
    border-bottom: 3px solid var(--dash-orange);
    border-radius: 50%;
    opacity: .28;
    transform: rotate(-8deg);
}

.dashboard-main-grid,
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, .85fr);
    gap: 1rem;
}

.dashboard-panel {
    min-width: 0;
    overflow: hidden;
}

.dashboard-panel-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #edf0f4;
    padding: .85rem 1rem;
}

.dashboard-panel-head.is-compact {
    min-height: 52px;
}

.dashboard-panel-head h2 {
    margin: 0;
    color: #0b1730;
    font-size: 1rem;
    font-weight: 850;
}

.dashboard-panel-head p {
    margin: .25rem 0 0;
    color: #8995a6;
    font-size: .78rem;
}

.dashboard-panel-head a {
    color: var(--dash-orange);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-segments span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    padding: 0 .75rem;
    background: #f0f3f8;
    color: #23324a;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-chart-summary {
    display: flex;
    gap: 2rem;
    padding: 1rem 1.2rem 0;
}

.dashboard-chart-summary strong {
    display: block;
    color: #0b1730;
    font-size: 1.45rem;
    font-weight: 900;
}

.dashboard-chart-summary span {
    color: var(--dash-muted);
    font-size: .74rem;
    font-weight: 800;
}

.dashboard-chart {
    display: grid;
    grid-template-columns: repeat(6, minmax(54px, 1fr));
    gap: 1rem;
    align-items: end;
    min-height: 225px;
    padding: 1.3rem 1.2rem 1rem;
}

.dashboard-chart-column {
    display: grid;
    gap: .6rem;
    text-align: center;
}

.dashboard-chart-bars {
    position: relative;
    display: flex;
    min-height: 170px;
    align-items: end;
    justify-content: center;
    border-bottom: 1px solid #e8ecf2;
}

.dashboard-revenue-bar {
    display: block;
    width: min(58px, 66%);
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #ff6f53, var(--dash-orange));
}

.dashboard-unit-marker {
    position: absolute;
    left: 50%;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 3px solid var(--dash-navy);
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, 50%);
}

.dashboard-chart-column small {
    color: #8b96a7;
    font-size: .72rem;
    font-weight: 800;
}

.dashboard-side-stack,
.dashboard-action-stack {
    display: grid;
    gap: 1rem;
}

.dashboard-pipeline {
    display: grid;
    gap: .85rem;
    padding: 1rem;
}

.dashboard-pipeline-row {
    display: grid;
    grid-template-columns: 96px 1fr 38px;
    gap: .75rem;
    align-items: center;
}

.dashboard-pipeline-row span,
.dashboard-pipeline-row strong {
    color: #4d5b70;
    font-size: .78rem;
    font-weight: 800;
}

.dashboard-pipeline-row div {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef1f5;
}

.dashboard-pipeline-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-orange), #ff785f);
}

.dashboard-inventory-health {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.dashboard-donut {
    display: grid;
    width: 126px;
    height: 126px;
    flex: none;
    place-content: center;
    border-radius: 50%;
    background: conic-gradient(var(--dash-orange) 0 var(--fresh), var(--dash-blue) var(--fresh) var(--mid), var(--dash-green) var(--mid) var(--late), #dfe4ec var(--late) 100%);
    text-align: center;
    box-shadow: inset 0 0 0 18px #ffffff;
}

.dashboard-donut strong,
.dashboard-donut span {
    display: block;
}

.dashboard-donut strong {
    color: #14223b;
    font-size: 1.35rem;
    font-weight: 900;
}

.dashboard-donut span {
    color: var(--dash-muted);
    font-size: .62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-health-list {
    display: grid;
    flex: 1;
    gap: .55rem;
}

.dashboard-health-list div {
    display: flex;
    gap: .45rem;
    align-items: center;
    color: #6f7c8f;
    font-size: .76rem;
    font-weight: 750;
}

.dashboard-health-list i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dashboard-health-list strong {
    margin-left: auto;
    color: #26354b;
}

.is-orange {
    background: var(--dash-orange);
}

.is-blue {
    background: var(--dash-blue);
}

.is-green {
    background: var(--dash-green);
}

.is-muted {
    background: #dfe4ec;
}

.dashboard-table-scroll {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.dashboard-simple-table {
    min-width: 680px;
}

.dashboard-table th {
    border-bottom: 1px solid #edf0f4;
    padding: .75rem .9rem;
    color: #95a0b0;
    background: #fafbfd;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

.dashboard-sort-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    text-transform: inherit;
}

.dashboard-sort-button:hover,
.dashboard-sort-button:focus-visible {
    color: #24344d;
}

.dashboard-sort-button span::before {
    content: "sort";
    color: #b6c0ce;
    font-size: .58rem;
}

th[aria-sort="ascending"] .dashboard-sort-button span::before {
    content: "asc";
    color: var(--dash-blue);
}

th[aria-sort="descending"] .dashboard-sort-button span::before {
    content: "desc";
    color: var(--dash-blue);
}

.dashboard-table td {
    border-bottom: 1px solid #edf0f4;
    padding: .75rem .9rem;
    color: #516075;
    font-size: .78rem;
    vertical-align: middle;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-table-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-top: 1px solid #edf0f4;
    padding: .75rem .9rem;
    color: #7c8797;
    background: #ffffff;
    font-size: .78rem;
}

.table-responsive + .dashboard-table-controls,
.table + .dashboard-table-controls {
    margin-top: -.25rem;
    border-right: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    border-left: 1px solid #edf0f4;
    border-radius: 0 0 10px 10px;
}

.card .table-responsive + .dashboard-table-controls,
.card .table + .dashboard-table-controls {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
}

.dashboard-table-pager {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.dashboard-table-pager button {
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    padding: .35rem .65rem;
    color: #253349;
    background: #ffffff;
    font-weight: 800;
}

.dashboard-table-pager button:disabled {
    opacity: .45;
}

.dashboard-person,
.dashboard-vehicle-cell {
    display: flex;
    gap: .65rem;
    align-items: center;
    color: inherit;
}

.dashboard-person > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: none;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--dash-blue);
    font-size: .72rem;
    font-weight: 900;
}

.dashboard-person strong,
.dashboard-vehicle-cell strong {
    display: block;
    color: #253349;
    font-weight: 850;
}

.dashboard-person small,
.dashboard-vehicle-cell small {
    display: block;
    margin-top: .12rem;
    color: #9aa4b2;
    font-size: .7rem;
}

.dashboard-vehicle-cell img,
.dashboard-vehicle-cell > span {
    display: block;
    width: 54px;
    aspect-ratio: 4 / 3;
    flex: none;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8eef7, #f8fafc);
}

.dashboard-status {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 8px;
    padding: .2rem .55rem;
    font-size: .66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-status.is-new {
    color: #3979f6;
    background: #edf3ff;
}

.dashboard-status.is-appointment,
.dashboard-status.is-success {
    color: #16895f;
    background: #eaf8f2;
}

.dashboard-status.is-working {
    color: #b9780e;
    background: #fff7e7;
}

.dashboard-status.is-warning {
    color: #e9583c;
    background: #fff0ec;
}

.dashboard-status.is-muted {
    color: #536176;
    background: #eef1f5;
}

.dashboard-task-list,
.dashboard-feed-list {
    display: grid;
    padding: .35rem 1rem 0;
}

.dashboard-task {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: .65rem;
    align-items: center;
    border-bottom: 1px solid #edf0f4;
    padding: .75rem 0;
    color: inherit;
}

.dashboard-task > span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    color: #59677d;
    background: #ffffff;
    font-size: .62rem;
    font-weight: 900;
}

.dashboard-task strong,
.dashboard-feed-list strong {
    display: block;
    color: #354359;
    font-size: .8rem;
    font-weight: 850;
}

.dashboard-task small,
.dashboard-feed-list small {
    display: block;
    margin-top: .15rem;
    color: #59677d;
    font-size: .7rem;
}

.dashboard-task em {
    border-radius: 8px;
    padding: .3rem .45rem;
    color: #526176;
    background: #f3f5f8;
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
}

.dashboard-quick-title {
    margin: .9rem 1rem .6rem;
    color: #7c899a;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    padding: 0 1rem 1rem;
}

.dashboard-quick-grid a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    padding: 0 .8rem;
    color: #354359;
    background: #fbfcfe;
    font-size: .78rem;
    font-weight: 850;
}

.dashboard-feed-list {
    gap: .7rem;
    padding-bottom: 1rem;
}

.dashboard-feed-list > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .25rem .7rem;
    align-items: center;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: .65rem;
}

.dashboard-feed-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dashboard-feed-list small {
    grid-column: 1 / -1;
}

.dashboard-empty {
    padding: 1.25rem !important;
    color: #5f6b7c !important;
    text-align: center;
}

@media (max-width: 1500px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        width: min(var(--admin-sidebar-width), calc(100vw - 2rem));
        min-width: 0;
        max-width: min(var(--admin-sidebar-width), calc(100vw - 2rem));
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 20px 0 55px rgba(4, 14, 32, .26);
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    .admin-sidebar-overlay.is-open {
        position: fixed;
        inset: 0;
        z-index: 1025;
        display: block;
        border: 0;
        background: rgba(3, 12, 27, .55);
    }

    .admin-mobile-menu {
        display: inline-flex;
        align-items: center;
    }

    .admin-content {
        width: 100%;
    }

    .dashboard-main-grid,
    .dashboard-bottom-grid,
    .dashboard-focus-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .dealer-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .template-upload-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-actions,
    .dashboard-search {
        width: 100%;
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-chart-summary {
        flex-wrap: wrap;
    }

    .dashboard-chart {
        overflow-x: auto;
        grid-template-columns: repeat(6, minmax(72px, 1fr));
    }

    .dashboard-inventory-health {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .dashboard-stat-grid,
    .dashboard-quick-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-simple-hero {
        padding: 1rem;
    }

    .dashboard-attention-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .dashboard-attention-item em {
        grid-column: 2;
    }

    .dealer-dashboard-hero h1 {
        font-size: 1.35rem;
    }

    .dashboard-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== Dashboard: sample-style stat cards, charts, and lists ===== */

.dash-stat-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.dash-stat-card {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 35, 68, .05);
    color: inherit;
    text-decoration: none;
}

.dash-stat-card:hover {
    border-color: #cbdcff;
    color: inherit;
}

.dash-stat-top {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #5f6d82;
    font-size: .85rem;
    font-weight: 650;
}

.dash-stat-ico {
    display: grid;
    flex: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
}

.dash-stat-ico svg {
    width: 20px;
    height: 20px;
}

.dash-stat-ico.is-blue { background: #e7efff; color: #155cd7; }
.dash-stat-ico.is-green { background: #e5f6ee; color: #14804a; }
.dash-stat-ico.is-orange { background: #fff3d6; color: #b26b00; }
.dash-stat-ico.is-purple { background: #efeafd; color: #6d4fd8; }

.dash-stat-card > strong {
    color: #0b1730;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.dash-delta {
    font-size: .78rem;
    font-weight: 650;
}

.dash-delta.up { color: #14804a; }
.dash-delta.down { color: #c22f2f; }
.dash-delta.flat { color: #59677d; }

.dash-charts-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.dash-donut-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.dash-donut-chart {
    position: relative;
    flex: none;
    width: 176px;
    height: 176px;
}

.dash-donut-chart canvas {
    cursor: crosshair;
}

.dash-donut-center {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .1rem;
    text-align: center;
    pointer-events: none;
}

.dash-donut-center strong {
    color: #0b1730;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.dash-donut-center small {
    color: #748197;
    font-size: .74rem;
}

.dash-chart-holder {
    position: relative;
    height: 230px;
    padding: .5rem .5rem 0;
}

.dash-donut {
    display: grid;
    flex: none;
    width: 168px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    cursor: crosshair;
    outline: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.dash-donut:hover,
.dash-donut:focus-visible {
    transform: scale(1.025);
    box-shadow: 0 0 0 4px rgba(9, 105, 246, .12);
}

.dash-donut-hole {
    display: grid;
    width: 62%;
    aspect-ratio: 1;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: #ffffff;
    text-align: center;
}

.dash-donut-hole strong {
    color: #0b1730;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.dash-donut-hole small {
    color: #748197;
    font-size: .74rem;
}

.dash-donut-legend {
    display: grid;
    flex: 1;
    min-width: 150px;
    gap: .55rem;
    align-content: center;
}

.dash-donut-legend > div {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .85rem;
    border-radius: 6px;
    outline: none;
    transition: background-color .16s ease, transform .16s ease;
}

.dash-donut-legend > div.is-active,
.dash-donut-legend > div:focus-visible {
    background: #f1f6ff;
    transform: translateX(2px);
}

.dash-donut-legend i {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-donut-legend span {
    color: #5f6d82;
}

.dash-donut-legend b {
    margin-left: auto;
    color: #0b1730;
    font-weight: 700;
    white-space: nowrap;
}

.dash-bars {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: .55rem;
    min-height: 190px;
    padding-top: .5rem;
}

.dash-bar {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: .3rem;
    border-radius: 6px;
    cursor: default;
    outline: none;
}

.dash-bar b {
    color: #0b1730;
    font-size: .78rem;
    font-weight: 700;
}

.dash-bar i {
    display: block;
    width: 100%;
    max-width: 36px;
    border-radius: 6px 6px 2px 2px;
    background: #2376ff;
    transform-origin: bottom;
    transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.dash-bar:hover i,
.dash-bar.is-active i,
.dash-bar:focus-visible i {
    background: #075dd8;
    transform: scaleX(1.12);
    box-shadow: 0 7px 16px rgba(9, 105, 246, .22);
}

.dash-bar span {
    max-width: 100%;
    overflow: hidden;
    color: #748197;
    font-size: .68rem;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

.dash-vehicle-list {
    display: grid;
    gap: .35rem;
}

.dash-vehicle-list > a {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: 10px;
    padding: .45rem .5rem;
    color: inherit;
    text-decoration: none;
}

.dash-vehicle-list > a:hover {
    background: #f4f8ff;
}

.dash-vehicle-list img,
.dash-vehicle-nophoto {
    flex: none;
    width: 62px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef2f8;
}

.dash-vehicle-nophoto {
    display: grid;
    place-items: center;
    color: #9aa9c0;
}

.dash-vehicle-nophoto svg {
    width: 22px;
    height: 22px;
}

.dash-vehicle-meta {
    display: grid;
    min-width: 0;
    gap: .1rem;
}

.dash-vehicle-meta strong {
    overflow: hidden;
    color: #0b1730;
    font-size: .88rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-vehicle-meta small {
    color: #748197;
    font-size: .74rem;
}

.dash-vehicle-list > a > b {
    margin-left: auto;
    color: #0b1730;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
}

.dash-quick-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 35, 68, .05);
    overflow: hidden;
}

.dash-quick-strip > a {
    display: grid;
    gap: .3rem;
    border-right: 1px solid #eef2f8;
    padding: 1rem 1.15rem;
    color: inherit;
    text-decoration: none;
}

.dash-quick-strip > a:hover {
    background: #f7faff;
}

.dash-quick-strip > a:last-child {
    border-right: 0;
}

.dash-quick-strip span {
    color: #5f6d82;
    font-size: .78rem;
    font-weight: 650;
}

.dash-quick-strip strong {
    color: #0b1730;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

@media (max-width: 767.98px) {
    .dash-donut,
    .dash-donut-chart {
        margin-inline: auto;
    }

    .dash-quick-strip > a {
        border-right: 0;
        border-bottom: 1px solid #eef2f8;
    }

    .dash-quick-strip > a:last-child {
        border-bottom: 0;
    }
}

/* ===== Inventory page ===== */

.inv-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.inv-chip-label {
    color: #5f6d82;
    font-size: .8rem;
    font-weight: 650;
}

.inv-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid #e3e9f2;
    border-radius: 999px;
    padding: .3rem .75rem;
    background: #ffffff;
    color: #33415c;
    font-size: .78rem;
    font-weight: 650;
    text-decoration: none;
}

.inv-chip:hover {
    border-color: #bcd4ff;
    color: #155cd7;
}

.inv-chip b {
    color: #c22f2f;
    font-weight: 800;
}

.inv-row-menu {
    min-width: 34px;
    font-size: 1rem;
    line-height: 1;
}

.admin-body .min-w-0 {
    min-width: 0;
}

.admin-body .vehicle-thumb {
    width: 76px;
    border-radius: 8px;
}

/* ===== Dealer control panel redesign ===== */

:root {
    --admin-sidebar-width: 260px;
}

.admin-body {
    background: #f6f8fb;
}

.admin-shell {
    background: #f6f8fb;
}

.admin-sidebar {
    padding: 1.65rem .85rem !important;
    background:
        linear-gradient(180deg, rgba(17, 84, 159, .2), transparent 18rem),
        linear-gradient(180deg, #07172b 0%, #05101f 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.admin-brand {
    display: grid;
    gap: .35rem;
    justify-items: center;
    margin-bottom: 1.6rem;
    padding: .25rem .25rem 1.35rem;
    text-align: center;
}

.admin-brand-logo {
    width: min(100%, 164px);
    max-height: 72px;
}

.admin-brand-mark {
    width: 92px;
    height: 34px;
    border-radius: 0;
    background:
        linear-gradient(180deg, transparent 0 13px, #1687ff 13px 16px, transparent 16px),
        linear-gradient(135deg, #1687ff, #0a5fd8);
    color: #ffffff;
    box-shadow: none;
    clip-path: polygon(8% 42%, 52% 0, 94% 38%, 86% 45%, 52% 14%, 16% 48%);
    font-size: 0;
}

.admin-brand strong {
    font-size: .98rem;
    letter-spacing: .02em;
    text-transform: none;
}

.admin-brand small {
    color: #8ea2bf;
    letter-spacing: .16em;
}

.admin-nav {
    gap: .22rem !important;
}

.admin-sidebar-search {
    position: sticky;
    top: -.25rem;
    z-index: 2;
    margin: -.3rem 0 .85rem;
    padding: .3rem 0 .15rem;
    background: #08182c;
}

.admin-sidebar-search-control {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .065);
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.admin-sidebar-search-control:focus-within {
    border-color: #5c9cff;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 3px rgba(47, 128, 255, .18);
}

.admin-sidebar-search-icon {
    display: inline-flex;
    flex: none;
    width: 17px;
    height: 17px;
    margin-left: .72rem;
    color: #8fa7c7;
}

.admin-sidebar-search-icon svg {
    width: 100%;
    height: 100%;
}

.admin-sidebar-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: .58rem 2rem .58rem .6rem;
    color: #f4f8ff;
    background: transparent;
    font: inherit;
    font-size: .86rem;
}

.admin-sidebar-search input::placeholder {
    color: #91a3bd;
}

.admin-sidebar-search input::-webkit-search-cancel-button {
    display: none;
}

.admin-sidebar-search button {
    position: absolute;
    right: .42rem;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    padding: 0;
    color: #b9c8da;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1;
}

.admin-sidebar-search button:hover,
.admin-sidebar-search button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, .1);
}

.admin-sidebar-search-status {
    margin: .55rem .25rem 0;
    color: #a9bad0;
    font-size: .78rem;
    line-height: 1.4;
}

.admin-nav-copy {
    display: grid;
    min-width: 0;
    gap: .14rem;
}

.admin-nav-search-subtitle {
    display: none;
    color: #91a5c0;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.35;
}

.admin-nav.is-searching .admin-nav-search-subtitle {
    display: block;
}

.admin-nav.is-searching .nav-link {
    align-items: flex-start;
    min-height: 0;
    padding-top: .65rem;
    padding-bottom: .65rem;
}

.admin-nav.is-searching .admin-nav-icon {
    margin-top: .12rem;
}

.admin-nav.is-searching .admin-nav-group {
    margin-top: .22rem;
    margin-bottom: .65rem;
}

.admin-nav.is-searching .admin-nav-group .nav-link {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.admin-nav.is-searching .nav-link:hover .admin-nav-search-subtitle,
.admin-nav.is-searching .nav-link.active .admin-nav-search-subtitle {
    color: #d6e2f2;
}

.admin-nav [hidden] {
    display: none !important;
}

.admin-sidebar .nav-link,
.admin-nav-group-toggle {
    min-height: 42px;
    border-radius: 8px;
    padding: .55rem .72rem;
    color: #d7e1ee;
    font-size: .9rem;
    font-weight: 600;
}

.admin-sidebar .nav-link:hover,
.admin-nav-group-toggle:hover {
    background: rgba(255, 255, 255, .08);
}

.admin-sidebar .nav-link.active {
    background: #0969f6;
    box-shadow: 0 8px 20px rgba(9, 105, 246, .35);
}

.admin-nav-group {
    margin: .2rem 0 .35rem 1.75rem;
    padding-left: .45rem;
}

.admin-nav-group .nav-link {
    min-height: 34px;
    color: #c3d0df;
    font-size: .84rem;
}

.admin-sidebar-card {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-color: #e3e8f0 !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 14px 34px rgba(15, 23, 42, .04);
    backdrop-filter: blur(12px);
}

.admin-topbar-left,
.admin-topbar-right {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .85rem;
}

.admin-topbar-left {
    flex: 1;
}

.admin-topbar-right {
    justify-content: flex-end;
}

.admin-global-search {
    display: flex;
    width: min(620px, 100%);
    min-height: 44px;
    align-items: center;
    gap: .55rem;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    padding: 0 .72rem;
    background: #ffffff;
}

.admin-global-search-icon {
    display: inline-flex;
    flex: none;
}

.admin-global-search svg {
    width: 18px;
    height: 18px;
    color: #8796ac;
}

.admin-global-search-scope {
    flex: 0 1 145px;
    max-width: 145px;
    min-height: 42px;
    border: 0;
    outline: 0;
    color: #26364e;
    background: #ffffff;
    font-size: .82rem;
    font-weight: 750;
}

.admin-global-search-scope:focus-visible {
    outline: 2px solid rgba(9, 105, 246, .3);
    outline-offset: 1px;
}

.admin-global-search-divider {
    flex: none;
    width: 1px;
    height: 24px;
    background: #dce4ef;
}

.admin-global-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #0f172a;
    background: transparent;
    font-size: .92rem;
}

.admin-topbar-add,
.dashboard-primary-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 0;
    border-radius: 8px;
    padding: 0 1rem;
    color: #ffffff !important;
    background: #0969f6;
    box-shadow: 0 10px 20px rgba(9, 105, 246, .22);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: none;
}

.admin-topbar-add svg {
    width: 17px;
    height: 17px;
}

.dashboard-primary-btn:hover,
.admin-topbar-add:hover {
    background: #075bd5;
}

.dashboard-secondary-btn,
.admin-public-link,
.admin-logout-btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    padding: 0 .85rem;
    color: #243247;
    background: #ffffff;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.dashboard-primary-btn.btn-sm,
.dashboard-secondary-btn.btn-sm {
    min-height: 32px;
    padding: 0 .65rem;
    font-size: .74rem;
}

.dashboard-primary-btn:disabled,
.dashboard-secondary-btn:disabled,
.dashboard-primary-btn.disabled,
.dashboard-secondary-btn.disabled {
    cursor: not-allowed;
    opacity: .55;
    box-shadow: none;
}

.admin-logout-btn {
    color: #b42318;
}

.admin-topbar-icon {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #0f1b33;
    text-decoration: none;
}

.admin-topbar-icon svg {
    width: 19px;
    height: 19px;
}

.admin-topbar-icon:hover {
    background: #f1f5fb;
}

.admin-topbar-icon:focus-visible {
    outline: 3px solid rgba(9, 105, 246, .28);
    outline-offset: 2px;
}

.admin-chat-shortcut.has-chat-request {
    color: #0969f6;
    background: #eef5ff;
    box-shadow: inset 0 0 0 1px #cfe0ff;
}

.admin-email-shortcut.has-new-email {
    color: #0969f6;
    background: #eef5ff;
    box-shadow: inset 0 0 0 1px #cfe0ff;
}

.admin-topbar-icon span {
    position: absolute;
    top: .05rem;
    right: .15rem;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: #ff3348;
    font-size: .62rem;
    font-weight: 900;
}

.admin-topbar-icon .admin-chat-presence-light {
    top: auto;
    right: .05rem;
    bottom: .05rem;
    display: block;
    width: 11px;
    min-width: 11px;
    height: 11px;
    border: 2px solid #ffffff;
    background: #8492a6;
    box-shadow: 0 0 0 1px rgba(15, 27, 51, .12);
    pointer-events: none;
}

.admin-topbar-icon .admin-chat-presence-light[data-status="online"] {
    background: #16a34a;
}

.admin-topbar-icon .admin-chat-presence-light[data-status="away"] {
    background: #f59e0b;
}

.admin-topbar-icon .admin-chat-presence-light[data-status="offline"] {
    background: #8492a6;
}

.admin-user-chip {
    display: flex;
    align-items: center;
    gap: .65rem;
    border-radius: 8px;
    padding: .3rem .45rem;
    text-decoration: none;
    transition: background-color .16s ease;
}

.admin-user-chip:hover,
.admin-user-chip:focus-visible {
    background: #f2f6fc;
}

.admin-user-chip:focus-visible {
    outline: 3px solid rgba(21, 92, 215, .22);
    outline-offset: 2px;
}

.admin-user-chip strong,
.admin-user-chip small {
    display: block;
    white-space: nowrap;
}

.profile-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
    gap: 1rem;
    align-items: start;
}

.profile-form-body {
    padding: 1rem;
}

.profile-account-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
}

.profile-account-summary > div {
    min-width: 0;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: .7rem .8rem;
    background: #f8fafc;
}

.profile-account-summary span,
.profile-account-summary strong {
    display: block;
}

.profile-account-summary span {
    margin-bottom: .15rem;
    color: #67758a;
    font-size: .74rem;
}

.profile-account-summary strong {
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: .88rem;
}

@media (max-width: 991.98px) {
    .profile-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .profile-account-summary {
        grid-template-columns: 1fr;
    }
}

.admin-user-chip strong {
    color: #0f172a;
    font-size: .86rem;
    font-weight: 800;
}

.admin-user-chip small {
    color: #67758a;
    font-size: .72rem;
}

.admin-content > main {
    padding: 1.55rem 1.65rem !important;
}

.admin-page {
    display: grid;
    gap: 1.05rem;
}

.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-page-head h1 {
    margin: 0;
    color: #071427;
    font-size: 1.48rem;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-top: .35rem;
    color: #6e7c91;
    font-size: .8rem;
}

.admin-breadcrumbs a {
    color: #526176;
    text-decoration: none;
}

.admin-breadcrumbs span::before {
    content: "/";
    margin-right: .45rem;
    color: #a8b3c2;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

.dashboard-panel,
.table-panel,
.dash-stat-card,
.dashboard-alert-strip {
    border-color: #e3e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .05);
}

.dash-stat-card {
    min-height: 116px;
    justify-content: center;
}

.dash-stat-ico {
    width: 46px;
    height: 46px;
    color: #ffffff !important;
}

.dash-stat-ico.is-blue { background: #0969f6; }
.dash-stat-ico.is-green { background: #18a96f; }
.dash-stat-ico.is-orange { background: #f4aa0b; }
.dash-stat-ico.is-purple { background: #7057e8; }
.dash-stat-ico.is-teal { background: #12b8a6; }

.dash-stat-card > strong {
    font-size: 1.58rem;
}

.dashboard-panel-head h2 {
    font-size: .95rem;
}

.dashboard-panel-head a {
    color: #0969f6;
    text-transform: none;
}

.dashboard-table th {
    color: #68778d;
    background: #f8fafd;
    font-size: .72rem;
    letter-spacing: 0;
    text-transform: none;
}

.dashboard-table td {
    color: #27364c;
    font-size: .8rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid #dfe6ef;
}

.admin-tabs a {
    position: relative;
    padding: .55rem 0 .8rem;
    color: #0f1b33;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-tabs a.is-active {
    color: #0969f6;
}

.admin-tabs a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #0969f6;
}

.reports-filter-bar,
.inventory-filter-panel {
    padding: 1rem;
}

.reports-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .04);
}

.reports-filter-bar .form-control {
    width: min(260px, 100%);
}

.reports-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 330px;
    gap: 1rem;
    align-items: start;
}

.reports-category-page-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.reports-category-page-layout > .reports-categories {
    position: sticky;
    top: 1rem;
}

.reports-category-page-content {
    min-width: 0;
}

.reports-main {
    display: grid;
    gap: 1rem;
}

.reports-categories nav {
    display: grid;
    gap: .25rem;
    padding: .75rem;
}

.reports-categories a {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 38px;
    border-radius: 8px;
    padding: 0 .65rem;
    color: #243247;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.reports-categories a.is-active,
.reports-categories a:hover {
    color: #0969f6;
    background: #eef5ff;
}

.reports-categories a:hover {
    transform: translateX(2px);
}

.reports-categories a.is-active {
    box-shadow: inset 3px 0 0 #0969f6;
}

.reports-categories svg {
    width: 16px;
    height: 16px;
}

.reports-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    padding: 1rem;
}

.report-run-card {
    display: grid;
    gap: .55rem;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: 1rem;
    color: #18263b;
    text-decoration: none;
}

.report-run-card:hover {
    border-color: #c6d9ff;
    box-shadow: 0 10px 22px rgba(9, 105, 246, .08);
}

.report-run-card .dash-stat-ico {
    width: 38px;
    height: 38px;
}

.report-run-card strong {
    margin-top: .2rem;
    font-size: .88rem;
}

.report-run-card small {
    min-height: 40px;
    color: #718096;
    font-size: .74rem;
    line-height: 1.45;
}

.report-run-card em {
    justify-self: start;
    border: 1px solid #dce6f5;
    border-radius: 7px;
    padding: .35rem .7rem;
    color: #0969f6;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}

.report-format {
    font-weight: 800;
}

.report-format.is-pdf {
    color: #e5485d;
}

.report-format.is-excel {
    color: #1a9f61;
}

.report-action {
    color: #0969f6;
    font-weight: 800;
    text-decoration: none;
}

.reports-schedule-list {
    display: grid;
}

.reports-schedule-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
    padding: 1rem;
}

.reports-schedule-item > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    color: #607086;
    background: #f3f6fa;
}

.reports-schedule-item svg {
    width: 15px;
    height: 15px;
}

.reports-schedule-item strong,
.reports-schedule-item small {
    display: block;
}

.reports-schedule-item strong {
    color: #18263b;
    font-size: .84rem;
}

.reports-schedule-item small {
    color: #708096;
    font-size: .74rem;
}

.reports-schedule-item i {
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: #c9d3e2;
}

.reports-schedule-item i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform .18s ease;
}

.reports-schedule-item i.is-on {
    background: #0969f6;
}

.reports-schedule-item i.is-on::after {
    transform: translateX(16px);
}

.reports-schedule-new {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    border: 1px solid #dce6f5;
    border-radius: 8px;
    color: #0969f6;
    font-weight: 800;
    text-decoration: none;
}

.inventory-plan-panel {
    padding: 1rem;
}

.inventory-filter-panel .admin-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

@media (min-width: 1100px) {
    .inventory-filter-panel .admin-form-grid {
        grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(150px, 1fr));
    }
}

.inventory-filter-panel .form-label {
    color: #617089;
    font-size: .72rem;
    font-weight: 800;
}

.inventory-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #edf1f6;
    padding: 1rem;
}

.inventory-table-toolbar strong,
.inventory-table-toolbar span {
    display: block;
}

.inventory-table-toolbar span {
    margin-top: .1rem;
    color: #708096;
    font-size: .78rem;
}

.inventory-table-panel {
    min-width: 0;
    overflow: hidden;
}

.inventory-table-panel .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.inventory-bulk-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.admin-inventory-table {
    width: 100%;
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .admin-inventory-table {
        table-layout: fixed;
    }

    .admin-inventory-table th,
    .admin-inventory-table td {
        overflow-wrap: anywhere;
    }
}

.admin-inventory-table th {
    color: #68778d;
    background: #f8fafd;
    font-size: .74rem;
    font-weight: 800;
}

.admin-inventory-table td {
    color: #27364c;
    font-size: .84rem;
}

.admin-inventory-table .badge {
    border-radius: 7px;
    padding: .35rem .55rem;
}

.admin-body .badge.text-bg-success {
    background-color: #dff8ee !important;
    color: #0b8b58 !important;
}

.admin-body .badge.text-bg-warning {
    background-color: #fff3d6 !important;
    color: #b36b00 !important;
}

@media (max-width: 1280px) {
    .reports-layout,
    .reports-category-page-layout {
        grid-template-columns: 1fr;
    }

    .reports-category-page-layout > .reports-categories {
        position: static;
    }

    .reports-layout > .reports-categories nav,
    .reports-category-page-layout > .reports-categories nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .reports-layout > .reports-categories a,
    .reports-category-page-layout > .reports-categories a {
        flex: 0 0 auto;
        padding-inline: .8rem;
    }

    .reports-layout > .reports-categories a:hover,
    .reports-category-page-layout > .reports-categories a:hover {
        transform: none;
    }

    .reports-layout > .reports-categories a.is-active,
    .reports-category-page-layout > .reports-categories a.is-active {
        box-shadow: inset 0 -3px 0 #0969f6;
    }

    .reports-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
        padding-block: .85rem;
    }

    .admin-topbar-left,
    .admin-topbar-right {
        width: 100%;
    }

    .admin-topbar-right {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .admin-global-search {
        gap: .4rem;
        padding: 0 .55rem;
    }

    .admin-global-search-scope {
        flex-basis: 112px;
        max-width: 112px;
        font-size: .76rem;
    }

    .admin-global-search-icon {
        display: none;
    }

    .admin-topbar-icon {
        width: 44px;
        height: 44px;
    }

    .admin-user-chip div,
    .admin-public-link,
    .admin-logout-btn {
        display: none;
    }

    .reports-card-grid {
        grid-template-columns: 1fr;
    }

    .inventory-filter-panel .admin-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Dealer dashboard analytics layout ===== */

.dashboard-page-head p {
    margin: .28rem 0 0;
    color: #66758c;
    font-size: .9rem;
}

.dashboard-analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 34%);
    gap: 1rem;
    align-items: start;
}

.dashboard-analytics-main,
.dashboard-side-rail {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.dashboard-chart-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-chart-pair .dashboard-panel,
.dashboard-metric-panels .dashboard-panel,
.dashboard-side-rail .dashboard-panel {
    min-height: 260px;
}

.dashboard-chart-pair .dash-donut-wrap,
.dashboard-chart-pair .dash-bars {
    padding: 1rem;
}

.dashboard-chart-pair .dash-donut-legend > div {
    min-width: 0;
}

.dashboard-metric-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-value-body,
.dashboard-sales-body {
    display: grid;
    gap: .65rem;
    padding: 1rem;
}

.dashboard-value-body > strong {
    color: #071427;
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1;
}

.dashboard-canvas-chart {
    position: relative;
    grid-column: 1 / -1;
    height: 190px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.dashboard-canvas-chart canvas {
    display: block;
    border-radius: 8px;
    cursor: crosshair;
    outline: none;
}

.dashboard-canvas-chart canvas:focus-visible {
    box-shadow: inset 0 0 0 2px #0969f6;
}

.dashboard-chart-tooltip {
    position: absolute;
    z-index: 4;
    width: max-content;
    min-width: 132px;
    max-width: min(230px, calc(100% - 16px));
    padding: .58rem .65rem;
    border: 1px solid #d9e2ee;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .15);
    color: #0b1730;
    font-size: .72rem;
    line-height: 1.25;
    pointer-events: none;
    transform: translate(-50%, -100%);
}

.dashboard-chart-tooltip[hidden] {
    display: none;
}

.dashboard-chart-tooltip > strong {
    display: block;
    margin-bottom: .38rem;
    font-size: .74rem;
    font-weight: 800;
}

.dashboard-chart-tooltip > div {
    display: grid;
    gap: .28rem;
}

.dashboard-chart-tooltip span {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: .35rem;
}

.dashboard-chart-tooltip span > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.dashboard-chart-tooltip span > b {
    overflow: hidden;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-chart-tooltip span > em {
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-chart-legend {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: .15rem;
}

.dashboard-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #66758c;
    font-size: .72rem;
    font-weight: 750;
}

.dashboard-chart-legend i {
    display: block;
    width: 18px;
    height: 4px;
    border-radius: 999px;
}

.dashboard-sales-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-sales-body span {
    color: #66758c;
    font-size: .78rem;
    font-weight: 750;
}

.dashboard-sales-body strong {
    display: block;
    margin-top: .2rem;
    color: #071427;
    font-size: 1.35rem;
    font-weight: 850;
}

.dashboard-side-rail .dash-vehicle-list {
    padding: .45rem .75rem .75rem;
}

.dashboard-activity-list {
    display: grid;
    padding: .5rem 1rem 1rem;
}

.dashboard-activity-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
    padding: .8rem .4rem;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: background-color .16s ease;
}

.dashboard-activity-item:hover {
    background: #f5f8fc;
    color: inherit;
}

.dashboard-activity-item:last-child {
    border-bottom: 0;
}

.dashboard-activity-item > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
}

.dashboard-activity-item svg {
    width: 15px;
    height: 15px;
}

.dashboard-activity-item.is-blue > span { background: #0969f6; }
.dashboard-activity-item.is-green > span { background: #14804a; }
.dashboard-activity-item.is-orange > span { background: #a86000; }
.dashboard-activity-item.is-purple > span { background: #7057e8; }
.dashboard-activity-item.is-slate > span { background: #64748b; }

.dashboard-activity-item strong,
.dashboard-activity-item small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-activity-item strong {
    color: #17243a;
    font-size: .82rem;
}

.dashboard-activity-item small,
.dashboard-activity-item em {
    color: #627188;
    font-size: .72rem;
}

.dashboard-activity-item em {
    font-style: normal;
    white-space: nowrap;
}

.dashboard-quick-overview {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-quick-overview::before {
    content: "Quick Overview";
    grid-column: 1 / -1;
    padding: .9rem 1rem 0;
    color: #071427;
    font-size: .95rem;
    font-weight: 850;
}

@media (max-width: 1380px) {
    .dashboard-analytics-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-side-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .dashboard-chart-pair,
    .dashboard-metric-panels,
    .dashboard-side-rail {
        grid-template-columns: 1fr;
    }

    .dashboard-quick-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dashboard-sales-body,
    .dashboard-quick-overview {
        grid-template-columns: 1fr;
    }

    .dashboard-chart-pair .dash-donut-wrap,
    .dashboard-chart-pair .dash-bars {
        padding: .9rem;
    }

    .dashboard-activity-item {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .dashboard-activity-item em {
        grid-column: 2;
    }
}

/* ===== Dealer user access redesign ===== */

.user-access-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.user-access-stats .dash-stat-ico {
    font-size: .72rem;
    font-weight: 900;
}

.user-access-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1rem;
    align-items: start;
}

.user-create-panel form,
.user-account-card {
    min-width: 0;
}

.user-form-section {
    padding: 1rem;
}

.user-permission-section {
    border-top: 1px solid #edf1f6;
    padding: 1rem;
}

.user-permission-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.user-permission-heading strong,
.user-permission-heading span {
    display: block;
}

.user-permission-heading strong {
    color: #17243a;
    font-size: .9rem;
}

.user-permission-heading span {
    margin-top: .12rem;
    color: #708096;
    font-size: .76rem;
}

.user-permission-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 1rem;
}

.user-permission-columns h3 {
    margin: 0 0 .55rem;
    color: #41506a;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.user-permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .65rem;
}

.user-permission-choice {
    min-height: 84px;
    border-color: #e2e8f0;
    border-radius: 8px;
    padding: .75rem;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.user-permission-choice:hover {
    border-color: #bfd4ff;
    box-shadow: 0 8px 18px rgba(9, 105, 246, .07);
}

.user-permission-choice:has(.form-check-input:checked) {
    border-color: #abc8ff;
    background: #f7fbff;
}

.user-permission-choice strong {
    color: #17243a;
    font-size: .84rem;
}

.user-permission-choice small {
    color: #708096;
    font-size: .74rem;
}

.user-permission-choice.is-admin-only {
    border-color: #f1d59a;
    background: #fffaf0;
}

.user-permission-choice.is-admin-only:has(.form-check-input:checked) {
    border-color: #e9b949;
    background: #fff8e6;
}

.user-permission-choice.is-disabled {
    opacity: .52;
    box-shadow: none;
}

.user-form-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #edf1f6;
    padding: 1rem;
}

.user-access-rules {
    position: sticky;
    top: 92px;
}

.user-rule-list {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.user-rule-list div {
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: .85rem;
    background: #f8fafd;
}

.user-rule-list strong,
.user-rule-list span {
    display: block;
}

.user-rule-list strong {
    color: #17243a;
    font-size: .86rem;
}

.user-rule-list span {
    margin-top: .18rem;
    color: #708096;
    font-size: .76rem;
    line-height: 1.45;
}

.user-list-panel {
    display: grid;
    gap: 1rem;
}

.user-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
    gap: 1rem;
}

.user-account-card {
    overflow: hidden;
}

.user-account-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
    padding: 1rem;
}

.user-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #0969f6;
    background: #eaf2ff;
    font-weight: 900;
}

.user-account-head h3 {
    margin: 0;
    color: #17243a;
    font-size: .98rem;
    font-weight: 850;
}

.user-account-head span {
    display: block;
    overflow: hidden;
    color: #708096;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 0 .65rem;
    font-size: .72rem;
    font-style: normal;
    font-weight: 850;
}

.user-role-pill.is-dealer_manager {
    color: #0b8b58;
    background: #e5f6ee;
}

.user-role-pill.is-salesperson {
    color: #0969f6;
    background: #eaf2ff;
}

.user-edit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem;
}

/* ===== CRM workflow redesign ===== */

.crm-workflow-page .admin-page-head p {
    margin: .28rem 0 0;
    color: #66758c;
    font-size: .9rem;
}

.crm-kpi-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.crm-kpi-card {
    border-radius: 8px;
    min-height: 118px;
}

.crm-kpi-card > strong {
    letter-spacing: 0;
}

.crm-kpi-card small {
    color: #728199;
    font-size: .76rem;
    font-weight: 650;
}

.crm-kpi-card .dash-stat-ico {
    color: #ffffff;
    font-size: .72rem;
    font-weight: 900;
}

.crm-filter-panel {
    padding: 1rem;
}

.crm-filter-panel.is-embedded {
    border-top: 1px solid #edf1f6;
    border-radius: 0;
    box-shadow: none;
}

.crm-filter-panel .form-label {
    color: #617089;
    font-size: .72rem;
    font-weight: 800;
}

.crm-inline-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.crm-inline-filter .form-control,
.crm-inline-filter .form-select {
    max-width: 360px;
}

.crm-source-panel .dashboard-panel-head {
    border-bottom: 1px solid #edf1f6;
}

.crm-workflow-table th {
    color: #68778d;
    background: #f8fafd;
    font-size: .74rem;
    font-weight: 800;
}

.crm-workflow-table td {
    color: #27364c;
    font-size: .84rem;
}

.crm-workflow-table .badge {
    border-radius: 7px;
    padding: .34rem .55rem;
    font-weight: 850;
}

.pipeline-action-strip {
    padding: 1rem;
}

.pipeline-action-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid #dce6f5;
    border-radius: 8px;
    padding: 0 .75rem;
    color: #27364c;
    background: #ffffff;
    text-decoration: none;
}

.pipeline-action-link.is-danger {
    border-color: #ffd1d7;
    color: #c7364a;
    background: #fff7f8;
}

.pipeline-action-link.is-warning {
    border-color: #ffe2a3;
    color: #9b6200;
    background: #fffaf0;
}

.pipeline-action-link.is-primary {
    border-color: #c9d9ff;
    color: #0969f6;
    background: #f5f8ff;
}

.pipeline-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pipeline-column {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    overflow: hidden;
}

.pipeline-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid #edf1f6;
    padding: 1rem;
}

.pipeline-column-head h2 {
    margin: 0;
    color: #17243a;
    font-size: .9rem;
    font-weight: 850;
}

.pipeline-card-stack {
    display: grid;
    gap: .75rem;
    padding: .9rem;
}

.pipeline-lead-card {
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: .9rem;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 35, 70, .04);
}

.pipeline-lead-card:hover {
    border-color: #c6d9ff;
}

.support-workflow-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.support-ticket-form form {
    padding: 1rem;
}

.support-ticket-list {
    overflow: hidden;
}

.chat-workflow-page .chat-admin-shell {
    min-height: 660px;
    overflow: hidden;
}

.chat-workflow-page .chat-admin-list {
    background: #f8fafd;
}

.chat-workflow-page .chat-conversation-item {
    border-bottom-color: #e6ebf3;
    color: #1d2b42;
    background: #ffffff;
}

.chat-workflow-page .chat-conversation-item:hover,
.chat-workflow-page .chat-conversation-item.is-active {
    color: #0b1730;
    background: #eef5ff;
}

.chat-workflow-page .chat-admin-main {
    background: #f5f8fc;
}

.chat-workflow-page .chat-admin-header,
.chat-workflow-page .chat-admin-reply {
    background: #ffffff;
}

.chat-workflow-page .chat-admin-message {
    border-radius: 8px;
}

.platform-chat-compose-tools {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.platform-chat-emoji-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid #cfd8e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f3658;
    display: grid;
    place-items: center;
}

.platform-chat-emoji-toggle:disabled {
    opacity: .5;
}

.platform-chat-emoji-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + .5rem);
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(6, 34px);
    gap: .25rem;
    padding: .45rem;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .16);
}

.platform-chat-emoji-panel[hidden] {
    display: none;
}

.platform-chat-emoji-panel button,
.platform-chat-starter {
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
    color: #1f3658;
}

.platform-chat-emoji-panel button {
    width: 34px;
    height: 34px;
}

.platform-chat-starters {
    display: grid;
    gap: .5rem;
    margin-top: .9rem;
}

.platform-chat-starter {
    padding: .55rem .7rem;
    text-align: left;
}

.platform-chat-starter:hover,
.platform-chat-emoji-panel button:hover,
.platform-chat-emoji-toggle:hover {
    border-color: var(--pas-blue);
    background: #eef5ff;
}

.platform-chat-page-link,
.platform-chat-page-text {
    display: block;
    color: #51627b;
    font-size: .78rem;
    overflow-wrap: anywhere;
}

/* ===== Admin editor workflow pages ===== */

.admin-workflow-page .admin-page-head p {
    margin: .28rem 0 0;
    color: #66758c;
    font-size: .9rem;
}

.admin-editor-panel {
    padding: 1rem;
}

.admin-workflow-page .metric-card {
    border-color: #e3e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .05);
}

.admin-workflow-page .metric-card > h2:first-child,
.admin-workflow-page .metric-card h2.h5 {
    color: #17243a;
    font-size: .95rem;
    font-weight: 850;
}

.admin-workflow-page .form-label {
    color: #617089;
    font-size: .76rem;
    font-weight: 800;
}

.admin-workflow-page .form-text {
    color: #73839a;
    font-size: .74rem;
}

.admin-workflow-page .table-panel {
    border-color: #e3e8f0;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .05);
}

.admin-workflow-page .content-module-card,
.admin-workflow-page .content-section-card {
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 35, 70, .04);
}

.admin-workflow-page .content-module-card {
    padding: 1rem;
}

.admin-workflow-page .content-section-editor {
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: 1rem;
    background: #f8fbff;
}

.admin-workflow-page .content-section-card {
    padding: .95rem;
}

.admin-workflow-page pre {
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: .65rem .75rem;
    background: #f8fbff;
    color: #243247;
}

/* ===== Prospect campaigns / Postalytics workflow ===== */

.prospect-campaign-page .admin-page-actions form {
    margin: 0;
}

.postalytics-workflow {
    overflow: hidden;
    border: 1px solid #dce6f3;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fbff 0%, #ffffff 54%, #f7fbf4 100%);
    box-shadow: 0 18px 42px rgba(15, 35, 70, .07);
}

.postalytics-workflow-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem 1rem;
}

.postalytics-eyebrow {
    color: #2f6bb6;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.postalytics-workflow h2 {
    margin: .25rem 0 .35rem;
    color: #14243d;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 850;
}

.postalytics-workflow-head p,
.postalytics-readiness-card p {
    margin: 0;
    color: #65758c;
    font-size: .85rem;
}

.postalytics-ready-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    align-self: flex-start;
    flex: 0 0 auto;
    border: 1px solid;
    border-radius: 999px;
    padding: .45rem .72rem;
    font-size: .76rem;
    font-weight: 800;
}

.postalytics-ready-badge span {
    display: grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: .68rem;
}

.postalytics-ready-badge.is-ready {
    border-color: #b9dec0;
    background: #eef9f0;
    color: #246b34;
}

.postalytics-ready-badge.is-ready span {
    background: #3c914f;
}

.postalytics-ready-badge.needs-attention {
    border-color: #ecd6a5;
    background: #fff8e8;
    color: #805b10;
}

.postalytics-ready-badge.needs-attention span {
    background: #c58a13;
}

.postalytics-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-block: 1px solid #e2e9f2;
    background: rgba(255, 255, 255, .75);
}

.postalytics-step {
    display: flex;
    gap: .7rem;
    min-width: 0;
    padding: 1rem 1.15rem;
}

.postalytics-step + .postalytics-step {
    border-left: 1px solid #e2e9f2;
}

.postalytics-step-number {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #e8eef7;
    color: #53657d;
    font-size: .75rem;
    font-weight: 850;
}

.postalytics-step.is-complete .postalytics-step-number {
    background: #dff2e2;
    color: #277139;
}

.postalytics-step strong,
.postalytics-step span:not(.postalytics-step-number) {
    display: block;
}

.postalytics-step strong {
    color: #1c2a3f;
    font-size: .82rem;
}

.postalytics-step div > span {
    margin-top: .2rem;
    color: #6e7d91;
    font-size: .72rem;
    line-height: 1.45;
}

.postalytics-readiness-card,
.postalytics-field-card {
    margin: 0 1.25rem 1.25rem;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, .9);
}

.postalytics-readiness-card h3,
.postalytics-field-card h3 {
    margin: 0 0 .25rem;
    color: #1c2a3f;
    font-size: .88rem;
    font-weight: 850;
}

.postalytics-issue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #ece2c8;
    border-radius: 8px;
    padding: .65rem .75rem;
    background: #fffcf5;
    color: #423716;
    text-decoration: none;
}

.postalytics-issue-row:hover {
    border-color: #d9bd77;
    color: #221b09;
}

.postalytics-issue-row strong,
.postalytics-issue-row small {
    display: block;
}

.postalytics-issue-row small {
    margin-top: .1rem;
    color: #7f6b3c;
}

.postalytics-field-card dl {
    margin: .65rem 0 0;
}

.postalytics-field-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .53rem 0;
    border-top: 1px solid #edf1f6;
    font-size: .78rem;
}

.postalytics-field-card dt {
    color: #27374d;
    font-weight: 750;
}

.postalytics-field-card dd {
    margin: 0;
    color: #728096;
    text-align: right;
}

@media (max-width: 991.98px) {
    .postalytics-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .postalytics-step:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #e2e9f2;
    }

    .postalytics-step:nth-child(4) {
        border-top: 1px solid #e2e9f2;
    }
}

@media (max-width: 575.98px) {
    .postalytics-workflow-head {
        flex-direction: column;
        padding: 1.1rem;
    }

    .postalytics-steps {
        grid-template-columns: 1fr;
    }

    .postalytics-step + .postalytics-step,
    .postalytics-step:nth-child(3) {
        border-top: 1px solid #e2e9f2;
        border-left: 0;
    }

    .postalytics-readiness-card,
    .postalytics-field-card {
        margin-inline: 1rem;
    }
}

.integration-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 1rem;
}

.integration-status-card {
    padding: 1rem;
}

.integration-status-card h2 {
    color: #17243a;
    font-size: .98rem;
    font-weight: 850;
}

.dashboard-secondary-btn.is-danger {
    border-color: #ffd1d7;
    color: #c7364a;
    background: #fff7f8;
}

.dashboard-secondary-btn.is-danger:hover {
    border-color: #f59aaa;
    color: #a71f32;
    background: #fff0f2;
}

.billing-reminder-panel {
    overflow: hidden;
}

.billing-reminder-panel .dealer-empty {
    padding: 1rem;
}

.billing-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

.billing-plan-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 1rem;
}

.billing-plan-card.is-current {
    border-color: #abc8ff;
    background: #f8fbff;
}

.billing-plan-head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}

.billing-plan-head h2 {
    margin: 0;
    color: #17243a;
    font-size: 1rem;
    font-weight: 850;
}

.billing-plan-head p {
    margin: .2rem 0 0;
    color: #708096;
    font-size: .78rem;
    line-height: 1.45;
}

.billing-plan-price {
    color: #0b1730;
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.inventory-import-layout {
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.inventory-import-sidebar {
    display: grid;
    gap: 1rem;
}

.inventory-import-sidebar .dashboard-panel-head {
    padding: 0 0 .85rem;
}

.inventory-import-preview {
    min-width: 0;
}

.detail-workflow-layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.detail-workflow-side,
.detail-workflow-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.detail-workflow-main .list-group-item {
    border-color: #edf1f6;
    padding: 1rem;
}

.detail-workflow-main .dealer-spec-grid {
    margin-top: .25rem;
}

.customer-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.customer-summary-grid h2 {
    margin: 0 0 .35rem;
    color: #617089;
    font-size: .78rem;
    font-weight: 850;
}

.customer-summary-grid strong {
    color: #0b1730;
    font-size: 1.55rem;
    font-weight: 850;
}

.vehicle-summary-card {
    min-height: 96px;
}

.vehicle-summary-card .stat-value {
    color: #0b1730;
    font-size: 1.35rem !important;
    font-weight: 850;
    letter-spacing: 0;
}

.lead-detail-page .detail-workflow-main .row .dashboard-panel h2,
.vehicle-detail-page .dashboard-panel h2 {
    margin: 0 0 .6rem;
    color: #17243a;
    font-size: .92rem;
    font-weight: 850;
}

/* ===== Inventory vehicle detail workspace ===== */

.vehicle-detail-page {
    --vehicle-navy: #071d4f;
    --vehicle-blue: #0969f6;
    --vehicle-line: #dfe6f0;
    --vehicle-muted: #66758c;
    --vehicle-surface: #ffffff;
    min-width: 0;
    overflow: clip;
}

.vehicle-detail-page svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.vehicle-detail-toolbar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vehicle-detail-toolbar .admin-breadcrumbs {
    margin: 0;
}

.vehicle-toolbar-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px solid var(--vehicle-line);
    border-radius: 9px;
    padding: 0 .95rem;
    color: #17243a;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 35, 70, .04);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.vehicle-toolbar-btn:hover {
    border-color: #b8c9e1;
    color: var(--vehicle-blue);
}

.vehicle-toolbar-btn.is-primary {
    border-color: var(--vehicle-blue);
    color: #ffffff;
    background: var(--vehicle-blue);
    box-shadow: 0 10px 22px rgba(9, 105, 246, .22);
}

.vehicle-toolbar-btn.is-primary:hover {
    color: #ffffff;
    background: #075bd5;
}

.vehicle-detail-top-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) minmax(238px, 270px);
    gap: 1rem;
    align-items: start;
}

.vehicle-detail-main-column,
.vehicle-insight-rail {
    display: grid;
    min-width: 0;
    gap: 1rem;
}

.vehicle-overview-card {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.35fr);
    gap: 1.25rem;
    align-items: stretch;
}

.vehicle-overview-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--vehicle-line);
    border-radius: 12px;
    background: linear-gradient(145deg, #f7f9fc, #e9edf3);
    box-shadow: 0 12px 30px rgba(15, 35, 70, .08);
}

.vehicle-overview-media > img,
.vehicle-photo-empty {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 218px;
    aspect-ratio: 16 / 10;
    object-fit: contain;
}

.vehicle-photo-empty {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .65rem;
    color: #718096;
    font-size: .82rem;
    font-weight: 750;
}

.vehicle-photo-empty svg {
    width: 34px;
    height: 34px;
}

.vehicle-stock-badge,
.vehicle-photo-count {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 7px;
    padding: 0 .65rem;
    color: #ffffff;
    background: rgba(7, 29, 79, .94);
    font-size: .72rem;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.vehicle-stock-badge {
    top: .7rem;
    left: .7rem;
}

.vehicle-photo-count {
    right: .7rem;
    bottom: .7rem;
    gap: .35rem;
}

.vehicle-photo-count:hover {
    color: #ffffff;
    background: var(--vehicle-blue);
}

.vehicle-photo-count svg {
    width: 15px;
    height: 15px;
}

.vehicle-overview-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: .35rem 0;
}

.vehicle-title-row {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
}

.vehicle-title-row > div:first-child {
    min-width: 0;
}

.vehicle-overline {
    margin: 0 0 .35rem;
    color: var(--vehicle-blue);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vehicle-overview-copy h1 {
    margin: 0;
    color: #071427;
    font-size: clamp(1.65rem, 2.25vw, 2.35rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.vehicle-verified-mark {
    display: inline-grid;
    margin-left: .45rem;
    color: var(--vehicle-blue);
    vertical-align: .08em;
}

.vehicle-verified-mark svg {
    width: 23px;
    height: 23px;
    fill: var(--vehicle-blue);
    color: #ffffff;
    stroke-width: 2.2;
}

.vehicle-status-card {
    display: flex;
    min-width: 152px;
    gap: .55rem;
    align-items: flex-start;
    border: 1px solid #bfe3d1;
    border-radius: 10px;
    padding: .75rem;
    color: #128052;
    background: #f0faf5;
}

.vehicle-status-card.is-pending {
    border-color: #f4d5a5;
    color: #a65a00;
    background: #fff8ea;
}

.vehicle-status-card.is-sold,
.vehicle-status-card.is-muted {
    border-color: #d9e0ea;
    color: #66758c;
    background: #f7f9fc;
}

.vehicle-status-card svg {
    width: 19px;
    height: 19px;
    margin-top: .05rem;
}

.vehicle-status-card strong,
.vehicle-status-card span {
    display: block;
}

.vehicle-status-card strong {
    color: #17243a;
    font-size: .86rem;
}

.vehicle-status-card span {
    margin-top: .1rem;
    color: inherit;
    font-size: .68rem;
    font-weight: 700;
}

.vehicle-identifiers {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: .38rem;
    margin: .8rem 0 .65rem;
    color: #435169;
    font-size: .84rem;
}

.vehicle-identifiers a {
    color: var(--vehicle-blue);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.vehicle-color-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    color: #435169;
    font-size: .78rem;
}

.vehicle-color-row > span {
    display: inline-flex;
    gap: .38rem;
    align-items: center;
}

.vehicle-color-swatch {
    width: 14px;
    height: 14px;
    border: 1px solid #9aa8bc;
    border-radius: 50%;
    background: var(--vehicle-swatch);
    box-shadow: inset 0 0 0 2px #ffffff;
}

.vehicle-spec-chips,
.vehicle-health-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.vehicle-spec-chips {
    margin-top: .8rem;
}

.vehicle-spec-chips > span {
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: .32rem .7rem;
    color: #26354b;
    background: #f1f5f9;
    font-size: .7rem;
    font-weight: 800;
}

.vehicle-health-badges {
    margin-top: .65rem;
}

.vehicle-metric-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.vehicle-metric-card {
    display: grid;
    min-width: 0;
    min-height: 110px;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    border: 1px solid var(--vehicle-line);
    border-radius: 11px;
    padding: .9rem;
    background: var(--vehicle-surface);
    box-shadow: 0 10px 26px rgba(15, 35, 70, .055);
}

.vehicle-metric-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 10px;
    color: var(--vehicle-blue);
    background: #eaf2ff;
}

.vehicle-metric-card.is-media .vehicle-metric-icon {
    color: #7148ec;
    background: #f1edff;
}

.vehicle-metric-card.is-age .vehicle-metric-icon {
    color: #11889a;
    background: #e8f8fa;
}

.vehicle-metric-card.is-score .vehicle-metric-icon {
    color: #e87508;
    background: #fff1e4;
}

.vehicle-metric-card > div,
.vehicle-score-copy {
    min-width: 0;
}

.vehicle-metric-card span,
.vehicle-metric-card strong,
.vehicle-metric-card small {
    display: block;
}

.vehicle-metric-card .vehicle-metric-icon {
    display: grid;
    place-items: center;
}

.vehicle-metric-card > div > span,
.vehicle-score-copy > span:first-child {
    color: #506078;
    font-size: .72rem;
    font-weight: 700;
}

.vehicle-metric-card strong {
    margin-top: .2rem;
    color: #071427;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.vehicle-metric-card small {
    margin-top: .25rem;
    color: #6f7e93;
    font-size: .65rem;
    font-weight: 650;
}

.vehicle-score-copy > div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem;
}

.vehicle-score-copy > div small {
    color: #d96800;
    text-align: right;
}

.vehicle-score-bar {
    height: 5px;
    overflow: hidden;
    margin-top: .5rem;
    border-radius: 999px;
    background: #e2e8f0;
}

.vehicle-score-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f07a0a;
}

.vehicle-action-panel,
.vehicle-rail-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--vehicle-line);
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 35, 70, .055);
}

.vehicle-section-bar {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .9rem;
    color: #ffffff;
    background: linear-gradient(110deg, #061a47, #082c6d);
}

.vehicle-section-bar.is-blue {
    background: linear-gradient(110deg, #085ed8, #0c73f5);
}

.vehicle-section-bar h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: .85rem !important;
    font-weight: 800 !important;
}

.vehicle-section-bar svg {
    width: 17px;
    height: 17px;
}

.vehicle-section-bar a {
    color: #ffffff;
    font-size: .68rem;
    font-weight: 750;
}

.vehicle-action-body {
    padding: .85rem;
}

.vehicle-action-grid {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: stretch;
}

.vehicle-action-grid form {
    display: flex;
    min-width: 0;
    margin: 0;
}

.vehicle-status-action.has-salesperson {
    gap: .4rem;
}

.vehicle-status-action.has-salesperson .form-select {
    width: 142px;
    min-width: 0;
}

.vehicle-action-btn {
    display: inline-flex;
    min-height: 36px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid #d8e0eb;
    border-radius: 7px;
    padding: .42rem .65rem;
    color: #26354b;
    background: #ffffff;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.vehicle-action-btn:hover {
    border-color: #9dbce8;
    color: var(--vehicle-blue);
    background: #f7faff;
}

.vehicle-action-btn.is-pending {
    border-color: #f1c377;
    color: #a85b00;
}

.vehicle-action-btn svg,
.vehicle-action-letter {
    width: 15px;
    height: 15px;
}

.vehicle-action-letter {
    display: grid;
    place-items: center;
    font-weight: 900;
}

.vehicle-plan-usage {
    margin: .75rem 0 0;
    color: #718096;
    font-size: .68rem;
}

.vehicle-plan-usage span {
    color: #b42318;
}

.vehicle-insight-rail {
    position: sticky;
    top: 84px;
}

.vehicle-quick-info {
    margin: 0;
    padding: .25rem .9rem .55rem;
}

.vehicle-quick-info > div {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: .55rem;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
    padding: .55rem 0;
}

.vehicle-quick-info > div:last-child {
    border-bottom: 0;
}

.vehicle-quick-info dt,
.vehicle-quick-info dd {
    margin: 0;
    font-size: .7rem;
}

.vehicle-quick-info dt {
    color: #607087;
    font-weight: 700;
}

.vehicle-quick-info dd {
    color: #16243a;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: right;
}

.vehicle-tip-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: .8rem;
    align-items: center;
    padding: .95rem;
}

.vehicle-tip-body p {
    margin: 0;
    color: #435169;
    font-size: .72rem;
    line-height: 1.55;
}

.vehicle-score-ring {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, #ffffff 73%, transparent 75% 100%), conic-gradient(var(--vehicle-blue) calc(var(--score) * 1%), #dfe6ef 0);
}

.vehicle-score-ring strong {
    color: #0759c8;
    font-size: .86rem;
}

.vehicle-activity-list {
    padding: .4rem .9rem .55rem;
}

.vehicle-activity-item {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
    border-bottom: 1px solid #edf1f6;
    padding: .65rem 0;
}

.vehicle-activity-item:last-child {
    border-bottom: 0;
}

.vehicle-activity-item > span {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    color: var(--vehicle-blue);
    background: #edf4ff;
}

.vehicle-activity-item svg {
    width: 15px;
    height: 15px;
}

.vehicle-activity-item strong,
.vehicle-activity-item small {
    display: block;
}

.vehicle-activity-item strong {
    color: #18263d;
    font-size: .72rem;
}

.vehicle-activity-item small,
.vehicle-activity-empty {
    margin-top: .15rem;
    color: #718096;
    font-size: .64rem;
    line-height: 1.45;
}

.vehicle-activity-empty {
    margin: 0;
    padding: .8rem 0;
}

.vehicle-detail-page #vehicle-data {
    padding: 0;
}

.vehicle-detail-page #vehicle-data > .dashboard-panel-head {
    min-height: 47px;
    border-bottom: 0;
    padding: .65rem .9rem;
    color: #ffffff;
    background: linear-gradient(110deg, #061a47, #082c6d);
}

.vehicle-detail-page #vehicle-data > .dashboard-panel-head h2,
.vehicle-detail-page #vehicle-data > .dashboard-panel-head p {
    color: #ffffff;
}

.vehicle-detail-page #vehicle-data > .dashboard-panel-head p {
    opacity: .72;
}

.vehicle-detail-page #vehicle-data > .progress,
.vehicle-detail-page #vehicle-data > .row,
.vehicle-detail-page #vehicle-data > form {
    margin-right: .9rem;
    margin-left: .9rem;
}

.vehicle-detail-page #vehicle-data > .progress {
    height: 7px;
    margin-top: .9rem;
}

.vehicle-detail-page #vehicle-data > .row:last-child {
    margin-bottom: .9rem;
}

.vehicle-detail-page > .row {
    min-width: 0;
    margin-top: 0;
}

.vehicle-detail-page > .row > * {
    min-width: 0;
}

@media (max-width: 1240px) {
    .vehicle-overview-card {
        grid-template-columns: minmax(235px, .75fr) minmax(0, 1.25fr);
    }

    .vehicle-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .vehicle-detail-top-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-insight-rail {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 760px) {
    .vehicle-detail-page {
        gap: .85rem;
    }

    .vehicle-detail-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-detail-toolbar .admin-page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .vehicle-overview-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-overview-media > img,
    .vehicle-photo-empty {
        min-height: 200px;
    }

    .vehicle-insight-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-status-action.has-salesperson {
        max-width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .vehicle-detail-toolbar .admin-page-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vehicle-toolbar-btn {
        min-width: 0;
        padding: 0 .45rem;
        font-size: .72rem;
    }

    .vehicle-title-row {
        flex-direction: column;
    }

    .vehicle-status-card {
        width: 100%;
        min-width: 0;
    }

    .vehicle-overview-copy h1 {
        font-size: 1.65rem;
    }

    .vehicle-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .vehicle-metric-card {
        min-height: 124px;
        grid-template-columns: minmax(0, 1fr);
        gap: .5rem;
        align-content: start;
        padding: .8rem;
    }

    .vehicle-metric-icon {
        width: 36px;
        height: 36px;
    }

    .vehicle-metric-card strong {
        font-size: 1.04rem;
    }

    .vehicle-score-copy > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-score-copy > div small {
        text-align: left;
    }

    .vehicle-action-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-action-grid form,
    .vehicle-action-grid .vehicle-action-btn,
    .vehicle-status-action.has-salesperson .form-select {
        width: 100%;
    }

    .vehicle-status-action.has-salesperson {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-detail-page #vehicle-data > .dashboard-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-detail-page #vehicle-data > .dashboard-panel-head > div:last-child {
        width: 100%;
        justify-content: space-between;
    }
}

.lead-sms-thread {
    display: grid;
    gap: .75rem;
}

.lead-sms-bubble {
    max-width: min(640px, 92%);
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    padding: .75rem .85rem;
    background: #f8fafc;
}

.lead-sms-bubble.is-outbound {
    justify-self: end;
    border-color: #b9d4ff;
    background: #eef5ff;
}

.lead-sms-bubble.is-inbound {
    justify-self: start;
}

.lead-sms-bubble-meta {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .35rem;
    color: #64748b;
    font-size: .78rem;
    font-weight: 750;
}

.lead-sms-bubble strong,
.lead-sms-bubble p {
    display: block;
    margin: 0;
}

.lead-sms-bubble strong {
    margin-bottom: .25rem;
    color: #17243a;
    font-size: .88rem;
}

.lead-sms-bubble p {
    color: #24344d;
    line-height: 1.55;
}

.lead-form-page form.vstack,
.inventory-form-page form {
    gap: 1rem;
}

.settings-workflow-page .admin-editor-panel .admin-form-grid,
.listings-workflow-page .admin-editor-panel .row,
.website-workflow-page form.metric-card .admin-form-grid,
.modules-workflow-page form.metric-card,
.growth-workflow-page form.metric-card {
    row-gap: 1rem;
}

.pages-workflow-page code {
    color: #0969f6;
    background: #eef5ff;
    border-radius: 6px;
    padding: .18rem .38rem;
}

@media (max-width: 1180px) {
    .user-access-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-access-layout {
        grid-template-columns: 1fr;
    }

    .support-workflow-layout {
        grid-template-columns: 1fr;
    }

    .inventory-import-layout {
        grid-template-columns: 1fr;
    }

    .detail-workflow-layout {
        grid-template-columns: 1fr;
    }

    .user-access-rules {
        position: static;
    }
}

@media (max-width: 760px) {
    .user-access-stats,
    .user-permission-columns,
    .user-edit-grid {
        grid-template-columns: 1fr;
    }

    .user-account-head {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .user-role-pill {
        grid-column: 2;
        justify-self: start;
    }

    .crm-inline-filter,
    .crm-inline-filter .form-control,
    .crm-inline-filter .form-select,
    .crm-inline-filter .dashboard-primary-btn,
    .crm-inline-filter .dashboard-secondary-btn {
        width: 100%;
        max-width: none;
    }

    .chat-workflow-page .chat-admin-shell {
        grid-template-columns: 1fr;
        min-height: 720px;
    }

    .chat-workflow-page .chat-admin-list {
        border-right: 0;
        border-bottom: 1px solid #e3e8f0;
    }

    .chat-workflow-page .chat-conversation-list {
        max-height: 260px;
    }

    .customer-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Website CMS page (tabbed) ===== */

.website-cms-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-bottom: 1.25rem;
    padding-top: .35rem;
    background: #f3f6fb;
}

.admin-body .website-cms-nav .nav-link {
    color: #47566e;
    font-weight: 650;
}

.admin-body .website-cms-nav .nav-link.active {
    color: #0b1730;
    font-weight: 750;
}

.website-cms-panes > .tab-pane > .border {
    border-color: #e3e9f2 !important;
    border-radius: 12px !important;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 35, 68, .05);
}

.website-cms-savebar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: .5rem;
    border-top: 1px solid #e3e9f2;
    padding: .8rem 0;
    background: rgba(243, 246, 251, .96);
    backdrop-filter: blur(6px);
}

/* ===== Website theme workspace ===== */

.website-theme-workspace {
    --theme-border: #dce4ef;
    --theme-ink: #0b1730;
    --theme-muted: #59677d;
    --theme-blue: #0f66f2;
    --theme-blue-soft: #edf5ff;
    margin-bottom: 1.5rem;
}

.website-theme-heading,
.website-theme-section-head,
.website-theme-preview-head,
.website-theme-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.website-theme-heading {
    align-items: center;
    margin-bottom: 1.25rem;
}

.website-theme-eyebrow,
.website-theme-preview-head span,
.website-theme-settings-head span:first-child,
.website-theme-field-label {
    display: block;
    color: var(--theme-muted);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.3;
    text-transform: uppercase;
}

.website-theme-heading h2 {
    margin: .2rem 0 .25rem;
    color: var(--theme-ink);
    font-size: 1.4rem;
    line-height: 1.2;
}

.website-theme-heading p,
.website-theme-section-head p {
    margin: 0;
    color: var(--theme-muted);
}

.website-theme-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, .78fr);
    gap: 1.25rem;
    align-items: start;
}

.website-theme-library,
.website-theme-customizer {
    min-width: 0;
}

.website-theme-section-head {
    margin-bottom: .75rem;
}

.website-theme-section-head h3,
.website-theme-settings-head h3 {
    margin: 0 0 .15rem;
    color: var(--theme-ink);
    font-size: 1rem;
    line-height: 1.25;
}

.website-theme-section-head p {
    font-size: .84rem;
}

.website-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.website-template-card {
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(15, 31, 57, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.website-template-card:hover {
    border-color: #aab9cc;
    box-shadow: 0 8px 22px rgba(15, 31, 57, .09);
    transform: translateY(-1px);
}

.website-template-card.is-selected {
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 2px rgba(15, 102, 242, .12), 0 8px 24px rgba(15, 31, 57, .1);
}

.website-template-choice {
    display: block;
    color: inherit;
    cursor: pointer;
}

.website-template-choice > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.website-template-choice:focus-within {
    outline: none;
}

.website-template-card:focus-within {
    outline: 3px solid rgba(15, 102, 242, .25);
    outline-offset: -3px;
}

.website-template-visual {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eef3f8;
}

.website-template-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    padding: 3px;
    background: #eef3f8;
    object-fit: contain;
    object-position: center top;
}

.website-theme-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.website-template-placeholder {
    display: grid;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    place-items: center;
    background: #13213a;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
}

.website-template-active-badge {
    position: absolute;
    top: .5rem;
    left: .5rem;
    border-radius: 999px;
    padding: .24rem .48rem;
    background: #e8fff2;
    color: #087a43;
    font-size: .67rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.website-template-selected-mark {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--theme-blue);
    color: #ffffff;
    font-size: .8rem;
    font-weight: 800;
    opacity: 0;
    transform: scale(.75);
    transition: opacity .18s ease, transform .18s ease;
}

.website-template-card.is-selected .website-template-selected-mark {
    opacity: 1;
    transform: scale(1);
}

.website-template-visual-caption {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    border-top: 1px solid #e7edf5;
    padding: .55rem .65rem;
    background: #ffffff;
}

.website-template-visual-caption strong {
    min-width: 0;
    overflow: hidden;
    color: var(--theme-ink);
    font-size: .82rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-template-visual-caption .website-template-default-palette {
    flex: 0 0 auto;
}

.website-template-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 58px;
    padding: .58rem .7rem;
}

.website-template-copy strong,
.website-template-copy small {
    display: block;
}

.website-template-identity {
    min-width: 0;
}

.website-template-copy strong {
    overflow: hidden;
    color: var(--theme-ink);
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-template-identity small {
    overflow: hidden;
    max-width: 22ch;
    margin-top: .12rem;
    color: var(--theme-muted);
    font-size: .64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-template-palette-block {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: .2rem;
}

.website-template-palette-block > small {
    color: #7a879a;
    font-size: .56rem;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.website-template-default-palette {
    display: flex;
    align-items: center;
    gap: .28rem;
}

.website-template-default-palette i {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid rgba(15, 31, 57, .18);
    border-radius: 50%;
    background: var(--template-default-color);
    box-shadow: 0 0 0 2px #ffffff;
}

.website-template-copy small {
    margin-top: .1rem;
    color: var(--theme-muted);
    font-size: .68rem;
}

.website-template-selection-label {
    flex: 0 0 auto;
    color: var(--theme-blue);
    font-size: .68rem;
    font-weight: 750;
}

.website-template-description {
    display: -webkit-box;
    min-height: 2rem;
    overflow: hidden;
    padding: 0 .7rem .55rem;
    color: var(--theme-muted);
    font-size: .72rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.website-template-card-actions {
    border-top: 1px solid #edf1f6;
    padding: .48rem .7rem;
}

.website-template-card-actions a,
.website-theme-preview-head a {
    color: var(--theme-blue);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.website-template-card-actions a:hover,
.website-theme-preview-head a:hover {
    text-decoration: underline;
}

/* Super Admin template library and editor */
.super-template-library .admin-page-head p,
.super-template-editor .admin-page-head p {
    margin: .4rem 0 0;
    color: #59677d;
    font-size: .88rem;
}

.super-template-library .admin-page-actions svg,
.super-template-editor .admin-page-actions svg,
.super-template-card-actions svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.super-template-upload-panel {
    display: grid;
    align-items: center;
    gap: 1rem;
    grid-template-columns: minmax(220px, 1fr) minmax(250px, 1fr) auto auto;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    padding: 1rem;
    background: #ffffff;
}

.super-template-upload-panel strong,
.super-template-upload-panel span {
    display: block;
}

.super-template-upload-panel span {
    margin-top: .2rem;
    color: #64748b;
    font-size: .78rem;
}

.super-template-toolbar {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 1rem;
    border-block: 1px solid #dfe5ed;
    padding-block: .75rem;
}

.super-template-toolbar > form:first-child,
.super-template-dealer-picker {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.super-template-toolbar label,
.super-template-dealer-picker label {
    margin: 0;
    color: #526176;
    font-size: .78rem;
    font-weight: 750;
    white-space: nowrap;
}

.super-template-toolbar .form-select,
.super-template-dealer-picker .form-select {
    width: min(280px, 48vw);
}

.super-template-toolbar-summary {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-left: auto;
    color: #59677d;
    font-size: .8rem;
}

.super-template-toolbar-summary strong {
    color: #0f172a;
    font-size: 1.15rem;
}

.super-template-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.super-template-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 31, 57, .06);
}

.super-template-card-preview {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid #dce3ec;
    background: #e9eef5;
}

.super-template-card-preview > img,
.super-template-screenshot-current img,
.super-template-hero-current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.super-template-live-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.super-template-live-thumbnail iframe {
    display: block;
    width: 400%;
    height: 400%;
    border: 0;
    pointer-events: none;
    transform: scale(.25);
    transform-origin: top left;
}

.super-template-empty-preview {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    gap: .4rem;
    color: #66758a;
    font-size: .78rem;
    font-weight: 750;
}

.super-template-empty-preview svg {
    width: 34px;
    height: 34px;
}

.super-template-status {
    position: absolute;
    top: .65rem;
    right: .65rem;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    padding: .28rem .52rem;
    background: #ffffff;
    color: #526176;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .12);
    font-size: .65rem;
    font-weight: 800;
    line-height: 1;
}

.super-template-status.is-ready { color: #087a43; }
.super-template-status.is-warning { color: #9a5b08; }
.super-template-status.is-error { color: #b42318; }

.super-template-card-body {
    padding: .9rem;
}

.super-template-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.super-template-card-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.super-template-card-title span {
    display: block;
    margin-top: .18rem;
    color: #59677d;
    font-size: .7rem;
}

.super-template-card-body > p {
    display: -webkit-box;
    min-height: 2.35rem;
    margin: .75rem 0;
    overflow: hidden;
    color: #607086;
    font-size: .78rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.super-template-card-actions {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-top: 1px solid #edf1f6;
    padding-top: .7rem;
}

.super-template-card-actions > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #0f66f2;
    font-size: .75rem;
    font-weight: 750;
    text-decoration: none;
}

.super-template-card-actions details {
    position: relative;
    margin-left: auto;
    color: #64748b;
    font-size: .72rem;
}

.super-template-card-actions summary {
    cursor: pointer;
    font-weight: 700;
}

.super-template-card-actions details > div {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: calc(100% + .5rem);
    width: 240px;
    border: 1px solid #d9e1eb;
    border-radius: 6px;
    padding: .7rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 31, 57, .14);
}

.super-template-card-actions details span,
.super-template-card-actions details strong {
    display: block;
}

.super-template-card-actions details strong {
    margin-top: .35rem;
    color: #9a3412;
}

.super-template-empty-state {
    border: 1px dashed #cbd5e1;
    padding: 2.5rem;
    color: #64748b;
    text-align: center;
}

.super-template-dealer-picker {
    justify-content: flex-end;
}

.super-template-editor-layout {
    display: grid;
    align-items: start;
    gap: 1rem;
    grid-template-columns: minmax(380px, .82fr) minmax(520px, 1.35fr);
}

.super-template-editor-form,
.super-template-preview-panel {
    min-width: 0;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 31, 57, .06);
}

.super-template-editor-section {
    padding: 1rem;
}

.super-template-editor-section + .super-template-editor-section {
    border-top: 1px solid #e7ecf2;
}

.super-template-editor-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.super-template-editor-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 800;
}

.super-template-editor-section-head p {
    margin: .2rem 0 0;
    color: #59677d;
    font-size: .75rem;
}

.super-template-editor-section-head > span {
    color: #64748b;
    font-size: .7rem;
    font-weight: 750;
}

.super-template-form-grid,
.super-template-default-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.super-template-form-grid {
    grid-template-columns: minmax(0, 1fr) 120px;
}

.super-template-field.is-full {
    grid-column: 1 / -1;
}

.super-template-field label,
.super-template-screenshot-editor label,
.super-template-hero-editor label {
    display: block;
    margin-bottom: .35rem;
    color: #344258;
    font-size: .75rem;
    font-weight: 750;
}

.super-template-screenshot-editor,
.super-template-hero-editor {
    display: grid;
    align-items: center;
    gap: .9rem;
    grid-template-columns: 160px minmax(0, 1fr);
}

.super-template-screenshot-current,
.super-template-hero-current {
    display: grid;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    place-items: center;
    border: 1px solid #d5dde8;
    border-radius: 6px;
    background: #eef2f6;
    color: #59677d;
    font-size: .7rem;
}

.super-template-screenshot-editor small,
.super-template-hero-editor small {
    display: block;
    margin-top: .35rem;
    color: #59677d;
    font-size: .7rem;
}

.super-template-color-control {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: .65rem;
    border: 1px solid #ced6e0;
    border-radius: 6px;
    padding: .3rem .55rem;
}

.super-template-color-control input[type="color"] {
    width: 34px;
    height: 26px;
    border: 0;
    padding: 0;
    background: transparent;
}

.super-template-color-control output {
    color: #344258;
    font-size: .75rem;
    font-weight: 750;
}

.super-template-toggle {
    display: flex !important;
    min-height: 38px;
    align-items: center;
    gap: .5rem;
    margin: 0 !important;
    border: 1px solid #ced6e0;
    border-radius: 6px;
    padding: .45rem .6rem;
}

.super-template-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #dce3ec;
    padding: .85rem 1rem;
    background: #f8fafc;
}

.super-template-save-bar span {
    color: #64748b;
    font-size: .72rem;
}

.super-template-preview-panel {
    position: sticky;
    top: 1rem;
    overflow: hidden;
}

.super-template-preview-head {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #dce3ec;
    padding: .75rem 1rem;
}

.super-template-preview-head span,
.super-template-preview-head strong {
    display: block;
}

.super-template-preview-head span {
    color: #59677d;
    font-size: .68rem;
    font-weight: 750;
    text-transform: uppercase;
}

.super-template-preview-head strong {
    margin-top: .15rem;
    color: #0f172a;
    font-size: .86rem;
}

.super-template-preview-actions {
    display: flex;
    align-items: center;
    gap: .25rem;
    border: 1px solid #d8e0eb;
    border-radius: 6px;
    padding: .2rem;
    background: #f3f6fa;
}

.super-template-preview-actions button {
    min-height: 30px;
    border: 0;
    border-radius: 4px;
    padding: .35rem .6rem;
    background: transparent;
    color: #526176;
    font-size: .7rem;
    font-weight: 750;
}

.super-template-preview-actions button.is-active {
    background: #ffffff;
    color: #0f66f2;
    box-shadow: 0 1px 4px rgba(15, 31, 57, .12);
}

.super-template-preview-actions .super-template-refresh-preview {
    display: grid;
    width: 30px;
    padding: 0;
    place-items: center;
}

.super-template-refresh-preview svg {
    width: 16px;
    height: 16px;
}

.super-template-preview-media {
    position: relative;
    min-height: 360px;
    padding: .75rem;
    background: #edf1f6;
}

.super-template-preview-viewport {
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

.super-template-preview-viewport iframe {
    display: block;
    width: 1280px;
    height: 800px;
    border: 0;
    background: #ffffff;
    transform: scale(.5);
    transform-origin: top left;
}

.super-template-preview-loading {
    position: absolute;
    z-index: 2;
    inset: .75rem;
    display: grid;
    place-items: center;
    background: rgba(241, 245, 249, .88);
    color: #526176;
    font-size: .75rem;
    font-weight: 750;
    pointer-events: none;
}

.super-template-preview-loading[hidden] {
    display: none;
}

.super-template-preview-unavailable {
    display: grid;
    min-height: 360px;
    place-items: center;
    padding: 2rem;
    color: #64748b;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .super-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-template-editor-layout {
        grid-template-columns: 1fr;
    }

    .super-template-preview-panel {
        position: static;
        order: -1;
    }
}

@media (max-width: 767.98px) {
    .super-template-upload-panel,
    .super-template-grid,
    .super-template-form-grid,
    .super-template-default-grid,
    .super-template-screenshot-editor,
    .super-template-hero-editor {
        grid-template-columns: 1fr;
    }

    .super-template-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .super-template-toolbar > form:first-child,
    .super-template-dealer-picker {
        align-items: stretch;
        flex-direction: column;
    }

    .super-template-toolbar .form-select,
    .super-template-dealer-picker .form-select {
        width: 100%;
    }

    .super-template-toolbar-summary {
        margin-left: 0;
    }

    .super-template-editor-layout {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .super-template-editor-form,
    .super-template-preview-panel,
    .super-template-preview-media,
    .super-template-preview-viewport {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .super-template-editor-form {
        margin-top: 1rem;
    }

    .super-template-field.is-full {
        grid-column: auto;
    }

    .super-template-save-bar,
    .super-template-preview-head {
        align-items: stretch;
        flex-direction: column;
    }
}

.website-theme-customizer {
    position: relative;
    top: auto;
    overflow: visible;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 31, 57, .08);
}

.website-theme-preview {
    padding: 1rem;
    background: #f7f9fc;
}

.website-theme-preview-head {
    align-items: center;
    margin-bottom: .7rem;
}

.website-theme-preview-head strong {
    display: block;
    margin-top: .1rem;
    color: var(--theme-ink);
    font-size: .92rem;
}

.website-theme-preview-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.website-theme-preview-actions > span {
    border: 1px solid #d8e1ed;
    border-radius: 999px;
    padding: .25rem .48rem;
    background: #ffffff;
    color: #52627a;
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .02em;
    text-transform: none;
}

.website-theme-preview-actions button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--theme-blue);
    font-size: .78rem;
    font-weight: 750;
}

.website-theme-preview-actions button:hover,
.website-theme-preview-actions button:focus-visible {
    text-decoration: underline;
}

.website-theme-preview-media {
    position: relative;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #e9eef5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.website-theme-preview-loading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(241, 245, 249, .86);
    color: #52627a;
    font-size: .72rem;
    font-weight: 700;
    pointer-events: none;
}

.website-theme-preview-loading[hidden] {
    display: none;
}

.website-theme-preview-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.website-theme-preview-viewport iframe {
    display: block;
    width: 1280px;
    height: 800px;
    border: 0;
    background: #ffffff;
    transform: scale(.3);
    transform-origin: top left;
}

.website-theme-selected-meta {
    padding-top: .7rem;
}

.website-theme-selected-meta > span {
    display: block;
    color: var(--theme-blue);
    font-size: .7rem;
    font-weight: 750;
}

.website-theme-selected-meta p {
    display: -webkit-box;
    margin: .25rem 0 0;
    overflow: hidden;
    color: var(--theme-muted);
    font-size: .76rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.website-theme-settings {
    border-top: 1px solid var(--theme-border);
    padding: 1rem;
}

.website-theme-settings [data-template-options-panel] {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
}

.website-custom-theme-library {
    margin-top: 1.25rem;
    border-top: 1px solid #e8edf4;
    padding-top: 1rem;
}

.website-custom-theme-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.website-custom-theme-head h3 {
    margin: .15rem 0 0;
    color: var(--theme-ink);
    font-size: .95rem;
}

.website-custom-theme-count {
    display: grid;
    min-width: 28px;
    min-height: 28px;
    place-items: center;
    border-radius: 999px;
    background: var(--theme-blue-soft);
    color: var(--theme-blue);
    font-size: .72rem;
    font-weight: 800;
}

.website-custom-theme-library > p {
    margin: .45rem 0 .75rem;
    color: var(--theme-muted);
    font-size: .75rem;
    line-height: 1.45;
}

.website-custom-theme-list {
    display: grid;
    gap: .45rem;
    max-height: 230px;
    overflow-y: auto;
    padding-right: .15rem;
}

.website-custom-theme-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: .35rem;
}

.website-custom-theme-apply {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: .55rem;
    border: 1px solid #d5deea;
    border-radius: 6px;
    padding: .45rem .6rem;
    background: #ffffff;
    color: #26354d;
    text-align: left;
}

.website-custom-theme-apply:hover,
.website-custom-theme-apply:focus-visible {
    border-color: var(--theme-blue);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(15, 102, 242, .12);
}

.website-custom-theme-apply strong,
.website-custom-theme-apply small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-custom-theme-apply strong {
    font-size: .76rem;
}

.website-custom-theme-apply small {
    margin-top: .1rem;
    color: var(--theme-muted);
    font-size: .65rem;
}

.website-custom-theme-apply b {
    color: var(--theme-blue);
    font-size: .7rem;
}

.website-custom-theme-delete {
    display: grid;
    min-height: 48px;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: #7c899d;
    font-size: 1.15rem;
}

.website-custom-theme-delete:hover,
.website-custom-theme-delete:focus-visible {
    border-color: #fecaca;
    outline: 0;
    background: #fff5f5;
    color: #b42318;
}

.website-custom-theme-empty {
    border: 1px dashed #d5deea;
    border-radius: 6px;
    padding: .7rem;
    background: #f8fafc;
    text-align: center;
}

.website-custom-theme-save {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .45rem;
    margin-top: .65rem;
}

.website-custom-theme-save .form-control {
    min-width: 0;
    min-height: 42px;
    border-color: #d5deea;
    border-radius: 6px;
    font-size: .78rem;
}

.website-custom-theme-save .dashboard-secondary-btn {
    min-height: 42px;
    padding-inline: .7rem;
    white-space: nowrap;
}

.website-custom-theme-status {
    display: block;
    min-height: 1.1rem;
    margin-top: .45rem;
    color: #087a43;
    font-size: .7rem;
    line-height: 1.4;
}

.website-theme-version {
    border: 1px solid #dce4ef;
    border-radius: 999px;
    padding: .22rem .48rem;
    background: #f7f9fc;
    color: var(--theme-muted);
    font-size: .68rem;
    font-weight: 750;
}

.website-theme-width-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: .7rem 1rem;
    margin-top: 1rem;
    border: 1px solid #bfd5f5;
    border-radius: 9px;
    padding: .85rem;
    background: #f4f8ff;
}

.website-theme-width-control p {
    margin: .15rem 0 0;
    color: var(--theme-muted);
    font-size: .73rem;
    line-height: 1.45;
}

.website-theme-width-control .form-select {
    min-height: 44px;
    align-self: center;
    border-color: #9bbce9;
    border-radius: 6px;
    background-color: #ffffff;
    color: #17243a;
    font-size: .82rem;
    font-weight: 750;
}

.website-theme-width-help {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.website-theme-width-help span {
    border-radius: 5px;
    padding: .45rem .55rem;
    background: rgba(255, 255, 255, .8);
    color: var(--theme-muted);
    font-size: .65rem;
    line-height: 1.4;
}

.website-theme-width-help strong {
    display: block;
    margin-bottom: .05rem;
    color: #26354d;
    font-size: .68rem;
}

.website-theme-presets {
    margin-top: 1rem;
}

.website-theme-preset-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .45rem;
}

.website-theme-preset {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: .45rem;
    border: 1px solid #d5deea;
    border-radius: 6px;
    padding: .42rem .6rem;
    background: #ffffff;
    color: #26354d;
    font-size: .72rem;
    font-weight: 700;
}

.website-theme-preset:hover,
.website-theme-preset:focus-visible {
    border-color: var(--theme-blue);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(15, 102, 242, .14);
}

.website-theme-preset-swatches {
    display: flex;
}

.website-theme-preset-swatches i {
    display: block;
    width: 14px;
    height: 14px;
    margin-left: -3px;
    border: 1px solid rgba(15, 23, 42, .18);
    border-radius: 50%;
    background: var(--preset-color);
}

.website-theme-preset-swatches i:first-child {
    margin-left: 0;
}

.website-theme-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.website-theme-hero-color {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #c9daf5;
    border-radius: 8px;
    background: #f5f8fd;
    padding: .85rem;
}

.website-theme-hero-color .website-theme-field-label {
    margin-bottom: .2rem;
}

.website-theme-hero-color p {
    margin: 0;
    color: var(--theme-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.website-theme-field {
    min-width: 0;
}

.website-theme-field-label {
    margin-bottom: .35rem;
    text-transform: none;
}

.website-theme-field .form-control,
.website-theme-field .form-select {
    min-height: 42px;
    border-color: #d5deea;
    border-radius: 6px;
    font-size: .82rem;
}

select[data-font-preview] {
    scrollbar-color: #94a3b8 #f1f5f9;
    scrollbar-width: thin;
}

select[data-font-preview] option {
    min-height: 2rem;
    padding: .4rem .65rem;
}

.website-theme-color-control {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 42px;
    overflow: hidden;
    border: 1px solid #d5deea;
    border-radius: 6px;
    background: #ffffff;
}

.website-theme-color-control:focus-within {
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 3px rgba(15, 102, 242, .12);
}

.website-theme-color-control input[type="color"] {
    width: 38px;
    height: 42px;
    border: 0;
    padding: .32rem;
    background: #ffffff;
    cursor: pointer;
}

.website-theme-color-control output {
    align-self: center;
    overflow: hidden;
    padding: 0 .55rem;
    color: #26354d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-theme-toggle {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: .55rem;
    border: 1px solid #d5deea;
    border-radius: 6px;
    padding: .5rem .65rem;
    color: #26354d;
    font-size: .8rem;
    cursor: pointer;
}

.website-theme-save-options {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    border-top: 1px solid #e8edf4;
    padding-top: .9rem;
}

.website-theme-save-options label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--theme-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.website-theme-save {
    width: 100%;
    min-height: 44px;
    margin-top: 1rem;
}

.website-theme-empty-options {
    margin: 1rem 0 0;
    color: var(--theme-muted);
    font-size: .82rem;
}

@media (max-width: 1199.98px) {
    .website-theme-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .website-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .website-theme-hero-color {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .website-theme-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-theme-customizer {
        position: static;
    }

    .website-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .website-theme-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .website-theme-heading .dashboard-secondary-btn {
        justify-content: center;
    }

    .website-template-grid,
    .website-theme-field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-template-description {
        min-height: 0;
    }

    .website-custom-theme-save {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-custom-theme-save .dashboard-secondary-btn {
        justify-content: center;
    }

    .website-theme-width-control,
    .website-theme-width-help {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 992px) {
    .website-theme-layout {
        height: auto;
        min-height: 0;
        grid-template-columns: minmax(0, 1.9fr) minmax(380px, .9fr);
        gap: 1rem;
        align-items: start;
        overflow: visible;
    }

    .website-theme-library {
        display: grid;
        height: min(800px, calc(100dvh - 8rem));
        min-height: 620px;
        max-height: none;
        grid-template-rows: auto auto;
        align-content: start;
        border: 1px solid var(--theme-border);
        border-radius: 8px;
        padding: .8rem 0 .45rem .8rem;
        background: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 8px 28px rgba(15, 31, 57, .06);
        scrollbar-color: #7f93ad #edf2f7;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
    }

    .website-theme-section-head {
        position: sticky;
        top: -.8rem;
        z-index: 4;
        margin-right: .8rem;
        padding: .8rem 0 .7rem;
        background: #ffffff;
    }

    .website-template-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: 0;
        align-content: start;
        gap: .6rem;
        overflow: visible;
        padding: .15rem .8rem .35rem .15rem;
    }

    .website-theme-library::-webkit-scrollbar {
        width: 10px;
    }

    .website-theme-library::-webkit-scrollbar-track {
        border-radius: 999px;
        background: #edf2f7;
    }

    .website-theme-library::-webkit-scrollbar-thumb {
        border: 2px solid #edf2f7;
        border-radius: 999px;
        background: #7f93ad;
    }

    .website-template-grid:focus-visible {
        outline: 3px solid rgba(15, 102, 242, .2);
        outline-offset: 3px;
    }

    .website-template-copy {
        min-height: 54px;
        padding: .48rem .55rem;
    }

    .website-template-visual-caption {
        min-height: 46px;
        padding: .45rem .52rem;
    }

    .website-template-visual-caption strong {
        font-size: .76rem;
    }

    .website-template-copy strong {
        font-size: .8rem;
    }

    .website-template-default-palette {
        gap: .24rem;
    }

    .website-template-default-palette i {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .website-template-copy small,
    .website-template-selection-label {
        font-size: .62rem;
    }

    .website-template-description {
        min-height: 0;
        padding: 0 .55rem .4rem;
        font-size: .66rem;
    }

    .website-template-card-actions {
        padding: .36rem .55rem;
    }

    .website-template-card-actions a {
        font-size: .7rem;
    }

    .website-theme-customizer {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        overflow: visible;
        overscroll-behavior: auto;
        border: 1px solid var(--theme-border);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 12px 34px rgba(15, 31, 57, .11);
    }

    .website-theme-preview {
        display: contents;
    }

    .website-theme-preview-head {
        margin-bottom: 0;
        padding: 1rem 1rem .7rem;
        background: #f7f9fc;
    }

    .website-theme-preview-media {
        position: sticky;
        top: 4.5rem;
        z-index: 5;
        align-self: start;
        width: auto;
        margin-inline: 1rem;
        box-shadow: 0 10px 24px rgba(15, 31, 57, .12);
    }

    .website-theme-selected-meta {
        padding: .7rem 1rem 1rem;
        background: #f7f9fc;
    }

    .website-theme-settings {
        margin-top: 0;
        border: 0;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .website-theme-layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr);
    }

    .website-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ===== Collapsible admin sidebar ===== */

.admin-collapse-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .65rem;
    margin-top: .75rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    padding: .75rem .75rem .25rem;
    background: transparent;
    color: #8fa0ba;
    font-size: .85rem;
    font-weight: 700;
    text-align: left;
}

.admin-collapse-toggle:hover {
    color: #ffffff;
}

.admin-collapse-arrows {
    display: inline-grid;
    flex: none;
    width: 18px;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 1180px) {
    .admin-collapse-toggle {
        display: none;
    }
}

@media (min-width: 1181px) {
    .admin-sidebar {
        transition: flex-basis .18s ease, width .18s ease, min-width .18s ease, max-width .18s ease;
    }

    body.admin-sidebar-collapsed .admin-sidebar {
        flex: 0 0 76px;
        width: 76px;
        min-width: 76px;
        max-width: 76px;
        overflow-x: hidden;
    }

    body.admin-sidebar-collapsed .admin-sidebar .admin-nav-text,
    body.admin-sidebar-collapsed .admin-sidebar .admin-nav-caret,
    body.admin-sidebar-collapsed .admin-sidebar .admin-nav-group,
    body.admin-sidebar-collapsed .admin-sidebar .admin-sidebar-card,
    body.admin-sidebar-collapsed .admin-brand > span:not(.admin-brand-mark) {
        display: none;
    }

    body.admin-sidebar-collapsed .admin-sidebar-search {
        display: none;
    }

    body.admin-sidebar-collapsed .admin-brand {
        justify-content: center;
    }

    body.admin-sidebar-collapsed .admin-sidebar .nav-link,
    body.admin-sidebar-collapsed .admin-sidebar .admin-nav-group-toggle {
        justify-content: center;
        padding-right: .4rem;
        padding-left: .4rem;
    }

    body.admin-sidebar-collapsed .admin-sidebar .admin-nav-group-label {
        justify-content: center;
    }

    body.admin-sidebar-collapsed .admin-collapse-toggle {
        justify-content: center;
        margin-top: auto;
        padding-right: .4rem;
        padding-left: .4rem;
    }
}

/* ===== Vehicle add/edit tabbed editor ===== */

.vehicle-editor-tabs {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid #dfe6ef;
    background: #ffffff;
    overflow: hidden;
}

.inventory-form-page > *,
.inventory-form-page .vehicle-form {
    min-width: 0;
    max-width: 100%;
}

.vehicle-editor-tab-list {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.vehicle-editor-tab-list::-webkit-scrollbar {
    display: none;
}

.vehicle-editor-tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 52px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: .8rem .15rem .7rem;
    color: #475569;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.vehicle-editor-tab:hover {
    color: #0f4fc4;
}

.vehicle-editor-tab.is-active {
    border-bottom-color: #1769ff;
    color: #0b57d0;
}

.vehicle-editor-tab:focus-visible {
    z-index: 1;
    border-radius: 4px;
    outline: 3px solid rgba(23, 105, 255, .25);
    outline-offset: -3px;
}

.vehicle-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.vehicle-form.is-tab-ready .vehicle-form-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
}

.vehicle-form.is-tab-ready .vehicle-form-main,
.vehicle-form.is-tab-ready .vehicle-form-side {
    display: contents;
}

.vehicle-form.is-tab-ready [data-vehicle-tab-panel] {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
}

.vehicle-form.is-tab-ready [data-vehicle-tab-column="main"] {
    grid-column: 1;
}

.vehicle-form.is-tab-ready [data-vehicle-tab-column="aside"] {
    grid-column: 2;
}

.vehicle-form.is-tab-ready [data-vehicle-tab-panel].is-active {
    animation: vehicle-tab-enter .16s ease-out;
}

@keyframes vehicle-tab-enter {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-form-main,
.vehicle-form-side {
    display: grid;
    gap: 1.15rem;
    min-width: 0;
}

.admin-body .vehicle-form .dashboard-panel-head.is-compact {
    margin-bottom: 1rem;
}

.admin-body .vehicle-form .dashboard-panel-head.is-compact p {
    max-width: 68ch;
    margin: .3rem 0 0;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.45;
}

.admin-body .vehicle-description-editor {
    min-height: 340px;
    line-height: 1.6;
    resize: vertical;
}

.vehicle-ai-assistant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.vehicle-ai-assistant.is-locked {
    border-color: #dbe3ee;
    background: #f8fafc;
}

.vehicle-ai-assistant-copy,
.vehicle-ai-assistant > div {
    min-width: 0;
}

.vehicle-ai-assistant strong {
    display: block;
    margin-bottom: .25rem;
    color: #0f172a;
    font-size: .94rem;
}

.vehicle-ai-assistant p {
    max-width: 70ch;
    margin: 0 0 .35rem;
    color: #526176;
    font-size: .84rem;
    line-height: 1.45;
}

.vehicle-ai-assistant .dashboard-primary-btn,
.vehicle-ai-assistant .dashboard-secondary-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.vehicle-catalog-manual-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: .25rem 0 1rem;
    border-top: 1px solid #e5eaf2;
    padding-top: 1rem;
}

.vehicle-catalog-manual-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.vehicle-catalog-manual-head p {
    max-width: 65ch;
    margin: .3rem 0 0;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.45;
}

.vehicle-catalog-manual-head [data-vehicle-catalog-status] {
    flex: 0 0 auto;
    max-width: 36ch;
    font-size: .8rem;
    font-weight: 700;
    text-align: right;
}

.vehicle-catalog-selectors .form-select:disabled {
    color: #8290a3;
    background-color: #f3f6fa;
}

.vehicle-feature-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.vehicle-feature-heading p {
    margin: .3rem 0 0;
    color: #64748b;
    font-size: .88rem;
}

.vehicle-feature-summary {
    display: flex;
    min-width: max-content;
    align-items: center;
    gap: .75rem;
    color: #334155;
    font-size: .84rem;
}

.vehicle-feature-summary button {
    border: 0;
    background: transparent;
    color: #2563eb;
    padding: .2rem 0;
    font-weight: 700;
}

.vehicle-feature-summary button:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.vehicle-feature-group {
    min-width: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid #e5eaf2;
    padding: 1rem 0 .2rem;
}

.vehicle-feature-group:first-child {
    border-top: 0;
    padding-top: 0;
}

.vehicle-feature-group legend {
    float: none;
    width: auto;
    margin: 0 0 .7rem;
    color: #0f172a;
    font-size: .88rem;
    font-weight: 800;
}

.vehicle-feature-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .55rem;
}

.vehicle-feature-choice {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: .65rem;
    margin: 0;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    background: #f8fafc;
    padding: .65rem .75rem;
    color: #334155;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.25;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.vehicle-feature-choice:hover {
    border-color: #a9b9cd;
    background: #ffffff;
}

.vehicle-feature-choice:has(.form-check-input:checked) {
    border-color: #72a5ff;
    background: #eef5ff;
    color: #123a76;
}

.vehicle-feature-choice .form-check-input {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

.vehicle-feature-custom {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
    border-top: 1px solid #e5eaf2;
    padding-top: 1rem;
}

.vehicle-feature-custom .input-group {
    max-width: 720px;
}

.vehicle-custom-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-height: 0;
}

.vehicle-custom-feature-list.is-empty {
    display: none;
}

.vehicle-custom-feature {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .45rem;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #eff6ff;
    color: #1e3a5f;
    padding: .35rem .4rem .35rem .65rem;
    font-size: .84rem;
    font-weight: 700;
}

.vehicle-custom-feature > span {
    overflow-wrap: anywhere;
}

.vehicle-custom-feature button {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #47627f;
    padding: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.vehicle-custom-feature button:hover {
    background: #dbeafe;
    color: #0f172a;
}

.admin-form-grid.is-tight {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .8rem;
}

.vehicle-photos-placeholder {
    display: grid;
    gap: .4rem;
    justify-items: center;
    text-align: center;
    border: 2px dashed #d7e0ec;
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    background: #f8fafd;
}

.vehicle-photos-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #94a3b8;
}

.vehicle-photos-icon svg {
    width: 30px;
    height: 30px;
}

.vehicle-photos-placeholder strong {
    color: #0b1730;
    font-size: .95rem;
}

.vehicle-photos-placeholder span {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.45;
    max-width: 34ch;
}

.vehicle-form-savebar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.15rem;
    border-top: 1px solid #e3e9f2;
    padding: .85rem 0;
    background: rgba(243, 246, 251, .96);
    backdrop-filter: blur(6px);
}

.vehicle-form-savebar > a:first-child {
    margin-right: auto;
}

.vehicle-editor-step {
    color: #64748b;
    font-size: .84rem;
    font-weight: 700;
}

.vehicle-editor-step-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

@media (max-width: 991.98px) {
    .vehicle-form-grid,
    .vehicle-form.is-tab-ready .vehicle-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-form.is-tab-ready [data-vehicle-tab-column="main"],
    .vehicle-form.is-tab-ready [data-vehicle-tab-column="aside"] {
        grid-column: 1;
    }

    .vehicle-catalog-manual-head {
        align-items: stretch;
        flex-direction: column;
    }

    .vehicle-catalog-manual-head [data-vehicle-catalog-status] {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .vehicle-editor-tab-list {
        gap: 1.1rem;
    }

    .vehicle-editor-tab {
        min-height: 48px;
        font-size: .84rem;
    }

    .vehicle-catalog-manual-head {
        align-items: stretch;
        flex-direction: column;
    }

    .vehicle-catalog-manual-head [data-vehicle-catalog-status] {
        max-width: none;
        text-align: left;
    }

    .vehicle-feature-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .vehicle-feature-summary {
        justify-content: space-between;
    }

    .vehicle-feature-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-body .vehicle-description-editor {
        min-height: 260px;
    }

    .vehicle-ai-assistant {
        align-items: stretch;
        flex-direction: column;
        gap: .85rem;
    }

    .vehicle-ai-assistant .dashboard-primary-btn,
    .vehicle-ai-assistant .dashboard-secondary-btn {
        width: 100%;
        min-height: 44px;
    }

    .vehicle-form-savebar {
        flex-wrap: wrap;
    }

    .vehicle-editor-step {
        order: 3;
        width: 100%;
        text-align: right;
    }

    .vehicle-editor-step-actions {
        margin-left: auto;
    }

    .vehicle-editor-step-actions .dashboard-primary-btn,
    .vehicle-editor-step-actions .dashboard-secondary-btn {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-form.is-tab-ready [data-vehicle-tab-panel].is-active {
        animation: none;
    }
}

/* ===== Customer testimonial workflow ===== */

.testimonial-admin-page {
    --testimonial-ink: #10203a;
    --testimonial-muted: #66758d;
    --testimonial-line: #dce4ef;
    --testimonial-gold: #e7a317;
}

.testimonial-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-admin-stats article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem 1rem;
    border: 1px solid var(--testimonial-line);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 31, 57, .05);
}

.testimonial-admin-stats span,
.testimonial-admin-stats small {
    color: var(--testimonial-muted);
}

.testimonial-admin-stats span {
    font-size: .78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.testimonial-admin-stats strong {
    grid-row: span 2;
    color: var(--testimonial-ink);
    font-size: 1.8rem;
    line-height: 1;
}

.testimonial-admin-stats small {
    font-size: .75rem;
}

.testimonial-admin-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-settings-card,
.testimonial-request-card,
.testimonial-create-card,
.testimonial-request-history,
.testimonial-admin-item {
    border-radius: 10px;
    padding: clamp(1rem, 1.5vw, 1.5rem);
}

.testimonial-panel-heading,
.testimonial-admin-item-head,
.testimonial-list-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.testimonial-panel-heading {
    margin-bottom: 1rem;
}

.testimonial-panel-heading h2,
.testimonial-list-heading h2,
.testimonial-admin-item h3 {
    margin: .2rem 0 0;
    color: var(--testimonial-ink);
}

.testimonial-panel-heading h2,
.testimonial-list-heading h2 {
    font-size: 1.15rem;
}

.testimonial-panel-kicker {
    color: #1769d2;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.testimonial-approval-note,
.testimonial-private-note {
    border-radius: 999px;
    padding: .3rem .55rem;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.testimonial-approval-note {
    background: #e9f8ef;
    color: #087a43;
}

.testimonial-private-note {
    background: #edf5ff;
    color: #155eef;
}

.testimonial-request-card > p {
    max-width: 60ch;
    margin: -.35rem 0 1rem;
    color: var(--testimonial-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.testimonial-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-settings-card .admin-form-grid,
.testimonial-request-card .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-form-grid .admin-field-wide {
    grid-column: 1 / -1;
}

.admin-field > span small {
    color: var(--testimonial-muted);
    font-weight: 500;
}

.testimonial-list-heading {
    align-items: end;
    margin: 2rem 0 .75rem;
}

.testimonial-list-heading p {
    max-width: 52ch;
    margin: 0;
    color: var(--testimonial-muted);
    font-size: .82rem;
    text-align: right;
}

.testimonial-admin-list {
    display: grid;
    gap: .85rem;
}

.testimonial-admin-item {
    border-left: 4px solid #e5a51a;
}

.testimonial-admin-item.is-approved {
    border-left-color: #15955d;
}

.testimonial-admin-item h3 {
    font-size: 1.05rem;
}

.testimonial-admin-item-head p {
    margin: .2rem 0 0;
    color: var(--testimonial-muted);
    font-size: .76rem;
}

.testimonial-admin-stars {
    color: var(--testimonial-gold);
    font-size: .9rem;
    letter-spacing: .08em;
}

.testimonial-admin-stars span {
    color: #cbd5e1;
}

.testimonial-admin-status {
    display: grid;
    justify-items: end;
    gap: .25rem;
}

.testimonial-admin-status > span,
.testimonial-request-status {
    border-radius: 999px;
    padding: .3rem .55rem;
    font-size: .7rem;
    font-weight: 800;
}

.testimonial-admin-status > span.is-approved,
.testimonial-request-status.is-completed {
    background: #e9f8ef;
    color: #087a43;
}

.testimonial-admin-status > span.is-pending,
.testimonial-request-status.is-pending {
    background: #fff7df;
    color: #8a5700;
}

.testimonial-request-status.is-expired,
.testimonial-request-status.is-cancelled {
    background: #f1f5f9;
    color: #64748b;
}

.testimonial-admin-status small {
    color: var(--testimonial-muted);
    font-size: .7rem;
}

.testimonial-admin-item > blockquote {
    max-width: 75ch;
    margin: 1rem 0;
    color: #2c3c55;
    font-size: .96rem;
    line-height: 1.65;
}

.testimonial-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.testimonial-admin-actions form,
.testimonial-request-history form {
    margin: 0;
}

.testimonial-delete-btn {
    color: #b42318;
}

.testimonial-edit-panel {
    margin-top: 1rem;
    border-top: 1px solid var(--testimonial-line);
    padding-top: 1rem;
}

.testimonial-empty-state {
    padding: 2.5rem;
    text-align: center;
}

.testimonial-empty-state strong {
    color: var(--testimonial-ink);
    font-size: 1.1rem;
}

.testimonial-empty-state p {
    margin: .4rem 0 0;
    color: var(--testimonial-muted);
}

.testimonial-request-history {
    margin-top: 1rem;
}

.testimonial-request-history .table > :not(caption) > * > * {
    padding: .85rem .75rem;
}

.testimonial-request-history td small {
    display: block;
    margin-top: .15rem;
    color: var(--testimonial-muted);
}

.dealer-testimonials-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: linear-gradient(180deg, var(--dealer-template-muted, #f5f7fb), #fff);
}

.dealer-testimonials-section.is-page {
    background: #fff;
}

.dealer-testimonials-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dealer-testimonials-heading > div {
    max-width: 64ch;
}

.dealer-testimonials-heading span,
.testimonial-page-hero > .container > span,
.dealer-testimonial-page-cta span,
.testimonial-request-intro > span {
    color: var(--dealer-primary, #155eef);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dealer-testimonials-heading h2 {
    margin: .4rem 0 0;
    color: var(--dealer-template-ink, #111827);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.12;
}

.dealer-testimonials-heading p {
    margin: .7rem 0 0;
    color: #5d6b80;
    font-size: 1rem;
    line-height: 1.65;
}

.dealer-testimonials-heading > a {
    flex: 0 0 auto;
    color: var(--dealer-primary, #155eef);
    font-weight: 750;
    text-decoration: none;
}

.dealer-testimonials-heading > a:hover {
    text-decoration: underline;
}

.dealer-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dealer-testimonial-card {
    display: flex;
    min-width: 0;
    min-height: 260px;
    flex-direction: column;
    margin: 0;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 14px;
    padding: 1.4rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 31, 57, .08);
}

.dealer-testimonial-stars {
    color: #cbd5e1;
    font-size: 1rem;
    letter-spacing: .1em;
}

.dealer-testimonial-stars span {
    color: #e7a317;
}

.dealer-testimonial-card blockquote {
    flex: 1;
    margin: 1rem 0 1.4rem;
    color: #26354d;
    font-size: 1.02rem;
    line-height: 1.7;
}

.dealer-testimonial-card figcaption {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    border-top: 1px solid #edf1f6;
    padding-top: 1rem;
}

.dealer-testimonial-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 12%, white);
    color: var(--dealer-primary, #155eef);
    font-weight: 850;
}

.dealer-testimonial-card figcaption strong,
.dealer-testimonial-card figcaption small {
    display: block;
}

.dealer-testimonial-card figcaption strong {
    color: #16243a;
    font-size: .88rem;
}

.dealer-testimonial-card figcaption small {
    margin-top: .12rem;
    color: #5b6779;
    font-size: .7rem;
}

.dealer-testimonial-card figcaption > a {
    color: var(--dealer-primary, #155eef);
    font-size: .72rem;
    font-weight: 750;
}

.testimonial-page-hero {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: linear-gradient(135deg, #0d1728, color-mix(in srgb, var(--dealer-primary, #155eef) 35%, #0d1728));
    color: #fff;
}

.testimonial-page-hero h1 {
    max-width: 14ch;
    margin: .55rem 0 .75rem;
    font-size: clamp(2.3rem, 6vw, 4.2rem);
    line-height: 1.02;
}

.testimonial-page-hero p {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    line-height: 1.65;
}

.dealer-testimonial-page-cta {
    padding: 2.5rem 0 4.5rem;
}

.dealer-testimonial-page-cta > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: 16px;
    padding: 2rem;
    background: #f5f7fb;
}

.dealer-testimonial-page-cta h2 {
    margin: .25rem 0 0;
    color: #15243a;
}

.dealer-testimonial-page-cta > .container > div:last-child {
    display: flex;
    gap: .65rem;
}

.testimonial-request-page {
    min-height: 70vh;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: #f3f6fb;
}

.testimonial-request-shell {
    max-width: 780px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dce4ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 31, 57, .1);
}

.testimonial-request-intro {
    padding: clamp(1.5rem, 5vw, 3rem);
    background: linear-gradient(135deg, #0d1728, color-mix(in srgb, var(--dealer-primary, #155eef) 28%, #0d1728));
    color: #fff;
}

.testimonial-request-intro h1 {
    margin: .5rem 0 .75rem;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.08;
}

.testimonial-request-intro p {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.65;
}

.testimonial-request-form {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.testimonial-request-field > span,
.testimonial-rating-field legend {
    display: block;
    margin-bottom: .45rem;
    color: #26354d;
    font-size: .88rem;
    font-weight: 750;
}

.testimonial-request-field > small {
    display: block;
    margin-top: .35rem;
    color: #718096;
    font-size: .75rem;
}

.testimonial-rating-field {
    margin: 0;
    border: 0;
    padding: 0;
}

.testimonial-rating-options {
    display: flex;
    width: max-content;
    flex-direction: row-reverse;
}

.testimonial-rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.testimonial-rating-options label {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.8rem;
}

.testimonial-rating-options input:checked ~ label,
.testimonial-rating-options label:hover,
.testimonial-rating-options label:hover ~ label {
    color: #e7a317;
}

.testimonial-rating-options input:focus-visible + label {
    border-radius: 8px;
    outline: 3px solid color-mix(in srgb, var(--dealer-primary, #155eef) 28%, transparent);
}

.testimonial-publication-consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    padding: 1rem;
    background: #f8fafc;
    color: #52637a;
    font-size: .82rem;
    line-height: 1.55;
}

.testimonial-publication-consent input {
    flex: 0 0 auto;
    margin-top: .2rem;
}

.testimonial-request-complete {
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
}

.testimonial-request-complete > span {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: #e9f8ef;
    color: #087a43;
    font-size: 1.5rem;
    font-weight: 850;
}

.testimonial-request-complete h2 {
    color: #15243a;
}

.testimonial-request-complete p {
    max-width: 55ch;
    margin: 0 auto 1.5rem;
    color: #66758d;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .testimonial-admin-top-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonial-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .testimonial-admin-stats,
    .testimonial-form-grid,
    .dealer-testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonial-list-heading,
    .dealer-testimonials-heading,
    .dealer-testimonial-page-cta > .container {
        align-items: stretch;
        flex-direction: column;
    }

    .testimonial-list-heading p {
        text-align: left;
    }

    .dealer-testimonials-heading > a {
        align-self: flex-start;
    }

    .dealer-testimonial-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .testimonial-settings-card .admin-form-grid,
    .testimonial-request-card .admin-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .testimonial-admin-item-head {
        flex-direction: column;
    }

    .testimonial-admin-status {
        justify-items: start;
    }

    .testimonial-admin-actions > form,
    .testimonial-admin-actions > button {
        width: 100%;
    }

    .testimonial-admin-actions button {
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }

    .dealer-testimonial-page-cta > .container > div:last-child {
        flex-direction: column;
    }

    .testimonial-rating-options label {
        width: 44px;
    }
}

/* ===== Sidebar submenu ===== */

.admin-sidebar .admin-nav-group {
    margin: .15rem 0 .45rem 1.9rem;
    padding-left: 0;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.admin-sidebar .admin-nav-group .nav-link {
    position: relative;
    min-height: 34px;
    margin-bottom: .05rem;
    padding: .4rem .7rem .4rem 1.2rem;
    border-radius: 6px;
    color: #9db0c9;
    font-size: .86rem;
    font-weight: 600;
    background: transparent;
    box-shadow: none;
}

.admin-sidebar .admin-nav-group .nav-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 9px;
    height: 9px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #3b4a63;
    box-shadow: 0 0 0 3px #0a1b30;
    transition: background .15s ease, box-shadow .15s ease;
}

.admin-sidebar .admin-nav-group .nav-link:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: none;
}

.admin-sidebar .admin-nav-group .nav-link:hover::before {
    background: #6b7d98;
}

.admin-sidebar .admin-nav-group .nav-link.active {
    color: #3b8bff;
    font-weight: 750;
    background: transparent;
    box-shadow: none;
}

.admin-sidebar .admin-nav-group .nav-link.active::before {
    background: #3b8bff;
    box-shadow: 0 0 0 3px #0a1b30, 0 0 0 4px rgba(59, 139, 255, .3);
}

/* Super Admin destinations use recognizable icons instead of workflow-style dots. */
.admin-sidebar #navSuperAdmin.admin-nav-group {
    margin: .2rem 0 .55rem;
    border-left: 0;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link {
    min-height: 44px;
    margin: .08rem 0;
    gap: .65rem;
    padding: .36rem .55rem;
    border-radius: 8px;
    transition: color .15s ease, background-color .15s ease;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link::before {
    content: none;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .admin-nav-icon {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid rgba(150, 175, 211, .1);
    border-radius: 7px;
    color: #8fa7c7;
    background: rgba(150, 175, 211, .07);
    opacity: 1;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .admin-nav-icon svg {
    width: 16px;
    height: 16px;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link:hover {
    color: #f7fbff;
    background: rgba(255, 255, 255, .055);
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link:hover .admin-nav-icon {
    color: #c7dbf6;
    border-color: rgba(150, 175, 211, .2);
    background: rgba(150, 175, 211, .12);
    transform: translateX(1px);
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link.active {
    color: #6ba5ff;
    background: rgba(59, 139, 255, .11);
    box-shadow: inset 2px 0 0 #3b8bff;
}

.admin-sidebar #navSuperAdmin.admin-nav-group .nav-link.active .admin-nav-icon {
    color: #ffffff;
    border-color: #3b8bff;
    background: #2f7ff5;
    box-shadow: 0 4px 12px rgba(47, 127, 245, .25);
}

/* ===== Native dealer email ===== */

.email-inbox-page {
    display: grid;
    max-width: none;
    gap: .9rem;
    color: #0f1d35;
}

.email-workspace-head {
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(260px, 520px) minmax(280px, auto);
    min-height: 74px;
    border-bottom: 1px solid #e2e8f1;
    padding: 0 0 .9rem;
}

.email-workspace-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.email-workspace-mark {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    background: #eaf2ff;
    color: #0b63f6;
}

.email-workspace-mark svg {
    width: 20px;
    height: 20px;
}

.email-workspace-brand p {
    max-width: 46ch;
    margin: .35rem 0 0;
    color: #607089;
    font-size: .78rem;
}

.email-workspace-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6dfeb;
    border-radius: 8px;
    padding: 0 .85rem;
    background: #fff;
    color: #617189;
    box-shadow: 0 4px 14px rgba(29, 52, 86, .04);
}

.email-workspace-search:focus-within {
    border-color: #75a8f8;
    box-shadow: 0 0 0 3px rgba(11, 99, 246, .11);
}

.email-workspace-search svg {
    width: 18px;
    height: 18px;
}

.email-workspace-search-submit {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: -.35rem;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.email-workspace-search-submit:hover,
.email-workspace-search-submit:focus-visible {
    background: #edf4ff;
    color: #0b63f6;
    outline: 0;
}

.email-workspace-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: .65rem .55rem;
    background: transparent;
    color: #13213a;
}

.email-workspace-search input::placeholder {
    color: #929db0;
}

.email-workspace-search a {
    color: #76869d;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.email-workspace-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    min-width: 0;
}

.email-language-switcher .btn {
    display: grid;
    min-height: 36px;
    min-width: 40px;
    place-items: center;
    border-color: #d9e1ec;
    padding: .35rem .6rem;
    color: #52627a;
    text-decoration: none;
}

.email-language-switcher .btn.active {
    border-color: #0b63f6;
    background: #0b63f6;
    color: #fff;
}

.email-account-actions,
.email-error-actions,
.email-reading-actions,
.email-toolbar-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.email-account-actions form,
.email-error-actions form,
.email-reading-actions form {
    margin: 0;
}

.email-reading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.email-account-switcher {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.email-account-switcher label {
    color: #52637a;
    font-size: .9rem;
    font-weight: 700;
}

.email-account-switcher .form-select {
    min-width: min(285px, 31vw);
    min-height: 44px;
    border-color: #d6dfeb;
}

.email-status-warning {
    border: 1px solid #f2c66d;
    border-radius: 8px;
    padding: .85rem 1rem;
    background: #fff8e8;
    color: #633f00;
}

.email-status-warning strong {
    display: block;
    margin-bottom: .4rem;
}

.email-status-warning ul {
    margin: 0;
    padding-left: 1.1rem;
}

.email-signin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    overflow: hidden;
    min-height: 430px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(26, 43, 69, .07);
}

.email-signin-main {
    display: grid;
    align-content: center;
    gap: 1.35rem;
    max-width: 680px;
    padding: 3rem clamp(1.5rem, 5vw, 4.5rem);
}

.email-signin-main h2,
.email-connection-error h2 {
    margin: .15rem 0 .45rem;
    color: #0b1730;
    font-size: 1.65rem;
}

.email-signin-main p,
.email-connection-error p,
.email-signin-aside p {
    margin: 0;
    color: #607086;
}

.email-signin-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: #1763d8;
}

.email-signin-mark svg {
    width: 25px;
    height: 25px;
}

.email-eyebrow {
    margin: 0;
    color: #1763d8;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.email-signin-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: .8rem;
}

.email-signin-form .dashboard-primary-btn {
    min-height: 42px;
    white-space: nowrap;
}

.email-signin-aside {
    display: grid;
    align-content: center;
    gap: .85rem;
    border-left: 1px solid #dbe3ee;
    padding: 2.5rem;
    background: #f6f9fd;
}

.email-signin-aside > strong {
    color: #0b1730;
    font-size: 1.08rem;
}

.email-security-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: .45rem;
    color: #276344;
    font-size: .88rem;
    font-weight: 650;
}

.email-security-note > span {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #dff5e7;
}

.email-connection-error {
    display: grid;
    min-height: 390px;
    place-items: center;
    align-content: center;
    gap: .8rem;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 2rem;
    background: #fff;
    text-align: center;
}

.email-client-shell {
    display: grid;
    grid-template-columns: 225px minmax(340px, 390px) minmax(440px, 1fr);
    min-width: 0;
    min-height: 680px;
    height: clamp(680px, calc(100vh - 210px), 860px);
    overflow: hidden;
    border: 1px solid #d7e0eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 42, 67, .06);
}

.email-folder-pane,
.email-message-pane,
.email-reading-pane {
    min-width: 0;
}

.email-folder-pane {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dfe6ef;
    padding: .8rem .7rem;
    background: #fbfcfe;
}

.email-compose-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 7px;
    background: #0b63f6;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 7px 16px rgba(11, 99, 246, .18);
}

.email-compose-btn:hover {
    background: #0f56c8;
}

.email-compose-btn svg,
.email-folder-icon svg,
.email-icon-btn svg,
.email-search-form svg,
.email-mobile-back svg {
    width: 18px;
    height: 18px;
}

.email-folder-list {
    display: grid;
    gap: .22rem;
    margin-top: .85rem;
}

.email-folder-link {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    border-radius: 6px;
    padding: .4rem .55rem;
    color: #526178;
    text-decoration: none;
}

.email-folder-link:hover {
    background: #eaf0f8;
    color: #13223a;
}

.email-folder-link.is-active {
    background: #e8f1ff;
    color: #075bd8;
    font-weight: 800;
}

.email-folder-link > strong {
    min-width: 22px;
    border-radius: 999px;
    padding: .1rem .38rem;
    background: #1767e8;
    color: #fff;
    font-size: .7rem;
    text-align: center;
}

.email-folder-account {
    display: grid;
    gap: .15rem;
    margin-top: auto;
    border-top: 1px solid #dfe6ef;
    margin-inline: -.1rem;
    border: 1px solid #e0e7f0;
    border-radius: 7px;
    padding: .75rem;
    background: #fff;
    overflow-wrap: anywhere;
}

.email-folder-account span {
    color: #77859a;
    font-size: .75rem;
}

.email-folder-account strong {
    color: #24344c;
    font-size: .78rem;
}

.email-message-pane {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dfe6ef;
    background: #fff;
}

.email-message-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem;
    border-bottom: 1px solid #e3e9f1;
    padding: 1rem 1.05rem .8rem;
}

.email-message-toolbar > div:first-child {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.email-message-toolbar h2 {
    margin: 0;
    color: #0b1730;
    font-size: 1.25rem;
}

.email-message-tabs {
    display: flex;
    grid-column: 1;
    align-items: center;
    gap: .25rem;
}

.email-message-tabs a {
    min-height: 34px;
    border-radius: 6px;
    padding: .45rem .75rem;
    color: #53627a;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.email-message-tabs a:hover {
    background: #f1f5fa;
    color: #173258;
}

.email-message-tabs a.is-active {
    background: #e8f1ff;
    color: #075bd8;
}

.email-message-toolbar > div:first-child > span {
    color: #7a8799;
    font-size: .78rem;
}

.email-toolbar-actions {
    grid-column: 2;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.email-advanced-search {
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid #edf1f6;
    padding-top: .55rem;
}

.email-advanced-search > summary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    color: #5e6e84;
    font-size: .75rem;
    font-weight: 700;
    list-style: none;
}

.email-advanced-search > summary::-webkit-details-marker {
    display: none;
}

.email-advanced-search > summary svg {
    width: 15px;
    height: 15px;
}

.email-bulk-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    min-width: 0;
    border-top: 1px solid #edf1f6;
    padding-top: .65rem;
}

.email-select-all {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #465870;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.email-select-all input,
.email-message-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #1767e8;
}

.email-bulk-actions > strong {
    margin-right: auto;
    color: #748297;
    font-size: .72rem;
    white-space: nowrap;
}

.email-bulk-actions .form-select {
    width: auto;
    min-width: 120px;
    max-width: 165px;
}

.email-search-form {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    flex: 1 1 180px;
    border: 1px solid #d8e1ed;
    border-radius: 7px;
    padding: .4rem .55rem;
    color: #6c7b90;
    background: #f8fafc;
}

.email-search-form input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 .35rem;
    background: transparent;
    color: #17243a;
}

.email-search-form a {
    color: #6c7b90;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.email-icon-btn,
.email-mobile-back {
    display: inline-grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d8e1ed;
    border-radius: 7px;
    padding: 0;
    background: #fff;
    color: #526178;
    text-decoration: none;
}

.email-icon-btn:hover,
.email-mobile-back:hover {
    border-color: #b9c9de;
    background: #f4f7fb;
    color: #1767e8;
}

.email-icon-btn.is-danger:hover {
    border-color: #f0b6bc;
    background: #fff2f3;
    color: #bd2936;
}

.email-message-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    max-height: none;
}

.email-message-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: .55rem;
    min-height: 78px;
    border-bottom: 1px solid #edf1f6;
    padding: 0 .9rem;
    color: #26364d;
}

.email-message-row.has-selection-control {
    grid-template-columns: 20px 28px minmax(0, 1fr);
}

.email-message-row:hover {
    background: #f7faff;
}

.email-message-row.is-checked {
    background: #edf5ff;
    box-shadow: inset 3px 0 #1767e8;
}

.email-message-checkbox {
    margin: 0;
}

.email-message-star {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #1767e8;
    font-size: 1.05rem;
    line-height: 1;
}

.email-message-row-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .75rem 0;
    color: #26364d;
    text-decoration: none;
}

.email-message-row.is-selected {
    background: #e8f1ff;
    box-shadow: inset 3px 0 #1767e8;
}

.email-message-row.is-unread {
    background-color: #f2f7ff;
}

.email-sender-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #0b63f6;
    color: #fff;
    font-size: .8rem;
    font-weight: 850;
}

.email-message-copy {
    display: grid;
    min-width: 0;
    gap: .15rem;
}

.email-message-from,
.email-message-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.email-message-from {
    color: #4b5c73;
    font-size: .82rem;
}

.email-message-copy strong {
    color: #122039;
    font-size: .84rem;
    font-weight: 650;
}

.email-message-row.is-unread .email-message-from,
.email-message-row.is-unread .email-message-copy strong {
    color: #07162e;
    font-weight: 850;
}

.email-message-meta {
    display: grid;
    justify-items: end;
    gap: .2rem;
    color: #78869a;
    font-size: .71rem;
}

.email-message-meta small {
    font-size: .67rem;
}

.email-list-empty,
.email-reading-pane.is-empty {
    display: grid;
    min-height: 390px;
    place-items: center;
    align-content: center;
    gap: .45rem;
    padding: 2rem;
    color: #78869a;
    text-align: center;
}

.email-list-empty svg,
.email-reading-pane.is-empty > svg {
    width: 34px;
    height: 34px;
    margin-bottom: .35rem;
    color: #9aa8ba;
}

.email-list-empty strong,
.email-reading-pane.is-empty strong {
    color: #35445a;
}

.email-list-empty p,
.email-reading-pane.is-empty p {
    margin: 0;
    font-size: .85rem;
}

.email-reading-pane {
    min-height: 0;
    overflow-y: auto;
    max-height: none;
    background: #fff;
}

.email-reading-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    border-bottom: 1px solid #e3e9f1;
    padding: .55rem .9rem;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
}

.email-reading-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: .15rem;
    width: 100%;
}

.email-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    padding: .45rem .55rem;
    background: transparent;
    color: #334861;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.email-action-btn:hover,
.email-action-btn:focus-visible {
    background: #edf4ff;
    color: #075bd8;
}

.email-action-btn.is-danger:hover,
.email-action-btn.is-danger:focus-visible {
    background: #fff0f1;
    color: #b42332;
}

.email-action-btn > span,
.email-action-btn svg {
    width: 17px;
    height: 17px;
}

.email-forward-action::before {
    content: "\2192";
    font-size: 1.05rem;
    line-height: 1;
}

.email-more-actions {
    position: relative;
    margin-left: auto;
}

.email-more-actions > summary {
    display: grid;
    width: 38px;
    height: 38px;
    cursor: pointer;
    place-items: center;
    border-radius: 6px;
    color: #52627a;
    list-style: none;
}

.email-more-actions > summary::-webkit-details-marker {
    display: none;
}

.email-more-actions > summary:hover,
.email-more-actions[open] > summary {
    background: #edf4ff;
    color: #075bd8;
}

.email-more-actions > summary svg {
    width: 18px;
    height: 18px;
}

.email-more-menu {
    position: absolute;
    top: calc(100% + .35rem);
    right: 0;
    z-index: 5;
    min-width: 170px;
    overflow: hidden;
    border: 1px solid #dce4ee;
    border-radius: 7px;
    padding: .35rem;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 38, 66, .14);
}

.email-more-menu button {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 5px;
    padding: .45rem .65rem;
    background: transparent;
    color: #334861;
    font-size: .78rem;
    font-weight: 650;
    text-align: left;
}

.email-more-menu button:hover,
.email-more-menu button:focus-visible {
    background: #edf4ff;
    color: #075bd8;
}

.email-more-compact-only {
    display: none;
}

.email-mobile-back {
    display: none;
    margin-right: auto;
}

.email-message-detail {
    padding: clamp(1.35rem, 2.4vw, 2.15rem);
}

.email-message-detail h2 {
    margin: 0 0 1.35rem;
    overflow-wrap: anywhere;
    color: #0b1730;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.email-message-sender {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: .75rem;
    border-bottom: 1px solid #e6ebf2;
    padding-bottom: 1rem;
}

.email-message-sender > .email-sender-avatar {
    width: 42px;
    height: 42px;
    font-size: .85rem;
}

.email-message-addresses {
    display: grid;
    gap: .35rem;
    color: #5b6b80;
    font-size: .84rem;
}

.email-message-addresses > div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .45rem;
}

.email-message-addresses span {
    overflow-wrap: anywhere;
}

.email-message-addresses time {
    margin-top: .2rem;
    color: #8793a4;
}

.email-message-body {
    padding: 1.5rem 0;
    color: #26364b;
    font-family: Arial, sans-serif;
    font-size: .94rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.email-attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 1rem;
}

.email-attachment-list > a {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    border: 1px solid #dce4ee;
    border-radius: 6px;
    padding: .35rem .55rem;
    background: #f8fafc;
    color: #35465d;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.email-attachment-list > a:hover,
.email-attachment-list > a:focus-visible {
    border-color: #8bb6ff;
    background: #eff6ff;
    color: #075bd8;
}

.email-attachment-list small {
    color: #8491a3;
}

.email-compose-modal .modal-header,
.email-compose-modal .modal-footer {
    padding: 1rem 1.25rem;
}

.email-compose-modal .modal-title {
    margin-top: .1rem;
    font-size: 1.2rem;
}

.email-compose-fields {
    display: grid;
    gap: .85rem;
    padding: 1.15rem 1.25rem;
}

.email-compose-fields label {
    display: block;
    margin-bottom: .3rem;
    color: #4f6076;
    font-size: .8rem;
    font-weight: 750;
}

.email-editor-shell {
    overflow: hidden;
    border: 1px solid #cfd8e4;
    border-radius: 7px;
    background: #fff;
}

.email-editor-shell:focus-within {
    border-color: #73a9f6;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.email-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
    padding: .4rem;
    border-bottom: 1px solid #dbe3ee;
    background: #f6f8fb;
}

.email-editor-toolbar button {
    min-width: 2rem;
    height: 2rem;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 0 .5rem;
    background: transparent;
    color: #34455d;
    font-size: .82rem;
}

.email-editor-toolbar button:hover,
.email-editor-toolbar button:focus-visible {
    border-color: #c7d4e4;
    background: #fff;
}

.email-editor-toolbar > span {
    width: 1px;
    height: 1.35rem;
    margin: 0 .2rem;
    background: #d4dce7;
}

.email-rich-editor {
    min-height: 220px;
    max-height: 45vh;
    overflow-y: auto;
    padding: .8rem .9rem;
    color: #172033;
    line-height: 1.5;
    outline: 0;
}

.email-rich-editor:empty::before {
    color: #8995a6;
    content: attr(data-placeholder);
    pointer-events: none;
}

.email-rich-editor.is-invalid {
    box-shadow: inset 0 0 0 1px #dc3545;
}

.email-compose-attachment-preview {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem;
}

.email-compose-attachment-preview span {
    border: 1px solid #d9e2ed;
    border-radius: 999px;
    padding: .3rem .55rem;
    background: #f6f8fb;
    color: #475970;
    font-size: .76rem;
}

.email-admin-settings {
    overflow: hidden;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
}

.email-admin-settings > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    list-style: none;
}

.email-admin-settings > summary::-webkit-details-marker {
    display: none;
}

.email-admin-settings > summary > span:first-child {
    display: grid;
    gap: .15rem;
}

.email-admin-settings > summary strong {
    color: #18263c;
}

.email-admin-settings > summary small {
    color: #758398;
}

.email-admin-settings > summary > span:last-child {
    color: #63738a;
    font-size: 1.35rem;
}

.email-admin-settings[open] > summary {
    border-bottom: 1px solid #e2e8f0;
}

.email-admin-settings[open] > summary > span:last-child {
    transform: rotate(45deg);
}

.email-management-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
}

.email-account-panel {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
    padding: 1.25rem;
}

.email-account-panel + .email-account-panel {
    border-left: 1px solid #e2e8f0;
}

.email-account-form {
    display: grid;
    gap: 1rem;
}

.email-address-builder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: .65rem;
}

.email-address-builder > span {
    padding-bottom: .55rem;
    color: #64748b;
    font-weight: 800;
}

.email-empty-list {
    display: grid;
    gap: .25rem;
    border: 1px dashed #d7e0ec;
    border-radius: 8px;
    padding: 1.2rem;
    background: #f8fafd;
    color: #64748b;
}

.email-empty-list strong {
    color: #0b1730;
}

.email-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .55rem;
    background: #e2f5e9;
    color: #0a6b3d;
    font-size: .78rem;
    font-weight: 800;
}

.email-credential-ready {
    display: grid;
    gap: .35rem;
    min-width: 210px;
}

.email-credential-ready > span {
    color: #0a6b3d;
    font-size: .78rem;
    font-weight: 800;
}

.email-credential-update > summary {
    width: fit-content;
    color: #1763d8;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    list-style: none;
}

.email-credential-update > summary::-webkit-details-marker {
    display: none;
}

.email-credential-form {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 270px;
}

.email-credential-update .email-credential-form {
    margin-top: .45rem;
}

.email-credential-form .form-control {
    min-width: 180px;
}

.email-credential-form .dashboard-primary-btn,
.email-credential-form .dashboard-secondary-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.email-password-change-form {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
}

.email-password-change-form small {
    color: #64748b;
    font-size: .75rem;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .email-workspace-head {
        grid-template-columns: minmax(220px, 1fr) auto;
    }

    .email-workspace-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: 620px;
    }

    .email-client-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .email-reading-pane {
        display: none;
    }

    .email-client-shell.has-reading-pane .email-message-pane {
        display: none;
    }

    .email-client-shell.has-reading-pane .email-reading-pane {
        display: block;
    }

    .email-client-shell.has-reading-pane .email-mobile-back {
        display: inline-grid;
    }

    .email-client-shell.has-reading-pane .email-reading-head {
        justify-content: space-between;
    }

    .email-action-btn {
        width: 40px;
        min-width: 40px;
        justify-content: center;
        padding-inline: 0;
        font-size: 0;
    }

    .email-forward-action::before {
        font-size: 1.05rem;
    }
}

@media (max-width: 991.98px) {
    .email-workspace-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .email-workspace-search {
        grid-column: 1;
        grid-row: auto;
        max-width: none;
    }

    .email-workspace-controls {
        justify-content: space-between;
        width: 100%;
    }

    .email-signin-layout,
    .email-management-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .email-signin-aside,
    .email-account-panel + .email-account-panel {
        border-top: 1px solid #dbe3ee;
        border-left: 0;
    }

    .email-signin-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .email-signin-form .dashboard-primary-btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .email-workspace-head {
        min-height: 0;
    }

    .email-workspace-controls {
        align-items: stretch;
        flex-direction: column;
        gap: .65rem;
    }

    .email-language-switcher {
        align-self: flex-start;
    }

    .email-account-actions {
        align-items: flex-end;
        flex-direction: column;
    }

    .email-account-switcher {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .email-account-switcher .form-select {
        min-width: 0;
        width: 100%;
    }

    .email-signin-main,
    .email-signin-aside {
        padding: 1.5rem;
    }

    .email-signin-form,
    .email-address-builder {
        grid-template-columns: minmax(0, 1fr);
    }

    .email-address-builder > span {
        display: none;
    }

    .email-client-shell,
    .email-client-shell.has-reading-pane {
        grid-template-columns: minmax(0, 1fr);
        min-height: 620px;
        height: auto;
    }

    .email-folder-pane {
        display: block;
        border-right: 0;
        border-bottom: 1px solid #dfe6ef;
        padding: .75rem;
    }

    .email-compose-btn {
        width: auto;
        min-width: 130px;
    }

    .email-folder-list {
        display: flex;
        overflow-x: auto;
        gap: .35rem;
        margin-top: .7rem;
        padding-bottom: .15rem;
    }

    .email-folder-link {
        grid-template-columns: 18px auto auto;
        flex: 0 0 auto;
        min-height: 36px;
        white-space: nowrap;
    }

    .email-folder-account {
        display: none;
    }

    .email-client-shell.has-reading-pane .email-folder-pane,
    .email-client-shell.has-reading-pane .email-message-pane {
        display: none;
    }

    .email-client-shell.has-reading-pane .email-reading-pane {
        display: block;
        max-height: none;
    }

    .email-message-pane {
        border-right: 0;
    }

    .email-message-list {
        max-height: none;
    }

    .email-message-row-link {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .email-message-meta {
        display: none;
    }

    .email-reading-head {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
    }

    .email-reading-actions {
        overflow-x: auto;
        padding-bottom: .15rem;
    }

    .email-reading-actions > .email-compact-hide {
        display: none;
    }

    .email-more-compact-only {
        display: block;
    }

    .email-action-btn {
        min-width: 40px;
    }

    .email-message-tabs a {
        flex: 1 1 0;
        text-align: center;
    }

    .email-message-detail {
        padding: 1.25rem;
    }

    .email-admin-settings > summary small {
        display: none;
    }

    .email-credential-form {
        align-items: stretch;
        flex-direction: column;
        min-width: 230px;
    }
}

/* ===== Public pricing page ===== */

.pricing-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(44, 157, 255, .3), transparent 28rem),
        radial-gradient(circle at 8% 92%, rgba(245, 181, 44, .13), transparent 23rem),
        linear-gradient(132deg, #07142e 0%, #0b2756 55%, #0d3978 100%);
}

.pricing-page-hero::before,
.pricing-page-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.pricing-page-hero::before {
    width: 32rem;
    height: 32rem;
    top: -22rem;
    right: 12%;
}

.pricing-page-hero::after {
    width: 19rem;
    height: 19rem;
    right: -8rem;
    bottom: -10rem;
}

.pricing-page-kicker,
.pricing-plan-eyebrow {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pricing-page-kicker {
    color: #8ec5ff;
}

.pricing-page-title {
    max-width: 850px;
    font-size: clamp(2.75rem, 6.2vw, 5.35rem);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.055em;
}

.pricing-page-lead {
    max-width: 760px;
    color: #d8e6f8;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.75;
}

.pricing-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    color: #eef7ff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .86rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.pricing-trust-pill span {
    color: #70e1b0;
}

.pricing-hero-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
}

.pricing-hero-note strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 1.05rem;
}

.pricing-hero-note p {
    color: #d7e5f5;
    font-size: .9rem;
    line-height: 1.65;
}

.pricing-hero-note-icon {
    display: grid;
    flex: 0 0 2.8rem;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    color: #08234c;
    border-radius: .8rem;
    background: #f5b52c;
}

.pricing-hero-note-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.pricing-plan-section,
.pricing-compare-section,
.pricing-faq-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.pricing-plan-section {
    background: #fff;
}

.pricing-assistant-section {
    padding: 0 0 clamp(1rem, 3vw, 2rem);
    background: #fff;
}

.pricing-assistant-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(18rem, .9fr);
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid #cdddf4;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
    box-shadow: 0 18px 50px rgba(21, 94, 239, .08);
}

.pricing-assistant-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    color: #fff;
    border-radius: 1rem;
    background: var(--pas-blue);
    box-shadow: 0 12px 25px rgba(21, 94, 239, .22);
}

.pricing-assistant-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.pricing-assistant-copy h2 {
    margin: 0 0 .45rem;
    color: #0b1934;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.pricing-assistant-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--pas-muted);
    line-height: 1.65;
}

.pricing-assistant-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

.pricing-question-chip {
    padding: .7rem .9rem;
    color: #17498f;
    border: 1px solid #b9ceec;
    border-radius: 999px;
    background: #fff;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.2;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pricing-question-chip:hover,
.pricing-question-chip:focus-visible {
    border-color: var(--pas-blue);
    box-shadow: 0 8px 20px rgba(21, 94, 239, .12);
    transform: translateY(-1px);
}

.pricing-section-intro {
    max-width: 760px;
}

.pricing-plan-card {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce4f0;
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 16px 45px rgba(23, 32, 51, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-plan-card:hover {
    border-color: #b5c9ea;
    box-shadow: 0 24px 60px rgba(23, 32, 51, .12);
    transform: translateY(-4px);
}

.pricing-plan-card.is-featured {
    border: 2px solid var(--pas-blue);
    box-shadow: 0 24px 65px rgba(21, 94, 239, .16);
}

.pricing-popular-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: .6rem 1.05rem;
    color: #fff;
    border-radius: 0 1.1rem 0 1rem;
    background: var(--pas-blue);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pricing-plan-eyebrow {
    margin-bottom: .65rem;
    color: var(--pas-blue);
}

.pricing-plan-card-head h3 {
    margin-bottom: .7rem;
    font-size: 1.75rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.pricing-plan-card-head p {
    min-height: 5rem;
    margin: 0;
    color: var(--pas-muted);
    line-height: 1.65;
}

.pricing-plan-price {
    display: flex;
    align-items: flex-end;
    margin-top: 1.5rem;
    color: #0b1934;
}

.pricing-currency {
    margin: .45rem .12rem auto 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.pricing-amount {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: .9;
    letter-spacing: -.06em;
}

.pricing-period {
    margin-left: .45rem;
    color: var(--pas-muted);
    font-size: .92rem;
    font-weight: 650;
}

.pricing-plan-fee {
    margin-top: .7rem;
    color: #08704b;
    font-size: .8rem;
    font-weight: 800;
}

.pricing-plan-highlights {
    display: grid;
    gap: .85rem;
    margin: 1.75rem 0 2rem;
    padding: 1.5rem 0 0;
    list-style: none;
    border-top: 1px solid #e4eaf2;
}

.pricing-plan-highlights li {
    display: flex;
    gap: .7rem;
    color: #334155;
    font-size: .92rem;
    line-height: 1.45;
}

.pricing-check {
    display: grid;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .05rem;
    place-items: center;
    color: #08704b;
    border-radius: 50%;
    background: #def7ec;
    font-size: .75rem;
    font-weight: 900;
}

.pricing-card-compare {
    margin-top: 1rem;
    color: #526174;
    font-size: .84rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.pricing-card-compare:hover {
    color: var(--pas-blue);
}

.pricing-compare-section {
    border-top: 1px solid #e8edf4;
    background: #f5f8fc;
}

.pricing-table-shell {
    overflow: hidden;
    border: 1px solid #d7e0ec;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 32, 51, .07);
}

.pricing-mobile-plan-switcher {
    display: none;
}

.pricing-table-scroll {
    overflow-x: auto;
}

.pricing-table-scroll:focus-visible {
    outline: 3px solid rgba(21, 94, 239, .35);
    outline-offset: -3px;
}

.pricing-comparison-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    color: #263449;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    padding: 1.05rem 1.15rem;
    border-bottom: 1px solid #e7ecf3;
}

.pricing-comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #fff;
    background: #0c1c3b;
    text-align: center;
}

.pricing-comparison-table thead th:first-child {
    width: 49%;
    text-align: left;
}

.pricing-comparison-table thead th.is-featured {
    background: #124fc5;
}

.pricing-table-plan,
.pricing-table-price {
    display: block;
}

.pricing-table-plan {
    margin-bottom: .15rem;
    font-size: 1rem;
    font-weight: 800;
}

.pricing-table-price {
    color: #dce8ff;
    font-size: 1.2rem;
    font-weight: 850;
}

.pricing-table-price small {
    font-size: .68rem;
    font-weight: 600;
}

.pricing-group-row th {
    padding: 1.15rem;
    color: #102143;
    background: #e8eff9;
    text-align: left;
}

.pricing-group-row span,
.pricing-group-row small {
    display: block;
}

.pricing-group-row span {
    font-size: .98rem;
    font-weight: 850;
}

.pricing-group-row small {
    margin-top: .2rem;
    color: #617189;
    font-size: .75rem;
    font-weight: 500;
}

.pricing-comparison-table tbody th {
    font-weight: 650;
    text-align: left;
}

.pricing-feature-name,
.pricing-comparison-table tbody th small {
    display: block;
}

.pricing-comparison-table tbody th small {
    max-width: 560px;
    margin-top: .25rem;
    color: #53617a;
    font-size: .75rem;
    font-weight: 450;
    line-height: 1.45;
}

.pricing-comparison-table tbody td,
.pricing-comparison-table tfoot td {
    width: 17%;
    text-align: center;
}

.pricing-comparison-table tbody td.is-featured,
.pricing-comparison-table tfoot td.is-featured {
    background: #f5f8ff;
}

.pricing-included {
    color: #08704b;
    font-size: .82rem;
    font-weight: 800;
}

.pricing-included > span:first-child {
    display: inline-grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 50%;
    background: #dcf8eb;
}

.pricing-not-included {
    color: #b3becb;
    font-size: 1.3rem;
}

.pricing-cell-value {
    color: #15274a;
    font-size: .8rem;
    font-weight: 850;
}

.pricing-comparison-table tfoot th,
.pricing-comparison-table tfoot td {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 0;
}

.pricing-comparison-table tfoot th {
    color: #102143;
    font-weight: 850;
}

.pricing-table-note {
    margin: 1rem 0 0;
    color: #53617a;
    font-size: .78rem;
    line-height: 1.55;
}

.pricing-guidance-section {
    padding: 0 0 clamp(4.5rem, 8vw, 7rem);
    background: #f5f8fc;
}

.pricing-guidance-card {
    padding: clamp(2rem, 5vw, 4rem);
    color: #fff;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 85% 0, rgba(51, 147, 255, .32), transparent 22rem),
        #0a1b3a;
    box-shadow: 0 22px 65px rgba(10, 27, 58, .19);
}

.pricing-guidance-card .section-kicker {
    color: #87bdff;
}

.pricing-guidance-card .section-copy {
    color: #c9d7e9;
}

.pricing-faq-section {
    background: #fff;
}

.pricing-faq-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid #dfe6ef;
    border-radius: 1rem;
    background: #fff;
}

.pricing-faq-card h3 {
    margin-bottom: .65rem;
    color: #102143;
    font-size: 1.05rem;
    font-weight: 800;
}

.pricing-faq-card p {
    margin: 0;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .pricing-assistant-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pricing-assistant-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .pricing-page-hero {
        text-align: center;
    }

    .pricing-page-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .pricing-page-hero .d-flex {
        justify-content: center;
    }

    .pricing-hero-note {
        max-width: 620px;
        margin: 0 auto;
        text-align: left;
    }

    .pricing-plan-card-head p {
        min-height: 0;
    }

    .pricing-mobile-plan-switcher {
        display: grid;
        gap: 1rem;
        padding: 1.1rem;
        border-bottom: 1px solid #d7e0ec;
        background: #fff;
    }

    .pricing-mobile-plan-switcher-copy {
        display: grid;
        gap: .15rem;
        color: #102143;
    }

    .pricing-mobile-plan-switcher-copy strong {
        font-size: 1rem;
        font-weight: 850;
    }

    .pricing-mobile-plan-switcher-copy span {
        color: #66758b;
        font-size: .8rem;
    }

    .pricing-mobile-plan-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
    }

    .pricing-mobile-plan-option {
        display: grid;
        min-width: 0;
        min-height: 3.65rem;
        place-content: center;
        gap: .1rem;
        padding: .65rem .35rem;
        color: #24344d;
        border: 1px solid #cfd9e7;
        border-radius: .7rem;
        background: #f8fafd;
        font: inherit;
        line-height: 1.15;
        text-align: center;
        cursor: pointer;
    }

    .pricing-mobile-plan-option span {
        font-size: .82rem;
        font-weight: 850;
    }

    .pricing-mobile-plan-option small {
        color: #5f6f86;
        font-size: .68rem;
        font-weight: 700;
    }

    .pricing-mobile-plan-option:hover {
        border-color: #86a8e5;
        background: #f1f6ff;
    }

    .pricing-mobile-plan-option:focus-visible {
        outline: 3px solid rgba(21, 94, 239, .28);
        outline-offset: 2px;
    }

    .pricing-mobile-plan-option.is-active {
        color: #fff;
        border-color: #124fc5;
        background: #124fc5;
        box-shadow: 0 8px 18px rgba(18, 79, 197, .2);
    }

    .pricing-mobile-plan-option.is-active small {
        color: #dce8ff;
    }

    .pricing-table-scroll {
        overflow-x: visible;
    }

    .pricing-comparison-table {
        min-width: 0;
        table-layout: fixed;
    }

    .pricing-comparison-table [data-pricing-plan-column]:not(.is-mobile-selected) {
        display: none;
    }

    .pricing-comparison-table thead th:first-child,
    .pricing-comparison-table tbody th:first-child {
        width: 62%;
    }

    .pricing-comparison-table [data-pricing-plan-column].is-mobile-selected {
        width: 38%;
    }
}

@media (max-width: 767.98px) {
    .pricing-page-title {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .pricing-comparison-table th,
    .pricing-comparison-table td {
        padding: .9rem .85rem;
    }

    .pricing-comparison-table thead th:first-child,
    .pricing-comparison-table tbody th:first-child {
        position: static;
        width: 62%;
        background: #fff;
        box-shadow: none;
    }

    .pricing-comparison-table thead th:first-child {
        background: #0c1c3b;
    }

    .pricing-group-row th:first-child {
        position: static;
        background: #e8eff9;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-plan-card {
        transition: none;
    }
}

/* ===== Service page control panel and public scheduler ===== */

.service-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-admin-stats article {
    display: grid;
    gap: .25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #dfe6ef;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 34, 59, .045);
}

.service-admin-stats span,
.service-admin-stats small {
    color: #738095;
    font-size: .76rem;
}

.service-admin-stats strong {
    color: #132441;
    font-size: 1.45rem;
    line-height: 1.2;
}

.service-admin-stats strong.is-positive {
    color: #08704b;
}

.service-admin-stats strong.is-muted {
    color: #8a96a8;
}

.service-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: 1.25rem;
    align-items: start;
}

.service-admin-main,
.service-admin-aside {
    display: grid;
    gap: 1.25rem;
}

.service-admin-aside {
    position: sticky;
    top: 1rem;
}

.service-admin-panel {
    padding: 1.35rem;
    border-radius: 1rem;
}

.service-admin-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5ebf2;
}

.service-admin-panel-head > div:first-child {
    position: relative;
    padding-left: 2.7rem;
}

.service-admin-panel-head.compact > div:first-child {
    padding-left: 0;
}

.service-admin-panel-head h2 {
    margin: 0 0 .25rem;
    color: #142540;
    font-size: 1rem;
    font-weight: 800;
}

.service-admin-panel-head p {
    margin: 0;
    color: #718096;
    font-size: .82rem;
    line-height: 1.5;
}

.service-admin-panel-head a {
    flex: 0 0 auto;
    color: var(--pas-blue);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.service-admin-hero-editor {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid #dfe6ef;
    border-radius: .85rem;
    background: #f8fafc;
}

.service-admin-hero-editor img {
    width: 100%;
    height: 130px;
    border-radius: .65rem;
    object-fit: cover;
}

.service-admin-step {
    position: absolute;
    top: -.15rem;
    left: 0;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #fff;
    border-radius: .65rem;
    background: #155eef;
    font-size: .75rem;
    font-weight: 850;
}

.service-admin-switch {
    flex: 0 0 auto;
    padding: .65rem .8rem .65rem 2.9rem;
    border: 1px solid #dbe4ef;
    border-radius: .75rem;
    background: #f8fafc;
    font-size: .8rem;
    font-weight: 700;
}

.service-admin-switch .form-check-input {
    margin-left: -2.15rem;
}

.service-admin-list {
    display: grid;
    gap: .65rem;
}

.service-admin-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: center;
    padding: .6rem;
    border: 1px solid #e0e7f0;
    border-radius: .8rem;
    background: #f9fbfd;
}

.service-admin-remove {
    padding: .45rem .6rem;
    color: #b4232f;
    border: 0;
    background: transparent;
    font-size: .76rem;
    font-weight: 750;
}

.service-admin-remove:disabled {
    color: #a9b2bf;
}

.service-admin-inline-note {
    margin-top: 1rem;
    padding: .8rem 1rem;
    color: #5f6d81;
    border-left: 3px solid #8ab6ff;
    border-radius: 0 .65rem .65rem 0;
    background: #f3f7fd;
    font-size: .77rem;
    line-height: 1.55;
}

.service-admin-detail-pages {
    display: grid;
    gap: .65rem;
}

.service-admin-detail-pages article {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .8rem .9rem;
    border: 1px solid #e0e7f0;
    border-radius: .8rem;
    background: #f9fbfd;
}

.service-admin-detail-image {
    display: grid;
    width: 92px;
    height: 70px;
    place-items: center;
    overflow: hidden;
    color: #8793a5;
    border: 1px dashed #cbd6e3;
    border-radius: .65rem;
    background: #fff;
    font-size: .68rem;
    font-weight: 700;
}

.service-admin-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-admin-detail-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .25rem .6rem;
    align-items: center;
    min-width: 0;
}

.service-admin-detail-pages article strong {
    color: #26364d;
    font-size: .82rem;
}

.service-admin-detail-copy small {
    grid-column: 2;
    overflow: hidden;
    color: #718096;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-admin-detail-actions {
    display: flex;
    gap: .7rem;
    flex: 0 0 auto;
}

.service-admin-detail-image-controls {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto auto;
    gap: .6rem;
    align-items: center;
    padding-top: .75rem;
    border-top: 1px solid #e3e9f0;
}

.service-admin-detail-pages article a {
    color: #155eef;
    font-size: .75rem;
    font-weight: 750;
    text-decoration: none;
}

.service-admin-schedule-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 240px));
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.service-admin-week {
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: .9rem;
}

.service-admin-week-head,
.service-admin-day {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(120px, .7fr) minmax(120px, .7fr);
    gap: 1rem;
    align-items: center;
}

.service-admin-week-head {
    padding: .65rem 1rem;
    color: #718096;
    background: #f3f6fa;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.service-admin-day {
    padding: .7rem 1rem;
    border-top: 1px solid #e7ecf2;
    background: #fbfcfe;
    transition: background .15s ease;
}

.service-admin-day.is-enabled {
    background: #fff;
}

.service-admin-day:not(.is-enabled) input[type="time"] {
    color: #a4afbd;
    background: #f2f4f7;
}

.service-admin-day .form-check-label {
    color: #26364d;
    font-size: .84rem;
    font-weight: 750;
}

.service-admin-blocked-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.25rem;
}

.service-admin-blocked-head h3 {
    margin: 0 0 .2rem;
    color: #26364d;
    font-size: .86rem;
    font-weight: 800;
}

.service-admin-blocked-head p {
    max-width: 620px;
    margin: 0;
    color: #718096;
    font-size: .76rem;
    line-height: 1.5;
}

.service-admin-blocked-list {
    display: grid;
    gap: .55rem;
    margin-top: .8rem;
}

.service-admin-blocked-row {
    display: grid;
    grid-template-columns: minmax(0, 280px) auto;
    gap: .6rem;
    align-items: center;
    justify-content: start;
}

.service-admin-slot-list,
.service-admin-bookings {
    display: grid;
    gap: .55rem;
}

.service-admin-slot-list > div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    padding: .7rem .8rem;
    border: 1px solid #e2e8f0;
    border-radius: .7rem;
    background: #fbfdff;
    font-size: .76rem;
    font-weight: 700;
}

.service-admin-slot-list em {
    color: #08704b;
    font-size: .67rem;
    font-style: normal;
    text-transform: uppercase;
}

.service-admin-empty {
    display: grid;
    gap: .35rem;
    padding: 1.1rem;
    color: #718096;
    border: 1px dashed #cad5e3;
    border-radius: .8rem;
    background: #f8fafc;
    font-size: .78rem;
    line-height: 1.5;
}

.service-admin-empty strong {
    color: #34445b;
}

.service-admin-bookings a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .65rem;
    color: #26364d;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    text-decoration: none;
}

.service-admin-bookings a:hover {
    border-color: #a9c5ef;
    background: #f7faff;
}

.service-admin-bookings time {
    display: grid;
    padding: .45rem;
    color: #155eef;
    border-radius: .6rem;
    background: #edf4ff;
    text-align: center;
}

.service-admin-bookings time strong {
    font-size: .76rem;
}

.service-admin-bookings time span,
.service-admin-bookings a > span small {
    font-size: .65rem;
}

.service-admin-bookings a > span {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.service-admin-bookings a > span strong,
.service-admin-bookings a > span small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-admin-bookings a > span strong {
    font-size: .78rem;
}

.service-admin-bookings a > span small {
    color: #748196;
}

.service-admin-savebar {
    position: sticky;
    bottom: .75rem;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1.25rem;
    padding: .9rem 1rem;
    border: 1px solid #d7e0eb;
    border-radius: .9rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 15px 38px rgba(24, 39, 66, .12);
    backdrop-filter: blur(10px);
}

.service-admin-savebar > div {
    display: grid;
    gap: .1rem;
}

.service-admin-savebar strong {
    color: #172842;
    font-size: .82rem;
}

.service-admin-savebar span {
    color: #748196;
    font-size: .72rem;
}

.dealer-service-offerings-section {
    border-bottom: 1px solid rgba(100, 116, 139, .14);
    background: linear-gradient(180deg, rgba(248, 250, 252, .95), #fff);
}

.dealer-service-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.dealer-service-section-head > div {
    max-width: 720px;
}

.dealer-service-section-head > div > span {
    display: block;
    margin-bottom: .45rem;
    color: var(--dealer-primary, #155eef);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dealer-service-section-head h2 {
    margin-bottom: .45rem;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.dealer-service-section-head p {
    margin: 0;
    color: #6b7789;
}

.dealer-service-offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.dealer-service-offerings-grid a {
    display: grid;
    min-height: 145px;
    padding: 1.15rem;
    color: #172842;
    border: 1px solid #dfe6ef;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 40, 66, .05);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dealer-service-offerings-grid a:hover {
    border-color: var(--dealer-primary, #155eef);
    box-shadow: 0 18px 38px rgba(23, 40, 66, .1);
    transform: translateY(-3px);
}

.dealer-service-offerings-grid a > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    place-items: center;
    color: var(--dealer-primary, #155eef);
    border-radius: .6rem;
    background: color-mix(in srgb, var(--dealer-primary, #155eef) 10%, white);
    font-size: .72rem;
    font-weight: 850;
}

.dealer-service-offerings-grid strong {
    align-self: end;
    font-size: .94rem;
}

.dealer-service-offerings-grid a.dealer-service-offering-detail {
    grid-template-rows: auto auto 1fr auto;
}

.dealer-service-offering-detail img {
    width: 100%;
    height: 82px;
    margin-bottom: .9rem;
    border-radius: .65rem;
    object-fit: cover;
}

.dealer-service-offering-detail p {
    margin: .35rem 0 0;
    color: #728096;
    font-size: .75rem;
    line-height: 1.45;
}

.dealer-service-offerings-grid small {
    margin-top: .35rem;
    color: #728096;
    font-weight: 650;
}

.dealer-service-calendar {
    margin-top: .65rem;
    padding: .85rem;
    border: 1px solid #dce4ed;
    border-radius: .9rem;
    background: #f8fafc;
}

.dealer-service-calendar-days {
    display: flex;
    gap: .45rem;
    padding-bottom: .65rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.dealer-service-calendar-days button {
    display: grid;
    flex: 0 0 56px;
    min-height: 60px;
    place-items: center;
    color: #5f6d80;
    border: 1px solid #d9e2ec;
    border-radius: .7rem;
    background: #fff;
}

.dealer-service-calendar-days button span {
    font-size: .63rem;
    font-weight: 750;
    text-transform: uppercase;
}

.dealer-service-calendar-days button strong {
    font-size: 1rem;
}

.dealer-service-calendar-days button.is-active {
    color: #fff;
    border-color: var(--dealer-primary, #155eef);
    background: var(--dealer-primary, #155eef);
}

.dealer-service-calendar-times {
    padding-top: .75rem;
    border-top: 1px solid #e1e7ee;
}

.dealer-service-calendar-times > strong {
    display: block;
    margin-bottom: .6rem;
    color: #26364d;
    font-size: .78rem;
}

.dealer-service-calendar-times > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
}

.dealer-service-calendar-times button {
    padding: .5rem .35rem;
    color: #35465d;
    border: 1px solid #d5dfea;
    border-radius: .55rem;
    background: #fff;
    font-size: .72rem;
    font-weight: 750;
}

.dealer-service-calendar-times button:hover,
.dealer-service-calendar-times button.is-selected {
    color: #fff;
    border-color: var(--dealer-primary, #155eef);
    background: var(--dealer-primary, #155eef);
}

.dealer-service-calendar-selection {
    margin-top: .65rem;
    color: #65748a;
    font-size: .7rem;
    font-weight: 650;
}

@media (max-width: 1199.98px) {
    .service-admin-layout {
        grid-template-columns: 1fr;
    }

    .service-admin-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dealer-service-offerings-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .service-admin-stats,
    .service-admin-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-admin-panel-head,
    .dealer-service-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .service-admin-switch {
        align-self: flex-start;
    }

    .service-admin-week-head {
        display: none;
    }

    .service-admin-blocked-head {
        display: grid;
    }

    .service-admin-blocked-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .service-admin-detail-pages article {
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
    }

    .service-admin-detail-image {
        width: 72px;
        height: 60px;
    }

    .service-admin-detail-actions {
        grid-column: 2;
    }

    .service-admin-detail-image-controls {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
    }

    .service-admin-detail-image-controls .dashboard-secondary-btn,
    .service-admin-detail-image-controls .service-admin-remove {
        justify-self: start;
    }

    .service-admin-hero-editor {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-admin-day {
        grid-template-columns: 1fr 1fr;
    }

    .service-admin-day > div:first-child {
        grid-column: 1 / -1;
    }

    .dealer-service-offerings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .service-admin-stats,
    .service-admin-aside,
    .service-admin-schedule-toolbar,
    .dealer-service-offerings-grid {
        grid-template-columns: 1fr;
    }

    .service-admin-savebar {
        align-items: stretch;
        flex-direction: column;
    }

    .service-admin-savebar button {
        width: 100%;
    }

    .dealer-service-offerings-grid a {
        min-height: 120px;
    }
}

/* Shared icon-dock navigation contract.
   Templates opt in with mobile_navigation=icon_dock in their manifest;
   template CSS only needs to supply colors and visual details. */
.dealer-public.has-template-mobile-nav .dealer-template-mobile-actions,
.dealer-public.has-template-mobile-nav .dealer-template-mobile-nav {
    display: none;
}

.dealer-public.has-template-mobile-nav .dealer-template-mobile-actions svg,
.dealer-public.has-template-mobile-nav .dealer-template-mobile-nav-icon,
.dealer-public.has-template-mobile-nav .dealer-template-mobile-nav-icon > svg {
    display: block;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .dealer-public.has-template-mobile-nav {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .dealer-public.has-template-mobile-nav .dealer-mobile-actions {
        display: none;
    }

    .dealer-public.has-template-mobile-nav .dealer-navbar > .container,
    .dealer-public.has-template-mobile-nav .dealer-navbar > .container-fluid {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: .5rem;
        align-items: center;
    }

    .dealer-public.has-template-mobile-nav .dealer-navbar .navbar-toggler {
        grid-column: 1;
        grid-row: 1;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .dealer-public.has-template-mobile-nav .dealer-navbar .navbar-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        min-width: 0;
        margin: 0;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-actions {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: .1rem;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-actions a {
        display: grid;
        width: 42px;
        height: 44px;
        flex: 0 0 42px;
        place-items: center;
        text-decoration: none;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-actions svg {
        width: 24px;
        height: 24px;
    }

    .dealer-public.has-template-mobile-nav #dealerNav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        min-height: 72px;
        padding: .35rem max(.25rem, env(safe-area-inset-right)) calc(.3rem + env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left));
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav > a,
    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav > button {
        display: flex;
        min-width: 0;
        min-height: 60px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: .15rem;
        border: 0;
        padding: .2rem .1rem;
        background: transparent;
        font: inherit;
        font-size: .72rem;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav-icon {
        position: relative;
        display: grid;
        width: 30px;
        height: 30px;
        place-items: center;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav-icon > svg {
        width: 26px;
        height: 26px;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav .dealer-saved-count-badge-mobile {
        position: absolute;
        top: -4px;
        right: -7px;
        display: grid;
        min-width: 18px;
        height: 18px;
        place-items: center;
        border-radius: 999px;
        padding: 0 4px;
        font-size: .64rem;
        font-weight: 800;
        line-height: 1;
    }

    .dealer-public.has-template-mobile-nav .dealer-template-mobile-nav .dealer-saved-count-badge-mobile[hidden] {
        display: none;
    }
}
/* Super Admin ISPConfig cron manager */
.cron-advanced-settings {
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg);
}

.cron-advanced-settings > summary,
.cron-import-control > summary {
    cursor: pointer;
}

.cron-import-control > summary {
    list-style: none;
}

.cron-import-control > summary::-webkit-details-marker {
    display: none;
}

.cron-import-form {
    min-width: min(720px, calc(100vw - 3rem));
}

.cron-schedule-chip {
    display: inline-block;
    white-space: nowrap;
    color: var(--bs-emphasis-color);
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .45rem;
    padding: .35rem .5rem;
}

.cron-command {
    display: block;
    max-width: 34rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-emphasis-color);
}

@media (max-width: 767.98px) {
    .cron-import-form {
        min-width: 0;
    }

    .cron-manager-table .cron-command {
        max-width: 16rem;
    }
}
/* Super Admin operations suite */
.platform-operations-page {
    --ops-navy: #0b1f3a;
    --ops-blue: #1769e0;
    --ops-green: #17875d;
    --ops-amber: #c77908;
    --ops-red: #c83b45;
    --ops-border: #dfe7f2;
    --ops-muted: #62728a;
}

.platform-operations-page .admin-page-head {
    align-items: flex-start;
}

.ops-updated {
    color: var(--ops-muted);
    font-size: .78rem;
    align-self: center;
}

.ops-health-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid #cfe0f5;
    border-radius: 18px;
    background: linear-gradient(120deg, #f7fbff 0%, #edf5ff 100%);
    box-shadow: 0 14px 35px rgba(25, 66, 120, .08);
}

.ops-health-hero.is-healthy { border-color: #bce5d2; background: linear-gradient(120deg, #f6fffb, #eaf9f2); }
.ops-health-hero.is-warning { border-color: #f3d7a8; background: linear-gradient(120deg, #fffdf7, #fff5df); }
.ops-health-hero.is-critical { border-color: #efbcc1; background: linear-gradient(120deg, #fff9fa, #fdebed); }

.ops-health-signal {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(23, 135, 93, .12);
}

.ops-health-signal span,
.ops-status-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--ops-green);
    box-shadow: 0 0 0 5px rgba(23, 135, 93, .13);
}

.ops-health-hero.is-warning .ops-health-signal { background: rgba(199, 121, 8, .12); }
.ops-health-hero.is-warning .ops-health-signal span { background: var(--ops-amber); box-shadow: 0 0 0 5px rgba(199, 121, 8, .14); }
.ops-health-hero.is-critical .ops-health-signal { background: rgba(200, 59, 69, .12); }
.ops-health-hero.is-critical .ops-health-signal span { background: var(--ops-red); box-shadow: 0 0 0 5px rgba(200, 59, 69, .14); }

.ops-eyebrow {
    color: var(--ops-blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ops-health-hero h2 {
    margin: .2rem 0 .25rem;
    color: var(--ops-navy);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.ops-health-hero p { margin: 0; color: var(--ops-muted); }
.ops-health-score { color: var(--ops-navy); font-size: 2rem; font-weight: 800; text-align: right; }
.ops-health-score small { display: block; color: var(--ops-muted); font-size: .72rem; font-weight: 600; }

.ops-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ops-check-card {
    min-width: 0;
    padding: 1rem;
    border-top: 3px solid var(--ops-green);
}

.ops-check-card.is-warning { border-top-color: var(--ops-amber); }
.ops-check-card.is-critical { border-top-color: var(--ops-red); }
.ops-check-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ops-check-head > div { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.ops-check-head h2 { margin: 0; color: var(--ops-navy); font-size: .96rem; }
.ops-check-card > p { min-height: 2.5rem; margin: .75rem 0; color: var(--ops-muted); font-size: .82rem; }
.ops-check-card.is-warning .ops-status-dot { background: var(--ops-amber); box-shadow: 0 0 0 4px rgba(199, 121, 8, .12); }
.ops-check-card.is-critical .ops-status-dot,
.ops-status-dot.is-critical { background: var(--ops-red); box-shadow: 0 0 0 4px rgba(200, 59, 69, .12); }

.ops-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .28rem .55rem;
    border-radius: 999px;
    background: #edf2f8;
    color: #4c5c72;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}

.ops-status-pill.is-healthy, .ops-status-pill.is-success { background: #e3f6ed; color: #10704c; }
.ops-status-pill.is-warning { background: #fff0d5; color: #9a5b00; }
.ops-status-pill.is-critical { background: #fde8ea; color: #a52732; }
.ops-status-pill.is-info { background: #e8f1ff; color: #1759ad; }
.ops-status-pill.is-neutral { background: #edf2f8; color: #4c5c72; }

.ops-detail-list { margin: 0; padding-top: .75rem; border-top: 1px solid var(--ops-border); }
.ops-detail-list div { display: flex; justify-content: space-between; gap: .75rem; padding: .18rem 0; font-size: .72rem; }
.ops-detail-list dt { color: var(--ops-muted); font-weight: 500; }
.ops-detail-list dd { margin: 0; color: var(--ops-navy); font-weight: 700; text-align: right; overflow-wrap: anywhere; }

.ops-issue-list { padding: .25rem 1rem 1rem; }
.ops-issue-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .85rem .4rem; border-bottom: 1px solid #edf1f6; color: inherit; text-decoration: none; }
.ops-issue-item:hover { color: inherit; background: #f8fbff; }
.ops-issue-copy { display: grid; min-width: 0; }
.ops-issue-copy strong { color: var(--ops-navy); font-size: .84rem; }
.ops-issue-copy small { color: var(--ops-muted); font-size: .7rem; }
.ops-issue-copy > span { overflow: hidden; color: #394961; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }

.ops-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.ops-kpi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.05rem;
    overflow: hidden;
    border: 1px solid var(--ops-border);
    border-radius: 15px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(18, 46, 83, .055);
}

.ops-kpi-card::after { position: absolute; inset: 0 auto 0 0; width: 4px; background: #8ba1bc; content: ''; }
.ops-kpi-card.is-primary::after { background: var(--ops-blue); }
.ops-kpi-card.is-success::after { background: var(--ops-green); }
.ops-kpi-card.is-warning::after { background: var(--ops-amber); }
.ops-kpi-card.is-critical::after { background: var(--ops-red); }
.ops-kpi-card:hover { color: inherit; border-color: #c7d6e9; transform: translateY(-1px); }
.ops-kpi-card > span { color: var(--ops-muted); font-size: .75rem; font-weight: 700; }
.ops-kpi-card strong { margin: .15rem 0; color: var(--ops-navy); font-size: 1.65rem; }
.ops-kpi-card small { color: var(--ops-muted); font-size: .7rem; }
.ops-kpi-current {
    display: flex;
    align-items: center;
    gap: .38rem;
    margin-top: .8rem;
    padding-top: .65rem;
    border-top: 1px solid #edf1f6;
    color: #52647b;
    font-size: .68rem;
    line-height: 1.35;
}
.ops-kpi-card > .ops-kpi-current { color: #52647b; font-size: .68rem; font-weight: 500; }
.ops-kpi-current i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #8ba1bc; }
.ops-kpi-current b { flex: 0 0 auto; color: #34475f; font-weight: 800; }
.ops-kpi-current > span { min-width: 0; overflow: hidden; color: #718096; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ops-kpi-current.is-healthy i { background: var(--ops-green); }
.ops-kpi-current.is-healthy b { color: #10704c; }
.ops-kpi-current.is-warning i { background: var(--ops-amber); }
.ops-kpi-current.is-warning b { color: #945800; }
.ops-kpi-current.is-critical i { background: var(--ops-red); }
.ops-kpi-current.is-critical b { color: #a52732; }

.ops-filter-panel { padding: 1rem; }
.ops-plan-badge { display: inline-flex; padding: .28rem .55rem; border: 1px solid #cbd8e9; border-radius: 7px; color: #29415f; background: #f7faff; font-size: .72rem; font-weight: 800; }
.ops-table thead th { border-bottom-color: #dbe4ef; color: #66768d; font-size: .68rem; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.ops-table tbody td { border-bottom-color: #edf1f6; color: #263950; font-size: .78rem; }
.ops-table-count { color: var(--ops-muted); font-size: .75rem; font-weight: 700; }

.ops-score-ring {
    --score: 0;
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--ops-green) calc(var(--score) * 1%), #e7edf4 0);
}

.ops-score-ring::before { position: absolute; inset: 5px; border-radius: inherit; background: #fff; content: ''; }
.ops-score-ring strong { position: relative; z-index: 1; color: var(--ops-navy); font-size: .78rem; }
.ops-score-ring.is-info { background: conic-gradient(var(--ops-blue) calc(var(--score) * 1%), #e7edf4 0); }
.ops-score-ring.is-warning { background: conic-gradient(var(--ops-amber) calc(var(--score) * 1%), #e7edf4 0); }
.ops-score-ring.is-critical { background: conic-gradient(var(--ops-red) calc(var(--score) * 1%), #e7edf4 0); }

.ops-issue-tags { display: flex; flex-wrap: wrap; gap: .3rem; min-width: 240px; max-width: 420px; }
.ops-issue-tags span { padding: .22rem .42rem; border-radius: 5px; background: #eef3f8; color: #53647a; font-size: .65rem; font-weight: 700; }
.ops-issue-tags .is-critical { background: #fde8ea; color: #a52732; }
.ops-issue-tags .is-warning { background: #fff0d5; color: #945800; }
.ops-issue-tags .is-healthy { background: #e3f6ed; color: #10704c; }
.ops-issue-tags .is-info { background: #e8f1ff; color: #1759ad; }

.ops-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; padding: 2rem; color: var(--ops-muted); text-align: center; }
.ops-empty-state strong { margin-bottom: .25rem; color: var(--ops-navy); }

@media (max-width: 1199.98px) {
    .ops-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .ops-health-hero { grid-template-columns: auto minmax(0, 1fr); }
    .ops-health-score { grid-column: 1 / -1; padding-top: .75rem; border-top: 1px solid rgba(90, 113, 143, .16); text-align: left; }
    .ops-check-grid, .ops-kpi-grid { grid-template-columns: 1fr; }
    .ops-check-card > p { min-height: 0; }
    .ops-health-table { min-width: 1020px; }
}
.mfa-qr-panel {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #dbe4f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.mfa-qr-code {
    display: block;
    width: min(220px, 48vw);
    height: auto;
    flex: 0 0 auto;
    border-radius: .75rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.mfa-manual-heading {
    margin: 1.25rem 0 .65rem;
    letter-spacing: .04em;
}

.mfa-setup-key {
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .mfa-qr-panel {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Inventory detail reference redesign ===== */

.vehicle-detail-page {
    --vehicle-navy: #07152f;
    --vehicle-navy-mid: #102d61;
    --vehicle-blue: #0d6efd;
    --vehicle-blue-dark: #0b5ed7;
    --vehicle-line: #e2e8f0;
    --vehicle-muted: #64748b;
    --vehicle-surface: #ffffff;
    --vehicle-slate-50: #f8fafc;
    --vehicle-slate-100: #f1f5f9;
    --vehicle-slate-200: #e2e8f0;
    --vehicle-slate-300: #cbd5e1;
    --vehicle-slate-500: #64748b;
    --vehicle-slate-600: #475569;
    --vehicle-slate-700: #334155;
    --vehicle-slate-800: #1e293b;
    --vehicle-slate-950: #0f172a;
    --vehicle-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
    --vehicle-shadow: 0 12px 32px rgba(15, 23, 42, .09);
    max-width: 1640px;
    margin-inline: auto;
    color: var(--vehicle-slate-950);
    overflow: visible;
}

.vehicle-detail-page #vehicle-overview,
.vehicle-detail-page #vehicle-data,
.vehicle-detail-page #vehicle-fields,
.vehicle-detail-page #marketing-copy,
.vehicle-detail-page #vehicle-checklist,
.vehicle-detail-page #feed-status {
    scroll-margin-top: 132px;
}

.vehicle-detail-page .vehicle-detail-toolbar {
    gap: 1rem;
    margin-bottom: .75rem;
}

.vehicle-detail-page .vehicle-toolbar-btn {
    min-height: 40px;
    gap: .45rem;
    border-color: var(--vehicle-slate-200);
    border-radius: 10px;
    padding: 0 .8rem;
    color: var(--vehicle-slate-700);
    background: #fff;
    box-shadow: var(--vehicle-shadow-sm);
    font-size: .75rem;
}

.vehicle-detail-page .vehicle-toolbar-btn:hover {
    border-color: #bfdbfe;
    color: var(--vehicle-blue-dark);
    background: #f8fbff;
}

.vehicle-detail-page .vehicle-toolbar-btn.is-primary {
    border-color: var(--vehicle-blue);
    color: #ffffff;
    background: linear-gradient(135deg, var(--vehicle-blue), #0759d3);
    box-shadow: 0 8px 18px rgba(13, 110, 253, .22);
}

.vehicle-detail-page .vehicle-toolbar-btn.is-primary:hover,
.vehicle-detail-page .vehicle-toolbar-btn.is-primary:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #0b63e5, #064fbd);
}

.vehicle-detail-page .vehicle-toolbar-btn.is-primary:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .28);
    outline-offset: 2px;
}

.vehicle-page-nav {
    position: sticky;
    top: 76px;
    z-index: 45;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: .25rem;
    overflow-x: auto;
    margin: 0 0 1rem;
    border: 1px solid rgba(203, 213, 225, .88);
    border-radius: 12px;
    padding: .3rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.vehicle-page-nav::-webkit-scrollbar {
    display: none;
}

.vehicle-page-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 8px;
    padding: 0 .7rem;
    color: var(--vehicle-slate-600);
    font-size: .72rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.vehicle-page-nav a:hover {
    color: var(--vehicle-slate-950);
    background: var(--vehicle-slate-100);
}

.vehicle-page-nav a.is-active {
    color: var(--vehicle-blue-dark);
    background: #eaf2ff;
}

.vehicle-detail-page .vehicle-detail-top-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.1rem;
}

.vehicle-detail-page .vehicle-detail-main-column {
    gap: .85rem;
}

.vehicle-detail-page .vehicle-overview-card,
.vehicle-detail-page .vehicle-action-panel,
.vehicle-detail-page .vehicle-rail-panel,
.vehicle-detail-page .dashboard-panel {
    border: 1px solid var(--vehicle-slate-200);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--vehicle-shadow-sm);
}

.vehicle-detail-page .vehicle-overview-card {
    grid-template-columns: minmax(300px, 41%) minmax(0, 1fr);
    gap: 0;
    min-height: 320px;
    overflow: hidden;
}

.vehicle-detail-page .vehicle-overview-media {
    min-height: 320px;
    border: 0;
    border-right: 1px solid var(--vehicle-slate-200);
    border-radius: 0;
    background: radial-gradient(circle at 50% 62%, rgba(148, 163, 184, .22), transparent 38%), linear-gradient(145deg, #f8fafc, #eef3f8);
    box-shadow: none;
}

.vehicle-detail-page .vehicle-overview-media > img,
.vehicle-detail-page .vehicle-photo-empty {
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
    object-fit: cover;
}

.vehicle-detail-page .vehicle-stock-badge,
.vehicle-detail-page .vehicle-photo-count {
    min-height: 30px;
    border-radius: 8px;
    background: rgba(7, 21, 47, .93);
    font-size: .72rem;
}

.vehicle-detail-page .vehicle-stock-badge {
    top: .85rem;
    left: .85rem;
}

.vehicle-detail-page .vehicle-photo-count {
    right: .85rem;
    bottom: .85rem;
}

.vehicle-detail-page .vehicle-overview-copy {
    justify-content: flex-start;
    padding: 1.55rem 1.6rem 1.35rem;
}

.vehicle-detail-page .vehicle-title-row {
    gap: 1.1rem;
}

.vehicle-detail-page .vehicle-overline {
    margin-bottom: .25rem;
    font-size: .68rem;
    letter-spacing: .09em;
}

.vehicle-detail-page .vehicle-overview-copy h1 {
    font-size: clamp(1.55rem, 2.1vw, 2.35rem);
    line-height: 1.1;
}

.vehicle-detail-page .vehicle-status-card {
    min-width: 132px;
    align-items: center;
    border-radius: 11px;
    padding: .65rem .75rem;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.vehicle-detail-page .vehicle-identifiers {
    margin: 1.1rem 0 0;
    color: var(--vehicle-slate-600);
    font-size: .8rem;
}

.vehicle-detail-page .vehicle-identifiers a {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
}

.vehicle-detail-page .vehicle-color-row {
    gap: 1rem 1.5rem;
    margin-top: .85rem;
    color: var(--vehicle-slate-600);
    font-size: .78rem;
}

.vehicle-detail-page .vehicle-color-row strong {
    color: var(--vehicle-slate-800);
}

.vehicle-detail-page .vehicle-color-swatch {
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--vehicle-slate-300);
}

.vehicle-detail-page .vehicle-spec-chips {
    margin-top: 1.05rem;
}

.vehicle-detail-page .vehicle-spec-chips > span {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    padding: 0 .65rem;
    background: var(--vehicle-slate-50);
    color: var(--vehicle-slate-700);
    font-size: .68rem;
}

.vehicle-detail-page .vehicle-health-badges {
    margin-top: auto;
    padding-top: 1rem;
}

.vehicle-detail-page .vehicle-metric-grid {
    gap: .75rem;
}

.vehicle-detail-page .vehicle-metric-card {
    position: relative;
    display: flex;
    min-height: 112px;
    gap: .8rem;
    align-items: center;
    overflow: hidden;
    border-color: var(--vehicle-slate-200);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: var(--vehicle-shadow-sm);
}

.vehicle-detail-page .vehicle-metric-card::after {
    position: absolute;
    right: -20px;
    bottom: -38px;
    width: 95px;
    height: 95px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    opacity: .035;
}

.vehicle-detail-page .vehicle-metric-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
}

.vehicle-detail-page .vehicle-metric-card > div {
    display: grid;
}

.vehicle-detail-page .vehicle-metric-card > div > span,
.vehicle-detail-page .vehicle-score-copy > span:first-child {
    color: var(--vehicle-slate-500);
    font-size: .68rem;
}

.vehicle-detail-page .vehicle-metric-card strong {
    margin-top: .25rem;
    color: var(--vehicle-slate-950);
    font-size: 1.35rem;
    white-space: nowrap;
}

.vehicle-detail-page .vehicle-metric-card small {
    color: var(--vehicle-slate-500);
    font-size: .68rem;
}

.vehicle-detail-page .vehicle-score-copy > div {
    justify-content: flex-start;
    gap: .45rem;
}

.vehicle-detail-page .vehicle-action-panel {
    margin-bottom: 0;
}

.vehicle-detail-page .vehicle-section-bar,
.vehicle-detail-page .dashboard-panel-head {
    min-height: 43px;
    padding: .65rem .9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--vehicle-navy), var(--vehicle-navy-mid));
}

.vehicle-detail-page .vehicle-section-bar h2,
.vehicle-detail-page .dashboard-panel-head h2 {
    color: inherit;
    font-size: .8rem;
}

.vehicle-detail-page .vehicle-section-bar a {
    color: #c7d8f1;
    text-decoration: none;
}

.vehicle-detail-page .vehicle-action-body {
    padding: .85rem;
}

.vehicle-detail-page .vehicle-action-grid {
    gap: .5rem;
}

.vehicle-detail-page .vehicle-action-btn {
    min-height: 38px;
    border-color: var(--vehicle-slate-200);
    border-radius: 9px;
    padding: 0 .7rem;
    color: var(--vehicle-slate-700);
    font-size: .68rem;
    transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}

.vehicle-detail-page .vehicle-action-btn:hover {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    color: var(--vehicle-blue-dark);
    background: #f8fbff;
}

.vehicle-detail-page .vehicle-plan-usage {
    color: var(--vehicle-slate-500);
}

.vehicle-detail-page .vehicle-insight-rail {
    top: 132px;
    gap: .85rem;
}

.vehicle-detail-page .vehicle-quick-info {
    padding: .5rem .9rem .75rem;
}

.vehicle-detail-page .vehicle-quick-info > div {
    min-height: 36px;
    border-color: var(--vehicle-slate-100);
    padding: .5rem 0;
}

.vehicle-detail-page .vehicle-quick-info dt {
    color: var(--vehicle-slate-500);
}

.vehicle-detail-page .vehicle-quick-info dd {
    color: var(--vehicle-slate-800);
}

.vehicle-detail-page .vehicle-tip-body {
    padding: 1rem;
}

.vehicle-detail-page .vehicle-tip-body p {
    color: var(--vehicle-slate-600);
}

.vehicle-detail-page .vehicle-activity-list {
    padding: .5rem .9rem .75rem;
}

.vehicle-detail-page .vehicle-activity-item {
    border-color: var(--vehicle-slate-100);
}

.vehicle-detail-page > .row {
    margin-top: 1rem;
}

.vehicle-detail-page .dashboard-panel {
    overflow: hidden;
    margin-bottom: .9rem;
}

.vehicle-detail-page .admin-editor-panel {
    padding: 1.1rem;
}

.vehicle-detail-page .dashboard-panel h2.h5 {
    color: var(--vehicle-navy);
    font-size: 1rem;
    font-weight: 800;
}

.vehicle-detail-page .dashboard-panel h3.h6 {
    color: var(--vehicle-slate-700);
    font-size: .8rem;
    font-weight: 800;
}

.vehicle-detail-page .dashboard-panel-head.is-compact {
    margin: -1.1rem -1.1rem 1rem;
    padding: .8rem 1rem;
}

.vehicle-detail-page .dashboard-panel-head p {
    margin: .2rem 0 0;
    color: #c4d5ed;
    font-size: .68rem;
}

.vehicle-detail-page #vehicle-data > .row.g-2.mb-3 > [class*="col-"] > .d-flex {
    min-height: 54px;
    align-items: center !important;
    gap: .55rem !important;
    border: 1px solid var(--vehicle-slate-200) !important;
    border-radius: 10px;
    padding: .65rem .7rem !important;
    background: var(--vehicle-slate-50);
}

.vehicle-detail-page #vehicle-data .badge {
    border-radius: 7px;
    font-size: .58rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.vehicle-detail-page #vehicle-data > .row.g-3 > [class*="col-"] > .border,
.vehicle-detail-page #marketing-copy .border,
.vehicle-detail-page #feed-status form.border {
    border-color: var(--vehicle-slate-200) !important;
    border-radius: 12px !important;
    background: #fff;
}

.vehicle-detail-page .form-control,
.vehicle-detail-page .form-select,
.vehicle-detail-page .input-group .btn {
    border-color: var(--vehicle-slate-200);
    border-radius: 9px;
    font-size: .75rem;
}

.vehicle-detail-page .form-control:focus,
.vehicle-detail-page .form-select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.vehicle-detail-page .form-label {
    color: var(--vehicle-slate-700);
    font-size: .7rem;
    font-weight: 700;
}

.vehicle-fields-panel dl.row {
    display: grid;
    grid-template-columns: minmax(135px, .78fr) minmax(160px, 1.1fr) minmax(135px, .78fr) minmax(160px, 1.1fr);
    gap: 0;
    overflow: hidden;
    margin: 0 !important;
    border: 1px solid var(--vehicle-slate-200);
    border-radius: 12px;
}

.vehicle-fields-panel dl.row dt,
.vehicle-fields-panel dl.row dd {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    overflow-wrap: anywhere;
    margin: 0 !important;
    border-bottom: 1px solid var(--vehicle-slate-100);
    padding: .65rem .75rem;
}

.vehicle-fields-panel dl.row dt {
    color: var(--vehicle-slate-500) !important;
    background: var(--vehicle-slate-50);
    font-size: .68rem;
}

.vehicle-fields-panel dl.row dd {
    color: var(--vehicle-slate-800);
    font-size: .7rem;
}

.vehicle-description-panel p {
    color: var(--vehicle-slate-600);
}

.vehicle-description-panel h2:nth-of-type(2) {
    margin-top: 1.25rem;
    border-top: 1px solid var(--vehicle-slate-200);
    padding-top: 1rem;
}

.vehicle-detail-page #marketing-copy > .d-flex:first-child {
    border-bottom: 1px solid var(--vehicle-slate-200);
    padding-bottom: .9rem;
}

.vehicle-detail-page #marketing-copy textarea[readonly] {
    color: var(--vehicle-slate-700);
    background: #fbfdff;
}

.vehicle-detail-page #marketing-copy .bg-light {
    background: var(--vehicle-slate-50) !important;
}

.vehicle-detail-page #vehicle-checklist .form-check {
    min-height: 37px;
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    margin: 0 0 .45rem;
    border: 1px solid var(--vehicle-slate-200);
    border-radius: 9px;
    padding: .5rem .55rem;
    background: var(--vehicle-slate-50);
}

.vehicle-detail-page .dashboard-panel > .p-3.border-bottom {
    min-height: 46px;
    color: var(--vehicle-navy);
    border-color: var(--vehicle-slate-200) !important;
    background: var(--vehicle-slate-50);
}

.vehicle-detail-page .table {
    margin: 0;
    color: var(--vehicle-slate-700);
    font-size: .7rem;
}

.vehicle-detail-page .table > :not(caption) > * > * {
    border-color: var(--vehicle-slate-100);
    padding: .65rem .75rem;
    vertical-align: middle;
}

.vehicle-detail-page .table thead th {
    color: var(--vehicle-slate-500);
    background: var(--vehicle-slate-50);
    font-size: .62rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicle-detail-page .table tbody tr:hover {
    background: #f8fbff;
}

.vehicle-back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 70;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: var(--vehicle-blue-dark);
    background: #fff;
    box-shadow: var(--vehicle-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.vehicle-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.vehicle-back-to-top svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1320px) {
    .vehicle-detail-page .vehicle-detail-top-grid {
        grid-template-columns: minmax(0, 1fr) 286px;
    }

    .vehicle-detail-page .vehicle-metric-card {
        padding: .95rem;
    }

    .vehicle-detail-page .vehicle-metric-card strong {
        font-size: 1.18rem;
    }
}

@media (max-width: 1160px) {
    .vehicle-detail-page .vehicle-detail-top-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-detail-page .vehicle-insight-rail {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vehicle-detail-page .vehicle-overview-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-detail-page .vehicle-overview-media {
        min-height: 280px;
        border-right: 0;
        border-bottom: 1px solid var(--vehicle-slate-200);
    }

    .vehicle-detail-page .vehicle-overview-media > img,
    .vehicle-detail-page .vehicle-photo-empty {
        min-height: 280px;
    }

    .vehicle-detail-page .vehicle-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-detail-page .vehicle-insight-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-fields-panel dl.row {
        grid-template-columns: minmax(125px, .75fr) minmax(0, 1.25fr);
    }
}

@media (max-width: 680px) {
    .vehicle-detail-page .vehicle-detail-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-detail-page .admin-page-actions {
        width: 100%;
    }

    .vehicle-detail-page .vehicle-toolbar-btn {
        flex: 1 1 0;
        padding: 0 .55rem;
    }

    .vehicle-page-nav {
        top: 68px;
        width: 100%;
    }

    .vehicle-detail-page .vehicle-title-row {
        flex-direction: column;
    }

    .vehicle-detail-page .vehicle-status-card {
        width: 100%;
        min-width: 0;
    }

    .vehicle-detail-page .vehicle-overview-copy {
        padding: 1.25rem;
    }

    .vehicle-detail-page .vehicle-overview-media,
    .vehicle-detail-page .vehicle-overview-media > img,
    .vehicle-detail-page .vehicle-photo-empty {
        min-height: 230px;
    }

    .vehicle-detail-page .vehicle-metric-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-detail-page .vehicle-metric-card {
        min-height: 92px;
    }

    .vehicle-detail-page .vehicle-status-action.has-salesperson {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-detail-page .vehicle-status-action.has-salesperson .form-select,
    .vehicle-detail-page .vehicle-status-action.has-salesperson .vehicle-action-btn {
        width: 100%;
    }

    .vehicle-detail-page .vehicle-action-grid > a,
    .vehicle-detail-page .vehicle-action-grid > form:not(.has-salesperson) {
        flex: 1 1 calc(50% - .3rem);
    }

    .vehicle-detail-page .vehicle-action-grid > form:not(.has-salesperson) .vehicle-action-btn {
        width: 100%;
    }

    .vehicle-fields-panel dl.row {
        grid-template-columns: minmax(0, 1fr);
    }

    .vehicle-fields-panel dl.row dt {
        border-bottom: 0;
        padding-bottom: .2rem;
    }

    .vehicle-fields-panel dl.row dd {
        padding-top: .2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-page-nav,
    .vehicle-back-to-top,
    .vehicle-detail-page .vehicle-action-btn {
        scroll-behavior: auto;
        transition: none;
    }
}
/* Dealer shopper account portal */
.shopper-auth-section{padding:clamp(3rem,7vw,6rem) 0;background:linear-gradient(145deg,color-mix(in srgb,var(--dealer-primary,#155eef) 7%,#f7f9fc),#fff)}
.shopper-auth-card{width:min(100%,34rem);margin:auto;padding:clamp(1.5rem,4vw,2.5rem);background:#fff;border:1px solid #dfe6f0;border-radius:1.25rem;box-shadow:0 1.25rem 3rem rgba(15,35,70,.09)}
.shopper-auth-card-wide{width:min(100%,52rem)}
.shopper-auth-card h1{margin:.25rem 0 .75rem;font-size:clamp(2rem,4vw,3rem)}
.shopper-auth-card>p{color:#617087;margin-bottom:1.75rem}
.shopper-auth-card .form-control{min-height:3.25rem;border-radius:.75rem}
.shopper-auth-card small{display:block;margin-top:.35rem;color:#6b778c}
.shopper-auth-links{display:flex;justify-content:space-between;gap:1rem;margin-top:1.25rem;font-weight:700}
.shopper-eyebrow{display:block;color:var(--dealer-primary,#155eef);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.shopper-portal-hero{padding:clamp(2.5rem,5vw,4.5rem) 0;background:linear-gradient(125deg,#07182f,color-mix(in srgb,var(--dealer-primary,#155eef) 55%,#07182f));color:#fff}
.shopper-portal-hero .container{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.shopper-portal-hero h1{margin:.25rem 0 .5rem;font-size:clamp(2.25rem,5vw,4rem)}
.shopper-portal-hero p{margin:0;color:rgba(255,255,255,.75)}
.shopper-portal-hero .shopper-eyebrow{color:color-mix(in srgb,var(--dealer-secondary,#56d69a) 75%,#fff)}
.shopper-portal{padding:0 0 5rem;background:#f4f7fb}
.shopper-portal-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));transform:translateY(-1.1rem);overflow:hidden;background:#fff;border:1px solid #e0e7f0;border-radius:1rem;box-shadow:0 .8rem 2rem rgba(16,35,65,.09)}
.shopper-portal-nav a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;color:#17263c;text-decoration:none;border-right:1px solid #e7edf4;font-size:.86rem;font-weight:700}
.shopper-portal-nav a:last-child{border-right:0}.shopper-portal-nav strong{display:grid;place-items:center;min-width:1.8rem;height:1.8rem;border-radius:999px;background:color-mix(in srgb,var(--dealer-primary,#155eef) 12%,#fff);color:var(--dealer-primary,#155eef)}
.shopper-portal-section{margin-top:1.25rem;padding:clamp(1.25rem,3vw,2rem);background:#fff;border:1px solid #e0e7f0;border-radius:1.1rem;box-shadow:0 .55rem 1.5rem rgba(19,40,70,.05);scroll-margin-top:2rem}
.shopper-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.shopper-section-heading h2{margin:0;font-size:clamp(1.35rem,2.5vw,1.85rem)}
.shopper-vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.shopper-vehicle-grid>.dealer-empty{grid-column:1/-1}
.shopper-vehicle-card{overflow:hidden;border:1px solid #e0e7f0;border-radius:.9rem;background:#fff}.shopper-vehicle-card>a{display:block;color:#13233a;text-decoration:none}.shopper-vehicle-card img,.shopper-vehicle-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:4/3;object-fit:cover;background:#edf2f8;font-size:3rem}.shopper-vehicle-card div{padding:1rem}.shopper-vehicle-card small{color:var(--dealer-primary,#155eef);font-weight:800;text-transform:uppercase}.shopper-vehicle-card h3{margin:.3rem 0 .6rem;font-size:1rem}.shopper-vehicle-card strong{font-size:1.15rem}
.shopper-vehicle-remove{padding:0 1rem 1rem}.shopper-vehicle-remove button{padding:0;border:0;background:none;color:#66758a;font-weight:700;text-decoration:underline}
.shopper-compare-summary{margin:1.25rem 0 0;padding:.8rem 1rem;border-radius:.75rem;background:#f1f5fa}
.shopper-portal-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.shopper-portal-columns .shopper-portal-section{min-width:0}
.shopper-record-list{display:grid;gap:.7rem}.shopper-record-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem;border:1px solid #e5ebf2;border-radius:.75rem}.shopper-record-list article>div{display:grid;gap:.2rem;min-width:0}.shopper-record-list span,.shopper-record-list small{color:#657389}.shopper-record-list a{font-weight:800}.shopper-status{padding:.3rem .6rem;border-radius:999px;background:#edf3fb;color:#304866!important;font-size:.76rem;font-weight:800;text-transform:uppercase}
.shopper-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.shopper-activity-grid>.dealer-empty{grid-column:1/-1}.shopper-activity-grid article{padding:1rem;border:1px solid #e1e8f0;border-radius:.85rem}.shopper-activity-grid article>span{color:var(--dealer-primary,#155eef);font-size:.75rem;font-weight:800;text-transform:uppercase}.shopper-activity-grid h3{margin:.4rem 0}.shopper-activity-grid p{margin:0;color:#68758a}
@media(max-width:991.98px){.shopper-portal-nav{grid-template-columns:repeat(3,1fr)}.shopper-vehicle-grid{grid-template-columns:repeat(2,1fr)}.shopper-activity-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767.98px){.shopper-auth-links,.shopper-portal-hero .container,.shopper-section-heading{align-items:stretch;flex-direction:column}.shopper-portal-nav{grid-template-columns:repeat(2,1fr)}.shopper-portal-columns,.shopper-vehicle-grid,.shopper-activity-grid{grid-template-columns:1fr}.shopper-portal-nav a:nth-child(2n){border-right:0}.dealer-account-nav-item{display:list-item}}

/* Dealer market-pricing workspace */
.market-pricing-page{--pricing-ink:#0b1e3b;--pricing-line:#dce5f1;--pricing-muted:#64748b;display:grid;gap:1.25rem;padding-bottom:3rem}

/* Consent-aware CRM follow-up cadences */
.cadence-page{display:grid;gap:1.25rem;padding-bottom:3rem}.cadence-safety{display:flex;gap:.8rem;align-items:flex-start;padding:1rem 1.15rem;border-left:4px solid #1677ff}.cadence-safety strong{white-space:nowrap;color:#0b2b59}.cadence-safety span{color:#52647d}.cadence-create{padding:0;overflow:hidden}.cadence-create>summary,.cadence-editor>summary{display:flex;cursor:pointer;list-style:none;align-items:center;justify-content:space-between;padding:1rem 1.2rem}.cadence-create>summary::-webkit-details-marker,.cadence-editor>summary::-webkit-details-marker{display:none}.cadence-create>summary span{display:grid;gap:.15rem}.cadence-create>summary small{color:#6a7b92;font-weight:400}.cadence-create>summary:after,.cadence-editor>summary:after{content:'+';font-size:1.35rem;color:#1677ff}.cadence-create[open]>summary:after,.cadence-editor[open]>summary:after{content:'−'}.cadence-form{display:grid;gap:1rem;padding:1.2rem;border-top:1px solid #e2e9f2}.cadence-basics{grid-template-columns:minmax(220px,1fr) minmax(160px,.4fr)}.cadence-basics fieldset{grid-column:1/-1;border:1px solid #dce5f1;border-radius:12px;padding:.85rem 1rem}.cadence-basics legend{float:none;width:auto;margin:0 0 .6rem;font-size:.92rem;font-weight:700}.cadence-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.45rem .8rem}.cadence-check-grid .form-check,.cadence-reply-stop{display:flex;gap:.5rem;align-items:center}.cadence-check-grid .form-check-input,.cadence-reply-stop .form-check-input{margin:0;flex:0 0 auto}.cadence-basics small,.cadence-form-actions small{display:block;margin-top:.55rem;color:#6a7b92}.cadence-steps-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.cadence-steps-head h3{margin:0}.cadence-steps-head p{margin:.2rem 0 0;color:#6a7b92}.cadence-steps{display:grid;gap:.75rem}.cadence-step{display:grid;grid-template-columns:38px minmax(145px,.45fr) minmax(140px,.35fr) minmax(210px,.8fr) minmax(260px,1fr) auto;gap:.75rem;align-items:end;padding:.9rem;border:1px solid #dce5f1;border-radius:14px;background:#f8fbff}.cadence-step label{font-weight:700;color:#263a56}.cadence-step-number{display:grid;place-items:center;width:34px;height:34px;margin-bottom:.3rem;border-radius:50%;background:#0b2b59;color:#fff;font-weight:800}.cadence-remove-step{align-self:end}.cadence-form-actions{display:flex;align-items:center;gap:1rem}.cadence-library{display:grid;gap:1rem}.cadence-card{padding:1.15rem}.cadence-card-head{display:flex;justify-content:space-between;gap:1rem}.cadence-card h2{margin:.35rem 0 .1rem}.cadence-card p{margin:0;color:#6a7b92}.cadence-status{display:inline-flex;padding:.25rem .55rem;border-radius:999px;background:#e8edf5;color:#53657d;font-size:.75rem;font-weight:800;text-transform:uppercase}.cadence-status.is-active{background:#ddf8e7;color:#12703a}.cadence-status.is-paused{background:#fff0d6;color:#925407}.cadence-sequence{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.6rem;margin:1rem 0;padding:0;list-style:none;counter-reset:cadence}.cadence-sequence li{position:relative;display:grid;gap:.2rem;padding:.8rem .8rem .8rem 2.7rem;border-radius:12px;background:#f6f9fd}.cadence-sequence li:before{counter-increment:cadence;content:counter(cadence);position:absolute;left:.75rem;top:.78rem;display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#1677ff;color:#fff;font-size:.72rem;font-weight:800}.cadence-sequence span,.cadence-sequence small{color:#64748b}.cadence-editor{border-top:1px solid #e2e9f2;margin:1rem -1.15rem -1.15rem}.cadence-empty{text-align:center;padding:2.5rem}
@media(max-width:1100px){.cadence-step{grid-template-columns:38px repeat(2,minmax(160px,1fr))}.cadence-step-subject,.cadence-step-message{grid-column:2/-1}.cadence-remove-step{grid-column:3}}
@media(max-width:700px){.cadence-safety,.cadence-form-actions,.cadence-steps-head{align-items:stretch;flex-direction:column}.cadence-basics,.cadence-step{grid-template-columns:1fr}.cadence-step-number,.cadence-step-subject,.cadence-step-message,.cadence-remove-step{grid-column:1}.cadence-step-number{margin:0}.cadence-form{padding:1rem}.cadence-check-grid{grid-template-columns:1fr 1fr}}

/* Advanced lead routing */
.lead-routing-page{display:grid;gap:1.2rem;padding-bottom:3rem}.routing-explainer{display:flex;gap:.75rem;padding:1rem 1.15rem;border-left:4px solid #7c3aed}.routing-explainer strong{white-space:nowrap;color:#132c54}.routing-explainer span{color:#5d6d82}.routing-create{padding:0;overflow:hidden}.routing-create>summary,.routing-editor>summary{display:flex;cursor:pointer;list-style:none;justify-content:space-between;align-items:center;padding:1rem 1.15rem}.routing-create>summary::-webkit-details-marker,.routing-editor>summary::-webkit-details-marker{display:none}.routing-create>summary span{display:grid}.routing-create>summary small{color:#64748b;font-weight:400}.routing-create>summary:after,.routing-editor>summary:after{content:'+';color:#1677ff;font-size:1.35rem}.routing-create[open]>summary:after,.routing-editor[open]>summary:after{content:'−'}.routing-rule-form{display:grid;gap:1rem;padding:1.15rem;border-top:1px solid #e1e8f2}.routing-rule-basics{grid-template-columns:2fr .7fr .8fr 1.2fr 1.2fr 1.4fr 1.5fr}.routing-rule-form label,.routing-rule-form legend{font-weight:700;color:#263a56}.routing-rule-form label small{display:block;margin-top:.35rem;color:#718097;font-weight:400}.routing-condition-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.routing-condition-grid fieldset{border:1px solid #dce5f1;border-radius:13px;padding:.85rem}.routing-condition-grid legend{float:none;width:auto;margin:0 0 .55rem;font-size:.92rem}.routing-condition-grid small{display:block;margin-top:.55rem;color:#718097}.routing-checks{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:.4rem .65rem;max-height:190px;overflow:auto}.routing-checks .form-check{display:flex;gap:.45rem;align-items:center;margin:0}.routing-checks .form-check-input{margin:0}.routing-rule-actions{display:flex;align-items:center;gap:1rem}.routing-rule-actions span{color:#64748b}.routing-rule-list{display:grid;gap:1rem}.routing-rule-card{padding:1.15rem}.routing-rule-head{display:flex;justify-content:space-between;gap:1rem}.routing-rule-head h2{margin:.3rem 0 .1rem}.routing-rule-head p{margin:0;color:#64748b}.routing-rule-result{display:grid;text-align:right}.routing-rule-result span{color:#64748b}.routing-rule-conditions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.routing-rule-conditions span{padding:.35rem .65rem;border:1px solid #dce5f1;border-radius:999px;background:#f7faff;color:#42546d;font-size:.83rem}.routing-editor{border-top:1px solid #e1e8f2;margin:1rem -1.15rem -1.15rem}.routing-history{padding:0;overflow:hidden}.routing-history-head{padding:1rem 1.15rem}.routing-history-head h2{margin:0}.routing-history-head p{margin:.2rem 0 0;color:#64748b}.routing-history td small{display:block;color:#64748b;max-width:420px}
@media(max-width:1250px){.routing-rule-basics{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.routing-condition-grid{grid-template-columns:1fr}.routing-rule-basics{grid-template-columns:1fr 1fr}.routing-rule-head{flex-direction:column}.routing-rule-result{text-align:left}.routing-rule-actions,.routing-explainer{align-items:stretch;flex-direction:column}}@media(max-width:560px){.routing-rule-basics{grid-template-columns:1fr}.routing-checks{grid-template-columns:1fr}}
.market-pricing-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;padding:1.5rem 1.65rem;border:1px solid var(--pricing-line);border-radius:1rem;background:linear-gradient(125deg,#fff 45%,#eef5ff);box-shadow:0 .6rem 1.6rem rgba(15,39,78,.05)}
.market-pricing-hero h1{margin:.15rem 0 .35rem;color:var(--pricing-ink);font-size:clamp(1.8rem,3vw,2.6rem)}.market-pricing-hero p{margin:0;color:var(--pricing-muted)}
.market-pricing-eyebrow{color:#1769e8!important;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.market-pricing-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem}.market-pricing-stat{display:grid;gap:.18rem;padding:1rem 1.1rem;border:1px solid var(--pricing-line);border-left:4px solid #1769e8;border-radius:.85rem;background:#fff;color:var(--pricing-ink);text-decoration:none}.market-pricing-stat strong{font-size:1.85rem}.market-pricing-stat small{color:var(--pricing-muted)}.market-pricing-stat.is-muted{border-left-color:#94a3b8}.market-pricing-stat.is-warning{border-left-color:#f59e0b}.market-pricing-stat.is-danger{border-left-color:#ef4444}.market-pricing-stat.is-success{border-left-color:#16a34a}
.market-pricing-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:1rem}.market-pricing-layout.is-vehicle{grid-template-columns:minmax(0,1fr) minmax(330px,390px)}.market-pricing-layout>main{display:grid;gap:1rem;min-width:0}
.market-pricing-list-panel,.market-pricing-settings,.market-pricing-current,.market-pricing-comps,.market-pricing-history,.market-pricing-entry-panel{overflow:hidden;border:1px solid var(--pricing-line);border-radius:1rem;background:#fff}.market-pricing-settings,.market-pricing-entry-panel{position:sticky;top:1rem;padding:1.2rem}.market-pricing-settings>p,.market-pricing-entry-panel>p{color:var(--pricing-muted)}.market-pricing-settings form,.market-pricing-entry-panel form{display:grid;gap:.9rem}.market-pricing-settings .form-label,.market-pricing-entry-panel .form-label{display:grid;gap:.38rem;margin:0;font-weight:700}
.market-pricing-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.2rem;border-bottom:1px solid var(--pricing-line)}.market-pricing-panel-head h2{margin:0;color:var(--pricing-ink);font-size:1.15rem}.market-pricing-panel-head p{margin:.2rem 0 0;color:var(--pricing-muted);font-size:.86rem}.market-pricing-filter{display:flex;gap:.55rem}.market-pricing-filter .form-control{min-width:210px}.market-pricing-filter .form-select{min-width:175px}
.market-pricing-table{margin:0}.market-pricing-table th{padding:.8rem 1rem;color:#60708a;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.market-pricing-table td{padding:.95rem 1rem;vertical-align:middle}.market-pricing-table td>strong,.market-pricing-table td>small{display:block}.market-pricing-table td>small{margin-top:.18rem;color:var(--pricing-muted);font-size:.76rem}.market-pricing-table td:last-child{text-align:right}.market-pricing-empty{padding:2rem!important;color:var(--pricing-muted);text-align:center}
.market-pricing-badge{display:inline-flex;padding:.32rem .56rem;border-radius:999px;background:#edf2f8;color:#52637b;font-size:.72rem;font-weight:800;white-space:nowrap}.market-pricing-badge.is-stale{background:#fff5d9;color:#9a6000}.market-pricing-badge.is-above{background:#ffe8e8;color:#b4232d}.market-pricing-badge.is-below{background:#e8f1ff;color:#155fc3}.market-pricing-badge.is-in_range{background:#e6f7ed;color:#17733a}
.market-pricing-disclaimer{display:grid;gap:.2rem;margin-top:.35rem;padding:.8rem;border-radius:.7rem;background:#fff8e5;color:#684d12;font-size:.78rem}.market-pricing-disclaimer strong{font-size:.82rem}
.market-pricing-vehicle-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.market-pricing-vehicle-metrics article{display:grid;gap:.22rem;padding:1rem 1.1rem;border:1px solid var(--pricing-line);border-radius:.85rem;background:#fff}.market-pricing-vehicle-metrics span,.market-pricing-vehicle-metrics small{color:var(--pricing-muted)}.market-pricing-vehicle-metrics strong{color:var(--pricing-ink);font-size:1.55rem}.market-pricing-vehicle-metrics .is-recommendation{background:linear-gradient(135deg,#0b2d68,#1769e8);border-color:#1769e8}.market-pricing-vehicle-metrics .is-recommendation span,.market-pricing-vehicle-metrics .is-recommendation small{color:#d7e6ff}.market-pricing-vehicle-metrics .is-recommendation strong{color:#fff}
.market-pricing-range{display:grid;grid-template-columns:repeat(3,1fr);padding:1.1rem}.market-pricing-range>div{display:grid;gap:.2rem;padding:.8rem 1rem;border-right:1px solid var(--pricing-line);text-align:center}.market-pricing-range>div:last-child{border:0}.market-pricing-range span{color:var(--pricing-muted)}.market-pricing-range strong{font-size:1.45rem;color:var(--pricing-ink)}
.market-pricing-source-details{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0 1.2rem 1rem}.market-pricing-source-details>div{display:grid;gap:.2rem}.market-pricing-source-details dt{color:var(--pricing-muted);font-size:.75rem;text-transform:uppercase}.market-pricing-source-details dd{margin:0;font-weight:700}.market-pricing-source-details dd span{display:block;color:var(--pricing-muted);font-size:.72rem;font-weight:500;text-transform:capitalize}.market-pricing-current>p{padding:0 1.2rem}.market-pricing-recommendation{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-top:1px solid var(--pricing-line);background:#f7faff}.market-pricing-recommendation p{max-width:680px;margin:.25rem 0 0;color:var(--pricing-muted);font-size:.83rem}
.market-pricing-comps .table{margin:0}.market-pricing-comps td,.market-pricing-comps th{padding:.75rem 1rem;vertical-align:middle}.market-pricing-comps td strong,.market-pricing-comps td small{display:block}.market-pricing-comps td small{color:var(--pricing-muted)}
.market-pricing-history-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;padding:1.1rem}.market-pricing-history-columns h3{font-size:1rem}.market-pricing-history-columns article{display:grid;grid-template-columns:90px 1fr;gap:.15rem .65rem;padding:.65rem 0;border-bottom:1px solid var(--pricing-line)}.market-pricing-history-columns article span{grid-row:1/3;color:var(--pricing-muted);font-size:.78rem}.market-pricing-history-columns article small{color:var(--pricing-muted)}
.market-pricing-comparable-entry{display:grid;gap:.65rem;padding-top:.4rem;border-top:1px solid var(--pricing-line)}.market-pricing-comparable-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.market-pricing-comparable-head h3{margin:0;font-size:1rem}.market-pricing-comparable-entry>p{margin:0;color:var(--pricing-muted);font-size:.78rem}.market-pricing-comparable-row{display:grid;grid-template-columns:64px 1fr 1.3fr 1fr 1fr 1.5fr 32px;gap:.35rem;margin-bottom:.45rem}.market-pricing-comparable-row .form-control{min-width:0;padding:.45rem .5rem;font-size:.76rem}.market-pricing-remove-row{border:0;background:transparent;color:#a33843;font-size:1.3rem}
.vehicle-market-pricing-card{scroll-margin-top:6rem}.vehicle-market-pricing-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;padding:1rem 1.2rem}.vehicle-market-pricing-body>div{display:grid;gap:.15rem}.vehicle-market-pricing-body span{color:#6b7a90;font-size:.76rem;text-transform:uppercase}.vehicle-market-pricing-body strong{color:#0b1e3b;font-size:1.1rem}.vehicle-market-pricing-card>p{margin:0;padding:0 1.2rem 1rem;color:#6b7a90;font-size:.8rem}
@media(max-width:1199.98px){.market-pricing-summary{grid-template-columns:repeat(3,1fr)}.market-pricing-layout,.market-pricing-layout.is-vehicle{grid-template-columns:1fr}.market-pricing-settings,.market-pricing-entry-panel{position:static}.market-pricing-comparable-row{grid-template-columns:repeat(3,1fr) 32px}.market-pricing-comparable-row .market-pricing-remove-row{grid-column:4;grid-row:1/3}.market-pricing-vehicle-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767.98px){.market-pricing-hero,.market-pricing-panel-head,.market-pricing-recommendation{align-items:stretch;flex-direction:column}.market-pricing-summary,.market-pricing-vehicle-metrics{grid-template-columns:repeat(2,1fr)}.market-pricing-filter{display:grid;width:100%}.market-pricing-filter .form-control,.market-pricing-filter .form-select{min-width:0}.market-pricing-range,.market-pricing-source-details,.market-pricing-history-columns,.vehicle-market-pricing-body{grid-template-columns:1fr}.market-pricing-range>div{border-right:0;border-bottom:1px solid var(--pricing-line)}.market-pricing-comparable-row{grid-template-columns:1fr 1fr 32px}.market-pricing-comparable-row .market-pricing-remove-row{grid-column:3;grid-row:1/4}}
@media(max-width:479.98px){.market-pricing-summary,.market-pricing-vehicle-metrics{grid-template-columns:1fr}}

/* Inventory acquisition worksheets */
.acquisition-page{display:grid;gap:1.25rem;padding-bottom:3rem}.acquisition-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.market-pricing-badge.is-pending_review{background:#fff4d6;color:#8a5900}.market-pricing-badge.is-approved,.market-pricing-badge.is-acquired{background:#e5f7ed;color:#18713b}.market-pricing-badge.is-declined{background:#ffe8e8;color:#ae2830}.market-pricing-badge.is-researching{background:#eef2f7;color:#59677c}
.acquisition-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:1rem}.acquisition-form,.acquisition-commit-panel{overflow:hidden;border:1px solid #dce5f1;border-radius:1rem;background:#fff}.acquisition-form-body{display:grid;gap:1.25rem;padding:1.2rem}.acquisition-form-body .form-label{display:grid;gap:.38rem;font-weight:700}.acquisition-form-body h3{margin:0;padding-top:.3rem;font-size:1rem}.acquisition-calculation{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:1rem;border-radius:.8rem;background:#eef5ff}.acquisition-calculation>div{display:grid;gap:.25rem}.acquisition-calculation>div:last-child{text-align:right}.acquisition-calculation span{color:#64748b}.acquisition-calculation strong{color:#0b1e3b;font-size:1.35rem}.acquisition-commit-panel{position:sticky;top:1rem;padding:1.2rem}.acquisition-commit-panel>p{color:#64748b}.acquisition-commit-panel dl{display:grid;margin:1rem 0}.acquisition-commit-panel dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid #dce5f1}.acquisition-commit-panel dd{margin:0;font-weight:800}.acquisition-boundary{margin-top:1rem!important;padding-top:1rem;border-top:1px solid #dce5f1;font-size:.76rem}
@media(max-width:991.98px){.acquisition-summary{grid-template-columns:repeat(2,1fr)}.acquisition-workspace-layout{grid-template-columns:1fr}.acquisition-commit-panel{position:static}}
@media(max-width:479.98px){.acquisition-summary{grid-template-columns:1fr}.acquisition-calculation{grid-template-columns:1fr}.acquisition-calculation>div:last-child{text-align:left}}
.deal-desk-status-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.deal-desk-status-strip > div {
    display: grid;
    gap: 3px;
    padding: 16px 18px;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 35, 66, .05);
}

.deal-desk-status-strip strong { color: #0f2f68; font-size: 1.35rem; }
.deal-desk-status-strip span { color: #66758c; font-size: .83rem; }
.deal-desk-status-strip .is-ready { border-color: #a7ddbf; background: #f1fbf5; }
.deal-desk-status-strip .is-ready strong { color: #177847; }
.deal-desk-status-strip .is-gated { border-color: #f3d09b; background: #fff9ef; }
.deal-desk-status-strip .is-gated strong { color: #9a5a00; }

.deal-desk-estimate-card { position: sticky; top: 88px; align-self: start; }
.deal-desk-boundary-callout { margin-top: 20px; padding: 15px; border-radius: 12px; background: #f5f8fc; border-left: 4px solid #1d6fe9; }
.deal-desk-boundary-callout p { margin: 4px 0 0; color: #65738a; font-size: .86rem; }
.deal-quote-list { display: grid; gap: 14px; }
.deal-quote-card { padding: 18px; border: 1px solid #dbe4f0; border-radius: 14px; background: linear-gradient(135deg, #fff, #f8fbff); }
.deal-quote-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.deal-quote-card-head h3 { margin: 2px 0; font-size: 1.06rem; }
.deal-quote-card-head p { margin: 0; color: #6a788d; font-size: .84rem; }
.deal-quote-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 15px 0; }
.deal-quote-metrics > div { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3eaf3; }
.deal-quote-metrics dt { color: #748096; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.deal-quote-metrics dd { margin: 3px 0 0; color: #10284f; font-weight: 700; }
.deal-quote-actions, .deal-quote-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.deal-quote-actions { border-top: 1px solid #e3eaf3; padding-top: 13px; }
.deal-quote-inline-form .form-select { min-width: 180px; max-width: 250px; }
.deal-desk-config-list { display: grid; gap: 8px; margin-top: 18px; }
.deal-desk-config-list > details { border-top: 1px solid #e6ebf2; }
.deal-desk-config-list summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 11px 0; cursor: pointer; }
.deal-desk-config-list summary > span:first-child { display: grid; gap: 2px; }
.deal-desk-config-list small { color: #718096; }
.deal-desk-edit-form { margin: 2px 0 15px; padding: 15px; border-radius: 11px; background: #f7f9fc; }
.deal-desk-partner-status { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px; margin-bottom: 16px; border-radius: 11px; }
.deal-desk-partner-status span { display: grid; gap: 2px; }
.deal-desk-partner-status small { color: #68768a; }
.deal-desk-partner-status.is-ready { background: #edf9f2; border: 1px solid #a6d9ba; }
.deal-desk-partner-status.is-gated { background: #fff8ec; border: 1px solid #f2cf98; }
.deal-desk-run-list { display: grid; gap: 7px; }
.deal-desk-run-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid #e5eaf1; font-size: .83rem; }
.deal-desk-run-list time { color: #758196; white-space: nowrap; }

@media (max-width: 1100px) {
    .deal-desk-status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .deal-desk-estimate-card { position: static; }
    .deal-quote-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .deal-desk-status-strip, .deal-quote-metrics { grid-template-columns: 1fr; }
    .deal-quote-card-head, .deal-desk-partner-status { align-items: stretch; flex-direction: column; }
    .deal-quote-inline-form, .deal-quote-inline-form .form-select, .deal-quote-inline-form button { width: 100%; max-width: none; }
}

/* Super Admin platform notification center */
.platform-notification-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.5rem 1.6rem;border:1px solid #dce6f2;border-radius:1.1rem;background:linear-gradient(135deg,#fff 0%,#f5f9ff 62%,#eef5ff 100%);box-shadow:0 14px 35px rgba(15,42,84,.06)}
.platform-notification-header>div:first-child{max-width:65ch}
.platform-notification-transport{display:flex;align-items:center;gap:.7rem;min-width:205px;padding:.8rem 1rem;border:1px solid #b9e0c8;border-radius:.8rem;background:#effaf3;color:#185f39}
.platform-notification-transport.is-warning{border-color:#efd19b;background:#fff8ec;color:#895400}
.platform-notification-transport-dot{width:.65rem;height:.65rem;border-radius:50%;background:#25a55b;box-shadow:0 0 0 4px rgba(37,165,91,.12)}
.platform-notification-transport.is-warning .platform-notification-transport-dot{background:#d78a12;box-shadow:0 0 0 4px rgba(215,138,18,.13)}
.platform-notification-transport div{display:grid;line-height:1.2}.platform-notification-transport small{margin-top:.18rem;color:inherit;opacity:.78}
.platform-notification-form{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:1.25rem}
.platform-notification-events,.platform-notification-recipients,.platform-notification-deliveries{overflow:hidden;border:1px solid #dce6f2;border-radius:1rem;background:#fff;box-shadow:0 12px 30px rgba(15,42,84,.05)}
.platform-notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.35rem;border-bottom:1px solid #e4ebf4}
.platform-notification-panel-head>div{display:flex;align-items:center;gap:.85rem}.platform-notification-panel-head h2{margin:0;color:#10284f;font-size:1.08rem}.platform-notification-panel-head p{margin:.22rem 0 0;color:#6b7b91;font-size:.83rem}
.platform-notification-step{display:grid;place-items:center;flex:0 0 2.15rem;width:2.15rem;height:2.15rem;border-radius:.7rem;background:#e8f1ff;color:#1767db;font-weight:800}.platform-notification-step.is-neutral{background:#eef2f7;color:#52647c}
.platform-notification-count,.platform-notification-limit{padding:.4rem .65rem;border-radius:999px;background:#eef5ff;color:#3262a2;font-size:.76rem;white-space:nowrap}.platform-notification-limit{background:#f2f4f7;color:#627086}
.platform-notification-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;padding:1.2rem}
.platform-notification-event{position:relative;display:grid;grid-template-columns:2.6rem 1fr auto;align-items:start;gap:.8rem;min-height:112px;padding:1rem;border:1px solid #dce5ef;border-radius:.85rem;background:#fff;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s,background .18s}
.platform-notification-event:hover{transform:translateY(-1px);border-color:#a9c6ec;box-shadow:0 8px 20px rgba(28,91,170,.08)}
.platform-notification-event:has(input:focus-visible){outline:3px solid rgba(35,118,255,.26);outline-offset:2px}
.platform-notification-event.is-selected{border-color:#3a82df;background:#f5f9ff;box-shadow:inset 0 0 0 1px #3a82df}
.platform-notification-event>.form-check-input{position:absolute;opacity:0;pointer-events:none}
.platform-notification-event-icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:.72rem;background:#edf3fa;color:#3d5f86}.platform-notification-event.is-selected .platform-notification-event-icon{background:#deebff;color:#1767db}
.platform-notification-event-icon svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.platform-notification-event-copy{display:grid;gap:.3rem}.platform-notification-event-copy strong{color:#152c4e;font-size:.92rem}.platform-notification-event-copy small{color:#6e7d91;font-size:.77rem;line-height:1.45}
.platform-notification-check{display:grid;place-items:center;width:1.25rem;height:1.25rem;margin-top:.1rem;border:1px solid #cbd6e3;border-radius:.38rem;background:#fff;color:transparent;font-size:.75rem;font-weight:900}.platform-notification-event.is-selected .platform-notification-check{border-color:#2876d8;background:#2876d8;color:#fff}
.platform-notification-email-list{display:grid;gap:.65rem;padding:1.2rem}
.platform-notification-email-row{display:grid;grid-template-columns:2rem minmax(115px,.75fr) minmax(180px,1.25fr);align-items:center;gap:.7rem;padding:.72rem;border:1px solid #e1e8f1;border-radius:.78rem;background:#fbfcfe}
.platform-notification-email-number{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:.55rem;background:#eaf1fa;color:#395c87;font-size:.75rem;font-weight:800}
.platform-notification-email-copy{display:grid}.platform-notification-email-copy strong{color:#213753;font-size:.79rem}.platform-notification-email-copy small{color:#7b8798;font-size:.68rem}
.platform-notification-email-row .form-control{min-width:0;border-color:#d5dfeb;background:#fff;font-size:.84rem}
.platform-notification-transport-note{display:flex;align-items:flex-start;gap:.7rem;margin:0 1.2rem 1.2rem;padding:.85rem;border:1px solid #cfe0f5;border-radius:.75rem;background:#f2f7fd;color:#37597e}.platform-notification-transport-note>span{font-weight:900}.platform-notification-transport-note p{margin:0;font-size:.76rem;line-height:1.45}
.platform-notification-savebar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border:1px solid #d7e2ef;border-radius:.9rem;background:#fff;box-shadow:0 10px 24px rgba(15,42,84,.05)}
.platform-notification-savebar>div{display:grid}.platform-notification-savebar strong{color:#142b4b}.platform-notification-savebar span{color:#708097;font-size:.78rem}
.platform-notification-empty{display:grid;justify-items:center;padding:2.5rem 1rem;text-align:center}.platform-notification-empty>span{display:grid;place-items:center;width:3rem;height:3rem;margin-bottom:.8rem;border-radius:50%;background:#eef4fb;color:#50729b;font-size:1.2rem}.platform-notification-empty strong{color:#213957}.platform-notification-empty p{margin:.25rem 0 0;color:#738196;font-size:.82rem}
.platform-notification-table th{padding:.75rem 1.2rem;border-bottom-color:#dfe7f0;color:#718097;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em}.platform-notification-table td{padding:.9rem 1.2rem;border-color:#edf1f6;color:#43546a;font-size:.82rem}.platform-notification-table td strong,.platform-notification-table td small{display:block}.platform-notification-table td small{margin-top:.18rem;color:#7d8999;font-size:.7rem}.platform-notification-table time{white-space:nowrap;color:#718097;font-size:.76rem}
.platform-notification-status{display:inline-flex!important;width:max-content;padding:.3rem .55rem;border-radius:999px;background:#eef2f6;color:#56667b;font-size:.68rem!important;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.platform-notification-status.is-sent{background:#e6f7ed;color:#1a7441}.platform-notification-status.is-failed,.platform-notification-status.is-skipped{background:#fff0ed;color:#a53b2f}
@media(max-width:1199.98px){.platform-notification-form{grid-template-columns:1fr}.platform-notification-savebar{grid-column:auto}.platform-notification-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.platform-notification-event{grid-template-columns:2.4rem 1fr auto}}
@media(max-width:991.98px){.platform-notification-header{align-items:stretch;flex-direction:column;gap:1rem}.platform-notification-transport{min-width:0}.platform-notification-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.platform-notification-savebar{align-items:stretch;flex-direction:column}.platform-notification-email-row{grid-template-columns:2rem 1fr}.platform-notification-email-row .form-control{grid-column:1/-1}.platform-notification-panel-head{align-items:flex-start}.platform-notification-savebar .dashboard-primary-btn{justify-content:center;width:100%}.platform-notification-deliveries .table-responsive{overflow:visible}.platform-notification-table,.platform-notification-table tbody,.platform-notification-table tr,.platform-notification-table td{display:block;width:100%}.platform-notification-table thead{display:none}.platform-notification-table tr{display:grid;gap:.7rem;padding:1rem 1.2rem;border-bottom:1px solid #e6edf5}.platform-notification-table tr:last-child{border-bottom:0}.platform-notification-table td{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:.65rem;padding:0;border:0;overflow-wrap:anywhere}.platform-notification-table td::before{content:attr(data-label);color:#718097;font-size:.66rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.platform-notification-table td strong,.platform-notification-table td small,.platform-notification-table td time,.platform-notification-table td>.platform-notification-status{grid-column:2}.platform-notification-table td small{margin-top:-.45rem}}
@media(max-width:520px){.platform-notification-event-grid{grid-template-columns:1fr}.platform-notification-panel-head{flex-direction:column}.platform-notification-event{min-height:0}}

/* Prospect postcard conversion tracking */
.prospect-campaign-page{grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0}
.postcard-performance{overflow:hidden;border:1px solid #d7e3f2;border-radius:1.15rem;background:#fff;box-shadow:0 14px 34px rgba(15,42,84,.07)}.postcard-performance *{min-width:0}
.postcard-performance-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;padding:1.5rem 1.6rem 1.2rem;background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%)}
.postcard-performance-head h2{margin:.25rem 0 .35rem;color:#102448;font-size:1.45rem;font-weight:800}
.postcard-performance-head p{max-width:700px;margin:0;color:#667991;font-size:.92rem}
.performance-volume{display:grid;min-width:145px;padding:.75rem 1rem;border:1px solid #cfe0f4;border-radius:.85rem;background:rgba(255,255,255,.82);text-align:right}
.performance-volume strong{color:#0f56b8;font-size:1.55rem;line-height:1}.performance-volume span{margin-top:.35rem;color:#637791;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
.performance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e1eaf5;border-bottom:1px solid #e1eaf5}
.performance-kpis article{display:grid;gap:.25rem;padding:1.25rem 1.4rem;border-right:1px solid #e4ebf4}.performance-kpis article:last-child{border-right:0}
.performance-kpis span{color:#59677d;font-size:.78rem;font-weight:700}.performance-kpis strong{color:#102448;font-size:1.85rem;line-height:1.15}.performance-kpis small{color:#59677d;font-size:.73rem}
.postcard-funnel{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;padding:1.35rem 1.4rem;background:#fbfcfe}
.postcard-funnel-stage{position:relative;display:grid;grid-template-columns:1.8rem 1fr;align-items:center;gap:.55rem;min-width:0;padding:.65rem .8rem .65rem 0}
.postcard-funnel-stage:not(:last-child)::after{content:"";position:absolute;right:.4rem;top:50%;width:.7rem;height:.7rem;border-top:2px solid #b7c9df;border-right:2px solid #b7c9df;transform:translateY(-50%) rotate(45deg)}
.postcard-funnel-stage .funnel-step{display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:50%;background:#e4effd;color:#2468bc;font-size:.72rem;font-weight:800}
.postcard-funnel-stage div{display:grid;min-width:0}.postcard-funnel-stage div strong{color:#152c4e;font-size:1.12rem;line-height:1}.postcard-funnel-stage div span{overflow:hidden;color:#52657d;font-size:.72rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.postcard-funnel-stage small{grid-column:2;color:#59677d;font-size:.65rem}.postcard-funnel-stage.is-final .funnel-step{background:#d9f5e5;color:#137646}.postcard-funnel-stage.is-final div strong{color:#137646}
.performance-insights{display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(420px,1fr);gap:1rem;padding:0 1.4rem 1.4rem;background:#fbfcfe}
.hot-followup{display:grid;grid-template-columns:2.6rem 1fr auto;align-items:center;gap:.85rem;padding:1rem 1.05rem;border:1px solid #ffd08a;border-radius:.9rem;background:#fff8ea;color:inherit;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}
.hot-followup:hover{transform:translateY(-1px);border-color:#f2ad42;box-shadow:0 9px 22px rgba(164,103,15,.11);color:inherit}
.hot-followup-icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:.75rem;background:#f59e0b;color:#fff;font-size:1.05rem;font-weight:900}.hot-followup>span:nth-child(2){display:grid}.hot-followup strong{color:#6d4305;font-size:.88rem}.hot-followup small{margin-top:.18rem;color:#8b672f;font-size:.74rem;line-height:1.35}.hot-followup-link{color:#a35d00;font-size:.76rem;font-weight:800;white-space:nowrap}
.performance-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border:1px solid #dfe7f1;border-radius:.9rem;background:#fff}
.performance-mini-stats div{display:grid;align-content:center;gap:.22rem;padding:.8rem;border-right:1px solid #e6edf5;text-align:center}.performance-mini-stats div:last-child{border-right:0}.performance-mini-stats dt{color:#59677d;font-size:.65rem;font-weight:700;line-height:1.25}.performance-mini-stats dd{margin:0;color:#1b3558;font-size:1.1rem;font-weight:800}
.prospect-results-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #e3eaf3;background:#fbfcfe}.prospect-results-head h2{margin:0;color:#183250;font-size:1rem}.prospect-results-head p{margin:.25rem 0 0;color:#59677d;font-size:.76rem}.prospect-results-head>span{padding:.38rem .62rem;border-radius:999px;background:#edf3fa;color:#4d6684;font-size:.7rem;font-weight:800;white-space:nowrap}
.journey-badge{display:inline-flex;align-items:center;max-width:190px;padding:.35rem .58rem;border-radius:999px;background:#eef2f6;color:#52647a;font-size:.69rem;font-weight:800;line-height:1.2}.journey-badge.is-info{background:#e9f2ff;color:#1c61ad}.journey-badge.is-warning{background:#fff3d9;color:#865500}.journey-badge.is-danger{background:#fff0ed;color:#a33e33}.journey-badge.is-hot{background:#fff0d2;color:#8a5100;box-shadow:inset 0 0 0 1px #f3c36f}.journey-badge.is-success{background:#e1f6e9;color:#147344}.journey-note{margin-top:.28rem;color:#a15b00;font-size:.67rem;font-weight:700}
.prospect-journey-card{display:grid;gap:1rem;padding:1.2rem 1.3rem;border:1px solid #d9e4f1;border-radius:1rem;background:#fff}.prospect-journey-card h2{margin:.2rem 0 0;color:#173151;font-size:1.1rem}.prospect-journey-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.55rem}.prospect-journey-steps span{display:flex;align-items:center;gap:.45rem;color:#8591a2;font-size:.73rem;font-weight:700}.prospect-journey-steps i{display:grid;place-items:center;flex:0 0 1.4rem;width:1.4rem;height:1.4rem;border:1px solid #d4dde8;border-radius:50%;font-size:.68rem;font-style:normal}.prospect-journey-steps span.is-complete{color:#176b45}.prospect-journey-steps span.is-complete i{border-color:#b9e5cb;background:#dff5e8}.prospect-journey-alert{padding:.75rem .9rem;border:1px solid #f1c36d;border-radius:.7rem;background:#fff7e6;color:#7a4c08;font-size:.8rem}.prospect-journey-alert.is-danger{border-color:#efc0b9;background:#fff1ef;color:#913d34}
@media(max-width:1199.98px){.postcard-funnel{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:.6rem}.postcard-funnel-stage:nth-child(4)::after{display:none}.performance-insights{grid-template-columns:1fr}.performance-mini-stats{min-height:82px}}
@media(max-width:767.98px){.postcard-performance-head{flex-direction:column;padding:1.2rem}.performance-volume{min-width:0;width:100%;text-align:left}.performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-kpis article:nth-child(2){border-right:0}.performance-kpis article:nth-child(-n+2){border-bottom:1px solid #e4ebf4}.postcard-funnel{grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem}.postcard-funnel-stage:nth-child(2n)::after{display:none}.performance-insights{padding:0 1rem 1rem}.hot-followup{grid-template-columns:2.4rem 1fr}.hot-followup-link{grid-column:2}.performance-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-mini-stats div:nth-child(2){border-right:0}.performance-mini-stats div:nth-child(-n+2){border-bottom:1px solid #e6edf5}.prospect-journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.performance-kpis article{padding:1rem}.performance-kpis strong{font-size:1.5rem}.postcard-funnel{grid-template-columns:1fr}.postcard-funnel-stage::after{display:none!important}.hot-followup{grid-template-columns:1fr}.hot-followup-icon{width:2.35rem;height:2.35rem}.hot-followup-link{grid-column:1}.prospect-results-head{align-items:flex-start;flex-direction:column}}
@media(max-width:575.98px){.prospect-campaign-page .admin-page-head{min-width:0}.prospect-campaign-page .admin-page-actions{display:grid;grid-template-columns:1fr;width:100%}.prospect-campaign-page .admin-page-actions form,.prospect-campaign-page .admin-page-actions button{width:100%}.prospect-campaign-page .admin-page-head h1{overflow-wrap:anywhere}}
/* Trial-to-paid conversion workspace */
.trial-conversion-panel{padding:24px;margin-bottom:24px;border:1px solid #cbdcf8;background:linear-gradient(135deg,#f7fbff 0%,#fff 58%,#f4fff7 100%);box-shadow:0 14px 36px rgba(20,58,105,.08)}
.trial-conversion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.trial-conversion-head h2{margin:4px 0 8px;font-size:clamp(1.35rem,2vw,1.8rem)}
.trial-conversion-head p{max-width:760px;margin:0;color:#526174}
.trial-conversion-kicker{color:#135bb5;font-size:.75rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.trial-conversion-cta{flex:0 0 auto;white-space:nowrap}
.trial-conversion-progress{height:9px;margin:22px 0 18px;overflow:hidden;border-radius:999px;background:#dfe8f4}
.trial-conversion-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#135bb5,#69bd45)}
.trial-conversion-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}
.trial-conversion-summary div{padding:12px 14px;border:1px solid #e2e9f2;border-radius:12px;background:rgba(255,255,255,.82)}
.trial-conversion-summary strong,.trial-conversion-summary span{display:block}
.trial-conversion-summary strong{font-size:1.2rem;color:#17253b}.trial-conversion-summary span{font-size:.78rem;color:#66758a}
.trial-conversion-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.75fr);gap:20px}
.trial-conversion-body h3{margin:0 0 10px;font-size:1rem}
.trial-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0;padding:0;list-style:none}
.trial-checklist li{display:flex;gap:9px;align-items:flex-start;color:#536277}.trial-checklist li span{color:#b5c0ce;font-weight:800}.trial-checklist li.is-complete span{color:#37944d}.trial-checklist li.is-complete a{color:#536277;text-decoration:line-through;text-decoration-color:#aab6c4}

/* Dealer onboarding launch checklist */
.onboarding-workflow-page{--ob-ink:#13203a;--ob-muted:#65738a;--ob-line:#e5eaf1;--ob-blue:#3563f4;--ob-green:#15965d;--ob-amber:#e78b10;--ob-red:#df4b5a;max-width:1500px}.onboarding-workflow-page svg{width:20px;height:20px;display:block}
.onboarding-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}.onboarding-title-wrap{display:flex;align-items:flex-start;gap:16px}.onboarding-title-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;color:var(--ob-blue);background:linear-gradient(145deg,#eef2ff,#e4eaff)}.onboarding-title-wrap h1{margin:7px 0 5px;color:var(--ob-ink);font-size:clamp(1.7rem,2vw,2.2rem);line-height:1.15;letter-spacing:-.035em}.onboarding-title-wrap p{margin:0;color:var(--ob-muted);font-size:.94rem}.onboarding-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.onboarding-head-actions a{min-height:42px}
.onboarding-overview{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:38px;margin-bottom:22px;padding:26px 30px;overflow:hidden;border:1px solid #dfe6f5;border-radius:18px;background:linear-gradient(125deg,#f9fbff,#f0f4ff 58%,#f8fbff);box-shadow:0 12px 30px rgba(30,51,92,.06)}.onboarding-overview:after{content:"";position:absolute;right:-60px;top:-110px;width:240px;height:240px;border-radius:50%;background:rgba(53,99,244,.06)}.onboarding-eyebrow,.onboarding-section-kicker{display:block;margin-bottom:5px;color:var(--ob-blue);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.onboarding-overview h2{margin:0 0 6px;color:var(--ob-ink);font-size:1.32rem}.onboarding-overview p{margin:0;color:var(--ob-muted);font-size:.88rem}.onboarding-score{--score:0;position:relative;z-index:1;display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:conic-gradient(var(--ob-blue) calc(var(--score)*1%),#dfe6f3 0);isolation:isolate}.onboarding-score:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#f7f9ff;z-index:-1}.onboarding-score strong{color:var(--ob-ink);font-size:1.5rem;line-height:1}.onboarding-score span{margin-top:-22px;color:var(--ob-muted);font-size:.67rem}.onboarding-summary-stats{position:relative;z-index:1;display:flex;gap:8px}.onboarding-summary-stats div{min-width:98px;padding:13px 16px;border:1px solid #d6deef;border-radius:12px;background:#ffffffba}.onboarding-summary-stats strong,.onboarding-summary-stats span{display:block}.onboarding-summary-stats strong{color:var(--ob-ink);font-size:1.25rem}.onboarding-summary-stats span{color:var(--ob-muted);font-size:.7rem}
.onboarding-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:24px}.onboarding-category-card{padding:20px;border:1px solid var(--ob-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(24,39,75,.055);transition:.2s}.onboarding-category-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(24,39,75,.09)}.onboarding-category-top{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px}.onboarding-category-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#6f4ad3;background:#f2edff}.is-ready .onboarding-category-icon{color:var(--ob-green);background:#eaf8f1}.is-progress .onboarding-category-icon{color:var(--ob-amber);background:#fff4e5}.onboarding-category-top h2{margin:0 0 3px;color:var(--ob-ink);font-size:.95rem}.onboarding-category-top p{margin:0;color:var(--ob-muted);font-size:.7rem}.onboarding-state-badge{padding:5px 7px;border-radius:6px;color:var(--ob-amber);background:#fff4df;font-size:.59rem;font-weight:800;text-transform:uppercase}.is-ready .onboarding-state-badge{color:var(--ob-green);background:#e5f7ee}.onboarding-counts{display:flex;gap:8px;margin:20px 0 15px}.onboarding-counts span{padding:6px 8px;border-radius:7px;color:#a95c24;background:#fff6e9;font-size:.65rem}.onboarding-counts span:first-child{color:#c64251;background:#fff0f2}.onboarding-progress-row{display:flex;align-items:center;gap:12px}.onboarding-progress{height:6px;flex:1;overflow:hidden;border-radius:999px;background:#e8ebf0}.onboarding-progress i{display:block;height:100%;border-radius:inherit;background:var(--ob-amber)}.is-ready .onboarding-progress i{background:var(--ob-green)}.onboarding-progress-row strong{color:var(--ob-ink);font-size:.7rem}
.onboarding-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.82fr);gap:24px;align-items:start}.onboarding-checks-column,.onboarding-side-column{display:grid;gap:20px}.onboarding-panel{overflow:hidden;border:1px solid var(--ob-line);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(24,39,75,.05)}.onboarding-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--ob-line)}.onboarding-panel-head h2{margin:0;color:var(--ob-ink);font-size:1rem}.onboarding-panel-head p{margin:3px 0 0;color:var(--ob-muted);font-size:.74rem}.onboarding-items-count{white-space:nowrap;color:var(--ob-muted);font-size:.68rem;font-weight:700}.onboarding-priority-panel{border-color:#d9e2ff}.onboarding-priority-panel .onboarding-panel-head{background:linear-gradient(100deg,#f8faff,#fff)}
.onboarding-check-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid var(--ob-line)}.onboarding-check-row:last-child{border-bottom:0}.onboarding-check-status{display:grid;place-items:center;width:26px;height:26px;border-radius:50%}.onboarding-check-status svg{width:14px;height:14px}.onboarding-check-status.is-success{color:var(--ob-green);background:#eaf8f1}.onboarding-check-status.is-warning{color:var(--ob-amber);background:#fff4e3}.onboarding-check-status.is-danger{color:var(--ob-red);background:#ffedf0}.onboarding-check-copy>div{display:flex;align-items:center;gap:7px;margin-bottom:4px}.onboarding-check-copy h3{margin:0;color:var(--ob-ink);font-size:.8rem;line-height:1.35}.onboarding-check-copy p{margin:3px 0 0;color:var(--ob-muted);font-size:.7rem;line-height:1.45}.onboarding-status-pill{padding:3px 6px;border-radius:5px;font-size:.54rem;font-weight:800;text-transform:uppercase}.onboarding-status-pill.is-success{color:var(--ob-green);background:#e5f7ee}.onboarding-status-pill.is-warning{color:#a86408;background:#fff2d9}.onboarding-status-pill.is-danger{color:#c93d4d;background:#ffedf0}.onboarding-check-category{color:var(--ob-muted);font-size:.63rem}.onboarding-open-btn{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 11px;border:1px solid #dce4f2;border-radius:8px;color:var(--ob-blue);font-size:.68rem;font-weight:750;text-decoration:none}.onboarding-open-btn:hover{border-color:#aebffc;background:#f5f7ff;color:#244dd3}.onboarding-empty{padding:32px;text-align:center;color:var(--ob-muted)}
.onboarding-side-column{position:sticky;top:88px}.onboarding-path{padding:4px 20px 12px}.onboarding-path a{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:11px;min-height:67px;color:inherit;text-decoration:none}.onboarding-path a:not(:last-child):after{content:"";position:absolute;left:18px;top:53px;bottom:-14px;width:1px;background:#cad6fb}.onboarding-path-icon{z-index:1;display:grid;place-items:center;width:34px;height:34px;border:1px solid #a9bbfa;border-radius:50%;color:var(--ob-blue);background:#f5f7ff}.onboarding-path-icon svg{width:16px;height:16px}.onboarding-path strong,.onboarding-path small{display:block}.onboarding-path strong{color:var(--ob-ink);font-size:.76rem}.onboarding-path small{margin-top:2px;color:var(--ob-muted);font-size:.63rem}.onboarding-path-arrow{color:#8b99b0}.onboarding-path-arrow svg{width:15px;height:15px}.onboarding-path a:hover strong{color:var(--ob-blue)}.onboarding-review-title{display:flex;align-items:center;gap:9px}.onboarding-review-title svg{color:var(--ob-blue)}.onboarding-review-panel ul{display:grid;gap:13px;margin:0;padding:20px 22px;list-style:none}.onboarding-review-panel li{display:grid;grid-template-columns:17px 1fr;gap:9px;color:var(--ob-muted);font-size:.7rem;line-height:1.5}.onboarding-review-panel li svg{width:16px;height:16px;padding:3px;border-radius:50%;color:#fff;background:var(--ob-blue);stroke-width:3}.onboarding-review-cta{display:grid;gap:5px;margin:0 12px 12px;padding:17px;border:1px solid #ccd8ff;border-radius:12px;background:linear-gradient(145deg,#f5f7ff,#edf2ff);text-align:center}.onboarding-review-cta strong{color:var(--ob-ink);font-size:.78rem}.onboarding-review-cta span{color:var(--ob-muted);font-size:.66rem}.onboarding-review-cta a{justify-content:center;margin-top:7px;min-height:38px}.onboarding-workflow-page a:focus-visible{outline:3px solid #3563f44d;outline-offset:2px}
@media(max-width:1199px){.onboarding-overview{grid-template-columns:minmax(0,1fr) auto}.onboarding-summary-stats{grid-column:1/-1}.onboarding-main-grid{grid-template-columns:1fr}.onboarding-side-column{position:static;grid-template-columns:1fr 1fr}.onboarding-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.onboarding-page-head{align-items:stretch;flex-direction:column;gap:20px}.onboarding-head-actions{justify-content:flex-start}.onboarding-head-actions a{flex:1}.onboarding-overview{grid-template-columns:1fr auto;padding:22px}.onboarding-summary-stats{display:grid;grid-template-columns:1fr 1fr}.onboarding-category-grid,.onboarding-side-column{grid-template-columns:1fr}.onboarding-check-row{grid-template-columns:28px minmax(0,1fr)}.onboarding-open-btn{grid-column:2;width:max-content}.onboarding-category-card:hover{transform:none}}
@media(max-width:479px){.onboarding-title-icon{display:none}.onboarding-head-actions{display:grid;grid-template-columns:1fr 1fr}.onboarding-head-actions .dashboard-primary-btn{grid-column:1/-1}.onboarding-overview{grid-template-columns:1fr}.onboarding-score{width:92px;height:92px}.onboarding-panel-head{padding:17px}.onboarding-check-row{padding:14px}.onboarding-category-top{grid-template-columns:42px minmax(0,1fr)}.onboarding-state-badge{grid-column:2;width:max-content}.onboarding-counts{margin-top:15px}}

/* Website health report */
.health-report-page{--hr-ink:#14213b;--hr-muted:#69778e;--hr-line:#e3e8f0;--hr-blue:#3563f4;--hr-green:#168b57;--hr-amber:#df8508;--hr-red:#dc4854;max-width:1500px}.health-report-page svg{display:block;width:20px;height:20px}.health-report-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}.health-report-head h1{margin:8px 0 6px;color:var(--hr-ink);font-size:clamp(1.7rem,2vw,2.2rem);line-height:1.15;letter-spacing:-.035em}.health-report-head p{max-width:68ch;margin:0;color:var(--hr-muted);font-size:.92rem}.health-report-actions{display:flex;gap:10px}.health-report-actions a{min-height:42px}.health-report-actions .dashboard-primary-btn{gap:8px}.health-report-actions svg{width:16px;height:16px}
.health-score-strip{display:grid;grid-template-columns:minmax(280px,1.25fr) repeat(4,minmax(145px,.8fr));margin-bottom:28px;overflow:hidden;border:1px solid var(--hr-line);border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(24,39,75,.06)}.health-score-primary,.health-stat{position:relative;display:flex;align-items:center;gap:14px;min-height:132px;padding:22px 24px}.health-score-primary{background:linear-gradient(130deg,#f4f7ff,#fff)}.health-score-primary:after,.health-stat:after{content:"";position:absolute;right:0;top:25%;height:50%;width:1px;background:var(--hr-line)}.health-score-ring{--score:0;display:grid;place-items:center;width:80px;height:80px;flex:0 0 80px;border-radius:50%;background:conic-gradient(var(--hr-blue) calc(var(--score)*1%),#e3e8f2 0);isolation:isolate}.health-score-ring:before{content:"";position:absolute;width:66px;height:66px;border-radius:50%;background:#f8faff;z-index:-1}.health-score-ring strong{color:var(--hr-ink);font-size:1.2rem}.health-score-primary>div:last-child>span,.health-score-primary>div:last-child>strong,.health-score-primary small{display:block}.health-score-primary>div:last-child>span{margin-bottom:4px;color:var(--hr-muted);font-size:.68rem}.health-score-primary>div:last-child>strong{color:var(--hr-ink);font-size:.9rem}.health-score-primary small{max-width:22ch;margin-top:3px;color:var(--hr-muted);font-size:.62rem;line-height:1.4}.health-stat{display:grid;grid-template-columns:46px 1fr;align-content:center}.health-stat:last-child:after{display:none}.health-stat-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:var(--hr-blue);background:#eaf0ff}.health-stat.is-success .health-stat-icon{color:var(--hr-green);background:#e5f6ee}.health-stat.is-warning .health-stat-icon{color:var(--hr-amber);background:#fff3de}.health-stat.is-danger .health-stat-icon{color:var(--hr-red);background:#fdebed}.health-stat>div span,.health-stat>div strong{display:block}.health-stat>div span{color:var(--hr-muted);font-size:.68rem}.health-stat>div strong{margin-top:3px;color:var(--hr-blue);font-size:1.35rem}.health-stat.is-success strong{color:var(--hr-green)}.health-stat.is-warning strong{color:var(--hr-amber)}.health-stat.is-danger strong{color:var(--hr-red)}.health-stat>i{grid-column:1/-1;height:4px;margin-top:14px;overflow:hidden;border-radius:99px;background:#e8ebf0}.health-stat>i:after{content:"";display:block;width:var(--width);height:100%;border-radius:inherit;background:currentColor}.health-stat.is-success>i{color:var(--hr-green)}.health-stat.is-warning>i{color:var(--hr-amber)}.health-stat.is-danger>i{color:var(--hr-red)}.health-stat.is-primary>i{color:var(--hr-blue)}
.health-checklist-panel{position:relative;overflow:hidden;border:1px solid var(--hr-line);border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(24,39,75,.055)}.health-checklist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--hr-line);background:#fbfcfe}.health-status-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--hr-line);border-radius:10px;background:#fff}.health-status-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 12px;border:0;border-radius:7px;color:#465570;background:transparent;font-size:.72rem;font-weight:700}.health-status-tabs button:hover{background:#f5f7fb}.health-status-tabs button.is-active{color:#214ac8;background:#edf2ff;box-shadow:inset 0 0 0 1px #b9c9ff}.health-status-tabs span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:6px;color:#5a6880;background:#eef1f5;font-size:.62rem}.health-status-tabs button:nth-child(2) span{color:var(--hr-red);background:#fde9eb}.health-status-tabs button:nth-child(3) span{color:var(--hr-amber);background:#fff0d5}.health-status-tabs button:nth-child(4) span{color:var(--hr-green);background:#e4f4ec}.health-filter-tools{display:flex;gap:10px}.health-search{position:relative;display:block}.health-search input,.health-category-filter select{height:44px;border:1px solid #dce2ec;border-radius:10px;color:var(--hr-ink);background:#fff;font-size:.73rem;outline:0}.health-search input{width:250px;padding:0 42px 0 14px}.health-search svg{position:absolute;right:13px;top:12px;width:18px;height:18px;color:#65748c}.health-category-filter select{min-width:150px;padding:0 36px 0 13px}.health-search input:focus,.health-category-filter select:focus{border-color:#8ca7ff;box-shadow:0 0 0 3px #3563f41c}
.health-table-wrap{overflow-x:auto}.health-checklist-table{width:100%;border-collapse:collapse}.health-checklist-table th{padding:15px 20px;color:#65738c;background:#fff;font-size:.62rem;font-weight:800;letter-spacing:.065em;text-align:left;text-transform:uppercase}.health-checklist-table th:first-child{width:14%}.health-checklist-table th:nth-child(2){width:23%}.health-checklist-table th:nth-child(3){width:13%}.health-checklist-table th:last-child{width:110px;text-align:right}.health-checklist-table td{padding:15px 20px;border-top:1px solid var(--hr-line);color:#4f5f78;font-size:.73rem;vertical-align:middle}.health-checklist-table tr{transition:background .16s ease}.health-checklist-table tbody tr:hover{background:#fafbfe}.health-checklist-table tr.is-warning{background:#fffdf8}.health-checklist-table tr.is-warning td{border-color:#f4dfb7}.health-checklist-table tr.is-fail{background:#fffafb}.health-checklist-table tr.is-fail td{border-color:#f1d7db}.health-checklist-table td:first-child{display:flex;align-items:center;gap:10px}.health-category-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;color:#7050d5;background:#f0ebff}.health-category-icon svg{width:15px;height:15px}.health-checklist-table td:nth-child(2) strong{color:var(--hr-ink);font-size:.77rem}.health-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;font-size:.62rem;font-weight:800;text-transform:uppercase}.health-status svg{width:14px;height:14px}.health-status.is-pass{color:var(--hr-green);background:#e3f5eb}.health-status.is-warning{color:#b26a05;background:#fff0d3}.health-status.is-fail{color:var(--hr-red);background:#fde9eb}.health-check-message{display:block;max-width:65ch;line-height:1.5}.health-checklist-table td:last-child{text-align:right;white-space:nowrap}.health-open-action{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:35px;border:1px solid #c8d5fa;border-radius:8px;color:#2854dc;font-size:.68rem;font-weight:750;text-decoration:none}.health-open-action:hover{background:#f1f5ff;color:#183fb7}.health-action-arrow{display:inline-block;margin-left:9px;color:#71819a;vertical-align:middle}.health-action-arrow svg{width:15px;height:15px}.health-empty{padding:36px!important;text-align:center!important;color:var(--hr-muted)!important}.health-checklist-footer{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-top:1px solid var(--hr-line);color:var(--hr-muted);font-size:.7rem}.health-checklist-footer a{color:var(--hr-blue);font-weight:750;text-decoration:none}.health-filter-empty{display:grid;gap:4px;padding:38px;text-align:center}.health-filter-empty strong{color:var(--hr-ink)}.health-filter-empty span{color:var(--hr-muted);font-size:.75rem}.health-report-page button:focus-visible,.health-report-page a:focus-visible{outline:3px solid #3563f44d;outline-offset:2px}
@media(max-width:1250px){.health-score-strip{grid-template-columns:repeat(4,1fr)}.health-score-primary{grid-column:1/-1}.health-score-primary:after{display:none}.health-checklist-toolbar{align-items:stretch;flex-direction:column}.health-filter-tools{justify-content:flex-end}}
@media(max-width:900px){.health-score-strip{grid-template-columns:repeat(2,1fr)}.health-stat:nth-of-type(3):after{display:none}.health-status-tabs{overflow-x:auto}.health-status-tabs button{white-space:nowrap}.health-filter-tools{justify-content:stretch}.health-search{flex:1}.health-search input{width:100%}.health-category-filter select{min-width:170px}}
@media(max-width:767px){.health-report-head{align-items:stretch;flex-direction:column;gap:18px}.health-report-actions a{flex:1}.health-checklist-table thead{display:none}.health-checklist-table,.health-checklist-table tbody,.health-checklist-table tr,.health-checklist-table td{display:block;width:100%}.health-checklist-table tr{position:relative;padding:15px 16px;border-top:1px solid var(--hr-line)}.health-checklist-table td{display:grid!important;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:5px 0!important;border:0!important;text-align:left!important}.health-checklist-table td:before{content:attr(data-label);color:#78869a;font-size:.58rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.health-checklist-table td:last-child{align-items:center}.health-action-arrow{display:none}.health-open-action{width:max-content;min-height:40px}.health-checklist-footer{gap:14px;align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.health-score-strip{grid-template-columns:1fr 1fr}.health-score-primary{grid-column:1/-1}.health-stat{grid-template-columns:38px 1fr;min-height:110px;padding:16px}.health-stat-icon{width:38px;height:38px}.health-stat:after{display:none}.health-checklist-toolbar{padding:12px}.health-status-tabs{width:100%}.health-status-tabs button{padding:7px 9px}.health-filter-tools{flex-direction:column}.health-category-filter select{width:100%}.health-report-actions{display:grid;grid-template-columns:1fr 1fr}}

/* Inventory center visual refresh */
.inventory-center{--inv-ink:#14213b;--inv-muted:#68778f;--inv-line:#e3e8f0;--inv-blue:#1763e5;--inv-green:#128653;--inv-amber:#c96b05;width:100%;max-width:none;min-width:0}.inventory-page-head{align-items:flex-end;margin-bottom:22px}.inventory-page-head h1{margin-bottom:7px;color:var(--inv-ink);font-size:clamp(1.75rem,2vw,2.2rem);letter-spacing:-.035em}.inventory-page-head p{margin:8px 0 0;color:var(--inv-muted);font-size:.88rem}.inventory-center .admin-page-actions{gap:8px}.inventory-center .admin-page-actions a{min-height:40px}
.inventory-center .inventory-plan-panel{display:grid;grid-template-columns:46px minmax(220px,1fr) minmax(220px,340px) auto;align-items:center;gap:16px;margin-bottom:16px;padding:16px 18px;border-color:#dce5f4;border-radius:14px;background:linear-gradient(110deg,#f8fbff,#fff);box-shadow:0 7px 22px rgba(24,39,75,.045)}.inventory-plan-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--inv-blue);background:#e9f1ff}.inventory-plan-icon svg{width:20px;height:20px}.inventory-plan-copy strong,.inventory-plan-copy span{display:block}.inventory-plan-copy strong{color:var(--inv-ink);font-size:.79rem}.inventory-plan-copy span{margin-top:3px;color:var(--inv-muted);font-size:.68rem}.inventory-plan-meter{display:grid;grid-template-columns:1fr 38px;align-items:center;gap:12px}.inventory-plan-meter>span{height:6px;overflow:hidden;border-radius:99px;background:#e5eaf1}.inventory-plan-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2877ee,#145be0)}.inventory-plan-meter strong{color:#53647e;font-size:.65rem;text-align:right}.inventory-plan-panel>a{color:var(--inv-blue);font-size:.7rem;font-weight:800;text-decoration:none;white-space:nowrap}
.inventory-center .dash-stat-row{gap:14px}.inventory-center .dash-stat-card{min-height:124px;padding:18px;border:1px solid var(--inv-line);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(24,39,75,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.inventory-center .dash-stat-card:hover{transform:translateY(-2px);border-color:#cbd9ee;box-shadow:0 13px 28px rgba(24,39,75,.08)}.inventory-center .dash-stat-top{gap:12px}.inventory-center .dash-stat-ico{width:42px;height:42px;border-radius:50%}.inventory-center .dash-stat-card>strong{margin:7px 0 0 54px;color:var(--inv-ink);font-size:1.35rem}.inventory-center .dash-stat-card>small{margin-left:54px;color:var(--inv-muted);font-size:.65rem}
.inventory-center .inv-chip-row{margin:3px 0 18px!important;padding:0 2px}.inventory-center .inv-chip-label{margin-right:3px;color:#4e5e76;font-size:.7rem;font-weight:800}.inventory-center .inv-chip{min-height:31px;padding:5px 10px;border-color:#dfe5ee;background:#fff;color:#4a5a72;font-size:.65rem}.inventory-center .inv-chip:hover{border-color:#aebff2;background:#f6f8ff}.inventory-center .inv-chip b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:6px;color:#c43c48;background:#feecef;font-size:.58rem}
.inventory-center .inventory-filter-panel{margin-bottom:18px;padding:0;border-color:var(--inv-line);border-radius:14px;box-shadow:0 8px 24px rgba(24,39,75,.045)}.inventory-filter-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid var(--inv-line);background:#fbfcfe}.inventory-filter-head strong,.inventory-filter-head span{display:block}.inventory-filter-head strong{color:var(--inv-ink);font-size:.8rem}.inventory-filter-head div span{margin-top:2px;color:var(--inv-muted);font-size:.65rem}.inventory-filter-active{padding:5px 8px;border-radius:6px;color:#8a5700;background:#fff0d7;font-size:.6rem;font-weight:800;text-transform:uppercase}.inventory-center .inventory-filter-panel form{padding:16px 18px 18px}.inventory-center .inventory-filter-panel .form-label{margin-bottom:6px;color:#52617a;font-size:.63rem;letter-spacing:.02em}.inventory-center .inventory-filter-panel :is(.form-control,.form-select){min-height:40px;border-color:#dce3ed;border-radius:9px;color:var(--inv-ink);font-size:.7rem}.inventory-center .inventory-filter-panel :is(.form-control,.form-select):focus{border-color:#8eabf5;box-shadow:0 0 0 3px rgba(23,99,229,.1)}.inventory-center .inventory-filter-panel .grid-column-full:last-child{padding-top:2px}.inventory-center .inventory-filter-panel .grid-column-full:last-child :is(button,a){min-height:38px}
.inventory-center .inventory-table-panel{border-color:var(--inv-line);border-radius:15px;box-shadow:0 9px 28px rgba(24,39,75,.05)}.inventory-center .inventory-table-toolbar{padding:15px 18px;background:#fbfcfe}.inventory-center .inventory-table-toolbar strong{color:var(--inv-ink);font-size:.82rem}.inventory-center .inventory-table-toolbar span{color:var(--inv-muted);font-size:.65rem}.inventory-center .inventory-bulk-tools{max-width:75%}.inventory-center .inventory-bulk-tools :is(.form-select,.form-control,.dashboard-secondary-btn){min-height:36px;border-radius:8px;font-size:.66rem}.inventory-center .admin-inventory-table th{padding:12px 10px;border-bottom:1px solid var(--inv-line);color:#5e6c83;background:#f7f9fc;font-size:.59rem;letter-spacing:.045em;text-transform:uppercase}.inventory-center .admin-inventory-table td{padding:11px 10px;border-color:#e8ecf2;color:#3e4e67;font-size:.69rem;vertical-align:middle}.inventory-center .admin-inventory-table tbody tr{transition:background .15s ease}.inventory-center .admin-inventory-table tbody tr:hover{background:#f9fbff}.inventory-center .admin-inventory-table td:nth-child(2)>div{gap:11px!important}.inventory-center .admin-inventory-table td:nth-child(2) a{color:#1159ca;font-size:.72rem;line-height:1.35}.inventory-center .admin-inventory-table td:nth-child(2) .small{font-size:.61rem}.inventory-center .admin-inventory-table .badge{padding:4px 6px;border-radius:6px;font-size:.5rem;letter-spacing:.015em;text-transform:uppercase}.inventory-center .inv-row-menu{min-width:34px;min-height:34px;padding:4px;border-color:#dce4ef;border-radius:8px;background:#fff}
.inventory-center .vehicle-thumb-frame{width:82px;height:62px;flex:0 0 82px;overflow:hidden;border:1px solid #dfe5ed;border-radius:8px;background:#eff3f7}.inventory-center .vehicle-thumb-frame .vehicle-thumb{display:block;width:100%;height:100%;max-width:none;aspect-ratio:auto;border:0;border-radius:0;object-fit:cover}.inventory-center .vehicle-thumb-frame .vehicle-thumb-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#77869a;background:linear-gradient(145deg,#f3f6f9,#e9eef4);font-size:.52rem;font-weight:750;line-height:1}.inventory-center .vehicle-thumb-empty svg{width:18px;height:18px;opacity:.72}
@media(min-width:1200px){.inventory-center .admin-inventory-table th:nth-child(1){width:38px}.inventory-center .admin-inventory-table th:nth-child(2){width:30%}.inventory-center .admin-inventory-table th:nth-child(3){width:11%}.inventory-center .admin-inventory-table th:nth-child(4){width:8%}.inventory-center .admin-inventory-table th:nth-child(5){width:9%}.inventory-center .admin-inventory-table th:nth-child(6){width:8%}.inventory-center .admin-inventory-table th:nth-child(7){width:13%}.inventory-center .admin-inventory-table th:nth-child(8){width:6%}.inventory-center .admin-inventory-table th:nth-child(9){width:9%}.inventory-center .admin-inventory-table th:nth-child(10){width:45px}}
@media(max-width:1199px){.inventory-center .inventory-plan-panel{grid-template-columns:46px minmax(0,1fr) auto}.inventory-plan-meter{grid-column:1/-1}.inventory-center .inventory-bulk-tools{max-width:none}.inventory-center .admin-inventory-table{min-width:1120px}}
@media(max-width:767px){.inventory-page-head{align-items:stretch}.inventory-center .admin-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.inventory-center .admin-page-actions a{justify-content:center}.inventory-center .admin-page-actions .dashboard-primary-btn{grid-column:1/-1}.inventory-center .inventory-plan-panel{grid-template-columns:42px minmax(0,1fr)}.inventory-plan-panel>a{grid-column:2}.inventory-center .dash-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-center .dash-stat-card:last-child{grid-column:1/-1}.inventory-center .inventory-table-toolbar{align-items:stretch;flex-direction:column}.inventory-center .inventory-bulk-tools{justify-content:flex-start}.inventory-center .inventory-filter-panel form{padding:14px}.inventory-filter-head{padding:14px}}
@media(max-width:479px){.inventory-center .dash-stat-row{grid-template-columns:1fr}.inventory-center .dash-stat-card:last-child{grid-column:auto}.inventory-center .admin-page-actions{grid-template-columns:1fr}.inventory-center .admin-page-actions .dashboard-primary-btn{grid-column:auto}.inventory-center .inventory-plan-panel{grid-template-columns:1fr}.inventory-plan-icon{display:none}.inventory-plan-panel>a{grid-column:auto}.inventory-center .inventory-bulk-tools{display:grid;grid-template-columns:1fr 1fr}.inventory-center .inventory-bulk-tools :is(.w-auto,.form-select,.form-control,.dashboard-secondary-btn){width:100%!important}.inventory-center .vehicle-thumb-frame{width:76px;height:57px;flex-basis:76px}.inventory-filter-head{align-items:flex-start;flex-direction:column}}

/* Inventory readability and legacy/new plan-card compatibility. */
.inventory-center .inventory-plan-panel{display:block;min-height:auto;padding:18px 20px}.inventory-center .inventory-plan-panel:has(> .inventory-plan-icon){display:grid;grid-template-columns:46px minmax(280px,1fr) minmax(260px,380px) auto}.inventory-center .inventory-plan-panel>.d-flex{align-items:center!important}.inventory-center .inventory-plan-panel .fw-semibold,.inventory-center .inventory-plan-copy strong{color:var(--inv-ink);font-size:.9rem;line-height:1.35}.inventory-center .inventory-plan-panel .small,.inventory-center .inventory-plan-copy span{margin-top:4px;color:var(--inv-muted);font-size:.78rem;line-height:1.45}.inventory-center .inventory-plan-meter strong,.inventory-center .inventory-plan-panel>a{font-size:.78rem}
.inventory-center .dash-stat-top{font-size:.85rem}.inventory-center .dash-stat-card>strong{font-size:1.55rem}.inventory-center .dash-stat-card>small{font-size:.75rem;line-height:1.4}.inventory-center .inv-chip-label{font-size:.78rem}.inventory-center .inv-chip{font-size:.74rem}.inventory-center .inv-chip b{font-size:.66rem}.inventory-center .inventory-filter-head strong{font-size:.95rem}.inventory-center .inventory-filter-head div span{font-size:.75rem}.inventory-center .inventory-filter-active{font-size:.68rem}.inventory-center .inventory-filter-panel .form-label{font-size:.74rem}.inventory-center .inventory-filter-panel :is(.form-control,.form-select){min-height:44px;font-size:.8rem}.inventory-center .inventory-filter-panel .grid-column-full:last-child :is(button,a){min-height:42px;font-size:.76rem}
.inventory-center .inventory-table-toolbar strong{font-size:.95rem}.inventory-center .inventory-table-toolbar span{font-size:.75rem}.inventory-center .inventory-bulk-tools :is(.form-select,.form-control,.dashboard-secondary-btn){min-height:38px;font-size:.73rem}.inventory-center .admin-inventory-table th{font-size:.68rem}.inventory-center .admin-inventory-table td{font-size:.8rem}.inventory-center .admin-inventory-table td:nth-child(2) a{font-size:.84rem}.inventory-center .admin-inventory-table td:nth-child(2) .small{font-size:.7rem}.inventory-center .admin-inventory-table .badge{font-size:.58rem}.inventory-center .vehicle-thumb-frame .vehicle-thumb-empty{font-size:.62rem}
@media(max-width:1199px){.inventory-center .inventory-plan-panel:has(> .inventory-plan-icon){grid-template-columns:46px minmax(0,1fr) auto}.inventory-center .inventory-plan-panel:has(> .inventory-plan-icon) .inventory-plan-meter{grid-column:1/-1}}
@media(max-width:767px){.inventory-center .inventory-plan-panel:has(> .inventory-plan-icon){grid-template-columns:42px minmax(0,1fr)}}
@media(max-width:479px){.inventory-center .inventory-plan-panel:has(> .inventory-plan-icon){grid-template-columns:1fr}}

/* Sales performance dashboard */
.sales-performance-page{--sp-ink:#14213b;--sp-muted:#68778f;--sp-line:#e3e8f0;--sp-blue:#1763e5;--sp-green:#11905a;--sp-amber:#dc8308;--sp-red:#dd4351;--sp-purple:#7b4be2;width:100%;max-width:none;min-width:0}.sales-performance-page svg{display:block;width:20px;height:20px}.sales-performance-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.sales-performance-head h1{margin:8px 0 6px;color:var(--sp-ink);font-size:clamp(1.75rem,2vw,2.2rem);letter-spacing:-.035em}.sales-performance-head p{max-width:70ch;margin:0;color:var(--sp-muted);font-size:.88rem}.sales-performance-head>a{gap:8px;min-height:42px}.sales-performance-head>a svg{width:16px;height:16px}.sales-performance-notice{display:grid;grid-template-columns:30px 1fr;align-items:start;gap:11px;margin-bottom:18px;padding:14px 16px;border:1px solid #f0d9a8;border-radius:12px;background:#fff9eb}.sales-performance-notice>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:var(--sp-amber);font-weight:900}.sales-performance-notice strong{color:#67450d;font-size:.75rem}.sales-performance-notice p{margin:2px 0 0;color:#7d632f;font-size:.67rem}
.sales-date-panel{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr) minmax(190px,1.1fr) auto;align-items:end;gap:14px;margin-bottom:18px;padding:17px 18px;border:1px solid var(--sp-line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(24,39,75,.045)}.sales-date-panel label{display:block;margin-bottom:6px;color:#52617a;font-size:.65rem;font-weight:800}.sales-date-panel input{width:100%;height:42px;padding:0 12px;border:1px solid #dbe2ec;border-radius:9px;color:var(--sp-ink);background:#fff;font-size:.72rem;outline:0}.sales-date-panel input:focus{border-color:#8daaf5;box-shadow:0 0 0 3px rgba(23,99,229,.1)}.sales-date-divider{align-self:center;margin-top:20px;color:#8b98aa;font-size:.85rem}.sales-date-panel :is(button,a){justify-content:center;min-height:42px}
.sales-metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-bottom:18px}.sales-metric-card{position:relative;min-width:0;overflow:hidden;padding:17px 16px 12px;border:1px solid var(--sp-line);border-radius:14px;color:var(--sp-blue);background:#fff;box-shadow:0 8px 22px rgba(24,39,75,.045)}.sales-metric-card.is-green{color:var(--sp-green)}.sales-metric-card.is-amber{color:var(--sp-amber)}.sales-metric-card.is-purple{color:var(--sp-purple)}.sales-metric-card.is-cyan{color:#059bb0}.sales-metric-top{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px}.sales-metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:color-mix(in srgb,currentColor 11%,white)}.sales-metric-icon svg{width:20px;height:20px}.sales-metric-top>div span,.sales-metric-top>div strong{display:block}.sales-metric-top>div span{color:var(--sp-muted);font-size:.64rem}.sales-metric-top>div strong{margin-top:2px;color:var(--sp-ink);font-size:1.18rem;line-height:1.1;white-space:nowrap}.sales-metric-card>small{display:block;min-height:16px;margin:9px 0 7px 53px;color:currentColor;font-size:.57rem;font-weight:750}.sales-spark{width:100%!important;height:25px!important;overflow:visible}.sales-spark path{fill:none;stroke:currentColor;stroke-width:1.8;vector-effect:non-scaling-stroke}
.sales-panel{margin-bottom:18px;overflow:hidden;border:1px solid var(--sp-line);border-radius:15px;background:#fff;box-shadow:0 9px 26px rgba(24,39,75,.05)}.sales-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-bottom:1px solid var(--sp-line);background:#fbfcfe}.sales-panel-kicker{display:block;margin-bottom:3px;color:var(--sp-blue);font-size:.56rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.sales-panel-kicker.is-danger{color:var(--sp-red)}.sales-panel-head h2{margin:0;color:var(--sp-ink);font-size:.95rem}.sales-panel-head p{margin:3px 0 0;color:var(--sp-muted);font-size:.65rem}.sales-panel-count{padding:5px 8px;border-radius:7px;color:#53617a;background:#eef1f5;font-size:.61rem;font-weight:750}.sales-settings-link{display:inline-flex;align-items:center;gap:7px;color:var(--sp-blue);font-size:.66rem;font-weight:800;text-decoration:none}.sales-settings-link svg{width:16px;height:16px}.sales-table-wrap{overflow-x:auto}.sales-performance-table{width:100%;border-collapse:collapse}.sales-performance-table th{padding:11px 14px;color:#617089;background:#f7f9fc;font-size:.56rem;font-weight:850;letter-spacing:.055em;text-align:left;text-transform:uppercase}.sales-performance-table td{padding:11px 14px;border-top:1px solid #e8ecf2;color:#40506a;font-size:.68rem;vertical-align:middle}.sales-performance-table tbody tr{transition:background .15s ease}.sales-performance-table tbody tr:hover{background:#f9fbff}.sales-performance-table td>strong{color:var(--sp-ink)}.sales-performance-table td small{color:var(--sp-muted);font-size:.59rem}.salesperson-cell{display:flex;align-items:center;gap:8px;min-width:150px}.salesperson-cell>strong{color:var(--sp-ink);font-size:.7rem}.sales-rank{width:14px;color:#8b97aa;font-size:.58rem;text-align:center}.sales-avatar{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;color:#fff;background:linear-gradient(145deg,#397af1,#174dcf);font-size:.55rem;font-weight:850}.sales-performance-table tr:nth-child(3n+2) .sales-avatar{background:linear-gradient(145deg,#8a62ea,#6334cf)}.sales-performance-table tr:nth-child(3n+3) .sales-avatar{background:linear-gradient(145deg,#18a873,#087d50)}.sales-avatar.is-small{width:24px;height:24px;flex-basis:24px;font-size:.49rem}.sales-rate-pill{display:inline-flex;padding:5px 7px;border-radius:7px;font-size:.59rem;font-weight:850}.sales-rate-pill.is-good{color:#087549;background:#ddf4e9}.sales-rate-pill.is-watch{color:#855500;background:#fff0cf}.sales-rate-pill.is-low{color:#b53442;background:#fde8eb}.sales-empty{padding:34px!important;color:var(--sp-muted)!important;text-align:center!important}.sales-breach-panel{border-color:#eadfe1}.sales-breach-panel .sales-panel-head{background:linear-gradient(100deg,#fffafb,#fff)}.sales-breach-table td:first-child strong,.sales-breach-table td:first-child small{display:block}.sales-breach-table td:first-child small{margin-top:2px}.sales-overdue{color:#d72e3e;font-weight:850}.sales-level-pill{display:grid;place-items:center;width:23px;height:23px;border:1px solid #f0aeb5;border-radius:50%;color:#d73543;font-size:.6rem;font-weight:850}.sales-respond-btn{display:inline-flex;align-items:center;justify-content:center;min-width:66px;min-height:34px;border:1px solid #bdd0ff;border-radius:8px;color:#1957d5;font-size:.62rem;font-weight:800;text-decoration:none}.sales-respond-btn:hover{background:#f0f4ff;color:#0f43ad}.sales-performance-page :is(a,button,input):focus-visible{outline:3px solid rgba(23,99,229,.24);outline-offset:2px}
@media(max-width:1250px){.sales-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-date-panel{grid-template-columns:1fr auto 1fr}.sales-date-panel .dashboard-primary-btn{grid-column:1/3}.sales-date-panel .dashboard-secondary-btn{grid-column:3}.sales-performance-table{min-width:980px}.sales-breach-table{min-width:820px}}
@media(max-width:767px){.sales-performance-head{align-items:stretch;flex-direction:column}.sales-performance-head>a{justify-content:center;width:100%}.sales-date-panel{grid-template-columns:1fr 1fr}.sales-date-divider{display:none}.sales-date-panel .dashboard-primary-btn,.sales-date-panel .dashboard-secondary-btn{grid-column:auto}.sales-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-panel-head{align-items:flex-start}.sales-panel-count{display:none}.sales-performance-table,.sales-performance-table tbody,.sales-performance-table tr,.sales-performance-table td{display:block;width:100%;min-width:0}.sales-performance-table thead{display:none}.sales-performance-table tr{padding:13px 15px;border-top:1px solid var(--sp-line)}.sales-performance-table td{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:8px;padding:5px 0;border:0}.sales-performance-table td:before{content:attr(data-label);color:#77859a;font-size:.55rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.salesperson-cell{min-width:0}.sales-rank{display:none}.sales-rate-pill,.sales-level-pill,.sales-respond-btn{justify-self:start}}
@media(max-width:479px){.sales-date-panel{grid-template-columns:1fr}.sales-date-panel .dashboard-primary-btn,.sales-date-panel .dashboard-secondary-btn{grid-column:auto}.sales-metric-grid{grid-template-columns:1fr}.sales-metric-card{min-height:126px}.sales-panel-head{flex-direction:column}.sales-settings-link{min-height:36px}.sales-performance-table td{grid-template-columns:90px minmax(0,1fr)}}

/* Add/edit vehicle workflow refresh */
.inventory-form-page{--vf-ink:#14213b;--vf-muted:#68778f;--vf-line:#e1e7f0;--vf-blue:#1763e5;--vf-green:#148653;width:100%;max-width:none;min-width:0}.inventory-form-head{align-items:flex-end;margin-bottom:4px}.inventory-form-head h1{margin-bottom:7px;color:var(--vf-ink);font-size:clamp(1.75rem,2vw,2.2rem);letter-spacing:-.035em}.inventory-form-head p{max-width:68ch;margin-top:8px!important;color:var(--vf-muted)!important;font-size:.84rem!important}.inventory-form-head .admin-page-actions{gap:9px}.inventory-form-head .admin-page-actions :is(a,button){min-height:42px}
.vehicle-plan-usage{display:grid;grid-template-columns:46px minmax(280px,1fr) minmax(240px,390px);align-items:center;gap:16px;margin:0 0 4px;padding:16px 18px;border:1px solid #dce5f4;border-radius:14px;background:linear-gradient(110deg,#f7faff,#fff);box-shadow:0 8px 24px rgba(24,39,75,.045)}.vehicle-plan-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--vf-blue);background:#e8f0ff}.vehicle-plan-icon svg{width:21px;height:21px}.vehicle-plan-copy strong,.vehicle-plan-copy span{display:block}.vehicle-plan-copy strong{color:var(--vf-ink);font-size:.76rem}.vehicle-plan-copy span{max-width:80ch;margin-top:3px;color:var(--vf-muted);font-size:.64rem;line-height:1.45}.vehicle-plan-meter{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.vehicle-plan-meter>span{height:7px;overflow:hidden;border-radius:99px;background:#e4e9f1}.vehicle-plan-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2b77ed,#155bdc)}.vehicle-plan-meter strong{color:#51617a;font-size:.64rem;white-space:nowrap}.vehicle-plan-warning{grid-column:2/-1;padding:7px 10px;border-radius:7px;color:#9a3b22;background:#fff0e9;font-size:.64rem;font-weight:750}
.inventory-form-page .vehicle-editor-tabs{position:sticky;top:76px;z-index:18;margin:0 0 4px;padding:0 12px;border:1px solid var(--vf-line);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 7px 20px rgba(24,39,75,.045);backdrop-filter:blur(10px)}.inventory-form-page .vehicle-editor-tab-list{justify-content:space-between;gap:4px}.inventory-form-page .vehicle-editor-tab{display:flex;flex:1 0 auto;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:10px 12px;border-bottom-width:2px;color:#54627a;font-size:.7rem}.vehicle-editor-tab-icon{display:grid;place-items:center;color:#77859a}.vehicle-editor-tab-icon svg{width:16px;height:16px}.inventory-form-page .vehicle-editor-tab.is-active{color:#1458ce;background:linear-gradient(180deg,#f7faff,#fff)}.vehicle-editor-tab.is-active .vehicle-editor-tab-icon{color:var(--vf-blue)}
.inventory-form-page .vehicle-form{margin-top:0}.inventory-form-page .admin-editor-panel{padding:24px;border:1px solid var(--vf-line);border-radius:15px;background:#fff;box-shadow:0 9px 27px rgba(24,39,75,.05)}.inventory-form-page .vehicle-form .dashboard-panel-head.is-compact{margin:-4px 0 20px;padding:0 0 16px;border-bottom:1px solid var(--vf-line)}.vehicle-section-head{display:flex!important;align-items:center!important;gap:12px}.vehicle-section-head>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;color:var(--vf-blue);background:#e9f1ff}.vehicle-section-head>span svg{width:19px;height:19px}.inventory-form-page .vehicle-section-head h2{margin:0;color:var(--vf-ink);font-size:.9rem}.inventory-form-page .vehicle-section-head p{margin:2px 0 0!important;color:var(--vf-muted)!important;font-size:.63rem!important}.inventory-form-page .vehicle-form :is(.form-control,.form-select){min-height:43px;border-color:#d9e1ec;border-radius:9px;color:var(--vf-ink);font-size:.7rem}.inventory-form-page .vehicle-form textarea.form-control{min-height:auto}.inventory-form-page .vehicle-form :is(.form-control,.form-select):focus{border-color:#8da9f4;box-shadow:0 0 0 3px rgba(23,99,229,.1)}.inventory-form-page .vehicle-form .form-label{margin-bottom:6px;color:#53627a!important;font-size:.62rem;font-weight:800;letter-spacing:.015em}.inventory-form-page .vehicle-form .form-text,.inventory-form-page .vehicle-form .small.text-secondary{margin-top:5px!important;color:#6d7b8f!important;font-size:.58rem;line-height:1.45}.inventory-form-page .input-group .dashboard-secondary-btn{min-height:43px;border-radius:0 9px 9px 0;background:#f7f9fc;font-size:.67rem}.inventory-form-page .input-group .form-control{border-radius:9px 0 0 9px}
.inventory-form-page #vehicle-panel-information>.row{margin-bottom:20px!important;padding-bottom:20px;border-bottom:1px solid var(--vf-line)}.inventory-form-page .vehicle-catalog-manual-head{position:relative;align-items:center;margin:0 0 17px;padding:0;border:0}.vehicle-manual-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;color:var(--vf-green);background:#e5f5ed}.vehicle-manual-icon svg{width:17px;height:17px}.inventory-form-page .vehicle-catalog-manual-head h3{color:var(--vf-ink);font-size:.82rem}.inventory-form-page .vehicle-catalog-manual-head p{margin-top:2px;color:var(--vf-muted)!important;font-size:.62rem}.inventory-form-page .vehicle-catalog-manual-head [data-vehicle-catalog-status]{margin-left:auto;padding:6px 9px;border-radius:7px;color:#1e5bbe!important;background:#eef4ff;font-size:.58rem}.inventory-form-page .vehicle-catalog-selectors{grid-template-columns:repeat(6,minmax(130px,1fr));gap:15px 18px}.inventory-form-page .vehicle-catalog-selectors>div{min-width:0}.inventory-form-page .vehicle-catalog-selectors .form-select:disabled{border-color:#e3e8ef;color:#8693a5;background:#f4f6f9}
.inventory-form-page .vehicle-form-savebar{margin-top:4px;padding:12px 0 2px;border-top:0;background:linear-gradient(180deg,rgba(246,248,251,0),rgba(246,248,251,.96) 25%);backdrop-filter:blur(8px)}.inventory-form-page .vehicle-form-savebar>a,.inventory-form-page .vehicle-editor-step-actions :is(button,a){min-height:42px}.inventory-form-page .vehicle-editor-step{padding:6px 10px;border-radius:7px;color:#52617a;background:#edf1f6;font-size:.62rem}.inventory-form-page :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(23,99,229,.23);outline-offset:2px}
@media(max-width:1250px){.vehicle-plan-usage{grid-template-columns:46px minmax(0,1fr)}.vehicle-plan-meter{grid-column:1/-1}.inventory-form-page .vehicle-catalog-selectors{grid-template-columns:repeat(4,minmax(140px,1fr))}.inventory-form-page .vehicle-editor-tab-list{justify-content:flex-start}.inventory-form-page .vehicle-editor-tab{flex:0 0 auto}}
@media(max-width:767px){.inventory-form-head{align-items:stretch}.inventory-form-head .admin-page-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.inventory-form-head .admin-page-actions :is(a,button){justify-content:center}.inventory-form-page .vehicle-editor-tabs{top:68px;margin-inline:-4px;padding-inline:8px}.inventory-form-page .admin-editor-panel{padding:18px}.inventory-form-page .vehicle-catalog-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-form-page .vehicle-catalog-manual-head{align-items:flex-start}.inventory-form-page .vehicle-catalog-manual-head [data-vehicle-catalog-status]{margin-left:48px}.vehicle-plan-usage{grid-template-columns:40px minmax(0,1fr);padding:14px}.vehicle-plan-icon{width:38px;height:38px}.vehicle-plan-warning{grid-column:1/-1}}
@media(max-width:479px){.inventory-form-head .admin-page-actions{grid-template-columns:1fr}.vehicle-plan-usage{grid-template-columns:1fr}.vehicle-plan-icon{display:none}.inventory-form-page .vehicle-catalog-selectors{grid-template-columns:1fr}.inventory-form-page .vehicle-editor-tab{min-height:50px;padding-inline:10px}.inventory-form-page .vehicle-editor-tab-icon{display:none}.inventory-form-page .vehicle-catalog-manual-head{display:grid;grid-template-columns:36px 1fr}.inventory-form-page .vehicle-catalog-manual-head [data-vehicle-catalog-status]{grid-column:2;margin:0;text-align:left}.inventory-form-page .vehicle-form-savebar{gap:8px}.inventory-form-page .vehicle-editor-step-actions{width:100%}.inventory-form-page .vehicle-editor-step-actions :is(button,a){flex:1;justify-content:center}}

/* Operational typography parity: match the readable scale used by Reconditioning. */
.inventory-center {
    font-size: 1rem;
}

.inventory-center .inventory-page-head p,
.inventory-center .inventory-plan-copy span,
.inventory-center .dash-stat-card > small,
.inventory-center .inventory-filter-head div span,
.inventory-center .inventory-table-toolbar span {
    font-size: .875rem;
    line-height: 1.45;
}

.inventory-center .inventory-plan-panel .fw-semibold,
.inventory-center .inventory-plan-copy strong,
.inventory-center .inventory-filter-head strong,
.inventory-center .inventory-table-toolbar strong {
    font-size: 1rem;
}

.inventory-center .inventory-plan-meter strong,
.inventory-center .inventory-plan-panel > a,
.inventory-center .dash-stat-top,
.inventory-center .inv-chip-label,
.inventory-center .inv-chip,
.inventory-center .inventory-filter-panel .form-label,
.inventory-center .inventory-filter-panel .grid-column-full:last-child :is(button, a),
.inventory-center .inventory-bulk-tools :is(.form-select, .form-control, .dashboard-secondary-btn) {
    font-size: .875rem;
}

.inventory-center .inventory-filter-panel :is(.form-control, .form-select) {
    min-height: 44px;
    font-size: 1rem;
}

.inventory-center .inventory-filter-active,
.inventory-center .inv-chip b,
.inventory-center .admin-inventory-table th,
.inventory-center .admin-inventory-table .badge,
.inventory-center .vehicle-thumb-frame .vehicle-thumb-empty {
    font-size: .75rem;
}

.inventory-center .admin-inventory-table {
    min-width: 1280px;
}

.inventory-center .admin-inventory-table td,
.inventory-center .admin-inventory-table td:nth-child(2) a {
    font-size: 1rem;
    line-height: 1.4;
}

.inventory-center .admin-inventory-table td:nth-child(2) .small {
    font-size: .875rem;
}

.sales-performance-page {
    font-size: 1rem;
}

.sales-performance-head p,
.sales-performance-notice strong,
.sales-performance-notice p,
.sales-date-panel label,
.sales-metric-top > div span,
.sales-metric-card > small,
.sales-panel-head p,
.sales-settings-link,
.sales-performance-table td small,
.sales-respond-btn {
    font-size: .875rem;
    line-height: 1.4;
}

.sales-date-panel input {
    height: 44px;
    font-size: 1rem;
}

.sales-date-panel :is(button, a),
.sales-performance-head > a {
    font-size: .875rem;
}

.sales-metric-top > div strong {
    font-size: 1.4rem;
}

.sales-panel-kicker,
.sales-panel-count,
.sales-rank,
.sales-avatar,
.sales-rate-pill,
.sales-level-pill,
.sales-performance-table th {
    font-size: .75rem;
}

.sales-panel-head h2 {
    font-size: 1.15rem;
}

.sales-performance-table {
    min-width: 1120px;
}

.sales-breach-table {
    min-width: 880px;
}

.sales-performance-table td,
.salesperson-cell > strong {
    font-size: 1rem;
    line-height: 1.4;
}

.sales-avatar.is-small {
    font-size: .7rem;
}

.inventory-form-page {
    font-size: 1rem;
}

.inventory-form-head p,
.inventory-form-page .vehicle-plan-copy span,
.inventory-form-page .vehicle-section-head p,
.inventory-form-page .vehicle-form .form-text,
.inventory-form-page .vehicle-form .small.text-secondary,
.inventory-form-page .vehicle-catalog-manual-head p {
    font-size: .875rem !important;
    line-height: 1.45;
}

.inventory-form-page .vehicle-plan-copy strong,
.inventory-form-page .vehicle-section-head h2,
.inventory-form-page .vehicle-catalog-manual-head h3 {
    font-size: 1rem;
}

.inventory-form-page .vehicle-editor-tab,
.inventory-form-page .vehicle-form .form-label,
.inventory-form-page .input-group .dashboard-secondary-btn,
.inventory-form-page .vehicle-plan-meter strong,
.inventory-form-page .vehicle-plan-warning,
.inventory-form-page .vehicle-editor-step,
.inventory-form-page .vehicle-catalog-manual-head [data-vehicle-catalog-status] {
    font-size: .875rem;
}

.inventory-form-page .vehicle-form :is(.form-control, .form-select) {
    min-height: 44px;
    font-size: 1rem;
}

.inventory-form-page .admin-page-actions :is(a, button),
.inventory-form-page .vehicle-form-savebar :is(a, button) {
    font-size: .875rem;
}

.website-setup-page {
    font-size: 1rem;
}

.website-setup-back,
.website-setup-time,
.website-setup-success p,
.website-setup-progress button small,
.website-setup-field-label,
.website-setup-logo-upload small,
.website-setup-upload-button,
.website-setup-help,
.website-setup-template-info small,
.website-setup-style-card p,
.website-setup-mobile-actions p,
.website-setup-color-control b,
.website-setup-color-control small,
.website-setup-choice-fieldset legend,
.website-setup-choice-card small,
.website-setup-hero-library > p,
.website-setup-hero-upload > div span,
.website-setup-feature-card small,
.website-setup-chip-grid span,
.website-setup-review-list small,
.website-setup-review-list button,
.website-setup-location-status p,
.website-setup-location-status a,
.website-setup-confirm,
.website-setup-step-actions > span,
.website-setup-preview-tip p {
    font-size: .875rem;
    line-height: 1.45;
}

.website-setup-progress button b,
.website-setup-logo-upload strong,
.website-setup-template-info strong,
.website-setup-choice-card strong,
.website-setup-feature-card strong,
.website-setup-review-list strong,
.website-setup-location-status strong,
.website-setup-preview-heading strong {
    font-size: 1rem;
    line-height: 1.4;
}

.website-setup-fields .form-control {
    min-height: 44px;
    font-size: 1rem;
}

.website-setup-style-card h3,
.website-setup-mobile-actions h3 {
    font-size: 1.125rem;
}

.website-setup-kicker,
.website-setup-step-heading > span,
.website-setup-progress button > span,
.website-setup-template-image i,
.website-setup-preview-heading span,
.website-setup-browser-bar span {
    font-size: .75rem;
}

.website-setup-page :is(.dashboard-primary-btn, .dashboard-secondary-btn),
.website-setup-step-actions :is(button, a) {
    font-size: .875rem;
}

@media(max-width:767px) {
    .sales-performance-table td::before {
        font-size: .75rem;
    }
}
.trial-recommendation{padding:16px 18px;border-radius:14px;background:#142a4a;color:#fff}.trial-recommendation span,.trial-recommendation strong{display:block}.trial-recommendation span{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;opacity:.72}.trial-recommendation strong{margin:3px 0 5px;font-size:1.4rem}.trial-recommendation p{margin:0 0 10px;color:#dbe6f6;font-size:.86rem}.trial-recommendation a{color:#9fdbff;font-weight:700}
@media(max-width:900px){.trial-conversion-head{display:block}.trial-conversion-cta{display:inline-flex;margin-top:16px}.trial-conversion-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trial-conversion-body{grid-template-columns:1fr}.trial-checklist{grid-template-columns:1fr}}

/* Vehicle merchandising summary */
.vehicle-detail-page #vehicle-data.vehicle-merchandising-panel{padding:0;overflow:hidden}
.vehicle-detail-page #vehicle-data.vehicle-merchandising-panel>.vehicle-merchandising-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.5rem;min-height:0;margin:0;padding:1.15rem 1.25rem;border-bottom:1px solid #dce7f4;color:var(--vehicle-slate-950);background:linear-gradient(135deg,#f7faff 0%,#fff 62%,#f2f7ff 100%)}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-heading{min-width:0}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-kicker{display:block;margin-bottom:.28rem;color:var(--vehicle-blue-dark);font-size:.65rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-head h2{margin:0;color:var(--vehicle-navy);font-size:1.05rem;font-weight:850;line-height:1.25}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-head p{margin:.3rem 0 0;color:var(--vehicle-slate-500);font-size:.75rem;line-height:1.45}
.vehicle-merchandising-score{display:grid;grid-template-columns:auto minmax(120px,auto);align-items:center;gap:.75rem}
.vehicle-merchandising-score-value{display:inline-flex;min-width:76px;min-height:48px;align-items:baseline;justify-content:center;border-radius:12px;padding:.55rem .65rem;box-shadow:inset 0 0 0 1px rgba(15,23,42,.06)}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-score-value strong{font-size:1.15rem;line-height:1}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-score-value small{font-size:.68rem;font-weight:800}
.vehicle-merchandising-score-copy{display:grid;gap:.18rem}
.vehicle-merchandising-score-copy strong{color:var(--vehicle-slate-800);font-size:.82rem;line-height:1.2}
.vehicle-merchandising-score-copy small{color:var(--vehicle-slate-500);font-size:.66rem;line-height:1.35;white-space:nowrap}
.vehicle-merchandising-progress{margin:1rem 1.2rem .9rem}
.vehicle-merchandising-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.45rem;color:var(--vehicle-slate-500);font-size:.68rem;font-weight:750}
.vehicle-merchandising-progress>div:first-child strong{color:var(--vehicle-slate-700);font-size:.72rem}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-progress .progress{height:8px;overflow:hidden;border-radius:999px;background:var(--vehicle-slate-100)}
.vehicle-detail-page #vehicle-data .vehicle-merchandising-progress .progress-bar{border-radius:inherit}
@media(max-width:767.98px){.vehicle-detail-page #vehicle-data.vehicle-merchandising-panel>.vehicle-merchandising-head{grid-template-columns:1fr;gap:.9rem;padding:1rem}.vehicle-merchandising-score{grid-template-columns:auto 1fr;padding-top:.85rem;border-top:1px solid #e2e8f0}.vehicle-merchandising-score-copy small{white-space:normal}.vehicle-merchandising-progress{margin:.9rem 1rem}.vehicle-detail-page #vehicle-data .vehicle-merchandising-head h2{font-size:1rem}}

/* Super Admin Twilio control panel */
.twilio-control-page{--twilio-red:#e9213d;--twilio-red-dark:#b91830;--twilio-ink:#17233a;--twilio-muted:#66758a;--twilio-line:#dce5ef;--twilio-soft:#f6f8fb;gap:1.25rem;max-width:100%;min-width:0}
.twilio-control-head{align-items:flex-end}.twilio-control-head>div:first-child{max-width:760px}.twilio-control-head p{max-width:66ch;margin:.65rem 0 0;color:var(--twilio-muted)}
.twilio-eyebrow,.twilio-section-kicker{display:inline-flex;align-items:center;gap:.45rem;color:var(--twilio-red-dark);font-size:.68rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.twilio-eyebrow span{font-size:.55rem}
.twilio-connection-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.2rem;padding:1.3rem 1.4rem;border:1px solid #f1bbc3;border-radius:18px;background:linear-gradient(120deg,#fff9fa 0%,#fff 55%,#fff2f4 100%);box-shadow:0 14px 34px rgba(74,28,40,.07)}
.twilio-connection-card.is-connected{border-color:#bce3d0;background:linear-gradient(120deg,#f7fffb 0%,#fff 58%,#eefaf4 100%)}
.twilio-connection-icon{display:grid;grid-template-columns:repeat(2,10px);grid-template-rows:repeat(2,10px);gap:4px;width:54px;height:54px;align-content:center;justify-content:center;border-radius:16px;background:var(--twilio-red);box-shadow:0 8px 20px rgba(233,33,61,.2)}.twilio-connection-icon span{border:2px solid #fff;border-radius:50%}.twilio-connection-card.is-connected .twilio-connection-icon{background:#12815a;box-shadow:0 8px 20px rgba(18,129,90,.18)}
.twilio-connection-copy{min-width:0}.twilio-connection-title-row{display:flex;align-items:center;gap:.7rem}.twilio-connection-copy h2{margin:0;color:var(--twilio-ink);font-size:clamp(1.1rem,2vw,1.45rem);font-weight:800}.twilio-connection-copy p{margin:.35rem 0 0;color:var(--twilio-muted);font-size:.82rem;overflow-wrap:anywhere}
.twilio-connection-meta{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));margin:0;border:1px solid rgba(196,209,224,.8);border-radius:12px;background:rgba(255,255,255,.78)}.twilio-connection-meta div{padding:.65rem .8rem;border-right:1px solid #e3e9f0}.twilio-connection-meta div:last-child{border-right:0}.twilio-connection-meta dt{color:#7b8797;font-size:.62rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.twilio-connection-meta dd{margin:.16rem 0 0;color:var(--twilio-ink);font-size:.78rem;font-weight:800;white-space:nowrap}
.twilio-api-notice{display:grid;gap:.65rem;padding:1rem 1.15rem;border:1px solid #f0cf91;border-radius:14px;background:#fff9eb;color:#6d4a0e}.twilio-api-notice>div{display:grid}.twilio-api-notice>div span{margin-top:.18rem;font-size:.79rem}.twilio-api-notice ul{display:grid;gap:.3rem;margin:0;padding-left:1.2rem;font-size:.75rem}
.twilio-workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:.45rem;border:1px solid #d9e3ee;border-radius:17px;background:#edf2f7;box-shadow:inset 0 1px 2px rgba(23,35,58,.04)}
.twilio-workspace-tab{position:relative;display:grid;grid-template-columns:2.65rem minmax(0,1fr) auto;align-items:center;gap:.72rem;min-width:0;padding:.78rem .9rem;border:1px solid transparent;border-radius:13px;color:#45566d;text-decoration:none;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}
.twilio-workspace-tab:hover{border-color:#d6e0eb;background:rgba(255,255,255,.65);color:#253950}.twilio-workspace-tab.is-active{border-color:#d4dee9;background:#fff;box-shadow:0 7px 19px rgba(26,47,76,.1);color:var(--twilio-ink)}.twilio-workspace-tab.is-active:after{position:absolute;right:1rem;bottom:-.46rem;left:1rem;height:3px;border-radius:999px;background:var(--twilio-red);content:""}
.twilio-workspace-tab-icon{display:grid;place-items:center;width:2.65rem;height:2.65rem;border-radius:12px;background:#dde6f0;color:#526a87}.twilio-workspace-tab.is-active .twilio-workspace-tab-icon{background:#fde8ec;color:var(--twilio-red-dark)}.twilio-workspace-tab-icon svg{width:1.18rem;height:1.18rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.twilio-workspace-tab-copy{display:grid;min-width:0;gap:.1rem}.twilio-workspace-tab-copy strong{color:inherit;font-size:.79rem;font-weight:900}.twilio-workspace-tab-copy small{overflow:hidden;color:#748398;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.twilio-workspace-tab-count{display:grid;place-items:center;min-width:1.8rem;height:1.8rem;padding:0 .38rem;border-radius:9px;background:#e3eaf2;color:#53657c;font-size:.65rem;font-weight:900}.twilio-workspace-tab.is-active .twilio-workspace-tab-count{background:#eef3f8;color:#314860}.twilio-workspace-tab-count.has-alert{background:#f9dce1;color:#a51e33}.twilio-tab-panel{animation:twilio-tab-enter .18s ease-out}@keyframes twilio-tab-enter{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:none}}
.twilio-metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem}.twilio-metric-card{display:grid;gap:.3rem;min-width:0;padding:1rem 1.05rem;border:1px solid var(--twilio-line);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(24,43,72,.045)}.twilio-metric-card strong{color:var(--twilio-ink);font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.1;overflow-wrap:anywhere}.twilio-metric-card small{color:#78869a;font-size:.68rem;line-height:1.35}.twilio-metric-label{color:#5d6d83;font-size:.7rem;font-weight:800}
.twilio-message-panel,.twilio-resource-panel,.twilio-config-panel{overflow:hidden;border:1px solid var(--twilio-line);box-shadow:0 10px 28px rgba(24,43,72,.055)}.twilio-panel-head{align-items:flex-end}.twilio-panel-head h2,.twilio-resource-panel .dashboard-panel-head h2,.twilio-config-panel .dashboard-panel-head h2{margin:.2rem 0 0;color:var(--twilio-ink);font-size:1.05rem}.twilio-panel-head p,.twilio-resource-panel .dashboard-panel-head p,.twilio-config-panel .dashboard-panel-head p{margin:.25rem 0 0;color:var(--twilio-muted);font-size:.75rem}
.twilio-filter-form{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) auto;align-items:end;gap:.6rem}.twilio-filter-form label{display:grid;gap:.28rem;color:#66758a;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.twilio-filter-form .form-select{min-height:40px;color:#2c3c52;font-size:.76rem;text-transform:none;letter-spacing:0}.twilio-filter-form .dashboard-primary-btn{min-height:40px}
.twilio-delivery-strip{display:flex;align-items:center;gap:0;padding:0 1.2rem;border-top:1px solid #e7edf4;border-bottom:1px solid #e3eaf2;background:#f8fafc}.twilio-delivery-strip span{padding:.65rem 1rem;border-right:1px solid #e2e9f0;color:#718095;font-size:.7rem}.twilio-delivery-strip span:first-child{padding-left:0}.twilio-delivery-strip span:last-child{border-right:0}.twilio-delivery-strip b{color:#304158}
.twilio-message-table{min-width:930px}.twilio-message-table th{padding:.72rem 1rem;border-bottom-color:#dce4ee;background:#fbfcfe;color:#708096;font-size:.64rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.twilio-message-table td{padding:.85rem 1rem;border-color:#edf1f5;color:#45556b;font-size:.75rem}.twilio-message-table time{color:#65758b;white-space:nowrap}.twilio-message-table code{padding:.18rem .35rem;border-radius:5px;background:#f0f3f7;color:#53647a;font-size:.68rem}.twilio-message-table .ops-status-pill.is-danger,.ops-status-pill.is-danger{background:#fde8ea;color:#a52732}.twilio-error-detail{display:block;max-width:230px;margin-top:.3rem;color:#a23b46;font-size:.64rem;line-height:1.35}
.twilio-direction{display:inline-flex;align-items:center;gap:.2rem;font-size:.7rem;font-weight:800;white-space:nowrap}.twilio-direction.is-inbound{color:#176d51}.twilio-direction.is-outbound{color:#225fa9}.twilio-route{display:flex;align-items:center;gap:.45rem;white-space:nowrap}.twilio-route b{font-size:.71rem;font-weight:700}.twilio-route i{color:#9aa6b5;font-style:normal}
.twilio-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.twilio-resource-panel .dashboard-panel-head,.twilio-config-panel .dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;border-bottom:1px solid #e3eaf2}.twilio-count-badge{display:grid;place-items:center;min-width:2rem;height:2rem;padding:0 .45rem;border-radius:10px;background:#fcebef;color:var(--twilio-red-dark);font-size:.78rem;font-weight:850}
.twilio-resource-list{display:grid}.twilio-resource-list>article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.15rem;border-bottom:1px solid #edf1f5}.twilio-resource-list>article:last-child{border-bottom:0}.twilio-resource-list>article>div:first-child{display:grid;min-width:0}.twilio-resource-list strong{color:#293950;font-size:.8rem;overflow-wrap:anywhere}.twilio-resource-list article span:not(.ops-status-pill){margin-top:.18rem;color:#76859a;font-size:.68rem;overflow-wrap:anywhere}
.twilio-capabilities{display:flex!important;flex:0 0 auto;gap:.3rem}.twilio-capabilities span{margin:0!important;padding:.22rem .38rem;border-radius:5px;background:#eef2f6;color:#97a2b0!important;font-size:.59rem!important;font-weight:800}.twilio-capabilities span.is-on{background:#e3f6ed;color:#13704e!important}
.twilio-check-list{display:grid}.twilio-check-list>div{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.75rem;padding:.82rem 1.15rem;border-bottom:1px solid #edf1f5}.twilio-check-list>div:last-child{border-bottom:0}.twilio-check-list>div>span{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;font-size:.72rem;font-weight:900}.twilio-check-list .is-ready>span{background:#e1f5ea;color:#13704d}.twilio-check-list .is-missing>span{background:#fff0d9;color:#98600a}.twilio-check-list>div>div{display:grid}.twilio-check-list strong{color:#2b3b51;font-size:.78rem}.twilio-check-list small{margin-top:.15rem;color:#748297;font-size:.68rem;overflow-wrap:anywhere}
.twilio-empty-state{display:grid;justify-items:center;gap:.2rem;padding:2rem 1rem;color:#53647a;text-align:center}.twilio-empty-state span{color:#7d8a9c;font-size:.72rem}
.twilio-inbox{position:relative;overflow:visible;border:1px solid var(--twilio-line);border-radius:16px;background:#fff;box-shadow:0 14px 34px rgba(24,43,72,.07)}
.twilio-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem 1.15rem;border-bottom:1px solid #e2e9f1}.twilio-inbox-head h2{margin:.18rem 0 0;color:var(--twilio-ink);font-size:1.12rem}.twilio-inbox-head p{max-width:70ch;margin:.28rem 0 0;color:var(--twilio-muted);font-size:.75rem}.twilio-inbox-head-actions{display:flex;align-items:center;gap:.65rem;flex:0 0 auto}
.twilio-new-message{position:relative}.twilio-new-message>summary{list-style:none;cursor:pointer}.twilio-new-message>summary::-webkit-details-marker{display:none}.twilio-new-message[open]>summary:after{position:fixed;inset:0;z-index:39;content:"";background:rgba(17,29,48,.34);backdrop-filter:blur(2px)}.twilio-new-message-form{position:fixed;top:50%;left:50%;z-index:40;display:grid;width:min(470px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto;gap:.85rem;padding:1.2rem;transform:translate(-50%,-50%);border:1px solid #d6e0eb;border-radius:16px;background:#fff;box-shadow:0 28px 70px rgba(13,28,50,.25)}.twilio-new-message-form label:not(.twilio-consent-check){display:grid;gap:.35rem;color:#435269;font-size:.71rem;font-weight:800}.twilio-compose-title{display:grid;gap:.15rem;padding-right:2rem}.twilio-compose-title strong{color:var(--twilio-ink);font-size:1.02rem}.twilio-compose-title span,.twilio-new-message-form>small{color:#65748a;font-size:.69rem;line-height:1.45}.twilio-new-message-form textarea{resize:vertical}.twilio-consent-check{display:grid;grid-template-columns:1.1rem minmax(0,1fr);align-items:start;gap:.55rem;padding:.72rem;border:1px solid #dce5ef;border-radius:10px;background:#f8fafc;color:#3d4d63;font-size:.72rem;line-height:1.45}.twilio-consent-check input{width:1rem;height:1rem;margin-top:.12rem;accent-color:var(--twilio-red)}.twilio-new-message-form>.dashboard-primary-btn{justify-content:center;min-height:44px}
.twilio-inbox-grid{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);min-height:590px}.twilio-thread-rail{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-width:0;border-right:1px solid #e2e9f1;background:#f8fafc}.twilio-thread-search{display:grid;gap:.35rem;padding:.9rem;border-bottom:1px solid #e4ebf2}.twilio-thread-search>label{color:#55657b;font-size:.64rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.twilio-thread-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto}.twilio-thread-search input{min-height:42px;border-radius:9px 0 0 9px;font-size:.75rem}.twilio-thread-search button{min-width:64px;border:1px solid #b8c7d8;border-left:0;border-radius:0 9px 9px 0;background:#edf2f7;color:#34465d;font-size:.68rem;font-weight:850}.twilio-thread-count{padding:.56rem .9rem;border-bottom:1px solid #e4ebf2;color:#6b7a8e;font-size:.67rem}.twilio-thread-count strong{color:#33455d}.twilio-thread-list{max-height:650px;overflow-y:auto;overscroll-behavior:contain}.twilio-thread-item{display:grid;grid-template-columns:2.35rem minmax(0,1fr);gap:.65rem;padding:.83rem .9rem;border-bottom:1px solid #e8edf3;color:inherit;text-decoration:none;transition:background .15s ease,box-shadow .15s ease}.twilio-thread-item:hover{background:#fff}.twilio-thread-item.is-active{position:relative;background:#fff;box-shadow:inset 3px 0 0 var(--twilio-red)}.twilio-thread-item.is-customer-blocked{background:#fff8f8}.twilio-thread-item.is-customer-blocked.is-active{box-shadow:inset 3px 0 0 #b42332}.twilio-thread-avatar{display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:12px;background:#e7edf6;color:#3a506e;font-size:.78rem;font-weight:900}.twilio-thread-item.is-active .twilio-thread-avatar{background:#fde8ec;color:var(--twilio-red-dark)}.twilio-thread-copy{display:grid;min-width:0;gap:.19rem}.twilio-thread-line{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.twilio-thread-line strong{min-width:0;overflow:hidden;color:#263850;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.twilio-thread-line time{flex:0 0 auto;color:#77859a;font-size:.57rem}.twilio-thread-meta{overflow:hidden;color:#65758b;font-size:.63rem;text-overflow:ellipsis;white-space:nowrap}.twilio-thread-optout{display:inline-flex;align-items:center;gap:.3rem;width:max-content;max-width:100%;padding:.18rem .4rem;border-radius:999px;background:#fde6e8;color:#982431;font-size:.58rem;font-weight:900}.twilio-thread-optout>span{display:grid;place-items:center;width:.85rem;height:.85rem;border-radius:50%;background:#f8c4c9;font-size:.52rem}.twilio-thread-preview{display:flex;align-items:center;gap:.28rem;min-width:0;overflow:hidden;color:#7b8899;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}.twilio-thread-preview i{flex:0 0 auto;color:#2263a6;font-style:normal;font-weight:900}.twilio-thread-preview i.is-inbound{color:#16815b}.twilio-thread-empty{display:grid;justify-items:center;gap:.3rem;padding:2.5rem 1rem;color:#53647a;text-align:center}.twilio-thread-empty span{color:#7a8798;font-size:.7rem}
.twilio-conversation{display:grid;grid-template-rows:auto minmax(280px,1fr) auto;min-width:0;background:#fff}.twilio-conversation-head-shell{display:grid}.twilio-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid #e5ebf2;background:#fff}.twilio-conversation-overline{color:var(--twilio-red-dark);font-size:.59rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.twilio-conversation-head h3{margin:.12rem 0 0;color:#1f3149;font-size:1rem}.twilio-conversation-head p{margin:.15rem 0 0;color:#6c7b8f;font-size:.68rem}.twilio-conversation-head p a{color:#075bc4;text-decoration:none}.twilio-reply-state{display:inline-flex;align-items:center;gap:.38rem;padding:.35rem .55rem;border-radius:999px;font-size:.63rem;font-weight:850;white-space:nowrap}.twilio-reply-state span{display:grid;place-items:center;width:1rem;height:1rem;border-radius:50%}.twilio-reply-state.is-ready{background:#e5f6ed;color:#086b47}.twilio-reply-state.is-ready span{background:#bde9d1}.twilio-reply-state.is-blocked{background:#fde8ea;color:#9e2731}.twilio-reply-state.is-blocked span{background:#f8cbd0}.twilio-optout-banner{display:grid;grid-template-columns:1.8rem minmax(0,1fr);align-items:center;gap:.65rem;padding:.68rem 1rem;border-bottom:1px solid #efb9bf;background:#fff1f2;color:#87212c}.twilio-optout-banner>span{display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:50%;background:#f7c9ce;font-weight:900}.twilio-optout-banner>div{display:grid;gap:.1rem}.twilio-optout-banner strong{font-size:.73rem}.twilio-optout-banner p{margin:0;color:#8d3540;font-size:.66rem;line-height:1.4}.twilio-message-stream{display:flex;max-height:540px;min-height:360px;overflow-y:auto;flex-direction:column;gap:.72rem;padding:1rem;background:linear-gradient(180deg,#f7f9fc,#fbfcfd);overscroll-behavior:contain}.twilio-bubble-row{display:flex}.twilio-bubble-row.is-outbound{justify-content:flex-end}.twilio-bubble{max-width:min(76%,620px);padding:.65rem .75rem;border:1px solid #dde5ee;border-radius:4px 14px 14px 14px;background:#fff;box-shadow:0 4px 12px rgba(30,49,75,.045)}.twilio-bubble-row.is-outbound .twilio-bubble{border-color:#c9dcf5;border-radius:14px 4px 14px 14px;background:#eaf3ff}.twilio-bubble p{margin:0;color:#27394f;font-size:.76rem;line-height:1.5;overflow-wrap:anywhere}.twilio-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:.42rem;margin-top:.4rem;color:#718096;font-size:.56rem}.twilio-bubble footer span{font-weight:800}.twilio-bubble-status.is-success{color:#08704a}.twilio-bubble-status.is-warning{color:#805000}.twilio-bubble-status.is-danger{color:#a12b35}.twilio-conversation-empty{display:grid;align-content:center;justify-items:center;gap:.4rem;padding:3rem 1rem;color:#57677d;text-align:center}.twilio-conversation-empty-icon{display:grid;place-items:center;width:3.6rem;height:3.6rem;border-radius:18px;background:#edf2f8;color:#4d627d;font-size:1.35rem}.twilio-conversation-empty h3{margin:.35rem 0 0;color:#2d4058;font-size:1rem}.twilio-conversation-empty p{margin:0;color:#758397;font-size:.73rem}
.twilio-reply-composer{display:grid;gap:.52rem;padding:.9rem 1rem;border-top:1px solid #dde5ee;background:#fff}.twilio-reply-composer>label{color:#425269;font-size:.68rem;font-weight:850}.twilio-reply-composer textarea{min-height:86px;resize:vertical;color:#26384f;font-size:.77rem}.twilio-reply-composer textarea:disabled{background:#f1f4f7}.twilio-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem}.twilio-composer-foot>span{max-width:72ch;color:#65758a;font-size:.64rem;line-height:1.4}.twilio-composer-foot .dashboard-primary-btn{flex:0 0 auto;justify-content:center;min-width:112px;min-height:42px}.twilio-composer-foot .dashboard-primary-btn:disabled{cursor:not-allowed;opacity:.5}
.twilio-voice-workspace{overflow:hidden;border:1px solid var(--twilio-line);border-radius:16px;background:#fff;box-shadow:0 14px 34px rgba(24,43,72,.07)}
.twilio-voice-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem 1.15rem;border-bottom:1px solid #e2e9f1;background:linear-gradient(115deg,#fff 0%,#fbfcff 58%,#f7f9fd 100%)}.twilio-voice-head h2{margin:.18rem 0 0;color:var(--twilio-ink);font-size:1.12rem}.twilio-voice-head p{max-width:70ch;margin:.28rem 0 0;color:var(--twilio-muted);font-size:.75rem}.twilio-voice-stats{display:flex;gap:.5rem}.twilio-voice-stats span{display:grid;min-width:86px;padding:.48rem .68rem;border:1px solid #dce5ef;border-radius:11px;background:#fff;color:#6c7b8e;font-size:.62rem;text-align:center}.twilio-voice-stats strong{color:#263a55;font-size:.95rem;line-height:1.1}
.twilio-voice-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr)}.twilio-voicemail-pane{min-width:0;border-right:1px solid #e2e9f1}.twilio-block-pane{min-width:0;background:#f8fafc}.twilio-voice-subhead{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.78rem 1rem;border-bottom:1px solid #e4ebf2}.twilio-voice-subhead h3{margin:0;color:#263850;font-size:.84rem}.twilio-voice-subhead p{margin:.14rem 0 0;color:#748297;font-size:.64rem}.twilio-voice-subhead>span{padding:.24rem .45rem;border-radius:999px;background:#edf2f7;color:#53657c;font-size:.61rem;font-weight:850}
.twilio-voice-grid.is-voicemail-only,.twilio-voice-grid.is-calls-only{grid-template-columns:minmax(0,1fr)}.twilio-voice-grid.is-voicemail-only .twilio-voicemail-pane{border-right:0}.twilio-voice-grid.is-calls-only .twilio-block-pane{display:grid;grid-template-columns:minmax(300px,.55fr) minmax(0,1fr)}.twilio-voice-grid.is-calls-only .twilio-block-pane>.twilio-voice-subhead{grid-column:1/-1}.twilio-voice-grid.is-calls-only .twilio-block-form{border-right:1px solid #e1e8f0;border-bottom:0}.twilio-voice-grid.is-calls-only .twilio-block-list{max-height:255px;background:#f8fafc}
.twilio-voicemail-list{display:grid;max-height:520px;overflow-y:auto;overscroll-behavior:contain}.twilio-voicemail-card{display:grid;grid-template-columns:2.55rem minmax(0,1fr);gap:.72rem;padding:.9rem 1rem;border-bottom:1px solid #edf1f5;background:#fff}.twilio-voicemail-card.is-unheard{background:linear-gradient(90deg,#fff8fa 0,#fff 42%);box-shadow:inset 3px 0 0 var(--twilio-red)}.twilio-voicemail-icon{display:grid;place-items:center;width:2.55rem;height:2.55rem;border-radius:13px;background:#e8eef6;color:#415a78;font-size:.76rem}.twilio-voicemail-card.is-unheard .twilio-voicemail-icon{background:#fde8ec;color:var(--twilio-red-dark)}.twilio-voicemail-main{display:grid;min-width:0;gap:.55rem}.twilio-voicemail-main>header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.twilio-voicemail-main>header>div{display:grid;gap:.08rem}.twilio-voicemail-main strong{color:#263850;font-size:.79rem}.twilio-voicemail-main header span{color:#748297;font-size:.62rem}.twilio-voice-state{flex:0 0 auto;padding:.18rem .38rem;border-radius:999px;font-size:.56rem!important;font-weight:900}.twilio-voice-state.is-new{background:#fde8ec;color:#9b2531}.twilio-voice-state.is-heard{background:#e8f5ee;color:#176e50}.twilio-voicemail-main audio{width:100%;height:36px;accent-color:var(--twilio-red)}.twilio-voicemail-main>footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#7a8798;font-size:.58rem}.twilio-voicemail-main>footer form{margin-left:auto}.twilio-text-action{padding:0;border:0;background:transparent;color:#075bc4;font-size:.62rem;font-weight:850;text-decoration:underline;text-underline-offset:2px}.twilio-text-action.is-danger{color:#a12834}.twilio-blocked-badge{margin-left:auto;padding:.2rem .4rem;border-radius:999px;background:#fde8ea;color:#9e2731;font-size:.57rem;font-weight:900}.twilio-voice-empty{display:grid;justify-items:center;gap:.28rem;padding:3rem 1rem;color:#5d6e84;text-align:center}.twilio-voice-empty>span{display:grid;place-items:center;width:3rem;height:3rem;border-radius:15px;background:#eaf0f7;color:#49617f}.twilio-voice-empty strong{margin-top:.2rem;color:#32455f;font-size:.82rem}.twilio-voice-empty p{margin:0;color:#78869a;font-size:.68rem}
.twilio-block-form{display:grid;gap:.68rem;padding:.9rem 1rem;border-bottom:1px solid #e1e8f0;background:#fff}.twilio-block-form label{display:grid;gap:.28rem;color:#4d5d73;font-size:.65rem;font-weight:850}.twilio-block-form label span{display:flex;justify-content:space-between}.twilio-block-form label small{color:#8894a4;font-weight:650}.twilio-block-form input{min-height:40px;font-size:.73rem}.twilio-block-form .dashboard-primary-btn{justify-content:center;min-height:40px}.twilio-block-list{display:grid;max-height:310px;overflow-y:auto}.twilio-block-list article{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.76rem 1rem;border-bottom:1px solid #e6ecf2}.twilio-block-list article>div{display:grid;min-width:0;gap:.08rem}.twilio-block-list strong{color:#2a3c54;font-size:.73rem}.twilio-block-list span{overflow:hidden;color:#68788d;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.twilio-block-list small{color:#8793a2;font-size:.57rem}.twilio-block-empty{padding:1.25rem 1rem;color:#7b8899;font-size:.68rem;text-align:center}
.twilio-call-log{border-top:1px solid #dde5ee;background:#fff}.twilio-call-table-wrap{overflow-x:auto}.twilio-call-table{width:100%;border-collapse:collapse;table-layout:fixed}.twilio-call-table th{padding:.58rem 1rem;border-bottom:1px solid #dfe7ef;background:#f8fafc;color:#65758a;font-size:.58rem;font-weight:900;letter-spacing:.055em;text-align:left;text-transform:uppercase}.twilio-call-table th:first-child{width:22%}.twilio-call-table th:nth-child(2){width:21%}.twilio-call-table th:nth-child(3){width:19%}.twilio-call-table th:nth-child(4){width:18%}.twilio-call-table td{padding:.72rem 1rem;border-bottom:1px solid #edf1f5;color:#53647a;font-size:.68rem;vertical-align:middle}.twilio-call-table tbody tr:last-child td{border-bottom:0}.twilio-call-table tbody tr:hover{background:#fbfcfe}.twilio-call-table td:first-child{display:grid;gap:.08rem}.twilio-call-table td:first-child strong{color:#263850;font-size:.75rem}.twilio-call-table td small{overflow:hidden;color:#8793a2;font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.twilio-call-table time{white-space:nowrap}.twilio-call-outcome{display:inline-flex;padding:.22rem .46rem;border-radius:999px;font-size:.58rem;font-weight:900;white-space:nowrap}.twilio-call-outcome.is-voicemail{background:#e8f5ee;color:#176e50}.twilio-call-outcome.is-blocked{background:#fde8ea;color:#9e2731}.twilio-call-outcome.is-no-message{background:#edf2f7;color:#53657c}.twilio-call-recording{color:#075bc4;font-weight:850;text-decoration:none}.twilio-call-recording:hover{text-decoration:underline}.twilio-call-none{color:#9aa5b2}.twilio-call-action{text-align:right}.twilio-call-action form{display:inline}.twilio-call-empty{display:flex;align-items:center;justify-content:center;gap:.7rem;padding:1.5rem;color:#68788c}.twilio-call-empty>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:12px;background:#eaf0f7;color:#49617f}.twilio-call-empty div{display:grid;gap:.12rem}.twilio-call-empty strong{color:#32455f;font-size:.76rem}.twilio-call-empty p{margin:0;color:#78869a;font-size:.64rem}
.twilio-voicemail-actions{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;margin-left:auto}.twilio-voicemail-main>footer .twilio-voicemail-actions form{margin:0}.twilio-delete-voicemail{white-space:nowrap}.twilio-call-outcome.is-deleted{background:#f1edf5;color:#675572}
.twilio-control-page :is(a,button,select,input,textarea,summary):focus-visible{outline:3px solid rgba(233,33,61,.25);outline-offset:2px}
@media(max-width:1399.98px){.twilio-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.twilio-connection-card{grid-template-columns:auto minmax(0,1fr)}.twilio-connection-meta{grid-column:1/-1}.twilio-panel-head{align-items:stretch;flex-direction:column}.twilio-filter-form{width:100%}}
@media(max-width:991.98px){.twilio-control-head{align-items:stretch;flex-direction:column}.twilio-resource-grid{grid-template-columns:1fr}.twilio-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.twilio-filter-form .dashboard-primary-btn{grid-column:1/-1;justify-content:center}.twilio-delivery-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.twilio-delivery-strip span,.twilio-delivery-strip span:first-child{padding:.65rem 1rem;border-bottom:1px solid #e2e9f0}.twilio-delivery-strip span:nth-child(2n){border-right:0}.twilio-delivery-strip span:nth-last-child(-n+2){border-bottom:0}.twilio-voice-grid{grid-template-columns:1fr}.twilio-voicemail-pane{border-right:0;border-bottom:1px solid #e2e9f1}.twilio-voice-grid.is-calls-only .twilio-block-pane{grid-template-columns:1fr}.twilio-voice-grid.is-calls-only .twilio-block-form{border-right:0;border-bottom:1px solid #e1e8f0}.twilio-inbox-grid{grid-template-columns:minmax(245px,290px) minmax(0,1fr)}.twilio-thread-line{display:grid;gap:.1rem}.twilio-bubble{max-width:86%}}
@media(max-width:767.98px){.twilio-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.twilio-connection-card{grid-template-columns:1fr;padding:1rem}.twilio-connection-icon{width:48px;height:48px}.twilio-connection-title-row{align-items:flex-start;flex-direction:column}.twilio-connection-meta{grid-template-columns:1fr}.twilio-connection-meta div{border-right:0;border-bottom:1px solid #e3e9f0}.twilio-connection-meta div:last-child{border-bottom:0}.twilio-filter-form{grid-template-columns:1fr}.twilio-filter-form .dashboard-primary-btn{grid-column:auto}.twilio-control-page .twilio-filter-form .form-select,.twilio-control-page .twilio-filter-form .dashboard-primary-btn,.twilio-control-head .admin-page-actions a{min-height:44px}.twilio-resource-list>article{align-items:flex-start;flex-direction:column}.twilio-capabilities{width:100%}.twilio-voice-head{align-items:flex-start;flex-direction:column}.twilio-voice-stats{width:100%}.twilio-voice-stats span{flex:1}.twilio-voicemail-card{grid-template-columns:2.25rem minmax(0,1fr);padding:.82rem}.twilio-voicemail-icon{width:2.25rem;height:2.25rem}.twilio-inbox-head{align-items:flex-start;flex-direction:column}.twilio-inbox-head-actions{justify-content:space-between;width:100%}.twilio-inbox-grid{grid-template-columns:1fr;min-height:0}.twilio-thread-rail{border-right:0;border-bottom:1px solid #dde5ee}.twilio-thread-list{display:flex;max-height:none;overflow-x:auto;overflow-y:hidden;padding:.45rem;scroll-snap-type:x proximity}.twilio-thread-item{flex:0 0 min(84vw,310px);border:1px solid #e1e8f0;border-radius:12px;background:#fff;scroll-snap-align:start}.twilio-thread-item+.twilio-thread-item{margin-left:.45rem}.twilio-conversation{min-height:560px}.twilio-message-stream{max-height:430px;min-height:300px}.twilio-bubble{max-width:90%}.twilio-composer-foot{align-items:stretch;flex-direction:column}.twilio-composer-foot .dashboard-primary-btn{width:100%;min-height:44px}.twilio-new-message>summary{min-height:44px}.twilio-thread-search input,.twilio-thread-search button{min-height:44px}}
@media(max-width:767.98px){.twilio-voice-stats{overflow-x:auto}.twilio-voice-stats span{min-width:92px}.twilio-call-table-wrap{overflow:visible;padding:.55rem}.twilio-call-table,.twilio-call-table tbody{display:grid;gap:.5rem}.twilio-call-table thead{display:none}.twilio-call-table tr{display:grid;grid-template-columns:1fr 1fr;gap:.55rem .75rem;padding:.75rem;border:1px solid #e1e8f0;border-radius:12px;background:#fff}.twilio-call-table td{display:grid!important;gap:.12rem;padding:0;border:0;text-align:left}.twilio-call-table td::before{content:attr(data-label);color:#7a8798;font-size:.53rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.twilio-call-table .twilio-call-action{align-content:end;justify-items:start}.twilio-call-action .twilio-text-action{min-height:32px}}
@media(max-width:767.98px){.twilio-workspace-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.twilio-workspace-tab{flex:0 0 min(82vw,300px);min-height:70px;scroll-snap-align:start}.twilio-workspace-tab-copy small{white-space:normal}.twilio-workspace-tab.is-active:after{right:.8rem;left:.8rem}.twilio-voice-stats{overflow-x:auto}.twilio-voice-stats span{min-width:92px}.twilio-call-table-wrap{overflow:visible;padding:.55rem}.twilio-call-table,.twilio-call-table tbody{display:grid;gap:.5rem}.twilio-call-table thead{display:none}.twilio-call-table tr{display:grid;grid-template-columns:1fr 1fr;gap:.55rem .75rem;padding:.75rem;border:1px solid #e1e8f0;border-radius:12px;background:#fff}.twilio-call-table td{display:grid!important;gap:.12rem;padding:0;border:0;text-align:left}.twilio-call-table td::before{content:attr(data-label);color:#7a8798;font-size:.53rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.twilio-call-table .twilio-call-action{align-content:end;justify-items:start}.twilio-call-action .twilio-text-action{min-height:32px}}
@media(max-width:479.98px){.twilio-metric-grid{grid-template-columns:1fr}.twilio-delivery-strip{grid-template-columns:1fr}.twilio-delivery-strip span,.twilio-delivery-strip span:first-child,.twilio-delivery-strip span:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e2e9f0}.twilio-delivery-strip span:last-child{border-bottom:0}.twilio-control-head .admin-page-actions{display:grid;width:100%}.twilio-control-head .admin-page-actions a{justify-content:center;width:100%}}
@media(max-width:479.98px){.twilio-voicemail-main>footer{align-items:flex-start;flex-direction:column}.twilio-voicemail-actions{justify-content:space-between;width:100%;margin-left:0}}

/* Authenticated console WCAG AA palette. Keep compact operational copy and
   status treatments above 4.5:1 on their rendered panel backgrounds. */
.admin-body {
    --console-blue: #075bc4;
    --console-blue-dark: #064ba4;
    --bs-link-color: #075bc4;
    --bs-link-color-rgb: 7, 91, 196;
    --bs-link-hover-color: #064ba4;
    max-width: 100%;
    overflow-x: hidden;
}

.inventory-table-panel .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.dealer-dashboard {
    --dash-muted: #59677d;
    --dash-orange: #b8321c;
    --dash-green: #087048;
    --dash-blue: #165ac4;
    --dash-yellow: #805000;
}

.admin-breadcrumbs,
.dealer-dashboard-hero p,
.dashboard-summary-card small,
.dashboard-work-card span,
.dashboard-attention-item small,
.dashboard-panel-head p,
.dashboard-table-controls,
.inventory-table-toolbar span,
.reports-schedule-item small,
.crm-workflow-page .admin-page-head p,
.admin-workflow-page .admin-page-head p,
.crm-kpi-card small {
    color: #59677d;
}

.dashboard-table th,
.admin-inventory-table th,
.crm-workflow-table th {
    color: #536177;
}

.dashboard-table td a,
.admin-inventory-table td a,
.dashboard-panel-head a {
    color: #075bc4;
}

.admin-body .badge.text-bg-success,
.user-role-pill.is-dealer_manager {
    color: #087048 !important;
}

.admin-body .badge.text-bg-warning {
    color: #805000 !important;
}

.dash-stat-ico.is-blue { background: #075bc4; }
.dash-stat-ico.is-green { background: #087048; }
.dash-stat-ico.is-orange { background: #9a5700; }
.dash-stat-ico.is-purple { background: #5940c5; }
.dash-stat-ico.is-teal { background: #08766a; }

.dashboard-status.is-new { color: #165ac4; }
.dashboard-status.is-appointment,
.dashboard-status.is-success { color: #087048; }
.dashboard-status.is-working { color: #805000; }
.dashboard-status.is-warning { color: #b33622; }

.dashboard-attention-item em {
    color: #b8321c;
}

.dashboard-table-count,
.dashboard-panel .dashboard-empty,
.dashboard-panel small,
.dashboard-quick-panel p,
.dashboard-attention-panel p {
    color: #5f6b7c;
}

/* Wide data tables scroll inside their responsive panel without increasing
   the document width beside the fixed desktop navigation rail. */
.admin-shell > .admin-content {
    flex: 1 1 0;
    width: auto;
    max-width: calc(100vw - var(--admin-sidebar-width));
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .admin-shell > .admin-content {
        max-width: 100vw;
    }
}

.dealer-dashboard .admin-page-head p {
    color: #59677d;
}

#cmsTabDesign .form-text {
    color: #59677d;
}

/* Authenticated secondary text and compact status labels. These selectors
   cover operational screens whose original gray/brand tints fell just below
   WCAG AA at their small rendered sizes. */
.admin-body .text-secondary,
.admin-body .form-text { color: #59677d !important; }
.admin-body .text-info { color: #075f7a !important; }
.admin-body .text-warning { color: #805000 !important; }
.admin-body .text-success { color: #087048 !important; }
.admin-body code { color: #8a285f; }

.calendar-time-label,
.calendar-mini-day.is-muted,
.photo-shot-position,
.profile-account-summary span,
.billing-plan-head p,
.vehicle-editor-step,
.vehicle-catalog-manual-head p,
.vehicle-catalog-manual-head [data-vehicle-catalog-status],
.vehicle-market-pricing-body span,
.vehicle-market-pricing-card > p,
.vehicle-activity-item small,
.vehicle-activity-empty,
.domain-current-summary span,
.domain-choice-head p,
.domain-choice-card > p,
.user-permission-heading span,
.user-account-head span,
.user-rule-list span,
.testimonial-list-heading p,
.service-admin-panel-head p,
.service-admin-week-head,
.service-admin-blocked-head p,
.service-admin-empty,
.service-admin-savebar span,
.platform-notification-panel-head p,
.platform-notification-event-copy small,
.platform-notification-email-copy small,
.platform-notification-savebar span,
.platform-notification-empty p,
.twilio-control-head p,
.twilio-metric-card small,
.twilio-delivery-strip span,
.twilio-empty-state span,
.twilio-resource-list article span:not(.ops-status-pill),
.twilio-check-list small {
    color: #59677d !important;
}

.reports-categories a.is-active,
.reports-categories a:hover { color: #075bc4; }
.report-format.is-pdf { color: #a62b3e; }
.report-format.is-excel { color: #087048; }
.deal-desk-status-strip span { color: #59677d; }
.market-pricing-disclaimer strong,
.market-pricing-disclaimer span { color: #68430a; }

.visual-editor { --ve-muted: #59677d !important; }
.ve-device-switch button,
.ve-browser-bar div { color: #59677d !important; }
.ve-preview-block:not(.ve-bg-dark):not(.ve-bg-primary) .ve-p-eyebrow { color: #6741b5 !important; }

.website-setup-progress button,
.website-setup-preview-heading span,
.website-setup-browser-bar span,
.website-setup-step-actions > span { color: #59677d; }

.platform-notification-transport small { opacity: 1; }
.platform-notification-empty p,
.platform-notification-savebar span { color: #59677d; }
.platform-notification-table th,
.platform-notification-table td small,
.platform-notification-table time,
.platform-notification-table td::before { color: #59677d !important; }
.twilio-control-page { --twilio-muted: #59677d; }

.calendar-mini-day.is-muted { color: #526174 !important; }
.vehicle-form :is(label, .form-label, .form-text),
.vehicle-form [data-stock-number-help],
.vehicle-form [data-vehicle-catalog-status] { color: #526174 !important; }
.email-admin-settings > summary small { color: #526174; }
.domain-choice-form small,
.domain-choice-card > p { color: #526174; }
.service-admin-stats span,
.service-admin-stats small { color: #526174; }
.user-role-pill.is-salesperson { color: #075bc4; }

/* Inventory detail labels sit on tinted status and calculation surfaces. */
.vehicle-detail-page #vehicle-data .vehicle-merchandising-score-value small {
    color: inherit !important;
}
.acquisition-calculation span {
    color: #526174;
}

/* ===== Admin control panel typography contract =====
   Content 16px · labels/help 14px · compact UI 12px · controls 16px. */
.admin-body .admin-content {
    --admin-type-main: 1rem;
    --admin-type-helper: .875rem;
    --admin-type-compact: .75rem;
}

.admin-body .admin-content > main {
    font-size: var(--admin-type-main);
    line-height: 1.5;
}

.admin-body .admin-content > main :is(p, li, dd, summary),
.admin-body .admin-content > main :is(.table, table) td,
.admin-body .admin-content > main :is(.table, table) td > a {
    font-size: var(--admin-type-main) !important;
}

.admin-body .admin-content > main span {
    font-size: var(--admin-type-helper) !important;
}

.admin-body .admin-content > main :is(.table, table) td span {
    font-size: var(--admin-type-main) !important;
}

.admin-body .admin-content :is(label, legend, .form-label),
.admin-body .admin-content > main :is(small, .small, .form-text, .help-text, .helper-text),
.admin-body .admin-content > main [class*="-help"],
.admin-body .admin-content > main [class*="-hint"],
.admin-body .admin-content > main [class*="-meta"],
.admin-body .admin-content > main [class*="-subtitle"],
.admin-body .admin-content > main [class*="-description"],
.admin-body .admin-content > main [class*="-label"],
.admin-body .admin-content > main :is(.admin-breadcrumbs, .admin-breadcrumbs a, .admin-breadcrumbs span),
.admin-body .admin-content > main :is(.table, table) td :is(small, .small) {
    font-size: var(--admin-type-helper) !important;
    line-height: 1.45;
}

.admin-body .admin-content :is(input, select, textarea, .form-control, .form-select, .input-group-text),
.admin-body .admin-content > main :is(button, .btn, .dashboard-primary-btn, .dashboard-secondary-btn) {
    font-size: var(--admin-type-main) !important;
}

.admin-body .admin-content > main :is(.btn-sm, .form-control-sm, .form-select-sm),
.admin-body .admin-content > main :is(small, .small) :is(a, button) {
    font-size: var(--admin-type-helper) !important;
}

.admin-body .admin-content > main :is(.table, table) th,
.admin-body .admin-content > main :is(.table, table) th a,
.admin-body .admin-content > main :is(.badge, [class*="-badge"], [class*="-pill"], [class*="-chip"], [class*="-kicker"], [class*="-eyebrow"]),
.admin-body .admin-content > main :is(.dashboard-status, .health-status, .report-format, .ops-status-pill),
.admin-body .admin-content > main :is(.table, table) td :is(.badge, [class*="-badge"], [class*="-pill"], [class*="-chip"], .dashboard-status, .health-status, .report-format, .ops-status-pill),
.admin-body .admin-content > main :is(.table, table) td::before {
    font-size: var(--admin-type-compact) !important;
    line-height: 1.3;
}

/* Native sticky preview rails need clipping that does not create an
   unscrolling overflow container around the admin page. */
@media (min-width: 992px) {
    .admin-shell > .admin-content:has(.website-theme-workspace),
    .admin-shell > .admin-content:has(.website-setup-page) {
        overflow-x: clip;
    }
}
/* Protected demo Twilio isolation states. */
.twilio-reply-state.is-simulated{background:#fff3d6;color:#805300}.twilio-reply-state.is-simulated span{background:#f8d98c}.twilio-thread-demo{display:inline-flex;align-items:center;gap:.28rem;width:max-content;margin-top:.22rem;padding:.16rem .38rem;border-radius:999px;background:#fff3d6;color:#805300;font-size:.56rem;font-weight:850}

/* Shared Twilio caller and text-sender contact database. */
.twilio-contact-directory{border-bottom:1px solid #dfe7ef;background:#f8fafc}.twilio-contact-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid #e2e9f1}.twilio-contact-head h3{margin:.12rem 0 0;color:#263850;font-size:.9rem}.twilio-contact-head p{max-width:68ch;margin:.18rem 0 0;color:#748297;font-size:.68rem}.twilio-contact-add{position:relative}.twilio-contact-add>summary{min-width:112px;list-style:none}.twilio-contact-add>summary::-webkit-details-marker{display:none}.twilio-contact-add[open]>summary{background:#a5192c}.twilio-contact-add>.twilio-contact-form{position:absolute;z-index:20;top:calc(100% + .55rem);right:0;width:min(620px,calc(100vw - 3rem));border:1px solid #dce4ed;border-radius:14px;background:#fff;box-shadow:0 22px 55px rgba(26,43,69,.18)}.twilio-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem;padding:1rem}.twilio-contact-form .twilio-compose-title{grid-column:1/-1}.twilio-contact-form label{display:grid;gap:.3rem;color:#4d5d73;font-size:.65rem;font-weight:850}.twilio-contact-form label span{display:flex;justify-content:space-between;gap:.5rem}.twilio-contact-form label small{color:#8894a4;font-weight:650}.twilio-contact-form :is(input,textarea){font-size:.73rem}.twilio-contact-form textarea{resize:vertical}.twilio-contact-form-wide{grid-column:1/-1}.twilio-contact-form button{justify-content:center;min-height:42px}.twilio-contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;max-height:360px;overflow-y:auto;padding:.75rem 1rem;overscroll-behavior:contain}.twilio-contact-card{min-width:0;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.twilio-contact-card>summary{display:grid;grid-template-columns:2.35rem minmax(0,1fr) auto;align-items:center;gap:.62rem;padding:.72rem;cursor:pointer;list-style:none}.twilio-contact-card>summary::-webkit-details-marker{display:none}.twilio-contact-card[open]{grid-column:span 2;box-shadow:0 10px 26px rgba(28,47,75,.08)}.twilio-contact-avatar{display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:12px;background:#e8eef6;color:#3c5575;font-size:.78rem;font-weight:900}.twilio-contact-identity{display:grid;min-width:0;gap:.08rem}.twilio-contact-identity strong{overflow:hidden;color:#263850;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.twilio-contact-identity small{overflow:hidden;color:#78869a;font-size:.59rem;text-overflow:ellipsis;white-space:nowrap}.twilio-contact-card>summary>a{grid-column:2;color:#075bc4;font-size:.63rem;text-decoration:none}.twilio-contact-card>summary>a:hover{text-decoration:underline}.twilio-contact-edit{grid-column:3;grid-row:1/3;color:#68788c;font-size:.6rem;font-weight:850}.twilio-contact-card[open] .twilio-contact-edit span{display:inline-block;transform:rotate(180deg)}.twilio-contact-form.is-edit{border-top:1px solid #e5ebf2;background:#fbfcfe}.twilio-contact-empty{display:flex;grid-column:1/-1;align-items:center;justify-content:center;gap:.72rem;padding:1.2rem;color:#68788c}.twilio-contact-empty>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:12px;background:#e8eef6;color:#49617f;font-size:1rem}.twilio-contact-empty div{display:grid;gap:.12rem}.twilio-contact-empty strong{color:#32455f;font-size:.76rem}.twilio-contact-empty p{margin:0;color:#78869a;font-size:.64rem}.twilio-call-action{display:flex;align-items:center;justify-content:flex-end;gap:.7rem}.twilio-call-action>a{white-space:nowrap}
@media(max-width:1199.98px){.twilio-contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.twilio-contact-head{align-items:stretch;flex-direction:column}.twilio-contact-add>summary{justify-content:center;min-height:44px}.twilio-contact-add>.twilio-contact-form{position:static;width:100%;margin-top:.55rem;box-shadow:0 10px 24px rgba(26,43,69,.1)}.twilio-contact-list{grid-template-columns:1fr;max-height:440px;padding:.65rem}.twilio-contact-card[open]{grid-column:auto}.twilio-contact-form{grid-template-columns:1fr}.twilio-contact-form>*{grid-column:auto}.twilio-call-action{align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}}

/* Premium dealership business texting enrollment and number selection. */
.dealer-texting-page{--dt-ink:#10213d;--dt-muted:#64748b;--dt-line:#dce5ef;--dt-blue:#1668e8;--dt-violet:#7047eb;max-width:1440px;margin:0 auto;padding-bottom:2rem}
.dealer-texting-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:clamp(2rem,5vw,5rem);align-items:center;overflow:hidden;padding:clamp(2rem,4vw,3.4rem);border-radius:22px;background:linear-gradient(122deg,#071a35 0%,#0b2d5d 56%,#135bc8 100%);box-shadow:0 22px 52px rgba(12,44,92,.2);color:#fff}
.dealer-texting-hero:before{position:absolute;right:9%;bottom:-145px;width:370px;height:370px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02);content:""}
.dealer-texting-hero-copy,.dealer-texting-hero-metric{position:relative;z-index:1}.dealer-texting-kicker{display:flex;align-items:center;gap:.6rem;color:#b8d5ff;font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.dealer-texting-kicker span{width:24px;height:2px;background:#4b9cff}
.dealer-texting-hero h1{max-width:760px;margin:.7rem 0 .85rem;font-size:clamp(2.15rem,4vw,3.7rem);font-weight:850;line-height:1.02;letter-spacing:-.045em}.dealer-texting-hero-copy>p{max-width:780px;margin:0;color:#c5d4e9;font-size:1rem;line-height:1.65}
.dealer-texting-hero-actions{display:flex;align-items:center;gap:1.2rem;margin-top:1.5rem}.dealer-texting-state{display:inline-flex;align-items:center;gap:.55rem;padding:.55rem .8rem;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.08);font-size:.75rem;font-weight:800}.dealer-texting-state-dot{width:8px;height:8px;border-radius:50%;background:#f4b740;box-shadow:0 0 0 4px rgba(244,183,64,.12)}.dealer-texting-state.is-ready .dealer-texting-state-dot{background:#50d890;box-shadow:0 0 0 4px rgba(80,216,144,.12)}.dealer-texting-jump{color:#fff;font-size:.76rem;font-weight:800;text-decoration:none}.dealer-texting-jump:hover{color:#dbeafe}.dealer-texting-jump span{margin-left:.35rem}
.dealer-texting-hero-metric{display:grid;align-content:center;min-height:205px;padding:1.5rem;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(3,17,38,.28);backdrop-filter:blur(10px)}.dealer-texting-hero-metric-label{color:#afc7e6;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dealer-texting-hero-metric strong{margin:.25rem 0 -.15rem;font-size:3rem;font-weight:900;letter-spacing:-.05em}.dealer-texting-hero-metric>span:not(.dealer-texting-hero-metric-label){color:#e5eef9;font-size:.77rem}.dealer-texting-hero-metric-line{height:3px;margin:1rem 0 .75rem;border-radius:10px;background:rgba(255,255,255,.12)}.dealer-texting-hero-metric-line i{display:block;width:68%;height:100%;border-radius:inherit;background:#4f9cff}.dealer-texting-hero-metric small{color:#9fb5d0;font-size:.66rem}
.dealer-texting-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;margin:1.25rem 0 2.25rem;border:1px solid var(--dt-line);border-radius:15px;background:var(--dt-line);box-shadow:0 9px 25px rgba(31,56,90,.05)}.dealer-texting-status-grid article{position:relative;display:flex;align-items:center;gap:.75rem;min-width:0;padding:1rem 1.1rem;background:#fff}.dealer-texting-status-icon{display:grid;flex:0 0 38px;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf4fd;color:#1d63bd;font-size:.85rem;font-weight:900}.dealer-texting-status-grid article>div{display:grid;min-width:0;gap:.12rem}.dealer-texting-status-grid small{color:#7b8798;font-size:.62rem;font-weight:800;text-transform:uppercase}.dealer-texting-status-grid strong{overflow:hidden;color:var(--dt-ink);font-size:.77rem;text-overflow:ellipsis;white-space:nowrap}.dealer-texting-status-grid article>i,.dealer-texting-channel-status i,.dealer-texting-mini-statuses i{width:7px;height:7px;border-radius:50%;background:#a3afbd}.dealer-texting-status-grid article>i{position:absolute;top:1rem;right:1rem}.dealer-texting-status-grid i.is-success,.dealer-texting-channel-status i.is-success,.dealer-texting-mini-statuses i.is-success{background:#17a66f}.dealer-texting-status-grid i.is-warning,.dealer-texting-channel-status i.is-warning,.dealer-texting-mini-statuses i.is-warning{background:#e9a52f}.dealer-texting-status-grid i.is-danger,.dealer-texting-channel-status i.is-danger,.dealer-texting-mini-statuses i.is-danger{background:#d9475b}
.dealer-texting-section-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.25rem}.dealer-texting-section-heading>div>span{color:var(--dt-blue);font-size:.68rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.dealer-texting-section-heading h2{margin:.28rem 0 0;color:var(--dt-ink);font-size:clamp(1.3rem,2.4vw,1.8rem);font-weight:850;letter-spacing:-.025em}.dealer-texting-section-heading>p{max-width:470px;margin:0;color:var(--dt-muted);font-size:.78rem;line-height:1.55;text-align:right}
.dealer-texting-progress{margin-bottom:2.6rem;padding:1.5rem;border:1px solid var(--dt-line);border-radius:17px;background:#fff}.dealer-texting-progress ol{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1.6rem 0 0;padding:0;list-style:none}.dealer-texting-progress ol:before{position:absolute;top:17px;right:9%;left:9%;height:1px;background:#d7e0eb;content:""}.dealer-texting-progress li{position:relative;display:grid;justify-items:center;gap:.55rem;color:#8a96a7;text-align:center}.dealer-texting-progress li>span{z-index:1;display:grid;place-items:center;width:35px;height:35px;border:1px solid #d5dfeb;border-radius:50%;background:#fff;color:#8a96a7;font-size:.69rem;font-weight:900}.dealer-texting-progress li>strong{font-size:.67rem;font-weight:800}.dealer-texting-progress li.is-complete{color:#1459ae}.dealer-texting-progress li.is-complete>span{border-color:#1668e8;background:#1668e8;color:#fff;box-shadow:0 0 0 4px #e9f2ff}.dealer-texting-progress-note{display:flex;align-items:flex-start;gap:.75rem;margin-top:1.35rem;padding:.85rem 1rem;border-radius:11px;background:#f1f6fc}.dealer-texting-progress-note>span{display:grid;flex:0 0 24px;place-items:center;width:24px;height:24px;border-radius:50%;background:#dbeafe;color:#1763c5;font-size:.7rem;font-weight:900}.dealer-texting-progress-note p{margin:.05rem 0 0;color:#5c6e84;font-size:.72rem;line-height:1.55}.dealer-texting-progress-note strong{color:#29415e}
.dealer-texting-numbers{scroll-margin-top:1rem}.dealer-texting-number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.dealer-texting-number-card{position:relative;overflow:hidden;padding:1.55rem;border:1px solid var(--dt-line);border-radius:18px;background:#fff;box-shadow:0 15px 35px rgba(29,52,84,.06)}.dealer-texting-number-card:before{position:absolute;top:0;right:0;left:0;height:4px;background:var(--dt-blue);content:""}.dealer-texting-number-card.is-violet:before{background:var(--dt-violet)}.dealer-texting-number-topline{display:flex;align-items:center;justify-content:space-between}.dealer-texting-number-topline>span{color:#9ba7b7;font-size:.69rem;font-weight:900;letter-spacing:.12em}.dealer-texting-channel-status{display:flex;align-items:center;gap:.42rem;padding:.35rem .55rem;border-radius:999px;background:#f3f6f9;color:#5d6d80;font-size:.62rem;font-weight:800}.dealer-texting-channel-status i{display:block}.dealer-texting-number-copy{margin:1.4rem 0 1.25rem}.dealer-texting-number-copy small{color:var(--dt-blue);font-size:.65rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.is-violet .dealer-texting-number-copy small{color:var(--dt-violet)}.dealer-texting-number-copy h3{margin:.25rem 0 .45rem;color:var(--dt-ink);font-size:1.35rem;font-weight:850;letter-spacing:-.02em}.dealer-texting-number-copy p{min-height:46px;margin:0;color:var(--dt-muted);font-size:.75rem;line-height:1.55}
.dealer-texting-selected-number{display:grid;gap:.2rem;padding:1.1rem 1.2rem;border:1px solid #ccebdc;border-radius:13px;background:#f0faf5}.dealer-texting-selected-number>span{color:#388366;font-size:.62rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.dealer-texting-selected-number strong{color:#0a6c4a;font-size:clamp(1.25rem,2.5vw,1.75rem);font-weight:900;letter-spacing:-.03em}.dealer-texting-selected-number small{color:#56816e;font-size:.66rem}.dealer-texting-locked-note{margin:.8rem 0 0;color:#78869a;font-size:.67rem}.dealer-texting-locked-note span{margin-right:.25rem}.dealer-texting-locked-note a{color:#1764c5;font-weight:800;text-decoration:none}
.dealer-texting-search{display:grid;gap:.55rem;padding:1rem;border-radius:13px;background:#f4f7fb}.dealer-texting-search>label{color:#2f425c;font-size:.69rem;font-weight:850}.dealer-texting-search>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch}.dealer-texting-search>div>span{display:flex;align-items:center;padding:0 .75rem;border:1px solid #cdd8e5;border-right:0;border-radius:9px 0 0 9px;background:#fff;color:#53657c;font-weight:800}.dealer-texting-search input{min-width:0;padding:.67rem .7rem;border:1px solid #cdd8e5;color:var(--dt-ink);outline:0}.dealer-texting-search input:focus{position:relative;border-color:var(--dt-blue);box-shadow:0 0 0 3px rgba(22,104,232,.1)}.dealer-texting-search button,.dealer-texting-result-action button{border:0;background:var(--dt-blue);color:#fff;font-weight:850}.dealer-texting-search button{padding:0 1rem;border-radius:0 9px 9px 0}.dealer-texting-search button:hover,.dealer-texting-result-action button:hover{background:#0d55c5}.dealer-texting-search>small{color:#7a8798;font-size:.63rem}.dealer-texting-search-message{margin-top:.75rem;padding:.8rem;border:1px solid #d8e3ee;border-radius:10px;background:#fafcff;color:#5c6d82;font-size:.7rem}.dealer-texting-search-message.is-error{border-color:#f0c5cc;background:#fff5f6;color:#a92d41}
.dealer-texting-results{display:grid;gap:.65rem;margin-top:.85rem}.dealer-texting-results-head{display:flex;justify-content:space-between;color:#2e415a;font-size:.7rem}.dealer-texting-results-head span{color:#8290a2}.dealer-texting-result{display:grid;grid-template-columns:minmax(145px,.65fr) minmax(210px,1fr);gap:.65rem 1rem;padding:.9rem;border:1px solid #dce5ef;border-radius:11px;background:#fff}.dealer-texting-result-number{display:grid;align-content:center;grid-row:1/3;gap:.1rem}.dealer-texting-result-number strong{color:var(--dt-ink);font-size:.94rem}.dealer-texting-result-number span{color:#77869a;font-size:.63rem}.dealer-texting-result>label{color:#66768a;font-size:.61rem}.dealer-texting-result code{color:#324863;font-size:.6rem;font-weight:800}.dealer-texting-result-action{display:grid;grid-template-columns:minmax(0,1fr) auto}.dealer-texting-result-action input{min-width:0;padding:.6rem .65rem;border:1px solid #cdd8e5;border-radius:8px 0 0 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.62rem}.dealer-texting-result-action button{padding:0 .8rem;border-radius:0 8px 8px 0;font-size:.65rem}.dealer-texting-purchase-note{margin:.15rem 0 0;color:#8491a1;font-size:.61rem;line-height:1.45}
.dealer-texting-waiting{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border:1px solid #d9e4ef;border-radius:13px;background:#f7f9fc}.dealer-texting-waiting>span{display:grid;flex:0 0 34px;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9eff6;color:#66809f;font-weight:900}.dealer-texting-waiting strong{display:block;color:#354961;font-size:.74rem}.dealer-texting-waiting p{margin:.25rem 0 0;color:#748397;font-size:.67rem;line-height:1.5}.dealer-texting-mini-statuses{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:.7rem}.dealer-texting-mini-statuses span{display:flex;align-items:center;gap:.35rem;color:#7b8899;font-size:.61rem}.dealer-texting-mini-statuses i{display:block}
.dealer-texting-support{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-top:1.5rem;padding:1rem 1.2rem;border-radius:14px;background:#10223c;color:#fff}.dealer-texting-support>div{display:flex;align-items:center;gap:.75rem}.dealer-texting-support>div>span{display:grid;flex:0 0 32px;place-items:center;width:32px;height:32px;border:1px solid #45617e;border-radius:50%;font-weight:900}.dealer-texting-support p{margin:0;color:#b8c6d6;font-size:.7rem}.dealer-texting-support strong{color:#fff}.dealer-texting-support>a{color:#fff;font-size:.69rem;font-weight:850;text-decoration:none;white-space:nowrap}.dealer-texting-support>a span{margin-left:.35rem}
@media(max-width:1050px){.dealer-texting-hero{grid-template-columns:1fr}.dealer-texting-hero-metric{grid-template-columns:1fr auto;column-gap:1rem;min-height:0}.dealer-texting-hero-metric strong{grid-row:1/3;grid-column:2;align-self:center}.dealer-texting-hero-metric-line,.dealer-texting-hero-metric small{grid-column:1/-1}.dealer-texting-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dealer-texting-number-grid{grid-template-columns:1fr}.dealer-texting-number-copy p{min-height:0}}
@media(max-width:720px){.dealer-texting-hero{padding:1.5rem;border-radius:17px}.dealer-texting-hero-actions,.dealer-texting-section-heading,.dealer-texting-support{align-items:flex-start;flex-direction:column}.dealer-texting-section-heading>p{text-align:left}.dealer-texting-status-grid{grid-template-columns:1fr}.dealer-texting-progress ol{grid-template-columns:1fr;gap:.8rem}.dealer-texting-progress ol:before{top:17px;bottom:17px;left:17px;width:1px;height:auto}.dealer-texting-progress li{grid-template-columns:35px minmax(0,1fr);align-items:center;justify-items:start;text-align:left}.dealer-texting-search>div{grid-template-columns:auto minmax(0,1fr)}.dealer-texting-search button{grid-column:1/-1;min-height:42px;margin-top:.5rem;border-radius:9px}.dealer-texting-result{grid-template-columns:1fr}.dealer-texting-result-number{grid-row:auto}.dealer-texting-result-action{grid-template-columns:1fr}.dealer-texting-result-action input,.dealer-texting-result-action button{min-height:42px;border-radius:8px}.dealer-texting-result-action button{margin-top:.4rem}.dealer-texting-support{gap:.9rem}.dealer-texting-support>a{white-space:normal}}
