/* Theme variables (Oct 8, 2026). These defaults are the Classic look, so nothing changes unless a theme class is set
   on <html> (customer pages only, by font-size.js). */
/* zy-fonts:start (tools/min_font_size.py output: /styles.css small text raised to 16px+ on the app pages; do not edit by hand) */
body { font-size: 1rem; }
.nav-desktop { font-size: 1rem; }
.phone-btn { font-size: 1rem; }
.badge { font-size: 1rem; }
.btn-primary { font-size: 1rem; }
.btn-secondary { font-size: 1rem; }
.rating { font-size: 1rem; }
.stars { font-size: 1rem; }
.intro-label { font-size: 1rem; }
.section-label { font-size: 1rem; }
.service-card .price { font-size: 1rem; }
.service-card p { font-size: 1rem; }
.service-card li { font-size: 1rem; }
.pricing-note { font-size: 1rem; }
.cta-phone { font-size: 1rem; }
.reviews-score { font-size: 1rem; }
.reviews-score .stars { font-size: 1rem; }
.reviews-link { font-size: 1rem; }
.footer-review a { font-size: 1rem; }
.review-stars { font-size: 1rem; }
.review-author { font-size: 1rem; }
.review-meta { font-size: 1rem; }
.form-card > p,
#form-intro p { font-size: 1rem; }
.form-group label { font-size: 1rem; }
.form-group input,
.form-group select,
.form-group textarea { font-size: 1rem; }
.form-submit { font-size: 1rem; }
.form-note { font-size: 1rem; }
.form-success a.call { font-size: 1rem; }
.form-error { font-size: 1rem; }
.footer-areas { font-size: 1rem; }
.footer-copy { font-size: 1rem; }
@media (max-width: 768px) { .phone-btn { font-size: 1rem; } }
@media (max-width: 768px) { .form-group input, .form-group select, .form-group textarea { font-size: 1rem; } }
.nav-desktop .nav-menu-panel a { font-size: 1rem; }
@media (min-width: 960px) and (max-width: 1199px) { .nav-desktop { font-size: 1rem; } }
.cta-text { font-size: 1rem; }
.text-prompt { font-size: 1rem; }
.form-success a.text { font-size: 1rem; }
.form-success .photo-note { font-size: 1rem; }
.float-actions a { font-size: 1rem; }
@media (max-width: 768px) { .float-actions a { font-size: 1rem; } }
.card-link { font-size: 1rem; }
.areas-list li a span { font-size: 1rem; }
.field-hint { font-size: 1rem; }
.form-group input[type="file"] { font-size: 1rem; }
.form-group input[type="file"]::file-selector-button { font-size: 1rem; }
.photo-clear { font-size: 1rem; }
.latest-caption small { font-size: 1rem; }
@media (max-width: 768px) { .latest-caption small { font-size: 1rem; } }
.footer-links { font-size: 1rem; }
.breadcrumb ol { font-size: 1rem; }
.price-line { font-size: 1rem; }
.call-line { font-size: 1rem; }
.check-list li { font-size: 1rem; }
.facts-list li { font-size: 1rem; }
.photo-pair figcaption { font-size: 1rem; }
.tier-table { font-size: 1rem; }
.tier-table thead th { font-size: 1rem; }
.service-card .price-sub { font-size: 1rem; }
.tier-table-lg { font-size: 1rem; }
@media (max-width: 400px) { .tier-table { font-size: 1rem; } }
@media (max-width: 400px) { .tier-table-lg { font-size: 1rem; } }
.service-card .card-plan { font-size: 1rem; }
.plan-table thead th { font-size: 1rem; }
.plan-table .plan-visits { font-size: 1rem; }
.plan-table td small { font-size: 1rem; }
.plan-notes li { font-size: 1rem; }
@media (max-width: 760px) { .plan-table td::before { font-size: 1rem; } }
.hero-app-hint { font-size: 1rem; }
.app-btn { font-size: 1rem; }
.book-btn { font-size: 1rem; }
@media (max-width: 360px) { .float-actions a { font-size: 1rem; } }
.book-prompt .book-terms { font-size: 1rem; }
.book-prompt .book-alt { font-size: 1rem; }
.related-book p { font-size: 1rem; }
.community-callout { font-size: 1rem; }
.mpgl-gate-card > p { font-size: 1rem; }
.mpgl-noscript { font-size: 1rem; }
.mpgl-reset { font-size: 1rem; }
.mpgl-book-box p { font-size: 1rem; }
.welcome-desc { font-size: 1rem; }
.welcome-consent label { font-size: 1rem; }
.welcome-fine { font-size: 1rem; }
.welcome-dismiss { font-size: 1rem; }
.welcome-note { font-size: 1rem; }
.mpgl-steps-list li { font-size: 1rem; }
.mpgl-copy-status { font-size: 1rem; }
.mpgl-exotic-fine { font-size: 1rem; }
.mpgl-exotic-note { font-size: 1rem; }
.compare-best { font-size: 1rem; }
.footer-legal { font-size: 1rem; }
/* zy-fonts:end */
:root { --gold-rgb: 196,165,116; --tile-rgb: 22,22,22; --tile-hover-rgb: 28,28,28; --card-bg: #101010; --gold-hi: #e0c994; --gold-hi2: #e3c48f; }
/* /app/: installable customer app — App Store clean, dark + gold */
.app-page {
  padding-bottom: env(safe-area-inset-bottom);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.app-header {
  padding: 18px 20px 8px;
  padding-top: max(18px, env(safe-area-inset-top));
  border-bottom: 0;
}
.app-header .header-inner {
  gap: 0;
  justify-content: center;
  min-height: 56px;
}
.app-header .logo {
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; min-height: 0;
}
/* Display ~144px: 432px master ≈ 3x on retina — keeps wordmark sharp */
.app-header .logo img {
  width: 144px;
  height: auto;
  max-width: min(144px, 42vw);
  image-rendering: -webkit-optimize-contrast;
}
.app-call { font-size: 1rem; padding: 10px 12px; letter-spacing: 0.04em; }
.app-call { display: inline-flex; align-items: center; gap: 8px; }
.app-call svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-main { max-width: 640px; margin: 0 auto; padding: 0 20px; }

.app-hero { padding: 36px 0 8px; }
.app-hero .section-label { margin-bottom: 12px; }
.app-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 8vw, 2.8rem); font-weight: 500; line-height: 1.1;
  margin-bottom: 12px;
}
.app-lead { color: var(--text-muted); font-weight: 300; font-size: 1rem; line-height: 1.6; margin-bottom: 26px; }

/* install popup — single Add to Home Screen button */
.app-install-popup {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 0;
  background: #141414;
  color: var(--text);
  max-width: 320px;
  width: calc(100% - 32px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.app-install-popup::backdrop { background: rgba(0,0,0,0.62); }
.app-install-popup-inner { padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.app-install-title { font-weight: 500; font-size: 1.05rem; line-height: 1.35; margin: 0; text-align: center; }
.app-install-ios { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text); text-align: center; }
.app-install-ios strong { color: var(--gold-light); font-weight: 500; }
.app-install-ios[hidden] { display: none; }
.ios-share { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; color: var(--gold-light); }
.app-install-btn { padding: 14px 22px; width: 100%; }
.app-install-btn[hidden] { display: none; }
.app-install-dismiss {
  background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 1rem;
  padding: 8px; cursor: pointer; text-align: center;
}
.app-install-dismiss:hover { color: var(--text-muted); }

/* action tiles — button affordance (pressable) */
.app-tiles { display: flex; flex-direction: column; gap: 12px; }
.app-tile {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.10) 0%, rgba(var(--tile-rgb), 0.95) 100%);
  border: 1.5px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 14px;
  padding: 20px 20px; min-height: 84px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.app-tile:focus-visible {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.16) 0%, rgba(var(--tile-hover-rgb), 0.98) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--gold-rgb), 0.25);
}
/* zy: hover look only on devices that really hover (on iPhone a tap is not a hover) */
@media (hover: hover) { .app-tile:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.16) 0%, rgba(var(--tile-hover-rgb), 0.98) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--gold-rgb), 0.25);
} }
.app-tile:active {
  transform: scale(0.985);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.03);
}
.app-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tile-icon {
  width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55); color: var(--gold); border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.08);
}
.tile-icon svg { width: 19px; height: 19px; }
.tile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tile-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 500; line-height: 1.2; color: var(--text); }
.tile-sub { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.45; margin-top: 3px; }
.tile-arrow { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; opacity: 0.85; }
.app-tile-primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 6px 20px rgba(var(--gold-rgb), 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.app-tile-primary:focus-visible {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold-light) 100%);
  border-color: var(--gold-hi);
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
/* zy: hover look only on devices that really hover (on iPhone a tap is not a hover) */
@media (hover: hover) { .app-tile-primary:hover {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold-light) 100%);
  border-color: var(--gold-hi);
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
} }
.app-tile-primary:active {
  box-shadow: 0 3px 10px rgba(var(--gold-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.app-tile-primary .tile-title { color: var(--bg); font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.app-tile-primary .tile-sub { color: rgba(10,10,10,0.72); font-weight: 400; }
.app-tile-primary .tile-icon { border-color: rgba(10,10,10,0.28); color: var(--bg); background: rgba(10,10,10,0.08); }
.app-tile-primary .tile-arrow { color: var(--bg); opacity: 1; }
.app-tile-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-tile-small { justify-content: center; min-height: 64px; gap: 12px; padding: 14px; border-radius: 12px; }
.app-tile-small .tile-icon { width: 36px; height: 36px; }
.app-tile-small .tile-icon svg { width: 17px; height: 17px; }
.app-tile-small .tile-title { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }

.app-facts { list-style: none; margin: 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
.app-facts li { position: relative; padding-left: 22px; font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }
.app-facts li::before { content: ''; position: absolute; left: 0; top: 11px; width: 11px; height: 1px; background: var(--gold); }
.app-facts strong { color: var(--text); font-weight: 500; }

/* sections */
.app-section { padding: 48px 0 8px; scroll-margin-top: 100px; }
.app-h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.8rem, 6.5vw, 2.3rem); font-weight: 500; line-height: 1.15; margin-bottom: 10px; }
.app-desc { color: var(--text-muted); font-weight: 300; font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
.app-section .plan-table .plan-name { font-size: 1.3rem; }
.app-includes { margin-top: 22px; background: var(--bg-elevated); border: 1px solid var(--border); padding: 20px; }
.app-includes-title { font-size: 1rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.app-includes .check-list { margin-bottom: 0; gap: 6px; }
.app-includes .check-list li { font-size: 1rem; }
.app-cta { display: block; text-align: center; margin-top: 22px; }

/* sign-up form */
.app-form-card { padding: 30px 22px; }
.app-form-card #signup-intro p { font-size: 1rem; font-weight: 300; color: var(--text-muted); margin-bottom: 26px; line-height: 1.65; }
.app-form-card .opt { opacity: 0.55; text-transform: none; letter-spacing: 0.02em; }
.app-terms { border: 1px solid var(--border); background: var(--bg); padding: 16px 18px; margin: 6px 0 16px; }
.app-terms-title { font-size: 1rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.app-terms ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.app-terms li { position: relative; padding-left: 18px; font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.55; }
.app-terms li::before { content: ''; position: absolute; left: 0; top: 10px; width: 9px; height: 1px; background: var(--gold); }
.app-agree { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 18px; cursor: pointer; }
.app-agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.app-agree[data-invalid="true"] span { color: var(--gold-light); }
.form-group [aria-invalid="true"] { border-color: var(--gold-light); }
#plan-form[hidden] { display: none; }
.form-success .success-actions { margin-top: 4px; }

.app-footer { max-width: 640px; margin: 0 auto; padding: 40px 20px 48px; text-align: center; font-size: 1rem; font-weight: 300; color: var(--text-dim); line-height: 1.9; }
.app-footer a { color: var(--text-muted); }
.app-footer-site { border-bottom: 1px solid rgba(var(--gold-rgb), 0.35); }

/* installed (standalone) mode: the install card never shows */
.is-standalone .app-install-popup { display: none !important; }

@media (max-width: 380px) {
  .app-call span { display: none; }
  .app-call { padding: 10px 12px; }
  .tile-title { font-size: 1.25rem; }
}
@media (min-width: 761px) { .app-section .plan-table th, .app-section .plan-table td { padding: 16px 18px; } }
.nw { white-space: nowrap; }

/* ---- referrals */
.ref-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.05));
  border: 1px solid var(--gold); padding: 18px; margin-bottom: 22px;
}
.ref-banner[hidden] { display: none; }
.ref-banner-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--gold); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.ref-banner-icon svg { width: 20px; height: 20px; }
.ref-banner-body { flex: 1; min-width: 0; }
.ref-banner-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: var(--text); margin-bottom: 6px; }
.ref-banner-sub { font-size: 1rem; font-weight: 300; color: var(--text); line-height: 1.55; margin-bottom: 8px; }
.ref-terms { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.55; }
.ref-text-btn { background: none; border: 0; border-bottom: 1px solid rgba(var(--gold-rgb), 0.5); color: var(--gold-light); font: inherit; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 0; margin-top: 12px; cursor: pointer; }
.ref-text-btn[hidden], .ref-form[hidden], .ref-done[hidden] { display: none; }
.ref-form { margin-top: 14px; }
.ref-form-title { font-size: 1rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ref-form .form-group { margin-bottom: 14px; }
.ref-form .form-group input { padding: 12px 14px; }
.ref-done { margin-top: 12px; font-size: 1rem; color: var(--gold-light); }

.ref-card { padding: 24px 20px; }
.ref-card .form-submit { display: flex; margin-top: 0; }
.ref-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ref-alt .btn-secondary { padding: 14px 8px; font-size: 1rem; letter-spacing: 0.08em; white-space: nowrap; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.ref-alt .btn-secondary svg { width: 15px; height: 15px; }
.ref-link { margin-top: 14px; font-size: 1rem; font-weight: 300; color: var(--text-muted); overflow-wrap: anywhere; }
.ref-link[hidden] { display: none; }
.ref-link span { color: var(--gold-light); }
.ref-status { min-height: 1.2em; }
.ref-card .ref-terms { margin-top: 10px; border-top: 1px solid var(--border-soft); padding-top: 14px; }

dialog.ref-note {
  margin: auto auto 0; width: 100%; max-width: 640px; border: 0; padding: 0; background: transparent; color: var(--text);
}
dialog.ref-note::backdrop { background: rgba(0,0,0,0.7); }
.ref-note-inner {
  background: var(--surface); border-top: 1px solid var(--gold); padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
}
.ref-note-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.7rem; font-weight: 500; line-height: 1.2; }
.ref-note-text { font-size: 1rem; font-weight: 300; line-height: 1.6; color: var(--text); }
.ref-note-copy { width: 100%; }
.ref-note-status { margin-top: -4px; min-height: 1.2em; color: var(--gold-light); }
.ref-note-go { display: block; text-align: center; }
.ref-note-cancel { align-self: center; }

.ref-banner-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 4px; }
.ref-dismiss { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid transparent; }
.ref-dismiss:hover, .ref-dismiss:focus-visible { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ---- MPGL ---- */
.mpgl-gate .form-group { margin-bottom: 14px; }
.mpgl-who-line { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 8px 0 18px; font-size: 1rem; color: var(--gold-light); }
.mpgl-svc { margin-bottom: 14px; }
.mpgl-svc-title { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 4px; }
.mpgl-svc-start { color: var(--gold); font-weight: 500; margin: 0 0 8px; }
.mpgl-table { margin-top: 10px; }
.mpgl-book-card { margin-top: 18px; }
.mpgl-steps-title { font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 10px; }
.mpgl-steps-list { margin: 0 0 14px; padding-left: 1.2em; font-weight: 300; line-height: 1.55; color: var(--text-muted); }
.mpgl-steps-list strong { color: var(--gold-light); font-weight: 500; }
.mpgl-book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.mpgl-book-actions .form-submit { text-align: center; justify-content: center; }
.mpgl-copy-row { display: grid; gap: 8px; }
.mpgl-copy-row .btn-secondary { width: 100%; padding: 12px 10px; font-size: 1rem; letter-spacing: 0.06em; }
#mpgl-request { margin-top: 18px; }
#mpgl-request .opt { opacity: 0.55; font-weight: 400; }

/* ---- /app/plans/ ---- */
.plans-page .plans-back {
  display: inline-block; margin-bottom: 18px;
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; border: 0;
}
.plans-page .plans-back:hover { color: var(--gold-light); }
.plans-page .plans-hero { padding-top: 28px; padding-bottom: 0; }
.plans-page .plans-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 8vw, 2.9rem); font-weight: 500; line-height: 1.08; margin-bottom: 10px;
}
.plans-page .app-lead { margin-bottom: 22px; }
.plan-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.plan-card {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 16px; align-items: center; width: 100%; text-align: left;
  background: var(--bg-elevated); border: 1px solid transparent; border-bottom: 1px solid var(--border);
  padding: 18px 4px 18px 0; cursor: pointer; color: inherit; font: inherit;
  transition: border-color 0.25s, color 0.25s;
}
.plan-card:hover, .plan-card:focus-visible, .plan-card.is-selected {
  border-bottom-color: var(--gold);
}
.plan-card:focus-visible { outline: none; }
.plan-card-name {
  grid-column: 1; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem; font-weight: 500; line-height: 1.15;
}
.plan-card-meta { grid-column: 1; font-size: 1rem; font-weight: 300; color: var(--text-muted); }
.plan-card-perk { grid-column: 1 / -1; font-size: 1rem; font-weight: 500; color: var(--gold-light); margin-top: 2px; }
.ead-plan-perk { margin: 4px 0 0; font-size: 1rem; font-weight: 500; color: var(--gold-light); }
.plan-card-price {
  grid-column: 2; grid-row: 1 / span 2; color: var(--gold-light);
  font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap;
}
.plans-signup { padding-top: 36px; }
.plans-form { border: 0; background: transparent; padding: 0; }
.plans-form .app-h2 { font-size: clamp(1.6rem, 5vw, 2rem); }
.plans-page .app-terms-soft {
  border: 0; background: transparent; padding: 0 0 8px; margin: 4px 0 12px;
}
.plans-page .app-terms-soft ul { gap: 4px; }
.plans-page .app-terms-soft li { font-size: 1rem; color: var(--text-dim); }
.plans-page .btn-secondary {
  border-color: transparent; background: transparent; color: var(--gold-light);
  text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0.06em;
}
.plans-page .form-note { color: var(--text-dim); font-size: 1rem; }
.plans-page .form-submit { margin-top: 6px; }

/* home: logo only header */
.app-header-solo .header-inner { justify-content: center; }
.app-footer-quiet { color: var(--text-dim); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.app-footer-quiet:hover { color: var(--gold-light); }
.plans-alt { margin-top: 18px; font-size: 1rem; }
.plans-alt a { color: var(--gold-light); }
.plan-card-link { text-decoration: none; color: inherit; }
.mpgl-gate-heading { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-weight: 500; margin: 0 0 8px; }
.mpgl-book-actions-solo { grid-template-columns: 1fr; }
.refer-page .ref-card { margin-top: 8px; }

/* unified type scale across /app/ */
.app-page .section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.app-page h1, .app-page .plans-hero h1, .plans-page .plans-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 7.5vw, 2.6rem); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.app-page .app-h2, .plans-page .app-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 5vw, 1.9rem); font-weight: 500; line-height: 1.15;
}
.app-page .app-lead, .plans-page .app-lead, .app-page .app-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--text-muted);
}
.app-page .plans-back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.app-page label, .app-page .form-group label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.app-page .field-hint, .app-page .ref-terms, .app-page .form-note {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 300; line-height: 1.5;
}
.app-page .tile-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
.app-tile-primary .tile-title {
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* MPGL gate error — clear red */
.app-page .form-error, .mpgl-page .form-error, #mpgl-gate-error {
  color: #ff6b6b;
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.app-page .form-error[hidden] { display: none !important; }
.app-page .form-error.is-visible { display: block; }

.app-main { max-width: 420px; margin: 0 auto; padding: 0 22px 32px; }
.app-hero { padding: 28px 0 12px; text-align: center; }
.app-hero .app-tiles { text-align: left; margin-top: 28px; }
.app-facts { text-align: left; }
.app-footer { text-align: center; padding: 28px 20px 36px; }

/* first-open onboarding tip (/app/ home only) */
.app-onboard-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(var(--gold-rgb), 0.09);
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  border-radius: 10px;
  padding: 12px 12px 12px 14px;
  margin: 0 0 20px;
}
.app-onboard-tip[hidden] { display: none; }
.app-onboard-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--gold-light);
}
.app-onboard-dismiss {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.app-onboard-dismiss:hover,
.app-onboard-dismiss:focus-visible {
  color: var(--gold-light);
  background: rgba(var(--gold-rgb), 0.12);
  outline: none;
}

/* ---- dedicated Back control (subpages → /app/) ---- */
.app-page .app-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding: 10px 16px 10px 12px;
  border-radius: 980px;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.app-page .app-back svg {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-left: -2px;
}
.app-page .app-back:hover,
.app-page .app-back:focus-visible {
  background: rgba(var(--gold-rgb), 0.16);
  border-color: var(--gold);
  color: #f0e2c8;
  outline: none;
}
.app-page .app-back:active {
  background: rgba(var(--gold-rgb), 0.22);
}
/* legacy tiny Home text — keep harmless if any leftover */
.plans-page .plans-back,
.app-page .plans-back {
  display: none !important;
}

/* ---- auth pages (login / signup / profile) ---- */
.auth-page .auth-hero { text-align: left; padding-top: 18px; }
.auth-page .auth-hero .app-back { margin-bottom: 14px; }
.auth-page .auth-hero .section-label { text-align: left; }
.auth-card {
  text-align: left;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.10) 0%, rgba(var(--tile-rgb), 0.96) 100%);
  border: 1.5px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 16px;
  padding: 22px 18px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  margin-top: 4px;
}
.auth-card .form-group { margin-bottom: 14px; }
.auth-card .form-group input {
  background: var(--card-bg);
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 10px;
  padding: 14px;
}
.auth-card .form-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px;
  letter-spacing: 0.12em;
}
.auth-footer-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
}
.auth-footer-link a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: none;
}
.auth-footer-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 300;
}
.auth-meta-row a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: none;
}
.auth-meta-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Ensure auth panels/forms honor the hidden attribute */
.auth-card form[hidden],
.auth-card [hidden],
#auth-recovery-panel[hidden],
#auth-invite-panel[hidden],
#auth-forgot-panel[hidden],
.auth-footer-link[hidden] {
  display: none !important;
}
.auth-forgot-panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.22);
}
.auth-panel-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.auth-done-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}
.auth-done-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
}
.auth-done-body strong { color: var(--gold-light); font-weight: 500; }
.auth-done-link { display: block; text-align: center; text-decoration: none; }
.auth-status-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(80,180,120,0.4);
  background: rgba(80,180,120,0.1);
  color: #9ed9b4;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}
.auth-status-note[hidden] { display: none; }
.auth-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 980px;
  border: 1px solid rgba(80,180,120,0.45);
  background: rgba(80,180,120,0.12);
  color: #9ed9b4;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.auth-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.auth-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55);
  background: rgba(var(--gold-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.auth-avatar-icon { width: 30px; height: 30px; opacity: 0.9; }
.auth-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-avatar-actions { flex: 1; min-width: 0; }
.auth-avatar-actions p {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
}
.auth-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 980px;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--gold-light);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.auth-ghost-btn:hover,
.auth-ghost-btn:focus-visible {
  background: rgba(var(--gold-rgb), 0.16);
  border-color: var(--gold);
  outline: none;
}
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.auth-skip {
  background: none;
  border: 0;
  color: var(--text-dim);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
}
.auth-skip:hover { color: var(--text-muted); }
.auth-card .form-error { margin-top: 12px; }

/* ---- profile tabs + My Vehicles ---- */
.profile-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 4px;
  border-radius: 980px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: rgba(var(--gold-rgb), 0.06);
}
.profile-tab {
  flex: 1;
  appearance: none;
  border: 0;
  border-radius: 980px;
  padding: 11px 12px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.profile-tab.is-active {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 100%);
  color: #0a0a0a;
  font-weight: 600;
}
.profile-tab:not(.is-active):focus-visible {
  color: var(--gold-light);
  outline: none;
}
/* zy: hover look only on devices that really hover (on iPhone a tap is not a hover) */
@media (hover: hover) { .profile-tab:not(.is-active):hover {
  color: var(--gold-light);
  outline: none;
} }
.profile-panel[hidden] { display: none !important; }
.profile-panel { margin-top: 0; }

.vehicles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.vehicle-card {
  padding: 0;
  overflow: hidden;
  margin-top: 0;
}
.vehicle-photo {
  position: relative;
  height: 118px;
  background: #111 center/cover no-repeat;
}
.vehicle-photo .stock-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10,10,10,0.72);
}
.stock-pill {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 980px;
  padding: 3px 8px;
  background: rgba(var(--gold-rgb), 0.08);
}
.vehicle-body { padding: 12px 14px 14px; }
.vehicle-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.vehicle-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 2px;
  color: var(--text);
}
.vehicle-meta {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  margin: 0 0 10px;
}
.vehicle-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vehicle-actions .auth-ghost-btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.vehicle-add-prompt {
  border-style: dashed;
  text-align: center;
  padding: 20px 16px;
  background: rgba(var(--gold-rgb), 0.04);
  margin-top: 0;
}
.vehicle-add-prompt p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.45;
}
.vehicle-add-card { margin-top: 0; }
.vehicle-form-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.auth-card .form-group select {
  width: 100%;
  appearance: none;
  background: var(--card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c4a574' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 14px 36px 14px 14px;
}
.vehicle-stock-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
}
.vehicle-stock-thumb {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  background: #111 center/cover no-repeat;
  flex-shrink: 0;
}

.vehicle-style-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
}
.vehicle-style-option {
  appearance: none;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  color: var(--text-muted);
  text-align: center;
}
.vehicle-style-option.is-selected {
  border-color: rgba(var(--gold-rgb), 0.7);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.35);
  color: var(--gold-light);
}
.vehicle-style-thumb {
  display: block;
  height: 44px;
  border-radius: 7px;
  background: #111 center/cover no-repeat;
  margin-bottom: 5px;
}
.vehicle-style-label {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.vehicle-style-hint {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}



/* ---- owner admin (login + dashboard) ---- */
.owner-page .owner-badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 980px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
}
.owner-page .owner-hero .app-back { margin-bottom: 14px; }
.owner-session-pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 980px;
  border: 1px solid rgba(80,180,120,0.45);
  background: rgba(80,180,120,0.1);
  color: #9ed9b4;
  font-size: 1rem;
  letter-spacing: 0.04em;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.owner-session-pill[hidden] { display: none; }
.owner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.owner-stat {
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.owner-stat b {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1.1;
}
.owner-stat span {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.owner-search {
  width: 100%;
  appearance: none;
  background: var(--card-bg);
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.owner-search:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.owner-card { margin-top: 0; }
.owner-empty-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text);
}
.owner-empty-body {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}
.owner-cust-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
}
.owner-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a3228, #1a1814);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1rem;
}
.owner-avatar-lg { width: 56px; height: 56px; font-size: 1rem; }
.owner-cust-name { font-weight: 500; font-size: 1rem; margin: 0 0 2px; }
.owner-cust-sub { color: var(--text-muted); font-size: 1rem; font-weight: 300; margin: 0; }
.owner-cust-meta {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}
.owner-chev { color: var(--gold); font-size: 1rem; margin-left: 4px; }
.owner-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 8px;
}
.owner-module {
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08) 0%, rgba(var(--tile-rgb), 0.96) 100%);
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 14px;
  padding: 14px;
}
.owner-module-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
}
.owner-module-sub {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.4;
}
.owner-pref-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(var(--gold-rgb), 0.35);
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.45;
}
.owner-denied { margin-top: 4px; }
.owner-denied-banner {
  display: block;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(224,112,112,0.55);
  background: rgba(120,30,30,0.35);
}
.owner-denied-banner strong {
  display: block;
  font-size: 1rem;
  color: #ffc9c9;
  margin-bottom: 4px;
}
.owner-denied-banner span {
  font-size: 1rem;
  color: #e0b0b0;
  font-weight: 300;
  line-height: 1.45;
}
.owner-denied-email {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.owner-cust-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.owner-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.owner-detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 1rem;
}
.owner-detail-list li:first-child { border-top: 0; padding-top: 0; }
.owner-detail-list b { font-weight: 500; color: var(--gold-light); }
.owner-detail-list span { color: var(--text-dim); font-weight: 300; }
.owner-page button.app-back {
  /* match link-style back pill when used as logout */
  cursor: pointer;
  font: inherit;
}

.vehicle-card {
  cursor: pointer;
}
.vehicle-card:focus-within,
.vehicle-card:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
}
.vehicle-card-cta {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.vehicle-service-back {
  margin: 0 0 8px;
  padding-left: 0;
}
.vehicle-service-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(var(--gold-rgb), 0.18);
}
.vehicle-service-summary-thumb {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  background: #111 center/cover no-repeat;
  flex-shrink: 0;
}
.vehicle-service-summary-name {
  margin: 0 0 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}
.vehicle-service-summary-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}
.vehicle-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 10px;
}
.vehicle-svc {
  appearance: none;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  cursor: pointer;
}
.vehicle-svc.is-selected {
  border-color: rgba(var(--gold-rgb), 0.7);
  background: rgba(var(--gold-rgb), 0.08);
}
.vehicle-svc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.vehicle-svc-name {
  font-weight: 500;
  font-size: 1rem;
}
.vehicle-svc-price {
  color: var(--gold-light);
  font-weight: 500;
  white-space: nowrap;
}
.vehicle-svc-desc {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.35;
}

/* ---- Book Online auto-fill (/app/book/) ---- */
.book-card { margin-top: 8px; }
.book-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.book-card-body {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
}
.book-actions { flex-direction: column; }
.book-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}
.book-profile {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.book-profile-label {
  margin: 0 0 4px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.book-profile-name {
  margin: 0 0 2px;
  font-weight: 500;
  font-size: 1.05rem;
}
.book-profile-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}
.book-section { margin-bottom: 16px; }
.book-section-label {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.book-picks { display: flex; flex-direction: column; gap: 8px; }
.book-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.book-pick.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.25);
  background: rgba(var(--gold-rgb), 0.08);
}
.book-pick-thumb {
  width: 56px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: #161616;
}
.book-pick-thumb-empty { display: inline-block; }
.book-pick-text { flex: 1; min-width: 0; }
.book-pick-title {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 2px;
}
.book-pick-sub {
  display: block;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}
.book-pick-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.book-pick.is-selected .book-pick-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.book-services { display: flex; flex-direction: column; gap: 7px; }
.book-svc {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.book-svc.is-selected {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}
.book-svc strong {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}
.book-svc span {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}
.book-empty {
  margin: 0;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
}
.book-empty a { color: var(--gold-light); }
.book-hint {
  margin-top: 12px;
  text-align: left;
}
.book-note .ref-note-text { white-space: pre-wrap; }

.book-svc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.book-svc-price {
  color: var(--gold-light);
  font-weight: 500;
  white-space: nowrap;
  font-size: 1rem;
}
.book-svc-blurb {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* ---- Signed-in homepage (member shell) ---- */
#home-guest[hidden],
#home-signed[hidden] { display: none !important; }

.home-signed { padding-top: 28px; }
.home-greet {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 7.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 10px;
}
.home-greet span { color: var(--gold-light); }

.home-garage {
  margin: 8px 0 22px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.10) 0%, rgba(16,16,16,0.96) 55%);
}
.home-garage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.home-section-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.home-section-link {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.4);
  padding-bottom: 1px;
}
.home-section-link:hover { color: var(--text); }

.home-garage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-garage-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: rgba(10,10,10,0.55);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.home-garage-card:hover,
.home-garage-card:focus-visible {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}
.home-garage-card:active { transform: scale(0.985); }
.home-garage-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.home-garage-thumb {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  background: #151515 center/cover no-repeat;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}
.home-garage-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-garage-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-garage-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
}
.home-garage-card .tile-arrow { opacity: 0.75; }

.home-garage-empty {
  text-align: left;
  padding: 4px 0 2px;
}
.home-garage-empty[hidden] { display: none !important; }
.home-garage-empty-text {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
}
.home-garage-add {
  display: inline-flex;
  padding: 11px 16px;
  font-size: 1rem;
}

.home-signed-tiles { margin-top: 4px; }
.home-signed .app-facts { margin-top: 20px; }

@media (max-width: 380px) {
  .home-garage-name { font-size: 1.05rem; }
  .home-garage-thumb { width: 48px; height: 36px; }
}


