/* ==========================================================================
   FormerCars — Design System (fc.css)
   Clean / minimal SaaS. Single accent. License-plate motif for VINs.
   Load this ONE file on every page. Retires: style.css, dash.css,
   NEWdash.css, front.css, app.min.css (admin theme), extras.css.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Palette — ink/paper neutrals + a single confident accent (signal blue),
     plus a registry green (found) and a muted amber (still out there). */
  --fc-ink:        #14181f;   /* near-black text */
  --fc-ink-soft:   #4a5260;   /* secondary text */
  --fc-ink-faint:  #8b94a3;   /* captions / meta */
  --fc-line:       #e6e9ef;   /* hairline borders */
  --fc-line-soft:  #f0f2f6;
  --fc-paper:      #ffffff;   /* cards */
  --fc-bg:         #f7f8fb;   /* page background */
  --fc-bg-tint:    #eef1f7;

  --fc-accent:     #2f6bff;   /* signal blue — the one bold color */
  --fc-accent-ink: #1d4fd6;   /* accent text/hover */
  --fc-accent-bg:  #eaf0ff;   /* accent wash */

  --fc-found:      #1f9d57;   /* registry green = "found / on the road" */
  --fc-found-bg:   #e7f6ee;
  --fc-lost:       #b8842a;   /* amber = "still searching" */
  --fc-lost-bg:    #fbf3e2;
  --fc-danger:     #d6453d;
  --fc-danger-bg:  #fdecea;

  /* Type — Sohne-like grotesk via system stack for body, a sharper display,
     and a true monospace for VINs/plates. (Swap display for a webfont if you
     load one; Space Grotesk pairs well and is the intended display face.) */
  --fc-font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --fc-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fc-font-mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* Scale */
  --fc-step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --fc-step-0:  clamp(0.94rem, 0.91rem + 0.15vw, 1rem);
  --fc-step-1:  clamp(1.12rem, 1.06rem + 0.3vw, 1.25rem);
  --fc-step-2:  clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --fc-step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.9rem);
  --fc-step-4:  clamp(2.5rem, 2rem + 2.6vw, 4.25rem);

  /* Space + shape */
  --fc-radius:    14px;
  --fc-radius-sm: 9px;
  --fc-radius-lg: 22px;
  --fc-shadow:    0 1px 2px rgba(20,24,31,.04), 0 8px 24px rgba(20,24,31,.06);
  --fc-shadow-lg: 0 12px 40px rgba(20,24,31,.12);
  --fc-ring:      0 0 0 3px var(--fc-accent-bg);
  --fc-pad:       clamp(1rem, 0.6rem + 2vw, 2rem);
  --fc-maxw:      1180px;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--fc-font-body);
  font-size: var(--fc-step-0);
  line-height: 1.6;
  color: var(--fc-ink);
  background: var(--fc-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--fc-accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

/* ---- Layout helpers ------------------------------------------------------ */
.fc-wrap { width: 100%; max-width: var(--fc-maxw); margin-inline: auto; padding-inline: var(--fc-pad); }
.fc-wrap--narrow { max-width: 760px; }
.fc-section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.fc-grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.75rem); }
@media (min-width: 720px) { .fc-grid--2 { grid-template-columns: 1fr 1fr; } .fc-grid--3 { grid-template-columns: repeat(3,1fr); } }
.fc-stack > * + * { margin-top: 1rem; }
.fc-cluster { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.fc-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--fc-font-display); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; color: var(--fc-ink); }
h1 { font-size: var(--fc-step-3); }
h2 { font-size: var(--fc-step-2); }
h3 { font-size: var(--fc-step-1); }
.fc-display { font-size: var(--fc-step-4); font-weight: 600; letter-spacing: -.03em; }
.fc-eyebrow {
  font-family: var(--fc-font-mono);
  font-size: var(--fc-step--1);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--fc-accent-ink);
  font-weight: 500;
}
.fc-lead { font-size: var(--fc-step-1); color: var(--fc-ink-soft); line-height: 1.5; }
.fc-meta { font-size: var(--fc-step--1); color: var(--fc-ink-faint); }
.text-soft { color: var(--fc-ink-soft); }
.text-faint { color: var(--fc-ink-faint); }

/* ---- The VIN plate (signature element) ----------------------------------
   VINs render like a stamped registry plate: mono, tracked, embossed edge. */
