/* Plan : page blanche tenue dans un cadre de 1200px à filets fins, titres ardoise très serrés,
   un seul accent indigo réservé au bouton principal, à l'eyebrow et à tout ce qui désigne l'IA générative.
   Le produit sert d'image : la carte de jeu, les lignes de cas, le terminal de découpage. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --frame: #f3f3f6;
  --heading: #29363d;
  --text: #60646c;
  --muted: #656b8a;
  --border: #e7e4e8;
  --primary: #6366f1;
  --primary-text: #6366f1;
  --primary-soft: rgba(99, 102, 241, 0.1);
  --ui-black: #181818;
  --on-ui-black: #ffffff;
  --logo: #8c8c8c;
  --haze1: #fef1ec;
  --haze2: #dcdff6;
  --scan: rgba(143, 150, 189, 0.4);
  --k-classic: #29363d;
  --k-human: #bfc6dc;
  --k-gen: #6366f1;
  --term: #181818;
  --term-line: #2c2c2c;
  --shadow-card: 0 0 0 1px rgba(41, 54, 61, 0.03), 0 24px 48px -12px rgba(23, 6, 100, 0.14), 0 6px 16px rgba(23, 6, 100, 0.05);
  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111113;
    --card: #191a21;
    --frame: #1c1d25;
    --heading: #f1f2f6;
    --text: #a7abbb;
    --muted: #8f96bd;
    --border: #2a2c38;
    --primary-text: #9b9df7;
    --primary-soft: rgba(99, 102, 241, 0.22);
    --ui-black: #f1f2f6;
    --on-ui-black: #111113;
    --logo: #7d8090;
    --haze1: #1a1730;
    --haze2: #262b58;
    --scan: rgba(143, 150, 189, 0.16);
    --k-classic: #e7e8ec;
    --k-human: #656b8a;
    --term: #0b0b0d;
    --term-line: #2a2c38;
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111113;
  --card: #191a21;
  --frame: #1c1d25;
  --heading: #f1f2f6;
  --text: #a7abbb;
  --muted: #8f96bd;
  --border: #2a2c38;
  --primary-text: #9b9df7;
  --primary-soft: rgba(99, 102, 241, 0.22);
  --ui-black: #f1f2f6;
  --on-ui-black: #111113;
  --logo: #7d8090;
  --haze1: #1a1730;
  --haze2: #262b58;
  --scan: rgba(143, 150, 189, 0.16);
  --k-classic: #e7e8ec;
  --k-human: #656b8a;
  --term: #0b0b0d;
  --term-line: #2a2c38;
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); color: var(--heading); margin: 0; text-wrap: balance; }
h1 { font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.04; letter-spacing: -0.04em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--heading); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 72px; }
.br { display: block; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav-in { max-width: 1200px; margin-inline: auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.mark { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; color: var(--heading); }
.nav nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--heading); }
.nav nav a:hover { color: var(--primary-text); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; color: var(--heading); }
.lang:hover { border-color: var(--heading); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(107% 100% at 50% 0, var(--bg) 35%, var(--haze1) 58%, var(--haze2) 100%); border-bottom: 1px solid var(--border); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--scan) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 42%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 42%, #000 100%);
}
.hero-in { position: relative; max-width: 1200px; margin-inline: auto; padding: clamp(56px, 8vw, 104px) 24px 0; display: grid; justify-items: center; text-align: center; gap: 20px; }
.eyebrow { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; color: var(--primary-text); }
.sub { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 56ch; color: var(--muted); }
.gloss { font-size: 0.95rem; max-width: 62ch; color: var(--text); }
.gloss strong { color: var(--heading); font-weight: 600; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 6px; }
.cta {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 1.05rem;
  background: var(--primary); color: #fff; border-radius: 999px; padding: 12px 28px;
}
.cta:hover { filter: brightness(1.06); }
.text-link { font-weight: 500; text-decoration: none; color: var(--heading); }
.text-link::after { content: " ›"; }
.text-link:hover { color: var(--primary-text); }

/* Pile de cartes */
.stack { position: relative; width: 100%; display: grid; justify-items: center; padding: clamp(36px, 5vw, 60px) 0 clamp(48px, 6vw, 80px); perspective: 1800px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-card); text-align: left; }
.side { position: absolute; top: clamp(70px, 9vw, 104px); left: 50%; width: 380px; padding: 26px; opacity: 0.78; display: grid; gap: 14px; font-size: 0.95rem; }
.side.l { transform: translateX(calc(-50% - 338px)) rotateY(16deg) scale(0.86); }
.side.r { transform: translateX(calc(-50% + 338px)) rotateY(-16deg) scale(0.86); }
.side h3 { font-size: 1.1rem; }
.game { position: relative; z-index: 2; width: min(420px, 100%); padding: 28px; display: grid; gap: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-head strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--heading); }
.count { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.game h3 { font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }
.game p, .quiz-card p { font-size: 1rem; }
.ask { color: var(--heading); font-weight: 600; }
.choices { display: grid; gap: 8px; }
.choice {
  font: inherit; font-size: 0.98rem; font-weight: 500; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 9px 16px;
  background: var(--card); color: var(--heading);
  border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.15s ease, opacity 0.2s ease;
}
.choice small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.choice:hover:not(:disabled) { border-color: var(--primary); }
.choice:disabled { cursor: default; opacity: 0.45; }
.choice.right:disabled { opacity: 1; background: var(--ui-black); color: var(--on-ui-black); border-color: var(--ui-black); }
.choice.right:disabled small { color: inherit; opacity: 0.7; }
.choice.picked:disabled { opacity: 1; border-color: var(--heading); }
.choice .ico { flex: none; display: inline-flex; }
.feedback { display: grid; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
.feedback .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--heading); }
.fine { font-size: 0.9rem !important; color: var(--muted); }
.strong { color: var(--heading); }
.ui-btn {
  font: inherit; font-size: 0.98rem; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; text-align: center;
  background: var(--ui-black); color: var(--on-ui-black); border: 1px solid var(--ui-black); border-radius: 10px; padding: 10px 18px;
}
.ui-btn.quiet { background: transparent; color: var(--heading); border-color: var(--border); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; line-height: 1; border-radius: 4px; padding: 5px 8px; white-space: nowrap; border: 1px solid transparent; }
.badge.non, .badge.classic { background: var(--k-classic); color: var(--bg); }
.badge.depend, .badge.human { border-color: var(--k-human); color: var(--heading); }
.badge.oui, .badge.gen { background: var(--primary-soft); color: var(--primary-text); }
.chip { font-family: var(--mono); font-size: 0.85rem; color: var(--heading); background: var(--frame); border: 1px solid var(--border); border-radius: 6px; padding: 4px 9px; justify-self: start; }
.lab { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.lab svg { color: var(--heading); }
.bar { display: flex; gap: 4px; height: 10px; }
.bar i { border-radius: 3px; display: block; }
.bar .classic, .sw.classic { background: var(--k-classic); }
.bar .human, .sw.human { background: var(--k-human); }
.bar .gen, .sw.gen { background: var(--k-gen); }
.legend { display: grid; gap: 6px; font-size: 0.9rem; }
.legend.inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legend span { display: flex; align-items: center; gap: 8px; color: var(--heading); }
.sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* Bande des outils */
.tools { max-width: 1200px; margin-inline: auto; padding: 36px 24px; display: grid; gap: 18px; text-align: center; }
.tools p { font-size: 0.9rem; color: var(--muted); }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 14px 28px; flex-wrap: wrap; color: var(--logo); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.tools li:nth-child(odd) { font-family: var(--mono); font-weight: 500; letter-spacing: 0; font-size: 1.1rem; }

/* Cadre */
.frame { max-width: 1200px; margin-inline: auto; border-inline: 1px solid var(--border); border-top: 1px solid var(--border); }
.sec-head { text-align: center; padding: clamp(72px, 10vw, 128px) 24px clamp(36px, 5vw, 56px); display: grid; justify-items: center; gap: 18px; border-bottom: 1px solid var(--border); }
.sec-head p { max-width: 58ch; color: var(--muted); }
.sec-head + .sec-head, .block + .sec-head { border-top: 0; }

/* Manifeste */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principles li { counter-increment: p; padding: 32px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--border); display: grid; gap: 8px; align-content: start; }
.principles li:nth-child(odd) { border-right: 1px solid var(--border); }
.principles li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.principles p { max-width: 52ch; }

