@font-face { font-family: Sora; font-weight: 400; font-display: swap; src: url(/sora-400.ttf) format("truetype"); }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(/sora-600.ttf) format("truetype"); }
  /* Couleurs de l'app (Theme.kt). */
  :root { --orange: #FF5A1F; --ink: #0B0C10; --card: #15171D; --raised: #1E2129; --line: #262932; --muted: #A3A8B4; --bright: #F1F2F5; --bad: #FF6B6B; }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--ink); color: var(--bright); font: 16px/1.5 Sora, system-ui, sans-serif; }
  main { max-width: 520px; margin: 0 auto; padding: 32px 16px 64px; }
  header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
  header img { height: 28px; }
  h1 { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
  h2 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
  p { margin: 0 0 16px; color: var(--muted); }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 16px; }
  label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 6px; }
  input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); color: var(--bright); font: inherit; }
  input:focus { outline: 2px solid var(--orange); border-color: transparent; }
  button { font: inherit; font-weight: 600; border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; background: var(--orange); color: #fff; }
  button.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
  button.small { padding: 6px 12px; font-size: 14px; }
  .wide { width: 100%; margin-top: 20px; }
  .tabs { display: flex; gap: 8px; margin-bottom: 8px; }
  .tabs button { flex: 1; background: var(--raised); color: var(--muted); }
  .tabs button.on { background: var(--orange); color: #fff; }
  .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
  .row:first-of-type { border-top: 0; }
  .row div { min-width: 0; }
  .row strong, .row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row small { color: var(--muted); }
  .error { color: var(--bad); margin-top: 12px; min-height: 1.5em; }
  .ok { color: var(--orange); font-weight: 600; }
  .switch { background: none; color: var(--orange); padding: 0; font-weight: 400; margin-top: 16px; }
  .or { text-align: center; color: var(--muted); margin: 16px 0; font-size: 14px; }
  #google { display: flex; justify-content: center; }
  [hidden] { display: none !important; }
  .m0 { margin: 0; }
  .inline { display: flex; gap: 8px; }
  #code { text-transform: uppercase; letter-spacing: .2em; }
  #me { margin-bottom: 12px; }
  .foot { font-size: 13px; text-align: center; }
  .foot a { color: var(--bright); }
  .back { display: block; margin-top: 16px; text-align: center; text-decoration: none; font-weight: 600; background: var(--orange); color: #fff; border-radius: 12px; padding: 12px 18px; }
