@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

/* NAVER NanumSquareRound, SIL Open Font License 1.1.
   Source: https://hangeul.naver.com/font
   License: /nanum-square-round-LICENSE.txt */
@font-face {
  font-family: "NanumSquareRound";
  src: url("nanum-square-round-r.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquareRound";
  src: url("nanum-square-round-b.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquareRound";
  src: url("nanum-square-round-eb.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #1c2030;
  --muted: #555b6b;
  --line: #e0e1ea;
  --paper: #f7f7fb;
  --purple: #5638ad;
  --night: #131b31;
  --font-heading: "NanumSquareRound", "Pretendard Variable", Pretendard, sans-serif;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: white; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #a184ff; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 5; transform: translateY(-160%); background: white; color: var(--ink); padding: 12px; }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; }
.home .header { position: absolute; inset: 0 0 auto; }
.nav { height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-size: 23px; font-weight: 780; letter-spacing: -.06em; white-space: nowrap; }
.brand span { font-weight: 490; }
.nav nav { display: flex; gap: 29px; align-items: center; }
.nav nav a { font-size: 14px; font-weight: 620; padding-block: 12px; white-space: nowrap; }
.nav nav a:hover, .nav nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

.hero { position: relative; isolation: isolate; min-height: clamp(620px, 79svh, 850px); display: grid; align-items: center; overflow: clip; }
.hero-content { padding-block: 110px 55px; }
.hero-label { margin-bottom: 23px; font-size: 15px; color: var(--muted); letter-spacing: .12em; font-weight: 650; }
.hero h1 { font-size: clamp(43px, 5.6vw, 83px); font-weight: 680; line-height: 1.13; letter-spacing: -.064em; word-break: keep-all; }
.button { background: var(--purple); color: white; min-height: 52px; padding: 14px 20px; display: inline-flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 680; margin-top: 34px; }
.button:hover { background: #6848c8; }
.hero-intro-link { background: transparent; color: var(--ink); border: 1px solid #68617d8c; }
.hero-intro-link:hover, .hero-intro-link:focus-visible { background: transparent; border-color: var(--ink); }
.hero-caption { position: absolute; bottom: 32px; inset-inline: 0; display: flex; gap: 10px; align-items: center; justify-content: end; color: var(--muted); letter-spacing: .15em; font-size: 10px; }
.hero-caption span { width: 26px; height: 1px; background: currentColor; }
.section { padding-block: 86px; }
.eyebrow { color: var(--purple); font-size: 12px; font-weight: 770; letter-spacing: .14em; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 53px); letter-spacing: -.055em; font-weight: 735; line-height: 1.13; word-break: keep-all; }
.muted { color: var(--muted); line-height: 1.6; margin-top: 14px; word-break: keep-all; }
.program-grid { display: grid; grid-template-columns: .8fr 1.7fr; gap: 50px; }
.text-link { display: inline-flex; gap: 9px; margin-top: 24px; font-size: 14px; font-weight: 720; color: var(--purple); }
.text-link:hover { text-decoration: underline; }
.program-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid #a6a6b4; }
.program-list li { border-bottom: 1px solid var(--line); }
.program-list a { min-height: 81px; padding: 13px 6px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 18px; align-items: center; gap: 11px; }
.program-list a:hover { background: #f7f5fd; }
.index { color: var(--purple); font-size: 12px; font-weight: 750; }
.program-list strong { font-size: 17px; letter-spacing: -.025em; word-break: keep-all; }
.program-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.45; font-weight: 500; word-break: keep-all; }
.metadata { color: var(--muted); font-size: 13px; white-space: nowrap; }
.approach { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.steps > div { border-top: 1px solid #a6a6b4; padding: 16px 8px 0 0; }
.steps span { color: var(--purple); font-size: 12px; font-weight: 750; }
.steps h3 { margin-top: 10px; font-size: 20px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; word-break: keep-all; }
footer { border-top: 1px solid var(--line); }
.footer { min-height: 87px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.footer p { font-size: 12px; color: var(--muted); }

.comparison-intro { background: var(--paper); padding-block: 35px 55px; }
.back { display: inline-flex; gap: 8px; margin-bottom: 29px; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--purple); }
.comparison-intro h1 { font-size: clamp(37px, 6vw, 71px); letter-spacing: -.066em; line-height: 1.08; word-break: keep-all; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 56px); }
  .program-grid { gap: 24px; grid-template-columns: 1fr; }
  .desktop-break { display: none; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .nav { height: 65px; gap: 10px; }
  .nav nav { gap: 12px; }
  .brand { font-size: 19px; }
  .nav nav a { font-size: 12px; }
  .hero { min-height: 610px; min-height: clamp(515px, 76svh, 640px); align-items: end; }
  .hero-content { padding-block: 215px 62px; }
  .hero-label { font-size: 12px; margin-bottom: 15px; }
  .hero h1 { font-size: clamp(32px, 8.3vw, 49px); }
  .hero-caption { display: none; }
  .button { margin-top: 22px; min-height: 48px; padding: 12px 15px; font-size: 14px; }
  .section { padding-block: 52px; }
  .program-list a { gap: 7px 8px; grid-template-columns: 25px minmax(0, 1fr) 14px; padding-block: 12px; }
  .program-list a > :last-child { grid-column: 3; grid-row: 1 / 3; }
  .program-list strong { font-size: 16px; }
  .metadata { grid-column: 2; font-size: 12px; }
  .steps { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  .comparison-intro { padding-block: 23px 32px; }
  .back { margin-bottom: 23px; }
}

.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 84px); }
.story-grid-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.story-grid-reverse .story-image { grid-column: 1; grid-row: 1; }
.story-grid-reverse .story-content { grid-column: 2; grid-row: 1; }
.story-image { display: block; width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; justify-self: center; background: var(--paper); }
#about .story-image { object-position: 35% center; }
.story-copy { display: grid; align-content: start; gap: 15px; margin-top: 20px; }
.story-copy p { color: var(--muted); font-size: 16px; line-height: 1.75; word-break: keep-all; }
.story-copy .story-lead { color: var(--ink); font-size: clamp(18px, 2vw, 24px); font-weight: 660; line-height: 1.55; letter-spacing: -.026em; }
.story-copy .text-link { justify-self: start; margin-top: 4px; }
.story-format { margin-top: 19px; font-size: 14px; font-weight: 700; color: var(--purple); }
.story-format span { margin-inline: 4px; }

@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .story-grid-reverse .story-image, .story-grid-reverse .story-content { grid-column: auto; grid-row: auto; }
  .story-image { max-width: 360px; justify-self: start; }
}
@media (max-width: 450px) {
  .nav { height: auto; min-height: 84px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
  .nav nav { flex-wrap: wrap; gap: 0 12px; }
  .nav nav a { padding-block: 8px; }
}

.course-description { max-width: 64ch; }
.course-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.course-facts li { padding: 6px 10px; border: 1px solid #dcd8e9; color: var(--muted); font-size: 13px; }
.course-body { padding-block: 55px; }
.course-body h2 { font-size: clamp(28px, 3.7vw, 43px); }
.lesson-list, .course-fees { max-width: 820px; border-top: 1px solid #a6a6b4; margin-top: 24px; }
.lesson-list details { border-bottom: 1px solid var(--line); }
.lesson-list summary { display: grid; grid-template-columns: 78px 1fr 24px; align-items: center; gap: 8px; list-style: none; padding: 16px 8px; cursor: pointer; font-weight: 700; }
.lesson-list summary::-webkit-details-marker { display: none; }
.lesson-list summary::after { content: '+'; color: var(--purple); justify-self: center; }
.lesson-list details[open] summary::after { content: '−'; }
.lesson-list summary:hover { background: var(--paper); }
.lesson-list summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.lesson-index { color: var(--purple); font-size: 13px; }
.lesson-list p { margin: 0 28px 17px 94px; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.course-note { max-width: 820px; margin-top: 22px; padding: 17px; background: var(--paper); }
.course-note h3 { font-size: 16px; }
.course-note p { margin-top: 7px; color: var(--muted); line-height: 1.6; }
.course-pricing { background: var(--paper); }
.course-fees { list-style: none; padding: 0; margin-bottom: 0; }
.course-fees li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 620; }
.course-fees strong { color: var(--purple); font-size: clamp(19px, 3vw, 26px); white-space: nowrap; }
.course-fees small { color: var(--muted); margin-left: 7px; font-size: 12px; white-space: nowrap; }
@media (max-width: 600px) {
  .course-body { padding-block: 38px; }
  .lesson-list summary { grid-template-columns: 62px 1fr 20px; font-size: 15px; padding-inline: 4px; }
  .lesson-list p { margin-inline: 4px; font-size: 14px; }
}

.consult-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(32px, 6vw, 84px); padding-block: 56px 72px; }
.consult-guide { padding-top: 20px; border-top: 1px solid var(--line); }
.consult-guide h2, .consult-card h2 { font-size: clamp(24px, 3vw, 35px); }
.consult-guide ol { margin: 19px 0 0; padding-left: 21px; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.consult-guide li + li { margin-top: 8px; }
.consult-card { border: 1px solid var(--line); padding: clamp(19px, 3vw, 34px); }
.consult-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 20px; padding: 11px 13px; background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.5; }
.example-button { padding: 5px 0; color: var(--purple); background: none; border: 0; font: inherit; font-weight: 730; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consult-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 13px; }
.consult-field { display: grid; gap: 8px; }
.consult-wide { grid-column: 1 / -1; }
.consult-field label { font-size: 15px; font-weight: 680; }
.consult-field label span { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.consult-field input, .consult-field select, .consult-field textarea { width: 100%; min-height: 47px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #bdbfcd; border-radius: 0; font: inherit; }
.consult-field textarea { resize: vertical; }
.consult-field :is(input, select, textarea):focus-visible, .consult-card button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.consult-card .button { border: 0; font-family: inherit; cursor: pointer; margin-top: 24px; }
.consult-card button:disabled { opacity: .55; cursor: default; }
.consult-result-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .consult-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 46px; }
}
@media (max-width: 450px) {
  .consult-fields { grid-template-columns: 1fr; }
}

.outcomes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.outcomes-grid section { padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

.faculty { padding-block: clamp(34px, 7vw, 84px); }
.faculty-profile {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 80px);
}
.faculty-profile + .faculty-profile {
  border-top: 1px solid var(--line);
  margin-top: clamp(34px, 7vw, 72px);
  padding-top: clamp(34px, 7vw, 72px);
}
.faculty-photo, .studio-photo { margin: 0; }
.faculty-photo img, .studio-photo img { display: block; width: 100%; height: auto; background: var(--paper); }
.faculty-photo figcaption, .studio-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.faculty-facts {
  display: grid;
  grid-template-columns: minmax(108px, auto) minmax(0, 1fr);
  gap: 12px 20px;
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
  padding-top: 16px;
  line-height: 1.65;
}
.faculty-facts dt { font-weight: 700; }
.faculty-facts dd { margin: 0; color: var(--muted); }
.faculty-programs { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 0; list-style: none; }
.faculty-programs a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.faculty-sample { color: var(--muted); font-size: 0.5em; }
.faculty-note { font-size: 14px; }

@media (max-width: 640px) {
  .faculty-profile { grid-template-columns: 1fr; }
  .faculty-photo { max-width: 240px; }
}
@media (max-width: 450px) {
  .faculty-facts { grid-template-columns: 1fr; gap: 6px; }
  .faculty-facts dd + dt { margin-top: 7px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > *, .comparison-intro h1 { animation: intro-rise 500ms ease-out both; }
  .hero-content h1 { animation-delay: 70ms; }
  .hero-content .hero-intro-link { animation-delay: 130ms; }
  .button, .program-list a {
    transition: background-color 180ms ease, border-color 180ms ease;
  }
  .text-link span[aria-hidden], .program-list a > [aria-hidden="true"] {
    display: inline-block;
    transition: transform 180ms ease;
  }
  .text-link:is(:hover, :focus-visible) span[aria-hidden],
  .program-list a:is(:hover, :focus-visible) > [aria-hidden="true"] {
    transform: translate(2px, -2px);
  }
}

@keyframes intro-rise {
  from { opacity: .65; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lavender-page .comparison-intro, .lavender-page .course-pricing {
  background: transparent;
}
.lavender-page .comparison-intro {
  padding-bottom: 28px;
}
.lavender-page .consult-card {
  padding: 0;
  border: 0;
}
.lavender-page .consult-preview {
  padding-inline: 0;
  background: transparent;
}
.lavender-page .consult-guide {
  border-top: 0;
}
@media (max-width: 600px) {
  .lavender-page .comparison-intro { padding-bottom: 18px; }
}

.sunset-layout {
  display: grid;
  isolation: isolate;
  background: #f8f7fa;
}
.sunset-sky, .sunset-content { grid-area: 1 / 1; min-width: 0; }
.sunset-sky {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100svh;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 65%, #f8f7fa 100%),
    linear-gradient(100deg, #f8f7fa4d, #f8f7fa24 55%, #f8f7fa0d),
    url("window-sunset.webp") right center / cover no-repeat;
}
.sunset-content {
  position: relative;
  background: linear-gradient(transparent, #f8f7fa) center bottom / 100% 120px no-repeat;
}
.sunset-layout .approach { background: transparent; }

@media (max-width: 600px) {
  .sunset-sky { background-position: center, center, right center; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sunset-layout .hero-content > *, .page-scroll-intro h1 { animation: none; }
    .sunset-layout .hero-content, .page-scroll-intro {
      animation: home-hero-drift linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 90%;
    }
    .sunset-layout .story-content, .page-scroll-copy {
      animation: home-copy-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
    .page-scroll-intro:focus-within, .page-scroll-copy:focus-within { animation: none; }
  }
}

@keyframes home-hero-drift {
  to { transform: translateY(-34px); }
}
@keyframes home-copy-rise {
  from { opacity: .72; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.schedule-section { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 100px); }
.schedule-section h2 { font-size: clamp(27px, 4vw, 42px); }
.schedule-intro { font-size: 15px; }
.schedule-intro strong { color: var(--ink); }
.weekly-schedule {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 26px;
  font-size: 15px;
}
.weekly-schedule th, .weekly-schedule td {
  padding: 13px 5px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.weekly-schedule th:first-child { width: clamp(57px, 15%, 155px); text-align: left; word-break: keep-all; }
.weekly-schedule thead th { color: var(--muted); font-size: 13px; font-weight: 650; }
.weekly-schedule abbr { text-decoration: none; }
.schedule-director { --slot-ink: #48337a; --slot-bg: #ede7f7; }
.schedule-guest { --slot-ink: #234f60; --slot-bg: #e2eff2; }
.weekly-schedule tbody th { color: var(--slot-ink); }
.schedule-slot {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 116px;
  min-height: 43px;
  padding: 6px 3px;
  border-radius: 6px;
  background: var(--slot-bg);
  color: var(--slot-ink);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}
.schedule-empty { color: #6e7181; }
.schedule-contact { margin-top: 18px; }
.schedule-contact .muted { margin-top: 0; font-size: 14px; }
.schedule-contact .text-link { margin-top: 9px; }

@media (max-width: 800px) {
  .schedule-slot { flex-direction: column; }
  .schedule-dash { display: none; }
}
@media (max-width: 450px) {
  .weekly-schedule th, .weekly-schedule td { padding-inline: 2px; }
  .weekly-schedule tbody th { font-size: 12px; }
  .schedule-slot { font-size: 11px; padding-inline: 0; }
}

.course-lead { margin-top: 18px; max-width: 65ch; font-size: clamp(18px, 2.3vw, 24px); font-weight: 700; line-height: 1.5; word-break: keep-all; }
.course-points, .lesson-points { color: var(--muted); line-height: 1.7; word-break: keep-all; }
.course-points { padding-inline-start: 1.25em; }
.lesson-points { margin: 0 28px 17px 94px; padding-inline-start: 1.25em; }
.course-fit { margin-bottom: clamp(30px, 5vw, 52px); }
.program-application {
  margin-top: 14px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
}
.program-application h2 {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.program-application h2 span { color: var(--muted); font-size: 12px; font-weight: 650; }
.program-application .muted { margin-top: 10px; max-width: 68ch; }
.application-guide-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.application-guide-links a { color: #73586f; text-decoration: underline; text-underline-offset: 4px; }
.application-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-block: 10px 0;
  padding-inline-start: 1.4em;
  line-height: 1.55;
}
.one-day-caption { margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.one-day-list { list-style: none; }
.one-day-row { min-height: 96px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 6px; }
.one-day-row strong { font-family: var(--font-heading); }
.one-day-row small { font-size: 14px; line-height: 1.7; max-width: 55ch; margin-top: 8px; }
.one-day-stage { color: var(--muted); font-size: 13px; white-space: nowrap; }
.one-day-enrollment { padding: 0 6px; }
.one-day-status { color: #73586f; font-size: 16px; font-weight: 700; font-family: var(--font-heading); }
.one-day-enrollment .muted { font-size: 14px; line-height: 1.8; }
.one-day-apply { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; padding: 10px 20px; border: 1px solid #73586f40; border-radius: 8px; background: transparent; color: var(--muted); font: 600 14px var(--font-heading); }
.one-day-apply:disabled { cursor: not-allowed; }
.one-day-footnote { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
@media (max-width: 600px) {
  .one-day-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 20px; }
  .one-day-stage { font-size: 12px; }
}
.program-letter { margin-bottom: clamp(44px, 7vw, 96px); }
.letter-paper {
  position: relative;
  isolation: isolate;
  width: min(100%, 850px);
  margin-inline: 0;
  padding: 42px 0 48px;
  font-family: "Nanum Pen Script", var(--font);
  color: #64505f;
}
.letter-paper h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.letter-body { display: grid; gap: 24px; margin-top: 30px; font-size: clamp(23px, 2.2vw, 27px); line-height: 1.65; word-break: keep-all; }
.letter-body strong, .letter-signoff { color: #503e4f; font-weight: 400; }
.letter-signoff { margin-top: 8px; }
.letter-skip { position: absolute; bottom: 7px; right: 0; padding: 5px 0; border: 0; background: transparent; color: #73586f; font: 13px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.letter-skip[hidden] { display: none; }
.letter-writing > h2, .letter-writing > .letter-body { opacity: 0; }
.letter-ink { position: absolute; inset: 0; pointer-events: none; }
.letter-ink-line { position: absolute; overflow: hidden; white-space: pre; }
.letter-ink-glyph { position: absolute; white-space: pre; }
.letter-pen { position: absolute; width: 32px; height: 42px; overflow: visible; color: #73586f; pointer-events: none; }
@media (max-width: 600px) {
  .letter-paper { padding-block: 32px 44px; }
  .letter-body { gap: 20px; }
}
@media (max-width: 600px) {
  .lesson-points { margin-inline: 64px 14px; }
  .application-steps { display: grid; }
}

.consult-privacy { font-size: 14px; }
.consult-error { margin-top: 14px; color: #802b38; line-height: 1.6; }
.admin-main { max-width: 920px; padding-block: 38px 68px; }
.admin-main h1 { font-size: clamp(30px, 6vw, 50px); }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-block: 24px; }
.admin-filters a[aria-current] { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.admin-request { padding-block: 20px; border-top: 1px solid var(--line); }
.admin-request h2 { font-size: 22px; }
.admin-request time { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.admin-request .admin-phone { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.admin-message { margin-top: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.admin-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.admin-status select { padding: 8px; font: inherit; }
.admin-status button { margin-top: 0; min-height: 40px; padding: 8px 14px; border: 0; font-family: inherit; cursor: pointer; }
.admin-pagination { display: flex; flex-wrap: wrap; gap: 20px; }

/* Give each home chapter its own viewport while allowing long content to grow. */
.home .hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  align-items: center;
}
.home .hero-content {
  padding-block: 120px 90px;
}
.home .story-grid {
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(40px, 6svh, 80px);
}
@media (max-width: 640px) {
  .home .hero-content { padding-block: 120px 64px; }
  .home .story-grid { align-content: center; }
}

.home .nav { justify-content: flex-end; }
.hero-brand {
  display: inline-block;
  margin-bottom: clamp(22px, 3vh, 32px);
  color: var(--purple);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
}
@media (max-width: 450px) {
  .home .nav { align-items: flex-end; }
}

/* Homepage brand palette. */
.home {
  --purple: #c596fd;
  --lavender: #e8d6fe;
  --ink: #1c2030;
  --muted: #1c2030;
}
.home .sunset-sky {
  background:
    linear-gradient(to bottom, transparent 65%, #f8f7fa 100%),
    linear-gradient(100deg, #e8d6fe26, #e8d6fe12 55%, #f8f7fa0d),
    url("window-sunset.webp") right center / cover no-repeat;
}
.home .button { color: var(--ink); }
.home .button:hover { background: var(--lavender); }
.home .eyebrow,
.home .story-format,
.home .text-link {
  color: var(--ink);
}
.home .eyebrow,
.home .text-link {
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.home .text-link:hover { text-decoration-color: var(--ink); }
.home .nav nav a:hover,
.home .nav nav a[aria-current] { text-decoration-color: var(--purple); }
.home a:focus-visible { outline-color: var(--ink); }
.home footer { background: #e8d6fe33; }
@media (max-width: 600px) {
  .home .sunset-sky { background-position: center, center, right center; }
}

.home .hero-brand { color: #73586f; }

/* Match the three home photographs with soft, consistent edges. */
.home .story-image,
.home .studio-photo {
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.home .story-image,
.home .studio-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}
@media (max-width: 640px) {
  .home .story-image,
  .home .studio-photo { max-width: 360px; }
  .home .story-image,
  .home .studio-photo img { border-radius: 18px; }
}

.home .studio-booking,
.home .studio-booking:hover { background: transparent; padding-inline: 0; }

.faculty-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: #e8d6fe55;
  border: 1px solid #c596fd55;
  color: var(--muted);
  font-size: 16px;
}
.weekly-schedule th:first-child { padding-left: 12px; }
.weekly-schedule .schedule-pending { color: var(--muted); font-size: 14px; }

/* Compact, touch-friendly enrollment and consultation. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.application-page [hidden] { display: none !important; }
.application-page .application-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.application-page .consult-guide { position: sticky; top: 36px; }
.application-hint, .application-help { font-size: 14px; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.application-hint { margin-top: 24px; }
.application-help { margin-block: 12px 18px; }
.application-form-area { min-width: 0; }
.application-kind { display: flex; padding: 4px; gap: 4px; border: 0; margin: 0 0 24px; background: #e8d6fe40; border-radius: 999px; }
.application-kind label { flex: 1; position: relative; text-align: center; cursor: pointer; }
.application-kind input { position: absolute; opacity: 0; }
.application-kind span { display: block; padding: 13px 12px; border-radius: 999px; color: #64546e; font-weight: 650; }
.application-kind input:checked + span { background: #ffffffbc; color: #503c64; box-shadow: 0 2px 12px #73586f0a; }
.application-kind input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.application-progress { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 0 0 20px; margin: 0 0 28px; color: var(--muted); font-size: 14px; border-bottom: 1px solid #73586f30; }
.application-progress li[aria-current] { color: #73586f; font-weight: 750; }
.application-progress li.step-complete::after { content: ' ✓'; }
.application-step { scroll-margin-top: 28px; }
.application-step h2 { outline: 0; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.4; }
.course-choices, .regular-mode, .video-field { border: 0; padding: 0; margin: 0; }
.course-choices label { display: flex; gap: 12px; align-items: start; padding: 17px 4px; border-bottom: 1px solid #73586f24; cursor: pointer; }
.course-choices input, .simple-check input { accent-color: #73586f; width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; }
.course-choices strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.5; }
.course-choices small { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.course-choices label:has(input:checked) { color: #73586f; background: #e8d6fe22; }
.regular-mode { margin-top: 22px; }
.regular-mode legend, .video-field legend { margin-bottom: 12px; font-size: 16px; font-weight: 650; }
.regular-mode legend span, .video-field legend span { font-size: 12px; color: var(--muted); font-weight: 400; }
.choice-pill { display: inline-flex; position: relative; margin: 0 7px 8px 0; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; }
.choice-pill span { display: block; padding: 11px 14px; border: 1px solid #73586f38; border-radius: 14px; background: #ffffff70; font-size: 14px; line-height: 1.5; }
.choice-pill input:checked + span { background: #e8d6fead; border-color: #8e719b; color: #503e4f; }
.choice-pill input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.course-selection-summary { font-size: 14px; line-height: 1.7; color: #64505f; margin: 20px 0 0; }
.day-choices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-block: 20px; }
.day-choices button { min-height: 48px; border: 1px solid #73586f38; border-radius: 14px; background: #ffffff70; font: inherit; cursor: pointer; }
.day-choices button[aria-pressed="true"] { color: #503e4f; background: #e8d6fead; border-color: #8e719b; }
.time-panel { border: 0; border-top: 1px solid #73586f25; padding: 14px 0 4px; margin: 24px 0 0; min-width: 0; }
.time-panel legend { float: left; font-weight: 650; line-height: 32px; }
.time-panel .all-times { display: block; margin: 0 0 12px auto; padding: 5px; color: #73586f; background: none; border: 0; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.time-choices { clear: both; display: flex; flex-wrap: wrap; }
.selected-times { font-size: 14px; color: #73586f; line-height: 1.7; padding-block: 8px; margin-block: 8px 18px; word-break: keep-all; }
.simple-check { display: flex; gap: 10px; align-items: start; font-size: 15px; line-height: 1.65; cursor: pointer; }
.simple-check small { font-size: 12px; color: var(--muted); }
.application-page .consult-fields { margin-top: 24px; gap: 22px 16px; }
.application-page .consult-field label { font-size: 15px; }
.application-page .consult-field :is(input, select, textarea) { border: 1px solid #73586f38; border-radius: 12px; background: #ffffff9c; font-size: 16px; min-width: 0; }
.application-page .consult-field textarea { line-height: 1.6; }
.schedule-note { margin-top: 24px; }
.optional-profile { margin-top: 28px; padding-block: 18px; border-top: 1px solid #73586f28; border-bottom: 1px solid #73586f28; }
.optional-profile summary { font-size: 16px; cursor: pointer; font-weight: 600; }
.optional-profile summary span { font-size: 13px; font-weight: 400; margin-left: 7px; color: var(--muted); }
.video-field { margin-top: 28px; }
.video-upload { display: inline-flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.video-upload input { font: inherit; max-width: 100%; }
.video-upload input::file-selector-button { padding: 12px 18px; margin-right: 10px; border: 1px solid #73586f55; border-radius: 12px; color: #503e4f; background: #e8d6fe88; font: inherit; cursor: pointer; }
#video-name { overflow-wrap: anywhere; }
.privacy-check { margin-top: 28px; }
.application-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.application-page .application-actions .button { margin-top: 0; border-radius: 999px; background: #73586f; font-size: 16px; flex: 1; justify-content: center; min-height: 52px; }
.application-back { padding: 12px 8px; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.application-page button:focus-visible, .application-page summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.application-result { padding-block: 32px; }
.admin-facts { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 8px 20px; margin-block: 18px; font-size: 15px; line-height: 1.65; }
.admin-facts dt { font-weight: 650; }
.admin-facts dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-kind { display: inline-block; font-size: 13px; padding: 4px 9px; border-radius: 999px; background: #e8d6fe77; color: #503e4f; margin-block: 12px 6px; }
.admin-video-link { display: inline-block; margin-block: 12px; color: var(--purple); text-decoration: underline; }
@media (max-width: 760px) {
  .application-page .application-layout { grid-template-columns: 1fr; }
  .application-page .consult-guide { position: static; padding: 0; }
  .application-page .consult-guide h2 { display: none; }
  .application-page .application-layout { padding-top: 16px; }
  .application-page .consult-guide .muted { margin-top: 0; }
  .application-page .consult-guide .application-hint, .application-page .consult-guide .text-link { display: none; }
  .application-kind { margin-top: 8px; }
  .application-page .consult-guide br { display: none; }
  .application-page .consult-guide .muted { font-size: 14px; }
}
@media (max-width: 600px) {
  .application-page .nav { flex-wrap: wrap; height: auto; padding-block: 16px; row-gap: 10px; }
  .application-page .nav nav { width: 100%; justify-content: space-between; gap: 8px; }
  .application-progress { gap: 10px; font-size: 13px; }
  .day-choices { gap: 7px; }
  .choice-pill span { padding-inline: 10px; }
  .video-upload input { width: 100%; }
  .admin-facts { grid-template-columns: 1fr; gap: 4px; }
  .admin-facts dd + dt { margin-top: 8px; }
}

.application-flight { position: sticky; top: max(36px, 12vh); display: flex; align-items: center; justify-content: center; padding: 12px 12px 32px 0; min-width: 0; color: #73586f; }
.flight-visual { display: block; width: 100%; max-width: 380px; height: auto; overflow: visible; }
.flight-path { stroke: currentColor; stroke-width: 1.15; stroke-dasharray: 3 7; stroke-linecap: round; opacity: .28; }
.flight-travelled { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; opacity: .52; }
.flight-stops circle { fill: #e6dce5; stroke: #73586f; stroke-width: 1; }
.flight-stops .is-reached { fill: #73586f; }
.flight-plane { fill: #73586f; }
.flight-arrival-ring { fill: none; stroke: currentColor; stroke-width: 1; opacity: .16; }
.application-flight.is-arrived .flight-arrival-ring { opacity: .65; }
@media (prefers-reduced-motion: no-preference) {
  .flight-arrival-ring { transition: opacity 500ms ease; }
}
@media (max-width: 760px) {
  .application-flight { position: static; padding: 0; height: 70px; }
  .flight-visual { height: 70px; width: 100%; max-width: none; }
  .application-page .application-layout { gap: 16px; }
}

.consult-profile { min-width: 0; padding: 0; border: 0; margin: 24px 0 0; }
.application-page .consult-profile .consult-fields { margin-top: 0; }
.application-page .application-message { margin-top: 24px; }
.application-page .application-message textarea { width: 100%; min-height: 110px; padding: 10px 12px; border: 1px solid #73586f38; border-radius: 12px; background: #ffffff9c; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); resize: vertical; }
.application-page .application-message textarea:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* Careers and the shared five-item navigation. */
.faculty-careers { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.nav nav { flex-wrap: wrap; gap: 0 24px; }
.reviews-content { min-height: 58svh; display: flex; align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.reviews-message { max-width: 720px; padding-bottom: 24px; }
.reviews-quote { display: block; height: 54px; font: 100px/1 Georgia, serif; color: #73586f66; }
.reviews-message h2 { font-size: clamp(28px, 3.5vw, 42px); margin-top: 12px; }
.reviews-message .muted { margin-top: 22px; font-size: 16px; line-height: 1.8; }
.reviews-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 10px; }
@media (max-width: 1050px) {
  .nav { height: auto; min-height: 96px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-block: 14px; }
  .nav nav { gap: 0 20px; }
  .home .nav { min-height: 77px; align-items: flex-end; }
}
@media (max-width: 600px) {
  .nav nav, .application-page .nav nav { justify-content: flex-start; gap: 0 16px; }
  .nav nav a { font-size: 14px; padding-block: 8px; }
  .home .nav { align-items: flex-start; }
}

/* Preserve the portrait film beside the video-interview curriculum. */
.course-video-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: start; gap: clamp(32px, 5vw, 64px); }
.course-video-layout > * { min-width: 0; }
.course-video-media { padding-top: 0; }
.course-showcase-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; border: 0; border-radius: 24px; overflow: hidden; background: #0d1015; }
.course-showcase-video:focus-visible { outline: 3px solid #a184ff; outline-offset: 5px; }
@media (max-width: 900px) {
  .course-video-layout { grid-template-columns: 1fr; gap: 32px; }
  .course-video-media { width: min(100%, 340px); justify-self: center; }
}
@media (max-width: 640px) {
  .course-showcase-video { border-radius: 18px; }
}

/* A transparent header that slides away on downscroll and returns on upscroll. */
html { scroll-padding-top: calc(var(--site-header-height, 96px) + 16px); }
.header.scroll-header, .home .header.scroll-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: transparent; border: 0; box-shadow: none;
  transform: translateY(0); opacity: 1;
  transition: transform 320ms cubic-bezier(.22, .7, .25, 1), opacity 240ms ease;
}
.header-spacer { height: var(--site-header-height, 96px); }
.header.scroll-header.header-hidden {
  transform: translateY(calc(-100% - 8px)); opacity: 0; pointer-events: none;
}
.header.scroll-header:has(:focus-visible) { transform: translateY(0); opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .header.scroll-header { transition: none; }
}

/* Transparent stacked logo; crop only empty margins in its CSS viewport. */
.nav-logo { position: relative; display: block; flex: 0 0 auto; width: 58.67px; height: 74px; overflow: hidden; }
.nav-logo img { position: absolute; width: 149.82%; max-width: none; height: auto; left: -23.89%; top: -10.13%; }
.nav, .home .nav { height: auto; min-height: 99px; padding-block: 12px; flex-direction: row; justify-content: space-between; align-items: center; }
@media (max-width: 1050px) {
  .nav nav { justify-content: flex-end; }
}
@media (max-width: 600px) {
  .nav-logo { width: 48px; height: 60.67px; }
  .nav, .home .nav, .application-page .nav { min-height: 85px; gap: 18px; padding-block: 12px; flex-wrap: nowrap; align-items: center; }
  .nav nav, .application-page .nav nav { width: auto; flex: 1; justify-content: flex-end; gap: 0 13px; }
  .nav nav a { font-size: 13px; padding-block: 7px; }
  .home .hero-content { padding-top: 155px; }
}

/* Administrator record actions */
.admin-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.admin-status .admin-delete { background: transparent; color: #86515f; border: 1px solid #bc9ca8; border-radius: 6px; }
.admin-status button:focus-visible, .admin-status select:focus-visible { outline: 2px solid #73586f; outline-offset: 4px; }
.admin-notice { padding: 14px 18px; background: #e8d6fe70; border-radius: 8px; color: #503e4f; }
.admin-help { font-size: 15px; line-height: 1.7; }

/* Private student and enrollment management */
.crm-page { background: #f7f6fa; color: #252331; font-size: 16px; }
.crm-main { width: min(1120px, calc(100% - 48px)); padding-block: 30px 80px; }
.crm-main h1 { font-size: clamp(28px,4.6vw,44px); margin-block: 26px 14px; }
.crm-main h2 { font-size: 25px; letter-spacing: -.035em; margin-block: 16px; }
.crm-main h3 { font-size: 21px; margin-block: 10px; }
.crm-main h4 { font-size: 17px; margin-block: 20px 12px; }
.crm-main section { scroll-margin-top: 24px; margin-top: 30px; }
.crm-navigation { border-bottom: 1px solid #dfdbe7; padding-bottom: 18px; }
.crm-anchor-nav { display: flex; flex-wrap: wrap; gap: 14px 24px; padding-block: 20px; }
.crm-anchor-nav a, .crm-navigation a { color: #73586f; font-weight: 650; }
.crm-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-block: 28px; }
.crm-stats a { padding: 20px; border: 1px solid #e2dce9; border-radius: 14px; background: #fff; }
.crm-stats span { display: block; color: #655b70; font-size: 14px; }
.crm-stats strong { display: inline-block; font-size: 32px; margin: 8px 8px 0 0; }
.crm-stats small { font-size: 14px; }
.crm-search { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crm-search input { flex: 1; min-width: 180px; }
.crm-search input, .crm-form input, .crm-form textarea, .crm-form select { background: white; border: 1px solid #c9c2d3; border-radius: 7px; min-height: 44px; padding: 10px 12px; font: inherit; color: inherit; width: 100%; }
.crm-search input { width: auto; }
.crm-search button, .crm-submit { background: #73586f; color: #fff; border: 0; border-radius: 7px; padding: 11px 18px; font: inherit; font-weight: 650; min-height: 44px; cursor: pointer; }
.crm-form input:focus-visible, .crm-form select:focus-visible, .crm-form textarea:focus-visible, .crm-main a:focus-visible, .crm-main button:focus-visible { outline: 3px solid #a785be; outline-offset: 3px; }
.crm-students { display: grid; gap: 12px; }
.crm-student-card { display: grid; grid-template-columns: 190px 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid #e0dbe7; border-radius: 12px; background: white; }
.crm-student-card:hover { border-color: #a78dab; }
.crm-student-card h2 { font-size: 21px; margin: 0 0 8px; }
.crm-student-card p { margin: 0; font-size: 15px; color: #665e70; }
.crm-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.crm-badges span, .crm-badge { display: inline-block; font-size: 14px; padding: 5px 10px; background: #f0eaf4; color: #5c4867; border-radius: 6px; }
.crm-open { font-size: 14px; color: #73586f; font-weight: 700; }
.crm-warning { color: #96532e !important; }
.crm-panel { border: 1px solid #e1dbe8; border-radius: 14px; padding: 26px; background: #fff; margin-block: 18px; }
.crm-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.crm-kicker { color: #716078; font-size: 14px; }
.crm-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; padding-block: 22px; }
.crm-summary dt { color: #746a7e; font-size: 14px; margin-bottom: 8px; }
.crm-summary dd { margin: 0; font-size: 18px; font-weight: 650; }
.crm-panel details { border-top: 1px solid #e7e2ed; padding-block: 18px; }
.crm-panel summary { font-weight: 650; cursor: pointer; line-height: 1.6; }
.crm-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-block: 20px; align-items: end; }
.crm-field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; min-width: 0; }
.crm-field span { color: #5c5268; }
.crm-form textarea { resize: vertical; }
.crm-form .crm-wide { grid-column: 1/-1; }
.crm-submit { justify-self: start; }
.crm-records, .crm-timeline { list-style: none; margin: 18px 0; padding: 0; }
.crm-records li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #eee8f1; font-size: 15px; }
.crm-records li p { margin-top: 8px; white-space: pre-wrap; }
.crm-records .crm-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.crm-records .crm-form .crm-field { min-width: 150px; }
.crm-records .crm-submit { font-size: 14px; }
.crm-timeline li { padding: 18px 0; border-bottom: 1px solid #e8e1ed; }
.crm-timeline .crm-form { display: block; margin: 12px 0 0; }
.crm-help { font-size: 14px; color: #756b7d; line-height: 1.75; margin-block: 18px; }
.crm-history-item summary { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.crm-history-item summary time, .crm-history-item summary span { font-size: 14px; color: #76697e; font-weight: 400; }
@media (max-width: 760px) {
 .crm-stats { grid-template-columns: repeat(2,1fr); }
 .crm-student-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
 .crm-summary { grid-template-columns: repeat(2,1fr); }
 .crm-form { grid-template-columns: 1fr; }
 .crm-main { width: calc(100% - 32px); }
 .crm-panel { padding: 20px 16px; }
 .crm-search label { width: 100%; }
}

/* Rounded titles and navigation; reading copy keeps Pretendard. */
h1, h2, h3, h4, h5, h6,
.nav nav a,
.brand,
.program-list strong,
.course-choices strong,
.application-kind span,
.lesson-list summary {
  font-family: var(--font-heading);
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
.hero h1, .comparison-intro h1 {
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.16;
}
h2 { letter-spacing: -.035em; }
.nav nav a { font-weight: 700; }
.letter-paper h2 { font-family: inherit; }

/* Private management workspace; shared with student, payment and schedule views. */
.admin-page { --admin-accent: #73586f; --admin-border: #e7e2e8; background: #f7f6f8; color: #292631; font-size: 16px; }
.admin-page svg { width: 20px; height: 20px; flex: 0 0 20px; }
.admin-page a, .admin-page button, .admin-page input, .admin-page select, .admin-page summary { -webkit-tap-highlight-color: transparent; }
.admin-page a:focus-visible, .admin-page summary:focus-visible, .admin-page button:focus-visible, .admin-page input:focus-visible, .admin-page select:focus-visible { outline: 3px solid #a785be; outline-offset: 3px; }
.admin-skip { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px 18px; border-radius: 8px; background: white; }
.admin-skip:focus { top: 12px; }
.admin-app { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 100svh; }
.admin-sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 28px 18px 24px; background: #fff; border-right: 1px solid var(--admin-border); }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 2px 30px; }
.admin-brand img { width: 64px; height: 76px; object-fit: contain; }
.admin-brand > span { font-size: 10px; letter-spacing: .1em; color: #89758a; }
.admin-brand > span > span { display: block; margin-top: 8px; font: 700 15px/1.5 var(--font-heading); letter-spacing: -.03em; color: #3b303d; }
.admin-nav-label { color: #8b828e; font-size: 12px; padding-inline: 15px; margin-bottom: 14px; }
.admin-sidebar nav { display: grid; gap: 7px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 15px; border-radius: 10px; color: #746976; font: 700 15px/1.5 var(--font-heading); }
.admin-sidebar nav a:hover { background: #f6f2f6; }
.admin-sidebar nav a[aria-current] { color: #644b63; background: #eee6ef; }
.admin-public-link { margin-top: auto; padding: 24px 15px 12px; color: #65546a; font-size: 14px; }
.admin-public-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.admin-private-label { color: #958b99; font-size: 12px; padding-inline: 15px; }
.admin-page .admin-workspace { width: 100%; max-width: 1480px; min-width: 0; margin: 0 auto; padding: 38px 34px 64px; }
.admin-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
.admin-eyebrow { color: #927b92; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.admin-page .admin-heading h1 { margin: 10px 0 12px; font-size: clamp(26px,3vw,34px); line-height: 1.3; letter-spacing: -.035em; }
.admin-subtitle { color: #807584; font-size: 14px; line-height: 1.7; word-break: keep-all; }
.admin-date { display: grid; gap: 7px; padding-top: 7px; text-align: right; white-space: nowrap; font-size: 14px; }
.admin-date span { color: #988b9c; font-size: 12px; }
.admin-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.admin-page .admin-overview { margin-top: 0; }
.admin-metric { display: grid; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--admin-border); border-radius: 16px; transition: border-color .18s, transform .18s; }
.admin-metric:hover { border-color: #b29bb3; transform: translateY(-2px); }
.admin-metric-label { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #5e4f63; font: 700 16px/1.5 var(--font-heading); }
.admin-metric-label svg { color: #a58ca7; }
.admin-metric strong { font-size: 34px; font-weight: 650; line-height: 1.2; color: #503c52; }
.admin-metric strong small { color: #958599; font-size: 13px; font-weight: 400; margin-left: 8px; }
.admin-metric-description { color: #776b7b; font-size: 12px; line-height: 1.5; }
.admin-dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 22px; margin-top: 26px; align-items: start; }
.admin-dashboard-grid > div { min-width: 0; }
.admin-panel { border: 1px solid var(--admin-border); border-radius: 16px; background: #fff; overflow: hidden; }
.admin-page .admin-panel { margin-top: 0; }
.admin-panel-title { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; }
.admin-page .admin-panel-title h2 { display: flex; gap: 9px; align-items: center; font-size: 20px; margin: 0; line-height: 1.5; }
.admin-panel-title p { margin-top: 8px; font-size: 13px; color: #8e8192; line-height: 1.7; }
.admin-panel-title > a { font-size: 13px; color: var(--admin-accent); white-space: nowrap; }
.admin-panel-title > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; min-width: 590px; text-align: left; font-size: 14px; }
.admin-table caption.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.admin-table th { color: #8a7f8e; font-weight: 500; font-size: 12px; background: #fbf9fc; padding: 13px 16px; border-block: 1px solid #eee9ef; white-space: nowrap; }
.admin-table td { padding: 20px 16px; border-bottom: 1px solid #f0ebf1; line-height: 1.6; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:first-child { width: 125px; color: #978d9b; font-size: 12px; }
.admin-table td:nth-child(3) { max-width: 200px; font-size: 13px; color: #786d7c; word-break: keep-all; }
.admin-person { display: inline-block; font-weight: 700; color: #44364a; font-size: 16px; }
.admin-person:hover { text-decoration: underline; text-underline-offset: 4px; }
.admin-table td small { display: block; margin-top: 5px; color: #9d8ea2; font-size: 12px; }
.admin-state, .admin-enrolled, .admin-pending { display: inline-flex; align-items: center; border-radius: 6px; padding: 5px 9px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.admin-state-new { color: #79568d; background: #f0e8f6; }
.admin-state-contacting { color: #9b7138; background: #fbf2e6; }
.admin-state-completed { color: #527f6b; background: #eaf4ed; }
.admin-enrolled { color: #685d74; background: #f1eef6; }
.admin-pending { color: #847789; padding-inline: 0; }
.admin-task-column { display: grid; gap: 18px; }
.admin-task-panel .admin-panel-title { padding: 20px 20px 8px; }
.admin-page .admin-task-panel h2 { font-size: 17px; }
.admin-task-panel h2 svg { width: 18px; height: 18px; color: #9d85a0; }
.admin-task-list { margin: 0; padding: 0 20px; list-style: none; }
.admin-task-list li { border-bottom: 1px solid #eee9ef; }
.admin-task-list li:last-child { border-bottom: 0; }
.admin-task-list a { display: grid; gap: 8px; padding: 18px 0; }
.admin-task-list a:hover strong { color: var(--admin-accent); text-decoration: underline; }
.admin-task-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; color: #887491; }
.admin-task-top strong { color: #57445b; font-size: 14px; }
.admin-task-list a > span:not(.admin-task-top) { color: #8e8092; font-size: 13px; line-height: 1.65; }
.admin-task-list small { color: #817087; font-size: 12px; }
.admin-task-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.admin-task-empty { color: #a295a6; font-size: 13px; padding: 24px 20px; line-height: 1.8; }
.admin-overdue { color: #a46d4c !important; }
.admin-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.admin-shortcuts > a { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--admin-border); border-radius: 14px; background: #fff; }
.admin-shortcuts > a:hover { border-color: #b29bb3; }
.admin-shortcuts svg { color: #a28aa4; }
.admin-shortcuts strong { display: block; font: 700 16px/1.5 var(--font-heading); }
.admin-shortcuts small { display: block; color: #817087; font-size: 12px; margin-top: 7px; line-height: 1.6; }
.admin-footnote { color: #817087; font-size: 12px; line-height: 1.8; margin-top: 26px; }
.admin-empty { padding: 46px 24px; text-align: center; color: #a293a5; }
.admin-empty svg { display: block; margin: 0 auto 16px; width: 28px; height: 28px; }
.admin-empty strong { display: block; font-size: 16px; font-weight: 600; }
.admin-empty p { margin-top: 10px; font-size: 14px; line-height: 1.8; }
.admin-intake-panel { padding-bottom: 8px; }
.admin-total { font: 500 13px var(--font); margin-left: 5px; color: #9b869f; }
.admin-intake-search { padding: 0 24px 20px; }
.admin-intake-search label { display: block; font-size: 14px; color: #837388; margin-bottom: 10px; }
.admin-intake-search > div { display: flex; gap: 10px; max-width: 480px; }
.admin-intake-search input { min-width: 0; flex: 1; min-height: 44px; border: 1px solid #dfd6e4; border-radius: 8px; font: inherit; padding: 10px 12px; background: #fff; }
.admin-intake-search button { min-height: 44px; border: 0; border-radius: 8px; font: inherit; padding: 10px 20px; background: var(--admin-accent); color: white; cursor: pointer; }
.admin-intake-filters { padding: 0 24px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.admin-type-tabs, .admin-status-tabs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px; align-items: center; }
.admin-type-tabs a { padding: 10px 13px; border-radius: 8px; color: #918495; }
.admin-type-tabs a[aria-current] { color: #6b5072; background: #f0e9f2; font-weight: 650; }
.admin-status-tabs a { padding: 7px 11px; border: 1px solid #e8e1eb; border-radius: 20px; color: #9d8fa1; font-size: 13px; }
.admin-status-tabs a[aria-current] { border-color: #ac8cb4; color: #73547d; background: #fbf8fd; }
.admin-page .admin-request { padding: 0; border-top: 1px solid #ece6ef; scroll-margin-top: 24px; }
.admin-request:target { background: #fdfbfe; }
.admin-request-row { display: grid; grid-template-columns: minmax(130px,.8fr) minmax(180px,2fr) 105px 105px; gap: 18px; padding: 24px; align-items: center; }
.admin-request-person { display: grid; gap: 8px; }
.admin-request-person .admin-phone { font-size: 13px; color: #816c89; }
.admin-request-program { min-width: 0; }
.admin-request-program .admin-kind { display: block; font-size: 12px; color: #796680; background: transparent; padding: 0; border-radius: 0; margin: 0 0 7px; }
.admin-request-program strong { display: block; font-weight: 550; font-size: 15px; line-height: 1.6; word-break: keep-all; }
.admin-request-program time { display: block; font-size: 12px; color: #83718b; margin: 6px 0 0; }
.admin-cell-label { display: block; font-size: 11px; color: #83718b; margin-bottom: 8px; }
.admin-record-details > summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 24px; font-size: 13px; color: #967f9c; cursor: pointer; list-style: none; background: #fcfafc; }
.admin-record-details > summary::-webkit-details-marker { display: none; }
.admin-record-details[open] > summary span { transform: rotate(45deg); }
.admin-record-body { padding: 24px; border-top: 1px solid #eee8f0; }
.admin-page .admin-record-body h3 { font-size: 16px; margin: 0 0 14px; }
.admin-record-body .admin-message { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.admin-page .admin-facts { font-size: 14px; line-height: 1.8; gap: 10px 20px; margin-top: 22px; overflow-wrap: anywhere; }
.admin-student-actions { margin: 12px 0 24px; display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.admin-page .text-link { color: var(--admin-accent); }
.admin-page .admin-status { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.admin-page .admin-status select { min-height: 42px; padding: 9px 30px 9px 12px; border: 1px solid #d6c9dc; border-radius: 7px; font: inherit; background: #fff; color: #5f4965; }
.admin-page .admin-status .button { min-height: 42px; margin: 0; padding: 9px 18px; border-radius: 7px; background: var(--admin-accent); color: #fff; font: 650 14px var(--font); cursor: pointer; }
.admin-page .admin-delete { background: transparent; border: 1px solid #ddcdd2; color: #a17883; border-radius: 7px; min-height: 42px; padding: 9px 16px; font: inherit; cursor: pointer; }
.admin-page .admin-pagination { display: flex; justify-content: center; gap: 18px; padding: 22px; font-size: 14px; }
.admin-page .admin-pagination:empty { display: none; }
.admin-page .admin-pagination a { padding: 9px 14px; border: 1px solid #e8dfea; border-radius: 7px; }
.admin-page .admin-notice { margin: 0 0 24px; border: 1px solid #e0d2e4; background: #f1eaf3; font-size: 14px; line-height: 1.8; }
.admin-page .crm-stats { margin-top: 24px; }
.admin-page .crm-stats a, .admin-page .crm-panel, .admin-page .crm-student-card { border-color: var(--admin-border); box-shadow: none; }
.admin-page .crm-anchor-nav { gap: 10px; }
.admin-page .crm-anchor-nav a, .admin-page .admin-filters a { padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.admin-page .admin-filters a[aria-current] { background: #eee6ef; color: #73586f; text-decoration: none; }
@media (max-width: 1180px) {
  .admin-app { grid-template-columns: 190px minmax(0,1fr); }
  .admin-sidebar { padding-inline: 12px; }
  .admin-brand { gap: 4px; }
  .admin-brand img { width: 54px; }
  .admin-brand > span > span { font-size: 13px; }
  .admin-page .admin-workspace { padding: 30px 24px 60px; }
  .admin-dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .admin-task-column { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-metric { padding: 18px 16px; }
  .admin-metric-label { font-size: 14px; }
}
@media (max-width: 800px) {
  .admin-app { grid-template-columns: minmax(0,1fr); }
  .admin-sidebar { position: static; height: auto; padding: 12px 20px; border-right: 0; border-bottom: 1px solid var(--admin-border); }
  .admin-brand { padding: 0 0 10px; }
  .admin-brand img { width: 42px; height: 50px; }
  .admin-brand > span { font-size: 9px; }
  .admin-brand > span > span { display: inline; margin-left: 9px; }
  .admin-sidebar nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .admin-sidebar nav a { min-height: 42px; font-size: 14px; padding: 10px 12px; white-space: nowrap; gap: 8px; }
  .admin-sidebar nav a svg { width: 16px; height: 16px; flex-basis: 16px; }
  .admin-nav-label, .admin-private-label, .admin-public-link { display: none; }
  .admin-heading { gap: 18px; }
  .admin-date { font-size: 12px; }
  .admin-task-column { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .admin-page .admin-workspace { padding: 26px 16px 40px; }
  .admin-heading { display: block; margin-bottom: 22px; }
  .admin-date { text-align: left; display: flex; gap: 12px; margin-top: 14px; padding: 0; }
  .admin-overview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .admin-metric { padding: 16px 14px; gap: 14px; }
  .admin-metric strong { font-size: 29px; }
  .admin-metric-description { font-size: 11px; }
  .admin-panel-title { align-items: flex-start; padding: 20px 16px; }
  .admin-page .admin-panel-title h2 { font-size: 18px; }
  .admin-shortcuts { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .admin-shortcuts > a { padding: 18px; }
  .admin-request-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; padding: 20px 16px; }
  .admin-request-program { text-align: right; }
  .admin-request-program strong { font-size: 14px; }
  .admin-request-status { display: flex; gap: 10px; align-items: center; }
  .admin-cell-label { margin: 0; font-size: 11px; }
  .admin-record-details > summary { padding-inline: 16px; }
  .admin-record-body { padding: 20px 16px; }
  .admin-page .admin-facts { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .admin-page .admin-facts dd { margin-bottom: 10px; }
  .admin-intake-search { padding-inline: 16px; }
  .admin-intake-filters { padding-inline: 16px; }
  .admin-page .crm-summary { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .admin-metric { transition: none; } .admin-metric:hover { transform: none; } }
/* Monthly calendar in the private schedule view. */
.admin-page .crm-calendar-panel { color: #345672; border-color: #d5e3f0; margin-top: 0; scroll-margin-top: 20px; overflow: visible; }
.crm-calendar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 26px 18px; }
.admin-page .crm-calendar-toolbar h2 { font-size: 24px; margin: 9px 0; }
.crm-calendar-description { color: #637c94; font-size: 14px; line-height: 1.7; }
.crm-calendar-this-month, .crm-calendar-controls button { border: 1px solid #d5e2ef; border-radius: 8px; padding: 10px 14px; background: #fff; color: #426b91; white-space: nowrap; font: 600 14px var(--font); }
.crm-calendar-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; }
.crm-calendar-controls nav { display: flex; align-items: center; gap: 20px; }
.admin-page .crm-calendar-controls h2 { color: #2d526f; font-size: 22px; margin: 0; }
.crm-calendar-controls nav a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #dce7f1; border-radius: 8px; font-size: 28px; color: #426b91; }
.crm-calendar-controls nav a:hover, .crm-calendar-this-month:hover { background: #edf5fc; }
.crm-calendar-controls form { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.crm-calendar-controls input { font: inherit; border: 1px solid #d5e2ef; background: white; padding: 9px; border-radius: 8px; color: #314e69; min-width: 0; }
.crm-calendar-controls button { cursor: pointer; }
.crm-calendar-help { margin: 10px 26px 20px; color: #637c94; font-size: 13px; line-height: 1.8; }
.crm-calendar-empty { margin: 0 26px 22px; border-radius: 9px; background: #f2f7fc; color: #6c8399; padding: 16px; font-size: 14px; }
.crm-calendar-weekdays, .crm-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.crm-calendar-weekdays { border-block: 1px solid #e0eaf3; background: #f5f9fd; }
.crm-calendar-weekdays span { text-align: center; padding: 13px 0; font-size: 13px; color: #647f98; }
.crm-calendar-weekdays span:first-child { color: #a36f7d; }
.crm-calendar-weekdays span:last-child { color: #5d83aa; }
.crm-calendar-day, .crm-calendar-blank { min-width: 0; min-height: 96px; border-right: 1px solid #e5edf5; border-bottom: 1px solid #e5edf5; padding: 10px 7px; }
.crm-calendar-day:nth-child(7n), .crm-calendar-blank:nth-child(7n) { border-right: 0; }
.crm-calendar-blank { background: #fbfdff; }
.crm-calendar-day.is-today { background: #eef6ff; box-shadow: inset 0 0 0 1px #a5c7e9; }
.crm-calendar-day-heading { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #6687a7; }
.crm-calendar-day-heading time { display: grid; place-items: center; width: 28px; height: 28px; color: #496983; font-size: 14px; }
.crm-calendar-day-heading a:hover { background: #e8f2fc; border-radius: 50%; }
.crm-calendar-day-heading time[aria-current] { color: white; background: #4279ad; border-radius: 50%; }
.crm-calendar-events { display: grid; gap: 5px; margin-top: 5px; }
.crm-calendar-event { display: grid; gap: 3px; border-radius: 6px; padding: 6px; background: #edf5fd; border-left: 3px solid #84afd5; font-size: 11px; line-height: 1.35; color: #50728e; overflow-wrap: anywhere; }
.crm-calendar-event:hover { box-shadow: inset 0 0 0 1px #96badd; }
.crm-calendar-event strong { font-weight: 600; font-size: 12px; line-height: 1.4; color: #2d526f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.crm-calendar-event-time { display: flex; flex-wrap: wrap; gap: 3px 7px; color: #507ba0; font-size: 11px; }
.crm-calendar-event-time > span { font-size: 10px; }
.crm-calendar-event-completed { background: #eff5f1; border-color: #91b6a1; }
.crm-calendar-event-noshow { background: #fbf0ed; border-color: #cfaa9a; }
.crm-calendar-event-mixed { background: #f8f2e9; border-color: #c3ac7f; }
.crm-calendar-more { font-size: 12px; color: #4e7fa8; padding: 4px; }
.crm-calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 18px 26px; font-size: 12px; color: #6b849b; }
.crm-calendar-legend span[data-state]::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #84afd5; }
.crm-calendar-legend span[data-state=completed]::before { background: #91b6a1; }
.crm-calendar-legend span[data-state=noshow]::before { background: #cfaa9a; }
@media (max-width: 1100px) {
  .crm-calendar-event { padding: 6px; }
  .crm-calendar-event-time > span { display: none; }
}
@media (max-width: 650px) {
  .crm-calendar-toolbar { padding: 20px 16px 10px; gap: 10px; align-items: flex-start; }
  .admin-page .crm-calendar-toolbar h2 { font-size: 21px; }
  .crm-calendar-this-month { font-size: 12px; padding: 9px 10px; }
  .crm-calendar-controls { padding: 10px 16px; }
  .crm-calendar-controls nav { gap: 15px; }
  .admin-page .crm-calendar-controls h2 { font-size: 20px; }
  .crm-calendar-controls form { width: 100%; }
  .crm-calendar-controls input { flex: 1; }
  .crm-calendar-help { margin: 8px 16px 16px; font-size: 12px; }
  .crm-calendar-day, .crm-calendar-blank { min-height: 80px; padding: 6px 2px; text-align: center; }
  .crm-calendar-day-heading { justify-content: center; }
  .crm-calendar-day-heading > span, .crm-calendar-events { display: none; }
  .crm-calendar-legend { padding: 16px; gap: 10px; }
}

/* Imported sheet entries keep their own source and never alter CRM records. */
.sheet-calendar-source { margin: 0 26px 20px; padding: 18px; border: 1px solid #dce8f3; border-radius: 12px; background: #f4f8fd; font-size: 13px; line-height: 1.8; }
.sheet-calendar-source > div:first-child { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #3c617f; font-size: 14px; }
.sheet-calendar-source > p { color: #67839c; margin-top: 9px; }
.sheet-calendar-source a { color: #4279ad; }
.sheet-kind-filters, .sheet-months nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.sheet-kind-filters a, .sheet-months a { padding: 6px 11px; border: 1px solid #cfdfef; border-radius: 8px; background: #fff; }
.sheet-kind-filters a[aria-current], .sheet-months a[aria-current] { background: #e5f0fb; color: #35648a; border-color: #a2c4e4; }
.sheet-calendar-source details { margin-top: 13px; }
.sheet-calendar-source summary { cursor: pointer; color: #537b9e; }
.sheet-review ul { list-style: none; padding: 0; }
.sheet-review li { border-top: 1px solid #dce7f1; padding: 12px 0; overflow-wrap: anywhere; }
.sheet-review li p { color: #5c7d99; }
.crm-calendar-event-director { background: #eaf3fd; border-color: #84afd5; }
.crm-calendar-event-speech { background: #eff7ff; border-color: #82abd0; }
.crm-calendar-event-room { background: #edf8fb; border-color: #81bacb; }
.crm-calendar-legend span[data-state=speech]::before { background: #82abd0; }
.crm-calendar-legend span[data-state=room]::before { background: #81bacb; }
@media(max-width:650px) { .sheet-calendar-source { margin-inline: 16px; padding: 14px; } }

/* Extra appointments stay inside the day; no separate agenda below the calendar. */
.crm-calendar-mobile { display: none; }
.crm-calendar-extra > summary { color: #4e7fa8; font-size: 12px; cursor: pointer; padding: 5px 0; }
.crm-calendar-extra > .crm-calendar-event { margin-top: 5px; }
@media(max-width:650px) {
  .crm-calendar-day { position: relative; }
  .crm-calendar-mobile { display: block; }
  .crm-calendar-mobile > summary { display: inline-block; font-size: 11px; color: #4279ad; border-radius: 5px; background: #e6f1fb; padding: 4px 6px; margin-top: 5px; cursor: pointer; list-style: none; }
  .crm-calendar-mobile > summary::-webkit-details-marker { display: none; }
  .crm-calendar-mobile-items { position: absolute; left: 0; z-index: 5; width: min(240px,calc((100vw - 34px)*.7)); max-height: 300px; overflow-y: auto; padding: 8px; border: 1px solid #c7dced; border-radius: 9px; background: white; box-shadow: 0 8px 22px #244a6d25; text-align: left; }
  .crm-calendar-mobile-items .crm-calendar-event + .crm-calendar-event { margin-top: 5px; }
  .crm-calendar-day:nth-child(7n+4) .crm-calendar-mobile-items { left: 50%; transform: translateX(-50%); }
  .crm-calendar-day:nth-child(7n+5) .crm-calendar-mobile-items, .crm-calendar-day:nth-child(7n+6) .crm-calendar-mobile-items, .crm-calendar-day:nth-child(7n) .crm-calendar-mobile-items { left: auto; right: 0; }
}

.crm-calendar-controls nav a.crm-calendar-this-month { width: auto; height: auto; font-size: 13px; padding: 9px 12px; margin-left: 2px; }
@media (max-width: 650px) { .crm-calendar-controls { padding-block: 16px; } .crm-calendar-controls nav { gap: 10px; } }
/* Blue palette shared by the calendar and lesson details. */
button.crm-calendar-event { width:100%; text-align:left; border-top:0; border-right:0; border-bottom:0; font-family:var(--font); cursor:pointer; }
button.crm-calendar-event:focus-visible { outline:2px solid #548cbf; outline-offset:2px; }
.crm-calendar-event-cancelled { background:#f1f4f7; border-color:#aebdca; opacity:.8; }
.crm-calendar-event-cancelled strong, .crm-calendar-event-cancelled .crm-calendar-event-time { text-decoration:line-through; }
.calendar-cancelled-label { font-size:10px; color:#72869a; }
.calendar-dialog { width:min(620px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); padding:28px; color:#2d4964; background:#ffffff; border:1px solid #d9e6f2; border-radius:20px; box-shadow:0 25px 90px #20486f33; overflow:auto; }
.calendar-dialog::backdrop { background:#193c5b66; backdrop-filter:blur(3px); }
.calendar-dialog [hidden] { display:none!important; }
.calendar-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }
.admin-page .calendar-dialog h2 { color: #2d526f; margin:5px 0 0; font-size:25px; }
.calendar-close { width:34px; height:34px; flex-shrink:0; border:0; border-radius:50%; background:#edf4fb; color:#426b91; cursor:pointer; font-size:24px; }
.calendar-detail-summary { background:#f2f7fc; padding:16px; border-radius:12px; margin-bottom:18px; }
.calendar-detail-summary > strong { font-size:18px; }
.calendar-detail-summary p { margin-top:6px; font-size:13px; }
.calendar-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:18px; }
.calendar-dialog label { display:grid; gap:8px; font-size:13px; font-weight:600; }
.calendar-dialog input, .calendar-dialog select, .calendar-dialog textarea { width:100%; min-width:0; background:white; border:1px solid #d3e1ef; border-radius:9px; padding:11px; font:14px var(--font); color:#314e69; }
.calendar-dialog textarea { resize:vertical; }
.calendar-dialog input:focus, .calendar-dialog select:focus, .calendar-dialog textarea:focus { outline:2px solid #adcdea; outline-offset:1px; }
.calendar-dialog .crm-help { margin:10px 0; font-size:12px; line-height:1.7; }
.calendar-status { display:grid; align-content:start; gap:12px; font-size:13px; }
.calendar-status strong { padding:8px 0; color:#4f7fa7; }
.calendar-refund, .calendar-memo { margin-top:18px; }
.calendar-dialog-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:22px; }
.calendar-dialog-actions button, .calendar-cancel-confirm button { padding:11px 15px; border-radius:9px; font:600 13px var(--font); cursor:pointer; }
.calendar-primary { color:white; background:#4279ad; border:1px solid #4279ad; margin-left:auto; }
.calendar-secondary { color:#426b91; background:white; border:1px solid #d3e1ef; }
.calendar-cancel-lesson { color:#a26070; background:#fff6f8; border:1px solid #ebd5dc; margin-right:auto; }
.calendar-danger { color:white; background:#a26372; border:1px solid #a26372; }
.calendar-cancel-confirm { background:#fff5f7; border:1px solid #ead3da; border-radius:12px; padding:16px; margin-top:18px; font-size:13px; line-height:1.8; }
.calendar-cancel-confirm p { margin:8px 0 12px; }
.calendar-form-error { color:#9b435b; background:#fff3f6; padding:12px; border-radius:8px; font-size:13px; line-height:1.7; }
.calendar-history { margin-top:22px; border-top:1px solid #e1ebf4; padding-top:16px; font-size:12px; }
.calendar-history summary { cursor:pointer; color:#6b879f; }
.calendar-history ul { list-style:none; padding:0; }
.calendar-history li { white-space:pre-wrap; border-bottom:1px solid #e9f0f7; padding:12px 0; line-height:1.8; }
.calendar-dialog button:disabled { opacity:.5; cursor:wait; }
@media(max-width:650px) { .calendar-dialog { padding:20px; } .calendar-field-grid { grid-template-columns:1fr; gap:12px; } .calendar-dialog-actions { gap:7px; } .calendar-dialog-actions button { padding:10px 12px; } }

.calendar-dialog .text-link { color: #426b91; }
.calendar-dialog .admin-eyebrow { color: #6b879f; }

.calendar-sync-link { width:100%; font-size:11px; color:#63819b; text-align:right; }
.calendar-sync-setup { padding:26px; font-size:14px; line-height:1.9; }
.calendar-sync-setup h2 { font-size:22px; }
.calendar-sync-setup ol { padding-left:22px; margin:18px 0; }
.calendar-sync-setup li { margin:10px 0; }
.calendar-sync-setup a { color:#4279ad; text-decoration:underline; text-underline-offset:3px; }

/* Focused intake and student pages; calendar and trash keep their existing layout. */
.admin-simple-search { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 24px; }
.admin-simple-search label { display: grid; gap: 8px; min-width: 0; font-size: 13px; color: #837388; }
.admin-simple-search label:first-of-type { flex: 1; max-width: 420px; min-width: min(230px,100%); }
.admin-simple-search input, .admin-simple-search select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dfd6e4; border-radius: 8px; background: #fff; color: #54475b; font: inherit; }
.admin-simple-search button { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px; background: var(--admin-accent); color: white; font: inherit; cursor: pointer; }
.admin-simple-search > a { font-size: 13px; padding-block: 12px; color: var(--admin-accent); }
.crm-simple-students { padding: 0 24px; }
.admin-page .crm-simple-students .crm-student-card { display: grid; grid-template-columns: minmax(150px,1fr) minmax(100px,1fr) auto; align-items: center; border: 0; border-bottom: 1px solid var(--admin-border); border-radius: 0; background: transparent; padding: 22px 0; gap: 18px; margin: 0; }
.admin-page .crm-simple-students .crm-student-card:last-child { border-bottom: 0; }
.crm-simple-students .crm-student-card h2 { font-size: 18px; margin: 0; }
.crm-simple-students .crm-student-card p { font-size: 13px; margin-top: 8px; }
.crm-simple-students .crm-student-card > span { font-size: 13px; color: #837388; }
.crm-simple-students .crm-student-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.admin-students-empty { padding: 30px 0; color: #837388; }
.crm-detail-section > summary { cursor: pointer; font: 700 18px/1.5 var(--font-heading); color: #54475b; }
.crm-detail-section[open] > summary { margin-bottom: 24px; }
.crm-course-summary > summary { cursor: pointer; font-size: 14px; }
@media(max-width:600px) {
 .admin-simple-search { padding: 20px 16px; gap: 12px; }
 .admin-simple-search label:first-of-type { flex-basis: 100%; max-width: none; }
 .crm-simple-students { padding: 0 16px; }
 .admin-page .crm-simple-students .crm-student-card { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
 .crm-simple-students .crm-student-card .crm-open { grid-column: 2; font-size: 12px; }
}

.crm-simple-students .crm-student-card > span > small { display:block; margin-top:8px; font-size:12px; color:#837388; }
