:root { --ink: #23324a; --soft: #5b6b85; --line: #dbe4f0; --paper: #f7f3ea; --card: #fff; --blue: #2563eb; --red: #c2410c; --green: #1d6f42; --tile: #f1f6fd; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
.top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.brand { font-weight: 800; font-size: 18px; } .brand span { color: var(--soft); font-weight: 600; font-size: 14px; margin-left: 6px; }
nav button { border: 0; background: transparent; padding: 8px 12px; border-radius: 999px; font-weight: 700; color: var(--ink); cursor: pointer; }
nav button.on { background: var(--blue); color: #fff; }
.who { margin-left: auto; color: var(--soft); font-size: 14px; display: flex; gap: 10px; align-items: center; }
main { max-width: 1100px; margin: 0 auto; padding: 20px; }
.card { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: 0 3px 0 rgba(35,50,74,.10); margin-bottom: 18px; }
.narrow { max-width: 420px; margin: 60px auto; }
h1 { font-size: 22px; margin: 0 0 6px; } h2 { font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--soft); margin: 22px 0 8px; } h3 { font-size: 15px; margin: 16px 0 6px; }
label { display: block; margin: 10px 0; font-weight: 600; } input, select { display: block; width: 100%; margin-top: 4px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; } .row input { width: auto; flex: 1 1 160px; margin: 0; } .row input.short { flex: 0 0 90px; }
button.primary, .chip { border: 0; border-radius: 999px; padding: 9px 14px; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink); box-shadow: 0 3px 0 rgba(35,50,74,.10); }
button.primary { background: var(--blue); color: #fff; } .chip.on { background: var(--blue); color: #fff; } .chip.danger { background: #fde8e0; color: var(--red); } button[disabled] { opacity: .5; cursor: default; }
.tiles { display: flex; gap: 10px; flex-wrap: wrap; } .tile { flex: 1 1 140px; background: var(--tile); border-radius: 14px; padding: 12px; } .tile b { display: block; font-size: 26px; } .tile small { color: var(--soft); }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; } th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; } th { color: var(--soft); font-weight: 700; } td.num, th.num { text-align: right; }
.wrap { overflow-x: auto; }
.muted { color: var(--soft); font-size: 13px; } .error { color: var(--red); font-weight: 700; } .ok { color: var(--green); font-weight: 700; }
.list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; } .list a:hover { background: var(--tile); }
.code { font-size: 22px; font-weight: 800; background: var(--tile); padding: 12px; border-radius: 12px; display: inline-block; margin-top: 10px; user-select: all; }
pre { white-space: pre-wrap; font-size: 12px; color: var(--soft); }