/* Cas */
.toolbar { padding: 20px clamp(20px, 3vw, 28px); display: grid; gap: 10px; border-bottom: 1px solid var(--border); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-row .name { font-size: 0.85rem; font-weight: 500; color: var(--muted); min-width: 64px; }
.fbtn { font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; background: transparent; color: var(--heading); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.fbtn:hover { border-color: var(--heading); }
.fbtn[aria-pressed="true"] { border-color: var(--heading); box-shadow: inset 0 0 0 1px var(--heading); font-weight: 600; }
.group-head { display: flex; align-items: baseline; gap: 10px; padding: 28px clamp(20px, 3vw, 28px) 10px; border-bottom: 1px solid var(--border); }
.group-head h3 { font-size: 1.05rem; }
.group-head span { font-size: 0.85rem; color: var(--muted); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 6px 20px; align-items: center;
  padding: 16px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: background-color 0.15s ease;
}
.row:hover { background: var(--frame); }
.row:hover .chev { transform: translateX(3px); color: var(--heading); }
.row-t { display: grid; gap: 2px; }
.row-t b { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--heading); }
.row-t span { font-size: 0.95rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-m { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.row-m .dom { min-width: 96px; text-align: right; }
.chev { color: var(--muted); transition: transform 0.15s ease; display: flex; }
.empty { padding: 32px 28px; border-bottom: 1px solid var(--border); }
.meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }

/* Fiche d’un cas */
html.dlg-open { overflow: hidden; }
.sheet {
  width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; overflow: hidden;
  background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-card);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in 0.22s ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.sheet::backdrop { background: rgba(14, 14, 18, 0.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.sheet-close { position: absolute; top: 18px; right: 18px; background: var(--card); }

.sheet-head {
  position: relative; display: grid; gap: 16px; padding: 30px 40px 30px;
  background: radial-gradient(130% 160% at 0 0, var(--card) 45%, var(--haze1) 78%, var(--haze2) 100%);
  border-bottom: 1px solid var(--border);
}
.sheet-head .meta { padding-right: 56px; }
.sheet h2 { font-size: clamp(1.75rem, 3.6vw, 2.45rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 24ch; }
.sheet h2:focus { outline: none; }
.promise { display: grid; gap: 4px; max-width: 64ch; }
.promise small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.promise p { font-size: 1.02rem; line-height: 1.5; color: var(--text); }
.promise.struck p { text-decoration: line-through; text-decoration-color: var(--k-gen); text-decoration-thickness: 1.5px; }

.verdict-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 26px 40px; border-bottom: 1px solid var(--border); }
.verdict-line .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--k-classic); color: var(--bg); margin-top: 2px; }
.verdict-line.depend .dot { background: transparent; color: var(--heading); box-shadow: inset 0 0 0 1.5px var(--k-human); }
.verdict-line.oui .dot { background: var(--k-gen); color: #fff; }
.verdict-line small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.verdict-line p { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--heading); max-width: 54ch; }

.sheet-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.sheet-main { padding: 30px 40px 36px; display: grid; gap: 18px; align-content: start; }
.sheet-aside { padding: 30px 32px 36px; display: grid; gap: 26px; align-content: start; background: var(--frame); border-left: 1px solid var(--border); }
.sec-lab { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--heading); }
.sheet-aside section { display: grid; gap: 10px; }
.sheet-aside p { font-size: 0.97rem; line-height: 1.6; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; }
.steps li { counter-increment: st; position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; font-size: 1rem; line-height: 1.6; color: var(--heading); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(st); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.75rem; color: var(--heading); background: var(--card); border: 1px solid var(--border);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 30px; bottom: 4px; width: 1px; background: var(--border); }

.tools-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.tools-list li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; line-height: 1.4; color: var(--heading); }
.tools-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--k-classic); transform: translateY(-2px); }
.tools-list.oui li::before { background: var(--k-gen); }
.limit { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.limit .sec-lab { display: flex; align-items: center; gap: 8px; font-size: 0.98rem; }
.limit .sec-lab svg { color: var(--muted); flex: none; }

.sheet-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 14px 40px; border-top: 1px solid var(--border); background: var(--card); }
.pos { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.keys { display: inline-flex; align-items: center; gap: 4px; }
kbd { font-family: var(--mono); font-size: 0.72rem; line-height: 1; color: var(--heading); background: var(--frame); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; }
.foot-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 0.92rem; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer; background: transparent; color: var(--muted); border: 0; padding: 8px 10px; border-radius: 8px; }
.copy-btn:hover { color: var(--primary-text); }
.share-wrap { position: relative; }
.share-btn[aria-expanded="true"] { color: var(--primary-text); }
.share-menu {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 2; min-width: 220px;
  display: grid; padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card);
}
.share-menu[hidden] { display: none; }
.share-menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 4px; }
.share-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; cursor: pointer; text-align: left;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--heading); background: transparent; border: 0; border-radius: 8px;
}
.share-item svg { flex: none; color: var(--muted); }
.share-item:hover, .share-item:focus-visible { background: var(--frame); outline: none; }
.share-item:hover svg, .share-item:focus-visible svg { color: var(--heading); }
.icon-btn {
  flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; color: var(--heading); border: 1px solid var(--border); border-radius: 999px; padding: 0;
}
.icon-btn:hover { border-color: var(--heading); }
.ui-btn:disabled { opacity: 0.4; cursor: default; }

