/* BeautyTrack · demo — dirección «Portada»
   El salón como una revista de moda: titulares en Didone (Bodoni Moda) con mucho aire, texto en Jost,
   papel crema y tinta cálida, un único acento por subsector. Las fotos se sustituyen por arcos de espejo
   y texturas. El panel se lee como un sumario; la web de reservas, como una app de lujo. */
:root {
  --brand: #a8243a;            /* acento del salón (cereza en uñas, ciruela en pestañas, coñac en peluquería, salvia en estética) */
  --on-brand: #fbf8f3;
  --brand-text: var(--brand);
  --brand-soft: color-mix(in srgb, var(--brand) 10%, var(--surface));
  --brand-ink: color-mix(in srgb, var(--brand) 78%, #1d1714);

  --bg: #f3ede4;               /* papel crema */
  --surface: #fbf8f3;
  --field: #fffdf9;
  --tone: #ebe3d7;
  --tone-2: #e0d5c5;
  --line: #ddd2c2;
  --line-2: #e9e1d5;
  --text: #1d1714;             /* tinta cálida */
  --muted: #6c6158;
  --ink: #1d1714;
  --ink-2: #2d2521;
  --ink-muted: #b6aa9c;
  --gold: #c9a24f;

  --ok: #3e6a3c;   --ok-bg: #dfe7d4;
  --warn: #8a5a0e; --warn-bg: #f0e1bf;
  --bad: #9e2430;  --bad-bg: #f3dad4;
  --info: #36536b; --info-bg: #dce3e7;
  --wa: #2f7d4f;

  --r: 3px;
  --shadow-lg: 0 28px 70px rgba(29, 23, 20, .22);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top: var(--erma-h, 0px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.5 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.noscroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small, small { font-size: 13px; }
.grow { flex: 1; }
.nowrap { white-space: nowrap; }
.t-bad { color: var(--bad); font-style: normal; font-weight: 500; }
.t-bad .ic { width: 14px; height: 14px; vertical-align: -2px; }
.t-ok { color: var(--ok); }
.center { justify-content: center; text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap, .wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.num, time, .tbl { font-variant-numeric: lining-nums; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-weight: 500; font-size: 14px; letter-spacing: .01em; white-space: nowrap; transition: background .18s, border-color .18s, color .18s, transform .1s; }
.btn:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fbf8f3; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--tone); color: var(--text); }
.btn.danger-ghost { color: var(--bad); background: transparent; border-color: transparent; }
.btn.danger-ghost:hover { background: var(--bad-bg); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { background: #256a42; border-color: #256a42; }
.btn.light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.xs { height: 28px; padding: 0 11px; font-size: 12.5px; }
.btn.big { height: 52px; padding: 0 24px; font-size: 15.5px; }
.btn .ic { width: 16px; height: 16px; }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(2px); }
.btn .ic { transition: transform .2s var(--ease); }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); flex: none; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--tone); color: var(--text); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); font-weight: 500; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.link:hover { text-decoration-color: currentColor; }
.link .ic { width: 15px; }
.link-like { border: 0; background: none; padding: 0; text-align: left; }
.link-btn { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: none; color: var(--brand-text); font-weight: 500; font-size: 14px; padding: 10px; }

/* ---------- etiquetas ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 99px; background: var(--tone); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.brand { background: var(--brand-soft); color: var(--brand-text); }
.badge.muted { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 14px; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.chip b { font-size: 12px; font-weight: 500; color: var(--muted); }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip.on b { color: var(--ink-muted); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--tone); font-size: 12px; font-weight: 500; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 4px; border-radius: 99px; background: var(--tone); font-size: 13px; }

/* ---------- avatares: monograma en Didone ---------- */
.av { --h: 330; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; background: hsl(var(--h) 26% 86%); color: hsl(var(--h) 32% 24%); font: italic 500 14px/1 var(--serif); letter-spacing: .02em; }
.av.xs { width: 24px; height: 24px; font-size: 10.5px; }
.av.sm { width: 30px; height: 30px; font-size: 12px; }
.av.lg { width: 56px; height: 56px; font-size: 20px; }
.av.xl { width: 92px; height: 92px; font-size: 32px; }
.row .av.xs + .av.xs { margin-left: -7px; box-shadow: 0 0 0 2px var(--surface); }

