@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("/fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("/fonts/onest-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("/fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url("/fonts/onest-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url("/fonts/onest-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url("/fonts/onest-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root { color-scheme: light;
  --sun: #ffd43b; --ink: #16131f; --tomato: #ff5b37; --cobalt: #2f4bff; --mint: #3ddc97; --pink: #ff9bcf;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #f6f3ec; --fg: var(--ink); --muted: #4b4757; --surface: #ffffff; --soft: #f6f3ec; --line: #e7e2d6;
  --field: #f3f1ec; --chip: rgba(255, 255, 255, .65); --hover: #fff6d3;
  --band: radial-gradient(60% 120% at 96% 0%, rgba(255, 91, 55, .45), transparent 70%),
    linear-gradient(170deg, #ffe46e 0%, #ffd43b 50%, #ffbf2e 100%);
  --band-fg: var(--ink); --wm: var(--ink);
  --mark-bg: var(--ink); --mark-fg: var(--sun);
  --primary-bg: var(--ink); --primary-fg: #ffffff;
  --secondary-bg: #ffffff; --secondary-fg: var(--ink); --secondary-ring: var(--ink);
  --danger-bg: var(--tomato); --danger-fg: var(--ink); --danger-text: #c2361b;
  --ok-bg: #dff8ec; --ok-fg: #0f5c3d;
  --shadow: 0 30px 60px -30px rgba(22, 19, 31, .3); --shadow-sm: 0 14px 30px -18px rgba(22, 19, 31, .35);
  --tile-1: linear-gradient(160deg, #fff4c2, #ffe17a); --tile-2: linear-gradient(160deg, #e4fbf0, #b5f0d4);
  --tile-3: linear-gradient(160deg, #eceeff, #c7cdff); --tile-4: linear-gradient(160deg, #ffeaf4, #ffc6e2); }
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #0f0d15; --fg: #ffffff; --muted: #b9b4c6; --surface: #1c1926; --soft: #24202f; --line: #322d3f;
    --field: #0f0d15; --chip: #24202f; --hover: #24202f;
    --band: radial-gradient(60% 120% at 96% 0%, rgba(255, 91, 55, .28), transparent 70%),
      radial-gradient(50% 140% at 0% 100%, rgba(255, 212, 59, .14), transparent 70%), #16131f;
    --band-fg: #ffffff; --wm: var(--sun);
    --mark-bg: var(--sun); --mark-fg: var(--ink);
    --primary-bg: var(--sun); --primary-fg: var(--ink);
    --secondary-bg: transparent; --secondary-fg: #ffffff; --secondary-ring: #4a4359;
    --danger-text: #ff8a70; --ok-bg: #12382a; --ok-fg: #7ff0bd;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); --shadow-sm: 0 14px 30px -18px rgba(0, 0, 0, .7);
    --tile-1: linear-gradient(170deg, #2a2412, #3d3210 60%, #8a6d12 130%);
    --tile-2: linear-gradient(170deg, #13261f, #12382a 60%, #1f7a55 140%);
    --tile-3: linear-gradient(170deg, #201d36, #232156 60%, #4450c9 150%);
    --tile-4: linear-gradient(170deg, #2a1622, #3d1530 60%, #a8457a 150%); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--text); color: var(--fg); background: var(--bg); }
main { max-width: 36rem; margin: -2.5rem auto 4rem; padding: 2rem 1.75rem; position: relative; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
body.wide main { max-width: 76rem; margin-top: 1.5rem; padding: 0 1.25rem; background: none; border: 0; box-shadow: none; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 1rem; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; margin: 2rem 0 .75rem; }
.card h2 { margin-top: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--tomato); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
p.muted, .muted { color: var(--muted); }
b { font-weight: 700; }

/* Brand band: the website's yellow hero, cut short. */
.band { background: var(--band); color: var(--band-fg); border-radius: 0 0 40px 40px; }
.band-in { max-width: 76rem; margin: 0 auto; padding: 1.25rem 1.25rem 4rem; display: flex; justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand .wordmark { height: 26px; width: auto; }
.wm-text { fill: var(--wm); }
.band-in { position: relative; }
.theme-form { margin: 0; }
.band .theme-form { position: absolute; top: 1.25rem; right: 1.25rem; }
button.theme-switch { margin: 0; min-height: 0; width: 44px; height: 44px; padding: 0; border-radius: 999px;
  background: var(--chip); color: var(--band-fg); box-shadow: none; }
button.theme-switch:hover { transform: none; background: var(--hover); }
.wm-dot { fill: var(--tomato); stroke: var(--wm); }

/* The panel's band: brand, sections, and who is signed in. */
.topbar { background: var(--band); color: var(--band-fg); border-radius: 0 0 32px 32px; }
.topbar-in { max-width: 76rem; margin: 0 auto; padding: .9rem 1.25rem 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.topbar .brand .logo { width: 40px; height: 40px; }
.topbar .brand .wordmark { height: 22px; }
.tag { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--mark-bg); color: var(--mark-fg);
  font: 700 .8rem/1.4 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.sections { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--chip); }
.sections a { padding: .45rem .95rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.sections a:hover { background: var(--chip); }
.sections a[aria-current="page"] { background: var(--mark-bg); color: var(--mark-fg); }
.topbar .spacer { flex: 1; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .95rem; }
.who .me { padding: .45rem .9rem; border-radius: 999px; background: var(--chip); overflow-wrap: anywhere; }
.who .me b { text-transform: capitalize; }
.who a { font-weight: 700; text-decoration: none; padding: .45rem .5rem; }
.who button { margin: 0; min-height: 40px; padding: 0 1rem; font-size: .95rem; }

/* Cards */
.card { background: var(--soft); border: 1.5px solid var(--line); border-radius: 22px; padding: 1.25rem 1.35rem; margin: 1.25rem 0; }
body.wide .card { background: var(--surface); box-shadow: var(--shadow-sm); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* Forms */
label { display: block; font-weight: 700; margin: 1rem 0 .35rem; }
input[type=email], input[type=text], input[type=search], select { width: 100%; min-height: 50px; padding: .65rem 1rem; font: inherit;
  color: var(--fg); background: var(--field); border: 1.5px solid var(--line); border-radius: 14px; }
input:focus, select:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 4px rgba(255, 212, 59, .55); }
input.code { font: 700 1.5rem/1 var(--mono); letter-spacing: .35em; text-align: center; }
button, a.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; margin-top: 1rem;
  padding: 0 1.5rem; font: 700 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; border: 0; border-radius: 999px;
  background: var(--primary-bg); color: var(--primary-fg); transition: transform .15s ease; }
button:hover, a.button:hover { transform: translateY(-2px); }
button.secondary, a.button.secondary { background: var(--secondary-bg); color: var(--secondary-fg); box-shadow: inset 0 0 0 2px var(--secondary-ring); }
button.danger { background: var(--danger-bg); color: var(--danger-fg); }
label.check { display: flex; gap: .6rem; align-items: center; font-weight: 600; margin: 1rem 0 0; cursor: pointer; }
label.check input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--primary-bg); }
form.inline { display: inline; }
form.inline button { margin-top: 0; min-height: 38px; padding: 0 1rem; font-size: .9rem; }
p.divider { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0 .5rem; }
p.divider::before, p.divider::after { content: ""; flex: 1; border-top: 1.5px solid var(--line); }
.error { color: var(--danger-text); font-weight: 700; }
.notice { display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: var(--ok-bg); color: var(--ok-fg); font-weight: 700; }
.filters { display: flex; gap: .5rem .75rem; flex-wrap: wrap; align-items: center; margin: 0 0 1rem; }
.filters label { margin: 0; }
.filters > * { margin: 0; }
.filters input, .filters select { width: auto; min-width: 12rem; }
.filters button { margin-top: 0; }

/* Numbers on the dashboard: tiles in the website's step colours. */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .9rem; margin: 0 0 1rem; }
.stat { padding: 1.1rem 1.2rem; border-radius: 22px; background: var(--tile-1); color: var(--fg); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: .95rem; }
.stat:nth-child(4n+2) { background: var(--tile-2); }
.stat:nth-child(4n+3) { background: var(--tile-3); }
.stat:nth-child(4n+4) { background: var(--tile-4); }
.stat b { display: block; font: 800 2.1rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: .2rem; font-variant-numeric: tabular-nums; }

/* Tables sit on a card. Below 900px they scroll inside themselves instead of widening the page. */
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .95rem; margin: 0 0 1rem;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1.5px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
tbody tr:hover > * { background: var(--hover); }
tbody th { width: 1%; color: var(--muted); font-weight: 700; white-space: nowrap; }
td a { font-weight: 700; }
td.date { white-space: nowrap; font-variant-numeric: tabular-nums; }

.qr { display: inline-block; padding: 12px; border-radius: 22px; background: #ffffff; border: 1.5px solid var(--line); }
.qr svg { width: 220px; height: 220px; display: block; }
code, .mono { font-family: var(--mono); font-size: .9em; word-break: break-all; }
code { padding: .1em .35em; border-radius: 6px; background: var(--soft); }
ul.codes { columns: 2; padding: 1rem 1rem 1rem 2.2rem; font: 700 1rem/1.9 var(--mono); background: var(--soft); border-radius: 18px; }

@media (max-width: 900px) {
  table { display: block; max-width: 100%; overflow-x: auto; }
  thead th { white-space: nowrap; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  main { margin: -2.5rem 12px 3rem; padding: 1.5rem 1.15rem; border-radius: 24px; }
  body.wide main { margin: 1.25rem auto 3rem; padding: 0 12px; }
  .band-in { padding-bottom: 3.5rem; }
  .brand .logo { width: 38px; height: 38px; }
  .brand .wordmark { height: 22px; }
  .topbar-in { padding: .75rem 12px 1rem; }
  .topbar .spacer { display: none; }
  .sections { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .sections a { padding: .4rem .7rem; font-size: .9rem; white-space: nowrap; }
  .who { width: 100%; }
  .who .me { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  h1 { font-size: 1.45rem; }
  .stat b { font-size: 1.7rem; }
  .filters input, .filters select { min-width: 0; width: 100%; }
  .filters > * { flex: 1 1 100%; }
}
