:root {
  --bs-primary: #08675d; --bs-primary-rgb: 8, 103, 93;
  --bs-body-color: #172c3b; --bs-body-bg: #fff;
  --bs-link-color: #08675d; --bs-link-color-rgb: 8, 103, 93; --bs-link-hover-color-rgb: 6, 74, 67; --bs-link-hover-color: #064a43;
  --bs-secondary-color: #53646e;
  --xc-navy: #142d3b; --xc-paper: #f4f5f0;
}
body { font-family: "Segoe UI", system-ui, sans-serif; line-height: 1.65; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.12; }
.container { max-width: 1200px; padding-inline: 1.5rem; }
.navbar-brand { letter-spacing: -.05em; color: var(--xc-navy); }
.brand-logo { width: 200px; max-width: 100%; height: auto; }
.nav-link { font-weight: 600; color: #43545e; }
.nav-link.active { color: var(--bs-primary) !important; text-decoration: underline; text-underline-offset: .4rem; }
.btn { font-weight: 600; padding: .7rem 1.2rem; border-radius: .4rem; }
.btn-primary { --bs-btn-bg: #08675d; --bs-btn-border-color: #08675d; --bs-btn-hover-bg: #064f47; --bs-btn-hover-border-color: #064f47; --bs-btn-active-bg: #064f47; --bs-btn-active-border-color: #064f47; }
.btn-outline-primary { --bs-btn-color: #08675d; --bs-btn-border-color: #08675d; --bs-btn-hover-bg: #08675d; --bs-btn-hover-border-color: #08675d; --bs-btn-active-bg: #064f47; --bs-btn-active-border-color: #064f47; }
.section-space { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-paper { background: var(--xc-paper); }
.bg-navy { background: var(--xc-navy); color: white; }
.eyebrow { color: var(--bs-primary); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.7rem, 4.5vw, 4.15rem); font-weight: 650; }
.hero-image { width: 100%; height: clamp(20rem, 34vw, 29rem); object-fit: cover; }
.content-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.dealer-inventory-visual { width: 100%; max-width: 760px; }
.dealer-inventory-visual img { width: 100%; height: auto; }
.dealer-contract-logo { height: 70px; display: flex; align-items: center; }
.dealer-contract-logo img { max-width: min(100%, 150px); width: auto; height: auto; max-height: 70px; object-fit: contain; }
.dealer-accounting-logo { width: 120px; max-width: 100%; height: auto; }
.lender-criteria-section { padding-block: clamp(2rem, 4vw, 3rem); }
.lender-analysis-callout { position: relative; width: min(100%, 240px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 3px solid white; box-shadow: 0 6px 18px rgba(20, 45, 59, .12); }
.lender-analysis-callout img { position: absolute; right: 0; top: -20%; width: 135%; max-width: none; height: 135%; object-fit: cover; object-position: right center; }
@media (min-width: 992px) {
  .lender-criteria-section { position: relative; z-index: 1; }
  .lender-criteria-section .col-lg-5 { position: relative; min-height: 130px; }
  .lender-analysis-callout { position: absolute; width: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}
.measure { max-width: 42rem; }
.audience-card { border-top: 3px solid var(--bs-primary); }
.audience-card a { text-underline-offset: .2rem; }
.step-number { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border: 1px solid #a3b8b5; border-radius: 50%; color: #bde4d8; font-weight: 600; }
.bg-navy .text-muted-light { color: #d2dfe1; }
a:focus-visible, button:focus-visible { outline: 3px solid #b77b24; outline-offset: 4px; }
.skip-link:focus { display: block; padding: 1rem; background: white; }

.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.input-validation-error { border-color: var(--bs-danger); }

/* Keep each dashboard count attached to its list in one scrollable column. */
.dashboard-profile-form
{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.task-assignee-options
{
    z-index: 20;
    max-height: 18rem;
    overflow-y: auto;
}

.dashboard-column { width: 20rem; max-width: 85vw; }
.dashboard-columns
{
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-gutter: stable;
}

.dashboard-columns.dashboard-columns-wrap
{
    flex-wrap: wrap;
    overflow-x: visible;
    align-items: flex-start;
}

.dashboard-columns-wrap .dashboard-column
{
    max-width: 100%;
}

.dashboard-wrap-option
{
    padding: .5rem;
}

.dashboard-wrap-switch
{
    appearance: none;
    position: relative;
    width: 3rem;
    height: 1.75rem;
    flex-shrink: 0;
    border: 1px solid #737b83;
    border-radius: 2rem;
    background: #737b83;
    cursor: pointer;
}

.dashboard-wrap-switch::before
{
    content: "";
    position: absolute;
    top: .125rem;
    left: .125rem;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: white;
}

.dashboard-wrap-switch:checked
{
    background: #198754;
    border-color: #198754;
}

.dashboard-wrap-switch:checked::before
{
    transform: translateX(1.25rem);
}

.dashboard-wrap-switch:focus-visible
{
    outline: 3px solid #b77b24;
    outline-offset: 4px;
}
.dashboard-column .card-body { max-height: 36rem; overflow-y: auto; }
.dashboard-column .dashboard-item-with-messages { padding-right: 1.65rem !important; }
.dashboard-message-icon { position: absolute; right: 0; bottom: .5rem; line-height: 1; pointer-events: none; }

/* Signed-in organization branding sits below the navigation. */
.organization-identity { min-width: 0; max-width: 100%; }
.organization-logo { display: block; width: auto; height: auto; max-width: min(200px, 35vw); max-height: 90px; object-fit: contain; }


@media (min-width: 1200px) {
    .organization-navigation .navbar-nav > .nav-item:first-child > .nav-link { padding-left: 0; }
}

.vehicle-color-picker { margin-top: .4rem; font-size: .85rem; font-weight: 400; }
.vehicle-color-picker > summary { color: #086c67; cursor: pointer; width: fit-content; }
.vehicle-color-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; padding: .6rem 0; }
.vehicle-color-option { display: flex; flex-direction: column; align-items: center; gap: .25rem; background: white; color: #263b37; border: 1px solid #cbd7d1; border-radius: .4rem; padding: .45rem .2rem; font-size: .75rem; }
.vehicle-color-option:hover, .vehicle-color-option[aria-pressed="true"] { border-color: #086c67; background: #e9f4f1; }
.vehicle-color-option:focus-visible, .vehicle-color-picker > summary:focus-visible { outline: 3px solid #086c67; outline-offset: 2px; }
.vehicle-color-option:disabled { opacity: .5; cursor: default; }
.vehicle-color-swatch { display: block; width: 1.4rem; height: 1.4rem; border: 1px solid #8b9993; border-radius: 50%; }
.vehicle-color-other { background: conic-gradient(#c62828, #f4d03f, #367348, #2457aa, #76528b, #c62828); }

.vehicle-banner { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; border: 1px solid #d5dfda; border-left: 5px solid #086c67; border-radius: .75rem; background: linear-gradient(110deg, #edf4f1, #f7f9f8); overflow: hidden; margin: 1rem 0 1.5rem; }
.vehicle-banner[hidden] { display: none; }
.vehicle-banner-info { flex: 1; min-width: 0; padding: 1.4rem; }
.vehicle-banner-kind { font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: #086c67; margin-bottom: .45rem; }
.vehicle-banner h2, .vehicle-banner h3 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); margin-bottom: .75rem; }
.vehicle-banner-facts { display: flex; flex-wrap: wrap; gap: .7rem 1.75rem; margin: 0; }
.vehicle-banner-facts dt { font-size: .75rem; font-weight: 500; color: #53655d; }
.vehicle-banner-facts dd { margin: .2rem 0 0; font-weight: 550; overflow-wrap: anywhere; }
.vehicle-banner-photo { width: 260px; min-height: 175px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #e2eae5; color: #53655d; font-size: .9rem; }
.vehicle-banner-photo img { width: 100%; height: 100%; max-height: 230px; object-fit: cover; }
@media(max-width: 650px) { .vehicle-banner { flex-direction: column; gap: 0; } .vehicle-banner-photo { width: 100%; } .vehicle-banner-photo img { max-height: 250px; } }

.global-search {
    flex: 1 1 20rem;
    min-width: 12rem;
    max-width: 36rem;
}

.global-search-results {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: min(36rem, 70vh);
    overflow-y: auto;
}

.global-search [hidden] {
    display: none !important;
}

.global-search-results a:hover,
.global-search-results a:focus {
    background: var(--bs-tertiary-bg);
}

.global-search-results a {
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .global-search {
        max-width: none;
        width: 100%;
    }
}