/* Quiz */
.method { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.method li { counter-increment: m; padding: 28px clamp(18px, 2vw, 26px); display: grid; gap: 8px; align-content: start; font-size: 1rem; }
.method li + li { border-left: 1px solid var(--border); }
.method li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.method strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--heading); }
.method-end { padding: 24px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--border); text-align: center; }
.method-end p { max-width: 70ch; margin-inline: auto; color: var(--heading); }
.method-end em { font-style: normal; color: var(--primary-text); font-weight: 500; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-bottom: 1px solid var(--border); }
.picker { padding: clamp(24px, 4vw, 56px) clamp(16px, 2.5vw, 32px); display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--border); }
.pick {
  font: inherit; text-align: left; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 4px 12px; align-items: start;
  background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 12px; padding: 16px 18px;
}
.pick svg { margin-top: 5px; color: var(--heading); }
.pick b { font-weight: 600; font-size: 1.05rem; color: var(--heading); display: block; }
.pick span { font-size: 0.95rem; display: block; }
.pick[aria-pressed="false"] { opacity: 0.7; }
.pick[aria-pressed="false"]:hover { opacity: 1; }
.pick[aria-pressed="true"] { background: var(--card); border-color: var(--border); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.mock-wrap { padding: clamp(16px, 2.5vw, 32px); }
.mock { background: var(--frame); border-radius: 24px; padding: clamp(14px, 3vw, 40px); }
.quiz-card { padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.quiz-card .quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--heading); }
.progress { display: flex; gap: 4px; }
.progress i { height: 6px; flex: 1; border-radius: 3px; background: var(--border); }
.progress i.classic { background: var(--k-classic); }
.progress i.human { background: var(--k-human); }
.progress i.gen { background: var(--k-gen); }
.progress i.now { background: transparent; box-shadow: inset 0 0 0 1.5px var(--heading); }
.step { font-size: 1.15rem !important; font-weight: 500; line-height: 1.35; color: var(--heading); }
.choices.three .choice small { display: inline; margin-left: 8px; }
.quiz-card .result { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--heading); }
.term { background: var(--term); border: 1px solid var(--term-line); border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 0.8rem; line-height: 1.5; color: #c9cbd6; }
.term-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--term-line); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3f; }
.term ol { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 8px; }
.term li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.term li::before { content: "\25C6"; color: #4ade80; font-size: 0.7rem; line-height: 1.75; }
.term .kind { color: #8c8f9c; white-space: nowrap; }
.term .kind.gen { color: #a5b4fc; }
.done { display: flex; align-items: center; gap: 8px; font-size: 0.9rem !important; color: var(--heading); }
.done svg { color: #16a34a; }

/* Pied */
.foot { padding: 32px clamp(20px, 3vw, 40px) 48px; display: grid; gap: 8px; font-size: 0.95rem; }
.foot p { max-width: 72ch; }

@media (max-width: 900px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li:nth-child(odd) { border-right: 0; }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method li:nth-child(3) { border-left: 0; }
  .method li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .picker { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; border-bottom: 0; }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
  .sheet-head { padding: 22px 20px; }
  .sheet-close { top: 14px; right: 14px; }
  .verdict-line { padding: 20px; }
  .sheet-body { grid-template-columns: minmax(0, 1fr); }
  .sheet-main { padding: 24px 20px 28px; }
  .sheet-aside { padding: 24px 20px 28px; border-left: 0; border-top: 1px solid var(--border); }
  .sheet-foot { padding: 10px 12px 10px 20px; }
  .keys, .copy-btn span, .nav-btn span { display: none; }
  .nav-btn { padding: 8px 10px; }
}
@media (max-width: 600px) {
  .nav nav { order: 3; width: 100%; margin-left: 0; }
  .row { grid-template-columns: minmax(0, 1fr) 16px; }
  .row-m { grid-column: 1; grid-row: 2; }
  .row-m .dom { min-width: 0; text-align: left; }
  .chev { grid-row: 1 / span 2; grid-column: 2; }
  .row-t span { white-space: normal; }
  .side { display: none; }
  .frame { border-inline: 0; }
  .method { grid-template-columns: minmax(0, 1fr); }
  .method li + li { border-left: 0; border-top: 1px solid var(--border); }
  .term li { grid-template-columns: 14px minmax(0, 1fr); }
  .term .kind { grid-column: 2; }
  .tools ul { justify-content: center; }
}
