@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --ink: #161616;
  --muted: #6b7280;
  --line: #e5e9f0;
  --soft: #f6f8fb;
  --panel: #ffffff;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --mint: #0ea5a4;
  --yellow: #f2b84b;
  --red: #d85d4a;
  --accent: #D4FF61;
  --accent-soft: #efffc2;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.12);
  --sidebar: #000000;
  --canvas: #000000;
  --content-width: 1180px;
}

#admin .course-chip.agency-aida {
  color: #ff9a3d;
  border-color: rgba(255, 154, 61, 0.55);
  background: rgba(255, 154, 61, 0.16);
}

#admin .course-chip.agency-padi {
  color: #3dbeff;
  border-color: rgba(61, 190, 255, 0.55);
  background: rgba(61, 190, 255, 0.16);
}

#admin .course-chip.agency-\C720\C2A4\ACFC\C815 {
  color: #ffe36a;
  border-color: rgba(255, 227, 106, 0.55);
  background: rgba(255, 227, 106, 0.16);
}

#admin .course-chip.agency-ksu {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.55);
  background: rgba(255, 107, 107, 0.16);
}

#admin .course-chip.agency-efr {
  color: #5ee27f;
  border-color: rgba(94, 226, 127, 0.55);
  background: rgba(94, 226, 127, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Pretendard", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
}

.mobile-topbar,
.mobile-menu-overlay {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  padding: 0 max(24px, calc((100% - var(--content-width)) / 2));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #707070;
  border: 0;
  border-bottom: 0.5px solid #2a2a2a;
  border-radius: 0;
  background: var(--sidebar);
  box-shadow: none;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 0;
  border-bottom: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 10px;
  letter-spacing: 0;
}

.brand small {
  display: none;
}

.nav-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-logo {
  display: block;
  width: 119px;
  height: 29px;
  object-fit: contain;
}

.side-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0px, 0.35vw, 6px);
}

.nav-item {
  width: auto;
  height: 30px;
  min-height: 30px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #707070;
  background: transparent;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.nav-item span {
  display: none;
  flex: 0 0 auto;
  width: auto;
  text-align: center;
  color: currentColor;
}

.nav-item.active,
.nav-item:hover {
  color: #ffffff;
  background: #24262d;
}

.login-box {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
}

.login-box::before {
  content: "|";
  width: 0.5px;
  height: 18px;
  color: transparent;
  background: #2a2a2a;
  font-size: 0;
  line-height: 0;
}

.login-box p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.login-info {
  display: block;
  min-height: 0;
}

.login-name {
  display: block;
  margin-bottom: 0;
  color: #0c8ec4;
  background: linear-gradient(135deg, #ffffff 0%, #0c8ec4 54%, #003a5d 100%);
  background-size: 180% 180%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.login-info {
  cursor: pointer;
}

.login-welcome,
.login-course,
.login-status {
  margin: 6px 0 0;
}

.login-course {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  margin: 12px 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #161616;
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

.page > main {
  flex: 1;
}

.section-heading,
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.28;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 22px;
}

#mypage .eyebrow,
#schedule .eyebrow,
#apply .eyebrow,
#admin .eyebrow,
#profileEdit .eyebrow {
  color: #0c8ec4;
  background: linear-gradient(135deg, #ffffff 0%, #0c8ec4 54%, #003a5d 100%);
  background-size: 180% 180%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#mypage-title,
#schedule-title,
#apply-title,
#admin-title,
#profile-edit-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
}

#mypage .panel-header h2,
#schedule .panel-header h2,
#apply .panel-header h2,
#admin .panel-header h2 {
  font-size: 14px;
}

#openProfileEdit {
  min-height: 30px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #707070;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

#openProfileEdit:hover {
  color: #ffffff;
  background: #24262d;
  transform: none;
}

#mypage .mypage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#mypage .panel {
  border: 0.5px solid #2a2a2a;
  color: #e7e9f1;
  background: #050609;
  box-shadow: none;
}

#mypage .level-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(12, 142, 196, 0.13)),
    #050609;
}

#mypage .level-panel .panel-header h2 {
  color: #0c8ec4;
  background: linear-gradient(135deg, #ffffff 0%, #0c8ec4 54%, #003a5d 100%);
  background-size: 180% 180%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#mypage .level-name {
  color: #ffffff !important;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 760;
}

#mypage .level-agency {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

#mypage .level-summary {
  border: 0;
  color: #ffffff;
  background: transparent;
}

#mypage .level-summary p,
#mypage .progress-item p,
#mypage .session-item p,
#mypage td {
  color: #a5aab7;
}

#mypage .progress-item,
#mypage .session-item {
  padding: 14px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #090b10;
}

#mypage .session-list {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

#mypage .progress-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

#mypage .level-summary {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

#mypage .session-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: stretch;
}

#mypage .session-item > div {
  min-width: 0;
}

.session-cancel-button {
  align-self: flex-end;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid #f0f0f0;
  border-radius: 999px;
  color: #000000;
  background: #f0f0f0;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.session-cancel-button:hover {
  border-color: #ffffff;
  background: #ffffff;
}

#mypage .session-item strong,
#mypage th,
#mypage .item-title {
  color: #f7f8fb;
}

#mypage table {
  color: #e7e9f1;
}

#mypage th,
#mypage td {
  border-bottom-color: #2a2a2a;
}

#mypage .badge {
  color: #dff6ff;
  border: 0.5px solid rgba(12, 142, 196, 0.5);
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.26), rgba(0, 58, 93, 0.62));
}

#mypage .badge.open,
#mypage .badge.pass {
  border-color: rgba(61, 190, 255, 0.64);
  background: linear-gradient(135deg, rgba(31, 168, 224, 0.34), rgba(0, 80, 128, 0.72));
}

#mypage .badge.wait,
#mypage .badge.pending {
  border-color: rgba(90, 137, 180, 0.48);
  background: linear-gradient(135deg, rgba(42, 92, 132, 0.26), rgba(6, 38, 68, 0.62));
}

#mypage .badge.closed,
#mypage .badge.fail {
  border-color: rgba(75, 102, 126, 0.44);
  color: #dff6ff;
  background: linear-gradient(135deg, rgba(21, 55, 84, 0.3), rgba(5, 20, 34, 0.72));
}

#schedule .panel,
#apply .panel,
#admin .panel,
#profileEdit .auth-card,
#schedule .calendar-day,
#apply .calendar-day,
#admin .calendar-day,
#schedule .class-item,
#apply .apply-schedule-item,
#apply .criteria-item,
#admin .student-card,
#admin .admin-mode-button {
  border: 0.5px solid #2a2a2a;
  color: #e7e9f1;
  background: #050609;
  box-shadow: none;
}

#schedule .calendar-day,
#apply .calendar-day,
#admin .calendar-day,
#schedule .class-item,
#apply .apply-schedule-item,
#apply .criteria-item,
#admin .student-card {
  background: #090b10;
}

#schedule .calendar-day.muted,
#apply .calendar-day.muted,
#admin .calendar-day.muted {
  background: #06070a;
}

#schedule .weekday,
#apply .weekday,
#admin .weekday {
  color: #a5aab7;
  border: 0.5px solid #2a2a2a;
  background: #050609;
}

#schedule .calendar-date,
#apply .calendar-date,
#admin .calendar-date,
#schedule .month-controls strong,
#apply .item-title,
#admin .item-title,
#admin .student-card strong {
  color: #f7f8fb;
}

#schedule .calendar-day.outside-month .calendar-date,
#apply .calendar-day.outside-month .calendar-date,
#admin .calendar-day.outside-month .calendar-date,
#schedule .item-meta,
#apply .apply-schedule-item p,
#apply .criteria-item p,
#admin .student-card p,
#admin .list-count,
#admin td {
  color: #a5aab7;
}

#schedule .calendar-day:hover,
#apply .calendar-day:hover,
#admin .calendar-day:hover,
#apply .apply-schedule-item:hover,
#admin .student-card:hover,
#admin .student-card.selected,
#admin .admin-mode-button:hover {
  border-color: rgba(12, 142, 196, 0.45);
  background: #0d1218;
}

#schedule .calendar-day:hover .calendar-date,
#apply .calendar-day:hover .calendar-date,
#admin .calendar-day:hover .calendar-date {
  color: #3dbeff;
}

