/* Love My V brand (logo from /workspace/detailing/brand, copied to /assets/brand). Theme variables untouched. */
:root { --logo-file: url("/assets/brand/logo-dark.svg"); }
.th-light, .th-light :root { --logo-file: url("/assets/brand/logo-light.svg"); }
.logo { width: 150px; height: 47px; background: var(--logo-file) left center / contain no-repeat; filter: none; }
@media (max-width: 600px) { .logo { width: 122px; height: 38px; } }
.lmv-tagline { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); margin: 4px 0 10px; }
/* vehicle type picker (CSS-only toggle, no JS) */
.vt-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.vt-chip { display: inline-flex; cursor: pointer; margin: 0; }
.vt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vt-chip span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line, #333); font-size: .92rem; }
.vt-chip input:checked + span { background: var(--accent); color: #fff; border-color: transparent; }
.vt-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.vt-extra { display: none; }
form:has(input[name=vehicle_type][value=car]:checked) .vt-car, form:has(input[name=vehicle_type][value=motorcycle]:checked) .vt-motorcycle,
form:has(input[name=vehicle_type][value=boat]:checked) .vt-boat, form:has(input[name=vehicle_type][value=airplane]:checked) .vt-airplane,
form:has(input[name=vehicle_type][value=rocket]:checked) .vt-rocket, form:has(input[name=vehicle_type][value=other]:checked) .vt-other { display: block; }

/* ================================================================
   Love My V neutral base (2026-10-12). Surfaces and text are neutral greys in every mode;
   the ONLY colour is --lmv-accent: logo crimson by default, the picked theme's accent otherwise.
   Presets therefore change just accent + mode. `html body.th` beats the per-user <style> (body.th).
   ================================================================ */
:root {
  --lmv-accent: #e3122d; --accent: var(--lmv-accent); --lmv-on-accent: #ffffff; --lmv-link: #ff6b7d; /* Pia: one accent, #e3122d default */
  --lmv-accent-soft: color-mix(in srgb, var(--lmv-accent) 14%, transparent);
  --lmv-accent-line: color-mix(in srgb, var(--lmv-accent) 45%, transparent);
  --lmv-accent-deep: color-mix(in srgb, var(--lmv-accent) 45%, #000);
  --lmv-radius: 16px; --lmv-radius-lg: 20px; --lmv-elev: 0 1px 2px rgba(0, 0, 0, .25), 0 8px 24px rgba(0, 0, 0, .16);
  --lmv-sans: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* neutral dark (default + dark presets) */
:root, html body.th {
  --bg: #121212; --bg-raised: #171717; --surface: #1c1c1e; --surface-2: #26262a;
  --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.16);
  --silver: #d6d6d6; --silver-bright: #f2f2f2; --silver-dim: #a3a3a3;
  --blue: var(--lmv-accent); --blue-bright: var(--lmv-link); --blue-deep: var(--lmv-accent-deep); --on-accent: var(--lmv-on-accent);
  --blue-glow: transparent; --blue-glow-soft: transparent; --heading-shadow: var(--lmv-accent-deep); --star: var(--lmv-accent);
  --lover-1: var(--surface); --lover-2: var(--surface); --lover-3: var(--surface); --lover-ink: #0b0b0b; --lover-chip: var(--surface-2); --lover-edge: var(--border);
  --pro-bg: var(--surface); --pro-panel: var(--surface-2); --pro-line: transparent; --pro-good: #3ecf7a;
  --nav-bg: rgba(18, 18, 18, 0.9); --sample-bg: transparent; --sample-text: var(--silver-dim);
  --ph-a: #222; --ph-b: #333; --ph-c: #2a2a2a; --ph-d: #262626; --ph-e: #303030; --ph-f: #3a3a3a; --ph-clean-1: #222; --ph-clean-2: #444;
  --th-accent-soft: var(--lmv-accent-soft); --th-accent-line: var(--lmv-accent-line);
}
html body.th {
  --lmv-accent: var(--th-accent);
  /* re-derive here: on :root these resolve against the default crimson, so themed pages kept crimson heading shadows/outlines */
  --lmv-accent-soft: color-mix(in srgb, var(--lmv-accent) 14%, transparent); --lmv-accent-line: color-mix(in srgb, var(--lmv-accent) 45%, transparent); --lmv-accent-deep: color-mix(in srgb, var(--lmv-accent) 45%, #000);
  --th-accent-soft: var(--lmv-accent-soft); --th-accent-line: var(--lmv-accent-line); --heading-shadow: var(--lmv-accent-deep); --blue-deep: var(--lmv-accent-deep); --lmv-on-accent: var(--th-on-accent); --lmv-link: color-mix(in srgb, var(--th-accent) 55%, #fff); --th-link: var(--lmv-link); /* from the accent, not the preset's own bg: AA on #121212 for every preset, incl. light presets forced dark */
  --th-bg: #121212; --th-bg-css: #121212; --th-card: #1c1c1e; --th-card-solid: #1c1c1e; --th-surface: #1c1c1e;
  --th-text: #f2f2f2; --th-text-2: #d6d6d6; --th-muted: #c8c8cc; --th-border: rgba(255, 255, 255, 0.08); --th-border-strong: rgba(255, 255, 255, 0.16);
  --th-nav: rgba(18, 18, 18, 0.9); --th-shadow: var(--lmv-accent-deep); --th-glow: transparent;
}
/* neutral light (light presets) */
html body.th.th-light {
  --lmv-link: color-mix(in srgb, var(--th-accent) 45%, #000); /* darkened accent: AA (>=4.5) on white for every preset */ --th-link: var(--lmv-link);
  --bg: #f6f6f4; --bg-raised: #ffffff; --surface: #ffffff; --surface-2: #efefed;
  --border: rgba(0, 0, 0, 0.09); --border-strong: rgba(0, 0, 0, 0.18);
  --silver: #3a3a3f; --silver-bright: #17171a; --silver-dim: #5f5f66; --lover-ink: #ffffff;
  --nav-bg: rgba(246, 246, 244, 0.92); --heading-shadow: var(--lmv-accent-line);
  --th-bg: #f6f6f4; --th-bg-css: #f6f6f4; --th-card: #ffffff; --th-card-solid: #ffffff; --th-surface: #ffffff;
  --th-text: #17171a; --th-text-2: #3a3a3f; --th-muted: #5f5f66; --th-border: rgba(0, 0, 0, 0.09); --th-border-strong: rgba(0, 0, 0, 0.18);
  --th-nav: rgba(246, 246, 244, 0.92); --th-shadow: var(--lmv-accent-line); --lmv-elev: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .06);
}
html body.th { background: var(--bg); }
.th .card, .th .post:not([data-ptype="lover"]), .th .tile, .th .summary { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* type: calligraphy only for display headings, clean sans elsewhere */
body { font-family: var(--lmv-sans); font-size: 16px; line-height: 1.55; }
h1:not(.script):not(.cali):not(.display-name):not(.cover-title) { font-size: 1.6rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.script, .cali { text-shadow: 2px 2px 0 var(--heading-shadow); opacity: 1; }
.test-banner, .th .test-banner, .th-light .test-banner { background: transparent; color: var(--silver-dim); font-size: .68rem; font-weight: 600; letter-spacing: .08em; padding: 3px 10px; border-bottom: 1px solid var(--border); }
/* every accent use = one variable */
.btn-blue, .th .btn-blue, .th .btn-t { background: var(--lmv-accent); border-color: var(--lmv-accent); color: var(--lmv-on-accent); box-shadow: none; }
.btn-blue:hover { filter: brightness(1.08); }
.th-light .btn-blue { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); }
a.link, .link, .hero h1 span, .kicker { color: var(--lmv-link); }
.chip.on, .chip[aria-pressed="true"], .v3-chip.on, [data-chips] .on, .tabbar a.on, .tabbar a[aria-current], .vt-chip input:checked + span { color: var(--lmv-link); }
.vt-chip input:checked + span { background: var(--lmv-accent); color: var(--lmv-on-accent); }
.card, .post { border-radius: var(--lmv-radius); }
.hero::before { display: none; }
/* ---- landing ---- */
html { scroll-padding-top: 96px; }
.choice-q { opacity: 1 !important; color: var(--silver-bright) !important; scroll-margin-top: 96px; padding-top: 10px; position: relative; z-index: 1; }
.card-choice { border-radius: var(--lmv-radius-lg); }
.card-choice.lover, .th .card-choice.lover { background: var(--surface) !important; border: 1px solid var(--border); border-top: 3px solid var(--lmv-accent); box-shadow: var(--lmv-elev); }
.card-choice.lover, .card-choice.lover p { color: var(--silver) !important; opacity: 1; }
.card-choice.lover > div { color: var(--lmv-link) !important; }
.card-choice.lover h3 { color: var(--silver-bright) !important; text-shadow: 3px 3px 0 var(--heading-shadow) !important; }
.card-choice.lover .btn-lover { background: var(--lmv-accent); color: var(--lmv-on-accent); box-shadow: none; }
.card-choice.pro { background: var(--surface) !important; background-image: none !important; border: 1px solid var(--border); box-shadow: var(--lmv-elev); }
.card-choice.pro *:not(.btn) { border: 0; background-image: none; }

/* ---- Galaxy V logo (inline SVG from lib/logo.js). Everything follows --lmv-accent. ---- */
.logo.has-svg { background: none !important; display: flex; align-items: center; width: 172px; height: 56px; }
@media (max-width: 600px) { .logo.has-svg { width: 146px; height: 47px; } }
.lmv-logo { width: 100%; height: 100%; display: block; overflow: visible;
  --n-mid: var(--lmv-accent);
  --n-hi: color-mix(in srgb, var(--lmv-accent) 40%, #fff);
  --n-comp: color-mix(in srgb, var(--lmv-accent) 50%, #6b4dff);
  --n-base: color-mix(in srgb, var(--lmv-accent) 22%, #07050d);
  --n-core: color-mix(in srgb, var(--lmv-accent) 12%, #020106);
  --n-shadow: color-mix(in srgb, var(--lmv-accent) 38%, #000);
  --n-word: #F7F1E6; --n-word-shadow: #000; --n-edge: transparent; --n-ds: 0; }
@supports (color: oklch(from red l c h)) { .lmv-logo { --n-comp: oklch(from var(--lmv-accent) calc(l * .9) c calc(h + 70)); } }
.lmv-logo .s-hi { stop-color: var(--n-hi); } .lmv-logo .s-mid { stop-color: var(--n-mid); } .lmv-logo .s-comp { stop-color: var(--n-comp); }
.lmv-logo .s-core { stop-color: var(--n-core); } .lmv-logo .s-white { stop-color: #fff; }
.lmv-logo .lmv-word { fill: var(--n-word); } .lmv-logo .lmv-word-shadow { fill: var(--n-word-shadow); }
.lmv-logo .lmv-v-shadow { fill: var(--n-shadow); } .lmv-logo .lmv-v-base { fill: var(--n-base); }
.lmv-logo .lmv-v-noise { fill: var(--n-hi); opacity: .45; mix-blend-mode: screen; }
.lmv-logo .lmv-stars { fill: #fff; }
.lmv-logo .lmv-v-edge { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: .9; } /* thin metallic chrome edge (gradient stroke from lib/logo.js) */
.th-light .lmv-logo .lmv-v-edge { stroke: #1f2329; stroke-width: 1.5; opacity: 1; }
/* light mode: solid charcoal script with the bold offset shadow; V gets a 1.5px dark outline + soft drop shadow */
.th-light .lmv-logo { --n-word: #1f2329; --n-word-shadow: color-mix(in srgb, var(--lmv-accent) 45%, #fff); --n-edge: #1f2329;
  --n-base: color-mix(in srgb, var(--lmv-accent) 34%, #2a2333); --n-ds: .28; }
.th-light .lmv-logo .lmv-v-shadow { display: none; }
/* motion: slow diagonal glint every ~7s + slow twinkle; nothing else animates; off for reduced motion */
.lmv-logo .lmv-glint { opacity: 0; animation: lmv-glint 7s ease-in-out infinite; }
@keyframes lmv-glint { 0%, 78% { opacity: 0; transform: rotate(24deg) translateX(0); } 80% { opacity: 1; } 96% { opacity: 1; } 100% { opacity: 0; transform: rotate(24deg) translateX(560px); } }
.lmv-logo .lmv-glint { transform-box: view-box; transform-origin: 131px 150px; }
.lmv-logo .lmv-stars circle, .lmv-logo .lmv-sparkle { animation: lmv-tw 5s ease-in-out infinite alternate; animation-delay: calc(var(--i, 3) * -.7s); transform-box: fill-box; transform-origin: center; }
@keyframes lmv-tw { from { opacity: 1; } to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .lmv-logo .lmv-glint { animation: none; opacity: 0; } .lmv-logo .lmv-stars circle, .lmv-logo .lmv-sparkle { animation: none; opacity: 1; } }


/* ---- contrast scan fixes (Oct 12): never paint text with a colour picked for a different background.
   --lover-1/-3 are surface colours in the neutral base, so any TEXT that used them goes to the link colour. Applies with or without a theme. ---- */
body .profile[data-theme="party"] { --t1: var(--lmv-accent); --t-ink: var(--lmv-on-accent); --t3: var(--lmv-link); }
body .profile.lover .tabs a.on { background: var(--lmv-accent) !important; color: var(--lmv-on-accent) !important; border-color: var(--lmv-accent) !important; box-shadow: none !important; }
body .profile.lover .tabs a.on .n { color: inherit; opacity: .85; }
body .tabs a.lover-tab, body .profile.pro .tabs a.lover-tab { color: var(--lmv-link) !important; border-color: color-mix(in srgb, var(--lmv-link) 50%, transparent); }
body .v2-hero.goal-show .kicker, body .tag.garage, body .tag.ride, body .likebtn.on { color: var(--lmv-link); }
body .likebtn.on { border-color: var(--lmv-link); }
body .owner-bar .lbl { color: #d0d0d4; }
html body.th.th-light .owner-bar { background: var(--surface); } html body.th.th-light .owner-bar .lbl { color: var(--silver-dim); }
body .dim-star { opacity: 1; color: var(--silver-dim); }
html body.th.th-light .ok, html body.th.th-light b.ok { color: #0f6b38; }
body .rides-card { color: var(--silver-bright); }
body .v3-view .btn:not(.on) { color: var(--silver-bright); }
body .v3-view .btn.on { background: var(--lmv-accent); color: var(--lmv-on-accent); }
/* gentle nudge for accounts created before the phone was required (never blocks anything) */
.phone-nudge { max-width: 760px; margin: 10px auto 0; padding: 10px 14px; border-radius: 12px; font-size: .88rem; color: var(--silver); background: var(--surface); border: 1px solid color-mix(in srgb, var(--lmv-accent) 40%, var(--border)); }
/* "Docs on file" badge (routes/bizdocs.js): exact wording, with an inline "What this means" note. Never "Insured/Licensed/Verified". */
.docs-badge { display: inline-block; margin-left: 6px; vertical-align: middle; } .docs-badge > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.docs-badge > summary::-webkit-details-marker { display: none; }
.docs-badge-pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--silver-bright); background: var(--surface-2); }
.docs-badge-q { font-size: .78rem; color: var(--lmv-link); text-decoration: underline; }
.docs-badge p { margin: 6px 0 0; max-width: 320px; }
.docs-badge-ver{background:var(--lmv-accent,#e3122d);color:var(--lmv-on-accent,#fff)}
