/* Allo Korea — Application Wizard [allo_apply]
   Toss-style single-page wizard. Design tokens mirror the /final/ success page.
   Colors, radii, animation intentionally match so the whole flow feels like one product. */

#ak-apply, #ak-apply * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
#ak-apply.ak-boot { visibility: hidden; } /* hidden until JS applies language, avoids EN→FR flash */
#ak-apply { --ak-css: 1; } /* JS polls this to confirm apply.css is applied before revealing */
/* Japanese pages: use JP glyph shapes (Korean Pretendard renders kanji with Korean-style forms) */
html[lang^="ja"] #ak-apply, html[lang^="ja"] #ak-apply * { font-family: 'Pretendard JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', Meiryo, sans-serif; }

#ak-apply {
  --blue: #F35D00;          /* single brand accent (orange) — no blue anywhere */
  --blue-weak: #fff4ed;     /* light orange wash */
  --partner: #F35D00;       /* unified to orange (was blue) */
  --partner-weak: #fff4ed;
  --pos: #12b76a;           /* positive: FREE / Official Partner / Extendable */
  --pos-weak: #e9faf1;
  --ink: #191f28;
  --sub: #4e5968;
  --muted: #8b95a1;
  --faint: #adb5bd;
  --line: #e5e8eb;
  --line-weak: #f2f4f6;
  --bg: #f2f4f6;
  --radius-card: 28px;
  --radius-el: 16px;

  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  overflow-x: hidden;
}
#ak-apply, #ak-apply * { max-width: 100%; overflow-wrap: break-word; }

/* Card / viewport */
#ak-apply .ak-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: relative;
  overflow: visible; /* let hover lift/shadow of inner cards show (no clipping) */
}

/* Top bar: back + progress */
#ak-apply .ak-top { display: flex; align-items: center; gap: 12px; min-height: 32px; margin-bottom: 8px; }
#ak-apply .ak-back {
  border: none; background: transparent; padding: 6px; margin: -6px; cursor: pointer;
  color: var(--muted); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px;
  border-radius: 10px;
}
#ak-apply .ak-back:hover { color: var(--ink); background: var(--line-weak); }
#ak-apply .ak-back[hidden] { visibility: hidden; }
#ak-apply .ak-progress { flex: 1; height: 6px; background: var(--line-weak); border-radius: 999px; overflow: hidden; }
#ak-apply .ak-progress-bar { height: 100%; width: 0%; background: var(--blue); border-radius: 999px; transition: width .35s cubic-bezier(.2,1,.2,1); }

/* Language switch (top-right) */
#ak-apply .ak-lang { position: absolute; top: 18px; right: 20px; z-index: 5; }

/* Steps */
#ak-apply .ak-step { display: none; flex-direction: column; flex: 1; }
#ak-apply .ak-step.is-active { display: flex; }
@keyframes akUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#ak-apply .ak-step.is-active > * { animation: akUp .45s cubic-bezier(.2,1,.2,1) both; }
#ak-apply .ak-step.is-active > *:nth-child(2) { animation-delay: .04s; }
#ak-apply .ak-step.is-active > *:nth-child(3) { animation-delay: .08s; }
#ak-apply .ak-step.is-active > *:nth-child(n+4) { animation-delay: .12s; }

/* Headings */
#ak-apply h1.ak-h1 { font-size: 28px; font-weight: 900; letter-spacing: -1px; line-height: 1.28; margin: 2px 0 14px; }
#ak-apply .ak-h1 .accent { color: var(--blue); }
#ak-apply .ak-lead { font-size: 15px; color: var(--muted); font-weight: 500; margin: 0 0 30px; line-height: 1.55; }
#ak-apply .ak-lead b { color: var(--ink); font-weight: 700; }

/* Body grows with content (page scrolls); visible overflow so hover lift/shadow isn't clipped */
#ak-apply .ak-body { flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: visible; margin: 0; padding: 8px 3px; }

