@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.81419bf5abb5.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.8e986e86d57e.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.a1e2a2d7d4c0.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.15481e4eab6d.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.ba4513495282.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.e1180918b873.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Rollcall — members and waivers for a community BJJ / MMA academy.
   Barlow for everything, condensed for the big numbers. Navy like a gi,
   red only where something must happen, belts drawn as belts. */

:root {
  --ground: #f3f3f0;
  --sheet: #ffffff;
  --ink: #16181d;
  --ink-2: #4d5260;
  --ink-3: #868b99;
  --rule: #d9dbe0;
  --rule-soft: #e8e9ec;
  --navy: #14213d;
  --navy-2: #1e3160;
  --navy-ink: #eef1f7;
  --red: #c81e2b;
  --red-soft: #f8dfe1;
  --amber: #b8780f;
  --amber-soft: #f6ecd2;
  --green: #2e7d3b;
  --green-soft: #ddefdf;
  --blue: #2a5da8;
  --blue-soft: #dce7f6;
  --radius: 6px;
  --tap: 44px;
  --nav-h: 60px;
  --rail-w: 180px;
  --gutter: 16px;
  --display: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Barlow", system-ui, sans-serif; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
h1 { font-family: var(--display); font-size: 2rem; letter-spacing: 0.005em; text-transform: none; }
h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }
p { margin: 0 0 0.75em; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 100; } .skip:focus { left: 8px; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 0.875rem; } .num { font-variant-numeric: tabular-nums; } .hidden { display: none !important; }
.display { font-family: var(--display); font-weight: 700; }

/* chrome */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 var(--gutter); background: var(--navy); color: var(--navy-ink); }
.wordmark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em; }
.belt-mark { width: 26px; height: 9px; background: var(--navy-ink); border-radius: 2px; position: relative; }
.belt-mark::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--red); border-radius: 0 2px 2px 0; }
.topbar-club { flex: 1; font-size: 0.9rem; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--sheet); border-top: 1px solid var(--rule); }
.rail a, .rail button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 0.72rem; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; }
.rail svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail a[aria-current="page"] { color: var(--navy); } .rail a[aria-current="page"] svg { stroke-width: 2.3; }
.rail .rail-more { display: none; }
.sheet[hidden] { display: none; }
.sheet { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); z-index: 31; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 32px rgba(20,33,61,0.2); padding: 6px; display: grid; }
.sheet a, .sheet .linklike { display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: var(--radius); background: none; border: 0; text-align: left; width: 100%; cursor: pointer; }
.sheet a:hover { background: var(--ground); } .sheet form { border-top: 1px solid var(--rule-soft); margin-top: 4px; padding-top: 4px; }
.main { padding: 20px var(--gutter) 32px; max-width: 900px; margin: 0 auto; }
.main-flush { padding: 0; max-width: none; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .topbar { padding-left: calc(var(--rail-w) + 24px); }
  .rail { top: 52px; bottom: auto; right: auto; width: var(--rail-w); height: calc(100vh - 52px); display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-top: 0; border-right: 1px solid var(--rule); background: var(--ground); }
  .rail a { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 9px 10px; font-size: 0.95rem; border-radius: var(--radius); }
  .rail a:hover { background: var(--rule-soft); } .rail a[aria-current="page"] { background: var(--sheet); }
  .rail svg { width: 20px; height: 20px; } .rail .rail-more { display: flex; } .rail .rail-toggle { display: none; } .sheet { display: none !important; }
  .main { margin-left: var(--rail-w); padding: 28px 32px 48px; max-width: none; } .main > * { max-width: 900px; }
  .main-flush { padding: 0; } .main-flush > * { max-width: none; }
}
.flashes { display: grid; gap: 6px; margin-bottom: 16px; }
.flash { padding: 10px 14px; border-radius: var(--radius); background: var(--green-soft); color: #1c4a24; font-weight: 500; word-break: break-word; }
.flash-info { background: var(--blue-soft); color: #1d3f70; } .flash-error { background: var(--red-soft); color: #7a1219; }

/* heads, buttons */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .lede { color: var(--ink-2); margin: 4px 0 0; } .page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumb { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 6px; } .crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--navy); background: var(--sheet); color: var(--navy); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--navy); color: var(--navy-ink); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; } .btn-red:hover { background: #a3131f; border-color: #a3131f; color: #fff; }
.btn-navy { background: var(--navy); color: var(--navy-ink); } .btn-navy:hover { background: var(--navy-2); }
.btn-quiet { border-color: var(--rule); background: transparent; color: var(--ink); font-weight: 500; } .btn-quiet:hover { background: var(--sheet); color: var(--ink); border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); background: transparent; color: var(--navy-ink); } .btn-outline-light:hover { background: var(--navy-ink); color: var(--navy); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 0.875rem; } .btn-lg { min-height: 56px; font-size: 1.1rem; padding: 0 22px; } .btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; cursor: pointer; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } form.inline { display: inline; }