#schedule .weekday.saturday,
#schedule .calendar-day.saturday .calendar-date {
  color: #3dbeff;
}

#schedule .weekday.sunday,
#schedule .calendar-day.sunday .calendar-date {
  color: #ff6b6b;
}

#schedule .month-controls strong {
  color: #f7f8fb;
  font-size: 20px;
  font-weight: 700;
}

#schedule .month-arrow {
  color: #a5aab7;
}

#schedule .month-arrow:hover {
  color: #ffffff;
}

#schedule .calendar-grid,
#apply .calendar-grid {
  gap: 10px;
  padding: 10px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #030406;
}

#schedule .calendar-day,
#apply .calendar-day {
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #090b10;
}

#schedule .calendar-day.muted,
#apply .calendar-day.muted {
  border-color: #202226;
  background: #06070a;
}

#schedule .calendar-day:hover,
#apply .calendar-day:hover {
  border-color: rgba(12, 142, 196, 0.45);
}

#apply .weekday.saturday,
#apply .calendar-day.saturday .calendar-date {
  color: #3dbeff;
}

#apply .weekday.sunday,
#apply .calendar-day.sunday .calendar-date {
  color: #ff6b6b;
}

#admin .weekday.saturday,
#admin .calendar-day.saturday .calendar-date {
  color: #3dbeff;
}

#admin .weekday.sunday,
#admin .calendar-day.sunday .calendar-date {
  color: #ff6b6b;
}

#schedule .calendar-event,
#apply .calendar-event,
#admin .mini-calendar-event {
  border-left-color: #0c8ec4;
  color: #dff6ff;
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.22), rgba(0, 58, 93, 0.42));
}

#schedule .calendar-event.theory,
#apply .calendar-event.theory,
#admin .mini-calendar-event.theory {
  border-left-color: #3dbeff;
  background: linear-gradient(135deg, rgba(61, 190, 255, 0.2), rgba(6, 38, 68, 0.52));
}

#schedule .badge,
#apply .badge,
#admin .badge {
  color: #dff6ff;
  border: 0.5px solid rgba(12, 142, 196, 0.5);
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.26), rgba(0, 58, 93, 0.62));
}

#mypage .session-list,
#mypage .progress-list,
#mypage .level-summary,
#admin .student-cards,
#schedule .calendar-grid,
#apply .calendar-grid,
#admin .calendar-grid {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a #050609;
}

#mypage .session-list::-webkit-scrollbar,
#mypage .progress-list::-webkit-scrollbar,
#mypage .level-summary::-webkit-scrollbar,
#admin .student-cards::-webkit-scrollbar,
#schedule .calendar-grid::-webkit-scrollbar,
#apply .calendar-grid::-webkit-scrollbar,
#admin .calendar-grid::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#mypage .session-list::-webkit-scrollbar-track,
#mypage .progress-list::-webkit-scrollbar-track,
#mypage .level-summary::-webkit-scrollbar-track,
#admin .student-cards::-webkit-scrollbar-track,
#schedule .calendar-grid::-webkit-scrollbar-track,
#apply .calendar-grid::-webkit-scrollbar-track,
#admin .calendar-grid::-webkit-scrollbar-track {
  background: #050609;
}

#mypage .session-list::-webkit-scrollbar-thumb,
#mypage .progress-list::-webkit-scrollbar-thumb,
#mypage .level-summary::-webkit-scrollbar-thumb,
#admin .student-cards::-webkit-scrollbar-thumb,
#schedule .calendar-grid::-webkit-scrollbar-thumb,
#apply .calendar-grid::-webkit-scrollbar-thumb,
#admin .calendar-grid::-webkit-scrollbar-thumb {
  border: 0.5px solid #2a2a2a;
  border-radius: 999px;
  background: #11141b;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.view:not(#home) {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 34px;
}

#home {
  color: #ffffff;
  background: #000000;
}

#home > :not(.home-hero):not(.depth-indicator) {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.home-hero {
  position: relative;
  --hero-image-scale: 1;
  --hero-image-dim: 1;
  --hero-counter-progress: 0;
  --hero-counter-color: rgb(255, 255, 255);
  --depth-progress: 0;
  min-height: calc(100vh - 70px);
  height: min(954px, calc(100vh - 70px));
  overflow: hidden;
  background: #000000;
  isolation: isolate;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000000 82%);
  z-index: 3;
  pointer-events: none;
}

.home-hero-copy {
  position: absolute;
  left: clamp(28px, 18.6vw, 268px);
  top: clamp(58px, 7.4vw, 106px);
  z-index: 2;
}

.home-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(50px, 6.4vw, 92px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-hero-copy span {
  display: block;
}

.home-hero-media {
  position: absolute;
  left: max(24px, calc((100% - var(--content-width)) / 2));
  top: 0;
  z-index: 1;
  width: min(598px, 48vw);
  height: min(748px, 100%);
  margin: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(var(--hero-image-dim));
  transform: scale(var(--hero-image-scale));
  transform-origin: center top;
  will-change: transform;
}

.home-member-counter {
  position: absolute;
  right: max(64px, calc((100% - var(--content-width)) / 2 + 64px));
  bottom: clamp(14px, calc(5vh - 16px), 56px);
  z-index: 4;
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
  opacity: var(--hero-counter-progress);
  transform: translateY(calc(18px - var(--hero-counter-progress) * 18px));
}

.home-principles {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principle-card {
  position: relative;
  min-height: 560px;
  padding: clamp(22px, 3.4vw, 38px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  color: #ffffff;
  background: #101011;
}

.principle-card::after {
  content: none;
}

.principle-line-art {
  width: min(330px, 82%);
  aspect-ratio: 1;
  margin: 24px auto 0;
  display: block;
  overflow: visible;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-line-art .line-layer {
  transform-box: fill-box;
  transform-origin: center;
}

.principle-line-art .art-muted {
  opacity: 0.28;
}

.principle-line-art .art-dashed {
  stroke-dasharray: 4 8;
  opacity: 0.58;
}

.principle-line-art .art-dot {
  fill: #ffffff;
  stroke: none;
}

.principle-line-art .art-dot-outline {
  fill: none;
}

.train-abstract .line-layer {
  animation: trainLineImage 9s ease-in-out infinite;
}

.train-abstract .art-main {
  animation: trainArcShift 8s ease-in-out infinite;
}

.train-abstract .art-arrow {
  animation: trainArrowSlide 9s ease-in-out infinite;
}

.train-abstract .art-dashed {
  animation: trainDash 7s linear infinite;
}

.dive-abstract .art-main {
  animation: diveWaveRest 8s ease-in-out infinite;
}

.dive-abstract .art-arrow {
  animation: diveDropLine 7s ease-in-out infinite;
}

.dive-abstract .art-dashed {
  animation: diveDashFall 6s linear infinite;
}

.dive-abstract .art-dot,
.dive-abstract circle {
  animation: diveDotFloat 7.5s ease-in-out infinite;
}

.progress-abstract .line-layer {
  animation: progressLineImage 10s ease-in-out infinite;
}

.progress-abstract .art-main {
  animation: progressOrbitFloat 9s ease-in-out infinite;
}

.progress-abstract .art-arrow {
  animation: progressAxisLift 8s ease-in-out infinite;
}

.progress-abstract .art-dashed {
  animation: progressDashTurn 8s linear infinite;
}

.progress-abstract .art-dot-outline {
  animation: progressDotFloat 7s ease-in-out infinite;
}

.principle-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.principle-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.principle-copy strong {
  width: fit-content;
  padding-top: 22px;
  border-top: 0.5px solid #2a2a2a;
  color: #f7f8fb;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.principle-copy p {
  max-width: 360px;
  margin: 0;
  color: #8f96a6;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
}

.home-lyric-section {
  --lyric-progress: 0;
  --lyric-sticky-min: 92;
  --lyric-scroll-factor: 1.15;
  --lyric-scroll-min: 0.55;
  position: relative;
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 260vh;
  margin: 0 auto;
  padding: 36px 0 150vh;
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.lyric-progress {
  position: sticky;
  top: var(--lyric-sticky-top, 104px);
  width: 1px;
  height: calc(var(--lyric-height, 320) * 1px);
  background: #1f2024;
  overflow: hidden;
}

.lyric-progress span {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: calc(var(--lyric-progress) * 100%);
  background: #ffffff;
}

.lyric-copy {
  position: sticky;
  top: var(--lyric-sticky-top, 104px);
  margin: 0;
  max-width: 100%;
  color: #1f2024;
  font-size: clamp(24px, 3.35vw, 52px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.lyric-line {
  --line-progress: clamp(0, calc(var(--lyric-progress) * 4 - var(--line-index)), 1);
  position: relative;
  display: block;
}

.lyric-base,
.lyric-fill {
  display: block;
}

.lyric-fill {
  position: absolute;
  inset: 0;
  color: #ffffff;
  clip-path: inset(0 calc((1 - var(--line-progress)) * 100%) 0 0);
}

@keyframes trainLineImage {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(3px, -5px, 0) rotate(1deg); }
}

@keyframes trainArcShift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
  50% { transform: translate3d(-3px, 3px, 0); opacity: 0.82; }
}

@keyframes trainArrowSlide {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(7px, -7px, 0); }
}

@keyframes trainDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -36; }
}

@keyframes diveWaveRest {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(0, 5px, 0);
    opacity: 1;
  }
}

@keyframes diveDropLine {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 8px, 0); }
}

