:root{color-scheme:light;--paper:#fff9f1;--ink:#31241e;--muted:#65564e;--orange:#a13b10;--peach:#ffe5d3;--border:#ead9ca;font:100%/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
.page{max-width:46rem;margin:auto;padding:0 clamp(1rem,5vw,2.5rem) 3rem}
header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 0 1.5rem}
.logo{width:84px;height:auto;display:block}
a{color:var(--orange);text-underline-offset:.19em}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid #135f66;outline-offset:3px}
h1,h2,p{margin:0}
h1{font-size:clamp(2.05rem,7vw,3.7rem);letter-spacing:-.045em;line-height:1.05;text-wrap:balance}
h2{font-size:clamp(1.15rem,4.4vw,1.42rem);line-height:1.25}
.intro{color:var(--muted);font-size:1.04rem;margin-top:1rem;max-width:37rem}
.back{min-height:44px;display:inline-flex;align-items:center;font-size:.94rem;font-weight:650}
.phrases{margin-top:1.65rem}
section+section{margin-top:1.5rem}
section>h2{display:flex;gap:.65rem;align-items:center;margin-bottom:.65rem}
.number{display:inline-grid;place-items:center;flex:0 0 1.9rem;height:1.9rem;background:var(--peach);border-radius:.55rem;color:var(--orange);font-size:.85rem;font-weight:800}
.rows{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.row{background:#fff;border:1px solid var(--border);border-radius:.8rem;padding:.4rem .55rem .55rem .85rem}
.form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:.65rem;align-items:center;min-height:44px}
.form+.form{margin-top:.15rem;border-top:1px solid var(--border);padding-top:.15rem}
.form strong{line-height:1.3;font-size:1.08rem}
.variant{display:block;color:var(--muted);font-size:.77rem;line-height:1.2}
.translation{color:var(--muted);margin:0 3.15rem 0 0;line-height:1.35}
button{font:inherit;cursor:pointer}
.play{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--peach);color:var(--orange);padding:0}
.play[aria-pressed=true]{background:var(--orange);color:white}
.play svg{width:18px;height:18px;fill:currentColor}
.play[aria-pressed=true] .start,.play[aria-pressed=false] .stop{display:none}
.tip,.emergency,footer{margin-top:1.25rem;padding:1rem;border-radius:.85rem}
.tip{background:var(--peach)}
.emergency{background:#fff;border:1px solid #c6724d;display:flex;gap:.75rem;align-items:center;justify-content:space-between}
.emergency a{display:inline-grid;place-items:center;min-height:44px;min-width:60px;font-size:1.65rem;font-weight:800}
footer{background:#fff;border:1px solid var(--border)}
footer p{margin-top:.55rem}
footer .muted{color:var(--muted);font-size:.9rem}
.badges{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.75rem;align-items:center}
.badges a{min-height:44px;display:grid;place-items:center}
.badges img{height:40px;width:auto;max-width:100%;display:block}
.print{min-height:44px;margin-top:1rem;border:1px solid #c6724d;border-radius:.6rem;background:#fff;color:var(--orange);padding:.4rem .85rem;font-weight:700}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chooser{max-width:35rem}
.choices{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.65rem}
.choices a{display:grid;grid-template-columns:1fr auto;gap:.08rem .5rem;align-items:center;background:white;border:1px solid var(--border);border-radius:.8rem;padding:.75rem 1rem;text-decoration:none;min-height:61px}
.choices a:hover{border-color:var(--orange)}
.choices b{font-size:1.11rem}
.choices span:not(.arrow){grid-column:1;color:var(--muted);font-size:.96rem}
.arrow{grid-column:2;grid-row:1 / span 2;font-size:1.25rem}
@page{size:A4;margin:11mm}
@media print{
 :root,body{background:white;color:black;font:10pt/1.22 Arial,sans-serif}
 header,.hero,.tip,.emergency,footer,.print,.play,.sr{display:none!important}
 .page,.phrases{max-width:none;padding:0;margin:0}
 .phrases{column-count:2;column-gap:8mm}
 section+section{margin-top:3mm} section>h2{break-after:avoid;margin:0 0 1.2mm;font-size:11pt;display:block}
 .number{display:none}.rows,.form{display:block;min-height:0}
 .row{break-inside:avoid;background:none;border:0;border-radius:0;padding:0 0 1.5mm}
 .form+.form{margin:0;border:0;padding:0}
 .form strong{font-size:10pt}.variant{display:inline;font-size:8pt;margin-left:1mm}
 .translation{margin:0;font-size:9pt}
}
