/* THE WEBSITE'S LOOK ON A CUSTOMER PAGE (2026-09-29). See site-chrome.js and
   lib/site-look.js. server.js adds this file, with
   <html data-site="coach|forge|learn" data-site-theme="…">, to the pages that
   are not the website itself: the account page, the booking steps
   (/book/now), a booking's own page and its invoice, check-in, a term's pay page.

   ⚠ ONLY COLOURS, TYPE, CORNERS AND BUTTON SHAPE. Every page keeps its own
   layout and every step. The customer pages share one family of colour names
   (--bg --card --ink --ink-2 --ink-3 --ink-4 --line --soft --accent
   --accent-ink --accent-fill --on-accent), so one block per look covers all.
   `html[data-site-theme]` outranks the pages' own :root, INCLUDING their
   dark-mode block, so the website's look wins whatever the phone is set to.
   The colours are the templates' own: coach site.css, forge.css, learn
   site.css. Change a colour there, change it here. The F&B template has its
   own skin (fnb/public/customer/skin.css). */

/* ── Personal Coach: White, Black ────────────────────────────────────── */
html[data-site="coach"][data-site-theme="white"] {
  --bg: #FFFFFF; --card: #FFFFFF; --ink: #0B0B0B; --ink-2: #2B2B2B; --ink-3: #6B6B6B; --ink-4: #9A9A9A; --line: #E6E6E4;
  --accent: #0B0B0B; --accent-ink: #0B0B0B; --accent-fill: #0B0B0B; --on-accent: #FFFFFF;
  --soft: #F5F5F3; --star: #0B0B0B;
}
html[data-site="coach"][data-site-theme="black"] {
  --bg: #0A0A0A; --card: #0A0A0A; --ink: #F4F4F2; --ink-2: #D6D6D3; --ink-3: #9B9B98; --ink-4: #6E6E6B; --line: #2A2A2A;
  --accent: #F4F4F2; --accent-ink: #F4F4F2; --accent-fill: #F4F4F2; --on-accent: #0A0A0A;
  --soft: #151515; --star: #F4F4F2; --green: #5AD08A; --red: #FF8A80; --amber: #F0A44B;
}

/* ── Fitness Studio's Forge: Black, Ember, Bone ──────────────────────── */
html[data-site="forge"][data-site-theme="black"] {
  --bg: #111111; --card: #1A1A1A; --ink: #FEFDF8; --ink-2: #D9D8D2; --ink-3: #A5A49F; --ink-4: #75746F; --line: #2E2E2C;
  --accent: #7D7456; --accent-ink: #D2C8A4; --accent-fill: #7D7456; --on-accent: #FFFFFF;
  --soft: #232323; --star: #D2C8A4; --green: #8FBF7A; --red: #FF8A80; --amber: #F0A44B;
}
html[data-site="forge"][data-site-theme="ember"] {
  --bg: #0E0E0E; --card: #181716; --ink: #FAF7F2; --ink-2: #D8D5CF; --ink-3: #A3A09B; --ink-4: #73706B; --line: #2E2B28;
  --accent: #B8431F; --accent-ink: #F0906C; --accent-fill: #B8431F; --on-accent: #FFFFFF;
  --soft: #22201E; --star: #F0906C; --green: #8FBF7A; --red: #FF8A80; --amber: #F0A44B;
}
html[data-site="forge"][data-site-theme="bone"] {
  --bg: #F2EFE8; --card: #FAF8F3; --ink: #141414; --ink-2: #333333; --ink-3: #5E5B55; --ink-4: #8A867E; --line: #DDD8CC;
  --accent: #1A1A1A; --accent-ink: #141414; --accent-fill: #1A1A1A; --on-accent: #FFFFFF;
  --soft: #E8E4DA; --star: #141414;
}

