:root { color-scheme: dark; --black: #090a0c; --space: #111317; --raised: #1a1d22; --line: #2b3037; --lime: #c8f81f; --white: #f4f5f2; --muted: #9aa3ae; --coral: #ff7a6b; --cyan: #6fd6ff; --orange: #ffb454; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--white); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
main:focus { outline: 0; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .75rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--space); }
nav { display: flex; flex: 1; gap: .25rem; overflow-x: auto; }
nav a { padding: .375rem .75rem; border-radius: .5rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { background: var(--raised); color: var(--white); }
.mark { height: 1.375rem; }
main { max-width: 76rem; margin: 0 auto; padding: 1.5rem; }
.center { max-width: 26rem; margin: 18vh auto 0; text-align: center; }
h1 { margin: 0 0 .5rem; font-size: 1.5rem; overflow-wrap: anywhere; }
h2 { margin: 1.5rem 0 .75rem; font-size: 1.125rem; }
h3 { margin: 1.5rem 0 .25rem; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }
.error { color: var(--coral); }
.notice { padding: .625rem .875rem; border: 1px solid var(--orange); border-radius: .5rem; color: var(--orange); }
.panel { margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--space); }
.panel h2 { margin-top: 0; }
.facts, .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.fact { display: flex; flex-direction: column; padding: .875rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--space); }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .8125rem; font-weight: 500; white-space: nowrap; }
.pill { display: inline-block; padding: .0625rem .5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--raised); color: var(--muted); font-size: .75rem; font-weight: 500; white-space: nowrap; vertical-align: middle; }
.pill.lime { border-color: var(--lime); color: var(--lime); }
.pill.cyan { border-color: var(--cyan); color: var(--cyan); }
.pill.coral { border-color: var(--coral); color: var(--coral); }
.button { display: inline-block; padding: .4375rem .875rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--raised); color: var(--white); text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { border-color: var(--muted); }
.button.primary { border-color: var(--lime); background: var(--lime); color: var(--black); font-weight: 600; }
.button.danger { border-color: var(--coral); color: var(--coral); }
.button.small { padding: .1875rem .625rem; }
.button:disabled { opacity: .6; cursor: default; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin: .75rem 0; }
.url { padding: .375rem .625rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--black); overflow-wrap: anywhere; font-size: .8125rem; }
label { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .75rem; font-size: .875rem; }
input:not([type="checkbox"]), textarea { width: 100%; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--black); }
input[type="search"] { max-width: 28rem; margin: .5rem 0 1rem; }
input[type="file"] { width: auto; }
fieldset { margin: 0 0 .75rem; padding: .75rem 1rem .25rem; border: 1px solid var(--line); border-radius: .5rem; }
legend { padding: 0 .375rem; font-size: .875rem; }
.check { flex-direction: row; align-items: center; gap: .5rem; }
dialog { width: min(28rem, calc(100vw - 2rem)); padding: 1.25rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--space); color: var(--white); }
dialog::backdrop { background: #000a; }
dialog h2 { margin-top: 0; }
