:root { color-scheme: dark; }
body { font-family: system-ui, sans-serif; max-width: 900px; margin: 2rem auto; padding: 0 1.25rem;
       background: #0f1115; color: #e6e6e6; line-height: 1.5; }
h1 { font-size: 1.6rem; margin-bottom: 0.1rem; }
h1 .tag { font-size: 0.8rem; background: #2a2f3a; color: #9aa0a6; padding: 0.15rem 0.5rem; border-radius: 6px; vertical-align: middle; }
h2 { font-size: 1.05rem; margin: 0 0 0.8rem; }
h3 { font-size: 0.95rem; color: #c9cdd4; text-transform: uppercase; letter-spacing: .03em; margin: 1.3rem 0 0.6rem; }
.sub { color: #9aa0a6; margin-top: 0; margin-bottom: 1.5rem; }
.sub a { color: #7aa2ff; margin-left: 0.6rem; }
.card { background: #1a1d24; border: 1px solid #2a2f3a; border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; }
.grid { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.2rem; margin: 0 0 0.5rem; }
.grid dt { color: #9aa0a6; font-weight: normal; }
.grid dd { margin: 0; }
label { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 0.6rem; }
input, select, button { background: #1a1d24; color: #e6e6e6; border: 1px solid #3a3f4a; border-radius: 6px; padding: 0.35rem 0.6rem; font-size: 0.9rem; }
button { cursor: pointer; background: #2a3550; border-color: #3a4a70; }
button:hover { background: #33406a; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #7aa2ff; outline-offset: 2px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.status-text { color: #9aa0a6; font-size: 0.85rem; margin-left: 0.5rem; }
.status-text.error { color: #ff8a8a; }
ul { margin: 0; padding-left: 1.2rem; }
li { margin-bottom: 0.25rem; }
li.muted { color: #6b7280; list-style: none; margin-left: -1.2rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.85rem; }
th, td { text-align: left; padding: 0.3rem 0.6rem; border-bottom: 1px solid #262a33; white-space: nowrap; }
th { color: #9aa0a6; font-weight: 500; }
tr.dead td { color: #6b7280; text-decoration: line-through; }
code { background: #262a33; padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.85em; }
