/* La mesa — identidad visual «papel y puntos» (Estandar, regla 12: la belleza es parte de la ergonomía).
   Papel cálido, tinta casi negra y UN solo naranja: lo que es tuyo, lo que está abierto, lo que pide atención.
   Un grotesco pesado para nombrar y contar (Archivo), uno de lectura para el texto (Manrope).
   El punto es la unidad de información: una persona, un voto, una página, una marca.
   Sin iconos, sin sombras decorativas, alineado a la izquierda. Tipografías empaquetadas: ninguna
   llamada a terceros. Móvil primero. */
@font-face { font-family: 'Archivo'; src: url('vendor/fonts/archivo-latin.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('vendor/fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --paper: #f1efea; --paper-2: #e4e1d9; --card: #faf9f6; --line: #d9d5cb;
  --ink: #17171a; --ink-2: #3a3a3e; --muted: #8a867c;
  --signal: #f2681c;              /* el único color: tuyo, abierto, atención */
  --mark: var(--ink); --ok: var(--ink); --amber: var(--signal); --red: #b23c17;
  --capsule: #17171a; --capsule-ink: #f6f4ef;
  --r: 10px; --r-lg: 18px; --shadow: 0 10px 30px rgba(23,23,26,.10);
  --sans: 'Manrope', -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --dot: 11px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
h1, h2, .display { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.eyebrow, .sheet h3, .guide th, .entry .kind, .verbs button, .pager .follow, .tabs button {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: 11px;
}
/* Cabecera: el nombre pesado, el lugar en versalitas, como el mes y el año */
header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px 6px; }
header h1 { font-size: 26px; margin: 0; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
header h1 b { font-weight: 800; }
header h1 span { display: inline-block; margin-left: 10px; font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--muted); vertical-align: 2px; }
@media (max-width: 430px) { header h1 span { display: none; } }
header .right { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
/* Botones: planos, línea de un pelo, sin sombra */
button, .btn { font: inherit; font-weight: 700; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 10px 18px; min-height: 42px; cursor: pointer; transition: transform .08s ease, background .12s ease, color .12s ease; }
button:active { transform: scale(.985); }
button:focus-visible, .btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.primary, button.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
button.quiet { border-color: var(--line); color: var(--ink-2); font-weight: 600; }
button.x { width: auto; min-width: 42px; height: 42px; padding: 0 14px; font-size: 11px; font-family: var(--display); text-transform: uppercase; letter-spacing: .13em; border-color: var(--line); color: var(--ink-2); }
button[disabled] { opacity: .55; cursor: default; }
/* Los presentes, como los días del mes: un punto por persona */
#peers { display: flex; align-items: center; gap: 8px; padding: 2px 18px 8px; font-size: 12.5px; color: var(--muted); min-height: 20px; }
#peers .names { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#peers:empty { display: none; }
.dotrow { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dt { width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--ink); flex: 0 0 auto; transition: background .2s, box-shadow .2s; }
.results .dt { animation: land .28s ease-out both; }
.dt.mine { background: var(--signal); }
.dt.dim { background: var(--paper-2); }
.dt.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.dt.hand { box-shadow: 0 0 0 2.5px rgba(242,104,28,.55); margin: 0 2px; }
.eyebrow { color: var(--muted); margin-bottom: 4px; }
main { flex: 1; display: flex; flex-direction: column; }
.screen { display: none; flex: 1; flex-direction: column; }
.screen.on { display: flex; }
/* La mesa */
.table:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.table { position: relative; flex: 1; overflow: hidden; margin: 0 18px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); touch-action: none; user-select: none; -webkit-user-select: none; }
.table img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.table .empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px; color: var(--muted); }
.table .empty p { max-width: 26em; font-size: 15px; }
.table .empty > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.table .empty .btn { pointer-events: auto; }
.table .empty b { color: var(--ink); }
.layer { position: absolute; inset: 0; pointer-events: none; }
/* El escenario: el documento y lo dibujado encima se acercan juntos (zoom) */
.stage { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.zoomtag { position: absolute; left: 12px; top: 12px; font-family: var(--display); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: var(--capsule); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
/* Modo presentador: el código a la vista mientras compartes pantalla */
.corner { position: absolute; right: 14px; bottom: 14px; background: var(--paper); border: 1.5px solid var(--ink); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 42vw; }
.corner img, .corner canvas, .corner table { width: 132px !important; height: 132px !important; image-rendering: pixelated; }
.corner span { font-family: var(--display); font-size: 10px; letter-spacing: .04em; word-break: break-all; text-align: center; max-width: 150px; line-height: 1.25; }
.mark { pointer-events: auto; cursor: pointer; position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--paper); animation: land .36s cubic-bezier(.2, .9, .25, 1.15) both; }
.mark:hover { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--signal); }
@keyframes land { from { transform: translate(-50%, -50%) scale(.35); opacity: 0; } 60% { opacity: 1; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.mark.mine { background: var(--signal); }
.mark[data-by]::after { content: attr(data-by); position: absolute; top: 32px; font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink); background: var(--paper); padding: 2px 7px; white-space: nowrap; }
.arrow { position: absolute; width: 54px; height: 54px; transform: translate(-100%, -100%); color: var(--signal); animation: land .36s cubic-bezier(.2, .9, .25, 1.15) both; }
.arrow svg { width: 100%; height: 100%; display: block; overflow: visible; }
.arrow svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px var(--paper)); }
.cover { position: absolute; transform: translate(-50%, -50%); width: 160px; height: 40px; background: var(--ink); color: rgba(241,239,234,.55); font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; padding: 4px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(241,239,234,.18), 0 0 0 2px var(--paper); animation: land .3s ease-out both; }
.finger { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; transition: opacity .12s, border-color .15s; }
.finger::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--ink); }
.finger.on { opacity: .9; }
.finger.talking { border-color: var(--signal); animation: breathe 1.4s ease-in-out infinite; }
.finger.talking::after { background: var(--signal); }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 6px rgba(242,104,28,.16); } 50% { box-shadow: 0 0 0 14px rgba(242,104,28,.06); } }
/* La cápsula, encima del dedo */
.capsule { position: absolute; transform: translate(-50%, calc(-100% - 66px)); background: var(--capsule); color: var(--capsule-ink); padding: 10px 15px; border-radius: 14px; font-size: 14px; font-weight: 500; max-width: 78vw; line-height: 1.35; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; }
.capsule.on { opacity: 1; }
.capsule .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: var(--capsule-ink); }
.capsule .dot.listen { background: var(--signal); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .55; } }
.capsule .green { background: var(--capsule-ink); } .capsule .amber { background: var(--signal); } .capsule .red { background: transparent; box-shadow: inset 0 0 0 1.5px var(--capsule-ink); }
.choices { display: flex; gap: 8px; margin-top: 14px; }
.choices button { flex: 1; min-height: 44px; }
/* Los demás, en la mesa */
.peer { position: absolute; transform: translate(-50%, -50%); width: 13px; height: 13px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper-2); transition: left .08s linear, top .08s linear; }
.peer.talking { background: var(--signal); width: 20px; height: 20px; animation: breathe 1.4s ease-in-out infinite; }
.peer span { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; background: var(--paper); padding: 2px 7px; white-space: nowrap; color: var(--ink); }
/* Verbos y barra */
.verbs { display: flex; gap: 6px; padding: 10px 18px 0; overflow-x: auto; scrollbar-width: none; }
.verbs::-webkit-scrollbar { display: none; }
.verbs button { flex: 0 0 auto; min-height: 34px; padding: 6px 14px; border-color: var(--line); }
.hint { font-size: 13.5px; color: var(--muted); padding: 6px 18px; margin: 0; }
.sheet .hint { padding: 0 0 4px; white-space: pre-line; }   /* los pasos, uno por línea */
.bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px calc(14px + env(safe-area-inset-bottom)); align-items: center; }
.bar .btn { display: inline-flex; align-items: center; white-space: nowrap; }
.bar button { border-color: var(--line); font-weight: 600; }
.bar.room .talk { flex: 0 1 auto; min-height: 48px; background: transparent; color: var(--ink); border-color: var(--line); letter-spacing: .1em; }
.bar.room #mark-btn { flex: 1 1 140px; min-height: 56px; background: var(--ink); color: var(--paper); border-color: var(--ink); font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.bar .talk { flex: 1 1 150px; min-width: 0; min-height: 56px; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bar .talk.talking { background: var(--signal); border-color: var(--signal); }
.bar .ask { flex: 0 1 auto; min-width: 0; min-height: 56px; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; padding: 0 20px; border: 1.5px solid var(--ink); color: var(--ink); }
/* Hojas */
.sheet { position: fixed; inset: auto 0 0 0; max-height: 78vh; overflow: auto; background: var(--card); border-top: 1.5px solid var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -14px 44px rgba(23,23,26,.14); padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.sheet.on { transform: none; }
.sheet h2 { font-size: 24px; margin: 2px 0 10px; line-height: 1.1; }  /* frases en minúscula: las mayúsculas solo para etiquetas cortas (B3) */
.sheet h3 { color: var(--muted); margin: 18px 0 6px; }
.sheet .phrase { display: inline-block; margin: 3px 6px 3px 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; }
.sheet input, .sheet textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.sheet input:focus, .sheet textarea:focus { outline: none; border-color: var(--ink); }
.sheet textarea { resize: vertical; }
/* Minuta */
.minuta { padding: 8px 18px 12px; overflow: auto; flex: 1; }
.entry { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.entry img { width: 76px; height: 50px; object-fit: cover; background: var(--paper-2); }
.entry .meta { font-family: var(--display); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.entry.mine { opacity: .92; }
.entry.mine .meta::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--signal); margin-right: 7px; vertical-align: -1px; }
.minuta h3 { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin: 22px 0 4px; }
.entry .kind { display: inline-block; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; margin-left: 8px; color: var(--ink-2); font-size: 10px; }
/* Guía y privacidad */
.privacy, .guide { padding: 4px 18px 20px; max-width: 40em; line-height: 1.6; color: var(--ink-2); }
.guide h3 { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; color: var(--ink); margin: 26px 0 8px; }
.guide table { border-collapse: collapse; width: 100%; font-size: 14px; }
.guide td, .guide th { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { color: var(--muted); }
.guide ol { padding-left: 1.1em; } .guide li { margin: 7px 0; }
.guide b, .privacy b { font-weight: 800; color: var(--ink); }
/* Nunca display:none: en iOS un input así deja de responder a su etiqueta y al clic del menú */
input[type=file] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Un archivo en el aire: el acento dice dónde soltarlo (C1) */
body.dropping::after { content: attr(data-drop); position: fixed; inset: 10px; z-index: 50; border: 2px dashed var(--signal); background: rgba(242,104,28,.07); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; font-family: var(--display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--signal); pointer-events: none; }
/* Páginas: el número grande y un punto por página */
.pager { display: flex; align-items: center; gap: 12px; padding: 10px 18px 0; }
.pager button { min-height: 34px; padding: 6px 14px; border-color: var(--line); font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.pager #pageno { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; letter-spacing: -.02em; min-width: 3.6em; text-align: center; }
.pager #pagedots { flex: 1; overflow: hidden; }
.pager #pagedots .dt { width: 8px; height: 8px; }
.pagejump { position: relative; display: inline-flex; align-items: center; }
.pagejump input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; font: inherit; cursor: text; }
.pagejump input:focus { opacity: 1; background: var(--card); border: 1.5px solid var(--ink); border-radius: 8px; text-align: center; font-family: var(--display); font-weight: 800; }
.pagejump input:focus + #pageno { visibility: hidden; }
.find { display: flex; align-items: center; gap: 8px; padding: 10px 18px 0; }
.find input { flex: 1; min-width: 0; font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.find input:focus { outline: none; border-color: var(--ink); }
.find button { min-height: 36px; padding: 6px 14px; border-color: var(--line); font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.find span { font-family: var(--display); font-size: 11px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.hit { position: absolute; background: rgba(242,104,28,.28); box-shadow: 0 0 0 1.5px var(--signal); border-radius: 2px; }
.hit.on { background: rgba(242,104,28,.55); }
.pager .follow { margin-left: auto; border-color: var(--line); }
.pager .follow.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* La línea «Ahora:» — lo único que dice qué sigue */
.now { font-size: 13.5px; color: var(--ink-2); padding: 10px 18px 0; }
.now b { color: var(--ink); font-weight: 800; }
.now:empty { display: none; }
/* El puente: una línea, una vez, cuando algo acaba de salir bien */
.bridge { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 10px 18px 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.bridge a { color: var(--signal); font-weight: 800; text-underline-offset: 3px; }
.bridge button.link { font-size: 12px; min-height: 24px; padding: 0; margin-left: auto; }
/* Preguntar: opciones, escala, respuestas */
.sheet.q, .sheet.vote { max-height: 88vh; }
.q-option, .vote-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; min-height: 56px; margin: 8px 0; padding: 12px 16px; border-radius: var(--r); font-size: 16px; font-weight: 600; border-color: var(--line); }
.q-option.mine, .vote-option.mine { border-color: var(--signal); background: rgba(242,104,28,.10); }
.q-option .n, .vote-option .n { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 17px; }
.scale { display: flex; gap: 8px; }
.scale button { flex: 1; min-height: 66px; font-family: var(--display); font-size: 26px; font-weight: 800; border-radius: var(--r); border-color: var(--line); }
.scale button.mine { background: var(--signal); border-color: var(--signal); color: var(--card); }
.cloud { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 6px 0; }
.cloud span { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; }
.answers { display: flex; flex-direction: column; gap: 1px; }
.answers div { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
/* Resultados junto a lo señalado: un punto por respuesta, contable de un vistazo */
.results { position: absolute; transform: translate(0, -50%); min-width: 44%; max-width: 64%; background: var(--paper); border: 1.5px solid var(--ink); padding: 10px 12px; font-size: 12.5px; }
.results .row { margin: 7px 0; }
.results .label { font-family: var(--display); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.results .label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .label .n { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }
.results .dotrow { margin-top: 4px; gap: 4px; }
.results .dt { width: 9px; height: 9px; }
.results .total { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.heat { position: absolute; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 8px rgba(242,104,28,.22), 0 0 0 18px rgba(242,104,28,.10); pointer-events: none; mix-blend-mode: multiply; animation: land .3s ease-out both; }
.hand { color: var(--signal); font-weight: 800; }
/* Los pasos de la guía: el número manda, como el día del mes */
.step { align-items: flex-start; justify-content: flex-start; padding: 4vh 18px 20px; }
.card { width: 100%; max-width: 26em; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.card .stepno { font-family: var(--display); font-weight: 800; font-size: clamp(88px, 26vw, 132px); line-height: .78; letter-spacing: -.055em; margin: 4px 0 2px; }
.card h2 { font-size: clamp(26px, 7vw, 34px); margin: 0; line-height: 1.02; text-transform: uppercase; }
.card .hint { padding: 0; margin: 2px 0 8px; }
.card .btn, .card button { margin-top: 2px; }
.steps { display: flex; gap: 7px; padding: 4px 0 2px; }
.steps .dt { width: 9px; height: 9px; }
.btn.big { display: block; width: 100%; min-height: 54px; line-height: 32px; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; text-align: center; }
button.link { background: transparent; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; font-weight: 600; align-self: flex-start; padding-left: 0; }
/* Menú: grupos con rótulo, filas de texto separadas por una línea; ninguna caja. La lista de
   «Preguntar» conserva sus filas con ejemplo (título + explicación). */
.menu-list { display: flex; flex-direction: column; gap: 0; }
.menu-list .group { font-family: var(--display); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: 11px; color: var(--muted); padding: 14px 0 4px; }
.menu-list .group:first-child { padding-top: 2px; }
.menu-list button { width: 100%; text-align: left; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); padding: 10px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 600; }
.menu-list button:last-child { border-bottom: 0; }
.menu-list button:hover, .menu-list button:focus-visible { color: var(--signal); outline: none; }
.menu-list button small { color: var(--muted); font-weight: 500; font-size: 12.5px; letter-spacing: 0; text-transform: none; font-family: var(--sans); }
#ask-list button { min-height: 54px; }
.keep { display: flex; align-items: center; gap: 10px; padding: 12px 0 2px; font-size: 12.5px; color: var(--muted); }
.keep .dt { width: 9px; height: 9px; }
.qr { display: flex; justify-content: center; padding: 10px 0 14px; }
.qr img, .qr canvas, .qr table { width: min(70vw, 290px) !important; height: min(70vw, 290px) !important; image-rendering: pixelated; }
/* El código, desde la última fila: papel y tinta a pantalla completa */
.qrfull { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.qrfull-code img, .qrfull-code canvas, .qrfull-code table { width: min(78vw, 78vh) !important; height: min(78vw, 78vh) !important; image-rendering: pixelated; }
.qrfull-link { font-family: var(--display); font-size: clamp(13px, 3.4vw, 20px); font-weight: 700; word-break: break-all; text-align: center; max-width: 30em; margin: 0; }
/* Menú breve junto al dedo */
.radial { position: absolute; transform: translate(-50%, -100%); display: flex; gap: 6px; padding: 6px; background: var(--capsule); border-radius: 999px; box-shadow: var(--shadow); }
.radial button { min-height: 36px; padding: 6px 13px; font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; background: transparent; color: var(--capsule-ink); border-color: rgba(246,244,239,.3); }
@media (min-width: 900px) {
  header h1 { font-size: 30px; } .table { margin: 0 28px; } .capsule { font-size: 15px; }
  .guide, .privacy, .minuta, .now, .bar, .pager, .hint, #peers, .step { padding-left: 28px; padding-right: 28px; }
  .card { max-width: 30em; }
  /* En pantalla grande una hoja no es una franja de lado a lado: es una tarjeta del ancho de
     una columna de lectura, y el menú cuelga del botón que lo abrió. */
  .sheet { inset: 50% auto auto 50%; width: min(480px, 92vw); max-height: 84vh; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transform: translate(-50%, -50%) translateY(10px); opacity: 0; pointer-events: none; transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s; }
  .sheet.on { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
  #menu-sheet { inset: 66px 28px auto auto; width: 320px; transform: translateY(-6px); padding: 14px 20px 18px; }
  #menu-sheet.on { transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
