/* Base : remise à zéro, typographie, mise en page de l'écran. Angles droits partout, aucune ombre, aucun dégradé. */ *, *::before, *::after { box-sizing: border-box; border-radius: 0; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; scroll-padding-bottom: calc(var(--action-bar-h) + var(--space-4)); } html:has(body.has-timer) { scroll-padding-bottom: calc(var(--action-bar-h) + var(--timer-h) + var(--space-4)); } html, body { margin: 0; padding: 0; } body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.45; overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); } body.has-timer { padding-bottom: calc(var(--action-bar-h) + var(--timer-h) + env(safe-area-inset-bottom)); } .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); } h1, h2, h3, p, ul, ol, figure { margin: 0; } ul, ol { padding: 0; list-style: none; } a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; } button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; } [hidden] { display: none !important; } svg { display: block; } :focus-visible { outline: var(--b) solid var(--focus); outline-offset: 3px; } h1:focus { outline: none; } .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } .skip-link { position: absolute; left: var(--space-2); top: -100px; z-index: 50; background: var(--signal); color: var(--on-signal); padding: var(--space-2) var(--space-3); } .skip-link:focus { top: var(--space-2); } /* Chiffres alignés partout où l'on compare des nombres. */ .num, .timer__time, .stepper__value, .set-btn, .field__input, .exercise__count, .action-bar__meta, .stat__value { font-variant-numeric: tabular-nums lining-nums; } /* Trois voix typographiques : - affichage (fonte condensée, capitales) : titres et grands chiffres ; - marquage (chasse fixe du système, capitales) : étiquettes, comme un ruban ou un chiffre frappé sur un disque ; - texte courant (police du système). */ .title, .h2, .num, .btn, .stat__value, .timer__time, .stepper__value, .set-btn, .dialog__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; } .mark, .kicker, .tape, .back, .field__label, .mini-label, .tag, .badge, .stat__label, .chip, .timer__label, .action-bar__meta { font-family: var(--font-mark); font-size: var(--fs-mark); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; } .screen-head { padding: var(--space-4) 0 var(--space-3); border-bottom: var(--b-heavy) solid var(--ink); margin-bottom: var(--space-4); } .kicker { color: var(--muted); display: block; } .title { font-size: var(--fs-3xl); line-height: 0.88; margin-top: var(--space-2); overflow-wrap: anywhere; } .title--hero { font-size: 4rem; } .lede { color: var(--muted); margin-top: var(--space-2); max-width: 46ch; } .h2 { font-size: var(--fs-xl); line-height: 0.95; } .muted { color: var(--muted); font-size: var(--fs-sm); } .foot { color: var(--muted); font-size: var(--fs-sm); margin: var(--space-6) 0 var(--space-4); border-top: var(--b) solid var(--ink); padding-top: var(--space-3); } .empty { color: var(--muted); padding: var(--space-4) 0; } .prose > * + * { margin-top: var(--space-3); } /* Ruban adhésif de salle : l'étiquette d'une section. */ .tape { display: inline-block; background: var(--signal); color: var(--on-signal); padding: 4px var(--space-2); margin: var(--space-6) 0 var(--space-3); } :root[data-theme="light"] .tape, :root[data-theme="light"] .badge--signal { outline: 2px solid var(--ink); } @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tape, :root:not([data-theme="dark"]) .badge--signal { outline: 2px solid var(--ink); } } .tape__hint { margin-left: var(--space-2); color: var(--muted); font-family: var(--font-body); font-size: var(--fs-sm); text-transform: none; letter-spacing: 0; font-weight: 400; } .section-head { display: flex; align-items: baseline; flex-wrap: wrap; } .status { min-height: 1.45em; margin-top: var(--space-3); font-weight: 700; } .status:empty { min-height: 0; margin: 0; } .status--err:not(:empty)::before { content: "! "; } .status--ok:not(:empty)::before { content: "✓ "; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }