/* Public camera-first check-in page.
 *
 * Palette is the MIDU brand system, dark surface variant: indigo-900 #192143 as
 * the page ground (indigo-800/900 are the sanctioned dark UI-chrome surfaces),
 * indigo-600 #384B98 as primary, violet #8A6CC7 as the camera accent, magenta
 * #C1368D for the brand gradient. The previous teal palette appeared nowhere in
 * the brand kit.
 *
 * Deliberately no transitions and no animation, matching the rest of the app.
 */

:root {
  --ink: #f4f6fd;
  --ink-muted: #9eaadb;
  --indigo: #384b98;
  --indigo-600: #384b98;
  --indigo-700: #2d3d7b;
  --indigo-800: #243061;
  --indigo-900: #192143;
  --violet: #8a6cc7;
  --violet-deep: #5f469b;
  --magenta: #c1368d;
  --surface: rgba(36, 48, 97, 0.72);
  --surface-solid: #243061;
  --hairline: rgba(158, 170, 219, 0.28);
  --hairline-strong: #6a7dc8;
  --success-bg: rgba(46, 125, 70, 0.22);
  --success-ink: #a9e5bd;
  --error-bg: rgba(201, 58, 58, 0.22);
  --error-ink: #ffb4b4;
  --notice-bg: rgba(198, 160, 12, 0.16);
  --notice-ink: #f0d98a;
  --focus-ring: #f68500;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--indigo-900);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, #35306e 0, var(--indigo-900) 55%, #12193a 100%)
    no-repeat var(--indigo-900);
}

.shell {
  width: min(100% - 2rem, 34rem);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

/* ------------------------------------------------------------------ hero --- */

.hero {
  margin-bottom: .9rem;
}

h2 { margin: 0; font-size: 1.05rem; }

/* Read-once context, not an alert: no panel, no fill — otherwise it carries the
 * same visual weight as the error banner and the eye has nowhere to land. */
.notice {
  margin: 0;
  padding: .1rem 0 .1rem .75rem;
  border-left: 2px solid rgba(240, 217, 138, 0.5);
  color: var(--ink-muted);
  font-size: .85rem;
  line-height: 1.45;
  text-align: left;
}

/* ------------------------------------------------------------- surfaces --- */

.card,
.camera-card {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(9, 12, 30, 0.45);
}

.camera-card {
  border-color: rgba(138, 108, 199, 0.45);
  box-shadow: 0 22px 56px rgba(9, 12, 30, 0.55);
}

/* The help button used to live here; it now floats inside .video-frame. */
.camera-heading {
  margin-bottom: .9rem;
}

.step-label {
  margin: 0 0 .15rem;
  color: var(--violet);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Floats over the camera feed, top-right. z-index puts it above .face-guide;
 * the frosted dark backdrop keeps it legible against a bright face or window. */
.help-button {
  position: absolute;
  z-index: 2;
  top: .65rem;
  right: .65rem;
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 2px solid var(--violet);
  border-radius: 50%;
  background: rgba(13, 19, 48, 0.72);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.help-button:hover {
  background: var(--violet-deep);
  border-color: #fff;
}

/* --------------------------------------------------------------- camera --- */

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #0d1330;
  /* Portrait, but 4/5 not 3/4: at 3/4 the guide brackets ended up ~58% of the
   * frame height apart, framing empty space instead of a face. */
  aspect-ratio: 4 / 5;
  max-height: min(60vh, 30rem);
}

video {
  display: block;
  width: 100%;
  height: 100%;
  background: #0d1330;
  object-fit: cover;
  /* Mirror the selfie feed so turning left looks like turning left. */
  transform: scaleX(-1);
}

/* Four corner brackets marking where to put your face. Purely decorative —
 * aria-hidden in the markup — and pointer-events:none so it never eats a tap. */
.face-guide {
  position: absolute;
  /* 18% side inset both tightens the frame around a face and keeps the
   * top-right bracket clear of the floating ? button. */
  inset: 12% 18%;
  pointer-events: none;
}

.face-guide::before,
.face-guide::after,
.face-guide span::before,
.face-guide span::after {
  content: "";
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  border: 4px solid var(--violet);
}

.face-guide::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: .9rem 0 0 0;
}

.face-guide::after {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 .9rem 0 0;
}

.face-guide span::before {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 .9rem;
}

.face-guide span::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 .9rem 0;
}

/* Capture progress. NOT a match score — the server never sends a similarity
 * score to the browser and this must not look like one. It counts frames taken:
 * 0% before the first, 50% after the neutral frame, 100% once both are in. */
.capture-progress {
  min-height: 2.6rem;
  margin: .9rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 11vw, 2.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}

.capture-progress:empty { min-height: 0; }

