/* Trilux S308 shared chrome (s308-one-site-2026-11-23-v1): the one header and footer of triluxmotors.com, on the
   website, /apply/ and /my-car/. Brand rule: #D00A00, #FFFFFF, #0B0B0B only; greys by opacity; Montserrat; focus ring
   3px solid #0B0B0B offset 3px (a #FFFFFF halo keeps it visible on black). Sizes are fixed (top bar 36px, bar 64px)
   so nothing moves while the page loads. Selectors are doubled (.tlx-ch.tlx-ch) to win over app rules like "header{}". */

:root{--tlx-ch-top:36px;--tlx-ch-bar:64px;--tlx-header-h:calc(var(--tlx-ch-top) + var(--tlx-ch-bar));--tlx-ch-red:#D00A00;--tlx-ch-ink:#0B0B0B;--tlx-ch-paper:#FFFFFF}

.tlx-ch.tlx-ch,.tlx-cf.tlx-cf{all:revert;display:block;box-sizing:border-box;margin:0;padding:0;border:0;box-shadow:none;position:relative;width:auto;max-width:none;height:auto;text-align:left;font-family:Montserrat,Arial,Helvetica,sans-serif;font-weight:400;font-size:16px;line-height:1.4;letter-spacing:0;text-transform:none;-webkit-font-smoothing:antialiased}
.tlx-ch.tlx-ch *,.tlx-cf.tlx-cf *{box-sizing:border-box}
.tlx-ch.tlx-ch{z-index:60;background:#0B0B0B;color:#FFFFFF;min-height:var(--tlx-header-h)}
.tlx-ch.tlx-ch ul,.tlx-cf.tlx-cf ul{list-style:none;margin:0;padding:0}
.tlx-ch.tlx-ch a,.tlx-cf.tlx-cf a{color:inherit;background:transparent;text-decoration:none;font:inherit;font-family:Montserrat,Arial,Helvetica,sans-serif}
.tlx-ch.tlx-ch p,.tlx-cf.tlx-cf p{margin:0}
.tlx-ch.tlx-ch svg{display:block}

/* Top bar (phone, address, hours, as the website shows them) */
.tlx-ch .tlx-ch-top{height:var(--tlx-ch-top);overflow:hidden;background:#D00A00;color:#FFFFFF;font-weight:600;font-size:13px}
.tlx-ch .tlx-ch-top > *{display:flex;align-items:center;justify-content:center;gap:16px;height:var(--tlx-ch-top);padding:0 16px;white-space:nowrap;overflow:hidden}
.tlx-ch .tlx-ch-top a{display:inline-flex;align-items:center;min-height:24px;text-decoration:underline;text-underline-offset:2px}
.tlx-ch .tlx-ch-top > * + *{display:none}
.tlx-ch .tlx-mbar{display:none}

/* Main bar */
.tlx-ch .tlx-ch-bar{height:var(--tlx-ch-bar);background:#0B0B0B}
.tlx-ch .tlx-ch-in{display:flex;align-items:center;gap:12px;height:100%;max-width:1320px;margin:0 auto;padding:0 16px}
.tlx-ch .tlx-ch-logo{display:inline-flex;align-items:center;min-height:44px;flex:none}
.tlx-ch .tlx-ch-logo-img{display:block;height:34px;width:auto;max-width:180px}
.tlx-ch .tlx-ch-word{font-weight:800;font-size:20px;letter-spacing:.06em;color:#FFFFFF;white-space:nowrap}
.tlx-ch .tlx-ch-word-r{color:#D00A00}
.tlx-ch .tlx-ch-vb{display:none;align-items:center;min-height:28px;padding:0 10px;border:1px solid #FFFFFF;border-radius:999px;font-weight:700;font-size:12px;white-space:nowrap}

/* Menu: a panel under the bar below 1200px, a row from 1200px */
.tlx-ch .tlx-ch-nav{display:block;position:absolute;left:0;right:0;top:100%;background:#0B0B0B;border-top:1px solid #D00A00;padding:8px 16px 16px;max-height:calc(100vh - var(--tlx-header-h));overflow:auto;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
.tlx-ch .tlx-ch-nav.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:none;transition:opacity .2s ease,transform .2s ease,visibility 0s linear 0s}
@media (prefers-reduced-motion:reduce){.tlx-ch .tlx-ch-nav,.tlx-ch .tlx-ch-nav.is-open{transition:none;transform:none}}
.tlx-ch .tlx-ch-menu{display:flex;flex-direction:column;gap:4px}
.tlx-ch .tlx-ch-menu a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:999px;font-weight:600;font-size:16px;color:#FFFFFF}
.tlx-ch .tlx-ch-menu a:hover{background:#FFFFFF;color:#0B0B0B}
.tlx-ch .tlx-ch-menu a[aria-current="page"]{box-shadow:inset 0 -3px 0 #D00A00}
.tlx-ch .tlx-ch-i--cta a{background:#D00A00;color:#FFFFFF;font-weight:700}
.tlx-ch .tlx-ch-i--cta a:hover{background:#D00A00;color:#FFFFFF;box-shadow:inset 0 0 0 100px #0B0B0B;opacity:.92}
.tlx-ch .tlx-ch-i--cta a[aria-current="page"]{box-shadow:inset 0 0 0 3px #FFFFFF}

/* Tools: language, account, menu button */
.tlx-ch .tlx-ch-tools{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.tlx-ch .tlx-ch-lang{display:inline-flex;align-items:center;min-height:44px}
.tlx-ch .tlx-ch-lang:empty{display:none}
/* The header and footer run edge to edge on every page, whatever margin an app page leaves on its body */
body:has(> [data-tlx-chrome-h]){margin:0}
/* The app's own language switch sits in the slot: header font and a 24px minimum target (WCAG 2.2) */
.tlx-ch .tlx-ch-lang a,.tlx-ch .tlx-ch-lang button{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;font-family:inherit}
.tlx-ch .tlx-ch-lang *{font-family:inherit}
/* EN/ES switch in the chrome slot: match the website v1.2.2 pill (Montserrat 14px/700,
 * hairline ring at 20% white, red selected segment, transparent track on #0B0B0B).
 * Needed because portal.css paints .tlx-lang-track with --tlx-surface (white) and
 * 12px type, which made /my-car/ look like a light toggle on the black bar.
 * Selectors target only .tlx-lang-switch (portal/my-car). The website v1.2.2
 * widget uses .tlx-lang__btn and is unchanged. Apply is not served this chrome. */
.tlx-ch .tlx-ch-lang .tlx-lang{display:inline-flex;align-items:center;margin:0;gap:0;font-family:Montserrat,Arial,Helvetica,sans-serif}
.tlx-ch .tlx-ch-lang .tlx-lang-switch{display:inline-flex;align-items:center;min-height:24px;min-width:0;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:#FFFFFF;font-family:Montserrat,Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;letter-spacing:.04em;line-height:1;text-decoration:none;cursor:pointer}
.tlx-ch .tlx-ch-lang .tlx-lang-track{position:relative;display:inline-flex;align-items:center;padding:0;border-radius:999px;background:transparent;box-shadow:none;width:auto;height:auto;min-width:0}
.tlx-ch .tlx-ch-lang .tlx-lang-track::before{content:"";position:absolute;inset:0;border:1px solid #FFFFFF;border-radius:inherit;opacity:.2;pointer-events:none}
.tlx-ch .tlx-ch-lang .tlx-lang-knob{position:absolute;top:0;bottom:0;left:0;width:50%;border-radius:999px;background:#D00A00;box-shadow:none;pointer-events:none;transition:transform .15s ease}
.tlx-ch .tlx-ch-lang .tlx-lang-switch[aria-checked="true"] .tlx-lang-knob{transform:translateX(100%)}
.tlx-ch .tlx-ch-lang .tlx-lang-opt{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:24px;padding:0 14px;color:#FFFFFF;font:700 14px/1 Montserrat,Arial,Helvetica,sans-serif;letter-spacing:.04em;background:transparent}
.tlx-ch .tlx-ch-lang .tlx-lang-switch[aria-checked="false"] .tlx-lang-en,
.tlx-ch .tlx-ch-lang .tlx-lang-switch[aria-checked="true"] .tlx-lang-es{color:#FFFFFF}
.tlx-ch .tlx-ch-lang .tlx-lang-switch:hover .tlx-lang-track{opacity:.85}
@media (prefers-reduced-motion:reduce){.tlx-ch .tlx-ch-lang .tlx-lang-knob{transition:none}}
.tlx-ch .tlx-ch-acct{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:#FFFFFF}
.tlx-ch .tlx-ch-acct:hover{background:#FFFFFF;color:#0B0B0B}
.tlx-ch .tlx-ch-acct-i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#FFFFFF;color:#0B0B0B;font-weight:700;font-size:13px;line-height:1}
.tlx-ch .tlx-ch-acct-i[hidden]{display:none}
.tlx-ch .tlx-ch-acct[data-state="in"] .tlx-ch-acct-svg{display:none}
.tlx-ch .tlx-ch-acct[data-state="in"]:hover .tlx-ch-acct-i{background:#D00A00;color:#FFFFFF}
.tlx-ch .tlx-ch-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;cursor:pointer;color:#FFFFFF}
.tlx-ch .tlx-ch-btn:hover{background:#FFFFFF;color:#0B0B0B}
.tlx-ch .tlx-ch-burger,.tlx-ch .tlx-ch-burger::before,.tlx-ch .tlx-ch-burger::after{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;position:relative;transition:transform .2s ease}
.tlx-ch .tlx-ch-burger::before,.tlx-ch .tlx-ch-burger::after{content:"";position:absolute;left:0}
.tlx-ch .tlx-ch-burger::before{top:-7px}
.tlx-ch .tlx-ch-burger::after{top:7px}
.tlx-ch .tlx-ch-btn[aria-expanded="true"] .tlx-ch-burger{background:transparent}
.tlx-ch .tlx-ch-btn[aria-expanded="true"] .tlx-ch-burger::before{transform:translateY(7px) rotate(45deg)}
.tlx-ch .tlx-ch-btn[aria-expanded="true"] .tlx-ch-burger::after{transform:translateY(-7px) rotate(-45deg)}

/* Focus: 3px #0B0B0B ring, 3px off, with a #FFFFFF halo so it shows on the black bar and the red top bar */
.tlx-ch a:focus-visible,.tlx-ch button:focus-visible,.tlx-cf a:focus-visible{outline:3px solid #0B0B0B;outline-offset:3px;box-shadow:0 0 0 3px #FFFFFF}
.tlx-ch a:focus:not(:focus-visible),.tlx-ch button:focus:not(:focus-visible),.tlx-cf a:focus:not(:focus-visible){outline:none}

/* Small phones: the top bar keeps the phone number only (the address is in the footer); a tighter text wordmark
   (used only when the theme has no logo image). At 16px, red text on black is under WCAG AA (3.5:1), so MOTORS is
   white on a red tag there (5.6:1); from 400px the 20px extra-bold wordmark is large text and keeps red on black. */
@media (max-width:599.98px){.tlx-ch .tlx-ch-tb > * + *{display:none}}
@media (max-width:399.98px){
  .tlx-ch .tlx-ch-in{gap:8px;padding:0 12px}
  .tlx-ch .tlx-ch-word{font-size:16px;letter-spacing:.03em}
  .tlx-ch .tlx-ch-word-r{color:#FFFFFF;background:#D00A00;padding:0 4px;border-radius:2px}
  .tlx-ch .tlx-ch-logo-img{height:28px;max-width:140px}
}
@media (min-width:600px){
  /* WEBDEV-chrome-glitches 2026-11-27: do not un-hide the second top-bar row (#tlx-ms).
     Showing both #tlx-tb and #tlx-ms in the 36px bar caused the overlap. */
  .tlx-ch .tlx-ch-top > * + *{display:none}
}
@media (min-width:900px){.tlx-ch .tlx-ch-vb{display:inline-flex}}
@media (min-width:1200px){
  .tlx-ch .tlx-ch-nav{display:block;position:static;padding:0;border:0;background:transparent;max-height:none;overflow:visible;margin-left:auto;visibility:visible;pointer-events:auto;opacity:1;transform:none}
  .tlx-ch .tlx-ch-menu{flex-direction:row;align-items:center;gap:2px}
  .tlx-ch .tlx-ch-menu a{min-height:44px;padding:0 12px;font-size:15px;white-space:nowrap}
  .tlx-ch .tlx-ch-tools{margin-left:8px}
  .tlx-ch .tlx-ch-btn{display:none}
}
/* /my-car/ on a wide screen (the portal's app shell, body.pnav): the website header and footer run the full width over
   the portal's own side menu, the header stays in view, and the side menu starts under it. Phones are unchanged. */
@media (min-width:900px){
  body.pnav:has(> [data-tlx-chrome-h]) > .tlx-ch{position:sticky;top:0;z-index:70;margin-left:calc(-1 * var(--pnav-rail))}
  body.pnav:has(> [data-tlx-chrome-h]) > .tlx-cf{margin-left:calc(-1 * var(--pnav-rail))}
  body.pnav.pnav-sb-e:has(> [data-tlx-chrome-h]) > .tlx-ch,body.pnav.pnav-sb-e:has(> [data-tlx-chrome-h]) > .tlx-cf{margin-left:calc(-1 * var(--pnav-side))}
  body.pnav:has(> [data-tlx-chrome-h]) .pnav-side{top:var(--tlx-header-h);bottom:var(--tlx-cf-in-view,0px)}
  /* The side menu is fixed; it ends where the website footer starts (chrome.js keeps --tlx-cf-in-view), so the
     footer is never covered. The footer also sits above it, in case the script has not run yet. */
  body.pnav:has(> [data-tlx-chrome-h]) > .tlx-cf{z-index:61}
}
@media (min-width:1200px){
  body.pnav:not(.pnav-sb-c):has(> [data-tlx-chrome-h]) > .tlx-ch,body.pnav:not(.pnav-sb-c):has(> [data-tlx-chrome-h]) > .tlx-cf{margin-left:calc(-1 * var(--pnav-side))}
}
@media (prefers-reduced-motion:reduce){.tlx-ch .tlx-ch-burger,.tlx-ch .tlx-ch-burger::before,.tlx-ch .tlx-ch-burger::after{transition:none}}

/* Footer */
/* Whole-pixel line height: the same footer lands on the same pixels on every page (G1 pixel match). The portal's
   tab bar is cleared by the portal's own body padding, so the footer itself is the same everywhere. */
.tlx-cf.tlx-cf{background:#0B0B0B;color:#FFFFFF;border-top:4px solid #D00A00;font-size:14px;line-height:20px}
.tlx-cf .tlx-cf-in{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;max-width:1320px;margin:0 auto;padding:24px 16px calc(24px + env(safe-area-inset-bottom))}
.tlx-cf .tlx-cf-c{font-weight:600}
.tlx-cf .tlx-cf-l,.tlx-cf .tlx-cf-p{opacity:.86}
.tlx-cf .tlx-cf-links{display:flex;flex-wrap:wrap;gap:4px 20px;width:100%}
.tlx-cf .tlx-cf-links a,.tlx-cf .tlx-cf-p a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.tlx-cf .tlx-cf-links a:hover,.tlx-cf .tlx-cf-p a:hover{opacity:.8}

/* S308: one line on the portal sign-in page about passkeys made for the old address. */
.tlx-pk-notice.tlx-pk-notice{margin:0 0 16px;padding:12px 16px;border-left:4px solid #D00A00;background:transparent;color:currentColor;font:600 15px/1.45 Montserrat,Arial,Helvetica,sans-serif}
/* Q-25 (live header, Nov 23): phones get the call in the menu and the EN | ES switch in the bar; at 1200 px+ the
   switch sits in the top bar after "Text Us" when today's top bar carries it, so the bar's own slot steps aside. */
.tlx-ch .tlx-ch-i--call a{font-weight:700}
@media (min-width:1200px){.tlx-ch .tlx-ch-i--call{display:none}.tlx-ch:has(.tlx-ch-top [data-tlx-lang-root]) .tlx-ch-tools .tlx-ch-lang{display:none}}
@media (max-width:1199.98px){.tlx-ch .tlx-ch-top [data-tlx-lang-root]{display:none}}

/* WEBDEV-logo-contrast 2026-11-27: official white+#D00A00 wordmark on the #0B0B0B header/footer so the letters stay visible. The Feb T-only custom logo (black + old red) disappeared on this bar. */
.tlx-ch .tlx-ch-logo{overflow:hidden;flex:none;align-items:center}
.tlx-ch .tlx-ch-logo-pic{display:block;line-height:0}
.tlx-ch .tlx-ch-logo-img{display:block;height:40px;width:auto;max-width:220px;object-fit:contain;object-position:left center;animation:tlx-logo-in .45s ease both}
@media (max-width:599.98px){
  .tlx-ch .tlx-ch-logo-img{height:30px;max-width:160px}
}
@keyframes tlx-logo-in{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .tlx-ch .tlx-ch-logo-img{animation:none}
}
.tlx-cf .tlx-cf-logo{display:inline-flex;align-items:center;margin-right:12px}
.tlx-cf .tlx-cf-logo-img{display:block;height:32px;width:auto;max-width:180px;object-fit:contain}
@media (max-width:599.98px){
  .tlx-cf .tlx-cf-logo{width:100%;margin:0 0 8px}
  .tlx-cf .tlx-cf-logo-img{height:28px;max-width:154px}
}

/* WEBDEV-chrome-glitches 2026-11-27: one polished top bar everywhere the shared chrome renders.
   The captured #tlx-tb / #tlx-ms markup had no durable CSS, so icons (and the veteran star) blew up
   and "Se habla español" overlapped hours / Text Us. Veteran-owned is homepage-only, in the red bar. */
.tlx-ch .tlx-ch-top{display:block;height:var(--tlx-ch-top);overflow:hidden}
.tlx-ch .tlx-ch-top > * + *{display:none !important}
.tlx-ch .tlx-tb{display:block;width:100%;height:var(--tlx-ch-top);color:#FFFFFF}
.tlx-ch .tlx-tb__in{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:1320px;height:var(--tlx-ch-top);margin:0 auto;padding:0 16px;overflow:hidden}
.tlx-ch .tlx-tb__l,.tlx-ch .tlx-tb__r{display:flex;align-items:center;gap:10px;min-width:0;height:var(--tlx-ch-top);overflow:hidden}
.tlx-ch .tlx-tb__l{flex:1 1 auto}
.tlx-ch .tlx-tb__r{flex:0 1 auto}
.tlx-ch .tlx-tb__i{display:inline-flex;align-items:center;gap:6px;min-height:24px;color:#FFFFFF;white-space:nowrap;max-width:100%}
.tlx-ch .tlx-tb a.tlx-tb__i:hover,.tlx-ch .tlx-tb a.tlx-tb__i:focus-visible{color:#FFFFFF;opacity:.9}
.tlx-ch .tlx-ch-top svg{width:14px;height:14px;flex:none;display:block;overflow:visible}
.tlx-ch .tlx-ch-top path{fill:currentColor}
.tlx-ch .tlx-tb__sep{width:1px;height:12px;background:#FFFFFF;opacity:.45;flex:none}
.tlx-ch .tlx-es{font-weight:700}
@media (max-width:899.98px){
  .tlx-ch .tlx-tb__r{display:none}
  .tlx-ch .tlx-tb__l .tlx-tb__i{overflow:hidden;text-overflow:ellipsis}
}

/* Never show Veteran-owned in the black bar, or anywhere except the homepage red top bar. */
.tlx-ch .tlx-ch-bar .tlx-vbadge,
.tlx-ch .tlx-ch-bar #tlx-vbadge,
.tlx-ch .tlx-ch-bar #tlx-home-vbadge,
.tlx-ch .tlx-ch-vb{display:none !important}
.tlx-ch .tlx-ch-top .tlx-vslot:empty{display:none}
.tlx-ch .tlx-ch-top .tlx-vbadge,
.tlx-ch .tlx-ch-top #tlx-home-vbadge{
  display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 10px;margin-right:8px;
  border:1px solid #FFFFFF;border-radius:999px;font-weight:700;font-size:11px;letter-spacing:.04em;
  text-transform:uppercase;color:#FFFFFF;white-space:nowrap;flex:none;line-height:1
}
.tlx-ch .tlx-ch-top .tlx-vbadge svg,
.tlx-ch .tlx-ch-top #tlx-home-vbadge svg{width:12px;height:12px;flex:none;display:block}
.tlx-ch .tlx-ch-top .tlx-vbadge path,
.tlx-ch .tlx-ch-top #tlx-home-vbadge path{fill:#FFFFFF}
