/* ============================================================
   VORO — Custom Bulk ("Chapters") page  ·  LOCAL DEV
   Self-contained: tokens baked in so it opens standalone.
   On go-live these tokens come from the site's styles.css.
   ============================================================ */

:root {
  --primary: #2e2823;
  --brand: #2e2823;
  --brand-ink: #211c18;
  --on-brand: #fffdf0;
  --brand-tint: #ece6da;
  --brand-haze: #f5f1e8;
  --cream: #d9cdb6;
  --cream-deep: #c7b9a1;
  --on-cream: #2e2823;
  --background: #fbf8ec;
  --surface: #ffffff;
  --surface-muted: #efeada;
  --band-warm: #f1e8d4;
  --border: #e3dcc9;
  --text: #2e2823;
  --text-muted: #6f665d;
  --oxblood: #8b3f36;
  --blush: #cfa0a1;
  /* product hardware colorways */
  --navy: #05255e;
  --charcoal: #2e2d2b;
  --white-cw: #f7f5ef;
  --pistachio-shell: #e5d6c3;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-full: 9999px;
  --gutter: 16px;

  --font-display: "Fredoka", "Figtree", Inter, system-ui, sans-serif;
  --font-body: "Figtree", Inter, "Helvetica Neue", Arial, sans-serif;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-luxe: cubic-bezier(0.76, 0, 0.24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: min(1120px, 92vw); margin: 0 auto; }
.shell--narrow { width: min(720px, 92vw); }

.eyebrow {
  font-size: 12px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-full);
  border: 2px solid var(--brand); background: var(--brand); color: var(--on-brand);
  cursor: pointer; text-decoration: none;
  transition: transform 0.25s var(--ease-bounce), background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); background: var(--brand-ink); }
.btn--lg { min-height: 56px; padding: 0 32px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--brand); color: var(--on-brand); }
.btn--danger { background: transparent; color: var(--oxblood); border-color: var(--oxblood); }
.btn--danger:hover { background: var(--oxblood); color: #fff; transform: none; }

.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-decoration: none; letter-spacing: 0.02em; color: var(--text); }
.wordmark--sm { font-size: 20px; }


/* ---------- ticker + header ---------- */
.s-ticker {
  background: var(--brand); color: var(--on-brand);
  text-align: center; font-size: 13px; padding: 9px 12px;
}
.s-ticker strong { font-weight: 700; }
.s-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.s-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.s-header__nav { display: flex; align-items: center; gap: 18px; }
.s-header__nav .btn { white-space: nowrap; }
.s-header__link { font-family: var(--font-display); font-weight: 500; font-size: 15px; text-decoration: none; color: var(--text); }
.s-header__link:hover { color: var(--oxblood); }

