@charset "UTF-8";
/* =========================================================================
   registration-manager 행사 사이트 공통 스타일시트
   디자인 방향 — "학술 신뢰형" (Academic Trust), 기준: cmctrauma.theplanix.com

   아래 :root 의 brand/accent 값은 기본값(코발트 블루)이다.
   행사마다 base.html 이 <style>:root{--brand-700:…}</style> 을 뒤에 넣어 덮어쓴다
   (관리자 화면의 브랜드 색 하나에서 services/colors.py 가 단계를 계산).
   ========================================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --brand-rgb: 11, 45, 133;     /* 포커스 링 등 rgba() 용 */
  --on-brand: #FFFFFF;          /* 브랜드 색 위 글자색 */
  --hero-tint: #D5D262;         /* 히어로 왼쪽 위 곡선 색(행사별 변경 가능) */

  /* Primary - 기본 코발트 블루 */
  --brand-900: #071D57;
  --brand-800: #0A2570;
  --brand-700: #0B2D85;   /* 로고 실측 주색 */
  --brand-600: #16368A;
  --brand-500: #294794;
  --brand-050: #EEF2FB;

  /* Accent - 로고 안티앨리어싱 계열의 밝은 슬레이트블루 */
  --accent-700: #3E599E;
  --accent-600: #576EAB;
  --accent-500: #7588BA;
  --accent-050: #EDF0F8;

  /* 기존 컴포넌트 클래스 호환용 별칭 (navy/teal 이름을 그대로 쓰는 템플릿 대응) */
  --navy-900: var(--brand-900);
  --navy-800: var(--brand-800);
  --navy-700: var(--brand-700);
  --navy-600: var(--brand-600);
  --teal-700: var(--accent-700);
  --teal-600: var(--accent-600);
  --teal-500: var(--accent-500);
  --teal-050: var(--accent-050);

  /* Neutrals - 로고 워드마크(#4D4642) 기반 웜 그레이 */
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --line: #E3E6EE;
  --line-strong: #C8CEDC;
  --text: #2B2825;
  --text-soft: #4D4642;
  --text-mute: #7C7570;

  /* Semantic */
  --gold: #C8A95C;
  --danger: #C0392B;
  --danger-bg: #FCEDEB;
  --ok: #1A7A44;
  --ok-bg: #E8F5EE;
  --success: var(--ok);
  --warn-bg: #FBF6E9;

  /* Layout */
  --maxw: 1140px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, .06);
  --shadow-md: 0 6px 20px rgba(11, 36, 71, .08);
  --shadow-lg: 0 16px 40px rgba(11, 36, 71, .12);

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* 스크롤바 자리 예약(scrollbar-gutter)·모양은 공용 scrollbar.css 가 맡는다(2026-09-28) */

body {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 한글 줄바꿈: 단어(어절)가 줄 끝에서 음절 단위로 쪼개지지 않도록.
     keep-all 로 어절 중간 분리를 막고, 컨테이너보다 긴 단어만 강제 분리. */
  word-break: keep-all;
  overflow-wrap: break-word;
  /* sticky footer: 내용이 짧아도 footer가 화면 맨 아래에 붙도록 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main { flex: 1 0 auto; }
.footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* Accessibility: focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 행사명 반응형 줄바꿈: 기본(모바일)=<br> 유지, 데스크톱(≥641px)=숨김 */
@media (min-width: 641px) { br.br-m { display: none; } }

/* ---------- 3. Top Identity Band ---------- */
.idbar {
  background: var(--navy-900);
  color: #DCE4F0;
  font-size: 16px;
  letter-spacing: .01em;
}
.idbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 16px;
}
.idbar__host { font-weight: 600; color: #fff; }
.idbar__contact { color: #AFC0DC; display: flex; gap: 16px; flex-wrap: wrap; }
.idbar__contact a:hover { color: #fff; text-decoration: underline; }

/* ---------- 4. Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 6px; }
.brand__logo {
  height: 44px; width: auto; max-width: 180px; flex-shrink: 0;
  display: block; object-fit: contain;
}
.brand__txt { line-height: 1.25; display: flex; flex-direction: column; }
.brand__sup { font-size: 13.5px; color: var(--accent-700); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand__name { font-size: 20px; font-weight: 800; color: var(--brand-900); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 13px; border-radius: 8px;
  font-size: 18px; font-weight: 600; color: var(--text-soft);
  white-space: nowrap;   /* '초대의 글', '오시는 길' 이 두 줄로 접히지 않도록 */
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--navy-900); background: var(--bg); }
.nav a.is-active { color: var(--navy-900); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--teal-600); border-radius: 2px;
}
.nav__cta {
  margin-left: 8px; padding: 10px 18px !important;
  background: var(--brand-700); color: #fff !important; border-radius: 8px;
  font-weight: 700; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.nav__cta:hover { background: var(--brand-900); transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 8px; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--navy-900); border-radius: 2px; position: relative;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 19px; font-weight: 700; line-height: 1;
  transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent, .btn--teal { background: var(--accent-600); color: #fff; }
.btn--accent:hover, .btn--teal:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--surface); color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 28px; font-size: 20px; }
.btn[disabled], .btn.is-disabled {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}

