/* Fichaje CB Almussafes — estilos compartidos (app del entrenador y panel de la junta) */
/* Barlow Condensed (OFL, ver /fonts/OFL.txt): solo titulares, servida desde este dominio */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2?v=215a93c6) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2?v=3787a5a4) format("woff2"); }

:root {
  --navy: #0E2A54;
  --night: #0B2247;
  --ink: #071731;
  --blue: #1C4FA0;
  --ice: #EEF3FA;
  --sky: #9DC0F0;
  --muted: #4A5A73;
  --line: #D6E0EE;
  --line-strong: #7D8DA6;   /* bordes de controles: 3,37:1 sobre blanco (WCAG 1.4.11); --line queda para separadores */
  --accent: #E8892B;
  --accent-ink: #A9531A;
  --ok: #1E7A4F;
  --ok-bg: #E3F4EB;
  --warn: #8A5300;
  --warn-bg: #FFF2DC;
  --bad: #A3271F;
  --bad-bg: #FBE6E4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(7, 23, 49, .06), 0 6px 20px rgba(7, 23, 49, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--ice);
  line-height: 1.45; font-size: 16px;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: .02em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .75rem; }
a { color: var(--blue); }
small, .muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones y formularios ---------- */
button, .btn {
  font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: .7rem 1.1rem;
  background: var(--blue); color: #fff; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; gap: .4rem; min-height: 44px;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1), filter 160ms;
}
/* El hover solo existe con ratón: en el móvil se quedaría «pegado» tras tocar. */
@media (hover: hover) and (pointer: fine) {
  button:hover, .btn:hover { filter: brightness(1.07); }
  button:disabled:hover { filter: none; }
}
button:active:not(:disabled), .btn:active { transform: scale(.97); }
button:disabled { opacity: .5; cursor: not-allowed; filter: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* Sobre fondos oscuros el contorno es claro */
.app-top :focus-visible, .admin-head :focus-visible, .tabs :focus-visible, .back:focus-visible, .done :focus-visible { outline-color: #fff; }
.done.out :focus-visible { outline-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: #fff; } }
.btn-danger { background: var(--bad); }
.btn-ok { background: var(--ok); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-sm { padding: .35rem .7rem; min-height: 34px; font-size: .9rem; border-radius: 8px; }
.btn-link { background: none; color: var(--blue); padding: .2rem; min-height: 0; font-weight: 500; text-decoration: underline; }

label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
input, select, textarea {
  font: inherit; width: 100%; padding: .65rem .75rem; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); min-height: 44px;
}
textarea { min-height: 80px; resize: vertical; }
.field { margin-bottom: .9rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem; }
.check {
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border: 1.5px solid var(--line-strong);
  border-radius: 999px; background: #fff; font-weight: 500; font-size: .9rem; cursor: pointer; margin: 0;
}
.check input { width: auto; min-height: 0; margin: 0; }
.check:has(input:checked) { border-color: var(--blue); background: #E4EDFA; }
.check:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 .9rem; min-width: 0; }
legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: .3rem; }
.field-error { color: var(--bad); font-size: .88rem; margin-top: .25rem; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }

/* ---------- Tarjetas y avisos ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; margin-bottom: 1rem; }
.alert { border-radius: 10px; padding: .7rem .9rem; margin-bottom: .9rem; font-size: .95rem; }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-bad { background: var(--bad-bg); color: var(--bad); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: #E4EDFA; color: var(--navy); }
.pill {
  display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--ice); color: var(--navy); white-space: nowrap;
}
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-open { background: #FDEBD6; color: #9C4F12; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.row-warn td { background: #FFFAF0; }
.empty { color: var(--muted); padding: 1rem 0; text-align: center; }

/* ---------- Diálogos (<dialog> + showModal: foco atrapado, fondo inerte, Esc) ---------- */
dialog.modal {
  background: #fff; color: var(--ink); border: 0; border-radius: 18px; width: calc(100% - 2rem); max-width: 480px;
  max-height: 90vh; overflow: auto; padding: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
dialog.modal form { padding: 1.3rem; }
dialog.modal::backdrop { background: rgba(7, 23, 49, .55); }
dialog.modal[open] { animation: sheet-in 200ms cubic-bezier(.32, .72, 0, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } }
.modal-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; flex-wrap: wrap; }
/* En móvil la hoja sale desde abajo */
@media (max-width: 639px) { dialog.modal { margin: auto auto 1rem; } }

/* Región de avisos (role="status"): los `.toast` se escriben dentro */
.toast-region { position: fixed; left: 0; right: 0; bottom: 1.2rem; display: flex; justify-content: center; z-index: 60; pointer-events: none; padding: 0 1rem; }
.toast {
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; box-shadow: var(--shadow); max-width: 92vw;
  pointer-events: auto;
}

/* =================================================================
   APP DEL ENTRENADOR
   ================================================================= */
.app-body { background: linear-gradient(180deg, var(--night) 0, var(--night) 210px, var(--ice) 210px); min-height: 100vh; }
.app { max-width: 480px; margin: 0 auto; padding: 1rem 1rem 3rem; }
.app-top { color: #fff; display: flex; align-items: center; gap: .7rem; padding: .3rem 0 1.1rem; }
.app-top img { width: 40px; height: 40px; border-radius: 10px; }
.app-top .club { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; }
.app-top .place { font-size: .82rem; color: var(--sky); }

.hello { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 .2rem; }
.status { display: flex; align-items: center; gap: .6rem; margin: .4rem 0 1rem; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #B6C2D3; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 5px rgba(30, 122, 79, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(30, 122, 79, .05); } }
.timer { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); line-height: 1; }

.punch {
  width: 100%; min-height: 96px; font-size: 1.7rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; border-radius: 18px; margin: .6rem 0 .4rem; flex-direction: column; gap: .15rem; line-height: 1.1;
}
.punch-team { font-family: var(--font); font-size: .95rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.punch-in { background: var(--blue); color: #fff; }
.punch-out { background: var(--accent); color: var(--navy); }
.punch-hint { text-align: center; font-size: .88rem; color: var(--muted); margin: 0; }

.team-choice { margin: .2rem 0 .4rem; }
fieldset.team-choice { margin-bottom: .4rem; }
.pass-hint:empty { display: none; }

/* Sin pase no hay botón: la instrucción es lo principal */
.tap-needed {
  display: grid; justify-items: center; text-align: center; gap: .4rem; padding: 1.2rem; border: 2px dashed var(--blue);
  border-radius: 18px; margin: .6rem 0;
}
.phone-mini { width: 38px; height: 62px; border: 4px solid var(--navy); border-radius: 10px; position: relative; margin-bottom: .3rem; }
.phone-mini::after { content: ""; position: absolute; right: -18px; top: 16px; width: 14px; height: 22px; border-radius: 3px; background: var(--accent); }
.unlink { text-align: center; margin: .4rem 0 0; }
.team-choice .check { font-size: .95rem; padding: .45rem .8rem; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .when { font-weight: 600; font-variant-numeric: tabular-nums; }
.list .what { font-size: .88rem; color: var(--muted); }

.links { display: grid; gap: .5rem; }
.links .btn { justify-content: space-between; background: #fff; color: var(--navy); border: 1.5px solid var(--line-strong); }

.nfc-hero { text-align: center; padding: 1.4rem .6rem .6rem; }
.nfc-hero .phone {
  width: 92px; height: 150px; border: 5px solid var(--navy); border-radius: 18px; margin: 0 auto 1.2rem; position: relative;
}
.nfc-hero .phone::after {
  content: ""; position: absolute; right: -46px; top: 40px; width: 36px; height: 54px; border-radius: 6px;
  background: var(--accent); animation: tap 2.2s ease-in-out infinite;
}
@keyframes tap { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-30px); } }
@media (prefers-reduced-motion: reduce) {
  .nfc-hero .phone::after, .dot.on { animation: none; }
  button, .btn { transition: none; }
  button:active:not(:disabled), .btn:active { transform: none; }
}

dialog.done {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0;
  background: var(--navy); color: #fff; text-align: center; padding: 2rem; overflow: auto;
}
dialog.done[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: done-in 220ms cubic-bezier(.23, 1, .32, 1); }
dialog.done::backdrop { background: var(--navy); }
@keyframes done-in { from { opacity: 0; transform: scale(.96); } }
@keyframes done-fade { from { opacity: 0; } }
dialog.done.out { background: var(--accent); color: var(--navy); }
dialog.done.out::backdrop { background: var(--accent); }
.done .tick {
  width: 96px; height: 96px; border-radius: 50%; border: 5px solid currentColor; display: grid; place-items: center;
  font-size: 3rem; margin-bottom: 1rem;
}
.done .big { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; margin: 0; }
.done .done-team { font-size: 1.15rem; font-weight: 600; margin-top: .2rem; }
.done .time { font-family: var(--font-head); font-size: 4rem; font-weight: 700; line-height: 1; margin: .3rem 0 .8rem; }
.done .alert { max-width: 360px; }
.done .done-auto { font-size: .9rem; margin: .6rem 0 0; }
.done button { margin-top: 1rem; background: #fff; color: var(--navy); min-width: 160px; }
@media (prefers-reduced-motion: reduce) {
  dialog.modal[open] { animation: done-fade 200ms; }
  dialog.done[open] { animation: done-fade 220ms; }   /* solo la opacidad */
}

.month-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.total { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.back { color: #fff; background: none; padding: 0 .6rem 0 0; min-height: 44px; margin-bottom: .2rem; font-weight: 500; }

/* =================================================================
   PANEL DE LA JUNTA
   ================================================================= */
.admin-body { background: var(--ice); }
.admin-head {
  background: var(--night); color: #fff; display: flex; align-items: center; gap: .8rem; padding: 0 1.2rem; height: 54px;
  position: sticky; top: 0; z-index: 20; flex-wrap: nowrap;
}
.admin-head img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.admin-head .title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.admin-head .who { margin-left: auto; font-size: .9rem; color: var(--sky); display: flex; align-items: center; gap: .7rem; flex: none; }
.admin-head .who button { background: transparent; border: 1px solid rgba(255, 255, 255, .5); min-height: 34px; padding: .3rem .7rem; }
.tabs { display: flex; gap: .2rem; overflow-x: auto; background: var(--navy); padding: 0 1rem; position: sticky; top: 54px; z-index: 19; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  color: #C9D8EF; border-bottom: 3px solid transparent; padding: .8rem .8rem; white-space: nowrap; font-weight: 600; text-decoration: none; flex: none;
}
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.tabs .badge { background: var(--accent); color: var(--navy); border-radius: 999px; padding: 0 .4rem; font-size: .75rem; margin-left: .2rem; }
@media (max-width: 639px) {
  .admin-head { padding: 0 .8rem; }
  .admin-head .title { font-size: 1.05rem; }
  .admin-head [data-who-name] { display: none; }
  .tabs { padding: 0 .4rem; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.admin-main { max-width: 1180px; margin: 0 auto; padding: 1.2rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: 1rem; }
.toolbar .field { margin: 0; min-width: 140px; }
.toolbar .grow { flex: 1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1rem; }
.stat .n { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat .l { font-size: .85rem; color: var(--muted); }
.stat.warn .n { color: var(--accent-ink); }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.actions { display: flex; gap: .3rem; flex-wrap: wrap; }
.login-box { max-width: 380px; margin: 8vh auto; }
.tag-box { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--ice); padding: .5rem .6rem; border-radius: 8px; word-break: break-all; }
.audit-detail { font-size: .82rem; color: var(--muted); max-width: 520px; }

a.stat { text-decoration: none; color: inherit; }
@media (hover: hover) and (pointer: fine) { a.stat:hover { box-shadow: 0 0 0 2px var(--sky), var(--shadow); } }
details summary { cursor: pointer; font-weight: 600; color: var(--blue); margin-top: .6rem; }
.month-nav h1 { font-size: 1.35rem; text-align: center; margin: 0; }

/* Pie con el enlace a la información de privacidad */
.foot { text-align: center; padding: 1rem; font-size: .85rem; }
.foot a { color: var(--muted); }
.legal-body { background: var(--ice); }
.legal { max-width: 760px; margin: 0 auto; padding: 1.4rem 1rem 3rem; }
.legal h2 { margin-top: 1.4rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.pill-off { background: #EDE7F6; color: #4A2F7E; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }

/* Alta masiva: el cuadro de diálogo es más ancho para ver la previsualización */
.modal:has(.import-box) { max-width: min(760px, 96vw); }
.import-box textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.import-box ul { margin: .3rem 0 .6rem; padding-left: 1.2rem; }

/* Hoja imprimible de códigos de alta: A4 vertical, 2 × 4 tarjetas por hoja, sin estilos inline (CSP) */
.codes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .8rem; }
.code-card { background: #fff; border: 2px dashed #8A9BB5; border-radius: 10px; padding: 1rem; break-inside: avoid; page-break-inside: avoid; }
.code-card header { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.code-card h3 { margin: .2rem 0 0; font-size: 1.3rem; }
.code-teams { margin: 0 0 .3rem; font-size: .9rem; color: var(--muted); }
.code-big { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 2rem; font-weight: 700; letter-spacing: .12em; margin: .3rem 0; color: var(--navy); }
.code-exp { margin: 0 0 .3rem; font-weight: 600; }
.code-card ol { margin: .3rem 0; padding-left: 1.2rem; font-size: .85rem; }
.code-foot { margin: .3rem 0 0; font-size: .75rem; color: var(--muted); }
@page { size: A4; margin: 10mm; }
@media print {
  .codes-view * { visibility: visible; }
  .codes-view .admin-head, .codes-view .tabs, .codes-view .no-print, .codes-view .foot, .codes-view .print-sheet, .codes-view .toast { display: none !important; }
  .codes-view .admin-body, .codes-view { background: #fff; }
  .codes-view .admin-main { max-width: none; padding: 0; margin: 0; }
  .codes-view .codes-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .codes-view .code-card { height: 68mm; border-radius: 0; border: 1px dashed #666; padding: 4mm 5mm; overflow: hidden; }
  .codes-view .code-card h3 { font-size: 13pt; }
  .codes-view .code-big { font-size: 22pt; margin: 1mm 0; }
  .codes-view .code-card ol { font-size: 8.5pt; margin: 1mm 0; }
  .codes-view .code-card header, .codes-view .code-foot, .codes-view .code-teams { font-size: 7.5pt; }
}

/* ---------- Panel: tablas → tarjetas en pantallas estrechas ---------- */
.nowrap { white-space: nowrap; }
@media (min-width: 720px) { .table-wrap .actions { flex-wrap: nowrap; } }
@media (max-width: 719px) {
  .admin-main { padding: .8rem; }
  .table-wrap { overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap tr { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .table-wrap td { border: 0; padding: .15rem 0; display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; text-align: left; }
  .table-wrap .pill { white-space: normal; }
  .table-wrap td[data-label]::before { content: attr(data-label); flex: 0 0 6.5rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
  .table-wrap td.num { text-align: left; }
  .table-wrap td.cell-empty { display: none; }
  .table-wrap td > .actions { width: 100%; }
  tr.row-warn td { background: none; }
  tr.row-warn { background: #FFFAF0; }
  .toolbar .field { min-width: 0; flex: 1 1 130px; }
}

/* Un texto largo sin espacios (un nombre raro) se parte en vez de ensanchar la página */
.admin-main, .app, dialog.modal { overflow-wrap: anywhere; }
.grid-2 > *, .list li > div { min-width: 0; }

/* ---------- Cartel imprimible (/cartel): una hoja A4, valenciano primero, sin QR ---------- */
.poster-body { background: var(--ice); margin: 0; }
.poster-bar { max-width: 210mm; margin: 0 auto; padding: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.poster-bar p { margin: 0; }
.poster {
  box-sizing: border-box; width: 210mm; max-width: 100%; min-height: 297mm; margin: 0 auto 2rem; background: #fff; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: 16mm 15mm;
}
.poster-logo { width: 34mm; height: 34mm; }
.poster-title h1 { font-size: 40pt; text-transform: uppercase; margin: 0; line-height: 1; }
.poster-es { font-size: 20pt; color: var(--blue); margin: 3mm 0 0; font-weight: 600; }
.poster-tap {
  border: 1.2mm dashed var(--navy); border-radius: 6mm; width: 60mm; height: 60mm; display: grid; place-content: center; gap: 2mm; padding: 4mm; font-size: 12pt;
}
.poster-tap strong { font-size: 15pt; }
.poster-qr { width: 88mm; height: 88mm; border: 1.2mm solid var(--navy); border-radius: 4mm; padding: 2mm; box-sizing: border-box; background: #fff; }
.poster-qr svg { display: block; width: 100%; height: 100%; }
.poster-error { max-width: 210mm; margin: 0 auto 1rem; }
.poster-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6mm; font-size: 15pt; }
.poster-steps strong, .poster-help strong { display: block; font-size: 17pt; }
.poster-steps span, .poster-help span { display: block; color: var(--blue); }
.poster-help { margin: 0; font-size: 12pt; max-width: 150mm; }
.poster-help strong { font-size: 13pt; }
.poster-foot { font-size: 12pt; font-weight: 600; border-top: .4mm solid var(--navy); padding-top: 4mm; width: 100%; }
@page { size: A4; margin: 0; }
@media print {
  .poster-body { background: #fff; }
  .poster-body .no-print { display: none !important; }
  .poster { width: 210mm; height: 296mm; min-height: 0; margin: 0; overflow: hidden; break-after: avoid; }
}