.fc-plate {
  display: inline-flex;
  align-items: center;
  gap: .5ch;
  font-family: var(--fc-font-mono);
  font-weight: 600;
  font-size: var(--fc-step-0);
  letter-spacing: .12em;
  color: var(--fc-ink);
  background: linear-gradient(180deg, #fff, #f3f5f9);
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius-sm);
  padding: .42em .7em;
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(20,24,31,.05);
  white-space: nowrap;
}
.fc-plate--lg { font-size: var(--fc-step-1); padding: .55em .9em; }
.fc-plate__pin { width: 6px; height: 6px; border-radius: 50%; background: var(--fc-line); box-shadow: inset 0 1px 1px rgba(0,0,0,.15); }

/* ---- Buttons ------------------------------------------------------------- */
.fc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5ch;
  font-weight: 600; font-size: var(--fc-step-0);
  padding: .68em 1.1em; border-radius: var(--fc-radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: .16s ease;
  text-decoration: none; line-height: 1;
}
.fc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.fc-btn:active { transform: translateY(0); }
.fc-btn:focus-visible { outline: none; box-shadow: var(--fc-ring); }
.fc-btn--primary { background: var(--fc-accent); color: #fff; box-shadow: 0 6px 16px rgba(47,107,255,.28); }
.fc-btn--primary:hover { background: var(--fc-accent-ink); color: #fff; }
.fc-btn--ghost { background: var(--fc-paper); color: var(--fc-ink); border-color: var(--fc-line); }
.fc-btn--ghost:hover { border-color: var(--fc-ink-faint); color: var(--fc-ink); }
.fc-btn--quiet { background: transparent; color: var(--fc-ink-soft); padding-inline: .5em; }
.fc-btn--quiet:hover { color: var(--fc-ink); }
.fc-btn--sm { padding: .45em .8em; font-size: var(--fc-step--1); }
.fc-btn--danger { background: var(--fc-danger-bg); color: var(--fc-danger); }

/* ---- Cards --------------------------------------------------------------- */
.fc-card {
  background: var(--fc-paper);
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
}
.fc-card__body { padding: clamp(1.1rem, .8rem + 1vw, 1.75rem); }
.fc-card--pad { padding: clamp(1.1rem, .8rem + 1vw, 1.75rem); }
.fc-card--hover { transition: .18s ease; }
.fc-card--hover:hover { transform: translateY(-3px); box-shadow: var(--fc-shadow-lg); border-color: #d6dbe6; }

/* ---- Vehicle card (garage) ----------------------------------------------- */
.fc-vehicle { display: flex; flex-direction: column; overflow: hidden; }
.fc-vehicle__photo {
  aspect-ratio: 16 / 10; background: var(--fc-bg-tint) center/cover no-repeat;
  display: grid; place-items: center; color: var(--fc-ink-faint);
  border-bottom: 1px solid var(--fc-line);
}
.fc-vehicle__photo svg { width: 44px; height: 44px; opacity: .5; }
.fc-vehicle__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.fc-vehicle__title { font-family: var(--fc-font-display); font-size: var(--fc-step-1); font-weight: 600; letter-spacing: -.01em; }
.fc-vehicle__title small { font-weight: 400; color: var(--fc-ink-faint); font-size: .8em; }
.fc-vehicle__links { display: flex; gap: .4rem; margin-top: auto; }

/* ---- Status badges ------------------------------------------------------- */
.fc-badge {
  display: inline-flex; align-items: center; gap: .4ch;
  font-family: var(--fc-font-mono); font-size: var(--fc-step--1);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 500;
  padding: .3em .65em; border-radius: 100px;
}
.fc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fc-badge--found { color: var(--fc-found); background: var(--fc-found-bg); }
.fc-badge--lost  { color: var(--fc-lost);  background: var(--fc-lost-bg); }
.fc-badge--public { color: var(--fc-accent-ink); background: var(--fc-accent-bg); }
.fc-badge--private { color: var(--fc-ink-soft); background: var(--fc-line-soft); }

/* search-engine pill links on a vehicle */
.fc-searchlink {
  font-size: var(--fc-step--1); font-weight: 600; padding: .4em .7em;
  border-radius: var(--fc-radius-sm); border: 1px solid var(--fc-line);
  background: var(--fc-paper); color: var(--fc-ink-soft); transition: .15s;
}
.fc-searchlink:hover { border-color: var(--fc-accent); color: var(--fc-accent-ink); text-decoration: none; background: var(--fc-accent-bg); }

/* ---- Forms --------------------------------------------------------------- */
.fc-field { display: block; margin-bottom: 1.1rem; }
.fc-field > label { display: block; font-weight: 600; font-size: var(--fc-step--1); margin-bottom: .4rem; color: var(--fc-ink); }
.fc-input, .fc-select, .fc-textarea {
  width: 100%; font: inherit; color: var(--fc-ink);
  background: var(--fc-paper); border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius-sm); padding: .7em .85em; transition: .15s;
}
.fc-input:focus, .fc-select:focus, .fc-textarea:focus { outline: none; border-color: var(--fc-accent); box-shadow: var(--fc-ring); }
.fc-input--vin { font-family: var(--fc-font-mono); letter-spacing: .12em; text-transform: uppercase; }
.fc-help { font-size: var(--fc-step--1); color: var(--fc-ink-faint); margin-top: .35rem; }

/* ---- Alerts -------------------------------------------------------------- */
.fc-alert { padding: .85em 1em; border-radius: var(--fc-radius-sm); font-size: var(--fc-step-0); border: 1px solid transparent; }
.fc-alert--error { background: var(--fc-danger-bg); color: #8a2a24; border-color: #f3c6c2; }
.fc-alert--ok    { background: var(--fc-found-bg); color: #135c33; border-color: #b9e3cb; }
.fc-alert--info  { background: var(--fc-accent-bg); color: var(--fc-accent-ink); border-color: #cbdcff; }

/* ---- Stat strip ---------------------------------------------------------- */
.fc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--fc-line); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); overflow: hidden; }
.fc-stat { background: var(--fc-paper); padding: 1.1rem 1.25rem; }
.fc-stat__num { font-family: var(--fc-font-display); font-size: var(--fc-step-2); font-weight: 600; letter-spacing: -.02em; }
.fc-stat__label { font-size: var(--fc-step--1); color: var(--fc-ink-faint); text-transform: uppercase; letter-spacing: .06em; }

/* ---- Site header / nav --------------------------------------------------- */
.fc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--fc-line); }
.fc-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.fc-nav__brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--fc-font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--fc-ink); }
.fc-nav__brand:hover { text-decoration: none; }
.fc-nav__links { display: none; gap: 1.4rem; align-items: center; }
.fc-nav__links a { color: var(--fc-ink-soft); font-weight: 500; font-size: var(--fc-step-0); }
.fc-nav__links a:hover { color: var(--fc-ink); text-decoration: none; }
.fc-nav__cta { display: flex; gap: .5rem; align-items: center; }
@media (min-width: 880px) { .fc-nav__links { display: flex; } }