/* belts */
.belt { display: inline-flex; width: 58px; height: 12px; background: var(--belt); border-radius: 2px; position: relative; overflow: hidden; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); flex: none; }
.belt-second { position: absolute; left: 0; right: 0; top: 4px; height: 4px; background: var(--second, transparent); }
.belt-tip { position: absolute; right: 0; top: 0; bottom: 0; width: 20px; background: var(--tip); display: flex; align-items: stretch; justify-content: flex-end; gap: 2px; padding-right: 3px; }
.belt-tip i { display: block; width: 2px; background: #fff; } .belt[style*="--tip:#fff"] .belt-tip i { background: #111; }
.belt-lg { width: 120px; height: 22px; } .belt-lg .belt-tip { width: 42px; gap: 4px; padding-right: 6px; } .belt-lg .belt-tip i { width: 4px; } .belt-lg .belt-second { top: 8px; height: 6px; }
.belt-xl { width: 100%; height: 34px; border-radius: 4px; } .belt-xl .belt-tip { width: 30%; gap: 6px; padding-right: 10px; } .belt-xl .belt-tip i { width: 6px; } .belt-xl .belt-second { top: 12px; height: 10px; }

/* pips, tags, avatars */
.pip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; padding: 2px 8px 2px 6px; border-radius: 999px; }
.pip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pip-current { background: var(--green-soft); color: #1f5a2a; } .pip-missing { background: var(--red-soft); color: #7a1219; } .pip-guardian_needed { background: var(--red-soft); color: #7a1219; }
.pip-superseded { background: var(--amber-soft); color: #6a4508; } .pip-expired { background: var(--amber-soft); color: #6a4508; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--rule-soft); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.tag-red { background: var(--red-soft); color: #7a1219; } .tag-amber { background: var(--amber-soft); color: #6a4508; } .tag-green { background: var(--green-soft); color: #1f5a2a; } .tag-blue { background: var(--blue-soft); color: #1d3f70; } .tag-navy { background: var(--navy); color: var(--navy-ink); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--navy-ink); font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.03em; flex: none; }
.avatar.kid { background: var(--blue); } .avatar.coach { background: var(--red); }

/* stat strip + hero */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--sheet); padding: 14px 16px 12px; text-decoration: none; display: block; } .stat:hover { background: var(--ground); }
.stat .n { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; } .stat .l { display: block; font-size: 0.875rem; color: var(--ink-2); margin-top: 6px; }
.stat-red .n { color: var(--red); } .stat-amber .n { color: var(--amber); } .stat-green .n { color: var(--green); }
.hero { background: var(--navy); color: var(--navy-ink); border-radius: 10px; padding: 20px; margin-bottom: 24px; display: grid; gap: 14px; }
.hero h2 { font-size: 1rem; font-weight: 600; opacity: 0.85; }
.hero .big { font-family: var(--display); font-size: 3.6rem; font-weight: 700; line-height: 0.95; }
.hero .big small { display: block; font-family: "Barlow", sans-serif; font-size: 0.95rem; font-weight: 500; opacity: 0.8; margin-top: 8px; }
.hero a { color: inherit; }
.meter { height: 10px; background: rgba(238,241,247,0.2); border-radius: 5px; overflow: hidden; } .meter > span { display: block; height: 100%; background: var(--navy-ink); border-radius: 5px; }
.hero-foot { display: flex; gap: 14px 20px; flex-wrap: wrap; font-size: 0.9rem; }
.hero-foot b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin-right: 4px; }
.now { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--sheet); border: 2px solid var(--navy); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; text-decoration: none; }
.now .t { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; } .now .s { color: var(--ink-2); font-size: 0.9rem; }
.now .count { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; text-align: right; } .now .count small { display: block; font-family: "Barlow"; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
.now.live .t::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 2px; }