/* vehicle maintenance plan badge — gold star “Executive Member” */
.vehicle-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-light), #c9a227);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}
.vehicle-plan-star {
  font-size: 1em;
  line-height: 1;
  color: #5c4508;
  text-shadow: 0 0 1px rgba(92, 69, 8, 0.25);
}
.home-garage-badge {
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: 1rem;
  padding: 2px 8px 2px 6px;
}
.vehicle-plan-badge-short { display: none; }
.vehicle-plan-badge-full { display: inline; }
@media (max-width: 380px) {
  .home-garage-badge .vehicle-plan-badge-full { display: none; }
  .home-garage-badge .vehicle-plan-badge-short { display: inline; }
}
.vehicle-on-plan-row { margin: 12px 0 8px; }

/* Owner dashboard — live Identity customer list (Oct 5, 2026) */
.owner-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.owner-list .owner-cust-link { padding-top: 12px; }
.owner-cust-mid { min-width: 0; }
.owner-cust-mid .owner-cust-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-cust-veh { color: var(--text-dim); margin-top: 2px; }
.owner-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.owner-badges:empty { display: none; }
.owner-tag {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-muted);
}
.owner-tag-mpgl { border-color: rgba(var(--gold-rgb), 0.55); color: var(--gold-light); }
.owner-tag-plan { border-color: rgba(var(--gold-rgb), 0.3); color: var(--gold); }
.owner-more { margin-top: 14px; width: 100%; }
.owner-more[hidden] { display: none; }
.owner-avatar { overflow: hidden; }
.owner-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.owner-vehicles-title { margin: 18px 0 8px; }
.owner-detail-later { margin-top: 18px; opacity: 0.7; }
/* Owner pages are not themed, so they used the base dim text (#6b6560: 2.1–3.5:1 on the owner cards and footer).
   Owner-only lighter dim text: 4.5:1+ on every owner card / sheet / footer background. "Coming soon" no longer fades
   with opacity, and the package crest keeps its own dark ink (the generic detail-list span colour was overriding it). */
