* {
  box-sizing: border-box;
}

:root {
  --primary: #2f8f83;
  --primary-dark: #20746a;
  --primary-light: #e8f7f4;
  --accent: #f6a623;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --danger: #e54848;
  --success: #16a34a;
  --radius: 18px;
  --shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  background: linear-gradient(135deg, #2f8f83, #58bfae);
  color: #fff;
  padding: 52px 24px;
}

.app-header > div {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.app-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.header-desc {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.92;
}

.container {
  max-width: 1180px;
  margin: -34px auto 80px;
  padding: 0 20px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.summary-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.summary-card strong {
  font-size: 30px;
}

.tab-menu {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 13px 18px;
  border-radius: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 28px 0 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.student-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.student-card,
.panel,
.form-card,
.detail-card,
.participant-list {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.student-card {
  padding: 24px;
}

.student-card-top,
.detail-head,
.participant-main,
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.student-code {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.student-card h3,
.detail-card h3 {
  margin: 0;
  font-size: 22px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: #c56a0b;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge.complete {
  background: #dcfce7;
  color: #15803d;
}

.student-stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.student-stat-list div,
.detail-stat-grid div {
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.student-stat-list span,
.detail-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 7px;
}

.student-stat-list strong,
.detail-stat-grid strong {
  font-size: 20px;
}

.progress-wrap {
  margin-top: 10px;
}

.progress-wrap.large {
  margin-top: 24px;
}

.progress-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.progress-label strong {
  color: var(--primary-dark);
}

.progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #67d5c6);
  border-radius: inherit;
  transition: width 0.3s ease;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 0;
  margin-top: 18px;
}

.panel {
  padding: 24px;
  margin-bottom: 20px;
}

label {
  font-weight: 700;
}

label span,
.agree-box strong {
  color: var(--danger);
}

.inline-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 15px;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 143, 131, 0.12);
}

.primary-btn,
.secondary-btn,
.danger-btn,
.submit-btn {
  border: 0;
  border-radius: 13px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.primary-btn,
.submit-btn {
  background: var(--primary);
  color: #fff;
}

.primary-btn:hover,
.submit-btn:hover {
  background: var(--primary-dark);
}

.secondary-btn {
  background: #eef2ff;
  color: #3730a3;
}

.danger-btn {
  background: #fee2e2;
  color: #b91c1c;
}

.help-text {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
  line-height: 1.5;
}

.review-form {
  display: grid;
  gap: 18px;
}

.form-card {
  padding: 26px;
}

.form-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.code-check-box {
  background: #f9fafb;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 15px;
  border-radius: 14px;
  line-height: 1.5;
}

.code-check-box.success {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.code-check-box.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-list label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f9fafb;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.check-list input,
.agree-box input {
  width: auto;
}

.agree-box {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f9fafb;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.submit-btn {
  width: 100%;
  padding: 17px;
  font-size: 17px;
}

.student-detail {
  margin-top: 20px;
}

.detail-card {
  padding: 26px;
  margin-bottom: 20px;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.participant-list {
  padding: 26px;
}

.participant-list h3 {
  margin: 0 0 18px;
}

.participant-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  background: #fff;
}

.participant-main strong {
  display: block;
  font-size: 18px;
}

.participant-main span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.participant-main em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

.complete-text {
  color: var(--success) !important;
}

.mini-progress-bar {
  height: 9px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0;
}

.mini-progress-bar div {
  height: 100%;
  background: var(--primary);
}

.participant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.participant-meta span {
  background: #f9fafb;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.empty-box {
  background: #fff;
  border: 1px dashed #cbd5e1;
  color: var(--muted);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
}

.error-text {
  color: var(--danger);
  border-color: #fecaca;
  background: #fef2f2;
}

.data-panel {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.export-output {
  width: 100%;
  min-height: 280px;
  margin-top: 16px;
  resize: vertical;
  font-family: monospace;
  font-size: 13px;
}

.app-footer {
  text-align: center;
  color: var(--muted);
  padding: 30px 20px 50px;
}

@media (max-width: 900px) {
  .summary-grid,
  .student-card-grid,
  .form-grid,
  .detail-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .student-stat-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .app-header {
    padding: 38px 20px 58px;
  }

  .container {
    margin-top: -28px;
    padding: 0 14px;
  }

  .summary-grid,
  .student-card-grid,
  .form-grid,
  .detail-stat-grid {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
  }

  .section-head {
    display: block;
  }

  .student-card-top,
  .detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .participant-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .tab-menu {
    border-radius: 14px;
  }

  .tab-btn {
    padding: 12px 14px;
  }

  .form-card,
  .panel,
  .detail-card,
  .participant-list,
  .student-card {
    padding: 20px;
  }
}
.hidden {
  display: none !important;
}

.code-gate {
  max-width: 720px;
  margin: 0 auto;
}

.code-gate-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.code-gate-label {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.code-gate-card h3 {
  margin: 0;
  font-size: 28px;
  color: var(--text);
}

.code-gate-card p {
  color: var(--muted);
  line-height: 1.6;
}

.code-gate-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.code-gate-form input {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.code-gate-message {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  display: none;
}

.code-gate-message.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.code-gate-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .code-gate-card {
    padding: 24px 20px;
  }

  .code-gate-form {
    flex-direction: column;
  }

  .code-gate-card h3 {
    font-size: 24px;
  }
}
.hidden {
  display: none !important;
}

/* 로그인 화면 */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
  background: linear-gradient(135deg, #2f8f83, #58bfae);
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.login-eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.login-card h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text);
}

.login-card > p {
  margin: 12px 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-message {
  display: none;
  padding: 13px;
  border-radius: 13px;
  font-weight: 700;
}

.login-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* 로그아웃 버튼 */
.logout-btn {
  margin-left: auto;
  border: 0;
  border-radius: 13px;
  padding: 13px 18px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 800;
  white-space: nowrap;
}

.logout-btn:hover {
  background: #e5e7eb;
}

/* QR 접속자 화면: 후기 작성만 표시 */
body.public-review-mode .admin-only,
body.public-review-mode .admin-section {
  display: none !important;
}

body.public-review-mode .tab-menu {
  justify-content: center;
}

body.public-review-mode .tab-btn[data-tab="reviewForm"] {
  background: var(--primary);
  color: #ffffff;
}

/* 고유번호 입력 전용 화면 */
.code-gate {
  max-width: 720px;
  margin: 0 auto;
}

.code-gate-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.code-gate-label {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.code-gate-card h3 {
  margin: 0;
  font-size: 28px;
  color: var(--text);
}

.code-gate-card p {
  color: var(--muted);
  line-height: 1.6;
}

.code-gate-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.code-gate-form input {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.code-gate-message {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  display: none;
}

.code-gate-message.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.code-gate-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .login-card {
    padding: 26px 20px;
  }

  .login-card h1 {
    font-size: 24px;
  }

  .code-gate-card {
    padding: 24px 20px;
  }

  .code-gate-form {
    flex-direction: column;
  }

  .logout-btn {
    margin-left: 0;
  }
}
/* =========================================================
   모바일 최적화 패치
   핸드폰 QR 접속자 / 실습생 / 관리자 사용성 개선
========================================================= */

/* 모바일에서 전체 여백 정리 */
@media (max-width: 768px) {
  body {
    background: #f5f7fb;
    font-size: 15px;
  }

  .app-header {
    padding: 28px 18px 42px;
  }

  .app-header h1 {
    font-size: 25px;
    line-height: 1.3;
    word-break: keep-all;
  }

  .header-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .container {
    width: 100%;
    margin: -22px auto 50px;
    padding: 0 12px;
  }

  .container.no-summary {
    margin-top: -22px;
  }

  /* 탭 메뉴 모바일 최적화 */
  .tab-menu {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    gap: 6px;
    padding: 8px;
    margin-bottom: 18px;
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex: 1;
    min-width: max-content;
    padding: 12px 13px;
    font-size: 13px;
    border-radius: 12px;
  }

  .logout-btn {
    padding: 12px 13px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* QR 접속자는 후기 작성만 쓰므로 탭 메뉴를 숨김 */
  body.public-review-mode .tab-menu {
    display: none !important;
  }

  /* QR 접속자 화면에서는 상단 헤더를 더 작게 */
  body.public-review-mode .app-header {
    padding: 22px 18px 36px;
  }

  body.public-review-mode .app-header h1 {
    font-size: 22px;
  }

  body.public-review-mode .header-desc {
    font-size: 13px;
  }

  body.public-review-mode .container {
    margin-top: -18px;
  }

  /* 섹션 제목 */
  .section-head {
    margin: 20px 0 14px;
  }

  .section-head h2 {
    font-size: 22px;
    line-height: 1.35;
    word-break: keep-all;
  }

  .section-head p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* 전체 카드 1열 배치 */
  .student-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .student-card {
    padding: 18px;
    border-radius: 18px;
  }

  .student-card-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .student-card h3 {
    font-size: 19px;
  }

  .student-code {
    font-size: 12px;
    padding: 5px 9px;
  }

  .status-badge {
    font-size: 12px;
    padding: 7px 10px;
  }

  .student-stat-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0;
  }

  .student-stat-list div {
    padding: 12px;
  }

  .student-stat-list span {
    font-size: 12px;
  }

  .student-stat-list strong {
    font-size: 18px;
  }

  /* 수강생 조회 */
  .panel {
    padding: 18px;
    border-radius: 18px;
  }

  .inline-form {
    flex-direction: column;
    gap: 8px;
  }

  .inline-form input,
  .inline-form button {
    width: 100%;
  }

  /* 고유번호 입력 첫 화면 */
  .code-gate {
    max-width: 100%;
  }

  .code-gate-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .code-gate-label {
    font-size: 11px;
  }

  .code-gate-card h3 {
    font-size: 24px;
    line-height: 1.3;
  }

  .code-gate-card p {
    font-size: 14px;
    line-height: 1.55;
    word-break: keep-all;
  }

  .code-gate-form {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .code-gate-form input {
    height: 56px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .code-gate-form button {
    width: 100%;
    height: 54px;
    font-size: 16px;
  }

  .code-gate-message {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 설문폼 카드 */
  .review-form {
    gap: 14px;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .form-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 7px;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    font-size: 16px;
    border-radius: 13px;
    padding: 13px 14px;
  }

  textarea {
    min-height: 130px;
    line-height: 1.5;
  }

  select {
    background-color: #ffffff;
  }

  .help-text {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .code-check-box {
    font-size: 14px;
    line-height: 1.5;
    padding: 14px;
  }

  /* 체크박스 영역 터치하기 쉽게 */
  .check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .check-list label {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    border-radius: 13px;
    font-size: 14px;
  }

  .check-list input {
    width: 18px;
    height: 18px;
  }

  .agree-box {
    align-items: flex-start;
    padding: 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .agree-box input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  /* 제출 버튼 모바일에서 크게 */
  .submit-btn {
    width: 100%;
    min-height: 56px;
    font-size: 17px;
    border-radius: 15px;
  }

  .primary-btn,
  .secondary-btn,
  .danger-btn {
    min-height: 50px;
    font-size: 15px;
  }

  /* 상세 조회 화면 */
  .detail-card,
  .participant-list {
    padding: 18px;
    border-radius: 18px;
  }

  .detail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .detail-card h3 {
    font-size: 20px;
  }

  .detail-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .detail-stat-grid div {
    padding: 12px;
  }

  .detail-stat-grid span {
    font-size: 12px;
  }

  .detail-stat-grid strong {
    font-size: 18px;
  }

  .participant-list h3 {
    font-size: 19px;
  }

  .participant-row {
    padding: 15px;
    border-radius: 15px;
  }

  .participant-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .participant-main strong {
    font-size: 17px;
  }

  .participant-main em {
    font-size: 14px;
  }

  .participant-meta {
    gap: 6px;
  }

  .participant-meta span {
    font-size: 12px;
    border-radius: 999px;
  }

  .app-footer {
    font-size: 12px;
    padding: 24px 16px 36px;
  }
}

/* 아주 작은 핸드폰 화면 대응 */
@media (max-width: 420px) {
  .app-header h1 {
    font-size: 22px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .code-gate-card h3 {
    font-size: 22px;
  }

  .form-card {
    padding: 18px 14px;
  }

  .student-card {
    padding: 17px 15px;
  }

  .detail-stat-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* 아이폰에서 input 확대 방지용 */
@supports (-webkit-touch-callout: none) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
/* 연속 실습 안내 박스 */
.continuity-notice {
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.continuity-notice strong {
  display: block;
  color: #166534;
  font-size: 16px;
  margin-bottom: 6px;
}

.continuity-notice p {
  margin: 0;
  color: #166534;
  font-size: 14px;
  line-height: 1.6;
}

/* 회차별 변화 체크리스트 */
.vertical-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vertical-check-list label {
  border-radius: 14px;
  padding: 12px 14px;
  background: #f9fafb;
}

/* 모바일에서는 한 줄씩 크게 */
@media (max-width: 768px) {
  .continuity-notice {
    padding: 15px;
    margin-bottom: 18px;
  }

  .continuity-notice strong {
    font-size: 15px;
  }

  .continuity-notice p {
    font-size: 13.5px;
    word-break: keep-all;
  }

  .vertical-check-list {
    grid-template-columns: 1fr;
  }

  .vertical-check-list label {
    width: 100%;
    padding: 13px 14px;
  }
}
.saved-participant-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.saved-participant-box label {
  display: block;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.participant-load-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.participant-load-row select {
  width: 100%;
}

.small-btn {
  min-width: 92px;
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}

.outline-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.outline-btn:hover {
  background: #f1f5f9;
}

input[readonly] {
  background: #f1f5f9;
  color: #475569;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .saved-participant-box {
    padding: 14px;
    margin-bottom: 18px;
  }

  .participant-load-row {
    grid-template-columns: 1fr;
  }

  .small-btn {
    width: 100%;
    height: 50px;
    font-size: 15px;
  }
}
.public-review-head {
  margin-bottom: 18px;
}

.review-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0f766e;
  margin-bottom: 8px;
}

.code-gate-card {
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.code-gate-card h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #111827;
}

.code-gate-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #0f766e;
  margin-bottom: 14px;
}

.trust-notice {
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 15px 16px;
  margin-bottom: 18px;
}

.trust-notice strong {
  display: block;
  color: #0f766e;
  font-size: 15px;
  margin-bottom: 6px;
}

.trust-notice p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

.gate-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

#gateStudentCode {
  height: 64px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.18em;
  border-radius: 18px;
}

#gateStudentCode::placeholder {
  color: #94a3b8;
  font-size: 18px;
  letter-spacing: 0;
}

#gateStudentBtn {
  height: 58px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 18px;
}

@media (max-width: 768px) {
  .app-header {
    padding: 28px 22px;
  }

  .app-header h1 {
    font-size: 25px;
    line-height: 1.3;
  }

  .header-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .section-head h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-head p {
    font-size: 15px;
    line-height: 1.7;
  }

  .code-gate-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .code-gate-card h3 {
    font-size: 27px;
  }

  .trust-notice {
    padding: 15px;
    border-radius: 15px;
  }

  .code-gate-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #gateStudentCode {
    width: 100%;
    height: 66px;
    font-size: 26px;
  }

  #gateStudentBtn {
    width: 100%;
    height: 62px;
    font-size: 18px;
  }
}
/* 모바일 체크박스 영역 높이 조정 */
@media (max-width: 768px) {
  .check-list {
    gap: 10px;
  }

  .check-list label {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
  }

  .check-list input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .vertical-check-list {
    gap: 10px;
  }

  .vertical-check-list label {
    min-height: auto;
    padding: 14px 16px;
  }
}
/* 모바일 체크박스 영역 컴팩트 버전 */
@media (max-width: 768px) {
  .check-list {
    gap: 8px;
  }

  .check-list label {
    min-height: auto !important;
    padding: 12px 14px !important;
    border-radius: 13px;
    font-size: 15px;
    line-height: 1.35;
    display: flex;
    align-items: center;
  }

  .check-list input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .vertical-check-list {
    gap: 8px;
  }

  .vertical-check-list label {
    min-height: auto !important;
    padding: 12px 14px !important;
  }
}
