/* Lane A's page styles: the candidate pages in index.html (work at 320 px wide) and the admin sections. */
a.button { display: block; text-align: center; font-weight: 700; min-height: 44px; padding: 10px 16px; margin: 12px 0 0;
  border-radius: 10px; background: var(--marigold); color: var(--navy); text-decoration: none; }
a.button.alt { background: #fff; border: 2px solid var(--navy); }
button.wide { display: block; width: 100%; }
.error:empty { display: none; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.person p { margin: 4px 0; }
.lead { font-size: 1.1rem; }
.who { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.choices { display: flex; flex-wrap: wrap; gap: 0 12px; }
label.tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
label.tick input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; }
.notice { border: 2px solid var(--marigold); }

/* The admin screen's Part A sections (admin.html, admin-access.js; ruling H11). No fixed widths, so a narrow window
   still works. */
.admin-section .choices button { margin-top: 8px; }
/* Admin tables keep an SR No, a typed number or a word whole (body's overflow-wrap: anywhere split them mid-value);
   lines break at spaces, and a narrow window scrolls the table sideways in .tablewrap. */
.admin-section th, .admin-section td { overflow-wrap: normal; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill.warn { background: var(--orange-bg); color: var(--orange); }
/* Tick-box groups: the reviewer's sections on the admin screen and the subjects on the Register form (320 px wide). */
fieldset.sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 6px;
  margin: 12px 0 0; padding: 8px 12px 12px; border: 1px solid var(--line); border-radius: 8px; }
fieldset.sections legend { font-weight: 600; padding: 0 4px; }
fieldset.sections label.tick { margin: 0; }
.admin-dialog { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 12px; padding: 24px; color: var(--ink); }
.admin-dialog::backdrop { background: rgb(5 21 58 / .6); }
.code-big { margin: 16px 0; font: 700 clamp(2rem, 11vw, 3.5rem)/1.1 ui-monospace, Menlo, monospace; letter-spacing: .08em;
  color: var(--navy); white-space: nowrap; overflow-wrap: normal; }
