:root {
    --cream: #f0eee8;
    --paper: #fbfaf7;
    --clay: #a05433;
    --clay-dark: #82442a;
    --indigo: #2f3b40;
    --muted: #615f56;
    --line: #cfcbbf;
    --soft: #e2d6c4;
    --serif: Georgia, 'Noto Serif SC', 'Songti SC', SimSun, serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; color: var(--indigo); background: var(--cream); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; font-size: 15px; line-height: 1.65; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl { margin-top: 0; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 18px; color: var(--paper); background: var(--indigo); border-radius: 4px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.demo-catalog-bar { background: #ede5d5; border-bottom: 1px solid var(--line); font-size: 13px; }
.demo-catalog-bar a { display: inline-block; padding-block: 9px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 102px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; background: var(--clay); color: var(--cream); font-family: var(--serif); font-size: 28px; border-radius: 40% 46% 42% 47%; transform: rotate(-6deg); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 20px; letter-spacing: .15em; }
.brand-copy > span { font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { padding-block: 8px; font-size: 14px; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a[aria-current] { border-bottom-color: var(--clay); color: var(--clay-dark); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 222px; align-items: center; gap: 48px; padding-block: 54px 48px; }
.eyebrow { margin-bottom: 12px; color: var(--clay-dark); font-size: 10px; line-height: 1.5; letter-spacing: .14em; font-weight: 650; }
.small-sun { display: inline-block; margin-right: 7px; font-size: 22px; line-height: 1; vertical-align: middle; }
h1 { max-width: 740px; margin-bottom: 22px; font-family: var(--serif); font-size: clamp(32px, 4.4vw, 51px); line-height: 1.45; font-weight: 500; letter-spacing: -.025em; }
.intro-text { max-width: 580px; margin-bottom: 23px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.demo-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 0; color: var(--clay-dark); font-size: 12px; font-weight: 600; }
.demo-notice > span { color: var(--muted); font-size: 11px; font-weight: 400; }
.month-stamp { display: flex; flex-direction: column; align-items: center; padding: 23px 18px; border: 1px solid var(--clay); color: var(--clay-dark); text-align: center; transform: rotate(3deg); border-radius: 48% 48% 7% 7%; background: #f3e4d3; }
.stamp-year { font-size: 10px; letter-spacing: .12em; }
.month-stamp strong { margin-block: 10px; font-family: var(--serif); font-size: 37px; line-height: 1.4; font-weight: 500; }
.stamp-line { width: 32px; height: 1px; margin-bottom: 12px; background: var(--clay); }
.month-stamp > span:last-child { font-size: 11px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 335px; align-items: start; gap: 32px; padding-bottom: 70px; }
.selection-column { min-width: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
h2 { margin-bottom: 0; font-family: var(--serif); font-size: 26px; line-height: 1.5; font-weight: 500; }
.section-heading > p, .month-label { flex-shrink: 0; margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.filter-strip { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 3px; }
.filter-field { display: grid; gap: 5px; min-width: 0; }
.filter-field label, .quantity-field label { font-size: 12px; font-weight: 650; }
select { min-height: 44px; width: 100%; max-width: 100%; padding: 8px 34px 8px 12px; border: 1px solid #b9ac96; border-radius: 3px; background: var(--paper); font-size: 14px; }
select:disabled { color: var(--muted); opacity: .8; }
.filter-strip .filter-field { flex: 0 0 172px; }
.filter-strip > p { margin: 0; color: var(--muted); font-size: 12px; }
.filter-strip > p span { font-size: 11px; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.course-button { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); text-align: left; transition: border-color .16s, box-shadow .16s; }
.course-button:not(:disabled):hover { border-color: var(--clay); box-shadow: 0 4px 12px #222d4509; }
.course-button[aria-pressed='true'] { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); }
.course-cover { position: relative; display: block; width: 100%; background: #eed8c2; }
.cover-印刷 { background: #e1e4dd; }
.cover-花艺 { background: #e5dfcb; }
.course-art { display: block; width: 100%; height: auto; }
.art-soft { fill: #f0eee8; opacity: .45; }
.art-lines { fill: none; stroke: #7b6c57; stroke-width: 1; opacity: .5; }
.art-shadow { fill: #a99179; opacity: .32; }
.art-clay { fill: var(--clay); }
.art-paper { fill: var(--cream); }
.art-ink { fill: var(--indigo); }
.art-outline { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-cream-line { fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }
.art-ring { fill: none; stroke: var(--clay); stroke-width: 5; }
.course-category { position: absolute; top: 12px; left: 12px; padding: 2px 10px; border: 1px solid #222d452b; border-radius: 20px; background: #fffaf0de; color: var(--indigo); font-size: 11px; }
.course-body { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 14px; width: 100%; min-width: 0; }
.course-title-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.course-title { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.course-price { color: var(--clay-dark); font-size: 14px; font-weight: 650; }
.course-price > span { font-size: 10px; font-weight: 400; }
.course-description { display: block; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.course-meta { display: grid; gap: 2px; margin-top: auto; color: var(--muted); font-size: 11px; }
.course-state { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e7dece; color: var(--indigo); font-size: 12px; font-weight: 600; }
.selection-dot { display: inline-grid; place-items: center; width: 15px; height: 15px; border: 1px solid #a99c88; border-radius: 50%; }
.course-button[aria-pressed='true'] .selection-dot { border-color: var(--indigo); background: var(--indigo); }
.course-button[aria-pressed='true'] .selection-dot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cream); }
.schedule-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.date-filter-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.date-filter-row .filter-field { flex: 0 1 245px; }
.date-filter-row > p { margin: 0 0 9px; color: var(--muted); font-size: 11px; text-align: right; }
.schedule-help { margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.session-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.session-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 12px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; background: #fffcf650; }
.session-row.is-selected { border-left-color: var(--clay); background: #ede0cd; }
.session-date { display: flex; flex-direction: column; align-items: center; align-self: stretch; justify-content: center; line-height: 1.2; }
.session-date span { color: var(--muted); font-size: 10px; }
.session-date strong { margin-block: 2px 5px; font-family: var(--serif); font-size: 29px; line-height: 1; font-weight: 500; }
.session-info { display: grid; gap: 3px; min-width: 0; }
.session-info > strong { font-size: 15px; font-weight: 600; }
.session-info > span { color: var(--muted); font-size: 12px; }
.session-info > .session-capacity { color: var(--clay-dark); font-size: 11px; }
.session-button { min-height: 44px; padding: 7px 13px; border: 1px solid #9b907f; border-radius: 3px; background: var(--paper); font-size: 12px; }
.session-button[aria-pressed='true'] { border-color: var(--indigo); background: var(--indigo); color: var(--paper); }
.session-button:disabled { color: var(--muted); border-color: #ccc1b0; background: transparent; }
.sold-out { background: #ede8de; }
.sold-out .session-info > .session-capacity { color: var(--muted); }
.empty-sessions, .noscript-note { margin: 18px 0 0; padding: 16px; border: 1px dashed #b5a58e; border-radius: 3px; font-size: 13px; color: var(--muted); background: var(--paper); }
.booking-panel { position: sticky; top: 24px; padding: 27px 25px; border: 1px solid var(--indigo); border-top: 6px solid var(--indigo); border-radius: 4px; background: var(--paper); }
.booking-panel > .eyebrow { color: var(--muted); font-size: 9px; }
.booking-panel > h2 { margin-bottom: 15px; font-size: 34px; }
.panel-intro { margin-bottom: 23px; color: var(--muted); font-size: 12px; }
.selection-summary { display: grid; gap: 10px; padding-block: 18px; margin-bottom: 18px; border-block: 1px solid var(--line); }
dl > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.selection-summary [data-selection='date'] { font-size: 12px; }
.quantity-field { display: grid; gap: 7px; }
.quantity-field > p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.estimate { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding-top: 22px; }
.estimate > span { font-size: 12px; }
.estimate small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.estimate > strong { font-family: var(--serif); font-size: 29px; line-height: 1.25; font-weight: 500; color: var(--clay-dark); }
.booking-status { min-height: 43px; margin: 16px 0 14px; color: var(--muted); font-size: 12px; }
.booking-status[data-tone='warning'] { color: var(--clay-dark); font-weight: 650; }
.preview-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--clay); border-radius: 3px; background: var(--clay); color: var(--paper); font-size: 13px; font-weight: 600; }
.preview-button:not(:disabled):hover { background: var(--clay-dark); }
.preview-button:disabled { border-color: #cfcbbf; background: #e9e0d1; color: #746757; }
.reset-button { display: block; margin: 13px auto 0; padding: 6px 12px; min-height: 35px; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; color: var(--muted); }
.preview-boundary { margin: 14px 0 0; font-size: 11px; color: var(--muted); }
.booking-preview { margin-top: 24px; padding-top: 22px; border-top: 1px dashed #b9ab97; }
.booking-preview .eyebrow { margin-bottom: 7px; font-size: 9px; }
.booking-preview h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.booking-preview dl { display: grid; gap: 8px; margin-bottom: 12px; }
.preview-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.preview-total dd { color: var(--clay-dark); font-weight: 650; }
.booking-preview > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer-inner p { display: grid; gap: 3px; margin: 0; }
.footer-inner p strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.footer-inner p > span { color: var(--muted); font-size: 11px; }
.footer-inner > a { font-size: 12px; }
.about-page { padding-block: 56px 70px; }
.about-heading { margin-bottom: 38px; }
.about-heading h1 { margin-bottom: 14px; }
.about-heading > p:last-child { color: var(--muted); font-size: 15px; }
.about-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); align-items: start; gap: 60px; }
.about-card { padding: 30px 25px; border: 1px solid var(--clay); border-radius: 4px; background: #efdfca; }
.about-symbol { display: inline-block; margin-bottom: 20px; color: var(--clay); font-size: 52px; line-height: 1; }
.about-card h2 { margin-bottom: 27px; font-size: 30px; }
.about-card dl { display: grid; gap: 11px; margin-bottom: 25px; }
.about-card > a { font-size: 13px; }
.prose { max-width: 710px; }
.prose h2 { margin: 32px 0 15px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 25px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.95; }

@media (max-width: 1040px) {
    .booking-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
    .booking-panel { padding-inline: 20px; }
    .course-title-row { display: grid; gap: 3px; }
    .course-body { padding-inline: 14px; }
    .filter-strip { gap: 15px; padding-inline: 14px; }
    .filter-strip .filter-field { flex-basis: 150px; }
    .session-row { gap: 10px; padding-inline: 8px; }
}

@media (max-width: 860px) {
    .shell { width: calc(100% - 40px); }
    .intro { grid-template-columns: minmax(0, 1fr) 180px; gap: 28px; padding-block: 40px; }
    .month-stamp strong { font-size: 30px; }
    .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .booking-panel { position: static; padding: 26px; }
    .booking-panel > h2 br { display: none; }
    .course-title-row { display: flex; }
    .course-body { padding-inline: 18px; }
    .about-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 580px) {
    .header-inner { min-height: 110px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding-block: 17px; }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 24px; }
    .brand-copy strong { font-size: 18px; }
    .site-nav { gap: 24px; }
    .site-nav a { padding-block: 3px; font-size: 12px; }
    .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 30px; }
    .intro .eyebrow { font-size: 9px; letter-spacing: .09em; }
    h1 { margin-bottom: 16px; font-size: 32px; line-height: 1.45; }
    .intro-text { margin-bottom: 16px; font-size: 13px; }
    .month-stamp { align-items: center; flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding: 12px 14px; border-radius: 3px; transform: none; }
    .stamp-year { font-size: 8px; }
    .month-stamp strong { margin: 0; font-size: 20px; }
    .month-stamp strong br { display: none; }
    .stamp-line { display: none; }
    .month-stamp > span:last-child { font-size: 10px; }
    h2 { font-size: 23px; }
    .section-heading { flex-wrap: wrap; align-items: center; gap: 8px; }
    .section-heading > p, .month-label { font-size: 11px; }
    .filter-strip { align-items: flex-start; flex-direction: column; gap: 10px; }
    .filter-strip .filter-field { flex: none; width: 100%; }
    .filter-strip > p br { display: none; }
    .filter-strip > p span { display: block; }
    .course-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .course-art { max-height: 185px; }
    .course-title-row { gap: 5px 10px; }
    .course-title { font-size: 23px; }
    .course-description { font-size: 13px; }
    .course-meta { font-size: 12px; }
    .course-state { min-height: 35px; }
    .date-filter-row { align-items: stretch; flex-direction: column; gap: 8px; }
    .date-filter-row .filter-field { flex: none; width: 100%; }
    .date-filter-row > p { margin: 0; text-align: left; }
    .session-row { grid-template-columns: 43px minmax(0, 1fr); gap: 8px 12px; padding: 14px 10px; }
    .session-date { grid-row: span 2; }
    .session-button { justify-self: start; grid-column: 2; min-height: 40px; }
    .session-info > strong { font-size: 15px; }
    .booking-panel { padding: 23px 20px; }
    .booking-panel > h2 { font-size: 29px; }
    .footer-inner { align-items: flex-start; flex-direction: column; gap: 13px; padding-block: 23px; }
    .about-page { padding-block: 32px 45px; }
    .about-heading > p:last-child { font-size: 13px; }
    .about-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .about-card { padding: 24px; }
    .about-symbol { font-size: 38px; }
    .prose h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .course-button { transition: none; }
}

h1, .booking-panel h2, .about-card h2 { white-space: pre-line; }
.brand-copy > span, .eyebrow { letter-spacing: .03em; }
body[data-template="classic"] .month-stamp { border-radius: 4px 4px 45px 4px; background: #e2d6c4; transform: none; }
body[data-template="classic"] .month-stamp strong { font-size: 30px; }
.agenda-material-art, .calendar-prompt-illustration { width: 100%; height: auto; }

@media (max-width: 580px) {
  .workshop-title-phrase { display: block; }
  .intro h1 { font-size: clamp(25px, 7.1vw, 30px); }
}