/* ---- Footer -------------------------------------------------------------- */
.fc-footer { border-top: 1px solid var(--fc-line); background: var(--fc-paper); padding-block: 2.5rem; margin-top: 4rem; }
.fc-footer a { color: var(--fc-ink-soft); }
.fc-footer__cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .fc-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---- Hero (homepage) ----------------------------------------------------- */
.fc-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 8vw, 7rem); }
.fc-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) { .fc-hero__grid { grid-template-columns: 1.05fr .95fr; } }
/* faint registry-grid backdrop = the "world of VINs" */
.fc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--fc-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--fc-line-soft) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(120% 80% at 70% 10%, #000 30%, transparent 75%);
  opacity: .8;
}

/* ---- Utilities ----------------------------------------------------------- */
.fc-divider { height: 1px; background: var(--fc-line); border: 0; margin-block: 1.5rem; }
.fc-pill { display:inline-flex; align-items:center; gap:.4ch; font-size: var(--fc-step--1); font-weight:600; color: var(--fc-ink-soft); background: var(--fc-bg-tint); padding:.3em .7em; border-radius:100px; }
.fc-skip { position:absolute; left:-9999px; }
.fc-skip:focus { left:1rem; top:1rem; z-index:100; background:#fff; padding:.6em 1em; border-radius:8px; box-shadow:var(--fc-shadow); }
.text-center { text-align:center; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}

/* ---- Auth pages (login / register / forgot / reset) ---------------------- */
.fc-auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: clamp(2rem, 1rem + 5vw, 5rem) var(--fc-pad); }
.fc-auth__card { width: 100%; max-width: 420px; }
.fc-auth__head { text-align: center; margin-bottom: 1.5rem; }
.fc-auth__head h1 { font-size: var(--fc-step-2); }
.fc-auth__foot { text-align: center; margin-top: 1.25rem; font-size: var(--fc-step-0); color: var(--fc-ink-soft); }

