/* =========================================================================
   Névora · pantallas de la app: Mi cuenta, ficha de ingreso y panel
   (usa los tokens de styles.css)
   ========================================================================= */
.app-body { background: var(--bg); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.app-body main { flex: 1; }
.app-nav .logo-img { height: 42px; }
.app-tag { font-size: 13px; }
.app-tag::before, .app-tag::after { width: 22px; }
@media (max-width: 520px) { .app-tag { display: none; } }
.app { padding-block: clamp(24px, 4vw, 48px) 80px; display: grid; gap: 18px; align-content: start; }
.app-narrow { max-width: 760px; }
.app-h { font-size: clamp(34px, 5vw, 48px); font-weight: 400; line-height: 1.05; }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.app-card h2 { font-size: 28px; font-weight: 500; }
.app-card.accent { background: var(--bg-2); border-color: var(--gold); }
.app-login { max-width: 480px; width: 100%; justify-self: center; text-align: left; margin-top: 4vh; }
.app-mark { width: 56px; height: auto; justify-self: center; }
.app-hello { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.app-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.app-col { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }
.sec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: var(--bg-2); color: var(--ink-mute); white-space: nowrap; }
.badge.ok { background: var(--bg-2); color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.gold { background: var(--gold); color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* Plan */
.plan-card { border-color: var(--gold); position: relative; overflow: hidden; }
.plan-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border: 1px solid var(--gold); border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; opacity: .6; pointer-events: none; }
.plan-card.is-empty { border-color: var(--line); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-big { font-size: 17px; color: var(--ink-mute); }
.pc-big b { font-family: var(--display); font-size: 64px; font-weight: 400; line-height: .9; color: var(--gold); margin-right: 4px; vertical-align: -6px; }
.plan-card .seats { max-width: none; height: 6px; }

/* Lista de reservas */
.blist { display: grid; gap: 10px; }
.br { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg); }
.br.past { opacity: .75; background: transparent; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 0; }
.br-when { display: grid; justify-items: center; border-radius: 999px 999px 12px 12px; background: var(--paper); border: 1px solid var(--line); padding: 8px 4px 6px; }
.br-when b { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1; }
.br-when span { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; }
.br-info { display: grid; gap: 2px; min-width: 0; }
.br-info strong { font-family: var(--display); font-size: 22px; font-weight: 500; }
.br-info span { font-size: 15px; color: var(--ink-mute); }
.br-st { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.br-act { display: grid; gap: 4px; justify-items: end; }
@media (max-width: 520px) { .br { grid-template-columns: 50px 1fr; } .br-act { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } }
.plist { display: grid; gap: 8px; }
.plist li { display: flex; justify-content: space-between; }

/* Ficha de ingreso */
.intake-head { display: grid; gap: 8px; }
.steps-bar { display: flex; gap: 6px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s; }
.steps-bar i.on { background: var(--gold); }
.intake fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.ist { font-family: var(--display); font-size: 28px; padding: 0; margin-bottom: 4px; }
.lab { font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.tick { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; background: var(--bg); min-height: 48px; }
.tick input { width: 20px; height: 20px; accent-color: var(--btn); margin-top: 2px; flex: none; }
.tick:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--paper); }
.tick.none { grid-column: 1 / -1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; transition: background .25s, border-color .25s; }
.pill input:checked + span { background: var(--taupe); color: #fff; border-color: var(--taupe); }
.pill input:focus-visible + span { outline: 2px solid var(--btn); outline-offset: 2px; }
.sign { position: relative; border: 1px dashed var(--gold); border-radius: 16px; background: var(--paper); }
.sign canvas { display: block; width: 100%; height: 180px; touch-action: none; border-radius: 16px; cursor: crosshair; }
.sign .linkbtn { position: absolute; right: 12px; bottom: 6px; }
.sign-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--taupe); font-family: var(--display); font-style: italic; font-size: 22px; pointer-events: none; }
.sign.has-sign .sign-hint { display: none; }
.intake-nav { justify-content: space-between; }
.intake-nav .btn { flex: 1 1 140px; }
.done-card { text-align: center; justify-items: center; }
.done-card .row { justify-content: center; }

/* Panel */
.adm-top { position: sticky; top: 0; z-index: 50; background: rgba(246, 239, 230, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.adm-top-in { display: flex; justify-content: space-between; align-items: center; padding-block: 10px; gap: 12px; }
.adm-top .logo-img { height: 38px; }
.adm-tabs { display: flex; justify-content: center; gap: 4px; padding: 0 12px 8px; }
.adm-tabs button { position: relative; display: grid; justify-items: center; gap: 2px; min-width: 76px; min-height: 52px; padding: 6px 12px; border: 0; border-radius: 14px; background: none; color: var(--ink-mute); font: 600 13px var(--body); cursor: pointer; }
.adm-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.adm-tabs button[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.adm-tabs .dot { position: absolute; top: 4px; right: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warn); color: #fff; font-size: 11px; line-height: 18px; }
@media (max-width: 760px) {
  .adm-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; }
  .adm .app { padding-bottom: 110px; }
  .adm .demo-bar { margin-bottom: 70px; }
}
.adm-day { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.adm-date { position: relative; display: grid; place-items: center; min-height: 48px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--display); font-size: 24px; cursor: pointer; text-align: center; padding: 0 12px; }
.adm-date input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.adm-sum { font-size: 15px; color: var(--ink-mute); }
.adm-s { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 12px; }
.adm-s.is-cancel { opacity: .7; }
.adm-s header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.adm-t { font-size: 14px; color: var(--gold-ink); letter-spacing: .08em; }
.adm-s h3 { font-size: 30px; line-height: 1; }
.adm-cap { font-family: var(--display); font-size: 22px; color: var(--ink-mute); }
.adm-cap b { font-size: 40px; font-weight: 400; color: var(--ink); }
.adm-cap.low b { color: var(--warn); }
.warn-t { color: var(--warn); }
.adm-k { margin-top: 4px; }
.roster { display: grid; }
.rr { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rr-who { display: grid; gap: 2px; min-width: 0; }
.rr-name { background: none; border: 0; padding: 0; text-align: left; font: 600 17px var(--body); color: var(--ink); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .rr-name:hover { color: var(--gold-ink); } }
.rr-sub { font-size: 14px; color: var(--ink-mute); }
.rr-b { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.rr-act { display: flex; gap: 6px; align-items: center; flex: none; }
.att { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-size: 18px; cursor: pointer; color: var(--ink-mute); }
.att.on { background: var(--taupe); border-color: var(--taupe); color: #fff; }
.att.no.on { background: var(--warn); border-color: var(--warn); }
.mini { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); background: var(--bg-2); color: var(--gold-ink); font: 600 13px var(--body); cursor: pointer; }
.rr.is-cancelled, .rr.is-late_cancel, .rr.is-studio_cancel { opacity: .6; }
.adm-gone summary { font-size: 15px; font-weight: 500; color: var(--ink-mute); }
.adm-gone { border: 0; padding: 0; }
.pick { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; }
.pick button, .clist button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); }
.pick button { display: grid; gap: 2px; }
.pick span, .ci span { font-size: 14px; color: var(--ink-mute); }
.clist { display: grid; gap: 8px; }
.clist button { background: var(--paper); }
@media (hover: hover) and (pointer: fine) { .clist button:hover, .pick button:hover { border-color: var(--gold); } }
.av { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-family: var(--display); font-size: 22px; color: var(--gold-ink); }
.ci { display: grid; gap: 2px; flex: 1; min-width: 0; }
.adm-block { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.adm-block select { font: 16px var(--body); min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 10px; color: var(--ink); max-width: 100%; }
.notes { font: 16px var(--body); border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 10px 12px; width: 100%; resize: vertical; color: var(--ink); }
.hist { display: grid; }
.hist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hist li span:last-child { color: var(--ink-mute); text-align: right; }
.sig { margin: 6px 0 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.sig img { width: 100%; max-height: 140px; object-fit: contain; }
.sig figcaption { font-size: 13px; color: var(--ink-mute); }
.paylist { display: grid; gap: 10px; }
.paylist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; flex-wrap: wrap; }
.paylist li > div:first-child { display: grid; gap: 2px; }
.paylist li span { font-size: 14px; color: var(--ink-mute); }
.pay-r { display: flex; align-items: center; gap: 12px; }
.pay-r b { font-variant-numeric: tabular-nums; }
.links { display: grid; gap: 6px; }
.links a { color: var(--gold-ink); font-weight: 600; }

[data-sessions] { display: grid; gap: 14px; }
@media (min-width: 761px) { .adm-tabs { position: sticky; top: 59px; z-index: 49; background: rgba(246, 239, 230, .96); border-bottom: 1px solid var(--line); padding-top: 6px; } .adm-top { border-bottom: 0; } }

.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Horario semanal ---------- */
.adm-wk span { display: grid; line-height: 1.05; padding: 6px 0; }
.adm-wk small { font: 600 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.adm-note { font-size: 14px; color: var(--ink-mute); text-align: center; margin: 0; }
.wk-day { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 12px; display: grid; gap: 10px; }
.wk-day.is-today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.wk-day.is-past { opacity: .55; }
.wk-day header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wk-day h3 { font-size: 24px; line-height: 1; }
.wk-day h3 span { font: 500 14px var(--body); color: var(--ink-mute); margin-left: 4px; }
.wk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wk-row { width: 100%; display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 4px 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 15px var(--body); text-align: left; cursor: pointer; font-variant-numeric: lining-nums tabular-nums; }
.wk-row:disabled { cursor: default; }
.wk-row:not(:disabled):active { transform: scale(.99); }
.wk-t { font-weight: 600; white-space: nowrap; }
.wk-n { display: grid; font-weight: 500; }
.wk-n small { font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.wk-c { font-size: 14px; color: var(--ink-mute); }
.wk-row.is-off .wk-n, .wk-row.is-off .wk-t { text-decoration: line-through; color: var(--ink-mute); }
.wk-row.is-off .wk-c { color: var(--warn); }
.wk-tag { grid-column: 2 / -1; font-style: normal; font-size: 12px; color: var(--gold-ink); }
.wk-empty { margin: 0; }
.adm-wk-act { display: grid; gap: 10px; justify-items: center; padding: 6px 0 12px; }
.adm-warn { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.adm-danger { display: flex; justify-content: center; padding-top: 4px; }
.adm-danger .linkbtn { color: var(--warn); }
.tpl-day { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tpl-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tpl-day li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; font-variant-numeric: lining-nums tabular-nums; }
.icon-btn.icon-sm { width: 36px; height: 36px; font-size: 14px; }
.adm-tabs button { min-width: 62px; padding-inline: 6px; }

/* ---------- Detalle del paquete ---------- */
.pk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 0; }
.pk-dates div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.pk-dates dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.pk-dates dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: lining-nums; }
.pk-dates small { display: block; font-weight: 400; color: var(--ink-mute); font-size: 13px; }
.pk-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pk-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--gold); }
.pk-dots i.is-on { background: var(--gold); }
.pk-dots i.is-res { background: repeating-linear-gradient(45deg, var(--gold) 0 2px, transparent 2px 4px); }
.pk-count { font-size: 15px; color: var(--ink-mute); margin: 8px 0 4px; font-variant-numeric: lining-nums; }
.pk-count b { color: var(--ink); }
.pk-uses { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; }
.pk-uses li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: lining-nums; }
.pk-uses li:last-child { border-bottom: 0; }
.pk-n { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.pk-c { display: grid; }
.pk-c small, .pk-r small { font-size: 13px; color: var(--ink-mute); }
.pk-r { display: grid; text-align: right; }
.pk-r em { font-style: normal; font-size: 14px; font-weight: 500; }
.pk-r em.st-late_cancel, .pk-r em.st-no_show { color: var(--warn); }
.pk-r em.st-booked { color: var(--gold-ink); }
.pk-old { border-top: 1px solid var(--line); padding: 10px 0; }
.pk-old summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.pk-old summary span { color: var(--ink-mute); }
.hist li.hist-d { display: block; padding: 0; border-bottom: 0; }
.hist li.hist-d .pk-old { padding: 8px 0; border-top: 0; border-bottom: 1px dashed var(--line); }
.pk-box { display: grid; gap: 2px; }
.pk-res { display: block; font-size: 13px; margin-top: 2px; }

/* Celular: el paso del código no debe desbordar la tarjeta (revisión 2026-11-12) */
.app-card > *, .app-card [data-auth], .app-card form, .app-card .field { min-width: 0; }
.code-input { width: 100%; min-width: 0; box-sizing: border-box; letter-spacing: .3em; }
.app-card h3 { line-height: 1.1; }

/* Corregir datos de una clienta (panel) */
.adm-edit { border-top: 1px solid var(--line); padding-top: 10px; }
.adm-edit summary { cursor: pointer; font-weight: 600; color: var(--gold-ink); min-height: 44px; display: flex; align-items: center; }
.adm-edit .form { margin-top: 8px; }
.plan-card .paysteps { margin: 2px 0; }

/* ---------- Tarjeta del plan: pase café con el arco de la marca ---------- */
.pplan { border-radius: 26px; overflow: hidden; border: 1px solid var(--gold); background: var(--paper); }
.pp-pass { position: relative; background: var(--ink); color: #F6EFE6; padding: 22px 22px 20px; display: grid; justify-items: center; gap: 6px; overflow: hidden; isolation: isolate; }
.pp-pass::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 191, 140, .28); border-radius: 18px; pointer-events: none; z-index: -1; }
.pp-seal { position: absolute; right: -18px; bottom: -18px; width: 120px; opacity: .08; filter: brightness(3); z-index: -1; }
.pp-top { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 0; }
.pp-k { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: #D9BF8C; }
.pp-k::before { content: ""; width: 24px; height: 1px; background: #D9BF8C; }
.pp-badge { font: 600 12px/1 var(--body); padding: 6px 12px; border-radius: 999px; border: 1px solid #D9BF8C; color: #D9BF8C; }
.pp-badge.warn { border-color: #E9B8AE; color: #F3E1DC; background: rgba(142, 90, 85, .35); }
.pp-gauge { position: relative; width: min(100%, 250px); margin-top: 6px; }
.pp-gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.pp-gauge path { fill: none; stroke-linecap: round; }
.pp-track { stroke: rgba(217, 191, 140, .22); stroke-width: 2; }
.pp-fill { stroke: #D9BF8C; stroke-width: 3; stroke-dasharray: 0 100; animation: ppFill 1.6s cubic-bezier(.16, 1, .3, 1) .2s forwards; }
@keyframes ppFill { to { stroke-dasharray: var(--pct) 100; } }
.pp-num { position: absolute; inset: 22% 0 0; display: grid; justify-items: center; align-content: center; text-align: center; }
.pp-num b { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .85; color: #FFFCF7; font-variant-numeric: lining-nums; }
.pp-num span { font-size: 14px; color: rgba(246, 239, 230, .75); margin-top: 6px; }
.pp-num em { font-family: var(--display); font-style: italic; font-size: 30px; color: #D9BF8C; margin-top: 4px; }
.pp-mats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 300px; margin-top: 8px; }
.pp-mats i { width: 14px; height: 18px; border: 1px solid #D9BF8C; border-bottom-width: 1px; border-radius: 7px 7px 2px 2px; }
.pp-mats i.is-on { background: #D9BF8C; }
.pp-mats i.is-res { background: repeating-linear-gradient(45deg, #D9BF8C 0 2px, transparent 2px 4px); }
.pp-legend { margin: 2px 0 6px; font-size: 13px; color: rgba(246, 239, 230, .7); }
.pp-dates { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin: 6px 0 0; border-top: 1px solid rgba(217, 191, 140, .3); padding-top: 14px; }
.pp-dates div { padding: 0 12px; text-align: center; }
.pp-dates div + div { border-left: 1px solid rgba(217, 191, 140, .3); }
.pp-dates dt { font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #D9BF8C; }
.pp-dates dd { margin: 6px 0 0; font-family: var(--display); font-size: 21px; line-height: 1.1; color: #FFFCF7; }
.pp-dates small { display: block; font: 400 13px var(--body); color: rgba(246, 239, 230, .65); margin-top: 3px; }
.pp-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.pp-h { margin: 0; font-family: var(--display); font-size: 24px; color: var(--ink); }
.pp-uses { list-style: none; margin: 0; padding: 0; display: grid; }
.pp-uses li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pp-uses li:last-child { border-bottom: 0; }
.pp-n { width: 28px; height: 32px; border-radius: 14px 14px 4px 4px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 17px; color: var(--gold-ink); }
.pp-uses b { display: block; font-weight: 600; }
.pp-uses small { font-size: 13px; color: var(--ink-mute); }
.pp-uses em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.pp-uses em.st-late_cancel, .pp-uses em.st-no_show { color: var(--warn); }
.pp-empty { margin: 0; }
@media (prefers-reduced-motion: reduce) { .pp-fill { animation: none; stroke-dasharray: var(--pct) 100; } }

.is-pend .pp-dates dd { font-size: 17px; }

/* ---------- Panel · Inicio ---------- */
.hm { width: 100%; max-width: 1080px; justify-self: center; display: grid; gap: 18px; }
.hm-head { display: grid; gap: 2px; }
.hm-date { margin: 0; font: 600 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; gap: 10px; align-items: center; }
.hm-date::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.hm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-kpi { text-align: left; display: grid; gap: 2px; align-content: start; padding: 18px 18px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; transition: transform .3s var(--ease-out), border-color .3s; }
.hm-kpi b { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: .95; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.hm-kpi span { font-weight: 600; font-size: 15px; }
.hm-kpi small { font-size: 13px; color: var(--ink-mute); }
.hm-kpi.is-warn { background: var(--ink); border-color: var(--ink); color: #F6EFE6; }
.hm-kpi.is-warn b { color: #D9BF8C; }
.hm-kpi.is-warn small { color: rgba(246, 239, 230, .7); }
@media (hover: hover) and (pointer: fine) { .hm-kpi:hover { transform: translateY(-2px); border-color: var(--gold); } }
.hm-kpi:active { transform: scale(.98); }
.hm-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.hm-col { display: grid; gap: 18px; min-width: 0; }
.hm-card { gap: 12px; }
.hm-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hm-h h2 { font-size: 26px; margin: 0; }
.hm-pay, .hm-today, .hm-team { list-style: none; margin: 0; padding: 0; display: grid; }
.hm-pay li, .hm-team li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.hm-team li { grid-template-columns: 48px minmax(0, 1fr); }
.hm-av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-family: var(--display); font-size: 20px; color: var(--gold-ink); }
.hm-av-lg { width: 48px; height: 56px; border-radius: 24px 24px 8px 8px; border: 1px solid var(--gold); background: var(--paper); font-size: 24px; }
.hm-who { display: grid; gap: 2px; min-width: 0; }
.hm-who b { font-weight: 600; }
.hm-who small, .hm-c small { font-size: 13px; color: var(--ink-mute); }
.hm-today li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.hm-today li.is-past { opacity: .55; }
.hm-t { font-family: var(--display); font-size: 24px; line-height: 1; display: grid; }
.hm-t small { font: 600 11px var(--body); letter-spacing: .1em; color: var(--ink-mute); margin-top: 4px; }
.hm-c { display: grid; gap: 4px; min-width: 0; }
.hm-c b { font-weight: 600; }
.hm-n { font-size: 14px; color: var(--ink-mute); }
.hm-n b { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--ink); }
.hm-bar { display: block; height: 4px; border-radius: 2px; background: var(--bg-2); overflow: hidden; margin-top: 4px; }
.hm-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-tags:empty { display: none; }
.hm-tags em { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: var(--gold-ink); }
.hm-tags em.warn { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 900px) { .hm-kpis { grid-template-columns: 1fr 1fr; } .hm-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .hm-kpi { padding: 14px; } .hm-kpi b { font-size: 42px; } .hm-pay li { grid-template-columns: 36px minmax(0, 1fr); } .hm-pay li > .btn { grid-column: 2; justify-self: start; } .hm-av { width: 36px; height: 36px; } }
/* Clientas: mostrar por estado */
.cf-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; }
.cf-chips::-webkit-scrollbar { display: none; }
.cf-chips .chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 600 14px var(--body); color: var(--ink-mute); cursor: pointer; white-space: nowrap; }
.cf-chips .chip b { color: var(--gold-ink); margin-left: 2px; }
.cf-chips .chip.is-on { background: var(--ink); border-color: var(--ink); color: #F6EFE6; }
.cf-chips .chip.is-on b { color: #D9BF8C; }

/* ---------- Recordatorio del plan (Mi cuenta) ---------- */
.nudge { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; margin: 0 0 18px; padding: 18px 20px; border-radius: var(--r); background: var(--rose); border: 1px solid #E8CFC7; color: var(--ink); }
.nudge-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); padding: 6px; }
.nudge h2 { font-family: var(--display); font-weight: 500; font-size: clamp(23px, 3vw, 28px); line-height: 1.1; margin: 0 0 6px; color: var(--ink); }
.nudge p { margin: 0 0 14px; color: var(--ink-mute); font-size: 16px; max-width: 60ch; }
.nudge .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .nudge { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; } .nudge-mark { width: 40px; height: 40px; padding: 4px; } .nudge .row { margin-left: -52px; } }

/* ---------- Buzón (Mi cuenta) ---------- */
.fb-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-kinds .chip { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.fb-done { display: grid; gap: 6px; justify-items: start; }
.fb-done h2 { margin: 0; }

/* ---------- Comentarios (panel) ---------- */
.fbl { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.fbl-sm { margin: 0; gap: 10px; }
.fbk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 10px; }
.fbl-sm .fbk { background: var(--bg); padding: 12px 14px; }
.fbk.is-new { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.fbk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fbk-top small { color: var(--ink-mute); font-size: 13px; }
.fbk-tag { font-style: normal; font: 600 12px var(--body); letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--gold-ink); }
.fbk-felicitacion { background: var(--ok-soft); color: var(--ok); }
.fbk-sugerencia { background: var(--rose); color: var(--rose-ink); }
.fbk blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.3; color: var(--ink); }
.fbl-sm .fbk blockquote { font-size: 18px; }
.fbk-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.fbk-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.fbk-seen { font-size: 13px; color: var(--ok); font-weight: 600; }
.adm-head .app-h { margin-bottom: 4px; }

/* ---------- Inicio: próxima semana ---------- */
.hm-next.is-soon { border-color: var(--gold); }
.hm-next-k { margin: 0; font-size: 15px; color: var(--ink-mute); }
.hm-next-k b { color: var(--ok); }
.hm-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hm-days li { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.hm-days small { font-size: 12px; color: var(--ink-mute); }
.hm-days b { font: 500 22px/1 var(--display); color: var(--ink); }
.hm-days li.is-0 b { color: var(--taupe); }
.hm-next .btn { justify-self: start; }

/* ---------- Pestañas: 7 en el celular ---------- */
.adm-tabs .t-sm { display: none; }
@media (max-width: 760px) {
  .adm-tabs { gap: 0; padding-inline: 2px; }
  .adm-tabs button { flex: 1 1 0; min-width: 0; padding-inline: 1px; font-size: 11px; }
  .adm-tabs .t-lg { display: none; }
  .adm-tabs .t-sm { display: inline; }
  .adm-tabs .dot { right: 50%; margin-right: -22px; }
}

/* ---------- Publicar la semana ---------- */
.pub-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; margin: 0 0 12px; padding: 14px 16px; border-radius: 14px; background: var(--rose); border: 1px solid #E8CFC7; }
.pub-bar p { margin: 0; flex: 1 1 260px; font-size: 15px; }
.pub-bar .small { flex: 0 1 auto; }
.pub-bar.is-on { background: var(--ok-soft); border-color: #CBD8B9; justify-content: flex-start; }
.pub-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.hm-next .row { display: flex; gap: 10px; }

/* ---------- Profes ---------- */
.co { display: grid; gap: 14px; }
.co-head { display: grid; gap: 10px; }
.co-head .app-h { margin: 0; }
.co-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .co-grid { grid-template-columns: minmax(0, 1fr) 320px; } .co-grid aside { position: sticky; top: 140px; } }
.co-day { display: grid; gap: 10px; margin-bottom: 18px; }
.co-day h3 { font-size: 26px; line-height: 1; margin: 6px 0 0; }
.co-day h3 span { font: 500 14px var(--body); color: var(--ink-mute); margin-left: 4px; }
.co-day.is-past { opacity: .6; }
.co-class { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.co-day.is-today .co-class[open] { border-color: var(--gold); }
.co-class.is-off { opacity: .6; }
.co-sum { list-style: none; display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.co-sum::-webkit-details-marker { display: none; }
.co-t { font: 500 24px/1 var(--display); color: var(--ink); }
.co-t small { display: block; font: 600 11px var(--body); color: var(--ink-mute); margin-top: 4px; }
.co-c { display: grid; gap: 6px; min-width: 0; }
.co-c b { font: 600 17px var(--body); }
.co-n { font: 500 15px var(--body); color: var(--ink-mute); }
.co-n b { font: 500 28px var(--display); color: var(--ink); }
.co-body { border-top: 1px solid var(--line); padding: 14px 16px 16px; display: grid; gap: 12px; }
.co-alert { background: var(--warn-soft); border-radius: 14px; padding: 12px 14px; }
.co-alert-h { margin: 0 0 6px; font: 700 14px var(--body); color: var(--warn); }
.co-alert ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }
.co-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-name { font: 600 16px var(--body); color: var(--ink); }
.co-list .rr-sub a { color: var(--gold-ink); }
.co-hint { margin: 0; color: var(--ink-mute); }
.co-month h2 { margin: 0; }
.co-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.co-kpis div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 2px; }
.co-kpis b { font: 500 30px/1 var(--display); color: var(--ink); }
.co-kpis span { font-size: 12px; color: var(--ink-mute); }
.co-types { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.co-types li { display: flex; justify-content: space-between; font-size: 15px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.adm-tabs.is-coach button { min-width: 96px; flex: 0 0 auto; }
@media (max-width: 760px) { .adm-tabs.is-coach { justify-content: center; gap: 24px; } }

.co-range { margin: -4px 0 0; text-align: center; font-size: 15px; color: var(--ink-mute); }
.co-range b { color: var(--ink); }
.co-st { display: block; font-size: 13px; color: var(--ok); margin-top: 2px; }
.co-st.warn { color: var(--warn); }
.co-tally { margin: 0; font-weight: 600; }
.rr.is-excused { opacity: .75; }
.co-sum::after { display: none; }

/* ===== Panel de profes, diseño cálido ===== */
.cm { display: grid; gap: 18px; }
.cm-head { display: grid; gap: 10px; }
.cm-head .app-h { margin: 0; }
.cm-grid { display: grid; gap: 18px; align-items: start; }
.cm-main { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 960px) { .cm-grid { grid-template-columns: minmax(0, 1fr) 330px; } .cm-grid > aside { position: sticky; top: 140px; } }
.cm-k { margin: 0; font: 600 13px var(--body); letter-spacing: .02em; color: var(--gold-ink); }

/* Próxima clase: pase oscuro con borde dorado */
.cm-next { position: relative; display: grid; grid-template-columns: 1fr; background: var(--ink); color: #F6EFE6; border-radius: 26px; overflow: hidden; isolation: isolate; }
.cm-next::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 191, 140, .3); border-radius: 18px; pointer-events: none; z-index: 2; }
.cm-photo { height: 170px; overflow: hidden; }
.cm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.cm-next-in { display: grid; gap: 8px; justify-items: start; padding: 22px 26px 26px; }
.cm-next .cm-k { color: #D9BF8C; }
.cm-when { margin: 0; font: 500 15px var(--body); color: #E9DCC8; }
.cm-next h2 { margin: 0; font: italic 500 44px/1 var(--display); color: #FFF8EE; }
.cm-until { margin: 0; font: 600 14px var(--body); color: #3A2E25; background: #D9BF8C; border-radius: 999px; padding: 5px 12px; }
.cm-count { margin: 2px 0 0; font-size: 15px; color: #E9DCC8; }
.cm-count b { font: 500 26px var(--display); color: #FFF8EE; }
.cm-next-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cm-btn { margin-top: 6px; background: #D9BF8C; color: #3A2E25; border-color: #D9BF8C; }
@media (hover: hover) and (pointer: fine) { .cm-btn:hover { background: #E7D3AA; } }
.cm-next.is-empty { padding: 28px; gap: 8px; display: grid; }
.cm-next.is-empty h2 { font-size: 34px; }
.cm-next.is-empty p { margin: 0; color: #E9DCC8; }
@media (min-width: 700px) {
  .cm-next { grid-template-columns: 240px 1fr; }
  .cm-photo { height: auto; min-height: 100%; margin: 18px 0 18px 18px; border-radius: 999px 999px 18px 18px; position: relative; z-index: 3; }
  .cm-next-in { padding: 30px 32px; }
  .cm-next h2 { font-size: 54px; }
}

/* Colchonetas: una por cupo */
.cm-mats { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-mats i { width: 11px; height: 15px; border: 1px solid var(--gold); border-radius: 6px 6px 2px 2px; }
.cm-mats i.is-on { background: var(--gold); }
.cm-next .cm-mats i { width: 14px; height: 19px; border-color: #D9BF8C; }
.cm-next .cm-mats i.is-on { background: #D9BF8C; }

/* Iniciales de quienes vienen */
.cm-faces { display: flex; }
.cm-faces i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--body); font-style: normal; background: #F3E1DC; color: #3A2E25; border: 2px solid var(--ink); margin-left: -8px; }
.cm-faces i:first-child { margin-left: 0; }
.cm-faces i.is-new { background: #D9BF8C; }
.cm-faces i.is-more { background: #54453A; color: #F6EFE6; }
.cm-pill { font: 600 13px var(--body); border-radius: 999px; padding: 5px 11px; background: rgba(255,255,255,.1); color: #F6EFE6; }
.cm-pill.warn { background: #F3E1DC; color: #8E5A55; }

/* Semana */
.cm-week { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 18px; display: grid; gap: 14px; }
.cm-wk-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; text-align: center; }
.cm-wk-head p { margin: 0; font: 500 21px/1.15 var(--display); color: var(--ink); }
.cm-wk-head small { display: block; font: 600 12px var(--body); color: var(--gold-ink); margin-bottom: 2px; }
.cm-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cm-day { display: grid; justify-items: center; gap: 3px; padding: 10px 0 8px; border-radius: 999px 999px 16px 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; touch-action: manipulation; transition: background .15s, transform .1s; }
.cm-day:active { transform: scale(.96); }
.cm-day small { font: 600 11px var(--body); color: var(--ink-mute); text-transform: capitalize; }
.cm-day b { font: 500 24px/1 var(--display); }
.cm-day span { display: flex; gap: 3px; min-height: 6px; }
.cm-day span i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cm-day.is-none { opacity: .55; }
.cm-day.is-past:not(.is-on) { opacity: .45; }
.cm-day.is-today { border-color: var(--gold); }
.cm-day.is-on { background: var(--ink); border-color: var(--ink); color: #FFF8EE; opacity: 1; }
.cm-day.is-on small { color: #D9BF8C; }
.cm-day.is-on span i { background: #D9BF8C; }
[data-clist] { display: grid; gap: 10px; }
.cm-empty { margin: 0; padding: 18px; text-align: center; color: var(--ink-mute); background: var(--bg); border-radius: 18px; }

/* Tarjeta de clase */
.cm-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; touch-action: manipulation; transition: transform .12s var(--ease-out), box-shadow .2s; }
.cm-card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .cm-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(58, 46, 37, .5); } .cm-card:hover .cm-thumb img { transform: scale(1.04); } }
.cm-card.is-off { opacity: .55; }
.cm-thumb { width: 64px; height: 80px; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--rose); }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out); }
.cm-info { display: grid; gap: 5px; min-width: 0; }
.cm-time { font: 500 26px/1 var(--display); color: var(--ink); }
.cm-info > b { font: 600 16px var(--body); }
.cm-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-tags em { font: 600 12px var(--body); font-style: normal; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-mute); }
.cm-tags em.warn { background: var(--rose); color: var(--rose-ink); }
.cm-tags em.ok { background: var(--ok-soft); color: var(--ok); }
.cm-n { display: grid; justify-items: center; line-height: 1; }
.cm-n b { font: 500 34px var(--display); }
.cm-n small { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

/* Tu mes */
.cm-month { background: linear-gradient(180deg, var(--rose), var(--paper) 70%); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 12px; }
.cm-month h2 { margin: -6px 0 0; font: italic 500 34px var(--display); }
.cm-big { display: flex; align-items: baseline; gap: 10px; }
.cm-big b { font: 500 72px/0.9 var(--display); color: var(--ink); }
.cm-big span { font-size: 15px; color: var(--ink-mute); }
.cm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-kpis div { background: rgba(255,255,255,.7); border-radius: 16px; padding: 12px; display: grid; gap: 2px; }
.cm-kpis b { font: 500 32px/1 var(--display); }
.cm-kpis span { font-size: 12px; color: var(--ink-mute); }
.cm-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-types li { display: grid; grid-template-columns: 70px 1fr 26px; align-items: center; gap: 10px; font-size: 14px; }
.cm-types i { height: 8px; border-radius: 8px; background: var(--line); position: relative; overflow: hidden; }
.cm-types i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--gold); border-radius: 8px; }
.cm-types b { text-align: right; font: 500 20px var(--display); }
.cm-month .small { margin: 0; }

/* Hoja: lista de la clase */
.cs-head { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.cs-head h3 { margin: 2px 0 6px; font-style: italic; }
.cs-head .small { margin: 6px 0 0; }
.cs-arch { width: 76px; height: 96px; border-radius: 999px 999px 14px 14px; overflow: hidden; }
.cs-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-care { background: var(--rose); border-radius: 18px; padding: 14px 16px; }
.cs-care-h { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font: 700 14px var(--body); color: var(--rose-ink); }
.cs-care-h svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cs-care ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 15px; color: var(--ink); }
.cs-tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.cs-tally span { background: var(--bg); border-radius: 14px; padding: 10px; text-align: center; font-size: 12px; color: var(--ink-mute); }
.cs-tally b { display: block; font: 500 28px/1 var(--display); color: var(--ink); }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: background .2s, border-color .2s; }
.cs-row.is-attended { background: var(--ok-soft); border-color: transparent; }
.cs-row.is-no_show { background: var(--warn-soft); border-color: transparent; }
.cs-row.is-excused { background: var(--bg); border-color: transparent; }
.cs-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--body); background: var(--rose); color: var(--ink); }
.cs-av.is-new { background: #D9BF8C; }
.cs-who { display: grid; gap: 3px; min-width: 0; }
.cs-who b { font: 600 16px var(--body); }
.cs-who small { font-size: 13px; color: var(--ink-mute); }
.cs-h { font-size: 13px; color: var(--rose-ink); }
.cs-em { font-size: 13px; color: var(--ink-mute); }
.cs-em a { color: var(--gold-ink); }
.cs-st { font: 600 13px var(--body); color: var(--ink-mute); }
.cs-st.warn { color: var(--warn); }
.cs-act, .cs-why { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cs-why small { width: 100%; font: 600 13px var(--body); color: var(--ink-mute); }
.cs-btn { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 15px var(--body); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .1s, background .15s; }
.cs-btn:active { transform: scale(.97); }
.cs-btn.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.cs-btn.no.on { background: var(--warn); border-color: var(--warn); }
.cs-btn:disabled { opacity: .5; }
.cs-note { margin: 0; color: var(--ink-mute); }
@media (max-width: 520px) {
  .cm-card { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 10px 14px 10px 10px; }
  .cm-thumb { width: 52px; height: 66px; }
  .cm-card .cm-mats { gap: 3px; }
  .cm-card .cm-mats i { width: 9px; height: 13px; }
  .cm-week { padding: 14px; }
  .cm-days { gap: 4px; }
}
.cm-faces i { font-size: 11px; letter-spacing: -.02em; }
.cm, .cm-sheet { font-variant-numeric: lining-nums; }
.cs-row.is-excused .cs-btn.no.on { background: var(--taupe); border-color: var(--taupe); }
.cs-tally b { font: 600 24px/1 var(--body); }
.cm-n b { font: 600 26px var(--body); }
.cm-kpis b { font: 600 26px/1 var(--body); }
/* Sin fotos: más simple */
.cm-next, .cm-next { grid-template-columns: 1fr !important; }
.cm-card, .cm-card { grid-template-columns: 1fr auto !important; padding: 14px 18px !important; }
.cs-head { grid-template-columns: 1fr; }

/* Ficha: aviso de fotos y paso del estudio */
.photo-note { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.photo-note svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linejoin: round; margin-top: 1px; }
.photo-note p { margin: 0; font-size: 15px; color: var(--ink-mute); }
.st-start { display: grid; gap: 16px; }
.st-start .app-h { margin: 0; }
.st-start .small { margin: -6px 0 0; }
.st-start select { width: 100%; }
.hm-new { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
