:root {
  /* Navy + gold to match the logo. The old red theme is saved in
     greezypaws-automotive-originals/logos-oct28/styles-red-theme-backup.css */
  --ink: #0f1a2e;          /* logo navy */
  --ink-2: #14213a;
  --steel: #22355a;
  --paper: #f7f3ea;        /* logo cream, lightened */
  --card: #ffffff;
  --text: #17202f;
  --muted: #586172;
  --line: #e0d8c6;
  --accent: #c9a24a;       /* logo gold */
  --accent-dark: #7d5f1e;  /* gold dark enough for links on cream */
  --accent-ink: #0f1a2e;   /* text on gold */
  --gold-light: #e2c37a;   /* gold text on navy */
  --chrome: #d9d2bf;
  --ok: #2f7d4f;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }

/* placeholders (preview only) */
mark.ph { background: #ffe066; color: #3a2e00; padding: 0 .2em; border-radius: 3px; }
.preview-bar { background: #ffe066; color: #3a2e00; font-size: .85rem; font-weight: 600; text-align: center; padding: 6px 16px; }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  text-decoration: none; border: 2px solid var(--accent); border-radius: 8px;
  padding: .8em 1.4em; font-size: 1rem; cursor: pointer; font-family: inherit; text-align: center;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn .ph { font-weight: 700; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-small { padding: .45em 1em; font-size: .92rem; }
.btn-wide { width: 100%; font-size: 1.1rem; }
.link-arrow { font-weight: 700; }
.link-arrow::after { content: " →"; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--ink); color: #fff; border-bottom: 3px solid var(--accent); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: Oswald, sans-serif; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.brand img { width: 84px; height: 42px; object-fit: contain; }
@media (max-width: 420px) { .brand { gap: 6px; } .brand img { width: 60px; height: 30px; } .brand span { font-size: .95rem; } .top-call { padding: .4em .8em; } }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #d7d9dc; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
@media (max-width: 760px) {
  .top-inner { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .top-call { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 8px; padding: 6px 0 8px; }
  .nav a { font-size: .95rem; }
}

/* hero */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,74,.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--steel) 100%);
  color: #fff; padding: 32px 0 44px;
}
.hero-inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.hero-banner { width: 100%; max-width: 900px; height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,.45)); }
.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.hero .hero-actions { justify-content: center; }
.eyebrow { color: var(--chrome); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: .4em; }
.lead { font-size: 1.15rem; color: inherit; opacity: .9; max-width: 36em; margin-left: auto; margin-right: auto; }
.page-head .lead { margin-left: 0; }
.tagline { font-style: italic; color: var(--gold-light); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.hero-hours { color: var(--chrome); margin: 0; }
@media (max-width: 760px) {
  .hero { padding: 18px 0 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

.page-head { background: linear-gradient(160deg, var(--ink) 0%, var(--steel) 100%); color: #fff; padding: 40px 0 32px; border-bottom: 4px solid var(--accent); }
.page-head .hero-actions { margin-bottom: 0; }

/* sections */
.section { padding: 52px 0; }
.section-alt { background: #efe8d8; }
.section-dark { background: var(--ink-2); color: #e8e9eb; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* services */
.svc-mini { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.svc-mini li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; font-weight: 700; }
.services { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.services li { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 18px; }
.services h3 { margin-bottom: .3em; }
.services p { margin: 0; color: var(--muted); }
.callout { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }

/* video */
.video-split { grid-template-columns: 1fr minmax(240px, 340px); }
.video-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-btn {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(15,26,46,.88); color: #fff; border: 2px solid var(--accent); border-radius: 999px;
  padding: 10px 18px; font: 700 .95rem Inter, sans-serif; cursor: pointer; white-space: nowrap;
}
.sound-btn:hover { background: var(--accent); color: var(--accent-ink); }
.sound-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) { .video-split { grid-template-columns: 1fr; } .video-card { max-width: 340px; width: 100%; margin: 0 auto; } }

/* job spotlight */
.section-dark .eyebrow { color: var(--gold-light); }
.job-top { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: 32px; align-items: start; margin-bottom: 24px; }
.job-story { margin: 0; }
.job-story dt { font-family: Oswald, sans-serif; text-transform: uppercase; color: var(--gold-light); font-size: 1.05rem; letter-spacing: .03em; }
.job-story dd { margin: 0 0 14px; color: #e8e9eb; }
/* Home page: the spotlight on a light background */
.job-light .eyebrow { color: var(--accent-dark); }
.job-light .job-story dt { color: var(--accent-dark); }
.job-light .job-story dd { color: var(--text); }
.small-lead { margin: 0; opacity: .8; font-size: .95rem; }
/* Spotlight clips with sound: two wide videos side by side, stacked on phones */
.job-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 24px; }
.video-card.job-clip { aspect-ratio: 16 / 9; max-width: none; width: 100%; }
.job-clip figcaption {
  position: absolute; left: 8px; top: 8px; background: rgba(15,26,46,.88); color: #fff;
  border-left: 3px solid var(--accent); padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: .9rem;
}
@media (max-width: 760px) { .job-videos { grid-template-columns: 1fr; } .video-card.job-clip { max-width: none; margin: 0; } }
.job-video { aspect-ratio: 540 / 710; }
.job-video figcaption {
  position: absolute; left: 8px; bottom: 8px; background: rgba(15,26,46,.88); color: #fff;
  border-left: 3px solid var(--accent); padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: .9rem;
}
.gallery.portrait { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1000px) { .gallery.portrait { grid-template-columns: repeat(6, 1fr); } }
.gallery.portrait figure { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .job-top { grid-template-columns: 1fr; } .job-video { max-width: 320px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .gallery.portrait { grid-template-columns: repeat(2, 1fr); } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ink-2); }
.gallery figure { position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 8px; bottom: 8px; background: rgba(15,26,46,.88); color: #fff;
  border-left: 3px solid var(--accent); padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: .9rem;
}
.gallery[data-list="shopPhotos"] { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .gallery[data-list="shopPhotos"] { grid-template-columns: 1fr; } }
.gallery .fit-contain { background: var(--ink-2); }
.gallery .fit-contain img { object-fit: contain; }
.photo-todo { display: grid; place-items: center; text-align: center; border: 2px dashed #999; background: #f0eee9 !important; color: var(--muted); font-size: .9rem; padding: 12px; }

/* contact strip */
.strip { background: var(--accent); color: var(--accent-ink); padding: 34px 0; }
.strip h2 { margin-bottom: .2em; }
.strip p { margin: 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.strip .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.strip .btn:hover { background: var(--steel); border-color: var(--steel); }
.strip .btn-ghost { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }
.strip .btn-ghost:hover { background: rgba(15,26,46,.1); color: var(--accent-ink); }

/* form */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 6px; overflow-wrap: anywhere; }

label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400;
  padding: 11px 12px; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; gap: 0; } .row3 { grid-template-columns: 1fr 1fr; gap: 0 10px; } .row3 label:first-child { grid-column: 1 / -1; } }
.radio-row { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.radio-row legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; width: 100%; }
label.inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; }
label.inline input { width: auto; margin: 0; }
.form-error { background: #fde8e6; color: #8a1c10; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.confirm { background: var(--card); border: 2px solid var(--ok); border-radius: var(--radius); padding: 22px; }
.confirm h3 { color: var(--ok); }
.preview-note { background: #fff6cc; border-radius: 8px; padding: 8px 12px; font-size: .9rem; }

/* schedule */
.booking fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.booking fieldset[disabled] { opacity: .55; }
.booking legend { font-family: Oswald, sans-serif; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.step { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: .85em; margin-right: .3em; }
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.chip { background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 10px 6px; font: inherit; font-weight: 600; text-align: center; cursor: pointer; color: var(--text); line-height: 1.25; }
.chip small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.chip:hover { border-color: var(--accent); }
.chip[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-checked="true"] small { color: var(--gold-light); }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.week-label { grid-column: 1 / -1; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.radio-label { font-weight: 600; font-size: .95rem; }
.booking .radio-row { margin-bottom: 12px; align-items: center; }
.schedule-alt { margin-top: 24px; }
.link-light { color: var(--gold-light); font-weight: 700; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-dark); font-size: 1.3em; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* warranty */
.warranty-term { font-family: Oswald, sans-serif; font-size: 1.6rem; text-transform: uppercase; border-left: 5px solid var(--accent); padding: 8px 14px; background: var(--card); }
.warranty-detail { font-weight: 700; margin-top: -.4em; }
.warranty h2 { font-size: 1.4rem; margin-top: 1.4em; }
.warranty ul { padding-left: 1.2em; }
.warranty li { margin-bottom: 6px; }

/* footer */
.foot { background: var(--ink); color: #a9adb3; padding: 32px 0 20px; font-size: .92rem; border-top: 3px solid var(--accent); }
.foot a { color: #fff; }
.foot strong { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.foot-copy { margin-top: 20px; font-size: .82rem; }

/* phone quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--ink); border-top: 2px solid var(--accent);
  }
  .mobile-bar a { color: #fff; text-align: center; text-decoration: none; font-weight: 700; padding: 16px 4px; }
  .mobile-bar a:last-child { background: var(--accent); color: var(--accent-ink); }
}

/* ---------- accounts + shop inbox ---------- */
.signin { max-width: 440px; margin: 0 auto; }
.signin h2 { margin-bottom: .3em; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent-dark); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dash-top p { margin: 0; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs [role=tab] { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 12px; font: 600 .95rem Inter, sans-serif; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs [role=tab][aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 14px; line-height: 1.4; }
.bubble-mine { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble-theirs { align-self: flex-start; background: #efe8d8; border-bottom-left-radius: 4px; }
.bubble-system { align-self: center; background: transparent; border: 1px dashed var(--line); color: var(--muted); font-size: .9rem; max-width: 95%; text-align: center; }
.bubble-meta { font-size: .72rem; opacity: .7; margin-bottom: 2px; }
.bubble-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble-img { max-width: 220px; max-height: 220px; border-radius: 8px; margin-top: 6px; }
.bubble-file { display: inline-block; margin-top: 6px; color: inherit; }
.composer { margin-top: 10px; }
.composer textarea { margin: 0 0 8px; }
.composer-row { display: flex; align-items: center; gap: 10px; }
.composer-row .btn { margin-left: auto; }
.attach { display: inline-flex; align-items: center; margin: 0; cursor: pointer; font-weight: 600; color: var(--accent-dark); }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 0; }
.quick-chip { white-space: nowrap; font-size: .85rem; padding: 6px 10px; }
.rec { margin-bottom: 10px; }
.rec p { margin: 4px 0 0; }
.rec-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
a.doc { display: block; text-decoration: none; color: inherit; }
a.doc:hover { border-color: var(--accent); }
.status { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.st-wait { background: #fff1c7; color: #6b4e00; }
.st-ok { background: #dcefe3; color: #1d5b36; }
.st-work { background: #dde6f5; color: #1f3a6b; }
.st-done { background: #ece7da; color: #4c4430; }
.st-off { background: #f0dddd; color: #7a2323; }
.repairs { padding-left: 1.1em; margin: 8px 0 0; }
.repairs li { margin-bottom: 8px; }
.warranty-line { color: var(--ok); font-weight: 600; }
.add-box { margin-top: 14px; }
.add-box > summary { color: var(--accent-dark); }
.add-box form { padding: 4px 18px 16px; }
.status-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.status-buttons .chip { padding: 6px 10px; font-size: .85rem; }
.chip-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.shop-body { background: var(--paper); padding-bottom: 0; }
.shop-body .top-inner { flex-wrap: wrap; }
.shop-tools { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.shop-main { padding: 16px 0 40px; }
.shop { display: grid; grid-template-columns: 340px 1fr; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.shop-list { min-width: 0; }
.list-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.list-tools input { margin: 0; }
.mini-form { display: grid; gap: 6px; margin-bottom: 10px; padding: 12px; }
.mini-form input { margin: 0; }
.cust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.cust { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--text); }
.cust:hover, .cust.active { border-color: var(--accent); }
.cust.active { box-shadow: inset 4px 0 0 var(--accent); }
.cust.unread strong { color: var(--ink); }
.cust-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cust-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 1px 7px; }
.loose { margin-bottom: 10px; padding: 12px; border-color: var(--accent); }
.loose-item { border-top: 1px solid var(--line); padding: 8px 0; }
.loose-actions { display: flex; gap: 14px; margin-top: 4px; }
.shop-detail { min-width: 0; background: transparent; }
.empty-detail { margin-top: 60px; }
.detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.detail-head h2 { margin: 0; font-size: 1.6rem; }
.detail-head p { margin: 0; overflow-wrap: anywhere; }
.back-btn { display: none; }
.outbox { border: 0; border-radius: var(--radius); max-width: 640px; width: calc(100% - 32px); padding: 20px; }
.outbox::backdrop { background: rgba(15,26,46,.6); }
.outbox-row { border-top: 1px solid var(--line); padding: 8px 0; }
.status-text { color: var(--accent-dark); font-weight: 600; }
@media (max-width: 820px) {
  .shop { grid-template-columns: 1fr; }
  .showing-detail .shop-list { display: none; }
  body:not(.showing-detail) .shop-detail { display: none; }
  .back-btn { display: inline-block; }
  .shop-tools .btn { font-size: .8rem; padding: .4em .7em; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.top-account { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.top-account:hover, .top-account[aria-current="page"] { color: var(--gold-light); }
@media (min-width: 761px) { .top-account { margin-left: 4px; } }
@media (max-width: 760px) { .top-account { margin-left: auto; font-size: .9rem; } .top-account + .top-call { margin-left: 10px; } }
[hidden] { display: none !important; }
.list-tools .btn { white-space: nowrap; }
/* Small phones: logo badge only (it already says Greezypaws Automotive), so Account + Text fit on one line. */
@media (max-width: 420px) {
  .top .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top .brand img { width: 84px; height: 42px; }
}
.quick { scrollbar-width: thin; }
.problem-box { font-size: 1.05rem; }
.problem-box .hint { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.problem-box textarea { min-height: 150px; }
/* Home: the Camaro and its engine side by side */
.gallery.photo-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery.photo-pair figure { aspect-ratio: 4 / 5; }
.gallery.photo-pair figcaption { font-size: .8rem; }

/* Work page + photo viewer */
.gallery figure:not(.photo-todo) { cursor: zoom-in; }
.gallery figure:not(.photo-todo):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.work-gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
body.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,22,.98); display: grid; grid-template-rows: 1fr auto auto; padding: 56px 12px 16px; }
.viewer[hidden] { display: none !important; }
.viewer-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; min-height: 0; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .2s ease; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.viewer.zoomed .viewer-stage img { cursor: grab; transition: none; }
.viewer-caption { color: #fff; text-align: center; font-weight: 600; margin: 10px 0 0; }
.viewer-hint { color: var(--chrome); text-align: center; font-size: .85rem; margin: 2px 0 0; }
.viewer.zoomed .viewer-hint { visibility: hidden; }
.viewer button { position: absolute; z-index: 2; background: rgba(15,26,46,.85); color: #fff; border: 2px solid var(--accent); border-radius: 999px; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.viewer button:hover { background: var(--accent); color: var(--accent-ink); }
.viewer-close { top: 10px; right: 12px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer.zoomed .viewer-prev, .viewer.zoomed .viewer-next { display: none; }
@media (max-width: 600px) { .viewer-prev, .viewer-next { top: auto; bottom: 64px; transform: none; } }
.see-all { margin-top: 16px; }
/* Seven menu tabs: tighten on mid-size screens, wrap to two neat rows on phones */
@media (max-width: 1080px) and (min-width: 761px) { .nav { gap: 14px; } .nav a { font-size: .9rem; } .brand span { font-size: 1rem; } }
@media (max-width: 760px) { .nav { flex-wrap: wrap; justify-content: center; gap: 2px 16px; } }
.nav a { white-space: nowrap; }
/* Tablet widths: logo badge only (it already says Greezypaws Automotive) so all seven tabs fit */
@media (min-width: 761px) and (max-width: 920px) {
  .top .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav { gap: 12px; }
}

/* ---------- Repair tracker, estimates, Build Book, Vehicle Passport, shop board (Oct 31) ---------- */
.tab-badge { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #b3261e; color: #fff; font-size: .75rem; line-height: 20px; text-align: center; }
.job-card, .build-card { margin-bottom: 14px; }
.job-closed { opacity: .92; }
.eyebrow-dark { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--accent-dark); margin: 0; }
.job-title { margin: 6px 0 2px; font-size: 1.4rem; }
.eta { margin: 6px 0 0; }
.progress { height: 10px; background: #ece7da; border-radius: 999px; overflow: hidden; margin: 12px 0; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #e0b85c); border-radius: inherit; }
.progress-thin { height: 6px; margin: 8px 0 6px; }
.steps { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; }
.steps li > div { min-width: 0; }
.steps .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 2px solid var(--line); background: #fff; color: var(--muted); }
.steps li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps li.now .dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(201,162,74,.25); }
.steps li.next strong { color: var(--muted); font-weight: 600; }
.approve-box { margin: 14px 0; padding: 12px 14px; border: 2px solid var(--accent); border-radius: var(--radius); background: #fffaf0; }
.approve-box h4, .summary h4, .updates h4 { margin: 0 0 8px; font-size: 1rem; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.approve-box h4 + .item, .summary h4 + .item { border-top: 0; }
.item-main { min-width: 0; overflow-wrap: anywhere; }
.item-price { font-weight: 700; white-space: nowrap; text-align: right; }
.item > :nth-child(3) { grid-column: 1 / -1; }
.item-declined .item-main strong, .item-declined .item-price { text-decoration: line-through; color: var(--muted); }
.urgency { display: inline-block; margin-top: 4px; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.urg-now { background: #f8d7d4; color: #8a1c14; }
.urg-soon { background: #fff1c7; color: #6b4e00; }
.urg-later { background: #e6ece6; color: #2f4a36; }
.wait { margin-top: 4px; font-size: .9rem; }
.wait { background: none; border: 0; margin: 4px 0 0; }
.wait summary { color: var(--accent-dark); cursor: pointer; font-weight: 600; padding: 2px 0; justify-content: flex-start; }
.wait p { padding: 0; color: var(--text); }
.wait p { margin: 4px 0 0; }
.decide { display: flex; gap: 8px; flex-wrap: wrap; }
.decide .btn { flex: 1 1 120px; }
.updates { margin: 14px 0; }
.update { padding: 8px 0; border-top: 1px solid var(--line); }
.update p { margin: 0 0 4px; }
.update-img { max-width: 260px; max-height: 220px; border-radius: 8px; margin: 6px 0; object-fit: cover; }
.summary { margin-top: 14px; }
.total { display: flex; justify-content: space-between; border-top: 2px solid var(--text); padding-top: 8px; margin-top: 4px; font-size: 1.05rem; }
.job-tools { margin: 12px 0; padding: 12px; background: #f4efe3; border-radius: 10px; }
.job-tools .add-box { margin-top: 8px; }
.job-tools .add-box form { padding: 4px 0 8px; }
.tool-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tool-row select, .tool-row input { margin: 0; width: auto; flex: 1 1 160px; }
.item-del { font-size: .85rem; color: #8a1c14; justify-self: start; }
.item details.small { margin: 6px 0 0; }
.summary > details { margin-top: 8px; }
.warranty-watch { background: #e8f3ec; border-radius: 8px; padding: 8px 10px; margin: 8px 0; font-size: .92rem; }
.passport-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.share-out { display: grid; gap: 6px; margin-top: 8px; }
.share-out:empty { display: none; }
.share-out input { margin: 0; font-size: .85rem; }
.share-out .btn { justify-self: start; }
.build-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 10px 0; }
.build-stats > div { background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 10px; }
.build-stats span { display: block; color: var(--chrome) !important; font-size: .78rem; }
.build-stats strong { font-family: Oswald, sans-serif; font-size: 1.25rem; color: var(--gold-light); }
.timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 8px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }
.timeline li.tl-dyno::before { background: #b3261e; }
.timeline li.tl-milestone::before { background: var(--ok); }
.timeline p { margin: 2px 0 0; }
.tl-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kind { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; background: #ece7da; color: #4c4430; }
.kind-dyno { background: #f8d7d4; color: #8a1c14; }
.kind-mod { background: #dde6f5; color: #1f3a6b; }
.kind-tune { background: #efe2fb; color: #4b2a74; }
.kind-milestone { background: #dcefe3; color: #1d5b36; }
.dyno { font-family: Oswald, sans-serif; font-size: 1.1rem; color: #8a1c14; }

/* Shop board */
.view-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; }
.view-switch button { background: none; border: 0; color: #fff; font: 600 .85rem Inter, sans-serif; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.view-switch button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.board { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.board h2 { font-size: 1.3rem; margin: 18px 0 8px; }
.board-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-tile { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 12px 14px; }
.stat-tile strong { display: block; font-family: Oswald, sans-serif; font-size: 2rem; line-height: 1.1; color: var(--gold-light); }
.stat-tile span { font-size: .85rem; color: var(--chrome); }
.tile-wait { background: #6b4e00; }
.tile-wait strong, .tile-ready strong { color: #fff; }
.tile-wait span, .tile-ready span { color: #fff; }
.tile-ready { background: var(--ok); }
.board-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.board-col { min-width: 0; }
.board-job, .board-item { display: block; width: 100%; text-align: left; font: inherit; color: inherit; margin-bottom: 8px; cursor: pointer; }
div.board-item { cursor: default; }
.board-job:hover, button.board-item:hover { border-color: var(--accent); }
.board-item.warn { border-left: 5px solid #b3261e; }
.board-item .btn { margin-top: 6px; }
.wait-ok { color: #6b4e00; font-weight: 600; }
@media (max-width: 820px) {
  .board-grid { grid-template-columns: 1fr; }
  .board-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Vehicle Passport */
.passport-section { padding-top: 24px; }
.passport { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pp-head { display: flex; gap: 16px; align-items: center; border-bottom: 3px solid var(--accent); padding-bottom: 12px; margin-bottom: 12px; }
.pp-head h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin: 0; }
.pp-head p { margin: 0; overflow-wrap: anywhere; }
.pp-logo { flex: none; width: 120px; height: auto; }
.pp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 8px; }
.pp-stats > div { background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 12px; }
.pp-stats strong { display: block; font-family: Oswald, sans-serif; font-size: 1.6rem; color: var(--gold-light); }
.pp-stats span { font-size: .8rem; color: var(--chrome); }
.passport h2 { font-size: 1.35rem; margin: 20px 0 8px; }
.pp-entry { border-top: 1px solid var(--line); padding: 12px 0; break-inside: avoid; }
.pp-entry p { margin: 4px 0 0; }
.pp-parts { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.pp-parts th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 4px 6px 4px 0; }
.pp-parts td { border-bottom: 1px solid #f0ebdf; padding: 6px 6px 6px 0; vertical-align: top; overflow-wrap: anywhere; }
.pp-parts td.ok, .warranty-line.ok { color: var(--ok); font-weight: 600; }
.passport .warranty-line:not(.ok) { color: var(--muted); font-weight: 400; }
.pp-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pp-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; }
.pp-foot { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 10px; }
@media (max-width: 520px) { .pp-head { flex-direction: column; align-items: flex-start; } .passport { padding: 14px; } }
@media print {
  .no-print, header.top, footer.foot, .mobile-bar { display: none !important; }
  body { padding-bottom: 0 !important; }
  body { background: #fff; font-size: 11pt; }
  .passport { border: 0; padding: 0; }
  .passport-section { padding: 0; }
  .pp-stats > div, .build-stats > div { background: #fff !important; color: #000; border: 1px solid #999; }
  .pp-stats strong, .pp-stats span, .build-stats strong, .build-stats span { color: #000 !important; }
  .pp-photos img { width: 100px; height: 75px; }
  .passport h2 { break-after: avoid; }
  #ppBuilds .pp-entry { break-inside: auto; }
  .timeline li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Estimates: tax, quick picks, edit tools; invoice (Oct 31, round 2) ---------- */
.ask-btn { flex: 1 0 100%; text-align: left; font-size: .9rem; }
.authorize { margin: 10px 0 0 !important; font-size: .82rem; }
.subtotal { display: flex; justify-content: space-between; font-size: .95rem; color: var(--muted); padding-top: 4px; }
.subtotal + .total, .summary .subtotal:first-of-type { margin-top: 6px; }
.paper-link { margin-top: 10px; }
.item-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .85rem; }
.item-tools form { flex: 1 1 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-top: 6px; }
.timeline .item-tools { margin-top: 4px; }
.tax-labor { display: inline-flex; align-items: center; gap: 4px; margin: 0; white-space: nowrap; }
.tool-row .tax-labor input { flex: none; width: auto; }
.pick-row { padding: 0 0 6px !important; }
.pick-row select { margin: 0; }
.preset-list { background: none; border: 0; margin: 4px 0 0; }
.preset-list summary { padding: 6px 0; font-size: .9rem; color: var(--accent-dark); justify-content: flex-start; }
.preset-list ul { margin: 0 0 8px; padding-left: 1.1em; font-size: .9rem; }
.preset-list li { margin-bottom: 4px; }
@media (max-width: 600px) {
  .shop-tools .long { display: none; }
  .shop-tools { gap: 6px; }
  .shop-tools .btn { padding: .4em .6em; }
  .view-switch button { padding: 6px 10px; }
  .shop-body .top-inner { flex-wrap: nowrap; }
  .shop-body .brand span { display: none; }
  .shop-body .brand img { width: 56px; height: 28px; }
  .shop-tools { flex-wrap: nowrap; gap: 4px; }
  .shop-tools .btn { padding: .35em .5em; min-width: 0; }
  .view-switch button { padding: 6px 8px; font-size: .8rem; }
}

/* Printable estimate / invoice */
.invoice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 3px solid var(--accent); padding-bottom: 12px; margin-bottom: 14px; }
.inv-head img { width: 130px; height: auto; }
.inv-head h1 { font-size: 2rem; margin: 0; }
.inv-head p { margin: 0; }
.inv-meta { text-align: right; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; font-size: .95rem; }
.inv-parties p { margin: 0; overflow-wrap: anywhere; }
.inv-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.inv-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); border-bottom: 2px solid var(--text); padding: 6px 6px 6px 0; }
.inv-table td { border-bottom: 1px solid var(--line); padding: 8px 6px 8px 0; vertical-align: top; overflow-wrap: anywhere; }
.inv-table .num { text-align: right; white-space: nowrap; }
.inv-table tr.pending td { color: var(--muted); font-style: italic; }
.inv-totals { margin: 12px 0 0 auto; width: min(320px, 100%); }
.inv-totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.inv-totals .grand { border-top: 2px solid var(--text); margin-top: 4px; padding-top: 6px; font-size: 1.15rem; font-weight: 700; }
.inv-notes { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.inv-notes p { margin: 0 0 6px; }
@media (max-width: 560px) {
  .inv-parties { grid-template-columns: 1fr; }
  .inv-meta { text-align: left; }
  .invoice { padding: 14px; }
  .inv-table .hide-sm { display: none; }
}
@media print {
  .invoice { border: 0; padding: 0; }
  .inv-table .hide-sm { display: table-cell; }
}

/* ---------- Shop: fixing records, request cards, Website editor (Oct 31, round 3) ---------- */
#clientEdit { margin: 0 0 12px; }
#clientEdit form { padding: 0; }
.repairs .item-tools, .card.rec > .item-tools { margin-top: 4px; }
.card.rec > a.doc { display: block; }
.rec-head .item-tools { font-size: .85rem; }
.reopen-row { margin: 10px 0; }
.req-appt { border-left: 5px solid var(--accent); }
.board-item .loose-actions { align-items: center; margin-top: 8px; }
.board-item .loose-actions .btn { margin-top: 0; }

.site-editor { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.site-editor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.site-editor-head h2 { margin: 0 0 4px; font-size: 1.6rem; }
.site-sec > summary { font-size: 1.05rem; }
.site-body { padding: 0 18px 16px; }
.site-body .booking { padding: 0; }
.site-body label .hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.site-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.site-msg.ok { color: var(--ok); font-weight: 600; }
.site-msg.err { color: #8a1c14; font-weight: 600; }
.site-status { margin: 8px 0 2px !important; padding: 0 !important; }
.site-list { display: grid; gap: 10px; margin: 10px 0; }
.site-row { background: #fbf8f1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.row-tools { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 1rem; cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }
.photo-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: start; }
.photo-row img { width: 140px; height: 105px; object-fit: cover; border-radius: 8px; background: #eee; }
.photo-fields label { margin-bottom: 6px; }
.upload-btn { display: inline-flex; cursor: pointer; margin: 6px 12px 6px 0; }
.upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-btn:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.day-list { list-style: none; padding: 0; margin: 8px 0 0; }
.day-list li { padding: 4px 0; }
.site-foot { margin-top: 16px; }
@media (max-width: 560px) {
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { width: 100%; height: 180px; }
  .site-body { padding: 0 12px 14px; }
}