@keyframes diveDashFall {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 28; }
}

@keyframes diveDotFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.9; }
  50% { transform: translate3d(0, -6px, 0); opacity: 0.55; }
}

@keyframes progressLineImage {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -5px, 0) rotate(-1deg); }
}

@keyframes progressOrbitFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
  50% { transform: translate3d(5px, -3px, 0); opacity: 0.78; }
}

@keyframes progressAxisLift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

@keyframes progressDashTurn {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -32; }
}

@keyframes progressDotFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.9; }
  50% { transform: translate3d(-8px, -6px, 0); opacity: 0.58; }
}

.home-member-counter strong {
  display: block;
  color: var(--hero-counter-color);
  background: linear-gradient(135deg, #ffffff 0%, #0c8ec4 54%, #003a5d 100%);
  background-size: 180% 180%;
  background-position: calc((1 - var(--hero-counter-progress)) * 100%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(52px, 6.8vw, 98px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: 0;
  -webkit-text-fill-color: transparent;
}

.home-member-counter span {
  color: #ffffff;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.depth-indicator {
  position: fixed;
  right: 16px;
  top: calc(90px + (100vh - 180px) * var(--depth-progress));
  z-index: 900;
  width: 28px;
  min-height: 112px;
  display: grid;
  justify-items: end;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.depth-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 0.5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(12, 142, 196, 0.72), rgba(255, 255, 255, 0));
}

.depth-indicator span {
  position: relative;
  padding: 4px 0;
  color: #6aaecf;
  background: transparent;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0;
}

.hero-band,
.panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.dashboard-calendar {
  margin-top: 46px;
  margin-bottom: 14px;
}

#home .dashboard-calendar {
  border-color: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  background: #08090d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

#home .dashboard-calendar .panel-header {
  margin-bottom: 18px;
}

#home .dashboard-calendar h2 {
  color: #f7f8fb;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 720;
  line-height: 1.16;
}

#home .dashboard-calendar .outline-button {
  color: #d7d9e2;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

#home .dashboard-calendar .outline-button:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-band {
  min-height: 176px;
  margin-bottom: 14px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 85, 121, 0.95), rgba(11, 127, 171, 0.88)),
    linear-gradient(90deg, #075579, #0b7fab);
}

.hero-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-band h2 {
  max-width: 620px;
  font-size: clamp(24px, 3vw, 38px);
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-stats span {
  min-width: 104px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.hero-stats strong {
  display: block;
  color: #ffffff;
  font-size: 30px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.metric-card {
  min-height: 126px;
  padding: 20px;
  display: grid;
  align-content: space-between;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
}

.metric-card strong {
  font-size: 32px;
  line-height: 1;
}

.metric-card.highlight {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(215, 255, 69, 0.55), rgba(255, 255, 255, 0.9)),
    #ffffff;
}

.metric-card.highlight span,
.metric-card.highlight small {
  color: var(--muted);
}

#home .metric-grid {
  margin-top: 16px;
}

#home .metric-card,
#home .content-grid .panel {
  border-color: rgba(255, 255, 255, 0.1);
  color: #e7e9f1;
  background: #08090d;
  box-shadow: none;
}

#home .metric-card.highlight {
  background: linear-gradient(135deg, rgba(212, 255, 97, 0.16), rgba(255, 255, 255, 0.035)), #08090d;
}

#home .metric-card span,
#home .metric-card small,
#home .content-grid .eyebrow {
  color: #8d93a5;
  font-size: 12px;
  font-weight: 620;
}

#home .metric-card strong {
  color: #f6f7fb;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 720;
}

#home .content-grid h2 {
  color: #f6f7fb;
  font-size: 20px;
  font-weight: 720;
}

.content-grid,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: 16px;
  margin-bottom: 16px;
}

.content-grid .wide {
  min-width: 0;
}

.panel {
  min-width: 0;
  padding: 24px;
}

.panel-header {
  margin-bottom: 16px;
  align-items: center;
}

.class-list,
.notice-list,
.criteria-list,
.progress-list,
.student-cards {
  display: grid;
  gap: 10px;
}

.class-item,
.notice-list article,
.criteria-item,
.progress-item,
.student-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.class-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.date-chip {
  min-height: 64px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: #eff6ff;
  font-weight: 900;
}

.date-chip span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.item-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}

.item-meta,
.notice-list p,
.criteria-item p,
.progress-item p,
.student-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e4f3fa;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.open,
.badge.pass {
  color: #161616;
  background: var(--accent);
}

.badge.wait,
.badge.pending {
  color: #8a5c00;
  background: #fff1cf;
}

.badge.closed,
.badge.fail {
  color: #983e30;
  background: #ffe3dd;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.schedule-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.month-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.month-controls strong {
  min-width: 116px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.month-arrow {
  width: 30px;
  height: 30px;
  border: 0;
  color: #a5aab7;
  background: transparent;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.month-arrow:hover {
  color: #ffffff;
}

.month-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  min-height: 136px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.weekday {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #64748b;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.weekday.sunday {
  color: #ff6b6b;
}

.weekday.saturday {
  color: #3dbeff;
}

.mini-calendar-day {
  min-height: 104px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.calendar-day.muted,
.mini-calendar-day.muted {
  background: #f8fafc;
}

.calendar-day.outside-month {
  opacity: 0.58;
}

.mini-calendar-day.outside-month {
  opacity: 0.58;
}

.calendar-date {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
}

.calendar-day.outside-month .calendar-date {
  color: var(--muted);
}

.calendar-day.sunday .calendar-date {
  color: #ff6b6b;
}

.calendar-day.saturday .calendar-date {
  color: #3dbeff;
}

.mini-calendar-day.sunday .calendar-date {
  color: #D4FF61;
}

.mini-calendar-day.saturday .calendar-date {
  color: #DAECA9;
}

.mini-calendar-day:hover .calendar-date {
  color: #D4FF61;
}

#home .mini-calendar-grid {
  gap: 6px;
}

#home .weekday {
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #8b90a0;
  background: transparent;
  font-size: 11px;
  font-weight: 650;
}

#home .weekday.sunday {
  color: #c5d887;
}

#home .weekday.saturday {
  color: #aebc87;
}

#home .mini-calendar-day {
  min-height: 112px;
  border-color: rgba(255, 255, 255, 0.085);
  border-radius: 6px;
  background: #0d0f14;
  color: #d8dbe5;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

#home .mini-calendar-day.muted {
  background: #0a0b0f;
}

#home .mini-calendar-day.outside-month {
  opacity: 0.38;
}

#home .mini-calendar-day:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #11141b;
  transform: translateY(-1px);
}

#home .calendar-date {
  color: #dfe2ea;
  font-size: 12px;
  font-weight: 720;
}

#home .mini-calendar-day.sunday .calendar-date,
#home .mini-calendar-day:hover .calendar-date {
  color: #d4ff61;
}

#home .mini-calendar-day.saturday .calendar-date {
  color: #dae7ad;
}

#home .mini-calendar-event {
  border-left-color: #6e78ff;
  border-radius: 5px;
  background: rgba(110, 120, 255, 0.12);
  color: #edefff;
  font-size: 11px;
  line-height: 1.34;
}

#home .mini-calendar-event.theory {
  border-left-color: #42c7b8;
  background: rgba(66, 199, 184, 0.12);
}