/* ── Learning Centre: Blue, Green, Red (one layout, one colour) ──────── */
html[data-site="learn"] {
  --bg: #F4F3EF; --card: #FFFFFF; --ink: #0B0F1A; --ink-2: #2A3044; --ink-3: #596073; --ink-4: #8A90A0; --line: #E3E1DA;
  --soft: #EDECE6; --on-accent: #FFFFFF;
}
html[data-site="learn"][data-site-theme="blue"]  { --accent: #2152FF; --accent-fill: #2152FF; --accent-ink: #1439C4; --star: #1439C4; }
html[data-site="learn"][data-site-theme="green"] { --accent: #127A49; --accent-fill: #127A49; --accent-ink: #0C5C36; --star: #0C5C36; }
html[data-site="learn"][data-site-theme="red"]   { --accent: #C2361B; --accent-fill: #C2361B; --accent-ink: #962913; --star: #962913; }

/* ── The Online Shop's own website: Sky, Linen, Ink, Pop (2026-09-29; Pop 2026-09-30) ──────
   The shop's pages (checkout, order, reviews, receipt) name their colours
   differently from the booking pages (--surface --text --muted2 --purple …),
   so each look sets both families. Colours are public/customer/shop/site/site.css's. */
html[data-site="shop"][data-site-theme="sky"] {
  --bg: #F4F8FF; --card: #FFFFFF; --ink: #16225E; --ink-2: #2B3A78; --ink-3: #5D6A9A; --ink-4: #8F99BD; --line: #DCE5F5;
  --accent: #1E2FA0; --accent-ink: #1E2FA0; --accent-fill: #1E2FA0; --on-accent: #FFFFFF; --soft: #E8F0FE; --star: #F2B533;
  --surface: #FFFFFF; --surface2: #EEF3FD; --text: #16225E; --text-2: #2B3A78; --text-3: #5D6A9A; --text-4: #8F99BD;
  --muted: #8F99BD; --muted2: #5D6A9A; --border: #DCE5F5; --border2: #C5D2EC; --bg-2: #F4F8FF; --bg-3: #E8F0FE;
  --accent-bg: rgba(30,47,160,.08); --purple: #1E2FA0;
}
html[data-site="shop"][data-site-theme="linen"] {
  --bg: #FBF7F0; --card: #FFFFFF; --ink: #2E2019; --ink-2: #4A3A30; --ink-3: #7A6A5E; --ink-4: #A89A8E; --line: #E7DDCF;
  --accent: #A0522D; --accent-ink: #8A4424; --accent-fill: #A0522D; --on-accent: #FFFFFF; --soft: #F2EADF; --star: #A0522D;
  --surface: #FFFFFF; --surface2: #F5EFE6; --text: #2E2019; --text-2: #4A3A30; --text-3: #7A6A5E; --text-4: #A89A8E;
  --muted: #A89A8E; --muted2: #7A6A5E; --border: #E7DDCF; --border2: #D6C8B6; --bg-2: #FBF7F0; --bg-3: #F2EADF;
  --accent-bg: rgba(160,82,45,.08); --purple: #A0522D;
}
html[data-site="shop"][data-site-theme="ink"] {
  --bg: #0F0F0F; --card: #181818; --ink: #F4F4F2; --ink-2: #D6D6D3; --ink-3: #9B9B98; --ink-4: #6E6E6B; --line: #2C2C2C;
  --accent: #F4F4F2; --accent-ink: #F4F4F2; --accent-fill: #F4F4F2; --on-accent: #0F0F0F; --soft: #1F1F1F; --star: #F4F4F2;
  --surface: #181818; --surface2: #202020; --text: #F4F4F2; --text-2: #D6D6D3; --text-3: #9B9B98; --text-4: #6E6E6B;
  --muted: #6E6E6B; --muted2: #9B9B98; --border: #2C2C2C; --border2: #3A3A3A; --bg-2: #0F0F0F; --bg-3: #1F1F1F;
  --accent-bg: rgba(244,244,242,.08); --purple: #F4F4F2; --green: #5AD08A; --red: #FF8A80; --amber: #F0A44B;
}
html[data-site="shop"][data-site-theme="pop"] {
  --bg: #FFFFFF; --card: #FFFFFF; --ink: #1E2242; --ink-2: #33375A; --ink-3: #6B6F8C; --ink-4: #9A9DB4; --line: #E6E6EC;
  --accent: #1E2242; --accent-ink: #1E2242; --accent-fill: #1E2242; --on-accent: #FFFFFF; --soft: #FFF9EB; --star: #1E2242;
  --surface: #FFFFFF; --surface2: #F6F6F8; --text: #1E2242; --text-2: #33375A; --text-3: #6B6F8C; --text-4: #9A9DB4;
  --muted: #9A9DB4; --muted2: #6B6F8C; --border: #E6E6EC; --border2: #D3D4DE; --bg-2: #FFFFFF; --bg-3: #FFF9EB;
  --accent-bg: rgba(205,255,99,.35); --purple: #1E2242;
}
html[data-site="shop"] body { background: var(--bg) !important; color: var(--text) !important; font-weight: 400 !important; }
html[data-site="shop"][data-site-theme="sky"] body { font-family: 'Nunito', system-ui, -apple-system, sans-serif !important; }
html[data-site="shop"][data-site-theme="linen"] body, html[data-site="shop"][data-site-theme="ink"] body { font-family: 'Inter', system-ui, -apple-system, sans-serif !important; }
html[data-site="shop"][data-site-theme="pop"] body { font-family: 'Figtree', system-ui, -apple-system, sans-serif !important; }
html[data-site="shop"] body * { font-family: inherit !important; }
html[data-site="shop"] .topbar-title, html[data-site="shop"] .card-head h3, html[data-site="shop"] .header-title,
html[data-site="shop"] .success-title, html[data-site="shop"] .os-header-title, html[data-site="shop"] h1, html[data-site="shop"] h2,
html[data-site="shop"] .biz, html[data-site="shop"] .card-t { text-transform: none !important; letter-spacing: -0.01em !important; color: var(--text) !important; }
html[data-site="shop"][data-site-theme="sky"] :is(.topbar-title, .card-head h3, .header-title, .success-title, .os-header-title, h1, h2, .biz, .card-t) { font-family: 'Fredoka', 'Nunito', sans-serif !important; font-weight: 600 !important; }
html[data-site="shop"][data-site-theme="linen"] :is(.topbar-title, .card-head h3, .header-title, .success-title, .os-header-title, h1, h2, .biz, .card-t) { font-family: 'Fraunces', Georgia, serif !important; font-weight: 500 !important; }
html[data-site="shop"][data-site-theme="ink"] :is(.topbar-title, .card-head h3, .header-title, .success-title, .os-header-title, h1, h2, .biz, .card-t) { font-weight: 800 !important; letter-spacing: -0.03em !important; }
html[data-site="shop"][data-site-theme="pop"] :is(.topbar-title, .card-head h3, .header-title, .success-title, .os-header-title, h1, h2, .biz, .card-t) { font-family: 'Jost', 'Figtree', sans-serif !important; font-weight: 700 !important; }
html[data-site="shop"][data-site-theme="pop"] :is(.section-card, .card, .qr-box, .paynow-details, .fulfillment-inner, .contact-pref-inner, .tip-opt) { border-radius: 12px !important; }
html[data-site="shop"][data-site-theme="pop"] :is(.gen-qr-btn, .paid-btn, .btn-submit, .rev-submit, .retry-btn, .action-btn, .btn-skip, .rev-edit-btn, .cta, .back-btn) { border-radius: 999px !important; font-weight: 700 !important; }
/* One look: no light/dark switch, no page title bar (the website's header is there) */
html[data-site="shop"] :is(#themeToggle, .btn-theme-sm, .theme-toggle, #theme-toggle) { display: none !important; }
html[data-site="shop"][data-site-chrome] .topbar, html[data-site="shop"][data-site-chrome] .powered-by, html[data-site="shop"][data-site-chrome] .powered { display: none !important; }
html[data-site="shop"] :is(.section-card, .card, .qr-box) { background-color: var(--surface) !important; border-color: var(--border) !important; }
html[data-site="shop"] :is(.paynow-details, .paynow-mobile-tip) { background: var(--soft) !important; border-color: var(--border) !important; }
html[data-site="shop"] :is(.total-val, .oi-price, .pd-val.amount) { color: var(--accent-ink) !important; font-weight: 700 !important; }
html[data-site="shop"] :is(.gen-qr-btn, .btn-submit, .rev-submit, .paid-btn) { background: var(--accent-fill) !important; color: var(--on-accent) !important; }
html[data-site="shop"] :is(.field input, .field textarea, .field select, textarea, .phone-prefix-group) { background: var(--surface) !important; border-color: var(--border2) !important; color: var(--text) !important; }
html[data-site="shop"] .phone-prefix-group input { background: transparent !important; }
html[data-site="shop"] .phone-prefix { background: var(--soft) !important; }
html[data-site="shop"][data-site-theme="sky"] :is(.section-card, .card, .qr-box, .paynow-details, .fulfillment-inner, .contact-pref-inner, .tip-opt) { border-radius: 20px !important; }
html[data-site="shop"][data-site-theme="sky"] :is(.field input, .field textarea, .field select, .phone-prefix-group) { border-radius: 14px !important; }
html[data-site="shop"][data-site-theme="sky"] :is(.gen-qr-btn, .paid-btn, .btn-submit, .rev-submit, .retry-btn, .action-btn, .btn-skip, .rev-edit-btn, .cta, .back-btn) { border-radius: 999px !important; font-weight: 700 !important; }
html[data-site="shop"][data-site-theme="linen"] :is(.section-card, .card, .qr-box, .paynow-details, .fulfillment-inner, .contact-pref-inner, .tip-opt) { border-radius: 12px !important; }
html[data-site="shop"][data-site-theme="linen"] :is(.gen-qr-btn, .paid-btn, .btn-submit, .rev-submit, .retry-btn, .action-btn, .btn-skip, .rev-edit-btn, .cta, .back-btn) { border-radius: 999px !important; }
html[data-site="shop"][data-site-theme="ink"] :is(.section-card, .card, .qr-box, .paynow-details, .fulfillment-inner, .contact-pref-inner, .tip-opt, .field input, .field textarea, .field select, .phone-prefix-group, .gen-qr-btn, .paid-btn, .btn-submit, .rev-submit) { border-radius: 4px !important; }
/* The receipt paints its own greys */
html[data-site="shop"] :is(.rec-card, .receipt, .rec-wrap > div) { background-color: var(--surface) !important; }
/* With the website's header: the checkout gets room, like F&B's */
html[data-site="shop"][data-site-chrome] body > .wrap { padding-top: 32px !important; }

/* ── Everything below is shared, then tuned per look ─────────────────── */
html[data-site] body { background: var(--bg); color: var(--ink-2); }
html[data-site="coach"] body, html[data-site="forge"] body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
html[data-site="learn"] body { font-family: 'Archivo', system-ui, -apple-system, sans-serif; }
html[data-site] input, html[data-site] select, html[data-site] textarea, html[data-site] button { font-family: inherit; }
html[data-site] input, html[data-site] select, html[data-site] textarea { background: var(--card); color: var(--ink); }

/* Grey bits the pages paint with fixed colours (and repaint for a dark phone). */
:where(html[data-site]) .badge { background: var(--soft); color: var(--ink-3); }
:where(html[data-site]) .note, :where(html[data-site]) .policy, :where(html[data-site]) .phone-p { background: var(--soft); }
html[data-site] .card, html[data-site] .box { background: var(--card); border-color: var(--line); }
html[data-site] .kind { background: var(--soft); color: var(--ink-2); }
html[data-site] .pick.on { background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent-fill); }

/* The check-in page centres one box in the whole screen; with a header and
   footer round it, it sits in the page instead. */
html[data-site] body:has(> #box) { display: block; min-height: 0; padding: 0; }
html[data-site] body > #box { margin: 56px auto; }

/* Square corners: Personal Coach and Forge are both hard-edged. */
html[data-site="coach"] body *:not(.spin):not(.step-n):not(.sb-site-chrome),
html[data-site="forge"] body *:not(.spin):not(.step-n):not(.sb-site-chrome) { border-radius: 0 !important; }

/* Headings and the business's name in each template's type. */
html[data-site="coach"] .biz, html[data-site="coach"] .card-t, html[data-site="coach"] h1 { font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
html[data-site="coach"] .biz { text-transform: uppercase; }
html[data-site="forge"] .biz, html[data-site="forge"] h1, html[data-site="forge"] .card-t { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
html[data-site="learn"] .biz, html[data-site="learn"] h1, html[data-site="learn"] .card-t { font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); }
html[data-site="forge"] .card-h, html[data-site="learn"] .card-h { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }

/* Buttons as each website's. Their colours already come from the variables
   above (.cta.danger and .cta.ghost keep their own). */
html[data-site="coach"] .cta, html[data-site="coach"] .btn { font-weight: 600; letter-spacing: 0; }
html[data-site="forge"] .cta, html[data-site="forge"] .btn { font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
html[data-site="learn"] .cta, html[data-site="learn"] .btn { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
html[data-site="learn"] .card, html[data-site="learn"] .box { border-radius: 14px; }
html[data-site] .cta:hover, html[data-site] .btn:hover { opacity: .88; }

/* The booking steps (/book/now): the name, photo and intro are the website's
   header's job now. */
html[data-site] #top .hero, html[data-site] #top .biz, html[data-site] #top .intro { display: none; }
html[data-site] #top .head { padding-top: 28px; }

/* An invoice or receipt prints as the document alone. */
@media print { .sb-site-chrome { display: none !important; } }
