@media (max-width: 760px) {
.brand-logo { height: 74px; width: 190px; }
  .creator-page { padding: 52px 0 80px; }
  .creator-page-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .creator-page-heading h2 { font-size: 36px; }
  .creator-page-heading .button { width: 100%; }
  .creator-grid { grid-template-columns: 1fr; }
  .creator-card { min-height: 270px; }
  .creator-note { align-items: flex-start; flex-direction: column; gap: 11px; }
}

.maintenance-page { border-top: 1px solid var(--line); padding: 74px 0 110px; }
.maintenance-page-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 35px; }
.maintenance-page-heading h2 { font-family: Oswald, sans-serif; font-size: 46px; letter-spacing: -.045em; line-height: .9; margin-bottom: 16px; text-transform: uppercase; }
.maintenance-page-heading p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 0; max-width: 560px; }
.maintenance-heading-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 13px; }
.maintenance-profile-chip { background: #e8eee6; border-left: 3px solid var(--orange); color: var(--green); font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: .065em; line-height: 1.35; max-width: 260px; padding: 11px 13px; text-align: right; text-transform: uppercase; }
.maintenance-search { align-items: center; background: #fff; border: 3px solid #ff2020; box-shadow: 0 0 0 1px rgba(255,32,32,.95), 0 0 8px rgba(255,32,32,.75), 0 0 18px rgba(255,32,32,.4); display: flex; gap: 10px; min-height: 48px; padding: 0 13px; width: min(360px, 100%); }
.maintenance-search:focus-within { box-shadow: 0 0 0 1px rgba(255,32,32,1), 0 0 10px rgba(255,32,32,.9), 0 0 22px rgba(255,32,32,.55); }
.maintenance-search-icon { fill: none; flex: 0 0 23px; height: 23px; stroke: #ff2020; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.maintenance-search input { background: transparent; border: 0; color: #111516; font: inherit; font-size: 13px; min-width: 0; outline: 0; width: 100%; }
.maintenance-search input::placeholder { color: #111516; opacity: 1; }
.maintenance-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.maintenance-card { background: var(--green); border: 1px solid var(--green-2); color: white; display: flex; flex-direction: column; min-height: 380px; padding: 23px; }
.maintenance-summary { cursor: pointer; list-style: none; position: relative; }
.maintenance-summary::-webkit-details-marker { display: none; }
.maintenance-summary::marker { content: ""; }
.maintenance-toggle { color: var(--orange); font-family: DM Sans, sans-serif; font-size: 72px; line-height: 1; position: absolute; right: 0; top: 2px; transition: transform .2s ease; }
.maintenance-card[open] .maintenance-toggle { transform: rotate(45deg); }
.maintenance-card-body { display: flex; flex: 1; flex-direction: column; }
.maintenance-featured { background: var(--green); color: white; }
.maintenance-number { color: var(--orange); font-family: Oswald, sans-serif; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.maintenance-featured .maintenance-number { color: #f3b16a; }
.maintenance-category { color: var(--orange); display: block; font-family: Oswald, sans-serif; font-size: 10px; letter-spacing: .11em; margin-top: 29px; text-transform: uppercase; }
.maintenance-featured .maintenance-category { color: #f3b16a; }
.maintenance-card h3 { font-family: Oswald, sans-serif; font-size: 30px; letter-spacing: -.035em; line-height: .95; margin: 11px 0 12px; text-transform: uppercase; }
.maintenance-card .maintenance-subject { font-size: 40px; letter-spacing: -.045em; margin: 28px 0 14px; }
.maintenance-card p { color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 300px; }
.maintenance-featured p { color: #c1cec5; }
.maintenance-links { border-top: 1px solid var(--line); display: grid; gap: 0; margin-top: auto; padding-top: 9px; }
.maintenance-featured .maintenance-links { border-color: #456255; }
.maintenance-links a { align-items: center; color: var(--green); display: flex; font-size: 10px; font-weight: 700; justify-content: space-between; letter-spacing: .055em; padding: 9px 0; text-transform: uppercase; }
.maintenance-featured .maintenance-links a { color: white; }
.maintenance-links a span { color: var(--orange); font-size: 17px; font-weight: 400; }
.maintenance-tools { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 14px; }
.maintenance-featured .maintenance-tools { border-color: #456255; }
.tool-list { margin-bottom: 12px; }
.tool-list-label, .tool-vendor-label { color: var(--orange); display: block; font-family: Oswald, sans-serif; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.tool-list ul { display: grid; gap: 5px; list-style: none; margin: 7px 0 0; padding: 0; }
.tool-list li { color: var(--green); font-size: 11px; line-height: 1.3; padding-left: 12px; position: relative; }
.tool-list li::before { color: var(--orange); content: "+"; font-family: Oswald, sans-serif; left: 0; position: absolute; top: 0; }
.maintenance-featured .tool-list li { color: #dbe4dd; }
.maintenance-card .tool-list li { color: #dbe4dd; }
.tool-vendor { background: #eef2ee; border-left: 3px solid var(--orange); margin-top: 14px; padding: 11px 12px; }
.tool-vendor strong { color: var(--green); display: block; font-family: Oswald, sans-serif; font-size: 17px; line-height: 1; margin-top: 5px; text-transform: uppercase; }
.tool-vendor small { color: #718078; display: block; font-size: 9px; letter-spacing: .07em; margin-top: 4px; text-transform: uppercase; }
.tool-vendor p { color: var(--muted); font-size: 10px; line-height: 1.4; margin: 7px 0 8px; }
.tool-vendor a { color: var(--green); display: flex; font-size: 10px; font-weight: 700; justify-content: space-between; letter-spacing: .06em; text-transform: uppercase; }
.tool-vendor a span { color: var(--orange); font-size: 16px; font-weight: 400; }
.maintenance-featured .tool-vendor { background: #2c4538; border-color: #f3b16a; }
.maintenance-featured .tool-vendor strong, .maintenance-featured .tool-vendor a { color: white; }
.maintenance-featured .tool-vendor small { color: #b8c8bd; }
.maintenance-featured .tool-vendor p { color: #c1cec5; }
.maintenance-note { align-items: center; background: #e8eee6; display: flex; gap: 30px; justify-content: space-between; margin-top: 14px; padding: 21px 25px; }
.maintenance-note strong { font-family: Oswald, sans-serif; font-size: 17px; text-transform: uppercase; }
.maintenance-note span { color: var(--muted); font-size: 12px; line-height: 1.45; max-width: 560px; }

.nav-indicator { display: block; height: 16px; opacity: .62; position: relative; width: 28px; }
.main-nav a.active .nav-indicator, .main-nav a:hover .nav-indicator { filter: drop-shadow(0 0 4px currentColor); opacity: 1; }
.indicator-engine { color: #ff2020; }
.indicator-engine::before { border: 2px solid currentColor; border-radius: 3px; content: ""; height: 10px; left: 3px; position: absolute; top: 3px; width: 21px; }
.indicator-engine::after { background: currentColor; box-shadow: -5px 3px 0 -1px currentColor, 13px -3px 0 -1px currentColor; content: ""; height: 4px; left: 9px; position: absolute; top: 6px; width: 9px; }
.indicator-oil { color: #ff2020; }
.indicator-oil::before { border: 2px solid currentColor; border-radius: 2px; content: ""; height: 8px; left: 3px; position: absolute; top: 5px; width: 17px; }
.indicator-oil::after { background: currentColor; border-radius: 1px 5px 5px 1px; content: ""; height: 3px; left: 18px; position: absolute; top: 3px; width: 8px; }
.indicator-book { color: var(--blue); }
.indicator-book::before { border: 2px solid currentColor; border-radius: 3px 1px 1px 3px; content: ""; height: 11px; left: 2px; position: absolute; top: 2px; transform: skewY(-8deg); width: 10px; }
.indicator-book::after { border: 2px solid currentColor; border-left: 1px solid currentColor; border-radius: 1px 3px 3px 1px; content: ""; height: 11px; left: 14px; position: absolute; top: 2px; transform: skewY(8deg); width: 10px; }
.indicator-community { color: #54705a; }
.indicator-community::before { background: currentColor; border-radius: 50%; box-shadow: 10px 1px 0 -1px currentColor; content: ""; height: 7px; left: 6px; position: absolute; top: 2px; width: 7px; }
.indicator-community::after { border: 2px solid currentColor; border-radius: 8px 8px 3px 3px; content: ""; height: 6px; left: 3px; position: absolute; top: 9px; width: 20px; }
.indicator-vendor { color: var(--yellow); }
.indicator-vendor::before { border: 2px solid currentColor; border-top: 5px solid currentColor; content: ""; height: 8px; left: 3px; position: absolute; top: 4px; width: 21px; }
.indicator-vendor::after { border-left: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; height: 5px; left: 11px; position: absolute; top: 9px; width: 3px; }
.indicator-creator { color: #ba4332; }
.indicator-creator::before { border: 2px solid currentColor; border-radius: 50%; content: ""; height: 14px; left: 6px; position: absolute; top: 0; width: 14px; }
.indicator-creator::after { border-bottom: 4px solid transparent; border-left: 6px solid currentColor; border-top: 4px solid transparent; content: ""; left: 12px; position: absolute; top: 3px; }

/* Give the header the feel of an instrument panel instead of a compressed text bar. */
.topbar { background: #272c2f; border-bottom: 1px solid #485055; margin: 0 -46px; padding: 0 46px; }
.main-nav a { color: #c3c9cc; }
.main-nav a.active, .main-nav a:hover { color: #f3f5f6; }
.main-nav a.active::after { background: var(--orange); bottom: 0; box-shadow: 0 0 9px rgba(237, 109, 57, .75); height: 2px; }
.nav-label { background: linear-gradient(180deg, #ffffff 0%, #d8dde0 46%, #9ca5aa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; text-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-indicator { align-items: center; display: flex; height: 24px; justify-content: center; opacity: .82; width: 38px; }
.nav-indicator svg { display: block; height: 25px; overflow: visible; width: 40px; }
.nav-indicator::before, .nav-indicator::after { content: none !important; display: none !important; }
.main-nav a.active .nav-indicator, .main-nav a:hover .nav-indicator { filter: drop-shadow(0 0 5px currentColor); opacity: 1; }
.topbar .profile-copy small { color: #aeb7ba; }
.topbar .profile-copy strong { color: #eef1f2; }
.topbar .profile-avatar { background: var(--orange); }
.topbar .chevron { border-color: #5b6468; color: #f3b16a; }

.vendor-image-wrap, .creator-image-wrap { align-items: center; border: 1px solid rgba(23, 53, 45, .18); display: flex; justify-content: center; overflow: hidden; }
.vendor-image-wrap { height: 78px; margin-bottom: 25px; width: 145px; }
.creator-image-wrap { height: 84px; margin-bottom: 29px; width: 154px; }
.vendor-image-wrap img, .creator-image-wrap img { display: block; height: 100%; object-fit: contain; width: 100%; }
.vendor-image-light, .creator-image-light { background: #f5f4ef; }
.vendor-image-dark { background: #172126; }
.vendor-image-dark img { padding: 12px; }
.jc-customs-image img { padding: 6px 10px; }
.dieselsite-image img { padding: 9px; }
.custom-offsets-image img { padding: 12px; }
.complete-performance-image img { padding: 10px; }
.carrick-customs-image { background: #12171b; }
.carrick-customs-image img { padding: 10px 12px; }
.chinook-image img { padding: 7px; }
.lmc-truck-image img { padding: 10px 14px; }
.rockauto-image img { padding: 9px 5px; }
.blowing-diesel-image img { padding: 8px; }
.obs-garage-image img { padding: 7px; }
.obslife03-image img { padding: 0; }
.broncos-parts-garage-image img { padding: 0; }
.creator-image-wrap img { padding: 8px; }
.sponsor-logo-image { align-items: center; background: #fff; display: flex; justify-content: center; overflow: hidden; }
.sponsor-logo-image img { height: 58px; object-fit: contain; width: 92px; }
.sponsor-logo-riff-image { border-radius: 0; height: 64px; margin: 26px 0 15px; width: 190px; }
.sponsor-logo-riff-image img { height: 100%; padding: 4px; width: 100%; }
.riffraff-image img { padding: 8px; }
.sponsor-logo-riff { background: #23282a; border: 1px solid rgba(255,255,255,.5); color: white; flex-direction: column; gap: 2px; }
.sponsor-logo-riff strong { font-family: Oswald, sans-serif; font-size: 19px; line-height: .9; }
.sponsor-logo-riff small { font-size: 5px; font-weight: 700; letter-spacing: .12em; }

/* Compact red driver-side OBS profile for the garage control. */
.garage-profile-button {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-width: 190px;
  width: 190px;
}

/* Account access stays separate from the local Garage button. */
.account-button {
  align-items: center;
  background: #080b0c;
  border: 1px solid #35d879;
  box-shadow: inset 0 0 0 1px rgba(53,216,121,.16), 0 0 8px rgba(53,216,121,.26);
  color: #52ff78;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Orbitron", "Saira Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: .1em;
  padding: 6px 10px;
  text-shadow: 0 0 3px rgba(82,255,120,.85), 0 0 7px rgba(53,216,121,.42);
  text-transform: uppercase;
}
.account-button:hover {
  background: #111819;
  box-shadow: inset 0 0 0 1px rgba(99,243,155,.22), 0 0 12px rgba(53,216,121,.48);
  color: #b7ffc6;
  text-shadow: 0 0 4px rgba(183,255,198,.95), 0 0 10px rgba(53,216,121,.58);
}
.account-menu-button { display: none; }
.account-backdrop { z-index: 30; }
.account-modal { max-width: 430px; }
.account-modal h2,
.account-modal .modal-copy,
.account-modal .account-form label,
.account-modal .account-note,
.account-modal .account-status,
.account-modal .account-session p { color: #111516; }
.account-form { display: grid; gap: 8px; margin-top: 22px; }
.account-form .account-marketing-consent { align-items: flex-start; color: #52ff78; display: flex; font-family: inherit; font-size: 10px; font-weight: 600; gap: 8px; letter-spacing: 0; line-height: 1.45; margin: 6px 0 2px; text-transform: none; }
.account-session .account-marketing-consent { align-items: flex-start; color: #52ff78; display: flex; font-family: inherit; font-size: 10px; font-weight: 600; gap: 8px; letter-spacing: 0; line-height: 1.45; margin: 10px 0 2px; }
.account-marketing-consent input { accent-color: #35d879; flex: 0 0 auto; height: 10px; margin: 2px 0 0; width: 10px; }
.account-marketing-consent span { display: block; }
.account-preference-save { margin-top: 10px; width: 100%; }
.account-preference-status { color: #52ff78; font-size: 10px; line-height: 1.4; margin: 8px 0 0; min-height: 14px; }
.account-form label { color: var(--green); font-family: Oswald, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-form input { background: white; border: 1px solid var(--line); color: var(--ink); font: inherit; min-height: 44px; padding: 10px 12px; width: 100%; }
.account-form .account-marketing-consent input { background: #101718; border: 1px solid #35d879; height: 10px; min-height: 10px; padding: 0; width: 10px; }
.account-form input:focus { border-color: var(--blue); outline: 2px solid rgba(30,107,255,.2); outline-offset: 1px; }
.account-form .button { margin-top: 8px; width: 100%; }
.account-status { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 14px 0 0; min-height: 16px; }
.account-status[data-state="error"] { color: #b12226; }
.account-status[data-state="success"] { color: var(--green); }
.account-session { background: #e8eee6; border: 1px solid var(--line); margin-top: 20px; padding: 14px; }
.account-session p { color: var(--ink); font-size: 12px; margin: 0 0 12px; overflow-wrap: anywhere; }
.account-signout { background: transparent; border: 1px solid var(--green); color: var(--green); padding: 9px 12px; }
.account-note { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 18px 0 0; }

@media (max-width: 760px) {
  .topbar > #accountButton { display: none; }
  .account-button { font-size: 10px; gap: 0; }
  .main-nav .account-menu-button {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin: 0 0 8px;
    padding: 11px 0;
    width: 100%;
  }
}
.garage-profile-truck {
  display: block;
  height: 70px;
  position: relative;
  width: 178px;
}
.garage-profile-truck::before {
  background: linear-gradient(180deg, #ef4539 0%, #c52622 44%, #8f1717 100%);
  border: 2px solid #631313;
  border-radius: 5px 2px 4px 5px;
  bottom: 22px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.22), 0 4px 6px rgba(0,0,0,.42);
  content: "";
  height: 26px;
  left: 12px;
  position: absolute;
  transform: skewX(-2deg);
  width: 147px;
  z-index: 1;
}
.garage-profile-cab {
  background: linear-gradient(180deg, #ea4034 0%, #bd211e 60%, #8b1616 100%);
  border: 2px solid #631313;
  border-bottom: 0;
  border-radius: 15px 8px 2px 2px;
  bottom: 34px;
  height: 35px;
  left: 27px;
  position: absolute;
  width: 67px;
  z-index: 3;
}
.garage-profile-window {
  background: linear-gradient(145deg, #8299a2 0%, #18343d 49%, #0c1a22 100%);
  border: 2px solid #5d0f12;
  border-radius: 8px 5px 2px 2px;
  height: 20px;
  left: 7px;
  position: absolute;
  top: 5px;
  transform: skewX(-7deg);
  width: 51px;
}
.garage-profile-window::after {
  border-left: 2px solid rgba(221,235,235,.65);
  content: "";
  height: 18px;
  left: 25px;
  position: absolute;
  top: 0;
}
.garage-profile-door {
  border: 1px solid rgba(91,11,14,.75);
  border-bottom: 0;
  bottom: -25px;
  height: 27px;
  left: 7px;
  position: absolute;
  width: 53px;
}
.garage-profile-door::after {
  border: 1px solid rgba(255,220,197,.72);
  border-radius: 2px;
  content: "";
  height: 2px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 8px;
}
.garage-profile-badge {
  background: linear-gradient(180deg, #eee6d5, #a89d8a);
  border: 1px solid #564c42;
  bottom: -18px;
  color: #2b2d2d;
  font-family: Oswald, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1;
  padding: 2px 4px 1px;
  position: absolute;
  right: -3px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 5;
}
.garage-profile-mirror {
  background: #d9d8d0;
  border: 1px solid #4b4f4d;
  border-radius: 3px;
  height: 7px;
  position: absolute;
  right: -7px;
  top: 12px;
  width: 6px;
}
.garage-profile-hood {
  background: linear-gradient(180deg, #ee4b3d, #a91b1a);
  border: 2px solid #631313;
  border-bottom: 0;
  border-radius: 2px 8px 0 0;
  bottom: 35px;
  height: 15px;
  left: 90px;
  position: absolute;
  width: 57px;
  z-index: 2;
}
.garage-profile-grille {
  background: repeating-linear-gradient(0deg, #aeb3b0 0 2px, #454b4d 2px 4px);
  border: 2px solid #303638;
  border-radius: 1px;
  bottom: 28px;
  height: 18px;
  position: absolute;
  right: 9px;
  width: 20px;
  z-index: 4;
}
.garage-profile-grille::before {
  background: #f5c449;
  border: 1px solid #8b5310;
  content: "";
  height: 7px;
  left: -7px;
  position: absolute;
  top: 3px;
  width: 4px;
}
.garage-profile-bumper {
  background: linear-gradient(180deg, #d9ddda, #6f7878);
  border: 1px solid #434849;
  border-radius: 2px;
  bottom: 21px;
  height: 7px;
  right: 2px;
  position: absolute;
  width: 34px;
  z-index: 5;
}
.garage-profile-wheel {
  align-items: center;
  background: radial-gradient(circle, #363c3d 0 19%, #111516 20% 54%, #353a3a 55% 62%, #0b0d0e 63%);
  border: 2px solid #090a0a;
  border-radius: 50%;
  bottom: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.65), inset 0 0 0 2px #6e716c;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  width: 42px;
  z-index: 6;
}
.garage-profile-wheel::before {
  border: 1px dashed #8b8b83;
  border-radius: 50%;
  content: "";
  inset: 5px;
  position: absolute;
}
.garage-profile-wheel img {
  border: 2px solid #d0c7b5;
  border-radius: 50%;
  height: 22px;
  object-fit: cover;
  position: relative;
  width: 22px;
  z-index: 2;
}
.garage-profile-front-wheel { right: 19px; }
.garage-profile-truck::after {
  background: #111516;
  bottom: 20px;
  box-shadow: 12px 0 0 #111516, 24px 0 0 #111516;
  content: "";
  height: 3px;
  left: 8px;
  position: absolute;
  width: 28px;
  z-index: 7;
}
.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .topbar { height: 112px; }
  .topbar { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .brand { min-width: 240px; }
  .brand-logo { height: auto; width: 240px; }
  .profile-button { min-width: 160px; }
  .garage-profile-button { min-width: 178px; width: 178px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .maintenance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar { height: 108px; }
  .brand-logo { height: auto; width: 145px; }
  .topbar { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .main-nav { background: #272c2f; border-color: #485055; top: 100px; }
  .main-nav a { align-items: center; }
  .garage-profile-button { min-width: 150px; width: 150px; }
  .garage-profile-truck { transform: scale(.84); transform-origin: right center; }
  .maintenance-page { padding: 52px 0 80px; }
  .maintenance-page-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .maintenance-page-heading h2 { font-size: 36px; }
  .maintenance-heading-actions { align-items: flex-start; width: 100%; }
  .maintenance-profile-chip { max-width: none; text-align: left; width: 100%; }
  .maintenance-heading-actions .button { width: 100%; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .maintenance-card { min-height: 0; padding: 0; }
  .maintenance-summary { padding: 17px 20px; }
  .maintenance-summary .maintenance-number { font-size: 22px; }
  .maintenance-card .maintenance-subject { font-size: 30px; margin: 7px 32px 0 0; }
  .maintenance-card-body { padding: 0 20px 20px; }
  .maintenance-card .maintenance-subject { font-size: 34px; }
  .maintenance-note { align-items: flex-start; flex-direction: column; gap: 11px; }
}

@media (max-width: 420px) {
  .garage-profile-button { min-width: 124px; width: 124px; }
  .garage-profile-truck { transform: scale(.7); transform-origin: right center; }
}

/* Blue oval badge for the saved truck profile. */
.garage-profile-button {
  align-items: center;
  min-width: 166px;
  width: 166px;
}
.garage-badge-wrap {
  display: block;
  height: 68px;
  position: relative;
  width: 156px;
}
.garage-badge-script {
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f6 38%, #cbd0d3 68%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f1f3f4;
  font-family: "Satisfy", cursive;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  left: 0;
  line-height: 1;
  position: absolute;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 2px 2px rgba(0,0,0,.62);
  top: -7px;
  transform: rotate(-4deg);
  white-space: nowrap;
  z-index: 3;
}
.garage-badge {
  align-items: center;
  background: linear-gradient(180deg, #1671c9 0%, #0750a0 48%, #033673 100%);
  border: 4px solid #c8cbd0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #6e747a, inset 0 2px 3px rgba(255,255,255,.48), inset 0 -3px 5px rgba(0,0,0,.45), 0 3px 7px rgba(0,0,0,.42);
  display: flex;
  height: 48px;
  justify-content: center;
  left: 8px;
  overflow: hidden;
  position: absolute;
  top: 18px;
  transform: rotate(-2deg);
  width: 148px;
}
.garage-badge::before {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  content: "";
  inset: 4px;
  position: absolute;
}
.garage-badge-highlight {
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.24), transparent);
  height: 140%;
  left: 27%;
  position: absolute;
  top: -20%;
  transform: rotate(20deg);
  width: 22px;
}
.garage-badge strong {
  background: linear-gradient(180deg, #ffffff 0%, #dce0e2 45%, #8d969b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.8));
  font-family: Oswald, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}
.garage-profile-button:hover .garage-badge {
  box-shadow: 0 0 0 2px #eef1f3, inset 0 2px 3px rgba(255,255,255,.58), inset 0 -3px 5px rgba(0,0,0,.45), 0 0 12px rgba(72,156,255,.5);
}

@media (max-width: 760px) {
  .garage-profile-button { min-width: 142px; width: 142px; }
  .garage-badge-wrap { transform: scale(.88); transform-origin: right center; }
}

@media (max-width: 420px) {
  .garage-profile-button { min-width: 118px; width: 118px; }
  .garage-badge-wrap { transform: scale(.72); transform-origin: right center; }
}

@media (max-width: 760px) {
  .garage-profile-button {
    margin-left: -14px;
    position: relative;
    transform: translateX(-58px);
  }
  .mobile-menu-button {
    background: linear-gradient(180deg, #ffffff 0%, #d7dde0 48%, #8f999e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 16px;
    position: relative;
    transform: translateX(-72px);
    text-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 4px rgba(0,0,0,.5);
  }
  .mobile-menu-button span { display: none; }
  .topbar.mobile-menu-open .mobile-menu-button {
    filter: drop-shadow(0 0 4px rgba(255,255,255,.85)) drop-shadow(0 0 10px rgba(237,109,57,.75));
  }
}

@media (max-width: 420px) {
  .garage-profile-button {
    margin-left: -24px;
    transform: translateX(-62px);
  }
  .mobile-menu-button {
    transform: translateX(-82px);
  }
}

/* Keep the mobile controls clear of the logo while preserving the banner layout. */
@media (max-width: 760px) {
  .garage-profile-button { transform: translateX(-16px); }
  .mobile-menu-button { transform: translateX(-30px); }
}

@media (max-width: 420px) {
  .garage-profile-button { transform: translateX(-20px); }
  .mobile-menu-button { transform: translateX(-40px); }
}

/* Keep the full mobile navigation above the page and scrollable when needed. */
@media (max-width: 760px) {
  .topbar { z-index: 20; }
  .topbar.mobile-menu-open { z-index: 50; }
  .topbar.mobile-menu-open .main-nav {
    bottom: auto;
    left: 0;
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 108px;
    z-index: 50;
  }
}

/* Let the open menu extend beyond short pages such as the Upgrades shell. */
@media (max-width: 760px) {
  body.mobile-menu-open .app-shell { overflow: visible; }
}

/* Maintenance actions stay side-by-side on desktop and stack Browse, then Close on mobile. */
.maintenance-action-row { display: flex; gap: 10px; }
.maintenance-action-row .button { min-width: 150px; }
.maintenance-close-all {
  background: #17352d;
  border: 1px solid #55f5a4;
  color: #f1f3f4;
}
.maintenance-close-all:hover { background: #237a4a; }
@media (max-width: 760px) {
  .maintenance-action-row { flex-direction: column; width: 100%; }
  .maintenance-action-row .button { width: 100%; }
  .maintenance-browse-howtos { order: -1; }
}

.flowchart-card { background: #e5e9e5; border: 1px solid #c6d0c7; margin-top: 34px; padding: 28px; }
.flowchart-head { align-items: flex-end; border-bottom: 1px solid #c6d0c7; display: flex; gap: 24px; justify-content: space-between; padding-bottom: 21px; }
.flowchart-head h2 { color: var(--green); font-family: Oswald, sans-serif; font-size: 38px; letter-spacing: -.04em; line-height: .95; margin: 8px 0 10px; text-transform: uppercase; }
.flowchart-head p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; max-width: 520px; }
.flowchart-meta { background: #d8dfd9; border-left: 3px solid var(--orange); color: var(--green); font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: .06em; line-height: 1.25; max-width: 220px; padding: 10px 12px; text-align: right; text-transform: uppercase; }
.flowchart-trail { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; min-height: 42px; padding: 11px 0 4px; }
.flowchart-trail-item { color: #87918a; font-family: Oswald, sans-serif; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.flowchart-trail-item.current { color: var(--orange); }
.flowchart-trail-arrow { color: #9ca59e; font-size: 13px; }
.flowchart-body { background: #f7f8f5; border: 1px solid #d5ddd6; margin-top: 8px; padding: 25px; }
.flowchart-node { max-width: 700px; }
.flowchart-step { color: var(--orange); display: block; font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.flowchart-node h3 { color: var(--green); font-family: Oswald, sans-serif; font-size: 31px; letter-spacing: -.035em; line-height: 1; margin: 9px 0 10px; text-transform: uppercase; }
.flowchart-node p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; max-width: 610px; }
.flowchart-choices { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.flowchart-choice { align-items: center; background: white; border: 1px solid #c7d0c8; color: var(--green); cursor: pointer; display: flex; font-family: Oswald, sans-serif; font-size: 15px; gap: 11px; letter-spacing: .025em; min-height: 55px; padding: 10px 13px; text-align: left; text-transform: uppercase; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.flowchart-choice:hover { border-color: var(--orange); box-shadow: 0 5px 13px rgba(23, 53, 45, .1); transform: translateY(-2px); }
.flowchart-choice-mark { align-items: center; background: var(--green); border-radius: 50%; color: white; display: inline-flex; flex: 0 0 25px; font-family: Oswald, sans-serif; font-size: 12px; height: 25px; justify-content: center; }
.flowchart-choice-no .flowchart-choice-mark { background: var(--orange); }
.flowchart-choice-arrow { color: var(--orange); font-size: 18px; margin-left: auto; }
.flowchart-checks { border-top: 1px solid #d5ddd6; display: grid; gap: 0; list-style: none; margin: 23px 0 0; padding: 3px 0 0; }
.flowchart-checks li { align-items: center; border-bottom: 1px solid #dfe5e0; color: var(--green); display: flex; font-size: 12px; gap: 13px; line-height: 1.4; padding: 11px 0; }
.flowchart-checks li span { color: var(--orange); font-family: Oswald, sans-serif; font-size: 12px; min-width: 21px; }
.flowchart-actions { border-top: 1px solid #d5ddd6; display: flex; gap: 9px; margin-top: 25px; padding-top: 18px; }
.flowchart-actions .outline-button { min-width: 102px; padding: 9px 13px; }
.flowchart-actions .outline-button:disabled { cursor: not-allowed; opacity: .4; }
.flowchart-disclaimer { color: #79847c; font-size: 10px; line-height: 1.5; margin: 17px 0 0; }
.flowchart-source-note { color: #667168; font-size: 10px; line-height: 1.5; margin: 8px 0 0; }
.flowchart-source-note a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.modal-select-grid { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 4px; }
.modal-select-grid label { color: var(--green); display: grid; font-family: Oswald, sans-serif; font-size: 10px; gap: 5px; letter-spacing: .08em; text-transform: uppercase; }
.modal-select-grid select { background: white; border: 1px solid var(--line); color: var(--green); font-family: DM Sans, sans-serif; font-size: 11px; letter-spacing: 0; min-height: 36px; padding: 8px 9px; text-transform: none; width: 100%; }
.modal-select-grid select:focus { border-color: var(--orange); outline: 2px solid rgba(237, 109, 57, .2); outline-offset: 1px; }
.modal-select-wide { grid-column: 1 / -1; }
.modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.garage-photo-editor { background: #d2dad3; border: 1px solid #b7c7bb; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 5px 12px rgba(0,0,0,.12); height: 190px; margin: 19px 0; overflow: hidden; position: relative; }
.garage-photo-preview { height: 100%; overflow: hidden; width: 100%; }
.garage-photo-preview img { display: block; height: 100%; object-fit: cover; width: 100%; }
.garage-photo-copy { inset: 0; min-width: 0; pointer-events: none; position: absolute; }
.garage-photo-actions { align-items: center; bottom: 12px; display: flex; justify-content: center; left: 0; pointer-events: auto; position: absolute; right: 0; }
.upload-button { align-items: center; background: #2f3335; border: 1px solid #687174; border-radius: 999px; box-shadow: 0 3px 8px rgba(23, 31, 33, .14); color: #eef1f2; cursor: pointer; display: inline-flex; font-family: Oswald, sans-serif; font-size: 9px; gap: 6px; letter-spacing: .07em; padding: 7px 10px; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.upload-button::before { color: #f3b16a; content: "+"; font-family: DM Sans, sans-serif; font-size: 15px; font-weight: 600; line-height: 10px; }
.upload-button:hover { background: #444b4e; border-color: #aab3b6; transform: translateY(-1px); }
.upload-button input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }

@media (max-width: 760px) {
  .flowchart-card { margin-top: 25px; padding: 20px; }
  .flowchart-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .flowchart-head h2 { font-size: 32px; }
  .flowchart-meta { max-width: none; text-align: left; }
  .flowchart-body { padding: 19px; }
  .flowchart-choices { grid-template-columns: 1fr; }
  .flowchart-node h3 { font-size: 27px; }
  .modal-select-grid { grid-template-columns: 1fr; }
  .modal-select-wide { grid-column: auto; }
  .garage-photo-editor { height: 190px; }
}

/* Reusable check-engine dashboard icon. */
.check-engine-icon { align-items: center; display: inline-flex; height: 52px; justify-content: center; width: 52px; }
.check-engine-icon svg { height: 100%; overflow: visible; width: 100%; }
.check-engine-icon path { fill: none; filter: drop-shadow(0 0 3px rgba(255, 176, 0, .95)) drop-shadow(0 0 8px rgba(255, 125, 0, .55)); stroke: #FFB000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 7; }
.check-engine-icon:hover path { filter: drop-shadow(0 0 4px rgba(255, 190, 40, 1)) drop-shadow(0 0 12px rgba(255, 125, 0, .75)); }

/* Reusable low-oil-pressure dashboard icon. */
.oil-pressure-icon { align-items: center; display: inline-flex; height: 56px; justify-content: center; width: 56px; }
.oil-pressure-icon svg { height: 100%; overflow: visible; width: 100%; }
.oil-pressure-icon .oil-can { fill: none; filter: drop-shadow(0 0 3px rgba(255, 26, 26, .95)) drop-shadow(0 0 8px rgba(255, 0, 0, .55)); stroke: #ff1a1a; stroke-linecap: round; stroke-linejoin: round; stroke-width: 8; }
.oil-pressure-icon .oil-drop { fill: #ff1a1a; filter: drop-shadow(0 0 3px rgba(255, 26, 26, .95)) drop-shadow(0 0 8px rgba(255, 0, 0, .55)); stroke: #ff1a1a; stroke-width: 2; }
.oil-pressure-icon:hover .oil-can, .oil-pressure-icon:hover .oil-drop { filter: drop-shadow(0 0 4px rgba(255, 60, 60, 1)) drop-shadow(0 0 12px rgba(255, 0, 0, .8)); }

/* Bring the community-facing dashboard indicators up to the engine/oil scale. */
.main-nav .indicator-community, .main-nav .indicator-vendor, .main-nav .indicator-creator { align-items: center; display: inline-flex; height: 56px; justify-content: center; width: 56px; }
.main-nav .indicator-community svg, .main-nav .indicator-vendor svg, .main-nav .indicator-creator svg { height: 100%; width: 100%; }
.main-nav .indicator-community { color: #55f5a4; filter: drop-shadow(0 0 3px rgba(85, 245, 164, .8)) drop-shadow(0 0 8px rgba(36, 210, 125, .45)); }
.main-nav .indicator-vendor { color: #ffd21a; filter: drop-shadow(0 0 3px rgba(255, 210, 26, .85)) drop-shadow(0 0 8px rgba(255, 159, 0, .5)); }
.main-nav .indicator-creator { color: #ff6555; filter: drop-shadow(0 0 3px rgba(255, 101, 85, .85)) drop-shadow(0 0 8px rgba(255, 45, 35, .5)); }
.main-nav a.active .indicator-community, .main-nav a:hover .indicator-community { filter: drop-shadow(0 0 4px rgba(115, 255, 185, 1)) drop-shadow(0 0 12px rgba(36, 210, 125, .8)); }
.main-nav a.active .indicator-vendor, .main-nav a:hover .indicator-vendor { filter: drop-shadow(0 0 4px rgba(255, 226, 74, 1)) drop-shadow(0 0 12px rgba(255, 159, 0, .8)); }
.main-nav a.active .indicator-creator, .main-nav a:hover .indicator-creator { filter: drop-shadow(0 0 4px rgba(255, 133, 117, 1)) drop-shadow(0 0 12px rgba(255, 45, 35, .8)); }

/* Reusable open-book repair manual icon. */
.book-icon { align-items: center; display: inline-flex; height: 56px; justify-content: center; width: 56px; }
.book-icon svg { height: 100%; overflow: visible; width: 100%; }
.book-icon .book-outline { fill: none; filter: drop-shadow(0 0 3px rgba(30, 107, 255, .95)) drop-shadow(0 0 8px rgba(30, 107, 255, .45)); stroke: #1E6BFF; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }
.book-icon:hover .book-outline { filter: drop-shadow(0 0 4px rgba(90, 150, 255, 1)) drop-shadow(0 0 12px rgba(30, 107, 255, .75)); }

/* Give the banner room to breathe after removing the profile plus control. */
.main-nav a { font-size: 15px; }
.profile-button { justify-content: flex-end; }
.profile-copy { text-align: right; }

@media (max-width: 1050px) {
  .main-nav a { font-size: 14px; }
}

/* Hazard-tape frame for the truck health record card. */
.side-column .profile-card {
  border: 8px solid transparent;
  border-image: repeating-linear-gradient(135deg, #f3c400 0 12px, #171717 12px 24px) 8;
}

.profile-card .side-card-top .eyebrow {
  color: #111516;
  font-size: 13px;
  font-weight: 800;
}

.profile-card .outline-button {
  color: #111516;
  font-size: 12px;
}

.creator-card p {
  color: #111516;
  font-size: 13px;
}

.creator-page { padding-top: 44px; }

/* Keep creator identity beside the descriptive content instead of above it. */
.creator-card {
  align-content: start;
  column-gap: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  border: 4px solid rgba(190, 76, 70, .82);
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(255, 145, 135, .12), 0 9px 24px rgba(156, 48, 43, .24), 0 18px 34px rgba(0, 0, 0, .16);
}
.creator-card .creator-category { font-size: 12px; grid-column: 1; grid-row: 1; }
.vendor-card .vendor-category { font-size: 12px; }
.creator-card[data-youtube-key="broncos-parts-garage"] .creator-actions a { font-size: 14px; }
.creator-card[data-youtube-key="broncos-parts-garage"] .creator-actions a span { font-size: 23px; }
.vendor-obs-solutions > a { font-size: 14px; }
.vendor-obs-solutions > a span { font-size: 23px; }
.vendor-grid > article > a,
.creator-grid .creator-actions a { font-size: 14px; }
.vendor-grid > article > a span,
.creator-grid .creator-actions a span { font-size: 23px; }
.creator-card h3 { grid-column: 1; grid-row: 2; }
.creator-card > p { grid-column: 1; grid-row: 3; }
.creator-card > p { margin-bottom: 0; }
.creator-card .creator-image-wrap {
  align-self: center;
  background: transparent;
  border: 0;
  grid-column: 2;
  grid-row: 3;
  height: 112px;
  justify-self: end;
  margin-bottom: 0;
  overflow: visible;
  width: 190px;
}
.creator-card .creator-image-wrap img { padding: 0; }
.creator-card .creator-image-wrap.obs-solutions-image,
.creator-card .creator-image-wrap.carrick-customs-image { background: #000; }
.vendor-obs-solutions .vendor-image-wrap { background: #000; }
.vendor-card .complete-performance-image { background: #fff; }
.creator-stats {
  color: #111516;
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}
.creator-card .creator-video-shelf { grid-column: 1 / -1; grid-row: 4; }
.creator-card .creator-actions { grid-column: 1 / -1; grid-row: 5; }

@media (max-width: 760px) {
  .creator-page { padding-top: 22px; }
  .creator-card { column-gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(104px, 126px); }
  .creator-card .creator-image-wrap { height: 80px; width: 126px; }
}

.creator-video-shelf {
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding-top: 13px;
}
.creator-video-shelf-label {
  color: var(--orange);
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.creator-video-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 9px;
}
.creator-video-link { color: inherit; display: block; min-width: 0; }
.creator-video-thumb { aspect-ratio: 16 / 9; background: #172126; border: 1px solid rgba(23, 53, 45, .2); display: block; object-fit: cover; width: 100%; }
.creator-video-title { color: #111516; display: -webkit-box; font-size: 10px; line-height: 1.2; margin-top: 5px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Give every route a shared dark carbon-fiber surface. */
body {
  background-color: #353a3d;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.09) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.06) 75%, transparent 75%),
    linear-gradient(45deg, rgba(0,0,0,.2) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.15) 75%, transparent 75%);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
  color: #eef1f2;
}

body > .app-shell > main > .page-view > *:not(.card):not(.side-card) {
  position: relative;
}

.section-heading h2,
.community-heading h2,
.resource-topline h2,
.maintenance-page-heading h2,
.vendor-page-heading h2,
.creator-page-heading h2 {
  color: #f1f3f4;
}

.maintenance-page-heading p:not(.eyebrow),
.vendor-page-heading p:not(.eyebrow),
.creator-page-heading p:not(.eyebrow),
.community-heading p:not(.eyebrow) {
  color: #d0d5d7;
}

/* Match the OBS Hub hero description typography. */
.maintenance-page-heading #maintenanceIntro,
.vendor-page-heading p:not(.eyebrow),
.creator-page-heading p:not(.eyebrow),
.community-heading p:not(.eyebrow) {
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 560px;
  text-shadow: 0 1px 0 rgba(255,255,255,.16), 0 2px 5px rgba(0,0,0,.24);
}

/* Keep every Maintenance card on the same dark-green surface. */
.maintenance-card:not(.maintenance-featured) {
  background: var(--green);
  box-shadow: none;
  color: white;
}
.vendor-card,
.creator-card:not(.creator-featured) {
  background: var(--card);
  box-shadow: none;
  color: #111516;
}
.vendor-grid .vendor-card,
.vendor-grid .sponsor-card {
  background: var(--green);
  color: #f2f5f0;
}
.vendor-grid .vendor-card h3,
.vendor-grid .sponsor-card h3 {
  color: #f2f5f0;
}
.vendor-grid .vendor-card p,
.vendor-grid .sponsor-card p {
  color: #c1cec5;
}
.vendor-grid .vendor-card a,
.vendor-grid .sponsor-card a {
  border-color: #456255;
  color: #ffffff;
}
.vendor-grid .vendor-card a span,
.vendor-grid .sponsor-card a span {
  color: var(--orange);
}
.creator-card.creator-featured {
  background: var(--card);
  color: #111516;
}
.creator-card.creator-featured .creator-category,
.creator-card.creator-featured .creator-actions a { color: #111516; }
.creator-card.creator-featured p { color: #111516; }
.creator-card.creator-featured .creator-actions { border-color: var(--line); }
.quick-check-card .eyebrow,
.quick-check-card h3,
.quick-check-card .check-list li,
.quick-check-card .check-list span { color: #111516; }
.maintenance-card:not(.maintenance-featured) p {
  color: #c1cec5;
}
.creator-card:not(.creator-featured) p {
  color: #111516;
}
.maintenance-card:not(.maintenance-featured) .maintenance-links a {
  color: white;
}
.creator-card:not(.creator-featured) .creator-actions a {
  color: #111516;
}

/* Separate issue cards from the carbon-fiber page surface. */
.symptom-card {
  background: linear-gradient(145deg, #424a4e 0%, #252b2e 58%, #1d2225 100%);
  border-color: #68747a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 5px 0 rgba(0,0,0,.2), 0 16px 28px rgba(0,0,0,.3);
}
.symptom-card:hover,
.symptom-card.selected {
  background: linear-gradient(145deg, #566168 0%, #2c373c 58%, #20282c 100%);
  border-color: #9aa8af;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 9px 0 rgba(0,0,0,.2), 0 20px 32px rgba(0,0,0,.38);
}

/* Align the issue search with the health-record card and improve readability. */
body[data-route="troubleshoot"] .troubleshoot-search-panel { margin: 5px 0 21px; }
body[data-route="troubleshoot"] .troubleshoot-search-box {
  border: 2px solid var(--orange);
  box-shadow: 0 8px 18px rgba(23,53,45,.14), 0 0 0 1px rgba(237,109,57,.16);
}
body[data-route="troubleshoot"] .troubleshoot-search-box > span {
  color: var(--orange);
  font-size: 32px;
  font-weight: 700;
}
body[data-route="troubleshoot"] .troubleshoot-search-box input {
  color: #111516;
  font-size: 15px;
}

/* Tighten the space above the Troubleshooting search panel. */
body[data-route="troubleshoot"] .workspace-grid { padding-top: 36px; }

@media (max-width: 760px) {
  body[data-route="troubleshoot"] .workspace-grid { padding-top: 18px; }
}

/* Use one consistent banner-to-content gap on every non-Troubleshooting route. */
body[data-route="library"] .workspace-grid,
body[data-route="maintenance"] .maintenance-page,
body[data-route="community"] .community-section,
body[data-route="vendors"] .vendor-page,
body[data-route="creators"] .creator-page {
  padding-top: 21px;
}
body[data-route="library"] .workspace-grid { padding-top: 21px; }

/* Give the Repair Library search the blue glow used by its tab icon. */
body[data-route="library"] .resource-section .search-box {
  border: 3px solid #1E6BFF;
  box-shadow: 0 0 0 1px rgba(30,107,255,.95), 0 0 8px rgba(30,107,255,.75), 0 0 18px rgba(30,107,255,.45);
}
body[data-route="library"] #resourceTitle em { color: #1E6BFF; }
body[data-route="library"] .resource-section .search-box > span {
  color: #1E6BFF;
  font-size: 30px;
  font-weight: 700;
}
body[data-route="library"] .resource-section .search-box input {
  color: #111516;
  font-size: 14px;
}
body[data-route="library"] .resource-section .search-box input::placeholder {
  color: #111516;
  opacity: 1;
}

/* Let the carbon-fiber page background meet the header without a light divider. */
.maintenance-page,
.community-section,
.vendor-page,
.creator-page {
  border-top: 0;
}

/* Make route labels read like the tabs they represent. */
.symptom-heading > div > .eyebrow,
.flowchart-head .eyebrow,
.resource-topline .eyebrow,
.maintenance-page-heading .eyebrow,
.community-heading .eyebrow,
.vendor-page-heading .eyebrow,
.creator-page-heading .eyebrow {
  color: var(--orange);
  font-size: 13px;
}
body[data-route="troubleshoot"] .symptom-heading h2 { color: #FFB000; }
.maintenance-page-heading h2 em { color: #FF1A1A; }

/* Keep the Community and Vendors page headings at the same scale. */
.community-heading h2 { font-size: 44px; }
.community-heading h2 em { color: #55f5a4; }
.vendor-page-heading h2 em { color: #ffd21a; }
.creator-page-heading h2 em { color: #ff6555; }

@media (max-width: 760px) {
  .community-heading h2 { font-size: 36px; }
}

/* Tie each page's card borders to its dashboard tab indicator. */
.maintenance-grid .maintenance-card {
  border: 4px solid #ff2020;
  box-shadow: 0 0 0 1px rgba(255,32,32,.18), 0 0 16px rgba(255,32,32,.34), 0 12px 24px rgba(0,0,0,.2);
}
.community-grid .post-card {
  border: 4px solid #55f5a4;
  box-shadow: 0 0 0 1px rgba(85,245,164,.18), 0 0 16px rgba(85,245,164,.32), 0 12px 24px rgba(0,0,0,.2);
}
.community-grid .post-card h3 { color: #111516; }
.profile-card #garageTitle,
.profile-card #garageSubtitle,
.profile-card .garage-stats strong,
.profile-card .garage-stats small { color: #111516; }
.profile-card .eyebrow { font-size: 12px; }
.vendor-grid .vendor-card,
.vendor-grid .sponsor-card {
  border: 4px solid #ffd21a;
  box-shadow: 0 0 0 1px rgba(255,210,26,.18), 0 0 16px rgba(255,210,26,.3), 0 12px 24px rgba(0,0,0,.2);
}
.vendor-grid .vendor-card {
  align-content: start;
  column-gap: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(120px, .8fr);
}
.vendor-grid .vendor-card .vendor-image-wrap {
  grid-column: 1;
  grid-row: 1;
  height: 156px;
  margin-bottom: 20px;
  width: 100%;
}
.vendor-grid .vendor-card .vendor-category {
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  margin-top: 12px;
}
.vendor-grid .vendor-card h3,
.vendor-grid .vendor-card p,
.vendor-grid .vendor-card > a {
  grid-column: 1 / -1;
}
.vendor-grid .vendor-card p {
  line-height: 1.35;
  max-width: none;
  width: 100%;
}
.vendor-grid .sponsor-logo-riff-image {
  height: 128px;
  max-width: 100%;
  width: 290px;
}

/* Give the featured OBS Solutions profile the same compact identity hierarchy as vendor cards. */
.creator-card[data-youtube-key="obs-solutions"] {
  background: #454b4f;
  color: #f2f5f0;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
}
.creator-card[data-youtube-key="obs-solutions"] .creator-image-wrap {
  align-self: start;
  background: #1d2529;
  border: 1px solid #687276;
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 190px;
  justify-self: start;
  width: 100%;
}
.creator-card[data-youtube-key="obs-solutions"] .creator-image-wrap img {
  padding: 8px;
}
.creator-card[data-youtube-key="obs-solutions"] .creator-category {
  align-self: start;
  color: #f3b16a;
  grid-column: 2;
  grid-row: 1;
}
.creator-card[data-youtube-key="obs-solutions"] h3 {
  color: #ffffff;
  font-size: 34px;
  grid-column: 2;
  grid-row: 2;
  margin-top: 12px;
}
.creator-card[data-youtube-key="obs-solutions"] .creator-featured-stats {
  color: #f2f5f0;
  grid-column: 2;
  grid-row: 3;
}
.creator-card[data-youtube-key="obs-solutions"] > p {
  color: #e0e6e1;
  grid-column: 1 / -1;
  grid-row: 4;
  max-width: none;
  width: 100%;
}
.creator-card[data-youtube-key="obs-solutions"] .creator-video-shelf { grid-row: 5; }
.creator-card[data-youtube-key="obs-solutions"] .creator-actions { grid-row: 6; }
@media (max-width: 760px) {
  .creator-card[data-youtube-key="obs-solutions"] {
    grid-template-columns: minmax(0, 1fr) minmax(118px, .8fr);
  }
  .creator-card[data-youtube-key="obs-solutions"] .creator-image-wrap {
    height: 150px;
  }
  .creator-card[data-youtube-key="obs-solutions"] h3 {
    font-size: 29px;
  }
}
@media (max-width: 420px) {
  .creator-card[data-youtube-key="obs-solutions"] .creator-image-wrap {
    height: 132px;
  }
  .creator-card[data-youtube-key="obs-solutions"] h3 {
    font-size: 26px;
  }
}

/* Digital green treatment for the account sign-in panel. */
.account-modal {
  background: #080b0c;
  border: 3px solid #35d879;
  box-shadow: 0 0 0 1px rgba(53,216,121,.2), 0 0 14px rgba(53,216,121,.55), 0 0 32px rgba(53,216,121,.28);
  color: #52ff78;
  font-family: "Orbitron", "Saira Condensed", sans-serif;
}
.account-modal h2,
.account-modal .modal-copy,
.account-modal .account-form label,
.account-modal .account-note,
.account-modal .account-status,
.account-modal .account-session p,
.account-modal .account-session strong,
.account-modal .account-marketing-consent,
.account-modal .account-preference-status {
  color: #52ff78;
  font-family: inherit;
}
.account-modal h2 {
  text-shadow: 0 0 4px rgba(82,255,120,.8), 0 0 10px rgba(53,216,121,.35);
}
.account-modal .modal-close {
  color: #52ff78;
  text-shadow: 0 0 4px rgba(82,255,120,.9), 0 0 10px rgba(53,216,121,.55);
}
.account-modal .account-form input {
  background: #101718;
  border-color: #35d879;
  color: #52ff78;
  font-family: inherit;
  text-shadow: 0 0 3px rgba(82,255,120,.55);
}
.account-modal .account-form input::placeholder {
  color: #52ff78;
  opacity: .72;
}
.account-modal .account-form input:focus {
  border-color: #7dffa0;
  outline-color: rgba(53,216,121,.45);
}
.account-modal .account-form .button,
.account-modal .account-signout {
  background: #101718;
  border-color: #35d879;
  color: #52ff78;
  font-family: inherit;
  text-shadow: 0 0 3px rgba(82,255,120,.7);
}
.account-modal .account-form .button:hover,
.account-modal .account-signout:hover {
  background: #172321;
  box-shadow: 0 0 10px rgba(53,216,121,.45);
  color: #b7ffc6;
}
.account-modal .account-session {
  background: #101718;
  border-color: #35d879;
}
.account-modal .account-status[data-state="error"] {
  color: #ff7c7c;
}
.creator-grid .creator-card {
  border: 4px solid #ff6555;
  box-shadow: 0 0 0 1px rgba(255,101,85,.18), 0 0 16px rgba(255,101,85,.3), 0 12px 24px rgba(0,0,0,.2);
}

/* Match Troubleshooting surfaces to the amber check-engine tab icon. */
body[data-route="troubleshoot"] .troubleshoot-search-box {
  border: 3px solid #FFB000;
  box-shadow: 0 0 0 1px rgba(255,176,0,.2), 0 0 14px rgba(255,176,0,.52), 0 8px 18px rgba(23,53,45,.14);
}
body[data-route="troubleshoot"] .symptom-card {
  border: 3px solid #FFB000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 14px rgba(255,176,0,.42), 0 8px 22px rgba(0,0,0,.26);
}
body[data-route="troubleshoot"] .symptom-card:hover,
body[data-route="troubleshoot"] .symptom-card.selected {
  border-color: #FFB000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 18px rgba(255,176,0,.68), 0 12px 28px rgba(0,0,0,.34);
}

/* Keep the troubleshooting cards compact after removing their icons. */
body[data-route="troubleshoot"] .symptom-card {
  min-height: 0;
  padding: 16px 52px 18px 19px;
}
body[data-route="troubleshoot"] .symptom-card strong {
  font-size: 22px;
  margin-top: 0;
}
body[data-route="troubleshoot"] .symptom-card small {
  font-size: 12px;
  margin-top: 6px;
}
/* Shared arrow template; route themes supply the dashboard color and glow. */
.site-arrow {
  align-items: center;
  color: var(--arrow-color, var(--orange));
  display: inline-flex;
  flex: 0 0 32px;
  height: 24px;
  justify-content: center;
  vertical-align: middle;
  width: 32px;
}
.site-arrow svg {
  display: block;
  height: 24px;
  overflow: visible;
  width: 32px;
}
.site-arrow path {
  fill: currentColor;
  filter: var(--arrow-glow, drop-shadow(0 0 3px rgba(237,109,57,.75)) drop-shadow(0 0 8px rgba(237,109,57,.4)));
}
.site-arrow:hover path,
a:hover .site-arrow path,
button:hover .site-arrow path,
.symptom-card.selected .site-arrow path {
  filter: var(--arrow-hover-glow, drop-shadow(0 0 4px rgba(255,255,255,.75)) drop-shadow(0 0 12px rgba(255,255,255,.35)));
}
body[data-route="troubleshoot"] .site-arrow,
body[data-route="troubleshoot-detail"] .site-arrow {
  --arrow-color: #FFB000;
  --arrow-glow: drop-shadow(0 0 3px rgba(255,176,0,.95)) drop-shadow(0 0 8px rgba(255,125,0,.55));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(255,190,40,1)) drop-shadow(0 0 12px rgba(255,125,0,.75));
}
body[data-route="maintenance"] .site-arrow {
  --arrow-color: #ff1a1a;
  --arrow-glow: drop-shadow(0 0 3px rgba(255,26,26,.95)) drop-shadow(0 0 8px rgba(255,0,0,.55));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(255,60,60,1)) drop-shadow(0 0 12px rgba(255,0,0,.8));
}
body[data-route="library"] .site-arrow {
  --arrow-color: #1E6BFF;
  --arrow-glow: drop-shadow(0 0 3px rgba(30,107,255,.95)) drop-shadow(0 0 8px rgba(30,107,255,.45));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(90,150,255,1)) drop-shadow(0 0 12px rgba(30,107,255,.75));
}
body[data-route="community"], body[data-route="upgrades"] {
  --arrow-color: #55f5a4;
  --arrow-glow: drop-shadow(0 0 3px rgba(85,245,164,.8)) drop-shadow(0 0 8px rgba(36,210,125,.45));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(115,255,185,1)) drop-shadow(0 0 12px rgba(36,210,125,.8));
}
body[data-route="community"] .site-arrow,
body[data-route="upgrades"] .site-arrow {
  color: var(--arrow-color);
}
body[data-route="vendors"] .site-arrow {
  --arrow-color: #ffd21a;
  --arrow-glow: drop-shadow(0 0 3px rgba(255,210,26,.85)) drop-shadow(0 0 8px rgba(255,159,0,.5));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(255,226,74,1)) drop-shadow(0 0 12px rgba(255,159,0,.8));
}
body[data-route="vendors"] .vendor-grid a .site-arrow {
  color: #ffd21a;
}
body[data-route="creators"] .site-arrow {
  --arrow-color: #ff6555;
  --arrow-glow: drop-shadow(0 0 3px rgba(255,101,85,.85)) drop-shadow(0 0 8px rgba(255,45,35,.5));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(255,133,117,1)) drop-shadow(0 0 12px rgba(255,45,35,.8));
}
body[data-route="troubleshoot"] .card-arrow {
  color: #FFB000;
  display: inline-flex;
  height: 24px;
  width: 32px;
}
body[data-route="troubleshoot"] .card-arrow svg {
  display: block;
  height: 24px;
  overflow: visible;
  width: 32px;
}
body[data-route="troubleshoot"] .card-arrow path {
  fill: currentColor;
  filter: drop-shadow(0 0 3px rgba(255,176,0,.95)) drop-shadow(0 0 8px rgba(255,125,0,.55));
}
body[data-route="troubleshoot"] .symptom-card:hover .card-arrow path,
body[data-route="troubleshoot"] .symptom-card.selected .card-arrow path {
  filter: drop-shadow(0 0 4px rgba(255,190,40,1)) drop-shadow(0 0 12px rgba(255,125,0,.75));
}
/* Let Maintenance search the wider YouTube catalog without limiting results to featured channels. */
.maintenance-video-browser {
  border-top: 1px solid rgba(255,255,255,.22);
  margin-top: 18px;
  padding-top: 15px;
}
.maintenance-video-load {
  align-items: center;
  background: transparent;
  color: #f3b16a;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: .04em;
  padding: 0;
  text-transform: uppercase;
}
.maintenance-video-load span { color: #ffb000; font-size: 17px; font-weight: 400; }
.maintenance-video-load:hover { color: white; }
.maintenance-video-load:disabled { cursor: wait; opacity: .65; }
.maintenance-video-note { color: #c1cec5; font-size: 10px; margin: 7px 0 0; }
.maintenance-video-results {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 13px;
}
.maintenance-video-result {
  align-items: center;
  background: #f1f2ee;
  border: 1px solid #d2d7d0;
  color: #111516;
  display: grid;
  gap: 9px;
  grid-template-columns: 92px minmax(0, 1fr);
  min-width: 0;
  padding: 6px;
  text-decoration: none;
}
.maintenance-video-result:hover { border-color: #e47a3b; box-shadow: 0 0 0 2px rgba(228,122,59,.14); }
.maintenance-video-result img { aspect-ratio: 16 / 9; display: block; object-fit: cover; width: 100%; }
.maintenance-video-result span { min-width: 0; }
.maintenance-video-result strong,
.maintenance-video-result small { display: block; }
.maintenance-video-result strong { font-size: 11px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.maintenance-video-result small { color: #68716f; font-size: 9px; line-height: 1.25; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.modal[hidden] { display: none; }
.garage-modal {
  background-color: #353a3d;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.09) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.06) 75%, transparent 75%),
    linear-gradient(45deg, rgba(0,0,0,.2) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.15) 75%, transparent 75%);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
}
.garage-modal-label { font-size: 14px; font-weight: 800; margin-bottom: 18px; }
.garage-modal .modal-select-grid label { color: #f1f3f4; font-size: 12px; font-weight: 800; }
.health-record-overview {
  align-items: center;
  background: #e8eee8;
  border: 1px solid var(--line);
  display: flex;
  gap: 15px;
  margin: 20px 0;
  padding: 12px;
}
.health-record-photo { background: #d2dad3; flex: 0 0 104px; height: 78px; overflow: hidden; }
.health-record-photo img { display: block; height: 100%; object-fit: cover; width: 100%; }
.health-record-overview strong { color: #111516; display: block; font-family: Oswald, sans-serif; font-size: 20px; text-transform: uppercase; }
.health-record-overview p { color: #111516; font-size: 11px; line-height: 1.4; margin: 4px 0 0; }
.health-record-stats { margin: 20px 0; }
.health-record-stats strong,
.health-record-stats small { color: #fff; }
.health-record-stats small { font-size: 11px; }
.health-record-copy { color: #f1f3f4; font-size: 12px; line-height: 1.45; margin: 0 0 18px; }
.health-modal {
  background-color: #353a3d;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.09) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.06) 75%, transparent 75%),
    linear-gradient(45deg, rgba(0,0,0,.2) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.15) 75%, transparent 75%);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
  border: 8px solid transparent;
  border-image: repeating-linear-gradient(135deg, #f3c400 0 12px, #171717 12px 24px) 8;
  color: #f1f3f4;
}
.health-modal-label { color: #f1f3f4; font-size: 15px; font-weight: 800; margin-bottom: 18px; }
.health-record-field { color: #f1f3f4; display: grid; font-family: Oswald, sans-serif; font-size: 11px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.health-record-field input { background: #f7f8f5; border: 1px solid #aeb9b2; color: #111516; font-family: DM Sans, sans-serif; font-size: 13px; letter-spacing: 0; min-height: 40px; padding: 9px 11px; text-transform: none; width: 100%; }
.health-record-field input:focus { border-color: var(--orange); outline: 2px solid rgba(237,109,57,.24); outline-offset: 1px; }
.health-vin-verify { color: #8fb7ff; display: flex; font-size: 11px; font-weight: 800; justify-content: space-between; margin-top: 9px; text-decoration: none; text-transform: uppercase; }
.health-vin-verify span { color: #f3c400; font-size: 17px; line-height: .7; }
.health-record-attachments { border-top: 1px solid rgba(241,243,244,.22); margin-top: 17px; padding-top: 15px; }
.health-record-field-label { color: #f1f3f4; display: block; font-family: Oswald, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.health-receipt-upload { margin-top: 9px; }
.health-receipt-list { color: #dbe1e3; display: grid; font-size: 11px; gap: 5px; line-height: 1.3; margin-top: 10px; overflow-wrap: anywhere; }
.health-receipt-list span { background: rgba(0,0,0,.24); border-left: 3px solid #f3c400; padding: 6px 8px; }
.health-modal .button { width: 100%; }
.health-edit-stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 17px; }
.health-edit-stat-grid label { color: #f1f3f4; display: grid; font-family: Oswald, sans-serif; font-size: 11px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.health-edit-stat-grid input { background: #f7f8f5; border: 1px solid #aeb9b2; color: #111516; font-family: DM Sans, sans-serif; font-size: 13px; min-height: 40px; padding: 9px 11px; width: 100%; }
.health-edit-stat-grid input:focus { border-color: var(--orange); outline: 2px solid rgba(237,109,57,.24); outline-offset: 1px; }
.health-receipt-row { align-items: center; background: rgba(0,0,0,.24); border-left: 3px solid #f3c400; display: flex; gap: 8px; justify-content: space-between; padding: 6px 8px; }
.health-receipt-row > span { min-width: 0; overflow-wrap: anywhere; }
.health-receipt-remove { background: transparent; color: #f3c400; flex: 0 0 auto; font-size: 10px; font-weight: 800; padding: 2px 0; text-transform: uppercase; }

@media (min-width: 761px) {
  .maintenance-card:not([open]) {
    min-height: 80px;
    padding: 0;
  }
  .maintenance-card:not([open]) .maintenance-summary {
    align-items: center;
    display: flex;
    min-height: 80px;
    padding: 15px 23px;
  }
  .maintenance-card:not([open]) .maintenance-number { font-size: 24px; }
  .maintenance-card:not([open]) .maintenance-subject {
    font-size: 26px;
    margin: 0 40px 0 14px;
  }
  .maintenance-card:not([open]) .maintenance-toggle { right: 23px; top: 2px; }
}

@media (max-width: 760px) {
  body[data-route="troubleshoot"] .symptom-card {
    padding: 15px 50px 16px 16px;
  }

  .maintenance-summary { align-items: center; display: flex; min-height: 80px; padding: 17px 92px 17px 20px; }
  .maintenance-toggle { font-size: 72px; right: 20px; top: 50%; transform: translateY(-50%); }
  .maintenance-card:not([open]) .maintenance-toggle { top: calc(50% - 10px); }
  .maintenance-card[open] .maintenance-toggle { transform: translateY(-50%) rotate(45deg); }
  .maintenance-video-results { grid-template-columns: 1fr; }
  .health-record-overview { align-items: flex-start; }
  .health-edit-stat-grid { grid-template-columns: 1fr; }
}

/* Style the My Garage dialog with the Repair Library blue dashboard treatment. */
.garage-modal {
  border: 4px solid #1E6BFF;
  box-shadow:
    0 0 0 1px rgba(30,107,255,.95),
    0 0 8px rgba(30,107,255,.75),
    0 0 18px rgba(30,107,255,.45),
    var(--shadow);
}
.garage-modal-label { font-size: 18px; }
.garage-modal .modal-close {
  color: #1E6BFF;
  font-size: 29px;
  text-shadow: 0 0 4px rgba(30,107,255,.95), 0 0 10px rgba(30,107,255,.6);
}
.garage-modal .modal-select-grid label { color: var(--orange); }
.garage-modal .modal-select-grid select { font-size: 15px; }
.garage-modal #modalTruckName,
.garage-modal #modalTruckSpecs { color: #111516; }
.health-oil-summary { background: rgba(237,240,233,.8); border-left: 3px solid var(--orange); color: #111516; font-size: 11px; line-height: 1.4; margin: 12px 0; padding: 9px 11px; }

/* Give each Troubleshoot symptom its own reusable detail view, separate from Repair Library. */
body[data-route="troubleshoot-detail"] .troubleshoot-detail-page { display: block; }
.troubleshoot-detail-page { padding: 21px 0 90px; }
.troubleshoot-detail-heading { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.detail-back-link { background: var(--orange); color: white; display: inline-block; font-size: 14px; font-weight: 800; margin-bottom: 30px; padding: 11px 16px; text-decoration: none; text-transform: uppercase; }
.troubleshoot-detail-heading > .eyebrow { font-size: 12px; }
.troubleshoot-detail-heading h2 { font-family: Oswald, sans-serif; font-size: 54px; letter-spacing: -.045em; line-height: .9; margin: 8px 0 14px; text-transform: uppercase; }
.troubleshoot-detail-heading > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 590px; }
.troubleshoot-detail-toolbar { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-top: 24px; }
.troubleshoot-detail-profile { color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.troubleshoot-detail-search { border: 3px solid var(--orange); box-shadow: 0 0 0 1px rgba(255,176,0,.95), 0 0 8px rgba(255,176,0,.75), 0 0 18px rgba(255,125,0,.45); flex: 0 1 390px; }
.troubleshoot-detail-search > span { font-size: 30px; }
.troubleshoot-detail-search input { color: #111516; font-size: 13px; }
.troubleshoot-detail-search input::placeholder { color: #111516; opacity: 1; }
.troubleshoot-detail-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 250px; padding-top: 28px; }
.troubleshoot-detail-sidebar { align-content: start; display: grid; gap: 16px; min-width: 0; }
.troubleshoot-detail-result-head { align-items: baseline; display: flex; justify-content: space-between; margin-bottom: 14px; }
.troubleshoot-detail-result-head h3 { font-family: Oswald, sans-serif; font-size: 25px; text-transform: uppercase; }
.troubleshoot-detail-result-head span { color: var(--muted); font-size: 11px; }
.troubleshoot-video-list { display: grid; gap: 12px; }
.troubleshoot-video-card { align-items: center; background: var(--card); border: 3px solid var(--orange); box-shadow: 0 0 0 1px rgba(255,176,0,.14), 0 8px 20px rgba(0,0,0,.12); display: grid; gap: 12px; grid-template-columns: 180px minmax(0, 1fr) auto; min-height: 136px; padding: 8px; }
.troubleshoot-video-card img { aspect-ratio: 16 / 9; background: #d2dfd3; display: block; object-fit: cover; width: 100%; }
.troubleshoot-video-channel { color: var(--orange); display: block; font-size: 14px; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.troubleshoot-video-card h3 { color: #111516; font-family: Oswald, sans-serif; font-size: 21px; line-height: 1; margin: 5px 0 7px; text-transform: uppercase; }
.troubleshoot-video-description { align-items: flex-start; display: flex; gap: 7px; min-width: 0; }
.troubleshoot-video-card p { color: #111516; display: -webkit-box; font-size: 11px; line-height: 1.35; margin: 0; max-width: 520px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.troubleshoot-video-description.is-expanded p { display: block; -webkit-line-clamp: unset; }
.troubleshoot-description-toggle { align-items: center; background: transparent; color: var(--orange); display: inline-flex; flex: 0 0 22px; height: 22px; justify-content: center; padding: 0; }
.troubleshoot-description-toggle span { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; display: block; height: 7px; transform: translateY(-2px) rotate(45deg); width: 7px; }
.troubleshoot-video-description.is-expanded .troubleshoot-description-toggle span { transform: translateY(2px) rotate(225deg); }
.troubleshoot-video-card small { color: #68716f; display: block; font-size: 10px; margin-top: 6px; }
.troubleshoot-show-more { justify-self: start; margin-top: 4px; }
.troubleshoot-video-link { color: var(--green); font-size: 11px; font-weight: 800; white-space: nowrap; text-transform: uppercase; }
.troubleshoot-detail-empty { background: var(--card); border: 1px dashed var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; padding: 28px; }
.troubleshoot-fallback-link { display: inline-flex; margin-top: 14px; }
.troubleshoot-category-panel { background: var(--card); border: 3px solid var(--orange); box-shadow: 0 0 0 1px rgba(255,176,0,.95), 0 0 8px rgba(255,176,0,.75), 0 0 18px rgba(255,125,0,.45); padding: 20px; }
.troubleshoot-ad-slot { align-items: center; background: rgba(23,53,45,.28); border: 1px dashed rgba(255,176,0,.6); color: rgba(255,255,255,.7); display: flex; font-size: 10px; justify-content: center; letter-spacing: .14em; min-height: 250px; padding: 18px; text-align: center; text-transform: uppercase; }
.troubleshoot-category-nav { display: grid; gap: 1px; margin-top: 12px; }
.troubleshoot-category-panel > .eyebrow { font-size: 14px; font-weight: 800; }
.troubleshoot-category-nav a { border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; padding: 11px 0; text-decoration: none; }
.troubleshoot-category-nav a.active { color: var(--orange); font-weight: 800; }

@media (max-width: 760px) {
  .troubleshoot-detail-page { padding-top: 18px; }
  .troubleshoot-detail-heading h2 { font-size: 40px; }
  .troubleshoot-detail-toolbar { align-items: stretch; flex-direction: column; }
  .troubleshoot-detail-search { flex-basis: auto; }
  .troubleshoot-detail-layout { grid-template-columns: 1fr; }
  .troubleshoot-ad-slot { min-height: 130px; }
  .troubleshoot-video-card { align-items: center; grid-template-columns: 100px minmax(0, 1fr); min-height: 112px; padding: 7px; }
  .troubleshoot-video-card h3 { font-size: 18px; }
  .troubleshoot-video-card p { font-size: 10px; }
  .troubleshoot-video-link { grid-column: 1 / -1; padding-top: 8px; }
}

/* Compact troubleshooting results: thumbnail first, title only, like a YouTube feed. */
.troubleshoot-video-card {
  align-items: initial;
  color: #111516;
  display: block;
  padding: 0;
  text-decoration: none;
}
.troubleshoot-video-card:hover { border-color: #ffca28; box-shadow: 0 0 0 1px rgba(255,202,40,.24), 0 8px 20px rgba(0,0,0,.15); }
.troubleshoot-video-card h3 { margin: 0; padding: 11px 12px 13px; }
.troubleshoot-video-card img { aspect-ratio: 16 / 9; width: 100%; }
.troubleshoot-detail-heading > p:not(.eyebrow),
.troubleshoot-detail-profile,
.troubleshoot-detail-result-head span { color: #c7ced1; }

@media (min-width: 761px) {
  body[data-route="troubleshoot-detail"] #troubleshootVideoList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body[data-route="troubleshoot-detail"] .troubleshoot-video-card { min-width: 0; }
  body[data-route="troubleshoot-detail"] .troubleshoot-video-card h3 {
    font-size: 18px;
    line-height: 1.08;
    padding: 9px 10px 11px;
  }
  body[data-route="troubleshoot-detail"] .troubleshoot-show-more { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  #troubleshootDetail { padding-top: 8px; }
  #troubleshootDetail .detail-back-link { margin-bottom: 16px; }
  #troubleshootDetail .troubleshoot-detail-heading h2 { margin: 4px 0 8px; }
  #troubleshootDetail .troubleshoot-detail-toolbar { margin-top: 12px; }
  #troubleshootDetail .troubleshoot-detail-layout {
    margin-left: -16px;
    margin-right: -16px;
    padding-top: 16px;
  }
  #troubleshootDetail .troubleshoot-detail-result-head {
    margin-bottom: 10px;
    padding: 0 16px;
  }
  #troubleshootDetail .troubleshoot-video-list { gap: 10px; }
}

/* Beta community shop finder. Public listings are intentionally separate from Google ratings. */
body:not([data-route="troubleshoot"]) .shop-finder-card { display: none; }
.shop-finder-card {
  background: #e5e9e5;
  border: 3px solid #3f9b68;
  box-shadow: 0 0 0 1px rgba(63,155,104,.24), 0 10px 24px rgba(0,0,0,.16);
  margin-top: 25px;
  padding: 25px;
}
.shop-finder-head { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.shop-finder-head h2 { color: #111516; font-family: Oswald, sans-serif; font-size: 34px; line-height: .95; margin: 8px 0 12px; text-transform: uppercase; }
.shop-finder-head p:not(.eyebrow) { color: #111516; font-size: 13px; line-height: 1.5; max-width: 560px; }
.shop-finder-badge { background: #2e5144; color: #fff; font-size: 10px; font-weight: 800; padding: 8px 10px; text-transform: uppercase; white-space: nowrap; }
.shop-search-form { align-items: end; display: grid; gap: 10px; grid-template-columns: 1fr 1fr auto; margin-top: 20px; }
.shop-search-form label, .shop-submit-form label { color: #111516; display: grid; font-size: 10px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.shop-search-form input, .shop-search-form select, .shop-submit-form input, .shop-submit-form select, .shop-submit-form textarea { background: #fff; border: 1px solid #aeb9b2; color: #111516; font: inherit; letter-spacing: 0; min-height: 40px; padding: 9px 10px; text-transform: none; width: 100%; }
.shop-search-form input:focus, .shop-search-form select:focus, .shop-submit-form input:focus, .shop-submit-form select:focus, .shop-submit-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(237,109,57,.22); outline-offset: 1px; }
.shop-finder-status { color: #111516; font-size: 12px; margin: 17px 0 0; }
.shop-results { display: grid; gap: 10px; margin-top: 12px; }
.shop-results-empty { background: rgba(255,255,255,.65); border: 1px dashed #b8c4bb; color: #39433f; font-size: 12px; line-height: 1.45; padding: 18px; }
.shop-result-card { background: #fff; border: 1px solid #b8c4bb; color: #111516; padding: 15px; }
.shop-result-top { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; }
.shop-result-card h3 { font-family: Oswald, sans-serif; font-size: 24px; line-height: 1; margin: 0 0 6px; text-transform: uppercase; }
.shop-result-location, .shop-result-copy { color: #39433f; font-size: 12px; line-height: 1.4; margin: 0; }
.shop-result-score { text-align: right; white-space: nowrap; }
.shop-result-score strong { color: #bd641f; display: block; font-family: Oswald, sans-serif; font-size: 22px; }
.shop-result-score small { color: #39433f; font-size: 10px; }
.shop-result-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.shop-result-meta span { background: #edf0e9; color: #17352d; font-size: 9px; font-weight: 800; padding: 5px 7px; text-transform: uppercase; }
.shop-result-actions { border-top: 1px solid #d3dad4; display: flex; gap: 18px; padding-top: 11px; }
.shop-result-actions a { color: #17352d; font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.shop-result-demo { color: #8b521d; display: block; font-size: 10px; font-weight: 800; margin-top: 8px; text-transform: uppercase; }
.shop-submit-panel { border-top: 1px solid #b8c4bb; margin-top: 20px; padding-top: 13px; }
.shop-submit-panel summary { color: #17352d; cursor: pointer; font-family: Oswald, sans-serif; font-size: 18px; text-transform: uppercase; }
.shop-submit-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 15px; }
.shop-submit-wide { grid-column: 1 / -1; }
.shop-submit-form textarea { min-height: 90px; resize: vertical; }
.shop-submit-form .button { grid-column: 1 / -1; justify-self: start; }
.shop-finder-disclaimer { color: #4d5a53; font-size: 10px; line-height: 1.45; margin: 15px 0 0; }

@media (max-width: 760px) {
  .shop-finder-card { padding: 20px; }
  .shop-finder-head { flex-direction: column; }
  .shop-search-form, .shop-submit-form { grid-template-columns: 1fr; }
  .shop-submit-wide, .shop-submit-form .button { grid-column: auto; }
  .shop-result-top { flex-direction: column; }
  .shop-result-score { text-align: left; }
}

/* Structured Oil maintenance record. */
.oil-record-panel { display: grid; gap: 16px; }
.oil-profile-spec { background: #f5f7f2; border-left: 4px solid var(--orange); padding: 15px 17px; }
.oil-record-kicker { color: var(--orange); display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.oil-profile-spec strong { color: #111516; display: block; font-family: Oswald, sans-serif; font-size: 27px; line-height: 1; margin: 7px 0 8px; text-transform: uppercase; }
.oil-profile-spec p { color: #39433f; font-size: 11px; line-height: 1.45; margin: 0; max-width: 650px; }
.oil-spec-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.oil-spec-grid > div { background: #fff; border: 1px solid #c5cec7; padding: 12px; }
.oil-spec-grid span { color: #526159; display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.oil-spec-grid strong { color: #111516; display: block; font-size: 13px; line-height: 1.25; margin-top: 6px; }
.oil-record-columns { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.oil-record-list { background: #edf0e9; border: 1px solid #c5cec7; padding: 13px; }
.oil-record-list ul { color: #111516; font-size: 12px; line-height: 1.45; margin: 8px 0 0; padding-left: 17px; }
.oil-product-links { background: #dce9e0; border: 1px solid #9fb9a9; padding: 13px; }
.oil-product-links > div { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.oil-product-links a { color: #17352d; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.oil-product-links a span, .oil-associated-links a span { color: var(--orange); font-size: 16px; }
.oil-product-links small { color: #4d5a53; display: block; font-size: 10px; line-height: 1.4; margin-top: 10px; }
.amazon-product-links { background: #e8efe9; border: 1px solid #9fb9a9; padding: 13px; }
.amazon-product-status { color: #4d5a53; font-size: 11px; line-height: 1.4; margin: 8px 0 0; }
.maintenance-fitment-note { color: #53615a; display: block; font-size: 10px; line-height: 1.4; margin: 10px 0 0; }
.amazon-product-list { display: grid; gap: 8px; margin-top: 8px; max-height: 310px; overflow-y: auto; padding-right: 5px; scrollbar-color: #17352d #d8e4dc; scrollbar-width: thin; }
.amazon-product-item { align-items: center; background: #fff; border: 1px solid #c5cec7; color: #17352d; display: flex; gap: 10px; min-height: 58px; padding: 7px; text-decoration: none; }
.amazon-product-item:hover { border-color: var(--orange); }
.amazon-product-item img { background: #f7f8f5; height: 44px; object-fit: contain; width: 44px; }
.amazon-product-item > span { display: grid; gap: 4px; min-width: 0; }
.amazon-product-item strong { font-size: 11px; line-height: 1.25; }
.amazon-product-item small { color: #526159; font-size: 11px; font-weight: 800; }
.amazon-product-item small span { color: var(--orange); font-size: 15px; }
.amazon-product-disclosure { color: #4d5a53; display: block; font-size: 10px; line-height: 1.4; margin-top: 10px; }
.oil-record-form { background: #fff; border: 1px solid #b8c4bb; padding: 15px; }
.oil-record-form-head { align-items: baseline; display: flex; gap: 15px; justify-content: space-between; }
.oil-record-form-head small { color: #526159; font-size: 10px; text-align: right; }
.oil-record-form-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 12px 0; }
.oil-record-form label { color: #111516; display: grid; font-size: 10px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.oil-record-form input, .oil-record-form textarea { background: #f7f8f5; border: 1px solid #aeb9b2; color: #111516; font: inherit; letter-spacing: 0; min-height: 38px; padding: 9px 10px; text-transform: none; width: 100%; }
.oil-record-form input:focus, .oil-record-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(237,109,57,.22); outline-offset: 1px; }
.oil-record-notes { grid-column: 1 / -1; }
.oil-record-form textarea { min-height: 65px; resize: vertical; }
.oil-record-form .button { justify-self: start; }
.oil-associated-links { margin-top: 0; }

/* Dedicated Oil maintenance subpage. */
.maintenance-card-link { color: white; display: block; text-decoration: none; }
.maintenance-card-link:focus-visible { outline: 3px solid #f3c400; outline-offset: 3px; }
.maintenance-card-link .maintenance-summary { align-items: center; display: flex; min-height: 80px; padding: 15px 23px; }
.maintenance-card-link .maintenance-subject { margin: 0 14px; }
.maintenance-card-link-arrow { align-items: center; display: inline-flex; margin-left: auto; }
.maintenance-card-link-arrow .site-arrow { --arrow-color: #ff2020; }
.maintenance-detail-page { padding: 8px 0 90px; }
.maintenance-detail-heading { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.maintenance-detail-back { margin-bottom: 12px; }
.maintenance-detail-back .site-arrow {
  --arrow-color: #ff1a1a;
  --arrow-glow: drop-shadow(0 0 3px rgba(255,26,26,.95)) drop-shadow(0 0 8px rgba(255,0,0,.55));
  --arrow-hover-glow: drop-shadow(0 0 4px rgba(255,60,60,1)) drop-shadow(0 0 12px rgba(255,0,0,.8));
}
.maintenance-detail-heading > .eyebrow { font-size: 13px; }
.maintenance-detail-title-row { align-items: center; display: flex; gap: 34px; margin-top: 8px; }
.maintenance-detail-heading h2 { flex: 0 0 auto; font-family: Oswald, sans-serif; font-size: 54px; font-style: normal; font-weight: 600; letter-spacing: -.045em; line-height: .9; margin: 0; text-transform: uppercase; }
.maintenance-detail-title-copy { max-width: 660px; }
.maintenance-detail-title-copy p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 9px; }
.maintenance-detail-title-copy .maintenance-detail-profile { color: #d7dadd; display: block; }
.maintenance-detail-toolbar { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-top: 16px; }
.maintenance-detail-profile { color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.maintenance-detail-search { border: 3px solid #ff2020; box-shadow: 0 0 0 1px rgba(255,32,32,.95), 0 0 8px rgba(255,32,32,.75), 0 0 18px rgba(255,32,32,.4); flex: 0 1 430px; }
.maintenance-detail-search > span { align-items: center; color: #ff2020; display: inline-flex; flex: 0 0 30px; height: 30px; justify-content: center; width: 30px; }
.maintenance-detail-search > span svg { display: block; height: 27px; width: 27px; }
.maintenance-detail-search > span circle,
.maintenance-detail-search > span path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.maintenance-detail-search input { color: #111516; font-size: 13px; }
.maintenance-detail-search input::placeholder { color: #111516; opacity: 1; }
.maintenance-detail-content { display: grid; gap: 18px; padding-top: 28px; }
.maintenance-detail-section { background: var(--card); border: 3px solid #ff2020; box-shadow: 0 0 0 1px rgba(255,32,32,.18), 0 8px 20px rgba(0,0,0,.12); padding: 18px; }
.maintenance-detail-section-heading { align-items: baseline; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 14px; }
.maintenance-detail-section-heading h3 { color: #111516; font-family: Oswald, sans-serif; font-size: 27px; line-height: 1; margin: 5px 0 0; text-transform: uppercase; }
.maintenance-detail-section-note { color: var(--muted); font-size: 11px; }
.oil-product-category-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.oil-shop-category { background: #f5f7f2; border: 1px solid #c5cec7; padding: 13px; }
.oil-shop-category h4 { color: #111516; font-family: Oswald, sans-serif; font-size: 22px; line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.oil-shop-category > p { color: #39433f; font-size: 11px; line-height: 1.45; margin: 0 0 12px; }
.oil-shop-category .amazon-product-links { background: #e8efe9; }
.maintenance-detail-tool-list { color: #111516; display: grid; gap: 7px; list-style: none; margin: 10px 0 0; padding: 0; }
.maintenance-detail-tool-list li { font-size: 12px; line-height: 1.35; padding-left: 14px; position: relative; }
.maintenance-detail-tool-list li::before { color: #ff2020; content: "+"; font-family: Oswald, sans-serif; font-weight: 700; left: 0; position: absolute; }
.maintenance-detail-vendor-link { margin-top: 18px; }
.maintenance-detail-reference-links { margin-top: 0; }
.maintenance-detail-video-link { align-items: center; color: #17352d; display: inline-flex; font-size: 13px; font-weight: 800; gap: 8px; text-transform: uppercase; }
.maintenance-health-link { background: transparent; border: 0; cursor: pointer; padding: 0; text-align: left; }
.maintenance-detail-video-link .site-arrow { --arrow-color: #ff2020; }
.maintenance-detail-note { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 12px 0 0; }
.maintenance-detail-empty { background: #fff; border: 1px dashed #aeb9b2; color: #39433f; font-size: 13px; margin: 0; padding: 24px; }

@media (max-width: 760px) {
  .maintenance-detail-page { padding: 10px 0 70px; }
  .maintenance-detail-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .maintenance-detail-heading h2 { font-size: 40px; }
  .maintenance-detail-toolbar { align-items: stretch; flex-direction: column; }
  .maintenance-detail-search { flex-basis: auto; }
  .maintenance-detail-content { padding-top: 20px; }
  .maintenance-detail-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .oil-product-category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .maintenance-search { width: 100%; }
}

@media (max-width: 760px) {
  .oil-spec-grid, .oil-record-columns, .oil-record-form-grid { grid-template-columns: 1fr; }
  .oil-record-form-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .oil-record-form-head small { text-align: left; }
  .oil-record-notes { grid-column: auto; }
}

/* Let the mobile Oil detail flow use the full phone width instead of the app-shell gutter. */
@media (max-width: 760px) {
  #maintenanceOilDetail .maintenance-detail-content {
    margin-left: -16px;
    margin-right: -16px;
  }

  #maintenanceOilDetail .oil-products-section {
    padding-left: 0;
    padding-right: 0;
  }

  #maintenanceOilDetail .oil-products-section > .maintenance-detail-section-heading,
  #maintenanceOilDetail .oil-products-section > .oil-product-category-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  #maintenanceOilDetail .oil-shop-category {
    background: transparent;
    border: 0;
    padding: 0;
  }

  #maintenanceOilDetail .oil-shop-category .amazon-product-links {
    background: transparent;
    border: 0;
    padding: 0;
  }

  #maintenanceOilDetail .oil-shop-category .amazon-product-list {
    padding-right: 0;
  }
}

/* Make the Health Record read like a real manila medical folder. */
.side-column .profile-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), transparent 35%),
    repeating-linear-gradient(0deg, rgba(92,65,27,.045) 0 1px, transparent 1px 4px),
    #cdb277;
  box-shadow: 0 12px 24px rgba(68,46,18,.18), inset 0 0 0 1px rgba(91,63,26,.18);
}
.profile-card .side-card-top .eyebrow {
  background: rgba(255,245,220,.22);
  border: 2px solid rgba(177,34,38,.82);
  box-shadow: inset 0 0 0 1px rgba(177,34,38,.18), 0 2px 0 rgba(91,35,25,.12);
  color: #b12226;
  display: inline-block;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 8px 4px;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  transform: rotate(-1.5deg);
}

/* Repair Library repository controls and source context. */
body[data-route="library"] .resource-intro {
  color: #46544c;
  font-size: 13px;
  line-height: 1.55;
  margin: 9px 0 0;
  max-width: 850px;
}
body[data-route="library"] .resource-section .search-row {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
}
body[data-route="library"] .resource-section .search-box {
  min-width: 250px;
}
body[data-route="library"] .library-filter {
  display: flex;
  flex: 0 1 185px;
  flex-direction: column;
  gap: 5px;
}
body[data-route="library"] .library-filter > span {
  color: #4c5a51;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body[data-route="library"] .library-filter select {
  background: var(--card);
  border: 1px solid var(--line);
  color: #111516;
  font: inherit;
  height: 44px;
  padding: 0 10px;
}
body[data-route="library"] .library-legend {
  align-items: center;
  color: #59665e;
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 8px 18px;
  margin: 0 0 14px;
}
body[data-route="library"] .library-legend span { display: inline-flex; gap: 4px; }
body[data-route="library"] .library-legend b { color: var(--green-2); }
body[data-route="library"] .resource-kicker { color: var(--orange); font-weight: 800; }
body[data-route="library"] .resource-meta small { white-space: normal; }

/* Use source branding instead of unrelated truck photos in library cards. */
body[data-route="library"] .resource-thumb {
  background: #151a1c;
  border-color: #3e494c;
}
body[data-route="library"] .resource-thumb-logo {
  display: block;
  height: auto;
  max-height: 86%;
  max-width: 94%;
  object-fit: contain;
  width: auto;
}
body[data-route="library"] .resource-thumb-haynes { background: #f4f0e8; }
body[data-route="library"] .resource-thumb-motorcraft { background: #fff; }
body[data-route="library"] .resource-thumb-youtube { background: #fff; }
body[data-route="library"] .resource-thumb-book-cover { background: #fff; }
body[data-route="library"] .resource-thumb-youtube-video { background: #111; }
body[data-route="library"] .resource-thumb-youtube-video .resource-thumb-logo {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 760px) {
  body[data-route="library"] .resource-section .search-row { align-items: stretch; }
  body[data-route="library"] .resource-section .search-box,
  body[data-route="library"] .resource-section .library-filter,
  body[data-route="library"] .resource-section .sort-button {
    flex-basis: 100%;
    min-width: 0;
    width: 100%;
  }
  body[data-route="library"] .resource-card {
    align-items: stretch;
    grid-template-columns: 70px 1fr;
  }
  body[data-route="library"] .resource-card .resource-meta {
    align-items: flex-start;
    grid-column: 2;
    min-height: 45px;
    text-align: left;
  }
}

/* Give the Repair Library its own readable repository surface. */
body[data-route="library"] .resource-section {
  background: #e9eee9;
  border: 1px solid #c5d0c7;
  border-top: 4px solid var(--orange);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  padding: 21px 24px 34px;
}
body[data-route="library"] .resource-topline .eyebrow,
body[data-route="library"] .library-browser-heading .eyebrow {
  color: var(--orange);
}
body[data-route="library"] .resource-topline .result-count {
  color: #35443a;
  font-weight: 800;
}
body[data-route="library"] .resource-intro {
  color: #26352d;
  max-width: 920px;
}
body[data-route="library"] .library-lanes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 28px;
}
body[data-route="library"] .library-lane {
  background: #f7f6f0;
  border: 1px solid #c3cec5;
  box-shadow: 0 5px 12px rgba(23,53,45,.1);
  color: #111516;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 16px;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body[data-route="library"] .library-lane:hover,
body[data-route="library"] .library-lane:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 8px 18px rgba(23,53,45,.18);
  outline: 0;
  transform: translateY(-2px);
}
body[data-route="library"] .library-lane-kicker {
  color: var(--orange);
  font-family: Oswald, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body[data-route="library"] .library-lane strong {
  font-family: Oswald, sans-serif;
  font-size: 19px;
  line-height: 1;
  margin: 13px 0 8px;
  text-transform: uppercase;
}
body[data-route="library"] .library-lane small {
  color: #39483f;
  font-size: 11px;
  line-height: 1.45;
}
body[data-route="library"] .library-lane-link {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  margin-top: auto;
  padding-top: 13px;
  text-transform: uppercase;
}
body[data-route="library"] .library-lane-link b {
  color: var(--orange);
  font-size: 16px;
  font-weight: 400;
  margin-left: 8px;
}
body[data-route="library"] .library-browser-heading {
  align-items: end;
  border-top: 1px solid #becac0;
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 19px;
}
body[data-route="library"] .library-browser-heading h3 {
  color: #111516;
  font-family: Oswald, sans-serif;
  font-size: 25px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
body[data-route="library"] .library-reset {
  background: transparent;
  border: 1px solid #aebbb1;
  color: #17352d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 10px 12px;
  text-transform: uppercase;
}
body[data-route="library"] .library-reset:hover {
  background: #17352d;
  color: white;
}
body[data-route="library"] .resource-section .search-row {
  background: #d8e2da;
  border: 1px solid #bdcabe;
  margin-top: 15px;
  padding: 13px;
}
body[data-route="library"] .resource-section .resource-list {
  background: #d8e2da;
  border: 1px solid #bdcabe;
  border-top: 0;
  padding: 0 13px 13px;
}
body[data-route="library"] .resource-info h3,
body[data-route="library"] .resource-info p,
body[data-route="library"] .resource-meta small {
  color: #111516;
}
body[data-route="library"] .resource-info p { color: #39483f; }

@media (max-width: 900px) {
  body[data-route="library"] .library-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body[data-route="library"] .resource-section { padding: 18px 14px 26px; }
  body[data-route="library"] .library-lanes { grid-template-columns: 1fr; margin-bottom: 22px; }
  body[data-route="library"] .library-lane { min-height: 150px; }
  body[data-route="library"] .library-browser-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  body[data-route="library"] .library-reset { width: 100%; }
  body[data-route="library"] .resource-section .resource-list { padding: 0 8px 8px; }
}

/* Match the Health Record modal to the manila folder card. */
.health-modal {
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), transparent 35%),
    repeating-linear-gradient(0deg, rgba(92,65,27,.045) 0 1px, transparent 1px 4px),
    #cdb277;
  box-shadow: 0 18px 36px rgba(68,46,18,.28), inset 0 0 0 1px rgba(91,63,26,.18);
  color: #111516;
}
.health-modal .modal-close,
.health-modal .health-modal-label,
.health-modal .health-record-overview strong,
.health-modal .health-record-overview p,
.health-modal .health-record-copy,
.health-modal .health-oil-summary,
.health-modal .health-record-field,
.health-modal .health-record-field-label,
.health-modal .health-edit-stat-grid label {
  color: #111516;
}
.health-modal .health-modal-label {
  background: rgba(255,245,220,.22);
  border: 2px solid rgba(177,34,38,.82);
  box-shadow: inset 0 0 0 1px rgba(177,34,38,.18), 0 2px 0 rgba(91,35,25,.12);
  color: #b12226;
  display: inline-block;
  font-family: Oswald, sans-serif;
  letter-spacing: .08em;
  padding: 5px 8px 4px;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  transform: rotate(-1.5deg);
}
.health-modal .health-record-overview {
  background: rgba(255,245,220,.42);
  border-color: rgba(91,63,26,.28);
}
.health-modal .health-record-stats {
  border-bottom-color: rgba(91,63,26,.38);
  border-top-color: rgba(91,63,26,.38);
}
.health-modal .health-record-stats strong,
.health-modal .health-record-stats small {
  color: #111516;
}
.health-modal .health-record-attachments {
  border-top-color: rgba(91,63,26,.35);
}
.health-modal .health-record-field input,
.health-modal .health-edit-stat-grid input {
  background: #fff9e9;
  border-color: rgba(91,63,26,.42);
}
.health-modal .health-record-field input::placeholder {
  color: #5b5548;
  opacity: 1;
}
.health-modal .health-record-list,
.health-modal .health-receipt-list {
  color: #111516;
}
.health-modal .health-receipt-list span,
.health-modal .health-receipt-row {
  background: rgba(255,249,233,.62);
  color: #111516;
}
.health-modal .upload-button {
  background: #f2dfb0;
  border-color: rgba(91,63,26,.48);
  color: #111516;
}
.health-modal .upload-button::before { color: #b12226; }
.health-modal .upload-button:hover { background: #ffedc2; border-color: #b12226; }
.health-modal .health-receipt-remove { color: #b12226; }

/* Upgrades navigation indicator: a simple cruise-control gauge in dashboard green. */
.main-nav .upgrade-icon {
  align-items: center;
  color: #55f5a4;
  display: inline-flex;
  filter: drop-shadow(0 0 3px rgba(85,245,164,.8)) drop-shadow(0 0 8px rgba(36,210,125,.45));
  height: 56px;
  justify-content: center;
  width: 56px;
}
.main-nav .upgrade-icon svg {
  height: 100%;
  overflow: visible;
  width: 100%;
}
.main-nav .upgrade-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
}
.main-nav .upgrade-icon circle { fill: currentColor; }
.main-nav a.active .upgrade-icon,
.main-nav a:hover .upgrade-icon {
  filter: drop-shadow(0 0 4px rgba(115,255,185,1)) drop-shadow(0 0 12px rgba(36,210,125,.8));
}

/* Make room for the additional tab without changing the banner height. */
.brand { min-width: 180px; }
.brand-logo { height: auto; width: 180px; }
.main-nav { gap: 18px; }
.main-nav a { white-space: nowrap; }

/* Minimal route shell until the Upgrades repository is populated. */
.upgrades-page { padding: 21px 0 90px; }
.upgrades-shell {
  border-top: 1px solid #51585b;
  padding-top: 21px;
}
.upgrades-shell h2 {
  color: #f1f3f4;
  font-family: Oswald, sans-serif;
  font-size: 44px;
  line-height: .9;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .brand { min-width: 180px; }
  .brand-logo { width: 180px; }
  .main-nav { gap: 8px; }
}
@media (max-width: 760px) {
  .brand { min-width: 0; }
  .brand-logo { width: 145px; }
  .main-nav { gap: 0; }
  .upgrades-page { padding-top: 18px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .brand { min-width: 150px; }
  .brand-logo { width: 150px; }
  .main-nav { gap: 4px; }
  .main-nav a { font-size: 13px; }
  .profile-button { min-width: 155px; }
}

@media (min-width: 1051px) {
  .brand { min-width: clamp(215px, 18vw, 250px); }
  .brand-logo { width: clamp(215px, 18vw, 250px); }
}

/* Keep the Library reference heading in the same open header area as the other pages. */
body[data-route="library"] .library-reference-head {
  margin-bottom: 21px;
  padding-top: 1px;
}
body[data-route="library"] .library-reference-head .resource-topline h2 {
  color: #f1f3f4;
}
body[data-route="library"] .library-reference-head .resource-intro {
  color: #d0d5d7;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.5;
  margin-bottom: 0;
}
body[data-route="library"] .library-reference-head .result-count {
  color: #d0d5d7;
}
body[data-route="library"] .resource-section {
  padding-top: 18px;
}

@media (max-width: 760px) {
  body[data-route="library"] .library-reference-head {
    margin-top: -2px;
    padding-top: 0;
  }
}

/* Keep Library resource cards contained when phone-width content has long source or fitment labels. */
@media (max-width: 760px) {
  body[data-route="library"] .resource-section,
  body[data-route="library"] .resource-section .resource-list,
  body[data-route="library"] .resource-card,
  body[data-route="library"] .resource-info,
  body[data-route="library"] .resource-meta {
    max-width: 100%;
    min-width: 0;
  }

  body[data-route="library"] .resource-card {
    grid-template-columns: 64px minmax(0, 1fr);
    overflow: hidden;
    width: 100%;
  }

  body[data-route="library"] .resource-meta {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  body[data-route="library"] .resource-info h3,
  body[data-route="library"] .resource-info p,
  body[data-route="library"] .resource-meta small,
  body[data-route="library"] .resource-affiliate-disclosure {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

/* Match the full Repair Library repository surface to its blue search control. */
body[data-route="library"] .resource-section {
  border: 3px solid #1E6BFF;
  box-shadow:
    0 0 0 1px rgba(30,107,255,.95),
    0 0 8px rgba(30,107,255,.75),
    0 0 18px rgba(30,107,255,.45),
    0 14px 30px rgba(0,0,0,.14);
}

/* Improve VIN label and verification-link contrast on the manila modal. */
.health-modal .health-record-field {
  font-size: 12px;
}
.health-modal .health-vin-verify {
  background: #163f66;
  border: 2px solid #0d2b49;
  box-shadow: 0 3px 7px rgba(13,43,73,.2);
  color: #f4f7fb;
  font-size: 12px;
  margin-top: 10px;
  padding: 8px 10px;
}
.health-modal .health-vin-verify span {
  color: #f3c400;
}

/* Community MVP: lobby, topic rooms, and outbound social profile links. */
.community-section {
  padding-bottom: 82px;
}
.community-heading-status {
  align-items: center;
  background: #17352d;
  color: #f2f5f0;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .08em;
  padding: 10px 12px;
  text-transform: uppercase;
}
.community-live-dot {
  background: #55f5a4;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(85,245,164,.85);
  height: 8px;
  width: 8px;
}
.community-workspace {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 350px;
}
.community-lobby-panel,
.community-panel {
  background: #f0f3ed;
  border: 4px solid #55f5a4;
  box-shadow: 0 0 0 1px rgba(85,245,164,.2), 0 0 16px rgba(85,245,164,.24), 0 12px 24px rgba(0,0,0,.18);
  color: #111516;
  padding: 21px;
}
.community-lobby-panel { min-height: 540px; }
.community-side-panels { display: grid; gap: 16px; min-width: 0; }
.community-panel-heading {
  align-items: end;
  border-bottom: 1px solid #c8d2c8;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 13px;
}
.community-panel-heading .eyebrow { color: #d2632b; margin-bottom: 5px; }
.community-panel-heading h3 {
  color: #111516;
  font-family: Oswald, sans-serif;
  font-size: 28px;
  line-height: .95;
  margin: 0;
  text-transform: uppercase;
}
.community-count,
.community-profile-status {
  color: #53625a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.community-profile-status.is-saved { color: #237a4a; }
.community-panel-copy {
  color: #39443e;
  font-size: 12px;
  line-height: 1.5;
  margin: 15px 0 18px;
  max-width: 530px;
}
.community-post-form,
.community-profile-form,
.community-create-room form {
  display: grid;
  gap: 12px;
}
.community-form-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.community-post-form label,
.community-profile-form label,
.community-create-room label {
  color: #25352d;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.community-post-form input,
.community-post-form select,
.community-post-form textarea,
.community-profile-form input,
.community-create-room input,
.community-create-room textarea {
  background: #fff;
  border: 1px solid #aeb9b2;
  border-radius: 0;
  color: #111516;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 40px;
  padding: 9px 10px;
  text-transform: none;
  width: 100%;
}
.community-post-form textarea,
.community-create-room textarea { min-height: 106px; resize: vertical; }
#community .terms-consent input {
  flex: 0 0 auto;
  height: 10px;
  min-height: 10px;
  padding: 0;
  width: 10px;
}
.community-post-form input:focus,
.community-post-form select:focus,
.community-post-form textarea:focus,
.community-profile-form input:focus,
.community-create-room input:focus,
.community-create-room textarea:focus {
  border-color: #237a4a;
  outline: 2px solid rgba(85,245,164,.3);
  outline-offset: 1px;
}
.community-form-footer {
  align-items: center;
  border-bottom: 1px solid #c8d2c8;
  display: flex;
  justify-content: space-between;
  padding-bottom: 17px;
}
.community-form-footer small { color: #627069; font-size: 10px; }
.community-form-footer .button,
.community-profile-form .button,
.community-create-room .button { margin-left: auto; }
.community-post-list { display: grid; gap: 10px; margin-top: 17px; }
.community-empty {
  border: 1px dashed #aeb9b2;
  color: #53625a;
  font-size: 12px;
  line-height: 1.5;
  padding: 22px;
  text-align: center;
}
.community-post-item {
  background: #fff;
  border: 1px solid #c8d2c8;
  padding: 15px;
}
.community-post-item-head {
  align-items: center;
  display: flex;
  gap: 10px;
}
.community-post-avatar {
  align-items: center;
  background: #17352d;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.community-post-author { color: #111516; display: grid; font-size: 12px; font-weight: 800; gap: 2px; }
.community-post-author small { color: #69756e; font-size: 10px; font-weight: 500; }
.community-post-time { color: #69756e; font-size: 10px; margin-left: auto; }
.community-post-room { color: #d2632b; font-size: 10px; font-weight: 800; letter-spacing: .06em; margin: 14px 0 5px; text-transform: uppercase; }
.community-post-body { color: #25352d; font-size: 13px; line-height: 1.5; margin: 0; white-space: pre-wrap; }
.community-room-list { display: grid; gap: 5px; margin: 14px 0 16px; }
.community-room-button {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid #c8d2c8;
  color: #24372e;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 11px 0;
  text-align: left;
  width: 100%;
}
.community-room-button:hover,
.community-room-button.is-selected { color: #c25727; }
.community-room-button.is-selected { border-left: 4px solid #55f5a4; padding-left: 9px; }
.community-room-name { display: grid; gap: 4px; min-width: 0; }
.community-room-name strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-room-name small { color: #69756e; font-size: 10px; line-height: 1.3; }
.community-room-meta { color: #69756e; font-size: 9px; text-align: right; white-space: nowrap; }
.community-create-room { border-top: 1px solid #c8d2c8; padding-top: 13px; }
.community-create-room summary { color: #17352d; cursor: pointer; font-family: Oswald, sans-serif; font-size: 18px; list-style: none; text-transform: uppercase; }
.community-create-room summary::-webkit-details-marker { display: none; }
.community-create-room summary span { color: #d2632b; float: right; font-size: 22px; }
.community-create-room form { margin-top: 14px; }
.community-create-room .button { width: 100%; }
.community-lifecycle-note,
.community-social-note {
  color: #69756e;
  font-size: 10px;
  line-height: 1.45;
  margin: 14px 0 0;
}
.community-profile-form { margin-top: 15px; }
.community-social-fields { display: grid; gap: 9px; }
.community-social-note { border-top: 1px solid #c8d2c8; padding-top: 13px; }
.community-social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.community-social-links a { background: #17352d; color: #fff; font-size: 9px; font-weight: 800; padding: 6px 8px; text-decoration: none; text-transform: uppercase; }
.community-social-links a:hover { background: #237a4a; }
.community-guidelines {
  align-items: center;
  background: #17352d;
  color: #d6e3da;
  display: flex;
  gap: 15px;
  margin-top: 16px;
  padding: 15px 18px;
}
.community-guidelines strong { color: #55f5a4; font-family: Oswald, sans-serif; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.community-guidelines span { font-size: 11px; line-height: 1.45; }

/* Contextual beta feedback drawer. */
.feedback-tab {
  align-items: center;
  background: var(--orange);
  border: 0;
  border-left: 3px solid #f3b16a;
  box-shadow: 0 5px 16px rgba(23, 53, 45, .28);
  color: #fff;
  display: flex;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 16px 9px;
  position: fixed;
  right: 0;
  text-transform: uppercase;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  z-index: 75;
}
.feedback-tab:hover,
.feedback-tab[aria-expanded="true"] {
  background: #c85227;
  box-shadow: 0 5px 18px rgba(237, 109, 57, .5);
}
.feedback-backdrop {
  background: rgba(23, 53, 45, .58);
  inset: 0;
  position: fixed;
  z-index: 80;
}
.feedback-backdrop[hidden] { display: none; }
.feedback-drawer {
  background: #f0f3ed;
  border-left: 4px solid var(--orange);
  box-shadow: -12px 0 30px rgba(0, 0, 0, .25);
  color: #111516;
  height: 100%;
  max-width: 440px;
  overflow-y: auto;
  padding: 34px 28px 30px;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
.feedback-drawer h2 {
  color: var(--green);
  font-family: Oswald, sans-serif;
  font-size: 38px;
  line-height: .95;
  margin: 6px 0 12px;
  text-transform: uppercase;
}
.feedback-drawer > .eyebrow { color: var(--orange); }
.feedback-copy {
  color: #39443e;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.feedback-context {
  background: var(--green);
  border-left: 3px solid var(--orange);
  color: #dbe4dd;
  display: grid;
  gap: 4px;
  margin-bottom: 19px;
  padding: 11px 13px;
}
.feedback-context span {
  color: #f3b16a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.feedback-context strong {
  font-family: Oswald, sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}
.feedback-form { display: grid; gap: 14px; }
.feedback-form label { color: var(--green); display: grid; font-size: 10px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.feedback-form label small { color: #6c7871; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  background: #fff;
  border: 1px solid #aeb9b2;
  border-radius: 0;
  color: #111516;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 42px;
  padding: 10px 11px;
  text-transform: none;
  width: 100%;
}
.feedback-form textarea { min-height: 150px; resize: vertical; }
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(237, 109, 57, .24);
  outline-offset: 1px;
}
.feedback-form .button { width: 100%; }
.feedback-form .button:disabled { cursor: wait; opacity: .65; }
.feedback-privacy { color: #69756e; font-size: 10px; line-height: 1.45; margin: -2px 0 0; }
.feedback-status { color: #526158; font-size: 11px; line-height: 1.45; margin: 0; min-height: 16px; }
.feedback-status.is-success { color: #237a4a; font-weight: 700; }
.feedback-status.is-error { color: #a03c2b; font-weight: 700; }

@media (max-width: 760px) {
  .feedback-tab { font-size: 11px; padding: 14px 8px; }
  .feedback-drawer { border-left-width: 3px; max-width: none; padding: 28px 21px 24px; }
}

@media (max-width: 900px) {
  .community-workspace { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 760px) {
  .community-heading-status { align-self: flex-start; }
  .community-workspace { grid-template-columns: 1fr; }
  .community-lobby-panel { min-height: 0; }
  .community-form-row { grid-template-columns: 1fr; }
  .community-guidelines { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* Vendor and creator submission drawers. */
.application-backdrop {
  background: rgba(23, 53, 45, .58);
  inset: 0;
  position: fixed;
  z-index: 80;
}
.application-backdrop[hidden] { display: none; }
.application-drawer {
  background: #f0f3ed;
  border-left: 4px solid var(--orange);
  box-shadow: -12px 0 30px rgba(0, 0, 0, .25);
  color: #111516;
  height: 100%;
  max-width: 520px;
  overflow-y: auto;
  padding: 34px 28px 30px;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
.application-drawer h2 {
  color: var(--green);
  font-family: Oswald, sans-serif;
  font-size: 38px;
  line-height: .95;
  margin: 6px 0 12px;
  text-transform: uppercase;
}
.application-drawer > .eyebrow { color: var(--orange); }
.application-copy {
  color: #39443e;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.application-form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.application-form label {
  color: var(--green);
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.application-form label small { color: #6c7871; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.application-form input,
.application-form select,
.application-form textarea {
  background: #fff;
  border: 1px solid #aeb9b2;
  border-radius: 0;
  color: #111516;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 42px;
  padding: 10px 11px;
  text-transform: none;
  width: 100%;
}
.application-form textarea { min-height: 120px; resize: vertical; }
.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(237, 109, 57, .24);
  outline-offset: 1px;
}
.application-wide,
.application-form > .button,
.application-status { grid-column: 1 / -1; }
.application-form > .button { width: 100%; }
.application-form .button:disabled { cursor: wait; opacity: .65; }
.application-status { color: #526158; font-size: 11px; line-height: 1.45; margin: 0; min-height: 16px; }
.application-status.is-success { color: #237a4a; font-weight: 700; }
.application-status.is-error { color: #a03c2b; font-weight: 700; }

@media (max-width: 760px) {
  .application-drawer { border-left-width: 3px; max-width: none; padding: 28px 21px 24px; }
  .application-form { grid-template-columns: 1fr; }
  .application-wide,
  .application-form > .button,
  .application-status { grid-column: auto; }
}

/* Health record counters are derived from saved work and notes, not placeholder totals. */
.health-record-section,
.health-record-editor-section {
  border-top: 1px solid rgba(91,63,26,.35);
  margin-top: 17px;
  padding-top: 15px;
}
.health-record-section-heading {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 9px;
}
.health-record-section-heading .health-record-field-label { margin: 0; }
.health-record-count { color: #5b3f1a; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.health-work-list,
.health-note-list { color: #111516; display: grid; font-size: 11px; gap: 5px; line-height: 1.35; }
.health-work-row,
.health-note-row {
  align-items: center;
  background: rgba(255,249,233,.62);
  border-left: 3px solid #b12226;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 7px 8px;
}
.health-work-info { display: grid; gap: 2px; min-width: 0; }
.health-work-info strong { color: #111516; font-size: 11px; }
.health-work-info small { color: #5b5548; overflow-wrap: anywhere; }
.health-note-row span { min-width: 0; overflow-wrap: anywhere; }
.health-job-form,
.health-note-form { display: grid; gap: 10px; }
.health-job-form { grid-template-columns: 1.3fr .7fr .8fr; }
.health-job-form label { color: #111516; display: grid; font-size: 10px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.health-job-form input,
.health-job-form select,
.health-job-form textarea,
.health-note-form textarea {
  background: #fff9e9;
  border: 1px solid rgba(91,63,26,.42);
  color: #111516;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0;
  min-height: 40px;
  padding: 9px 11px;
  text-transform: none;
  width: 100%;
}
.health-job-form textarea,
.health-note-form textarea { min-height: 66px; resize: vertical; }
.health-job-notes,
.health-job-form > .button { grid-column: 1 / -1; }
.health-note-form > .button,
.health-job-form > .button { justify-self: start; width: auto; }
.health-job-form input:focus,
.health-job-form select:focus,
.health-job-form textarea:focus,
.health-note-form textarea:focus { border-color: #b12226; outline: 2px solid rgba(177,34,38,.2); outline-offset: 1px; }
.health-record-editor-section .health-record-count { font-size: 9px; }
.footer { align-items: flex-start; color: #fff; font-size: 10px; gap: 18px; }
.footer .footer-link { color: #fff; }

/* Approved beta feedback: let every owner keep separate records per truck. */
.garage-vehicle-switcher { align-items: end; display: flex; gap: 10px; margin: 0 0 14px; }
.garage-vehicle-switcher label { display: grid; flex: 1; gap: 5px; }
.garage-vehicle-switcher label span { color: var(--orange); font-family: Oswald, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.garage-vehicle-switcher select { background: #f7f8f5; border: 1px solid #aeb9b2; color: #111516; font-family: DM Sans, sans-serif; font-size: 13px; min-height: 39px; padding: 8px 10px; width: 100%; }
.garage-vehicle-actions { display: flex; flex-direction: column; gap: 4px; }
.garage-vehicle-actions .button { min-height: 28px; padding: 5px 9px; white-space: nowrap; }
.garage-remove-vehicle { background: transparent; color: #dbe7ff; font-size: 10px; font-weight: 800; padding: 2px 4px; text-transform: uppercase; }
.garage-remove-vehicle:disabled { cursor: not-allowed; opacity: .4; }
.health-record-export-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 17px; }
.health-record-export-actions .button { flex: 1; min-width: 132px; }
.community-post-guidance { background: #edf2ed; border-left: 3px solid var(--green); color: #284238; font-size: 11px; line-height: 1.45; margin: 0 0 12px; padding: 9px 11px; }
.community-post-search { display: grid; gap: 5px; margin-bottom: 12px; }
.community-post-search span { color: #284238; font-family: Oswald, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.community-post-search input { background: #fff; border: 1px solid #aeb9b2; color: #111516; font-family: DM Sans, sans-serif; font-size: 13px; min-height: 40px; padding: 9px 11px; width: 100%; }
.community-post-options { align-items: end; }
.community-post-options .community-crosspost { align-items: center; display: flex; gap: 8px; min-height: 40px; text-transform: none; }
.community-post-options .community-crosspost input { flex: 0 0 auto; height: 12px; min-height: 12px; padding: 0; width: 12px; }
.community-post-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.community-post-tags span { background: #e7eee8; color: #284238; font-size: 9px; font-weight: 800; letter-spacing: .04em; padding: 4px 6px; text-transform: uppercase; }
@media (max-width: 760px) {
  .garage-vehicle-switcher { align-items: stretch; flex-direction: column; }
  .garage-vehicle-actions { flex-direction: row; }
  .garage-vehicle-actions .button, .garage-remove-vehicle { flex: 1; }
  .health-record-export-actions .button { width: 100%; }
}
.footer-disclaimer { letter-spacing: 0; line-height: 1.45; max-width: 620px; text-transform: none; }

@media (max-width: 760px) {
  .health-job-form { grid-template-columns: 1fr; }
  .health-job-notes,
  .health-job-form > .button { grid-column: auto; }
  .health-note-form > .button,
  .health-job-form > .button { width: 100%; }
  .footer-disclaimer { max-width: none; }
}

/* Give every creator the same spacious graphite presentation as OBS Solutions. */
.creator-grid .creator-card,
.creator-grid .creator-card:not(.creator-featured) {
  background: #454b4f;
  color: #f2f5f0;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
}
.creator-grid .creator-card .creator-image-wrap {
  align-self: start;
  background: #1d2529;
  border: 1px solid #687276;
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 190px;
  justify-self: start;
  margin: 0;
  width: 100%;
}
.creator-grid .creator-card .creator-image-wrap img { padding: 8px; }
.creator-grid .creator-card .creator-category {
  align-self: start;
  color: #f3b16a;
  grid-column: 2;
  grid-row: 1;
}
.creator-grid .creator-card h3 {
  color: #ffffff;
  font-size: 34px;
  grid-column: 2;
  grid-row: 2;
  margin-top: 12px;
}
.creator-grid .creator-card .creator-stats {
  color: #f2f5f0;
  grid-column: 2;
  grid-row: 3;
}
.creator-grid .creator-card > p {
  color: #e0e6e1;
  grid-column: 1 / -1;
  grid-row: 4;
  max-width: none;
  width: 100%;
}
.creator-grid .creator-card > p .creator-stats {
  display: block;
  margin-bottom: 8px;
}
.creator-grid .creator-card .creator-video-shelf { grid-row: 5; }
.creator-grid .creator-card .creator-actions { grid-row: 6; }
.creator-grid .creator-card .creator-actions a,
.creator-grid .creator-card:not(.creator-featured) .creator-actions a {
  color: #f2f5f0;
}
@media (max-width: 760px) {
  .creator-grid .creator-card,
  .creator-grid .creator-card:not(.creator-featured) {
    grid-template-columns: minmax(0, 1fr) minmax(118px, .8fr);
  }
  .creator-grid .creator-card .creator-image-wrap {
    height: 150px;
  }
  .creator-grid .creator-card h3 { font-size: 29px; }
}
@media (max-width: 420px) {
  .creator-grid .creator-card .creator-image-wrap { height: 132px; }
  .creator-grid .creator-card h3 { font-size: 26px; }
}

/* Mobile menu spacing and type treatment for narrow phone headers. */
@media (max-width: 760px) {
  .mobile-menu-button {
    font-size: 16px;
    letter-spacing: .1em;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
  .main-nav a {
    font-size: 18px;
  }
  .main-nav .account-menu-button {
    font-size: 18px;
    justify-content: center;
    letter-spacing: .14em;
    padding: 10px 0;
  }
}
