/* Phase 1 utility styling only. The real design system arrives in the design phase. */
:root { --bg:#0b1220; --panel:#111a2e; --line:#23304d; --ink:#e7ecf5; --quiet:#94a3c0; --accent:#3b82f6; --gold:#e3a93b; --bad:#f06b6b; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #8db8ff; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.brand { color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: .01em; }
.brand .mark { color: var(--gold); margin-right: 6px; }
nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.admin .top { border-bottom-color: var(--gold); }
.envbar { background: #3a2a07; color: #ffd98a; text-align: center; font-size: 13px; padding: 4px; }
main { margin: 40px auto; padding: 0 20px; }
main.narrow { max-width: 460px; } main.wide { max-width: 1180px; }
h1 { font-size: 26px; line-height: 1.25; margin: 0 0 16px; }
.quiet { color: var(--quiet); } .small { font-size: 13px; }
.stack { display: grid; gap: 14px; margin: 20px 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
label { display: grid; gap: 6px; font-size: 14px; }
input { background: #0e1628; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; min-width: 0; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button, .button { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
button.link { background: none; color: #8db8ff; padding: 0; font-weight: 400; text-decoration: underline; }
form.inline { display: inline; }
.alert { background: #3a1116; border: 1px solid var(--bad); color: #ffd1d1; padding: 10px 12px; border-radius: 8px; }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--quiet); font-weight: 600; background: var(--panel); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.codes { columns: 2; list-style: none; padding: 0; font-size: 18px; }
.qr { background: #fff; padding: 8px; border-radius: 8px; }
.foot { max-width: 1180px; margin: 60px auto 30px; padding: 0 20px; color: var(--quiet); font-size: 13px; }
