/* =========================================================
   email79 — shared stylesheet
   Design tokens first; change colors/fonts here only.
   ========================================================= */
:root {
  /* Colors */
  --ink: #0F1215;          /* dark hero background */
  --ink-2: #181C21;        /* dark cards */
  --ink-line: #2A3038;     /* borders on dark */
  --ink-field: #343B44;    /* input borders on dark */
  --on-ink: #E9ECEF;       /* text on dark */
  --on-ink-strong: #F4F6F8;
  --on-ink-muted: #A9B1BA;
  --on-ink-soft: #C3CAD2;

  --paper: #F3F4EF;        /* page background */
  --card: #FFFFFF;
  --card-soft: #F7F8F4;
  --line: #E2E4DC;
  --line-soft: #EEF0EA;
  --line-strong: #D6D9CF;
  --text: #14171A;
  --text-2: #3D4247;
  --muted: #5B6168;

  --accent: #7DD3FC;       /* brand accent (buttons, highlights) */
  --accent-ink: #0F1215;   /* text on accent */
  --accent-tint: #E6F6FE;  /* selected rows / options */
  --success: #2F9E5B;
  --danger: #B3261E;
  --warn-on-ink: #FFB27A;
  --warn-bg: #FFF1E6;
  --warn-text: #7A2E00;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radius & shadow */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 20px;
  --shadow-lift: 0 20px 50px -30px rgba(15, 18, 21, .35);

  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; } /* anchors land below the sticky header */
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
code { font-family: var(--font-mono); background: var(--paper); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Icons ---------- */
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header (sticky on every page) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.topbar.is-scrolled {
  background: rgba(15, 18, 21, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--ink-line);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6);
}
.topbar .site-header { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 760px) { .topbar .nav.is-open { max-height: calc(100vh - 70px); overflow-y: auto; padding-bottom: 10px; } }
.hero { background: var(--ink); color: var(--on-ink); padding-bottom: 72px; }
.hero--tall { padding-bottom: 96px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 15px var(--font-display); }
.brand__name { font: 700 20px var(--font-display); letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--on-ink-soft); text-decoration: none; font-size: 14px; padding: 10px 14px; border-radius: var(--r-sm); }
.nav a:hover { color: #fff; background: #1D2228; }
.nav a.is-active { color: #fff; font-weight: 600; }
.nav a.nav__cta { color: var(--accent-ink); background: var(--accent); font-weight: 600; margin-left: 6px; padding: 10px 16px; }
.site-header .nav-toggle { display: none; }
@media (max-width: 760px) {
  .site-header .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav a.nav__cta { margin: 6px 0 0; text-align: center; }
}

.hero__intro { padding-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.hero__intro--center { max-width: 860px; margin: 0 auto; padding-top: 48px; align-items: center; text-align: center; gap: 18px; }
.hero__title { font-weight: 700; font-size: clamp(32px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.hero__lead { max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--on-ink-muted); }
.kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-ink-soft); border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot--live { animation: pulse 1.6s ease-in-out infinite; }
.dot--ok { background: var(--success); }
.dot--off { background: #9AA3AD; animation: none; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 500 14px var(--font-body); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn--lg { height: 52px; padding: 0 22px; font-size: 15px; font-weight: 600; border-radius: var(--r-lg); }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--accent:hover { filter: brightness(.95); }
.btn--dark { background: var(--text); color: #fff; font-weight: 600; }
.btn--dark:hover { background: #2A2F35; }
.btn--white { background: var(--on-ink-strong); color: var(--ink); font-weight: 600; }
.btn--white:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.btn--ghost:hover { background: #232830; }
.btn--light { background: var(--card); color: var(--text); border-color: var(--line); }
.btn--light:hover { background: #ECEEE7; }
.btn--danger { color: var(--danger); }

/* ---------- Fields ---------- */
.label { font-size: 13px; font-weight: 600; }
.label--dark { color: #9AA3AD; }
.field {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
  border-radius: var(--r-lg); border: 1px solid var(--ink-field); background: var(--ink);
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(125, 211, 252, .25); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--on-ink-strong); font: 500 16px var(--font-mono); outline: none; }
.field input::placeholder { color: #6E7782; }
.field--light { background: var(--card); border-color: var(--line-strong); height: 48px; }
.field--light:focus-within { border-color: var(--text); box-shadow: none; }
.field--light input { color: var(--text); font-family: var(--font-body); font-size: 15px; }
.field--light input.mono { font-family: var(--font-mono); }
.field--light input::placeholder { color: #8A9098; }
.help { font-size: 14px; color: #9AA3AD; }
.help--light { font-size: 13px; color: var(--muted); }
.error { font-size: 14px; color: var(--warn-on-ink); }
.error--light { font-size: 13px; color: var(--danger); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > .field { flex: 1 1 300px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); }
.card--lift { box-shadow: var(--shadow-lift); }
.card--pad { padding: 26px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card__foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--card-soft); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--text); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.dark-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.divider { height: 1px; background: var(--ink-line); }

/* ---------- Home: address card ---------- */
.address-card { max-width: 860px; margin: 40px auto 0; }
.address { font: 600 clamp(20px, 3.2vw, 30px) var(--font-mono); word-break: break-all; color: var(--on-ink-strong); }
.address__domain { color: var(--accent); }
.address-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink-soft); font: 500 13px var(--font-mono); cursor: pointer; }
.chip:hover { background: #232830; color: #fff; }
.chip--primary { border-color: var(--accent); color: var(--on-ink-strong); font-weight: 600; }
.chip--more { border-style: dashed; border-color: #4A525C; color: var(--accent); font-family: var(--font-body); font-weight: 600; }

/* ---------- Home: inbox ---------- */
.inbox { margin-top: -36px; position: relative; }
.inbox .card { overflow: hidden; box-shadow: var(--shadow-lift); }
.live-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.inbox__body { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; min-height: 440px; }
@media (max-width: 820px) { .inbox__body { grid-template-columns: 1fr; } .inbox__list { border-right: 0 !important; border-bottom: 1px solid var(--line); max-height: 360px; } }
.inbox__list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 620px; }
.mail-item { width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-soft); background: var(--card); padding: 16px 22px; display: flex; gap: 14px; align-items: flex-start; font: inherit; color: inherit; cursor: pointer; }
.mail-item:hover { background: var(--card-soft); }
.mail-item.is-active { background: var(--accent-tint); }
.mail-item.is-unread .mail-item__subject { font-weight: 600; }
.mail-item.is-new { animation: arrive 2.4s ease-out; }
@keyframes arrive { 0% { background: var(--accent); transform: translateY(-8px); } 20% { transform: none; } 100% { background: var(--card); } }
.avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--text); color: var(--accent); display: grid; place-items: center; font: 700 15px var(--font-display); flex-shrink: 0; }
.mail-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mail-item__top { display: flex; justify-content: space-between; gap: 8px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-item__from { font-weight: 600; font-size: 14px; }
.mail-item__time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mail-item__subject { font-size: 14px; }
.mail-item__preview { font-size: 13px; color: var(--muted); }
.reader { padding: 30px 32px; display: flex; flex-direction: column; gap: 20px; background: #FCFCFA; min-width: 0; }
@media (max-width: 640px) { .reader { padding: 18px 16px; gap: 16px; } }
.reader__title { font-size: 22px; line-height: 1.35; word-break: break-word; }
.reader__meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; word-break: break-all; }
.reader__meta strong { color: var(--text); font-weight: 600; }
.reader__text { font-size: 15px; line-height: 1.7; white-space: pre-wrap; color: #262A2F; word-break: break-word; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; min-height: 240px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); }
@media (max-width: 640px) { .reader__text { padding: 16px 18px; } }
.reader__frame { width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff; display: block; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); }
.reader__empty { flex: 1; display: grid; place-items: center; color: var(--muted); font-size: 14px; min-height: 320px; padding: 32px; }
.otp { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--text); color: #fff; flex-wrap: wrap; }
.otp__label { font-size: 12px; color: var(--on-ink-muted); }
.otp__code { font: 600 26px var(--font-mono); letter-spacing: .18em; color: var(--accent); }
.empty { padding: 72px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.empty__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; color: var(--muted); }
.empty p { max-width: 420px; color: var(--muted); line-height: 1.6; }

/* ---------- Toast ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast { background: var(--text); color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); width: 380px; max-width: 100%; animation: toastIn .25s ease-out; }
.toast__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toast__body span:last-child { color: var(--on-ink-muted); font-size: 13px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 10px; border-radius: 16px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); line-height: 1.6; font-size: 15px; }

.twofa { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: center; background: var(--text); color: var(--on-ink); border-radius: 24px; padding: 40px; }
@media (max-width: 560px) { .twofa { padding: 24px; } }
.twofa h2 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.totp-display { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--ink); border: 1px solid var(--ink-line); }
.totp-display__code { font: 600 clamp(26px, 5vw, 36px) var(--font-mono); letter-spacing: .2em; color: var(--on-ink-strong); }
.progress { height: 6px; border-radius: 999px; background: var(--ink-line); overflow: hidden; }
.progress__bar { height: 100%; width: 100%; background: var(--accent); transition: width 1s linear; }

.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { min-height: 60px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); line-height: 1.65; }

.donate { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: center; padding: 32px; }
.donate__qr { width: 120px; height: 120px; border-radius: 12px; border: 1px solid var(--line); flex-shrink: 0; object-fit: contain; background: #fff; }
.copy-line { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card-soft); }
.copy-line span { flex: 1; min-width: 0; font: 500 13px var(--font-mono); word-break: break-all; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }

/* ---------- Generate ---------- */
.page-grid { margin-top: -56px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 20px; align-items: start; }
.page-grid--aside { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
@media (max-width: 900px) { .page-grid, .page-grid--aside { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.seg { height: 44px; min-width: 0; padding: 0 6px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font: 600 14px var(--font-mono); cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
select.select { height: 48px; width: 100%; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--card); font: 500 15px var(--font-mono); color: var(--text); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.option { text-align: left; padding: 12px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 4px; font: inherit; color: var(--text); cursor: pointer; }
.option[aria-pressed="true"] { border-color: var(--text); background: var(--accent-tint); }
.option strong { font-size: 14px; }
.option span { font: 500 12px var(--font-mono); color: var(--muted); }
input[type=range] { width: 100%; accent-color: var(--text); }
.results { overflow: hidden; }
.results__list { max-height: 620px; overflow-y: auto; }
.result-row { display: flex; align-items: center; gap: 14px; padding: 10px 22px; border-bottom: 1px solid var(--line-soft); }
.result-row:hover { background: var(--card-soft); }
.result-row__n { width: 34px; font: 500 12px var(--font-mono); color: #8A9098; text-align: right; }
.result-row__email { flex: 1; min-width: 0; font: 500 14px var(--font-mono); }
.result-row__email span { color: var(--muted); }

/* ---------- API docs ---------- */
.docs { display: flex; gap: 32px; align-items: flex-start; padding: 40px 24px 72px; }
.docs__side { position: sticky; top: 88px; flex: 0 0 240px; display: flex; flex-direction: column; gap: 2px; }
.docs__side h4 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); padding: 16px 10px 6px; }
.docs__side a { text-decoration: none; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.docs__side a:hover { background: #ECEEE7; }
.docs__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) { .docs { flex-direction: column; } .docs__side { position: static; flex: none; width: 100%; } }
.method { height: 28px; padding: 0 10px; border-radius: 7px; font: 600 12px var(--font-mono); display: inline-flex; align-items: center; }
.method--GET { background: #DCEBFF; color: #0B3D91; }
.method--POST { background: #E4F5C2; color: #2E4A00; }
.method--DELETE { background: #FFE3CF; color: #7A2E00; }
.method-text--GET { color: #1D4ED8; } .method-text--POST { color: #3F6212; } .method-text--DELETE { color: #B45309; }
.endpoint { overflow: hidden; }
.endpoint__info { padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.endpoint__path { font: 600 16px var(--font-mono); word-break: break-all; }
.endpoint__code { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); background: var(--ink); }
.endpoint__code > div { min-width: 0; }
.endpoint__code > div:first-child { border-right: 1px solid #23282F; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #23282F; min-height: 51px; font-size: 12px; font-weight: 600; color: #9AA3AD; }
pre.code { margin: 0; padding: 16px; overflow-x: auto; font: 500 13px/1.6 var(--font-mono); color: var(--on-ink); white-space: pre; }
pre.code--muted { color: var(--on-ink-soft); }
.tabs { display: flex; gap: 4px; background: #E6E8E0; padding: 4px; border-radius: var(--r-md); }
.tabs button { height: 36px; padding: 0 14px; border-radius: 7px; border: 0; background: transparent; font: 500 13px var(--font-body); color: var(--text); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.table td { padding: 10px 12px; border-top: 1px solid var(--line-soft); vertical-align: top; }

/* ---------- Add domain ---------- */
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stepper li { list-style: none; padding: 16px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 600; color: var(--muted); }
.stepper li .num { width: 28px; height: 28px; border-radius: 50%; background: #E6E8E0; color: var(--muted); font: 700 13px var(--font-display); display: grid; place-items: center; flex-shrink: 0; }
.stepper li.is-current { border-bottom-color: var(--text); color: var(--text); }
.stepper li.is-done { border-bottom-color: var(--accent); color: var(--text); }
.stepper li.is-current .num, .stepper li.is-done .num { background: var(--text); color: #fff; }
.stepper ol { margin: 0; padding: 0; display: contents; }
.notice { padding: 14px 16px; border-radius: var(--r-lg); background: var(--warn-bg); color: var(--warn-text); font-size: 14px; line-height: 1.5; }
.success-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.record-type { padding: 3px 8px; border-radius: 6px; background: var(--text); color: #fff; font: 600 12px var(--font-mono); }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-list div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