/* ---- Legal / long-form content pages ------------------------------------ */
.fc-legal { max-width: 760px; }
.fc-legal h2 { font-size: var(--fc-step-1); margin-top: 2.25rem; margin-bottom: .5rem; }
.fc-legal p, .fc-legal li { color: var(--fc-ink-soft); }
.fc-legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-top: .5rem; }
.fc-legal__meta { font-family: var(--fc-font-mono); font-size: var(--fc-step--1); color: var(--fc-ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.fc-note { background: var(--fc-accent-bg); border: 1px solid #cbdcff; border-radius: var(--fc-radius-sm); padding: .85em 1em; color: var(--fc-accent-ink); font-size: var(--fc-step-0); }

/* ---- Resource articles --------------------------------------------------- */
.fc-article { max-width: 760px; margin-inline: auto; }
.fc-article__hero { padding-block: clamp(2.5rem,1.5rem+5vw,4.5rem); border-bottom: 1px solid var(--fc-line); margin-bottom: 2.5rem; }
.fc-article h2 { font-size: var(--fc-step-1); margin-top: 2rem; margin-bottom: .5rem; }
.fc-article h3 { font-size: var(--fc-step-1); }
.fc-article p { color: var(--fc-ink-soft); margin-bottom: 1rem; }
.fc-article p.text-muted { color: var(--fc-ink-soft); }
.fc-article img { border-radius: var(--fc-radius); margin: 1.5rem 0; border: 1px solid var(--fc-line); }
.fc-article .article-img-right { float: none; }
.fc-breadcrumb { font-size: var(--fc-step--1); color: var(--fc-ink-faint); margin-bottom: 1.5rem; list-style: none; padding: 0; display: flex; gap: .5ch; flex-wrap: wrap; }
.fc-breadcrumb a { color: var(--fc-ink-soft); }
/* Map legacy resource classes onto the new system so article bodies look right */
.fc-article .resource-cta { background: var(--fc-accent-bg); border: 1px solid #cbdcff; border-radius: var(--fc-radius); padding: 1.5rem; margin-top: 2.5rem; }
.fc-article .resource-cta h3 { margin-top: 0; }
.fc-article .resource-cta__buttons { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.fc-article .btn-main { display:inline-flex; background: var(--fc-accent); color:#fff; padding:.6em 1.1em; border-radius: var(--fc-radius-sm); font-weight:600; text-decoration:none; }
.fc-article .btn-ghost { display:inline-flex; background:var(--fc-paper); color:var(--fc-ink); border:1px solid var(--fc-line); padding:.6em 1.1em; border-radius: var(--fc-radius-sm); font-weight:600; text-decoration:none; }
.fc-resource-grid { display:grid; gap:1.25rem; grid-template-columns:1fr; }
@media(min-width:640px){ .fc-resource-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:960px){ .fc-resource-grid{ grid-template-columns:1fr 1fr 1fr; } }
.resource-card{ display:block; background:var(--fc-paper); border:1px solid var(--fc-line); border-radius:var(--fc-radius); padding:1.4rem; box-shadow:var(--fc-shadow); transition:.18s; text-decoration:none; color:inherit; }
.resource-card:hover{ transform:translateY(-3px); box-shadow:var(--fc-shadow-lg); border-color:#d6dbe6; }
.resource-card__eyebrow{ font-family:var(--fc-font-mono); font-size:var(--fc-step--1); text-transform:uppercase; letter-spacing:.12em; color:var(--fc-accent-ink); }
.resource-card h3{ font-size:var(--fc-step-1); margin:.5rem 0; }
.resource-card p{ color:var(--fc-ink-soft); font-size:var(--fc-step-0); }
.resource-card__link{ color:var(--fc-accent-ink); font-weight:600; font-size:var(--fc-step-0); }

/* ---- Account dropdown menu (header) -------------------------------------- */
.fc-menu { position: relative; }
.fc-menu__trigger { list-style: none; cursor: pointer; user-select: none; }
.fc-menu__trigger::-webkit-details-marker { display: none; }
.fc-menu[open] .fc-menu__trigger svg { transform: rotate(180deg); }
.fc-menu__trigger svg { transition: transform .15s ease; }
.fc-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 220px; background: var(--fc-paper);
  border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow-lg); padding: .4rem; animation: fcMenuIn .12s ease;
}
@keyframes fcMenuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fc-menu__item {
  display: block; padding: .55rem .7rem; border-radius: var(--fc-radius-sm);
  color: var(--fc-ink); font-size: var(--fc-step-0); font-weight: 500; text-decoration: none;
}
.fc-menu__item:hover { background: var(--fc-bg-tint); text-decoration: none; }
.fc-menu__item--danger { color: var(--fc-danger); }
.fc-menu__item--danger:hover { background: var(--fc-danger-bg); }
.fc-menu__sep { height: 1px; background: var(--fc-line); margin: .35rem .2rem; }
.fc-menu__meta { padding: .3rem .7rem; font-size: var(--fc-step--1); color: var(--fc-ink-faint); font-family: var(--fc-font-mono); text-transform: uppercase; letter-spacing: .06em; }

/* ---- Checkbox rows: box to the LEFT, aligned to first line --------------- */
.fc-check-row { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; }
.fc-check-row > input[type="checkbox"] {
  flex: 0 0 auto; width: 18px; height: 18px; margin: 0; margin-top: .15rem;
  accent-color: var(--fc-accent); cursor: pointer;
}
.fc-check-row > span { flex: 1; }

/* ---- Placeholder photo (no image uploaded) ------------------------------- */
.fc-vehicle__photo--placeholder { position: relative; flex-direction: column; gap: .5rem; padding: 1rem; text-align: center; }
.fc-vehicle__photo-label { font-family: var(--fc-font-display); font-weight: 600; font-size: var(--fc-step-0); letter-spacing: -.01em; line-height: 1.2; }

/* ---- Status row (label + badge under the VIN) ---------------------------- */
.fc-status-row { display: flex; align-items: center; gap: .5ch; margin-top: .2rem; }
.fc-status-row__label { font-size: var(--fc-step--1); color: var(--fc-ink-faint); font-weight: 500; }

/* ---- Public profile header (avatar + name/bio/pills) --------------------- */
.fc-profile-head {
  display: flex;
  align-items: center;          /* avatar vertically centered against the text */
  gap: 1.25rem;
  flex-wrap: nowrap;            /* avatar stays beside text, never wraps below */
  margin-bottom: 2.75rem;
  padding-bottom: .5rem;
}
.fc-profile-head__avatar {
  flex: 0 0 auto;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--fc-line);
  object-fit: cover;
}
.fc-profile-head__body { min-width: 0; }   /* lets long text wrap instead of overflowing */
@media (max-width: 520px) {
  .fc-profile-head { gap: .9rem; }
  .fc-profile-head__avatar { width: 56px; height: 56px; }
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.fc-admin { display: flex; min-height: 100vh; background: var(--fc-bg); }
.fc-admin__sidebar {
  width: 230px; flex: 0 0 230px; background: var(--fc-paper);
  border-right: 1px solid var(--fc-line); padding: 1.25rem 1rem;
  display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 0; height: 100vh;
}
.fc-admin__brand { display: flex; align-items: center; gap: .5rem; font-family: var(--fc-font-display); font-weight: 700; font-size: 1.05rem; color: var(--fc-ink); text-decoration: none; }
.fc-admin__brand:hover { text-decoration: none; }
.fc-admin__brand-tag { font-family: var(--fc-font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; background: var(--fc-accent-bg); color: var(--fc-accent-ink); padding: .15em .5em; border-radius: 5px; }
.fc-admin__nav { display: flex; flex-direction: column; gap: .15rem; }
.fc-admin__navlink {
  display: block; padding: .55rem .7rem; border-radius: var(--fc-radius-sm);
  color: var(--fc-ink-soft); font-weight: 500; font-size: var(--fc-step-0); text-decoration: none;
}
.fc-admin__navlink:hover { background: var(--fc-bg-tint); color: var(--fc-ink); text-decoration: none; }
.fc-admin__navlink--active { background: var(--fc-accent-bg); color: var(--fc-accent-ink); }
.fc-admin__navlink--danger { color: var(--fc-danger); }
.fc-admin__navlink--danger:hover { background: var(--fc-danger-bg); }
.fc-admin__sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid var(--fc-line); padding-top: 1rem; }
.fc-admin__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fc-admin__topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.75rem; border-bottom: 1px solid var(--fc-line); background: var(--fc-paper); }
.fc-admin__title { font-size: var(--fc-step-2); margin: 0; }
.fc-admin__content { padding: 1.75rem; flex: 1; }

/* Admin stat cards */
.fc-admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; margin-bottom: 1.75rem; }

/* Admin table */
.fc-table-wrap { background: var(--fc-paper); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); overflow-x: auto; box-shadow: var(--fc-shadow); }
.fc-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fc-table th { text-align: left; padding: .85rem 1rem; font-size: var(--fc-step--1); font-weight: 600; color: var(--fc-ink-soft); border-bottom: 1px solid var(--fc-line); white-space: nowrap; }
.fc-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--fc-line-soft); font-size: var(--fc-step-0); vertical-align: middle; }
.fc-table tr:last-child td { border-bottom: 0; }
.fc-table tr:hover td { background: var(--fc-bg); }
.fc-table .text-end { text-align: right; }

