/* 예약 조회·신청: 예약 목록/상세의 색상과 타이포그래피를 공유합니다. */
.reservation-flow { --flow-strong: var(--site-ink); --flow-brand: var(--site-ink); --flow-muted: var(--site-muted); --flow-line: var(--site-line); --flow-display: 2rem; --flow-heading: 1.5rem; background: var(--site-canvas); color: var(--site-body); font-size: 1rem; line-height: 1.75; letter-spacing: -.01em; }
.site-main:has(.reservation-flow) { padding-bottom: 0; background: var(--site-canvas); }
.reservation-flow .page-title-section { padding: 28px 20px 32px; margin-bottom: 0; background: var(--site-hero); border-bottom: 1px solid #c9d9e5; }
.reservation-flow .page-title-section::before,
.reservation-flow .page-title-section::after,
.reservation-flow .page-title::before { content: none; }
.reservation-flow .flow-title { margin: 0; color: var(--flow-strong); font-size: var(--flow-display); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.reservation-flow .flow-kicker { margin: 0 0 8px; color: var(--flow-brand); font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.reservation-application .flow-branch-name { margin: 0 0 12px; color: var(--flow-strong); font-size: .875rem; font-weight: 600; line-height: 1.65; }
.reservation-application .reservation-hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.reservation-application .reservation-hero-topline p { margin: 0; }
.reservation-application .detail-list-navigation { flex-shrink: 0; }
.reservation-application .detail-list-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: var(--flow-muted); font-size: .8125rem; font-weight: 500; text-decoration: none; }
.reservation-application .detail-list-navigation a:hover { color: var(--flow-strong); text-decoration: underline; text-underline-offset: 4px; }
.reservation-flow .flow-intro { max-width: 760px; margin: 16px 0 0; color: var(--flow-muted); font-size: 1rem; line-height: 1.75; }
.reservation-flow .flow-back-link { display: inline-block; margin: 0 0 20px; color: var(--flow-brand); font-size: .875rem; font-weight: 600; line-height: 1.65; }
.reservation-flow #content { max-width: none; padding: 0; }
.reservation-flow :is(input,select,button,a):focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; }
.reservation-flow :is(.form-input,.form-select) { min-height: 48px; min-width: 0; border-color: #b8cad9; border-radius: 12px; color: var(--flow-strong); font-size: 1rem; line-height: 1.5; }
.reservation-flow :is(.form-input,.form-select):focus { border-color: var(--flow-brand); box-shadow: 0 0 0 3px rgb(44 48 106 / 12%); }
.reservation-flow :is(.form-label,.form-sub-label) { color: var(--flow-strong); font-size: .875rem; line-height: 1.65; }
.reservation-lookup .check-container { max-width: 1180px; padding: 32px 20px 48px; }
.reservation-lookup .lookup-entry { display: grid; gap: 24px; align-items: start; margin-bottom: 32px; }
.reservation-lookup .lookup-guide h1 { margin: 0 0 16px; color: var(--flow-strong); font-size: var(--flow-heading); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.reservation-lookup .lookup-guide > p:not(.flow-kicker) { margin: 0 0 20px; color: var(--flow-muted); font-size: 1rem; line-height: 1.75; }
.reservation-lookup .check-form-card { margin: 0; padding: 24px; border: 1px solid #b8cad9; border-top: 4px solid var(--flow-brand); border-radius: 24px; box-shadow: none; }
.reservation-lookup .lookup-legacy { margin: 4px 0 0; text-align: right; }
.reservation-lookup .lookup-legacy a { display: inline-flex; align-items: center; min-height: 44px; color: var(--flow-muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.reservation-lookup .form-row { flex-direction: column; gap: 16px; }
.reservation-lookup .form-group { margin-bottom: 0; min-width: 0; }
.reservation-lookup .btn-check { min-height: 52px; border-radius: 12px; background: var(--flow-brand); box-shadow: none; font-size: 1rem; font-weight: 700; transform: none; }
.reservation-lookup .btn-check:hover:not(:disabled) { background: var(--flow-strong); box-shadow: none; transform: none; }
.reservation-lookup .btn-check:disabled { background: #9ca3af; }
.reservation-lookup .error-message { margin-top: 16px; line-height: 1.65; animation: none; }
.reservation-lookup .reservation-item { border: 1px solid #b8cad9; border-top: 4px solid var(--flow-brand); border-radius: 16px; box-shadow: none; }
.reservation-lookup .reservation-header { grid-template-columns: minmax(0,1fr) auto; padding: 20px; }
.reservation-lookup .res-number { grid-column: 1 / -1; color: var(--flow-brand); font-size: .875rem; overflow-wrap: anywhere; }
.reservation-lookup .res-program { grid-column: 1 / -1; min-width: 0; }
.reservation-lookup .res-program-name { color: var(--flow-strong); font-size: 1rem; white-space: normal; line-height: 1.4; }
.reservation-lookup .res-branch { display: block; grid-column: 1 / -1; text-align: left; font-size: .875rem; }
.reservation-lookup .res-parent-program { font-weight: 400; }
.reservation-lookup .res-note-title { margin: 8px 0 0; color: var(--flow-strong); font-size: .875rem; font-weight: 600; }
.reservation-lookup .res-note-text { margin: 0; color: var(--flow-muted); font-size: .875rem; white-space: pre-line; overflow-wrap: anywhere; }
.reservation-lookup .res-program-link { align-self: flex-start; margin-top: 8px; color: var(--flow-brand); font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.reservation-lookup :is(.res-schedule,.detail-label,.account-holder,.account-phone,.cancel-deadline) { color: var(--flow-muted); font-size: .875rem; line-height: 1.65; }
.reservation-lookup .reservation-details { padding: 20px; background: var(--site-canvas); }
.reservation-lookup .detail-row { gap: 16px; align-items: start; }
.reservation-lookup .detail-value { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.reservation-lookup .detail-value.highlight { color: var(--flow-brand); }
.reservation-lookup .account-box { padding: 16px; border: 1px solid var(--flow-line); border-radius: 12px; background: var(--site-hero); }
.reservation-lookup .account-info-row { flex-wrap: wrap; }
.reservation-lookup .account-num { overflow-wrap: anywhere; }
.reservation-lookup .result-header-info { color: var(--flow-strong); font-size: 1.25rem; line-height: 1.35; }
.reservation-application .applicant-form-container { margin-inline: auto; padding: 16px 0 48px; min-height: 0; }
.reservation-application .application-panel { border: 0; }
.reservation-application .application-panel-head { background: var(--flow-brand); }
.reservation-application .form-section-title { color: var(--flow-strong); font-size: 1.25rem; line-height: 1.35; letter-spacing: -.02em; border-left: 0; padding-left: 0; padding-bottom: 12px; border-bottom: 1px solid var(--flow-line); }
.reservation-application :is(.form-display-box,.bank-info-box,.privacy-agreement) { background: var(--site-hero); border-color: var(--flow-line); border-radius: 12px; }
.reservation-application .application-education-summary { display: grid; gap: 4px; }
.reservation-application .application-education-summary p { margin: 0; }
.reservation-application .application-education-branch { color: var(--flow-strong); font-size: .875rem; font-weight: 600; line-height: 1.65; }
.reservation-application .application-education-title { color: var(--flow-strong); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.reservation-application .application-education-summary .application-education-title { margin-bottom: 6px; }
.reservation-application :is(.application-education-date,.application-education-time) { color: var(--flow-muted); font-size: .875rem; line-height: 1.65; }
.reservation-application :is(.form-hint,.privacy-agreement-note) { color: var(--flow-muted); font-size: .875rem; line-height: 1.65; }
.reservation-application .required-hint { color: #b91c1c; }
.reservation-application .form-required-notice { margin: 0; }
.reservation-application .form-group { margin-bottom: 16px; }
.reservation-application .form-field-hints { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; }
.reservation-application :is(.form-field-hint,.form-field-hints .form-hint) { color: var(--flow-muted); font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.reservation-application .form-field-hint { margin-top: 4px; }
.reservation-application .form-field-hints .form-hint { margin: 0; }
.reservation-application .refund-account-fields .form-group { margin-bottom: 0; }
.reservation-application .form-label-row { margin-bottom: 8px; }
.reservation-application .form-label-row > :is(.form-label,.form-sub-label) { flex-shrink: 0; margin: 0; }
.reservation-application .privacy-agreement-input { flex-shrink: 0; margin: calc((1.75rem - 1.125rem) / 2) 0 0; }
.reservation-application .privacy-policy-link { vertical-align: baseline; line-height: 1.25; }
.reservation-application :is(.radio-label,.privacy-agreement-label) { font-size: 1rem; line-height: 1.75; }
.reservation-application :is(.radio-input,.privacy-agreement-input) { accent-color: var(--flow-brand); }
.reservation-application .btn-primary { background: var(--flow-brand); box-shadow: none; font-size: 1rem; min-height: 52px; transform: none; }
.reservation-application .btn-primary:hover { background: var(--flow-strong); box-shadow: none; transform: none; }
.reservation-application .btn-secondary { font-size: 1rem; min-height: 52px; border-color: #b8cad9; }
.reservation-application .privacy-policy-link { color: var(--flow-brand); background: #fff; border-color: #b8cad9; font-size: .875rem; }
@media (min-width: 768px) {
  .reservation-flow { --flow-display: 2.75rem; --flow-heading: 1.875rem; }
  .reservation-flow .page-title-section { padding-inline: 24px; }
  .reservation-flow .flow-kicker { font-size: .8125rem; }
  .reservation-lookup .lookup-entry { grid-template-columns: 1fr 1.15fr; gap: 48px; }
  .reservation-lookup .check-container { padding: 48px 24px 64px; }
  .reservation-application .applicant-form-container { padding-block: 32px 64px; }
  .reservation-application .form-section-title { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .reservation-flow { --flow-display: 3.5rem; --flow-heading: 2.5rem; }
  .reservation-application :is(.form-section--applicant,.form-section--participants) { display: grid; column-gap: 32px; align-items: start; }
  .reservation-application .form-section--applicant { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reservation-application .form-section--applicant #applicant_name { max-width: 280px; }
  .reservation-application .form-section--applicant .phone-input-group { max-width: 340px; }
  .reservation-application .form-section--participants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reservation-application :is(.form-section--applicant,.form-section--participants) > .form-section-title { grid-column: 1 / -1; }
  .reservation-application :is(.form-section--applicant,.form-section--participants) > .form-group { min-width: 0; }
}
/* Tailwind 중요 선언과 같은 레이어에서 대상 화면만 조정합니다. */
@layer utilities {
  .reservation-flow :is(.form-input,.form-select) { border-radius: 12px !important; border-color: #b8cad9 !important; font-size: 1rem !important; }
  .reservation-flow :is(.form-input,.form-select):focus { border-color: var(--flow-brand) !important; }
  .reservation-flow .page-title-section > div { max-width: 1140px !important; margin-inline: auto !important; padding: 0 !important; text-align: left !important; }
  .reservation-application .application-panel { border-radius: 24px !important; box-shadow: none !important; }
  .reservation-application .application-panel-head h2 { font-size: 1.5rem !important; line-height: 1.35 !important; }
  .reservation-application #total_price { color: var(--flow-brand) !important; font-size: 1.5rem !important; line-height: 1.35 !important; }
  .reservation-application .bank-info-box p { font-size: .875rem !important; line-height: 1.65 !important; }
  .reservation-application .bank-info-box p:last-child { color: var(--flow-brand) !important; font-size: 1rem !important; }
}
@media (prefers-reduced-motion: reduce) { .reservation-lookup :is(.result-area.show,.modal-content,.modal-overlay) { animation: none; transition: none; } }
