:root {
  --night: #0b0907;
  --desk: #15110d;
  --amber: #ffb347;
  --amber-dim: #a8783a;
  --paper: #ece4d0;
  --ink: #1f1c18;
  --ribbon: #b1261b;
  --muted: #8b8276;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --type: "Special Elite", "Courier New", monospace;
  --hand: "Caveat", cursive;
  --crt: "VT323", var(--mono);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  min-height: 100vh;
  color: #e9e1d2;
  font: 14px/1.5 var(--mono);
  background:
    radial-gradient(45% 50% at 50% 38%, rgb(120 150 140 / .10), transparent 70%),
    radial-gradient(80% 70% at 50% 50%, #121110, #050505);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Stage ---------- */
.stage {
  min-height: 100svh; display: grid; place-items: center; padding: 28px 16px 40px;
  transition: padding .55s var(--ease);
}
.terminal { width: 100%; display: flex; justify-content: center; }
.legal {
  position: fixed; left: 0; right: 0; bottom: 8px; z-index: 90; margin: 0; text-align: center;
  font-size: 9.5px; letter-spacing: .04em; color: #4a453f; pointer-events: none;
}

/* ---------- Minitel ---------- */
.mt {
  position: relative; container-type: inline-size;
  height: min(calc(100svh - 70px), 920px); aspect-ratio: 1302 / 1208;
  transition: height .55s var(--ease), filter 1s;
  filter: drop-shadow(0 50px 60px rgb(0 0 0 / .85)) drop-shadow(0 0 1px rgb(0 0 0));
  user-select: none; -webkit-user-select: none;
}
.mt__img { width: 100%; height: 100%; display: block; pointer-events: none; }
.mt:not(.is-off) { filter: drop-shadow(0 50px 60px rgb(0 0 0 / .85)) drop-shadow(0 0 90px rgb(160 200 185 / .16)); }
.mt__screen {
  position: absolute; left: 16.4%; top: 11.8%; width: 65.6%; height: 45.4%;
  border-radius: 5% / 8%;
  display: flex; flex-direction: column; overflow: hidden; cursor: text;
  background: radial-gradient(ellipse at 50% 45%, #1b201d 0%, #0e1210 65%, #060807 100%);
  color: #e3ebe4;
  font: 2.55cqw/1.08 var(--crt);
  text-shadow: 0 0 .25cqw rgb(230 245 235 / .55), 0 0 1.1cqw rgb(230 245 235 / .14);
  box-shadow: inset 0 0 3cqw rgb(0 0 0 / .9);
  animation: flicker 7s infinite;
}
.mt__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / .3) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 30% 18%, rgb(255 255 255 / .07), transparent 40%),
    radial-gradient(ellipse at center, transparent 55%, rgb(0 0 0 / .55) 100%);
}
.mt__screen.is-flicker { animation: jolt .5s steps(3); }
.mt__screen.is-off { visibility: hidden; opacity: 0; animation: none; pointer-events: none; }
.mt__screen.is-waking { animation: crtOn .65s ease-out; }
.mt__screen.is-dying { animation: crtOff .45s ease-in forwards; }
.mt__key[data-id="power"] { border-radius: 50%; }
.mt__bar {
  display: flex; justify-content: space-between; padding: .5cqw 3cqw .4cqw;
  background: #cfd6cf; color: #0d110f; text-shadow: none; letter-spacing: .12em; white-space: nowrap;
}
.mt__scroll { flex: 1; overflow-y: auto; padding: 1.2cqw 3cqw .6cqw; scrollbar-width: none; }
.mt__scroll::-webkit-scrollbar { display: none; }
.mt__out div { white-space: pre-wrap; word-break: break-word; }
.mt__out .hi { color: #fff; }
.mt__out .dim { color: #8f9a92; }
.mt__out .me { color: #a9b3ab; }
.mt__out .err { color: #b9c2bb; font-style: italic; }
.mt__out .inv { display: inline-block; background: #e3ebe4; color: #0d110f; text-shadow: none; padding: 0 1cqw; }
.mt__out .key { cursor: pointer; letter-spacing: .06em; word-break: break-all; user-select: all; -webkit-user-select: all; }
.mt__line {
  display: flex; align-items: baseline; gap: 1cqw; padding: .9cqw 3cqw 1.8cqw;
  background: #71849f; color: #fff; text-shadow: 0 0 .3cqw rgb(255 255 255 / .4);
}
.mt__prompt { white-space: nowrap; }
.mt__line input {
  flex: 1; min-width: 0; padding: 0; border: 0; outline: none; background: none;
  border-bottom: .25cqw dotted rgb(255 255 255 / .7);
  font: inherit; color: inherit; text-transform: uppercase; caret-color: #fff;
}
.mt__line input:disabled { opacity: .5; }
.mt__envoi { white-space: nowrap; }
.mt__envoi b { font-weight: inherit; background: #fff; color: #56698a; padding: 0 1cqw; letter-spacing: .1em; text-shadow: none; }
.mt__led {
  position: absolute; left: 88.5%; top: 64%; width: 1.2%; aspect-ratio: 1; border-radius: 50%;
  background: transparent;
}
.mt__led.is-on { background: #ff5a44; box-shadow: 0 0 .6cqw 0.2cqw #ff3b2f, 0 0 2.5cqw 1cqw rgb(255 60 40 / .75), 0 0 6cqw 2cqw rgb(255 60 40 / .35); }
.mt__keys { position: absolute; inset: 0; pointer-events: none; }
.mt__key {
  position: absolute; padding: 0; border: 0; cursor: pointer; border-radius: 14%; pointer-events: auto;
  background-image: url("../img/minitel.webp"); background-repeat: no-repeat;
  transition: transform .07s, filter .07s;
}
.mt__key:hover { filter: brightness(1.2); }
.mt__key.is-down { transform: translateY(.2cqw) scale(.97); filter: brightness(.7); transition: none; }
.mt__key--fn.is-down { filter: brightness(1.3) drop-shadow(0 0 .8cqw rgb(255 220 160 / .6)); }
.mt__key[data-id="envoi"].is-down { filter: brightness(1.3) drop-shadow(0 0 1.2cqw #7fd05a); }

/* ---------- Papers ---------- */
.paper {
  position: relative; margin: 0 0 28px; padding: 34px 38px 30px;
  color: var(--ink); font: 15px/1.55 var(--type);
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 60%, rgb(120 90 40 / .12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    var(--paper);
  box-shadow: 0 1px 0 rgb(255 255 255 / .4) inset, 0 18px 40px -12px rgb(0 0 0 / .8), 0 2px 6px rgb(0 0 0 / .4);
  transform: rotate(-.4deg);
  animation: drop .6s var(--ease) both;
}
.record > *:nth-child(3n) { transform: rotate(.5deg); }
.record > *:nth-child(3n + 1) { transform: rotate(-.3deg); }
.paper pre { margin: 0; font: inherit; white-space: pre-wrap; }
.paper__head { margin-bottom: 18px !important; }
.paper--directive { background-color: #e6e2d4; }
.paper--letter { max-width: 640px; }
.letter p, .letter li { margin: 0 0 12px; }
.letter ul { padding-left: 18px; margin: 0 0 12px; }
.ribbon { color: var(--ribbon); }
.redact { display: inline-block; background: #111; color: transparent; line-height: 1.05; transform: skewX(-2deg); }
.stamp {
  position: absolute; top: 30px; right: 26px; padding: 4px 12px;
  border: 3px double var(--ribbon); border-radius: 4px; color: var(--ribbon);
  font: 20px var(--type); letter-spacing: .24em; transform: rotate(-11deg);
  opacity: .78; mix-blend-mode: multiply;
}
.pencil { margin: 20px 0 0; font: 500 22px/1.35 var(--hand); color: #3f4250; transform: rotate(-2deg); white-space: pre-line; }
.pencil--small { font-size: 19px; }

.printout {
  position: relative; display: grid; grid-template-columns: 22px 1fr 22px; margin: 0 0 34px;
  background: #f1eee3; color: #2d3530;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .8), 0 2px 6px rgb(0 0 0 / .4);
  transform: rotate(.35deg);
  /* torn bottom edge */
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
  animation: drop .6s var(--ease) both;
}
.printout__holes {
  background:
    radial-gradient(circle, #0b0b0a 4px, rgb(0 0 0 / .25) 4.6px, transparent 5.2px) center 10px / 22px 26px repeat-y;
}
.printout__holes:first-child { border-right: 1px dashed rgb(0 0 0 / .18); }
.printout__holes:last-child { border-left: 1px dashed rgb(0 0 0 / .18); }
.printout__sheet {
  min-width: 0; padding: 22px 18px 30px;
  font: 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em;
  background:
    radial-gradient(60% 40% at 80% 70%, rgb(150 120 60 / .08), transparent 70%),
    repeating-linear-gradient(180deg, rgb(182 212 186 / .55) 0 52px, transparent 52px 104px);
  /* dot-matrix ink: slightly soft and uneven */
  text-shadow: .4px 0 0 rgb(45 53 48 / .55), 0 .3px 0 rgb(45 53 48 / .3);
}
.printout__head, .printout__meta { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.printout__head { padding-bottom: 8px; font-weight: 500; letter-spacing: .06em; }
.printout__meta { padding-bottom: 12px; color: rgb(45 53 48 / .7); border-bottom: 1px dashed rgb(45 53 48 / .5); }
.printout table { width: 100%; border-collapse: collapse; margin-top: 6px; table-layout: auto; }
.printout th {
  text-align: left; font-weight: 500; padding: 8px 8px 8px 0; white-space: nowrap;
  border-bottom: 1px dashed rgb(45 53 48 / .5);
}
.printout td { padding: 0 8px 0 0; height: 26px; white-space: nowrap; }
.printout td:nth-child(5) { letter-spacing: .12em; font-weight: 500; }
.printout td:last-child { white-space: normal; line-height: 1.25; }
.printout tbody tr:last-child td { color: #8e2a20; }
.printout__end { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed rgb(45 53 48 / .5); color: rgb(45 53 48 / .65); }
.printout__note { margin-top: 18px; color: #3a3d52; text-transform: none; letter-spacing: 0; text-shadow: none; }
.idcard {
  max-width: 520px; margin: 0 0 28px; padding: 18px 20px 20px; color: #2b2419;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgb(120 90 40 / .2) 27px 28px),
    #d9c592;
  border-radius: 6px; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .8);
  font: 14px var(--type); transform: rotate(1deg);
  animation: drop .6s var(--ease) both;
}
.idcard__title { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .12em; }
.idcard__grid { display: grid; grid-template-columns: 96px 1fr; gap: 18px; }
.idcard__photo {
  aspect-ratio: 3 / 4; display: grid; place-items: center; text-align: center;
  border: 1.5px dashed rgb(60 45 25 / .5); font: 10px var(--mono); color: rgb(60 45 25 / .6);
}
.idcard dl { margin: 0; }
.idcard dl div { display: grid; grid-template-columns: 120px 1fr; }
.idcard dt { font: 11px/2 var(--mono); text-transform: uppercase; color: rgb(60 45 25 / .75); }
.idcard dd { margin: 0; line-height: 2; }

.paper--transcript { background-color: #f2f0ea; font-size: 14.5px; }
.transcript { list-style: none; margin: 0; padding: 0; }
.transcript li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 4px 0; }
.transcript time { font: 12px/1.9 var(--mono); color: #7b7466; }
.is-fresh .transcript li { animation: reveal .5s ease-out both; }

.notice {
  margin: 0 0 18px; padding: 6px 12px; border-left: 2px solid var(--amber);
  font: 11px var(--mono); letter-spacing: .12em; color: var(--amber);
  animation: drop .5s var(--ease) both;
}

/* Case & records */
.case-sheet { margin: 4px 0 26px; }
.case-sheet p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.case-sheet .case-sheet__era { color: var(--amber); }
.case-sheet h2 { margin: 6px 0 4px; font: 400 clamp(32px, 4vw, 46px)/1 var(--type); color: #f1e8d6; }
.record { margin-bottom: 38px; }
.record__label { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.record.is-current .record__label { color: var(--amber); }
.record__ok { margin-left: 8px; padding: 2px 6px; border: 1px solid #6c9a5b; color: #8fc27a; border-radius: 3px; font-size: 10px; }
.record.is-solved > :not(.record__label):not(.notice) { opacity: .92; }

/* ---------- Radio ---------- */
.radio { max-width: 560px; margin: 0 0 28px; animation: drop .6s var(--ease) both; }
.radio__face {
  padding: 18px; border-radius: 10px;
  background: linear-gradient(180deg, #2c2722, #1b1815);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 20px 40px -12px rgb(0 0 0 / .9);
}
.radio__scale {
  position: relative; height: 56px; margin: 0 6px 18px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgb(0 0 0 / .35) 0 1px, transparent 1px 10px), #3a2f1f;
  box-shadow: inset 0 2px 8px rgb(0 0 0 / .8);
  transition: background-color .4s, box-shadow .4s;
}
.radio.is-on .radio__scale { background-color: #8a6427; box-shadow: inset 0 2px 8px rgb(0 0 0 / .6), 0 0 24px rgb(255 179 71 / .25); }
.radio__scale span { position: absolute; bottom: 6px; transform: translateX(-50%); font: 11px var(--mono); color: rgb(255 230 190 / .75); }
.radio__needle { position: absolute; top: 4px; bottom: 4px; width: 2px; background: #e8322a; box-shadow: 0 0 6px #e8322a; transform: translateX(-1px); }
.radio__controls { display: flex; align-items: center; gap: 16px; }
.radio__controls button {
  padding: 8px 12px; border: 1px solid #0c0a08; border-radius: 4px; cursor: pointer;
  background: linear-gradient(180deg, #4a4239, #2c2721); color: #e9dcc5; font: 500 11px var(--mono); letter-spacing: .12em;
}
.radio__power[aria-pressed="true"] { color: var(--amber); box-shadow: 0 0 10px rgb(255 179 71 / .35); }
.radio__freq {
  flex: 1; padding: 6px 12px; border-radius: 4px; text-align: center;
  background: #0d0b09; color: #ff9d3a; font: 28px/1 var(--crt); letter-spacing: .08em;
  text-shadow: 0 0 8px rgb(255 157 58 / .7);
}
.radio__knob {
  width: 64px; height: 64px; border-radius: 50%; cursor: grab; touch-action: none;
  background: radial-gradient(circle at 40% 35%, #5d554b, #221e1a 70%);
  box-shadow: 0 6px 14px rgb(0 0 0 / .7), inset 0 0 0 4px rgb(0 0 0 / .25);
}
.radio__knob:active { cursor: grabbing; }
.radio__knob i { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(#e9dcc5, #e9dcc5) center 6px / 3px 16px no-repeat; }
.radio__lock { color: #ffb4a8 !important; }
.radio__label { margin: 10px 4px 0; color: var(--muted); font-size: 12px; }

/* ---------- Sound toggle (appears once the terminal has been switched on) ---------- */
.sound {
  position: fixed; right: 14px; bottom: 10px; z-index: 90; display: flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .6s;
}
body.is-live .sound { opacity: .3; pointer-events: auto; }
body.is-live .sound:hover, body.is-live .sound.is-open, .sound:focus-within { opacity: .85; }
.sound__btn { width: 30px; height: 30px; padding: 5px; border: 0; background: none; cursor: pointer; }
.sound__range {
  width: 0; opacity: 0; margin: 0; appearance: none; -webkit-appearance: none; height: 18px; background: none; cursor: pointer;
  transition: width .3s var(--ease), opacity .3s;
}
.sound.is-open .sound__range { width: 110px; opacity: 1; }
.sound__range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #bdb6aa var(--v, 80%), #3a3631 0); }
.sound__range::-moz-range-track { height: 2px; background: linear-gradient(90deg, #bdb6aa var(--v, 80%), #3a3631 0); }
.sound__range::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: #e7e0d3; border: 0; }
.sound__range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #e7e0d3; border: 0; }
.sound svg { width: 100%; height: 100%; fill: none; stroke: #bdb6aa; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: #bdb6aa; }
.sound__x { display: none; }
.sound.is-muted .sound__x { display: inline; }
.sound.is-muted .sound__waves { display: none; }

/* ---------- Records tray ---------- */
/* On wide screens the Minitel shrinks and re-centres in the space left by the open tray */
@media (min-width: 1101px) {
  body.tray-open .stage { padding-right: min(620px, 45vw); }
  body.tray-open .mt { height: min(calc(100svh - 70px), 920px, calc((100vw - min(620px, 45vw) - 48px) * 1208 / 1302)); }
}
.tray {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(600px, 94vw);
  background: rgb(8 8 7 / .9); backdrop-filter: blur(6px);
  border-left: 1px solid #1e1c1a; box-shadow: -30px 0 60px rgb(0 0 0 / .6);
  transform: translateX(100%); transition: transform .55s var(--ease), visibility 0s .55s; visibility: hidden;
}
.tray.has-items { visibility: visible; transition: transform .55s var(--ease); }
.tray.is-open { transform: none; }
.tray__tab {
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 9px; border: 1px solid #2a2622; border-right: 0; border-radius: 6px 0 0 6px;
  background: #0d0c0b; color: var(--muted); cursor: pointer; font: 10px var(--mono); letter-spacing: .2em;
}
.tray__label { writing-mode: vertical-rl; transform: rotate(180deg); }
.tray__count { color: var(--amber); font: 20px var(--crt); }
.tray.is-open .tray__tab { color: var(--amber); }
.papers { height: 100%; overflow-y: auto; padding: 32px 28px 80px; scrollbar-width: thin; scrollbar-color: #3a3128 transparent; }

/* ---------- VHS interference (inside the Minitel screen only) ---------- */
.mt__screen .vhs { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.vhs__snow { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .32; mix-blend-mode: screen; transition: opacity .2s; }
.vhs.is-burst .vhs__snow { opacity: .95; }
.vhs__band {
  position: absolute; left: 0; right: 0; top: 0; height: 22%;
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / .04) 30%, rgb(255 255 255 / .11) 55%, rgb(255 255 255 / .03) 75%, transparent);
  mix-blend-mode: screen; filter: blur(1px);
  animation: band 9s linear infinite;
}
.vhs__flash {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 4cqw; opacity: 0;
  font: 7cqw/1 var(--crt); letter-spacing: .08em; color: #fff; text-align: center;
  text-shadow: .5cqw 0 rgb(255 30 60 / .8), -.5cqw 0 rgb(0 210 255 / .8);
  background: #050606;
}
.vhs__flash.is-on { animation: subliminal .16s steps(1) forwards; }
.mt__screen.is-glitch > :not(.vhs) { animation: tear .28s steps(3); }
.mt__screen.is-glitch .vhs__snow { opacity: .8; }

/* ---------- Animations ---------- */
@keyframes drop { from { opacity: 0; transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes reveal { from { opacity: 0; filter: blur(3px); } }
@keyframes flicker { 0%, 93%, 95%, 100% { opacity: 1; } 94% { opacity: .85; } 97% { opacity: .93; } }
@keyframes jolt { 33% { transform: translateX(.4cqw); filter: brightness(1.8); } 66% { transform: translateX(-.3cqw); } }
@keyframes band { from { transform: translateY(-100%); } to { transform: translateY(560%); } }
@keyframes subliminal { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tear {
  0% { transform: translateX(1.2cqw) skewX(-3deg); filter: drop-shadow(.5cqw 0 rgb(255 0 60 / .8)) drop-shadow(-.5cqw 0 rgb(0 220 255 / .8)); clip-path: inset(10% 0 0 0); }
  50% { transform: translateX(-.8cqw); filter: drop-shadow(-.4cqw 0 rgb(255 0 60 / .7)) drop-shadow(.4cqw 0 rgb(0 220 255 / .7)); clip-path: inset(0 0 14% 0); }
  100% { transform: translateX(2px); filter: none; clip-path: none; }
}
@keyframes crtOn { 0% { transform: scale(1, .006); filter: brightness(5); } 45% { transform: scale(1, .006); filter: brightness(4); } 70% { transform: scale(1, 1.03); filter: brightness(1.6); } 100% { transform: none; filter: none; } }
@keyframes crtOff { 0% { transform: none; } 55% { transform: scale(1, .006); filter: brightness(4); } 100% { transform: scale(0, .006); filter: brightness(6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mt { width: 100%; height: auto; max-width: 760px; }
  .papers { padding: 24px 16px 80px; }
  .tray__tab { top: auto; bottom: 90px; transform: none; }
}
@media (max-width: 560px) {
  .paper { padding: 26px 20px 22px; font-size: 13.5px; }
  .stamp { font-size: 15px; top: 14px; right: 12px; }
  .printout { grid-template-columns: 14px 1fr 14px; }
  .printout__holes { background-size: 14px 20px; }
  .printout__sheet { overflow-x: auto; font-size: 10.5px; }
  .radio__controls { flex-wrap: wrap; }
  .radio__freq { order: -1; flex-basis: 100%; }
  .idcard__grid { grid-template-columns: 1fr; }
  .idcard__photo { width: 80px; }
}
