:root { color-scheme: light dark; font: 15px/1.45 -apple-system,BlinkMacSystemFont,system-ui,sans-serif; --bg:#e9eaf5; --surface:rgba(255,255,255,.73); --edge:#c8cbde; --ink:#24263b; --muted:#545a72; --accent:#aa253b; --strong:#ff4545; --on:#321016; }
@media (prefers-color-scheme:dark) { :root { --bg:#222638; --surface:rgba(47,51,73,.82); --edge:#5a5f7a; --ink:#f4f4fa; --muted:#c0c4d8; --accent:#ff9ba9; --strong:#ad3046; --on:#fff; } }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink); background:radial-gradient(ellipse at 85% 0%, rgba(255,102,118,.13), transparent 44%), var(--bg); }
header { background:var(--surface); border-bottom:1px solid var(--edge); }
nav,main { width:min(1100px, calc(100% - 32px)); margin:auto; }
nav { display:flex; gap:16px; align-items:center; min-height:60px; color:var(--muted); }
nav form { margin-left:auto; }
.brand { font-size:19px; color:var(--ink); font-weight:700; }
.brand b { color:var(--accent); }
main { padding:24px 0; }
h1 { margin:0 0 14px; font-size:28px; line-height:1.25; }
h2 { margin:0 0 12px; font-size:17px; }
p { color:var(--muted); }
section { background:var(--surface); border:1px solid var(--edge); border-radius:16px; padding:17px; margin-bottom:14px; }
a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }
button,.button { display:inline-flex; align-items:center; justify-content:center; padding:7px 14px; min-height:35px; border:1px solid transparent; border-radius:999px; color:var(--on); background:var(--strong); font:inherit; font-weight:650; cursor:pointer; justify-self:start; }
button:disabled { cursor:default; opacity:.46; }
.secondary { color:var(--ink); background:transparent; border-color:var(--edge); }
button:not(:disabled):hover,.button:hover { filter:brightness(1.11); text-decoration:none; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
form { display:grid; gap:10px; }
label { display:grid; gap:4px; color:var(--muted); font-size:13px; }
input,select,textarea { width:100%; min-height:34px; padding:6px 8px; border:1px solid var(--edge); border-radius:8px; font:inherit; color:var(--ink); background:transparent; }
textarea { resize:vertical; }
.columns,.pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.heading,.row,summary { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.heading { margin:8px 0 15px; flex-wrap:wrap; }
.heading h1,.heading p { margin:0; }
.row,details { padding:9px 0; border-bottom:1px solid var(--edge); }
.row span,summary span,small { color:var(--muted); font-size:12px; }
summary { display:list-item; cursor:pointer; color:var(--ink); font-weight:600; }
summary span { margin-left:10px; }
details form { margin-top:11px; }
dl { display:grid; grid-template-columns:minmax(105px,.35fr) 1fr; gap:6px; }
dt { color:var(--muted); }
dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
table { width:100%; border-collapse:collapse; }
td,th { padding:7px 5px; text-align:left; border-bottom:1px solid var(--edge); }
output { display:block; padding:10px; border:1px solid var(--edge); border-radius:8px; font-family:monospace; overflow-wrap:anywhere; }
.login { max-width:430px; margin:28px auto; }
@media (max-width:640px) { .columns,.pair { grid-template-columns:1fr; } }