.camera-prompt {
  min-height: 1.4rem;
  margin: .35rem 0 0;
  color: var(--ink-muted);
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------- forms --- */

form {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

label { font-size: .9rem; font-weight: 650; }

input,
button {
  width: 100%;
  min-height: 3rem;
  border-radius: .9rem;
  font: inherit;
}

input {
  padding: .7rem .85rem;
  /* hairline-strong, not hairline: an interactive border at 1.3:1 fails
   * WCAG 1.4.11. */
  border: 1px solid var(--hairline-strong);
  background: rgba(13, 19, 48, 0.6);
  color: var(--ink);
}

input::placeholder { color: rgba(158, 170, 219, 0.7); }

input:focus {
  border-color: var(--violet);
  outline: 3px solid rgba(138, 108, 199, 0.35);
}

button {
  padding: .8rem 1rem;
  border: 0;
  background: linear-gradient(100deg, var(--indigo-600), var(--violet-deep));
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

button:hover {
  background: linear-gradient(100deg, var(--indigo-700), #4c3880);
}

button:disabled { cursor: not-allowed; opacity: .5; }

button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Camera permission retry is the one attention-seeking action on the page. */
#start-camera {
  margin-top: .5rem;
  background: var(--magenta);
}

#start-camera:hover { background: #9f2d75; }

/* -------------------------------------------------------------- status --- */

/* Lives inside .camera-card now: it always talks about the camera, and as a
 * separate panel below the card it read as an unrelated third banner. */
.status {
  min-height: 0;
  margin: .75rem 0 0;
  padding: .7rem .85rem;
  border-radius: .7rem;
  font-size: .88rem;
}

.status:empty { min-height: 0; padding: 0; }

.status[data-kind="success"] {
  background: var(--success-bg);
  color: var(--success-ink);
}

.status[data-kind="error"] {
  background: var(--error-bg);
  color: var(--error-ink);
}

#app-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  width: min(92vw, 620px);
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .24);
  font-size: .95rem;
  line-height: 1.4;
}

#app-toast[data-kind="success"] { background: var(--success-ink); }
#app-toast[data-kind="error"] { background: var(--error-ink); }
#app-toast[hidden] { display: none; }

/* ------------------------------------------------------------ recovery --- */

.recovery-panel > h2 { margin-bottom: .35rem; }
.recovery-intro { margin: 0 0 1rem; color: var(--ink-muted); font-size: .9rem; }

.recovery-choice {
  padding: .9rem 0;
  border-top: 1px solid var(--hairline);
}

.recovery-choice:last-of-type { border-bottom: 1px solid var(--hairline); }
.recovery-choice summary { cursor: pointer; font-weight: 700; }
.recovery-choice summary::marker { color: var(--violet); }

.member-id-result {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--violet);
  border-radius: 1.1rem;
  background: rgba(95, 70, 155, 0.35);
  color: #fff;
}

.member-id-label { font-weight: 700; }

#generated-member-id {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}

#copy-member-id {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

#copy-member-id:hover { background: rgba(255, 255, 255, .14); }
.copy-status {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(22, 163, 74, .14);
  color: #166534;
  font-weight: 700;
  text-align: center;
}

.copy-status[data-kind="error"] {
  background: rgba(220, 38, 38, .12);
  color: #991b1b;
}

.copy-status[hidden] { display: none; }

.redirect-countdown { margin: 0; color: var(--ink-muted); font-size: .88rem; }

@media (max-width: 420px) {
  .shell { width: min(100% - 1rem, 34rem); padding-top: 1rem; }
  .card,
  .camera-card { padding: .9rem; }
  .video-frame { max-height: 52vh; }
}


/* --------------------------------------------------------------- modal --- */

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 8, 24, 0.72);
  backdrop-filter: blur(8px);
}

