/* ── 대치에듀 공개 기능 — 시안 테마 위 레이어 ── */
:root {
  --app-primary: #C4151F;
  --app-primary-dark: #9e1119;
  --app-teacher: #912D32;
  --app-student: #562C2E;
  --app-muted: #666;
  --app-border: rgba(0, 0, 0, 0.08);
  --app-page-bg: #f3f2f1;
  --app-card-bg: #ffffff;
  --app-text: #2e2e2e;
  --app-label: #5a5a5a;
}

/* ═══ application-form 흰 글자 상속 차단 ═══
   style.css: .application-form { color: white } → 카드 내부 텍스트 안 보임 */
.application-form .consent-block,
.application-form .consent-block label,
.application-form .consent-block span,
.application-form .consent-block strong {
  color: var(--app-text);
}

.application-form .consent-block__all {
  color: #111;
}

.application-form .notice-box,
.application-form .notice-box strong {
  color: var(--app-text);
}

.application-form .notice-box {
  color: #555;
}

.application-form .notice-box--sub {
  color: #888;
}

.application-form .day-picker__btn {
  color: var(--app-label);
}

.application-form .photo-upload__item,
.application-form .photo-upload__empty {
  color: var(--app-label);
}

.application-form .form-inline-row__sep {
  color: #999;
}

.application-form .student-lookup .result-item,
.application-form .student-lookup .result-item p,
.application-form .student-lookup .result-item strong,
.application-form .student-lookup #searchSummary {
  color: var(--app-text);
}

.application-form .student-lookup #searchSummary {
  color: #888;
}

/* ═══ 헤더 액션 — 이력서 확인 + 강사 로그인 (동일 형태 · 색상 구분) ═══ */
.content-header,
.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.content-header__actions,
.form-head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 공통 버튼 형태 */
.content-header__actions .resume-btn,
.content-header__actions .btn-login,
.form-head__actions .form-head__resume,
.form-head__actions .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* ── 시안1 (컬러 배경) — 이력서: 글래스 / 로그인: 화이트 솔리드 ── */
.content-header__actions .resume-btn {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.content-header__actions .resume-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-1px);
}

.content-header__actions .btn-login {
  color: var(--app-teacher);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.content-header__actions .btn-login:hover,
.content-header__actions .btn-login.is-logged-in {
  color: var(--app-teacher);
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

/* 학생 탭 — 학생 컬러로 로그인 버튼 글자색만 전환 */
.main-area[data-tab="student"] .content-header__actions .btn-login,
.main-area[data-tab="student"] .content-header__actions .btn-login:hover,
.main-area[data-tab="student"] .content-header__actions .btn-login.is-logged-in {
  color: var(--app-student);
}

/* ── 시안2 (밝은 폼 헤더) — 이력서: 화이트+요일피커 레드 / 로그인: 요일피커 레드 솔리드 ── */
.theme-sian2 .split-layout__form .form-head {
  align-items: center;
}

.theme-sian2 .form-head__actions {
  margin-top: 0;
  align-self: center;
  align-items: center;
}

.theme-sian2 .form-head__actions .form-head__resume,
.theme-sian2 .form-head__actions .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  padding: 0 20px 2px;
  line-height: 1;
  vertical-align: middle;
}

.theme-sian2 .form-head__actions .form-head__resume {
  color: var(--app-primary);
  background: #fff;
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-sian2 .form-head__actions .form-head__resume:hover {
  color: var(--app-primary-dark);
  background: #fff;
  border-color: rgba(196, 21, 31, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 21, 31, 0.12);
}

.theme-sian2 .form-head__actions .btn-login {
  color: #fff;
  background: var(--app-primary);
  border-color: var(--app-primary);
  box-shadow: 0 4px 16px rgba(196, 21, 31, 0.28);
}

.theme-sian2 .form-head__actions .btn-login:hover,
.theme-sian2 .form-head__actions .btn-login.is-logged-in {
  color: #fff;
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 21, 31, 0.34);
}

/* ═══ 학생 조회 — 2열 카드 + 가운데 버튼 ═══ */
.student-lookup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.student-lookup .submit-area--standalone {
  margin-top: 28px;
  padding: 0;
  text-align: center;
  background: none;
  border: none;
  box-shadow: none;
}

.student-lookup .submit-area--standalone .submit-btn {
  margin: 0 auto;
}

.student-lookup .search-summary,
.student-lookup .result-item__meta {
  font-size: 13px;
  color: #888;
  margin: 4px 0 10px;
}

.split-layout__form .student-lookup-grid {
  gap: 12px;
}

/* ═══ 검증 — 입력 영역 하이라이트 + 인라인 안내 ═══ */
.field-highlight {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid rgba(196, 21, 31, 0.24);
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.field-highlight.form-input,
.field-highlight.app-login-input {
  display: block;
  width: 100%;
}

.field-guide {
  margin: 6px 0 0;
  padding: 0;
  border: none;
  background: none;
  color: #C4151F;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  animation: fieldGuideIn 0.2s ease both;
}

.field-guide::before {
  content: '●';
  display: inline-block;
  font-size: 5px;
  margin-right: 5px;
  vertical-align: middle;
  transform: translateY(-1px);
}

@keyframes fieldGuideIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.input-error {
  border-color: inherit !important;
  box-shadow: none !important;
}

td > .field-highlight.checkbox-list,
td > .field-highlight.day-picker,
td > .field-highlight.photo-upload {
  display: block;
}

.addr-row.field-highlight,
.form-inline-row.field-highlight {
  width: fit-content;
  max-width: 100%;
}

/* 구 헤더 로그인 (제거됨) */
.site-header__actions { display: none !important; }

/* ═══ 서브 페이지 ═══ */
.app-subviews {
  display: none;
}

body.is-app-subroute .app-subviews {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--app-page-bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(72px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px));
  color: var(--app-text);
}

body.is-app-subroute .app-main-shell {
  display: none !important;
}

body.is-app-subroute .app-subviews {
  z-index: 2000;
}

html.is-app-subroute,
html.is-app-subroute body {
  background: var(--app-page-bg);
  overflow: hidden !important;
}

/* 시안2 — 서브뷰 잠금 보조 */
html.is-app-subroute-lock,
html.is-app-subroute-lock body {
  overflow: hidden !important;
}

body.is-app-subroute .site-header,
body.is-app-subroute .site-header .header-bar {
  z-index: 600;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.app-subview {
  display: none;
}

.app-subview.is-active {
  display: block;
  animation: appSubviewIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes appSubviewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-subview__shell {
  max-width: 680px;
  margin: 0 auto;
}

.app-subview__shell--narrow {
  max-width: 460px;
}

.app-subview__shell--wide {
  max-width: 820px;
}

.app-subview__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  min-height: 40px;
}

.app-subview__head--trail {
  justify-content: space-between;
  align-items: flex-start;
}

.app-subview__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 8px 12px 8px 14px;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: var(--app-card-bg);
  font: 600 12px/1 'Noto Sans KR', sans-serif;
  color: var(--app-label);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.app-subview__back-chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: 1px;
}

.app-subview__back:hover {
  border-color: var(--app-primary);
  color: var(--app-primary);
  transform: translateY(-1px);
}

.app-subview__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(145, 45, 50, 0.55);
}

.app-subview__title {
  font: 700 22px/1.25 'Noto Sans KR', sans-serif;
  color: #111;
  letter-spacing: -0.03em;
}

.app-subview__head-copy {
  min-width: 0;
  flex: 1;
}

.app-subview__lead {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.5);
}

.app-panel__hint {
  margin: -6px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #888;
}

.history-panel__head {
  margin-bottom: 4px;
}

.history-panel .form-section__title {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}

.history-panel__hint {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8a8a;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-card {
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 12px;
  background: #f8f7f6;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.history-card:hover {
  border-color: rgba(145, 45, 50, 0.18);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
  background: #fff;
}

.history-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.history-card__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.history-card__subject {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.history-card__field {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(145, 45, 50, 0.08);
  color: var(--app-teacher);
  font-size: 11px;
  font-weight: 600;
}

.history-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.history-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.4;
}

.history-card__meta span + span::before {
  content: '·';
  margin-right: 10px;
  color: #c4c4c4;
}

.history-manage .form-section__title {
  margin-bottom: 14px;
}

.history-manage__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-manage__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.history-manage__row:first-child {
  padding-top: 2px;
  border-top: none;
}

.history-manage__row:last-child {
  padding-bottom: 2px;
}

.history-manage__copy {
  min-width: 0;
  flex: 1;
}

.history-manage__copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.02em;
}

.history-manage__copy p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8a8a;
}

.app-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 96px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 13px/1 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.app-chip-btn--primary {
  background: var(--app-teacher, #912D32);
  color: #fff;
  box-shadow: 0 4px 14px rgba(145, 45, 50, 0.22);
}

.app-chip-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(145, 45, 50, 0.28);
}

.app-chip-btn--ghost {
  background: #fff;
  color: #666;
  border-color: rgba(17, 17, 17, 0.12);
}

