/* [학원 입점·원장 첫 사용] 등록 완료와 다음 업무를 한 영역에서 안내합니다. */
.setup-notice{padding:22px 24px;margin:0 0 24px;border:1px solid #dce7cf;border-radius:16px;background:#f1f6e9;color:#34482c;min-width:0}
.setup-notice h2,.setup-notice h3{margin:0 0 10px;line-height:1.5;font-size:1.12rem}
.setup-notice p{margin:8px 0;line-height:1.7}
.setup-notice .button-row{margin-top:16px}
.setup-notice a{overflow-wrap:anywhere}
.setup-guide{margin-bottom:28px}
.setup-guide .section-heading{gap:12px;align-items:center}
.setup-guide .section-heading h2{margin:0}
.setup-step-grid{list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.setup-step-grid li{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:20px;border:1px solid #e3e9dd;border-radius:14px;background:#fafcf7}
.setup-step-grid h3{margin:12px 0 0;font-size:1rem;line-height:1.5}
.setup-step-grid p{margin:10px 0 18px;line-height:1.7;color:var(--muted)}
.setup-step-grid .button{margin-top:auto}
.setup-guide .setup-optional{margin:18px 0 0}
.setup-optional a{text-decoration:underline;text-underline-offset:3px}

/* [원장 홈] 초기 설정이 하나 남으면 다음 단계만 보여 주고, 완료한 이력은 필요할 때 펼칩니다. */
.setup-resume {
  margin: 0 0 18px;
  padding: 14px 20px;
  border: 1px solid #dce7cf;
  border-radius: 16px;
  background: #f5f8ef;
}
.setup-resume-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.setup-resume h2 { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.setup-resume-action .button { max-width: 100%; white-space: normal; }
.setup-finished { margin-top: 4px; }
.setup-finished summary { width: fit-content; min-height: 28px; padding-block: 4px; color: #526548; cursor: pointer; }
.setup-finished p { margin: 4px 0; }

/* [원장 홈 모바일] 설정을 계속하는 동안 오늘의 업무 버튼이 첫 화면에 들어오게 합니다. */
@media (max-width: 768px) {
  .setup-resume { padding: 12px 16px; }
  .setup-resume ~ .welcome-stage .welcome-badge,
  .setup-resume ~ .welcome-stage .greeting,
  .setup-resume ~ .welcome-stage .welcome-description { display: none; }
  .setup-resume ~ .welcome-stage .welcome-content h1 { margin: 0 0 10px; }
  .setup-resume ~ .welcome-stage .button-row { margin-top: 0; }
}

/* [학원·계정·학생 입력] 필수 여부와 도움말을 입력 필드와 묶어 누락을 줄입니다. */
.setup-form-field{margin-bottom:22px;min-width:0}
.setup-field-label{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.setup-field-label label{margin:0}
.setup-field-kind{font-size:.73rem;color:#6b775f;white-space:nowrap}
.setup-form-field .helptext{display:block;margin-top:8px;line-height:1.7}
.setup-form-field .errorlist{margin:0 0 8px}
.setup-form-summary{padding:14px 16px;margin-bottom:20px;border:1px solid #ebd0c7;border-radius:12px;background:#fff7f2;color:#8a4432;line-height:1.6}
/* [첫 사용 준비] 선택할 자료가 없는 이유와 실제 준비 버튼을 입력 전에 보여줍니다. */
.form-prerequisites{padding:18px;margin:0 0 24px;border:1px solid #dce5d1;border-radius:14px;background:#f4f7ee;line-height:1.7}.form-prerequisite+.form-prerequisite{margin-top:16px;padding-top:16px;border-top:1px solid #dce5d1}.form-prerequisite p{margin:8px 0 12px}.form-prerequisite .button{max-width:100%;white-space:normal}
/* [입력 오류 요약] 오류 항목을 바로 선택하고 작은 화면에서도 넉넉하게 누릅니다. */
.setup-form-summary p{margin:8px 0}.setup-form-summary ul{margin:8px 0 0;padding-left:20px}.setup-form-summary ul:empty{display:none}.setup-form-summary a{display:inline-block;padding:7px 0;color:inherit;text-underline-offset:3px}.setup-form-summary:focus{outline:2px solid #a8654d;outline-offset:3px}.setup-form-field{scroll-margin-top:180px}
@media(max-width:768px){.setup-form-field{scroll-margin-top:100px}}

/* [첫 로그인 비밀번호 변경] 아직 사용할 수 없는 업무 메뉴 대신 보안 설정과 계정 전환에 집중합니다. */
.password-setup .header-navigation,.password-setup .mobile-menu-toggle,.password-setup .header-actions,.password-setup .global-search,.password-setup .workspace-label,.password-setup .mobile-context,.password-setup .context-bar,.password-setup .platform-subnav,.password-setup .category-navigation,.password-setup .page-toolbar{display:none!important}
.setup-switch-account{margin-top:14px}

/* [원장 학생 배정] 담당 강사와 배정 동작을 같은 셀 안에서 읽기 쉽게 묶습니다. */
.student-assignment{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.student-assignment .text-button{line-height:1.5;white-space:normal;text-align:left}
.teacher-student-actions{margin-bottom:24px}

/* [모바일 첫 사용] 안내 카드와 단계 버튼을 화면 폭에 맞게 배치합니다. */
@media(max-width:620px){
  .setup-notice{padding:18px}
  .setup-step-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .setup-step-grid li{padding:18px}
  .setup-step-grid .button{width:100%}
  .setup-guide .section-heading{flex-wrap:wrap}
}
