
:root { color-scheme: light dark; --fg: #1d1d1f; --bg: #fbfbfa; --muted: #6b6b70; --line: #deded9; --accent: #2a5bd7; --warn: #a14a00; --bad: #b3261e; --panel: #fff; --untrusted: #fff6e5; }
@media (prefers-color-scheme: dark) { :root { --fg: #ececec; --bg: #161617; --muted: #a0a0a6; --line: #333336; --accent: #7aa2ff; --warn: #ffb35c; --bad: #ff8a80; --panel: #1f1f21; --untrusted: #2c2414; } }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
main { max-width: 980px; margin: 0 auto; padding: 16px; }
nav { display: flex; gap: 16px; align-items: baseline; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
nav .who { margin-left: auto; color: var(--muted); font-size: 13px; }
a { color: var(--accent); }
h1 { font-size: 22px; margin: 8px 0 12px; }
h2 { font-size: 17px; margin: 24px 0 8px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; padding: 0 6px; border-radius: 4px; font-size: 12px; border: 1px solid var(--line); }
.badge.hot { border-color: var(--warn); color: var(--warn); }
.badge.bad { border-color: var(--bad); color: var(--bad); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 8px 0; }
.notice { border-left: 4px solid var(--accent); }
.error { border-left: 4px solid var(--bad); }
.secret { font-family: ui-monospace, monospace; word-break: break-all; user-select: all; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; }
form.inline { display: inline; }
form.stack label { display: block; margin: 8px 0 2px; font-weight: 600; font-size: 13px; }
form.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
form.row label { font-size: 13px; }
input[type=text], input[type=email], input[type=url], input[type=number], select, textarea { font: inherit; padding: 5px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
form.stack input[type=text], form.stack input[type=email], form.stack input[type=url], textarea { width: 100%; }
textarea { min-height: 110px; }
button { font: inherit; padding: 5px 12px; border-radius: 4px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
button.quiet { background: transparent; color: var(--accent); }
table.choices td:not(:first-child), table.choices th:not(:first-child) { text-align: center; width: 9em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msg { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin: 8px 0; background: var(--panel); }
.msg.mine { border-left: 4px solid var(--accent); }
.msg header { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.untrusted { background: var(--untrusted); border: 1px dashed var(--warn); border-radius: 4px; padding: 6px 8px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.untrusted-label { font-size: 12px; color: var(--warn); font-weight: 600; }
.body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
