/* ==========================================================================
   대치에듀 — 서브 페이지 라이트 테마 (기본) · 다크 전환
   대상: 강사 지원 · 강사 로그인 · 로그인 후 화면(마이페이지·지원현황·일정) · 학생 선생님 찾기
   켜는 법: <html data-app-theme="light"> (js/app-theme.js 가 붙인다. 기본 light, 버튼으로 dark 전환·저장)
   다크는 기존 sian3 스타일 그대로라 여기에는 라이트 규칙만 있다.
   1) 폼 공통 — 메인 페이지 지원서의 흰 배경 규칙(lp/korea-map-v21/css/lp-korea-map-v13.css 4장)을 옮겨 온 것
   2) 서브 페이지 전용 — 로그인 · 마이페이지 · 목록 · 학생 검색 결과
   ========================================================================== */

/* ── 4) 지원서 화면 흰 배경 ─────────────────────────────────────────── */
/* 4-1. 토큰: var() 를 쓰는 규칙은 이것만으로 함께 밝아진다 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 {
  --s3-black: #f6f5f4;
  --s3-black-soft: #f1efec;
  --s3-surface: #ffffff;
  --s3-surface-2: #f6f5f4;
  --s3-ink: #16161a;
  --s3-ink-muted: rgba(22, 22, 26, 0.62);
  --s3-ink-dim: rgba(22, 22, 26, 0.38);
  --s3-border: rgba(20, 20, 24, 0.1);
  --s3-border-strong: rgba(20, 20, 24, 0.18);
  --v13-line: rgba(20, 20, 24, 0.12);
  --v13-line-strong: rgba(20, 20, 24, 0.2);
  --v13-field: #f6f5f4;
  --v13-field-hover: #efedea;
  --v13-card: #ffffff;
  --v13-text: #16161a;
  --v13-text-soft: rgba(22, 22, 26, 0.62);
  --v13-text-dim: rgba(22, 22, 26, 0.4);
  background-color: #f6f5f4;
  color: var(--s3-ink);
}

/* 4-2. 폼 셸 배경: 흰 바탕 + 은은한 붉은/호박 기운. 열릴 때는 어두운 막(::after)이 0.9s 에 걸쳐 걷힌다
   (셸은 GSAP 로 0.22s 페이드인되므로, 막이 걷히는 동안 카드와 글이 어둠 속에서 떠오르듯 보인다) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-main-shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-form-shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3:not(.is-student) .app-main-shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3:not(.is-student) .s3-form-shell {
  background:
    radial-gradient(ellipse 46% 38% at 86% 8%, rgba(196, 21, 31, 0.07), transparent 62%),
    radial-gradient(ellipse 34% 28% at 12% 72%, rgba(196, 21, 31, 0.035), transparent 58%),
    linear-gradient(180deg, #faf9f8 0%, #f6f5f4 48%, #f3f1ef 100%) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .app-main-shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .s3-form-shell {
  background:
    radial-gradient(ellipse 46% 38% at 86% 8%, rgba(180, 83, 9, 0.08), transparent 62%),
    radial-gradient(ellipse 34% 28% at 12% 72%, rgba(180, 83, 9, 0.035), transparent 58%),
    linear-gradient(180deg, #faf9f8 0%, #f6f5f4 48%, #f3f1ef 100%) !important;
}

/* 4-3. 상단 바: 어두운 띠로 유지 (흰 로고 그대로) — 유리 효과 대신 단색으로 흰 바탕과 분리 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .header-bar {
  background: rgba(17, 17, 17, 0.97) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 8px 24px rgba(20, 20, 24, 0.12) !important;
}

/* 상단 바 안의 Back 버튼은 어두운 띠 위에 있으므로 밝은 글자를 유지한다 (토큰이 밝게 바뀌어도) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .header-back {
  color: #f5f5f5 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* 4-4. 탭 스위치(강사·학생) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .aura-switch__track {
  background: #ffffff;
  border: 1px solid var(--v13-line);
  box-shadow: 0 1px 2px rgba(20, 20, 24, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .aura-switch__btn,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .split-layout__form .aura-switch__btn {
  color: rgba(22, 22, 26, 0.5) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .aura-switch__btn:not(.is-active):hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .split-layout__form .aura-switch__btn:not(.is-active):hover {
  color: rgba(22, 22, 26, 0.85) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .aura-switch__btn.is-active,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .split-layout__form .aura-switch__btn.is-active {
  color: #ffffff !important;
}

/* 4-5. 머리글·카드 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-head__eyebrow { color: var(--s3-red); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-head__actions .form-head__resume {
  color: var(--v13-text);
  background: #ffffff;
  border: 1px solid var(--v13-line-strong);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-section {
  background: var(--v13-card) !important;
  border: 1px solid var(--v13-line) !important;
  box-shadow: 0 8px 28px rgba(20, 20, 24, 0.06), 0 1px 2px rgba(20, 20, 24, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--v13-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-section__title { color: var(--s3-red) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .form-section__title { color: #b45309 !important; }

/* 4-6. 표(라벨·셀) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .txtTable table tr td {
  color: var(--v13-text) !important;
  border-color: var(--v13-line) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .txtTable table tr + tr td {
  border-top: 1px solid rgba(20, 20, 24, 0.08) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .txtTable table tr td.inf_1,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .txtTable table tr th {
  color: var(--v13-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-hint,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-row--password .form-field-with-hint .form-hint,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .search-summary,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .result-item__meta,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-inline-row__sep,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-field__label,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__hint {
  color: var(--v13-text-soft) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__hint strong { color: var(--s3-red); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-block {
  border: 1px solid var(--v13-line);
  background: var(--v13-field);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-block__title { color: var(--v13-text); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-block__badge {
  border: 1px solid var(--v13-line);
  background: #ffffff;
  color: var(--v13-text-soft);
}
/* 가용 일정 — 일괄 동기화 토글 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__sync {
  background: #ffffff;
  border: 1px solid var(--v13-line-strong);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__sync-ui {
  border: 1px solid rgba(20, 20, 24, 0.35);
  background: #ffffff;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__sync-input:checked + .avail-schedule__sync-ui {
  background: var(--s3-red);
  border-color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .avail-schedule__sync-text { color: rgba(22, 22, 26, 0.82); }

/* 4-7. 입력 필드 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .split-layout__form,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 select.form-input {
  color-scheme: light;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 select.form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 textarea.form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-textarea,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="date"].form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="time"].form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="tel"].form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="email"].form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="text"].form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="password"].form-input {
  color: var(--v13-text) !important;
  background-color: var(--v13-field) !important;
  border: 1px solid var(--v13-line-strong) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input[type="file"].form-input {
  color: var(--v13-text-soft) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-input::placeholder,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-textarea::placeholder {
  color: var(--v13-text-dim) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-input:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 select.form-input:hover {
  background-color: var(--v13-field-hover) !important;
  border-color: rgba(20, 20, 24, 0.3) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-input:focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 select.form-input:focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 textarea.form-input:focus {
  background-color: #ffffff !important;
  border-color: rgba(196, 21, 31, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.14) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .form-input:focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student select.form-input:focus {
  border-color: rgba(180, 83, 9, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.14) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .field-highlight {
  background: rgba(196, 21, 31, 0.06) !important;
}

/* 4-8. 커스텀 셀렉트·날짜·시간 트리거와 패널 (포털로 body 밑에 붙는 패널도 포함) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__trigger {
  border: 1px solid var(--v13-line-strong);
  background: var(--v13-field);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__trigger:hover:not(:disabled),
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__trigger:hover:not(:disabled),
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__trigger:hover:not(:disabled) {
  background: var(--v13-field-hover);
  border-color: rgba(20, 20, 24, 0.3);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__trigger:disabled,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select.is-disabled .s3-select__trigger {
  background: var(--v13-field);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select.is-empty .s3-select__value,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date.is-empty .s3-date__value,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time.is-empty .s3-time__value {
  color: var(--v13-text-dim);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__icon {
  color: var(--v13-text-soft);
  background: #ffffff;
  border-color: var(--v13-line);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__panel,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__panel.is-portal,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__panel,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__panel.is-portal {
  border: 1px solid var(--v13-line);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 20, 24, 0.14), 0 1px 2px rgba(20, 20, 24, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-color: rgba(20, 20, 24, 0.28) transparent;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__panel::-webkit-scrollbar-thumb,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__panel::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 24, 0.22);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__option,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__panel.is-portal .s3-select__option,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__list button {
  color: rgba(22, 22, 26, 0.88);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__option:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__option.is-active,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__list button:hover {
  background: rgba(196, 21, 31, 0.07);
  color: var(--v13-text);
}
/* 시간 선택 패널 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__panel-head {
  color: rgba(22, 22, 26, 0.5);
  border-bottom: 1px solid var(--v13-line);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__list { scrollbar-color: rgba(20, 20, 24, 0.28) transparent; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__list::-webkit-scrollbar-thumb { background: rgba(20, 20, 24, 0.22); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option:disabled,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option.is-disabled,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option:disabled:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option.is-disabled:hover {
  color: rgba(22, 22, 26, 0.35);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__option.is-active {
  background: rgba(196, 21, 31, 0.1);
  color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .s3-time__option.is-active {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-time__icon,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .s3-time__icon,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__chevron {
  color: rgba(22, 22, 26, 0.5);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__title { color: var(--v13-text); }
/* 달력 내부: 이전/다음, 연·월 선택, 요일, 날짜 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__nav {
  border: 1px solid var(--v13-line);
  background: rgba(20, 20, 24, 0.04);
  color: rgba(22, 22, 26, 0.85);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__nav:hover {
  background: rgba(196, 21, 31, 0.1);
  border-color: rgba(196, 21, 31, 0.35);
  color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-trigger {
  border: 1px solid var(--v13-line);
  background: rgba(20, 20, 24, 0.04);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-trigger:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-trigger:hover {
  background: rgba(20, 20, 24, 0.08);
  border-color: rgba(20, 20, 24, 0.22);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-field.is-open .s3-date__ym-trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-field.is-open .s3-date__ym-trigger {
  background: rgba(196, 21, 31, 0.07);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-chevron,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-chevron {
  color: rgba(22, 22, 26, 0.5);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-menu,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-menu {
  border: 1px solid var(--v13-line);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(20, 20, 24, 0.14);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-list,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-list {
  scrollbar-color: rgba(20, 20, 24, 0.28) transparent;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-list::-webkit-scrollbar-thumb,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-list::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 24, 0.22);
  background-clip: content-box;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-option,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-option {
  color: rgba(22, 22, 26, 0.86);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-option:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-option:hover {
  background: rgba(20, 20, 24, 0.06);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__ym-option.is-selected,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel.is-portal .s3-date__ym-option.is-selected {
  color: #ffffff;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__week span { color: rgba(22, 22, 26, 0.42); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__week span:first-child { color: rgba(196, 21, 31, 0.7); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__day { color: rgba(22, 22, 26, 0.88); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__day:hover:not(:disabled) {
  background: rgba(20, 20, 24, 0.07);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__day.is-today { color: var(--s3-red); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__day.is-selected { color: #ffffff; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__day.is-muted { color: rgba(22, 22, 26, 0.22); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__grid .s3-date__day:nth-child(7n + 1):not(.is-muted):not(.is-selected) {
  color: rgba(196, 21, 31, 0.85);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__month-btn,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__panel--month .s3-date__month-btn {
  color: rgba(22, 22, 26, 0.88) !important;
  background: rgba(20, 20, 24, 0.04) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__month-btn:hover:not(:disabled) {
  background: rgba(20, 20, 24, 0.09) !important;
  color: var(--v13-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__month-btn.is-today {
  color: var(--v13-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 select option {
  background-color: #ffffff;
  color: var(--v13-text);
}

/* 4-9. 칩·체크박스·요일 버튼 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .checkbox-list label {
  color: rgba(22, 22, 26, 0.82) !important;
  background: #ffffff;
  border: 1px solid var(--v13-line-strong);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .checkbox-list label:hover {
  border-color: rgba(20, 20, 24, 0.32);
  background: var(--v13-field-hover);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .checkbox-list label:has(input:checked) {
  color: var(--s3-red) !important;
  background: rgba(196, 21, 31, 0.08);
  border-color: rgba(196, 21, 31, 0.5);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .checkbox-list label:has(input:checked) {
  color: #b45309 !important;
  background: rgba(180, 83, 9, 0.09);
  border-color: rgba(180, 83, 9, 0.5);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .checkbox-list label input[type="checkbox"],
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__all input[type="checkbox"],
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__item input[type="checkbox"] {
  border: 1px solid rgba(20, 20, 24, 0.35);
  background: #ffffff;
  box-shadow: none;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .checkbox-list label input[type="checkbox"]:checked,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__all input[type="checkbox"]:checked,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__item input[type="checkbox"]:checked {
  background: var(--s3-red);
  border-color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .checkbox-list label input[type="checkbox"]:checked,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .consent-block__all input[type="checkbox"]:checked,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .consent-block__item input[type="checkbox"]:checked {
  background: var(--s3-student);
  border-color: var(--s3-student);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .day-picker__btn {
  color: rgba(22, 22, 26, 0.78);
  background: #ffffff;
  border: 1px solid var(--v13-line-strong);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .day-picker__btn:hover {
  color: var(--v13-text);
  border-color: rgba(20, 20, 24, 0.34);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .day-picker__btn.is-on {
  color: #ffffff;
  background: var(--s3-red);
  border-color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .day-picker__btn.is-on {
  background: var(--s3-student);
  border-color: var(--s3-student);
}

/* 4-10. 안내·동의·사진 업로드·결과·버튼 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block {
  background: var(--v13-field) !important;
  border: 1px solid var(--v13-line) !important;
  color: rgba(22, 22, 26, 0.82) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__all {
  background: rgba(20, 20, 24, 0.04) !important;
  border-bottom: 1px solid var(--v13-line) !important;
  color: var(--v13-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .notice-box {
  background: var(--v13-field) !important;
  border: 1px solid var(--v13-line) !important;
  color: rgba(22, 22, 26, 0.82) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__item {
  border-bottom-color: var(--v13-line);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .notice-box--sub { color: var(--v13-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__item span,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__item strong,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .notice-box strong { color: var(--v13-text) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__link { color: var(--s3-red) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .photo-upload {
  background: var(--v13-field);
  border: 1px dashed rgba(20, 20, 24, 0.28);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .photo-upload__empty { color: var(--v13-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .btn-secondary {
  color: var(--v13-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--v13-line-strong) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .btn-secondary:hover {
  background: var(--v13-field-hover) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .photo-upload__toolbar .btn-secondary,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoFind,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoAdd,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoDel {
  color: var(--v13-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--v13-line-strong) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .photo-upload__toolbar .btn-secondary:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoFind:hover,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoAdd:hover {
  background: var(--v13-field-hover) !important;
  border-color: rgba(20, 20, 24, 0.32) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .btn-secondary--danger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnPhotoDel {
  color: var(--s3-red) !important;
  border-color: rgba(196, 21, 31, 0.4) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnAddrSearch {
  color: var(--v13-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--v13-line-strong) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #btnAddrSearch:hover {
  background: rgba(196, 21, 31, 0.08) !important;
  border-color: rgba(196, 21, 31, 0.4) !important;
}
/* 경력없음 토글 · 자격 Y/N 토글 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .career-none,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-cert__item {
  border: 1px solid var(--v13-line-strong);
  background: #ffffff;
  color: rgba(22, 22, 26, 0.82);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-cert__item:has(input:checked) {
  background: rgba(196, 21, 31, 0.09);
  border-color: rgba(196, 21, 31, 0.55);
  color: var(--s3-red);
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.1);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .career-field.is-none .career-none {
  color: var(--s3-red);
  background: rgba(196, 21, 31, 0.08);
  border-color: rgba(196, 21, 31, 0.5);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .career-field.is-none .career-field__input {
  color: var(--v13-text-dim) !important;
  -webkit-text-fill-color: var(--v13-text-dim) !important;
  background: var(--v13-field) !important;
  border-color: var(--v13-line) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .submit-btn--preview {
  color: var(--v13-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--v13-line-strong) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .submit-btn--muted {
  color: var(--v13-text-soft) !important;
  background: rgba(20, 20, 24, 0.08) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .result-item {
  background: #ffffff;
  border: 1px solid var(--v13-line);
  color: var(--v13-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .result-item__head strong { color: var(--v13-text); }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .status-badge {
  background: rgba(196, 21, 31, 0.1);
  color: var(--s3-red);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .time-chip {
  background: rgba(20, 20, 24, 0.06);
  color: var(--v13-text-soft);
}


/* ==========================================================================
   테마 전환 버튼 (js/app-theme.js) — 상단 바는 두 테마 모두 어두운 띠라 버튼 색은 공통
   ========================================================================== */