.app-chip-btn--ghost:hover {
  border-color: rgba(196, 21, 31, 0.35);
  color: #C4151F;
  background: #fff8f8;
}

/* 서브 페이지 카드 — 메인 form-section과 동일 톤 */
.app-subviews .form-section,
.app-subviews .app-panel {
  margin-bottom: 14px;
  padding: 22px 24px 18px;
  border-radius: 16px;
  background: var(--app-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--app-text);
}

.app-subviews .form-section__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--app-teacher);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-subviews .txtTable table tr td {
  color: var(--app-text);
}

.app-subviews .txtTable table tr td.inf_1 {
  color: var(--app-label);
  font-weight: 600;
}

.app-subviews .form-input {
  background: #f6f5f5;
  border: 1px solid #e4e0e0;
  color: #222;
}

.app-subviews .submit-btn:not(.app-login-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 120px;
  height: 44px;
  padding: 0 22px;
  background: #fff;
  color: var(--app-teacher);
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font: 700 14px/1 'Noto Sans KR', sans-serif;
  cursor: pointer;
}

.app-subviews .submit-btn:not(.app-login-btn):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.app-subviews .submit-btn--muted:not(.app-login-btn) {
  background: #ecebea;
  color: #555;
  box-shadow: none;
}

.app-lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--app-muted);
  text-align: center;
  margin-bottom: 12px;
}

.app-demo-hint {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
}

.app-footnote {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 16px;
}

.app-text-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--app-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-submit-area {
  margin-top: 20px;
  padding-top: 0;
  border: none;
}

.app-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.app-action-row .submit-btn {
  flex: 0 0 auto;
  min-width: 128px;
}

.app-hidden {
  display: none !important;
}

/* 약관 페이지 */
.app-legal__meta,
.app-legal__text {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.app-legal__heading {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 18px 0 8px;
}

.app-legal__heading:first-child {
  margin-top: 0;
}

.app-legal__list {
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* ═══ 폼 확장 UI ═══ */
.form-hint--warn { color: #C4151F !important; }
.form-hint--ok { color: #888 !important; }

/* 연락처 힌트: 별도 tr 없이 입력칸 아래에만 표시 (이중 border 방지) */
.txtTable td > .form-hint#fPhoneHint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.txtTable td > .form-hint#fPhoneHint:empty {
  display: none;
  margin: 0;
}

.submit-area__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.submit-area__row .submit-btn {
  flex: 1 1 220px;
  max-width: 320px;
}

.submit-btn--preview {
  background: transparent !important;
  color: #5a5a5a !important;
  border: 1px solid rgba(17, 17, 17, 0.18) !important;
  box-shadow: none !important;
}

.submit-btn--preview:hover {
  background: rgba(17, 17, 17, 0.04) !important;
  color: #2e2e2e !important;
  border-color: rgba(17, 17, 17, 0.28) !important;
}

.theme-sian2 .submit-btn--preview {
  color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(8px);
}

.theme-sian2 .submit-btn--preview:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

.form-inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.form-inline-row .form-input { flex: 1; min-width: 120px; }

.form-inline-row__sep {
  color: #999;
  font-size: 13px;
  flex-shrink: 0;
}

.day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.day-picker__btn {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #fff;
  font: 500 13px/1 'Noto Sans KR', sans-serif;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.day-picker__btn.is-on {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

.photo-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photo-upload__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.photo-upload__toolbar input[type="file"] { display: none; }

.photo-upload__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-upload__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #fafafa;
  font-size: 13px;
  cursor: pointer;
}

.photo-upload__item.is-selected {
  border-color: var(--app-primary);
  background: #fff5f5;
}

.photo-upload__thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}

.photo-upload__empty {
  padding: 12px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.addr-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.addr-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* 약관 블록 */
.consent-block {
  border: 1px solid var(--app-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.consent-block__all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fafafa;
  border-bottom: 1px solid var(--app-border);
  font-weight: 700;
  font-size: 14px;
  color: #111;
  cursor: pointer;
}

.consent-block__item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f3f3;
  font-size: 13px;
  line-height: 1.55;
  color: var(--app-text);
  cursor: pointer;
}

.consent-block__item:last-child { border-bottom: none; }

.consent-block__item input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--app-primary);
}

.consent-block__item span {
  flex: 1;
  min-width: 0;
  color: var(--app-text);
}

.consent-block__link {
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--app-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-block__link:hover { color: var(--app-primary-dark); }

.notice-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8f5;
  border: 1px solid rgba(196, 21, 31, 0.12);
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  margin-bottom: 14px;
}

.notice-box strong {
  display: block;
  color: #111;
  margin-bottom: 4px;
  font-size: 13px;
}

.notice-box--sub {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #fff;
  font: 500 13px/1 'Noto Sans KR', sans-serif;
  color: #333;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-secondary:hover { border-color: #ccc; background: #fafafa; }

.btn-secondary--danger {
  color: #C4151F;
  border-color: rgba(196, 21, 31, 0.35);
}

.btn-secondary--danger:hover { background: #fff5f5; }

/* 내역 · 조회 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stat-box {
  padding: 14px 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stat-box__n {
  font: 700 22px/1.15 'Noto Sans KR', sans-serif;
  color: var(--app-primary);
  letter-spacing: -0.03em;
}

.stat-box__l {
  font-size: 11px;
  font-weight: 500;
  color: #8a8a8a;
  margin-top: 5px;
}

.result-item {
  padding: 14px;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 8px;
}

.result-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.status-badge--신청 { background: #f1f5f9; color: #475569; }
.status-badge--면접예정 { background: #fef3c7; color: #92400e; }
.status-badge--합격 { background: #dcfce7; color: #166534; }
.status-badge--불합격 { background: #fee2e2; color: #991b1b; }

.time-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 12px;
  font-weight: 500;
  color: #555;
  letter-spacing: -0.02em;
}

.edit-label {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.edit-label--lock { background: #eef1f4; color: #64748b; }
.edit-label--edit { background: rgba(145, 45, 50, 0.1); color: #912D32; }

.field-locked {
  background: #f8f8f8 !important;
  color: #777 !important;
  cursor: not-allowed;
}

/* ═══ 내 정보 수정 ═══ */
.profile-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8f6;
  border: 1px solid rgba(145, 45, 50, 0.12);
}

.profile-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #912D32;
  letter-spacing: -0.02em;
}

.profile-notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.profile-panel {
  margin-bottom: 12px;
}

.profile-panel .form-section__title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.profile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.profile-panel__hint {
  margin: -4px 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8a8a;
}

.profile-grid {
  display: grid;
  gap: 12px 14px;
}

.profile-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.profile-field__label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  letter-spacing: -0.02em;
}

.profile-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 10px;
  background: #fff;
  font: 500 14px/1.3 'Noto Sans KR', sans-serif;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.profile-input::placeholder {
  color: #b0b0b0;
  font-weight: 400;
}

.profile-input:hover:not(:disabled):not([readonly]) {
  border-color: rgba(17, 17, 17, 0.18);
}

.profile-input:focus {
  outline: none;
  border-color: rgba(145, 45, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.1);
}

.profile-input--locked,
.profile-input[readonly] {
  background: #f4f3f2;
  color: #777;
  cursor: not-allowed;
  border-color: rgba(17, 17, 17, 0.06);
}

.profile-panel--locked .profile-input {
  background: #f4f3f2;
}

.profile-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  align-items: center;
}

.profile-radio__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.profile-radio__item input {
  margin: 0;
  accent-color: #912D32;
}

.profile-radio__item:has(input:checked) {
  border-color: rgba(145, 45, 50, 0.35);
  background: rgba(145, 45, 50, 0.06);
  color: #912D32;
  font-weight: 600;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
}

.profile-actions .app-chip-btn {
  min-width: 108px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.profile-actions__save {
  min-width: 120px;
}

/* ═══ 지원서 확인 ═══ */
.resume-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.resume-summary__label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
  letter-spacing: -0.02em;
}

.resume-summary__id strong {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.02em;
}

.resume-summary__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.resume-summary__date {
  font-size: 12px;
  color: #8a8a8a;
}

.resume-panel .form-section__title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.resume-panel__head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.resume-grid {
  display: grid;
  gap: 12px 14px;
}

.resume-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.resume-field__label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  letter-spacing: -0.02em;
}

.resume-field--full {
  grid-column: 1 / -1;
}

.resume-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 10px;
  background: #fff;
  font: 500 14px/1.3 'Noto Sans KR', sans-serif;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.resume-form.is-readonly .resume-input,
.resume-form.is-readonly .resume-input:disabled {
  background: #f6f5f4;
  color: #333;
  border-color: rgba(17, 17, 17, 0.06);
  cursor: default;
  opacity: 1;
  -webkit-text-fill-color: #333;
}

.resume-form.is-editing .resume-input:focus {
  outline: none;
  border-color: rgba(145, 45, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.1);
  background: #fff;
}

.resume-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: default;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.resume-check input {
  margin: 0;
  accent-color: #912D32;
  pointer-events: none;
}