/* Admin search bar */
.fc-admin__search { display: flex; gap: .5rem; margin-bottom: 1.25rem; max-width: 460px; }

/* Role / status chips reuse fc-badge; add neutral admin chip */
.fc-chip { display: inline-flex; align-items: center; font-family: var(--fc-font-mono); font-size: var(--fc-step--1); padding: .25em .6em; border-radius: 100px; background: var(--fc-bg-tint); color: var(--fc-ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.fc-chip--admin { background: var(--fc-accent-bg); color: var(--fc-accent-ink); }

@media (max-width: 760px) {
  .fc-admin { flex-direction: column; }
  .fc-admin__sidebar { width: 100%; flex: none; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .75rem; }
  .fc-admin__nav { flex-direction: row; }
  .fc-admin__sidebar-foot { margin-top: 0; border-top: 0; padding-top: 0; flex-direction: row; }
}

/* ---- Google sign-in button + divider ------------------------------------ */
.fc-btn--google {
  background: #fff; color: #14181f; border: 1px solid var(--fc-line);
  font-weight: 600; width: 100%; gap: .6rem;
}
.fc-btn--google:hover { background: var(--fc-bg); border-color: var(--fc-ink-faint); color: #14181f; }
.fc-btn--google svg { width: 18px; height: 18px; flex: 0 0 auto; }
.fc-or { display: flex; align-items: center; gap: .9rem; margin: 1.1rem 0; color: var(--fc-ink-faint); font-size: var(--fc-step--1); }
.fc-or::before, .fc-or::after { content: ""; flex: 1; height: 1px; background: var(--fc-line); }

/* ---- Share row (VIN / garage pages) ------------------------------------- */
.fc-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.fc-share__label { font-size: var(--fc-step--1); color: var(--fc-ink-faint); font-weight: 500; margin-right: .15rem; }
.fc-share__btn {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  padding: .5rem .8rem; border-radius: var(--fc-radius-sm);
  border: 1px solid var(--fc-line); background: var(--fc-paper);
  font-size: var(--fc-step--1); font-weight: 600; color: var(--fc-ink); text-decoration: none;
}
.fc-share__btn:hover { background: var(--fc-bg-tint); text-decoration: none; }
.fc-share__btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.fc-share__btn--fb { color: #1877f2; border-color: #cfe0fd; }
.fc-share__btn--fb:hover { background: #eef5ff; }

/* ---- Garage timeline (cars by model year) ------------------------------- */
.fc-timeline { margin: 0 0 2.5rem; }
.fc-timeline__head { margin-bottom: 1.5rem; }
.fc-timeline__head h2 { margin: .1rem 0; }
.fc-timeline__track {
  position: relative; height: 56px; margin: 0 1rem;
  min-width: 280px;
}
.fc-timeline__line {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: var(--fc-line); border-radius: 2px;
}
.fc-timeline__dot {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid var(--fc-paper);
  text-decoration: none; z-index: 1;
  box-shadow: 0 0 0 1px var(--fc-line);
  transition: transform .12s ease;
}
.fc-timeline__dot.is-found    { background: var(--fc-found, #1a8d4f); }
.fc-timeline__dot.is-searching{ background: var(--fc-lost, #c08a2a); }
.fc-timeline__dot:hover { transform: translate(-50%, -50%) scale(1.3); z-index: 3; }
.fc-timeline__tip {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--fc-ink); color: #fff; padding: .45rem .65rem; border-radius: var(--fc-radius-sm);
  font-size: var(--fc-step--1); line-height: 1.35; white-space: nowrap;
  display: none; flex-direction: column; align-items: center; z-index: 4;
  box-shadow: var(--fc-shadow); text-align: center;
}
.fc-timeline__tip span { font-size: var(--fc-step--2); opacity: .8; }
.fc-timeline__dot:hover .fc-timeline__tip,
.fc-timeline__dot:focus .fc-timeline__tip { display: flex; }

@media (max-width: 640px) {
  .fc-timeline__track { overflow-x: auto; overflow-y: visible; min-width: 0; }
  .fc-timeline__tip { white-space: normal; max-width: 160px; }
}