#home .mini-calendar-event strong {
  color: #f5f6fb;
  font-weight: 720;
}

#home .mini-calendar-event span {
  color: #9da3b4;
}

.calendar-event {
  padding: 8px;
  border-left: 3px solid #161616;
  border-radius: 6px;
  background: #f8fbff;
  font-size: 12px;
  line-height: 1.35;
}

.calendar-event + .calendar-event {
  margin-top: 6px;
}

.mini-calendar-event {
  padding: 7px;
  border-left: 3px solid #161616;
  border-radius: 6px;
  background: #f8fbff;
  font-size: 12px;
  line-height: 1.35;
}

.mini-calendar-event.theory {
  border-left-color: var(--mint);
  background: #eefaf7;
}

.mini-calendar-event strong,
.mini-calendar-event span {
  display: block;
}

.mini-calendar-event span {
  margin-top: 3px;
  color: var(--muted);
}

.calendar-event.theory {
  border-left-color: var(--mint);
  background: #eefaf7;
}

.segmented {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.segment {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
}

.segment.active {
  color: #161616;
  background: var(--accent);
}

#schedule .segmented {
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#schedule .segment {
  height: 30px;
  min-height: 30px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #8e8e8e;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

#schedule .segment:hover,
#schedule .segment.active {
  color: #ffffff;
  background: #24262d;
}

.stack-form {
  display: grid;
  gap: 13px;
}

.stack-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.auth-screen {
  min-height: calc(100vh - 140px);
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 24px 0 44px;
  color: #ffffff;
  background: #000000;
}

.signup-screen {
  padding-top: 12px;
}

.profile-edit-screen {
  padding-top: 18px;
}

.auth-card input:disabled,
.auth-card select:disabled {
  cursor: not-allowed;
  color: #747474;
  border-color: #242424;
  background: #050505;
  opacity: 1;
}

.auth-card {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 0;
  color: #ffffff;
  font-size: 14px;
}

.signup-screen .auth-card {
  width: min(520px, 100%);
}

.auth-heading {
  text-align: center;
}

.auth-heading h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
}

.auth-card label,
.auth-card legend {
  color: #b9b9b9;
  font-size: 14px;
  font-weight: 400;
}

.auth-card input,
.auth-card select {
  height: 44px;
  border-color: #2a2a2a;
  color: #ffffff;
  background: #070707;
  font-size: 14px;
}

.auth-card input::placeholder {
  color: #5f5f5f;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.auth-divider {
  width: 0;
  height: 14px;
  border-left: 0.5px solid #2a2a2a;
}

.auth-card .plain-link {
  min-height: 28px;
  color: #8e8e8e;
  font-size: 14px;
  font-weight: 400;
}

.auth-card .plain-link:hover {
  color: #ffffff;
}

.auth-submit {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  font-size: 14px;
}

.dob-picker,
.course-picker {
  display: grid;
  gap: 8px;
}

.dob-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
  padding: 0;
  margin: 0;
}

.dob-picker legend {
  grid-column: 1 / -1;
  padding: 0;
}

.course-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 10px 12px;
}

.compact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-form button {
  grid-column: 1 / -1;
}

.level-summary {
  min-height: 160px;
  padding: 18px;
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 164, 0.1)),
    #ffffff;
  border: 1px solid var(--line);
}

.level-name {
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.level-summary p {
  margin: 8px 0 0;
  color: var(--muted);
}

.modal {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(16, 34, 52, 0.44);
}

.modal form {
  padding: 22px;
}

.dialog-content {
  padding: 22px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.icon-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.plain-link {
  width: fit-content;
  min-height: 32px;
  border: 0;
  padding: 0;
  color: var(--blue-deep);
  background: transparent;
  font-weight: 800;
}

.primary-button,
.outline-button,
.ghost-button,
.text-button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  transition: transform 0.16s ease, background 0.16s ease;
  font-weight: 800;
}

.primary-button {
  color: #ffffff;
  background: #161616;
}

.outline-button {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.ghost-button {
  width: 100%;
  min-height: 36px;
  color: #ffffff;
  border-color: #161616;
  background: #161616;
}

.login-box .ghost-button {
  width: auto;
  min-width: 0;
  min-height: 30px;
  padding: 0 16px;
  color: #707070;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.login-box .ghost-button:hover {
  color: #ffffff;
  background: #24262d;
  transform: none;
}

.signup-button {
  min-width: 86px;
  min-height: 30px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  padding: 0 16px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.signup-button:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.text-button {
  color: var(--ink);
  background: transparent;
  padding: 0;
}

.full {
  width: 100%;
}

.primary-button:hover,
.outline-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.record-table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
}

td {
  font-size: 14px;
}

.student-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.student-card.selected,
.student-card:hover {
  border-color: rgba(37, 99, 235, 0.48);
  background: #f8fbff;
}

.student-card-top {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.course-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #161616;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.admin-gate,
.admin-mode-select {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.admin-mode-select {
  grid-template-columns: repeat(2, minmax(180px, 240px));
  justify-content: center;
  gap: 16px;
}

.admin-mode-button {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(16, 34, 52, 0.06);
}

.admin-mode-button:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: #f8fbff;
}

.admin-workspace[hidden],
.admin-gate[hidden],
.admin-mode-select[hidden] {
  display: none;
}

.apply-calendar-panel {
  margin-bottom: 14px;
}

.apply-schedule-list,
.day-info-list {
  display: grid;
  gap: 10px;
}

.apply-schedule-item,
.day-info-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #ffffff;
}

.apply-schedule-item p,
.day-info-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.apply-calendar-grid {
  margin-bottom: 14px;
}

#schedule .panel,
#apply .panel,
#admin .panel,
#profileEdit .auth-card,
#schedule .calendar-day,
#apply .calendar-day,
#admin .calendar-day,
#schedule .class-item,
#apply .apply-schedule-item,
#apply .criteria-item,
#admin .student-card,
#admin .admin-mode-button {
  border: 0.5px solid #2a2a2a;
  color: #e7e9f1;
  background: #050609;
  box-shadow: none;
}

#schedule .calendar-day,
#apply .calendar-day,
#admin .calendar-day,
#schedule .class-item,
#apply .apply-schedule-item,
#apply .criteria-item,
#admin .student-card {
  background: #090b10;
}

#schedule .calendar-day.muted,
#apply .calendar-day.muted,
#admin .calendar-day.muted {
  background: #06070a;
}

#schedule .weekday,
#apply .weekday,
#admin .weekday {
  color: #a5aab7;
  border: 0.5px solid #2a2a2a;
  background: #050609;
}

#schedule .calendar-date,
#apply .calendar-date,
#admin .calendar-date,
#schedule .month-controls strong,
#schedule .item-title,
#apply .item-title,
#admin .item-title,
#admin .student-card strong,
#admin th,
#profileEdit .auth-heading h2 {
  color: #f7f8fb;
}

#profileEdit .auth-heading h2 {
  font-size: 20px;
  font-weight: 400;
}

#mypage .level-panel .panel-header h2 {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

#mypage .session-item strong,
#mypage .progress-item .item-title,
#mypage .progress-item .item-title span,
#mypage .progress-item p,
#mypage .session-item p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

#mypage .session-item strong,
#mypage .progress-item .item-title span:first-child {
  color: #f7f8fb;
}

#mypage .badge {
  min-height: 26px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 400;
}

#mypage .badge.pass {
  color: #e8fbff;
  border-color: rgba(61, 190, 255, 0.72);
  background: linear-gradient(135deg, rgba(20, 151, 215, 0.55), rgba(0, 70, 112, 0.82));
}

#mypage .badge.fail {
  color: #d0d3d9;
  border-color: rgba(118, 124, 135, 0.54);
  background: linear-gradient(135deg, rgba(76, 82, 94, 0.34), rgba(31, 34, 42, 0.78));
}

#mypage .badge.pending {
  color: #8f96a3;
  border-color: rgba(70, 75, 86, 0.52);
  background: linear-gradient(135deg, rgba(44, 48, 58, 0.28), rgba(12, 14, 19, 0.78));
}

#mypage .badge.open {
  color: #dff6ff;
  border-color: rgba(12, 142, 196, 0.56);
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.32), rgba(0, 58, 93, 0.66));
}

