/* Estilos compartidos de profesores.html, inscripcion.html y admin.html (mismo sistema visual que index.html) */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f7fa;
  --ink: #0a213d;
  --muted: #53677b;
  --line: #dfe8ef;
  --accent: #317ba9;
  --accent-2: #266590;
  --accent-soft: #e7f1f8;
  --navy: #083565;
  --sky: #cfe2ef;
  --gold: #a0640a;
  --gold-soft: #fff3dc;
  --ok: #138a52;
  --ok-soft: #e1f6ec;
  --warn: #a5550a;
  --warn-soft: #fff0df;
  --bad: #c0262d;
  --bad-soft: #fde7e8;
  --shadow-sm: 0 1px 2px rgba(8, 53, 101, .06), 0 2px 8px rgba(8, 53, 101, .04);
  --shadow: 0 2px 4px rgba(8, 53, 101, .04), 0 12px 32px -8px rgba(49, 123, 169, .18);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-soft); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.in { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Barra superior */
header.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
header.nav .in { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: var(--ink); font: 800 18px var(--font); letter-spacing: -0.02em; }
.logo .eps { width: 38px; height: 38px; object-fit: contain; display: block; flex: none; }
header.nav nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
header.nav nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 9px; }
header.nav nav a:hover, header.nav nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 560px) { header.nav nav a.hide-sm { display: none; } }