/* ---------- hero ---------- */
.s-hero {
  background: radial-gradient(125% 92% at 50% -12%, #fffefb 0%, #fdfaef 44%, var(--background) 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.s-hero__inner { display: flex; flex-direction: column; align-items: center; }
.s-hero__title { font-size: clamp(42px, 7vw, 88px); font-weight: 600; line-height: 0.98; letter-spacing: -0.02em; }
.s-hero__sub { max-width: 560px; margin-top: 20px; font-size: 18px; color: var(--text-muted); }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.s-hero__proof { list-style: none; display: flex; gap: 40px; margin: 44px 0 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.s-hero__proof li { display: flex; flex-direction: column; }
.s-hero__proof strong { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; }
.s-hero__proof span { font-size: 13px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- steps ---------- */
.s-steps { padding: 64px 0; }
.s-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--cream); color: var(--on-cream);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.step-card h3 { font-size: 22px; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 15px; }

/* ---------- section heads ---------- */
.s-builder, .s-pricing { padding: 40px 0 72px; }
.s-builder { background: var(--band-warm); }
.s-builder__head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.s-builder__head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; }
.s-builder__sub { color: var(--text-muted); margin-top: 12px; font-size: 17px; }

/* ---------- builder layout ---------- */
.builder { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.builder__stage { position: sticky; top: 88px; }
.canvas-wrap {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px; box-shadow: 0 24px 60px rgba(34, 28, 23, 0.12);
  width: fit-content; max-width: 100%; margin: 0 auto;
}
#cardCanvas { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: 62vh; border-radius: 14px; touch-action: none; cursor: grab; }
#cardCanvas.dragging { cursor: grabbing; }
.canvas-drop {
  position: absolute; inset: 18px; border-radius: 14px;
  border: 3px dashed var(--brand); background: rgba(251, 248, 236, 0.9);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--brand);
}
.canvas-drop[hidden] { display: none; }

.colorways { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.sw {
  position: relative; width: 56px; height: 56px; border-radius: var(--r-full);
  border: 3px solid transparent; cursor: pointer; padding: 0;
  box-shadow: 0 2px 8px rgba(34, 28, 23, 0.12); transition: transform 0.2s var(--ease-bounce);
}
.sw span {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-muted); white-space: nowrap; letter-spacing: 0.04em;
}
.sw:hover { transform: translateY(-2px); }
.sw.is-active { border-color: var(--brand); }
.sw--navy { background: var(--navy); }
.sw--charcoal { background: var(--charcoal); }
.sw--white { background: var(--white-cw); border-color: var(--border); }
.sw--white.is-active { border-color: var(--brand); }
.sw--pistachio { background: var(--pistachio-shell); }
.stage-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 30px; }

/* ---------- panel ---------- */
.builder__panel { display: flex; flex-direction: column; gap: 16px; }
.panel-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.panel-block h4 { font-size: 16px; margin-bottom: 12px; }

.uploader {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  border: 2px dashed var(--cream-deep); border-radius: var(--r-sm);
  padding: 24px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.uploader:hover, .uploader.is-drag { border-color: var(--brand); background: var(--brand-haze); }
.uploader__icon { font-size: 28px; font-family: var(--font-display); color: var(--brand); line-height: 1; }
.uploader__label { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.uploader__hint { font-size: 12px; color: var(--text-muted); }

.text-add { display: flex; gap: 8px; }
.field {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
}
.field:focus { outline: none; border-color: var(--brand); }
.text-add .field { flex: 1; }

.layer-controls { border-color: var(--brand); }
.ctrl { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; }
.ctrl > span:first-child { width: 54px; color: var(--text-muted); }
.ctrl input[type="range"] { flex: 1; accent-color: var(--brand); }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tsw { width: 26px; height: 26px; border-radius: var(--r-full); border: 1px solid var(--border); cursor: pointer; padding: 0; }
.tsw:hover { transform: scale(1.12); }
.layer-actions { display: flex; gap: 10px; margin-top: 6px; }
.panel-tip { font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---------- pricing tiers ---------- */
.order { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.tiers { display: block; overflow-x: auto; }
/* price-break table (B2B promo-site style) */
.ptable { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.ptable col.c-qty { width: 27%; }
.ptable col.c-unit { width: 30%; }
.ptable col.c-total { width: 43%; }
.ptable thead th { text-align: left; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted); padding: 15px 22px; border-bottom: 1px solid var(--border); background: var(--brand-haze); }
.ptable thead th.num { text-align: right; }
.ptable__row { cursor: pointer; transition: background 0.15s; }
.ptable__row td { padding: 17px 22px; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--text); }
.ptable__row:last-child td { border-bottom: none; }
.ptable__row:hover { background: var(--band-warm); }
.ptable__row.is-active { background: var(--brand-haze); box-shadow: inset 3px 0 0 var(--brand); }
.ptable__row:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
.ptable__qty { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.ptable__unit { text-align: right; color: var(--text-muted); }
.ptable__total { text-align: right; font-weight: 600; white-space: nowrap; }
.ptable__save { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--oxblood); margin-top: 3px; }

/* ---------- order summary ---------- */
.order__summary {
  position: sticky; top: 88px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px;
}
.order__summary h3 { font-size: 20px; margin-bottom: 16px; }
.sum-rows { margin: 0 0 20px; }
.sum-rows > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.sum-rows dt { color: var(--text-muted); margin: 0; }
.sum-rows dd { margin: 0; font-weight: 600; }
.sum-total { border-bottom: none !important; padding-top: 12px !important; }
.sum-total dt, .sum-total dd { font-family: var(--font-display); font-size: 20px; }
.contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.contact h4 { font-size: 15px; margin-bottom: 2px; }
.order__fine { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
.order__error { font-size: 14px; color: var(--oxblood); background: color-mix(in srgb, var(--oxblood) 10%, transparent); border: 1px solid color-mix(in srgb, var(--oxblood) 35%, transparent); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 12px; text-align: center; }
.order__error[hidden] { display: none; }

/* ---------- faq ---------- */
.s-faq { padding: 64px 0 80px; }
.s-faq__title { text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 600; margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--border); padding: 8px 0; }
.faq summary { font-family: var(--font-display); font-weight: 500; font-size: 17px; padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--text-muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-muted); padding: 0 0 16px; font-size: 15px; }

/* ---------- footer ---------- */
/* ---------- footer (mirrors the main site's s-footer) ---------- */
.s-footer { padding: 32px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.s-footer a { text-decoration: none; color: inherit; }
.s-footer a:hover { text-decoration: underline; }
.s-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr;
  gap: 32px 48px;
  align-items: start;
}
.s-footer__brand .wordmark { font-size: 22px; color: var(--brand); }
.s-footer__tagline { margin: 10px 0 16px; }
/* Instagram follow pill (same gradient treatment as the main site). */
.footer-ig {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 9999px;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  color: #fff !important;
  background: linear-gradient(65deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.28);
  transition: transform .18s var(--ease-luxe), filter .18s ease, box-shadow .18s ease;
}
.s-footer a.footer-ig:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 26px rgba(220, 39, 67, 0.34); }
.footer-ig__glyph { flex: none; }
.s-footer__links { display: flex; flex-direction: column; gap: 10px; }
/* Compact footer contact form (same /api/contact endpoint the homepage uses). */
.s-footer__form { display: flex; flex-direction: column; gap: 8px; max-width: 320px; width: 100%; }
.s-footer__form .s-footer__contact { margin: 0; }
.s-footer__form input,
.s-footer__form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  /* 16px minimum: below that iOS Safari auto-zooms the page when the field is focused. */
  font-size: 16px;
}
.s-footer__form textarea { resize: vertical; min-height: 56px; }
.s-footer__form input:focus,
.s-footer__form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.s-footer__form .is-invalid { border-color: var(--oxblood); outline: 2px solid var(--oxblood); outline-offset: 1px; }
.s-footer__form .btn { align-self: flex-start; }
.s-footer__form-error { margin: 0; color: var(--oxblood); font-size: 13px; font-weight: 600; }
.s-footer__form-success { margin: 0; color: var(--text-muted); font-size: 14px; }
.s-footer__legal {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 820px) {
  .s-footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(33, 28, 24, 0.55); backdrop-filter: blur(4px); }
.modal__card { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 32px; width: min(620px, 94vw); max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.modal__x { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--text-muted); }
.modal__lead { color: var(--text-muted); font-size: 15px; margin: 6px 0 18px; }
.modal__proof img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--border); }
.modal__json { margin-top: 18px; }
.modal__json-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.modal__json pre { background: #211c18; color: #f0e9d8; border-radius: var(--r-sm); padding: 16px; font-size: 12px; overflow: auto; max-height: 240px; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .s-steps__grid { grid-template-columns: 1fr; }
  .builder, .order { grid-template-columns: 1fr; }
  .builder__stage, .order__summary { position: static; }
}
/* Phones: the product photo has wide margins around the card, so zoom the canvas
   in (CSS transform keeps pointer math correct via getBoundingClientRect) and
   crop the excess with overflow:hidden. Handles scale up with it, so touch
   targets grow too. */
