:root {
  --bg: #0f1115;
  --bg2: #161922;
  --line: #262b36;
  --fg: #e7e9ee;
  --dim: #8d95a5;
  --acc: #6aa6ff;
  --err: #e2564d;
  --ok: #33c46b;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center;
  background: radial-gradient(1200px 600px at 50% -10%, #1a2030, #0f1115 60%);
  color: var(--fg); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 2rem 1rem;
}
.auth { width: 100%; max-width: 440px; }
.auth.wide { max-width: 760px; }
.brand { display: inline-block; color: var(--dim); text-decoration: none; font-weight: 650; margin-bottom: 1.2rem; letter-spacing: .02em; }
h1 { font-size: 1.35rem; margin: 0 0 1.1rem; font-weight: 650; }
h2.sub { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin: 1.6rem 0 .5rem; font-weight: 600; }
form { display: grid; gap: .75rem; margin: 0 0 .6rem; }
form.inline { display: flex; gap: .35rem; margin: 0; align-items: center; }
label { display: grid; gap: .3rem; font-size: .78rem; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
input, select {
  width: 100%; background: #0d1015; color: var(--fg); border: 1px solid var(--line);
  border-radius: 9px; padding: .55rem .7rem; font: inherit; font-size: .95rem;
}
form.inline input { width: 130px; padding: .35rem .5rem; font-size: .85rem; }
input:focus, select:focus, button:focus-visible { outline: none; border-color: #46527a; }
button {
  font: inherit; cursor: pointer; border: 1px solid #2f3a52; background: #1d2433; color: var(--fg);
  border-radius: 9px; padding: .55rem .9rem; font-size: .9rem;
}
button:hover { filter: brightness(1.2); }
button[type=submit] { background: #1b2a44; border-color: #33507e; }
form.inline button { padding: .3rem .55rem; font-size: .78rem; border-radius: 7px; }
button.danger { background: #2b1614; border-color: #702f2a; color: #ffb0a8; }
.msg { border-radius: 9px; padding: .55rem .7rem; font-size: .87rem; margin: 0 0 .9rem; }
.msg.err { background: #2b1614; border: 1px solid #702f2a; color: #ffb0a8; }
.msg.ok { background: #14301f; border: 1px solid #2b6b45; color: #9ae6b7; }
.hint { color: #5f6879; font-size: .78rem; margin: .3rem 0 0; }
.hint a, .who a { color: var(--acc); text-decoration: none; }
.hint a:hover { text-decoration: underline; }
.who { color: var(--dim); font-size: .85rem; margin: 0 0 1rem; }
.who b { color: var(--fg); }
table { width: 100%; border-collapse: collapse; font-size: .8rem; }
th, td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--dim); font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }
td.actions { display: flex; gap: .3rem; flex-wrap: wrap; }
table.sessions { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table.wide td, table.wide th { padding: .5rem .6rem; }