#schedule .calendar-day.outside-month .calendar-date,
#apply .calendar-day.outside-month .calendar-date,
#admin .calendar-day.outside-month .calendar-date,
#schedule .item-meta,
#apply .apply-schedule-item p,
#apply .criteria-item p,
#admin .student-card p,
#admin .list-count,
#admin td,
#profileEdit .auth-card label,
#profileEdit .auth-card legend {
  color: #a5aab7;
}

#schedule .calendar-day:hover,
#apply .calendar-day:hover,
#admin .calendar-day:hover,
#apply .apply-schedule-item:hover,
#admin .student-card:hover,
#admin .student-card.selected,
#admin .admin-mode-button:hover {
  border-color: rgba(12, 142, 196, 0.45);
  background: #0d1218;
  transform: none;
}

#schedule .calendar-day:hover .calendar-date,
#apply .calendar-day:hover .calendar-date,
#admin .calendar-day:hover .calendar-date {
  color: #3dbeff;
}

#schedule .calendar-event,
#apply .calendar-event,
#admin .mini-calendar-event {
  border-left-color: #0c8ec4;
  color: #dff6ff;
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.22), rgba(0, 58, 93, 0.42));
}

#schedule .calendar-event.theory,
#apply .calendar-event.theory,
#admin .mini-calendar-event.theory {
  border-left-color: #3dbeff;
  background: linear-gradient(135deg, rgba(61, 190, 255, 0.2), rgba(6, 38, 68, 0.52));
}

#schedule .calendar-event strong,
#apply .calendar-event strong,
#admin .mini-calendar-event strong {
  color: #f7f8fb;
}

#schedule .badge,
#apply .badge,
#admin .badge,
#admin .course-chip {
  color: #dff6ff;
  border: 0.5px solid rgba(12, 142, 196, 0.5);
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.26), rgba(0, 58, 93, 0.62));
}

#admin .admin-mode-select {
  grid-template-columns: repeat(2, minmax(220px, 280px));
}

#admin .admin-mode-button {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 148px;
  font-size: 20px;
  font-weight: 400;
}

#admin .admin-mode-button span {
  color: #0c8ec4;
  background: linear-gradient(135deg, #ffffff 0%, #0c8ec4 54%, #003a5d 100%);
  background-size: 180% 180%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  text-transform: uppercase;
}

#schedule input,
#schedule select,
#schedule textarea,
#apply input,
#apply select,
#apply textarea,
#admin input,
#admin select,
#admin textarea {
  border-color: #2a2a2a;
  color: #ffffff;
  background: #070707;
}

#mypage .session-list,
#mypage .progress-list,
#admin .student-cards,
#schedule .calendar-grid,
#apply .calendar-grid,
#admin .calendar-grid {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a #050609;
}

#mypage .session-list::-webkit-scrollbar,
#mypage .progress-list::-webkit-scrollbar,
#admin .student-cards::-webkit-scrollbar,
#schedule .calendar-grid::-webkit-scrollbar,
#apply .calendar-grid::-webkit-scrollbar,
#admin .calendar-grid::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#mypage .session-list::-webkit-scrollbar-track,
#mypage .progress-list::-webkit-scrollbar-track,
#admin .student-cards::-webkit-scrollbar-track,
#schedule .calendar-grid::-webkit-scrollbar-track,
#apply .calendar-grid::-webkit-scrollbar-track,
#admin .calendar-grid::-webkit-scrollbar-track {
  background: #050609;
}

#mypage .session-list::-webkit-scrollbar-thumb,
#mypage .progress-list::-webkit-scrollbar-thumb,
#admin .student-cards::-webkit-scrollbar-thumb,
#schedule .calendar-grid::-webkit-scrollbar-thumb,
#apply .calendar-grid::-webkit-scrollbar-thumb,
#admin .calendar-grid::-webkit-scrollbar-thumb {
  border: 0.5px solid #2a2a2a;
  border-radius: 999px;
  background: #11141b;
}

#schedule #calendarGrid,
#apply #applyCalendarGrid,
#admin #adminScheduleCalendar {
  width: 100%;
  margin: 0;
  gap: 10px;
  padding: 10px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #030406;
}

#schedule #calendarGrid .weekday,
#apply #applyCalendarGrid .weekday,
#admin #adminScheduleCalendar .weekday {
  min-height: 34px;
  padding: 8px 10px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #050609;
}

#schedule #calendarGrid .calendar-day,
#apply #applyCalendarGrid .calendar-day,
#admin #adminScheduleCalendar .calendar-day {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  min-height: 136px;
  padding: 10px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #090b10;
  text-align: left;
  vertical-align: top;
}

#admin #adminScheduleCalendar .calendar-date {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  text-align: left;
  align-self: flex-start;
}

#adminCalendarMonthLabel {
  color: #ffffff !important;
}

#admin #adminScheduleCalendar .mini-calendar-event {
  width: 100%;
  padding: 6px 7px;
  font-size: 11px;
  line-height: 1.28;
}

#admin #adminScheduleCalendar .mini-calendar-event strong {
  overflow: hidden;
  color: #f7f8fb;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#admin #adminScheduleCalendar .mini-calendar-event span {
  margin-top: 3px;
  color: #aeb6c6;
  font-size: 11px;
  white-space: nowrap;
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-poolsix {
  border-left-color: #0c8ec4;
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.24), rgba(0, 58, 93, 0.48));
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-miryang {
  border-left-color: #42c7b8;
  background: linear-gradient(135deg, rgba(66, 199, 184, 0.22), rgba(5, 71, 76, 0.48));
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-northport {
  border-left-color: #7aa7ff;
  background: linear-gradient(135deg, rgba(122, 167, 255, 0.22), rgba(20, 45, 96, 0.52));
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-yeongdo {
  border-left-color: #ff9f43;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.22), rgba(91, 45, 5, 0.5));
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-online {
  border-left-color: #d4ff61;
  background: linear-gradient(135deg, rgba(212, 255, 97, 0.2), rgba(50, 75, 13, 0.42));
}

#admin #adminScheduleCalendar .mini-calendar-event.facility-offline {
  border-left-color: #b7c4d8;
  background: linear-gradient(135deg, rgba(183, 196, 216, 0.16), rgba(48, 54, 66, 0.48));
}

#schedule #calendarGrid .calendar-event,
#apply #applyCalendarGrid .calendar-event {
  min-height: 58px;
  width: 100%;
  padding: 6px 7px;
  font-size: 11px;
  line-height: 1.28;
}

#schedule #calendarGrid .calendar-event strong,
#apply #applyCalendarGrid .calendar-event strong,
#schedule #calendarGrid .calendar-event span,
#apply #applyCalendarGrid .calendar-event span {
  display: block;
}

#schedule #calendarGrid .calendar-event strong,
#apply #applyCalendarGrid .calendar-event strong {
  color: #f7f8fb;
  font-size: 11px;
  font-weight: 700;
}

#schedule #calendarGrid .calendar-event span,
#apply #applyCalendarGrid .calendar-event span {
  margin-top: 3px;
  color: #aeb6c6;
  font-size: 11px;
}

#schedule #calendarGrid .calendar-event.facility-poolsix,
#apply #applyCalendarGrid .calendar-event.facility-poolsix,
#admin #adminScheduleCalendar .mini-calendar-event.facility-poolsix {
  border-left-color: #0c8ec4;
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.24), rgba(0, 58, 93, 0.48));
}

#schedule #calendarGrid .calendar-event.facility-miryang,
#apply #applyCalendarGrid .calendar-event.facility-miryang,
#admin #adminScheduleCalendar .mini-calendar-event.facility-miryang {
  border-left-color: #42c7b8;
  background: linear-gradient(135deg, rgba(66, 199, 184, 0.22), rgba(5, 71, 76, 0.48));
}

#schedule #calendarGrid .calendar-event.facility-northport,
#apply #applyCalendarGrid .calendar-event.facility-northport,
#admin #adminScheduleCalendar .mini-calendar-event.facility-northport {
  border-left-color: #7aa7ff;
  background: linear-gradient(135deg, rgba(122, 167, 255, 0.22), rgba(20, 45, 96, 0.52));
}

#schedule #calendarGrid .calendar-event.facility-yeongdo,
#apply #applyCalendarGrid .calendar-event.facility-yeongdo,
#admin #adminScheduleCalendar .mini-calendar-event.facility-yeongdo {
  border-left-color: #ff9f43;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.22), rgba(91, 45, 5, 0.5));
}