body.owner-page { --text-dim: #b4ada3; } /* zy-contrast: >= 6:1 on owner cards (was #a39b91, 5.77:1) */
body.owner-page .owner-detail-later { opacity: 1; }
body.owner-page .owner-detail-list .pkg-crest-name { color: var(--cr-fg); }
.owner-cust-header + .owner-badges { margin: 0 0 14px; }
#owner-cust-error .auth-ghost-btn { display: inline-block; margin-top: 12px; text-decoration: none; }

/* ---- MPGL pricing / plan status / Square steps (pricing.js) ---- */
.ead-toast {
  position: fixed; left: 50%; top: max(14px, env(safe-area-inset-top)); z-index: 1000;
  width: min(92vw, 440px); transform: translate(-50%, -140%); opacity: 0;
  background: #141210; border: 1px solid var(--gold); border-radius: 10px;
  padding: 14px 44px 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: transform .28s ease, opacity .28s ease; pointer-events: none;
}
.ead-toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.ead-toast.is-error { border-color: #b8796a; }
.ead-toast-text { margin: 0; color: var(--gold-light); font-weight: 500; font-size: 1rem; }
.ead-toast-sub { margin: 4px 0 0; color: var(--text-muted); font-size: 1rem; font-weight: 300; }
.ead-toast-close {
  position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: none;
  color: var(--text-muted); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.plan-status { margin: 16px 0 4px; text-align: left; }
.plan-status-label { margin: 0 0 6px; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.plan-status-name { margin: 0; font-size: 1.15rem; color: var(--text); font-weight: 500; }
.plan-status-price { margin: 4px 0 0; color: var(--gold-light); font-size: 1rem; }
.plan-status-badge {
  display: inline-block; margin: 8px 0 0; padding: 3px 10px; border: 1px solid var(--gold);
  border-radius: 999px; color: var(--gold); font-size: 1rem; letter-spacing: 0.06em;
}
.plan-status .plan-skip-btn { margin-top: 12px; width: 100%; }
.plan-status .plan-resched-link { display: block; margin-top: 10px; text-align: center; }
.plan-status-skip:empty { display: none; }
.plan-card.is-current { border-color: var(--gold); }
.plan-card.is-current .plan-card-name::after { content: ' · Your plan'; color: var(--gold); font-size: 1rem; }
.plans-mpgl-note { margin: 10px 2px 0; }
.sq-steps-wrap {
  margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--gold-dim); border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.06); text-align: left;
}
.sq-steps-title { margin: 0 0 6px; color: var(--gold-light); font-weight: 500; font-size: 1rem; }
.sq-steps { margin: 0 0 6px; padding-left: 1.2em; color: var(--text); font-size: 1rem; line-height: 1.5; }
.sq-steps li { margin: 2px 0; }
.sq-steps-wrap .field-hint { margin: 6px 0 0; }

/* ---------------------------------------------------------------- one-tap plan signup (plan-flow.js) */
.plans-lead { margin: 0 0 10px; font-size: 1rem; color: var(--text-muted); }
.plan-card.is-selected .plan-card-name { color: var(--gold-light); }
.plan-flow { margin-top: 22px; scroll-margin-top: 16px; }
.plan-flow-card { padding: 22px 18px; border: 1px solid rgba(var(--gold-rgb), 0.35); background: var(--bg-elevated); }
.plan-flow-kicker { margin: 0 0 4px; font-size: 1rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.plan-flow-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; font-weight: 500; line-height: 1.15; margin: 0 0 6px; }
.plan-flow-copy { margin: 8px 0 0; color: var(--text-muted); font-size: 1rem; }
.plan-flow-perk { margin-top: 2px; }
.plan-flow-price { margin: 6px 0 0; }
.plan-flow-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.plan-flow-actions .plan-flow-btn { display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; min-height: 52px; text-decoration: none; }
.plans-page .plan-flow-actions .btn-secondary { border: 1.5px solid rgba(var(--gold-rgb), 0.55); text-decoration: none; color: var(--gold-light); }
.plan-flow-link { display: inline-block; margin-top: 16px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 1rem; color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plan-car-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.plan-car {
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 14px;
  width: 100%; min-height: 76px; padding: 10px 14px 10px 10px; text-align: left;
  background: var(--surface); color: inherit; font: inherit; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.plan-car:hover, .plan-car:focus-visible { border-color: var(--gold); outline: none; }
.plan-car:active { background: rgba(var(--gold-rgb), 0.08); }
.plan-car.is-busy { opacity: 0.6; }
.plan-car-thumb { display: block; width: 84px; height: 56px; border-radius: 8px; background: #1d1d1d center / cover no-repeat; }
.plan-car-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.plan-car-name { font-weight: 500; font-size: 1rem; line-height: 1.25; }
.plan-car-sub { font-size: 1rem; color: var(--text-muted); }
.plan-car-meta .vehicle-plan-badge { align-self: flex-start; }
.plan-car-cta { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.plan-quick-add { margin-top: 14px; }
.plan-qa-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.plan-qa-label { margin: 6px 0 8px; font-size: 1rem; color: var(--text-muted); }
.plan-size-taps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.plan-size-tap {
  min-height: 52px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: inherit; font: inherit; font-size: 1rem; line-height: 1.2; cursor: pointer;
}
.plan-size-tap.is-selected { border-color: var(--gold); color: var(--gold-light); background: rgba(var(--gold-rgb), 0.08); }
.plan-qa-photo { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.plan-done-car { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.plan-done-thumb { width: 112px; height: 74px; }
@media (max-width: 380px) {
  .plan-car { grid-template-columns: 70px 1fr; }
  .plan-car-thumb { width: 70px; height: 48px; }
  .plan-car-cta { display: none; }
  .plan-flow-actions { grid-template-columns: 1fr; }
}
/* vehicle style picker: "Your model" tile */
.vehicle-style-model .vehicle-style-label { color: var(--gold-light); }

/* ---------------------------------------------------------------- in-app messages (messages.js) */
.app-header .header-inner { position: relative; }
.app-inbox-link {
  position: absolute; right: 14px; top: calc(50% - 22px);
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-light); border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.app-inbox-link svg { width: 24px; height: 24px; }
.app-inbox-link:focus-visible { color: var(--gold); outline: none; background: rgba(var(--gold-rgb), 0.08); }
/* zy: hover look only on devices that really hover (on iPhone a tap is not a hover) */
@media (hover: hover) { .app-inbox-link:hover { color: var(--gold); outline: none; background: rgba(var(--gold-rgb), 0.08); } }
/* Unread count badge: gold circle, dark number, centered (1, 2 … 9+). Used on the envelope and owner inbox rows. */
.ead-count {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: #111; font-family: Inter, -apple-system, sans-serif;
  font-size: 1rem; font-weight: 700; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums;
  text-align: center; white-space: nowrap; flex: none; -webkit-font-smoothing: antialiased;
}
.ead-count[hidden] { display: none !important; }
.app-inbox-dot.ead-count { position: absolute; top: 4px; right: 1px; box-shadow: 0 0 0 2px var(--bg); pointer-events: none; }
.inbox-h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 500; margin: 6px 0 14px; }
.inbox-list { display: flex; flex-direction: column; gap: 12px; }
.inbox-msg { padding: 18px 16px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; }
.inbox-msg.is-unread { border-color: rgba(var(--gold-rgb), 0.55); }
.inbox-msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.inbox-msg-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin: 0; }
.inbox-msg.is-unread .inbox-msg-title::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin: 0 8px 3px 0; vertical-align: middle; }
.inbox-msg-date { font-size: 1rem; color: var(--text-dim); white-space: nowrap; }
.inbox-msg-body { margin: 6px 0 0; color: var(--text-muted); font-size: 1rem; line-height: 1.55; white-space: pre-line; }
.inbox-offer { margin-top: 14px; padding: 14px; border: 1px solid var(--gold); border-radius: 10px; background: rgba(var(--gold-rgb), 0.07); }
.inbox-offer-text { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; color: var(--gold-light); }
.inbox-offer-code { margin: 6px 0 0; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.inbox-offer-code strong { color: var(--text); letter-spacing: 0.16em; }
.inbox-offer-exp { margin: 4px 0 0; font-size: 1rem; color: var(--text-dim); }
.inbox-offer.is-expired { opacity: 0.55; border-color: var(--border); }

/* ---------------------------------------------------------------- owner tools (owner-admin.js) */
html.oa-open, html.oa-open body { overflow: hidden; }
.oa-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.oa-toolbar .oa-tool { margin: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.owner-page .oa-toolbar .btn-secondary { border: 1.5px solid rgba(var(--gold-rgb), 0.55); color: var(--gold-light); background: transparent; }
.oa-row-acts { display: flex; gap: 18px; justify-content: flex-end; padding: 2px 4px 12px; margin-top: -6px; border-bottom: 1px solid var(--border-soft, rgba(255,255,255,0.05)); }
.oa-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 1rem; letter-spacing: 0.06em; color: var(--gold-light); text-decoration: none; cursor: pointer; }
.oa-link:hover, .oa-link:focus-visible { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; outline: none; }
.oa-danger { color: #c98b7a; }
.oa-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.72); display: flex; align-items: flex-end; justify-content: center; }
.oa-sheet {
  width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg-elevated); border-top: 1px solid var(--gold); border-radius: 16px 16px 0 0;
  padding: 0 18px calc(22px + env(safe-area-inset-bottom));
}
@media (min-width: 700px) { .oa-backdrop { align-items: center; } .oa-sheet { border-radius: 16px; border: 1px solid rgba(var(--gold-rgb), 0.45); } }
.oa-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; background: var(--bg-elevated); }
.oa-sheet-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; font-weight: 500; margin: 0; }
.oa-close { width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--text-muted); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.oa-form { display: flex; flex-direction: column; gap: 12px; }
.oa-field { display: flex; flex-direction: column; gap: 6px; }
.oa-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.oa-sec { margin-top: 8px; }
.oa-hint { font-size: 1rem; color: var(--text-dim); margin: 0; }
.oa-input { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 1rem; }
.oa-input:focus { outline: none; border-color: var(--gold); }
.oa-textarea { min-height: 110px; resize: vertical; }
.oa-taps { display: flex; flex-wrap: wrap; gap: 8px; }
.oa-tap { flex: 1 1 auto; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font: inherit; font-size: 1rem; cursor: pointer; }
.oa-tap.is-on { border-color: var(--gold); color: var(--gold-light); background: rgba(var(--gold-rgb), 0.08); }
.oa-taps-sm .oa-tap { min-height: 44px; font-size: 1rem; padding: 6px 8px; }
.oa-toggle { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text-muted); cursor: pointer; }
.oa-toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.oa-vline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oa-vrows { display: flex; flex-direction: column; gap: 12px; }
.oa-vrow { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.oa-vthumb { position: relative; width: 104px; height: 72px; border-radius: 8px; background: #1d1d1d center / cover no-repeat; }
.oa-vtag { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,0.65); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.oa-vfields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.oa-vfields .oa-vline { grid-template-columns: 76px 1fr; }
.oa-vacts { display: flex; flex-wrap: wrap; gap: 14px; }
.oa-add { align-self: flex-start; margin-top: 10px; }
.oa-error { margin: 0; }
.oa-done { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.oa-done-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; margin: 0; color: var(--gold-light); }
.oa-pw { font-family: ui-monospace, Menlo, monospace; font-size: 1.2rem; letter-spacing: 0.08em; padding: 10px 12px; border: 1px dashed var(--gold); border-radius: 10px; margin: 0; user-select: all; -webkit-user-select: all; }
.oa-pick { display: flex; flex-direction: column; gap: 8px; }
.oa-chosen { margin: 0; font-size: 1rem; color: var(--text-dim); }
.oa-chosen.is-set { color: var(--gold-light); }
.oa-results { display: flex; flex-direction: column; gap: 6px; }
.oa-result { text-align: left; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; cursor: pointer; }
.oa-result:hover { border-color: var(--gold); }
.oa-sent { margin: 0; color: var(--gold-light); font-size: 1rem; }
.oa-recent { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.oa-recent-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.oa-recent-title { margin: 0 0 2px; font-size: 1rem; }
.oa-li-veh { display: flex; align-items: center; gap: 10px; }
.oa-li-thumb { flex-shrink: 0; width: 64px; height: 44px; border-radius: 6px; background: #1d1d1d center / cover no-repeat; }
.oa-sheet [hidden], .oa-toolbar[hidden] { display: none !important; }
.oa-sheet .oa-hint, .oa-sheet .oa-toggle, .oa-sheet .oa-toggle span { text-transform: none; letter-spacing: normal; font-weight: 400; }
.oa-sheet .oa-toggle span { font-size: 1rem; color: var(--text-muted); }
.oa-sheet .oa-label .oa-link { text-transform: none; letter-spacing: 0.04em; font-size: 1rem; }
.plan-flow [hidden] { display: none !important; }

/* ---- Car photo upload (iOS-safe): label + rendered, visually hidden file input ---- */
.ead-file-input {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important;
  opacity: 0 !important; white-space: nowrap !important;
}
label.vehicle-photo-btn, label.oa-file-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
label.vehicle-photo-btn:focus-within, label.oa-file-btn:focus-within { outline: 2px solid #c9a24b; outline-offset: 2px; }
label.vehicle-photo-btn.is-busy, label.oa-file-btn.is-busy { opacity: .6; pointer-events: none; }
.vehicle-photo-status, .oa-photo-status {
  margin: .55rem 0 0; font-size: 1rem; line-height: 1.35; color: #e9dcc0;
}
.vehicle-photo-status.is-ok, .oa-photo-status.is-ok { color: #8fd19e; }
.vehicle-photo-status.is-error, .oa-photo-status.is-error { color: #ff8a80; font-weight: 600; }
.vehicle-photo-status[hidden], .oa-photo-status[hidden] { display: none !important; }

/* ---- Per-car plans (Oct 5, 2026): each car has its own plan chip, price, perk, Change / Remove ---- */
.vehicle-plan-badge .vehicle-plan-sep { opacity: .7; }
.vehicle-plan-badge .vehicle-plan-freq { font-weight: 600; }
.vehicle-plan-price { margin: 6px 0 0; font-size: 1rem; color: var(--text); }
.vehicle-plan-perk { margin: 4px 0 0; }
.vehicle-plan-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.vehicle-plan-acts .auth-ghost-btn { min-height: 44px; }
.vehicle-plan-picker { margin: 12px 0 0; padding: 12px; border: 1px solid var(--border); background: var(--bg); }
.vehicle-plan-picker[hidden] { display: none !important; }
.vehicle-plan-picker-title { font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.vehicle-plan-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vehicle-plan-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  min-height: 64px; padding: 10px; border: 1px solid var(--border); background: var(--bg-elevated);
  color: var(--text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vehicle-plan-chip.is-on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.vehicle-plan-chip.is-busy { opacity: .6; }
.vehicle-plan-chip-name { font-weight: 600; font-size: 1rem; }
.vehicle-plan-chip-price { font-size: 1rem; color: var(--gold-light); }
.vehicle-plan-chip-perk { font-size: 1rem; color: var(--text-muted); line-height: 1.3; }
@media (max-width: 380px) { .vehicle-plan-chips { grid-template-columns: 1fr; } .vehicle-plan-chip { min-height: 48px; } }
.vehicle-plan-cancel { margin-top: 8px; }
.ead-since { margin: 8px 0 0; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.home-since { margin: 0 0 14px; text-align: left; }
.home-garage-perk { display: block; margin-top: 3px; font-size: 1rem; }
.plan-cars { margin: 0 0 22px; }
.plan-cars[hidden] { display: none !important; }
.plan-cars-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); }
.plan-cars-row:first-of-type { border-top: 0; }
.plan-cars-row .plan-car-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.plan-cars-perk { font-size: 1rem; }
.plan-cars-acts { display: flex; flex-wrap: wrap; gap: 14px; }
.plan-cars-acts .plan-flow-link { margin: 0; }
body.ead-multi-plan #plan-status { display: none !important; }
.plan-car.is-current { border-color: var(--gold); }
.vehicle-size-taps { margin-top: 6px; }
.oa-vplan { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.oa-vplan-label { font-size: 1rem; letter-spacing: .08em; color: var(--gold-light); }
.oa-since-preview { margin: 4px 0 8px; font-size: 1rem; color: var(--gold-light); }
/* ---- Owner: phone/username sign-in + delete customer ---- */
.oa-login-note { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--border); font-size: 1rem; color: var(--gold-light); }
.oa-delete-wrap { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.oa-delete { width: 100%; min-height: 48px; border: 1px solid #c0392b; background: transparent; color: #ff6b5e; font: inherit; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.oa-delete.is-armed { background: #c0392b; color: #fff; }
.oa-delete-note { margin: 0 0 10px; color: #ff8a80; font-weight: 600; font-size: 1rem; }
.oa-delete-note[hidden] { display: none !important; }
.oa-deleted-note { margin: 0 0 12px; color: #8fd19e; font-size: 1rem; }
.oa-sheet .form-group[hidden], .oa-field[hidden] { display: none !important; }
/* ---- Owner: customer profile picture ---- */
.oa-avatar-ctl { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(var(--gold-rgb), 0.04); }
.oa-avatar-pic { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg-elevated) center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; color: var(--gold-light); }
.oa-avatar-right { flex: 1; min-width: 0; }
.oa-avatar-label { margin: 0 0 6px; }
.oa-avatar-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.oa-avatar-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; cursor: pointer; }
.oa-avatar-btn.is-busy { opacity: .6; pointer-events: none; }
.oa-avatar-rm[hidden] { display: none !important; }
.oa-cust-avatar-host { margin-top: 12px; }
/* ---- Owner: special price per car ---- */
.oa-price { margin-top: 12px; padding: 12px; border: 1px solid rgba(var(--gold-rgb), 0.45); border-radius: 12px; background: rgba(var(--gold-rgb), 0.06); flex-basis: 100%; width: 100%; box-sizing: border-box; }
.oa-price.is-set { border-color: var(--gold); }
.oa-price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.oa-price-label { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; color: var(--gold-light); }
.oa-price-now { font-size: 1rem; color: var(--text-muted); text-align: right; }
.oa-price.is-set .oa-price-now { color: var(--gold-light); font-weight: 600; }
.oa-price-row { display: flex; align-items: center; gap: 8px; }
.oa-price-dollar { font-size: 1.25rem; color: var(--gold-light); }
.oa-price-input { flex: 1; min-width: 0; font-size: 1.1rem !important; }
.oa-price-save { width: auto !important; margin: 0 !important; min-height: 44px; padding: 0 14px !important; white-space: nowrap; font-size: 1.25rem; flex: none; } /* zy-contrast: as big as the $ beside it */
.oa-price-units { margin-top: 8px; }
.oa-price-clear { margin-top: 6px; }
.oa-price-clear[hidden] { display: none !important; }
.oa-li-has-price { flex-wrap: wrap; }
/* ---- Customer: special price ---- */
.vehicle-special-price { color: var(--gold-light); font-weight: 600; }
.home-garage-price { display: block; font-size: 1rem; color: var(--gold-light); font-weight: 600; margin-top: 2px; }
.plan-car-price { display: block; font-size: 1rem; margin-top: 2px; }
/* ---- Two-way messages (customer + owner) ---- */
.chat-card { margin: 0 0 22px; padding: 16px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; }
.chat-h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 500; margin: 0 0 12px; }
.inbox-updates-h2 { margin-top: 4px; }
.chat-thread { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; margin-bottom: 12px; }
.chat-empty { margin: 0; color: var(--text-muted); font-size: 1rem; }
.chat-msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.chat-msg.is-theirs { align-self: flex-start; border-top-left-radius: 4px; }
.chat-msg.is-mine { align-self: flex-end; border-top-right-radius: 4px; background: rgba(var(--gold-rgb), 0.12); border-color: rgba(var(--gold-rgb), 0.45); }
.chat-msg.is-unread { border-color: var(--gold); }
.chat-who { margin: 0 0 2px; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.chat-title { margin: 0 0 4px; font-weight: 600; }
.chat-body { margin: 0 0 4px; white-space: pre-line; line-height: 1.5; font-size: 1rem; }
.chat-when { margin: 4px 0 0; font-size: 1rem; color: var(--text-dim); }
.chat-offer { margin: 4px 0 0; color: var(--gold-light); font-size: 1rem; }
.chat-form { display: flex; flex-direction: column; gap: 8px; }
.chat-label { font-size: 1rem; color: var(--text-muted); }
.chat-input { width: 100%; box-sizing: border-box; min-height: 88px; padding: 12px; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; resize: vertical; }
.chat-input:focus { outline: none; border-color: var(--gold); }
.chat-status { margin: 0; font-size: 1rem; color: #8fd19e; }
.chat-status.is-error { color: #ff8a80; }
.chat-status[hidden] { display: none !important; }
/* owner inbox */
.oa-inbox { margin-bottom: 16px; }
.oa-inbox-title { display: flex; align-items: center; gap: 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 500; margin: 0 0 10px; }
.oa-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--gold); color: #111; font-family: Inter, sans-serif; font-size: 1rem; font-weight: 700; }
.oa-count[hidden] { display: none !important; }
.oa-inbox-list { display: flex; flex-direction: column; gap: 8px; }
.oa-thread { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.oa-thread.is-unread { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.07); }
.oa-thread-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.oa-thread-name { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.oa-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.oa-thread-name .ead-count { margin-right: 0; }
.oa-tool .ead-count, .oa-link .ead-count { margin-left: 8px; vertical-align: 1px; }
.oa-tool.has-unread, .oa-link.has-unread { display: inline-flex; align-items: center; justify-content: center; }
.oa-thread-when { font-size: 1rem; color: var(--text-dim); white-space: nowrap; }
.oa-thread-last { font-size: 1rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-thread-n { font-size: 1rem; color: var(--gold-light); }
.oa-chat-thread { max-height: 55vh; }
.oa-chat-input { min-height: 88px; resize: vertical; font-size: 1rem; }
.oa-chat-open { display: inline-block; margin-top: 10px; }
.oa-tool.has-unread { border-color: var(--gold); color: var(--gold-light); }
.chat-card, .oa-chat { text-align: left; }
.chat-send { width: 100%; }
/* ship-zx: 'New message' pill under the thread when a reply arrives while you're reading older messages (theme colours come from .form-submit) */
.chat-new-pill { display: block; width: auto !important; max-width: 100%; min-height: 44px; margin: -4px auto 12px; padding: 10px 20px; border-radius: 999px; font-size: 1rem; white-space: normal; }
.chat-new-pill[hidden] { display: none !important; }
/* ship-zx: Manage this visit - "Next wash" / "Next visit" open it; big plain buttons, one per row (theme colours from the shared button classes) */
.sch-box-next.mv-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 8px 10px; box-sizing: border-box;
  background: transparent; border: 1px solid var(--border); border-radius: 10px; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; white-space: normal; overflow-wrap: break-word; }
.home-garage-next.mv-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mv-chev { font-weight: 700; flex: none; }
.mv-body { display: flex; flex-direction: column; gap: 12px; }
.mv-info { margin: 0; display: grid; gap: 6px; }
.mv-row { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; align-items: baseline; }
.mv-k { margin: 0; color: var(--text-muted); font-size: 1rem; }
.mv-v { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.mv-late { padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px; }
.mv-late-p { margin: 0 0 8px; font-size: 1rem; line-height: 1.45; }
.mv-rain { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.mv-rain input { width: 22px; height: 22px; flex: none; }
.mv-acts { display: flex; flex-direction: column; gap: 10px; }
.mv-acts[hidden] { display: none; }
.mv-btn { width: 100% !important; min-height: 52px; margin: 0 !important; font-size: 1.05rem; white-space: normal; }
.mv-ok { margin: 0; font-weight: 600; }
/* ---- Owner: services per car ---- */
.oa-svc { margin-top: 12px; padding: 12px; border: 1px solid rgba(var(--gold-rgb), 0.45); border-radius: 12px; background: rgba(var(--gold-rgb), 0.06); flex-basis: 100%; width: 100%; box-sizing: border-box; text-align: left; }
.oa-svc.is-set { border-color: var(--gold); }
.oa-svc-hint { margin: 0 0 8px; }
.oa-svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.oa-svc-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 22px; background: transparent; color: var(--text-muted); font: inherit; font-size: 1rem; cursor: pointer; }
.oa-svc-chip.is-on { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.16); color: var(--text); }
.oa-svc-mark { color: var(--gold-light); font-weight: 700; width: 12px; text-align: center; }
.oa-svc-x { margin-left: 2px; color: var(--text-dim); font-size: 1.05rem; }
.oa-svc-add { margin-bottom: 8px; }
.oa-svc-add .oa-input { flex: 1; min-width: 0; }
.oa-svc-addbtn { min-height: 44px; padding: 0 16px; white-space: nowrap; }
.oa-svc-note { width: 100%; box-sizing: border-box; min-height: 60px; resize: vertical; font-size: 1rem; margin-bottom: 8px; }
.oa-svc-save { width: 100%; margin: 0 !important; }
/* ---- Customer: Your services ---- */
.car-services { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid rgba(var(--gold-rgb), 0.4); border-radius: 10px; background: rgba(var(--gold-rgb), 0.05); text-align: left; }
.car-services-h { margin: 0 0 6px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.car-services-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.car-services-list li { display: flex; gap: 8px; align-items: flex-start; }
.car-svc-check { color: var(--gold); font-weight: 700; line-height: 1.4; }
.car-svc-text { display: flex; flex-direction: column; }
.car-svc-name { color: var(--text); font-size: 1rem; line-height: 1.4; }
.car-svc-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.4; }
.car-services-note { margin: 8px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.02rem; color: var(--text-muted); }
.home-garage-services { display: block; font-size: 1rem; color: var(--text-muted); margin-top: 2px; line-height: 1.35; }
.home-garage-services-h { color: var(--gold-light); }
.oa-svc-add { display: flex; align-items: stretch; gap: 8px; }
.oa-svc-add .oa-input { flex: 1 1 auto; width: auto; min-width: 0; }
.oa-svc-addbtn { flex: 0 0 auto; width: auto !important; margin: 0 !important; }
.oa-svc-chip span, .oa-svc .oa-price-label, .oa-svc .oa-price-now { text-align: left; }
.oa-svc-chip > span { color: inherit !important; font-size: inherit !important; }
.oa-svc-chip.is-on { color: var(--text) !important; }
.oa-svc-chip .oa-svc-mark { color: var(--gold-light) !important; }
.oa-svc-chip .oa-svc-x { color: var(--text-dim) !important; }
.oa-svc .oa-price-label { color: var(--gold-light) !important; }
.oa-svc .oa-price-now { color: var(--text-muted) !important; }
.oa-svc.is-set .oa-price-now { color: var(--gold-light) !important; }
.oa-price .oa-price-label { color: var(--gold-light) !important; font-weight: 600 !important; }
.oa-price .oa-price-dollar { color: var(--gold-light) !important; font-weight: 400 !important; }
.oa-price .oa-price-now { color: var(--text-muted) !important; }
.oa-price.is-set .oa-price-now { color: var(--gold-light) !important; font-weight: 600 !important; }
/* ---- Owner browsing a customer page: one-tap way back (owner-route.js) ---- */
.app-owner-link {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center;
  border: 1px solid var(--gold); border-radius: 18px; background: rgba(var(--gold-rgb), 0.14);
  color: var(--gold-light); font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; -webkit-tap-highlight-color: transparent; z-index: 2;
}
.app-owner-link:hover, .app-owner-link:focus-visible { background: var(--gold); color: #111; outline: none; }
/* ---- Owner: Text login info ---- */
.oa-login-share-host { margin: 4px 0 14px; }
.oa-login-share { padding: 12px; border: 1px solid rgba(var(--gold-rgb), 0.45); border-radius: 12px; background: rgba(var(--gold-rgb), 0.06); text-align: left; }
.oa-text-login { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-hi2), var(--gold)); color: #111 !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; text-decoration: none; }
.oa-text-login[hidden] { display: none !important; }
.oa-text-login:active { filter: brightness(.95); }
.oa-done .oa-text-login { margin: 12px 0; }
.oa-login-share-hint { margin: 6px 0 4px; }
.oa-login-pwpanel { margin-top: 10px; }
.oa-login-pwpanel[hidden] { display: none !important; }
.oa-login-pwpanel .oa-price-row .oa-input { flex: 1; min-width: 0; }
.oa-login-savepw { width: 100%; margin: 8px 0 0 !important; }
.oa-login-pwpanel .oa-text-login { margin-top: 10px; }
/* Special price box (Oct 5 cleanup): regular-price context line, staged mode hides Save price, fits 390px. */
.oa-price-regular { margin: -2px 0 8px !important; font-size: 1rem !important; line-height: 1.35; color: var(--text-muted) !important; text-align: left; }
.oa-price-save[hidden] { display: none !important; }
.oa-price-row .oa-price-input { width: 100%; }
.oa-price-units { flex-wrap: wrap; }
.oa-price-status { margin-top: 6px !important; }
.oa-done-prices { margin: 10px 0 14px; padding: 10px 12px; border: 1px solid rgba(var(--gold-rgb), 0.45); border-radius: 12px; text-align: left; }
.oa-done-prices .oa-label { margin: 0 0 4px; }
.oa-done-price { margin: 2px 0; color: var(--gold-light); font-weight: 600; }
/* In the car editor, the price + services boxes use the full card width (below the photo), so they read on a 390px phone. */
.oa-vrow .oa-vfields > .oa-price, .oa-vrow .oa-vfields > .oa-svc { width: calc(100% + 116px) !important; max-width: none; margin-left: -116px; align-self: flex-start; }
/* Phone 2: label chips under the field; two "Text to …" buttons when a customer has two numbers. */
.oa-phone2-taps { margin: -4px 0 6px; }
.oa-text-login-pair { display: flex; flex-direction: column; gap: 10px; }
.oa-text-login-pair .oa-text-login { margin: 0; }
.oa-text-login-pair[hidden] { display: none !important; }
/* ===================================================================== Invoices (Zelle), Oct 5 */
.inv-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 12px; font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--border); color: var(--text-muted); }
.inv-pill.is-unpaid { border-color: rgba(var(--gold-rgb), 0.7); color: var(--gold-light); background: rgba(var(--gold-rgb), 0.10); }
.inv-pill.is-pending { border-color: rgba(var(--gold-rgb), 0.5); color: #111; background: linear-gradient(135deg, var(--gold-hi2), var(--gold)); }
.inv-pill.is-paid { border-color: rgba(120,190,140,0.55); color: #9fd6ad; background: rgba(120,190,140,0.10); }
.inv-pill.is-draft { border-style: dashed; }
/* Owner cards */
.inv-card { margin-bottom: 18px; text-align: left; }
.inv-card[hidden] { display: none !important; }
.inv-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.inv-card-head .oa-inbox-title { margin: 0; }
.inv-card-head .oa-tool { margin: 0; min-height: 44px; padding: 0 16px; width: auto; }
.inv-filter { margin: 4px 0 8px; }
.inv-totals { margin: 4px 0 8px; color: var(--gold-light); font-weight: 600; font-size: 1rem; }
.inv-totals:empty { display: none; }
.inv-list { display: flex; flex-direction: column; gap: 8px; }
.inv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.inv-row:active { border-color: var(--gold); }
.inv-row-main { display: flex; flex-direction: column; min-width: 0; }
/* zy-qa2 (#3): nothing is cut with "…" (invoice numbers, dates, names wrap instead). A narrow phone at Larger text puts
   the total + status under the details rather than squeezing them; .inv-keep = never broken inside (EAD-0004, Oct 9, 2026). */
.inv-row { flex-wrap: wrap; }
.inv-row-main { flex: 1 1 9em; }
.inv-row-title { font-weight: 600; overflow-wrap: anywhere; }
.inv-row-sub { font-size: 1rem; color: var(--text-muted); overflow-wrap: anywhere; }
.inv-keep { white-space: nowrap; }
.inv-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; margin-left: auto; }
.inv-zelle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem; color: var(--text-muted); }
.inv-zelle-row.is-empty { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.12); color: var(--gold-light); }
.inv-zelle-row .oa-tool { margin: 0; min-height: 44px; padding: 0 14px; width: auto; }
.inv-zelle-text { min-width: 0; overflow-wrap: anywhere; }
/* Owner: new invoice form */
.inv-form { text-align: left; }
.inv-step { margin: 14px 0 6px; }
.inv-cars { display: grid; grid-template-columns: 1fr; gap: 8px; }
.inv-car { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.inv-car.is-on { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.12); }
.inv-car-mark { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(var(--gold-rgb), 0.55); display: inline-flex; align-items: center; justify-content: center; color: #111; font-weight: 700; font-size: 1rem; }
.inv-car.is-on .inv-car-mark { background: var(--gold); border-color: var(--gold); }
.inv-car-text { display: flex; flex-direction: column; min-width: 0; }
.inv-car-name { font-weight: 600; }
.inv-car-size { font-size: 1rem; color: var(--text-muted); }
.inv-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-sugg .oa-hint { margin: 0; }
.inv-sugg-car { flex-basis: 100%; margin: 6px 0 0; font-size: 1rem; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.inv-chip.is-oncar { border-color: rgba(var(--gold-rgb), 0.55); color: var(--text); }
.inv-chip.is-special { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.14); color: var(--gold-light); }
.inv-lines { display: flex; flex-direction: column; gap: 8px; }
.inv-line { padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.inv-line-top, .inv-line-bot { display: flex; align-items: center; gap: 8px; }
.inv-line-bot { margin-top: 8px; }
.inv-line .oa-input { margin: 0; font-size: 1rem; min-height: 44px; }
.inv-desc { flex: 1; min-width: 0; }
.inv-qty { width: 64px; flex: 0 0 64px; text-align: center; }
.inv-price { width: 96px; flex: 0 0 96px; }
.inv-times { color: var(--text-dim); }
.inv-amt { margin-left: auto; font-weight: 600; color: var(--gold-light); white-space: nowrap; }
.inv-x { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.inv-add { display: block; margin: 10px 0 4px; min-height: 44px; font-size: 1rem; }
.inv-total-row { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(var(--gold-rgb), 0.35); font-size: 1rem; }
.inv-total { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; color: var(--gold-light); }
.inv-note { width: 100%; box-sizing: border-box; min-height: 60px; resize: vertical; font-size: 1rem; }
/* Owner: invoice sheet */
.inv-owner { text-align: left; }
.inv-owner-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.inv-owner-name { margin: 0; font-weight: 600; font-size: 1.05rem; }
.inv-owner-head .oa-hint { margin: 2px 0 0; }
.inv-mini-lines { margin: 12px 0; border-top: 1px solid var(--border); }
.inv-mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 1rem; }
.inv-mini-total { border-bottom: 0; font-size: 1.02rem; color: var(--gold-light); }
.inv-owner-note { margin: 0 0 10px; color: var(--text-muted); font-size: 1rem; white-space: pre-wrap; }
.inv-gold-note { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px; background: rgba(var(--gold-rgb), 0.14); color: var(--gold-light); font-size: 1rem; }
.inv-paid-note { margin: 0 0 10px; color: #9fd6ad; font-weight: 600; }
.inv-done { color: var(--gold-light) !important; }
.inv-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.inv-acts .oa-tool { width: 100%; margin: 0; min-height: 48px; }
.inv-acts .btn-secondary { border: 1.5px solid rgba(var(--gold-rgb), 0.55); color: var(--gold-light); background: transparent; }
.inv-text-one .oa-text-login, .inv-text-pair .oa-text-login { margin: 0; }
.inv-paid-chips .oa-label { margin: 0 0 6px; }
.inv-paid-chips .oa-tap { min-height: 48px; font-size: 1rem; }
.inv-del { align-self: center; min-height: 44px; padding: 0 12px; }
.inv-del.is-armed { color: #fff; background: #8a3b2c; border-radius: 10px; }
/* Customer: list */
.inv-root { text-align: left; }
.inv-empty { color: var(--text-muted); }
.inv-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated); color: var(--text); text-decoration: none; }
.inv-item.is-open { border-color: rgba(var(--gold-rgb), 0.6); }
.inv-item-main { display: flex; flex-direction: column; min-width: 0; }
.inv-item-title { font-weight: 600; letter-spacing: .04em; }
.inv-item-sub { font-size: 1rem; color: var(--text-muted); }
.inv-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.inv-item-total { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; color: var(--gold-light); }
/* Customer: one invoice */
.inv-doc { padding: 18px 16px; border: 1px solid rgba(var(--gold-rgb), 0.55); border-radius: 14px; background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08) 0%, var(--bg-elevated, #111) 60%); }
.inv-doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(var(--gold-rgb), 0.35); }
.inv-brand { min-width: 0; }
.inv-logo { display: block; width: 150px; max-width: 100%; height: auto; }
.inv-brand-name { display: none; margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; }
.inv-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.inv-label { margin: 0; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.inv-number { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; color: var(--gold-light); }
.inv-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0; font-size: 1rem; }
.inv-facts dt { color: var(--text-muted); }
.inv-facts dd { margin: 0; text-align: right; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.inv-table th { padding: 6px 0; font-size: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); text-align: left; border-bottom: 1px solid var(--border); }
.inv-table td { padding: 10px 0; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.inv-table .inv-num { text-align: right; white-space: nowrap; padding-left: 10px; }
.inv-desc span { display: block; }
.inv-each { font-size: 1rem; color: var(--text-muted); }
.inv-bd { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.35; color: var(--text-muted); } /* 23-invoice-breakdown */
.inv-table tfoot th { font-size: 1rem; letter-spacing: .1em; color: var(--text); border: 0; padding-top: 12px; }
.inv-total-cell { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; color: var(--gold-light); border: 0 !important; padding-top: 8px !important; }
.inv-doc-note { margin: 12px 0 0; color: var(--text-muted); font-size: 1rem; white-space: pre-wrap; }
.inv-paid-line { margin: 14px 0 0; color: #9fd6ad; font-weight: 600; }
.inv-zelle { margin: 16px 0; padding: 16px; border: 1.5px solid var(--gold); border-radius: 14px; background: rgba(var(--gold-rgb), 0.08); }
.inv-zelle-h { margin: 0 0 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 500; color: var(--gold-light); }
.inv-zelle-soon { margin: 0; color: var(--text-muted); }
.inv-zrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(var(--gold-rgb), 0.2); }
.inv-zrow-text { display: flex; flex-direction: column; min-width: 0; }
.inv-zlabel { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.inv-zvalue { font-size: 1.05rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.inv-zvalue a { color: inherit !important; text-decoration: none !important; pointer-events: none; }
.inv-copy { flex-shrink: 0; min-width: 76px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(var(--gold-rgb), 0.6); border-radius: 20px; background: transparent; color: var(--gold-light); font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: .06em; cursor: pointer; }
.inv-copy.is-done { background: var(--gold); color: #111; border-color: var(--gold); }
.inv-steps { margin: 12px 0 8px; padding-left: 20px; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.inv-zelle-note { margin: 0 0 8px; font-size: 1rem; color: var(--text-muted); }
.inv-sent-btn { width: 100%; margin-top: 8px; }
.inv-sent-status { margin: 10px 0 0; padding: 12px; border-radius: 10px; text-align: center; font-weight: 600; color: #111; background: linear-gradient(135deg, var(--gold-hi2), var(--gold)); }
.inv-pdf { width: 100%; min-height: 48px; margin: 4px 0 6px; }
.inv-pdf-hint { margin: 0 0 14px; }
.inv-all { display: block; text-align: center; }
/* Home tile badge */
#home-invoices-tile { position: relative; }
.inv-tile-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--gold); color: #111; font-weight: 700; font-size: 1rem; }
.inv-tile-badge[hidden] { display: none !important; }
@media (max-width: 400px) {
  .inv-price { width: 84px; flex-basis: 84px; }
  .inv-qty { width: 56px; flex-basis: 56px; }
  .inv-doc { padding: 16px 12px; }
  .inv-logo { width: 120px; }
}
/* Save as PDF / print: clean white invoice, no app chrome or buttons. */
@media print {
  @page { margin: 14mm; }
  body.invoice-page { background: #fff !important; color: #000 !important; }
  body.invoice-page .app-header, body.invoice-page .app-footer, body.invoice-page .app-back, body.invoice-page #inv-title,
  body.invoice-page #inv-status, body.invoice-page .inv-pdf, body.invoice-page .inv-pdf-hint, body.invoice-page .inv-all,
  body.invoice-page .inv-copy, body.invoice-page .inv-sent-btn, body.invoice-page .form-error, body.invoice-page .inbox-envelope,
  body.invoice-page .app-msg-btn, body.invoice-page #app-install { display: none !important; }
  body.invoice-page .app-main, body.invoice-page .app-hero { padding: 0 !important; margin: 0 !important; background: none !important; min-height: 0 !important; max-width: none !important; width: auto !important; }
  body.invoice-page .inv-zelle { margin: 10px 0 0 !important; padding: 10px 14px !important; }
  body.invoice-page .inv-zrow { padding: 5px 0 !important; }
  body.invoice-page * { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  body.invoice-page .inv-doc { border: 1px solid #999 !important; border-radius: 0; }
  body.invoice-page .inv-logo { display: none !important; }
  body.invoice-page .inv-brand-name { display: block !important; font-size: 18pt; }
  body.invoice-page .inv-pill { border: 1px solid #000 !important; }
  body.invoice-page .inv-zelle { border: 1px solid #999 !important; break-inside: avoid; }
  body.invoice-page .inv-table th, body.invoice-page .inv-table td, body.invoice-page .inv-zrow, body.invoice-page .inv-doc-head { border-color: #bbb !important; }
  body.invoice-page .inv-sent-status { border: 1px solid #000; }
}
/* ===================================================================== Lucy (assistant) in Messages, Oct 5 */
.oa-lucy-tag { display: inline-flex; align-items: center; height: 18px; margin-right: 6px; padding: 0 7px; border-radius: 9px; border: 1px solid rgba(160,190,230,0.55); background: rgba(160,190,230,0.12); color: #c5d6ee; font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.oa-richie-flag { display: block; margin-top: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--gold); background: rgba(var(--gold-rgb), 0.16); color: var(--gold-light); font-size: 1rem; line-height: 1.35; white-space: normal; }
.oa-richie-flag b { letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; }
.oa-thread.is-flagged { border-color: var(--gold) !important; }
.oa-richie-banner { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px; background: rgba(var(--gold-rgb), 0.14); color: var(--gold-light); font-size: 1rem; text-align: left; }
.oa-richie-banner[hidden] { display: none !important; }
.oa-richie-banner p { margin: 0 0 4px; }
.oa-richie-banner b { text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.chat-msg.is-lucy { border-color: rgba(160,190,230,0.45); }

/* ---------------------------------------------------------------- recurring plan visits (schedule-ui.js, owner-schedule.js) */
html.sch-open, html.sch-open body { overflow: hidden; }
.sch-backdrop { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.62); display: flex; align-items: flex-end; justify-content: center; }
.sch-sheet { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg-elevated); border: 1px solid var(--border); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); box-sizing: border-box; }
@media (min-width: 640px) { .sch-backdrop { align-items: center; } .sch-sheet { border-radius: 18px; border-bottom: 1px solid var(--border); } }
.sch-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px 0 8px; background: var(--bg-elevated); }
.sch-sheet-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; font-weight: 500; margin: 0; }
.sch-close { width: 40px; height: 40px; border: 0; background: none; color: var(--text-muted); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.sch-sub { margin: 0 0 6px; color: var(--text-muted); font-size: 1rem; }
.sch-label { margin: 16px 0 8px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.sch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sch-chip { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font: 600 1rem Inter, sans-serif; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.sch-days .sch-chip { padding: 8px 0; font-size: 1rem; }
.sch-times .sch-chip { min-width: 72px; }
.sch-chip.is-on { background: var(--gold); border-color: var(--gold); color: #111; }
.sch-chip.is-taken { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.sch-chip.is-taken:not([disabled]) { opacity: .7; text-decoration: none; cursor: pointer; border-style: dashed; }
.sch-chip.is-taken.is-on { opacity: 1; }
.sch-taken-by { display: block; font-size: 1rem; font-weight: 500; opacity: .85; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sch-hint { margin: 12px 0 0; color: var(--text-muted); font-size: 1rem; line-height: 1.45; }
.sch-hint.is-warn { color: var(--gold-light); }
.sch-err { margin-top: 12px; }
.sch-save { width: 100%; margin-top: 16px; }
.sch-save[disabled] { opacity: .5; }
.sch-later { width: 100%; margin-top: 10px; }
.sch-done { text-align: center; padding: 8px 0 4px; }
.sch-done-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; color: var(--gold-light); margin: 6px 0 8px; }
.sch-done-line { margin: 4px 0; font-size: 1rem; }
.sch-box { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 10px; background: rgba(var(--gold-rgb), .06); }
.sch-box-next { margin: 0; font-weight: 600; color: var(--gold-light); }
.sch-box-cad { margin: 4px 0 0; color: var(--text-muted); font-size: 1rem; }
.sch-box-h { margin: 10px 0 4px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.sch-upcoming { margin: 0; padding: 0; list-style: none; font-size: 1rem; color: var(--text); }
.sch-upcoming li { padding: 2px 0; }
.sch-box .sch-hint { margin-top: 8px; font-size: 1rem; }
.sch-pick { width: 100%; margin: 0; }
.vehicle-plan-act.is-armed { border-color: #c0605a; color: #e8a29d; }
.home-next-wash { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 12px; background: rgba(var(--gold-rgb), .06); }
.home-next-wash[hidden] { display: none; }
.home-next-wash-k { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.home-next-wash-v { font-weight: 600; }
.home-next-wash-car { color: var(--text-muted); font-size: 1rem; }
.home-next-wash-pick { width: 100%; min-height: 44px; border: 1px solid var(--gold); border-radius: 10px; background: var(--gold); color: #111; font: 600 1rem Inter, sans-serif; cursor: pointer; }
.home-garage-next { display: block; font-size: 1rem; color: var(--gold-light); margin-top: 2px; }
.home-garage-next.is-paused { color: var(--text-muted); }
/* owner */
.os-card .oa-inbox-title { margin-bottom: 6px; }
.os-car { padding: 12px 0; border-top: 1px solid var(--border); }
.os-car:first-of-type { border-top: 0; }
.os-car-name { margin: 0; font-weight: 600; }
.os-line { margin: 4px 0 0; color: var(--text-muted); font-size: 1rem; }
.os-line b { color: var(--text); font-weight: 600; }
.os-status { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9px; font-size: 1rem; font-weight: 600; vertical-align: 1px; }
.os-status.is-active { background: rgba(120,190,130,.16); color: #9fd6a7; }
.os-status.is-paused { background: rgba(var(--gold-rgb), .16); color: var(--gold-light); }
.os-status.is-none { background: rgba(255,255,255,.07); color: var(--text-muted); }
.os-sync { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.os-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 9px; font-size: 1rem; border: 1px solid var(--border); color: var(--text-muted); }
.os-badge.is-ok { border-color: rgba(120,190,130,.5); color: #9fd6a7; }
.os-badge.is-error { border-color: rgba(192,96,90,.6); color: #e8a29d; }
.os-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.os-acts .btn-secondary, .os-acts .form-submit, .os-acts .auth-ghost-btn { min-height: 44px; padding: 8px 14px; font-size: 1rem; width: auto; margin: 0; }
.os-acts .is-armed { border-color: #c0605a; color: #e8a29d; }
.os-warn { margin: 8px 0 0; color: var(--gold-light); font-size: 1rem; }
.os-day { margin-top: 12px; }
.os-day-h { margin: 0 0 6px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.os-visit { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; }
.os-visit-t { min-width: 66px; font-weight: 600; font-variant-numeric: tabular-nums; }
.os-visit-w { flex: 1; min-width: 0; }
.os-visit-w span { display: block; color: var(--text-muted); font-size: 1rem; }
.os-conn { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.os-conn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 1rem; }
.os-conn-row b { font-weight: 600; }
.os-conn-row span { color: var(--text-muted); }
.os-tpl { width: 100%; min-height: 150px; box-sizing: border-box; }
.os-ph { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.os-ph code { color: var(--gold-light); }
.oa-check { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; min-height: 44px; font-size: 1rem; color: var(--text-muted); cursor: pointer; }
.oa-check input { width: 20px; height: 20px; accent-color: var(--gold); }
.os-edit .sch-label { margin: 12px 0 6px; }
.os-edit .sch-chip { min-height: 44px; }
.os-saved { margin: 8px 0 0; font-size: 1rem; color: #9fd6a7; min-height: 1em; }
.os-saved:empty { display: none; }
.os-saved.is-error { color: var(--gold-light); }
.os-skip { color: var(--gold-light); }
.os-car { scroll-margin-top: 80px; transition: background-color .6s; border-radius: 10px; }
.os-car.is-flash { background: rgba(var(--gold-rgb), .12); }
/* auto-invoice (owner customer page) */
.inv-auto { margin: 14px 0 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; }
.inv-auto-h { margin: 0 0 8px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.inv-auto .oa-taps { margin-bottom: 8px; flex-wrap: wrap; }
.inv-auto-preview { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.inv-auto-amt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; }
.inv-auto-amt b { font-size: 1.25rem; color: var(--gold-light); }
.inv-auto-lines { list-style: none; margin: 8px 0 0; padding: 0; font-size: 1rem; }
.inv-auto-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px dashed rgba(255,255,255,.08); color: var(--text-muted); }
.inv-auto-lines li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.inv-auto-last { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }

/* "I'm away" (vacation) + schedule-update preference — Profile; owner Schedule box */
.sch-away, .sch-pref-card { margin-top: 14px; }
.sch-away-title { margin: 0 0 4px; font: 600 1rem Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.sch-away-list { margin-top: 10px; }
.sch-away-item { padding: 12px 14px; margin: 0 0 10px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 10px; background: rgba(var(--gold-rgb), .06); }
.sch-away-dates { margin: 0; font-weight: 600; color: var(--text); }
.sch-away-item .sch-hint { margin-top: 4px; }
.sch-away-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.sch-away-acts > button { min-height: 44px; flex: 1 1 auto; }
.sch-away-del.is-armed, .sch-away-del[disabled] { border-color: #e07a6a; color: #e07a6a; }
.sch-away-form { margin-top: 10px; }
.sch-away-field input[type="date"] { width: 100%; min-height: 48px; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.sch-away-add { margin-top: 12px; width: 100%; }
.sch-away-note { margin: 10px 0 0; }
.sch-pref { margin-top: 10px; grid-template-columns: repeat(3, 1fr); display: grid; gap: 8px; }
.sch-pref-q { margin-bottom: 4px; }
.os-away { margin: 0 0 14px; padding: 12px 14px; border: 1px dashed rgba(var(--gold-rgb), .55); border-radius: 10px; }
.os-away-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0; }
.os-away-row b { color: var(--gold-light); font-weight: 600; }
.os-away-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.os-away-form input[type="date"] { width: 100%; min-height: 44px; font-size: 1rem; }
.os-away-form .os-acts { grid-column: 1 / -1; }
.os-pref { margin: 0 0 10px; color: var(--text-muted); font-size: 1rem; }
.os-notify { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid rgba(var(--gold-rgb), .55); border-radius: 10px; background: rgba(var(--gold-rgb), .06); }
.os-notify textarea { width: 100%; min-height: 96px; font-size: 1rem; margin: 6px 0 8px; }
.os-notify .os-acts { display: flex; gap: 10px; flex-wrap: wrap; }
/* Profile: small Privacy · Terms links under Sign out */
.auth-footer-link.app-legal-links { margin-top: 10px; font-size: 1rem; color: var(--text-dim); }
.auth-footer-link.app-legal-links a { color: var(--text-muted); font-weight: 300; }
.os-sync .os-gconnect { font-size: 1rem; }

/* H1: owner pricing review card */
.oa-pricing-review { margin-top: 14px; }
.oa-pricing-review .oa-hint { margin: 0 0 10px; }
.oa-pricing-review .owner-detail-list { margin-bottom: 10px; }

/* item 15: Preferred Client label on Home (gold, same as the Executive Member badge) */
.home-pref-wrap { margin: 0 0 6px; }
.home-pref-badge { margin-top: 0; }

/* item 14: My invoices sections (iPhone first) */
.inv-sec { margin: 0 0 22px; }
.inv-sec-h { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-weight: 500; margin: 0 0 10px; color: var(--gold-light); }
.inv-est { border: 1px solid rgba(201, 162, 39, 0.28); border-radius: 14px; padding: 14px; margin: 0 0 10px; background: rgba(255, 255, 255, 0.02); }
.inv-est-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.inv-est-lines { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; color: var(--text-dim); }
.inv-est-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.inv-est-lines li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.inv-year-total { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.2rem; line-height: 1.1; margin: 0 0 4px; color: var(--gold-light); }
.inv-est-note { font-size: 1rem; color: var(--text-dim); margin: 8px 0 0; }
.inv-pill.is-estimate { background: transparent; color: var(--gold-light); border: 1px solid rgba(201, 162, 39, 0.55); }
.inv-missed { list-style: none; margin: 0; padding: 0; }
.inv-missed-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.inv-missed-row:first-child { border-top: 0; }
.inv-pill.is-reason { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.12); white-space: nowrap; }
.inv-pill.is-rain { color: #9cc7ff; border-color: rgba(156, 199, 255, 0.4); }

/* Item 12: forced password change (blocks the app until done) */
html.pw-gate-open, html.pw-gate-open body { overflow: hidden; }
.pw-gate { position: fixed; inset: 0; z-index: 10000; background: rgba(10, 12, 16, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); }
.pw-gate-card { width: 100%; max-width: 420px; background: #15181e; border: 1px solid rgba(201, 162, 39, 0.45); border-radius: 14px; padding: 22px 20px; color: #f2f2f2; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.pw-gate-h { margin: 0 0 8px; font-size: 1.3rem; color: #e3c565; }
.pw-gate-p { margin: 0 0 16px; line-height: 1.45; opacity: 0.9; }
.pw-gate-form { display: flex; flex-direction: column; gap: 8px; }
.pw-gate-label { font-weight: 600; font-size: 1rem; margin-top: 4px; }
.pw-gate-form input { font-size: 1rem; padding: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0e1014; color: #fff; }
.pw-gate-form .form-submit { margin-top: 10px; }
.pw-gate-out { background: none; border: 0; color: #bbb; text-decoration: underline; padding: 10px; font-size: 1rem; cursor: pointer; }

/* ---------- Owner Income page (/app/owner/income/) ---------- */
a.owner-module-link { display: block; text-decoration: none; color: inherit; min-height: 44px; }
a.owner-module-link:active, a.owner-module-link:focus-visible { border-color: var(--gold); outline: none; }
.inc-card { margin-bottom: 18px; text-align: left; }
.inc-months { display: flex; flex-direction: column; gap: 8px; }
.inc-month { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.inc-month.is-on { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.12); }
.inc-month-main { display: flex; flex-direction: column; min-width: 0; }
.inc-month-name { font-weight: 600; }
.inc-month-sub { font-size: 1rem; color: var(--text-muted); overflow-wrap: anywhere; }
.inc-month-total { font-size: 1.08rem; color: var(--gold-light); white-space: nowrap; flex-shrink: 0; }
.inc-row.is-invoice { cursor: default; }
.inc-amt { font-size: 1rem; }
.inc-form { text-align: left; }
.inc-form .oa-input { font-size: 1rem; } /* 16px+ keeps iPhone Safari from zooming into the field */
.inc-delete { margin-top: 10px; width: 100%; }

/* ---------- Booking Agreement (17): checkbox, panel, one-time accept screen, owner status ---------- */
.ag-block { margin: 14px 0 6px; text-align: left; }
.ag-agree { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; font-size: 1rem; }
.ag-agree input[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; margin-top: 1px; accent-color: var(--gold); }
.ag-link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ag-ext { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.ag-text { margin: 10px 0 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 1rem; line-height: 1.5; color: var(--text-muted); }
.ag-text[hidden] { display: none !important; }
.ag-title { margin: 0 0 6px; font-size: 1rem; color: var(--gold-light); }
.ag-p { margin: 0 0 8px; }
.ag-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ag-list b { color: var(--text); }
.ag-error { margin-top: 6px; }
.ag-gate-card { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ag-gate .ag-scroll { max-height: 42vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ag-gate .ag-agree { color: #f2f2f2; }
.ag-pill { margin-top: 4px; align-self: flex-start; }
.ag-owner-line { margin: 10px 0 0; font-size: 1rem; color: var(--text-muted); }
.ag-owner-line.is-missing span { color: var(--gold-light); }

/* ---------- Date picker (19): 14-day strip + "Pick a date" month calendar ---------- */
.sch-dates { min-width: 0; }
.dp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; max-width: 100%; }
.dp-strip { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; width: 100%; padding: 2px 2px 8px; scrollbar-width: thin; }
.dp-chip { flex: 0 0 auto; min-width: 64px; scroll-snap-align: start; line-height: 1.2; padding: 6px 10px; }
.dp-chip-dow { font-size: 1rem; font-weight: 500; letter-spacing: .04em; opacity: .8; }
.dp-chip-date { font-size: 1rem; }
.dp-chip.is-today:not(.is-on) { border-color: var(--gold); }
.dp-open-btn { margin: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.dp-open-btn::before { content: ''; width: 14px; height: 14px; border: 1.5px solid currentColor; border-top-width: 4px; border-radius: 3px; box-sizing: border-box; }
.dp-backdrop { position: fixed; inset: 0; z-index: 1400; background: rgba(0,0,0,.62); display: flex; align-items: flex-end; justify-content: center; }
.dp-sheet { width: 100%; max-width: 420px; background: var(--bg-elevated); border: 1px solid var(--border); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 4px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; }
@media (min-width: 640px) { .dp-backdrop { align-items: center; } .dp-sheet { border-radius: 18px; border-bottom: 1px solid var(--border); } }
.dp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; }
.dp-title { margin: 0; font-size: 1.05rem; color: var(--gold-light); }
.dp-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 8px; }
.dp-month { margin: 0; font-weight: 600; font-size: 1rem; color: var(--text); }
.dp-arrow { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dp-arrow[disabled] { opacity: .3; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-dow { text-align: center; font-size: 1rem; letter-spacing: .08em; color: var(--text-muted); padding: 4px 0; }
.dp-day { aspect-ratio: 1 / 1; min-height: 40px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text); font: 500 1rem Inter, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dp-day:not([disabled]):hover { border-color: var(--border); }
.dp-day.is-today { border-color: var(--gold); color: var(--gold-light); font-weight: 700; }
.dp-day.is-on { background: var(--gold); border-color: var(--gold); color: #111; }
.dp-day[disabled] { opacity: .28; cursor: default; }
.dp-foot { display: flex; justify-content: flex-start; margin-top: 10px; }
.os-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 8px 0 4px; }
.os-jump-h { margin: 0; font-size: 1rem; color: var(--gold-light); }

/* 22-plan-cost: Plans screen, per-car price per month/year + plan perk "Free Detail available" with Book */
.plan-car-cost { font-weight: 600; }
a.plan-car-cost-none { color: var(--gold-light); text-decoration: underline; font-weight: 500; }
.plan-free-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 4px; padding: 10px 12px; border: 1px solid rgba(201, 168, 106, .45); border-radius: 12px; background: rgba(201, 168, 106, .08); }
.plan-free-detail-t { display: flex; flex-direction: column; min-width: 0; }
.plan-free-detail-h { font-weight: 700; color: var(--gold-light); }
.plan-free-detail-sub { font-size: 1rem; opacity: .85; }
.plan-free-detail-btn { flex: 0 0 auto; width: auto; min-height: 44px; padding: 10px 18px; margin: 0; text-decoration: none; display: inline-flex; align-items: center; }

/* 24-public-openings: Book page openings (next two weeks) */
.book-openings .bo-days { margin-top: 10px; }
.book-openings .dp-chip .bo-count { display: block; font-size: 1rem; opacity: .8; margin-top: 2px; }
.book-openings .dp-chip.is-full { opacity: .45; }
.book-openings .bo-pick { margin-top: 12px; }

/* 25-whats-next: one "Next step" line at the top of the signed-in home screen */
.home-next-step { margin: 0 0 16px; }
.home-next-step[hidden] { display: none; }
.home-next-step-go { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--gold); border-radius: 14px;
  background: rgba(201, 168, 106, .12); color: var(--text); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.home-next-step-go:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.home-next-step-t { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.home-next-step-k { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.home-next-step-v { font-weight: 600; font-size: 1.05rem; }
.home-next-step-car { color: var(--text-muted); font-size: 1rem; }
.home-next-step-arrow { font-size: 1.6rem; line-height: 1; color: var(--gold-light); }

/* 26-owner-notifications: dashboard tabs + Notifications list */
.on-tabs { display: flex; gap: 8px; margin: 14px 0 16px; }
.on-tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 14px; border: 1px solid rgba(201, 168, 106, .45);
  border-radius: 14px; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; }
.on-tab.is-on { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.on-tab-notify.has-unread:not(.is-on) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 168, 106, .35); }
.on-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #d64545; color: #fff; font-size: 1rem; font-weight: 700; }
.on-badge[hidden] { display: none; }
.on-hide { display: none !important; }
.on-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.on-list { list-style: none; margin: 10px 0 0; padding: 0; }
.on-item + .on-item { border-top: 1px solid rgba(255, 255, 255, .08); }
.on-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 4px; color: var(--text); text-decoration: none; }
.on-item.is-unread .on-row { background: rgba(201, 168, 106, .08); border-left: 3px solid var(--gold); padding-left: 10px; }
.on-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.on-kind { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.on-when { margin-left: auto; font-size: 1rem; color: var(--text-muted); }
.on-what { font-size: 1rem; line-height: 1.4; }

/* 27-customer-home: easier to read for everyone on the customer home (signed in + guest). ~18px body, bigger tap
   targets, more space. The owner dashboard is a different page and is not affected. Same sizes as "Larger" (28). */
.home-easy { font-size: 1.125rem; line-height: 1.6; }
.home-easy .app-tiles { gap: 16px; }
.home-easy .app-tile { min-height: 92px; padding: 22px 22px; gap: 18px; }
.home-easy .tile-icon { width: 50px; height: 50px; }
.home-easy .tile-icon svg { width: 22px; height: 22px; }
.home-easy .tile-title { font-size: 1.6rem; }
.home-easy .tile-sub { font-size: 1rem; font-weight: 400; line-height: 1.45; margin-top: 4px; color: #d6d0c4; }
.home-easy .app-tile-primary .tile-title { font-size: 1.125rem; }
.home-easy .app-tile-primary .tile-sub { color: rgba(10,10,10,0.82); }
.home-easy .app-tile-pair { gap: 16px; }
.home-easy .app-tile-small { min-height: 76px; padding: 16px; }
.home-easy .app-tile-small .tile-title { font-size: 1rem; }
.home-easy .app-facts { margin-top: 28px; gap: 12px; }
.home-easy .app-facts li { font-size: 1rem; font-weight: 400; color: #d6d0c4; }
.home-easy .home-next-step { margin-bottom: 22px; }
.home-easy .home-next-step-go { min-height: 68px; padding: 16px 18px; }
.home-easy .home-next-step-k { font-size: 1rem; }
.home-easy .home-next-step-v { font-size: 1.2rem; }
.home-easy .home-next-step-car { font-size: 1rem; }
.home-easy .home-garage { margin-bottom: 24px; }
.home-easy .home-section-label { font-size: 1rem; }
.home-easy .home-section-link { font-size: 1rem; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.home-easy .home-garage-list { gap: 14px; }
.home-easy .home-garage-card { min-height: 84px; padding: 14px 16px; }
.home-easy .home-garage-name { font-size: 1.35rem; }
.home-easy .home-garage-sub, .home-easy .home-garage-next, .home-easy .home-garage-price, .home-easy .home-garage-perk { font-size: 1rem; }
.home-easy .home-garage-empty-text { font-size: 1.05rem; }
.home-easy .home-garage-add { font-size: 1rem; min-height: 52px; }
.home-easy .app-onboard-text, .home-easy .ref-banner-sub, .home-easy .ref-terms { font-size: 1rem; }

/* 28-font-choice: one-time text-size pop-up + Settings choice (customer pages only; font-size.js is never loaded
   on /app/owner/). */
/* no overflow lock on html/body (it broke taps on this fixed pop-up on iPhone); the overlay holds its own scroll */
.fs-prompt { position: fixed; inset: 0; z-index: 9990; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: manipulation; background: rgba(10, 12, 16, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); }
.fs-prompt-card { width: 100%; max-width: 440px; background: #15181e; border: 1px solid rgba(201, 162, 39, 0.45); border-radius: 14px; padding: 24px 20px; color: #f2f2f2; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.fs-prompt-h { margin: 0 0 10px; font-size: 1.45rem; color: #e3c565; }
.fs-prompt-p { margin: 0 0 18px; font-size: 1.125rem; line-height: 1.5; color: #e6e1d6; }
.fs-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fs-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 16px 10px; border-radius: 12px; border: 1px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); color: #f2f2f2; font-family: 'Inter', system-ui, sans-serif; cursor: pointer; }
.fs-choice:hover, .fs-choice:focus-visible { border-color: var(--gold); outline: none; background: rgba(var(--gold-rgb), 0.08); }
.fs-choice[aria-checked="true"] { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.14); color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); }
.fs-choice-sample { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1; }
.fs-choice-standard .fs-choice-sample { font-size: 1.75rem; }
.fs-choice-larger .fs-choice-sample { font-size: 2.5rem; }
.fs-choice-standard .fs-choice-name { font-size: 1rem; }
.fs-choice-larger .fs-choice-name { font-size: 1.125rem; font-weight: 500; }
.fs-settings { margin-top: 18px; }
.fs-settings .fs-settings-label { font-size: 1rem; margin: 4px 0 10px; }
.fs-settings .fs-choice { min-height: 96px; }
.fs-settings .fs-settings-note { margin-top: 12px; }

/* "Larger" text size = the easier-to-read size of the customer home (27), on every customer page. */
html.ead-larger { font-size: 112.5%; }
html.ead-larger body { font-size: 18px; line-height: 1.6; }
html.ead-larger .app-page label, html.ead-larger .app-page .form-group label, html.ead-larger .form-group label { font-size: 1rem; }
html.ead-larger .form-group input, html.ead-larger .form-group select, html.ead-larger .form-group textarea { font-size: 18px; padding: 16px; }
html.ead-larger .form-submit { min-height: 56px; } /* zy-contrast: no font-size here, so each button keeps its own rem size and scales with Larger (was flattening owner buttons to 1rem) */
html.ead-larger .auth-ghost-btn, html.ead-larger .auth-skip, html.ead-larger .plan-size-tap { font-size: 1rem; min-height: 48px; }
html.ead-larger .field-hint, html.ead-larger .app-page .field-hint, html.ead-larger .app-page .form-note, html.ead-larger .form-note { font-size: 1rem; font-weight: 400; }
html.ead-larger .profile-tab { font-size: 1rem; min-height: 48px; }
html.ead-larger .app-tiles { gap: 16px; }
html.ead-larger .app-tile { min-height: 92px; padding: 22px; }
html.ead-larger .tile-sub { font-size: 1rem; font-weight: 400; line-height: 1.45; }
html.ead-larger .app-tile-primary .tile-title { font-size: 18px; }
html.ead-larger .app-tile-small .tile-title { font-size: 1rem; }
html.ead-larger .app-facts li { font-size: 1rem; font-weight: 400; }

/* 29-addons: "Add-ons" on each car (Vehicles page) + the add-ons sheet; owner lines on the scheduling page */
.addon-ctl { margin: 12px 0 4px; }
.addon-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--gold); background: rgba(var(--gold-rgb), 0.12); color: var(--gold-light); font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; }
.addon-open::before { content: '+'; font-size: 1.25rem; line-height: 1; }
.addon-open:hover, .addon-open:focus-visible { background: rgba(var(--gold-rgb), 0.2); outline: none; }
.addon-ctl-sum { margin: 8px 0 0; font-size: 1rem; color: #e6e1d6; line-height: 1.45; }
.addon-for { margin-bottom: 10px; }
.addon-why { margin: 0 0 12px; font-size: 1rem; color: #e6e1d6; line-height: 1.5; }
.addon-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.addon-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 12px; background: var(--card-bg); }
.addon-item.is-on { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.1); }
.addon-txt { flex: 1; min-width: 0; }
.addon-name { margin: 0; font-size: 1.0625rem; font-weight: 500; color: #f2f2f2; display: flex; justify-content: space-between; gap: 10px; }
.addon-price { color: var(--gold-light); white-space: nowrap; }
.addon-desc { margin: 4px 0 0; font-size: 1rem; color: #cfc8bb; line-height: 1.45; }
.addon-btn { flex: none; min-height: 48px; min-width: 88px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--gold); background: var(--gold); color: #0a0a0a; font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; }
.addon-btn.is-on { background: transparent; color: var(--gold-light); font-weight: 500; }
.addon-btn:disabled { opacity: .6; cursor: default; }
.addon-total { margin: 4px 0 6px; font-size: 1.0625rem; font-weight: 500; color: var(--gold-light); }
.addon-note { margin-bottom: 12px; }
html.ead-larger .addon-name { font-size: 19px; }
html.ead-larger .addon-desc, html.ead-larger .addon-ctl-sum { font-size: 1rem; }
.os-addon { color: var(--gold-light); }
.os-visit-addon { display: block; margin-top: 2px; color: var(--gold-light); font-weight: 500; }
.addon-added { margin: 6px 0 0; font-size: 1rem; font-weight: 500; color: var(--gold-light); }

/* 30: Manage package + plan signup links */
.home-next-step-manage { display: inline-block; margin: 10px 2px 0; color: var(--gold-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.home-next-step-manage:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.plan-cars-acts { align-items: center; }
.plan-manage-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.book-plan-link { margin: 18px 0 0; text-align: center; }
.book-plan-link a { color: var(--gold-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 32: Vehicles / Account pair on the customer home. Two equal columns that can never grow wider than the screen
   (1fr let the long one-word labels push the Account tile past the right edge, worst at Larger text), with the icon
   above the label so "VEHICLES" / "ACCOUNT" fit in full at both text sizes. Same row, same edges as the tiles above. */
.home-easy .app-tile-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-easy .app-tile-small { flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-width: 0; padding: 14px 10px; text-align: center; }
.home-easy .app-tile-small .tile-icon { width: 40px; height: 40px; }
.home-easy .app-tile-small .tile-text { flex: none; align-items: center; max-width: 100%; }
.home-easy .app-tile-small .tile-title { line-height: 1.25; }
html.ead-larger .home-easy .app-tile-small { min-height: 92px; padding: 16px 10px; }

/* 33: customer themes (Account > Settings > Theme). Classic = the defaults above. Set on <html> by font-size.js on
   customer pages only (never /app/owner/). Each theme only swaps the colour variables, so every page, Larger text,
   the Vehicles/Account pair and the Back button keep their layout. */
html.theme-garage {
  --bg: #111418; --bg-elevated: #171b20; --surface: #1c2127; --border: rgba(255,255,255,0.09); --border-soft: rgba(255,255,255,0.06);
  --text: #eef2f6; --text-muted: #a9b3be; --text-dim: #707a86;
  --gold: #8fb6dc; --gold-light: #bcd3ea; --gold-dim: rgba(143,182,220,0.15); --gold-rgb: 143,182,220; --gold-hi: #d3e3f3; --gold-hi2: #c9dcef;
  --tile-rgb: 25,29,35; --tile-hover-rgb: 31,36,43; --card-bg: #14181d;
}
html.theme-leather {
  --bg: #1b120c; --bg-elevated: #23180f; --surface: #2b1e14; --border: rgba(255,236,214,0.10); --border-soft: rgba(255,236,214,0.06);
  --text: #f8eddc; --text-muted: #d0bb9f; --text-dim: #927c64;
  --gold: #d08b52; --gold-light: #e8b07e; --gold-dim: rgba(208,139,82,0.15); --gold-rgb: 208,139,82; --gold-hi: #f0c597; --gold-hi2: #eebd8c;
  --tile-rgb: 40,27,18; --tile-hover-rgb: 48,33,22; --card-bg: #21170f;
}
html.theme-garage body, html.theme-leather body { background: var(--bg); color: var(--text); }
html.theme-garage .header { background: rgba(17,20,24,0.94); }
html.theme-leather .header { background: rgba(27,18,12,0.94); }
html.theme-garage .fs-prompt-card, html.theme-garage .pw-gate-card { background: #1a1f26; }
html.theme-leather .fs-prompt-card, html.theme-leather .pw-gate-card { background: #2a1c12; }

/* Theme chooser (Account > Settings, under Text size) */
.th-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.th-choice { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; min-height: 112px; padding: 12px 6px; border-radius: 12px; border: 1px solid rgba(var(--gold-rgb), 0.35); background: var(--card-bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; cursor: pointer; text-align: center; }
.th-choice[aria-checked="true"] { border: 2px solid var(--gold); background: rgba(var(--gold-rgb), 0.12); }
.th-choice:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.th-swatch { display: flex; width: 54px; height: 34px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); flex: none; }
.th-swatch i { flex: 1; }
.th-txt { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; max-width: 100%; }
.th-name { font-size: 1rem; font-weight: 500; line-height: 1.25; overflow-wrap: break-word; max-width: 100%; }
.th-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.35; max-width: 100%; }
.fs-settings .th-label { margin-top: 22px; }
html.ead-larger .th-choices { grid-template-columns: minmax(0, 1fr); }
html.ead-larger .th-choice { flex-direction: row; justify-content: flex-start; min-height: 72px; padding: 12px 16px; gap: 14px; text-align: left; }
html.ead-larger .th-txt { align-items: flex-start; }
html.ead-larger .th-name { font-size: 18px; }
html.ead-larger .th-desc { font-size: 1rem; }

/* 34: every tap visibly presses in (~150 ms). The class is added by /app/tap.js on customer pages only. */
/* zy: press uses the separate `scale` property, never `transform`, so it can't wipe out an element's own
   transform (the header envelope and the owner's Back link are centered with translateY(-50%); replacing that
   made them jump ~22px down under the finger, so the tap landed on the header and did nothing = "two taps"). */
.ead-pressed { scale: 0.96 !important; transition: scale 0.15s ease, filter 0.15s ease !important; filter: brightness(0.92); }
.app-tile.ead-pressed, .home-garage-card.ead-pressed { scale: 0.975 !important; }
@media (prefers-reduced-motion: reduce) { .ead-pressed { scale: none !important; filter: brightness(0.85); } }

/* 35: one button shape across the customer app (never the owner dashboard): same radius, at least 52px tall
   (56px with Larger text), plain readable labels (no all-caps), strong contrast. Filled = the main action, outlined =
   the other actions. Every theme uses this same shape; themes only change the colours. */
body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn,
  .btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn,
  .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-height: 52px; padding: 12px 22px; border-radius: 12px; border-width: 2px; border-style: solid;
  font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.25;
  letter-spacing: 0.02em; text-transform: none; text-align: center; text-decoration: none; white-space: normal;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn) {
  background: var(--gold); border-color: var(--gold); color: var(--bg);
}
body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn):hover {
  background: var(--gold-light); border-color: var(--gold-light); color: var(--bg);
}
body.app-page:not(.owner-page) :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy,
  .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) {
  background: rgba(var(--gold-rgb), 0.10); border-color: var(--gold); color: var(--text);
}
body.app-page:not(.owner-page) :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy,
  .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn):hover { background: rgba(var(--gold-rgb), 0.2); }
body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .btn-secondary, .auth-ghost-btn, .addon-btn, .addon-open, .ead-back-btn):focus-visible {
  outline: 3px solid var(--gold-light); outline-offset: 3px;
}
body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .btn-secondary, .auth-ghost-btn, .addon-btn, .addon-open):disabled { opacity: 0.5; cursor: default; box-shadow: none; }
body.app-page:not(.owner-page) .addon-open::before { font-size: 1.25rem; }
html.ead-larger body.app-page:not(.owner-page) :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn,
  .btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn,
  .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) { min-height: 56px; font-size: 18px; padding: 14px 24px; }

/* 36: three more customer themes. Racing Green and Navy & Silver are dark like the first three (colour variables
   only). Ivory Showroom is the light one: dark ink text on ivory, bronze buttons with light labels, plus the generated
   block below that turns every fixed light text colour / dark panel in the app CSS into a readable one. Same button
   shape and layout in every theme. */
html.theme-racing {
  --bg: #0c1d15; --bg-elevated: #11271c; --surface: #163122; --border: rgba(255,255,255,0.10); --border-soft: rgba(255,255,255,0.06);
  --text: #f4f1e4; --text-muted: #bfcbbd; --text-dim: #80907f;
  --gold: #e6d9b0; --gold-light: #f3ead0; --gold-dim: rgba(230,217,176,0.15); --gold-rgb: 230,217,176; --gold-hi: #fbf4de; --gold-hi2: #f6eed3;
  --tile-rgb: 20,44,32; --tile-hover-rgb: 25,52,38; --card-bg: #10241a;
}
html.theme-navy {
  --bg: #0a1730; --bg-elevated: #0f1f3d; --surface: #142748; --border: rgba(255,255,255,0.10); --border-soft: rgba(255,255,255,0.06);
  --text: #f3f6fb; --text-muted: #b6c2d4; --text-dim: #7a8aa3;
  --gold: #cfd6e0; --gold-light: #e9edf3; --gold-dim: rgba(207,214,224,0.15); --gold-rgb: 207,214,224; --gold-hi: #f4f6f9; --gold-hi2: #eef1f5;
  --tile-rgb: 18,36,68; --tile-hover-rgb: 23,44,80; --card-bg: #0e1d39;
}
html.theme-ivory {
  --bg: #f6f1e6; --bg-elevated: #fffdf8; --surface: #efe7d6; --border: rgba(40,30,20,0.16); --border-soft: rgba(40,30,20,0.10); --border-strong: rgba(40,30,20,0.45);
  --text: #1c1915; --text-muted: #4a443b; --text-dim: #625a4f;
  --gold: #5f4018; --gold-light: #5c3e17; --gold-dim: rgba(95,64,24,0.12); --gold-rgb: 95,64,24; --gold-hi: #74501f; --gold-hi2: #6f4c1d; /* zy-contrast: >= 6:1 on the tinted card tops (was #74501f) */
  --tile-rgb: 255,252,245; --tile-hover-rgb: 250,244,232; --card-bg: #fffcf5; --on-accent: #fffaf0;
}
html.theme-racing body, html.theme-navy body, html.theme-ivory body { background: var(--bg); color: var(--text); }
html.theme-racing .header { background: rgba(12,29,21,0.94); }
html.theme-navy .header { background: rgba(10,23,48,0.94); }
html.theme-racing .fs-prompt-card, html.theme-racing .pw-gate-card { background: #143024; }
html.theme-navy .fs-prompt-card, html.theme-navy .pw-gate-card { background: #13274a; }
/* Ivory: hand-tuned bits the generator can't know about */
html.theme-ivory .header .logo img, html.theme-ivory .app-header .logo img { filter: invert(1) hue-rotate(180deg); }
html.theme-ivory .app-tile { box-shadow: 0 2px 10px rgba(70,50,20,0.12), inset 0 1px 0 rgba(255,255,255,0.6); border-color: rgba(116,80,31,0.45); }
html.theme-ivory .app-tile-primary { box-shadow: 0 4px 14px rgba(116,80,31,0.30); border-color: var(--gold); }
html.theme-ivory .app-tile-primary .tile-sub, html.theme-ivory .home-easy .app-tile-primary .tile-sub { color: rgba(255,250,240,0.92); }
html.theme-ivory .app-tile-primary .tile-icon { border-color: rgba(255,250,240,0.55); color: var(--on-accent); background: rgba(255,250,240,0.12); }
html.theme-ivory .app-tile-primary .tile-arrow, html.theme-ivory .app-tile-primary .tile-title { color: var(--on-accent); }
html.theme-ivory body.app-page :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn) { color: var(--on-accent); box-shadow: 0 2px 8px rgba(70,50,20,0.18); }
html.theme-ivory body.app-page :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) { color: var(--text); box-shadow: 0 2px 8px rgba(70,50,20,0.10); }
html.theme-ivory .ead-back-btn { color: var(--text); }
html.theme-ivory .th-choice[aria-checked="true"], html.theme-ivory .fs-choice[aria-checked="true"] { background: rgba(116,80,31,0.10); }
html.theme-ivory .fs-prompt { background: rgba(246,241,230,0.97); }
html.theme-ivory .fs-prompt-card { border-color: rgba(116,80,31,0.45); box-shadow: 0 10px 40px rgba(70,50,20,0.18); }
html.theme-ivory ::selection { background: rgba(116,80,31,0.25); }
html.theme-garage .home-garage, html.theme-leather .home-garage, html.theme-racing .home-garage, html.theme-navy .home-garage { background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.10) 0%, var(--card-bg) 55%); }
/* 37: "Henry" (named "Earl" until ship-zy), a light sage-green theme (colour sampled from Richie's photo: #afc3a8). Sage page, lighter sage
   panels, near-black green text, deep forest-green buttons with light labels. Same layout and button shape; it shares
   the generated light-theme readability block below with Ivory Showroom. */
html.theme-henry {
  --bg: #afc3a8; --bg-elevated: #c3d3bd; --surface: #bccdb5; --border: rgba(20,32,26,0.18); --border-soft: rgba(20,32,26,0.12); --border-strong: rgba(20,32,26,0.45);
  --text: #14201a; --text-muted: #2c3a30; --text-dim: #3a473d;
  --gold: #142b1c; --gold-light: #142b1c; --gold-dim: rgba(20,43,28,0.12); --gold-rgb: 20,43,28; --gold-hi: #1f3a28; --gold-hi2: #1f3a28; /* zy-contrast: >= 6:1 on the tinted card tops (was #1f3a28) */
  --tile-rgb: 216,227,211; --tile-hover-rgb: 206,220,200; --card-bg: #dbe6d6; --on-accent: #f4f8f1;
}
html.theme-henry body { background: var(--bg); color: var(--text); }
html.theme-henry .header .logo img, html.theme-henry .app-header .logo img { filter: invert(1) hue-rotate(180deg); }
html.theme-henry .app-tile { box-shadow: 0 2px 10px rgba(20,40,25,0.14), inset 0 1px 0 rgba(255,255,255,0.5); border-color: rgba(47,74,54,0.45); }
html.theme-henry .app-tile-primary { box-shadow: 0 4px 14px rgba(20,40,25,0.30); border-color: var(--gold); }
html.theme-henry .app-tile-primary .tile-sub, html.theme-henry .home-easy .app-tile-primary .tile-sub { color: rgba(244,248,241,0.92); }
html.theme-henry .app-tile-primary .tile-icon { border-color: rgba(244,248,241,0.55); color: var(--on-accent); background: rgba(244,248,241,0.12); }
html.theme-henry .app-tile-primary .tile-arrow, html.theme-henry .app-tile-primary .tile-title { color: var(--on-accent); }
html.theme-henry body.app-page :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn) { color: var(--on-accent); box-shadow: 0 2px 8px rgba(20,40,25,0.20); }
html.theme-henry body.app-page :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) { color: var(--text); background: rgba(255,255,255,0.35); box-shadow: 0 2px 8px rgba(20,40,25,0.12); }
html.theme-henry .ead-back-btn { color: var(--text); }
html.theme-henry .th-choice[aria-checked="true"], html.theme-henry .fs-choice[aria-checked="true"] { background: rgba(47,74,54,0.14); }
html.theme-henry .fs-prompt { background: rgba(175,195,168,0.97); }
html.theme-henry .fs-prompt-card { border-color: rgba(47,74,54,0.45); box-shadow: 0 10px 40px rgba(20,40,25,0.20); }
html.theme-henry ::selection { background: rgba(47,74,54,0.25); }
/* 38: customer pop-ups match the app (theme, text size, Booking Agreement, password, Add to Home Screen, booking
   notes, toasts): same card look as the tiles, same type (serif heading like the tile titles, Inter text), same
   button shape (section 35, "Not now" / "Sign out" become outlined buttons), colours from the theme showing.
   Customer pages only. */
:root { --backdrop: rgba(10,12,16,0.90); }
html.theme-ivory { --backdrop: rgba(246,241,230,0.94); }
html.theme-henry { --backdrop: rgba(175,195,168,0.95); }
body.app-page:not(.owner-page) :is(.fs-prompt, .pw-gate) { background: var(--backdrop); }
body.app-page:not(.owner-page) :is(dialog.ref-note, .app-install-popup)::backdrop { background: var(--backdrop); }
body.app-page:not(.owner-page) :is(.fs-prompt-card, .pw-gate-card, .app-install-popup, .ref-note-inner, .ead-toast) {
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.12) 0%, rgba(var(--gold-rgb), 0) 70%), var(--bg-elevated); color: var(--text);
  border: 1.5px solid rgba(var(--gold-rgb), 0.55); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
body.app-page:not(.owner-page) .ref-note-inner { border-radius: 16px 16px 0 0; border-bottom: 0; }
body.app-page:not(.owner-page) .ead-toast.is-error { border-color: #b8796a; }
body.app-page:not(.owner-page) :is(.fs-prompt-h, .pw-gate-h, .ref-note-title, .app-install-title) {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; color: var(--text); margin: 0 0 10px;
}
body.app-page:not(.owner-page) :is(.fs-prompt-p, .pw-gate-p, .ref-note-text, .app-install-ios, .ag-gate .ag-agree) {
  font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 1.0625rem; font-weight: 400; line-height: 1.5; color: var(--text); opacity: 1;
}
body.app-page:not(.owner-page) .pw-gate-label { color: var(--text); }
body.app-page:not(.owner-page) .pw-gate-form input { background: var(--card-bg); color: var(--text); border: 1.5px solid rgba(var(--gold-rgb), 0.45); border-radius: 12px; min-height: 52px; }
body.app-page:not(.owner-page) .ead-toast-text { color: var(--text); font-weight: 600; }
body.app-page:not(.owner-page) .ead-toast-sub { color: var(--text-muted); font-weight: 400; }
body.app-page:not(.owner-page) :is(.pw-gate-out, .app-install-dismiss, .ref-note-cancel) {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch; box-sizing: border-box; width: 100%;
  min-height: 52px; padding: 12px 22px; margin-top: 4px; border-radius: 12px; border: 2px solid var(--gold); background: rgba(var(--gold-rgb), 0.10);
  color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.25;
  letter-spacing: 0.02em; text-decoration: none; text-transform: none; cursor: pointer;
}
html.ead-larger body.app-page:not(.owner-page) :is(.pw-gate-out, .app-install-dismiss, .ref-note-cancel) { min-height: 56px; font-size: 18px; }
html.ead-larger body.app-page:not(.owner-page) :is(.fs-prompt-p, .pw-gate-p, .ref-note-text, .app-install-ios, .ag-gate .ag-agree) { font-size: 18px; }
/* 39: Contact us. Home + Account page have a "Contact us" button (no phone there); the phone number is shown only on
   the Contact us page (/app/contact/), with "Send us a message" (in-app Messages) first. Theme colours only. */
.contact-cta { margin: 22px 0 0; text-align: center; }
.contact-cta-text { margin: 0 0 10px; font-size: 1rem; color: var(--text); }
body.app-page:not(.owner-page) .contact-cta-btn, body.app-page:not(.owner-page) .contact-btn { display: flex; width: 100%; }
.contact-account { margin-top: 16px; }
.contact-account .contact-text { margin: 6px 0 14px; }
.contact-card { text-align: left; }
.contact-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.2; color: var(--text); margin: 0 0 8px; }
.contact-text { font-size: 1rem; line-height: 1.55; color: var(--text); margin: 0 0 14px; }
.contact-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(var(--gold-rgb), 0.3); }
.contact-label { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 6px; }
.contact-phone { font-family: 'Inter', system-ui, sans-serif; font-size: 1.6rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text); margin: 0 0 12px; }
.contact-email { font-family: 'Inter', system-ui, sans-serif; font-size: 1.15rem; font-weight: 600; margin: 0; overflow-wrap: break-word; }
body.app-page .contact-card p.contact-text { color: var(--text); font-weight: 400; }
.contact-email a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb), 0.7); text-underline-offset: 4px; border: 0; display: inline-block; min-height: 44px; padding: 8px 0; }
html.ead-larger .contact-label { font-size: 1rem; }
html.ead-larger .contact-phone { font-size: 1.8rem; }
/* 36-ivory-generated:start (tools/gen_light_theme.py output: readable text/panels for the light themes Ivory Showroom + Henry; do not edit by hand) */
html.theme-ivory .header, html.theme-henry .header { background: var(--card-bg); }
html.theme-ivory .hero-bg, html.theme-henry .hero-bg { background: linear-gradient(105deg, var(--card-bg) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.2) 100%),
    url('/images/IMG_2768.jpg') center/cover no-repeat; background: linear-gradient(105deg, var(--card-bg) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.2) 100%),
    image-set(url('/images/IMG_2768.webp') type('image/webp'), url('/images/IMG_2768.jpg') type('image/jpeg')) center/cover no-repeat; }
html.theme-ivory .btn-secondary, html.theme-henry .btn-secondary { border: 1px solid rgba(40,30,20,0.35); }
html.theme-ivory .hero-card, html.theme-henry .hero-card { border: 1px solid rgba(40,30,20,0.20); }
html.theme-ivory .hero-float, html.theme-henry .hero-float { border: 2px solid var(--border-strong); }
html.theme-ivory .nav-menu-panel-inner, html.theme-henry .nav-menu-panel-inner { background: var(--card-bg); }
html.theme-ivory .float-actions .float-text, html.theme-henry .float-actions .float-text { background: var(--card-bg); }
html.theme-ivory .latest-caption, html.theme-henry .latest-caption { background: linear-gradient(180deg, transparent, var(--card-bg)); }
html.theme-ivory .page-hero-media, html.theme-henry .page-hero-media { border: 1px solid rgba(40,30,20,0.20); }
html.theme-ivory .package-name, html.theme-henry .package-name { color: var(--gold-light, #5d3f1b); }
html.theme-ivory .package-perk, html.theme-henry .package-perk { color: var(--gold-light, #5d3f1b); }
html.theme-ivory .compare-table thead th, html.theme-henry .compare-table thead th { color: var(--gold-light, #5d3f1b); }
html.theme-ivory .compare-yes, html.theme-henry .compare-yes { color: var(--gold-light, #5d3f1b); }
html.theme-ivory .review-ask-h, html.theme-henry .review-ask-h { color: var(--gold-light, #5d3f1b); }
html.theme-ivory .review-ask-p, html.theme-henry .review-ask-p { color: var(--text, #554319); }
html.theme-ivory .footer-review.review-ask a.review-ask-btn:focus-visible, html.theme-henry .footer-review.review-ask a.review-ask-btn:focus-visible { outline: 3px solid var(--border-strong); }
html.theme-ivory .app-install-popup, html.theme-henry .app-install-popup { border: 1px solid rgba(40,30,20,0.24); background: var(--card-bg); }
html.theme-ivory .app-page .app-back:hover, html.theme-henry .app-page .app-back:hover, html.theme-ivory .app-page .app-back:focus-visible, html.theme-henry .app-page .app-back:focus-visible { color: #584218; }
html.theme-ivory .auth-status-note, html.theme-henry .auth-status-note { color: #174f2c; }
html.theme-ivory .auth-verified, html.theme-henry .auth-verified { color: #174f2c; }
html.theme-ivory .profile-tab.is-active, html.theme-henry .profile-tab.is-active { color: var(--on-accent); }
html.theme-ivory .vehicle-photo, html.theme-henry .vehicle-photo { background: var(--card-bg) center/cover no-repeat; }
html.theme-ivory .vehicle-stock-thumb, html.theme-henry .vehicle-stock-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-ivory .vehicle-style-thumb, html.theme-henry .vehicle-style-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-ivory .vehicle-service-summary-thumb, html.theme-henry .vehicle-service-summary-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-ivory .book-profile, html.theme-henry .book-profile { border-bottom: 1px solid rgba(40,30,20,0.16); }
html.theme-ivory .book-pick-thumb, html.theme-henry .book-pick-thumb { background: var(--card-bg); }
html.theme-ivory .home-garage, html.theme-henry .home-garage { background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.10) 0%, var(--card-bg) 55%); }
html.theme-ivory .home-garage-thumb, html.theme-henry .home-garage-thumb { background: var(--card-bg) center/cover no-repeat; border: 1px solid rgba(40,30,20,0.18); }
html.theme-ivory .vehicle-plan-badge, html.theme-henry .vehicle-plan-badge { color: var(--on-accent); }
html.theme-ivory .ead-toast, html.theme-henry .ead-toast { background: var(--card-bg); }
html.theme-ivory .plan-car-thumb, html.theme-henry .plan-car-thumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-ivory .ead-count, html.theme-henry .ead-count { color: var(--on-accent); }
html.theme-ivory .oa-row-acts, html.theme-henry .oa-row-acts { border-bottom: 1px solid var(--border-soft, rgba(40,30,20,0.15)); }
html.theme-ivory .oa-vthumb, html.theme-henry .oa-vthumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-ivory .oa-li-thumb, html.theme-henry .oa-li-thumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-ivory .vehicle-photo-status, html.theme-henry .vehicle-photo-status, html.theme-ivory .oa-photo-status, html.theme-henry .oa-photo-status { color: #564319; }
html.theme-ivory .vehicle-photo-status.is-ok, html.theme-henry .vehicle-photo-status.is-ok, html.theme-ivory .oa-photo-status.is-ok, html.theme-henry .oa-photo-status.is-ok { color: #175024; }
html.theme-ivory .vehicle-photo-status.is-error, html.theme-henry .vehicle-photo-status.is-error, html.theme-ivory .oa-photo-status.is-error, html.theme-henry .oa-photo-status.is-error { color: #8e0b00; }
html.theme-ivory .oa-delete.is-armed, html.theme-henry .oa-delete.is-armed { color: var(--text); }
html.theme-ivory .oa-delete-note, html.theme-henry .oa-delete-note { color: #8e0b00; }
html.theme-ivory .oa-deleted-note, html.theme-henry .oa-deleted-note { color: #175024; }
html.theme-ivory .chat-status, html.theme-henry .chat-status { color: #175024; }
html.theme-ivory .chat-status.is-error, html.theme-henry .chat-status.is-error { color: #8e0b00; }
html.theme-ivory .oa-count, html.theme-henry .oa-count { color: var(--on-accent); }
html.theme-ivory .oa-text-login, html.theme-henry .oa-text-login { color: var(--on-accent) !important; }
html.theme-ivory .inv-pill.is-pending, html.theme-henry .inv-pill.is-pending { color: var(--on-accent); }
html.theme-ivory .inv-pill.is-paid, html.theme-henry .inv-pill.is-paid { color: #175025; }
html.theme-ivory .inv-paid-note, html.theme-henry .inv-paid-note { color: #175025; }
html.theme-ivory .inv-del.is-armed, html.theme-henry .inv-del.is-armed { color: var(--text); }
html.theme-ivory .inv-doc, html.theme-henry .inv-doc { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08) 0%, var(--bg-elevated, var(--card-bg)) 60%); }
html.theme-ivory .inv-paid-line, html.theme-henry .inv-paid-line { color: #175025; }
html.theme-ivory .inv-copy.is-done, html.theme-henry .inv-copy.is-done { color: var(--on-accent); }
html.theme-ivory .inv-sent-status, html.theme-henry .inv-sent-status { color: var(--on-accent); }
html.theme-ivory .inv-tile-badge, html.theme-henry .inv-tile-badge { color: var(--on-accent); }
html.theme-ivory .oa-lucy-tag, html.theme-henry .oa-lucy-tag { color: #234677; }
html.theme-ivory .sch-chip.is-on, html.theme-henry .sch-chip.is-on { color: var(--on-accent); }
html.theme-ivory .vehicle-plan-act.is-armed, html.theme-henry .vehicle-plan-act.is-armed { color: #80251e; }
html.theme-ivory .home-next-wash-pick, html.theme-henry .home-next-wash-pick { color: var(--on-accent); }
html.theme-ivory .os-status.is-active, html.theme-henry .os-status.is-active { color: #17501f; }
html.theme-ivory .os-badge.is-ok, html.theme-henry .os-badge.is-ok { color: #17501f; }
html.theme-ivory .os-badge.is-error, html.theme-henry .os-badge.is-error { color: #80251e; }
html.theme-ivory .os-acts .is-armed, html.theme-henry .os-acts .is-armed { color: #80251e; }
html.theme-ivory .os-saved, html.theme-henry .os-saved { color: #17501f; }
html.theme-ivory .inv-auto-lines li, html.theme-henry .inv-auto-lines li { border-top: 1px dashed rgba(40,30,20,0.18); }
html.theme-ivory .inv-est-lines, html.theme-henry .inv-est-lines { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-ivory .inv-missed-row, html.theme-henry .inv-missed-row { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-ivory .inv-pill.is-reason, html.theme-henry .inv-pill.is-reason { border: 1px solid rgba(40,30,20,0.22); }
html.theme-ivory .inv-pill.is-rain, html.theme-henry .inv-pill.is-rain { color: #004196; }
html.theme-ivory .pw-gate, html.theme-henry .pw-gate { background: var(--card-bg); }
html.theme-ivory .pw-gate-card, html.theme-henry .pw-gate-card { background: var(--card-bg); color: var(--text); }
html.theme-ivory .pw-gate-h, html.theme-henry .pw-gate-h { color: #54440f; }
html.theme-ivory .pw-gate-form input, html.theme-henry .pw-gate-form input { border: 1px solid rgba(40,30,20,0.30); background: var(--card-bg); color: var(--text); }
html.theme-ivory .pw-gate-out, html.theme-henry .pw-gate-out { color: var(--text-muted); }
html.theme-ivory .ag-gate .ag-agree, html.theme-henry .ag-gate .ag-agree { color: var(--text); }
html.theme-ivory .dp-day.is-on, html.theme-henry .dp-day.is-on { color: var(--on-accent); }
html.theme-ivory .on-tab.is-on, html.theme-henry .on-tab.is-on { color: var(--on-accent); }
html.theme-ivory .on-badge, html.theme-henry .on-badge { color: var(--text); }
html.theme-ivory .on-item + .on-item, html.theme-henry .on-item + .on-item { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-ivory .home-easy .tile-sub, html.theme-henry .home-easy .tile-sub { color: var(--text); }
html.theme-ivory .home-easy .app-facts li, html.theme-henry .home-easy .app-facts li { color: var(--text); }
html.theme-ivory .fs-prompt, html.theme-henry .fs-prompt { background: var(--card-bg); }
html.theme-ivory .fs-prompt-card, html.theme-henry .fs-prompt-card { background: var(--card-bg); color: var(--text); }
html.theme-ivory .fs-prompt-h, html.theme-henry .fs-prompt-h { color: #54440f; }
html.theme-ivory .fs-prompt-p, html.theme-henry .fs-prompt-p { color: var(--text); }
html.theme-ivory .fs-choice, html.theme-henry .fs-choice { color: var(--text); }
html.theme-ivory .addon-ctl-sum, html.theme-henry .addon-ctl-sum { color: var(--text); }
html.theme-ivory .addon-why, html.theme-henry .addon-why { color: var(--text); }
html.theme-ivory .addon-name, html.theme-henry .addon-name { color: var(--text); }
html.theme-ivory .addon-desc, html.theme-henry .addon-desc { color: var(--text-muted); }
html.theme-ivory .addon-btn, html.theme-henry .addon-btn { color: var(--on-accent); }
html.theme-ivory .th-swatch, html.theme-henry .th-swatch { border: 1px solid rgba(40,30,20,0.28); }
html.theme-ivory .pkg-tag-prestige, html.theme-henry .pkg-tag-prestige { color: var(--on-accent); }
html.theme-ivory .vehicle-tier-chip.is-on, html.theme-henry .vehicle-tier-chip.is-on { color: var(--on-accent); }
html.theme-ivory .cmp-size.is-selected, html.theme-henry .cmp-size.is-selected { color: var(--on-accent); }
html.theme-ivory a.oh-btn, html.theme-henry a.oh-btn { background: var(--card-bg, var(--card-bg)); }
html.theme-ivory .oh-name, html.theme-henry .oh-name { color: #554319; }
html.theme-ivory .oh-sub, html.theme-henry .oh-sub { color: var(--text-muted); }
html.theme-ivory .oh-badge.ead-count, html.theme-henry .oh-badge.ead-count { color: var(--on-accent); }
html.theme-ivory .ead-pv-bar, html.theme-henry .ead-pv-bar { background: var(--card-bg); color: var(--text); }
html.theme-ivory .ead-pv-t, html.theme-henry .ead-pv-t { color: var(--text); }
html.theme-ivory .ead-pv-s, html.theme-henry .ead-pv-s { color: var(--text); }
html.theme-ivory .ead-pv-toast, html.theme-henry .ead-pv-toast { background: var(--card-bg); color: var(--text); }
html.theme-ivory .tour-pic, html.theme-henry .tour-pic { background: var(--card-bg); }
html.theme-ivory .tour-next, html.theme-henry .tour-next { background: var(--card-bg); color: var(--text); }
html.theme-ivory .ot-done, html.theme-henry .ot-done { color: #175025; }
html.theme-ivory .ot-status.is-error, html.theme-henry .ot-status.is-error { color: #8b1300; }
html.theme-ivory .ot-skip.is-armed, html.theme-henry .ot-skip.is-armed { color: #8b1300; }
html.theme-ivory .auth-change-pw, html.theme-henry .auth-change-pw { border-top: 1px solid rgba(40,30,20,0.25); }
html.theme-ivory .book-openings .bo-days-wrap::after, html.theme-henry .book-openings .bo-days-wrap::after { background: linear-gradient(to right, transparent, var(--bg, var(--card-bg))); }
html.theme-ivory .book-openings .bo-more, html.theme-henry .book-openings .bo-more { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .guest-page .gb-lead, html.theme-henry .guest-page .gb-lead { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .gb-count, html.theme-henry .gb-count { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .gb-small-note, html.theme-henry .gb-small-note { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .gb-choice-s, html.theme-henry .gb-choice-s { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .gb-row, html.theme-henry .gb-row { border-bottom: 1px solid rgba(40,30,20,0.22); }
html.theme-ivory .gb-row dt, html.theme-henry .gb-row dt { color: var(--text-muted, var(--text-muted)); }
html.theme-ivory .app-footer .app-footer-quiet, html.theme-henry .app-footer .app-footer-quiet { color: var(--text-muted, var(--text-muted)); }
/* 36-ivory-generated:end */

/* 41 (Oct 8, 2026, ship-zt): readability pass over every customer page in all 7 themes (checked in a browser: every
   visible text vs the colour actually behind it, WCAG AA 4.5:1 or better). Customer pages only, never the owner page.
   - Dim/hint text (labels, hints, "(optional)", dates, footer) was ~3:1 on the dark themes: lighter per theme.
   - Your Garage car rows on the light themes (Ivory, Henry) sat on a dark grey panel with dark text: now the light card.
   - The gold "Executive Member" badge had light text on light gold in Ivory/Henry: solid accent with light text there;
     the star is dark enough on gold in the dark themes.
   - Buttons and badges wrap their words instead of running past the edge (Standard and Larger, small iPhones). */
body.app-page:not(.owner-page) { --text-dim: #a29b92; }
html.theme-garage body.app-page:not(.owner-page) { --text-dim: #9aa4b0; }
html.theme-leather body.app-page:not(.owner-page) { --text-dim: #b8a286; }
html.theme-racing body.app-page:not(.owner-page) { --text-dim: #a5b4a3; }
html.theme-navy body.app-page:not(.owner-page) { --text-dim: #a3b0c5; }
html.theme-ivory body.app-page:not(.owner-page) { --text-dim: #574f43; }
html.theme-henry body.app-page:not(.owner-page) { --text-dim: #26332a; --text-muted: #223027; }
body.app-page:not(.owner-page) :is(.app-form-card .opt, #mpgl-request .opt) { opacity: 1; color: var(--text-dim); }
html:is(.theme-ivory, .theme-henry) body.app-page:not(.owner-page) .home-garage-card { background: var(--card-bg); border-color: rgba(var(--gold-rgb), 0.40); }
html:is(.theme-ivory, .theme-henry) body.app-page:not(.owner-page) .home-garage-card:is(:hover, :focus-visible) { background: var(--bg-elevated); }
body.app-page:not(.owner-page) .vehicle-plan-star { color: #3a2b04; text-shadow: none; }
html:is(.theme-ivory, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge { background: var(--gold); box-shadow: none; color: var(--on-accent); }
html:is(.theme-ivory, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge :is(.vehicle-plan-star, .vehicle-plan-sep, .vehicle-plan-freq) { color: var(--on-accent); opacity: 1; }
body.app-page:not(.owner-page) .vehicle-plan-badge { flex-wrap: wrap; max-width: 100%; white-space: normal; }
/* Words never break mid-word on buttons / badges / tiles (no "Remo-ve"): labels wrap only between words. */
body.app-page:not(.owner-page) :is(button, label.auth-ghost-btn, .btn-primary, .btn-secondary, .auth-ghost-btn, .ead-back-btn, .app-tile, .th-choice, .fs-choice, .inv-pill, .plan-car-cta, .vehicle-plan-badge, [role="button"], [role="tab"], [role="radio"]) {
  overflow-wrap: normal; word-break: normal; -webkit-hyphens: none; hyphens: none; max-width: 100%;
}
/* Car card actions (Edit / Add photo / Remove, Manage package / Cancel plan): each label on one line. Buttons share the
   row when they fit; otherwise they wrap (2 + 1, or one per row at Larger text / narrow phones) and fill the width. */
/* Car card buttons: equal-width grid cells, one line each. Edit / Add photo / Remove = 2 + 1 (Remove full width);
   plan row = side by side when both fit, else stacked; Larger text = one full-width column. */
body.app-page:not(.owner-page) :is(.vehicle-actions, .vehicle-plan-acts) { display: grid; gap: 8px; }
body.app-page:not(.owner-page) .vehicle-plan-acts { grid-template-columns: repeat(auto-fit, minmax(164px, 1fr)); margin-top: 12px; }
body.app-page:not(.owner-page) .vehicle-actions { grid-template-columns: 1fr 1fr; margin-top: 8px; }
body.app-page:not(.owner-page) .vehicle-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
body.app-page:not(.owner-page) :is(.vehicle-actions, .vehicle-plan-acts) > :is(.auth-ghost-btn, button, label) { width: 100%; min-width: 0; min-height: 48px; margin: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 10px 14px; }
html.ead-larger body.app-page:not(.owner-page) :is(.vehicle-actions, .vehicle-plan-acts) { grid-template-columns: 1fr; }
html.ead-larger body.app-page:not(.owner-page) :is(.vehicle-actions, .vehicle-plan-acts) > :is(.auth-ghost-btn, button, label) { min-height: 52px; }
body.app-page:not(.owner-page) .plan-car-cta { white-space: normal; }

html:is(.theme-ivory, .theme-henry) body.app-page:not(.owner-page) .inv-logo { filter: invert(1) hue-rotate(180deg); }   /* white logo on the light invoice card */
/* Theme chooser: as many columns as fit with every theme name on whole words (2 on small phones, 3 when there is room). */
body.app-page:not(.owner-page) .th-choices { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
html.ead-larger body.app-page:not(.owner-page) .th-choices { grid-template-columns: minmax(0, 1fr); }
body.app-page:not(.owner-page) .contact-btn { white-space: nowrap; }
body.app-page:not(.owner-page) .plan-flow-link { display: inline-flex; align-items: center; min-height: 44px; }
/* ship-zt: "Mind telling us why?" confirm pop-up (cancel / downgrade a plan, remove a car): the app's pop-up look. */
body.app-page:not(.owner-page) .why-prompt { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
body.app-page:not(.owner-page) .why-card { display: flex; flex-direction: column; gap: 10px; }
body.app-page:not(.owner-page) .why-label { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-top: 4px; }
body.app-page:not(.owner-page) .why-opt { font-weight: 400; color: var(--text-dim); }
body.app-page:not(.owner-page) .why-text { width: 100%; box-sizing: border-box; min-height: 84px; resize: vertical; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); color: var(--text); font: 400 1rem/1.45 'Inter', system-ui, sans-serif; }
body.app-page:not(.owner-page) .why-text:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
body.app-page:not(.owner-page) .why-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
body.app-page:not(.owner-page) .why-acts > button { width: 100%; white-space: nowrap; }
html.ead-larger body.app-page:not(.owner-page) .why-label { font-size: 1rem; }
html.ead-larger body.app-page:not(.owner-page) .why-text { font-size: 18px; }
html.why-open, html.why-open body { overflow: hidden; }
/* ship-zt: the inline "Booking Agreement" link-button gets a 44px tap area without moving the sentence around it. */
body.app-page:not(.owner-page) button.ag-link { display: inline; padding-top: 14px; padding-bottom: 14px; margin-top: -14px; margin-bottom: -14px; overflow-wrap: normal; white-space: nowrap; }
/* ship-zt: tall "why" pop-up (320px + Larger text) scrolls instead of being clipped at the top; readable placeholder. */
body.app-page:not(.owner-page) .why-prompt { align-items: flex-start; }
body.app-page:not(.owner-page) .why-prompt > .why-card { margin: auto 0; max-height: none; }
body.app-page:not(.owner-page) .why-text::placeholder { color: var(--text-dim); opacity: 1; font-style: italic; }
/* 42 (Oct 8, 2026, ship-zt): home "Your garage" rows redesigned (Richie). Solid card, strong text, bigger photo on the left
   (full width on top at Larger text), left-aligned name → badge → next wash → size, one "Book ›" affordance, no perk line. */
body.app-page:not(.owner-page) #home-garage-list { gap: 12px; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "photo meta go"; align-items: center; column-gap: 14px;
  padding: 12px; min-height: 0; border-radius: 16px; text-align: left; justify-items: stretch;
  background: var(--card-bg); border: 1px solid rgba(var(--gold-rgb), 0.38); box-shadow: 0 2px 10px rgba(0,0,0,0.10); color: var(--text);
}
body.app-page:not(.owner-page) #home-garage-list .home-garage-card:is(:hover, :focus-visible) { background: var(--card-bg); border-color: var(--gold-light); }
body.app-page:not(.owner-page) #home-garage-list .home-garage-thumb {
  grid-area: photo; width: 96px; height: 72px; align-self: center; border-radius: 12px; background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid rgba(var(--gold-rgb), 0.25); margin: 0;
}
body.app-page:not(.owner-page) #home-garage-list .home-garage-meta { grid-area: meta; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-name {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 600; line-height: 1.15; color: var(--text);
  white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; word-break: normal; hyphens: none; text-align: left;
}
body.app-page:not(.owner-page) #home-garage-list .home-garage-badge { margin: 2px 0 0; white-space: nowrap; max-width: 100%; font-size: 1rem; padding: 3px 10px 3px 8px; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-badge .vehicle-plan-badge-short { display: inline; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-badge .vehicle-plan-badge-full { display: none; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-next { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--text); text-align: left; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-next.is-paused { color: var(--text-dim); font-weight: 500; }
body.app-page:not(.owner-page) #home-garage-list :is(.home-garage-sub, .home-garage-services, .home-garage-price) { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.3; color: var(--text-dim); text-align: left; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-price { color: var(--text); font-weight: 600; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-services-h { color: var(--text); font-weight: 600; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-perk { display: none; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-go {
  grid-area: go; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55); color: var(--text); flex-shrink: 0;
}
body.app-page:not(.owner-page) #home-garage-list .home-garage-go-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-go .tile-arrow { width: 18px; height: 18px; opacity: 1; margin: 0; position: static; transform: none; }
@media (max-width: 359px) {
  body.app-page:not(.owner-page) #home-garage-list .home-garage-card { grid-template-columns: 80px minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 10px 12px 12px; }
  body.app-page:not(.owner-page) #home-garage-list .home-garage-thumb { width: 80px; height: 64px; }
  body.app-page:not(.owner-page) #home-garage-list .home-garage-name { font-size: 1.2rem; }
}
/* Larger text: full-width photo on top, text below, a clear "Book ›" button-like row at the bottom right */
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-card {
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "photo photo" "meta go"; row-gap: 12px; padding: 12px 14px 14px; align-items: end;
}
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-name { font-size: 1.55rem; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-badge { font-size: 1rem; padding: 4px 12px 4px 10px; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-next { font-size: 1.05rem; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list :is(.home-garage-sub, .home-garage-services, .home-garage-price) { font-size: 1rem; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-go { width: auto; height: 44px; padding: 0 12px 0 16px; gap: 2px; font-weight: 600; font-size: 1rem; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-go-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-badge { display: inline-flex; flex-wrap: nowrap; width: max-content; white-space: nowrap; border-radius: 999px; }
@media (max-width: 359px) {
  body.app-page:not(.owner-page) .home-garage { padding: 14px 10px; }
  body.app-page:not(.owner-page) #home-garage-list .home-garage-card { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "photo meta" "go meta"; align-items: start; row-gap: 10px; }
  body.app-page:not(.owner-page) #home-garage-list .home-garage-thumb { width: 76px; height: 60px; }
  body.app-page:not(.owner-page) #home-garage-list .home-garage-go { justify-self: start; }
}
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "meta" "go"; align-items: stretch; }
html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-go { justify-self: stretch; width: auto; height: 48px; border-radius: 12px; }
@media (max-width: 359px) { html.ead-larger body.app-page:not(.owner-page) #home-garage-list .home-garage-thumb { width: 100%; height: auto; } }
/* Standard text, every width: Book chevron sits under the photo so the text column gets the room (no clipped badge). */
html:not(.ead-larger) body.app-page:not(.owner-page) #home-garage-list .home-garage-card { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "photo meta" "go meta"; align-items: start; row-gap: 10px; }
html:not(.ead-larger) body.app-page:not(.owner-page) #home-garage-list .home-garage-go { justify-self: start; }
body.app-page:not(.owner-page) #home-garage-list .home-garage-badge { max-width: none; }
@media (max-width: 359px) {
  html:not(.ead-larger) body.app-page:not(.owner-page) #home-garage-list .home-garage-card { grid-template-columns: 76px minmax(0, 1fr); }
}

/* ---------- Packages (Signature / Executive / Prestige), Oct 8, 2026 ---------- */
.vehicle-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; }
.vehicle-plan-badge-word, .vehicle-plan-freq { white-space: nowrap; }
.pkg-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  line-height: 1.3; white-space: nowrap; word-break: keep-all; overflow-wrap: normal; hyphens: none; flex: 0 0 auto;
  border: 1.5px solid var(--border); color: var(--text); background: var(--surface, transparent); }
.pkg-tag-signature { border-color: var(--text-muted); }
.pkg-tag-executive { border-color: var(--gold); color: var(--text); background: rgba(var(--gold-rgb), .14); }
.pkg-tag-prestige { border-color: var(--gold); background: var(--gold); color: #14110b; }
html.ead-larger .pkg-tag { font-size: 1rem; padding: 4px 12px; }
.oa-vpkg { margin: 6px 0; min-height: 1px; }
.oa-tier-taps { margin-bottom: 8px; }

/* App plans: step 1 package cards */
.plans-step { font-weight: 700; font-size: 1.05rem; margin: 18px 0 8px; color: var(--text); }
.plans-step-tier { color: var(--gold-light); white-space: nowrap; }
.tier-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .tier-cards { grid-template-columns: 1fr; } }
html.ead-larger .tier-cards { grid-template-columns: 1fr; }
.tier-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--border); background: var(--bg-elevated, var(--surface)); color: var(--text); cursor: pointer; font: inherit; min-width: 0; }
.tier-card.is-selected, .tier-card[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .45); background: rgba(var(--gold-rgb), .10); }
.tier-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tier-card-name { font-size: 1.2rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.tier-card-tag { font-style: italic; color: var(--text-muted); font-size: 1rem; overflow-wrap: normal; word-break: normal; }
.tier-card-inc { font-size: 1rem; color: var(--text); overflow-wrap: normal; word-break: normal; }
.tier-card-from { font-weight: 700; color: var(--text); white-space: nowrap; }
.tier-detail { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface, transparent); }
.tier-detail-h { font-weight: 700; margin: 0 0 4px; color: var(--text); }
.tier-detail-p, .tier-detail-perk { margin: 4px 0; color: var(--text); }
.tier-detail-perk { color: var(--gold-light); }
.tier-detail ul { margin: 6px 0 0 18px; padding: 0; }

/* Vehicles: Manage package picker */
.vehicle-plan-step { font-weight: 700; margin: 10px 0 6px; color: var(--text); }
.vehicle-tier-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-tier-chip { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; min-height: 44px; }
.vehicle-tier-chip.is-on { border-color: var(--gold); background: var(--gold); color: #14110b; }
.vehicle-tier-includes { margin: 8px 0 4px; color: var(--text-muted); font-size: 1rem; }

/* Light Detail box text */
.plan-free-detail-sub { color: var(--text-muted); font-size: 1rem; }

/* Compare packages */
.cmp-open-row { margin: 10px 0; }
.cmp-open-btn { min-height: 44px; font-weight: 700; white-space: nowrap; }
html.cmp-open, html.cmp-open body { overflow: hidden; }
.cmp-dialog { width: min(960px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 16px;
  background: var(--bg); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.cmp-dialog::backdrop { background: rgba(0,0,0,.6); }
@media (max-width: 600px) { .cmp-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; } }
.cmp-inner { padding: 18px 20px 20px; font-size: 1.125rem; line-height: 1.5; }
html.ead-larger .cmp-inner { font-size: 20px; }
.cmp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: var(--bg); padding: 4px 0 8px; z-index: 1; }
.cmp-title { margin: 0; font-size: 1.4em; color: var(--gold-light); }
.cmp-close { min-height: 44px; }
.cmp-lead { margin: 4px 0 12px; color: var(--text-muted); }
.cmp-size-h { margin: 8px 0 6px; font-weight: 700; }
.cmp-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cmp-size { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: 1em; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cmp-size.is-selected { background: var(--gold); border-color: var(--gold); color: #14110b; }
.cmp-size:focus-visible, .cmp-open-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: center; overflow-wrap: normal; word-break: normal; hyphens: none; }
.cmp-table thead th { font-size: 1.1em; color: var(--gold-light); border-bottom: 2px solid var(--gold); }
.cmp-table .cmp-svc-h, .cmp-table .cmp-svc { text-align: left; width: 34%; font-weight: 600; color: var(--text); }
.cmp-table .cmp-svc-h { color: var(--text-muted); font-size: 1em; }
.cmp-mark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.cmp-sym { font-size: 1.35em; font-weight: 800; line-height: 1; }
.cmp-yes .cmp-sym { color: var(--gold-light); }
.cmp-no .cmp-sym { color: var(--text-dim, var(--text-muted)); }
.cmp-word { font-size: 1em; color: var(--text); }
.cmp-price-row th, .cmp-price-row td { background: rgba(var(--gold-rgb), .07); }
.cmp-price { font-weight: 700; color: var(--text); }
.cmp-stack { display: none; }
.cmp-card { border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; background: var(--bg-elevated, var(--surface)); }
.cmp-card-h { margin: 0 0 8px; font-size: 1.3em; color: var(--gold-light); }
.cmp-list { list-style: none; margin: 0; padding: 0; }
.cmp-li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.cmp-li .cmp-mark { min-width: 1.6em; }
.cmp-li .cmp-word { display: none; }
.cmp-li.is-no .cmp-li-t { color: var(--text-dim, var(--text-muted)); }
.cmp-prices { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.cmp-prices dt { color: var(--text-muted); }
.cmp-prices dd { margin: 0; font-weight: 700; }
.cmp-foot { margin-top: 14px; display: flex; justify-content: flex-end; }
@media (max-width: 600px) { .cmp-table { display: none; } .cmp-stack { display: block; } }
@media (max-width: 860px) { html.ead-larger .cmp-table { display: none; } html.ead-larger .cmp-stack { display: block; } }
html:is(.theme-ivory, .theme-henry) body.app-page .cmp-dialog::backdrop { background: rgba(20,20,10,.45); }
html:is(.theme-ivory, .theme-henry) body.app-page :is(.cmp-close.form-submit) { color: var(--on-accent); }
html:is(.theme-ivory, .theme-henry) body.app-page .cmp-open-btn { color: var(--text); }
/* Plain-language additions (Best for, big Compare button) */
.cmp-open-btn { font-size: 1.05rem; padding: 12px 22px; min-height: 52px; border-width: 2px; border-color: var(--gold); }
.cmp-open-top { margin: 12px 0 16px; }
@media (max-width: 600px) { .cmp-open-top .cmp-open-btn, .vehicle-plan-picker .cmp-open-btn { width: 100%; } }
html.ead-larger .cmp-open-btn { font-size: 1.15rem; min-height: 58px; }
.tier-card-best, .vehicle-tier-best { font-weight: 600; color: var(--text); font-size: 1rem; }
.vehicle-tier-best { margin: 8px 0 2px; }
.cmp-pkg-h .cmp-pkg-name { display: block; font-size: 1.15em; }
.cmp-best { display: block; font-size: 1em; font-weight: 500; color: var(--text-muted); margin-top: 4px; line-height: 1.35; }
.cmp-card .cmp-best { font-size: 1em; margin: -4px 0 8px; }
.cmp-table .cmp-svc { font-size: 1em; }
/* Owner · Packages editor: big inputs, clear Save */
.pk-card { margin-top: 16px; }
.pk-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.pk-label { font-weight: 700; color: var(--text); font-size: 1rem; }
.pk-hint { color: var(--text-muted); font-size: 1rem; margin: 2px 0 8px; }
.pk-input { font: inherit; font-size: 1.125rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); width: 100%; box-sizing: border-box; min-height: 48px; }
.pk-input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
textarea.pk-input { line-height: 1.45; resize: vertical; }
.pk-toggle { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.pk-check { width: 26px; height: 26px; accent-color: var(--gold); flex: 0 0 auto; }
.pk-compare { margin: 14px 0; }
.pk-mark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pk-mark-label { grid-column: 1 / -1; font-weight: 600; }
.pk-mark-note { grid-column: 2; }
.pk-grid { width: 100%; border-collapse: collapse; margin: 14px 0 4px; table-layout: fixed; }
.pk-grid-cap { text-align: left; font-weight: 700; padding: 6px 0; color: var(--gold-light); caption-side: top; }
.pk-grid th, .pk-grid td { padding: 6px 4px; text-align: left; vertical-align: middle; font-size: 1rem; }
.pk-grid thead th { color: var(--text-muted); font-weight: 600; }
.pk-grid tbody th { width: 34%; font-weight: 600; }
.pk-num { min-width: 0; padding: 10px 8px; text-align: right; }
@media (max-width: 520px) { .pk-grid tbody th { width: 30%; font-size: 1rem; } .pk-num { font-size: 1rem; } }
.pk-savebar { position: sticky; bottom: 0; z-index: 5; background: var(--bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); margin-top: 16px; }
.pk-save { width: 100%; min-height: 58px; font-size: 1.15rem; }
.pk-status { margin: 0 0 8px; font-weight: 600; }
.pk-status.is-bad { color: #e5786b; }
html:is(.theme-ivory, .theme-henry) .pk-status.is-bad { color: #9b2b1f; }
.pk-version { color: var(--text-muted); }
.pk-confirm { max-width: 560px; width: calc(100vw - 24px); border: 1px solid var(--border); border-radius: 16px; background: var(--bg); color: var(--text); padding: 20px; font-size: 1.125rem; }
.pk-confirm::backdrop { background: rgba(0,0,0,.6); }
.pk-confirm-list { margin: 8px 0 16px 18px; padding: 0; }
.pk-confirm-list li { margin: 4px 0; }
.pk-confirm-btns { display: flex; flex-direction: column; gap: 10px; }
.pk-confirm-btns button { min-height: 54px; font-size: 1.05rem; }
.pk-log-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.pk-log-h { font-weight: 700; margin: 0 0 4px; }
.pk-log-list { margin: 0 0 0 18px; padding: 0; color: var(--text); }
html:is(.theme-ivory, .theme-henry) body.app-page :is(.pk-save, #pk-confirm-yes) { color: var(--on-accent); }

/* ---------- Package crest: the car's main badge (Richie, Oct 8, 2026 9:27 PM) ----------
   SIGNATURE silver, EXECUTIVE gold, PRESTIGE black with gold. Colours come from custom properties on purpose: each crest
   paints its own background, so it reads the same in all 7 themes (the light-theme generator leaves these alone). */
.pkg-crest-signature { --cr-bg: linear-gradient(180deg, #f4f6f8 0%, #d3d8de 55%, #b9c0c8 100%); --cr-fg: #1f2630; --cr-bd: #737c87; --cr-ic: #3d4652; }
.pkg-crest-executive { --cr-bg: linear-gradient(180deg, #f7e6ae 0%, #e0bd62 55%, #c49a3c 100%); --cr-fg: #2b1d03; --cr-bd: #8a6a1f; --cr-ic: #4a3408; }
.pkg-crest-prestige { --cr-bg: linear-gradient(180deg, #2c2a26 0%, #121110 60%, #050505 100%); --cr-fg: #f0d68a; --cr-bd: #c9a24a; --cr-ic: #e2bf62; }
.pkg-crest { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-sizing: border-box; vertical-align: middle;
  padding: 4px 12px 4px 7px; min-height: 28px; border-radius: 999px 999px 999px 999px / 999px 999px 999px 999px;
  background: var(--cr-bg); color: var(--cr-fg); border: 1.5px solid var(--cr-bd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(0, 0, 0, 0.25);
  font: 800 1rem/1.15 'Inter', system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap; overflow-wrap: normal; word-break: keep-all; hyphens: none; flex: 0 0 auto; text-shadow: none; }
.pkg-crest-prestige { box-shadow: inset 0 1px 0 rgba(240, 214, 138, 0.25), 0 0 0 1px rgba(201, 162, 74, 0.35), 0 1px 2px rgba(0, 0, 0, 0.35); }
.pkg-crest-icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--cr-ic); }
.pkg-crest-name { overflow: hidden; text-overflow: ellipsis; color: var(--cr-fg); }
.pkg-crest-lg { font-size: 1rem; min-height: 36px; padding: 6px 16px 6px 9px; gap: 8px; }
.pkg-crest-lg .pkg-crest-icon { width: 22px; height: 22px; }
html.ead-larger body.app-page:not(.owner-page) .pkg-crest { font-size: 1rem; min-height: 32px; }
html.ead-larger body.app-page:not(.owner-page) .pkg-crest .pkg-crest-icon { width: 20px; height: 20px; }
html.ead-larger body.app-page:not(.owner-page) .pkg-crest-lg { font-size: 1rem; min-height: 40px; }
html.ead-larger body.app-page:not(.owner-page) .pkg-crest-lg .pkg-crest-icon { width: 24px; height: 24px; }
.pkg-badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; }
.pkg-freq { font: 600 1rem/1.3 'Inter', system-ui, sans-serif; color: var(--text-muted, var(--text)); letter-spacing: 0.01em; padding-left: 4px; }
.pkg-special-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font: 700 1rem/1.3 'Inter', system-ui, sans-serif;
  letter-spacing: 0.04em; color: var(--text); border: 1px solid var(--border-strong, var(--border)); background: transparent; white-space: nowrap; }
html.ead-larger body.app-page:not(.owner-page) .pkg-freq { font-size: 1rem; }
html.ead-larger body.app-page:not(.owner-page) .pkg-special-tag { font-size: 1rem; }
.vehicle-badges .pkg-badge, .home-garage-badges .pkg-badge { margin-top: 2px; }
.oa-pkg-badge { display: block; flex-basis: 100%; margin-top: 6px; }
/* plan picker, Manage package chips and compare headers */
.tier-card .tier-card-name { display: block; margin-bottom: 4px; }
.vehicle-tier-chip .pkg-crest { pointer-events: none; }
.vehicle-tier-chip { display: inline-flex; align-items: center; justify-content: center; }
.cmp-pkg-name, .cmp-card-h { display: flex; justify-content: center; margin: 0 0 6px; }
.cmp-card-h { justify-content: flex-start; }
.cmp-pkg-h { vertical-align: top; }
/* Home "Your garage" row with packages: name → crest → plan line → Preferred/MPGL → Next wash → size, all left-aligned. */
body.app-page:not(.owner-page) #home-garage-list .home-garage-badges { display: flex; margin: 2px 0 0; max-width: 100%; }
body.app-page:not(.owner-page) #home-garage-list .home-pkg-badge { align-items: flex-start; gap: 4px; }
body.app-page:not(.owner-page) #home-garage-list .home-pkg-badge .pkg-freq { padding-left: 2px; }

/* ---- Owner home (Oct 8, 2026): simple home screen of big buttons; each opens its own screen (owner-home.js).
   Classic only. Labels wrap only between words, never mid-word, at Standard and Larger. ---- */
.oh-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 6px 0 8px; }
.oh-home[hidden], .oh-screen[hidden] { display: none !important; }
a.oh-btn { position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 14px 18px; box-sizing: border-box;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55); border-radius: 14px; background: var(--card-bg, #141414); color: var(--text);
  text-decoration: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s, transform .1s; }
a.oh-btn[hidden] { display: none; }
a.oh-btn:focus-visible { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.10); outline: none; }
/* zy: hover look only on devices that really hover (on iPhone a tap is not a hover) */
@media (hover: hover) { a.oh-btn:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.10); outline: none; } }
a.oh-btn:focus-visible { box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.45); }
a.oh-btn:active { transform: scale(0.985); }
.oh-ico { flex: none; width: 34px; height: 34px; color: var(--gold-light); }
.oh-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.oh-name { font-family: 'Inter', system-ui, sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: #f5f2eb; letter-spacing: .01em; }
.oh-sub { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.35; color: #cfc8b8; }
/* home-button badges: the shared gold .ead-count circle, sized up for the big buttons */
.oh-badge.ead-count { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; font-size: 1rem; background: var(--gold); color: #111; }
.oh-badge[hidden] { display: none; }
a.oh-btn.has-badge { border-color: var(--gold); }
body.owner-page :is(a.oh-btn, .oh-name, .oh-sub, button, .oa-tool, .oa-tap, .sch-chip, .form-submit, .btn-secondary, .auth-ghost-btn, .oa-link, .ead-back-btn, .oa-act, [role="button"], [role="tab"], [role="radio"], .oact-btn, .oact-go, .oact-choice, .oact-car) {
  overflow-wrap: normal; word-break: normal; -webkit-hyphens: none; hyphens: none;
}
.oh-screen { margin-top: 4px; }
.oh-screen > .form-card, .oh-screen > section { margin-top: 0; margin-bottom: 16px; }
.oh-write { width: 100%; margin: 0 0 14px; min-height: 52px; }
.oh-set-card .oa-hint { margin: 0 0 12px; }
.oh-fs-taps .oa-tap { min-height: 52px; font-size: 1rem; }
.oh-set-acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.oh-set-btn, .oh-signout { width: 100%; min-height: 52px; margin: 0; padding: 10px 16px; border-radius: 12px; font-size: 1rem; font-family: 'Inter', system-ui, sans-serif; cursor: pointer;
  border: 1.5px solid rgba(var(--gold-rgb), 0.55); background: transparent; color: var(--gold-light); }
.oh-signout { margin-top: 6px; }
#owner-dash-heading:focus { outline: none; }
/* owner home is the grid itself: no Back there (back.js adds it; owner-home.js marks the grid) */
html.oh-at-home body.owner-page .ead-back { display: none; }
html.ead-larger .oh-name { font-size: 1.3rem; }
html.ead-larger .oh-sub { font-size: 1.02rem; }
html.ead-larger a.oh-btn { min-height: 92px; }
html.ead-larger .oh-ico { width: 38px; height: 38px; }
html.ead-larger body.owner-page .oa-toolbar { grid-template-columns: minmax(0, 1fr); }
html.ead-larger body.owner-page .oa-tap { font-size: 1rem; }

/* zu (Oct 8, 2026): Henry's sage paid-invoice tint left the green "Paid" pill / "Paid by Zelle…" line at 4.46:1; a deeper
   green clears AA 4.5:1 on the tint (Ivory unchanged, already passes). */
html.theme-henry .inv-pill.is-paid, html.theme-henry .inv-paid-line { color: #0f4220; }

/* zu (Oct 8, 2026): Preferred Client / MPGL accounts. The longer price text ("Preferred Client pricing · From $75/mo",
   "Preferred Client pricing From $55") was one unbreakable line that pushed plan cards and booking choices past the
   screen edge. The plan-card price now sits on its own full-width line under the name; booking choices let the price
   drop under the name and wrap between words. Public prices (short) are unchanged. */
.plan-card-price.is-special { grid-column: 1 / -1; grid-row: auto; white-space: normal; overflow-wrap: normal; margin-top: 4px; text-align: left; }
.book-svc-row { flex-wrap: wrap; row-gap: 2px; }
.book-svc-row > strong { min-width: 0; }
.book-svc-price { white-space: normal; overflow-wrap: normal; min-width: 0; }
/* Henry: the green "Preferred Client pricing is on" note was 4.3:1 on the sage card */
html.theme-henry #book-mpgl-note.auth-status-ok { color: #0e3a1d; }

/* zu: the toast's × close is a full 44px tap target (was 32px) */
.ead-toast { padding-right: 52px; }
.ead-toast-close { top: 2px; right: 2px; width: 44px; height: 44px; }

/* ---- zu (Oct 8, 2026, Richie: "Make everything straight, too windy"): owner pages line up on one left edge.
   Owner side only (body.owner-page). Same width for every button in a group, equal row heights (no zig-zag),
   labels aligned the same way inside a group, even 12px spacing, Standard and Larger. ---- */
body.owner-page .owner-hero, body.owner-page .app-hero { text-align: left; }
body.owner-page .owner-hero h1, body.owner-page .app-hero h1, body.owner-page .owner-hero .app-lead { text-align: left; margin-left: 0; margin-right: 0; }
body.owner-page .owner-hero .app-back { margin-right: 8px; }
/* home: one column of identical buttons, text left-aligned next to the icon, every row the same height */
body.owner-page .oh-home { grid-auto-rows: 1fr; gap: 12px; }
body.owner-page a.oh-btn { height: 100%; }
body.owner-page .oh-txt { align-items: flex-start; text-align: left; }
body.owner-page .oh-name, body.owner-page .oh-sub { text-align: left; }
/* clients list: avatar | text; date and Edit / Message sit on the text's left edge (no right-hand column zig-zag) */
body.owner-page .owner-cust-link { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
body.owner-page .owner-cust-link > .owner-cust-meta { grid-column: 2; text-align: left; white-space: normal; margin-top: -4px; }
body.owner-page .oa-row-acts { justify-content: flex-start; padding-left: 56px; gap: 24px; }
/* every row of tap choices (text size, theme, …): a 2-column grid of equal buttons */
body.owner-page .oa-taps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
body.owner-page .oa-taps > .oa-tap { width: 100%; margin: 0; justify-content: center; text-align: center; }
body.owner-page .oa-toolbar { grid-auto-rows: 1fr; gap: 12px; }
/* "Do it for them": equal buttons, equal rows */
body.owner-page .oact-grid { grid-auto-rows: 1fr; gap: 12px; }
body.owner-page .oact-btn { height: 100%; width: 100%; text-align: center; }
body.owner-page .oact-choices { grid-auto-rows: 1fr; }
/* ship-zx: owner "See their app" preview bar (same look in every theme: fixed high-contrast colours) */
.ead-pv-bar { position: sticky; top: 0; z-index: 9995; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  background: #111214; color: #ffffff; border-bottom: 3px solid #c4a574; box-sizing: border-box; width: 100%; font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.ead-pv-txt { min-width: 0; }
.ead-pv-t { margin: 0; font-size: 1rem; font-weight: 700; color: #ffffff; overflow-wrap: break-word; }
.ead-pv-s { margin: 2px 0 0; font-size: 1rem; color: #e6e1d6; overflow-wrap: break-word; }
.ead-pv-exit { flex: none; min-height: 44px; min-width: 44px; padding: 8px 14px; border: 0; border-radius: 10px; background: #c4a574; color: #111214; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.ead-pv-toast { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9996; max-width: calc(100% - 32px); box-sizing: border-box; padding: 12px 16px; border-radius: 12px; background: #111214; color: #ffffff; border: 2px solid #c4a574; font-size: 1rem; font-weight: 600; text-align: center; }
.ead-pv-toast[hidden] { display: none; }
.oact-see { display: block; width: 100%; min-height: 52px; margin: 4px 0 14px; font-size: 1.05rem; }
/* ---- ship-zy (Oct 9, 2026): customer home "Chat With Us Now": big, full-width, filled main-action button near the top
   (same filled look as the main tile in every theme). One tap opens Messages. ---- */
.home-chat-cta { display: flex; width: 100%; box-sizing: border-box; margin: 0 0 18px; min-height: 96px; }
.home-chat-cta .tile-title { font-size: 1.3rem; font-weight: 700; text-transform: none; letter-spacing: .01em; white-space: normal; overflow-wrap: normal; word-break: normal; }
.home-chat-cta .tile-sub { font-size: 1rem; }
.home-chat-cta .tile-text { min-width: 0; }
.home-chat-cta[hidden] { display: none !important; }
/* ship-zy: Executive Members see "Chat With Us Now" in the Book Online spot (home.js renderMemberChat) */
.home-member-chat .tile-title { text-transform: none; letter-spacing: .01em; white-space: normal; overflow-wrap: normal; word-break: normal; }

/* ---- ship-zy: Messages "Sent" / "Read" under your latest message, and "Typing…" (customer + owner threads).
   Small but readable: body text colour (4.5:1+ in every theme), no fading. Dots animate with CSS only. ---- */
.chat-receipt { align-self: flex-end; margin: -4px 4px 4px 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--text); letter-spacing: .01em; }
.chat-receipt.is-read { color: var(--text); }
.chat-typing { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; margin: 8px 0 4px; padding: 8px 14px; border-radius: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg, transparent); color: var(--text); font-size: 1rem; font-weight: 600; }
.chat-typing[hidden] { display: none; }
.chat-typing-dots { display: inline-flex; }
.chat-dot { display: inline-block; animation: ead-typing-dot 1.2s infinite ease-in-out; }
.chat-dot:nth-child(2) { animation-delay: .2s; }
.chat-dot:nth-child(3) { animation-delay: .4s; }
@keyframes ead-typing-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-dot { animation: none; } }
/* ---- ship-zy: welcome tour (onboard.js). For older customers: big text, big buttons, one idea per step.
   The dim, spotlight, arrow and caption use fixed colours (white card, near-black text, bright yellow arrow with a
   dark outline) so contrast is the same in all 15 themes; the final picker uses the theme's own colours so it previews it. ---- */
html.tour-pick-open { overflow: hidden; }
html.tour-open, html.tour-open body { scroll-behavior: auto !important; }
html.tour-open .ead-toast, html.tour-pick-open .ead-toast { display: none !important; }
/* room under the last buttons so the tour can lift them above the caption (removed when the tour ends) */
html.tour-open body { padding-bottom: 75vh !important; }
.tour { position: fixed; inset: 0; z-index: 9990; }
.tour-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.0); }
.tour.is-plain .tour-dim { background: rgba(0,0,0,0.72); }
.tour-hole { position: fixed; border-radius: 18px; box-shadow: 0 0 0 4px #ffd23f, 0 0 0 9999px rgba(0,0,0,0.72); pointer-events: none; transition: top .6s ease, left .6s ease, width .6s ease, height .6s ease; }
.tour-hole[hidden], .tour-arrow[hidden] { display: none; }
.tour-arrow { position: fixed; width: 64px; height: 80px; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); animation: ead-tour-bob 2.4s ease-in-out infinite; }
.tour-arrow svg { display: block; width: 64px; height: 80px; }
.tour-arrow.points-up svg { transform: rotate(180deg); }
@keyframes ead-tour-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.tour-arrow.points-up { animation-name: ead-tour-bob-up; }
@keyframes ead-tour-bob-up { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tour-bubble { position: fixed; left: 12px; right: 12px; margin: 0 auto; max-width: 560px; box-sizing: border-box; max-height: calc(100vh - 24px); overflow-y: auto;
  padding: 18px 18px 16px; border-radius: 18px; background: #ffffff; color: #141414; border: 3px solid #141414; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  font-family: 'Inter', system-ui, -apple-system, sans-serif; animation: ead-tour-in .5s ease; }
.tour-bubble.is-bottom { bottom: max(12px, env(safe-area-inset-bottom)); }
.tour-bubble.is-top { top: max(12px, env(safe-area-inset-top)); }
.tour-bubble.is-center { top: 50%; transform: translateY(-50%); }
@keyframes ead-tour-in { from { opacity: 0; } to { opacity: 1; } }
.tour-count { margin: 0 0 4px; font-size: 1.125rem; font-weight: 700; color: #3b3b3b; letter-spacing: .02em; }
.tour-title { margin: 0 0 6px; font-family: 'Inter', system-ui, sans-serif; font-size: 1.625rem; line-height: 1.2; font-weight: 800; color: #141414; }
.tour-text { margin: 0 0 14px; font-size: 1.3125rem; line-height: 1.45; color: #141414; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.tour-pic { display: block; width: 100%; max-height: 38vh; object-fit: contain; object-position: top; margin: 4px 0 12px; border-radius: 12px; border: 2px solid #141414; background: #0a0a0a; }
.tour-pic[hidden] { display: none; }
.tour-row { display: flex; gap: 10px; }
.tour-btn { font: inherit; font-family: 'Inter', system-ui, sans-serif; font-size: 1.3125rem; font-weight: 700; line-height: 1.2; min-height: 60px; padding: 12px 16px; border-radius: 14px; cursor: pointer;
  white-space: normal; word-break: normal; overflow-wrap: normal; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
.tour-btn[hidden] { display: none; }
.tour-next { flex: 2 1 0; background: #141414; color: #ffffff; border: 3px solid #141414; }
.tour-back { flex: 1 1 0; background: #ffffff; color: #141414; border: 3px solid #141414; }
.tour-skip { display: block; width: 100%; margin-top: 10px; background: #f1ede4; color: #141414; border: 3px solid #141414; }
.tour-btn:focus-visible { outline: 4px solid #1d4f7a; outline-offset: 3px; }
html.ead-larger .tour-text { font-size: 23px; }
html.ead-larger .tour-title { font-size: 28px; }
html.ead-larger .tour-btn { font-size: 22px; min-height: 64px; }
@media (prefers-reduced-motion: reduce) { .tour-arrow, .tour-bubble { animation: none; } .tour-hole { transition: none; } }
/* final step: text size + theme picker (theme colours, so it previews the theme) */
.tour-pick { position: fixed; inset: 0; z-index: 9991; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0.35); }
.tour-pick-card { width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; box-sizing: border-box; padding: 20px 18px max(18px, env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0; background: var(--bg-elevated, var(--bg)); color: var(--text); border: 2px solid var(--gold); border-bottom: 0; }
.tour-pick-h { margin: 0 0 6px; font-family: 'Inter', system-ui, sans-serif; font-size: 1.625rem; font-weight: 800; color: var(--text); }
.tour-pick-h3 { margin: 18px 0 4px; font-family: 'Inter', system-ui, sans-serif; font-size: 1.375rem; font-weight: 800; color: var(--text); }
.tour-pick-p { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.45; color: var(--text); }
.tour-pick .fs-choices { margin-bottom: 4px; }
.tour-pick-done { width: 100%; min-height: 60px; margin-top: 16px; font-size: 1.3125rem; position: sticky; bottom: 0; }
.fs-replay { display: block; width: 100%; min-height: 52px; margin-top: 18px; font-size: 1rem; }

/* ---- ship-zy: in-app booking steps (book-flow.js): day → time → add-ons → note → terms → Book. Colours come from the
   theme variables (text on the card colour, gold borders), so every theme keeps AA contrast; picked = thick border + ✓. */
.bf { display: flex; flex-direction: column; gap: 18px; }
.bf-sum { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid rgba(var(--gold-rgb), 0.25); }
.bf-sum-k { margin: 0; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.bf-sum-v { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text); overflow-wrap: normal; word-break: normal; }
.bf-change { align-self: flex-start; min-height: 44px; margin-top: 4px; }
.bf-load, .bf-hint { margin: 0; color: var(--text); font-size: 1rem; }
.bf-body { display: flex; flex-direction: column; gap: 22px; }
.bf-body[hidden] { display: none; }
.bf-step { display: flex; flex-direction: column; gap: 10px; }
.bf-step[hidden] { display: none; }
.bf-h { margin: 0; font-family: inherit; font-size: 1.2rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); }
.bf-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bf-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
html.ead-larger .bf-days { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
html.ead-larger .bf-times { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.bf-pick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 10px 8px; border-radius: 12px;
  border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); color: var(--text); font: inherit; font-size: 1rem; cursor: pointer; text-align: center; box-sizing: border-box; white-space: normal; overflow-wrap: normal; word-break: normal; }
.bf-pick.is-selected { border: 3px solid var(--gold); padding: 8.5px 6.5px; font-weight: 700; }
.bf-pick.is-selected::after { content: '\2713'; position: absolute; top: 4px; right: 8px; font-weight: 700; color: var(--text); }
.bf-pick:disabled, .bf-pick.is-off { cursor: default; border-style: dashed; background: transparent; }
.bf-day-w { font-weight: 700; }
.bf-day-d { font-size: 1rem; }
.bf-day-n { font-size: 1rem; color: var(--text); }
.bf-adds { display: flex; flex-direction: column; gap: 8px; }
.bf-add { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); color: var(--text); cursor: pointer; box-sizing: border-box; }
.bf-add.is-selected { border: 3px solid var(--gold); padding: 8.5px 12.5px; }
.bf-add input, .bf-agree input { width: 24px; height: 24px; flex: 0 0 auto; accent-color: var(--gold); margin: 0; }
.bf-add-t { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; flex: 1; min-width: 0; }
.bf-add-n { font-weight: 600; }
.bf-note { width: 100%; box-sizing: border-box; min-height: 96px; font: inherit; font-size: 1rem; padding: 12px; border-radius: 10px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); color: var(--text); }
.bf-note::placeholder { color: var(--text-muted); opacity: 1; }
.bf-terms { padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: var(--card-bg); }
.bf-terms-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; color: var(--text); font-size: 1rem; line-height: 1.5; }
.bf-agree { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 6px; font-weight: 600; color: var(--text); cursor: pointer; }
.bf-total { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.bf-book { width: 100%; min-height: 56px; font-size: 1.1rem; }
.bf-err { margin: 0; }
.bf-done { display: flex; flex-direction: column; gap: 8px; }
.bf-done-h { margin: 0; font-size: 1.5rem; color: var(--text); text-transform: none; letter-spacing: 0; }
.bf-done-p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.bf-done-s { margin: 0; color: var(--text); }
.bf-home { margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; text-decoration: none; }
.oact .bf, .oa-sheet .bf { margin-top: 6px; }

/* ---- ship-zy: unpaid-invoice pop-up (after Service complete), "Upcoming, not due yet", "Your visit changed" on Home */
.inv-pop { text-align: center; }
.inv-pop-h { overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.inv-pop-p { margin: 0 0 10px; line-height: 1.5; font-size: 1.05rem; }
.inv-pop-amt { margin: 4px 0 12px; font-size: 2rem; font-weight: 700; letter-spacing: .01em; }
.inv-pop-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 6px; text-decoration: none; font-size: 1.1rem; box-sizing: border-box; }
.inv-pop-later { width: 100%; min-height: 52px; margin-top: 10px; }
html.inv-pop-open, html.inv-pop-open body { overflow: hidden; }
.inv-pill.is-upcoming { border-style: dashed; border-color: rgba(var(--gold-rgb), 0.6); color: var(--text); background: transparent; white-space: normal; text-align: center; line-height: 1.2; padding: 4px 10px; }
/* zy-paid: the long "Upcoming, not due yet" pill wraps instead of squeezing the invoice number (no mid-word breaks) */
.inv-item.is-upcoming .inv-item-side { flex-shrink: 1; max-width: 48%; }
.inv-item.is-upcoming .inv-item-title { white-space: nowrap; }
.osc-hint { font-size: 1rem; color: var(--text); }
.inv-upcoming-note { margin: 14px 0; padding: 14px 16px; border-radius: 12px; border: 1.5px dashed rgba(var(--gold-rgb), 0.6); color: var(--text); font-size: 1rem; line-height: 1.5; }
.home-visit-changed { margin: 12px 0 14px; padding: 16px 16px 14px; border-radius: 14px; border: 2px solid var(--gold); background: var(--card-bg); color: var(--text); }
.hvc-h { margin: 0 0 6px; font-family: inherit; font-size: 1.2rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); overflow-wrap: normal; word-break: normal; }
.hvc-p { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.hvc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hvc-ok { min-height: 52px; flex: 1 1 160px; }
.hvc-msg { min-height: 52px; flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---- ship-zy: owner Today / Schedule visit cards (owner-today.js). Owner screens use the Classic look. */
.oh-btn-today .oh-name { font-size: 1.15em; }
.ot-card .ot-sub { margin: -4px 0 12px; font-size: 1.05rem; color: var(--text-muted); }
.ot-list, .os-days { display: flex; flex-direction: column; gap: 14px; }
.ot-day { display: flex; flex-direction: column; gap: 12px; }
.ot-day-h { margin: 10px 0 0; font-size: 1.15rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--gold-light); }
.ot-visit { padding: 16px; border-radius: 14px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.ot-visit.is-done { border-color: rgba(120, 190, 140, 0.6); }
.ot-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ot-time { margin: 0; font-size: 1.6rem; font-weight: 700; color: var(--gold-light); }
.ot-date { margin: 0; font-size: 1rem; color: var(--text-muted); }
.ot-name { margin: 4px 0 2px; font-size: 1.3rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); overflow-wrap: normal; word-break: normal; }
.ot-cars, .ot-pkg, .ot-line { margin: 2px 0; font-size: 1.05rem; line-height: 1.45; color: var(--text); }
.ot-pkg { color: var(--text-muted); }
.ot-notes { padding: 8px 10px; margin-top: 8px; border-radius: 8px; background: rgba(var(--gold-rgb), 0.10); }
.ot-done { margin: 10px 0 0; font-size: 1.1rem; font-weight: 700; color: #9fd6ad; }
.ot-status { margin: 10px 0 0; font-size: 1rem; color: var(--text); }
.ot-status.is-error { color: #ffb4a8; }
.ot-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.ot-btn { min-height: 56px; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; white-space: normal; box-sizing: border-box; width: 100%; }
.ot-complete { grid-column: 1 / -1; font-size: 1.15rem; min-height: 60px; }
.ot-skip.is-armed { border-color: #ffb4a8; color: #ffb4a8; }
.ot-empty { margin: 8px 0; font-size: 1.05rem; color: var(--text-muted); }
.ot-sheet { display: flex; flex-direction: column; gap: 12px; }
.ot-confirm { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.ot-label { margin: 6px 0 0; }
.ot-times .oa-tap { min-height: 52px; }
.ot-notes-in { min-height: 110px; font-size: 1.05rem; }
.ot-sheet .oa-hint { color: var(--text); opacity: 1; } /* 4.5:1 in the owner sheet (the shared muted hint was 3.3:1 there) */
.ot-gwarn { font-weight: 600; } /* Google Calendar couldn't follow a change (saved anyway); normal text colour keeps contrast in every theme */
/* zy-pop: Service complete price check (size typed by the customer, never set by Richie): warning + editable total, big text */
.osc-price { display: flex; flex-direction: column; gap: 8px; }
.osc-warn { padding: 12px 14px; border-radius: 12px; border: 2px solid var(--gold); background: rgba(var(--gold-rgb), 0.12); }
.osc-warn-h { margin: 0 0 4px; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.osc-price .osc-total-label { display: block; margin: 4px 0 0; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); }
.osc-total { width: 100%; box-sizing: border-box; min-height: 56px; padding: 10px 14px; font-size: 1.4rem; font-weight: 700; border-radius: 10px; border: 2px solid var(--gold); background: var(--card-bg); color: var(--text); }
.osc-total-ro { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.osc-was, .osc-loading, .osc-ro { color: var(--text); }
.osc-line { display: flex; flex-direction: column; gap: 6px; }
.osc-total[aria-invalid="true"] { border-width: 3px; border-style: dashed; }
html.ead-larger .osc-sheet .ot-btn { font-size: 1.1rem; }   /* the global Larger rule sets .form-submit to 1rem */
html.ead-larger .osc-price .osc-total-label { font-size: 1.15rem; }
/* ---- ship-zy: announcement pop-up (customer app) and owner Announcement screen. Text uses the card's own text colour;
   buttons are the shared form-submit / btn-secondary / auth-ghost-btn styles (checked in all 16 themes). */
.an-pop { max-height: calc(100vh - 60px); overflow-y: auto; }
.an-pop-h { overflow-wrap: normal; word-break: normal; line-height: 1.3; }
.an-pop-p { margin: 0 0 12px; line-height: 1.55; font-size: 1.05rem; white-space: pre-line; }
.an-pop-from { margin: 4px 0 14px; font-size: 1rem; font-style: italic; }
.an-pop-ok { width: 100%; min-height: 56px; font-size: 1.15rem; }
html.an-pop-open, html.an-pop-open body { overflow: hidden; }
.an-card { display: flex; flex-direction: column; gap: 12px; }
.an-label { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.an-in { width: 100%; box-sizing: border-box; font-size: 1.05rem; }
.an-msg { min-height: 150px; }
.an-aud { display: grid; grid-template-columns: 1fr; gap: 10px; }
.an-aud .an-opt { min-height: 56px; font-size: 1.05rem; white-space: normal; text-align: center; }
.an-aud .an-opt[aria-pressed="true"] { outline: 3px solid var(--gold); outline-offset: 2px; font-weight: 700; }
.an-count { margin: 0; font-size: 1.05rem; color: var(--text); }
.an-pick { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; padding: 4px; border-radius: 10px; border: 1px solid rgba(var(--gold-rgb), 0.35); }
.an-pick label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 8px; font-size: 1.05rem; color: var(--text); cursor: pointer; }
.an-pick input { width: 24px; height: 24px; flex: 0 0 auto; }
.an-btn { min-height: 56px; font-size: 1.1rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: normal; text-decoration: none; box-sizing: border-box; }
.an-preview { padding: 16px; border-radius: 14px; border: 2px solid var(--gold); background: var(--card-bg); color: var(--text); }
.an-preview .an-pv-h { margin: 0 0 8px; font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: 0; text-transform: none; }
.an-preview .an-pv-p { margin: 0 0 10px; line-height: 1.5; white-space: pre-line; color: var(--text); }
.an-who { margin: 0; color: var(--text); line-height: 1.5; }
.an-none { margin: 0; color: var(--text); font-size: 1rem; }
.an-hist { display: flex; flex-direction: column; gap: 12px; }
.an-hitem { padding: 14px; border-radius: 12px; border: 1px solid rgba(var(--gold-rgb), 0.4); color: var(--text); }
.an-hitem h3 { margin: 0 0 4px; font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.an-hitem p { margin: 2px 0; line-height: 1.45; color: var(--text); }
.an-hmeta { font-size: 1rem; }
.an-ok { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--text); }

/* ship-zy (Larry #1): plan ends after notice */
.sch-box .sch-box-ends, .sch-box-ends { margin: 8px 0 0; color: var(--text); font-size: 1rem; line-height: 1.45; overflow-wrap: break-word; }
.os-cancel-note { margin-top: 8px; color: var(--text); }

.chat-ai-note { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 1rem; line-height: 1.45; overflow-wrap: break-word; }
.bf-link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: break-word; }

/* ship-zy: invoice = plain paper receipt (receipt.js). The card is light paper with dark text in EVERY theme; only the page
   around it follows the theme. All colours come from the card's own variables (contrast 4.5:1+ checked in all 15 themes),
   text is 16px or larger, numbers are right-aligned tabular figures, and words never break in the middle. */
body.invoice-page .app-main { padding-left: 12px; padding-right: 12px; }
.rcpt { --r-paper: #fffdf8; --r-ink: #161412; --r-ink2: #3a3631; --r-rule: #cfc7b8; --r-rule2: #8a8172; --r-tint: #f3eee3;
  --r-paid: #12602c; --r-due: #a12d0a; --r-sent: #1c4c9c; --r-draft: #4a4540; --r-on: #ffffff; --r-btn: #1f1c19;
  display: block; margin: 0 0 18px; padding: 22px 18px 20px; box-sizing: border-box; width: 100%; max-width: 560px; margin-left: auto; margin-right: auto;
  background: var(--r-paper); color: var(--r-ink); border: 1px solid var(--r-rule); border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 1rem; line-height: 1.5; text-align: left;
  overflow-wrap: break-word; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.rcpt p, .rcpt h2, .rcpt dl, .rcpt dt, .rcpt dd, .rcpt table, .rcpt th, .rcpt td, .rcpt span, .rcpt li, .rcpt ol, .rcpt caption { color: var(--r-ink); font-family: inherit; letter-spacing: normal; text-transform: none; }
.rcpt-status { margin: 0 0 18px; padding: 16px; border-radius: 12px; border: 2px solid var(--r-ink); background: var(--r-paper); }
.rcpt .rcpt-badge { display: inline-block; margin: 0 0 8px; padding: 6px 14px; border-radius: 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; line-height: 1.3; color: var(--r-on); background: var(--r-due); }
/* PAID: the whole status block is solid green with white text (7.5:1) */
.rcpt-status.is-paid { border-color: var(--r-paid); background: var(--r-paid); }
.rcpt .rcpt-status.is-paid p { color: var(--r-on); }
.rcpt-status.is-paid .rcpt-badge { background: transparent; border: 2px solid var(--r-on); }
.rcpt-status.is-due { border-color: var(--r-due); } .rcpt-status.is-due .rcpt-badge { background: var(--r-due); }
.rcpt-status.is-sent { border-color: var(--r-sent); } .rcpt-status.is-sent .rcpt-badge { background: var(--r-sent); }
.rcpt-status.is-draft { border-color: var(--r-draft); border-style: dashed; } .rcpt-status.is-draft .rcpt-badge { background: var(--r-draft); }
.rcpt .rcpt-amount { margin: 0; font-size: 2.1rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rcpt .rcpt-status-sub { margin: 4px 0 0; font-size: 1.05rem; font-weight: 600; }
.rcpt-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--r-rule); }
.rcpt-logo { display: block; width: 104px; height: auto; flex: none; filter: invert(1) hue-rotate(180deg) brightness(0.55); }
.rcpt .rcpt-biz { margin: 0; flex: 1 1 10em; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.rcpt-facts { margin: 0 0 18px; display: grid; gap: 6px; }
.rcpt-fact { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rcpt .rcpt-fact dt { margin: 0; color: var(--r-ink2); font-size: 1rem; font-weight: 500; }
.rcpt .rcpt-fact dd { margin: 0; font-size: 1rem; font-weight: 700; text-align: right; margin-left: auto; }
.rcpt-table { width: 100%; border-collapse: collapse; margin: 0 0 4px; table-layout: auto; }
.rcpt .rcpt-cap { caption-side: top; text-align: left; margin: 0 0 6px; padding: 0; font-size: 1.1rem; font-weight: 700; }
.rcpt-table th { padding: 8px 0; border-bottom: 2px solid var(--r-ink); font-size: 1rem; font-weight: 700; text-align: left; vertical-align: bottom; }
.rcpt-table td { padding: 12px 0; border-bottom: 1px solid var(--r-rule); font-size: 1rem; vertical-align: top; }
.rcpt-table .rcpt-c-date { padding-left: 10px; padding-right: 10px; width: 26%; }
.rcpt-table .rcpt-c-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; width: 1%; }
.rcpt-table th.rcpt-c-num { font-weight: 700; }
.rcpt .rcpt-svc { display: block; font-weight: 700; }
.rcpt .rcpt-car, .rcpt .rcpt-note { display: block; color: var(--r-ink2); font-size: 1rem; }
.rcpt-sum { margin: 10px 0 0; display: grid; gap: 4px; }
.rcpt-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; }
.rcpt .rcpt-sum-row dt { margin: 0; font-size: 1.05rem; font-weight: 600; min-width: 0; }
.rcpt .rcpt-sum-row dd { margin: 0; font-size: 1.05rem; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rcpt-sum-row.is-discount dd { color: var(--r-paid); }
.rcpt-sum-row.is-total { margin-top: 6px; padding-top: 12px; border-top: 2px solid var(--r-ink); }
.rcpt .rcpt-sum-row.is-total dt, .rcpt .rcpt-sum-row.is-total dd { font-size: 1.5rem; font-weight: 800; }
.rcpt .rcpt-msg { margin: 16px 0 0; font-size: 1rem; white-space: pre-wrap; }
.rcpt .rcpt-nb { white-space: nowrap; }
/* How to pay (Zelle details as before; only while unpaid) */
.rcpt .rcpt-pay { margin: 20px 0 0; padding: 16px 14px; border: 2px solid var(--r-ink); border-radius: 12px; background: var(--r-tint); }
.rcpt .rcpt-pay .inv-zelle-h { margin: 0; font-family: inherit; font-size: 1.35rem; font-weight: 800; color: var(--r-ink); }
.rcpt .rcpt-pay-sub { margin: 2px 0 10px; font-size: 1rem; }
.rcpt .rcpt-pay .inv-zrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--r-rule); background: transparent; }
.rcpt .rcpt-pay .inv-zrow-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 12em; }
.rcpt .rcpt-pay .inv-zlabel { font-size: 1rem; font-weight: 500; color: var(--r-ink2); letter-spacing: normal; text-transform: none; }
.rcpt .rcpt-pay .inv-zvalue { font-size: 1.1rem; font-weight: 700; color: var(--r-ink); overflow-wrap: break-word; }
.rcpt .rcpt-pay .rcpt-copy { flex: none; min-height: 44px; min-width: 76px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--r-btn); color: var(--r-on); font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.rcpt .rcpt-pay .rcpt-copy.is-done { background: var(--r-paid); color: var(--r-on); }
.rcpt .rcpt-pay .inv-steps { margin: 12px 0 14px; padding-left: 1.4em; }
.rcpt .rcpt-pay .inv-steps li { margin: 4px 0; font-size: 1rem; color: var(--r-ink); }
.rcpt .rcpt-pay .inv-zelle-note, .rcpt .rcpt-pay .inv-zelle-soon { font-size: 1rem; color: var(--r-ink); }
.rcpt .rcpt-pay .inv-sent-status { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 1rem; font-weight: 700; color: var(--r-on); background: var(--r-sent); border: 0; }
.rcpt .rcpt-pay .inv-sent-btn { width: 100%; margin: 4px 0 0; }
.rcpt .rcpt-pay .form-error { font-size: 1rem; color: var(--r-due); }
.inv-owner .rcpt { margin-bottom: 14px; }
.inv-owner > .oa-hint, .inv-owner > .inv-gold-note, .inv-owner .inv-adjust p { font-size: 1rem; line-height: 1.45; }
.inv-owner > .oa-hint { color: var(--text); }
.inv-owner .inv-acts .oa-tool, .inv-owner .inv-acts .oa-text-login, .inv-owner .inv-acts .inv-del, .inv-owner .inv-acts .oa-tap { font-size: 1rem; }
/* View full invoice: big button on the summary card */
.rcpt .rcpt-full { display: block; width: 100%; min-height: 54px; margin: 18px 0 0; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--r-btn); color: var(--r-on);
  font: inherit; font-size: 1.15rem; font-weight: 800; line-height: 1.3; cursor: pointer; }
.rcpt .rcpt-full:focus-visible { outline: 3px solid var(--r-sent); outline-offset: 3px; }
/* Full invoice (receipt.js full / openFull): white paper over the themed page; Back + Save / Print bar; prints on its own */
body.finv-open { overflow: hidden; }
.finv-wrap { position: fixed; inset: 0; z-index: 10100; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg);
  padding: 0 10px calc(24px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.finv-bar { position: sticky; top: 0; z-index: 2; display: flex; gap: 10px; justify-content: space-between; max-width: 820px; margin: 0 auto;
  padding: calc(10px + env(safe-area-inset-top)) 0 10px; background: var(--bg); }
.finv-bar .finv-back, .finv-bar .finv-print { flex: 1 1 0; width: auto; min-height: 48px; margin: 0; font-size: 1.05rem; white-space: nowrap; }
.finv-hint { max-width: 820px; margin: 12px auto 0; font-size: 1rem; line-height: 1.45; color: var(--text); }
.finv { --r-paper: #ffffff; --r-ink: #161412; --r-ink2: #3a3631; --r-rule: #cfc7b8; --r-tint: #f4f1ea; --r-paid: #12602c; --r-due: #a12d0a; --r-sent: #1c4c9c; --r-draft: #4a4540;
  display: block; box-sizing: border-box; width: 100%; max-width: 820px; margin: 0 auto; padding: 24px 18px 22px; background: var(--r-paper); color: var(--r-ink);
  border: 1px solid var(--r-rule); border-radius: 6px; box-shadow: 0 2px 14px rgba(0,0,0,0.25);
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 1rem; line-height: 1.5; text-align: left;
  overflow-wrap: break-word; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.finv p, .finv h2, .finv h3, .finv dl, .finv dt, .finv dd, .finv table, .finv th, .finv td, .finv span, .finv footer { color: var(--r-ink); font-family: inherit; letter-spacing: normal; text-transform: none; }
.finv .rcpt-nb { white-space: nowrap; }
.finv-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 20px; padding: 0 0 16px; border-bottom: 2px solid var(--r-ink); }
.finv-from { flex: 1 1 15em; min-width: 0; }
.finv-logo { display: block; width: 120px; height: auto; margin: 0 0 8px; filter: invert(1) hue-rotate(180deg) brightness(0.55); }
.finv .finv-biz { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.finv .finv-addr { margin: 0; font-size: 1rem; color: var(--r-ink2); }
.finv-ttl { flex: 0 1 auto; text-align: right; margin-left: auto; }
.finv .finv-word { margin: 0 0 8px; font-size: 2rem; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.finv .finv-stamp { display: inline-block; margin: 0; padding: 6px 12px; border: 2px solid currentColor; border-radius: 6px; font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.finv .finv-stamp.is-paid { color: var(--r-paid); } .finv .finv-stamp.is-due { color: var(--r-due); } .finv .finv-stamp.is-sent { color: var(--r-sent); } .finv .finv-stamp.is-draft { color: var(--r-draft); border-style: dashed; }
.finv-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; padding: 16px 0; }
.finv-bill { flex: 1 1 13em; min-width: 0; }
.finv .finv-h { margin: 0 0 4px; font-size: 1rem; font-weight: 800; letter-spacing: .04em; color: var(--r-ink2); }
.finv .finv-strong { margin: 0; font-size: 1.1rem; font-weight: 700; }
.finv .finv-car { margin: 0; font-size: 1rem; }
.finv-facts { flex: 1 1 15em; margin: 0; display: grid; gap: 4px; }
.finv-fact { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.finv .finv-fact dt { margin: 0; font-size: 1rem; color: var(--r-ink2); font-weight: 500; }
.finv .finv-fact dd { margin: 0 0 0 auto; font-size: 1rem; font-weight: 700; text-align: right; }
.finv-table { width: 100%; border-collapse: collapse; margin: 4px 0 0; }
.finv-table th { padding: 8px 6px; background: var(--r-tint); border-top: 2px solid var(--r-ink); border-bottom: 2px solid var(--r-ink); font-size: 1rem; font-weight: 800; text-align: left; }
.finv-table td { padding: 12px 6px; border-bottom: 1px solid var(--r-rule); font-size: 1rem; vertical-align: top; }
.finv-table .finv-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; width: 1%; }
.finv-table td.finv-num { font-weight: 600; }
.finv .finv-svc { display: block; font-weight: 700; }
.finv .finv-sub { display: block; font-size: 1rem; color: var(--r-ink2); }
.finv-totals { margin: 12px 0 0 auto; max-width: 400px; display: grid; gap: 2px; }
.finv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; }
.finv .finv-row dt { margin: 0; font-size: 1.05rem; font-weight: 600; min-width: 0; }
.finv .finv-row dd { margin: 0; font-size: 1.05rem; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.finv-row.is-discount dd { color: var(--r-paid); }
.finv-row.is-total { border-top: 2px solid var(--r-ink); padding-top: 10px; margin-top: 4px; }
.finv .finv-row.is-total dt, .finv .finv-row.is-total dd { font-size: 1.3rem; font-weight: 800; }
.finv-row.is-balance { background: var(--r-tint); padding: 10px 10px; margin-top: 4px; border-radius: 6px; }
.finv .finv-row.is-balance dt, .finv .finv-row.is-balance dd { font-size: 1.3rem; font-weight: 800; }
.finv-pay { margin: 20px 0 0; padding: 14px; border: 1px solid var(--r-ink2); border-radius: 6px; break-inside: avoid; }
.finv-pay p { margin: 0 0 8px; font-size: 1rem; }
.finv-paylist { margin: 0; display: grid; gap: 4px; }
.finv .finv-note { margin: 16px 0 0; font-size: 1rem; white-space: pre-wrap; }
.finv .finv-thanks { margin: 18px 0 0; font-size: 1.15rem; font-weight: 700; text-align: center; }
.finv .finv-foot { margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--r-rule); font-size: 1rem; color: var(--r-ink2); text-align: center; }
/* phones: each line item stacks (description on top, then Qty / Rate / Amount with their labels) */
@media screen and (max-width: 600px) {
  .finv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .finv-table tbody tr { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--r-rule); }
  .finv-table tbody tr:first-child { border-top: 2px solid var(--r-ink); }
  .finv-table td { display: block; padding: 0; border: 0; width: auto; }
  .finv-table td.finv-c-desc { grid-column: 1 / -1; margin: 0 0 6px; }
  .finv-table td.finv-num::before { content: attr(data-label); display: block; font-weight: 500; color: var(--r-ink2); }
}
@media print {
  @page { margin: 14mm; }
  html, body.finv-open { overflow: visible !important; height: auto !important; background: #fff !important; }
  body.finv-open > *:not(.finv-wrap) { display: none !important; }
  body.finv-open .finv-wrap { position: static !important; overflow: visible !important; padding: 0 !important; background: #fff !important; }
  body.finv-open .finv-bar, body.finv-open .finv-hint { display: none !important; }
  body.finv-open .finv { max-width: none; padding: 0 !important; border: 0 !important; border-radius: 0; box-shadow: none !important; }
  body.finv-open .finv-logo { display: block !important; filter: invert(1) hue-rotate(180deg) brightness(0.3) !important; }
  body.finv-open .finv-table tr { break-inside: avoid; }
  body.finv-open .finv-stamp { border-color: #000 !important; }
  html:has(body.finv-open) { font-size: 100% !important; }
  body.finv-open .finv-top { padding-bottom: 10px; } body.finv-open .finv-meta { padding: 10px 0; }
  body.finv-open .finv-table td { padding: 7px 6px; } body.finv-open .finv-row { padding: 3px 0; }
  body.finv-open .finv-pay { margin-top: 12px; padding: 10px 12px; } body.finv-open .finv-thanks { margin-top: 12px; }
  .rcpt .rcpt-full { display: none !important; }
}
@media (max-width: 360px) { .rcpt { padding: 18px 12px; } .rcpt .rcpt-amount { font-size: 1.8rem; } }
@media print {
  body.invoice-page .rcpt { border: 1px solid #000 !important; box-shadow: none !important; max-width: none; padding: 0 0 12px !important; }
  body.invoice-page .rcpt .rcpt-badge { border: 2px solid #000 !important; }
  body.invoice-page .rcpt-logo { display: block !important; filter: invert(1) hue-rotate(180deg) brightness(0.3) !important; }
  body.invoice-page .rcpt-pay { break-inside: avoid; border: 1px solid #000 !important; }
  body.invoice-page .rcpt-copy { display: none !important; }
  body.invoice-page .rcpt-table tr { break-inside: avoid; }
}

/* ship-zy: agreement checkboxes read as normal sentences (not the small uppercase form-label style) */
.app-page label.ag-agree, .app-page label.bf-agree, .app-page label.app-agree { font-size: 1rem; letter-spacing: normal; text-transform: none; line-height: 1.45; }

/* ---- zy-fonts: layout room for 16px+ text (no overflow, no mid-word breaks at 320 / 390, Standard + Larger) ---- */
.owner-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); }
.owner-stat span { display: block; letter-spacing: 0.02em; overflow-wrap: normal; }
.oa-toolbar { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.oa-toolbar .oa-tool { min-width: 0; letter-spacing: 0.06em; }
.inv-pill { white-space: normal; max-width: 100%; letter-spacing: 0.04em; line-height: 1.25; text-align: center; overflow-wrap: normal; }

/* ship-zy (screenshot pass): owner client profile - the small option chips (text size / theme) and the text-link
   buttons ("Set new password & text it") were 30-38px tall; every owner tap target is at least 44px */
body.owner-page button.oa-link { min-height: 44px; display: inline-flex; align-items: center; }

body.owner-page #owner-logout { min-height: 44px; }
/* LP (Oct 9): Service complete — lines with no price on file must be priced first (big, plain) */
.osc-need .osc-warn-h { font-size: 1.35rem; }
.osc-price .osc-line { margin: 0; font-size: 1.05rem; color: var(--text); }

/* ---- zy-contrast: Leather >= 6:1 (Your garage label on the copper-tinted card top; concierge tile sub-line on the copper tile) ---- */
html.theme-leather body.app-page:not(.owner-page) .home-section-label { color: var(--gold-light); }
html.theme-leather body.app-page:not(.owner-page) .app-tile-primary .tile-sub { color: #0a0a0a; }
/* zy-sizeflag: Size not confirmed on the owner schedule */
.os-size-flag { font-size: 1.05rem; line-height: 1.5; }
.os-size-flag b { color: var(--text); }
.os-size-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; font-size: 1rem; }
/* Coupons (Oct 15, 2026): customer tab, pop-up and owner screen. Text >= 16px, contrast from --text (>= 6:1), words never split. */
.cp-root { display: grid; gap: 16px; margin-top: 12px; }
.cp-card { padding: 20px 18px; min-width: 0; }
.cp-card, .cp-pop, .cp-make, .cp-item { overflow-wrap: normal; word-break: normal; hyphens: none; }
.cp-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 500; line-height: 1.25; color: var(--text); margin: 0 0 6px; }
.cp-off { font-size: 1.05rem; font-weight: 500; color: var(--text); line-height: 1.5; margin: 0 0 6px; }
.cp-text, .cp-state, .cp-msg, .cp-empty { font-size: 1rem; font-weight: 400; color: var(--text); line-height: 1.55; margin: 0 0 10px; }
.cp-msg:empty { display: none; }
.cp-done { opacity: 1; }
.cp-done .cp-state { font-weight: 600; }
.cp-use, .cp-pop-go, .cp-pop-ok, .cp-send { display: block; width: 100%; max-width: 100%; min-height: 48px; margin-top: 10px; font-size: 1rem; white-space: normal; line-height: 1.35; text-align: center; text-decoration: none; box-sizing: border-box; }
.cp-svc label { font-size: 1rem; }
.cp-nw { white-space: nowrap; }

/* Oct 15 (Richie): Visits → Completed work · Invoices → Waiting to bill (owner-billing.js). Big, plain, theme colours only. */
.ob-card { margin-bottom: 18px; }
.ob-h { font-size: 1.5rem; }
.ob-lead, .ob-status, .ob-empty, .ob-note, .ob-cars, .ob-ask { margin: 6px 0; font-size: 1.1rem; line-height: 1.45; color: var(--text); }
.ob-status:empty { display: none; }
.ob-sec { margin: 22px 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: 0; text-transform: none; }
.ob-list { display: flex; flex-direction: column; gap: 14px; }
.ob-item { padding: 14px; border-radius: 14px; border: 2px solid rgba(var(--gold-rgb), 0.7); background: var(--card-bg); color: var(--text); display: flex; flex-direction: column; gap: 8px; }
.ob-item.is-done { border-style: dashed; }
.ob-pick { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.ob-check { flex: none; width: 30px; height: 30px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.ob-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ob-name { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--text); overflow-wrap: break-word; }
.ob-when { margin: 0; font-size: 1.1rem; color: var(--text); }
.ob-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ob-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 1.1rem; color: var(--text); }
.ob-desc { flex: 1 1 12em; overflow-wrap: break-word; }
.ob-amt { font-weight: 700; }
.ob-line-label { flex: 1 1 100%; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.ob-price { width: 100%; box-sizing: border-box; min-height: 56px; padding: 10px 14px; font-size: 1.4rem; font-weight: 700; border-radius: 10px; border: 2px solid var(--gold); background: var(--card-bg); color: var(--text); }
.ob-total { margin: 4px 0 0; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.ob-acts { display: flex; flex-direction: column; gap: 10px; }
.ob-sendall, .ob-go { margin: 10px 0 4px; }
.ob-sendall[disabled] { opacity: 0.8; }
.ob-done { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.ob-pill { margin: 2px 0 0; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--gold); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.ob-pill.ob-pending { border-width: 3px; }
.ob-pill.ob-skipped, .ob-pill.ob-none { border-style: dashed; }
.osc-noinv { margin: 4px 0; font-size: 1.25rem; font-weight: 700; color: var(--text); }
html.ead-larger .ob-name, html.ead-larger .ob-total { font-size: 1.5rem; }
html.ead-larger .ob-lead, html.ead-larger .ob-line, html.ead-larger .ob-when { font-size: 1.2rem; }
.ob-card .ot-btn, .ob-card .form-submit { font-size: 1.15rem; }
html.ead-larger .ob-card .ot-btn, html.ead-larger .ob-card .form-submit { font-size: 1.4rem; }
@media (max-width: 380px) { .ob-item { padding: 12px; } }
.ob-card .ob-pick, .ob-card .ob-pick *, .ob-card label.ob-line-label, .ob-card .ob-sec { text-transform: none; letter-spacing: 0; }
.ob-card label, .ob-card label * { text-transform: none !important; letter-spacing: 0 !important; }
#oh-today:not([hidden]) { display: flex; flex-direction: column; }
#oh-today > #ob-done { order: 2; }
.app-agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Owner "See their app" preview is view-only: no pop-up of any kind (Richie, Oct 15, 2026). Backstop for the JS guards. */
html.ead-previewing #ead-font-prompt, html.ead-previewing #ead-theme-prompt, html.ead-previewing #ead-ag-gate,
html.ead-previewing #ead-pw-gate, html.ead-previewing #ead-tour, html.ead-previewing #ead-tour-pick,
html.ead-previewing .an-pop, html.ead-previewing .inv-pop, html.ead-previewing .cp-pop, html.ead-previewing #app-install { display: none !important; }
/* Optional Change password on Account (Oct 15, 2026) */
.auth-change-pw { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px; }
.auth-change-pw > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 1.0625rem; font-weight: 500; }
.auth-change-pw form { margin-top: 10px; }
/* Oct 16 (Richie): owner "Or type a day and time" (book-flow.js) + Edit visit / Working hours / Block off time
   (owner-today.js, owner-schedule.js). Theme colors only (var(--text) on var(--card-bg)), so every theme keeps its
   tested contrast; 18px+ text, 56px+ fields and buttons. */
.bf-manual-row, .oe-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-manual-c, .oe-c { flex: 1 1 150px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bf-manual-l, .oe-l { font-size: 1.125rem; font-weight: 600; color: var(--text); }
.bf-manual-in, .oe-in { width: 100%; box-sizing: border-box; min-height: 60px; font: inherit; font-size: 1.375rem; font-weight: 600; padding: 10px 12px;
  border-radius: 12px; border: 2px solid rgba(var(--gold-rgb), 0.6); background: var(--card-bg); color: var(--text); color-scheme: light dark; }
.bf-manual-in:focus-visible, .oe-in:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.bf-manual-warn, .oe-warn { margin: 8px 0 0; font-size: 1.125rem; line-height: 1.45; color: var(--text); background: var(--card-bg); padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(var(--gold-rgb), 0.45); }
.bf-manual-warn.is-warn, .oe-warn.is-warn { border-width: 3px; border-color: var(--text); font-weight: 600; }
.oe-btn { min-height: 56px; width: 100%; font-size: 1.125rem; }
.oe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oe-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.125rem; color: var(--text); padding: 10px 12px; border-radius: 12px; border: 1.5px solid rgba(var(--gold-rgb), 0.45); }
.oe-days { display: flex; flex-wrap: wrap; gap: 8px; }
.oe-days button { min-height: 56px; min-width: 64px; font-size: 1.125rem; }
.os-tools { display: grid; gap: 10px; margin: 12px 0; }
.oe-sheet .oa-tap, .oe-days .oa-tap, .oe-whole .oa-tap { min-height: 56px; font-size: 1.125rem; }
.bf-manual-row > .bf-manual-c, .oe-row > .oe-c { flex-basis: 100%; }   /* full-width fields: the whole date always shows */
/* ===================================================================== Oct 17, 2026 (site polish + guest booking)
   Mandy #1: the theme chooser opens at the top of the screen (not mid-page) with Keep Classic / Skip for now first.
   Mandy #10/#18: 52px booking chips, a fade + "Swipe for more days" on the day row. Guest booking: /app/book/guest/. */
.th-prompt { align-items: flex-start; }
.th-prompt .fs-prompt-card { margin: 0 auto; }
.th-quick { display: grid; gap: 10px; margin: 0 0 16px; }
.th-quick .form-submit, .th-quick .btn-secondary { width: 100%; min-height: 52px; font-size: 18px; margin: 0; }
.fs-prompt-p.th-or { margin: 4px 0 10px; font-weight: 600; }

.book-openings .bo-days-wrap { position: relative; }
.book-openings .bo-days-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44px; pointer-events: none; background: linear-gradient(to right, transparent, var(--bg, #0a0a0a)); }
.book-openings .bo-more { margin: 6px 0 0; font-size: 16px; color: var(--text-muted, #c9c2b8); text-align: right; }
@media (min-width: 900px) { .book-openings .bo-more { display: none; } .book-openings .bo-days-wrap::after { display: none; } }
.book-openings .sch-chip, .book-openings .bo-times .sch-chip { min-height: 52px; font-size: 17px; }
.book-openings .bo-count { font-size: 16px; }
.book-card-title-2 { margin-top: 22px; }
.book-actions-account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .book-actions-account { grid-template-columns: 1fr; } }
#book-as-guest { min-height: 56px; font-size: 19px; display: flex; align-items: center; justify-content: center; }

/* ---- guest booking */
.guest-page .gb-h1 { margin: 6px 0 4px; font-size: clamp(28px, 6vw, 36px); }
.guest-page .gb-lead { margin: 0 0 16px; font-size: 18px; color: var(--text-muted, #c9c2b8); }
.gb-card { text-align: left; }
.gb-count { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--text-muted, #c9c2b8); }
.gb-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 0 0 16px; overflow: hidden; }
.gb-bar span { display: block; height: 100%; background: var(--gold, #c9a227); border-radius: 3px; }
.gb-step-h { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
.gb-step-h:focus { outline: none; }
.gb-help { margin: 0 0 14px; font-size: 17px; line-height: 1.5; }
.gb-small-note { font-size: 16px; color: var(--text-muted, #c9c2b8); margin-top: 14px; }
.gb-label { margin: 16px 0 8px; font-size: 18px; font-weight: 700; }
.gb-choices { display: grid; gap: 10px; }
.gb-choice { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; min-height: 64px; padding: 14px 16px; text-align: left; border-radius: 12px; border: 2px solid rgba(201,162,39,.45); background: rgba(255,255,255,.04); color: inherit; font: inherit; cursor: pointer; }
.gb-choice:hover, .gb-choice:focus-visible { border-color: var(--gold, #c9a227); }
.gb-choice.is-on { border-color: var(--gold, #c9a227); background: rgba(201,162,39,.16); }
.gb-choice-t { font-size: 19px; font-weight: 700; grid-column: 1; }
.gb-choice-s { font-size: 16px; line-height: 1.4; color: var(--text-muted, #c9c2b8); grid-column: 1; }
.gb-choice-p { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 17px; font-weight: 700; white-space: nowrap; }
.gb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.gb-time { min-height: 56px; border-radius: 12px; border: 2px solid rgba(201,162,39,.45); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.gb-time.is-on, .gb-time:hover, .gb-time:focus-visible { border-color: var(--gold, #c9a227); background: rgba(201,162,39,.16); }
.gb-field label { font-size: 18px; }
.gb-field input, .gb-field textarea { font-size: 18px; min-height: 52px; width: 100%; box-sizing: border-box; }
.gb-field textarea { min-height: 96px; }
.gb-field .field-hint { font-size: 16px; }
.gb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.gb-error { font-size: 17px; margin: 12px 0 0; }
.gb-nav { display: grid; gap: 10px; margin-top: 20px; }
.gb-nav .form-submit, .gb-nav .btn-secondary, .gb-create, .gb-home, .gb-again, .gb-fix { width: 100%; min-height: 56px; font-size: 19px; margin: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; text-align: center; }
.gb-fix { display: inline-flex; width: auto; min-height: 52px; padding: 0 18px; margin-top: 8px; }
.gb-summary { margin: 0 0 16px; display: grid; gap: 0; }
.gb-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.gb-row dt { font-size: 16px; color: var(--text-muted, #c9c2b8); grid-column: 1; }
.gb-row dd { margin: 0; font-size: 18px; font-weight: 600; grid-column: 1; overflow-wrap: break-word; word-break: break-word; }
.gb-change { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(201,162,39,.55); background: transparent; color: inherit; font: inherit; font-size: 16px; cursor: pointer; }
.gb-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; margin: 6px 0 8px; }
.gb-agree input { width: 28px; height: 28px; flex: 0 0 28px; margin-top: 2px; }
.gb-done-mark { width: 64px; height: 64px; margin: 0 0 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; background: rgba(201,162,39,.2); color: var(--gold, #c9a227); }
.gb-account { margin: 18px 0 12px; padding: 16px; border-radius: 12px; border: 1px solid rgba(201,162,39,.45); display: grid; gap: 10px; }
.gb-account .gb-label { margin: 0; }
.gb-account .gb-help { margin: 0; }
.gb-again { margin-top: 6px; }
html.theme-ivory .gb-choice, html.theme-henry .gb-choice, html.theme-ivory .gb-time, html.theme-henry .gb-time { background: rgba(0,0,0,.03); }
.ot-guest-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: 16px; font-weight: 700; letter-spacing: .02em; background: #e3c565; color: #111; }
.ot-guest-line a { color: inherit; text-decoration: underline; }
.app-footer p + p { margin-top: 6px; }
.app-footer .app-footer-quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 16px; color: var(--text-muted, #c9c2b8); }
.gb-done-mark { font-size: 36px !important; font-weight: 700; line-height: 1; }

/* zu-themes:start (tools/gen_new_themes.py output: 9 more customer themes; do not edit by hand) */
html.theme-rosso { --bg: #2a0a10; --bg-elevated: #3a0f17; --surface: #47131d; --border: rgba(255,255,255,0.12); --border-soft: rgba(255,255,255,0.07); --text: #fff3f1; --text-muted: #f0cdca; --text-dim: #dcb0ac; --gold: #f6c945; --gold-light: #ffd970; --gold-dim: rgba(246,201,69,0.15); --gold-rgb: 246,201,69; --gold-hi: #ffe28f; --gold-hi2: #ffdc7a; --tile-rgb: 58,15,23; --tile-hover-rgb: 70,19,29; --card-bg: #34101a; }
html.theme-rosso body { background: var(--bg); color: var(--text); }
html.theme-rosso .header { background: rgba(42,10,16,0.94); }
html.theme-rosso .fs-prompt-card, html.theme-rosso .pw-gate-card { background: #3d1019; }
html.theme-rosso body.app-page:not(.owner-page) { --text-dim: #dcb0ac; }
html.theme-brg { --bg: #062a1c; --bg-elevated: #0a3524; --surface: #0e3f2b; --border: rgba(255,255,255,0.11); --border-soft: rgba(255,255,255,0.06); --text: #f5f7f2; --text-muted: #c8d8cc; --text-dim: #a9c0b0; --gold: #e0c068; --gold-light: #f0d68e; --gold-dim: rgba(224,192,104,0.15); --gold-rgb: 224,192,104; --gold-hi: #f6e2a8; --gold-hi2: #f2dc98; --tile-rgb: 10,53,36; --tile-hover-rgb: 14,63,43; --card-bg: #08301f; }
html.theme-brg body { background: var(--bg); color: var(--text); }
html.theme-brg .header { background: rgba(6,42,28,0.94); }
html.theme-brg .fs-prompt-card, html.theme-brg .pw-gate-card { background: #0c3a27; }
html.theme-brg body.app-page:not(.owner-page) { --text-dim: #a9c0b0; }
html.theme-gunmetal { --bg: #1f2329; --bg-elevated: #2a2f36; --surface: #333941; --border: rgba(255,255,255,0.12); --border-soft: rgba(255,255,255,0.07); --text: #f3f5f7; --text-muted: #cad1d9; --text-dim: #adb6c0; --gold: #c8d0d9; --gold-light: #e6ebf0; --gold-dim: rgba(200,208,217,0.15); --gold-rgb: 200,208,217; --gold-hi: #f0f3f6; --gold-hi2: #eaeef2; --tile-rgb: 42,47,54; --tile-hover-rgb: 51,57,65; --card-bg: #262b31; }
html.theme-gunmetal body { background: var(--bg); color: var(--text); }
html.theme-gunmetal .header { background: rgba(31,35,41,0.94); }
html.theme-gunmetal .fs-prompt-card, html.theme-gunmetal .pw-gate-card { background: #2d333a; }
html.theme-gunmetal body.app-page:not(.owner-page) { --text-dim: #adb6c0; }
html.theme-royalnavy { --bg: #0b2257; --bg-elevated: #102c6b; --surface: #15357a; --border: rgba(255,255,255,0.14); --border-soft: rgba(255,255,255,0.08); --text: #ffffff; --text-muted: #d6e0f3; --text-dim: #bccbe8; --gold: #ffffff; --gold-light: #ffffff; --gold-dim: rgba(255,255,255,0.15); --gold-rgb: 255,255,255; --gold-hi: #f2f5fb; --gold-hi2: #eef2fa; --tile-rgb: 16,44,107; --tile-hover-rgb: 21,53,122; --card-bg: #0f2862; }
html.theme-royalnavy body { background: var(--bg); color: var(--text); }
html.theme-royalnavy .header { background: rgba(11,34,87,0.94); }
html.theme-royalnavy .fs-prompt-card, html.theme-royalnavy .pw-gate-card { background: #123070; }
html.theme-royalnavy body.app-page:not(.owner-page) { --text-dim: #bccbe8; }
html.theme-sunset { --bg: #2b1408; --bg-elevated: #3a1b0b; --surface: #45210e; --border: rgba(255,255,255,0.12); --border-soft: rgba(255,255,255,0.07); --text: #fff4ea; --text-muted: #f3d2b5; --text-dim: #e0b694; --gold: #ff9a3d; --gold-light: #ffb46b; --gold-dim: rgba(255,154,61,0.15); --gold-rgb: 255,154,61; --gold-hi: #ffc58c; --gold-hi2: #ffbd7c; --tile-rgb: 58,27,11; --tile-hover-rgb: 69,33,14; --card-bg: #33180a; }
html.theme-sunset body { background: var(--bg); color: var(--text); }
html.theme-sunset .header { background: rgba(43,20,8,0.94); }
html.theme-sunset .fs-prompt-card, html.theme-sunset .pw-gate-card { background: #3d1d0c; }
html.theme-sunset body.app-page:not(.owner-page) { --text-dim: #e0b694; }
html.theme-plum { --bg: #24102f; --bg-elevated: #301640; --surface: #3a1b4d; --border: rgba(255,255,255,0.12); --border-soft: rgba(255,255,255,0.07); --text: #f9f1ff; --text-muted: #ddcde9; --text-dim: #c6b2d6; --gold: #c99bff; --gold-light: #ddbfff; --gold-dim: rgba(201,155,255,0.15); --gold-rgb: 201,155,255; --gold-hi: #e8d3ff; --gold-hi2: #e3c9ff; --tile-rgb: 48,22,64; --tile-hover-rgb: 58,27,77; --card-bg: #2b1338; }
html.theme-plum body { background: var(--bg); color: var(--text); }
html.theme-plum .header { background: rgba(36,16,47,0.94); }
html.theme-plum .fs-prompt-card, html.theme-plum .pw-gate-card { background: #341843; }
html.theme-plum body.app-page:not(.owner-page) { --text-dim: #c6b2d6; }
html.theme-arctic { --bg: #eef3f7; --bg-elevated: #ffffff; --surface: #e3ebf2; --border: rgba(14,26,36,0.16); --border-soft: rgba(14,26,36,0.10); --border-strong: rgba(14,26,36,0.45); --text: #0e1a24; --text-muted: #34485a; --text-dim: #3f5366; --gold: #1d4f7a; --gold-light: #1d4f7a; --gold-dim: rgba(29,79,122,0.12); --gold-rgb: 29,79,122; --gold-hi: #275f90; --gold-hi2: #24598a; --tile-rgb: 255,255,255; --tile-hover-rgb: 244,248,251; --card-bg: #ffffff; --on-accent: #ffffff; }
html.theme-arctic body { background: var(--bg); color: var(--text); }
html.theme-arctic .header { background: rgba(238,243,247,0.96); }
html.theme-arctic .fs-prompt-card, html.theme-arctic .pw-gate-card { background: #ffffff; }
html.theme-arctic body.app-page:not(.owner-page) { --text-dim: #3f5366; }
html.theme-clearcoat { --bg: #a7b5b0; --bg-elevated: #bcc8c4; --surface: #b3c0bb; --border: rgba(18,27,26,0.18); --border-soft: rgba(18,27,26,0.12); --border-strong: rgba(18,27,26,0.45); --text: #121b1a; --text-muted: #182523; --text-dim: #1a2826; --gold: #182523; --gold-light: #152220; --gold-dim: rgba(24,37,35,0.12); --gold-rgb: 24,37,35; --gold-hi: #22332f; --gold-hi2: #1f2e2b; --tile-rgb: 205,214,211; --tile-hover-rgb: 194,205,201; --card-bg: #d3dcd9; --on-accent: #f2f6f5; }
html.theme-clearcoat body { background: var(--bg); color: var(--text); }
html.theme-clearcoat .header { background: rgba(188,200,196,0.96); }
html.theme-clearcoat .fs-prompt-card, html.theme-clearcoat .pw-gate-card { background: #d3dcd9; }
html.theme-clearcoat body.app-page:not(.owner-page) { --text-dim: #1a2826; }
html.theme-gulf { --bg: #a7d3ef; --bg-elevated: #c4e2f6; --surface: #b6daf2; --border: rgba(10,26,40,0.18); --border-soft: rgba(10,26,40,0.12); --border-strong: rgba(10,26,40,0.45); --text: #0a1a28; --text-muted: #1c3042; --text-dim: #22374a; --gold: #f07f1e; --gold-light: #6a2700; --gold-dim: rgba(240,127,30,0.14); --gold-rgb: 240,127,30; --gold-hi: #f79a45; --gold-hi2: #f49035; --tile-rgb: 215,236,249; --tile-hover-rgb: 202,229,247; --card-bg: #d7ecf9; --on-accent: #0a1a28; }
html.theme-gulf body { background: var(--bg); color: var(--text); }
html.theme-gulf .header { background: rgba(167,211,239,0.96); }
html.theme-gulf .fs-prompt-card, html.theme-gulf .pw-gate-card { background: #d7ecf9; }
html.theme-gulf body.app-page:not(.owner-page) { --text-dim: #22374a; }
html.theme-arctic { --backdrop: rgba(238,243,247,0.95); }
html.theme-gulf { --backdrop: rgba(167,211,239,0.95); }
html.theme-arctic .fs-prompt { background: rgba(238,243,247,0.97); }
html.theme-gulf .fs-prompt { background: rgba(167,211,239,0.97); }
html.theme-clearcoat { --backdrop: rgba(167,181,176,0.95); }
html.theme-clearcoat .fs-prompt { background: rgba(167,181,176,0.97); }
html.theme-arctic body, html.theme-gulf body, html.theme-clearcoat body, html.theme-rosso body, html.theme-brg body, html.theme-gunmetal body, html.theme-royalnavy body, html.theme-sunset body, html.theme-plum body { background: var(--bg); color: var(--text); }
html.theme-arctic .header .logo img, html.theme-arctic .app-header .logo img, html.theme-gulf .header .logo img, html.theme-gulf .app-header .logo img, html.theme-clearcoat .header .logo img, html.theme-clearcoat .app-header .logo img { filter: invert(1) hue-rotate(180deg); }
html.theme-arctic .app-tile, html.theme-gulf .app-tile, html.theme-clearcoat .app-tile { box-shadow: 0 2px 10px rgba(70,50,20,0.12), inset 0 1px 0 rgba(255,255,255,0.6); border-color: rgba(116,80,31,0.45); }
html.theme-arctic .app-tile-primary, html.theme-gulf .app-tile-primary, html.theme-clearcoat .app-tile-primary { box-shadow: 0 4px 14px rgba(116,80,31,0.30); border-color: var(--gold); }
html.theme-arctic .app-tile-primary .tile-sub, html.theme-arctic .home-easy .app-tile-primary .tile-sub, html.theme-gulf .app-tile-primary .tile-sub, html.theme-gulf .home-easy .app-tile-primary .tile-sub, html.theme-clearcoat .app-tile-primary .tile-sub, html.theme-clearcoat .home-easy .app-tile-primary .tile-sub { color: rgba(255,250,240,0.92); }
html.theme-arctic .app-tile-primary .tile-icon, html.theme-gulf .app-tile-primary .tile-icon, html.theme-clearcoat .app-tile-primary .tile-icon { border-color: rgba(255,250,240,0.55); color: var(--on-accent); background: rgba(255,250,240,0.12); }
html.theme-arctic .app-tile-primary .tile-arrow, html.theme-arctic .app-tile-primary .tile-title, html.theme-gulf .app-tile-primary .tile-arrow, html.theme-gulf .app-tile-primary .tile-title, html.theme-clearcoat .app-tile-primary .tile-arrow, html.theme-clearcoat .app-tile-primary .tile-title { color: var(--on-accent); }
html.theme-arctic body.app-page :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn), html.theme-gulf body.app-page :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn), html.theme-clearcoat body.app-page :is(.form-submit, .btn-primary, .addon-btn, .home-next-wash-pick, .sch-save, .plan-free-detail-btn) { color: var(--on-accent); box-shadow: 0 2px 8px rgba(70,50,20,0.18); }
html.theme-arctic body.app-page :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn), html.theme-gulf body.app-page :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn), html.theme-clearcoat body.app-page :is(.btn-secondary, .auth-ghost-btn, .addon-open, .plan-manage-btn, .ref-note-copy, .ead-back-btn, .inv-copy, .os-move-btn, .os-change-btn, .plan-skip-btn, .dp-open-btn, .sch-later, .ref-text-btn) { color: var(--text); box-shadow: 0 2px 8px rgba(70,50,20,0.10); }
html.theme-arctic .ead-back-btn, html.theme-gulf .ead-back-btn, html.theme-clearcoat .ead-back-btn { color: var(--text); }
html.theme-arctic .th-choice[aria-checked="true"], html.theme-arctic .fs-choice[aria-checked="true"], html.theme-gulf .th-choice[aria-checked="true"], html.theme-gulf .fs-choice[aria-checked="true"], html.theme-clearcoat .th-choice[aria-checked="true"], html.theme-clearcoat .fs-choice[aria-checked="true"] { background: rgba(116,80,31,0.10); }
html.theme-arctic .fs-prompt, html.theme-gulf .fs-prompt, html.theme-clearcoat .fs-prompt { background: rgba(246,241,230,0.97); }
html.theme-arctic .fs-prompt-card, html.theme-gulf .fs-prompt-card, html.theme-clearcoat .fs-prompt-card { border-color: rgba(116,80,31,0.45); box-shadow: 0 10px 40px rgba(70,50,20,0.18); }
html.theme-arctic ::selection, html.theme-gulf ::selection, html.theme-clearcoat ::selection { background: rgba(116,80,31,0.25); }
html.theme-rosso .home-garage, html.theme-brg .home-garage, html.theme-gunmetal .home-garage, html.theme-royalnavy .home-garage, html.theme-sunset .home-garage, html.theme-plum .home-garage { background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.10) 0%, var(--card-bg) 55%); }
html.theme-arctic .header, html.theme-gulf .header, html.theme-clearcoat .header { background: var(--card-bg); }
html.theme-arctic .hero-bg, html.theme-gulf .hero-bg, html.theme-clearcoat .hero-bg { background: linear-gradient(105deg, var(--card-bg) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.2) 100%), url('/images/IMG_2768.jpg') center/cover no-repeat; background: linear-gradient(105deg, var(--card-bg) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.2) 100%), image-set(url('/images/IMG_2768.webp') type('image/webp'), url('/images/IMG_2768.jpg') type('image/jpeg')) center/cover no-repeat; }
html.theme-arctic .btn-secondary, html.theme-gulf .btn-secondary, html.theme-clearcoat .btn-secondary { border: 1px solid rgba(40,30,20,0.35); }
html.theme-arctic .hero-card, html.theme-gulf .hero-card, html.theme-clearcoat .hero-card { border: 1px solid rgba(40,30,20,0.20); }
html.theme-arctic .hero-float, html.theme-gulf .hero-float, html.theme-clearcoat .hero-float { border: 2px solid var(--border-strong); }
html.theme-arctic .nav-menu-panel-inner, html.theme-gulf .nav-menu-panel-inner, html.theme-clearcoat .nav-menu-panel-inner { background: var(--card-bg); }
html.theme-arctic .float-actions .float-text, html.theme-gulf .float-actions .float-text, html.theme-clearcoat .float-actions .float-text { background: var(--card-bg); }
html.theme-arctic .latest-caption, html.theme-gulf .latest-caption, html.theme-clearcoat .latest-caption { background: linear-gradient(180deg, transparent, var(--card-bg)); }
html.theme-arctic .page-hero-media, html.theme-gulf .page-hero-media, html.theme-clearcoat .page-hero-media { border: 1px solid rgba(40,30,20,0.20); }
html.theme-arctic .package-name, html.theme-gulf .package-name, html.theme-clearcoat .package-name { color: var(--gold-light, #5d3f1b); }
html.theme-arctic .package-perk, html.theme-gulf .package-perk, html.theme-clearcoat .package-perk { color: var(--gold-light, #5d3f1b); }
html.theme-arctic .compare-table thead th, html.theme-gulf .compare-table thead th, html.theme-clearcoat .compare-table thead th { color: var(--gold-light, #5d3f1b); }
html.theme-arctic .compare-yes, html.theme-gulf .compare-yes, html.theme-clearcoat .compare-yes { color: var(--gold-light, #5d3f1b); }
html.theme-arctic .review-ask-h, html.theme-gulf .review-ask-h, html.theme-clearcoat .review-ask-h { color: var(--gold-light, #5d3f1b); }
html.theme-arctic .review-ask-p, html.theme-gulf .review-ask-p, html.theme-clearcoat .review-ask-p { color: var(--text, #554319); }
html.theme-arctic .footer-review.review-ask a.review-ask-btn:focus-visible, html.theme-gulf .footer-review.review-ask a.review-ask-btn:focus-visible, html.theme-clearcoat .footer-review.review-ask a.review-ask-btn:focus-visible { outline: 3px solid var(--border-strong); }
html.theme-arctic .app-install-popup, html.theme-gulf .app-install-popup, html.theme-clearcoat .app-install-popup { border: 1px solid rgba(40,30,20,0.24); background: var(--card-bg); }
html.theme-arctic .app-page .app-back:hover, html.theme-arctic .app-page .app-back:focus-visible, html.theme-gulf .app-page .app-back:hover, html.theme-gulf .app-page .app-back:focus-visible, html.theme-clearcoat .app-page .app-back:hover, html.theme-clearcoat .app-page .app-back:focus-visible { color: #584218; }
html.theme-arctic .auth-status-note, html.theme-gulf .auth-status-note, html.theme-clearcoat .auth-status-note { color: #174f2c; }
html.theme-arctic .auth-verified, html.theme-gulf .auth-verified, html.theme-clearcoat .auth-verified { color: #174f2c; }
html.theme-arctic .profile-tab.is-active, html.theme-gulf .profile-tab.is-active, html.theme-clearcoat .profile-tab.is-active { color: var(--on-accent); }
html.theme-arctic .vehicle-photo, html.theme-gulf .vehicle-photo, html.theme-clearcoat .vehicle-photo { background: var(--card-bg) center/cover no-repeat; }
html.theme-arctic .vehicle-stock-thumb, html.theme-gulf .vehicle-stock-thumb, html.theme-clearcoat .vehicle-stock-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-arctic .vehicle-style-thumb, html.theme-gulf .vehicle-style-thumb, html.theme-clearcoat .vehicle-style-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-arctic .vehicle-service-summary-thumb, html.theme-gulf .vehicle-service-summary-thumb, html.theme-clearcoat .vehicle-service-summary-thumb { background: var(--card-bg) center/cover no-repeat; }
html.theme-arctic .book-profile, html.theme-gulf .book-profile, html.theme-clearcoat .book-profile { border-bottom: 1px solid rgba(40,30,20,0.16); }
html.theme-arctic .book-pick-thumb, html.theme-gulf .book-pick-thumb, html.theme-clearcoat .book-pick-thumb { background: var(--card-bg); }
html.theme-arctic .home-garage, html.theme-gulf .home-garage, html.theme-clearcoat .home-garage { background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.10) 0%, var(--card-bg) 55%); }
html.theme-arctic .home-garage-thumb, html.theme-gulf .home-garage-thumb, html.theme-clearcoat .home-garage-thumb { background: var(--card-bg) center/cover no-repeat; border: 1px solid rgba(40,30,20,0.18); }
html.theme-arctic .vehicle-plan-badge, html.theme-gulf .vehicle-plan-badge, html.theme-clearcoat .vehicle-plan-badge { color: var(--on-accent); }
html.theme-arctic .ead-toast, html.theme-gulf .ead-toast, html.theme-clearcoat .ead-toast { background: var(--card-bg); }
html.theme-arctic .plan-car-thumb, html.theme-gulf .plan-car-thumb, html.theme-clearcoat .plan-car-thumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-arctic .ead-count, html.theme-gulf .ead-count, html.theme-clearcoat .ead-count { color: var(--on-accent); }
html.theme-arctic .oa-row-acts, html.theme-gulf .oa-row-acts, html.theme-clearcoat .oa-row-acts { border-bottom: 1px solid var(--border-soft, rgba(40,30,20,0.15)); }
html.theme-arctic .oa-vthumb, html.theme-gulf .oa-vthumb, html.theme-clearcoat .oa-vthumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-arctic .oa-li-thumb, html.theme-gulf .oa-li-thumb, html.theme-clearcoat .oa-li-thumb { background: var(--card-bg) center / cover no-repeat; }
html.theme-arctic .vehicle-photo-status, html.theme-arctic .oa-photo-status, html.theme-gulf .vehicle-photo-status, html.theme-gulf .oa-photo-status, html.theme-clearcoat .vehicle-photo-status, html.theme-clearcoat .oa-photo-status { color: #564319; }
html.theme-arctic .vehicle-photo-status.is-ok, html.theme-arctic .oa-photo-status.is-ok, html.theme-gulf .vehicle-photo-status.is-ok, html.theme-gulf .oa-photo-status.is-ok, html.theme-clearcoat .vehicle-photo-status.is-ok, html.theme-clearcoat .oa-photo-status.is-ok { color: #175024; }
html.theme-arctic .vehicle-photo-status.is-error, html.theme-arctic .oa-photo-status.is-error, html.theme-gulf .vehicle-photo-status.is-error, html.theme-gulf .oa-photo-status.is-error, html.theme-clearcoat .vehicle-photo-status.is-error, html.theme-clearcoat .oa-photo-status.is-error { color: #8e0b00; }
html.theme-arctic .oa-delete.is-armed, html.theme-gulf .oa-delete.is-armed, html.theme-clearcoat .oa-delete.is-armed { color: var(--text); }
html.theme-arctic .oa-delete-note, html.theme-gulf .oa-delete-note, html.theme-clearcoat .oa-delete-note { color: #8e0b00; }
html.theme-arctic .oa-deleted-note, html.theme-gulf .oa-deleted-note, html.theme-clearcoat .oa-deleted-note { color: #175024; }
html.theme-arctic .chat-status, html.theme-gulf .chat-status, html.theme-clearcoat .chat-status { color: #175024; }
html.theme-arctic .chat-status.is-error, html.theme-gulf .chat-status.is-error, html.theme-clearcoat .chat-status.is-error { color: #8e0b00; }
html.theme-arctic .oa-count, html.theme-gulf .oa-count, html.theme-clearcoat .oa-count { color: var(--on-accent); }
html.theme-arctic .oa-text-login, html.theme-gulf .oa-text-login, html.theme-clearcoat .oa-text-login { color: var(--on-accent) !important; }
html.theme-arctic .inv-pill.is-pending, html.theme-gulf .inv-pill.is-pending, html.theme-clearcoat .inv-pill.is-pending { color: var(--on-accent); }
html.theme-arctic .inv-pill.is-paid, html.theme-gulf .inv-pill.is-paid, html.theme-clearcoat .inv-pill.is-paid { color: #175025; }
html.theme-arctic .inv-paid-note, html.theme-gulf .inv-paid-note, html.theme-clearcoat .inv-paid-note { color: #175025; }
html.theme-arctic .inv-del.is-armed, html.theme-gulf .inv-del.is-armed, html.theme-clearcoat .inv-del.is-armed { color: var(--text); }
html.theme-arctic .inv-doc, html.theme-gulf .inv-doc, html.theme-clearcoat .inv-doc { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08) 0%, var(--bg-elevated, var(--card-bg)) 60%); }
html.theme-arctic .inv-paid-line, html.theme-gulf .inv-paid-line, html.theme-clearcoat .inv-paid-line { color: #175025; }
html.theme-arctic .inv-copy.is-done, html.theme-gulf .inv-copy.is-done, html.theme-clearcoat .inv-copy.is-done { color: var(--on-accent); }
html.theme-arctic .inv-sent-status, html.theme-gulf .inv-sent-status, html.theme-clearcoat .inv-sent-status { color: var(--on-accent); }
html.theme-arctic .inv-tile-badge, html.theme-gulf .inv-tile-badge, html.theme-clearcoat .inv-tile-badge { color: var(--on-accent); }
html.theme-arctic .oa-lucy-tag, html.theme-gulf .oa-lucy-tag, html.theme-clearcoat .oa-lucy-tag { color: #234677; }
html.theme-arctic .sch-chip.is-on, html.theme-gulf .sch-chip.is-on, html.theme-clearcoat .sch-chip.is-on { color: var(--on-accent); }
html.theme-arctic .vehicle-plan-act.is-armed, html.theme-gulf .vehicle-plan-act.is-armed, html.theme-clearcoat .vehicle-plan-act.is-armed { color: #80251e; }
html.theme-arctic .home-next-wash-pick, html.theme-gulf .home-next-wash-pick, html.theme-clearcoat .home-next-wash-pick { color: var(--on-accent); }
html.theme-arctic .os-status.is-active, html.theme-gulf .os-status.is-active, html.theme-clearcoat .os-status.is-active { color: #17501f; }
html.theme-arctic .os-badge.is-ok, html.theme-gulf .os-badge.is-ok, html.theme-clearcoat .os-badge.is-ok { color: #17501f; }
html.theme-arctic .os-badge.is-error, html.theme-gulf .os-badge.is-error, html.theme-clearcoat .os-badge.is-error { color: #80251e; }
html.theme-arctic .os-acts .is-armed, html.theme-gulf .os-acts .is-armed, html.theme-clearcoat .os-acts .is-armed { color: #80251e; }
html.theme-arctic .os-saved, html.theme-gulf .os-saved, html.theme-clearcoat .os-saved { color: #17501f; }
html.theme-arctic .inv-auto-lines li, html.theme-gulf .inv-auto-lines li, html.theme-clearcoat .inv-auto-lines li { border-top: 1px dashed rgba(40,30,20,0.18); }
html.theme-arctic .inv-est-lines, html.theme-gulf .inv-est-lines, html.theme-clearcoat .inv-est-lines { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-arctic .inv-missed-row, html.theme-gulf .inv-missed-row, html.theme-clearcoat .inv-missed-row { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-arctic .inv-pill.is-reason, html.theme-gulf .inv-pill.is-reason, html.theme-clearcoat .inv-pill.is-reason { border: 1px solid rgba(40,30,20,0.22); }
html.theme-arctic .inv-pill.is-rain, html.theme-gulf .inv-pill.is-rain, html.theme-clearcoat .inv-pill.is-rain { color: #004196; }
html.theme-arctic .pw-gate, html.theme-gulf .pw-gate, html.theme-clearcoat .pw-gate { background: var(--card-bg); }
html.theme-arctic .pw-gate-card, html.theme-gulf .pw-gate-card, html.theme-clearcoat .pw-gate-card { background: var(--card-bg); color: var(--text); }
html.theme-arctic .pw-gate-h, html.theme-gulf .pw-gate-h, html.theme-clearcoat .pw-gate-h { color: #54440f; }
html.theme-arctic .pw-gate-form input, html.theme-gulf .pw-gate-form input, html.theme-clearcoat .pw-gate-form input { border: 1px solid rgba(40,30,20,0.30); background: var(--card-bg); color: var(--text); }
html.theme-arctic .pw-gate-out, html.theme-gulf .pw-gate-out, html.theme-clearcoat .pw-gate-out { color: var(--text-muted); }
html.theme-arctic .ag-gate .ag-agree, html.theme-gulf .ag-gate .ag-agree, html.theme-clearcoat .ag-gate .ag-agree { color: var(--text); }
html.theme-arctic .dp-day.is-on, html.theme-gulf .dp-day.is-on, html.theme-clearcoat .dp-day.is-on { color: var(--on-accent); }
html.theme-arctic .on-tab.is-on, html.theme-gulf .on-tab.is-on, html.theme-clearcoat .on-tab.is-on { color: var(--on-accent); }
html.theme-arctic .on-badge, html.theme-gulf .on-badge, html.theme-clearcoat .on-badge { color: var(--text); }
html.theme-arctic .on-item + .on-item, html.theme-gulf .on-item + .on-item, html.theme-clearcoat .on-item + .on-item { border-top: 1px solid rgba(40,30,20,0.18); }
html.theme-arctic .home-easy .tile-sub, html.theme-gulf .home-easy .tile-sub, html.theme-clearcoat .home-easy .tile-sub { color: var(--text); }
html.theme-arctic .home-easy .app-facts li, html.theme-gulf .home-easy .app-facts li, html.theme-clearcoat .home-easy .app-facts li { color: var(--text); }
html.theme-arctic .fs-prompt, html.theme-gulf .fs-prompt, html.theme-clearcoat .fs-prompt { background: var(--card-bg); }
html.theme-arctic .fs-prompt-card, html.theme-gulf .fs-prompt-card, html.theme-clearcoat .fs-prompt-card { background: var(--card-bg); color: var(--text); }
html.theme-arctic .fs-prompt-h, html.theme-gulf .fs-prompt-h, html.theme-clearcoat .fs-prompt-h { color: #54440f; }
html.theme-arctic .fs-prompt-p, html.theme-gulf .fs-prompt-p, html.theme-clearcoat .fs-prompt-p { color: var(--text); }
html.theme-arctic .fs-choice, html.theme-gulf .fs-choice, html.theme-clearcoat .fs-choice { color: var(--text); }
html.theme-arctic .addon-ctl-sum, html.theme-gulf .addon-ctl-sum, html.theme-clearcoat .addon-ctl-sum { color: var(--text); }
html.theme-arctic .addon-why, html.theme-gulf .addon-why, html.theme-clearcoat .addon-why { color: var(--text); }
html.theme-arctic .addon-name, html.theme-gulf .addon-name, html.theme-clearcoat .addon-name { color: var(--text); }
html.theme-arctic .addon-desc, html.theme-gulf .addon-desc, html.theme-clearcoat .addon-desc { color: var(--text-muted); }
html.theme-arctic .addon-btn, html.theme-gulf .addon-btn, html.theme-clearcoat .addon-btn { color: var(--on-accent); }
html.theme-arctic .th-swatch, html.theme-gulf .th-swatch, html.theme-clearcoat .th-swatch { border: 1px solid rgba(40,30,20,0.28); }
html.theme-arctic .pkg-tag-prestige, html.theme-gulf .pkg-tag-prestige, html.theme-clearcoat .pkg-tag-prestige { color: var(--on-accent); }
html.theme-arctic .vehicle-tier-chip.is-on, html.theme-gulf .vehicle-tier-chip.is-on, html.theme-clearcoat .vehicle-tier-chip.is-on { color: var(--on-accent); }
html.theme-arctic .cmp-size.is-selected, html.theme-gulf .cmp-size.is-selected, html.theme-clearcoat .cmp-size.is-selected { color: var(--on-accent); }
html.theme-arctic a.oh-btn, html.theme-gulf a.oh-btn, html.theme-clearcoat a.oh-btn { background: var(--card-bg, var(--card-bg)); }
html.theme-arctic .oh-name, html.theme-gulf .oh-name, html.theme-clearcoat .oh-name { color: #554319; }
html.theme-arctic .oh-sub, html.theme-gulf .oh-sub, html.theme-clearcoat .oh-sub { color: var(--text-muted); }
html.theme-arctic .oh-badge.ead-count, html.theme-gulf .oh-badge.ead-count, html.theme-clearcoat .oh-badge.ead-count { color: var(--on-accent); }
html.theme-arctic .ead-pv-bar, html.theme-gulf .ead-pv-bar, html.theme-clearcoat .ead-pv-bar { background: var(--card-bg); color: var(--text); }
html.theme-arctic .ead-pv-t, html.theme-gulf .ead-pv-t, html.theme-clearcoat .ead-pv-t { color: var(--text); }
html.theme-arctic .ead-pv-s, html.theme-gulf .ead-pv-s, html.theme-clearcoat .ead-pv-s { color: var(--text); }
html.theme-arctic .ead-pv-toast, html.theme-gulf .ead-pv-toast, html.theme-clearcoat .ead-pv-toast { background: var(--card-bg); color: var(--text); }
html.theme-arctic .tour-pic, html.theme-gulf .tour-pic, html.theme-clearcoat .tour-pic { background: var(--card-bg); }
html.theme-arctic .tour-next, html.theme-gulf .tour-next, html.theme-clearcoat .tour-next { background: var(--card-bg); color: var(--text); }
html.theme-arctic .ot-done, html.theme-gulf .ot-done, html.theme-clearcoat .ot-done { color: #175025; }
html.theme-arctic .ot-status.is-error, html.theme-gulf .ot-status.is-error, html.theme-clearcoat .ot-status.is-error { color: #8b1300; }
html.theme-arctic .ot-skip.is-armed, html.theme-gulf .ot-skip.is-armed, html.theme-clearcoat .ot-skip.is-armed { color: #8b1300; }
html.theme-arctic .auth-change-pw, html.theme-gulf .auth-change-pw, html.theme-clearcoat .auth-change-pw { border-top: 1px solid rgba(40,30,20,0.25); }
html.theme-arctic .book-openings .bo-days-wrap::after, html.theme-gulf .book-openings .bo-days-wrap::after, html.theme-clearcoat .book-openings .bo-days-wrap::after { background: linear-gradient(to right, transparent, var(--bg, var(--card-bg))); }
html.theme-arctic .book-openings .bo-more, html.theme-gulf .book-openings .bo-more, html.theme-clearcoat .book-openings .bo-more { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .guest-page .gb-lead, html.theme-gulf .guest-page .gb-lead, html.theme-clearcoat .guest-page .gb-lead { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .gb-count, html.theme-gulf .gb-count, html.theme-clearcoat .gb-count { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .gb-small-note, html.theme-gulf .gb-small-note, html.theme-clearcoat .gb-small-note { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .gb-choice-s, html.theme-gulf .gb-choice-s, html.theme-clearcoat .gb-choice-s { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .gb-row, html.theme-gulf .gb-row, html.theme-clearcoat .gb-row { border-bottom: 1px solid rgba(40,30,20,0.22); }
html.theme-arctic .gb-row dt, html.theme-gulf .gb-row dt, html.theme-clearcoat .gb-row dt { color: var(--text-muted, var(--text-muted)); }
html.theme-arctic .app-footer .app-footer-quiet, html.theme-gulf .app-footer .app-footer-quiet, html.theme-clearcoat .app-footer .app-footer-quiet { color: var(--text-muted, var(--text-muted)); }
html:is(.theme-arctic, .theme-henry) body.app-page:not(.owner-page) .home-garage-card, html:is(.theme-gulf, .theme-henry) body.app-page:not(.owner-page) .home-garage-card, html:is(.theme-clearcoat, .theme-henry) body.app-page:not(.owner-page) .home-garage-card { background: var(--card-bg); border-color: rgba(var(--gold-rgb), 0.40); }
html:is(.theme-arctic, .theme-henry) body.app-page:not(.owner-page) .home-garage-card:is(:hover, :focus-visible), html:is(.theme-gulf, .theme-henry) body.app-page:not(.owner-page) .home-garage-card:is(:hover, :focus-visible), html:is(.theme-clearcoat, .theme-henry) body.app-page:not(.owner-page) .home-garage-card:is(:hover, :focus-visible) { background: var(--bg-elevated); }
html:is(.theme-arctic, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge, html:is(.theme-gulf, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge, html:is(.theme-clearcoat, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge { background: var(--gold); box-shadow: none; color: var(--on-accent); }
html:is(.theme-arctic, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge :is(.vehicle-plan-star, .vehicle-plan-sep, .vehicle-plan-freq), html:is(.theme-gulf, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge :is(.vehicle-plan-star, .vehicle-plan-sep, .vehicle-plan-freq), html:is(.theme-clearcoat, .theme-henry) body.app-page:not(.owner-page) .vehicle-plan-badge :is(.vehicle-plan-star, .vehicle-plan-sep, .vehicle-plan-freq) { color: var(--on-accent); opacity: 1; }
html:is(.theme-arctic, .theme-henry) body.app-page:not(.owner-page) .inv-logo, html:is(.theme-gulf, .theme-henry) body.app-page:not(.owner-page) .inv-logo, html:is(.theme-clearcoat, .theme-henry) body.app-page:not(.owner-page) .inv-logo { filter: invert(1) hue-rotate(180deg); }
html:is(.theme-arctic, .theme-henry) body.app-page .cmp-dialog::backdrop, html:is(.theme-gulf, .theme-henry) body.app-page .cmp-dialog::backdrop, html:is(.theme-clearcoat, .theme-henry) body.app-page .cmp-dialog::backdrop { background: rgba(20,20,10,.45); }
html:is(.theme-arctic, .theme-henry) body.app-page :is(.cmp-close.form-submit), html:is(.theme-gulf, .theme-henry) body.app-page :is(.cmp-close.form-submit), html:is(.theme-clearcoat, .theme-henry) body.app-page :is(.cmp-close.form-submit) { color: var(--on-accent); }
html:is(.theme-arctic, .theme-henry) body.app-page .cmp-open-btn, html:is(.theme-gulf, .theme-henry) body.app-page .cmp-open-btn, html:is(.theme-clearcoat, .theme-henry) body.app-page .cmp-open-btn { color: var(--text); }
html:is(.theme-arctic, .theme-henry) .pk-status.is-bad, html:is(.theme-gulf, .theme-henry) .pk-status.is-bad, html:is(.theme-clearcoat, .theme-henry) .pk-status.is-bad { color: #9b2b1f; }
html:is(.theme-arctic, .theme-henry) body.app-page :is(.pk-save, #pk-confirm-yes), html:is(.theme-gulf, .theme-henry) body.app-page :is(.pk-save, #pk-confirm-yes), html:is(.theme-clearcoat, .theme-henry) body.app-page :is(.pk-save, #pk-confirm-yes) { color: var(--on-accent); }
html.theme-arctic .gb-choice, html.theme-arctic .gb-time, html.theme-gulf .gb-choice, html.theme-gulf .gb-time, html.theme-clearcoat .gb-choice, html.theme-clearcoat .gb-time { background: rgba(0,0,0,.03); }
/* hand-tuned: Gulf's orange is a fill colour; as text on the blue panels it uses the deeper rust (AA 4.5:1) */
html.theme-gulf .home-section-label { color: var(--gold-light); }
/* hand-tuned: Gulf buttons are Gulf orange with dark navy labels (AA 4.5:1+); the deeper rust stays for orange text on blue */
html.theme-gulf .app-tile-primary { background: linear-gradient(180deg, #f79a45 0%, #f07f1e 100%); }
html.theme-gulf .app-tile-primary .tile-sub, html.theme-gulf .home-easy .app-tile-primary .tile-sub { color: #0a1a28; }
html.theme-gulf .app-tile-primary .tile-icon { border-color: rgba(10,26,40,0.45); color: #0a1a28; background: rgba(255,255,255,0.18); }
/* ship-zy "Earl" (clearcoat, Jeep Earl paint): the stock greens for verified / paid / Preferred notes were 3.9–4.4:1 on
   the gray-green panels; a deeper green clears AA 4.5:1 */
html.theme-clearcoat :is(.auth-status-note, .auth-verified, .auth-status-ok, .inv-pill.is-paid, .inv-paid-line), html.theme-clearcoat #auth-profile-email, html.theme-clearcoat #book-mpgl-note.auth-status-ok { color: #0c3418; }
/* zu-themes:end */
