/* LEGL 2.0 on the web: the same light ground, white cards and black type as the app. */
@font-face { font-family: Geist; src: url(fonts/Geist.ttf); font-weight: 100 900; font-display: swap; }
@font-face { font-family: GeistMono; src: url(fonts/GeistMono.ttf); font-weight: 100 900; font-display: swap; }
:root { --ink:#0B0B0C; --mute:#5F5F64; --bg:#F2F2F0; --card:#fff; --line:#E4E4E1; --pill:#E7E7E3;
  --go:#086B3A; --goBg:#E3F4EA; --blue:#1D4ED8; --blueBg:#E6EDFF; --amb:#8A4F00; --ambBg:#FBEFD6; --red:#B4231A; --redBg:#FDE7E4; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 Geist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
h3 { font-size: 16px; font-weight: 600; }
.mono { font-family: GeistMono, ui-monospace, Menlo, monospace; }
.mu { color: var(--mute); } .sm { font-size: 13px; } .xs { font-size: 12px; }
.card { background: var(--card); border-radius: 22px; padding: 18px 20px; }
.card.warn { background: var(--ambBg); color: #3D2500; }
.card.bad { background: var(--redBg); color: #5A120D; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 13px; background: var(--pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.go { background: var(--goBg); color: var(--go); } .pill.blue { background: var(--blueBg); color: var(--blue); }
.pill.amb { background: var(--ambBg); color: var(--amb); } .pill.red { background: var(--redBg); color: var(--red); }
.stamp { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 2px solid var(--go); color: var(--go); border-radius: 8px; font: 600 13px GeistMono, ui-monospace, monospace; letter-spacing: .08em; transform: rotate(-3deg); }
.stamp.red { border-color: var(--red); color: var(--red); }
.row { display: flex; align-items: center; gap: 10px; } .col { display: flex; flex-direction: column; gap: 6px; } .grow { flex: 1; min-width: 0; }
.kv { display: grid; gap: 0; } .kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.kv > div > :first-child { color: var(--mute); } .kv > div > :last-child { text-align: right; font-weight: 500; overflow-wrap: anywhere; }
button, .btn { font: inherit; cursor: pointer; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 22px; border: 0; border-radius: 28px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.btn.sec { background: var(--card); color: var(--ink); } .btn.go { background: var(--go); } .btn.red { background: var(--red); }
.btn.s { min-height: 44px; font-size: 14px; padding: 0 16px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
