/* Rinse & Reset. Mobile first; one column; big tap targets. */
:root {
  --bg: #eef7fd;
  --card: #ffffff;
  --ink: #0f2a3d;
  --muted: #5a7384;
  --brand: #1583c9;
  --brand-ink: #ffffff;
  --accent: #ff5fa2;
  --line: #d4e6f2;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4b00;
  --it-bg: #f3ecff;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a24;
    --card: #12283a;
    --ink: #e6f2fa;
    --muted: #9bb4c5;
    --brand: #3aa6ec;
    --brand-ink: #04121b;
    --accent: #ff7cb4;
    --line: #22425a;
    --warn-bg: #3a2f10;
    --warn-ink: #ffe29a;
    --it-bg: #251c3d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--brand); color: var(--brand-ink);
}
.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: .01em; }
.brand .amp { color: var(--accent); }
.bubbles { margin-right: 6px; }
main { max-width: 560px; margin: 0 auto; padding: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; margin-bottom: 16px;
}
.card.it { background: var(--it-bg); }
.hero h1 { font-size: 1.6rem; margin-top: 0; }
h1 { font-size: 1.4rem; margin: 0 0 12px; }
h2 { font-size: 1.1rem; margin: 0 0 8px; }
h2.group { font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 18px; }
.count { font-weight: 400; }
.hint, .meta { color: var(--muted); font-size: .92rem; }
.notice, .practice {
  background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px;
  padding: 10px 14px; margin: 0 0 16px;
}
.practice { margin: 0; border-radius: 0; text-align: center; font-weight: 600; }
label { display: block; font-weight: 600; margin: 8px 0 6px; }
label.check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
input[type=search], input:not([type]), input[name=as], input[name=emp_id] {
  width: 100%; font-size: 1.05rem; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
#filter { margin-bottom: 4px; }
button, .button {
  display: block; width: 100%; min-height: 48px; margin-top: 12px; padding: 12px 16px;
  border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-align: center;
  text-decoration: none; cursor: pointer;
}
.primary { background: var(--brand); color: var(--brand-ink); }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.big { font-size: 1.15rem; min-height: 56px; }
button.link {
  width: auto; min-height: 0; margin: 0; padding: 6px 10px; background: transparent;
  color: inherit; font-weight: 600; text-decoration: underline;
}
ul.team { list-style: none; margin: 0; padding: 0; }
ul.team li { border-top: 1px solid var(--line); }
ul.team li:first-child { border-top: 0; }
button.person {
  margin: 0; border-radius: 0; background: transparent; color: var(--ink);
  text-align: left; padding: 12px 4px; font-weight: 400;
}
button.person .name { display: block; font-weight: 700; }
button.person .meta { display: block; }
.who .name { font-size: 1.3rem; font-weight: 800; margin: 0; }
.who .meta { margin: 2px 0; }
.passphrase {
  font: 700 1.6rem/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--bg); border: 2px dashed var(--brand); border-radius: 12px;
  padding: 16px; text-align: center; word-break: break-word; user-select: all;
}
details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
[hidden] { display: none !important; }