/* Option cards (selectable / navigational) */
#ak-apply .ak-opt {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left;
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-el);
  padding: 20px; cursor: pointer; transition: .15s; position: relative;
}
#ak-apply .ak-opt:hover { border-color: var(--blue); background: #fff; box-shadow: 0 8px 20px rgba(243,93,0,.08); transform: translateY(-2px); }
#ak-apply .ak-opt.is-sel { border-color: var(--blue); background: var(--blue-weak); box-shadow: 0 0 0 3px rgba(243,93,0,.14); }
#ak-apply .ak-opt:active { transform: scale(.99); }
#ak-apply .ak-opt-main { flex: 1 1 auto !important; min-width: 0 !important; }
#ak-apply .ak-opt-title { font-size: 18px; font-weight: 800; color: var(--ink); }
#ak-apply .ak-opt-desc { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-top: 3px; }
#ak-apply .ak-opt-chev { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--faint); display: flex; align-items: center; justify-content: center; font-size: 0; align-self: center; flex: 0 0 34px !important; transition: .2s; }
#ak-apply .ak-opt-chev::after { content: ''; display: block; width: 7px; height: 7px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
#ak-apply .ak-opt:hover .ak-opt-chev { background: var(--blue); color: #fff; border-color: var(--blue); }
#ak-apply .ak-opt-price { font-size: 13px; color: var(--sub); font-weight: 700; margin-top: 4px; }

/* Tags / pills */
#ak-apply .ak-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .3px;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; text-transform: uppercase;
}
#ak-apply .ak-tag.blue { background: var(--blue-weak); color: var(--blue); }
#ak-apply .ak-tag.orange { background: var(--blue-weak); color: var(--blue); }
#ak-apply .ak-tag.green { background: var(--pos-weak); color: var(--pos); }
#ak-apply .ak-tag.gray { background: var(--pos-weak); color: var(--pos); }
#ak-apply .ak-tag.pop { background: #191f28; color: #fff; }
#ak-apply .ak-badge-free { color: var(--pos); font-weight: 900; font-size: 13px; }
#ak-apply .ak-badge-fee { color: var(--blue); font-weight: 800; font-size: 12.5px; }

/* Info cards — clean, one glance (label / big value / desc), first card tinted */
#ak-apply .ak-info { display: flex; flex-direction: column; gap: 12px; }
#ak-apply .ak-info-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #f9fafb; border: none; border-radius: 20px; padding: 22px; }
#ak-apply .ak-info-row:first-child { background: var(--blue-weak); }
#ak-apply .ak-info-k { font-size: 12px; font-weight: 800; letter-spacing: .4px; color: var(--blue); text-transform: uppercase; }
#ak-apply .ak-info-v { width: 100%; }
#ak-apply .ak-info-v b { font-size: 24px; font-weight: 800; color: var(--ink); display: block; letter-spacing: -.5px; }
#ak-apply .ak-info-v span { font-size: 14px; color: var(--muted); font-weight: 500; display: block; margin-top: 3px; }

/* Form fields */
#ak-apply .ak-field { display: flex; flex-direction: column; gap: 7px; }
#ak-apply .ak-label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
#ak-apply .ak-input, #ak-apply .ak-select, #ak-apply .ak-textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 15px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: .15s;
}
#ak-apply .ak-textarea { min-height: 92px; resize: vertical; }
/* 모바일 date 입력(생일 등) 칸 밖 오버플로우 수정 — iOS/안드로이드 date 인풋은 고유 최소폭·중앙정렬 때문에 삐져나감 */
#ak-apply input[type="date"].ak-input {
  -webkit-appearance: none; appearance: none;
  display: block; box-sizing: border-box;
  min-width: 0; max-width: 100%;
  min-height: 50px; /* iOS: 값 비었을 때 높이 붕괴 방지 */
  text-align: left;
}
#ak-apply input[type="date"].ak-input::-webkit-date-and-time-value { text-align: left; margin: 0; }
#ak-apply .ak-input:focus, #ak-apply .ak-select:focus, #ak-apply .ak-textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(243,93,0,.12);
}
#ak-apply .ak-tel-row { display: flex; gap: 8px; width: 100%; }
#ak-apply .ak-hint { font-size: 12px; color: var(--muted); font-weight: 500; }
#ak-apply .ak-err { font-size: 12.5px; color: #f04438; font-weight: 600; display: none; }
#ak-apply .ak-field.has-err .ak-input,
#ak-apply .ak-field.has-err .ak-select { border-color: #f04438; }
#ak-apply .ak-field.has-err .ak-err { display: block; }
#ak-apply .ak-req { font-size: 11px; font-weight: 700; color: var(--blue); margin-left: 6px; letter-spacing: .2px; }
#ak-apply .ak-field.has-err .ak-label { color: #f04438; }
#ak-apply .ak-field.has-err .ak-req { color: #f04438; }