.zoom-closed-modal {
  position: relative;
  width: min(100%, 27rem);
  padding: 1.85rem 1.45rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 26px;
  background: linear-gradient(180deg, #171a2d 0%, #101423 100%);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

.zoom-closed-icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto 1rem;
  border: 1px solid rgba(244, 201, 93, 0.20);
  border-radius: 999px;
  color: #f4c95d;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.zoom-closed-eyebrow {
  margin: 0 0 .45rem;
  color: #a7b0c5;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.zoom-closed-modal h2 {
  margin: 0 0 .75rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 5vw, 1.82rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.zoom-closed-message {
  max-width: 22rem;
  margin: 0 auto 1.1rem;
  color: #cbd5e1;
  line-height: 1.68;
}

.zoom-closed-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: .78rem 1rem;
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 999px;
  color: #f8e7b0;
  background: rgba(244, 201, 93, 0.12);
  font-weight: 800;
  line-height: 1.35;
}


.recovery-modal {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(90vh, 44rem);
  margin: 0;
  overflow-y: auto;
  border-color: rgba(138, 108, 199, 0.72);
  background: rgba(36, 48, 97, 0.96);
}

.modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: rgba(13, 19, 48, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-close:hover {
  background: var(--violet-deep);
}

.recovery-modal > h2,
.recovery-modal > .recovery-intro {
  padding-right: 2.6rem;
}

/* 2026-08-12 Linear-inspired premium refresh */
:root {
  --ink: #f4f3ff;
  --ink-muted: #b6b4c7;
  --indigo: #8b5cf6;
  --indigo-600: #8b5cf6;
  --indigo-700: #7c3aed;
  --indigo-800: #12141f;
  --indigo-900: #08090f;
  --violet: #a78bfa;
  --violet-deep: #7c3aed;
  --magenta: #38bdf8;
  --surface: rgba(18, 20, 31, 0.82);
  --surface-solid: #12141f;
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(167, 139, 250, 0.46);
  --success-bg: rgba(34, 197, 94, 0.12);
  --success-ink: #bbf7d0;
  --error-bg: rgba(244, 63, 94, 0.12);
  --error-ink: #fecdd3;
  --notice-bg: rgba(245, 158, 11, 0.13);
  --notice-ink: #fde68a;
}
body {
  background:
    radial-gradient(circle at 22% -8%, rgba(139, 92, 246, 0.30), transparent 34%),
    radial-gradient(circle at 90% 4%, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, #0b0c13 0%, #08090f 54%, #05060a 100%) !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 72%);
}
.shell { width: min(100% - 2rem, 38rem); padding-top: 2rem; }
.notice { border-left-color: rgba(167, 139, 250, 0.55); color: var(--ink-muted); }
.card, .camera-card {
  border-color: var(--hairline);
  border-radius: 1.45rem;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}
.camera-card { border-color: rgba(167,139,250,.32); }
.step-label { color: #c4b5fd; letter-spacing: .12em; }
h2 { color: var(--ink); letter-spacing: -.035em; }
.video-frame { background: #03040a; border-radius: 1.25rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -90px 120px rgba(0,0,0,.28); }
.face-guide::before, .face-guide::after, .face-guide span::before, .face-guide span::after { border-color: #a78bfa; filter: drop-shadow(0 0 18px rgba(167,139,250,.34)); }
.help-button, button {
  border-radius: 999px;
  border-color: rgba(167,139,250,.42);
  background: linear-gradient(180deg, #9b7cff, #7c3aed);
  color: #fff;
  box-shadow: 0 14px 34px rgba(124,58,237,.28);
}
.help-button:hover, button:hover { background: linear-gradient(180deg, #a78bfa, #6d28d9); }
input, select { background: rgba(255,255,255,.045); border-color: var(--hairline); color: var(--ink); border-radius: .9rem; }
.status, .camera-prompt, .recovery-intro { color: var(--ink-muted); }

/* 2026-08-12 correction: professional light UI, higher clarity */
:root {
  --ink: #111827;
  --ink-muted: #5b6475;
  --indigo: #4f46e5;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #eef2ff;
  --indigo-900: #f6f8fc;
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --magenta: #2563eb;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --hairline: #e1e7f0;
  --hairline-strong: #a5b4fc;
  --success-bg: #ecfdf5;
  --success-ink: #047857;
  --error-bg: #fff1f2;
  --error-ink: #be123c;
  --notice-bg: #fff7ed;
  --notice-ink: #9a3412;
  color-scheme: light;
}
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -12%, rgba(79, 70, 229, 0.14), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(37, 99, 235, 0.10), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fc 58%, #eef2f7 100%) !important;
}
body::before { opacity: .35; background-image: linear-gradient(rgba(15,23,42,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.035) 1px, transparent 1px); }
.shell { width: min(100% - 2rem, 36rem); padding-top: 2rem; }
.notice { border-left-color: #818cf8; color: #64748b; }
.card, .camera-card {
  border-color: var(--hairline);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(14px);
}
.camera-card { border-color: #d7ddff; }
.step-label { color: var(--indigo-600); }
h2 { color: var(--ink); }
.video-frame { background: #111827; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.video-frame::after { box-shadow: inset 0 -80px 100px rgba(17,24,39,.18); }
.face-guide::before, .face-guide::after, .face-guide span::before, .face-guide span::after { border-color: #6366f1; filter: drop-shadow(0 0 14px rgba(99,102,241,.22)); }
.help-button, button {
  border: 1px solid #4f46e5;
  background: linear-gradient(180deg, #6366f1, #4f46e5) !important;
  color: #fff;
  box-shadow: 0 12px 28px rgba(79,70,229,.22);
}
.help-button:hover, button:hover { background: linear-gradient(180deg, #4f46e5, #4338ca) !important; }
input, select { background: #fff !important; border-color: #cbd5e1; color: var(--ink); }
.status, .camera-prompt, .recovery-intro { color: var(--ink-muted); }

/* 2026-08-12 Lovable-inspired warm cream design */
:root {
  --ink: #1c1c1c;
  --ink-muted: #5f5f5d;
  --indigo: #1c1c1c;
  --indigo-600: #1c1c1c;
  --indigo-700: rgba(28,28,28,.83);
  --indigo-800: #eceae4;
  --indigo-900: #f7f4ed;
  --violet: rgba(28,28,28,.82);
  --violet-deep: #1c1c1c;
  --magenta: rgba(28,28,28,.4);
  --surface: #f7f4ed;
  --surface-solid: #f7f4ed;
  --hairline: #eceae4;
  --hairline-strong: rgba(28,28,28,.4);
  --success-bg: rgba(22, 120, 101, .10);
  --success-ink: #167865;
  --error-bg: rgba(190, 18, 60, .08);
  --error-ink: #9f1239;
  --notice-bg: rgba(28,28,28,.03);
  --notice-ink: rgba(28,28,28,.82);
  --focus-ring: rgba(59,130,246,.5);
  color-scheme: light;
  font-family: "Camera Plain Variable", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(244, 114, 182, .16), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(251, 146, 60, .13), transparent 25%),
    radial-gradient(circle at 50% 108%, rgba(59, 130, 246, .10), transparent 34%),
    #f7f4ed !important;
}
body::before { display: none; }
.shell { width: min(100% - 2rem, 36rem); padding: 2.5rem 0 4rem; }
.hero { margin-bottom: 1.1rem; }
.notice { padding: .15rem 0 .15rem .85rem; border-left: 1px solid #eceae4; color: #5f5f5d; font-size: .92rem; }
.card, .camera-card {
  border: 1px solid #eceae4;
  border-radius: 16px;
  background: #f7f4ed;
  box-shadow: none;
  backdrop-filter: none;
}
.camera-card { padding: 1rem; border-color: #eceae4; }
.camera-heading { margin-bottom: .9rem; }
.step-label { color: rgba(28,28,28,.4); font-size: .72rem; font-weight: 600; letter-spacing: .08em; }
h2 { color: #1c1c1c; font-size: clamp(1.35rem, 5vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -.9px; }
.video-frame { background: #eceae4; border: 1px solid #eceae4; border-radius: 12px; box-shadow: none; }
.video-frame::after { box-shadow: inset 0 -70px 90px rgba(28,28,28,.10); }
.face-guide::before, .face-guide::after, .face-guide span::before, .face-guide span::after { border-color: #fcfbf8; filter: drop-shadow(0 1px 8px rgba(28,28,28,.25)); border-width: 3px; }
.capture-progress { color: #1c1c1c; font-weight: 600; letter-spacing: -1.2px; }
.camera-prompt, .status, .recovery-intro { color: #5f5f5d; }
.help-button, button {
  border: 1px solid rgba(28,28,28,.4) !important;
  border-radius: 6px !important;
  background: #1c1c1c !important;
  color: #fcfbf8 !important;
  box-shadow: rgba(255,255,255,.2) 0 .5px 0 0 inset, rgba(0,0,0,.2) 0 0 0 .5px inset, rgba(0,0,0,.05) 0 1px 2px 0 !important;
  font-weight: 400 !important;
}
.help-button { border-radius: 9999px !important; background: rgba(247,244,237,.92) !important; color: #1c1c1c !important; }
.help-button:hover, button:hover { opacity: .86; }
input, select { background: #f7f4ed !important; border: 1px solid #eceae4 !important; color: #1c1c1c !important; border-radius: 6px !important; box-shadow: none !important; }
input:focus, select:focus, button:focus-visible { outline: 2px solid rgba(59,130,246,.5); outline-offset: 2px; box-shadow: rgba(0,0,0,.1) 0 4px 12px !important; }
.modal-overlay { background: rgba(28,28,28,.24); }

/* 2026-08-12 check-in page polish: cleaner, warmer, less heavy */
.shell {
  width: min(100% - 1.5rem, 30rem) !important;
  padding: 1.2rem 0 2rem !important;
}
.hero {
  margin-bottom: .75rem !important;
}
.notice {
  padding: .75rem .9rem !important;
  border: 1px solid #e2ded5 !important;
  border-radius: 14px !important;
  background: rgba(252,251,248,.72) !important;
  color: #6b6760 !important;
  font-size: .84rem !important;
  line-height: 1.4 !important;
}
.camera-card {
  padding: .85rem !important;
  border-radius: 20px !important;
  background: #fcfbf8 !important;
  border: 1px solid #e2ded5 !important;
  box-shadow: 0 8px 26px rgba(28,28,28,.06) !important;
}
.camera-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  margin-bottom: .75rem !important;
  padding: .25rem .15rem 0 !important;
}
.step-label {
  margin-bottom: .28rem !important;
  color: rgba(28,28,28,.46) !important;
  font-size: .68rem !important;
  font-weight: 520 !important;
  letter-spacing: .08em !important;
}
#camera-title,
.camera-heading h2 {
  max-width: 15rem !important;
  color: #1c1c1c !important;
  font-size: clamp(1.35rem, 6.3vw, 1.95rem) !important;
  font-weight: 590 !important;
  line-height: 1.05 !important;
  letter-spacing: -1.05px !important;
}
.video-frame {
  aspect-ratio: 4 / 4.85 !important;
  max-height: min(58vh, 27rem) !important;
  border-radius: 18px !important;
  border: 1px solid #d9d3c8 !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(252,251,248,.08), transparent 23%),
    linear-gradient(180deg, #272420 0%, #171512 100%) !important;
  overflow: hidden !important;
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: .65rem;
  border: 1px solid rgba(252,251,248,.08);
  border-radius: 14px;
  pointer-events: none;
}
.video-frame::after {
  box-shadow: inset 0 -90px 110px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.face-guide {
  inset: 15% 20% !important;
}
.face-guide::before,
.face-guide::after,
.face-guide span::before,
.face-guide span::after {
  width: 2.55rem !important;
  height: 2.55rem !important;
  border-width: 2px !important;
  border-color: rgba(252,251,248,.88) !important;
  filter: drop-shadow(0 1px 10px rgba(0,0,0,.35)) !important;
}
.help-button {
  top: .75rem !important;
  right: .75rem !important;
  width: 2.1rem !important;
  min-height: 2.1rem !important;
  border: 1px solid rgba(252,251,248,.55) !important;
  background: rgba(252,251,248,.88) !important;
  color: #1c1c1c !important;
  font-size: 1rem !important;
  font-weight: 560 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.14) !important;
}
#start-camera {
  width: 100% !important;
  margin-top: .85rem !important;
  min-height: 2.9rem !important;
  border-radius: 12px !important;
  font-size: .96rem !important;
  font-weight: 520 !important;
}
.camera-prompt {
  margin: .85rem .15rem 0 !important;
  color: #6b6760 !important;
  font-size: .9rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
}
.status {
  margin: .75rem .15rem 0 !important;
  padding: .78rem .85rem !important;
  border-radius: 14px !important;
  border: 1px solid #e2ded5 !important;
  background: #f7f4ed !important;
  color: #6b6760 !important;
  font-size: .88rem !important;
  line-height: 1.42 !important;
}
.status:empty {
  display: none !important;
}
.status.error,
.status[data-kind="error"] {
  border-color: #f3c3cc !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}
.capture-progress {
  margin: .75rem 0 0 !important;
  color: #1c1c1c !important;
  font-size: clamp(1.6rem, 8vw, 2.1rem) !important;
}
.recovery-modal.card {
  background: #fcfbf8 !important;
  box-shadow: 0 18px 60px rgba(28,28,28,.18) !important;
}
@media (max-width: 420px) {
  .shell { width: min(100% - 1rem, 30rem) !important; padding-top: .7rem !important; }
  .camera-card { padding: .65rem !important; border-radius: 18px !important; }
  .notice { font-size: .8rem !important; }
}

/* 2026-08-12 center check-in composition */
body {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
}
.shell {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100% - 1.5rem, 30rem) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 1rem 0 !important;
}
.hero,
.camera-card,
.recovery-panel {
  width: 100% !important;
}
.hero,
.camera-heading,
.camera-prompt,
.status,
.capture-progress {
  text-align: center !important;
}
.camera-heading {
  justify-content: center !important;
  align-items: center !important;
}
.camera-heading > div {
  width: 100% !important;
}
#camera-title,
.camera-heading h2 {
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.step-label {
  text-align: center !important;
}
.video-frame {
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-height: 760px) {
  body { align-items: flex-start !important; }
  .shell { justify-content: flex-start !important; min-height: auto !important; padding-top: .75rem !important; padding-bottom: .75rem !important; }
}

/* 2026-08-12 brand logo */
.checkin-logo {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto .85rem;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(28,28,28,.16);
}

/* CheckIn mobile: logo removed; keep page compact to avoid extra scroll. */
.checkin-logo { display: none !important; }

/* 2026-08-12 zoom-closed modal final: match warm cream CheckIn UI, readable */
.modal-overlay.zoom-closed-panel {
  background: rgba(28, 28, 28, 0.18) !important;
  backdrop-filter: blur(4px) !important;
}
.zoom-closed-modal.card {
  width: min(100% - 1.25rem, 26rem) !important;
  padding: 1.45rem 1.2rem 1.25rem !important;
  border: 1px solid #e2ded5 !important;
  border-radius: 22px !important;
  background: #fcfbf8 !important;
  color: #1c1c1c !important;
  box-shadow: 0 18px 54px rgba(28, 28, 28, 0.16) !important;
  text-align: center !important;
}
.zoom-closed-icon {
  width: 3.35rem !important;
  height: 3.35rem !important;
  margin: 0 auto .85rem !important;
  border: 1px solid #e2ded5 !important;
  background: #f7f4ed !important;
  color: #7c5a18 !important;
  box-shadow: none !important;
}
.zoom-closed-eyebrow {
  margin: 0 0 .4rem !important;
  color: #8a8174 !important;
  font-size: .72rem !important;
  font-weight: 650 !important;
  letter-spacing: .1em !important;
}
.zoom-closed-modal h2 {
  margin: 0 0 .65rem !important;
  color: #1c1c1c !important;
  font-size: clamp(1.35rem, 5vw, 1.72rem) !important;
  font-weight: 620 !important;
  line-height: 1.12 !important;
  letter-spacing: -.04em !important;
}
.zoom-closed-message {
  max-width: 21rem !important;
  margin: 0 auto 1rem !important;
  color: #5f5f5d !important;
  font-size: .94rem !important;
  line-height: 1.58 !important;
}
.zoom-closed-time {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  padding: .82rem .9rem !important;
  border: 1px solid #dfd5c1 !important;
  border-radius: 14px !important;
  background: #f7f4ed !important;
  color: #1c1c1c !important;
  font-size: .95rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

/* 2026-08-12 zoom-closed modal: alert-style refinement */
.zoom-closed-modal.card {
  overflow: hidden !important;
  padding: 1.55rem 1.2rem 1.25rem !important;
  border-color: #ead7b5 !important;
  background:
    radial-gradient(circle at 50% -18%, rgba(245, 158, 11, 0.18), transparent 34%),
    #fcfbf8 !important;
}
.zoom-closed-modal.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #d97706, #f4c95d, #d97706);
}
.zoom-closed-icon {
  position: relative !important;
  width: 3.7rem !important;
  height: 3.7rem !important;
  border-color: rgba(217, 119, 6, .24) !important;
  background: #fff7e6 !important;
  color: #b45309 !important;
  box-shadow: 0 10px 24px rgba(217, 119, 6, .10) !important;
}
.zoom-closed-icon::after {
  content: "";
  position: absolute;
  inset: -.45rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, .12);
  pointer-events: none;
}
.zoom-closed-eyebrow {
  color: #9a5b10 !important;
}
.zoom-closed-modal h2 {
  color: #1c1c1c !important;
}
.zoom-closed-message {
  color: #514c45 !important;
}
.zoom-closed-time {
  gap: .4rem !important;
  border-color: #ead7b5 !important;
  background: #fff7e6 !important;
  color: #5f3b0b !important;
}
.zoom-closed-time::before {
  content: "•";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .95rem;
  height: .95rem;
  border-radius: 999px;
  background: #d97706;
  color: #fff7e6;
  font-size: 1rem;
  line-height: .7;
}

/* 2026-08-12 zoom-closed modal: notification style, not warning */
.zoom-closed-modal.card {
  border-color: #e2ded5 !important;
  background:
    radial-gradient(circle at 50% -20%, rgba(142, 119, 84, 0.10), transparent 36%),
    #fcfbf8 !important;
}
.zoom-closed-modal.card::before {
  background: linear-gradient(90deg, #d8d0c0, #b8a98f, #d8d0c0) !important;
}
.zoom-closed-icon {
  border-color: #ded7cb !important;
  background: #f7f4ed !important;
  color: #6f6251 !important;
  box-shadow: 0 10px 22px rgba(28, 28, 28, .06) !important;
}
.zoom-closed-icon::after {
  border-color: rgba(142, 119, 84, .12) !important;
}
.zoom-closed-eyebrow {
  color: #7a7064 !important;
}
.zoom-closed-time {
  border-color: #ded7cb !important;
  background: #f7f4ed !important;
  color: #2f2b26 !important;
}
.zoom-closed-time::before {
  content: "" !important;
  width: .5rem !important;
  height: .5rem !important;
  border-radius: 999px !important;
  background: #8e7754 !important;
}
/* 2026-08-12 remove leading dot/icon from Check-in open time badge */
.zoom-closed-time::before {
  content: none !important;
  display: none !important;
}

/* 2026-08-12 countdown timer inside Check-in notification modal */
.zoom-closed-countdown {
  margin: .75rem auto 0 !important;
  color: #7a7064 !important;
  font-size: .9rem !important;
  font-weight: 560 !important;
  line-height: 1.35 !important;
}

/* 2026-08-12 digital countdown style */
.zoom-closed-countdown {
  margin: .85rem auto 0 !important;
  color: #7a7064 !important;
  font-size: .9rem !important;
  font-weight: 560 !important;
  line-height: 1.35 !important;
}
.countdown-label {
  display: block !important;
  margin-bottom: .45rem !important;
  color: #7a7064 !important;
  font-size: .78rem !important;
  font-weight: 650 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.countdown-display {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .18rem !important;
  padding: .55rem .7rem !important;
  border-radius: 14px !important;
  background: #050505 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(28,28,28,.12) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
}
.countdown-display .digit,
.countdown-display .colon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.05rem !important;
  color: #fff !important;
  font-size: clamp(1.45rem, 7vw, 2.05rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.06em !important;
  text-shadow: 0 0 10px currentColor !important;
}
.countdown-display .colon {
  min-width: .55rem !important;
  color: #22c55e !important;
  transform: translateY(-.04em);
}
.countdown-display .digit-white { color: #f8fafc !important; }
.countdown-display .digit-yellow { color: #facc15 !important; }
.countdown-display .digit-red { color: #ef4444 !important; }
.countdown-display .digit-cyan { color: #22d3ee !important; }

/* 2026-08-12 separate terminal success modal */
.terminal-panel {
  background: rgba(28, 28, 28, 0.18) !important;
  backdrop-filter: blur(4px) !important;
}
.terminal-modal.card {
  width: min(100% - 1.25rem, 26rem) !important;
  padding: 1.55rem 1.2rem 1.25rem !important;
  border: 1px solid #d8e7dc !important;
  border-radius: 22px !important;
  background: #fcfbf8 !important;
  color: #1c1c1c !important;
  box-shadow: 0 18px 54px rgba(28, 28, 28, 0.16) !important;
  text-align: center !important;
}
.terminal-icon {
  display: grid !important;
  place-items: center !important;
  width: 3.7rem !important;
  height: 3.7rem !important;
  margin: 0 auto .85rem !important;
  border: 1px solid rgba(22, 120, 101, .18) !important;
  border-radius: 999px !important;
  background: rgba(22, 120, 101, .10) !important;
  color: #167865 !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
}
.terminal-eyebrow {
  margin: 0 0 .4rem !important;
  color: #167865 !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}
.terminal-modal h2 {
  margin: 0 0 1rem !important;
  color: #1c1c1c !important;
  font-size: clamp(1.35rem, 5vw, 1.72rem) !important;
  font-weight: 620 !important;
  line-height: 1.12 !important;
  letter-spacing: -.04em !important;
}
.terminal-modal .member-id-result {
  margin-top: .5rem !important;
  padding: 1rem !important;
  border: 1px solid #e2ded5 !important;
  border-radius: 16px !important;
  background: #f7f4ed !important;
}
.terminal-modal .member-id-label {
  display: block !important;
  margin-top: .7rem !important;
  color: #7a7064 !important;
  font-size: .74rem !important;
  font-weight: 650 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.terminal-modal .member-id-label:first-child { margin-top: 0 !important; }
.terminal-modal strong {
  display: block !important;
  margin-top: .25rem !important;
  color: #1c1c1c !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
}
/* 2026-08-12 make verified name/member id prominent during 5s redirect */
.terminal-modal .member-id-label {
  margin-top: .9rem !important;
  font-size: .72rem !important;
  color: #6f6251 !important;
}
.terminal-modal #verified-display-name,
.terminal-modal #generated-member-id {
  margin-top: .38rem !important;
  padding: .78rem .9rem !important;
  border-radius: 14px !important;
  border: 1px solid #ded7cb !important;
  background: #fcfbf8 !important;
  color: #111111 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(28, 28, 28, .06) !important;
}
.terminal-modal #verified-display-name {
  font-size: clamp(1.25rem, 5.8vw, 1.75rem) !important;
  letter-spacing: -.035em !important;
}
.terminal-modal #generated-member-id {
  font-size: clamp(1.55rem, 8vw, 2.25rem) !important;
  letter-spacing: .08em !important;
  color: #167865 !important;
  font-variant-numeric: tabular-nums !important;
}
.terminal-modal #copy-member-id {
  margin-top: .9rem !important;
}
.terminal-modal .redirect-countdown {
  margin-top: .75rem !important;
  color: #7a7064 !important;
  font-weight: 650 !important;
}

/* 2026-08-13 modal scroll fix: allow student-info modal to scroll on small screens. */
body.modal-open {
  overflow: hidden !important;
}
.modal-overlay {
  align-items: start !important;
  justify-items: center !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-top: max(1rem, env(safe-area-inset-top)) !important;
  padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
}
.recovery-modal.card,
.terminal-modal.card,
.zoom-closed-modal.card,
.inapp-browser-modal.card {
  max-height: calc(100dvh - 2rem) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

/* 2026-08-13 modal scroll hard fix: center via margin, let fixed overlay own scroll. */
html:has(.modal-overlay:not([hidden])) {
  overflow: hidden !important;
}
body.modal-open {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}
.modal-overlay:not([hidden]) {
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(2rem, env(safe-area-inset-bottom)) !important;
}
.modal-overlay:not([hidden]) > .card {
  margin: 0 auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.terminal-modal.card,
.recovery-modal.card {
  width: min(100%, 26rem) !important;
}

/* 2026-08-13 check-in modals: centered viewport with rounded scroll body */
.recovery-panel.modal-overlay:not([hidden]),
.terminal-panel.modal-overlay:not([hidden]),
.zoom-closed-panel.modal-overlay:not([hidden]),
.inapp-browser-panel.modal-overlay:not([hidden]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 1rem !important;
}
.recovery-modal.card,
.terminal-modal.card,
.zoom-closed-modal.card,
.inapp-browser-modal.card {
  width: min(100%, 32rem) !important;
  max-height: calc(100dvh - 2rem) !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}
.recovery-modal.card {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.terminal-modal.card {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.zoom-closed-modal.card {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
@media (max-width: 520px) {
  .recovery-panel.modal-overlay:not([hidden]),
  .terminal-panel.modal-overlay:not([hidden]),
  .zoom-closed-panel.modal-overlay:not([hidden]) {
    padding: .75rem !important;
  }
  .recovery-modal.card,
  .terminal-modal.card,
  .zoom-closed-modal.card {
    max-height: calc(100dvh - 1.5rem) !important;
    border-radius: 20px !important;
  }
}

/* 2026-08-13 check-in viewport fix: no page scrollbar on main screen; scroll only inside opened modals. */
html:not(:has(.modal-overlay:not([hidden]))),
body:not(.modal-open) {
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
}
body:not(.modal-open) .shell {
  min-height: 100dvh !important;
  height: 100dvh !important;
  padding-top: .75rem !important;
  padding-bottom: .75rem !important;
  overflow: hidden !important;
}
body:not(.modal-open) .camera-card {
  margin-top: .65rem !important;
}
body:not(.modal-open) .video-frame {
  max-height: min(54dvh, 28rem) !important;
}

/* 2026-08-13 camera orientation: show real, non-mirrored camera feed. */
video,
#camera {
  transform: none !important;
}

/* 2026-08-13 camera orientation rollback: mirror selfie feed as before. */
video,
#camera {
  transform: scaleX(-1) !important;
}


/* 2026-08-14: Block Zalo in-app browser because camera permission is unreliable there. */
.inapp-browser-modal {
  position: relative;
  width: min(100%, 30rem);
  padding: 1.8rem 1.35rem 1.45rem;
  text-align: center;
}
.inapp-browser-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.8rem;
  font-weight: 900;
}
.inapp-browser-eyebrow {
  margin: 0 0 .45rem;
  color: #64748b;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.inapp-browser-modal h2 { margin: 0 0 .75rem; }
.inapp-browser-message {
  margin: 0 auto 1rem;
  max-width: 24rem;
  color: #475569;
  line-height: 1.65;
}
.inapp-browser-steps {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.65;
  text-align: left;
}
.inapp-browser-steps li + li { margin-top: .35rem; }
#copy-checkin-link { width: 100%; }
#copy-checkin-link-status {
  margin-top: .75rem;
  overflow-wrap: anywhere;
}


/* 2026-08-14: Center Zalo in-app browser modal in viewport. */
.inapp-browser-panel.modal-overlay:not([hidden]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 1rem !important;
}
.inapp-browser-modal.card {
  margin: 0 auto !important;
  width: min(100%, 30rem) !important;
  max-height: calc(100dvh - 2rem) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* ====== 2026-09 SELECT CHEVRON ENHANCEMENT (dark theme) ====== */
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 2.25rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255%2C255%2C255%2C0.55)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .65rem center !important;
  background-size: 14px 14px !important;
  cursor: pointer !important;
}
select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23818cf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
/* ====== END SELECT CHEVRON ENHANCEMENT ====== */

/* ====== 2026-09 TWO-FLOW CHOICE SCREEN ====== */
.checkin-choice-section,
.checkin-form-section {
  max-width: 540px;
  margin: 0 auto;
  padding: 1rem;
}

.choice-heading {
  font-size: 1.25rem;
  margin: 0.5rem 0 1.25rem;
  text-align: center;
}

.choice-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.choice-card {
  padding: 1.5rem;
  text-align: center;
}

.choice-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.choice-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.choice-card .card-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.choice-card button {
  width: 100%;
}

.back-btn {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.65;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  margin-bottom: 0.5rem;
  display: block;
}

.back-btn:hover { opacity: 1; }

.checkin-forms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkin-card {
  padding: 1.5rem;
}

.checkin-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.checkin-divider {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
  margin: -0.25rem 0;
}

.checkin-card form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checkin-card label {
  font-size: 0.85rem;
  font-weight: 500;
}

.checkin-card .status {
  margin-top: 0.5rem;
  min-height: 1.2em;
}