@media (max-width: 640px) {
  .canvas-wrap { overflow: hidden; padding: 10px; }
  #cardCanvas { transform: scale(1.4); transform-origin: 50% 50%; }
  .canvas-drop { inset: 10px; }
  .s-builder { padding-top: 26px; }
  .s-builder__sub { font-size: 15px; }
  .stage-note { margin-top: 22px; }
}
@media (max-width: 480px) {
  .s-hero__proof { gap: 26px; }
  .ptable thead th, .ptable__row td { padding: 13px 12px; font-size: 14px; }
  .ptable__qty { font-size: 16px; }
  .ptable__total { white-space: normal; }
  .ptable__save { font-size: 10px; letter-spacing: 0.02em; }
  .panel-block { padding: 16px; }
}

/* ============ SORORITY / CHAPTER EMBLEMS MARQUEE ============ */
.s-emblems { background: var(--cream); overflow: hidden; padding: 34px 0; }
.emblems__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-cream); opacity: 0.72; margin: 0 0 22px; }
.emblems { overflow: hidden; }
.emblems__track { display: flex; width: max-content; animation: voro-emblems 44s linear infinite; }
.s-emblems:hover .emblems__track { animation-play-state: paused; }
.emblems__group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.emblem { flex: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 36px); line-height: 1; color: var(--brand); letter-spacing: 0.04em; padding: 4px 2px; }
@keyframes voro-emblems { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .emblems__track { animation: none; } .emblems { overflow-x: auto; } }