/* Review & Submit — grouped, compact, scannable (tap a row to edit) */
#ak-apply .ak-summary { display: flex; flex-direction: column; gap: 12px; }
#ak-apply .ak-sum-sec { background: #f9fafb; border-radius: 16px; padding: 2px 14px 6px; }
#ak-apply .ak-sum-h { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); padding: 12px 2px 2px; }
#ak-apply .ak-sum-row { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start; gap: 10px; width: 100%; text-align: left; background: none; border: none; border-top: 1px solid #eef1f4; padding: 10px 2px; cursor: pointer; transition: .12s; }
#ak-apply .ak-sum-row:hover { background: #fff; border-radius: 10px; }
#ak-apply .ak-sum-l { flex: 0 0 38% !important; max-width: 38% !important; min-width: 0 !important; font-size: 12px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ak-apply .ak-sum-v { flex: 1 1 auto !important; min-width: 0 !important; max-width: 100% !important; font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-word !important; }
#ak-apply .ak-sum-pen { flex: 0 0 auto; width: 15px; height: 15px; color: var(--faint); opacity: .5; }
#ak-apply .ak-sum-row:hover .ak-sum-pen { color: var(--blue); opacity: 1; }

/* Confirm-before-submit modal */
#ak-apply .ak-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.45); }
#ak-apply .ak-modal[hidden] { display: none; }
#ak-apply .ak-modal-card { background: #fff; border-radius: 24px; padding: 30px 24px 22px; max-width: 340px; width: 100%; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.22); animation: akUp .32s cubic-bezier(.2,1,.2,1) both; }
#ak-apply .ak-modal-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-weak); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
#ak-apply .ak-modal-title { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
#ak-apply .ak-modal-msg { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.55; margin: 0 0 22px; }
#ak-apply .ak-modal-btns { display: flex; gap: 10px; }
#ak-apply .ak-modal-btns .ak-btn { flex: 1; padding: 14px; }

/* Yes/No & multi choice as pill buttons */
#ak-apply .ak-choices { display: flex; flex-wrap: wrap; gap: 8px; }
#ak-apply .ak-chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 15px;
  font-size: 14px; font-weight: 600; color: var(--sub); cursor: pointer; transition: .12s; flex: 1; min-width: 120px; text-align: center;
  white-space: normal; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; line-height: 1.35;
}
#ak-apply .ak-chip:hover { border-color: #c9d3de; }
#ak-apply .ak-chip.is-sel { border-color: var(--blue); background: var(--blue-weak); color: var(--blue); font-weight: 800; }

/* Consent */
#ak-apply .ak-consent { display: flex; align-items: center; gap: 10px; padding: 16px; background: var(--line-weak); border-radius: 14px; cursor: pointer; }
#ak-apply .ak-consent input { width: 20px; height: 20px; accent-color: var(--blue); flex-shrink: 0; }
#ak-apply .ak-consent span { font-size: 13.5px; color: var(--sub); font-weight: 600; }

/* Asterisk notes */
#ak-apply .ak-note { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; line-height: 1.5; }

/* Footer button */
#ak-apply .ak-foot { padding-top: 16px; }
#ak-apply .ak-btn {
  width: 100%; border: none; background: var(--blue); color: #fff; font-family: inherit;
  font-size: 16px; font-weight: 800; padding: 16px; border-radius: 16px; cursor: pointer; transition: .15s;
}
#ak-apply .ak-btn:hover { background: #d94f00; }
#ak-apply .ak-btn:active { transform: scale(.99); }
#ak-apply .ak-btn[disabled] { background: #c9d3de; cursor: not-allowed; }
#ak-apply .ak-btn.ghost { background: var(--line-weak); color: var(--sub); }

/* Reject screen */
#ak-apply .ak-reject { text-align: center; padding: 20px 4px; }
#ak-apply .ak-reject-ic { margin-bottom: 14px; line-height: 0; }

/* Honeypot */
#ak-apply .ak-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Spinner */
#ak-apply .ak-spin { width: 40px; height: 40px; border: 4px solid var(--line-weak); border-top-color: var(--blue); border-radius: 50%; margin: 40px auto; animation: akSpin 0.8s linear infinite; }
@keyframes akSpin { to { transform: rotate(360deg); } }

/* Heading accents */
#ak-apply .ak-h1 .partner { color: var(--partner); }

