@charset "UTF-8";
/* =========================================================================
   site-parts.css — 공통 부품(templates/site/parts/*.html)의 기본 모양
   -------------------------------------------------------------------------
   모든 디자인 템플릿(테마)이 같은 기능 블록(신청서, 프로그램 표, 등록 안내, 등록 확인,
   내 등록, 공지, 오시는 길, 주요 일정, 후원사, 연자 소개 …)을 그대로 쓴다.
   이 파일은 그 블록들이 "어느 테마에서든 일단 제대로 보이게" 하는 기본 스타일이다.

   ■ 테마에서 고치는 법 (docs/THEME_GUIDE.md)
     1) 토큰만 바꾼다 — theme.css 의 :root 에 --p-* 값을 적으면 전체 부품의 색·모서리·글자 크기가 따라온다.
        (--brand / --accent / --on-brand 를 쓰는 테마는 그것만 정의해도 된다: 아래 기본값이 그것을 따른다)
     2) 모양을 바꾼다 — 같은 클래스에 규칙을 쓰면 된다. 이 파일의 모든 규칙은
        :where(선택자):not(._) 꼴이라 specificity 가 항상 (0,1,0) 이다.
          · 테마의 요소 리셋(h2{…}, p{…}, input{…})에는 지지 않고      → 부품이 깨지지 않는다
          · 테마가 클래스로 쓴 규칙(.form-card h2{…})에는 항상 진다    → 테마가 마음대로 꾸민다
        (theme.css 는 이 파일 뒤에 불러온다)
   ■ classic(site.css)은 이 파일을 쓰지 않는다. 새 부품을 만들면 두 곳에 모두 스타일을 넣는다.
   ========================================================================= */

