/* Server-rendered pages on the editor host: auth, legal, report form, staff. */
:root {
  --bg: #fbfaf7; --fg: #1d1d1b; --muted: #5b5b57; --line: #d9d6cf;
  --accent: #1f4fd1; --error: #b3261e; --ok: #1b6e3a;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1rem/1.55 var(--font); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; }
.top, .foot { padding: 1rem; max-width: 44rem; margin: 0 auto; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
.page { max-width: 44rem; margin: 0 auto; padding: 0 1rem 2rem; }
.page.wide { max-width: 72rem; }
.foot { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
h1 { font-size: 1.75rem; line-height: 1.2; }
.field { margin: 0 0 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .25rem; }
input[type=email], input[type=text], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: .5rem .75rem; font: inherit;
  border: 1px solid #8a877f; border-radius: 6px; background: #fff; color: var(--fg);
}
textarea { min-height: 8rem; }
.check { display: flex; gap: .5rem; align-items: center; min-height: 44px; font-weight: 400 !important; }
.check input { width: 24px; height: 24px; }
.code-input { font-size: 1.75rem; letter-spacing: .3em; max-width: 14rem; }
.btn { display: inline-block; min-height: 44px; min-width: 44px; padding: .6rem 1.2rem; font: inherit; font-weight: 600;
  background: var(--fg); color: #fff; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none; }
.btn.secondary { background: #fff; color: var(--fg); border: 1px solid var(--fg); }
.btn.danger { background: var(--error); }
.help { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; }
.error { color: var(--error); }
.ok { color: var(--ok); }
.note { color: var(--muted); font-size: .9rem; margin-top: 2rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin: 0 0 1rem; background: #fff; }
.row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.muted { color: var(--muted); }
pre.legal { white-space: pre-wrap; font: inherit; }
@media (max-width: 400px) { h1 { font-size: 1.4rem; } }
.staff-preview { width: 100%; height: 60vh; border: 1px solid var(--line); border-radius: 6px; }