.resume-form.is-editing .resume-check {
  cursor: pointer;
}

.resume-form.is-editing .resume-check input {
  pointer-events: auto;
}

.resume-check:has(input:checked) {
  border-color: rgba(145, 45, 50, 0.35);
  background: rgba(145, 45, 50, 0.07);
  color: #912D32;
  font-weight: 600;
}

.resume-form.is-readonly .day-picker__btn:disabled {
  opacity: 1;
  cursor: default;
}

.resume-form.is-editing .day-picker__btn {
  cursor: pointer;
}

.resume-form .profile-radio__item input:disabled {
  pointer-events: none;
}

.resume-form.is-editing .profile-radio__item {
  cursor: pointer;
}

.resume-form.is-editing .profile-radio__item input {
  pointer-events: auto;
}

.resume-actions.is-hidden,
.is-hidden {
  display: none !important;
}

.resume-field__value {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f5f4;
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 14px;
  font-weight: 500;
  color: #222;
  line-height: 1.45;
  box-sizing: border-box;
  word-break: keep-all;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resume-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
  font-size: 12px;
  font-weight: 600;
}

.resume-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.resume-actions .app-chip-btn {
  min-width: 108px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.theme-premium-seamless.is-app-subroute .resume-summary {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.theme-premium-seamless.is-app-subroute .resume-field__value {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .resume-tag {
  border-radius: 8px;
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .resume-actions .app-chip-btn--primary {
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.theme-premium-seamless.is-app-subroute .resume-actions .app-chip-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.5);
  color: #555;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.theme-premium-seamless.is-app-subroute .resume-actions .app-chip-btn--primary:hover {
  background: #f3f2f1;
  color: #7a2428;
}

.theme-premium-seamless.is-app-subroute .resume-actions .app-chip-btn--ghost:hover {
  background: #eceaea;
  color: #333;
}

.theme-premium-v2.is-app-subroute .resume-summary {
  border-radius: 14px;
  background: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.theme-premium-v2.is-app-subroute .resume-tag {
  background: rgba(145, 45, 50, 0.1);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .resume-actions .app-chip-btn--primary {
  background: #fff;
  color: #912D32;
  border: 1px solid #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.theme-premium-v2.is-app-subroute .resume-actions .app-chip-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.45);
  color: #555;
}

.theme-premium-v2.is-app-subroute .resume-actions .app-chip-btn--primary:hover {
  background: #f3f2f1;
  color: #7a2428;
}

.theme-premium-v2.is-app-subroute .resume-actions .app-chip-btn--ghost:hover {
  background: #eceaea;
  color: #333;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .resume-summary {
  border-radius: 14px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .resume-field__value {
  border-radius: 12px;
}

.theme-sian2.is-app-subroute .resume-summary {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.theme-sian2.is-app-subroute .resume-field__value {
  border-radius: 10px;
  background: rgba(246, 245, 244, 0.95);
}

.theme-sian2.is-app-subroute .resume-tag {
  background: rgba(196, 21, 31, 0.08);
  color: #C4151F;
  border-radius: 10px;
}

.theme-sian2.is-app-subroute .resume-check:has(input:checked) {
  border-color: rgba(196, 21, 31, 0.35);
  background: rgba(196, 21, 31, 0.07);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .resume-check input {
  accent-color: #C4151F;
}

.theme-sian2.is-app-subroute .resume-form.is-editing .resume-input:focus {
  border-color: rgba(196, 21, 31, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.1);
}

.theme-sian2.is-app-subroute .resume-actions .app-chip-btn {
  border-radius: 10px;
  font-size: 12.5px;
  letter-spacing: -0.03em;
}

.theme-sian2.is-app-subroute .resume-actions .app-chip-btn--primary {
  background: #C4151F;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .resume-input,
.theme-premium-seamless.is-app-subroute .resume-check {
  border-radius: 8px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .resume-input {
  border-radius: 12px;
}

.student-lookup .checkbox-list label { cursor: pointer; }

/* 모달 */
.app-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.app-overlay.is-open { display: flex; }

.app-modal {
  width: 100%;
  max-width: 380px;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  color: var(--app-text);
}

.app-modal h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #111;
}

.app-modal p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 12px;
}

.app-modal .submit-btn {
  width: 100%;
  margin-top: 8px;
}

.app-modal .btn-secondary {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
}

.dup-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff5f5;
  color: var(--app-primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.submit-btn:disabled {
  opacity: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .student-lookup-grid {
    grid-template-columns: 1fr;
  }

  .content-header,
  .form-head {
    flex-direction: column;
    align-items: stretch;
  }

  .content-header__actions,
  .form-head__actions {
    align-self: flex-start;
  }
}

/* ═══ 시안1 서브페이지 — A Seamless / B Orbit / C Aura ═══ */

/* ── A Seamless: flat burgundy stage + sharp white cards ── */
.theme-premium-seamless.is-app-subroute .app-subviews {
  background: #912D32;
  scroll-padding-top: 0;
}

.theme-premium-seamless.is-app-subroute .site-header--premium,
.theme-premium-seamless.is-app-subroute .site-header .header-bar {
  background: transparent;
}

.theme-premium-seamless.is-app-subroute .app-subview__title {
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-subview__eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.theme-premium-seamless.is-app-subroute .app-subview__lead {
  color: rgba(255, 255, 255, 0.62);
}

.theme-premium-seamless.is-app-subroute .app-subview__back {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.theme-premium-seamless.is-app-subroute .app-subview__back:hover {
  background: #fff;
  border-color: #fff;
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-subviews .form-section,
.theme-premium-seamless.is-app-subroute .app-subviews .app-panel {
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 16px 40px rgba(0, 0, 0, 0.18);
}

.theme-premium-seamless.is-app-subroute .app-subviews .form-section__title {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .stat-box {
  border-radius: 8px;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.theme-premium-seamless.is-app-subroute .stat-box__n {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .history-card {
  border-radius: 8px;
  background: #f7f6f5;
  border-color: rgba(17, 17, 17, 0.06);
}

.theme-premium-seamless.is-app-subroute .history-card:hover {
  background: #fff;
  border-color: rgba(145, 45, 50, 0.2);
  box-shadow: 0 8px 20px rgba(145, 45, 50, 0.08);
}

.theme-premium-seamless.is-app-subroute .history-card__field {
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-chip-btn {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .app-chip-btn--primary {
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.theme-premium-seamless.is-app-subroute .app-chip-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
  color: #555;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.theme-premium-seamless.is-app-subroute .app-chip-btn--ghost:hover {
  background: #eceaea;
  border-color: rgba(255, 255, 255, 0.4);
  color: #333;
}

/* 흰 패널 안 칩(내역 수정하기 등)은 와인 filled */
.theme-premium-seamless.is-app-subroute .app-panel .app-chip-btn--primary,
.theme-premium-seamless.is-app-subroute .history-manage .app-chip-btn--primary {
  background: #912D32;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.theme-premium-seamless.is-app-subroute .app-panel .app-chip-btn--ghost,
.theme-premium-seamless.is-app-subroute .history-manage .app-chip-btn--ghost {
  background: #fff;
  border-color: rgba(17, 17, 17, 0.12);
  color: #666;
  box-shadow: none;
}

.theme-premium-seamless.is-app-subroute .app-panel .app-chip-btn--ghost:hover,
.theme-premium-seamless.is-app-subroute .history-manage .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium-seamless.is-app-subroute .profile-notice {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.5);
}

.theme-premium-seamless.is-app-subroute .profile-notice strong {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .profile-input {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .profile-input:focus {
  border-color: rgba(145, 45, 50, 0.5);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.12);
}

.theme-premium-seamless.is-app-subroute .profile-radio__item {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .profile-radio__item:has(input:checked) {
  border-color: rgba(145, 45, 50, 0.35);
  background: rgba(145, 45, 50, 0.07);
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .profile-actions .app-chip-btn {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .edit-label--edit {
  background: rgba(145, 45, 50, 0.1);
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn) {
  border-radius: 8px;
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(145, 45, 50, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.theme-premium-seamless.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn):hover {
  background: #912D32;
  color: #fff;
  border-color: #912D32;
}

/* ── B Orbit Lab: full burgundy gradient + deep white cards ── */
.theme-premium-v2.is-app-subroute .app-subviews {
  background: linear-gradient(168deg, #9a3338 0%, #912D32 38%, #6f2227 100%);
}

.theme-premium-v2.is-app-subroute .site-header--premium {
  background: transparent;
}

.theme-premium-v2.is-app-subroute .app-subview__title {
  color: #fff;
}

.theme-premium-v2.is-app-subroute .app-subview__eyebrow {
  color: rgba(255, 255, 255, 0.52);
}

.theme-premium-v2.is-app-subroute .app-subview__lead {
  color: rgba(255, 255, 255, 0.62);
}

.theme-premium-v2.is-app-subroute .app-subview__back {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-premium-v2.is-app-subroute .app-subview__back:hover {
  background: #fff;
  color: #912D32;
  border-color: #fff;
}

.theme-premium-v2.is-app-subroute .app-subviews .form-section,
.theme-premium-v2.is-app-subroute .app-subviews .app-panel {
  border-radius: 16px;
  background: #fff;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.theme-premium-v2.is-app-subroute .app-subviews .form-section__title {
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .stat-box {
  border-radius: 12px;
  background: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.theme-premium-v2.is-app-subroute .stat-box__n {
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .history-card {
  border-radius: 12px;
  background: #f8f7f6;
  border-color: rgba(17, 17, 17, 0.05);
}

.theme-premium-v2.is-app-subroute .history-card:hover {
  background: #fff;
  border-color: rgba(145, 45, 50, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.theme-premium-v2.is-app-subroute .history-card__field {
  background: rgba(145, 45, 50, 0.1);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-chip-btn {
  border-radius: 8px;
}

.theme-premium-v2.is-app-subroute .app-chip-btn--primary {
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.theme-premium-v2.is-app-subroute .app-chip-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.45);
  color: #555;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.theme-premium-v2.is-app-subroute .app-chip-btn--ghost:hover {
  background: #eceaea;
  border-color: rgba(255, 255, 255, 0.35);
  color: #333;
}

.theme-premium-v2.is-app-subroute .app-panel .app-chip-btn--primary,
.theme-premium-v2.is-app-subroute .history-manage .app-chip-btn--primary {
  background: #912D32;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(145, 45, 50, 0.28);
}

.theme-premium-v2.is-app-subroute .app-panel .app-chip-btn--ghost,
.theme-premium-v2.is-app-subroute .history-manage .app-chip-btn--ghost {
  background: #fff;
  border-color: rgba(145, 45, 50, 0.18);
  color: #666;
  box-shadow: none;
}

.theme-premium-v2.is-app-subroute .app-panel .app-chip-btn--ghost:hover,
.theme-premium-v2.is-app-subroute .history-manage .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium-v2.is-app-subroute .history-manage,
.theme-premium-v2.is-app-subroute .history-panel,
.theme-premium-v2.is-app-subroute .profile-panel {
  background: #fff;
}

.theme-premium-v2.is-app-subroute .profile-notice {
  background: #fff8f6;
  border-color: rgba(145, 45, 50, 0.14);
  border-radius: 12px;
}

.theme-premium-v2.is-app-subroute .profile-notice strong {
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .profile-input {
  border-radius: 10px;
}

.theme-premium-v2.is-app-subroute .profile-input:focus {
  border-color: rgba(145, 45, 50, 0.5);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.12);
}

.theme-premium-v2.is-app-subroute .profile-radio__item:has(input:checked) {
  border-color: rgba(145, 45, 50, 0.4);
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .edit-label--edit {
  background: rgba(145, 45, 50, 0.12);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn) {
  border-radius: 8px;
  background: #912D32;
  color: #fff;
  box-shadow: 0 10px 28px rgba(145, 45, 50, 0.35);
}

.theme-premium-v2.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn):hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium-v2.is-app-subroute .app-subviews .submit-btn--muted:not(.app-login-btn) {
  background: #ecebea;
  color: #555;
  box-shadow: none;
}

/* ── C Aura: cream chrome + soft 16px cards + pill accents ── */
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews {
  background: #f3f2f1;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview__title {
  color: #111;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview__eyebrow {
  color: rgba(145, 45, 50, 0.55);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview__lead {
  color: rgba(17, 17, 17, 0.5);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview__back {
  border-radius: 999px;
  background: #fff;
  border-color: rgba(145, 45, 50, 0.14);
  color: #666;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview__back:hover {
  border-color: rgba(145, 45, 50, 0.32);
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .form-section,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .app-panel {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 16px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .form-section__title {
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .stat-box {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .stat-box__n {
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .history-card {
  border-radius: 14px;
  background: #faf9f8;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .history-card:hover {
  background: #fff;
  border-color: rgba(145, 45, 50, 0.16);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .history-card__field {
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn {
  border-radius: 999px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn--primary {
  background: #912D32;
  color: #fff;
  box-shadow: 0 6px 18px rgba(145, 45, 50, 0.22);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn--ghost {
  background: #fff;
  border-color: rgba(17, 17, 17, 0.12);
  color: #666;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-notice {
  border-radius: 14px;
  background: #fff8f6;
  border-color: rgba(145, 45, 50, 0.12);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-notice strong,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .edit-label--edit {
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .edit-label--edit {
  background: rgba(145, 45, 50, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-input {
  border-radius: 12px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-input:focus {
  border-color: rgba(145, 45, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-radio__item {
  border-radius: 999px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-radio__item:has(input:checked) {
  border-color: rgba(145, 45, 50, 0.35);
  background: rgba(145, 45, 50, 0.07);
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .submit-btn:not(.app-login-btn) {
  border-radius: 999px;
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(145, 45, 50, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .submit-btn:not(.app-login-btn):hover {
  background: #912D32;
  color: #fff;
  border-color: #912D32;
}

.theme-sian2.is-app-subroute .app-subviews {
  background:
    radial-gradient(ellipse 90% 55% at 50% 12%, rgba(196, 21, 31, 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 45% 38% at 88% 82%, rgba(240, 74, 84, 0.07) 0%, transparent 52%),
    linear-gradient(180deg, #F0EBEA 0%, #F3F0EF 38%, #F6F5F4 72%, #F7F5F4 100%);
}

.theme-sian2.is-app-subroute .app-subviews .form-section,
.theme-sian2.is-app-subroute .app-subviews .app-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(17, 17, 17, 0.06);
}

.theme-sian2.is-app-subroute .app-subview__eyebrow {
  color: rgba(196, 21, 31, 0.55);
}

.theme-sian2.is-app-subroute .app-subview__back {
  border-radius: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-sian2.is-app-subroute .app-subview__back:hover {
  border-color: rgba(196, 21, 31, 0.28);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn) {
  background: #111;
  color: #fff;
  border-radius: 10px;
  min-width: 128px;
  height: 44px;
  padding: 0 22px;
  width: auto;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.18);
}

.theme-sian2.is-app-subroute .app-subviews .submit-btn:not(.app-login-btn):hover {
  background: #222;
  color: #fff;
}

.theme-sian2.is-app-subroute .app-subviews .submit-btn--muted:not(.app-login-btn) {
  background: #e8e7e6;
  color: #444;
  box-shadow: none;
}

.theme-sian2.is-app-subroute .app-chip-btn {
  border-radius: 10px;
  min-width: 100px;
  height: 36px;
  padding: 0 15px;
}

.theme-sian2.is-app-subroute .app-chip-btn--primary {
  background: #C4151F;
  box-shadow: 0 4px 14px rgba(196, 21, 31, 0.26);
}

.theme-sian2.is-app-subroute .app-chip-btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 17, 17, 0.1);
  color: #555;
}

.theme-sian2.is-app-subroute .app-chip-btn--ghost:hover {
  border-color: rgba(196, 21, 31, 0.35);
  color: #C4151F;
  background: #fff;
}

.theme-sian2.is-app-subroute .stat-box {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-sian2.is-app-subroute .app-subview--history .history-card,
.theme-sian2.is-app-subroute .app-subview--profile .app-panel {
  border-radius: 12px;
}

.theme-sian2.is-app-subroute .history-card {
  background: rgba(248, 247, 246, 0.9);
  border-color: rgba(17, 17, 17, 0.06);
}

.theme-sian2.is-app-subroute .history-card:hover {
  background: #fff;
  border-color: rgba(196, 21, 31, 0.18);
}

.theme-sian2.is-app-subroute .history-card__field {
  background: rgba(196, 21, 31, 0.08);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .stat-box__n {
  color: #C4151F;
}

.theme-sian2.is-app-subroute .history-manage__row--danger .history-manage__copy strong {
  color: #444;
}

.theme-sian2.is-app-subroute .profile-notice {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(196, 21, 31, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
}

.theme-sian2.is-app-subroute .profile-notice strong {
  color: #C4151F;
}

.theme-sian2.is-app-subroute .profile-input {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.theme-sian2.is-app-subroute .profile-input:focus {
  border-color: rgba(196, 21, 31, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 21, 31, 0.1);
}

.theme-sian2.is-app-subroute .profile-input--locked,
.theme-sian2.is-app-subroute .profile-input[readonly],
.theme-sian2.is-app-subroute .profile-panel--locked .profile-input {
  background: rgba(244, 243, 242, 0.95);
}

.theme-sian2.is-app-subroute .profile-radio__item {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.theme-sian2.is-app-subroute .profile-radio__item input {
  accent-color: #C4151F;
}

.theme-sian2.is-app-subroute .profile-radio__item:has(input:checked) {
  border-color: rgba(196, 21, 31, 0.35);
  background: rgba(196, 21, 31, 0.07);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .edit-label--edit {
  background: rgba(196, 21, 31, 0.1);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .profile-actions .app-chip-btn {
  border-radius: 10px;
  height: 40px;
}

.theme-sian2.is-app-subroute .profile-actions__save {
  background: #C4151F;
  box-shadow: 0 4px 14px rgba(196, 21, 31, 0.26);
}

.theme-premium-seamless.is-app-subroute .history-card__field,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .history-card__field {
  background: rgba(145, 45, 50, 0.08);
  color: var(--app-teacher);
}

.theme-premium-seamless.is-app-subroute .stat-box__n,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .stat-box__n {
  color: var(--app-teacher);
}

.theme-premium-v2.is-app-subroute .history-card__field {
  background: rgba(145, 45, 50, 0.1);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .stat-box__n {
  color: #912D32;
}

/* ═══ 로그인 페이지 — 공통 + 시안별 ═══ */
body.is-app-subroute .app-subviews:has(#subview-login.is-active) {
  display: flex;
  flex-direction: column;
}

.app-subview--login.is-active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
}

.app-login-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px));
  padding: 20px 0;
  box-sizing: border-box;
}

.app-login-stage__inner {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.app-login-card__toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.app-login-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 11px 6px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(247, 246, 245, 0.95);
  font: 500 12px/1 'Noto Sans KR', sans-serif;
  color: #666;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-login-back__chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: 1px;
}

.app-login-back__label {
  letter-spacing: -0.02em;
}

.app-login-back:hover {
  background: #fff;
  border-color: rgba(17, 17, 17, 0.14);
  color: #222;
  transform: translateY(-1px);
}

.app-login-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(17, 17, 17, 0.08),
    0 4px 14px rgba(17, 17, 17, 0.04);
}

.app-login-card__accent {
  display: none;
  height: 3px;
  background: linear-gradient(90deg, var(--app-teacher) 0%, #c45a5f 100%);
}

.app-login-card__body {
  padding: 18px 28px 28px;
}

.app-login-card__hero {
  text-align: center;
  margin-bottom: 24px;
}

.app-login-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(145, 45, 50, 0.55);
  margin-bottom: 10px;
}

.app-login-card__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
  color: var(--app-teacher);
  margin-bottom: 8px;
}

.app-login-card__lead {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.52);
}

.app-login-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-login-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.app-login-field__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.55);
}

.app-login-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  background: #f7f6f5;
  font-size: 14px;
  color: #222;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.app-login-input:hover {
  border-color: rgba(17, 17, 17, 0.16);
  background: #fff;
}

.app-login-input:focus {
  outline: none;
  border-color: rgba(145, 45, 50, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.1);
}

.app-login-field.field-highlight .app-login-input {
  background: #fff;
}

.app-login-demo {
  margin: 14px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.4);
  text-align: center;
}

.app-login-submit {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
}

.app-login-btn,
.app-subviews .app-login-btn.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  height: auto;
  padding: 14px 20px;
  margin: 0;
  box-sizing: border-box;
  border: none;
  border-radius: 12px;
  font: 700 15px/1.2 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  /* theme-premium .submit-btn 상속(흰 배경·와인 글자) 차단 */
  background: #912D32;
  color: #fff;
  box-shadow: 0 10px 28px rgba(145, 45, 50, 0.22);
}

body.is-app-subroute .app-subviews .app-login-btn.submit-btn:hover,
body.is-app-subroute .app-subviews .app-login-btn.submit-btn:focus {
  color: #fff;
}

.app-login-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.42);
  text-align: center;
  line-height: 1.5;
}

.app-text-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--app-teacher);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(145, 45, 50, 0.28);
}

.app-text-link:hover {
  color: var(--app-primary-dark);
  border-bottom-color: rgba(145, 45, 50, 0.45);
}

/* ── 시안1 A Seamless 로그인 ── */
.theme-premium-seamless.is-app-subroute .app-subview--login .app-login-stage {
  align-items: center;
  justify-content: center;
}

.theme-premium-seamless.is-app-subroute .app-login-card__accent {
  display: none;
}

.theme-premium-seamless.is-app-subroute .app-login-card {
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 20px 48px rgba(0, 0, 0, 0.22);
}

.theme-premium-seamless.is-app-subroute .app-login-card__eyebrow {
  color: rgba(145, 45, 50, 0.55);
}

.theme-premium-seamless.is-app-subroute .app-login-card__title {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-login-back {
  border-radius: 8px;
  background: #f6f5f4;
  border-color: rgba(145, 45, 50, 0.12);
  color: #666;
}

.theme-premium-seamless.is-app-subroute .app-login-back:hover {
  border-color: rgba(145, 45, 50, 0.28);
  color: #912D32;
  background: #fff;
}

.theme-premium-seamless.is-app-subroute .app-login-input {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .app-login-input:focus {
  border-color: rgba(145, 45, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.12);
}

.theme-premium-seamless.is-app-subroute .app-subviews .app-login-btn {
  border-radius: 8px;
  background: #912D32;
  color: #fff;
  border: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.theme-premium-seamless.is-app-subroute .app-subviews .app-login-btn:hover,
.theme-premium-seamless.is-app-subroute .app-subviews .app-login-btn:focus {
  background: #7a2428;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.theme-premium-seamless.is-app-subroute .app-login-demo {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(145, 45, 50, 0.06);
  border: 1px solid rgba(145, 45, 50, 0.1);
  color: #8a5558;
}

.theme-premium-seamless.is-app-subroute .app-text-link {
  color: #912D32;
  border-bottom-color: rgba(145, 45, 50, 0.28);
}

.theme-premium-seamless.is-app-subroute .app-chip-btn--primary:hover {
  background: #f3f2f1;
  color: #7a2428;
}

.theme-premium-seamless.is-app-subroute .app-panel .app-chip-btn--primary:hover,
.theme-premium-seamless.is-app-subroute .history-manage .app-chip-btn--primary:hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-chip-btn--ghost:hover {
  background: #eceaea;
  border-color: rgba(255, 255, 255, 0.4);
  color: #333;
}

.theme-premium-seamless.is-app-subroute .app-panel .app-chip-btn--ghost:hover,
.theme-premium-seamless.is-app-subroute .history-manage .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium-seamless.is-app-subroute .app-modal .submit-btn {
  background: #912D32;
  color: #fff;
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .app-modal .submit-btn:hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-modal .btn-secondary {
  border-radius: 8px;
}

.theme-premium-seamless.is-app-subroute .app-subview--legal .app-subview__title,
.theme-premium-seamless.is-app-subroute #subview-legal-privacy .app-subview__title,
.theme-premium-seamless.is-app-subroute #subview-legal-terms .app-subview__title {
  color: #fff;
}

/* ── 시안1 B Orbit Lab 로그인 ── */
.theme-premium-v2.is-app-subroute .app-subview--login .app-login-stage {
  align-items: center;
  justify-content: center;
}

.theme-premium-v2.is-app-subroute .app-login-card__accent {
  display: none;
}

.theme-premium-v2.is-app-subroute .app-login-card {
  border-radius: 16px;
  background: #fff;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.theme-premium-v2.is-app-subroute .app-login-card__eyebrow {
  color: rgba(145, 45, 50, 0.55);
}

.theme-premium-v2.is-app-subroute .app-login-card__title {
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-login-back {
  border-radius: 8px;
  background: rgba(145, 45, 50, 0.06);
  border-color: rgba(145, 45, 50, 0.12);
  color: rgba(145, 45, 50, 0.75);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-premium-v2.is-app-subroute .app-login-back:hover {
  background: rgba(145, 45, 50, 0.1);
  border-color: rgba(145, 45, 50, 0.22);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-login-input {
  border-radius: 10px;
}

.theme-premium-v2.is-app-subroute .app-login-input:focus {
  border-color: rgba(145, 45, 50, 0.5);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.12);
}

.theme-premium-v2.is-app-subroute .app-subviews .app-login-btn {
  border-radius: 8px;
  background: #912D32;
  color: #fff;
  border: none;
  box-shadow: 0 10px 28px rgba(145, 45, 50, 0.35);
}

.theme-premium-v2.is-app-subroute .app-subviews .app-login-btn:hover,
.theme-premium-v2.is-app-subroute .app-subviews .app-login-btn:focus {
  background: #7a2428;
  color: #fff;
  transform: translateY(-1px);
}

.theme-premium-v2.is-app-subroute .app-login-demo {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(145, 45, 50, 0.06);
  border: 1px solid rgba(145, 45, 50, 0.1);
  color: #8a5558;
}

.theme-premium-v2.is-app-subroute .app-text-link {
  color: #912D32;
  border-bottom-color: rgba(145, 45, 50, 0.28);
}

.theme-premium-v2.is-app-subroute .app-chip-btn--primary:hover {
  background: #f3f2f1;
  color: #7a2428;
}

.theme-premium-v2.is-app-subroute .app-panel .app-chip-btn--primary:hover,
.theme-premium-v2.is-app-subroute .history-manage .app-chip-btn--primary:hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium-v2.is-app-subroute .app-chip-btn--ghost:hover {
  background: #eceaea;
  border-color: rgba(255, 255, 255, 0.35);
  color: #333;
}

.theme-premium-v2.is-app-subroute .app-panel .app-chip-btn--ghost:hover,
.theme-premium-v2.is-app-subroute .history-manage .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium-v2.is-app-subroute .app-modal .submit-btn {
  background: #912D32;
  color: #fff;
  border-radius: 8px;
}

.theme-premium-v2.is-app-subroute .app-modal .submit-btn:hover {
  background: #7a2428;
  color: #fff;
}

/* ── 시안1 C Aura 로그인 ── */
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview--login .app-login-stage {
  align-items: center;
  justify-content: center;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-card__accent {
  display: none;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(145, 45, 50, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 22px 52px rgba(0, 0, 0, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-card__eyebrow {
  color: rgba(145, 45, 50, 0.55);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-card__title {
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-back {
  border-radius: 999px;
  background: #f7f6f5;
  border-color: rgba(145, 45, 50, 0.1);
  color: #666;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-back:hover {
  border-color: rgba(145, 45, 50, 0.28);
  color: #912D32;
  background: #fff;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-input {
  border-radius: 12px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-input:focus {
  border-color: rgba(145, 45, 50, 0.45);
  box-shadow: 0 0 0 3px rgba(145, 45, 50, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .app-login-btn {
  border-radius: 999px;
  background: #912D32;
  color: #fff;
  border: none;
  box-shadow: 0 12px 32px rgba(145, 45, 50, 0.22);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .app-login-btn:hover,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews .app-login-btn:focus {
  background: #7a2428;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(145, 45, 50, 0.28);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-login-demo {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(145, 45, 50, 0.04);
  border: 1px solid rgba(145, 45, 50, 0.08);
  color: #8a5558;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-text-link {
  color: #912D32;
  border-bottom-color: rgba(145, 45, 50, 0.28);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn--primary:hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-chip-btn--ghost:hover {
  background: #f0efee;
  border-color: rgba(17, 17, 17, 0.16);
  color: #444;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-modal .submit-btn {
  background: #912D32;
  color: #fff;
  border-radius: 999px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-modal .submit-btn:hover {
  background: #7a2428;
  color: #fff;
}

/* ── 시안2 — Glass / Warm Minimal ── */
.theme-sian2.is-app-subroute .app-subviews {
  background:
    radial-gradient(ellipse 88% 50% at 50% 8%, rgba(196, 21, 31, 0.07) 0%, transparent 58%),
    linear-gradient(180deg, #F0EBEA 0%, #F3F0EF 40%, #F6F5F4 100%);
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-stage {
  align-items: center;
  justify-content: center;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-stage__inner {
  max-width: 408px;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-back {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(17, 17, 17, 0.08);
  color: #555;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-back:hover {
  background: #fff;
  border-color: rgba(17, 17, 17, 0.12);
  color: #111;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-card {
  isolation: isolate;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(17, 17, 17, 0.07),
    0 4px 14px rgba(17, 17, 17, 0.035);
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-card::before {
  content: '';
  position: absolute;
  left: -12%;
  top: -22%;
  width: 48%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 74, 84, 0.14) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-card__accent {
  display: none;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-card__body {
  position: relative;
  z-index: 1;
  padding: 18px 28px 28px;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-card__title {
  font-size: clamp(22px, 4vw, 26px);
  color: #111;
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-input {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.09);
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-btn {
  background: #C4151F;
  color: #fff;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 16px rgba(196, 21, 31, 0.26);
}

.theme-sian2.is-app-subroute .app-subview--login .app-login-btn:hover,
.theme-sian2.is-app-subroute .app-subview--login .app-login-btn:focus {
  background: #9a1119;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 21, 31, 0.32);
}

.theme-sian2.is-app-subroute .app-subview--login .app-text-link {
  color: #C4151F;
}

/* 시안1 공통 — 서브페이지 디테일 정리 */
.theme-premium-seamless.is-app-subroute .time-chip,
.theme-premium-v2.is-app-subroute .time-chip {
  background: rgba(145, 45, 50, 0.06);
  border-color: rgba(145, 45, 50, 0.1);
  color: #666;
}

.theme-premium-seamless.is-app-subroute .history-panel__hint,
.theme-premium-v2.is-app-subroute .history-panel__hint {
  color: #8a8a8a;
}

.theme-premium-seamless.is-app-subroute .profile-actions__save,
.theme-premium-v2.is-app-subroute .profile-actions__save {
  background: #fff;
  color: #912D32;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.theme-premium-seamless.is-app-subroute .profile-actions__save:hover,
.theme-premium-v2.is-app-subroute .profile-actions__save:hover {
  background: #f3f2f1;
  color: #7a2428;
  border-color: #fff;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-actions__save {
  background: #912D32;
  color: #fff;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-actions__save:hover {
  background: #7a2428;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .profile-actions__cancel,
.theme-premium-v2.is-app-subroute .profile-actions__cancel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.5);
  color: #555;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.theme-premium-seamless.is-app-subroute .profile-actions__cancel:hover,
.theme-premium-v2.is-app-subroute .profile-actions__cancel:hover,
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .profile-actions__cancel:hover {
  background: #eceaea;
  border-color: rgba(17, 17, 17, 0.12);
  color: #333;
}

.theme-premium-seamless.is-app-subroute .app-overlay,
.theme-premium-v2.is-app-subroute .app-overlay {
  z-index: 3000;
}

.theme-premium-v2.is-app-subroute #subview-legal-privacy .app-subview__title,
.theme-premium-v2.is-app-subroute #subview-legal-terms .app-subview__title {
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-legal__meta,
.theme-premium-seamless.is-app-subroute .app-legal__text,
.theme-premium-seamless.is-app-subroute .app-legal__heading,
.theme-premium-seamless.is-app-subroute .app-legal__list,
.theme-premium-v2.is-app-subroute .app-legal__meta,
.theme-premium-v2.is-app-subroute .app-legal__text,
.theme-premium-v2.is-app-subroute .app-legal__heading,
.theme-premium-v2.is-app-subroute .app-legal__list {
  color: #444;
}

@media (max-width: 768px) {
  body.is-app-subroute .app-subviews {
    padding-top: calc(64px + env(safe-area-inset-top, 0px));
  }

  .app-login-stage {
    min-height: calc(100dvh - 108px - env(safe-area-inset-top, 0px));
    padding: 16px 0;
    align-items: center;
    justify-content: center;
  }

  .app-login-card__toolbar {
    margin-bottom: 14px;
  }

  .app-login-card__body {
    padding: 16px 22px 24px;
  }

  .stat-row { grid-template-columns: repeat(2, 1fr); }

  .app-subview__head {
    flex-wrap: wrap;
  }

  .app-subview__head--trail {
    align-items: flex-start;
  }

  .app-subview__back {
    margin-left: auto;
  }

  .app-subview__title {
    font-size: 18px;
  }

  .history-manage__row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .app-chip-btn {
    width: 100%;
  }

  .profile-grid--2 {
    grid-template-columns: 1fr;
  }

  .resume-grid--2 {
    grid-template-columns: 1fr;
  }

  .resume-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-actions,
  .profile-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .resume-actions .app-chip-btn,
  .profile-actions .app-chip-btn {
    width: 100%;
  }

  .consent-block__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-block__link {
    margin-left: 24px;
  }
}

/* ═══ 지원 완료(감사) 중간 페이지 ═══ */
body.is-app-subroute .app-subviews:has(#subview-thanks.is-active) {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.app-subview--thanks.is-active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  animation: appThanksIn 0.45s ease both;
}

@keyframes appThanksIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.app-thanks-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: auto;
}

.app-thanks-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.app-thanks-shell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.app-thanks-brand {
  font: 700 13px/1 'Noto Sans KR', sans-serif;
  letter-spacing: 0.06em;
}

.app-thanks-brand__logo {
  display: block;
  height: clamp(26px, 3.6vw, 30px);
  width: auto;
  opacity: 0.94;
}

.app-thanks-close {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: 500 12px/1 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.app-thanks-shell__body {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.app-thanks-media {
  min-width: 0;
}

.app-thanks-media__slot {
  width: 100%;
  height: 100%;
  min-height: 160px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.app-thanks-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 중간페이지 미디어 — test2 확정값 보관 / 현재 테스트 소스용 */
.app-subview--thanks {
  /* saved: test2.jpg */
  --thanks-media-filter-saved: brightness(1.18) saturate(0.45) sepia(0.1) hue-rotate(-12deg) contrast(0.97);
  --thanks-media-pos-a-saved: center 42%;
  --thanks-media-pos-b-saved: center 38%;
  --thanks-media-pos-c-saved: center 40%;
  --thanks-media-ratio-c-saved: 9 / 16;

  /* active: test3-display.jpg (정리본, 1:2) — CSS 필터 없음 */
  --thanks-media-filter: none;
  --thanks-media-pos-a: center 55%;
  --thanks-media-pos-b: center 52%;
  --thanks-media-pos-c: center 55%;
  --thanks-media-ratio-c: 1 / 2;
}

.app-thanks-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-thanks-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.app-thanks-catch-label {
  display: block;
  margin: 0 0 8px;
  font: 600 10px/1 'Noto Sans KR', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-thanks-catch {
  margin: 0;
  font: 500 15px/1.55 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
}

.app-thanks-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 11px;
  font: 600 11px/1 'Noto Sans KR', sans-serif;
  letter-spacing: 0.04em;
}

.app-thanks-title {
  margin: 0 0 12px;
  font: 700 clamp(26px, 3.4vw, 40px)/1.28 'Noto Sans KR', sans-serif;
  letter-spacing: -0.04em;
}

.app-thanks-lead {
  margin: 0 0 24px;
  font: 400 15px/1.7 'Noto Sans KR', sans-serif;
}

.app-thanks-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.app-thanks-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 14px 16px;
  font: 500 13px/1.25 'Noto Sans KR', sans-serif;
}

.app-thanks-step__n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.app-thanks-actions {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
}

.app-thanks-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: 600 14px/1 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.app-thanks-cta__arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: 1px;
}

.app-thanks-note {
  margin: 0;
  font: 400 12px/1.5 'Noto Sans KR', sans-serif;
}

/* ─────────────────────────────────────────────
   시안1 A — Seamless
   버건디 스테이지 + 중앙 대형 화이트 카드
   상단 바 제거, 메인으로는 카드 우측
───────────────────────────────────────────── */
.theme-premium-seamless.is-app-subroute .app-subviews:has(#subview-thanks.is-active) {
  background: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-subview--thanks .app-thanks-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vh, 32px) clamp(16px, 3vw, 28px);
  background: #912D32;
  color: #2a1517;
}

.theme-premium-seamless.is-app-subroute .app-thanks-shell {
  width: min(1080px, 100%);
  min-height: min(720px, calc(100% - 8px));
  max-height: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 18px 44px rgba(0, 0, 0, 0.18);
}

.theme-premium-seamless.is-app-subroute .app-thanks-shell__head {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: auto;
  justify-content: flex-end;
  padding: 0;
}

.theme-premium-seamless.is-app-subroute .app-thanks-brand {
  display: none;
}

.theme-premium-seamless.is-app-subroute .app-thanks-close {
  border-radius: 8px;
  border: 1px solid rgba(145, 45, 50, 0.18);
  background: #fff;
  color: #912D32;
  box-shadow: 0 4px 14px rgba(145, 45, 50, 0.08);
}

.theme-premium-seamless.is-app-subroute .app-thanks-close:hover {
  background: #912D32;
  border-color: #912D32;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-thanks-shell__body {
  grid-template-columns: minmax(200px, 0.72fr) minmax(320px, 1.28fr);
  flex: 1 1 auto;
  min-height: min(720px, calc(100dvh - 64px));
}

.theme-premium-seamless.is-app-subroute .app-thanks-media {
  position: relative;
  background: transparent;
  border-right: none;
  overflow: hidden;
}

.theme-premium-seamless.is-app-subroute .app-thanks-media__slot {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: transparent;
}

.theme-premium-seamless.is-app-subroute .app-thanks-media__img {
  /* test3 — 비율 유지, CSS 필터 없음 / 선명 렌더 */
  object-fit: cover;
  object-position: var(--thanks-media-pos-a);
  display: block;
  width: 100%;
  height: 100%;
  filter: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.theme-premium-seamless.is-app-subroute .app-thanks-content {
  justify-content: center;
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 52px);
  padding-top: clamp(52px, 6vw, 64px);
}

.theme-premium-seamless.is-app-subroute .app-thanks-catch-wrap {
  width: 100%;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.theme-premium-seamless.is-app-subroute .app-thanks-catch-label {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-thanks-catch {
  padding-left: 12px;
  border-left: 2px solid #912D32;
  color: #5a3a3c;
  font-size: 14px;
}

.theme-premium-seamless.is-app-subroute .app-thanks-badge {
  border-radius: 4px;
  background: rgba(145, 45, 50, 0.08);
  color: #912D32;
  border: 1px solid rgba(145, 45, 50, 0.14);
}

.theme-premium-seamless.is-app-subroute .app-thanks-title {
  color: #1f1214;
}

.theme-premium-seamless.is-app-subroute .app-thanks-lead {
  color: #666;
  max-width: 34em;
}

.theme-premium-seamless.is-app-subroute .app-thanks-steps {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #faf9f8;
}

.theme-premium-seamless.is-app-subroute .app-thanks-step {
  flex: 1 1 120px;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
}

.theme-premium-seamless.is-app-subroute .app-thanks-step:last-child {
  border-right: none;
}

.theme-premium-seamless.is-app-subroute .app-thanks-step__n {
  color: #912D32;
}

.theme-premium-seamless.is-app-subroute .app-thanks-step__t {
  color: #333;
}

.theme-premium-seamless.is-app-subroute .app-thanks-cta {
  padding: 13px 20px;
  border-radius: 8px;
  background: #912D32;
  color: #fff;
}

.theme-premium-seamless.is-app-subroute .app-thanks-cta:hover {
  background: #7a2428;
}

.theme-premium-seamless.is-app-subroute .app-thanks-note {
  color: #888;
}

/* ─────────────────────────────────────────────
   시안1 B — Orbit
───────────────────────────────────────────── */
.theme-premium-v2.is-app-subroute .app-subviews:has(#subview-thanks.is-active) {
  background: #efe9e7;
}

.theme-premium-v2.is-app-subroute .app-subview--thanks .app-thanks-stage {
  color: #2a1517;
  background:
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(145, 45, 50, 0.12), transparent 60%),
    radial-gradient(ellipse 35% 30% at 10% 90%, rgba(86, 44, 46, 0.07), transparent 55%),
    linear-gradient(165deg, #f7f2f0 0%, #ebe4e2 100%);
  justify-content: center;
  padding: clamp(20px, 3vh, 36px) clamp(20px, 4vw, 48px);
}

.theme-premium-v2.is-app-subroute .app-thanks-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 8px;
}

.theme-premium-v2.is-app-subroute .app-thanks-shell__head {
  padding: 0 4px 8px;
}

.theme-premium-v2.is-app-subroute .app-thanks-brand {
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-thanks-close {
  color: #6a4a4c;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(145, 45, 50, 0.1);
}

.theme-premium-v2.is-app-subroute .app-thanks-close:hover {
  background: #fff;
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-thanks-shell__body {
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.theme-premium-v2.is-app-subroute .app-thanks-media__slot {
  min-height: min(48vh, 380px);
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 340px;
  margin: 0 auto;
  background: #f0ebea;
  border: 1px solid rgba(145, 45, 50, 0.1);
}

.theme-premium-v2.is-app-subroute .app-thanks-media__img {
  object-fit: cover;
  object-position: var(--thanks-media-pos-b);
  filter: none;
  image-rendering: auto;
}

.theme-premium-v2.is-app-subroute .app-thanks-catch-wrap {
  width: 100%;
  margin-bottom: 22px;
}

.theme-premium-v2.is-app-subroute .app-thanks-catch-label {
  color: #912D32;
  opacity: 0.55;
}

.theme-premium-v2.is-app-subroute .app-thanks-catch {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: #8a3a3e;
}

.theme-premium-v2.is-app-subroute .app-thanks-badge {
  border-radius: 999px;
  background: rgba(145, 45, 50, 0.08);
  border: 1px solid rgba(145, 45, 50, 0.12);
  color: #912D32;
}

.theme-premium-v2.is-app-subroute .app-thanks-title { color: #2a1517; }
.theme-premium-v2.is-app-subroute .app-thanks-lead { color: #6a4a4c; }

.theme-premium-v2.is-app-subroute .app-thanks-steps { gap: 8px; }

.theme-premium-v2.is-app-subroute .app-thanks-step {
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(86, 44, 46, 0.05);
}

.theme-premium-v2.is-app-subroute .app-thanks-step__n { color: #912D32; opacity: 0.7; }
.theme-premium-v2.is-app-subroute .app-thanks-step__t { color: #4a3032; }

.theme-premium-v2.is-app-subroute .app-thanks-cta {
  padding: 13px 24px;
  border-radius: 999px;
  background: #912D32;
  color: #fff;
  box-shadow: 0 10px 24px rgba(145, 45, 50, 0.18);
}

.theme-premium-v2.is-app-subroute .app-thanks-cta:hover {
  background: #7a2428;
  transform: translateY(-1px);
}

.theme-premium-v2.is-app-subroute .app-thanks-note { color: #8a6a6c; }

/* ─────────────────────────────────────────────
   시안1 C — Aura
───────────────────────────────────────────── */
.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subviews:has(#subview-thanks.is-active) {
  background: #f3eee8;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-subview--thanks .app-thanks-stage {
  color: #2a221f;
  background:
    radial-gradient(circle at 80% 16%, rgba(145, 45, 50, 0.06), transparent 38%),
    #f3eee8;
  justify-content: center;
  padding: clamp(20px, 3vh, 36px) 20px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-shell {
  width: min(640px, 100%);
  margin: 0 auto;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-shell__head {
  width: 100%;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-brand {
  color: #912D32;
  letter-spacing: 0.1em;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-close {
  border-radius: 0;
  padding: 6px 0;
  border: none;
  border-bottom: 1px solid transparent;
  color: #6b5653;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-close:hover {
  color: #912D32;
  border-bottom-color: rgba(145, 45, 50, 0.35);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-shell__body {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-media {
  width: 100%;
  max-width: 320px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-media__slot {
  min-height: 0;
  aspect-ratio: var(--thanks-media-ratio-c);
  max-height: 300px;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid rgba(42, 34, 31, 0.08);
  background: #f4f2ef;
  overflow: hidden;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-media__img {
  object-fit: cover;
  object-position: var(--thanks-media-pos-c);
  filter: none;
  image-rendering: auto;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-content {
  align-items: center;
  width: 100%;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-main {
  align-items: center;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-catch-wrap {
  margin-bottom: 20px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-catch-label {
  color: #912D32;
  opacity: 0.5;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-catch {
  color: #8a5558;
  font-size: 14px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-catch br {
  display: none;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-badge {
  border-radius: 0;
  padding: 0 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(42, 34, 31, 0.12);
  background: none;
  color: #912D32;
  letter-spacing: 0.12em;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-title { color: #1f1715; }

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-lead {
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  color: #6a5a56;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-steps {
  justify-content: center;
  border-top: 1px solid rgba(42, 34, 31, 0.1);
  border-bottom: 1px solid rgba(42, 34, 31, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-step {
  flex: 1 1 0;
  align-items: center;
  padding: 16px 10px;
  border-right: 1px solid rgba(42, 34, 31, 0.1);
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-step:last-child {
  border-right: none;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-step__n {
  color: #912D32;
  opacity: 0.55;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-step__t {
  color: #5a4a46;
  font-size: 12px;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-actions {
  justify-content: center;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-cta {
  padding: 4px 2px 6px;
  border-bottom: 1.5px solid #912D32;
  color: #912D32;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-cta:hover {
  opacity: 0.7;
}

.theme-premium.is-app-subroute:not(.theme-premium-seamless):not(.theme-premium-v2) .app-thanks-note {
  color: #8a7872;
}

/* ─────────────────────────────────────────────
   시안2 — Glass / Warm Minimal
   풀페이지 + 단일 글래스 카드
───────────────────────────────────────────── */
.theme-sian2.is-app-subroute .app-subviews:has(#subview-thanks.is-active) {
  background: #EFEAE9;
}

.theme-sian2.is-app-subroute .app-subview--thanks .app-thanks-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2e2e2e;
  padding: clamp(20px, 3vh, 36px) clamp(20px, 4vw, 48px);
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 50% at 18% 20%, rgba(196, 21, 31, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 78%, rgba(240, 120, 110, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 70% 18%, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
    linear-gradient(165deg, #F2ECEB 0%, #EFEAE9 45%, #F5F2F1 100%);
  overflow: hidden;
}

.theme-sian2.is-app-subroute .app-subview--thanks .app-thanks-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 85%);
}

.theme-sian2.is-app-subroute .app-subview--thanks .app-thanks-stage::after {
  content: '';
  position: absolute;
  left: 12%;
  top: 30%;
  width: min(36vw, 400px);
  height: min(36vw, 400px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 21, 31, 0.14) 0%, transparent 70%);
  filter: blur(10px);
}

.theme-sian2.is-app-subroute .app-thanks-media {
  display: none;
}

.theme-sian2.is-app-subroute .app-thanks-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-width: none;
  flex: 0 1 auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.theme-sian2.is-app-subroute .app-thanks-shell::before {
  display: none;
}

/* 상단: 로고 + 메인으로 (카드 밖 얇은 바) */
.theme-sian2.is-app-subroute .app-thanks-shell__head {
  flex: 0 0 auto;
  margin: 0 0 16px;
  padding: 0 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-sian2.is-app-subroute .app-thanks-brand {
  display: flex;
  align-items: center;
}

.theme-sian2.is-app-subroute .app-thanks-brand__logo {
  height: clamp(28px, 4vw, 34px);
  width: auto;
  opacity: 0.96;
}

.theme-sian2.is-app-subroute .app-thanks-close {
  color: #555;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(17, 17, 17, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-sian2.is-app-subroute .app-thanks-close:hover {
  border-color: rgba(196, 21, 31, 0.28);
  color: #C4151F;
  background: rgba(255, 255, 255, 0.92);
}

.theme-sian2.is-app-subroute .app-thanks-shell__body {
  display: block;
  flex: 0 1 auto;
}

/* 단일 글래스 카드 */
.theme-sian2.is-app-subroute .app-thanks-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  align-items: stretch;
  gap: 0;
  padding: clamp(28px, 4vh, 40px) clamp(28px, 4vw, 44px) clamp(30px, 4vh, 40px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 56px rgba(17, 17, 17, 0.07),
    0 4px 16px rgba(17, 17, 17, 0.03);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-sizing: border-box;
}

.theme-sian2.is-app-subroute .app-thanks-catch-wrap {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-sian2.is-app-subroute .app-thanks-catch-label {
  color: rgba(196, 21, 31, 0.5);
  margin-bottom: 10px;
}

.theme-sian2.is-app-subroute .app-thanks-catch {
  color: #8a2a30;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.theme-sian2.is-app-subroute .app-thanks-catch br {
  display: none;
}

.theme-sian2.is-app-subroute .app-thanks-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-sian2.is-app-subroute .app-thanks-badge {
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(196, 21, 31, 0.09);
  border: 1px solid rgba(196, 21, 31, 0.14);
  color: #C4151F;
}

.theme-sian2.is-app-subroute .app-thanks-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  color: #1a1a1a;
  letter-spacing: -0.04em;
}

.theme-sian2.is-app-subroute .app-thanks-lead {
  margin: 0 0 26px;
  max-width: 36em;
  padding: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.theme-sian2.is-app-subroute .app-thanks-steps {
  width: 100%;
  margin: 0 0 26px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-sian2.is-app-subroute .app-thanks-step {
  flex: 1 1 0;
  padding: 16px 18px;
  border-right: 1px solid rgba(17, 17, 17, 0.06);
  gap: 8px;
}

.theme-sian2.is-app-subroute .app-thanks-step:last-child {
  border-right: none;
}

.theme-sian2.is-app-subroute .app-thanks-step__n {
  color: #C4151F;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.theme-sian2.is-app-subroute .app-thanks-step__t {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.theme-sian2.is-app-subroute .app-thanks-actions {
  margin: 0 0 12px;
  padding: 0;
}

.theme-sian2.is-app-subroute .app-thanks-cta {
  padding: 14px 26px;
  border-radius: 12px;
  background: #C4151F;
  color: #fff;
  box-shadow: 0 12px 28px rgba(196, 21, 31, 0.2);
}

.theme-sian2.is-app-subroute .app-thanks-cta:hover {
  background: #9e1119;
  transform: translateY(-1px);
}

.theme-sian2.is-app-subroute .app-thanks-note {
  padding: 0;
  color: #888;
}


@media (max-width: 900px) {
  .theme-premium-seamless.is-app-subroute .app-thanks-shell__body,
  .theme-premium-v2.is-app-subroute .app-thanks-shell__body {
    grid-template-columns: 1fr;
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-shell__body {
    min-height: 0;
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-media {
    border-right: none;
    border-bottom: none;
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-media__slot {
    min-height: min(42vw, 220px);
  }

  .theme-premium-v2.is-app-subroute .app-thanks-media__slot {
    max-width: 200px;
    min-height: 200px;
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-step {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-step:last-child {
    border-bottom: none;
  }

  .theme-sian2.is-app-subroute .app-thanks-content {
    padding: 24px 20px 26px;
  }

  .theme-sian2.is-app-subroute .app-thanks-catch-wrap {
    min-height: 0;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .theme-sian2.is-app-subroute .app-thanks-step {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  }

  .theme-sian2.is-app-subroute .app-thanks-step:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .theme-premium-seamless.is-app-subroute .app-thanks-content {
    padding: 48px 20px 28px;
  }

  .theme-premium-seamless.is-app-subroute .app-thanks-shell__head {
    top: 12px;
    right: 12px;
  }

  .theme-sian2.is-app-subroute .app-subview--thanks .app-thanks-stage {
    padding: 16px;
  }

  .theme-sian2.is-app-subroute .app-thanks-content {
    padding: 22px 18px 24px;
    border-radius: 20px;
  }

  .theme-sian2.is-app-subroute .app-thanks-catch-wrap,
  .theme-sian2.is-app-subroute .app-thanks-main {
    padding: 0;
    border-radius: 0;
  }

  .submit-area__row .submit-btn {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-subview.is-active,
  .app-subview--thanks.is-active { animation: none; }
}