/* ---------- 토큰 ---------- */
:where(:root) {
  --p-fs: 1;                                   /* 부품 글자 크기 배율. 작은 글씨 테마는 .88 정도 */
  --p-brand: var(--brand, #0B2D85);
  --p-accent: var(--accent, #3E599E);
  --p-on-brand: var(--on-brand, #FFFFFF);      /* 브랜드 색 면 위의 글자색 */
  --p-brand-strong: #071D57;                   /* 짙은 면(표 머리, hover) */
  --p-head: var(--p-brand-strong);             /* 제목 글자색. 어두운 배경 테마는 밝은 색으로 */
  --p-tint: #EEF2FB;                           /* 옅은 브랜드 면(카드 머리, 등록비 줄) */
  --p-accent-tint: #EDF0F8;

  --p-bg: #F5F6FA;
  --p-surface: #FFFFFF;                        /* 카드·입력칸 배경 */
  --p-surface-2: #FAFBFD;                      /* 표의 th·줄무늬 */
  --p-line: #E3E6EE;
  --p-line-strong: #C8CEDC;
  --p-text: #2B2825;
  --p-text-soft: #4D4642;
  --p-text-mute: #7C7570;

  --p-radius: 10px;
  --p-radius-sm: 6px;
  --p-shadow-sm: 0 1px 2px rgba(11, 36, 71, .06);
  --p-shadow-md: 0 6px 20px rgba(11, 36, 71, .08);

  --p-gold: #C8A95C;
  --p-danger: #C0392B; --p-danger-bg: #FCEDEB; --p-danger-line: #F1C9C3; --p-danger-text: #9A2B1E;
  --p-ok: #1A7A44;     --p-ok-bg: #E8F5EE;     --p-ok-line: #BFE2CE;     --p-ok-text: #14603A;
  --p-warn-bg: #FBF6E9; --p-warn-line: #EADFC0; --p-warn-text: #6E5A12;
}
/* 브랜드 색에서 짙은 색·옅은 면을 계산한다(행사마다 색을 바꿔도 부품이 따라오게) */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :where(:root) {
    --p-brand-strong: color-mix(in srgb, var(--p-brand) 72%, #000);
    --p-tint: color-mix(in srgb, var(--p-brand) 8%, var(--p-surface));
    --p-accent-tint: color-mix(in srgb, var(--p-accent) 10%, var(--p-surface));
  }
}

/* ---------- 부품 ---------- */
:where(.btn):not(._) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; font-size: calc(19px * var(--p-fs)); 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; }
:where(.btn--primary):not(._) { background: var(--p-brand); color: var(--p-on-brand); }
:where(.btn--primary:hover):not(._) { background: var(--p-brand-strong); transform: translateY(-2px); box-shadow: var(--p-shadow-md); }
:where(.btn--accent):not(._), :where(.btn--teal):not(._) { background: var(--p-accent); color: var(--p-on-brand); }
:where(.btn--accent:hover):not(._), :where(.btn--teal:hover):not(._) { background: var(--p-accent); transform: translateY(-2px); box-shadow: var(--p-shadow-md); }
:where(.btn--ghost):not(._) { background: var(--p-surface); color: var(--p-head); border-color: var(--p-line-strong); }
:where(.btn--ghost:hover):not(._) { border-color: var(--p-brand); color: var(--p-head); transform: translateY(-2px); box-shadow: var(--p-shadow-sm); }
:where(.btn--block):not(._) { width: 100%; }
:where(.btn--lg):not(._) { padding: 16px 28px; font-size: calc(20px * var(--p-fs)); }
:where(.btn[disabled]):not(._), :where(.btn.is-disabled):not(._) { opacity: .5; cursor: not-allowed; pointer-events: none; }
:where(.badge):not(._) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: calc(16px * var(--p-fs)); font-weight: 700; line-height: 1; }
:where(.badge--navy):not(._) { background: rgba(255,255,255,.14); color: #fff; }
:where(.badge--accent):not(._), :where(.badge--teal):not(._) { background: var(--p-accent-tint); color: var(--p-accent); }
:where(.badge--brand):not(._) { background: var(--p-tint); color: var(--p-brand); }
:where(.badge--gold):not(._) { background: rgba(200,169,92,.16); color: var(--p-warn-text); }
:where(.badge--ok):not(._) { background: var(--p-ok-bg); color: var(--p-ok); }
:where(.badge--line):not(._) { background: var(--p-surface); color: var(--p-text-soft); border: 1px solid var(--p-line-strong); }
:where(.status):not(._) { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: calc(15.5px * var(--p-fs)); font-weight: 700; line-height: 1; }
:where(.status):not(._)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
:where(.status--todo):not(._) { background: var(--p-surface-2); color: var(--p-text-mute); }
:where(.status--todo):not(._)::before { background: var(--p-text-mute); }
:where(.status--doing):not(._) { background: var(--p-warn-bg); color: var(--p-warn-text); }
:where(.status--doing):not(._)::before { background: var(--p-gold); }
:where(.status--done):not(._) { background: var(--p-accent-tint); color: var(--p-accent); }
:where(.status--done):not(._)::before { background: var(--p-accent); }
:where(.table-wrap):not(._) { overflow-x: auto; border: 1px solid var(--p-line); border-radius: var(--p-radius); background: var(--p-surface); }
:where(table.doc):not(._) { width: 100%; border-collapse: collapse; min-width: 520px; }
:where(table.doc caption):not(._) { text-align: left; font-weight: 700; color: var(--p-head); padding: 14px 16px; border-bottom: 1px solid var(--p-line); }
:where(table.doc th):not(._), :where(table.doc td):not(._) { padding: 14px 16px; text-align: left; font-size: calc(19px * var(--p-fs)); border-bottom: 1px solid var(--p-line); }
:where(table.doc thead th):not(._) { background: var(--p-brand-strong); color: var(--p-on-brand); font-weight: 700; font-size: calc(17.5px * var(--p-fs)); letter-spacing: .01em; }
:where(table.doc tbody tr:last-child td):not(._) { border-bottom: none; }
:where(table.doc tbody tr:nth-child(even)):not(._) { background: var(--p-surface-2); }
:where(table.doc th[scope="row"]):not(._) { background: var(--p-surface-2); font-weight: 700; color: var(--p-head); }
:where(.fee-cell):not(._) { font-weight: 800; color: var(--p-head); white-space: nowrap; }
:where(.req):not(._) { color: var(--p-danger); font-weight: 700; }
:where(.muted):not(._) { color: var(--p-text-mute); }
:where(.center):not(._) { text-align: center; }
:where(.notice-line):not(._) { background: var(--p-warn-bg); border: 1px solid var(--p-warn-line); color: var(--p-warn-text); border-radius: var(--p-radius-sm); padding: 14px 16px; font-size: calc(17.5px * var(--p-fs)); }
:where(.danger-box):not(._) { background: var(--p-danger-bg); border: 1px solid var(--p-danger-line); color: var(--p-danger-text); border-radius: var(--p-radius-sm); padding: 14px 16px; font-size: calc(17px * var(--p-fs)); }
:where(.prose p):not(._) { color: var(--p-text-soft); margin-bottom: 18px; font-size: calc(19.5px * var(--p-fs)); line-height: 1.9; }
:where(.prose p.lead):not(._) { font-size: calc(21.5px * var(--p-fs)); color: var(--p-text); font-weight: 600; line-height: 1.75; }
:where(.prose h3):not(._) { font-size: calc(20px * var(--p-fs)); font-weight: 800; color: var(--p-head); margin: 28px 0 12px; padding-left: 14px; border-left: 4px solid var(--p-accent); }
:where(.prose h3:first-child):not(._) { margin-top: 0; }
:where(.prose ul):not(._) { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
:where(.prose li):not(._) { position: relative; padding-left: 18px; font-size: calc(18.5px * var(--p-fs)); line-height: 1.8; color: var(--p-text-soft); }
:where(.prose li):not(._)::before { content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--p-accent); }
:where(.prose b):not(._) { color: var(--p-head); }
:where(.prose a):not(._) { color: var(--p-brand); text-decoration: underline; text-underline-offset: 3px; }
:where(.prose > :last-child):not(._) { margin-bottom: 0; }
:where(.greet):not(._) { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
:where(.greet.no-photo):not(._):not(.__) { grid-template-columns: 1fr; max-width: 860px; }
:where(.greet__photo):not(._) { border-radius: var(--p-radius); border: 1px solid var(--p-line); box-shadow: var(--p-shadow-md); background: var(--p-surface); padding: 20px 20px 0; margin: 0; }
:where(.greet__photo img):not(._) { width: 100%; height: auto; border-radius: 6px; }
:where(.greet__caption):not(._) { margin-top: 20px; padding: 18px 6px 20px; text-align: center; border-top: 1px solid var(--p-line); }
:where(.greet__caption b):not(._) { display: block; font-size: calc(19px * var(--p-fs)); color: var(--p-head); margin-bottom: 4px; }
:where(.greet__caption span):not(._) { font-size: calc(16px * var(--p-fs)); color: var(--p-text-mute); line-height: 1.6; }
:where(.greet__body.prose p):not(._) { line-height: 1.95; margin-bottom: 22px; }
:where(.greet__body.prose p.lead):not(._) { font-size: calc(22px * var(--p-fs)); font-weight: 700; color: var(--p-head); padding-bottom: 22px; margin-bottom: 26px; border-bottom: 2px solid var(--p-tint); }
:where(.greet__sign):not(._) { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--p-line); text-align: right; font-size: calc(19px * var(--p-fs)); font-weight: 700; color: var(--p-head); }
:where(.pg-meta):not(._) { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 34px; padding: 20px 24px; background: var(--p-tint); border-radius: var(--p-radius); }
:where(.pg-meta div):not(._) { font-size: calc(18px * var(--p-fs)); color: var(--p-head); }
:where(.pg-meta b):not(._) { color: var(--p-accent); font-weight: 700; margin-right: 8px; }
:where(.pg-day):not(._) { display: flex; align-items: center; gap: 12px; margin: 44px 0 18px; font-size: calc(22px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.pg-day:first-of-type):not(._) { margin-top: 0; }
:where(.pg-day):not(._)::after { content: ""; flex: 1; height: 1px; background: var(--p-line-strong); }
:where(.pg-image):not(._) { margin-bottom: 34px; border: 1px solid var(--p-line); border-radius: var(--p-radius); overflow: hidden; background: var(--p-surface); box-shadow: var(--p-shadow-sm); }
:where(.pg-image img):not(._) { width: 100%; height: auto; }
:where(.pg-group):not(._) { margin-bottom: 34px; }
:where(.pg-group__head):not(._) { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 15px 22px; border-radius: var(--p-radius) var(--p-radius) 0 0; background: var(--p-brand); color: var(--p-on-brand); }
:where(.pg-group__name):not(._) { font-size: calc(20.5px * var(--p-fs)); font-weight: 800; letter-spacing: -.005em; }
:where(.pg-group__name .room):not(._) { display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: calc(14.5px * var(--p-fs)); font-weight: 700; vertical-align: 2px; }
:where(.pg-group__chair):not(._) { font-size: calc(17px * var(--p-fs)); opacity: .78; font-weight: 600; }
:where(.pg-table-wrap):not(._) { border: 1px solid var(--p-line); border-radius: var(--p-radius); overflow: hidden; background: var(--p-surface); box-shadow: var(--p-shadow-sm); }
:where(.pg-group .pg-table-wrap):not(._) { border-radius: 0 0 var(--p-radius) var(--p-radius); border-top: none; }
:where(.pg-plain):not(._) { margin-bottom: 34px; }
:where(table.pg):not(._) { width: 100%; border-collapse: collapse; }
:where(table.pg td):not(._) { padding: 15px 22px; border-bottom: 1px solid var(--p-line); vertical-align: top; }
:where(table.pg tr:last-child td):not(._) { border-bottom: none; }
:where(.pg-time):not(._) { width: 152px; white-space: nowrap; font-size: calc(17.5px * var(--p-fs)); font-weight: 700; color: var(--p-accent); font-variant-numeric: tabular-nums; }
:where(.pg-title):not(._) { font-size: calc(19px * var(--p-fs)); font-weight: 600; color: var(--p-text); line-height: 1.6; }
:where(.pg-speaker):not(._) { width: 270px; font-size: calc(17.5px * var(--p-fs)); color: var(--p-text-soft); font-weight: 600; }
:where(tr.is-plain .pg-title):not(._) { font-weight: 700; color: var(--p-head); }
:where(tr.is-break):not(._) { background: var(--p-surface-2); }
:where(tr.is-break .pg-title):not(._) { color: var(--p-text-mute); font-weight: 600; }
:where(.info-block):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); padding: 26px 30px; margin-bottom: 18px; box-shadow: var(--p-shadow-sm); }
:where(.info-block > h3):not(._) { font-size: calc(20px * var(--p-fs)); font-weight: 800; color: var(--p-head); margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--p-accent); }
:where(.info-block p):not(._), :where(.info-block li):not(._) { font-size: calc(18.5px * var(--p-fs)); line-height: 1.85; color: var(--p-text-soft); }
:where(.info-block ul):not(._) { display: flex; flex-direction: column; gap: 8px; }
:where(.info-block li):not(._) { padding-left: 18px; position: relative; }
:where(.info-block li):not(._)::before { content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--p-accent); }
:where(.info-block b):not(._) { color: var(--p-head); }
:where(.info-block .prose p):not(._) { margin-bottom: 10px; font-size: calc(18.5px * var(--p-fs)); line-height: 1.85; }
:where(.period-note):not(._) { margin-top: 14px; padding: 15px 20px; border-radius: var(--p-radius-sm); background: var(--p-tint); border-left: 4px solid var(--p-accent); color: var(--p-head) !important; font-size: calc(17.5px * var(--p-fs)) !important; line-height: 1.75 !important; font-weight: 600; }
:where(.fee-big):not(._) { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 24px; background: var(--p-tint); border-radius: var(--p-radius-sm); }
:where(.fee-big strong):not(._) { font-size: calc(32px * var(--p-fs)); font-weight: 800; color: var(--p-brand); }
:where(.fee-big span):not(._) { font-size: calc(18px * var(--p-fs)); color: var(--p-text-soft); }
:where(.fee-note):not(._) { margin-top: 14px; padding: 18px 22px; border-radius: var(--p-radius-sm); background: var(--p-warn-bg); border: 1px solid var(--p-warn-line); color: var(--p-warn-text) !important; font-size: calc(17.5px * var(--p-fs)) !important; line-height: 1.8 !important; }
:where(.fee-note b):not(._) { color: var(--p-head); }
:where(.fee-note p):not(._) { color: inherit !important; font-size: inherit !important; margin: 0 !important; }
:where(.bank-line):not(._) { display: block; margin-top: 10px; padding: 13px 16px; background: var(--p-surface); border: 1px solid var(--p-warn-line); border-radius: 6px; font-size: calc(19px * var(--p-fs)); font-weight: 700; color: var(--p-head); white-space: pre-line; overflow-wrap: anywhere; }
:where(.bank-line--note):not(._) { font-size: calc(16.5px * var(--p-fs)); font-weight: 500; }  /* 계좌번호 숨기기 켰을 때 계좌 자리 안내 문구 */
:where(.cat-chips):not(._) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
:where(.cat-chip):not(._) { padding: 7px 14px; border-radius: 999px; font-size: calc(16.5px * var(--p-fs)); font-weight: 600; background: var(--p-surface); border: 1px solid var(--p-line-strong); color: var(--p-text-soft); }
:where(.cta-row):not(._) { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
:where(.cta-row .btn):not(._) { flex: 1; min-width: 220px; }
:where(.info-block .table-wrap):not(._) { box-shadow: none; }
:where(.form-card):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); box-shadow: var(--p-shadow-md); overflow: hidden; max-width: 820px; margin: 0 auto; }
:where(.form-card__head):not(._) { padding: 26px 34px; border-bottom: 1px solid var(--p-line); background: var(--p-tint); }
:where(.form-card__head h2):not(._) { font-size: calc(22px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.form-card__head p):not(._) { margin-top: 6px; font-size: calc(17px * var(--p-fs)); color: var(--p-text-soft); }
:where(.form-card__body):not(._) { padding: 30px 34px 34px; }
:where(.fld):not(._) { margin-bottom: 22px; }
:where(.fld > label):not(._), :where(.fld__label):not(._) { display: block; font-size: calc(17.5px * var(--p-fs)); font-weight: 700; color: var(--p-head); margin-bottom: 9px; }
:where(.fld input[type=text]):not(._), :where(.fld input[type=email]):not(._), :where(.fld input[type=tel]):not(._), :where(.fld input[type=number]):not(._), :where(.fld select):not(._), :where(.fld textarea):not(._) { width: 100%; padding: 13px 15px; font-family: inherit; font-size: calc(18.5px * var(--p-fs)); color: var(--p-text); background: var(--p-surface); border: 1px solid var(--p-line-strong); border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
:where(.fld select):not(._) { padding-right: 42px; cursor: pointer; background: var(--p-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; }
:where(.fld input:focus):not(._), :where(.fld select:focus):not(._), :where(.fld textarea:focus):not(._) { outline: none; border-color: var(--p-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p-brand) 16%, transparent); }
:where(.fld.has-error input):not(._), :where(.fld.has-error select):not(._), :where(.fld.has-error textarea):not(._) { border-color: var(--p-danger); }
:where(.fld textarea):not(._) { min-height: 96px; resize: vertical; line-height: 1.6; }
:where(.fld__hint):not(._) { margin-top: 7px; font-size: calc(16px * var(--p-fs)); color: var(--p-text-mute); }
:where(.fld__err):not(._) { margin-top: 7px; font-size: calc(16px * var(--p-fs)); color: var(--p-danger); font-weight: 600; }
:where(.phone-row):not(._) { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: 0 6px; }
:where(.phone-row .dash):not(._) { text-align: center; color: var(--p-text-mute); font-weight: 700; }
:where(.fee-line):not(._) { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: var(--p-tint); border-radius: var(--p-radius-sm); }
:where(.fee-line__label):not(._) { font-size: calc(17.5px * var(--p-fs)); font-weight: 700; color: var(--p-head); }
:where(.fee-line__amount):not(._) { font-size: calc(26px * var(--p-fs)); font-weight: 800; color: var(--p-brand); }
/* 신청서 항목의 추가 금액 표시(+30,000원 · 1당 20,000원) */
:where(.fee-add):not(._) { font-size: .92em; font-weight: 700; color: var(--p-brand); white-space: nowrap; }
:where(.bank-note):not(._) { margin-top: 12px; padding: 16px 20px; border-radius: var(--p-radius-sm); background: var(--p-warn-bg); border: 1px solid var(--p-warn-line); color: var(--p-warn-text); font-size: calc(17.5px * var(--p-fs)); line-height: 1.75; }
:where(.bank-note b):not(._) { color: var(--p-head); }
:where(.radio-row):not(._) { display: flex; gap: 10px; flex-wrap: wrap; }
:where(.radio-chip):not(._) { position: relative; }
:where(.radio-chip input):not(._) { position: absolute; opacity: 0; width: 0; height: 0; }
:where(.radio-chip > span):not(._) { display: inline-block; padding: 11px 20px; border-radius: 8px; cursor: pointer; border: 1px solid var(--p-line-strong); background: var(--p-surface); font-size: calc(17.5px * var(--p-fs)); font-weight: 600; color: var(--p-text-soft); transition: all .18s ease; }
:where(.radio-chip input:checked + span):not(._) { border-color: var(--p-brand); background: var(--p-tint); color: var(--p-brand); font-weight: 700; }
/* 칩 안 추가 금액(<span class="fee-add">)은 칩 모양을 받지 않는다(위 규칙은 직계 span 만). 고른 칩에서는 칩 글자색을 따른다
   — 테마가 고른 칩 바탕을 브랜드색으로 칠해도 금액이 묻히지 않게 */
:where(.radio-chip input:checked + span .fee-add):not(._) { color: inherit; }
:where(.radio-chip input:focus-visible + span):not(._) { outline: 3px solid var(--p-accent); outline-offset: 2px; }
:where(.check-line):not(._) { display: flex; align-items: center; gap: 10px; }
:where(.check-line input):not(._) { width: 20px; height: 20px; accent-color: var(--p-brand); cursor: pointer; flex: none; }
:where(.check-line label):not(._) { font-size: calc(17.5px * var(--p-fs)); font-weight: 600; color: var(--p-text); cursor: pointer; margin: 0; }
:where(.agree-box):not(._) { border: 1px solid var(--p-line); border-radius: var(--p-radius-sm); background: var(--p-surface-2); padding: 18px 20px; margin-bottom: 20px; }
:where(.agree-box h4):not(._) { font-size: calc(17px * var(--p-fs)); font-weight: 700; color: var(--p-head); margin-bottom: 10px; }
:where(.agree-box table):not(._) { width: 100%; border-collapse: collapse; font-size: calc(16.5px * var(--p-fs)); }
:where(.agree-box td):not(._) { padding: 6px 0; color: var(--p-text-soft); vertical-align: top; line-height: 1.6; }
:where(.agree-box td:first-child):not(._) { width: 110px; font-weight: 700; color: var(--p-text); }
:where(.agree-box .prose p):not(._), :where(.agree-box .prose li):not(._) { font-size: calc(16.5px * var(--p-fs)); line-height: 1.7; margin-bottom: 8px; }
:where(.agree-check):not(._) { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
:where(.agree-check input):not(._) { width: 20px; height: 20px; accent-color: var(--p-brand); cursor: pointer; }
:where(.agree-check label):not(._) { font-size: calc(17.5px * var(--p-fs)); font-weight: 700; color: var(--p-head); cursor: pointer; }
:where(.form-actions):not(._) { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
:where(.form-actions .btn):not(._) { flex: 1; min-width: 200px; }
:where(.is-hidden):not(._) { display: none !important; }
:where(.cf-turnstile):not(._) { margin-bottom: 22px; min-height: 65px; }
:where(.chk-wrap):not(._) { max-width: 760px; margin: 0 auto; }
:where(.chk-card):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); box-shadow: var(--p-shadow-md); overflow: hidden; margin-bottom: 22px; }
:where(.chk-card__head):not(._) { padding: 24px 32px; border-bottom: 1px solid var(--p-line); background: var(--p-tint); }
:where(.chk-card__head h2):not(._) { font-size: calc(21px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.chk-card__head p):not(._) { margin-top: 6px; font-size: calc(17px * var(--p-fs)); color: var(--p-text-soft); }
:where(.chk-card__body):not(._) { padding: 28px 32px 32px; }
:where(.result-head):not(._) { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 32px; border-bottom: 1px solid var(--p-line); }
:where(.result-head h2):not(._) { font-size: calc(22px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.result-head p):not(._) { margin-top: 5px; font-size: calc(17px * var(--p-fs)); color: var(--p-text-soft); }
:where(.done-mark):not(._) { width: 64px; height: 64px; border-radius: 50%; background: var(--p-ok-bg); color: var(--p-ok); display: grid; place-items: center; margin: 0 auto 18px; }
:where(.done-mark svg):not(._) { width: 32px; height: 32px; }
:where(.done-head):not(._) { text-align: center; padding: 38px 32px 30px; border-bottom: 1px solid var(--p-line); }
:where(.done-head h2):not(._) { font-size: calc(25px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.done-head p):not(._) { margin-top: 8px; font-size: calc(17.5px * var(--p-fs)); color: var(--p-text-soft); line-height: 1.7; }
:where(table.sum):not(._) { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--p-line); border-radius: var(--p-radius-sm); overflow: hidden; }
:where(table.sum th):not(._), :where(table.sum td):not(._) { padding: 13px 16px; font-size: calc(18px * var(--p-fs)); text-align: left; border-bottom: 1px solid var(--p-line); }
:where(table.sum tr:last-child th):not(._), :where(table.sum tr:last-child td):not(._) { border-bottom: none; }
:where(table.sum th):not(._) { width: 38%; background: var(--p-surface-2); font-weight: 700; color: var(--p-text-soft); }
:where(table.sum td):not(._) { font-weight: 600; color: var(--p-text); overflow-wrap: anywhere; }
:where(.pay-note):not(._) { margin-top: 20px; padding: 20px 22px; border-radius: var(--p-radius-sm); background: var(--p-warn-bg); border: 1px solid var(--p-warn-line); color: var(--p-warn-text); font-size: calc(17.5px * var(--p-fs)); line-height: 1.8; }
:where(.pay-note--pending):not(._) { background: var(--p-surface-2); border-color: var(--p-line-strong); color: var(--p-text-soft); }
:where(.pay-note--ok):not(._) { background: var(--p-ok-bg); border-color: var(--p-ok-line); color: var(--p-ok-text); }
:where(.pay-note b):not(._) { color: var(--p-head); }
:where(.pay-note--ok b):not(._) { color: var(--p-ok-text); }
:where(.res-actions):not(._) { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
:where(.res-actions .btn):not(._) { flex: 1 1 190px; max-width: 320px; }
:where(.loc-top):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-left: 5px solid var(--p-brand); border-radius: var(--p-radius); padding: 28px 32px; box-shadow: var(--p-shadow-sm); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
:where(.loc-top__venue):not(._) { font-size: calc(24px * var(--p-fs)); font-weight: 800; color: var(--p-head); }
:where(.loc-top__addr):not(._) { margin-top: 8px; font-size: calc(18.5px * var(--p-fs)); color: var(--p-text-soft); }
:where(.loc-top__actions):not(._) { display: flex; gap: 10px; flex-wrap: wrap; }
:where(.map-frame):not(._) { border: 1px solid var(--p-line); border-radius: var(--p-radius); overflow: hidden; background: var(--p-surface); box-shadow: var(--p-shadow-sm); margin-bottom: 30px; }
:where(.map-frame iframe):not(._) { width: 100%; height: 420px; border: 0; display: block; }
:where(.dir-block):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--p-shadow-sm); }
:where(.dir-block .prose h3):not(._) { font-size: calc(19.5px * var(--p-fs)); }
:where(.dir-block .prose p):not(._), :where(.dir-block .prose li):not(._) { font-size: calc(18.5px * var(--p-fs)); line-height: 1.85; }
:where(.dir-block > h3):not(._) { font-size: calc(19.5px * var(--p-fs)); font-weight: 800; color: var(--p-head); margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--p-accent); }
:where(.dir-block > p):not(._) { font-size: calc(18.5px * var(--p-fs)); line-height: 1.85; color: var(--p-text-soft); }
:where(table.doc td.subj):not(._) { font-weight: 600; color: var(--p-text); }
:where(table.doc td.subj a):not(._) { transition: color .2s ease; }
:where(table.doc td.subj a:hover):not(._) { color: var(--p-accent); text-decoration: underline; }
:where(table.doc td.c):not(._) { text-align: center; white-space: nowrap; color: var(--p-text-soft); }
:where(table.doc td.no):not(._) { text-align: center; color: var(--p-text-mute); font-variant-numeric: tabular-nums; }
:where(.empty):not(._) { text-align: center; padding: 60px 20px; color: var(--p-text-mute); }
:where(.empty svg):not(._) { width: 42px; height: 42px; color: var(--p-line-strong); margin: 0 auto 12px; display: block; }
:where(.pager):not(._) { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
:where(.pager a):not(._), :where(.pager span):not(._) { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: calc(18px * var(--p-fs)); font-weight: 700; border: 1px solid var(--p-line-strong); background: var(--p-surface); color: var(--p-text-soft); transition: all .2s ease; }
:where(.pager a:hover):not(._) { border-color: var(--p-brand); color: var(--p-head); }
:where(.pager .is-current):not(._) { background: var(--p-brand-strong); border-color: var(--p-brand-strong); color: var(--p-on-brand); }
:where(.article):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); box-shadow: var(--p-shadow-sm); overflow: hidden; }
:where(.article__head):not(._) { padding: 28px 34px; border-bottom: 1px solid var(--p-line); }
:where(.article__head h2):not(._) { font-size: calc(25px * var(--p-fs)); font-weight: 800; color: var(--p-head); line-height: 1.45; margin-top: 10px; }
:where(.article__meta):not(._) { margin-top: 10px; font-size: calc(16.5px * var(--p-fs)); color: var(--p-text-mute); display: flex; gap: 16px; flex-wrap: wrap; }
:where(.article__body):not(._) { padding: 32px 34px 38px; }
:where(.article__foot):not(._) { margin-top: 24px; display: flex; justify-content: center; }
:where(.plain-page):not(._) { min-height: 62vh; display: grid; place-items: center; padding: 72px 0; text-align: center; }
:where(.plain-page .ico):not(._) { width: 72px; height: 72px; border-radius: 20px; background: var(--p-tint); color: var(--p-brand); display: grid; place-items: center; margin: 0 auto 24px; }
:where(.plain-page .ico svg):not(._) { width: 34px; height: 34px; }
:where(.plain-page .code):not(._) { font-size: calc(15px * var(--p-fs)); font-weight: 800; letter-spacing: .16em; color: var(--p-accent); margin-bottom: 10px; }
:where(.plain-page h1):not(._) { font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--p-head); letter-spacing: -.01em; line-height: 1.4; }
:where(.plain-page p):not(._) { margin-top: 12px; font-size: calc(18.5px * var(--p-fs)); color: var(--p-text-soft); line-height: 1.8; }
:where(.plain-page .btn):not(._) { margin-top: 28px; }
:where(.fm-bg):not(._) { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .55); }
:where(.fm-card):not(._) { background: var(--p-surface); 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; } }
:where(.fm-body):not(._) { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
:where(.fm-item):not(._) { display: flex; align-items: flex-start; gap: 13px; text-align: left; font-size: calc(17px * var(--p-fs)); font-weight: 600; line-height: 1.65; color: var(--p-text); }
:where(.fm-ic):not(._) { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: calc(19px * var(--p-fs)); line-height: 1; }
:where(.fm-item--success .fm-ic):not(._) { background: var(--p-ok); }
:where(.fm-item--danger .fm-ic):not(._) { background: var(--p-danger); }
:where(.fm-item--warning .fm-ic):not(._) { background: #e0921f; }
:where(.fm-item--info .fm-ic):not(._) { background: var(--p-brand); }
:where(.fm-ok):not(._) { width: 100%; }

@media (max-width: 860px) {
  :where(.greet):not(._) { grid-template-columns: 1fr; gap: 32px; }
  :where(.greet__photo):not(._) { max-width: 280px; margin: 0 auto; padding: 16px 16px 0; }
  :where(.greet__caption):not(._) { margin-top: 16px; padding: 16px 6px 16px; }
}
@media (max-width: 760px) {
  :where(table.pg):not(._), :where(table.pg tbody):not(._), :where(table.pg tr):not(._), :where(table.pg td):not(._) { display: block; width: 100%; }
  :where(table.pg td):not(._) { border-bottom: none; padding: 4px 18px; }
  :where(table.pg tr):not(._) { border-bottom: 1px solid var(--p-line); padding: 14px 0; }
  :where(table.pg tr:last-child):not(._) { border-bottom: none; }
  :where(.pg-time):not(._), :where(.pg-speaker):not(._) { width: auto; }
  :where(.pg-speaker:empty):not(._) { display: none; }
}
@media (max-width: 720px) {
  :where(.prose p):not(._) { font-size: calc(18px * var(--p-fs)); line-height: 1.85; }
  :where(.prose p.lead):not(._), :where(.greet__body.prose p.lead):not(._) { font-size: calc(20px * var(--p-fs)); }
  :where(.info-block):not(._) { padding: 22px 20px; }
  :where(.fee-big strong):not(._) { font-size: calc(27px * var(--p-fs)); }
  :where(.form-card__head):not(._), :where(.form-card__body):not(._) { padding-left: 20px; padding-right: 20px; }
  :where(.fee-line__amount):not(._) { font-size: calc(22px * var(--p-fs)); }
  :where(.chk-card__head):not(._), :where(.chk-card__body):not(._), :where(.result-head):not(._) { padding-left: 20px; padding-right: 20px; }
  :where(.done-head):not(._) { padding: 30px 20px 24px; }
  :where(table.sum th):not(._) { width: 42%; }
  :where(.loc-top):not(._) { padding: 22px 20px; }
  :where(.loc-top__venue):not(._) { font-size: calc(20.5px * var(--p-fs)); }
  :where(.map-frame iframe):not(._) { height: 300px; }
  :where(.dir-block):not(._) { padding: 20px 20px; }
  :where(.article__head):not(._), :where(.article__body):not(._) { padding-left: 20px; padding-right: 20px; }
  :where(.article__head h2):not(._) { font-size: calc(21.5px * var(--p-fs)); }
}
@media (max-width: 560px) {
  :where(table.doc td.c):not(._), :where(table.doc th.c-hide):not(._), :where(table.doc td.c-hide):not(._) { display: none; }
  :where(table.doc):not(._) { min-width: 0; }
}

/* ---------- 작은 도우미(부품 안에서만 쓰는 여백·글자) ---------- */
:where(.txt-link):not(._) { color: var(--p-brand); text-decoration: underline; text-underline-offset: 3px; }
:where(.small):not(._) { font-size: calc(17px * var(--p-fs)); }
:where(.mt-s):not(._) { margin-top: 6px; }
:where(.mt):not(._) { margin-top: 12px; }
:where(.mb):not(._) { margin-bottom: 22px; }

/* ---------- 헤더 이미지 (모든 페이지 공통, 화면 가로 전체. 권장 가로 2400 · 세로 300~500) ----------
   폭 상한을 두지 않는다(예전 --p-hdr-max 는 더 이상 쓰지 않음). 좁은 이미지는 늘어나서라도 좌우 끝까지 채운다. */
:where(.hdr-img):not(._) { display: block; background: var(--p-hdr-bg, transparent); line-height: 0; }
:where(.hdr-img a):not(._) { display: block; max-width: none; margin: 0; }
:where(.hdr-img img):not(._) { display: block; width: 100%; height: auto; }

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

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

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

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

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

/* 등록 구분의 한 줄 설명(등록 안내 표) */
:where(.cat-note):not(._) { display: block; margin-top: 3px; font-size: calc(15.5px * var(--p-fs)); font-weight: 400; color: var(--p-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절) ---------- */
:where(.inq-intro):not(._) { background: var(--p-surface); border: 1px solid var(--p-line); border-left: 4px solid var(--p-brand); border-radius: var(--p-radius); padding: 20px 24px; margin-bottom: 22px; box-shadow: var(--p-shadow-sm); }
:where(.inq-intro.prose p):not(._), :where(.inq-intro.prose li):not(._) { font-size: calc(17.5px * var(--p-fs)); line-height: 1.8; margin-bottom: 8px; }
:where(.inq-intro.prose > :last-child):not(._) { margin-bottom: 0; }
:where(.inq-bar):not(._) { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
:where(.inq-bar__count):not(._) { font-size: calc(17px * var(--p-fs)); color: var(--p-text-soft); }
:where(.inq-bar__count b):not(._) { color: var(--p-head); }
:where(.inq-bar__closed):not(._) { font-size: calc(17px * var(--p-fs)); font-weight: 700; color: var(--p-text-mute); padding: 11px 16px; border: 1px dashed var(--p-line-strong); border-radius: 8px; }
:where(.inq-tag):not(._) { display: inline-block; vertical-align: 2px; margin-right: 8px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--p-line-strong); background: var(--p-surface-2); color: var(--p-text-soft); font-size: calc(13.5px * var(--p-fs)); font-weight: 700; line-height: 1.3; white-space: nowrap; }
:where(.inq-tag--ok):not(._) { margin: 0 0 0 8px; border-color: var(--p-ok-line); background: var(--p-ok-bg); color: var(--p-ok-text); }
:where(.inq-sub):not(._) { display: none; margin-top: 4px; font-size: calc(15px * var(--p-fs)); font-weight: 400; color: var(--p-text-mute); }
:where(.inq-tags):not(._) { display: flex; gap: 6px; flex-wrap: wrap; }
:where(.inq-body):not(._) { white-space: pre-wrap; overflow-wrap: anywhere; font-size: calc(18.5px * var(--p-fs)); line-height: 1.85; color: var(--p-text); }
:where(.inq-replies):not(._) { margin-top: 22px; }
:where(.inq-replies__title):not(._) { font-size: calc(19px * var(--p-fs)); font-weight: 800; color: var(--p-head); margin-bottom: 12px; }
:where(.inq-replies__title span):not(._) { color: var(--p-brand); }
:where(.inq-reply):not(._) { background: var(--p-tint); border: 1px solid var(--p-line); border-radius: var(--p-radius); padding: 20px 24px; margin-bottom: 12px; }
:where(.inq-reply__head):not(._) { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
:where(.inq-reply__head .badge):not(._) { font-size: calc(14px * var(--p-fs)); padding: 4px 10px; }
:where(.inq-reply__head b):not(._) { font-size: calc(16.5px * var(--p-fs)); color: var(--p-head); }
:where(.inq-reply__date):not(._) { font-size: calc(15.5px * var(--p-fs)); color: var(--p-text-mute); }
:where(.inq-reply__body):not(._) { white-space: pre-wrap; overflow-wrap: anywhere; font-size: calc(18px * var(--p-fs)); line-height: 1.8; color: var(--p-text); }
:where(.inq-replies__empty):not(._) { padding: 22px 24px; border: 1px dashed var(--p-line-strong); border-radius: var(--p-radius); text-align: center; font-size: calc(17px * var(--p-fs)); color: var(--p-text-mute); }
:where(.inq-actions):not(._) { gap: 10px; flex-wrap: wrap; }
:where(.inq-actions form):not(._) { display: inline-flex; margin: 0; }
:where(.inq-opt):not(._) { font-weight: 400; color: var(--p-text-mute); }
:where(.inq-unlock__title):not(._) { font-size: calc(18px * var(--p-fs)); font-weight: 700; color: var(--p-head); margin-bottom: 20px; overflow-wrap: anywhere; }
:where(.fld input[type=password]):not(._) { width: 100%; padding: 13px 15px; font-family: inherit; font-size: calc(18.5px * var(--p-fs)); color: var(--p-text); background: var(--p-surface); border: 1px solid var(--p-line-strong); border-radius: 8px; -webkit-appearance: none; appearance: none; }
:where(.fld input[type=password]:focus):not(._) { outline: none; border-color: var(--p-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p-brand) 16%, transparent); }
:where(.fld.has-error input[type=password]):not(._) { border-color: var(--p-danger); }
@media (max-width: 560px) {
  :where(.inq-sub):not(._) { display: block; }
  :where(.inq-intro):not(._), :where(.inq-reply):not(._) { padding: 16px 18px; }
}

/* ---------- 알림 띄우기 모달(사용자 정의 콘텐츠 "알림 띄우기", 2026-09-28) ----------
   static/site-alert.js 가 처음 열 때 body 끝에 만든다. 색 · 선 · 모서리 · 글자 크기는 테마 토큰(--p-*)을 따르므로
   어두운 테마(09)에서도 따로 손대지 않아도 된다. 버튼은 테마의 .btn.btn--primary 를 그대로 쓴다. classic 은 site.css 에 같은 규칙 */
:where(.pl-alert):not(._) { 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; }
:where(.pl-alert[hidden]):not(._) { display: none; }
:where(.pl-alert.is-open):not(._) { opacity: 1; }
:where(.pl-alert__card):not(._) { box-sizing: border-box; width: 100%; max-width: 440px; margin: 0; padding: 30px 30px 24px; background: var(--p-surface); color: var(--p-text); border: 1px solid var(--p-line); border-radius: calc(var(--p-radius) + 4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-align: left; transform: translateY(8px); transition: transform .16s ease; }
:where(.pl-alert.is-open .pl-alert__card):not(._) { transform: none; }
:where(.pl-alert__card:focus):not(._) { outline: none; }
:where(.pl-alert__title):not(._) { margin: 0 0 12px; padding: 0; font-size: calc(15px * var(--p-fs)); font-weight: 700; line-height: 1.4; letter-spacing: .01em; color: var(--p-head); }
:where(.pl-alert__text):not(._) { margin: 0; padding: 0; max-height: 60vh; overflow: auto; font-size: calc(18px * var(--p-fs)); line-height: 1.7; color: var(--p-text); white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
:where(.pl-alert__foot):not(._) { display: flex; justify-content: flex-end; margin-top: 24px; }
:where(.pl-alert__ok):not(._) { min-width: 104px; }
:where(html.pl-alert-lock):not(._), :where(html.pl-alert-lock body):not(._) { overflow: hidden; }
:where(.pl-alert-page__text):not(._) { white-space: pre-line; }
@media (max-width: 640px) {
  :where(.pl-alert__card):not(._) { max-width: calc(100vw - 32px); padding: 24px 22px 20px; }
  :where(.pl-alert__ok):not(._) { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.pl-alert):not(._), :where(.pl-alert__card):not(._) { transition: none; transform: none; }
}

/* ---------- 홈 이미지 팝업(docs/POPUP_SURVEY_DESIGN.md A-3, 2026-09-28) ----------
   static/site-popup.js 가 홈에서 body 끝에 만든다. 알림 모달(.pl-alert)과 같은 틀 · 토큰(--p-*)을 쓰되 클래스와 스크롤 잠금은 따로.
   이미지는 비율 유지(object-fit: contain) · 가로 최대 min(560px, 100vw - 32px) · 세로 최대 80vh. classic 은 site.css 에 같은 규칙 */
:where(.pl-popup):not(._) { 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; }
:where(.pl-popup[hidden]):not(._) { display: none; }
:where(.pl-popup.is-open):not(._) { opacity: 1; }
:where(.pl-popup__card):not(._) { 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(--p-surface); color: var(--p-text); border: 1px solid var(--p-line); border-radius: calc(var(--p-radius) + 4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); transform: translateY(8px); transition: transform .16s ease; }
:where(.pl-popup.is-open .pl-popup__card):not(._) { transform: none; }
:where(.pl-popup__card:focus):not(._) { outline: none; }
:where(.pl-popup__media):not(._) { display: flex; justify-content: center; align-items: center; min-height: 0; margin: 0; padding: 0; background: var(--p-surface); line-height: 0; }
:where(.pl-popup__media picture, .pl-popup__link):not(._) { display: block; max-width: 100%; margin: 0; padding: 0; border: 0; line-height: 0; }
:where(.pl-popup__img):not(._) { 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; }
:where(.pl-popup__foot):not(._) { 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(--p-line); }
:where(.pl-popup__btn):not(._) { appearance: none; margin: 0; padding: 12px 12px; background: none; border: 0; border-radius: 6px; font: inherit; font-size: calc(15px * var(--p-fs)); line-height: 1.2; color: var(--p-text); cursor: pointer; }
:where(.pl-popup__btn:hover):not(._) { text-decoration: underline; text-underline-offset: 3px; }
:where(.pl-popup__btn:focus-visible):not(._) { outline: 2px solid var(--p-brand); outline-offset: 1px; }
:where(.pl-popup__close):not(._) { font-weight: 700; color: var(--p-head); }
:where(html.pl-popup-lock):not(._), :where(html.pl-popup-lock body):not(._) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  :where(.pl-popup):not(._), :where(.pl-popup__card):not(._) { transition: none; transform: none; }
}

/* ---------- 설문조사(parts/survey_*.html, docs/POPUP_SURVEY_DESIGN.md B-4, 2026-09-29) ----------
   목록 카드 · 응답 폼(라디오/체크 줄 · 1~N 척도 한 줄 · 단답/장문). 폼 칸은 신청서의 .fld 규칙을 그대로 쓴다. classic 은 site.css 에 같은 이름 */
:where(.svy-list):not(._) { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: 14px; }
:where(.svy-item):not(._) { margin: 0; padding: 0; }
:where(.svy-item__link):not(._) { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-radius); box-shadow: var(--p-shadow-sm); color: var(--p-text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
:where(.svy-item__link:hover):not(._) { border-color: var(--p-brand); box-shadow: var(--p-shadow-md); }
:where(.svy-item__link:focus-visible):not(._) { outline: 3px solid var(--p-accent); outline-offset: 2px; }
:where(.svy-item__main):not(._) { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
:where(.svy-item__tags):not(._) { display: flex; gap: 6px; flex-wrap: wrap; }
:where(.svy-tag):not(._) { display: inline-block; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--p-line-strong); background: var(--p-surface-2); color: var(--p-text-soft); font-size: calc(13.5px * var(--p-fs)); font-weight: 700; line-height: 1.3; white-space: nowrap; }
:where(.svy-tag--ok):not(._) { border-color: var(--p-ok-line); background: var(--p-ok-bg); color: var(--p-ok-text); }
:where(.svy-tag--off):not(._) { border-style: dashed; color: var(--p-text-mute); }
:where(.svy-item__title):not(._) { font-size: calc(20px * var(--p-fs)); font-weight: 800; line-height: 1.45; color: var(--p-head); overflow-wrap: anywhere; }
:where(.svy-item__meta):not(._) { font-size: calc(15.5px * var(--p-fs)); color: var(--p-text-mute); }
:where(.svy-item__go):not(._) { flex: none; }
:where(.svy-note):not(._) { margin: 0 0 20px; }
:where(.svy-who):not(._) { margin: 0 0 16px; font-size: calc(17px * var(--p-fs)); color: var(--p-text-soft); }
:where(.svy-who b):not(._) { color: var(--p-head); }
:where(.svy-intro):not(._) { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--p-radius-sm); background: var(--p-tint); border-left: 4px solid var(--p-brand); }
:where(.svy-intro.prose p):not(._), :where(.svy-intro.prose li):not(._) { font-size: calc(17.5px * var(--p-fs)); line-height: 1.8; margin-bottom: 8px; }
:where(.svy-intro.prose > :last-child):not(._) { margin-bottom: 0; }
:where(fieldset.svy-q):not(._) { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
:where(.svy-q__text):not(._) { display: block; width: 100%; padding: 0; margin-bottom: 10px; font-size: calc(18.5px * var(--p-fs)); font-weight: 700; line-height: 1.55; color: var(--p-head); white-space: pre-line; overflow-wrap: anywhere; }
:where(.svy-q__no):not(._) { color: var(--p-brand); }
:where(.svy-q__hint):not(._) { margin: -2px 0 10px; }
:where(.svy-opts):not(._) { display: grid; gap: 8px; }
:where(.svy-opt):not(._) { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 13px 16px; border: 1px solid var(--p-line-strong); border-radius: 8px; background: var(--p-surface); cursor: pointer; font-size: calc(17.5px * var(--p-fs)); font-weight: 500; line-height: 1.5; color: var(--p-text); transition: border-color .18s ease, background-color .18s ease; }
:where(.svy-opt input):not(._) { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--p-brand); cursor: pointer; }
:where(.svy-opt:has(input:checked)):not(._) { border-color: var(--p-brand); background: var(--p-tint); }
:where(.svy-opt span):not(._) { overflow-wrap: anywhere; }
:where(.svy-scale__row):not(._) { display: grid; grid-template-columns: repeat(var(--svy-n, 5), minmax(0, 1fr)); gap: 6px; }
:where(.svy-scale__pt):not(._) { position: relative; margin: 0; }
:where(.svy-scale__pt input):not(._) { position: absolute; opacity: 0; width: 0; height: 0; }
:where(.svy-scale__pt > span):not(._) { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--p-line-strong); border-radius: 8px; background: var(--p-surface); color: var(--p-text-soft); font-size: calc(18px * var(--p-fs)); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .18s ease; }
:where(.svy-scale__pt input:checked + span):not(._) { border-color: var(--p-brand); background: var(--p-brand); color: var(--p-on-brand); }
:where(.svy-scale__pt input:focus-visible + span):not(._) { outline: 3px solid var(--p-accent); outline-offset: 2px; }
:where(.svy-scale__ends):not(._) { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: calc(15px * var(--p-fs)); color: var(--p-text-mute); }
:where(.svy-scale__ends span:last-child):not(._) { text-align: right; }
:where(.fld.has-error .svy-opt):not(._), :where(.fld.has-error .svy-scale__pt > span):not(._) { border-color: var(--p-danger); }
:where(.svy-thanks):not(._) { white-space: pre-line; overflow-wrap: anywhere; }
:where(.svy-actions):not(._) { justify-content: center; }
@media (max-width: 560px) {
  :where(.svy-item__link):not(._) { flex-direction: column; align-items: stretch; padding: 18px 18px; }
  :where(.svy-item__go):not(._) { width: 100%; }
  :where(.svy-scale__pt > span):not(._) { height: 44px; font-size: calc(16px * var(--p-fs)); }
  :where(.svy-scale__row):not(._) { gap: 4px; }
}
:where(.pay-note__fee-note):not(._) { display: block; margin-top: 8px; white-space: pre-line; }  /* 등록비 안내 문구(fee_note)가 있으면 "등록자 성함으로" 대신 이것(2026-09-29) */
