/* Admin Panel (admin.hka.training). Light palette shared with LOE / LFUS / Audit Center.
   Redesign 2026-10-28 (Andy: "the admin page appearance and UI is awful"): one calm list of people,
   one side panel that shows a person's whole access on a single page, bulk actions, and an Activity tab.
   Tokens are the ecosystem's (see lfus-web/public/web.css :root). */
:root {
  --primary: #C8102E;
  --primary-light: #E14C63;
  --primary-dark: #8F0B20;
  --primary-soft: #FBE9EC;
  --bg: #F3F6F9;
  --panel: #FFFFFF;
  --card-2: #FAFCFD;
  --ink: #101B27;
  --muted: #5B6B7C;
  --line: #DCE4EC;
  --line-strong: #C3CFDA;
  --shadow: 0 1px 2px rgba(16, 27, 39, .04), 0 8px 24px rgba(16, 27, 39, .06);
  --success: #157F4B;
  --success-dark: #0F5C36;
  --success-soft: #E7F5EE;
  --amber: #B5750A;
  --amber-soft: #FBF1E1;
  --blue: #0C5F8A;
  --blue-soft: #E6F1F7;
}
.login-hero { position: relative; display: inline-flex; margin-right: clamp(300px, 32vw, 560px); }
.login-hero::before {
  content: ''; position: absolute; top: 50%; left: calc(100% + 24px); transform: translateY(-50%);
  width: clamp(340px, 32vw, 560px); aspect-ratio: 1402 / 768;
  background-image: linear-gradient(100deg, #F3F6F9 0%, transparent 14%), url('brand/aircraft/hka-three-quarter-front.png');
  background-size: 100% 100%, contain; background-position: 0 0, center; background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}
@media (max-width: 880px) { .login-hero { margin-right: 0; } .login-hero::before { display: none; } }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; font-size: 14px;
  background: var(--bg); color: var(--ink); min-height: 100vh; padding: 24px 20px 40px; overflow-x: hidden;
}
.wrap { max-width: 1320px; width: 100%; margin: 0 auto; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; }

/* ---- header ---- */
header {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--shadow); margin-bottom: 14px;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.shield { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--card-2); border: 1px solid var(--line); }
.shield img { width: 78%; height: 78%; object-fit: contain; }
.eyebrow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 3px; }
h1 { font-size: 20px; font-weight: 900; margin: 0; color: var(--ink); }
.headerRight { display: flex; align-items: center; gap: 10px; }
.who { font-size: 12px; color: var(--muted); }
button.pill, a.pill { font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block; }
button.pill:hover, a.pill:hover { background: var(--card-2); border-color: var(--muted); }

/* ---- tabs ---- */
.tabs { display: flex; gap: 4px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: none; padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--primary); }
.tab .count { font-weight: 600; color: var(--muted); margin-left: 4px; font-size: 12px; }

