/* ============================================================
   PERFECTLY ME · APPLICATION UI
   Shared by the CIT application and the volunteer application, so the
   two never drift apart. Everything is scoped to #apply and built on
   the tokens in camps.css — no new colors, no new typefaces.
   ============================================================ */

/* Application UI — scoped to #apply, built on the site's own tokens */
#apply .rail{ display:flex; gap:6px; margin:0 0 10px; }
#apply .rail i{ flex:1; height:5px; border-radius:99px; background:var(--line); }
#apply .rail i.done{ background:var(--orange); }
#apply .stepnum{ font-family:var(--mono); font-size:.74rem; letter-spacing:.15em;
  text-transform:uppercase; color:var(--ink-soft); display:block; margin-bottom:18px; }
#apply .step{ display:none; } #apply .step.on{ display:block; }
#apply label.f{ display:block; margin:0 0 18px; }
#apply label.f>span{ display:block; font-weight:600; font-size:1rem; color:var(--ink);
  margin-bottom:7px; line-height:1.4; }
#apply label.f>small{ display:block; color:var(--ink-soft); font-size:.92rem; margin:-2px 0 8px; }
#apply input, #apply select, #apply textarea{
  width:100%; font-family:var(--body); font-size:1rem; color:var(--ink); background:var(--white);
  border:1.5px solid var(--line); border-radius:12px; padding:13px 15px; }
#apply textarea{ min-height:96px; resize:vertical; }
#apply input:focus, #apply select:focus, #apply textarea:focus{ outline:none; border-color:var(--prospect); }
#apply .row{ display:grid; gap:0 18px; }
@media(min-width:640px){ #apply .row.two{ grid-template-columns:1fr 1fr; }
  #apply .row.three{ grid-template-columns:1fr 1fr 1fr; } }
#apply .count{ font-family:var(--mono); font-size:.72rem; color:var(--ink-soft); text-align:right; margin-top:4px; }
#apply .count.over{ color:#B33A17; }
#apply .chips{ display:flex; flex-wrap:wrap; gap:9px; margin:4px 0; }
#apply .chip{ font-family:var(--body); font-size:.97rem; background:var(--white);
  border:1.5px solid var(--line); border-radius:999px; padding:10px 17px; cursor:pointer; color:var(--ink); }
#apply .chip[aria-pressed=true]{ border-color:var(--ocean); border-width:2px; color:var(--ocean); font-weight:600; }
#apply .pair{ border:1px solid var(--line); border-radius:var(--r); padding:22px 24px;
  margin-bottom:20px; background:var(--white); }
#apply .pair p.q{ font-weight:600; font-size:1.03rem; color:var(--ink); margin-bottom:14px; }
#apply .opt{ display:flex; gap:12px; align-items:flex-start; width:100%; text-align:left;
  font-family:var(--body); font-size:1rem; background:var(--white); border:1.5px solid var(--line);
  border-radius:12px; padding:13px 15px; margin-bottom:10px; cursor:pointer; color:var(--ink); }
#apply .opt .k{ flex:0 0 auto; width:24px; height:24px; border-radius:7px; border:1.5px solid var(--line);
  display:grid; place-items:center; font-family:var(--mono); font-size:.74rem; color:var(--ink-soft); }
#apply .opt[aria-pressed=true]{ border-color:var(--ocean); border-width:2px; }
#apply .opt[aria-pressed=true] .k{ background:var(--ocean); border-color:var(--ocean); color:var(--white); }
#apply .agree{ display:flex; gap:12px; align-items:flex-start; width:100%; text-align:left;
  font-family:var(--body); font-size:.97rem; background:var(--white); border:1.5px solid var(--line);
  border-radius:12px; padding:14px 16px; margin-bottom:10px; cursor:pointer; color:var(--ink); }
#apply .agree .k{ flex:0 0 auto; width:22px; height:22px; border-radius:6px; border:1.5px solid var(--line);
  display:grid; place-items:center; color:var(--white); font-size:.85rem; margin-top:2px; }
#apply .agree[aria-pressed=true]{ border-color:var(--ocean); border-width:2px; }
#apply .agree[aria-pressed=true] .k{ background:var(--ocean); border-color:var(--ocean); }
#apply .nav2{ display:flex; gap:12px; margin-top:30px; }
#apply button.go{ flex:1; font-family:var(--display); font-weight:700; font-size:1rem; border:none;
  border-radius:999px; padding:15px 26px; background:var(--orange); color:var(--ocean); cursor:pointer; }
#apply button.go[disabled]{ background:var(--mist); color:#9BAAB6; cursor:not-allowed; }
#apply button.back{ font-family:var(--display); font-weight:700; font-size:1rem; border:2px solid var(--ocean);
  background:transparent; color:var(--ocean); border-radius:999px; padding:15px 24px; cursor:pointer; }
#apply .err{ background:#FBECE6; border-left:5px solid #B33A17; border-radius:0 10px 10px 0;
  padding:14px 16px; margin:16px 0; color:#7B2D12; }
#apply .done{ text-align:center; padding:30px 0; }
#apply .done .bolt{ width:78px; height:78px; border-radius:50%; background:var(--ocean); color:var(--orange);
  display:grid; place-items:center; font-size:2.1rem; margin:0 auto 20px; }
#apply .hide{ display:none; }
#apply .formwrap{ max-width:760px; }