.app-theme-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f5;
  font: 600 0.78rem/1 "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.app-theme-toggle:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.34); }
.app-theme-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.app-theme-toggle + .header-back { margin-left: 8px; }
.app-theme-toggle__ico { flex: 0 0 auto; }
/* 버튼에는 "누르면 바뀔 테마"를 보여 준다: 라이트일 때 달(다크), 다크일 때 해(라이트) */
html[data-app-theme="light"] .app-theme-toggle__ico--sun,
html[data-app-theme="dark"] .app-theme-toggle__ico--moon { display: none; }
.app-theme-toggle--floating {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  background: rgba(17, 17, 17, 0.92);
}
@media (max-width: 480px) {
  .app-theme-toggle { height: 32px; padding: 0 11px; font-size: 0.72rem; }
}

/* ==========================================================================
   2) 서브 페이지 전용 (is-app-subroute · is-standalone-form)
   ========================================================================== */
/* 2-0. 바탕: html · body 의 검정 바탕과 붉은 블룸 레이어(body::before)를 밝은 톤으로 */
html[data-app-theme="light"],
html[data-app-theme="light"].is-locked {
  background: #f6f5f4 !important;
  color-scheme: light;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 {
  --al-line: rgba(20, 20, 24, 0.12);
  --al-line-strong: rgba(20, 20, 24, 0.2);
  --al-card: #ffffff;
  --al-field: #f6f5f4;
  --al-text: #16161a;
  --al-text-soft: rgba(22, 22, 26, 0.64);
  --al-text-dim: rgba(22, 22, 26, 0.42);
  --al-red: #c4151f;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3::before {
  background:
    radial-gradient(ellipse 46% 38% at 86% 8%, rgba(196, 21, 31, 0.07), transparent 62%),
    radial-gradient(ellipse 34% 28% at 12% 72%, rgba(196, 21, 31, 0.035), transparent 58%),
    linear-gradient(180deg, #faf9f8 0%, #f6f5f4 48%, #f3f1ef 100%) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student::before {
  background:
    radial-gradient(ellipse 46% 38% at 86% 8%, rgba(180, 83, 9, 0.08), transparent 62%),
    radial-gradient(ellipse 34% 28% at 12% 72%, rgba(180, 83, 9, 0.035), transparent 58%),
    linear-gradient(180deg, #faf9f8 0%, #f6f5f4 48%, #f3f1ef 100%) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-noise { opacity: 0.025 !important; mix-blend-mode: multiply; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-cursor-glow { display: none !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews {
  background:
    radial-gradient(ellipse 46% 38% at 86% 8%, rgba(196, 21, 31, 0.07), transparent 62%),
    radial-gradient(ellipse 34% 28% at 12% 72%, rgba(196, 21, 31, 0.035), transparent 58%),
    linear-gradient(180deg, #faf9f8 0%, #f6f5f4 48%, #f3f1ef 100%) !important;
  color: var(--al-text);
}
/* 상단 바: 메인 폼과 같이 어두운 띠 유지 (흰 로고 그대로) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s34-site-header .header-bar,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .site-header .header-bar {
  background: rgba(17, 17, 17, 0.97) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 8px 24px rgba(20, 20, 24, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 2-1. 강사 로그인 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell {
  background: var(--al-card) !important;
  border: 1px solid var(--al-line) !important;
  box-shadow: 0 24px 60px rgba(20, 20, 24, 0.1), 0 2px 6px rgba(20, 20, 24, 0.04) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell__head {
  background: #faf9f8 !important;
  border-bottom: 1px solid var(--al-line) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-card,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-card__body {
  background: transparent !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-card__title { color: var(--al-text) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-card__lead { color: var(--al-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-field__label { color: rgba(22, 22, 26, 0.78) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-footnote { color: var(--al-text-dim) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-back {
  color: var(--al-text) !important;
  background: #ffffff !important;
  border-color: var(--al-line-strong) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-back:hover { background: #f1efec !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-fields input.form-input,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-field input {
  background: var(--al-field) !important;
  border: 1px solid var(--al-line-strong) !important;
  color: var(--al-text) !important;
  box-shadow: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-field input::placeholder { color: var(--al-text-dim) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-field input:focus {
  background: #ffffff !important;
  border-color: var(--al-red) !important;
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.12) !important;
}

/* 2-2. 지원서·학생 폼 보정 — 메인 폼 규칙에 없던 흐린 글자들 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .form-hint { color: var(--al-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select.is-empty .s3-select__value,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date.is-empty .s3-date__value { color: var(--al-text-dim) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-select__value,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .s3-date__value { color: var(--al-text) !important; }

/* 2-3. 서브뷰 공통 (약관·처리방침 · 마이페이지 · 지원현황 등 .app-subviews 안의 화면)
   어두운 유리판(반투명 검정 + backdrop blur)을 흰 카드로 바꾼다. blur 를 끄지 않으면 글자가 뿌옇게 번져 보인다. */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__shell--wide,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__shell--narrow {
  background: var(--al-card) !important;
  border: 1px solid var(--al-line) !important;
  box-shadow: 0 1px 2px rgba(20, 20, 24, 0.04), 0 16px 40px rgba(20, 20, 24, 0.07) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--al-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-panel,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .form-section {
  background: #faf9f8 !important;
  border: 1px solid var(--al-line) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--al-text);
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__title,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-panel__title,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews h1,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews h2,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews h3,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews strong { color: var(--al-text) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__lead,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-panel__hint { color: var(--al-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__back {
  background: #ffffff !important;
  border: 1px solid var(--al-line-strong) !important;
  color: var(--al-text) !important;
  box-shadow: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .app-subview__back:hover { background: #f1efec !important; }

/* 약관 · 개인정보 처리방침 본문 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc p,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc li,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-legal__text,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-legal__meta,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-legal__list { color: rgba(22, 22, 26, 0.82) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc h2,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc h3,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc strong,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-legal__heading { color: var(--al-text) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc a { color: var(--al-red) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table {
  background: #ffffff !important;
  border-color: var(--al-line) !important;
  color: rgba(22, 22, 26, 0.82) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table th,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table td {
  border-color: var(--al-line) !important;
  color: rgba(22, 22, 26, 0.82) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table thead th,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table--kv th {
  background: #f3f1ef !important;
  color: var(--al-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .terms-doc__table:not(.terms-doc__table--kv) td::before { color: var(--al-text-dim) !important; }

/* 2-4. 로그인 입력칸 — 입력한 글자·안내 글자가 안 보이던 문제 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input[type="text"],
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input[type="tel"],
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input[type="password"],
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input.form-input {
  background: #ffffff !important;
  border: 1px solid rgba(20, 20, 24, 0.28) !important;
  color: #16161a !important;
  -webkit-text-fill-color: #16161a !important;
  caret-color: #16161a;
  box-shadow: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input::placeholder {
  color: rgba(22, 22, 26, 0.45) !important;
  -webkit-text-fill-color: rgba(22, 22, 26, 0.45) !important;
  opacity: 1 !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-shell input:focus {
  border-color: var(--al-red) !important;
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.14) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 input:-webkit-autofill {
  -webkit-text-fill-color: #16161a !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}

/* 2-5. 서브뷰 입력칸 공통 — sian3-app.css 의 어두운 입력칸 규칙(:not 이 여러 개 붙어 우선순위가 높다)과
   같은 선택자에 html[data-app-theme] 을 더해 이긴다. 로그인 · 마이페이지 · 이력서 수정 입력칸이 모두 여기에 걸린다 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .form-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .profile-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .resume-input:not(.s3-time__native):not(.s3-date__native):not(.s3-select__native) {
  color: #16161a !important;
  -webkit-text-fill-color: #16161a !important;
  caret-color: #16161a !important;
  background: #ffffff !important;
  border: 1px solid rgba(20, 20, 24, 0.26) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .form-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native)::placeholder,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native)::placeholder,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .profile-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native)::placeholder,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .resume-input:not(.s3-time__native):not(.s3-date__native):not(.s3-select__native)::placeholder {
  color: rgba(22, 22, 26, 0.46) !important;
  -webkit-text-fill-color: rgba(22, 22, 26, 0.46) !important;
  opacity: 1 !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .form-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native):focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native):focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .profile-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native):focus,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .resume-input:not(.s3-time__native):not(.s3-date__native):not(.s3-select__native):focus {
  border-color: var(--al-red) !important;
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.14) !important;
  outline: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute [readonly].form-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute [disabled].form-input:not(.s3-select__native):not(.s3-date__native):not(.s3-time__native),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .resume-form.is-readonly .resume-input:not(.s3-time__native):not(.s3-date__native):not(.s3-select__native) {
  background: #f3f1ef !important;
}
/* 브라우저 자동완성(저장된 전화번호·비밀번호)일 때도 어두운 칸으로 돌아가지 않게 */
html[data-app-theme="light"] body.is-login-page .app-login-input:-webkit-autofill,
html[data-app-theme="light"] body.is-login-page .app-login-input:-webkit-autofill:hover,
html[data-app-theme="light"] body.is-login-page .app-login-input:-webkit-autofill:focus,
html[data-app-theme="light"] body.is-login-page .app-login-input:-webkit-autofill:active {
  -webkit-text-fill-color: #16161a !important;
  caret-color: #16161a !important;
  border: 1px solid rgba(20, 20, 24, 0.26) !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-login-footnote { color: rgba(22, 22, 26, 0.6) !important; }

/* 서브뷰 셀렉트·날짜·시간 트리거 (sian3-app.css 의 is-app-subroute 규칙 대응) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .s3-select__trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .s3-date__trigger,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .s3-time__trigger {
  background: #ffffff !important;
  border: 1px solid rgba(20, 20, 24, 0.26) !important;
  color: #16161a !important;
}

/* 2-6. 밝은 바탕에서 묻히던 강조색 글자 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .consent-block__link { color: #c4151f !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-student .consent-block__link { color: #b45309 !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 { --al-text-dim: rgba(22, 22, 26, 0.5); }

/* 2-7. 지원서 — 선택자에 ID 가 들어가 있어 공통 규칙으로는 못 이기는 것들 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #fAddr1,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 #fZip,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .addr-fields .form-input[readonly] {
  color: #16161a !important;
  -webkit-text-fill-color: #16161a !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-period-unit__cap { color: var(--al-text-soft) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .education-period-range .s3-date.is-empty .s3-date__value { color: var(--al-text-dim) !important; }

/* ==========================================================================
   3) 로그인 후 화면 (내 신청 내역 · 상세 · 마이페이지 · 일정) — .app-subviews 안
   다크용으로 글자색이 요소마다 밝은 회색으로 박혀 있다. 일반 글자 요소를 한꺼번에 어두운 색으로 돌리고,
   색 바탕 위 글자(빨간 버튼·배지)는 아래에서 따로 되돌린다.
   ========================================================================== */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(p, span, li, dt, dd, label, td, th, small, em, time, legend, figcaption, div) {
  color: var(--al-text-soft) !important;
  -webkit-text-fill-color: currentColor;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(h1, h2, h3, h4, h5, strong, b, th, dt) {
  color: var(--al-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-subview__eyebrow, .app-login-shell__mark, .app-login-card__eyebrow, [class*="eyebrow"]) {
  color: var(--al-red) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews a:not([class*="btn"]):not([class*="back"]):not([class*="chip"]) { color: var(--al-red) !important; }

/* 버튼 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn, .btn-secondary, .app-subview__back, .history-manage__btn) {
  background: #ffffff !important;
  border: 1px solid var(--al-line-strong) !important;
  color: var(--al-text) !important;
  box-shadow: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn, .btn-secondary, .app-subview__back) :is(span, strong) { color: inherit !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn, .btn-secondary):hover { background: #f1efec !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn--primary, .submit-btn, .btn-primary),
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn--primary, .submit-btn, .btn-primary) :is(span, strong) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-chip-btn--primary, .btn-primary) {
  background: var(--al-red) !important;
  border-color: var(--al-red) !important;
}

/* 배지·칩 — 옅은 색 바탕 + 같은 계열의 진한 글자 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .status-badge { border: 0 !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .status-badge--합격,
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .status-badge--합격 { background: #dcfce7 !important; color: #166534 !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .status-badge--불합격 { background: #fee2e2 !important; color: #991b1b !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .status-badge--면접예정 { background: #fef3c7 !important; color: #92400e !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .status-badge--신청 { background: #eef2f6 !important; color: #334155 !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3 .app-subviews .status-badge--퇴사 { background: #f1efec !important; color: #44403c !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.time-chip, .detail-chip, .profile-chip, .history-card__field) {
  background: #f3f1ef !important;
  border: 1px solid var(--al-line) !important;
  color: var(--al-text) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .history-card__field {
  background: rgba(196, 21, 31, 0.08) !important;
  border-color: rgba(196, 21, 31, 0.2) !important;
  color: #9f1219 !important;
}

/* 진행 단계 (내 신청 내역 상단) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__shell,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__body {
  background: #ffffff !important;
  border-color: var(--al-line) !important;
  box-shadow: none !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__badge { background: rgba(196, 21, 31, 0.1) !important; border-color: rgba(196, 21, 31, 0.24) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__badge-text { color: #9f1219 !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__preview-tag { background: rgba(196, 21, 31, 0.08) !important; color: #9f1219 !important; border-color: rgba(196, 21, 31, 0.2) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__bridge-mark { color: var(--al-text-dim) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__title { color: var(--al-text) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__label { color: var(--al-text-soft) !important; font-weight: 600; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.is-current, .is-active, .is-on) > .app-progress__label,
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__label:is(.is-current, .is-active) { color: var(--al-red) !important; font-weight: 800; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.app-subview__back, .app-login-back) { color: var(--al-text) !important; }
/* 요일 버튼 (상세·일정) */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.day-picker__btn, .avail-schedule__day, .day-btn) {
  background: #ffffff !important;
  border: 1px solid var(--al-line-strong) !important;
  color: var(--al-text-soft) !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews :is(.day-picker__btn, .avail-schedule__day, .day-btn):is(.on, .is-on, .is-active, .is-selected, [aria-pressed="true"]) {
  background: var(--al-red) !important;
  border-color: var(--al-red) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   4) 입력칸 글자색 — 어떤 상태(입력 중·포커스·자동완성·읽기전용)에서도 어두운 글자
   다크용 규칙이 :focus 등 상태별로 밝은 글자를 다시 지정하고 있어 입력하는 동안 글자가 안 보였다.
   :not(#_) 는 아무것도 걸러내지 않으면서 우선순위만 ID 수준으로 올린다.
   ========================================================================== */
html[data-app-theme="light"] body.theme-sian2.theme-sian3 :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select):not(#_),
html[data-app-theme="light"] body.theme-sian2.theme-sian3 :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select):not(#_):is(:focus, :focus-visible, :hover, :active) {
  color: #16161a !important;
  -webkit-text-fill-color: #16161a !important;
  caret-color: #16161a !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea):not(#_):focus {
  background: #ffffff !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 :is(input, textarea):not(#_)::placeholder {
  color: rgba(22, 22, 26, 0.46) !important;
  -webkit-text-fill-color: rgba(22, 22, 26, 0.46) !important;
  opacity: 1 !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3 :is(input, textarea):not(#_)::selection { background: rgba(196, 21, 31, 0.2); color: #16161a; }

/* 진행 단계 띠 — 아이콘(PNG)이 어두운 바탕용으로 그려져 흰 바탕에서는 검은 모서리가 드러난다. 이 띠만 어둡게 둔다 */
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__body:not(#_) {
  background: #16161a !important;
  border-color: #16161a !important;
}
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__body:not(#_) .app-progress__label { color: rgba(255, 255, 255, 0.78) !important; }
html[data-app-theme="light"] body.theme-sian2.theme-sian3.is-app-subroute .app-subviews .app-progress__body:not(#_) :is(.is-current, .is-active, .is-on) .app-progress__label { color: #ff7a82 !important; }

/* ── 알림창 (js/ui-alert.js) — 흰 화면에서는 흰 카드로 ─────────────────────
   ui-alert.js 가 body.theme-sian3 일 때 검은 카드를 쓰도록 스타일을 직접 넣기 때문에,
   라이트 테마에서만 같은 속성을 흰색으로 되받는다. 다크 테마는 기존 그대로다. */
html[data-app-theme="light"] body.theme-sian3 #uiAlertRoot { background: rgba(20, 20, 24, 0.42); }
html[data-app-theme="light"] body.theme-sian3 #uiAlertRoot .ui-alert-modal {
  background: #ffffff;
  color: #16161a;
  border: 1px solid rgba(20, 20, 24, 0.1);
  box-shadow: 0 24px 60px rgba(20, 20, 24, 0.22);
}
html[data-app-theme="light"] body.theme-sian3 #uiAlertRoot .ui-alert-modal h3 { color: #16161a; }
html[data-app-theme="light"] body.theme-sian3 #uiAlertRoot .ui-alert-modal p { color: rgba(22, 22, 26, 0.68); }
html[data-app-theme="light"] body.theme-sian3 #uiAlertRoot .ui-alert-ok { background: #c4151f; }
