/* ==========================================================================
   Candidate check-in — mobile first. Big targets, minimal reading.
   ========================================================================== */
.ci-body { background: var(--bg); }
.ci-wrap { max-width: 540px; margin: 0 auto; padding: 22px 16px calc(40px + env(safe-area-inset-bottom)); }

.ci-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ci-brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(145deg, #1E4FBF, #2F72E8); display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.ci-brand-text { font-size: 13px; color: var(--ink-soft); font-weight: 550; }

.ci-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-sm); padding: 24px 22px;
}
.ci-hello { font-size: 21px; font-weight: 650; letter-spacing: -.5px; }
.ci-lede { font-size: 15px; color: var(--ink-soft); margin-top: 7px; line-height: 1.55; }

/* Requirement facts — the four things that decide the answer */
.ci-facts { display: grid; gap: 2px; margin: 22px 0 6px; }
.ci-fact {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.ci-fact:last-child { border-bottom: none; }
.ci-fact-label {
  font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-faint); width: 74px; flex-shrink: 0;
}
.ci-fact-value { font-size: 18px; font-weight: 600; letter-spacing: -.3px; line-height: 1.35; }
.ci-fact-value .sub { display: block; font-size: 13.5px; font-weight: 450; color: var(--ink-soft); letter-spacing: 0; margin-top: 2px; }

.ci-urgent {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  background: var(--red-bg); color: var(--red); border: 1px solid var(--red-line);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 650;
  text-transform: uppercase; letter-spacing: .05em;
}

.ci-question { font-size: 16px; font-weight: 600; margin: 26px 0 14px; text-align: center; }

/* The two very large answer buttons */
.ci-actions { display: grid; gap: 12px; }
.ci-btn {
  width: 100%; min-height: 84px; border-radius: 16px;
  font-size: 19px; font-weight: 680; letter-spacing: -.2px;
  display: grid; place-items: center; text-align: center; padding: 16px 18px;
  border: 2px solid transparent; transition: transform .12s var(--ease), filter .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.ci-btn:active { transform: scale(.985); }
.ci-btn-yes { background: #0B8A5C; color: #fff; box-shadow: 0 4px 14px rgba(11, 138, 92, .26); }
.ci-btn-yes:hover { filter: brightness(1.06); }
.ci-btn-no { background: var(--surface); color: #98302A; border-color: #E9B4AF; }
.ci-btn-no:hover { background: var(--red-bg); }
.ci-btn[disabled] { opacity: .55; pointer-events: none; }
.ci-btn .ci-btn-sub { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 4px; letter-spacing: 0; }

/* Two-week grid */
.ci-days { display: grid; gap: 10px; margin: 20px 0 6px; }
.ci-day { border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; background: var(--surface); }
.ci-day.answered { border-color: var(--green-line); background: var(--green-bg); }
.ci-day.unavailable { border-color: var(--red-line); background: var(--red-bg); }
.ci-day-name { font-size: 14.5px; font-weight: 620; }
.ci-day-sub { font-size: 12px; color: var(--ink-faint); margin-top: 1px; }
.ci-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 11px; }
.ci-choice {
  min-height: 46px; border-radius: 11px; border: 1.5px solid var(--border-strong);
  background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  display: grid; place-items: center; transition: all .14s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.ci-choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ci-choice.no[aria-pressed="true"] { background: #98302A; border-color: #98302A; }

.ci-submit {
  width: 100%; min-height: 66px; border-radius: 15px; margin-top: 18px;
  background: var(--ink); color: #fff; font-size: 17px; font-weight: 660;
  display: grid; place-items: center; transition: transform .12s var(--ease), opacity .15s;
}
.ci-submit:active { transform: scale(.99); }
.ci-submit[disabled] { opacity: .45; pointer-events: none; }

.ci-foot { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin-top: 18px; line-height: 1.55; }
.ci-error { background: var(--red-bg); border: 1px solid var(--red-line); color: #8C2620; border-radius: 12px; padding: 13px 15px; font-size: 14px; margin-bottom: 16px; }

/* Result state */
.ci-result { text-align: center; padding: 14px 4px 6px; }
.ci-result-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.ci-result-mark svg { width: 30px; height: 30px; stroke-width: 2.4; }
.ci-result-mark.green { background: var(--green-bg); color: var(--green); }
.ci-result-mark.neutral { background: var(--neutral-bg); color: var(--ink-soft); }
.ci-result-mark.amber { background: var(--amber-bg); color: var(--amber); }
.ci-result-title { font-size: 21px; font-weight: 660; letter-spacing: -.4px; }
.ci-result-text { font-size: 15px; color: var(--ink-soft); margin-top: 9px; line-height: 1.6; }

@media (min-width: 560px) {
  .ci-wrap { padding-top: 40px; }
  .ci-card { padding: 30px 28px; }
}