/* ---- buttons ---- */
.btn { font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #26364a; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { background: var(--card-2); border-color: var(--muted); }
.btn.danger { background: var(--panel); border-color: #E7B4BC; color: var(--primary-dark); }
.btn.danger:hover { background: var(--primary-soft); }
.btn.danger.solid { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn.danger.solid:hover { background: #6e0818; }
.btn.small { padding: 6px 11px; font-size: 12px; }
.btn.success { background: var(--success); border-color: var(--success); color: #fff; border-radius: 999px; padding: 10px 24px; }
.btn.success:hover { background: var(--success-dark); border-color: var(--success-dark); }
.btn.cancel { background: var(--amber-soft); border-color: var(--amber-soft); color: var(--amber); border-radius: 999px; padding: 10px 22px; }
.btn.cancel:hover { background: #fff; border-color: var(--amber); }
.btn:disabled { opacity: .45; cursor: default; pointer-events: none; }

/* ---- toolbar ---- */
.toolbar { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; box-shadow: var(--shadow); margin-bottom: 10px; }
.toolbar .search { flex: 1 1 260px; min-width: 200px; position: relative; }
.toolbar .search input { width: 100%; padding: 9px 36px 9px 12px; }
.toolbar .search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 6px; background: var(--card-2); pointer-events: none; }
input[type=text], input[type=email], input[type=search], input[type=password], select, textarea {
  padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink); font-family: inherit;
}
select { max-width: 100%; }
.toolbar select { padding: 9px 10px; flex: 0 1 150px; width: 150px; min-width: 0; }
.toolbar .spacer { flex: 1; }
.resultline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 2px 8px; font-size: 13px; color: var(--muted); min-height: 24px; }
.resultline b { color: var(--ink); }
.linkbtn { background: none; border: none; color: var(--primary); font-weight: 700; cursor: pointer; padding: 2px 4px; font-size: 13px; }
.linkbtn:hover { text-decoration: underline; }

/* ---- bulk bar ---- */
.bulkbar { position: sticky; top: 8px; z-index: 30; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 14px; display: none; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; box-shadow: 0 10px 30px rgba(16, 27, 39, .25); }
.bulkbar.on { display: flex; }
.bulkbar .n { font-weight: 800; margin-right: 6px; }
.bulkbar .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.bulkbar .btn:hover { background: rgba(255,255,255,.22); }
.bulkbar .btn.warn { background: #7a1020; border-color: #7a1020; }
.bulkbar .grow { flex: 1; }
.bulkbar .linkbtn { color: #fff; opacity: .85; }

/* ---- accounts table ---- */
.tablecard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.tablescroll { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list thead th { text-align: left; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--card-2); white-space: nowrap; position: sticky; top: 0; z-index: 2; }
table.list thead th.sortable { cursor: pointer; user-select: none; }
table.list thead th.sortable:hover { color: var(--ink); }
table.list thead th .arrow { color: var(--primary); margin-left: 3px; }
table.list tbody td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; height: 58px; }
table.list tbody tr { cursor: pointer; }
table.list tbody tr:hover { background: var(--card-2); }
table.list tbody tr.sel { background: #FFF6F7; }
table.list tbody tr.off .person b { color: var(--muted); }
table.list td.chk, table.list th.chk { width: 40px; padding-right: 0; cursor: default; }
table.list input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.person { min-width: 210px; }
.person b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.person span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dim { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.chip.role { background: var(--blue-soft); border-color: #BCD9E8; color: #0A4C6E; }
.chip.super { background: var(--primary-soft); border-color: #F3C6CE; color: var(--primary-dark); }
.chip.more { background: transparent; border-style: dashed; color: var(--muted); }
.chip.none { border: none; background: none; padding: 0; font-weight: 400; font-style: italic; color: var(--muted); }
.status { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.status.active { background: var(--success-soft); color: var(--success); }
.status.inactive { background: #ECEFF3; color: var(--muted); }
.other { font-size: 12px; color: var(--muted); line-height: 1.5; }
.other b { color: var(--ink); font-weight: 700; }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.morewrap { text-align: center; padding: 14px; border-top: 1px solid var(--line); }
@media (max-width: 1180px) { .col-other { display: none; } }
@media (max-width: 900px) { .col-apps { display: none; } }
@media (max-width: 640px) { .col-roles { display: none; } .person span { max-width: 200px; } }

/* ---- activity ---- */
.activity td { height: auto !important; padding: 9px 12px !important; font-size: 13px; }
.activity tr { cursor: default !important; }
.actbadge { font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); white-space: nowrap; }
.actbadge.bad { background: var(--primary-soft); border-color: #F3C6CE; color: var(--primary-dark); }
.actbadge.good { background: var(--success-soft); border-color: #BFE3D0; color: var(--success); }

/* ---- drawer ---- */
.scrim { position: fixed; inset: 0; background: rgba(16, 27, 39, .45); z-index: 900; display: none; }
.scrim.on { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100vw); background: var(--bg); z-index: 910; transform: translateX(102%); transition: transform .18s ease; display: flex; flex-direction: column; }
.drawer.on { transform: none; box-shadow: -20px 0 60px rgba(16, 27, 39, .25); }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
.dr-head { background: var(--panel); border-bottom: 1px solid var(--line); padding: 16px 20px 0; flex: none; }
.dr-top { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: none; }
.dr-top h2 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.2; }
.dr-top .sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.dr-top .grow { flex: 1; min-width: 0; }
.xbtn { background: none; border: 1px solid var(--line-strong); border-radius: 50%; width: 34px; height: 34px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); flex: none; }
.xbtn:hover { background: var(--card-2); color: var(--ink); }
.jump { display: flex; gap: 2px; margin-top: 12px; overflow-x: auto; }
.jump button { background: none; border: none; padding: 9px 12px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.jump button:hover { color: var(--ink); }
.jump button.active { color: var(--ink); border-bottom-color: var(--primary); }
.jump button .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-left: 5px; vertical-align: middle; }
.dr-body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; scroll-behavior: smooth; }
.sec { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; scroll-margin-top: 8px; }
.sec h3 { margin: 0 0 2px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sec h3 .n { font-size: 12px; font-weight: 700; color: var(--muted); }
.sec .hint { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sec .hint.tight { margin-bottom: 8px; }
.field { margin-bottom: 12px; }
.field label, .lab { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field select { width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.inline { display: flex; gap: 8px; align-items: center; }
.inline input { flex: 1; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.seg button { background: #fff; border: none; border-right: 1px solid var(--line-strong); padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button:last-child { border-right: none; }
.seg button:hover { background: var(--card-2); }
.seg button.on { background: var(--ink); color: #fff; }
.copybox { background: var(--card-2); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; position: relative; }
.copybox .lab { margin-bottom: 6px; }
.pickres { position: absolute; left: 14px; right: 14px; top: 100%; margin-top: -6px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 12px 30px rgba(16, 27, 39, .18); z-index: 5; max-height: 260px; overflow-y: auto; display: none; }
.pickres.on { display: block; }
.pickres button { display: block; width: 100%; text-align: left; background: none; border: none; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.pickres button:hover, .pickres button:focus { background: var(--card-2); }
.pickres button small { display: block; color: var(--muted); }

/* option rows (roles, apps, TC-OPS roles) */
.opts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .opts.two { grid-template-columns: 1fr; } }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); cursor: pointer; transition: border-color .1s, background .1s; }
.opt:hover { border-color: var(--line-strong); background: #fff; }
.opt.on { border-color: var(--primary); background: var(--primary-soft); }
.opt input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.opt .t { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.opt .d { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; font-weight: 400; margin-top: 2px; }
.opt.warn.on { border-color: var(--primary-dark); }
.opt .tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 1px 6px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); vertical-align: middle; }
.group { margin: 0 0 14px; }
.group:last-child { margin-bottom: 0; }
.group-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.group-h .lab { margin: 0; }
.group-h .n { font-size: 12px; color: var(--muted); }
.group-h .grow { flex: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pillopt { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.pillopt:hover { border-color: var(--muted); color: var(--ink); }
.pillopt.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.grid-mod { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.grid-mod .seg button { padding: 5px 11px; font-size: 12px; }
details.fold { border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; background: var(--card-2); }
details.fold > summary { cursor: pointer; padding: 10px 12px; font-size: 13px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 8px; }
details.fold > summary::before { content: '▸'; color: var(--muted); font-size: 11px; transition: transform .1s; }
details.fold[open] > summary::before { transform: rotate(90deg); }
details.fold > .inner { padding: 4px 12px 12px; }
.danger-zone { border-color: #EBC3CA; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.okbox { background: var(--success-soft); border: 1px solid #BFE3D0; color: #0F5C36; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }
.okbox code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: #fff; padding: 1px 6px; border-radius: 5px; border: 1px solid #BFE3D0; user-select: all; }
.formErr { font-size: 13px; color: var(--primary-dark); background: var(--primary-soft); border: 1px solid #F3C6CE; border-radius: 8px; padding: 9px 12px; margin: 0 0 12px; }
.dr-foot { flex: none; background: var(--panel); border-top: 1px solid var(--line); padding: 12px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(16, 27, 39, .06); }
.dr-foot .sum { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.dr-foot .sum b { color: var(--ink); }
.dr-foot .sum .add { color: var(--success); font-weight: 700; }
.dr-foot .sum .del { color: var(--primary-dark); font-weight: 700; }
.dr-foot .btns { display: flex; gap: 10px; flex: none; }

/* ---- dialog + toast ---- */
dialog.dlg { border: none; border-radius: 16px; padding: 0; width: min(520px, 92vw); max-height: 88vh; box-shadow: 0 30px 80px rgba(16, 27, 39, .4); color: var(--ink); }
dialog.dlg::backdrop { background: rgba(16, 27, 39, .5); }
dialog.dlg.wide { width: min(720px, 94vw); }
.dlg-in { padding: 22px 24px; max-height: 88vh; overflow-y: auto; }
.dlg-in h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.dlg-in p { margin: 0 0 12px; line-height: 1.5; color: var(--muted); }
.dlg-in .btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(16, 27, 39, .35); max-width: 90vw; }
.toast.bad { background: var(--primary-dark); }
.toast.good::before { content: '✓ '; color: #7fe0ae; }
.backlink { display: block; text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); text-decoration: none; }
.backlink:hover { color: var(--primary); }
footer { text-align: center; font-size: 11px; color: var(--muted); opacity: .8; margin-top: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pillopt.dim { opacity: .45; }
/* Exam areas: one row per department with its level */
.exareas { display: grid; gap: 8px; }
.exrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.exrow span { font-weight: 700; }
.exrow select { max-width: 320px; }

/* Settings under each app (2026-11-14): a setting that belongs to an app sits directly under that app's switch, so the two cannot be left half done. */
.appcards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.appcard { border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); overflow: hidden; }
.appcard > .opt { border: none; border-radius: 0; background: transparent; }
.appcard > .opt.on { background: var(--primary-soft); }
.appcard.orphan { border-color: var(--amber); }
.appset { padding: 12px 14px 14px; border-top: 1px dashed var(--line-strong); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.appset[hidden] { display: none; }
.appset .hint { margin: 0; }
.orphan-note { padding: 9px 11px; border-radius: 8px; background: var(--amber-soft); border: 1px solid #EBD3A6; color: #6B4506; font-size: 12.5px; line-height: 1.45; }
.auto-note { padding: 7px 11px; border-radius: 8px; background: var(--blue-soft); color: #0A4C6E; font-size: 12.5px; }
.flag { display: inline-block; margin-top: 3px; width: fit-content; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--amber-soft); color: #6B4506; border: 1px solid #EBD3A6; }

/* Guided steps for a new account (2026-11-14): one step shows at a time. */
.dr-body.wizard #sec-roles { display: none; }
.wiz1 #sec-apps, .wiz1 #wizCap, .wiz1 #wizReview, .wiz1 .copybox { display: none; }
.wiz2 #sec-profile, .wiz2 #sec-quals, .wiz2 #wizTrainee, .wiz2 #wizCap, .wiz2 #wizReview, .wiz2 .appset { display: none; }
.wiz3 #sec-profile, .wiz3 #sec-quals, .wiz3 #wizTrainee, .wiz3 #sec-apps, .wiz3 #wizReview, .wiz3 .copybox { display: none; }
.wiz4 #sec-profile, .wiz4 #sec-quals, .wiz4 #wizTrainee, .wiz4 #sec-apps, .wiz4 #wizCap, .wiz4 .copybox { display: none; }
.wizcard { margin-bottom: 14px; }
.wizcard .why { margin: 0 0 10px; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.wizcard .appset { padding: 0; border: none; background: transparent; }
.rvbox { border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); }
.rv { display: flex; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rv:last-child { border-bottom: none; }
.rv .k { flex: 0 0 38%; color: var(--muted); font-weight: 600; min-width: 0; }
.rv .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jump button.done { color: var(--success); }
.rv.check .v { color: #6B4506; font-weight: 700; }
.rv.check .v::after { content: ' (they will see nothing there yet)'; font-weight: 400; }
.wizcard .appset .hint .n { display: none; }

.wiz1 #wizWho { display: block; }
.wiz2 #wizWho, .wiz3 #wizWho, .wiz4 #wizWho { display: none; }
.wiz-ground #sec-quals, .wiz-ground #wizTrainee { display: none; }

.walkbox { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 14px; margin-bottom: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--card-2); font-size: 13px; }
.walkbox .dim { color: var(--muted); }
.dr-body.wizard .walkbox, .dr-body.wizard #sec-account { display: none; }
.jump button.quick { margin-left: auto; color: var(--muted); font-weight: 600; }