/* ---------- 6. Section scaffold (numbered) ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 36px; }
.sec-num {
  display: none;
  font-size: 17.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--teal-600); background: var(--teal-050);
  padding: 6px 12px; border-radius: 6px; flex-shrink: 0;
}
.sec-titles { flex: 1; }
.sec-eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .14em; color: var(--text-mute); text-transform: uppercase; }
.sec-title { font-size: 30.5px; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; margin-top: 4px; }
.sec-rule { height: 1px; background: var(--line); margin: 0 0 36px; }

/* ---------- 7. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 8. Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1;
}
.badge--navy { background: rgba(255,255,255,.14); color: #fff; }
.badge--accent, .badge--teal { background: var(--accent-050); color: var(--accent-700); }
.badge--brand { background: var(--brand-050); color: var(--brand-700); }
.badge--gold { background: rgba(200,169,92,.16); color: #8A6D1E; }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--line { background: var(--surface); color: var(--text-soft); border: 1px solid var(--line-strong); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; font-size: 15.5px; font-weight: 700; line-height: 1;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status--todo { background: #EFF2F7; color: var(--text-mute); }
.status--todo::before { background: var(--text-mute); }
.status--doing { background: var(--warn-bg); color: #9A7A12; }
.status--doing::before { background: var(--gold); }
.status--done { background: var(--teal-050); color: var(--teal-700); }
.status--done::before { background: var(--teal-600); }

/* ---------- 9. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.doc { width: 100%; border-collapse: collapse; min-width: 520px; }
table.doc caption { text-align: left; font-weight: 700; color: var(--navy-900); padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.doc th, table.doc td { padding: 14px 16px; text-align: left; font-size: 19px; border-bottom: 1px solid var(--line); }
table.doc thead th { background: var(--navy-900); color: #fff; font-weight: 700; font-size: 17.5px; letter-spacing: .01em; }
table.doc tbody tr:last-child td { border-bottom: none; }
table.doc tbody tr:nth-child(even) { background: #FAFBFD; }
table.doc th[scope="row"] { background: #F7F9FC; font-weight: 700; color: var(--navy-800); }
.fee-cell { font-weight: 800; color: var(--navy-900); white-space: nowrap; }

/* ---------- 10. Footer ---------- */
.footer { background: var(--navy-900); color: #C2CEE2; padding: 56px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__top--nocontact { grid-template-columns: 1.4fr 2fr; } /* 문의처가 없는 행사: 빈 셋째 열 대신 바로가기 열이 넓어진다 */
.footer__brand { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer p { font-size: 17.5px; line-height: 1.8; }
.footer h4 { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .06em; margin-bottom: 14px; text-transform: uppercase; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { font-size: 17.5px; color: #C2CEE2; transition: color .2s ease; }
.footer__links a:hover { color: #fff; }
.footer__meta { color: #AFBDD6; font-size: 16.5px !important; }
.footer__bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 16px; color: #8DA0C2; }
.footer__admin { letter-spacing: .12em; font-weight: 700; color: #7285A8; transition: color .2s ease; }
.footer__admin:hover { color: #fff; }

/* ---------- 11. Utility ---------- */
.req { color: var(--danger); font-weight: 700; }
.muted { color: var(--text-mute); }
.center { text-align: center; }
.notice-line { background: var(--warn-bg); border: 1px solid #EADFC0; color: #7A6212; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 17.5px; }
.danger-box { background: var(--danger-bg); border: 1px solid #F1C9C3; color: #9A2B1E; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 17px; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 8px; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--bg); }
  .nav__cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .header { position: relative; }
}
@media (max-width: 640px) {
  /* 긴 기관명이 헤더를 깨뜨리지 않도록: 로고·글씨 축소 + 줄바꿈 허용 */
  .header .container { gap: 10px; min-height: 62px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__txt { min-width: 0; }
  .brand__logo { height: 34px; max-width: 112px; }
  .brand__sup { font-size: 12.5px; }
  .brand__name { font-size: 17.5px; line-height: 1.2; word-break: keep-all; }
}
@media (max-width: 400px) {
  .brand__logo { height: 30px; max-width: 84px; }
  .brand__sup { display: none; }
  .brand__name { font-size: 15.5px; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .sec-title { font-size: 26.5px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .idbar .container { justify-content: center; text-align: center; }
  .idbar__contact { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================================
   13. 페이지별 스타일 (원본은 페이지마다 <style> 로 나뉘어 있던 것을 한 파일로 모음)
   ========================================================================= */

/* 밝은 브랜드 색을 골라도 글자가 읽히도록 브랜드 면 위 글자색은 --on-brand 를 쓴다 */
.btn--primary, .nav__cta { color: var(--on-brand) !important; }

/* ---------- 13-1. 페이지 머리 ---------- */
.page-head { background: var(--brand-900); color: #fff; padding: 54px 0; }
.page-head h1 { font-size: 33px; font-weight: 800; letter-spacing: -.01em; }
.page-head p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 18px; }

/* ---------- 13-2. 홈: 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: #fff; min-height: 660px; display: flex; align-items: center; }
.hero__tint { position: absolute; top: 0; left: 0; width: 52%; max-width: 720px; z-index: 1; pointer-events: none; user-select: none; }
.hero__tint svg, .hero__wave svg { display: block; width: 100%; height: auto; }
.hero__wave { position: absolute; right: 0; bottom: 0; width: 58%; max-width: 820px; z-index: 1; pointer-events: none; user-select: none; }
.hero__photo {
  position: absolute; right: 0; bottom: 0; width: 56%; max-width: 800px; z-index: 1; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 42%);
          mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 42%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero__photo img { width: 100%; height: auto; display: block; }
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 104px; }
.hero__col { max-width: 620px; }
.hero__kicker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero .badge--kv { background: var(--brand-050); color: var(--brand-700); font-size: 14px; padding: 7px 14px; line-height: 1.3; }
.hero .badge--warm { background: color-mix(in srgb, var(--hero-tint) 34%, #fff); color: color-mix(in srgb, var(--hero-tint) 45%, #2a2a10); font-size: 14px; padding: 7px 14px; line-height: 1.3; }
.hero h1 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; line-height: 1.28; letter-spacing: -.02em; color: var(--brand-700); margin-bottom: 0; }
.hero__sub { margin-top: 18px; font-size: clamp(17.5px, 1.6vw, 20px); color: var(--text-soft); font-weight: 500; line-height: 1.65; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__org { display: flex; flex-direction: column; gap: 7px; margin: 32px 0 0; }
.hero__org > div { display: flex; align-items: baseline; gap: 12px; }
.hero__org dt { flex: none; width: 34px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--accent-600); }
.hero__org dd { margin: 0; min-width: 0; font-size: 16.5px; font-weight: 600; color: var(--brand-900); line-height: 1.55; }

/* 카운트다운 */
.countbar { background: var(--brand-050); color: var(--brand-900); border-top: 1px solid color-mix(in srgb, var(--brand-700) 12%, #fff); }
.countbar .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 14px 24px; }
.countbar strong { color: var(--brand-700); }
.countbar__until { color: var(--accent-700); font-weight: 600; }
.count-nums { display: flex; gap: 8px; }
.count-nums > span { background: var(--brand-700); color: var(--on-brand); border-radius: 6px; padding: 4px 10px; font-weight: 800; min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.count-nums > span small { display: block; font-size: 12.5px; font-weight: 600; opacity: .75; }

/* 초대의 글(홈 요약) */
.greet-home { display: grid; grid-template-columns: 2.1fr .75fr; gap: 40px; align-items: start; }
.greet-home.no-photo { grid-template-columns: 1fr; }
.greet-home .prose { max-height: 27em; overflow: hidden; position: relative; }
.greet-home .prose::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(to bottom, rgba(245,246,250,0), var(--bg)); }
.greet-home .prose.is-short { max-height: none; }
.greet-home .prose.is-short::after { display: none; }
.greet__more { margin-top: 20px; }
.portrait { max-width: 262px; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 18px 0; }
.portrait img { width: 100%; height: auto; display: block; border-radius: 6px; }
.portrait .cap { margin-top: 16px; padding: 14px 4px 16px; font-size: 16px; color: var(--text-soft); border-top: 1px solid var(--line); text-align: center; line-height: 1.6; }
.portrait .cap b { display: block; color: var(--brand-900); font-size: 18px; margin-bottom: 3px; }

/* 간이 서식으로 쓴 본문 */
.prose p { color: var(--text-soft); margin-bottom: 18px; font-size: 19.5px; line-height: 1.9; }
.prose p.lead { font-size: 21.5px; color: var(--text); font-weight: 600; line-height: 1.75; }
.prose h3 { font-size: 20px; font-weight: 800; color: var(--brand-900); margin: 28px 0 12px; padding-left: 14px; border-left: 4px solid var(--accent-600); }
.prose h3:first-child { margin-top: 0; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.prose li { position: relative; padding-left: 18px; font-size: 18.5px; line-height: 1.8; color: var(--text-soft); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-600); }
.prose b { color: var(--brand-900); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.prose > :last-child { margin-bottom: 0; }

/* 행사 정보 카드 */
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.info-card .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 14px; }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card dt { font-size: 16px; color: var(--text-mute); font-weight: 700; margin-bottom: 6px; }
.info-card dd { margin: 0; font-size: 17.5px; font-weight: 800; color: var(--brand-900); line-height: 1.5; }
.info-card dd small { display: block; font-weight: 600; font-size: 15.5px; color: var(--text-soft); margin-top: 3px; overflow-wrap: anywhere; }

.org-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; }
.org-line.cols-2 { grid-template-columns: repeat(2, 1fr); }
.org-line.cols-1 { grid-template-columns: 1fr; }
.org-item { background: var(--brand-050); border-radius: var(--radius-sm); padding: 18px 20px; }
.org-item dt { font-size: 15px; font-weight: 700; color: var(--accent-700); letter-spacing: .06em; }
.org-item dd { margin: 6px 0 0; font-size: 17.5px; font-weight: 600; color: var(--brand-900); line-height: 1.55; }

/* 바로가기 */
.cta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cta-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cta-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cta-tile { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.cta-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-500); }
.cta-tile h3 { font-size: 22px; font-weight: 800; color: var(--brand-900); }
.cta-tile p { font-size: 17px; color: var(--text-soft); flex: 1; }
.cta-tile .go { font-size: 17px; font-weight: 700; color: var(--brand-700); display: inline-flex; gap: 6px; transition: gap .2s; }
.cta-tile:hover .go { gap: 11px; }

/* 등록 안내 배너 */
.reg-banner { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand-700); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.reg-banner__title { font-size: 24px; font-weight: 800; color: var(--brand-900); }
.reg-banner__desc { margin-top: 10px; font-size: 18.5px; color: var(--text-soft); line-height: 1.75; }
.reg-banner__desc b { color: var(--brand-900); }
.reg-banner__note { display: inline-block; margin-top: 6px; font-size: 16.5px; color: var(--text-mute); }
.reg-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 프로그램 요약(홈) */
.prog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.prog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.prog-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 6px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.prog-card h3 { font-size: 20px; font-weight: 800; color: var(--brand-900); display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.prog-card h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-600); flex: none; }
.prog-card .chair { font-size: 16.5px; color: var(--text-mute); }
.prog-card ul li { display: grid; grid-template-columns: 106px minmax(0, 1fr) 302px; gap: 6px 18px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 18px; }
.prog-card ul li:first-child { border-top: none; }
.prog-card .tm { font-size: 16.5px; font-weight: 700; color: var(--accent-700); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prog-card .lec { font-weight: 600; color: var(--text); line-height: 1.5; }
.prog-card .who { color: var(--text-mute); font-size: 16.5px; line-height: 1.5; }

/* 공지(홈) */
.notice-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.notice-list li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); transition: background-color .2s; }
.notice-list li:first-child { border-top: none; }
.notice-list li:hover { background: #FAFBFD; }
.notice-list .nt { flex: 1; min-width: 0; font-weight: 600; color: var(--text); }
.notice-list .nd { color: var(--text-mute); font-size: 17px; white-space: nowrap; }

/* ---------- 13-3. 초대의 글 ---------- */
.greet { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.greet.no-photo { grid-template-columns: 1fr; max-width: 860px; }
.greet__photo { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface); padding: 20px 20px 0; margin: 0; }
.greet__photo img { width: 100%; height: auto; border-radius: 6px; }
.greet__caption { margin-top: 20px; padding: 18px 6px 20px; text-align: center; border-top: 1px solid var(--line); }
.greet__caption b { display: block; font-size: 19px; color: var(--brand-900); margin-bottom: 4px; }
.greet__caption span { font-size: 16px; color: var(--text-mute); line-height: 1.6; }
.greet__body.prose p { line-height: 1.95; margin-bottom: 22px; }
.greet__body.prose p.lead { font-size: 22px; font-weight: 700; color: var(--brand-900); padding-bottom: 22px; margin-bottom: 26px; border-bottom: 2px solid var(--brand-050); }
.greet__sign { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); text-align: right; font-size: 19px; font-weight: 700; color: var(--brand-900); }

/* ---------- 13-4. 프로그램 ---------- */
.pg-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 34px; padding: 20px 24px; background: var(--brand-050); border-radius: var(--radius); }
.pg-meta div { font-size: 18px; color: var(--brand-900); }
.pg-meta b { color: var(--accent-700); font-weight: 700; margin-right: 8px; }
.pg-day { display: flex; align-items: center; gap: 12px; margin: 44px 0 18px; font-size: 22px; font-weight: 800; color: var(--brand-900); }
.pg-day:first-of-type { margin-top: 0; }
.pg-day::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.pg-image { margin-bottom: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.pg-image img { width: 100%; height: auto; }
.pg-group { margin-bottom: 34px; }
.pg-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 15px 22px; border-radius: var(--radius) var(--radius) 0 0; background: var(--brand-700); color: var(--on-brand); }
.pg-group__name { font-size: 20.5px; font-weight: 800; letter-spacing: -.005em; }
.pg-group__name .room { display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 14.5px; font-weight: 700; vertical-align: 2px; }
.pg-group__chair { font-size: 17px; opacity: .78; font-weight: 600; }
.pg-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.pg-group .pg-table-wrap { border-radius: 0 0 var(--radius) var(--radius); border-top: none; }
.pg-plain { margin-bottom: 34px; }
table.pg { width: 100%; border-collapse: collapse; }
table.pg td { padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.pg tr:last-child td { border-bottom: none; }
.pg-time { width: 152px; white-space: nowrap; font-size: 17.5px; font-weight: 700; color: var(--accent-700); font-variant-numeric: tabular-nums; }
.pg-title { font-size: 19px; font-weight: 600; color: var(--text); line-height: 1.6; }
.pg-speaker { width: 270px; font-size: 17.5px; color: var(--text-soft); font-weight: 600; }
tr.is-plain .pg-title { font-weight: 700; color: var(--brand-900); }
tr.is-break { background: #FAFBFD; }
tr.is-break .pg-title { color: var(--text-mute); font-weight: 600; }

/* ---------- 13-5. 등록 안내 ---------- */
.info-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.info-block > h3 { font-size: 20px; font-weight: 800; color: var(--brand-900); margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--accent-600); }
.info-block p, .info-block li { font-size: 18.5px; line-height: 1.85; color: var(--text-soft); }
.info-block ul { display: flex; flex-direction: column; gap: 8px; }
.info-block li { padding-left: 18px; position: relative; }
.info-block li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-600); }
.info-block b { color: var(--brand-900); }
.info-block .prose p { margin-bottom: 10px; font-size: 18.5px; line-height: 1.85; }
.period-note { margin-top: 14px; padding: 15px 20px; border-radius: var(--radius-sm); background: var(--brand-050); border-left: 4px solid var(--accent-600); color: var(--brand-900) !important; font-size: 17.5px !important; line-height: 1.75 !important; font-weight: 600; }
.fee-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 24px; background: var(--brand-050); border-radius: var(--radius-sm); }
.fee-big strong { font-size: 32px; font-weight: 800; color: var(--brand-700); }
.fee-big span { font-size: 18px; color: var(--text-soft); }
.fee-note { margin-top: 14px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--warn-bg); border: 1px solid #EADFC0; color: #6E5A12 !important; font-size: 17.5px !important; line-height: 1.8 !important; }
.fee-note b { color: var(--brand-900); }
.fee-note p { color: inherit !important; font-size: inherit !important; margin: 0 !important; }
.bank-line { display: block; margin-top: 10px; padding: 13px 16px; background: #fff; border: 1px solid #EADFC0; border-radius: 6px; font-size: 19px; font-weight: 700; color: var(--brand-900); white-space: pre-line; overflow-wrap: anywhere; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cat-chip { padding: 7px 14px; border-radius: 999px; font-size: 16.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text-soft); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cta-row .btn { flex: 1; min-width: 220px; }
.info-block .table-wrap { box-shadow: none; }

/* ---------- 13-6. 신청서 ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; max-width: 820px; margin: 0 auto; }
.form-card__head { padding: 26px 34px; border-bottom: 1px solid var(--line); background: var(--brand-050); }
.form-card__head h2 { font-size: 22px; font-weight: 800; color: var(--brand-900); }
.form-card__head p { margin-top: 6px; font-size: 17px; color: var(--text-soft); }
.form-card__body { padding: 30px 34px 34px; }
.fld { margin-bottom: 22px; }
.fld > label, .fld__label { display: block; font-size: 17.5px; font-weight: 700; color: var(--brand-900); margin-bottom: 9px; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=number], .fld select, .fld textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 18.5px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none;
}
.fld select {
  padding-right: 42px; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%237C7570' stroke-width='1.8' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 7l4.5 4.5L13.5 7'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: var(--danger); }
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.fld__hint { margin-top: 7px; font-size: 16px; color: var(--text-mute); }
.fld__err { margin-top: 7px; font-size: 16px; color: var(--danger); font-weight: 600; }
.phone-row { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: 0 6px; }
.phone-row .dash { text-align: center; color: var(--text-mute); font-weight: 700; }
.fee-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: var(--brand-050); border-radius: var(--radius-sm); }
.fee-line__label { font-size: 17.5px; font-weight: 700; color: var(--brand-900); }
.fee-line__amount { font-size: 26px; font-weight: 800; color: var(--brand-700); }
.fee-add { font-size: .92em; font-weight: 700; color: var(--brand-700); white-space: nowrap; }
.bank-note { margin-top: 12px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--warn-bg); border: 1px solid #EADFC0; color: #6E5A12; font-size: 17.5px; line-height: 1.75; }
.bank-note b { color: var(--brand-900); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-chip > span { display: inline-block; padding: 11px 20px; border-radius: 8px; cursor: pointer; border: 1px solid var(--line-strong); background: var(--surface); font-size: 17.5px; font-weight: 600; color: var(--text-soft); transition: all .18s ease; }
.radio-chip input:checked + span { border-color: var(--brand-700); background: var(--brand-050); color: var(--brand-700); font-weight: 700; }
.radio-chip input:checked + span .fee-add { color: inherit; }   /* 칩 안 추가 금액: 고른 칩에서는 칩 글자색 */
.radio-chip input:focus-visible + span { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.check-line { display: flex; align-items: center; gap: 10px; }
.check-line input { width: 20px; height: 20px; accent-color: var(--brand-700); cursor: pointer; flex: none; }
.check-line label { font-size: 17.5px; font-weight: 600; color: var(--text); cursor: pointer; margin: 0; }
.agree-box { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #FAFBFD; padding: 18px 20px; margin-bottom: 20px; }
.agree-box h4 { font-size: 17px; font-weight: 700; color: var(--brand-900); margin-bottom: 10px; }
.agree-box table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.agree-box td { padding: 6px 0; color: var(--text-soft); vertical-align: top; line-height: 1.6; }
.agree-box td:first-child { width: 110px; font-weight: 700; color: var(--text); }
.agree-box .prose p, .agree-box .prose li { font-size: 16.5px; line-height: 1.7; margin-bottom: 8px; }
.agree-check { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.agree-check input { width: 20px; height: 20px; accent-color: var(--brand-700); cursor: pointer; }
.agree-check label { font-size: 17.5px; font-weight: 700; color: var(--brand-900); cursor: pointer; }
.form-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 200px; }
.is-hidden { display: none !important; }
.cf-turnstile { margin-bottom: 22px; min-height: 65px; }

/* ---------- 13-7. 등록 확인 · 내 등록 ---------- */
.chk-wrap { max-width: 760px; margin: 0 auto; }
.chk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 22px; }
.chk-card__head { padding: 24px 32px; border-bottom: 1px solid var(--line); background: var(--brand-050); }
.chk-card__head h2 { font-size: 21px; font-weight: 800; color: var(--brand-900); }
.chk-card__head p { margin-top: 6px; font-size: 17px; color: var(--text-soft); }
.chk-card__body { padding: 28px 32px 32px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.result-head h2 { font-size: 22px; font-weight: 800; color: var(--brand-900); }
.result-head p { margin-top: 5px; font-size: 17px; color: var(--text-soft); }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.done-mark svg { width: 32px; height: 32px; }
.done-head { text-align: center; padding: 38px 32px 30px; border-bottom: 1px solid var(--line); }
.done-head h2 { font-size: 25px; font-weight: 800; color: var(--brand-900); }
.done-head p { margin-top: 8px; font-size: 17.5px; color: var(--text-soft); line-height: 1.7; }
table.sum { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
table.sum th, table.sum td { padding: 13px 16px; font-size: 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.sum tr:last-child th, table.sum tr:last-child td { border-bottom: none; }
table.sum th { width: 38%; background: #FAFBFD; font-weight: 700; color: var(--text-soft); }
table.sum td { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.pay-note { margin-top: 20px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--warn-bg); border: 1px solid #EADFC0; color: #6E5A12; font-size: 17.5px; line-height: 1.8; }
.pay-note--pending { background: #F5F6FA; border-color: var(--line-strong); color: var(--text-soft); }
.pay-note--ok { background: var(--ok-bg); border-color: #BFE2CE; color: #14603A; }
.pay-note b { color: var(--brand-900); }
.pay-note--ok b { color: #0E4A2C; }
.res-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.res-actions .btn { flex: 1; min-width: 190px; }

/* ---------- 13-8. 오시는 길 ---------- */
.loc-top { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand-700); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.loc-top__venue { font-size: 24px; font-weight: 800; color: var(--brand-900); }
.loc-top__addr { margin-top: 8px; font-size: 18.5px; color: var(--text-soft); }
.loc-top__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.dir-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.dir-block .prose h3 { font-size: 19.5px; }
.dir-block .prose p, .dir-block .prose li { font-size: 18.5px; line-height: 1.85; }
.dir-block > h3 { font-size: 19.5px; font-weight: 800; color: var(--brand-900); margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--accent-600); }
.dir-block > p { font-size: 18.5px; line-height: 1.85; color: var(--text-soft); }

/* ---------- 13-9. 공지 ---------- */
table.doc td.subj { font-weight: 600; color: var(--text); }
table.doc td.subj a { transition: color .2s ease; }
table.doc td.subj a:hover { color: var(--accent-700); text-decoration: underline; }
table.doc td.c { text-align: center; white-space: nowrap; color: var(--text-soft); }
table.doc td.no { text-align: center; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-mute); }
.empty svg { width: 42px; height: 42px; color: var(--line-strong); margin: 0 auto 12px; display: block; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-soft); transition: all .2s ease; }
.pager a:hover { border-color: var(--navy-700); color: var(--navy-900); }
.pager .is-current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.article__head { padding: 28px 34px; border-bottom: 1px solid var(--line); }
.article__head h2 { font-size: 25px; font-weight: 800; color: var(--brand-900); line-height: 1.45; margin-top: 10px; }
.article__meta { margin-top: 10px; font-size: 16.5px; color: var(--text-mute); display: flex; gap: 16px; flex-wrap: wrap; }
.article__body { padding: 32px 34px 38px; }
.article__foot { margin-top: 24px; display: flex; justify-content: center; }

/* ---------- 13-10. 안내 페이지(준비 중·오류) ---------- */
.plain-page { min-height: 62vh; display: grid; place-items: center; padding: 72px 0; text-align: center; }
.plain-page .ico { width: 72px; height: 72px; border-radius: 20px; background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; margin: 0 auto 24px; }
.plain-page .ico svg { width: 34px; height: 34px; }
.plain-page .code { font-size: 15px; font-weight: 800; letter-spacing: .16em; color: var(--accent-600); margin-bottom: 10px; }
.plain-page h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--brand-900); letter-spacing: -.01em; line-height: 1.4; }
.plain-page p { margin-top: 12px; font-size: 18.5px; color: var(--text-soft); line-height: 1.8; }
.plain-page .btn { margin-top: 28px; }

/* ---------- 13-11. 알림 모달 ---------- */
.fm-bg { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .55); }
.fm-card { background: #fff; width: 100%; max-width: 420px; border-radius: 16px; padding: 30px 26px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); animation: fmIn .18s ease; }
@keyframes fmIn { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.fm-body { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.fm-item { display: flex; align-items: flex-start; gap: 13px; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.65; color: var(--text); }
.fm-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 19px; line-height: 1; }
.fm-item--success .fm-ic { background: var(--ok); }
.fm-item--danger .fm-ic { background: var(--danger); }
.fm-item--warning .fm-ic { background: #e0921f; }
.fm-item--info .fm-ic { background: var(--brand-600); }
.fm-ok { width: 100%; }

/* ---------- 13-12. 반응형 ---------- */
@media (max-width: 980px) {
  .hero { min-height: 0; display: block; }
  .hero .container { padding-top: 40px; padding-bottom: 270px; }
  .hero__col { max-width: none; }
  .hero__tint { width: 86%; max-width: none; }
  .hero__wave { width: 104%; max-width: none; }
  .hero__photo { width: 100%; max-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46%); mask-image: linear-gradient(to bottom, transparent 0, #000 46%); }
  .info-grid, .info-grid.cols-4, .info-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-grid, .cta-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .greet-home { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: 240px; margin: 0 auto; padding: 16px 16px 0; }
  .portrait .cap { margin-top: 14px; padding: 14px 4px 14px; }
  .org-line, .org-line.cols-2 { grid-template-columns: 1fr; }
  .prog-card ul li { grid-template-columns: 96px minmax(0, 1fr); }
  .prog-card .who { grid-column: 2; font-size: 16px; }
}
@media (max-width: 860px) {
  .greet { grid-template-columns: 1fr; gap: 32px; }
  .greet__photo { max-width: 280px; margin: 0 auto; padding: 16px 16px 0; }
  .greet__caption { margin-top: 16px; padding: 16px 6px 16px; }
}
@media (max-width: 760px) {
  table.pg, table.pg tbody, table.pg tr, table.pg td { display: block; width: 100%; }
  table.pg td { border-bottom: none; padding: 4px 18px; }
  table.pg tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  table.pg tr:last-child { border-bottom: none; }
  .pg-time, .pg-speaker { width: auto; }
  .pg-speaker:empty { display: none; }
}
@media (max-width: 720px) {
  .page-head { padding: 40px 0; }
  .page-head h1 { font-size: 27px; }
  .prose p { font-size: 18px; line-height: 1.85; }
  .prose p.lead, .greet__body.prose p.lead { font-size: 20px; }
  .info-block { padding: 22px 20px; }
  .fee-big strong { font-size: 27px; }
  .form-card__head, .form-card__body { padding-left: 20px; padding-right: 20px; }
  .fee-line__amount { font-size: 22px; }
  .chk-card__head, .chk-card__body, .result-head { padding-left: 20px; padding-right: 20px; }
  .done-head { padding: 30px 20px 24px; }
  table.sum th { width: 42%; }
  .loc-top { padding: 22px 20px; }
  .loc-top__venue { font-size: 20.5px; }
  .map-frame iframe { height: 300px; }
  .dir-block { padding: 20px 20px; }
  .article__head, .article__body { padding-left: 20px; padding-right: 20px; }
  .article__head h2 { font-size: 21.5px; }
}
@media (max-width: 640px) {
  .info-grid, .info-grid.cols-4, .info-grid.cols-3 { grid-template-columns: 1fr; gap: 12px; }
  .cta-grid, .cta-grid.cols-3, .cta-grid.cols-2 { grid-template-columns: 1fr; gap: 12px; }
  .hero .container { padding-bottom: 240px; }
  .hero__actions .btn { flex: 1; min-width: 140px; padding: 14px 18px; font-size: 16.5px; }
  .hero__org dd { font-size: 15.5px; }
  .info-card { padding: 20px 20px; }
  .info-card .ico { width: 36px; height: 36px; margin-bottom: 10px; }
  .cta-tile { padding: 22px 20px; gap: 8px; }
  .cta-tile h3 { font-size: 20px; }
  .reg-banner { padding: 24px 20px; }
  .reg-banner__title { font-size: 21px; }
  .prog-card { padding: 20px 18px; }
  .prog-card__head { margin-bottom: 4px; padding-bottom: 11px; }
  .prog-card h3 { font-size: 18.5px; }
  .prog-card .chair { font-size: 15.5px; padding-left: 19px; }
  .prog-card ul li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 0; font-size: 16.5px; }
  .prog-card .tm { grid-column: 1; font-size: 15.5px; }
  .prog-card .lec { line-height: 1.55; }
  .prog-card .who { grid-column: 1; font-size: 15px; }
  .notice-list li { padding: 16px 18px; gap: 10px; }
  .notice-list .nt { font-size: 17px; }
  .notice-list .nd { font-size: 15.5px; }
}
@media (max-width: 560px) {
  table.doc td.c, table.doc th.c-hide, table.doc td.c-hide { display: none; }
  table.doc { min-width: 0; }
}

/* ---------- 13-13. 인쇄 ---------- */
@media print {
  .header, .footer, .idbar, .nav-toggle, .no-print { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* 밝은 브랜드 색: hover 배경(brand-900)은 항상 어두우므로 글자는 흰색으로 */
.btn--primary:hover, .nav__cta:hover { color: #fff !important; }

/* 홈의 사용자 정의 콘텐츠 구역: 길면 아래를 흐리게 자르고 [자세히 보기]로 보낸다 */
.home-page { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent-600); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.home-page .prose { max-height: 17em; overflow: hidden; position: relative; }
.home-page .prose::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--surface)); }
.home-page .prose.is-short { max-height: none; }
.home-page .prose.is-short::after { display: none; }
@media (max-width: 720px) { .home-page { padding: 22px 20px; } }

/* =========================================================================
   14. 새 부품(헤더 이미지 · 주요 일정 · 후원사 · 연자 소개) — site-parts.css 와 같은 모양
   ========================================================================= */
/* ---------- 헤더 이미지 (모든 페이지 공통, 화면 가로 전체. 권장 가로 2400 · 세로 300~500) ----------
   폭 상한을 두지 않는다(예전 --p-hdr-max 는 더 이상 쓰지 않음). 좁은 이미지는 늘어나서라도 좌우 끝까지 채운다. */
.hdr-img { display: block; background: var(--p-hdr-bg, transparent); line-height: 0; }
.hdr-img a { display: block; max-width: none; margin: 0; }
.hdr-img img { display: block; width: 100%; height: auto; }

/* ---------- 주요 일정 ---------- */
.kd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.kd { flex: 1 1 230px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.kd__date { flex: none; min-width: 74px; text-align: center; padding-right: 16px; border-right: 1px solid var(--line); }
.kd__date b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.kd__date span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-mute); letter-spacing: .02em; }
.kd__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kd__label { font-size: 18px; font-weight: 700; color: var(--brand-900); line-height: 1.4; }
.kd__note { font-size: 15.5px; color: var(--text-mute); line-height: 1.5; overflow-wrap: anywhere; }
.kd__tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 12.5px; font-weight: 700; vertical-align: 2px; background: var(--brand-700); color: var(--on-brand); }
.kd__tag--past { background: var(--bg); color: var(--text-mute); border: 1px solid var(--line); }
.kd.is-next { border-color: var(--brand-700); box-shadow: 0 0 0 1px var(--brand-700) inset; }
.kd.is-past { opacity: .62; }
.kd.is-past .kd__date b { color: var(--text-mute); }

/* ---------- 후원 · 협찬 (로고는 흰 바탕 기준으로 만들어지므로 칸 배경은 늘 흰색) ---------- */
.sp-wrap { display: flex; flex-direction: column; gap: 26px; }
.sp-tier__name { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--text-mute); text-align: center; }
.sp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sp { flex: 0 1 200px; min-height: 84px; display: grid; place-items: center; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.sp a { display: grid; place-items: center; width: 100%; height: 100%; }
.sp img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.sp--text span { font-size: 17px; font-weight: 700; color: #2B2825; text-align: center; line-height: 1.4; }

/* ---------- 연자 소개 ---------- */
.spk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.spk { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.spk__mark { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700); font-size: 21px; font-weight: 800; }
/* 사진은 넣은 연자에게만 나온다 — 사진이 없으면 자리(이니셜·빈 칸)를 아예 그리지 않는다 */
.spk__photo { flex: none; display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); background: var(--brand-050); }
.spk__body { min-width: 0; flex: 1; }
.spk__name { display: block; font-size: 19.5px; font-weight: 800; color: var(--brand-900); }
.spk__title { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--brand-700); }
.spk__aff { display: block; margin-top: 2px; font-size: 16px; color: var(--text-mute); }
.spk__bio { margin: 9px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-soft); }
.spk__talks { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.spk__talks li { font-size: 16.5px; line-height: 1.55; color: var(--text-soft); }
.spk__time { display: inline-block; margin-right: 8px; font-weight: 700; color: var(--accent-700); font-variant-numeric: tabular-nums; }

/* ---------- 안내 화면(준비 중·오류) 안쪽 여백 ---------- */
.plain-page__in { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }

@media (max-width: 640px) {
  .kd { padding: 15px 16px; gap: 14px; }
  .kd__date { min-width: 64px; padding-right: 14px; }
  .sp { flex-basis: calc(50% - 6px); min-height: 72px; padding: 12px; }
  .spk-list { grid-template-columns: 1fr; }
}
@media print {
  .no-print, .hdr-img { display: none !important; }
}

/* 영문 행사명(선택) */
.hero__en { margin-top: 10px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; letter-spacing: .02em; color: var(--accent-700); line-height: 1.5; }

/* 하위 메뉴 탭(페이지 머리 아래) */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.subnav a { padding: 15px 18px 12px; font-size: 17.5px; font-weight: 700; color: var(--text-mute); border-bottom: 3px solid transparent; white-space: nowrap; transition: color .2s ease; }
.subnav a:hover { color: var(--brand-900); }
.subnav a.is-active { color: var(--brand-700); border-bottom-color: var(--brand-700); }
@media print { .subnav { display: none !important; } }

/* 작은 도우미(부품 안에서만 쓰는 여백·글자) — site-parts.css 와 같은 이름 */
.txt-link { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: 17px; }
.mt-s { margin-top: 6px; }
.mt { margin-top: 12px; }
.mb { margin-bottom: 22px; }

/* 등록 구분의 한 줄 설명(등록 안내 표) */
.cat-note { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 400; color: var(--text-mute); line-height: 1.5; }

/* 제작 표시(Made by plenary) — 저작권 줄 안에서 오른쪽, 글자 크기·색은 그 줄을 그대로 따른다 */
:where(.made-by):not(._){float:right; margin:0 0 0 auto; padding-left:24px; padding:0; font-size:inherit; line-height:inherit; font-weight:400; letter-spacing:0; opacity:.78}
:where(.made-by a):not(._){display:inline-flex; align-items:center; gap:.38em; color:inherit; text-decoration:none}
.made-by a, .made-by a:hover, .made-by a:focus-visible{text-decoration:none !important}   /* 테마의 바닥글 링크 밑줄(.foot a 등)보다 우선한다 — 마우스를 올리면 진해지기만 한다 */
:where(.made-by b):not(._){font-weight:700; letter-spacing:-.01em}
:where(.made-by svg):not(._){display:block; flex:none; width:.95em; height:.95em}
:where(.made-by:hover):not(._){opacity:1}
/* 저작권 문구가 없는 테마: 바닥글 맨 아래 한 줄, 오른쪽 */
:where(.made-by--row):not(._){float:none; display:block; grid-column:1 / -1; flex:0 0 100%; width:100%; box-sizing:border-box; margin:0;
  padding:12px 20px 16px; text-align:right; font-size:13px; line-height:1.4}

/* 문의 게시판(parts/inquiry_*.html, docs/INQUIRY_DESIGN.md 2절) — site-parts.css 와 같은 이름 */
.inq-intro { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand-700); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.inq-intro.prose p, .inq-intro.prose li { font-size: 17.5px; line-height: 1.8; margin-bottom: 8px; }
.inq-intro.prose > :last-child { margin-bottom: 0; }
.inq-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.inq-bar__count { font-size: 17px; color: var(--text-soft); }
.inq-bar__count b { color: var(--brand-900); }
.inq-bar__closed { font-size: 17px; font-weight: 700; color: var(--text-mute); padding: 11px 16px; border: 1px dashed var(--line-strong); border-radius: 8px; }
.inq-tag { display: inline-block; vertical-align: 2px; margin-right: 8px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line-strong); background: #FAFBFD; color: var(--text-soft); font-size: 13.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.inq-tag--ok { margin: 0 0 0 8px; border-color: #BFE2CE; background: var(--ok-bg); color: #14603A; }
.inq-sub { display: none; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--text-mute); }
.inq-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.inq-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 18.5px; line-height: 1.85; color: var(--text); }
.inq-replies { margin-top: 22px; }
.inq-replies__title { font-size: 19px; font-weight: 800; color: var(--brand-900); margin-bottom: 12px; }
.inq-replies__title span { color: var(--brand-700); }
.inq-reply { background: var(--brand-050); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; }
.inq-reply__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.inq-reply__head .badge { font-size: 14px; padding: 4px 10px; }
.inq-reply__head b { font-size: 16.5px; color: var(--brand-900); }
.inq-reply__date { font-size: 15.5px; color: var(--text-mute); }
.inq-reply__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 18px; line-height: 1.8; color: var(--text); }
.inq-replies__empty { padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; font-size: 17px; color: var(--text-mute); }
.inq-actions { gap: 10px; flex-wrap: wrap; }
.inq-actions form { display: inline-flex; margin: 0; }
.inq-opt { font-weight: 400; color: var(--text-mute); }
.inq-unlock__title { font-size: 18px; font-weight: 700; color: var(--brand-900); margin-bottom: 20px; overflow-wrap: anywhere; }
.fld input[type=password] { width: 100%; padding: 13px 15px; font-family: inherit; font-size: 18.5px; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; -webkit-appearance: none; appearance: none; }
.fld input[type=password]:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.fld.has-error input[type=password] { border-color: var(--danger); }
@media (max-width: 560px) {
  .inq-sub { display: block; }
  table.inq-table td.c-hide, table.inq-table th.c-hide { display: none; }
  table.inq-table { min-width: 0; }
  .inq-intro, .inq-reply { padding: 16px 18px; }
}

/* ---------- 알림 띄우기 모달(사용자 정의 콘텐츠 "알림 띄우기", 2026-09-28) — site-parts.css 의 같은 규칙을 classic 토큰으로 ---------- */
.pl-alert { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .16s ease; }
.pl-alert[hidden] { display: none; }
.pl-alert.is-open { opacity: 1; }
.pl-alert__card { box-sizing: border-box; width: 100%; max-width: 440px; margin: 0; padding: 30px 30px 24px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-align: left; transform: translateY(8px); transition: transform .16s ease; }
.pl-alert.is-open .pl-alert__card { transform: none; }
.pl-alert__card:focus { outline: none; }
.pl-alert__title { margin: 0 0 12px; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; color: var(--brand-900); }
.pl-alert__text { margin: 0; padding: 0; max-height: 60vh; overflow: auto; font-size: 18px; line-height: 1.7; color: var(--text); white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
.pl-alert__foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.pl-alert__ok { min-width: 104px; }
html.pl-alert-lock, html.pl-alert-lock body { overflow: hidden; }
.pl-alert-page__text { white-space: pre-line; }
@media (max-width: 640px) {
  .pl-alert__card { max-width: calc(100vw - 32px); padding: 24px 22px 20px; }
  .pl-alert__ok { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-alert, .pl-alert__card { transition: none; transform: none; }
}

/* ---------- 홈 이미지 팝업(docs/POPUP_SURVEY_DESIGN.md A-3, 2026-09-28) — site-parts.css 의 같은 규칙을 classic 토큰으로 ---------- */
.pl-popup { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .16s ease; }
.pl-popup[hidden] { display: none; }
.pl-popup.is-open { opacity: 1; }
.pl-popup__card { box-sizing: border-box; display: flex; flex-direction: column; width: max-content; min-width: min(280px, calc(100vw - 32px)); max-width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: 0; padding: 0; overflow: hidden; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); transform: translateY(8px); transition: transform .16s ease; }
.pl-popup.is-open .pl-popup__card { transform: none; }
.pl-popup__card:focus { outline: none; }
.pl-popup__media { display: flex; justify-content: center; align-items: center; min-height: 0; margin: 0; padding: 0; background: var(--surface); line-height: 0; }
.pl-popup__media picture, .pl-popup__link { display: block; max-width: 100%; margin: 0; padding: 0; border: 0; line-height: 0; }
.pl-popup__img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(80vh, calc(100vh - 32px - 52px)); margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.pl-popup__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: 52px; margin: 0; padding: 0 8px 0 6px; border-top: 1px solid var(--line); }
.pl-popup__btn { appearance: none; margin: 0; padding: 12px 12px; background: none; border: 0; border-radius: 6px; font: inherit; font-size: 15px; line-height: 1.2; color: var(--text); cursor: pointer; }
.pl-popup__btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.pl-popup__btn:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 1px; }
.pl-popup__close { font-weight: 700; color: var(--brand-900); }
html.pl-popup-lock, html.pl-popup-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .pl-popup, .pl-popup__card { transition: none; transform: none; }
}

/* 설문조사(parts/survey_*.html, docs/POPUP_SURVEY_DESIGN.md B-4) — site-parts.css 와 같은 이름 */
.svy-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: 14px; }
.svy-item { margin: 0; padding: 0; }
.svy-item__link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.svy-item__link:hover { border-color: var(--brand-700); box-shadow: var(--shadow-md); }
.svy-item__link:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.svy-item__main { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.svy-item__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.svy-tag { display: inline-block; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line-strong); background: #FAFBFD; color: var(--text-soft); font-size: 13.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.svy-tag--ok { border-color: #BFE2CE; background: var(--ok-bg); color: #14603A; }
.svy-tag--off { border-style: dashed; color: var(--text-mute); }
.svy-item__title { font-size: 20px; font-weight: 800; line-height: 1.45; color: var(--brand-900); overflow-wrap: anywhere; }
.svy-item__meta { font-size: 15.5px; color: var(--text-mute); }
.svy-item__go { flex: none; }
.svy-note { margin: 0 0 20px; }
.svy-who { margin: 0 0 16px; font-size: 17px; color: var(--text-soft); }
.svy-who b { color: var(--brand-900); }
.svy-intro { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--brand-050); border-left: 4px solid var(--brand-700); }
.svy-intro.prose p, .svy-intro.prose li { font-size: 17.5px; line-height: 1.8; margin-bottom: 8px; }
.svy-intro.prose > :last-child { margin-bottom: 0; }
fieldset.svy-q { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.svy-q__text { display: block; width: 100%; padding: 0; margin-bottom: 10px; font-size: 18.5px; font-weight: 700; line-height: 1.55; color: var(--brand-900); white-space: pre-line; overflow-wrap: anywhere; }
.svy-q__no { color: var(--brand-700); }
.svy-q__hint { margin: -2px 0 10px; }
.svy-opts { display: grid; gap: 8px; }
.svy-opt { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 17.5px; font-weight: 500; line-height: 1.5; color: var(--text); transition: border-color .18s ease, background-color .18s ease; }
.svy-opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-700); cursor: pointer; }
.svy-opt:has(input:checked) { border-color: var(--brand-700); background: var(--brand-050); }
.svy-opt span { overflow-wrap: anywhere; }
.svy-scale__row { display: grid; grid-template-columns: repeat(var(--svy-n, 5), minmax(0, 1fr)); gap: 6px; }
.svy-scale__pt { position: relative; margin: 0; }
.svy-scale__pt input { position: absolute; opacity: 0; width: 0; height: 0; }
.svy-scale__pt > span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text-soft); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .18s ease; }
.svy-scale__pt input:checked + span { border-color: var(--brand-700); background: var(--brand-700); color: var(--on-brand); }
.svy-scale__pt input:focus-visible + span { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.svy-scale__ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 15px; color: var(--text-mute); }
.svy-scale__ends span:last-child { text-align: right; }
.fld.has-error .svy-opt, .fld.has-error .svy-scale__pt > span { border-color: var(--danger); }
.svy-thanks { white-space: pre-line; overflow-wrap: anywhere; }
.svy-actions { justify-content: center; }
@media (max-width: 560px) {
  .svy-item__link { flex-direction: column; align-items: stretch; padding: 18px 18px; }
  .svy-item__go { width: 100%; }
  .svy-scale__pt > span { height: 44px; font-size: 16px; }
  .svy-scale__row { gap: 4px; }
}
.pay-note__fee-note { display: block; margin-top: 8px; white-space: pre-line; }