/* ===== City cards (colored) ===== */
#ak-apply .ak-city { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; background: #f9fafb; border: 1.5px solid var(--line); border-radius: 22px; padding: 20px; cursor: pointer; transition: .2s; }
#ak-apply .ak-city:active { transform: scale(.98); }
#ak-apply .ak-city.is-sel { border-color: var(--blue); background: var(--blue-weak); }
#ak-apply .ak-city-head { display: flex; align-items: center; justify-content: space-between; }
#ak-apply .ak-city-name { font-size: 20px; font-weight: 900; color: var(--ink); }
#ak-apply .ak-city-tag { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: var(--blue-weak); color: var(--blue); }
@media (hover: hover) {
  #ak-apply .ak-city:hover { background: #fff; border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(243,93,0,.1); }
}
#ak-apply .ak-city-stats { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(0,0,0,.06); padding-top: 12px; }
#ak-apply .ak-city-stats > div { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
#ak-apply .ak-city-stats span { font-size: 10px; font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: .3px; }
#ak-apply .ak-city-stats b { font-size: 12.5px; font-weight: 700; color: var(--sub); }

/* ===== School selection — clearly clickable cards (padded rounded image + arrow) ===== */
#ak-apply .ak-scard-group { display: flex; flex-direction: column; gap: 10px; }
#ak-apply .ak-scard-group + .ak-scard-group { margin-top: 12px; }
#ak-apply .ak-scard { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 12px 14px 12px 12px; cursor: pointer; transition: .2s; }
#ak-apply .ak-scard:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(243,93,0,.08); transform: translateY(-2px); }
#ak-apply .ak-scard:active { transform: scale(.99); }
#ak-apply .ak-scard.is-sel { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(243,93,0,.14); }
#ak-apply .ak-scard-img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--line-weak); }
#ak-apply .ak-scard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#ak-apply .ak-scard-body { flex: 1; min-width: 0; }
#ak-apply .ak-scard-name { font-size: 16px; font-weight: 800; color: var(--ink); }
#ak-apply .ak-scard-tuition { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin: 3px 0 8px; }
#ak-apply .ak-scard-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#ak-apply .ak-badge-partner { font-size: 10px; font-weight: 800; color: var(--pos); background: var(--pos-weak); padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }
#ak-apply .ak-badge-freetag { font-size: 13px; font-weight: 900; color: var(--pos); }
#ak-apply .ak-badge-feetag { font-size: 13px; font-weight: 800; color: var(--blue); }
#ak-apply .ak-scard-go { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--faint); display: flex; align-items: center; justify-content: center; font-size: 0; flex-shrink: 0; align-self: center; transition: .2s; }
#ak-apply .ak-scard-go::after { content: ''; display: block; width: 7px; height: 7px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
#ak-apply .ak-scard:hover .ak-scard-go { background: var(--blue); color: #fff; border-color: var(--blue); }
#ak-apply .ak-scard.mini { padding: 16px; }
#ak-apply .ak-scard.mini .ak-scard-name { font-size: 15px; }
#ak-apply .ak-scard-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#ak-apply .ak-chip2 { background: var(--line-weak); color: var(--sub); font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 8px; }
#ak-apply .ak-callink { display: block; text-align: center; margin-top: 14px; padding: 12px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; text-decoration: underline; }
#ak-apply .ak-callink:hover { color: var(--blue); }

/* ===== Dorm price + ARC notice ===== */
#ak-apply .ak-price-card { background: #f9fafb; border-radius: 20px; padding: 22px; border: 1px solid var(--line-weak); }
#ak-apply .ak-p-label { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 8px; }
#ak-apply .ak-p-main { font-size: 21px; font-weight: 800; display: block; }
#ak-apply .ak-p-sub { font-size: 15px; font-weight: 700; color: var(--blue); display: block; margin-top: 2px; }
#ak-apply .ak-p-month { font-size: 13px; color: var(--faint); display: block; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
#ak-apply .ak-info2 { display: flex; flex-direction: column; gap: 12px; }
#ak-apply .ak-info2 > div { display: flex; justify-content: space-between; font-size: 14.5px; }
#ak-apply .ak-info2 span { color: var(--muted); }
#ak-apply .ak-info2 b { color: var(--sub); font-weight: 700; }
#ak-apply .ak-notice { background: #fff4ed; border-radius: 16px; padding: 14px; display: flex; gap: 10px; align-items: center; color: var(--blue); }
#ak-apply .ak-notice p { font-size: 13px; font-weight: 600; margin: 0; line-height: 1.5; }
#ak-apply .ak-notice svg { flex-shrink: 0; }
#ak-apply .ak-notice-box { background: #f9fafb; border-radius: 16px; padding: 18px; }
#ak-apply .ak-notice-box p { font-size: 14px; color: var(--sub); line-height: 1.6; margin: 0 0 12px; }
#ak-apply .ak-notice-box p:last-child { margin-bottom: 0; }