#schedule #calendarGrid .calendar-event.facility-online,
#apply #applyCalendarGrid .calendar-event.facility-online,
#admin #adminScheduleCalendar .mini-calendar-event.facility-online {
  border-left-color: #d4ff61;
  background: linear-gradient(135deg, rgba(212, 255, 97, 0.2), rgba(50, 75, 13, 0.42));
}

#schedule #calendarGrid .calendar-event.facility-offline,
#apply #applyCalendarGrid .calendar-event.facility-offline,
#admin #adminScheduleCalendar .mini-calendar-event.facility-offline {
  border-left-color: #b7c4d8;
  background: linear-gradient(135deg, rgba(183, 196, 216, 0.16), rgba(48, 54, 66, 0.48));
}

#apply .apply-calendar-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

#apply .apply-layout {
  display: block;
}

#apply .apply-calendar-panel {
  min-width: 0;
}

#apply .apply-calendar-panel {
  padding: 24px;
  border: 0.5px solid #2a2a2a;
  background: #050609;
}

#schedule .schedule-calendar-panel {
  padding: 24px;
  border: 0.5px solid #2a2a2a;
  background: #050609;
}

#apply .apply-month-controls {
  justify-content: center;
  margin-bottom: 18px;
}

#schedule .schedule-month-controls,
#admin .admin-month-controls {
  justify-content: center;
  margin-bottom: 18px;
}

#apply .apply-month-controls strong {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

#schedule .schedule-month-controls strong,
#admin .admin-month-controls strong {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

#apply .apply-calendar-grid {
  margin-bottom: 0;
}

#schedule #calendarGrid,
#admin .schedule-register-calendar {
  margin-bottom: 0;
}

#apply #applyCalendarGrid .calendar-event {
  display: grid;
  align-content: start;
  gap: 4px;
}

#apply #applyCalendarGrid .apply-calendar-action {
  justify-self: end;
  align-self: end;
  min-height: 20px;
  padding: 0 7px;
  border: 0.5px solid rgba(12, 142, 196, 0.62);
  border-radius: 999px;
  color: #dff6ff;
  background: rgba(12, 142, 196, 0.38);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

#apply #applyCalendarGrid .apply-calendar-action.closed,
#apply .apply-schedule-item .outline-button.closed {
  color: #8f96a6;
  border-color: rgba(183, 196, 216, 0.22);
  background: rgba(183, 196, 216, 0.1);
  cursor: default;
}

#apply .apply-schedule-item .outline-button.open {
  color: #ffffff;
  border-color: rgba(12, 142, 196, 0.7);
  background: rgba(12, 142, 196, 0.7);
}

#apply .apply-schedule-item.empty {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  #apply .apply-calendar-panel,
  #schedule .schedule-calendar-panel,
  #admin .admin-schedule-calendar-panel {
    padding: 16px;
  }
}

.apply-confirm-body {
  display: grid;
  gap: 16px;
}

#applyConfirmDialog {
  border: 0.5px solid #2a2a2a;
  color: #f7f8fb;
  background: #050609;
  box-shadow: none;
}

#applyConfirmDialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

#applyConfirmDialog .dialog-content {
  padding: 24px;
}

#applyConfirmDialog .modal-header {
  margin-bottom: 16px;
}

#applyConfirmDialog .modal-header h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

#applyConfirmDialog .icon-close {
  width: 36px;
  height: 36px;
  border: 0.5px solid #2a2a2a;
  color: #ffffff;
  background: #050609;
}

.apply-confirm-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.apply-confirm-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #050609;
}

.apply-confirm-list dt {
  color: #0c8ec4;
  font-size: 13px;
  font-weight: 700;
}

.apply-confirm-list dd {
  margin: 0;
  color: #f7f8fb;
  font-size: 14px;
}

.apply-confirm-body p {
  margin: 0;
  color: #aeb6c6;
  font-size: 14px;
}

.apply-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

#applyConfirmDialog .primary-button,
#applyConfirmDialog .text-button {
  min-height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  transform: none;
}

#applyConfirmDialog .primary-button {
  color: #000000;
  border: 1px solid #f0f0f0;
  background: #f0f0f0;
}

#applyConfirmDialog .primary-button:hover {
  border-color: #ffffff;
  background: #ffffff;
}

#applyConfirmDialog .text-button {
  color: #8f96a6;
  background: transparent;
}

.admin-schedule-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 16px;
  align-items: start;
}

#admin .admin-schedule-calendar-panel,
#admin .admin-schedule-form-panel {
  min-width: 0;
}

#admin .schedule-register-calendar {
  margin: 0;
}

.calendar-event.facility-poolsix,
.mini-calendar-event.facility-poolsix {
  border-left-color: #0c8ec4;
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.24), rgba(0, 58, 93, 0.48));
}

.calendar-event.facility-miryang,
.mini-calendar-event.facility-miryang {
  border-left-color: #42c7b8;
  background: linear-gradient(135deg, rgba(66, 199, 184, 0.22), rgba(5, 71, 76, 0.48));
}

.calendar-event.facility-northport,
.mini-calendar-event.facility-northport {
  border-left-color: #7aa7ff;
  background: linear-gradient(135deg, rgba(122, 167, 255, 0.22), rgba(20, 45, 96, 0.52));
}

.calendar-event.lesson-theory,
.mini-calendar-event.lesson-theory {
  border-left-color: #d4ff61;
  background: linear-gradient(135deg, rgba(212, 255, 97, 0.2), rgba(50, 75, 13, 0.42));
}

.calendar-event.lesson-openwater,
.mini-calendar-event.lesson-openwater {
  border-left-color: #ff9f43;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.2), rgba(92, 49, 11, 0.46));
}

.calendar-event.facility-yeongdo,
.mini-calendar-event.facility-yeongdo {
  border-left-color: #ff9f43;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.22), rgba(91, 45, 5, 0.5));
}

.calendar-event.facility-online,
.mini-calendar-event.facility-online {
  border-left-color: #d4ff61;
  background: linear-gradient(135deg, rgba(212, 255, 97, 0.2), rgba(50, 75, 13, 0.42));
}

.calendar-event.facility-offline,
.mini-calendar-event.facility-offline {
  border-left-color: #b7c4d8;
  background: linear-gradient(135deg, rgba(183, 196, 216, 0.16), rgba(48, 54, 66, 0.48));
}

#dayInfoDialog {
  width: min(920px, calc(100vw - 32px));
  border: 0.5px solid #2a2a2a;
  color: #e7e9f1;
  background: #050609;
}

#dayInfoDialog .dialog-content {
  padding: 24px;
}

#dayInfoDialog .modal-header {
  margin-bottom: 16px;
}

#dayInfoDialog .modal-header h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

#dayInfoDialog .icon-close {
  border: 0.5px solid #2a2a2a;
  color: #ffffff;
  background: #090b10;
}

.schedule-detail-table {
  overflow: hidden;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #07090d;
}

.schedule-detail-head,
.schedule-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 0.8fr 1.8fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.schedule-detail-table.can-delete .schedule-detail-head,
.schedule-detail-table.can-delete .schedule-detail-row {
  grid-template-columns: 1fr 1.2fr 1fr 0.8fr 1.8fr 56px;
}

.schedule-detail-head {
  color: #7acfff;
  background: #090b10;
  font-size: 12px;
  font-weight: 700;
}

.schedule-detail-row {
  border-top: 0.5px solid #2a2a2a;
  color: #c7ccd8;
  font-size: 14px;
}

.schedule-detail-row strong {
  color: #ffffff;
  font-weight: 700;
}

.delete-schedule-button {
  min-height: 30px;
  border: 0;
  color: #8f96a3;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.delete-schedule-button:hover {
  color: #ffffff;
}

.time-range-field {
  display: grid;
  gap: 8px;
  color: #a5aab7;
  font-size: 14px;
}

.time-range-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-apply-button {
  min-height: 28px;
  margin-top: 6px;
  padding: 0 9px;
  font-size: 12px;
}

