.site-header { padding: 14px 0; background: #fff; }
.site-nav-container { width: 100%; max-width: 1440px; padding: 0 24px; margin: 0 auto; display: flex; align-items: center; gap: 20px; box-sizing: border-box; }
.site-brand { flex: 0 0 140px; display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: #334155; }
.site-brand img { display: block; width: 140px; height: 28px; object-fit: contain; }
.site-brand > span { font-size: 8px; font-weight: 700; white-space: nowrap; text-align: center; }
.site-desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex: 1; }
.site-desktop-nav > a, .site-nav-dropdown > summary { color: #0f172a; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: 5px; }
.site-desktop-nav .site-expert-link { color: #047857; }
.site-desktop-nav a:hover, .site-nav-dropdown > summary:hover, .site-desktop-nav [aria-current="page"] { color: #1d4ed8; }
.site-account-link { flex-shrink: 0; padding: 11px 14px; border-radius: 9px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-nav-dropdown { position: relative; }
.site-nav-dropdown > summary, .site-drawer-group > summary { list-style: none; cursor: pointer; }
.site-nav-dropdown > summary::-webkit-details-marker, .site-drawer-group > summary::-webkit-details-marker { display: none; }
.site-nav-dropdown[open] > summary > span, .site-drawer-group[open] > summary > span { transform: rotate(180deg); }
.site-nav-panel { position: absolute; right: 0; top: 100%; width: 250px; padding: 8px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px #0f172a20; max-height: min(65vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.site-nav-panel a { display: block; padding: 11px 12px; border-radius: 7px; font-size: 14px; line-height: 1.5; text-decoration: none; color: #334155; overflow-wrap: anywhere; }
.site-nav-panel a:hover { background: #eff6ff; }
.site-nav-group-label { display: block; padding: 14px 12px 5px; color: #64748b; font-size: 12px; font-weight: 700; }
.site-menu-toggle { display: none; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.site-menu-toggle > span { font-size: 20px; }
.mobile-scroll-nav { display: none; overflow-x: auto; background: #fff; border-bottom: 1px solid #e2e8f0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mobile-scroll-nav::-webkit-scrollbar { display: none; }
.mobile-scroll-nav-inner { display: flex; width: max-content; gap: 8px; padding: 8px 16px; }
.scroll-nav-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 13px; box-sizing: border-box; border: 1px solid #e2e8f0; border-radius: 22px; background: #f8fafc; color: #334155; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.scroll-nav-link.site-create-link, .scroll-nav-link.active-link-highlight { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.site-drawer { width: min(360px, 100vw); height: 100vh; height: 100dvh; max-width: 100%; z-index: 100002; visibility: hidden; transition: transform .25s ease, visibility .25s; }
.site-drawer.active { visibility: visible; }
#mobile-menu-overlay { z-index: 100001; }
.site-drawer .mobile-drawer-header { flex-shrink: 0; padding: max(12px, env(safe-area-inset-top)) 20px 12px; }
.site-drawer .mobile-drawer-close { width: 44px; min-height: 44px; }
.site-drawer .mobile-drawer-body { padding: 12px 16px max(24px, env(safe-area-inset-bottom)); gap: 8px; min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.site-drawer .drawer-link { min-height: 44px; box-sizing: border-box; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.site-drawer [aria-current="page"] { color: #1d4ed8; background: #eff6ff; }
.site-drawer-group { border-top: 1px solid #e2e8f0; }
.site-drawer-group > summary { padding: 13px 12px; display: flex; align-items: center; justify-content: space-between; min-height: 48px; box-sizing: border-box; font-weight: 700; font-size: 14px; color: #0f172a; }
.site-drawer-group .drawer-link { margin-left: 8px; }
.site-drawer-account { border-top: 1px solid #e2e8f0; padding-top: 12px; }
.site-drawer-account h2 { margin: 0 12px 10px; font-size: 15px; }
.site-drawer-account p { font-size: 13px; color: #475569; margin: 6px 12px 12px; overflow-wrap: anywhere; }
.site-drawer-account .site-account-name { font-weight: 700; margin-bottom: 3px; }
.site-drawer .site-drawer-login { color: #1d4ed8; background: #eff6ff; }
.site-access-button { font-family: inherit; border: 0; background: none; cursor: pointer; width: 100%; }
.site-drawer .site-logout { color: #b91c1c; }
.site-header a:focus-visible, .site-header summary:focus-visible, .site-menu-toggle:focus-visible, .mobile-scroll-nav a:focus-visible, .site-drawer :is(a, button, summary):focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
@media (max-width: 1199px) {
    .site-desktop-nav, .site-account-link { display: none; }
    .site-menu-toggle { display: inline-flex; margin-left: auto; }
    .mobile-scroll-nav { display: block; }
    .site-header { padding: 10px 0; }
    .site-nav-container { padding: 0 16px; }
}
@media (max-width: 500px) { .site-brand > span { display: none; } }
@media (prefers-reduced-motion: reduce) { .site-drawer, #mobile-menu-overlay { transition: none; } }
.home-motor-actions.has-wizard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-motor-actions.has-wizard > .home-wizard-primary { grid-column: 1 / -1; width: 100%; max-width: 540px; margin: 0 auto 6px; }
.home-motor-actions.has-wizard > a:not(.home-wizard-primary) { width: 100%; max-width: 400px; justify-self: center; background: #fff !important; color: #1d4ed8 !important; border: 1px solid #cbd5e1; box-shadow: 0 3px 10px #0f172a08 !important; font-size: 16px; padding: 18px 24px; }
.home-motor-actions.has-wizard > a:not(.home-wizard-primary):last-child:nth-child(even) { grid-column: 1 / -1; }
@media (max-width: 640px) { .home-motor-actions.has-wizard { grid-template-columns: minmax(0, 1fr); } }
.cvo-card .cvo-ats-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 20px; padding: 5px 10px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