/* lists */
.section { margin-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .section-head .more { font-size: 0.875rem; color: var(--ink-2); }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); } .list > li { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; min-height: 56px; padding: 10px 0; text-decoration: none; }
.row-av { grid-template-columns: auto 1fr auto; } .row-av .avatar { grid-row: 1 / span 2; }
.row-av .row-title, .row-av .row-sub { grid-column: 2; } .row-av .row-side { grid-column: 3; }
a.row:hover .row-title { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.row-title { font-weight: 600; } .row-sub { font-size: 0.875rem; color: var(--ink-2); grid-column: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-side { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.group-head { font-weight: 700; padding: 18px 0 6px; display: flex; justify-content: space-between; align-items: baseline; } .group-head .count { color: var(--ink-2); font-weight: 500; font-size: 0.875rem; }
.empty { padding: 28px 16px; text-align: center; color: var(--ink-2); border: 1px dashed var(--rule); border-radius: 8px; } .empty strong { display: block; color: var(--ink); margin-bottom: 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; } .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet); text-decoration: none; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip[aria-current="true"], .chip.on { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); } .chip .count { margin-left: 6px; opacity: 0.7; }
.filters select, .filters input[type="search"] { min-height: 38px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 10px; background: var(--sheet); } .filters input[type="search"] { flex: 1; min-width: 160px; }

/* detail */
.cols { display: grid; gap: 24px; } @media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; align-items: start; } .cols-13 { grid-template-columns: 1.4fr 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 0.95rem; } .kv dt { color: var(--ink-2); } .kv dd { margin: 0; }
.panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 16px; } .panel h2, .panel h3 { margin-bottom: 10px; }
.panel-navy { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); } .panel-navy a { color: inherit; }
.panel-red { border-color: var(--red); border-width: 2px; } .panel-amber { border-color: var(--amber); border-width: 2px; }
.medical { background: var(--amber-soft); border-radius: var(--radius); padding: 10px 12px; } .medical strong { display: block; font-size: 0.8125rem; color: #6a4508; margin-bottom: 2px; }
.member-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-bottom: 14px; } .member-head .avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { display: grid; grid-template-columns: 76px 1fr auto; gap: 8px 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.timeline .when { color: var(--ink-2); font-size: 0.875rem; } .timeline .what a { text-decoration: none; font-weight: 600; } .timeline .what .sub { display: block; font-size: 0.875rem; color: var(--ink-2); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; } .table th, .table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.table th { font-weight: 600; color: var(--ink-2); font-size: 0.8125rem; } .table td.r, .table th.r { text-align: right; }
.hbar { display: grid; grid-template-columns: 130px 1fr 52px; gap: 10px; align-items: center; padding: 6px 0; font-size: 0.95rem; } .hbar .track { height: 10px; background: var(--rule-soft); border-radius: 3px; overflow: hidden; } .hbar .fill { height: 100%; background: var(--blue); border-radius: 3px; } .hbar .v { text-align: right; color: var(--ink-2); font-size: 0.875rem; }
.chart .bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 130px; border-bottom: 1px solid var(--rule); } .chart .b { background: var(--blue); border-radius: 3px 3px 0 0; min-height: 2px; } .chart .b.now { background: var(--navy); }
.chart .labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; font-size: 0.72rem; color: var(--ink-2); text-align: center; margin-top: 4px; }

