:root {
  --bg: #eef1ef; --sheet: #ffffff; --ink: #15201b; --muted: #5b6b63; --rule: #dde3df;
  --go: #1f5a43; --go-ink: #ffffff; --danger: #9b2c2c; --r-m: 10px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1512; --sheet: #17201b; --ink: #e6ece8; --muted: #9aaba2; --rule: #2a3530; --go: #3d8a68; --danger: #e07a7a; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
body[data-page="account"] { place-items: start center; }
.card, .sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; width: 100%; }
.card { max-width: 380px; padding: 36px 28px 28px; text-align: center; }
.sheet { max-width: 640px; padding: 24px; }
.mark { margin: 0 0 20px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
h2 { margin: 0; font-size: 17px; font-weight: 600; }
.lede { margin: 0 0 24px; color: var(--muted); }
.note { margin: 6px 0 12px; color: var(--muted); font-size: 14px; }
button { font: inherit; cursor: pointer; border-radius: var(--r-m); min-height: 44px; padding: 0 18px; border: 1px solid transparent; transition: background-color .15s, opacity .15s; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; }
.go { background: var(--go); color: var(--go-ink); width: 100%; font-weight: 500; }
.go.small { width: auto; min-height: 36px; font-size: 14px; }
.quiet { background: transparent; color: var(--muted); border-color: var(--rule); min-height: 36px; font-size: 14px; }
.danger { background: transparent; color: var(--danger); border-color: currentColor; }
.msg { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.msg.err { color: var(--danger); }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.top .mark { margin: 0; }
section { border-top: 1px solid var(--rule); padding: 20px 0 4px; margin-top: 16px; }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.list li:last-child { border-bottom: 0; }
.list .sub { display: block; color: var(--muted); font-size: 13px; }
.list button { min-height: 32px; padding: 0 12px; font-size: 13px; flex: none; }
.log li { font-size: 13px; align-items: baseline; }
.log .when { color: var(--muted); flex: none; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--rule); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