.list-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.list-tools {
  margin-bottom: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.search-field {
  width: min(320px, 100%);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pager {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager strong {
  min-width: 56px;
  color: #a5aab7;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.pager-arrow {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #a5aab7;
  background: transparent;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.pager-arrow:hover {
  color: #ffffff;
  background: #24262d;
}

.pager-arrow:disabled {
  cursor: not-allowed;
  color: #424650;
  background: transparent;
  opacity: 1;
  transform: none;
}

.record-criteria-hint {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 0.5px solid rgba(12, 142, 196, 0.45);
  border-radius: 8px;
  color: #a5aab7;
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
  line-height: 1.45;
}

.record-fixed-course {
  display: grid;
  gap: 7px;
  color: #a5aab7;
  font-size: 13px;
  font-weight: 800;
}

.record-fixed-course strong {
  min-height: 42px;
  padding: 0 12px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #ffffff;
  background: #070707;
  font-size: 14px;
  font-weight: 400;
}

#admin .admin-mode-select {
  min-height: 360px;
  grid-template-columns: repeat(2, 260px);
  gap: 40px;
  place-content: center;
  place-items: stretch;
}

#admin .admin-mode-button {
  width: 260px;
  height: 148px;
  min-height: 148px;
}

.record-criteria-hint span {
  color: #0c8ec4;
  font-size: 12px;
  text-transform: uppercase;
}

.record-criteria-hint strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
}

.record-criteria-hint em {
  font-style: normal;
}

.record-value-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.record-value-picker select:only-child {
  grid-column: 1 / -1;
}

#admin .primary-button,
#admin .outline-button:not(#prevMonth):not(#nextMonth),
#adminGate .primary-button {
  min-height: 30px;
  padding: 0 16px;
  border: 1px solid #f0f0f0;
  border-radius: 999px;
  color: #000000;
  background: #f0f0f0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  transform: none;
}

#admin .primary-button:hover,
#admin .outline-button:not(#prevMonth):not(#nextMonth):hover,
#adminGate .primary-button:hover {
  color: #000000;
  border-color: #ffffff;
  background: #ffffff;
  transform: none;
}

#admin .primary-button.full,
#admin .outline-button.full {
  width: auto;
  justify-self: end;
}

.admin-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.delete-student-button {
  min-height: 30px;
  padding: 0;
  border: 0;
  color: #747985;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.delete-student-button:hover {
  color: #a5aab7;
}

#admin .section-heading .outline-button {
  margin-left: auto;
}

#profileEdit .auth-card {
  border: 0;
  background: transparent;
}

#adminCreateStudent[hidden],
#resetData[hidden] {
  display: none;
}

.course-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.student-card-actions {
  min-width: 132px;
  min-height: 96px;
  display: grid;
  grid-template-rows: repeat(3, auto);
  align-items: flex-end;
  align-content: center;
  justify-items: end;
  text-align: right;
  gap: 6px;
}

#admin .student-card-main {
  min-width: 0;
  text-align: left;
}

#admin .student-card-actions .badge,
#admin .student-card-actions strong,
#admin .student-card-actions .approve-student-button {
  flex: 0 0 auto;
}

#admin .student-card-actions .badge {
  min-width: 86px;
  justify-content: center;
}

#admin .student-card-actions strong {
  width: 100%;
  text-align: right;
}

#admin .student-card-actions .approve-student-button {
  justify-self: end;
}

.approve-student-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #f0f0f0;
  border-radius: 999px;
  color: #000000;
  background: #f0f0f0;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.approve-student-button.pending {
  color: #dff6ff;
  border-color: rgba(12, 142, 196, 0.58);
  background: linear-gradient(135deg, rgba(12, 142, 196, 0.28), rgba(0, 58, 93, 0.66));
}

.approve-student-button.approved {
  color: #000000;
  border-color: #f0f0f0;
  background: #f0f0f0;
  cursor: default;
}

.approve-student-button:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.course-chip.level-tone-1,
.level-agency.level-tone-1 {
  filter: brightness(0.72) saturate(0.9);
}

.course-chip.level-tone-2,
.level-agency.level-tone-2 {
  filter: brightness(0.88) saturate(0.98);
}

.course-chip.level-tone-3,
.level-agency.level-tone-3 {
  filter: brightness(1.04) saturate(1.06);
}

.course-chip.level-tone-4,
.level-agency.level-tone-4 {
  filter: brightness(1.22) saturate(1.12);
}

.course-chip.agency-aida,
.level-agency.agency-aida {
  color: #ff9a3d;
  border-color: rgba(255, 154, 61, 0.55);
  background: rgba(255, 154, 61, 0.16);
  -webkit-text-fill-color: currentColor;
}

.course-chip.agency-padi,
.level-agency.agency-padi {
  color: #3dbeff;
  border-color: rgba(61, 190, 255, 0.55);
  background: rgba(61, 190, 255, 0.16);
  -webkit-text-fill-color: currentColor;
}

.course-chip.agency-유스과정,
.level-agency.agency-유스과정 {
  color: #ffe36a;
  border-color: rgba(255, 227, 106, 0.55);
  background: rgba(255, 227, 106, 0.16);
  -webkit-text-fill-color: currentColor;
}

.course-chip.agency-ksu,
.level-agency.agency-ksu {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.55);
  background: rgba(255, 107, 107, 0.16);
  -webkit-text-fill-color: currentColor;
}

.course-chip.agency-efr,
.level-agency.agency-efr {
  color: #5ee27f;
  border-color: rgba(94, 226, 127, 0.55);
  background: rgba(94, 226, 127, 0.16);
  -webkit-text-fill-color: currentColor;
}

.level-cert-card {
  padding: 16px;
  border: 0.5px solid rgba(12, 142, 196, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.level-cert-card + .level-cert-card {
  margin-top: 10px;
}

#mypage .level-agency,
#mypage .level-name {
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

#mypage .level-agency.agency-aida,
#mypage .level-name.agency-aida {
  color: #ff9a3d !important;
}

#mypage .level-agency.agency-padi,
#mypage .level-name.agency-padi {
  color: #3dbeff !important;
}

#mypage .level-agency.agency-\C720\C2A4\ACFC\C815,
#mypage .level-name.agency-\C720\C2A4\ACFC\C815 {
  color: #ffe36a !important;
}

#mypage .level-agency.agency-ksu,
#mypage .level-name.agency-ksu {
  color: #ff6b6b !important;
}

#mypage .level-agency.agency-efr,
#mypage .level-name.agency-efr {
  color: #5ee27f !important;
}

.course-check-field {
  display: grid;
  gap: 8px;
  color: #a5aab7;
  font-size: 13px;
  font-weight: 800;
}

.course-check-list {
  display: grid;
  gap: 10px;
}

.course-check-group {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  background: #070707;
}

.course-check-group strong {
  color: #f7f8fb;
  font-size: 13px;
  font-weight: 400;
}

.course-check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
}

.course-check-group input {
  width: auto;
  height: auto;
}

.panel-divider {
  margin: 22px 0;
  border: 0;
  border-top: 0.5px solid #2a2a2a;
}

.compact-edit {
  margin-bottom: 12px;
}

.footer {
  margin-top: auto;
  min-height: 70px;
  padding: 18px max(24px, calc((100% - var(--content-width)) / 2));
  border-top: 0.5px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}

.footer span {
  display: inline-flex;
  align-items: center;
}

