/* KL Prépa — connexion et inscription. Le formulaire à gauche ; à droite, le tableau marine de la page d'accueil
   (orbites, cartes inclinées, pastilles rondes) en trois images. */
@font-face { font-family: "Roundo"; src: url("/fonts/roundo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roundo"; src: url("/fonts/roundo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roundo"; src: url("/fonts/roundo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #f4f6fb; --ink: #001a41; --muted: #3f4d6a; --accent: #f5820a; --on-accent: #001a41; --paper: #ffffff;
  --f-maths: #1f5fbf; --f-pc: #1f7a46; --f-sky: #dbe6fa; --f-mint: #d8efe1; --f-pink: #fcd9df; --f-step: #e8ecf5;
  --line: #d3dbea; --bad: #b4332a; --ok: #1f7a46;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Roundo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.auth { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.auth a { color: inherit; }
p, h1 { margin: 0; }
.auth :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.dot { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--accent); flex: none; }

.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: 100svh; }

/* the form side */
.pane { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4vw, 32px) clamp(16px, 4vw, 56px); }
.pane-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; }
.mark img { width: 44px; height: 44px; border-radius: 50%; }
.swap { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: background-color .18s, box-shadow .18s; }
.swap .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .swap:hover { background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (hover: hover) and (pointer: fine) { .swap:hover .ic { transform: translateX(3px); } }
.sheet { width: 100%; max-width: 440px; margin: auto; padding: clamp(10px, 2.4vh, 36px) 0; }
.sheet.wide { max-width: 600px; }
.sheet h1 { font-size: clamp(2.125rem, 1.5rem + 2vw, 3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.sheet .lede { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; line-height: 1.45; text-wrap: pretty; }
.pane-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .875rem; color: var(--muted); }
.pane-foot span:last-child { display: flex; gap: 20px; }
.pane-foot a { text-decoration: none; }
.pane-foot span:last-child { flex-wrap: wrap; justify-content: center; }
.pane-foot .get-app { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .pane-foot a:hover, .alt a:hover, .lab a:hover { color: var(--f-maths); } }

.form { display: grid; gap: clamp(12px, 1.9vh, 18px); margin-top: clamp(18px, 3.2vh, 34px); }
.f { min-width: 0; margin: 0; padding: 0; border: 0; }
.f > label, .f legend, .lab label { display: block; padding: 0; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; }
.lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lab a { font-size: .875rem; font-weight: 500; color: var(--muted); text-underline-offset: 3px; }
.in { position: relative; display: flex; align-items: center; height: var(--fh, 54px); border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s, background-color .18s; }
@media (hover: hover) and (pointer: fine) { .in:hover { box-shadow: inset 0 0 0 1.5px #a9b6cf; } }
.in:focus-within { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(245, 130, 10, .28); }
.in > .ic { flex: none; margin-left: 18px; color: var(--muted); transition: color .18s; }
.in:focus-within > .ic { color: var(--ink); }
.in input { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 12px; border: 0; background: transparent; color: var(--ink); font: 500 1rem/1.2 "Roundo", system-ui, sans-serif; outline: none; border-radius: 18px; }
.auth .in input:focus, .auth .in input:focus-visible { outline: none; }
.in input::placeholder { color: #8b97b0; font-weight: 400; }
.in input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--paper) inset; -webkit-text-fill-color: var(--ink); }
.in input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.in input[type="number"]::-webkit-outer-spin-button, .in input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eye { flex: none; width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background-color .18s, color .18s; }
@media (hover: hover) and (pointer: fine) { .eye:hover { background: var(--f-step); color: var(--ink); } }
.eye[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hint { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.form > .hint { margin-top: -6px; }
.meter { display: flex; align-items: center; gap: 10px; }
.lab .meter { margin-bottom: 8px; font-size: .8125rem; }
.meter .trk { flex: none; width: 64px; height: 6px; border-radius: 3px; background: var(--f-step); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .25s var(--ease), background-color .25s; }
.meter.full i { background: var(--ok); }
.meter.full [data-meter-text] { color: var(--ok); font-weight: 600; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: var(--fh, 54px); padding: 5px; border-radius: 18px; background: var(--f-step); }
.segs label { position: relative; display: grid; cursor: pointer; }
.segs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segs span { display: grid; place-items: center; border-radius: 14px; font-weight: 600; font-size: .9375rem; transition: background-color .2s, color .2s, box-shadow .2s; }
.segs input:checked + span { background: var(--ink); color: var(--paper); }
.segs input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .segs label:hover input:not(:checked) + span { background: #d6dded; } }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.check .box { flex: none; width: 26px; height: 26px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: background-color .18s, box-shadow .18s; }
.check .box::after { content: ""; width: 11px; height: 6px; border: solid var(--paper); border-width: 0 0 2.4px 2.4px; rotate: -45deg; translate: 0 -1.5px; scale: 0; transition: scale .2s cubic-bezier(.3, 1.6, .5, 1); }
.check input:checked + .box { background: var(--ink); box-shadow: none; }
.check input:checked + .box::after { scale: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.check a { text-underline-offset: 3px; }
.msg { min-height: 0; font-size: .9375rem; line-height: 1.4; }
.msg:empty { display: none; }
.msg.err, .msg.ok { padding: 12px 16px; border-radius: 16px; }
.msg.err { background: #fbeeed; color: var(--bad); }
.msg.ok { background: #e6f4ec; color: var(--ok); }
.go { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 1.0625rem/1 "Roundo", system-ui, sans-serif; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; box-shadow: 0 14px 28px -14px rgba(245, 130, 10, .9); }
.go .ic { transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .go:hover { background: #ff9426; transform: translateY(-2px); } }
@media (hover: hover) and (pointer: fine) { .go:hover .ic { transform: translateX(4px); } }
.go:active { transform: translateY(0) scale(.985); }
.go:disabled { cursor: progress; background: #f7b877; box-shadow: none; transform: none; }
.go:disabled .ic { width: 20px; height: 20px; border: 2.4px solid rgba(0, 26, 65, .3); border-top-color: var(--ink); border-radius: 50%; animation: kl-turn .7s linear infinite; }
.go:disabled .ic path { display: none; }
.alt { margin-top: clamp(14px, 2.2vh, 22px); text-align: center; color: var(--muted); }
.alt a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.who { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: clamp(12px, 2vh, 20px) auto 0; padding: 10px 16px; border-radius: 999px; background: var(--ground); font-size: .875rem; color: var(--muted); }
.cf-turnstile { min-height: 65px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 16px; z-index: 200; }
@keyframes kl-turn { to { transform: rotate(1turn); } }
@keyframes kl-spin { to { transform: rotate(1turn); } }
@keyframes kl-bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }

/* the board */
.board { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; height: calc(100svh - 28px); min-height: 0; margin: 14px 14px 14px 0; padding: clamp(22px, 2.4vw, 34px);
  background: var(--ink); color: var(--paper); border-radius: clamp(28px, 3vw, 40px); }
.board-lesson {
  justify-content: space-between;
  gap: 16px;
  padding: clamp(24px, 3.2vw, 54px);
  background-color: #040c20;
}
@media (min-width: 960px) {
  .board-dispersion { --lesson-art: url("/img/auth/dispersion.webp"); }
  .board-pendulum { --lesson-art: url("/img/auth/pendulum.webp"); }
  .board-lesson {
    background-image: linear-gradient(to bottom, #040c2066, transparent 22%, transparent 56%, #040c20 94%),
      var(--lesson-art);
    background-position: center, center 28%;
    background-size: cover;
  }
}
.lesson-topic {
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #040c20;
  color: #e6edff;
  font-size: .8125rem;
  font-weight: 500;
}
.lesson-topic span { padding-inline: 3px; color: #ffb66d; }
.lesson-copy h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.625rem, 3.4vw, 3.625rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.03;
  text-wrap: balance;
}
.lesson-copy p { max-width: 44ch; margin-top: 14px; color: #dce6fb; line-height: 1.45; text-wrap: pretty; }
@media (max-height: 650px) and (min-width: 960px) {
  .board-lesson { padding: 24px; }
  .lesson-copy h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
  .lesson-copy p { margin-top: 8px; font-size: .9375rem; }
}
.board .orbits { position: absolute; z-index: -1; left: 50%; top: 40%; }
.board .orbits span { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .11); animation: kl-spin var(--t) linear infinite; }
.board .orbits span::after { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -5px; border-radius: 50%; background: var(--c); }
.board .orbits span:nth-child(1) { --s: 520px; --t: 44s; --c: var(--accent); }
.board .orbits span:nth-child(2) { --s: 860px; --t: 80s; --c: var(--f-mint); border-style: dashed; animation-direction: reverse; }
.board .orbits span:nth-child(3) { --s: 1240px; --t: 120s; --c: var(--f-pink); }
.motto { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #0d2c5e; font-size: .875rem; font-weight: 500; color: #dbe3f3; }
.motto img { width: 28px; height: 28px; border-radius: 50%; }
.slides { position: relative; flex: 1; min-height: 0; display: grid; }
.sl { grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .5s linear, visibility 0s linear .5s; }
.sl.on { opacity: 1; visibility: visible; transition: opacity .5s linear, visibility 0s; }
.art { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.sh { font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; max-width: 15em; text-wrap: balance; }
.sp { margin-top: 12px; max-width: 32em; color: #c9d4ea; font-size: 1.0625rem; line-height: 1.45; text-wrap: pretty; }
.jr { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .64em; line-height: 1; letter-spacing: 0; vertical-align: .14em; }
.ctl { display: flex; align-items: center; gap: 14px; margin-top: clamp(18px, 2.6vh, 28px); }
.ctl .nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #0d2c5e; color: var(--paper); font: 500 18px/1 "Roundo", sans-serif; cursor: pointer; transition: background-color .18s, transform .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ctl .nav:hover { background: var(--accent); color: var(--on-accent); transform: scale(1.06); } }
.dots { display: flex; gap: 6px; margin-right: auto; order: -1; }
.dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: #2c4576; cursor: pointer; transition: width .35s var(--ease), background-color .25s; }
.dots button::before { content: ""; position: absolute; }
.dots button[aria-current="true"] { width: 40px; background: var(--accent); }

/* the pieces on the slides */
.crd { position: relative; z-index: 1; width: min(84%, 380px); padding: 16px 18px; border-radius: 22px; background: var(--paper); color: var(--ink); font-size: 13.5px; line-height: 1.35; box-shadow: 0 34px 60px -24px rgba(0, 4, 16, .85); }
.crd .pt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.crd .pt small { margin-left: auto; font-size: 12px; font-weight: 400; }
.t1 { rotate: -3deg; } .t2 { rotate: 2.5deg; } .t3 { rotate: -2deg; }
.cont .m + .m { margin-top: 14px; }
.cont .m p { display: flex; align-items: center; gap: 8px; }
.cont .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.cont .n { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cont .trk { height: 7px; border-radius: 4px; background: var(--f-step); margin-top: 7px; overflow: hidden; }
.cont .trk i { display: block; height: 100%; width: var(--w); border-radius: inherit; transition: width 1.1s var(--ease) .3s; }
.sl:not(.on) .cont .trk i { width: 0; }
.dot.ma, i.ma { background: var(--f-maths); } .dot.pc, i.pc { background: var(--f-pc); }
.plotc svg { display: block; width: 100%; height: auto; overflow: visible; }
.plotc .grid { fill: none; stroke: #eef1f7; }
.plotc .ax { fill: none; stroke: #b9c4da; stroke-width: 1.2; }
.plotc text { font: 500 9.5px "Roundo", sans-serif; fill: var(--muted); }
.plotc .eq { fill: none; stroke: var(--f-maths); stroke-dasharray: 4 4; }
.plotc .curve { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.sl:not(.on) .plotc .curve { stroke-dashoffset: 1; transition: none; }
.plotc circle { fill: var(--ink); }
.plotc .eqp { fill: var(--paper); stroke: var(--f-maths); stroke-width: 2.4; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat .pt { margin-bottom: 4px; }
.chat .q, .chat .a { max-width: 88%; padding: 9px 14px; transition: opacity .4s linear var(--cd, 0s), translate .5s var(--ease) var(--cd, 0s); }
.chat .q { align-self: flex-end; background: var(--ink); color: var(--paper); border-radius: 16px 16px 4px 16px; }
.chat .a { align-self: flex-start; background: var(--f-step); border-radius: 16px 16px 16px 4px; }
.chat p:nth-child(2) { --cd: .3s; } .chat p:nth-child(3) { --cd: .9s; } .chat p:nth-child(4) { --cd: 1.5s; } .chat p:nth-child(5) { --cd: 2.1s; }
.sl:not(.on) .chat .q, .sl:not(.on) .chat .a { opacity: 0; translate: 0 8px; transition: none; }
.disc, .stk { position: absolute; z-index: 2; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 500; line-height: 1.12; color: var(--ink); box-shadow: 0 20px 38px -14px rgba(0, 4, 16, .75); animation: kl-bob 6s ease-in-out infinite alternate; }
.disc { right: 2%; top: 8%; width: 138px; height: 138px; padding: 0 14px; background: var(--accent); font-size: 11.5px; rotate: 7deg; }
.disc b { font-size: 2.6em; font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stk { width: 104px; height: 104px; padding: 0 12px; font-size: 11.5px; animation-delay: -3s; }
.stk b { font-size: 2.5em; font-weight: 500; letter-spacing: -0.03em; line-height: .95; }
.stk.sky { left: 3%; bottom: 8%; background: var(--f-sky); rotate: -9deg; }
.stk.orange { right: 3%; top: 9%; background: var(--accent); rotate: 9deg; }
.stk.pink { left: 5%; bottom: 10%; background: var(--f-pink); rotate: -8deg; }
.stk.pink.small { width: 78px; height: 78px; font-size: 17px; font-weight: 600; }
.stk.mint { right: 4%; bottom: 8%; width: 98px; height: 98px; background: var(--f-mint); rotate: 8deg; }
.stk.mint b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }

/* on a desktop the page never scrolls: the form side fits the screen, and compacts itself on short screens */
@media (min-width: 960px) {
  .split { height: 100svh; }
  .pane { overflow-y: auto; padding-block: clamp(12px, 2.2vh, 28px); }
}
@media (max-height: 860px) and (min-width: 960px) {
  .auth { --fh: 48px; }
  .sheet h1 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); }
  .sheet .lede { margin-top: 8px; font-size: 1rem; }
  .f > label, .f legend, .lab label, .lab .meter { margin-bottom: 6px; }
  .go { min-height: 52px; }
  .mark img { width: 38px; height: 38px; }
  .swap { min-height: 40px; }
  .art { scale: .92; }
}
@media (max-height: 730px) and (min-width: 960px) {
  .auth { --fh: 44px; }
  .sheet .lede, .sp { display: none; }
  .form { gap: 10px; margin-top: 16px; }
  .go { min-height: 48px; }
  .art { scale: .84; }
  .pane-foot { font-size: .8125rem; }
}
@media (max-width: 959px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .board { display: none; }
  body.auth { background: var(--ground); }
  .pane { padding: 14px 16px 22px; }
  .sheet { max-width: 520px; margin: clamp(18px, 4vw, 40px) auto; padding: clamp(24px, 6vw, 44px) clamp(18px, 5vw, 40px); background: var(--paper); border-radius: 30px; box-shadow: 0 30px 60px -40px rgba(0, 26, 65, .45); }
  .pane-foot { justify-content: center; text-align: center; }
}
@media (max-width: 419px) {
  .mark span { display: none; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01s !important; }
  .board .orbits span, .disc, .stk { animation: none; }
}

/* the parent invitation: the assistant's authorisation, set apart from the account fields */
.f.consent { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: var(--ground); }
.f.consent legend { float: left; width: 100%; margin-bottom: 0; }
.f.consent legend + * { clear: both; }
.f.consent > label.check { display: flex; margin: 0; font-size: .9375rem; font-weight: 400; }
.f.consent .check .box { background: var(--paper); }
.f.consent .check input:checked + .box { background: var(--ink); }
a.go { text-decoration: none; }

.form > .who { width: auto; margin: 0; border-radius: 18px; line-height: 1.4; }
.form > .who b { color: var(--ink); font-weight: 600; }

/* OAuth consent (/oauth/autoriser): who asks, where it goes back, what it may do */
.consent { margin-top: clamp(18px, 3vh, 30px); }
.consent-who { display: grid; gap: 0; margin: 0; padding: 4px 18px; border-radius: 20px; background: var(--ground); }
.consent-who div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.consent-who div:first-child { border-top: 0; }
.consent-who dt { color: var(--muted); font-size: .9375rem; }
.consent-who dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.consent-scopes { display: grid; gap: 14px; }
.consent-scopes legend { margin-bottom: 12px; }
.consent-scopes .check input:disabled + .box { opacity: .55; }
.consent-note { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.consent-deny { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 1rem/1 "Roundo", system-ui, sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.consent-deny:hover { background: var(--ground); }
.consent-deny:disabled { opacity: .6; cursor: progress; }
.consent-err { margin: 0; padding: 14px 18px; border-radius: 18px; background: var(--ground); color: var(--ink); line-height: 1.45; }
.consent-scopes > label.check { display: flex; margin: 0; font-weight: 400; }
.consent-scopes .check b { font-weight: 600; }

/* forgotten password (/mot-de-passe-oublie): what happens after the form, in three numbered steps */
.ah-steps { display: grid; gap: 14px; margin: clamp(20px, 3vh, 30px) 0 0; padding: 18px 18px 16px; border-radius: 22px; background: var(--ground); list-style: none; }
.ah-steps li { display: flex; align-items: flex-start; gap: 14px; }
.ah-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ah-steps li:first-child .ah-n { background: var(--accent); color: var(--on-accent); }
.ah-steps p { padding-top: 4px; font-size: .9375rem; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.ah-steps b { display: block; color: var(--ink); font-weight: 600; }

/* change of space (/compte/role): the account's spaces, where the person is and where the page lives */
.ah-spaces { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ah-spaces li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 14px 10px 10px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ah-spaces li.now { background: var(--ground); box-shadow: none; }
.ah-spaces li.to { background: var(--f-sky); box-shadow: none; }
.ah-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--f-step); color: var(--ink); }
.ah-spaces li.now .ah-ico { background: var(--paper); }
.ah-spaces li.to .ah-ico { background: var(--accent); color: var(--on-accent); }
.ah-sp { flex: 1 1 150px; min-width: 0; font-weight: 600; line-height: 1.3; }
.ah-sp small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.ah-sp code { font: 500 .8125rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; }
.ah-tag { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--paper); font-size: .8125rem; font-weight: 600; }
.ah-tag.go-to { background: var(--ink); color: var(--paper); }
@media (max-width: 419px) { .ah-sp { flex-basis: calc(100% - 54px); } .ah-tag { margin-left: 54px; } }
