/* Sign-in and admin pages of the hosted site; the colours of web/style.css. */
:root {
  color-scheme: dark;
  --bg: #0d0f12; --panel: #15181d; --raised: #1c2027; --line: #262a31; --line-strong: #363c46;
  --text: #e6e8eb; --dim: #8a919c; --accent: #e2b55c; --accent-ink: #f1cd85; --bad: #f2937c;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse 50rem 26rem at 30% 0%, #2a1c18, transparent), var(--bg); color: var(--text); font: 15px/1.5 var(--sans); }
[hidden] { display: none !important; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card { width: min(420px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: grid; gap: 16px; }
.card.wide { width: min(980px, 100%); }
.wordmark { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-size: 22px; font-weight: 750; letter-spacing: -.04em; }
.mark { width: 28px; height: 28px; }
h1 { margin: 0; font-size: 22px; }
.lede, .note, .hint, .foot { margin: 0; color: var(--dim); }
.note, .hint, .foot { font-size: 13px; }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.tabs button { flex: 1; min-height: 36px; border: 0; border-radius: 6px; background: none; color: var(--dim); font: inherit; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--raised); color: var(--text); }
form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-weight: 600; }
input { min-height: 40px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--bg); color: var(--text); font: inherit; font-weight: 400; }
button { font: inherit; }
.primary, td button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #1a1408; font-weight: 700; cursor: pointer; }
td button { min-height: 32px; padding: 4px 10px; }
.primary:disabled { opacity: .6; cursor: wait; }
.message { margin: 0; padding: 10px 12px; border: 1px solid #6b3a30; border-radius: 7px; background: #2a1714; color: var(--bad); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--dim); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