/* forms */
.form { display: grid; gap: 16px; max-width: 560px; } .form.wide { max-width: 820px; }
.field { display: grid; gap: 5px; } .field label, .field > .lbl { font-weight: 600; font-size: 0.9rem; } .field .help { font-size: 0.8125rem; color: var(--ink-2); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: var(--tap); padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.field textarea { min-height: 80px; resize: vertical; } .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(42,93,168,0.2); }
.field.check { grid-template-columns: auto 1fr; align-items: center; gap: 10px; } .field.check input { width: 22px; height: 22px; accent-color: var(--navy); margin: 0; }
.field .errorlist { margin: 0; padding: 0; list-style: none; color: var(--red); font-size: 0.875rem; }
.form-grid { display: grid; gap: 16px; } @media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span { grid-column: 1 / -1; } }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; } fieldset { border: 0; padding: 0; margin: 0 0 8px; } fieldset legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 10px; }
details.act { border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); } details.act summary { padding: 12px 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; } details.act summary::after { content: "+"; color: var(--ink-3); } details.act[open] summary::after { content: "–"; } details.act .inner { padding: 0 14px 14px; }

/* sessions */
.diary-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.day { border-top: 1px solid var(--rule); padding: 10px 0 14px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.day.today { background: linear-gradient(90deg, var(--blue-soft), transparent 60%); margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
.day .date .dow { display: block; font-size: 0.75rem; color: var(--ink-2); font-weight: 600; } .day .date .dom { font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.day .items { display: grid; gap: 6px; } .day .none { color: var(--ink-3); font-size: 0.875rem; padding-top: 6px; }
.sess { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; }
.sess:hover { border-color: var(--navy); } .sess .time { font-family: var(--display); font-weight: 700; font-size: 1.05rem; } .sess .t { font-weight: 600; } .sess .s { font-size: 0.8125rem; color: var(--ink-2); display: block; }
.sess .n { font-family: var(--display); font-size: 1.4rem; font-weight: 700; } .sess.kids { border-left: 4px solid var(--blue); } .sess.future { opacity: 0.75; }
.tt { display: grid; gap: 4px; } .tt .d { font-weight: 700; padding-top: 12px; }

/* payments */
.pay-status { font-weight: 600; } .pay-paid { color: var(--green); } .pay-overdue, .pay-failed { color: var(--red); } .pay-due, .pay-none { color: var(--amber); }

/* kiosk */
body.kiosk-mode { padding-bottom: 0; } body.kiosk-mode .topbar, body.kiosk-mode .rail, body.kiosk-mode .sheet { display: none !important; } body.kiosk-mode .main { margin: 0; padding: 0; max-width: none; } body.kiosk-mode .main > * { max-width: none; }
.kiosk { min-height: 100vh; background: var(--navy); color: var(--navy-ink); padding: 20px var(--gutter) 40px; display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .kiosk { margin-left: 0; padding: 32px 40px; } }
.kiosk h1 { font-size: 2.6rem; } .kiosk .sub { opacity: 0.75; font-size: 1.05rem; }
.kiosk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.kiosk-head .home { color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.3rem; font-weight: 700; opacity: 0.8; }
.kiosk .sessions { display: flex; gap: 8px; flex-wrap: wrap; }
.kiosk .sessions a { display: grid; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(238,241,247,0.3); text-decoration: none; min-width: 150px; }
.kiosk .sessions a[aria-current="true"] { background: var(--navy-ink); color: var(--navy); border-color: var(--navy-ink); }
.kiosk .sessions .t { font-family: var(--display); font-size: 1.25rem; font-weight: 700; } .kiosk .sessions .s { font-size: 0.85rem; opacity: 0.8; }
.kiosk-search { position: relative; }
.kiosk-search input { width: 100%; min-height: 72px; font-size: 1.8rem; font-family: var(--display); font-weight: 600; padding: 0 20px; border-radius: 12px; border: 0; background: var(--navy-ink); color: var(--navy); }
.kiosk-search input::placeholder { color: #8a93a8; font-weight: 500; }
.kiosk-results { display: grid; gap: 8px; margin-top: 10px; }
.kiosk-results button, .kiosk-results .none { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 12px 16px; border-radius: 10px; border: 0; background: rgba(238,241,247,0.08); color: inherit; cursor: pointer; min-height: 72px; }
.kiosk-results button:hover { background: rgba(238,241,247,0.16); } .kiosk-results .name { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; } .kiosk-results .meta { display: block; font-size: 0.9rem; opacity: 0.8; margin-top: 4px; }
.kiosk-results .none { background: transparent; opacity: 0.8; }
.kiosk .recent { display: flex; gap: 8px; flex-wrap: wrap; } .kiosk .recent span { padding: 6px 12px; border-radius: 999px; background: rgba(238,241,247,0.12); font-size: 0.95rem; }
.kiosk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kiosk .btn-outline-light { min-height: 52px; font-size: 1.05rem; }
.kiosk-result { text-align: center; padding: 40px 16px; display: grid; gap: 18px; justify-items: center; }
.kiosk-result .avatar { width: 96px; height: 96px; font-size: 2.4rem; background: var(--navy-ink); color: var(--navy); }
.kiosk-result h1 { font-size: 3rem; } .kiosk-result .big { font-size: 1.3rem; }
.kiosk-result.blocked .avatar { background: var(--red); color: #fff; }
.kiosk-pin { max-width: 360px; margin: 10vh auto 0; display: grid; gap: 14px; } .kiosk-pin input { text-align: center; letter-spacing: 0.4em; font-size: 2rem; min-height: 72px; border-radius: 12px; border: 0; background: var(--navy-ink); color: var(--navy); width: 100%; }
.kiosk-form { max-width: 560px; display: grid; gap: 14px; } .kiosk-form .field input, .kiosk-form .field textarea { background: var(--navy-ink); color: var(--navy); border: 0; min-height: 52px; font-size: 1.05rem; } .kiosk-form .field label { color: var(--navy-ink); }

/* signing page */
.sign { max-width: 700px; margin: 0 auto; padding: 24px var(--gutter) 60px; }
.sign-head { border-bottom: 3px solid var(--navy); padding-bottom: 14px; margin-bottom: 20px; } .sign-head .from { font-size: 0.875rem; color: var(--ink-2); }
.sign .for { background: var(--blue-soft); border-radius: 8px; padding: 12px 14px; margin-bottom: 20px; }
.doc { background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 20px 22px; line-height: 1.55; max-height: 60vh; overflow: auto; margin-bottom: 20px; }
.doc h2 { font-size: 1rem; margin: 18px 0 6px; } .doc h2:first-child { margin-top: 0; } .doc p { margin: 0 0 10px; }
.decl { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.decl input { width: 26px; height: 26px; accent-color: var(--navy); margin-top: 1px; } .decl .opt { display: block; font-size: 0.8125rem; color: var(--ink-2); }
.sig-wrap { border: 2px dashed var(--rule); border-radius: 8px; background: var(--sheet); position: relative; height: 180px; touch-action: none; }
.sig-wrap canvas { width: 100%; height: 100%; display: block; border-radius: 8px; }
.sig-wrap .hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); pointer-events: none; font-size: 1.1rem; }
.sig-wrap .line { position: absolute; left: 24px; right: 24px; bottom: 36px; border-bottom: 1px solid var(--rule); pointer-events: none; }
.errors { background: var(--red-soft); color: #7a1219; padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; } .errors ul { margin: 0; padding-left: 18px; }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding-top: 30px; } .done .tick { width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2.4rem; }

/* portal & join */
.portal { max-width: 640px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.portal-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--navy); margin-bottom: 20px; }

/* login */
.login { min-height: calc(100vh - 52px); display: grid; place-items: center; padding: 24px var(--gutter); } .login .panel { width: 100%; max-width: 380px; padding: 24px; }
.demo-note { margin-top: 16px; padding: 10px 12px; background: var(--amber-soft); border-radius: var(--radius); font-size: 0.875rem; } .demo-note code { font-family: inherit; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) { .btn, .chip, .sess { transition: background-color 120ms, color 120ms, border-color 120ms; } }
@media print { .topbar, .rail, .sheet { display: none !important; } body { background: #fff; padding: 0; } .main { margin: 0; padding: 0; } }
