:root { color-scheme: dark; --ink: #f7f2e7; --muted: #aebdb4; --forest: #0b3b2e; --panel: #14251d; --line: #365044; --gold: #f5c65d; --rust: #f18a62; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #09130f; font-family: "DM Sans", sans-serif; }
.admin-shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
.back-link { color: #b8d5c5; text-decoration: none; }
.back-link:hover { color: white; text-decoration: underline; }
.eyebrow { margin: 44px 0 8px; color: var(--rust); font-size: .74rem; font-weight: 700; letter-spacing: .13em; }
.panel-eyebrow { margin-top: 0; }
h1, h2 { font-family: "Fraunces", serif; }
h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1; }
h2 { margin-top: 0; }
.lede { max-width: 570px; color: #c9d5ce; font-size: 1.08rem; line-height: 1.6; }
.panel { margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.signed-in { margin-bottom: 24px; color: var(--muted); }
form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
label { grid-column: 1 / -1; font-size: .82rem; font-weight: 700; }
select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: white; background: #102019; font: inherit; }
input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: white; background: #102019; font: inherit; font-size: 1.1rem; letter-spacing: .12em; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 11px; color: white; background: transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.primary { border-color: var(--gold); color: #102019; background: var(--gold); }
.button:disabled { opacity: .55; cursor: wait; }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.result { margin-top: 26px; padding: 18px; border: 1px solid #4d705e; border-radius: 14px; background: #0c1c15; }
.result > span { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.code-row { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
code { flex: 1; color: var(--gold); font-size: clamp(1.05rem, 4vw, 1.45rem); font-weight: 700; letter-spacing: .05em; overflow-wrap: anywhere; }
.result p, .status { color: var(--muted); font-size: .84rem; }
.mfa-enrollment { margin-top: 22px; }
.mfa-enrollment img { display: block; width: min(240px, 100%); padding: 12px; border-radius: 14px; background: white; }
.secret-line { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.secret-line code { display: inline-block; margin-top: 5px; color: var(--gold); font-size: .95rem; letter-spacing: .08em; }
.mfa-form { display: grid; grid-template-columns: minmax(150px, 1fr) auto; gap: 12px; align-items: end; margin-top: 20px; }
.mfa-form label { grid-column: 1 / -1; }
[hidden] { display: none !important; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } .code-row { align-items: stretch; flex-direction: column; } }