.page-head { padding-block: 48px 32px; background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); }
.page-head .in { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.eyebrow { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font); color: var(--accent); background: var(--accent-soft); padding: 8px 14px; border-radius: 99px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lede { color: var(--muted); font-size: 18px; max-width: 62ch; }
main { padding-bottom: 72px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px var(--font); text-decoration: none;
  padding: 11px 18px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px -8px rgba(49, 123, 169, .6); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-danger { color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); color: var(--bad); }
.btn:disabled { opacity: .55; cursor: default; }

/* Avisos */
.notice { border-radius: 14px; padding: 14px 18px; font-size: 15px; display: grid; gap: 6px; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.info { background: var(--accent-soft); color: var(--ink); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.empty { background: #fff; border: 2px dashed var(--sky); border-radius: var(--r); padding: 40px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty p { max-width: 52ch; }

/* Directorio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: 600 14px var(--font); padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.filters input, .filters select { font: 15px var(--font); padding: 9px 12px; border-radius: 11px; border: 1.5px solid var(--line); background-color: #fff; color: var(--ink); min-width: 0; }
.filters input { flex: 1 1 220px; }
.filters select { flex: 0 1 260px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; box-shadow: var(--shadow-sm); }
.who { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff;
  display: grid; place-items: center; font: 800 22px var(--font); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who > div { min-width: 0; }
.who h3 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; line-height: 1.2; }
.who .sub { font-size: 14px; color: var(--muted); }
.who .sub, .card .meta span { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-2); }
.tag.gold { background: var(--gold-soft); color: var(--gold); }
.tag.plain { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.meta { display: grid; gap: 4px; font-size: 14px; }
.bio { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bio.open { -webkit-line-clamp: unset; display: block; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: 700 14px var(--font); justify-self: start; cursor: pointer; }

/* Formulario */
form.signup { display: grid; gap: 18px; max-width: 800px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 22px; margin: 0; display: grid; gap: 16px; min-width: 0; box-shadow: var(--shadow-sm); }
legend { padding: 0 6px; display: flex; gap: 10px; align-items: center; }
legend .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; font: 800 13px var(--font); }
legend span:last-child { font: 800 18px var(--font); letter-spacing: -0.01em; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .lbl { font-weight: 700; font-size: 15px; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], select, textarea {
  font: 16px var(--font); padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); background-color: var(--bg-soft); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background-color: #fff; outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
textarea { min-height: 120px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; background: #fff; }
.choice input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.profile-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 10px; }
.profile-pick .choice span { display: grid; gap: 2px; border-radius: 14px; padding: 14px; height: 100%; }
.profile-pick .choice span b { font-size: 15px; }
.profile-pick .choice span small { font-size: 13px; font-weight: 400; opacity: .85; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.photo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.counter { font: 500 12px var(--mono); color: var(--muted); justify-self: end; }
.err { color: var(--bad); font-size: 15px; font-weight: 600; }
.submit-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Panel de administración */
.login { max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: var(--muted); }
.stats b { display: block; font: 800 24px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.queue { display: grid; gap: 12px; }
.qitem { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow-sm); }
.qhead { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.qhead .avatar { width: 48px; height: 48px; font-size: 17px; }
.pill { font: 700 12px var(--font); padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.pill.pendiente { background: var(--warn-soft); color: var(--warn); }
.pill.publicado { background: var(--ok-soft); color: var(--ok); }
.pill.rechazado { background: var(--bad-soft); color: var(--bad); }
.pill.oculto { background: var(--accent-soft); color: var(--muted); }
.detail { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 6px 14px; font-size: 14px; margin: 0; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) {
  .detail { grid-template-columns: 1fr; }
  .detail dt { margin-top: 6px; }
  .qhead { grid-template-columns: 48px 1fr; }
  .qhead .pill { grid-column: 2; justify-self: start; }
}

/* Pasos del proceso de postulación */
.steps-mini { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; max-width: 980px; }
.steps-mini li { counter-increment: p; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 12px 48px; position: relative; font-size: 14px; color: var(--muted); }
.steps-mini li::before { content: counter(p); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; font: 800 13px var(--font); }
.steps-mini b { color: var(--ink); }

/* ================= Componentes de la plataforma ================= */
:root { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23317ba9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }

/* Listas desplegables con flecha */
select, .select { -webkit-appearance: none; appearance: none; background-image: var(--chevron); background-repeat: no-repeat;
  background-position: right 12px center; background-size: 16px; padding-right: 40px !important; cursor: pointer; }
select:disabled { cursor: not-allowed; opacity: .6; }


/* Botones extra */
.btn-danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger-solid:hover { filter: brightness(.92); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Avisos flotantes */
#toasts { position: fixed; z-index: 100; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 30px -10px rgba(8, 53, 101, .5); animation: toastIn .2s ease-out; }
.toast.ok { background: var(--ok); }
.toast.warn { background: var(--warn); }
.toast.bad { background: var(--bad); }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* Ventana de confirmación */
.modal-fondo { position: fixed; inset: 0; z-index: 90; background: rgba(10, 33, 61, .45); display: grid; place-items: center; padding: 20px; }
.modal { background: #fff; border-radius: 18px; padding: 24px; width: min(100%, 440px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.modal-msg { font-size: 16px; font-weight: 600; }
.modal .actions { justify-content: flex-end; }

/* Tarjeta de acceso (cuenta) */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: start center; padding-block: 40px 72px; }
.auth { width: min(100%, 460px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.auth h1 { font-size: 28px; }
.auth form { display: grid; gap: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 12px; padding: 4px; }
.auth-tabs button { border: 0; background: transparent; font: 700 15px var(--font); padding: 10px; border-radius: 9px; color: var(--muted); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.rol-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rol-pick .choice span { display: grid; gap: 2px; border-radius: 14px; padding: 14px; height: 100%; }
.rol-pick .choice span small { font-weight: 400; font-size: 13px; opacity: .85; }
.pass-meter { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pass-meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background .2s; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; justify-self: start; }

/* Zona privada: menú lateral + contenido */
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-block: 28px 80px; align-items: start; }
.side { position: sticky; top: 88px; display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }
.side .who-mini { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 6px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side .who-mini .avatar { width: 40px; height: 40px; font-size: 15px; }
.side .who-mini b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .who-mini span { font-size: 13px; color: var(--muted); }
.side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.side a:hover { background: var(--bg-soft); }
.side a[aria-current="page"] { background: var(--accent); color: #fff; }
.side a .count { font-size: 12px; background: var(--warn-soft); color: var(--warn); border-radius: 99px; padding: 2px 8px; }
.side a[aria-current="page"] .count { background: rgba(255, 255, 255, .25); color: #fff; }
.vista { display: grid; gap: 20px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.app > * { min-width: 0; }
.vista > h1 { font-size: clamp(26px, 4vw, 36px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-sm); min-width: 0; }
.panel h2 { font-size: 20px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi b { display: block; font: 800 26px var(--font); color: var(--accent); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: var(--muted); }
.list { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.item h3 { font-size: 16px; }
.item .sub { font-size: 14px; color: var(--muted); }
.item .actions, .item .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .item { grid-template-columns: 1fr; } .item .pill { justify-self: start; } }
.pill.pendiente_pago, .pill.recibido { background: var(--warn-soft); color: var(--warn); }
.pill.pago_reportado, .pill.en_revision, .pill.en_proceso { background: var(--accent-soft); color: var(--accent-2); }
.pill.confirmada, .pill.devuelto, .pill.completada { background: var(--ok-soft); color: var(--ok); }
.pill.cancelada { background: #eef1f4; color: var(--muted); }

/* Pasos del flujo de reserva */
.stepper { display: flex; gap: 6px; flex-wrap: wrap; counter-reset: st; }
.stepper span { counter-increment: st; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--bg-soft); }
.stepper span::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 12px; }
.stepper span.on { color: var(--accent-2); background: var(--accent-soft); }
.stepper span.on::before { background: var(--accent); color: #fff; }
.stepper span.ok::before { content: "✓"; background: var(--ok); color: #fff; }

/* Opciones grandes (servicios, tutores) */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.option { text-align: left; display: grid; gap: 6px; align-content: start; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; background: #fff;
  cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.option:hover { border-color: var(--accent); }
.option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.option b { font-size: 16px; }
.option .precio { font: 800 18px var(--font); color: var(--accent); }
.option small { color: var(--muted); font-size: 13px; }
.tutor-opt { grid-template-columns: 56px minmax(0, 1fr); align-items: center; min-width: 0; }
.tutor-opt > div { min-width: 0; }
.tutor-opt b, .tutor-opt small { overflow-wrap: anywhere; word-break: break-word; }
.tutor-opt .avatar { width: 56px; height: 56px; font-size: 18px; }
.tutor-opt .tags { grid-column: 1 / -1; }

/* Calendario semanal de reserva */
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-nav b { font-size: 15px; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-day { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.cal-day header { padding: 8px 6px; text-align: center; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.cal-day header small { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.cal-day header b { font-size: 18px; }
.cal-day.hoy header { background: var(--accent-soft); }
.cal-slots { display: grid; gap: 6px; padding: 8px; align-content: start; max-height: 360px; overflow-y: auto; }
.slot { border: 1.5px solid var(--accent); color: var(--accent-2); background: #fff; border-radius: 9px; padding: 7px 4px; font: 700 14px var(--font);
  cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { background: var(--accent-soft); }
.slot[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-empty { font-size: 12px; color: var(--muted); text-align: center; padding: 10px 2px; }
@media (max-width: 860px) {
  .cal { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .cal-day { scroll-snap-align: start; }
}

/* Grilla de disponibilidad del tutor (tipo Calendly / When2meet) */
.avail-wrap { overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.avail { display: grid; grid-template-columns: 56px repeat(7, minmax(64px, 1fr)); min-width: 560px; user-select: none; -webkit-user-select: none; }
.avail .h { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; padding: 8px 2px; background: var(--bg-soft); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; }
.avail .t { font-size: 11px; color: var(--muted); text-align: right; padding: 0 6px; height: 22px; line-height: 22px; font-variant-numeric: tabular-nums; }
.avail .c { height: 22px; border-left: 1px solid var(--line); border-bottom: 1px dashed #edf1f5; cursor: pointer; }
.avail .c.full { border-bottom: 1px solid var(--line); }
.avail .c.on { background: var(--accent); border-bottom-color: rgba(255, 255, 255, .35); }
.avail .c:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); vertical-align: -2px; margin-right: 6px; }
.legend i.off { background: #fff; border: 1px solid var(--line); }

/* Resumen de pago */
.pay { display: grid; gap: 10px; background: var(--bg-soft); border: 1px dashed var(--sky); border-radius: 14px; padding: 16px; font-size: 15px; }
.pay dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.pay dt { color: var(--muted); }
.pay dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total-line b { font: 800 26px var(--font); color: var(--accent); }

/* Menú de la zona privada en celular */
.app-tabs { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
  .side { display: none; }
  .app-tabs { display: flex; gap: 6px; overflow-x: auto; position: sticky; top: 68px; z-index: 15; background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px max(20px, env(safe-area-inset-left, 0px)); scrollbar-width: none;
    margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); }
  .app-tabs::-webkit-scrollbar { display: none; }
  .app-tabs a { flex: none; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); }
  .app-tabs a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  .panel { padding: 18px; }
}
.usermenu { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.usermenu .btn { padding: 8px 14px; font-size: 14px; }
.skeleton { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #eef3f7, #f7fafc, #eef3f7); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.muted-box { font-size: 14px; color: var(--muted); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
@media (prefers-reduced-motion: reduce) { .toast, .skeleton { animation: none; } }

/* Ajustes tras revisión en celular */
@media (max-width: 560px) { .hide-sm { display: none !important; } .usermenu .btn { padding: 7px 12px; font-size: 13px; } .logo { font-size: 16px; } }
a.option, a.panel.option { text-decoration: none; color: inherit; }
a.option:hover b { color: var(--accent); }
.app-tabs a .count { margin-left: 6px; font-size: 11px; background: var(--warn-soft); color: var(--warn); border-radius: 99px; padding: 1px 7px; }
.app-tabs a[aria-current="page"] .count { background: rgba(255, 255, 255, .25); color: #fff; }
@media (max-width: 560px) { .cal-nav .btn { padding: 8px 12px; } .cal-nav b { font-size: 14px; } .stepper span { font-size: 12px; } }

/* Selección de varias clases */
.sel-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--bg-soft); border: 1px dashed var(--sky); }
.sel-bar.activa { position: sticky; bottom: 12px; z-index: 5; background: #fff; border: 1.5px solid var(--accent); box-shadow: 0 12px 30px -12px rgba(8, 53, 101, .35); }
.sel-bar > div:first-child { display: grid; gap: 2px; min-width: 0; }
.lista-clases { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }

.links-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
#mensaje .actions { margin-top: 6px; }

/* ================= Celular: tutor, directorio y administración ================= */
/* Disponibilidad del tutor: vista por día (solo celular) */
.dia-movil { display: grid; gap: 14px; }
.dias-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dias-tabs button { display: grid; gap: 2px; justify-items: center; padding: 8px 2px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: 700 13px var(--font); color: var(--ink); cursor: pointer; }
.dias-tabs button small { font: 600 11px var(--font); color: var(--muted); }
.dias-tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.dias-tabs button[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.dias-tabs button.tiene:not([aria-pressed="true"]) { border-color: var(--accent); }
.rango { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; background: var(--bg-soft); border-radius: 14px; padding: 12px; }
.rango .field label { font-size: 13px; }
.rango select { padding: 10px 12px; font-size: 15px; }
.rango .actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.franjas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.franja { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 11px 4px; font: 700 15px var(--font); color: var(--ink);
  cursor: pointer; font-variant-numeric: tabular-nums; }
.franja[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.franjas-titulo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.franjas-titulo b { font-size: 16px; }

@media (max-width: 640px) {
  .avail-wrap.solo-pc { display: none; }
  #panelDisp .submit-bar { position: sticky; bottom: 0; z-index: 6; margin: 0 -18px -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
  #panelDisp .submit-bar .btn { flex: 1; }
  #panelDisp .panel-head .legend span:last-child { display: none; }
  #copiarLunes { display: none; }
}

@media (max-width: 560px) {
  /* Encabezado de páginas públicas: sin enlaces encimados */
  header.nav nav { flex-wrap: nowrap; gap: 2px; }
  header.nav nav a { font-size: 14px; padding: 7px 9px; white-space: nowrap; }
  header.nav nav a[aria-current="page"] { display: none; }

  /* Filtros en una sola fila deslizable */
  .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; padding-bottom: 2px; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; }
  .filters { gap: 8px; }
  .filters select, .filters input { flex: 1 1 100%; }
  .panel-head { gap: 8px; }

  /* Indicadores compactos y deslizables */
  .kpis { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .kpis::-webkit-scrollbar { display: none; }
  .kpi { flex: 0 0 auto; min-width: 118px; padding: 10px 12px; }
  .kpi b { font-size: 22px; }
  .kpi span { font-size: 12px; }

  /* Fichas: etiqueta y dato en dos columnas, acciones ordenadas */
  .detail { grid-template-columns: minmax(84px, 34%) 1fr; gap: 6px 10px; font-size: 13.5px; }
  .detail dt { margin-top: 0; }
  .item, .qitem { padding: 14px; }
  .item .actions, .qitem .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .item .actions .btn, .qitem .actions .btn { width: 100%; padding: 10px 8px; font-size: 13.5px; }
  .item .actions .btn-primary { grid-column: 1 / -1; }
  .verif { display: grid; gap: 6px; }
  .verif select { width: 100%; }
  .vista > h1 { font-size: 26px; }

  /* Tabla de precios como tarjetas */
  .tabla-wrap { padding: 12px; }
  .tabla thead { display: none; }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .tabla td { border: 0; padding: 0; }
  .tabla td:first-child { grid-column: 1 / -1; }
  .tabla td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .tabla td input[type=number] { width: 100% !important; }
  .tabla td:last-child { grid-column: 1 / -1; }
  .tabla td:last-child .btn { width: 100%; }
}

@media (max-width: 560px) {
  .panel.tabla-wrap { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .tabla-wrap .tabla td, .tabla-wrap .tabla th { border: 0; padding: 0; }
  .tabla-wrap .tabla tr { background: #fff; box-shadow: var(--shadow-sm); }
}

/* ================= Inscripción de tutores por pasos ================= */
.wiz { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.wiz::-webkit-scrollbar { display: none; }
.wiz button { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: 700 14px var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.wiz button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-soft); font-size: 12px; color: var(--ink); }
.wiz button.hecho { color: var(--ink); border-color: var(--accent-soft); }
.wiz button.hecho span { background: var(--accent-soft); color: var(--accent); }
.wiz button[aria-current] { border-color: var(--accent); color: var(--accent); }
.wiz button[aria-current] span { background: var(--accent); color: #fff; }
.wiz button:disabled { opacity: .5; cursor: not-allowed; }
.wiz-barra { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: -8px; }
.wiz-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--navy)); transition: width .25s; }
.wiz-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wiz-ctrl .btn { min-width: 130px; }
.sub-bloque { display: grid; gap: 14px; padding: 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.lista-filas { display: grid; gap: 8px; }
.lista-filas .fila { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; }
.lista-filas .fila select { width: auto; padding: 9px 10px; }
.lista-filas + .btn { justify-self: start; }
.fila-nivel { grid-template-columns: minmax(0, 1fr) auto !important; }
.fila-nivel b { font-size: 15px; }
.seg-mini { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg-mini button { border: 0; background: #fff; padding: 8px 12px; font: 700 13px var(--font); color: var(--ink); cursor: pointer; }
.seg-mini button + button { border-left: 1.5px solid var(--line); }
.seg-mini button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.fila-horario { grid-template-columns: auto auto auto auto !important; justify-content: start; }
.dias-chips { display: flex; gap: 4px; }
.dias-chips button { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: 700 14px var(--font); color: var(--ink); cursor: pointer; }
.dias-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.fila-horario .hora { display: grid; gap: 2px; }
.fila-horario .hora span { font-size: 12px; font-weight: 700; color: var(--muted); }

@media (max-width: 640px) {
  .wiz { margin-inline: -4px; }
  .wiz button { flex: none; padding: 8px 10px; }
  .wiz-ctrl { position: sticky; bottom: 0; z-index: 6; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    margin-inline: -20px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .wiz-ctrl .btn { min-width: 0; flex: 1; }
  .wiz-ctrl #wizTexto { flex: none; }
  .lista-filas .fila { grid-template-columns: 1fr 1fr auto; }
  .lista-filas .fila .fila-curso { grid-column: 1 / -1; }
  .lista-filas .fila select { width: 100%; }
  .fila-nivel { grid-template-columns: 1fr !important; }
  .seg-mini { width: 100%; }
  .seg-mini button { flex: 1; }
  .fila-horario { grid-template-columns: 1fr 1fr auto !important; }
  .fila-horario .dias-chips { grid-column: 1 / -1; justify-content: space-between; }
  .dias-chips button { flex: 1; width: auto; min-width: 0; height: 40px; }
}

/* Google Calendar vinculado (espacio del tutor) */
.cal-vincular { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.cal-vincular .actions { display: flex; gap: 8px; }
.ayuda-cal { background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; }
.ayuda-cal summary { font-weight: 700; cursor: pointer; color: var(--accent); }
.ayuda-cal ol { margin: 10px 0 6px; padding-left: 20px; display: grid; gap: 6px; }
.cal-embed { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cal-embed iframe { display: block; width: 100%; height: 600px; border: 0; }
#panelCal { margin-bottom: 18px; }
@media (max-width: 640px) {
  .cal-vincular { grid-template-columns: 1fr; }
  .cal-vincular .actions .btn { flex: 1; }
  .cal-embed iframe { height: 480px; }
}

/* Elegir área (IB o universidad) */
.area-pick { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.area-pick .choice span b { font-size: 16px; }
.seg-area { margin-bottom: 14px; }
.seg-area button { font-size: 15px; padding: 10px 16px; }

/* ================= Iniciar sesión / Registrarse ================= */
.auth-split { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 !important; align-items: stretch; }
.auth-visual { position: relative; overflow: hidden; display: grid; align-content: center; justify-items: center; gap: 32px; padding: 56px 48px;
  background: linear-gradient(150deg, #083565 0%, #1d5c8c 55%, #317ba9 100%); color: #fff; }
.av-copy, .av-img { position: relative; z-index: 1; }
.av-copy { max-width: 440px; }
.auth-visual h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.auth-visual h2 em { font-style: normal; color: #ffd36e; }
.beneficios { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.beneficios li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.beneficios li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #ffd36e; font-weight: 800; }
.av-img { width: min(100%, 400px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .28)); }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.blob.b1 { width: 340px; height: 340px; background: #5a9fcb; opacity: .5; top: -90px; left: -70px; animation: deriva 14s ease-in-out infinite; }
.blob.b2 { width: 280px; height: 280px; background: #ffd36e; opacity: .22; bottom: -110px; right: -50px; animation: deriva 18s ease-in-out infinite reverse; }
.blob.b3 { width: 200px; height: 200px; background: #9fc7e2; opacity: .25; top: 45%; right: 18%; animation: deriva 22s ease-in-out infinite; }
.auth-panel { display: grid; place-items: start center; padding: 48px 20px 72px; min-width: 0; }
.auth-panel .auth { width: min(100%, 500px); }
.auth-tabs { position: relative; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.auth-tabs.der .tab-ind { transform: translateX(100%); }
.auth-tabs button { position: relative; z-index: 1; transition: color .2s ease; }
.auth-tabs button[aria-selected="true"] { background: transparent; box-shadow: none; color: var(--ink); }
.reg-paso { display: grid; gap: 14px; }
.tipo-grupo { margin: 2px 0 -6px; font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tipos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tipo-card { display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; padding: 12px 10px 16px; border: 1.5px solid var(--line);
  border-radius: 18px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.tipo-card img { width: 100%; max-width: 150px; height: auto; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.tipo-card b { font-size: 15px; }
.tipo-card small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tipo-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.tipo-card:hover img { transform: scale(1.07) rotate(-2deg); }
.tipo-card:active { transform: scale(.97); }
.tipo-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tipo-elegido { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--accent-soft); }
.tipo-elegido img { width: 64px; height: auto; flex: none; }
.tipo-elegido > div { display: grid; flex: 1; min-width: 0; }
.tipo-elegido b { font-size: 16px; }
.input-ico { position: relative; }
.input-ico .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s ease; }
.input-ico input { padding-left: 42px; }
.input-ico:focus-within .ico { color: var(--accent); }
.input-ico:has(.ver-pass) input, .input-ico:has(.coincide) input { padding-right: 46px; }
.ver-pass { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; border: 0; background: transparent;
  color: var(--muted); padding: 8px; border-radius: 8px; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.ver-pass:hover { background: var(--accent-soft); }
.ver-pass.on { color: var(--accent); }
.coincide { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ok); font-weight: 800; font-size: 18px; animation: marcar .35s ease; }
.req { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.req li { transition: color .2s ease; }
.req li::before { content: "○"; display: inline-block; width: 16px; }
.req li.ok { color: var(--ok); font-weight: 600; }
.req li.ok::before { content: "✓"; font-weight: 800; }
.centro { text-align: center; margin: 0; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); }
  .auth-visual { padding: 26px 20px 46px; gap: 0; justify-items: start; }
  .auth-visual h2 { font-size: 24px; }
  .av-img, .beneficios { display: none; }
  .auth-panel { padding-top: 0; margin-top: -26px; position: relative; z-index: 2; }
}
@media (max-width: 420px) {
  .auth-panel .auth { padding: 20px 16px; }
  .tipos { gap: 8px; }
  .tipo-card { padding: 8px 6px 12px; }
  .tipo-card img { max-width: 112px; }
  .tipo-card b { font-size: 14px; }
}

.area-pick .choice span { justify-items: center; text-align: center; }
.area-pick .choice img { width: 100%; max-width: 140px; height: auto; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.area-pick .choice:hover img { transform: scale(1.06) rotate(-2deg); }
.area-pick .choice input:checked + span img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }

/* Registro: tres tipos de alumno y una tarjeta ancha para tutores */
.tipos.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tipos.tres .tipo-card img { max-width: 120px; }
.tipos.tres .tipo-card b { font-size: 14px; }
.tipo-card.ancha { grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 6px 12px; padding: 12px 16px; }
.tipo-card.ancha img { max-width: 96px; }
.tipo-card.ancha span { display: grid; gap: 2px; }
@media (min-width: 901px) {
  .auth-visual { position: sticky; top: 68px; height: calc(100vh - 68px); min-height: 560px; align-self: start; }
}
@media (max-width: 560px) {
  .tipos.tres { grid-template-columns: 1fr; }
  .tipos.tres .tipo-card { grid-template-columns: 84px 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 12px; padding: 8px 12px; }
  .tipos.tres .tipo-card img { grid-row: span 2; max-width: 84px; }
  .tipo-card.ancha { grid-template-columns: 84px 1fr; }
  .tipo-card.ancha img { max-width: 84px; }
  .tipo-card .solo-pc { display: none; }
}

/* Inscripción: varios servicios y resumen de perfiles */
.area-pick.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.area-pick .choice input[type=checkbox] + span::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid var(--line); background: #fff; }
.area-pick .choice { position: relative; }
.area-pick .choice input[type=checkbox]:checked + span::after { content: "✓"; display: grid; place-items: center; border-color: #fff; color: var(--accent); font-weight: 800; font-size: 14px; }
.tarifa-campo input { max-width: 220px; }
.resumen-areas { display: grid; gap: 8px; }
.resumen-areas:empty { display: none; }
.resumen-areas .ra { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.resumen-areas .ra span { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .area-pick.tres { grid-template-columns: 1fr; }
  .area-pick.tres .choice span { grid-template-columns: 84px 1fr; justify-items: start; text-align: left; column-gap: 12px; align-items: center; }
  .area-pick.tres .choice img { grid-row: span 2; max-width: 84px; }
  .resumen-areas .ra { grid-template-columns: 1fr auto; }
  .resumen-areas .ra span { grid-column: 1 / -1; grid-row: 2; }
}

/* Datos de pago */
.metodos-pago { display: grid; gap: 10px; }
.metodo { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.metodo > b { font-size: 15px; }
.metodo .dato { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.metodo .dato span { font-size: 13px; color: var(--muted); }
.metodo .dato code { font: 700 15px var(--mono, ui-monospace, monospace); letter-spacing: .02em; overflow-wrap: anywhere; color: var(--ink); }
.metodos-pago .small { margin: 0; }
@media (max-width: 480px) {
  .metodo .dato { grid-template-columns: 1fr auto; row-gap: 2px; }
  .metodo .dato code { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
}
