/* Ops admin: the founder's workbench. Brand palette and type, kept plain. */
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url("/static/fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url("/static/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("/static/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); }

:root { --ink: #2e3139; --rust: #a7452b; --rust-deep: #8c3a23; --paper: #f5f0e6; --stamp: #fffdf8; --muted: #5b5d63; --line: rgba(46, 49, 57, 0.18); --focus: #1f5fa8; --ok: #2f6b3a; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 "Source Serif 4", Georgia, serif; }
a { color: var(--rust); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: "Zilla Slab", Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.35rem; margin-top: 2rem; } h3 { font-size: 1.1rem; }

.bar { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); background: var(--stamp); }
.bar__brand { font: 700 1rem/1 "Courier Prime", monospace; color: var(--ink); text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.bar nav a { color: var(--ink); text-decoration: none; font: 700 0.9rem/1 "Courier Prime", monospace; padding: 0.5rem 0; }
.bar nav a[aria-current="page"] { color: var(--rust); border-bottom: 2px solid var(--rust); }
.bar form { margin: 0; }

main { max-width: 56rem; margin: 0 auto; padding: 1.75rem 1rem 3rem; }
.panel { background: var(--stamp); border: 1px solid var(--line); padding: 1.25rem; margin: 1rem 0; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

label { display: block; font: 700 0.85rem/1.3 "Courier Prime", monospace; margin: 0 0 0.35rem; }
.field { margin-bottom: 1rem; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="file"], select, textarea {
  width: 100%; font: inherit; padding: 0.6rem 0.7rem; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 0; min-height: 46px;
}
textarea { min-height: 7rem; }
.grid2 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.7rem 1.1rem; font: 700 0.95rem/1 "Courier Prime", monospace; color: var(--stamp); background: var(--ink); border: 0; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--rust); }
button.link { background: none; color: var(--ink); min-height: 0; padding: 0.5rem 0; }

.alert { border-left: 4px solid var(--rust); background: #fbeee9; color: var(--rust-deep); padding: 0.6rem 0.8rem; margin: 1rem 0; }
.notice { border-left: 4px solid var(--ok); background: #eef5ef; padding: 0.6rem 0.8rem; margin: 1rem 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 0.8rem/1.2 "Courier Prime", monospace; color: var(--muted); }
.tag { display: inline-block; font: 700 0.75rem/1 "Courier Prime", monospace; padding: 0.3rem 0.45rem; border: 1px solid currentColor; }
.tag--live { color: var(--ok); } .tag--draft { color: var(--rust); } .tag--superseded { color: var(--muted); }
.issues { margin: 0.4rem 0 0; padding-left: 1.1rem; font-size: 0.9rem; }

.code { font: 700 clamp(2.2rem, 10vw, 3.5rem)/1 "Courier Prime", monospace; letter-spacing: 0.15em; margin: 0.5rem 0 1rem; }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.stats .panel { margin: 0; }
.stats strong { display: block; font: 700 1.6rem/1.1 "Zilla Slab", serif; }