/* ===== Completion (mirror of /final/ You're all set!) ===== */
#ak-apply .ak-done { text-align: center; }
#ak-apply .ak-done .icon-done { width: 56px; height: 56px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 20px auto 20px; color: #fff; }
#ak-apply .ak-done h1 { font-size: 26px; font-weight: 900; margin: 0 0 12px; letter-spacing: -1px; line-height: 1.2; }
#ak-apply .ak-done .sub-txt { font-size: 16px; color: var(--sub); font-weight: 600; line-height: 1.5; margin-bottom: 36px; }
#ak-apply .ak-done .sub-txt b { color: var(--blue); }
#ak-apply .ak-done .steps-wrap { text-align: left; margin-bottom: 40px; }
#ak-apply .ak-done .step-card { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
#ak-apply .ak-done .step-num { font-size: 18px; font-weight: 900; color: var(--blue); background: var(--blue-weak); width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#ak-apply .ak-done .step-content b { font-size: 17px; font-weight: 800; display: block; margin-bottom: 4px; color: var(--ink); }
#ak-apply .ak-done .step-content p { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0; line-height: 1.4; }
#ak-apply .ak-done .contact-area { border-top: 1px solid var(--line-weak); padding-top: 28px; }
#ak-apply .ak-done .contact-title { font-size: 14px; font-weight: 700; color: var(--faint); margin-bottom: 16px; display: block; }
#ak-apply .ak-done .sns-row { display: flex; justify-content: center; gap: 10px; }
#ak-apply .ak-done .sns-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: .2s; box-shadow: 0 4px 10px rgba(0,0,0,.05); }
#ak-apply .ak-done .sns-btn:active { transform: scale(.9); }
#ak-apply .ak-done .sns-btn img { width: 22px; height: 22px; }
#ak-apply .ak-done .bg-wa { background: #25D366; }
#ak-apply .ak-done .bg-ig { background: radial-gradient(circle at 30% 110%, #FEDA75 0%, #FA7E1E 25%, #D62976 52%, #962FBF 75%, #4F5BD5 100%); }
#ak-apply .ak-done .bg-ln { background: #00C300; }
#ak-apply .ak-done .bg-tt { background: #000; }

@media (max-width: 420px) {
  #ak-apply { padding: 12px 10px 28px; }
  #ak-apply .ak-card { border-radius: 22px; padding: 16px 16px 22px; }
  #ak-apply h1.ak-h1 { font-size: 23px; }
  #ak-apply .ak-info-k { min-width: 92px; }
}

/* ===== Layout hardening — beat theme/Elementor CSS that can stop flex shrink / wrapping ===== */
#ak-apply .ak-opt { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; }
#ak-apply .ak-opt-main { flex: 1 1 auto !important; min-width: 0 !important; max-width: 100% !important; }
#ak-apply .ak-opt-title,
#ak-apply .ak-opt-desc { white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-word !important; max-width: 100% !important; }
#ak-apply .ak-opt-chev { flex: 0 0 34px !important; }
#ak-apply .ak-scard { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; }
#ak-apply .ak-scard-body { flex: 1 1 auto !important; min-width: 0 !important; max-width: 100% !important; }
#ak-apply .ak-scard-name,
#ak-apply .ak-scard-tuition { white-space: normal !important; overflow-wrap: anywhere !important; max-width: 100% !important; }
#ak-apply .ak-scard-go { flex: 0 0 34px !important; }
#ak-apply .ak-city-name, #ak-apply .ak-opt-title, #ak-apply .ak-h1, #ak-apply .ak-lead { max-width: 100% !important; overflow-wrap: anywhere !important; }
/* long answer chips / labels / notes must wrap on mobile — never punch out of the card */
#ak-apply .ak-chip, #ak-apply .ak-label, #ak-apply .ak-note, #ak-apply .ak-hint,
#ak-apply .ak-consent span, #ak-apply .ak-err, #ak-apply .ak-opt-desc, #ak-apply .ak-modal-msg {
  white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-word !important; max-width: 100% !important; min-width: 0 !important;
}
#ak-apply .ak-choices { max-width: 100% !important; }
#ak-apply .ak-choices .ak-chip { flex: 1 1 120px !important; }