/* ---------- formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--field); outline: none; transition: border-color .15s; }
input:not([type=checkbox]):not([type=radio]):hover, select:hover, textarea:hover { border-color: var(--tone-2); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--text) !important; }
.input-sm { width: auto !important; min-height: 34px !important; padding: 5px 10px !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span2 { grid-column: span 2; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label { position: relative; }
.days input { position: absolute; opacity: 0; pointer-events: none; }
.days span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--field); font-size: 13.5px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.days input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.days input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.search { position: relative; flex: 1 1 260px; max-width: 400px; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; }
.search input { padding-left: 36px !important; border-radius: 99px !important; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .2s var(--ease), box-shadow .2s; }
.sw:hover { transform: scale(1.08); }
.sw.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--text); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--tone-2); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled { cursor: default; }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; }
.sw-row + .sw-row { border-top: 1px solid var(--line-2); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--tone); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; font-size: 14px; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.seg button.on { background: var(--ink); color: var(--surface); }
.seg.full { display: flex; width: 100%; }
.seg.full > * { flex: 1; }

/* ---------- panel de la jefa: sumario lateral ---------- */
.admin { display: grid; grid-template-columns: 252px 1fr; min-height: calc(100dvh - var(--top)); background: linear-gradient(to right, var(--surface) 251px, var(--line) 251px 252px, transparent 252px); }
.side { position: sticky; top: var(--top); height: calc(100dvh - var(--top)); display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
.side-head { display: flex; flex-direction: column; gap: 4px; padding: 26px 22px 20px; }
.side-head small { font: italic 400 14px/1.2 var(--serif); color: var(--muted); }
.side-head b { font: 500 25px/1.05 var(--serif); letter-spacing: -.015em; }
.logo { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: italic 500 15px/1 var(--serif); flex: none; }
.side nav { display: flex; flex-direction: column; padding: 4px 12px; flex: 1; border-top: 1px solid var(--text); margin: 0 10px; }
.side nav a { display: flex; align-items: baseline; gap: 12px; padding: 10px 10px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: 15px; transition: background .15s, padding .2s var(--ease); }
.side nav a i { font: italic 400 13px/1 var(--serif); color: var(--muted); width: 18px; }
.side nav a:hover { background: var(--bg); }
.side nav a.on { color: var(--text); font-weight: 500; padding-left: 16px; box-shadow: inset 2px 0 0 var(--brand); background: var(--bg); }
.side nav a.on i { color: var(--brand-text); }
.side-link { display: flex; align-items: center; gap: 8px; margin: 14px 22px 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); font-size: 14px; transition: border-color .15s; }
.side-link .ic { color: var(--brand-text); width: 16px; }
.side-link:hover { border-color: var(--text); }
.nb { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: 500 11.5px/20px var(--sans); text-align: center; align-self: center; }
.side-foot { padding: 14px 22px 18px; color: var(--muted); font: italic 400 14px/1 var(--serif); }
.side-back { display: none; }
.main { min-width: 0; }
.top { position: sticky; top: var(--top); z-index: 20; display: flex; align-items: flex-end; gap: 12px; padding: 22px 40px 16px; background: var(--bg); }
.top-t { flex: 1; min-width: 0; }
.top-t small { display: block; font: italic 400 15px/1.2 var(--serif); color: var(--muted); margin-bottom: 2px; }
.top-t small::first-letter { text-transform: uppercase; }
.top h1 { font-size: 44px; font-weight: 400; letter-spacing: -.025em; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 8px; padding-bottom: 2px; }
.content { padding: 4px 40px 56px; display: flex; flex-direction: column; gap: 22px; max-width: 1420px; }
.content::before { content: ""; display: block; height: 1px; background: var(--text); margin-bottom: 2px; order: -1; }
.only-sm { display: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h.pad { padding: 18px 20px 4px; }
.card-h h3, .card > h3 { font-size: 22px; }
.box { border-top: 1px solid var(--text); padding: 14px 0 4px; min-width: 0; }
.box h4, .mbody h4, .card h4 { font: italic 500 17px/1.2 var(--serif); margin-bottom: 10px; }
h3.sec { font-size: 26px; font-weight: 400; margin: 14px 0 -6px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.note { display: block; padding: 13px 16px; background: var(--tone); color: var(--ink-2); font-size: 14px; border-radius: var(--r); }
.note .ic { color: var(--brand-text); width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.note.small { font-size: 13px; padding: 10px 13px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px; color: var(--muted); text-align: center; font: italic 400 16px/1.3 var(--serif); }
.empty .ic { width: 26px; height: 26px; opacity: .45; }
.toolbar { display: flex; align-items: center; gap: 10px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r); }
.alert.bad { background: var(--bad-bg); color: #6f1720; }
.alert.warn { background: var(--warn-bg); color: #5f3e08; }
.alert.sm { padding: 8px 11px; align-items: center; font-size: 13.5px; }
.alert .ic { margin-top: 2px; }
.alert b, .alert small { display: block; }

/* ---------- inicio: portada del día ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: stretch; padding: 6px 0 24px; border-bottom: 1px solid var(--line); }
.cover-main { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-width: 0; }
.kicker { font: italic 400 18px/1.2 var(--serif); color: var(--muted); }
.lead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lead b { font: 400 clamp(110px, 13vw, 184px)/.8 var(--serif); letter-spacing: -.05em; }
.lead span { font: italic 400 clamp(32px, 3.4vw, 46px)/1 var(--serif); color: var(--brand-text); }
.lead-sub { font-size: 16px; color: var(--ink-2); max-width: 460px; }
.lead-sub b { font-weight: 600; }
a.cover-main:hover .lead span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.cover-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cover-side .card-h { margin-bottom: 4px; }
.cover-side h3 { font-size: 20px; }
.arches { display: flex; gap: 12px; align-items: flex-end; height: 196px; }
.arch { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.arch-f { position: relative; flex: 1; border-radius: 999px 999px 0 0; background: var(--tone); overflow: hidden; }
.arch-f span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--o) * 100%); background: var(--brand); transform-origin: bottom; }
.arch-f span::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .22; mix-blend-mode: multiply; }
.arch.low .arch-f { box-shadow: inset 0 0 0 1px var(--brand); background: var(--surface); }
.arch.low .arch-f span { background: color-mix(in srgb, var(--brand) 30%, var(--surface)); }
.arch em { font: 400 20px/1 var(--serif); font-style: normal; text-align: center; }
.arch small { font-size: 12.5px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-top: -8px; }
.kline > * { display: flex; flex-direction: column; gap: 2px; padding: 4px 22px 18px; min-width: 0; }
.kline > * + * { border-left: 1px solid var(--line); }
.kline > :first-child { padding-left: 0; }
.kline small { color: var(--muted); }
.kline b { font: 400 36px/1.05 var(--serif); letter-spacing: -.02em; }
.kline span { font-size: 13px; color: var(--muted); }
a.kline-a:hover b, .kline a:hover b { color: var(--brand-text); }
.pull { margin: 0; padding: 4px 0 4px 64px; position: relative; max-width: 880px; }
.pull::before { content: "“"; position: absolute; left: 0; top: -14px; font: 400 104px/1 var(--serif); color: var(--brand-text); }
.pull p { font: italic 400 32px/1.15 var(--serif); letter-spacing: -.015em; }
.pull p b { font-style: normal; font-weight: 500; }
.pull footer { margin-top: 10px; color: var(--muted); font-size: 14px; }
.card.attn { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.kpi-i { display: none; }
.kpi-l { color: var(--muted); font-size: 13px; }
.kpi-v { font: 400 32px/1.1 var(--serif); }
.kpi-s { color: var(--muted); font-size: 13px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); border-top: 1px solid var(--line); }
.stats-row > div { padding: 10px 14px 4px 0; min-width: 0; }
.stats-row > div + div { padding-left: 14px; border-left: 1px solid var(--line-2); }
.stats-row b { display: block; font: 400 26px/1.1 var(--serif); letter-spacing: -.01em; }
.stats-row small { color: var(--muted); font-size: 12.5px; }
.stats-row.sm b { font-size: 19px; white-space: nowrap; }
.hero-save { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--ink); color: var(--surface); border: 0; }
.hero-save > .ic { width: 30px; height: 30px; color: var(--gold); }
.hero-save b { display: block; font: 400 30px/1.1 var(--serif); letter-spacing: -.015em; }
.hero-save span { color: var(--ink-muted); }
.reqs li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.reqs li:last-child { border: 0; padding-bottom: 0; }
.reqs li > div:nth-child(2) { flex: 1; min-width: 0; }
.n-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.n-top small { color: var(--muted); }
.req-a { display: flex; gap: 6px; flex-wrap: wrap; }
.agenda li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: padding .2s var(--ease); }
.agenda li:hover { padding-left: 6px; }
.agenda li:last-child { border: 0; }
.agenda time { width: 54px; font: 400 19px/1 var(--serif); }
.agenda div { flex: 1; min-width: 0; }
.agenda b, .agenda small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda b { font-weight: 500; }
.agenda small { color: var(--muted); }
.agenda li.done { opacity: .45; }
.agenda li.next time { color: var(--brand-text); }
.agenda li.next b::after { content: " · la siguiente"; font-weight: 400; color: var(--brand-text); font-size: 13px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 18px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; }
.bar span { width: 100%; max-width: 40px; border-radius: 99px 99px 0 0; background: var(--brand); min-height: 3px; transform-origin: bottom; }
.bar.low span { background: color-mix(in srgb, var(--brand) 32%, var(--surface)); }
.bar em { position: absolute; top: -2px; font: 400 13px/1 var(--serif); color: var(--muted); }
.bar small { margin-top: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.feed li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.feed li:last-child { border: 0; }
.feed .ic { color: var(--brand-text); margin-top: 3px; width: 16px; height: 16px; }
.feed span { display: block; }
.feed small { color: var(--muted); font: italic 400 13px/1.3 var(--serif); }

/* ---------- agenda por profesional ---------- */
.mnav { display: flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.mnav b { min-width: 210px; text-align: center; font: 500 16px/1 var(--serif); }
.week-mini { display: flex; gap: 4px; margin-left: auto; }
.week-mini button { position: relative; display: flex; flex-direction: column; align-items: center; width: 50px; padding: 6px 0 10px; border: 1px solid var(--line); border-radius: 99px 99px var(--r) var(--r); background: var(--surface); line-height: 1.15; overflow: hidden; transition: border-color .15s; }
.week-mini button:hover { border-color: var(--text); }
.week-mini small { color: var(--muted); font-size: 11.5px; }
.week-mini b { font: 400 18px/1.1 var(--serif); }
.week-mini i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--o) * 100%); background: var(--brand); }
.week-mini button.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.week-mini button.on small { color: var(--ink-muted); }
.week-mini button.closed { opacity: .4; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: -8px; vertical-align: -1px; }
.lg.web { background: hsl(330 26% 88%); box-shadow: inset 3px 0 0 hsl(330 34% 40%); }
.lg.pend { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn); }
.lg.done { background: var(--tone); }
.lg.brk { background: repeating-linear-gradient(-45deg, var(--tone) 0 3px, var(--surface) 3px 6px); }
.ag-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ag { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(170px, 1fr)); min-width: max-content; padding-bottom: 12px; }
.ag-corner, .ag-h { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--text); }
.ag-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-left: 1px solid var(--line-2); }
.ag-h b, .ag-h small { display: block; }
.ag-h b { font: 500 17px/1.1 var(--serif); }
.ag-h small { color: var(--muted); }
.ag-times { position: relative; margin-top: 10px; }
.ag-times span { position: absolute; right: 9px; transform: translateY(-50%); font: 400 12.5px/1 var(--serif); color: var(--muted); }
.ag-col { position: relative; margin-top: 10px; border-left: 1px solid var(--line-2); cursor: copy; background-image: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 45px); }
.ag-col.off { cursor: default; background: repeating-linear-gradient(-45deg, var(--surface) 0 8px, var(--bg) 8px 16px); }
.ag-off { position: sticky; top: 100px; padding: 22px 12px; text-align: center; color: var(--muted); font: italic 400 15px/1.3 var(--serif); }
.ag-appt { --h: 330; position: absolute; left: 4px; right: 4px; display: flex; flex-direction: column; gap: 1px; padding: 5px 9px; border: 0; border-radius: 2px; box-shadow: inset 3px 0 0 hsl(var(--h) 34% 40%); background: hsl(var(--h) 26% 89%); color: hsl(var(--h) 30% 18%); text-align: left; font-size: 12px; overflow: hidden; cursor: pointer; transition: filter .15s, transform .15s var(--ease); }
.ag-appt:hover { filter: brightness(.96); transform: translateX(2px); z-index: 3; }
.ag-appt b { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-appt .flag { width: 13px; height: 13px; color: var(--gold); }
.ag-appt .flag.bad { color: var(--bad); }
.ag-appt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .82; }
.ag-appt em { font-style: italic; font-family: var(--serif); font-size: 12px; color: var(--warn); }
.ag-appt.tiny { flex-direction: row; align-items: center; gap: 6px; padding: 1px 9px; }
.ag-appt.tiny span { display: none; }
.ag-appt.pendiente { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn); color: #5f3e08; }
.ag-appt.completada { background: var(--tone); box-shadow: inset 3px 0 0 var(--tone-2); color: var(--muted); }
.ag-appt.no-show { background: var(--bad-bg); box-shadow: inset 3px 0 0 var(--bad); color: #6f1720; text-decoration: line-through; }
.ag-brk { position: absolute; left: 4px; right: 4px; display: grid; place-items: center; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--bg) 0 6px, var(--tone) 6px 12px); color: var(--muted); font: italic 400 13px/1 var(--serif); cursor: default; }
.ag-brk.blk { background: repeating-linear-gradient(-45deg, var(--info-bg) 0 6px, #cdd7dd 6px 12px); color: var(--info); cursor: pointer; }
.ag-now { position: absolute; left: 0; right: 0; height: 1px; background: var(--brand); z-index: 2; pointer-events: none; }
.ag-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- tablas ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; padding: 12px 18px 10px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--text); }
.tbl td { padding: 11px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl.hover tbody tr { cursor: pointer; transition: background .12s; }
.tbl.hover tbody tr:hover { background: var(--bg); }
.tbl .c { text-align: center; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who b, .who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.who b { font-weight: 500; }
.who small { color: var(--muted); }
.mini-stamps { display: inline-flex; gap: 3px; vertical-align: middle; }
.mini-stamps i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--tone-2); }
.mini-stamps i.on { background: var(--brand); box-shadow: none; }
.mini-stamps.big i { width: 20px; height: 20px; }
.people li, .mini li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.mini li:last-child { border: 0; }
.mini li { font-size: 14px; }
.mini li .ic { color: var(--brand-text); width: 16px; }
.mini li > span { flex: 1; }
.mini li small { color: var(--muted); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.dl.sm { font-size: 13.5px; gap: 3px 10px; }
.ficha-head { display: flex; align-items: center; gap: 16px; }
.ficha-head h2 { font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.ficha-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- equipo, promociones y automatizaciones: columnas de revista ---------- */
.gcards { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.gcard { display: flex; flex-direction: column; gap: 14px; }
.gcard .who b { font: 500 21px/1.1 var(--serif); }
.gc-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.autos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 32px; }
.autos .card.auto { background: transparent; border: 0; border-top: 1px solid var(--text); border-radius: 0; padding: 16px 0 18px; }
.auto { display: flex; flex-direction: column; gap: 10px; transition: opacity .2s; }
.auto:not(.on) { opacity: .62; }
.auto-h { display: flex; align-items: center; gap: 12px; }
.auto-h b { flex: 1; font: 500 20px/1.15 var(--serif); }
.auto-i { display: grid; place-items: center; width: 22px; color: var(--brand-text); flex: none; }
.auto-i .ic { width: 20px; height: 20px; }
.auto p { color: var(--ink-2); font-size: 14px; flex: 1; }
.auto-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.auto-f .muted { font: italic 400 14px/1.3 var(--serif); }
.auto-f .ic { width: 14px; vertical-align: -2px; }
.p-tag { display: inline-grid; place-items: center; min-width: 58px; height: 58px; padding: 0 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-text); font: italic 500 16px/1 var(--serif); flex: none; text-align: center; transition: background .2s, color .2s; }
.auto.on .p-tag { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.integ { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; }
.integ-c { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.integ-c > .ic { width: 22px; height: 22px; color: var(--muted); margin-top: 3px; }
.integ-c.on > .ic { color: var(--brand-text); }
.integ-c > div { flex: 1; }
.integ-c b { font: 500 18px/1.2 var(--serif); }
.integ-c p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.integ-c.on .btn { color: var(--ok); }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.qr-wrap > b { font: 500 17px/1.2 var(--serif); overflow-wrap: anywhere; }
.qrbox { padding: 14px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); min-width: 200px; min-height: 200px; display: grid; place-items: center; }
.qrbox img, .qrbox canvas { display: block; }

/* ---------- modal ---------- */
#modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
#modal.open { display: flex; }
.mback { position: absolute; inset: 0; background: rgba(29, 23, 20, .5); animation: fade .2s; }
.mbox { position: relative; width: 100%; max-width: 540px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: 6px; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.mbox.wide { max-width: 800px; }
.mbox > header { display: flex; align-items: center; gap: 10px; padding: 20px 22px 12px; border-bottom: 1px solid var(--line-2); }
.mbox > header h3 { flex: 1; font-size: 28px; font-weight: 400; }
.mbody { padding: 16px 22px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.mbox > footer { display: flex; align-items: center; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }

/* ---------- avisos ---------- */
#toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); transition: opacity .3s, transform .3s; }
.toast .ic { color: #9fc79a; }
.toast.bad .ic { color: #f0a59a; }
.toast.gift { background: var(--brand); color: var(--on-brand); }
.toast.gift .ic { color: var(--gold); }
.toast.out { opacity: 0; transform: translateY(8px); }
body[data-role=cliente] #toasts, body[data-role=pro] #toasts { bottom: 100px; }

/* ---------- portada de la demo: portada de revista ---------- */
.welcome { min-height: calc(100dvh - var(--top)); background: var(--bg); }
.w-hero { padding: 26px 48px 44px; }
.w-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.w-mast span { font: 500 clamp(64px, 12.5vw, 196px)/.82 var(--serif); letter-spacing: -.045em; margin-left: -.04em; }
.w-mast small { max-width: 220px; padding-bottom: 12px; text-align: right; font: italic 400 16px/1.3 var(--serif); color: var(--muted); }
.w-cover { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, .9fr); gap: 40px; padding-top: 30px; align-items: end; }
.w-lines { display: flex; flex-direction: column; gap: 20px; }
.w-lines h1 { font-size: clamp(36px, 4.2vw, 62px); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; }
.w-lines h1 em { color: var(--brand-text); }
.w-lines p { font-size: 17px; color: var(--ink-2); max-width: 470px; }
.w-show { position: relative; aspect-ratio: 3 / 4.2; }
.w-arch { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--brand); overflow: hidden; transition: background .3s; }
.w-arch::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .3; mix-blend-mode: multiply; }
.w-arch::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: repeating-linear-gradient(90deg, transparent 0 9px, color-mix(in srgb, var(--on-brand) 22%, transparent) 9px 10px); }
.w-arch span { position: absolute; inset: 18px 18px 0; border-radius: 999px 999px 0 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 55%, transparent); }
/* el móvil asoma desde la base del arco */
.w-phone { position: absolute; left: 50%; bottom: 0; width: 64%; height: 78%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 0; border: 6px solid var(--ink); border-bottom: 0; border-radius: 30px 30px 0 0; background: var(--bg); overflow: hidden; font-size: 10px; line-height: 1.3; box-shadow: 0 -10px 40px rgba(29, 23, 20, .25); }
.wp-head { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.wp-head i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: italic 500 8px/1 var(--serif); flex: none; }
.wp-head b { font: 500 11px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-step { display: flex; align-items: baseline; justify-content: space-between; }
.wp-step span { color: var(--muted); font-size: 9px; }
.wp-step b { font: 400 16px/1 var(--serif); }
.wp-list { border-top: 1px solid var(--text); }
.wp-list li { padding: 6px 2px; border-bottom: 1px solid var(--line-2); }
.wp-list li span { display: flex; align-items: baseline; gap: 4px; }
.wp-list li b { font: 500 10.5px/1.15 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wp-list li i { flex: 1; min-width: 8px; border-bottom: 1px dotted var(--tone-2); }
.wp-list li em { font-style: normal; font-weight: 500; white-space: nowrap; }
.wp-list li small { font-size: 9px; color: var(--muted); }
.wp-list li.on { background: var(--surface); box-shadow: inset 2px 0 0 var(--brand); padding-left: 7px; }
.wp-slots { display: flex; gap: 4px; }
.wp-slots span { flex: 1; text-align: center; padding: 4px 0; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; }
.wp-slots span.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.wp-cta { margin-top: auto; margin-bottom: 10px; padding: 7px 0; border-radius: 99px; background: var(--brand); color: var(--on-brand); text-align: center; font-weight: 500; }
/* citas que entran solas, por encima del borde del arco */
.w-appt { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; width: max-content; max-width: 250px; padding: 9px 13px 9px 10px; border-radius: 14px; background: var(--surface); box-shadow: 0 14px 34px rgba(29, 23, 20, .2); font-size: 12.5px; line-height: 1.3; }
.w-appt > .ic { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.w-appt b, .w-appt small { display: block; }
.w-appt b { font: 500 14px/1.2 var(--serif); }
.w-appt small { color: var(--muted); font-size: 11.5px; }
.w-appt.a1 { left: -24%; top: 9%; }
.w-appt.a2 { right: -7%; top: 46%; }
.w-appt.a2 > .ic { background: var(--ink); color: var(--gold); }
.w-appt.a3 { left: -18%; bottom: 5%; }
.w-appt.a3 > .ic { background: var(--gold); color: var(--ink); }
.w-points { display: flex; flex-direction: column; }
.w-points li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.w-points li:first-child { border-top-color: var(--text); }
.w-points b { font: italic 500 21px/1.15 var(--serif); }
.w-points span { color: var(--muted); font-size: 14.5px; }
.w-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding: 40px 48px 72px; border-top: 1px solid var(--line); }
.w-index h2, .w-card h2 { font-size: 34px; font-weight: 400; }
.w-index > p { margin: 4px 0 18px; font: italic 400 17px/1.3 var(--serif); }
.roles { display: flex; flex-direction: column; }
.role { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 20px 4px; border-top: 1px solid var(--line); transition: background .2s, padding .25s var(--ease); }
.role:first-child { border-top-color: var(--text); }
.role:last-child { border-bottom: 1px solid var(--line); }
.role i { font: italic 400 30px/1 var(--serif); color: var(--brand-text); }
.role b { display: block; font: 500 25px/1.1 var(--serif); letter-spacing: -.01em; }
.role small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.role > .ic { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.role:hover { background: var(--surface); padding-left: 14px; padding-right: 14px; }
.role:hover > .ic { transform: translateX(4px); color: var(--brand-text); }
.w-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); align-self: start; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.type { display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 2px 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--field); text-align: left; transition: border-color .15s; }
.type i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.type b { font: 500 17px/1.15 var(--serif); }
.type small { grid-column: 2; color: var(--muted); font-size: 12.5px; }
.type:hover { border-color: var(--tone-2); }
.type.on { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }

/* ---------- app móvil (clienta / profesional) ---------- */
body[data-role=cliente], body[data-role=pro] { background: var(--tone); }
.mob { max-width: 480px; margin: 0 auto; min-height: calc(100dvh - var(--top)); background: var(--bg); padding-bottom: 112px; }
.mhead { position: sticky; top: var(--top); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.mh-t { flex: 1; min-width: 0; }
.mh-t b, .mh-t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-t b { font: 500 18px/1.15 var(--serif); }
.mh-t small { color: var(--muted); }
.who-sel { width: 140px !important; min-height: 34px !important; padding: 4px 10px !important; font-size: 13px; border-radius: 99px !important; border-style: dashed !important; background: transparent !important; }
.mcontent { padding: 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.tabbar { position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(456px, calc(100% - 24px)); z-index: 30; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 6px; border-radius: 99px; background: var(--ink); box-shadow: 0 14px 34px rgba(29, 23, 20, .28); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; font-size: 11.5px; color: var(--ink-muted); border-radius: 99px; transition: color .2s, background .2s; }
.tabbar a .ic { width: 21px; height: 21px; }
.tabbar a:hover { color: var(--surface); }
.tabbar a.on { color: var(--surface); background: var(--ink-2); }
.tabbar a.on::after { content: ""; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.tabbar .nb { position: absolute; top: 1px; right: 18%; }
.hello { font-size: 44px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.hello small { display: block; font: italic 400 15px/1.3 var(--serif); color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.hello small::first-letter { text-transform: uppercase; }
.hello em { color: var(--brand-text); }
.hero-salon { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 22px 22px; border-radius: 22px; color: var(--on-brand); background: var(--brand); overflow: hidden; }
.hero-salon::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .25; mix-blend-mode: multiply; pointer-events: none; }
.hs-arch { position: absolute; right: -26px; top: 20px; width: 132px; height: 190px; border-radius: 999px 999px 0 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 45%, transparent); pointer-events: none; }
.hs-arch span { position: absolute; inset: 12px 12px 0; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--on-brand) 12%, transparent); }
.hero-salon > * { position: relative; }
.hero-salon > .hs-arch { position: absolute; }
.hs-top { padding-right: 90px; }
.hs-top b { display: block; font: 400 38px/1 var(--serif); letter-spacing: -.025em; margin-bottom: 10px; }
.hs-top span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; opacity: .9; }
.hs-top .ic { width: 14px; fill: var(--gold); color: var(--gold); }
.hero-salon p { opacity: .92; font-size: 15.5px; padding-right: 30px; }
.hero-salon .btn { align-self: flex-start; margin-top: 4px; }
.cta-book { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; border: 0; border-radius: 18px; background: var(--ink); color: var(--surface); text-align: left; transition: transform .2s var(--ease); }
.cta-book:active { transform: scale(.99); }
.cta-book > .ic:first-child { width: 24px; height: 24px; color: var(--gold); }
.cta-book > span { flex: 1; }
.cta-book b, .cta-book small { display: block; }
.cta-book b { font: 500 19px/1.2 var(--serif); }
.cta-book small { color: var(--ink-muted); }
.cta-book > .ic:last-child { transition: transform .2s var(--ease); }
.cta-book:hover > .ic:last-child { transform: translateX(3px); }
.cta-book.soft { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.cta-book.soft > .ic:first-child { color: var(--brand-text); }
.cta-book.soft small { color: var(--muted); }
.next-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.next-card.pendiente { border-style: dashed; border-color: var(--warn); }
.nc-top { display: flex; justify-content: space-between; align-items: center; font: italic 400 15px/1.2 var(--serif); color: var(--muted); }
.nc-when b { display: block; font: 400 48px/.95 var(--serif); letter-spacing: -.035em; }
.nc-when span { display: block; margin-top: 6px; color: var(--ink-2); }
.nc-what { display: flex; align-items: center; gap: 12px; padding: 12px 0 0; border-top: 1px solid var(--line-2); }
.nc-what b, .nc-what small { display: block; }
.nc-what b { font-weight: 500; }
.nc-what small { color: var(--muted); }
.nc-act { display: flex; gap: 6px; flex-wrap: wrap; }
.promo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.promo > .ic:first-child { color: var(--brand-text); width: 22px; height: 22px; }
.promo div { flex: 1; min-width: 0; }
.promo b, .promo small { display: block; }
.promo b { font: 500 18px/1.2 var(--serif); }
.promo small { color: var(--muted); }
.promo .p-tag { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.promo.locked { background: transparent; border-style: dashed; }
.promo.locked .p-tag { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--tone-2); }
.promo.gift { background: color-mix(in srgb, var(--gold) 16%, var(--surface)); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.promo.gift > .ic:first-child { color: #8a6a22; }
.join-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--ink); color: var(--surface); }
.join-card > .ic { width: 26px; height: 26px; color: var(--gold); }
.join-card div { flex: 1; }
.join-card b, .join-card small { display: block; }
.join-card b { font: 500 20px/1.2 var(--serif); }
.join-card small { color: var(--ink-muted); }
.svc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.svc-mini button { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; transition: color .15s; }
.svc-mini button b { font: 500 17px/1.2 var(--serif); }
.svc-mini button:hover b { color: var(--brand-text); }
.svc-mini small { color: var(--muted); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; }
.gallery::-webkit-scrollbar { display: none; }
.look { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 156px; padding: 0 12px 36px; border-radius: 999px 999px 4px 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; scroll-snap-align: start; }
.look::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; }
.look span { position: relative; width: 16px; height: 46px; border-radius: 99px 99px 5px 5px; background: var(--a); box-shadow: inset -3px 0 0 color-mix(in srgb, var(--b) 60%, transparent), inset 0 0 0 1px rgba(29, 23, 20, .08); }
.look span:nth-child(1) { height: 36px; } .look span:nth-child(2) { height: 50px; } .look span:nth-child(3) { height: 54px; } .look span:nth-child(4) { height: 44px; }
.look small { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: italic 400 13px/1.1 var(--serif); color: var(--ink-2); }
.info-card { display: flex; flex-direction: column; gap: 12px; }
.mini-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mini-row .ic { color: var(--brand-text); }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.hours div { display: flex; justify-content: space-between; }
.hours span { color: var(--muted); }
.hours b { font-weight: 500; }

/* ---------- tarjeta de sellos ---------- */
.stamp-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 20px; color: var(--on-brand); background: var(--brand); overflow: hidden; transition: transform .25s var(--ease); }
.stamp-card::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .25; mix-blend-mode: multiply; pointer-events: none; }
.stamp-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 30%, transparent); pointer-events: none; }
.stamp-card > * { position: relative; }
a.stamp-card:hover { transform: translateY(-2px); }
.stamp-card.demo { filter: saturate(.35); opacity: .8; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; }
.sc-top span { font: italic 400 20px/1.1 var(--serif); }
.sc-top b { font: 400 38px/1 var(--serif); letter-spacing: -.02em; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamps i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 50%, transparent); max-width: 52px; justify-self: center; width: 100%; }
.stamps i.on { background: var(--on-brand); color: var(--brand); box-shadow: none; }
.stamps i.last { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.stamps i.last.on { background: var(--gold); color: var(--ink); }
.stamps .ic { width: 50%; height: 50%; }
.sc-foot { font-size: 14px; opacity: .95; }
.sc-foot .ic { width: 16px; vertical-align: -3px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.perks > div { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.perks .ic { color: var(--brand-text); margin-top: 2px; }
.perks b, .perks small { display: block; }
.perks b { font: 500 16px/1.2 var(--serif); }
.perks small { color: var(--muted); }
.ref-card { display: flex; flex-direction: column; gap: 12px; }
.ref-card .row b { font: 500 21px/1.2 var(--serif); }
.ref-card .row .ic { color: var(--brand-text); }
.code { padding: 14px; border: 1px dashed var(--text); border-radius: var(--r); text-align: center; font: 500 26px/1 var(--serif); letter-spacing: .14em; }
.how li { display: flex; gap: 12px; padding: 10px 0; font-size: 14.5px; border-top: 1px solid var(--line-2); }
.how .ic { color: var(--brand-text); }
.up li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.up li:last-child { border-bottom: 1px solid var(--line); }
.up li > div { flex: 1; min-width: 0; }
.up b, .up small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up b { font-weight: 500; }
.up small { color: var(--muted); }
.when.l { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.when.l b { font: 400 26px/1 var(--serif); }
.when.l small { font: italic 400 13px/1.2 var(--serif); }
.profile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 12px 0; }
.profile h2 { font-size: 30px; font-weight: 400; }
.profile small { color: var(--muted); font: italic 400 15px/1.2 var(--serif); }
.center-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 30px 22px; }
.center-card > .ic { width: 30px; height: 30px; color: var(--brand-text); }
.center-card > b { font: 500 22px/1.2 var(--serif); }

/* ---------- reserva paso a paso ---------- */
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper .sp { width: 36px; }
.stepper > b { margin-left: auto; font: 400 26px/1 var(--serif); letter-spacing: -.02em; }
.st-dots { display: flex; align-items: center; gap: 4px; }
.st-dots span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--tone-2); color: var(--muted); font: 400 13px/1 var(--serif); transition: background .25s, color .25s; }
.st-dots span.on { background: var(--ink); color: var(--surface); box-shadow: none; }
.st-dots span.done { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.st-dots span .ic { width: 13px; }
.st-dots i { width: 10px; height: 1px; background: var(--tone-2); }
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--text); }
.svc { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; transition: background .2s, padding .25s var(--ease); }
.svc-n { display: flex; align-items: baseline; gap: 8px; }
.svc-n b { font: 500 19px/1.2 var(--serif); }
.svc-n b em { font: italic 400 13px/1 var(--serif); color: var(--brand-text); margin-left: 4px; }
.svc-n i { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--tone-2); transform: translateY(-4px); }
.svc-n .svc-p { font: 500 17px/1 var(--sans); white-space: nowrap; }
.svc small { color: var(--muted); padding-right: 30px; }
.svc-ok { display: none; position: absolute; right: 2px; bottom: 15px; width: 20px; height: 20px; color: var(--brand-text); }
.svc:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.svc.on { background: var(--surface); padding-left: 16px; padding-right: 12px; box-shadow: inset 2px 0 0 var(--brand); }
.svc.on .svc-ok { display: block; right: 12px; }
.addons { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.addon { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.addon input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.addon span { flex: 1; min-width: 0; }
.addon b, .addon small { display: block; }
.addon b { font-weight: 500; font-size: 14.5px; }
.addon small { color: var(--muted); }
.addon em { font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; }
.addon:has(input:checked) b { color: var(--brand-text); }
.sticky-cta { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 5; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(29, 23, 20, .16); }
.sticky-cta div { flex: 1; }
.sticky-cta b, .sticky-cta small { display: block; }
.sticky-cta b { font: 400 21px/1.1 var(--serif); }
.sticky-cta small { color: var(--muted); }
.pros { display: flex; flex-direction: column; border-top: 1px solid var(--text); }
.pro-card { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; transition: background .2s, padding .25s var(--ease); }
.pro-card > .ic:first-child { width: 56px; height: 56px; padding: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-text); }
.pro-card div { flex: 1; }
.pro-card b, .pro-card small { display: block; }
.pro-card b { font: 500 20px/1.2 var(--serif); }
.pro-card small { color: var(--muted); }
.pro-card > .ic:last-child { color: var(--muted); transition: transform .2s var(--ease); }
.pro-card:hover, .pro-card.on { background: var(--surface); padding-left: 14px; padding-right: 12px; }
.pro-card:hover > .ic:last-child { transform: translateX(3px); color: var(--text); }
.dchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; }
.dchips::-webkit-scrollbar { display: none; }
.dchips button { flex: 0 0 60px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 12px 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); line-height: 1.2; scroll-snap-align: start; transition: background .2s, color .2s, border-color .2s; }
.dchips small { color: var(--muted); font-size: 12px; }
.dchips b { font: 400 24px/1.1 var(--serif); }
.dchips i { font: italic 400 11.5px/1.2 var(--serif); color: var(--ok); }
.dchips button.off { background: transparent; border-style: dashed; }
.dchips button.off b, .dchips button.off i { color: var(--ink-muted); }
.dchips button.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.dchips button.on small, .dchips button.on i { color: var(--ink-muted); }
.day-t { font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.day-t::first-letter { text-transform: uppercase; }
.slot-h { font: italic 400 18px/1 var(--serif); color: var(--muted); margin-bottom: -6px; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot-grid.sm { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 5px; max-height: 196px; overflow-y: auto; }
.tslot { position: relative; height: 46px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.tslot:hover { border-color: var(--text); }
.tslot:active { transform: scale(.97); }
.tslot em { position: absolute; top: -8px; right: -4px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: italic 500 11px/17px var(--serif); }
.slot-grid.sm .tslot { height: 34px; font-size: 13.5px; }
.tslot.busy { color: var(--ink-muted); background: transparent; text-decoration: line-through; }
.tslot.on { background: var(--ink); border-color: var(--ink); color: var(--surface); text-decoration: none; }
.sum-card { display: flex; flex-direction: column; gap: 14px; }
.sum-when { display: flex; align-items: center; gap: 14px; }
.sum-when > .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--brand-text); }
.sum-when > div > b, .sum-when > div > span { display: block; }
.sum-when b { font: 500 18px/1.2 var(--serif); }
.sum-when b::first-letter { text-transform: uppercase; }
.sum-when > div > span { color: var(--muted); font-size: 14px; }
.sum-lines { border-top: 1px solid var(--line-2); padding-top: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14.5px; }
.sum-lines li b { font-weight: 500; }
.sum-lines li.disc { color: var(--ok); }
.sum-lines li.disc .ic { width: 14px; vertical-align: -2px; }
.sum-lines li.tot { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--text); font-size: 15px; align-items: baseline; }
.sum-lines li.tot b { font: 400 30px/1 var(--serif); letter-spacing: -.02em; }
.reward-t { position: relative; display: block; cursor: pointer; }
.reward-t input { position: absolute; opacity: 0; }
.reward-t span { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; padding: 16px; border: 1px dashed var(--gold); border-radius: 18px; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); transition: background .2s; }
.reward-t .ic { grid-row: span 2; width: 26px; height: 26px; color: #8a6a22; align-self: center; }
.reward-t b { font: 500 18px/1.2 var(--serif); }
.reward-t small { color: #6b521a; }
.reward-t input:checked + span { border-style: solid; background: color-mix(in srgb, var(--gold) 26%, var(--surface)); }
.reward-t input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.done-box { display: flex; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; padding-top: 12px; }
.done-ic { align-self: center; display: grid; place-items: center; width: 84px; height: 104px; border-radius: 999px 999px 4px 4px; background: var(--brand); color: var(--on-brand); animation: pop .5s var(--ease); }
.done-ic .ic { width: 34px; height: 34px; }
.done-box h2 { font-size: 38px; font-weight: 400; letter-spacing: -.03em; }
.done-box > p { color: var(--muted); }
.done-box .sum-card { text-align: left; }
.wa-preview { padding: 13px 15px; border-radius: 16px; background: #e3eadb; text-align: left; font-size: 14px; }
.wa-preview small { display: flex; align-items: center; gap: 6px; color: #2f5a35; font-weight: 500; margin-bottom: 6px; }
.wa-preview small .ic { width: 15px; }
.wa-preview p { padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: #fff; }

/* ---------- app de la profesional ---------- */
.pcard { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; }
.pcard.now { border-color: var(--brand); box-shadow: inset 2px 0 0 var(--brand); }
.pcard.done { opacity: .55; }
.pc-h { display: flex; align-items: center; gap: 14px; }
.pc-h time { display: flex; flex-direction: column; align-items: center; min-width: 52px; font: 400 23px/1 var(--serif); }
.pc-h time small { color: var(--muted); font: italic 400 13px/1.4 var(--serif); }
.pc-h b, .pc-h small { display: block; }
.pc-h b { font-weight: 500; }
.pc-h > div small { color: var(--muted); }
.wk-day.today { border-color: var(--text); }
.wk-day .card-h { margin-bottom: 4px; }
.wk-day .card-h h3 { font-size: 19px; }

/* ---------- movimiento: entrada escalonada al cambiar de pantalla ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes stamp { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes ink { from { clip-path: inset(0 100% 0 0); } }
.enter > * { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.enter .arch-f span, .enter .bar span { animation: grow-y 1s var(--ease) both; animation-delay: calc(260ms + var(--d, 0) * 70ms); }
.enter .stamps i.on { animation: stamp .5s var(--ease) both; animation-delay: calc(240ms + var(--d, 0) * 45ms); }
.enter .w-mast span { animation: ink 1.1s cubic-bezier(.65, 0, .2, 1) both; }
.enter .w-arch { animation: rise 1s var(--ease) both .15s; }
.enter .w-phone { animation: phone-up 1.1s var(--ease) both .35s; }
.enter .wp-list li.on { animation: pick .6s var(--ease) both 1.3s; }
.enter .wp-slots span.on { animation: pick .6s var(--ease) both 1.6s; }
.enter .w-appt { animation: card-in .8s var(--ease) both; }
.enter .w-appt.a1 { animation-delay: 1.9s; } .enter .w-appt.a2 { animation-delay: 2.5s; } .enter .w-appt.a3 { animation-delay: 3.1s; }
@keyframes phone-up { from { transform: translate(-50%, 40%); opacity: 0; } }
@keyframes pick { from { background: transparent; box-shadow: none; color: inherit; } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.94); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .cover { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .w-cover { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
  .w-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .w-points li:nth-child(2) { border-top-color: var(--text); }
}
@media (max-width: 900px) {
  .w-hero { padding: 18px 20px 32px; }
  .w-cover { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 22px; }
  .w-lines { grid-column: 1; }
  .w-show { grid-column: 1 / -1; width: min(100%, 300px); justify-self: center; margin: 10px 0 6px; }
  .w-body { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 32px 20px 56px; }
  .week-mini { margin-left: 0; width: 100%; }
  .week-mini button { flex: 1; width: auto; }
}
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; background: none; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; height: 100dvh; width: 280px; z-index: 95; transform: translateX(-102%); transition: transform .3s var(--ease); }
  body.side-open .side { transform: none; box-shadow: var(--shadow-lg); }
  body.side-open .side-back { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(29, 23, 20, .45); }
  .only-sm { display: inline-grid; }
  .top { padding: 16px 16px 12px; align-items: center; }
  .top h1 { font-size: 32px; }
  .top-t small { font-size: 13.5px; }
  .content { padding: 2px 16px 40px; gap: 18px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .ag { grid-template-columns: 48px repeat(var(--cols), minmax(150px, 1fr)); }
  .kline { grid-template-columns: minmax(0, 1fr); margin-top: -4px; }
  .kline > * { padding: 12px 0; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
  .kline > * + * { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; }
  .kline small { width: 100%; }
  .kline b { font-size: 30px; }
  .pull { padding-left: 46px; }
  .pull::before { font-size: 80px; top: -10px; }
  .pull p { font-size: 25px; }
  .arches { height: 170px; gap: 8px; }
}
@media (max-width: 600px) {
  .hide-sm { display: none !important; }
  .kpi { padding: 12px 14px; }
  .kpi-v { font-size: 26px; }
  .form-grid, .perks { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .tbl th, .tbl td { padding: 10px 10px; }
  .types { grid-template-columns: 1fr; }
  .type small { display: none; }
  #modal { padding: 0; align-items: flex-end; }
  .mbox, .mbox.wide { max-width: none; border-radius: 14px 14px 0 0; max-height: 92dvh; }
  .mbox > header h3 { font-size: 24px; }
  .mnav { flex: 1; }
  .mnav b { min-width: 0; flex: 1; font-size: 15px; }
  .hero-save { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .hero-save b { font-size: 24px; }
  .reqs li { flex-wrap: wrap; }
  .req-a { width: 100%; padding-left: 48px; }
  .who-sel { width: 120px !important; }
  .lead b { font-size: 120px; }
  .arch small { font-size: 11px; }
  .arch em { font-size: 16px; }
  .w-mast { flex-direction: column; align-items: flex-start; gap: 6px; }
  .w-mast span { font-size: 15.5vw; }
  .w-mast small { text-align: left; max-width: none; padding-bottom: 0; font-size: 14px; }
  .w-show { width: 230px; }
  .w-appt { max-width: 190px; padding: 7px 10px 7px 8px; }
  .w-appt small { font-size: 10.5px; }
  .w-appt.a1 { left: -22%; top: 2%; } .w-appt.a2 { right: -22%; top: auto; bottom: 22%; } .w-appt.a3 { display: none; }
  .w-lines h1 { font-size: 34px; }
  .w-lines p { font-size: 15.5px; }
  .w-points { grid-template-columns: minmax(0, 1fr); }
  .w-points li:nth-child(2) { border-top-color: var(--line); }
  .role { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 16px 2px; }
  .role b { font-size: 21px; }
  .role i { font-size: 24px; }
  .w-card { padding: 20px 16px; }
  .w-index h2, .w-card h2 { font-size: 28px; }
  .hello { font-size: 38px; }
  .nc-when b { font-size: 42px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .promo { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px 14px; }
  .promo > .btn { grid-column: 2; justify-self: start; }
  .promo > .ic:first-child { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