.footer span + span::before {
  content: "";
  width: 0.5px;
  height: 14px;
  margin: 0 14px;
  background: #2a2a2a;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .app-shell {
    padding: 0;
  }

  .sidebar {
    position: sticky;
    height: auto;
    min-height: 70px;
    padding: 14px 20px;
    border-radius: 0;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .side-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .login-box {
    display: flex;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-principles {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 480px;
  }

  .content-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .course-picker {
    grid-template-columns: 1fr;
  }

  #mypage .mypage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #admin .admin-mode-select {
    min-height: calc(100svh - 180px);
    grid-template-columns: 260px;
    gap: 40px;
  }

  .page {
    padding: 0;
  }

  .brand-logo {
    width: 106px;
    height: 26px;
  }

  .nav-item {
    height: 30px;
    min-height: 30px;
    font-size: 14px;
  }

  .home-hero {
    min-height: 640px;
    height: 640px;
  }

  .home-hero-copy {
    left: 24px;
    top: 44px;
  }

  .home-hero-copy h1 {
    font-size: clamp(46px, 17vw, 76px);
  }

  .home-hero-media {
    left: 14px;
    top: 130px;
    width: 68vw;
    height: 430px;
    opacity: 0.78;
  }

  .home-member-counter {
    right: 64px;
    bottom: clamp(170px, 34vh, 260px);
    gap: 5px;
  }

  .depth-indicator {
    right: 16px;
    z-index: 910;
    width: 28px;
    min-height: 86px;
  }

  .home-member-counter strong {
    font-size: clamp(58px, 18vw, 82px);
  }

  .home-member-counter span {
    font-size: 11px;
  }

  #home > :not(.home-hero):not(.depth-indicator),
  .view:not(#home) {
    width: min(100% - 28px, 720px);
  }

  .home-principles {
    padding-top: 68px;
    padding-bottom: 28px;
  }

  .home-lyric-section {
    --lyric-sticky-min: 116;
    --lyric-scroll-factor: 1.8;
    --lyric-scroll-min: 0.9;
    min-height: 260vh;
    padding: 48px 0 170vh;
    gap: 22px;
  }

  .lyric-progress {
    top: var(--lyric-sticky-top, 104px);
  }

  .lyric-copy {
    top: var(--lyric-sticky-top, 104px);
    font-size: clamp(23px, 6.4vw, 34px);
    line-height: 1.36;
  }

  .principle-card {
    min-height: 430px;
  }

  .train-abstract,
  .dive-abstract,
  .progress-abstract {
    width: min(260px, 78%);
    margin-top: 8px;
  }

  .dob-picker {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .schedule-toolbar,
  .month-controls,
  .hero-band,
  .class-item,
  .student-card,
  .list-tools,
  .pager {
    flex-direction: column;
    display: flex;
    align-items: stretch;
  }

  .metric-grid,
  .calendar-grid,
  .mini-calendar-grid,
  .compact-form {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    justify-content: stretch;
  }

  .hero-stats span {
    flex: 1 1 120px;
  }

  .calendar-day {
    min-height: auto;
  }

  .segmented {
    overflow-x: auto;
  }

  .month-controls strong {
    min-width: 0;
  }

  #admin .student-card-actions {
    min-width: 0;
    align-items: flex-end;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sidebar {
    padding: 14px 24px;
  }

  #home > :not(.home-hero):not(.depth-indicator),
  .view:not(#home) {
    width: min(100% - 40px, 920px);
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid,
  .form-layout,
  #mypage .mypage-grid,
  #admin .admin-workspace,
  #admin .schedule-register-layout {
    grid-template-columns: 1fr;
  }

  #apply .apply-calendar-panel,
  #schedule .schedule-calendar-panel,
  #admin .admin-schedule-calendar-panel {
    padding: 18px;
  }

  .calendar-grid,
  .mini-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
  }

  .calendar-day,
  .mini-calendar-day,
  #admin #adminScheduleCalendar .calendar-day {
    min-height: 108px;
    padding: 8px;
  }

  .weekday {
    min-height: 30px;
    padding: 7px 6px;
    font-size: 12px;
  }

  .calendar-event,
  .mini-calendar-event,
  #schedule #calendarGrid .calendar-event,
  #apply #applyCalendarGrid .calendar-event,
  #admin #adminScheduleCalendar .mini-calendar-event {
    min-height: 0;
    padding: 6px;
    font-size: 10px;
    line-height: 1.25;
  }

  .calendar-event strong,
  .mini-calendar-event strong,
  .calendar-event span,
  .mini-calendar-event span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.mobile-nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  .mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 220;
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.5px solid #2a2a2a;
    background: #000000;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #090a0d;
    font-size: 22px;
    line-height: 1;
  }

  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 940;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    display: block;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.mobile-nav-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 960;
    width: min(84vw, 320px);
    height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    border: 0;
    border-right: 1px solid #2a2a2a;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.36);
  }

  body.mobile-nav-open .sidebar {
    transform: translateX(0);
  }

  .side-nav {
    order: 0;
    flex: 0 0 auto;
    flex-basis: auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 0;
    overflow-x: visible;
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    width: 100%;
    flex: 0 0 auto;
    height: 44px;
    min-height: 44px;
    padding: 0 14px;
    justify-content: flex-start;
    border-radius: 8px;
    font-size: 15px;
    white-space: nowrap;
  }

  .nav-item span {
    display: flex;
  }

  .login-box {
    width: 100%;
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #2a2a2a;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .login-box::before {
    display: none;
  }

  .login-box .ghost-button,
  .signup-button {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }

  .login-info {
    min-height: 24px;
  }

  .login-box p {
    margin: 0;
  }

  #home > :not(.home-hero):not(.depth-indicator),
  .view:not(#home) {
    width: min(100% - 24px, 100%);
  }

  .footer {
    display: none;
  }

  body[data-view="home"] .footer {
    min-height: 58px;
    width: 100%;
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    color: #707070;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
    text-align: center;
  }

  body[data-view="home"] .footer span {
    min-width: 0;
    flex: 0 1 auto;
  }

  body[data-view="home"] .footer span + span::before {
    height: 12px;
    margin: 0 8px;
  }

  input,
  select,
  textarea,
  .auth-card input,
  .auth-card select {
    font-size: 16px;
  }

  .panel,
  .auth-card,
  #apply .apply-calendar-panel,
  #schedule .schedule-calendar-panel,
  #admin .admin-schedule-calendar-panel,
  #admin .admin-schedule-form-panel {
    width: 100%;
    min-width: 0;
    padding: 14px;
  }

  .section-heading,
  .schedule-toolbar,
  .month-controls,
  .hero-band,
  .class-item,
  .student-card,
  .list-tools,
  .pager {
    width: 100%;
    gap: 10px;
  }

  .month-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .month-controls strong,
  #apply .apply-month-controls strong,
  #schedule .schedule-month-controls strong,
  #admin .admin-month-controls strong {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
    text-align: center;
  }

  .month-arrow {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .metric-grid,
  .compact-form,
  .form-layout,
  .content-grid,
  #mypage .mypage-grid,
  #admin .admin-workspace,
  #admin .schedule-register-layout {
    grid-template-columns: 1fr;
  }

  .calendar-grid,
  .mini-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  #schedule .calendar-grid,
  #apply .calendar-grid {
    gap: 3px;
    padding: 4px;
  }

  .weekday {
    min-height: 24px;
    padding: 5px 1px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
  }

  .calendar-day,
  .mini-calendar-day,
  #admin #adminScheduleCalendar .calendar-day {
    min-width: 0;
    min-height: clamp(48px, 14.2vw, 66px);
    padding: 4px;
    border-radius: 5px;
  }

  .calendar-date,
  #admin #adminScheduleCalendar .calendar-date {
    margin: 0 0 3px;
    font-size: 10px;
    line-height: 1;
  }

  .calendar-event,
  .mini-calendar-event,
  #schedule #calendarGrid .calendar-event,
  #apply #applyCalendarGrid .calendar-event,
  #admin #adminScheduleCalendar .mini-calendar-event {
    min-height: 0;
    width: 100%;
    padding: 3px 4px;
    border-left-width: 2px;
    border-radius: 4px;
    font-size: 8px;
    line-height: 1.15;
  }

  .calendar-event strong,
  .mini-calendar-event strong,
  #schedule #calendarGrid .calendar-event strong,
  #apply #applyCalendarGrid .calendar-event strong,
  #admin #adminScheduleCalendar .mini-calendar-event strong {
    display: block;
    overflow: hidden;
    max-width: 100%;
    font-size: 8px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calendar-event span,
  .mini-calendar-event span,
  #schedule #calendarGrid .calendar-event span,
  #apply #applyCalendarGrid .calendar-event span,
  #admin #adminScheduleCalendar .mini-calendar-event span {
    display: none;
  }

  .calendar-day > .calendar-event:nth-of-type(n+3),
  .mini-calendar-day > .mini-calendar-event:nth-of-type(n+3) {
    display: none;
  }

  #apply #applyCalendarGrid .apply-calendar-action {
    justify-self: stretch;
    min-height: 16px;
    margin-top: 2px;
    padding: 0 3px;
    font-size: 8px;
  }

  .segmented,
  .auth-links,
  .admin-sort-controls {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  input,
  select,
  textarea,
  label,
  .stack-form label,
  .search-field,
  .signup-button,
  .outline-button,
  .admin-mode-button,
  .apply-schedule-item .outline-button {
    width: 100%;
    max-width: 100%;
  }

  .apply-schedule-item,
  .class-item {
    align-items: stretch;
  }

  .apply-schedule-item .outline-button,
  .class-item .badge {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}