/* ============ SETUP-FEE WAIVER + ORDER NOTICE ============ */
.setup-badge { display: inline-flex; align-items: center; gap: 9px; margin: 16px 0 0; font-size: 14px; font-weight: 500; color: var(--brand-ink); background: color-mix(in srgb, var(--oxblood) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--oxblood) 28%, transparent); border-radius: var(--r-full); padding: 8px 16px 8px 8px; }
.setup-badge span { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--oxblood); border-radius: var(--r-full); padding: 4px 10px; }
.sum-setup s { color: var(--text-muted); }
.sum-setup strong { color: var(--oxblood); }
.sum-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--oxblood); background: color-mix(in srgb, var(--oxblood) 12%, transparent); padding: 2px 7px; border-radius: var(--r-full); margin-left: 4px; vertical-align: middle; }
.order__notice { background: var(--band-warm); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--text); margin-bottom: 18px; }
.order__notice strong { color: var(--brand); }
.order__notice a { color: var(--oxblood); font-weight: 600; text-decoration: none; }

/* ---------- sticker flood-color picker ---------- */
.fsw { width: 30px; height: 30px; border-radius: var(--r-full); border: 1px solid var(--border); cursor: pointer; padding: 0; box-shadow: 0 1px 3px rgba(34, 28, 23, 0.12); }
.fsw:hover { transform: scale(1.1); }
.fsw.is-active { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- sticker flood: custom color picker + hex ---------- */
.flood-custom { display: flex; gap: 12px; margin-top: 14px; align-items: center; }
.flood-picker { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 13px; color: var(--text-muted); }
.flood-picker input[type="color"] { width: 30px; height: 30px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-full); background: none; cursor: pointer; }
.flood-picker input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.flood-picker input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }
.field--hex { width: 108px; text-transform: uppercase; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; letter-spacing: 0.02em; }

/* ---------- text style pickers (font + color, under Add text) ---------- */
.tfonts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tfont {
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 15px; line-height: 1; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.tfont:hover { border-color: var(--brand); }
.tfont.is-active { border-color: var(--brand); background: var(--brand-haze); box-shadow: 0 0 0 1px var(--brand); }
.tcolors { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.tcw {
  width: 30px; height: 30px; border-radius: var(--r-full);
  border: 1px solid var(--border); cursor: pointer; padding: 0;
  box-shadow: 0 1px 3px rgba(34, 28, 23, 0.12);
}
.tcw:hover { transform: scale(1.1); }
.tcw.is-active { outline: 2px solid var(--brand); outline-offset: 2px; }
.tcw--auto {
  width: auto; padding: 0 12px; font-family: var(--font-display);
  font-size: 12px; font-weight: 600; background: var(--surface); color: var(--text);
}
.tcw-custom { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.tcw-custom input[type="color"] {
  width: 30px; height: 30px; padding: 0; border: 1px solid var(--border);
  border-radius: var(--r-full); background: none; cursor: pointer;
}
.tcw-custom input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.tcw-custom input[type="color"]::-webkit-color-swatch { border: none; border-radius: var(--r-full); }
.text-style-hint { margin-top: 10px; font-size: 12.5px; color: var(--text-muted); }
