@import url("./noto-sans-kr.css");
@import url("./libre-baskerville.css");

:root {
  --ink: #122d2e;
  --ink-soft: #214344;
  --ink-muted: #5c6d6d;
  --paper: #ffffff;
  --paper-deep: #ffffff;
  --white: #ffffff;
  --gold: #c39c66;
  --gold-light: #ddb777;
  --gold-dark: #bd8c4e;
  --line: rgba(18, 45, 46, 0.14);
  --success: #2f6b54;
  --danger: #a8473f;
  --shadow: 0 24px 80px rgba(18, 45, 46, 0.1);
  --font-serif: "ECN Noto Sans KR", sans-serif;
  --font-sans: "ECN Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  line-break: strict;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

:where(h1, h2, h3, h4, h5, h6) {
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}

:where(p, li, dd, dt, blockquote, figcaption, summary) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(195, 156, 102, 0.22);
  background: rgba(18, 45, 46, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-copy span {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  line-height: 0;
  flex: 0 0 auto;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  display: block;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
  transition: background-color .18s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform .18s ease;
}

.menu-toggle span::before {
  transform: translateY(-5px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.button,
.button-outline,
.button-ghost {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.button {
  background: var(--gold);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.button-outline {
  border-color: rgba(255, 253, 248, 0.28);
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.button.small,
.button-outline.small,
.button-ghost.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.8rem;
}

.button.danger,
.button-ghost.danger {
  color: var(--danger);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.section-compact {
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.display-title,
.section-title,
.page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.display-title {
  max-width: 780px;
  font-size: clamp(3.2rem, 6.4vw, 6.7rem);
}

.section-title {
  font-size: clamp(2.35rem, 4vw, 4.35rem);
}

.page-title {
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 5.1rem);
}

.lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.85;
  word-break: keep-all;
}

.lead.light {
  color: rgba(255, 253, 248, 0.68);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: url("../images/yeouido-financial-skyline.webp") center 46% / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 29, .38) 0%,
    rgba(8, 28, 29, .5) 58%,
    rgba(8, 28, 29, .68) 100%
  );
}

.hero::after {
  content: none;
}

.home-page {
  background: transparent;
}

.home-fixed-background {
  position: fixed;
  z-index: 0;
  inset: 76px 0 0;
  background: url("../images/yeouido-financial-skyline.webp") center 46% / cover no-repeat;
  pointer-events: none;
}

.home-fixed-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 29, .38) 0%,
    rgba(8, 28, 29, .5) 58%,
    rgba(8, 28, 29, .68) 100%
  );
}

.home-page > main,
.home-page > .site-footer {
  position: relative;
  z-index: 1;
}

.home-page .hero {
  min-height: calc(112svh - 76px);
  align-items: flex-start;
  background: transparent;
}

.home-page .hero::before {
  content: none;
}

.home-page .hero-keyword-content {
  opacity: var(--hero-scroll-opacity, 1);
  transform: translate3d(0, var(--hero-scroll-shift, 0), 0);
  will-change: transform, opacity;
}

.home-scroll-section {
  position: relative;
  z-index: 2;
  padding: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.home-introduction {
  min-height: 720px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.home-introduction-logo {
  display: block;
  width: auto;
  height: 136px;
  object-fit: contain;
}

.home-introduction h2 {
  margin: 30px 0 22px;
  color: var(--ink);
  font-family: "ECN Libre Baskerville", Baskerville, Georgia, serif;
  font-size: clamp(3.5rem, 6.5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
}

.home-introduction p {
  max-width: 1200px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 2;
  word-break: keep-all;
}

.home-introduction-line {
  white-space: nowrap;
}

.home-page main > .section:not(.hero):not(.dark-section):not(.home-scroll-section) {
  background: var(--white);
}

.home-scroll-enhanced .home-scroll-reveal {
  --reveal-transform: rotate(0deg);
  opacity: 0;
  transform: translate3d(0, 52px, 0) var(--reveal-transform);
  transition:
    opacity .75s ease calc(var(--reveal-order, 0) * 70ms),
    transform .85s cubic-bezier(.2, .75, .25, 1) calc(var(--reveal-order, 0) * 70ms);
  will-change: transform, opacity;
}

.home-scroll-enhanced .home-scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) var(--reveal-transform);
}

.home-scroll-enhanced .home-scroll-reveal.is-before:not(.is-visible) {
  transform: translate3d(0, -52px, 0) var(--reveal-transform);
}

.hero-keyword-stage {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.hero-keyword-content {
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3vw, 38px);
  text-align: center;
}

.hero-keywords {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 76px);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.2vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  text-align: center;
}

.hero-keywords span {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(8px);
  animation: hero-keyword-rise .95s cubic-bezier(.2, .78, .25, 1) forwards;
}

.hero-keywords span:nth-child(1) {
  animation-delay: .12s;
}

.hero-keywords span:nth-child(2) {
  color: var(--gold-light);
  animation-delay: .72s;
}

.hero-keywords span:nth-child(3) {
  animation-delay: 1.32s;
}

.hero-keyword-subtitle {
  margin: 0;
  opacity: 0;
  color: rgba(255, 253, 248, .78);
  font-size: clamp(.92rem, 1.45vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .12em;
  animation: hero-subtitle-reveal 1.35s ease-out 2.38s forwards;
}

@keyframes hero-keyword-rise {
  from {
    opacity: 0;
    transform: translateY(48px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-subtitle-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 84px 0 110px;
}

.hero-title-accent {
  color: var(--gold-light);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.firm-panel {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.firm-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.firm-panel-head span {
  color: var(--ink-muted);
  font-size: .65rem;
  letter-spacing: .14em;
}

.firm-panel-head strong {
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

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

.firm-logo {
  min-height: 138px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.firm-logo:nth-child(2n) { border-right: 0; }
.firm-logo:nth-child(n + 3) { border-bottom: 0; }
.firm-korean { font-size: .78rem; font-weight: 700; }
.pwc-mark { color: #e0301e; font: 700 2.25rem/1 Arial, sans-serif; letter-spacing: -.08em; }
.kpmg-mark { padding: 6px 5px 3px; border: 2px solid #00338d; color: #00338d; font: 700 1.75rem/1 Arial, sans-serif; letter-spacing: -.06em; }
.firm-deloitte { flex-direction: column; gap: 4px; }
.deloitte-mark { color: #111; font: 700 1.65rem/1 Arial, sans-serif; letter-spacing: -.04em; }
.deloitte-mark span { color: #86bc25; }
.firm-deloitte small { color: #555; font-size: .68rem; }
.firm-ey { gap: 14px; }
.ey-mark { position: relative; color: #2e2e38; font: 800 2rem/1 Arial, sans-serif; }
.ey-mark::before { content: ""; position: absolute; left: -2px; top: -9px; width: 39px; height: 5px; background: #ffe600; transform: skewY(-14deg); }

.market-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(4, 16, 17, 0.62);
}

.market-strip-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255,255,255,.5);
  font-size: .73rem;
  letter-spacing: .12em;
}

.market-strip span {
  white-space: nowrap;
}

.market-strip strong {
  margin-right: 7px;
  color: var(--gold-light);
  font-weight: 700;
}

.intro-grid,
.split-grid,
.card-grid,
.process-grid,
.metric-grid,
.form-grid,
.admin-grid {
  display: grid;
  gap: 28px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: end;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.apply-layout {
  display: grid;
  gap: clamp(54px, 7vw, 88px);
}

.apply-layout .process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.apply-layout .process-card {
  min-height: 220px;
  padding: 24px 22px;
}

.apply-layout .process-card .step {
  margin-bottom: 24px;
}

.apply-layout .process-card h3 {
  font-size: 1.3rem;
}

.apply-layout .process-card p {
  font-size: .86rem;
}

.apply-layout .process-card .process-schedule {
  display: grid;
  margin-top: 18px;
}

.process-schedule strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.apply-form-area {
  width: min(900px, 100%);
  margin: 0 auto;
}

.apply-form-area .panel {
  width: 100%;
}

.auth-gate {
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
}

.auth-gate .panel-header {
  display: block;
  justify-content: center;
  margin-bottom: 26px;
}

.auth-gate .panel-header p {
  margin-top: 10px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}

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

.principle-card,
.process-card,
.panel,
.notice-card,
.board-card,
.metric-card {
  border: 1px solid var(--line);
  background: #ffffff;
}

.principle-card {
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.principle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 102, 54, 0.36);
  box-shadow: var(--shadow);
}

.card-number {
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: .88rem;
  letter-spacing: .08em;
}

.principle-card h3,
.process-card h3,
.notice-card h3,
.board-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -.025em;
}

.principle-card p,
.process-card p,
.notice-card p,
.board-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .94rem;
  word-break: keep-all;
}

.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.dark-section .lead {
  color: rgba(255,253,248,.62);
}

.alumni-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.alumni-section .container {
  width: min(1380px, calc(100% - 40px));
}

.alumni-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 1fr);
  align-items: center;
  gap: clamp(46px, 7vw, 112px);
  min-height: 590px;
}

.alumni-copy {
  position: relative;
  z-index: 2;
}

.alumni-copy .section-title {
  max-width: none;
}

.alumni-title-line {
  display: block;
  white-space: nowrap;
}

.alumni-copy .lead {
  max-width: 520px;
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.85;
  word-break: keep-all;
}

.alumni-logo-field {
  position: relative;
  min-height: 520px;
}

.alumni-logo-mark {
  position: absolute;
  display: grid;
  place-items: center;
}

.alumni-logo-mark .alumni-logo {
  transition: transform .28s ease;
}

.alumni-logo-mark:hover .alumni-logo {
  transform: scale(1.045);
}

.alumni-mark-pwc {
  --reveal-transform: rotate(-5deg);
  top: 11%;
  left: 3%;
  width: 34%;
  height: 27%;
}

.alumni-mark-kpmg {
  --reveal-transform: rotate(2.5deg);
  top: 2%;
  right: 3%;
  width: 43%;
  height: 31%;
}

.alumni-mark-deloitte {
  --reveal-transform: rotate(1.5deg);
  bottom: 7%;
  left: 10%;
  width: 47%;
  height: 29%;
}

.alumni-mark-ey {
  --reveal-transform: rotate(-4deg);
  right: 12%;
  bottom: 1%;
  width: 25%;
  height: 37%;
}

.alumni-logo {
  display: block;
  width: auto;
  max-width: 72%;
  max-height: 64px;
  object-fit: contain;
}

.alumni-logo-pwc {
  width: 150px;
  max-height: 114px;
}

.alumni-logo-kpmg {
  width: 190px;
}

.alumni-logo-deloitte {
  width: 226px;
}

.alumni-logo-ey {
  width: 80px;
  max-height: 116px;
}

.alumni-network-note {
  margin: 34px 0 0;
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: clamp(.7rem, 1vw, .8rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.alumni-logo-note {
  margin: 14px 0 0;
  color: rgba(9, 48, 50, .44);
  font-size: .64rem;
  word-break: keep-all;
}

.pre-cta-section {
  padding-bottom: clamp(190px, 17vw, 280px);
}

.discipline-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.discipline-item {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 18px;
}

.discipline-item span {
  color: var(--gold-light);
  font-family: var(--font-serif);
}

.discipline-item strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.discipline-item small {
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cta-band {
  padding: 76px 0;
  background: var(--gold);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 670px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.cta-cycle-kicker,
.cta-cycle-title {
  display: block;
}

.cta-cycle-title {
  margin-top: 12px;
  font-size: .62em;
  letter-spacing: -.025em;
  line-height: 1.3;
  word-break: keep-all;
}

.cta-inner .button {
  background: var(--ink);
  color: var(--white);
}

.page-hero {
  position: relative;
  padding: 104px 0 78px;
  overflow: hidden;
  background: var(--ink);
}

.about-page-hero {
  background:
    linear-gradient(90deg, rgba(8, 28, 29, .88) 0%, rgba(8, 28, 29, .72) 56%, rgba(8, 28, 29, .56) 100%),
    url("../images/sungkyunkwan.jpg") center 60% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 6vw;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(228,199,143,.18);
  border-radius: 50%;
}

.breadcrumb {
  margin-bottom: 32px;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
  letter-spacing: .08em;
}

.breadcrumb span {
  margin: 0 9px;
  color: rgba(228,199,143,.5);
}

.page-description {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 1.05rem;
  word-break: keep-all;
}

.quote-block {
  margin: 0;
  padding: 40px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-block p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.4;
  letter-spacing: -.035em;
}

.quote-block footer {
  margin-top: 24px;
  color: var(--gold-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.process-card {
  position: relative;
  padding: 28px;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.process-card .step {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: .8rem;
}

.panel {
  padding: 34px;
  border-radius: 4px;
}

.panel-header {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.panel-header p {
  margin: 7px 0 0;
  color: var(--ink-muted);
  font-size: .88rem;
}

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

.application-form-header {
  align-items: flex-start;
}

.application-form-header > div {
  min-width: 0;
}

.required-note {
  margin: 0;
  color: var(--danger) !important;
  font-size: .78rem !important;
  font-weight: 750;
  text-align: right;
  word-break: keep-all;
}

.required-mark {
  color: var(--danger);
  font-weight: 850;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(9,28,30,.2);
  border-radius: 3px;
  outline: 0;
  background: rgba(255,255,255,.7);
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(195,154,90,.13);
}

#application-form .field input:user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(168, 71, 63, .12);
}

.field-hint {
  color: var(--ink-muted);
  font-size: .76rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.application-submit-section .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(9, 28, 30, .28);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: none;
  flex: 0 0 18px;
  accent-color: var(--ink);
}

.checkbox-row span {
  min-width: 0;
}

.application-submit-section {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
}

.application-submit-section .form-actions {
  grid-column: auto;
  margin-top: 0;
}

.application-submit-section .status-message {
  grid-column: 1 / -1;
  margin: 0;
}

.application-question-fields {
  display: grid;
  gap: 28px;
}

.course-selection {
  min-width: 0;
  margin: 10px 0 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cpa-exam-selection {
  margin-top: 0;
  border-top: 0;
}

.course-selection legend {
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.65;
  word-break: keep-all;
}

.course-eligibility-note {
  margin: 9px 0 18px;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

.course-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.course-option {
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
}

.course-option:has(input:checked) {
  border-color: var(--gold-dark);
  background: rgba(195, 154, 90, .08);
  color: var(--ink);
}

.course-option.none:has(input:checked) {
  border-color: rgba(168, 71, 63, .35);
  background: rgba(168, 71, 63, .06);
}

.course-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 17px;
  accent-color: var(--ink);
}

.application-question-field {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.application-question-field label {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.65;
  word-break: keep-all;
}

.application-question-number {
  margin-right: 10px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.question-writing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-muted);
  font-size: .76rem;
}

.character-counter {
  white-space: nowrap;
}

.character-counter strong {
  color: var(--gold-dark);
  font-weight: 800;
}

.application-question-loading {
  padding: 30px 20px;
  border: 1px dashed var(--line);
  color: var(--ink-muted);
  text-align: center;
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.status-message {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .86rem;
}

.status-message.success {
  border-color: rgba(47,107,84,.32);
  color: var(--success);
}

.status-message.error {
  border-color: rgba(168,71,63,.3);
  color: var(--danger);
}

.admin-toast-message {
  position: fixed;
  z-index: 3000;
  top: calc(76px + env(safe-area-inset-top) + 16px);
  left: 50%;
  width: min(calc(100% - 32px), 560px);
  min-height: 52px;
  padding: 14px 48px 14px 18px;
  border: 1px solid rgba(18, 45, 46, .18);
  border-left: 4px solid var(--gold-dark);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(18, 45, 46, .2);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.6;
  transform: translateX(-50%);
  animation: admin-toast-enter .22s ease-out both;
}

.admin-toast-message.success {
  border-left-color: var(--success);
  color: var(--success);
}

.admin-toast-message.error {
  border-left-color: var(--danger);
  color: var(--danger);
}

.admin-toast-message button {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

@keyframes admin-toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

[hidden],
.hidden {
  display: none !important;
}

.loading {
  opacity: 0.66;
  pointer-events: none;
}

.stack {
  display: grid;
  gap: 18px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-shell {
  min-height: calc(100svh - 76px);
  padding: 72px 0;
  background: var(--ink);
}

.auth-card {
  width: min(520px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0,0,0,.25);
}

.auth-card form {
  display: grid;
  gap: 18px;
}

.auth-brand {
  margin-bottom: 30px;
  text-align: center;
}

.auth-brand .auth-tree-logo {
  display: block;
  width: auto;
  height: 92px;
  margin: 0 auto;
  object-fit: contain;
}

.auth-brand h1 {
  margin: 18px 0 6px;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
}

.auth-brand p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .88rem;
}

.tabs {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
}

.tab.active {
  border-bottom-color: var(--gold-dark);
  color: var(--ink);
  font-weight: 750;
}

.auth-primary-action {
  width: 100%;
}

.auth-card .form-actions {
  margin-top: 2px;
}

.auth-alternate {
  margin: 26px 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: .86rem;
  text-align: center;
}

.auth-alternate a {
  color: var(--gold-dark);
  font-weight: 750;
}

.auth-home-link {
  width: 100%;
}

.auth-redirect-card {
  text-align: center;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: start;
}

.profile-info-list {
  margin: 0;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px 24px;
}

.profile-info-list dt {
  color: var(--ink-muted);
  font-size: .82rem;
}

.profile-info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.profile-links {
  display: grid;
  gap: 12px;
}

.profile-links .panel-header {
  display: block;
}

.notice-list,
.board-list {
  display: grid;
  gap: 14px;
}

.notice-card,
.board-card {
  padding: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 34px;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}

.notice-card:hover,
.board-card:hover {
  border-color: rgba(139,102,54,.36);
  transform: translateX(3px);
}

.notice-meta,
.board-meta {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-muted);
  font-size: .78rem;
}

.notice-summary,
.board-summary {
  min-width: 0;
  padding: 24px 28px;
}

.notice-card h3,
.board-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.015em;
  word-break: keep-all;
}

.notice-card p,
.board-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink-muted);
  font-size: .88rem;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.list-arrow {
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 1.15rem;
}

.board-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.write-shell,
.article-shell {
  width: min(900px, calc(100% - 40px));
}

.article-shell {
  width: min(860px, calc(100% - 40px));
}

.notice-article {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-header {
  padding: clamp(30px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
}

.article-header h2 {
  margin: 14px 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.4;
  letter-spacing: -.035em;
  word-break: keep-all;
}

.article-header time,
.article-author {
  color: var(--ink-muted);
  font-size: .82rem;
}

.article-author {
  margin: 0;
  font-weight: 700;
}

.article-content {
  min-height: 260px;
  padding: clamp(32px, 5vw, 48px);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.article-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-admin-actions,
.article-owner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-outline.ink {
  border-color: rgba(18, 45, 46, .35);
  color: var(--ink);
}

.button-outline.ink:hover,
.button-outline.ink:focus-visible {
  border-color: var(--gold-dark);
  background: var(--white);
}

.notice-badge,
.role-badge,
.status-badge {
  width: max-content;
  padding: 5px 9px;
  border-radius: 100px;
  background: rgba(195,154,90,.14);
  color: var(--gold-dark);
  font-size: .68rem;
  font-weight: 800;
}

.role-badge.admin,
.status-badge.accepted {
  background: rgba(47,107,84,.12);
  color: var(--success);
}

.role-badge.member {
  background: rgba(195, 154, 90, .16);
  color: var(--gold-dark);
}

.status-badge.rejected {
  background: rgba(168,71,63,.1);
  color: var(--danger);
}

.status-badge.pending {
  background: rgba(195,154,90,.14);
  color: var(--gold-dark);
}

.list-toolbar {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.list-toolbar-tools .button {
  white-space: nowrap;
}

.search-box {
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  padding: 12px 14px;
  outline: 0;
}

.empty-state {
  padding: 62px 20px;
  border: 1px dashed rgba(9,28,30,.22);
  color: var(--ink-muted);
  text-align: center;
}

.result-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.result-symbol {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1;
}

.result-symbol.waiting {
  border-color: rgba(195, 154, 90, .82);
}

.result-waiting-dots {
  width: 30px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.result-waiting-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: block;
  background: var(--gold-dark);
}

.result-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

.result-card p {
  margin: 0;
  color: var(--ink-muted);
}

.submission-complete-main {
  min-height: calc(100vh - 76px);
  display: grid;
}

.submission-complete-section {
  display: grid;
  align-items: center;
}

.submission-complete-loading {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px;
  color: var(--ink-muted);
  text-align: center;
}

.submission-complete-loading.error {
  color: var(--danger);
}

.submission-complete-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 54px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.submission-success-symbol {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.submission-complete-card .eyebrow {
  margin-bottom: 12px;
}

.submission-complete-card h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  word-break: keep-all;
}

.submission-complete-message {
  margin: 20px 0 0;
  color: var(--ink-muted);
  line-height: 1.85;
  word-break: keep-all;
}

.submission-complete-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.submission-complete-actions a {
  min-width: 150px;
}

.result-stage-heading {
  margin-bottom: 30px;
}

.result-stage-heading .eyebrow {
  margin-bottom: 8px;
}

.result-stage-heading p:last-child {
  margin-top: 8px;
}

.result-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}

.result-stage-option {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 16px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.result-stage-option:hover,
.result-stage-option:focus-visible {
  border-color: var(--gold-dark);
  box-shadow: 0 14px 32px rgba(9, 28, 30, .08);
  transform: translateY(-2px);
}

.result-stage-option strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.result-stage-option small {
  color: var(--ink-muted);
  font-size: .78rem;
}

.result-stage-option > span:last-child {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  color: var(--gold-dark);
  font-size: 1.1rem;
}

.result-stage-number,
.result-stage-label {
  grid-column: 1 / -1;
  color: var(--gold-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.result-submitted-at {
  margin-top: 22px;
  display: block;
  color: var(--ink-muted);
}

.result-card > .status-badge {
  margin: 0 auto 14px;
  display: block;
}

.result-card > .result-stage-label {
  margin-bottom: 16px;
}

.result-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.result-actions .button,
.result-actions .button-ghost {
  min-width: 150px;
}

.interview-guide-card {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 54px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.interview-guide-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
}

.interview-guide-card > p {
  color: var(--ink-muted);
}

.interview-guide-card .button-ghost {
  margin-top: 28px;
}

.interview-guide-details {
  margin: 34px 0 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.interview-guide-details div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(18, 45, 46, .035);
}

.interview-guide-details dt {
  margin-bottom: 7px;
  color: var(--ink-muted);
  font-size: .78rem;
}

.interview-guide-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.interview-guide-card .interview-guide-notice {
  margin-top: 20px;
  font-size: .86rem;
  line-height: 1.75;
  word-break: keep-all;
}

.interview-schedule-panel {
  display: grid;
  gap: 16px;
}

.interview-schedule-panel .panel-header {
  margin-bottom: 0;
}

.interview-schedule-panel .interview-schedule-save {
  width: 100%;
}

.status-badge.not_eligible,
.application-status-badge.not-eligible {
  background: rgba(91, 101, 102, .1);
  color: var(--ink-muted);
}

.admin-shell {
  max-width: 100%;
  min-height: calc(100svh - 76px);
  overflow-x: clip;
  padding: 64px 0 100px;
  background: #edf0eb;
}

.admin-top {
  margin-bottom: 36px;
}

.admin-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.admin-top h1 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
}

.admin-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--ink-muted);
}

.admin-top .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

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

.metric-card span {
  display: block;
  color: var(--ink-muted);
  font-size: .76rem;
}

.metric-card strong {
  margin-top: 8px;
  display: block;
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 500;
}

.admin-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  min-width: 0;
}

.admin-grid > *,
.panel {
  min-width: 0;
}

.admin-grid .panel-header,
.application-detail-sidebar .panel-header {
  display: block;
}

.admin-summary-panel {
  grid-column: 1 / -1;
}

.admin-summary-heading {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-summary-heading .button-ghost {
  flex: 0 0 auto;
}

.admin-application-group + .admin-application-group {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.admin-group-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-group-heading h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.admin-group-heading span {
  color: var(--ink-muted);
  font-size: .78rem;
}

.admin-member-application-link {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: var(--ink);
}

.admin-member-application-link span {
  color: var(--ink-muted);
  font-size: .76rem;
}

.admin-member-application-link:hover,
.admin-member-application-link:focus-visible {
  color: var(--gold-dark);
}

.admin-list-shell .admin-heading {
  margin-bottom: 34px;
}

#all-application-sections {
  display: grid;
  gap: 28px;
}

.admin-paginated-panel .data-table {
  min-width: 860px;
}

.admin-member-table {
  min-width: 980px !important;
}

.admin-pagination {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.admin-pagination span {
  color: var(--ink-muted);
  font-size: .82rem;
  text-align: center;
  word-break: keep-all;
}

.admin-pagination strong {
  color: var(--ink);
}

.data-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--ink-muted);
  font-size: .72rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

.data-table td {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: keep-all;
}

.data-table td.wrap {
  max-width: 280px;
  white-space: normal;
}

.admin-status-select {
  min-width: 112px;
  padding: 9px 30px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.application-admin-table {
  table-layout: fixed;
}

.application-admin-summary-table {
  min-width: 760px;
}

.application-admin-summary-table th:nth-child(1),
.application-admin-summary-table td:nth-child(1) {
  width: 24%;
}

.application-admin-summary-table th:nth-child(2),
.application-admin-summary-table td:nth-child(2) {
  width: 22%;
}

.application-admin-summary-table th:nth-child(3),
.application-admin-summary-table td:nth-child(3) {
  width: 14%;
}

.application-admin-summary-table th:nth-child(4),
.application-admin-summary-table td:nth-child(4),
.application-admin-summary-table th:nth-child(5),
.application-admin-summary-table td:nth-child(5) {
  width: 20%;
}

.application-admin-full-table {
  min-width: 1040px;
}

.application-admin-full-table th:nth-child(1),
.application-admin-full-table td:nth-child(1) {
  width: 5%;
}

.application-admin-full-table th:nth-child(2),
.application-admin-full-table td:nth-child(2) {
  width: 18%;
}

.application-admin-full-table th:nth-child(3),
.application-admin-full-table td:nth-child(3) {
  width: 16%;
}

.application-admin-full-table th:nth-child(4),
.application-admin-full-table td:nth-child(4) {
  width: 12%;
}

.application-admin-full-table th:nth-child(5),
.application-admin-full-table td:nth-child(5) {
  width: 11%;
}

.application-admin-full-table th:nth-child(6),
.application-admin-full-table td:nth-child(6),
.application-admin-full-table th:nth-child(7),
.application-admin-full-table td:nth-child(7) {
  width: 19%;
}

.application-admin-summary-table th:nth-child(4),
.application-admin-summary-table td:nth-child(4),
.application-admin-summary-table th:nth-child(5),
.application-admin-summary-table td:nth-child(5),
.application-admin-full-table th:nth-child(6),
.application-admin-full-table td:nth-child(6),
.application-admin-full-table th:nth-child(7),
.application-admin-full-table td:nth-child(7) {
  text-align: center;
  vertical-align: middle;
}

.application-selection-column {
  text-align: center !important;
  vertical-align: middle !important;
}

.application-selection-column input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

.application-admin-table .application-status-badge {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.application-admin-table .admin-status-select {
  margin: 0 auto;
  display: block;
}

.admin-notice-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-notice-item small {
  margin-top: 4px;
  display: block;
  color: var(--ink-muted);
}

.admin-notice-item > div {
  min-width: 0;
}

.application-question-admin-panel {
  grid-column: 1 / -1;
}

.question-admin-add-form {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 120px auto;
  align-items: end;
  gap: 16px;
}

.question-admin-add-form textarea {
  min-height: 92px;
}

.question-add-action {
  display: flex;
  align-items: flex-end;
}

.question-add-action .button {
  white-space: nowrap;
}

.application-question-admin-list {
  display: grid;
  gap: 14px;
}

.application-question-admin-item {
  padding: 18px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 110px 110px auto;
  align-items: start;
  gap: 14px;
  background: rgba(255, 255, 255, .55);
}

.application-question-admin-number {
  padding-top: 13px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.application-question-admin-item textarea {
  min-height: 82px;
}

.application-question-admin-actions {
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.application-question-admin-actions button {
  white-space: nowrap;
}

.admin-application-shell,
.member-application-shell {
  padding: 128px 0 90px;
}

.application-detail-toolbar {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.application-detail-toolbar .detail-back-link {
  margin: 0;
}

.application-batch-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.application-batch-actions[hidden] {
  display: none;
}

.application-batch-actions > span {
  color: var(--ink-muted);
  font-size: .8rem;
  white-space: nowrap;
}

.application-management-panel-header {
  align-items: center;
}

.detail-back-link {
  margin-bottom: 30px;
  display: inline-flex;
  color: var(--ink-muted);
  font-size: .84rem;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: var(--gold-dark);
}

.application-detail-hero {
  margin-bottom: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.application-detail-hero h1 {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
}

.application-detail-hero > div > p:last-child {
  color: var(--ink-muted);
}

.application-status-badge {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.application-status-badge.accepted {
  border-color: rgba(47, 107, 84, .32);
  color: var(--success);
}

.application-status-badge.rejected {
  border-color: rgba(168, 71, 63, .3);
  color: var(--danger);
}

.application-status-badge.not-eligible {
  border-color: rgba(91, 101, 102, .24);
  color: var(--ink-muted);
}

.application-status-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.application-status-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-size: .75rem;
  white-space: nowrap;
}

.application-status-summary .application-status-badge {
  font-weight: 750;
}

.application-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: 28px;
  align-items: start;
}

.application-answer-panel section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.application-answer-panel h2 {
  margin: 5px 0 16px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.application-answer-panel section > p:last-child {
  min-width: 0;
  line-height: 1.85;
  overflow-wrap: anywhere;
  word-break: keep-all;
  white-space: pre-wrap;
}

.application-answer-panel,
.application-answer-panel section {
  min-width: 0;
}

.application-section-number {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.application-detail-sidebar {
  display: grid;
  gap: 20px;
}

.application-profile-list {
  margin: 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
}

.application-profile-list dt {
  color: var(--ink-muted);
  font-size: .8rem;
}

.application-profile-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: .88rem;
}

.profile-empty {
  color: var(--ink-muted);
  font-size: .78rem;
}

.application-course-summary {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.application-course-summary > strong {
  display: block;
  margin-bottom: 10px;
  font-size: .8rem;
}

.application-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.application-course-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(195, 154, 90, .28);
  border-radius: 999px;
  background: rgba(195, 154, 90, .08);
  color: var(--gold-dark);
  font-size: .72rem;
}

.application-course-tags .empty {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-muted);
}

.field-label {
  margin-bottom: 8px;
  display: block;
  font-size: .8rem;
  font-weight: 700;
}

.application-detail-sidebar .admin-status-select {
  width: 100%;
}

.application-stage-controls {
  display: grid;
  gap: 24px;
}

.application-stage-control + .application-stage-control {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.application-stage-control-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.application-stage-control-heading .field-label {
  margin: 0;
}

.application-stage-locked {
  margin: 0;
  color: var(--ink-muted);
  font-size: .8rem;
  line-height: 1.65;
  word-break: keep-all;
}

.application-status-save {
  width: 100%;
  margin-top: 12px;
}

.site-footer {
  padding: 36px 0 18px;
  background: var(--ink);
  color: rgba(255,255,255,.58);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding-bottom: 24px;
}

.footer-brand {
  display: grid;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 120px;
  height: auto;
}

.footer-brand span {
  font-size: .74rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 36px;
  align-content: start;
  font-size: .82rem;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .7rem;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .firm-panel {
    width: min(100%, 680px);
  }

  .apply-layout .process-grid {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-color: var(--gold) transparent;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--ink);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .alumni-showcase {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 36px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .application-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .container,
  .market-strip-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    height: 68px;
    gap: 10px;
  }

  .brand-mark {
    width: 132px;
    height: auto;
  }

  .brand-copy span {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .home-fixed-background {
    inset: 68px 0 0;
  }

  .header-actions {
    gap: 6px;
  }

  .header-session-actions {
    gap: 5px;
  }

  .header-session-actions .button,
  .header-session-actions .button-outline {
    min-height: 34px;
    padding: 6px 9px;
    font-size: .68rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 76px 0;
  }

  .home-scroll-section {
    padding: 0;
  }

  .home-introduction {
    min-height: 620px;
    padding: 96px 0;
  }

  .home-introduction-logo {
    height: 108px;
  }

  .home-introduction h2 {
    margin: 26px 0 20px;
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .home-introduction p {
    max-width: 34rem;
    font-size: .94rem;
    line-height: 1.9;
  }

  .home-introduction-line {
    white-space: normal;
  }

  .pre-cta-section {
    padding-bottom: 160px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .home-page .hero {
    min-height: calc(110svh - 68px);
  }

  .hero-inner {
    padding: 72px 0 122px;
  }

  .hero-keyword-stage {
    min-height: calc(100svh - 68px);
    padding: 52px 0;
  }

  .hero-keywords {
    flex-direction: column;
    gap: 14px;
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .hero-keyword-content {
    gap: 26px;
  }

  .hero-keyword-subtitle {
    font-size: .9rem;
    letter-spacing: .08em;
  }

  .firm-panel-head {
    padding: 18px;
  }

  .firm-logo {
    min-height: 108px;
    padding: 18px 12px;
  }

  .firm-korean {
    display: none;
  }

  .display-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .market-strip-inner {
    justify-content: flex-start;
    overflow: hidden;
  }

  .market-strip span:nth-child(n+3) {
    display: none;
  }

  .intro-grid,
  .split-grid,
  .card-grid,
  .form-grid,
  .admin-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .alumni-showcase {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }

  .alumni-copy .section-title {
    font-size: clamp(1.55rem, 7.5vw, 2.3rem);
  }

  .alumni-logo-field {
    min-height: 360px;
  }

  .alumni-mark-pwc {
    top: 9%;
    left: 0;
    width: 43%;
    height: 28%;
  }

  .alumni-mark-kpmg {
    top: 1%;
    right: 0;
    width: 49%;
    height: 29%;
  }

  .alumni-mark-deloitte {
    bottom: 10%;
    left: 2%;
    width: 56%;
    height: 28%;
  }

  .alumni-mark-ey {
    right: 4%;
    bottom: 1%;
    width: 38%;
    height: 35%;
  }

  .alumni-logo {
    max-height: 50px;
  }

  .alumni-logo-pwc {
    width: 94px;
    max-height: 72px;
  }

  .alumni-logo-kpmg {
    width: 116px;
  }

  .alumni-logo-deloitte {
    width: 138px;
  }

  .alumni-logo-ey {
    width: 48px;
    max-height: 70px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .apply-layout .process-grid {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .apply-layout .process-card {
    min-height: 0;
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-card {
    padding: 17px 13px;
  }

  .metric-card strong {
    font-size: 1.8rem;
  }

  .admin-top {
    margin-bottom: 28px;
  }

  .admin-heading {
    margin-bottom: 20px;
  }

  .admin-top h1 {
    font-size: 2.25rem;
  }

  .admin-top .metric-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-top .metric-card {
    text-align: center;
  }

  .admin-grid .data-table {
    min-width: 660px;
  }

  .admin-summary-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-summary-heading .button-ghost {
    width: 100%;
  }

  .admin-pagination {
    gap: 10px;
  }

  .admin-pagination span {
    flex: 1;
    font-size: .75rem;
  }

  .question-admin-add-form,
  .application-question-admin-item {
    grid-template-columns: 1fr 1fr;
  }

  .question-prompt-field,
  .question-admin-prompt,
  .application-question-admin-number,
  .application-question-admin-actions,
  .question-add-action {
    grid-column: 1 / -1;
  }

  .application-question-admin-number {
    padding-top: 0;
  }

  .application-question-admin-actions,
  .question-add-action {
    padding-top: 0;
    justify-content: flex-end;
  }

  .question-add-action .button {
    width: 100%;
  }

  .field.full,
  .form-actions {
    grid-column: auto;
  }

  .application-submit-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .application-form-header {
    gap: 14px;
  }

  .required-note {
    text-align: left;
  }

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

  .question-writing-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .application-submit-section .form-actions {
    width: 100%;
  }

  .application-submit-section .form-actions .button {
    width: 100%;
  }

  .page-hero {
    padding: 78px 0 60px;
  }

  .admin-application-shell,
  .member-application-shell {
    padding: 96px 0 70px;
  }

  .application-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inner,
  .admin-top,
  .list-toolbar,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-toolbar-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .list-toolbar-tools .search-box,
  .list-toolbar-tools .button {
    width: 100%;
  }

  .article-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .article-admin-actions,
  .article-owner-actions {
    width: 100%;
  }

  .article-admin-actions > *,
  .article-owner-actions > * {
    flex: 1;
  }

  .notice-card,
  .board-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .notice-meta,
  .board-meta {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .notice-summary,
  .board-summary {
    padding: 20px;
  }

  .list-arrow {
    display: none;
  }

  .write-shell,
  .article-shell {
    width: min(100% - 28px, 900px);
  }

  .panel,
  .auth-card,
  .result-card,
  .submission-complete-card {
    padding: 26px 20px;
  }

  .submission-complete-actions {
    flex-direction: column;
  }

  .submission-complete-actions .button,
  .submission-complete-actions .button-ghost {
    width: 100%;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-actions .button,
  .result-actions .button-ghost {
    width: 100%;
  }

  .result-stage-grid {
    grid-template-columns: 1fr;
  }

  .result-stage-option {
    padding: 20px;
  }

  .application-status-summary {
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.content-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.list-toolbar-minimal {
  justify-content: flex-end;
}

.board-list-header,
.board-table-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 86px 136px;
  align-items: center;
}

.board-list-header {
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: inset 0 3px 0 var(--gold);
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .025em;
  text-align: center;
}

.board-list-header span {
  padding: 17px 16px 15px;
}

.board-list-header span + span {
  border-left: 1px solid var(--line);
}

.board-table-list {
  gap: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(18,45,46,.07);
}

.board-card.board-table-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.board-card.board-table-row:hover {
  background: linear-gradient(90deg, rgba(195,156,102,.09), #fff 24%);
  box-shadow: inset 3px 0 0 var(--gold);
  transform: none;
}

.board-table-row > * {
  min-width: 0;
  padding: 20px 18px;
}

.board-row-date,
.board-row-author {
  color: var(--ink-muted);
  font-size: .78rem;
  text-align: center;
}

.board-row-date {
  font-variant-numeric: tabular-nums;
}

.board-row-comment {
  width: 34px;
  height: 28px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(189,140,78,.38);
  border-radius: 999px;
  background: rgba(195,156,102,.08);
  padding: 0;
  color: var(--gold-dark);
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.board-row-author {
  overflow-wrap: break-word;
  font-weight: 700;
}

.board-card .board-row-title h3 {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-card.board-table-row:hover .board-row-title h3 {
  color: var(--gold-dark);
}

.content-pagination-status {
  min-width: 76px;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 750;
  text-align: center;
}

.content-pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.notice-image-field {
  margin-top: 4px;
}

.notice-image-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice-image-preview-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.notice-image-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3f5f4;
}

.notice-image-preview-card figcaption {
  overflow: hidden;
  padding: 10px 12px;
  color: var(--ink-muted);
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-image-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 2px;
  background: rgba(9,28,30,.86);
  padding: 5px 9px;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}

.notice-article-images {
  display: grid;
  gap: 18px;
  padding: 0 clamp(32px, 5vw, 48px) clamp(32px, 5vw, 48px);
}

.notice-article-images figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f5f4;
}

.notice-article-images img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.comment-section {
  margin-top: 56px;
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.comment-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.comment-section-header h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.comment-section-header h2 span {
  color: var(--gold-dark);
}

.comment-section-header p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .78rem;
}

.comment-list {
  display: grid;
  gap: 16px;
}

.comment-thread {
  border: 1px solid var(--line);
  background: var(--white);
}

.comment-item {
  padding: 22px 24px;
}

.comment-item header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.comment-item header strong {
  color: var(--ink);
  font-size: .86rem;
}

.comment-item header time {
  color: var(--ink-muted);
  font-size: .72rem;
}

.comment-item > p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.comment-actions {
  margin-left: auto;
  display: flex;
  gap: 9px;
}

.comment-actions button {
  border: 0;
  background: transparent;
  padding: 4px;
  color: var(--ink-muted);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

.comment-actions button:hover,
.comment-actions button:focus-visible {
  color: var(--gold-dark);
}

.comment-actions button.danger:hover,
.comment-actions button.danger:focus-visible {
  color: #a33b32;
}

.comment-replies {
  margin-left: 42px;
  border-left: 1px solid var(--line);
  background: #f7f8f7;
}

.comment-reply + .comment-reply {
  border-top: 1px solid var(--line);
}

.comment-reply::before {
  content: "↳";
  float: left;
  margin: 1px 10px 0 0;
  color: var(--gold-dark);
}

.comment-form,
.comment-reply-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.comment-form {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px 24px;
}

.comment-form label {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 750;
}

.comment-form textarea,
.comment-reply-form textarea {
  width: 100%;
  min-height: 98px;
  resize: vertical;
  border: 1px solid rgba(9,28,30,.2);
  border-radius: 3px;
  outline: 0;
  background: #fff;
  padding: 13px 14px;
  line-height: 1.65;
}

.comment-form textarea:focus,
.comment-reply-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(195,154,90,.13);
}

.comment-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.comment-form-actions .status-message {
  margin-right: auto;
}

.comment-reply-slot {
  margin-top: 14px;
}

.comment-reply-form {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.comment-login-gate {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  background: #f7f8f7;
  padding: 18px 20px;
  color: var(--ink-muted);
  font-size: .84rem;
  text-align: center;
}

.comment-login-gate a {
  color: var(--gold-dark);
  font-weight: 750;
}

@media (max-width: 760px) {
  .board-list-header,
  .board-table-row {
    grid-template-columns: 76px minmax(0, 1fr) 44px 62px;
  }

  .board-list-header {
    font-size: .68rem;
  }

  .board-list-header span,
  .board-table-row > * {
    padding: 14px 6px;
  }

  .board-card .board-row-title h3 {
    font-size: .84rem;
  }

  .board-row-date,
  .board-row-author {
    font-size: .68rem;
  }

  .board-row-comment {
    width: 28px;
    height: 24px;
    padding: 0;
    font-size: .66rem;
  }

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

  .notice-article-images {
    padding-right: 20px;
    padding-bottom: 26px;
    padding-left: 20px;
  }

  .comment-section {
    margin-top: 42px;
  }

  .comment-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .comment-item,
  .comment-form {
    padding: 18px;
  }

  .comment-item header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .comment-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .comment-replies {
    margin-left: 18px;
  }

  .comment-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-form-actions .status-message {
    margin-right: 0;
  }

  .comment-form-actions .button,
  .comment-form-actions .button-ghost {
    width: 100%;
  }
}

.recruitment-admin-section {
  margin-top: 28px;
}

.recruitment-admin-panel {
  padding: clamp(26px, 4vw, 40px);
}

.recruitment-cycle-create-form,
.recruitment-cycle-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recruitment-cycle-create-form {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: #f7f9f8;
  padding: 22px;
}

.recruitment-cycle-create-form .form-actions {
  align-items: flex-end;
}

.recruitment-active-check {
  align-self: end;
  min-height: 48px;
}

.recruitment-cycle-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.recruitment-cycle-list-heading {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.recruitment-cycle-list-heading + .recruitment-cycle-list {
  margin-top: 18px;
}

.recruitment-cycle-list-heading p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .82rem;
}

.all-recruitment-cycle-panel {
  padding: 34px;
}

.recruitment-cycle-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 14px 40px rgba(18,45,46,.06);
}

.recruitment-cycle-card.active {
  border-color: rgba(189,140,78,.55);
  box-shadow: inset 4px 0 0 var(--gold), 0 14px 40px rgba(18,45,46,.07);
}

.recruitment-cycle-card-heading h3 {
  margin: 10px 0 4px;
  font-family: var(--font-sans);
  font-size: 1.12rem;
}

.recruitment-cycle-card-heading p,
.recruitment-cycle-release-summary {
  margin: 0;
  color: var(--ink-muted);
  font-size: .78rem;
}

.cycle-state-badge,
.cycle-active-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: .68rem;
  font-weight: 800;
}

.cycle-state-badge.open {
  background: rgba(47,107,84,.1);
  color: var(--success);
}

.cycle-state-badge.scheduled {
  background: rgba(195,156,102,.12);
  color: var(--gold-dark);
}

.cycle-state-badge.closed {
  background: rgba(92,109,109,.1);
  color: var(--ink-muted);
}

.cycle-active-badge {
  margin-left: 6px;
  background: var(--ink);
  color: var(--white);
}

.recruitment-cycle-fields {
  margin-top: 20px;
}

.recruitment-cycle-release-summary {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.recruitment-cycle-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.recruitment-cycle-actions .checkbox-row {
  margin-right: auto;
}

.question-cycle-heading {
  align-items: flex-end;
}

.compact-field {
  min-width: 270px;
}

.admin-active-cycle {
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 750;
}

.admin-list-filters {
  margin: 26px 0 18px;
  display: flex;
  justify-content: flex-end;
}

.admin-list-filters .field {
  width: min(100%, 390px);
}

.recruitment-status-card {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px 22px;
  box-shadow: 0 16px 42px rgba(18,45,46,.06);
}

.recruitment-status-card.open {
  border-left: 4px solid var(--success);
}

.recruitment-status-card.scheduled {
  border-left: 4px solid var(--gold);
}

.recruitment-status-card.closed {
  border-left: 4px solid var(--ink-muted);
}

.recruitment-status-card span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.recruitment-status-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.recruitment-status-card p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: .8rem;
}

.result-history-select,
.application-history-select {
  margin-bottom: 28px;
  display: grid;
  gap: 7px;
  text-align: left;
}

.result-history-select span,
.application-history-select span {
  color: var(--ink-muted);
  font-size: .76rem;
  font-weight: 750;
}

.result-history-select select,
.application-history-select select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  padding: 12px 14px;
}

.result-release-panel p {
  margin: 8px 0;
  color: var(--ink-muted);
  font-size: .82rem;
}

.result-release-panel p strong {
  display: block;
  color: var(--ink-soft);
}

.result-release-panel small {
  display: block;
  margin-top: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.status-badge.unreleased,
.application-status-badge.unreleased {
  background: rgba(195,156,102,.12);
  color: var(--gold-dark);
}

@media (max-width: 1040px) {
  .recruitment-cycle-create-form,
  .recruitment-cycle-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .recruitment-admin-panel {
    padding: 24px 18px;
  }

  .recruitment-cycle-create-form,
  .recruitment-cycle-fields {
    grid-template-columns: 1fr;
  }

  .recruitment-cycle-create-form,
  .recruitment-cycle-card {
    padding: 18px;
  }

  .recruitment-cycle-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .recruitment-cycle-actions .checkbox-row {
    width: 100%;
    margin-right: 0;
  }

  .recruitment-cycle-actions .button-ghost {
    width: 100%;
  }

  .recruitment-cycle-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .recruitment-cycle-list-heading .button-ghost {
    width: 100%;
  }

  .all-recruitment-cycle-panel {
    padding: 24px 18px;
  }

  .question-cycle-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-field {
    width: 100%;
    min-width: 0;
  }

  .admin-list-filters,
  .admin-list-filters .field {
    width: 100%;
  }

  .application-detail-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .application-detail-toolbar .button-outline {
    width: 100%;
  }

  .application-management-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .application-batch-actions {
    justify-content: space-between;
  }
}

.application-print-body {
  background: #eef1ef;
}

.batch-print-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.batch-print-toolbar {
  position: sticky;
  z-index: 10;
  top: 16px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(12px);
}

.batch-print-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.batch-print-toolbar span {
  color: var(--ink-muted);
  font-size: .82rem;
}

.batch-print-application {
  padding: 48px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(18, 45, 46, .1);
}

.batch-print-application + .batch-print-application {
  margin-top: 28px;
}

.batch-print-application-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.batch-print-application-header h1 {
  margin: 7px 0 10px;
  font-size: 2.4rem;
  font-weight: 500;
}

.batch-print-application-header p {
  margin: 4px 0 0;
}

.batch-print-profile,
.batch-print-answers {
  padding: 30px;
  border: 1px solid var(--line);
}

.batch-print-profile h2 {
  margin: 0 0 24px;
  font-size: 1.45rem;
}

.batch-print-answers {
  margin-top: 24px;
}

.batch-print-answers article + article {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.batch-print-answers h2 {
  margin: 5px 0 14px;
  font-size: 1.4rem;
  font-weight: 500;
}

.batch-print-answers article > p:last-child {
  margin-bottom: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    background: #fff !important;
    color: #111 !important;
    overflow: visible !important;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .print-hidden,
  .application-print-excluded,
  #application-detail-message {
    display: none !important;
  }

  .admin-application-shell {
    display: block !important;
    padding: 0 !important;
  }

  .admin-application-shell > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .application-detail-hero {
    margin-bottom: 8mm;
    padding-bottom: 6mm;
    break-after: avoid;
  }

  .application-detail-hero h1 {
    font-size: 25pt;
  }

  .application-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 8mm;
  }

  .application-detail-sidebar {
    order: -1;
    display: block;
  }

  .application-detail-sidebar > .panel:first-child,
  .application-answer-panel {
    padding: 7mm;
    border: 1px solid #b9b9b9;
    box-shadow: none;
  }

  .application-profile-list {
    grid-template-columns: 24mm minmax(0, 1fr) 24mm minmax(0, 1fr);
  }

  .application-answer-panel section {
    break-inside: avoid;
  }

  .application-answer-panel section + section {
    margin-top: 7mm;
    padding-top: 7mm;
  }

  .application-answer-panel h2 {
    font-size: 14pt;
  }

  .application-answer-panel section > p:last-child {
    color: #111;
    font-size: 10.5pt;
    line-height: 1.7;
  }

  .application-course-tags span,
  .application-status-badge {
    border-color: #999 !important;
    background: #fff !important;
    color: #111 !important;
  }

  .application-print-body,
  .batch-print-shell {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .batch-print-application {
    padding: 0 !important;
    box-shadow: none !important;
  }

  .batch-print-application + .batch-print-application {
    margin-top: 0;
  }

  .batch-print-page-break {
    break-before: page;
    page-break-before: always;
  }

  .batch-print-application-header,
  .batch-print-profile {
    break-inside: avoid;
  }

  .batch-print-application-header {
    margin-bottom: 7mm;
    padding-bottom: 6mm;
  }

  .batch-print-application-header h1 {
    font-size: 25pt;
  }

  .batch-print-profile,
  .batch-print-answers {
    padding: 7mm;
    border-color: #b9b9b9;
  }

  .batch-print-answers {
    margin-top: 7mm;
  }

  .batch-print-answers article {
    break-inside: avoid;
  }

  .batch-print-answers article + article {
    margin-top: 7mm;
    padding-top: 7mm;
  }

  .batch-print-answers h2 {
    font-size: 14pt;
  }

  .batch-print-answers article > p:last-child {
    color: #111;
    font-size: 10.5pt;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-keyword-content,
  .home-scroll-enhanced .home-scroll-reveal,
  .home-scroll-enhanced .home-scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
