:root {
  --ink: #173c32;
  --ink-2: #315d51;
  --pine: #1e5144;
  --pine-dark: #123b31;
  --moss: #71927a;
  --paper: #f4f1e9;
  --paper-2: #ebe5d8;
  --cream: #fbfaf6;
  --ochre: #be7d41;
  --line: rgba(23, 60, 50, .15);
  --muted: #6f7e78;
  --shadow: 0 24px 70px rgba(29, 52, 44, .12);
  --radius: 24px;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.eyebrow { color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(244,241,233,.88);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--cream); background: var(--pine); border-radius: 50%; font-family: var(--serif); font-size: 19px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--serif); font-size: 18px; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.site-nav .studio-entry { color: var(--muted); font-size: 12px; font-weight: 400; }
.site-nav a:hover { color: var(--ochre); }
.nav-pill, .primary, .primary-button, .secondary, .outline-button, .ghost, .icon-button {
  border: 0; border-radius: 999px; cursor: pointer; transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.nav-pill, .primary, .primary-button { padding: 12px 20px; color: #fff; background: var(--pine); font-weight: 700; }
.nav-pill:hover, .primary:hover, .primary-button:hover { background: var(--pine-dark); transform: translateY(-1px); }
.secondary, .outline-button { padding: 11px 18px; color: var(--pine); background: transparent; border: 1px solid var(--line); font-weight: 700; }
.secondary:hover, .outline-button:hover { background: rgba(255,255,255,.6); }
.ghost { padding: 9px 10px; color: var(--muted); background: transparent; }
.ghost:hover { color: var(--ink); background: rgba(255,255,255,.55); }
button:disabled { cursor: wait; opacity: .55; transform: none !important; }

.public-main { overflow: hidden; }
.hero { position: relative; min-height: 630px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; max-width: 1180px; margin: 0 auto; padding: 74px 24px 86px; }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; top: 30px; border-radius: 50%; border: 1px solid rgba(23,60,50,.12); box-shadow: 0 0 0 70px rgba(113,146,122,.06), 0 0 0 140px rgba(113,146,122,.035); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 620px; margin: 18px 0 22px; color: var(--pine-dark); font: 400 clamp(48px, 6vw, 82px)/1.08 var(--serif); letter-spacing: -.04em; }
.hero h1 em { color: var(--ochre); font-style: normal; }
.hero-lead { max-width: 550px; color: #566b64; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.hero-actions .primary { padding: 15px 26px; }
.hero-note { display: flex; gap: 28px; margin-top: 44px; color: var(--muted); font-size: 12px; }
.hero-note span::before { content: "·"; margin-right: 8px; color: var(--ochre); }
.hero-visual { position: relative; min-height: 470px; }
.ink-card { position: absolute; inset: 0 28px 28px 0; overflow: hidden; padding: 42px; color: #f7f4ea; background: var(--pine); border-radius: 180px 180px 26px 26px; box-shadow: var(--shadow); }
.ink-card::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 390px; height: 390px; background: radial-gradient(circle, rgba(200,170,109,.32), transparent 66%); }
.ink-card::after { content: ""; position: absolute; right: 46px; bottom: 46px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.025); }
.ink-card .vertical { position: absolute; top: 52px; right: 34px; writing-mode: vertical-rl; color: rgba(255,255,255,.62); font-family: var(--serif); letter-spacing: .25em; }
.ink-card strong { position: absolute; left: 46px; bottom: 94px; z-index: 1; max-width: 270px; font: 400 36px/1.35 var(--serif); }
.ink-card small { position: absolute; left: 48px; bottom: 57px; color: rgba(255,255,255,.64); letter-spacing: .12em; }
.floating-card { position: absolute; right: 0; bottom: 0; z-index: 2; width: 235px; padding: 20px; background: rgba(251,250,246,.96); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; box-shadow: 0 22px 55px rgba(29,52,44,.17); }
.floating-card span { color: var(--moss); font-size: 11px; }
.floating-card strong { display: block; margin: 7px 0 4px; font-family: var(--serif); font-size: 20px; }
.floating-card small { color: var(--muted); }

.catalog-section { padding: 88px max(24px, calc((100vw - 1180px) / 2)) 110px; background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { margin: 8px 0 0; font: 400 clamp(32px, 4vw, 49px)/1.2 var(--serif); }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }
.date-rail { display: flex; gap: 10px; overflow-x: auto; padding: 3px 1px 18px; scrollbar-width: none; }
.date-rail::-webkit-scrollbar { display: none; }
.date-chip { flex: 0 0 72px; padding: 12px 8px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.date-chip b { display: block; margin-top: 5px; color: var(--ink); font: 500 22px var(--serif); }
.date-chip.active { color: rgba(255,255,255,.7); background: var(--pine); border-color: var(--pine); }
.date-chip.active b { color: #fff; }
.more-date-row { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.more-date-row input { width: 172px; min-height: 40px; background: #fff; }
.filter-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 26px; }
.filter-chip { padding: 9px 14px; color: var(--muted); background: var(--paper); border: 0; border-radius: 999px; cursor: pointer; }
.filter-chip.active { color: #fff; background: var(--ink-2); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { overflow: hidden; background: #fff; border: 1px solid rgba(23,60,50,.09); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(29,52,44,.06); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(29,52,44,.11); }
.course-art { position: relative; height: 205px; padding: 22px; color: #fff; background: linear-gradient(145deg, #72917a, #234f43); }
.course-card:nth-child(3n+2) .course-art { background: linear-gradient(145deg, #bd9968, #765936); }
.course-card:nth-child(3n+3) .course-art { background: linear-gradient(145deg, #829da0, #365b60); }
.course-art::before { content: ""; position: absolute; right: -30px; bottom: -66px; width: 210px; height: 210px; border-radius: 50%; border: 1px solid rgba(255,255,255,.32); box-shadow: 0 0 0 25px rgba(255,255,255,.05), 0 0 0 50px rgba(255,255,255,.035); }
.course-art b { position: absolute; right: 28px; bottom: 10px; font: 400 86px var(--serif); opacity: .32; }
.course-art span { position: relative; z-index: 1; font-size: 11px; letter-spacing: .12em; }
.course-art strong { position: absolute; left: 22px; bottom: 23px; z-index: 1; max-width: 74%; font: 400 25px/1.25 var(--serif); }
.course-content { padding: 22px; }
.course-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.course-content p { min-height: 48px; margin: 14px 0 18px; color: #5e6e68; font-size: 13px; line-height: 1.75; }
.session-list { display: grid; gap: 9px; }
.session-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 12px; color: var(--ink); background: var(--paper); border: 0; border-radius: 12px; cursor: pointer; text-align: left; }
.session-button:hover { background: var(--paper-2); }
.session-button span { font-size: 12px; }
.session-button b { color: var(--ochre); font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.all-courses-section { padding: 78px max(24px, calc((100vw - 1180px) / 2)) 92px; background: var(--paper); }
.course-directory { display: grid; gap: 12px; }
.directory-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; }
.directory-row:hover { border-color: var(--moss); }
.directory-row:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.directory-art { display: grid; place-items: center; width: 88px; height: 72px; overflow: hidden; color: #fff; background: var(--pine); background-size: cover; background-position: center; border-radius: 12px; font: 34px var(--serif); }
.directory-copy { min-width: 0; }
.directory-copy small { color: var(--moss); font-size: 11px; }
.directory-copy h3 { margin: 3px 0; font: 400 20px var(--serif); }
.directory-copy p { overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.directory-actions { display: flex; align-items: center; gap: 8px; }
.directory-actions .ghost { white-space: nowrap; }
.detail-book { margin-top: 25px; }
.booking-availability { margin: -2px 0 0; padding: 12px 14px; color: var(--ink-2); background: var(--paper); border-radius: 12px; font-size: 12px; line-height: 1.6; }
.booking-result-details { display: grid; gap: 12px; margin: 22px 0; }
.booking-result-details dl { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 12px; }
.booking-result-details dt { color: var(--muted); font-size: 12px; }
.booking-result-details dd { margin: 0; color: var(--ink); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }

.teacher-story { display: grid; grid-template-columns: .85fr 1.15fr; max-width: 1180px; margin: 0 auto; padding: 108px 24px; gap: 90px; align-items: center; }
.teacher-seal { aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: var(--pine-dark); border-radius: 50% 50% 48% 52% / 43% 54% 46% 57%; box-shadow: var(--shadow); }
.teacher-seal span { font: 400 clamp(70px, 10vw, 130px) var(--serif); opacity: .84; }
.teacher-story h2 { margin: 12px 0 18px; font: 400 clamp(34px, 4vw, 53px)/1.2 var(--serif); }
.teacher-story p { color: var(--muted); line-height: 1.9; }
.story-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.story-points div { padding-top: 16px; border-top: 1px solid var(--line); }
.story-points b { display: block; margin-bottom: 6px; color: var(--ochre); font: 400 24px var(--serif); }
.story-points small { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 42px max(24px, calc((100vw - 1180px) / 2)); color: rgba(255,255,255,.66); background: var(--pine-dark); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(9,29,24,.58); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(100%, 560px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 34px; background: var(--cream); border-radius: 26px; box-shadow: 0 36px 100px rgba(8,26,21,.35); }
.modal-panel h2 { margin: 8px 0 8px; font: 400 32px var(--serif); }
.modal-summary { margin: 0 0 24px; color: var(--muted); line-height: 1.7; }
.close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; }
.close-button { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; }
.verification-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin: 14px 0; }
.login-panel form { display: grid; gap: 14px; }
.login-hint { color: var(--muted); font-size: 12px; }
.error-text { color: #a14b3f; }
.modal-open { overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: none; }
input, select { min-height: 46px; padding: 0 13px; }
textarea { resize: vertical; min-height: 110px; padding: 12px 13px; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(113,146,122,.13); }
.form-wide { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; transform: translateX(-50%); max-width: min(90vw, 520px); padding: 13px 18px; color: #fff; background: var(--pine-dark); border-radius: 999px; box-shadow: var(--shadow); font-size: 13px; }

/* 工作台 */
.studio-body { min-height: 100vh; background: #eef0ea; }
.studio-shell { display: grid; grid-template-columns: 245px 1fr; min-height: 100vh; }
.studio-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 20px; color: #f5f1e7; background: var(--pine-dark); }
.studio-sidebar .brand-copy small { color: rgba(255,255,255,.5); }
.studio-nav { display: grid; gap: 6px; margin-top: 46px; }
.studio-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: rgba(255,255,255,.65); background: transparent; border: 0; border-radius: 12px; cursor: pointer; text-align: left; }
.studio-nav button.active, .studio-nav button:hover { color: #fff; background: rgba(255,255,255,.1); }
.studio-nav i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.studio-sidebar footer { margin-top: auto; }
.studio-sidebar footer a, .studio-sidebar footer button { display: block; width: 100%; padding: 10px; color: rgba(255,255,255,.62); background: transparent; border: 0; cursor: pointer; text-align: left; font-size: 12px; }
.studio-main { min-width: 0; padding: 34px clamp(22px, 4vw, 62px) 70px; }
.studio-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.studio-topbar h1 { margin: 5px 0 0; font: 400 34px var(--serif); }
.profile-chip { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.profile-avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ochre); border-radius: 50%; font-family: var(--serif); }
.profile-chip small { display: block; color: var(--muted); font-size: 10px; }
.view { display: none; }
.view.active { display: block; }
.welcome-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 190px; padding: 34px; color: #fff; background: linear-gradient(125deg, var(--pine), #2e6858); border-radius: var(--radius); }
.welcome-card::after { content: "定"; position: absolute; right: 40px; bottom: -45px; color: rgba(255,255,255,.08); font: 180px var(--serif); }
.welcome-card h2 { margin: 8px 0 10px; font: 400 32px var(--serif); }
.welcome-card p { max-width: 610px; margin: 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.welcome-card .primary { position: relative; z-index: 1; flex: 0 0 auto; color: var(--pine); background: #f8f3e7; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.metric { padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.metric span { color: var(--muted); font-size: 12px; }
.metric b { display: block; margin-top: 8px; font: 400 32px var(--serif); }
.metric small { color: var(--moss); }
.panel { margin-top: 20px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-heading h2, .panel-heading h3 { margin: 4px 0 0; font: 400 25px var(--serif); }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.data-list { display: grid; gap: 10px; }
.data-row { display: grid; grid-template-columns: minmax(190px, 1.6fr) repeat(3, minmax(95px, .65fr)) auto; align-items: center; gap: 14px; padding: 15px; background: #f8f8f4; border-radius: 14px; }
.data-row strong { display: block; font-size: 14px; }
.data-row small { color: var(--muted); font-size: 11px; }
.data-row > span { color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 6px 9px; color: var(--pine); background: #e3eee7; border-radius: 999px; font-size: 11px; }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status.paused { color: #8a6847; background: #f1e6d7; }
.booking-needs-arrangement { background: #fff8eb; border: 1px solid rgba(190,125,65,.28); }
.booking-card { padding: 19px 21px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.booking-card.booking-needs-arrangement { background: #fff8eb; border-color: rgba(190,125,65,.28); }
.booking-card-head, .booking-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.booking-card-head > div { min-width: 0; }
.booking-name { display: inline; margin-right: 10px; font-size: 18px; }
.booking-course { color: var(--ink-2); font-size: 14px; }
.booking-card-head small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.booking-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.booking-contact > div { min-width: 0; padding: 13px 15px; background: #f2f5ef; border-radius: 12px; }
.booking-contact span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.booking-contact strong, .booking-contact a { display: block; overflow-wrap: anywhere; color: var(--pine-dark); font-size: 21px; font-weight: 750; line-height: 1.3; }
.booking-contact a { text-decoration: underline; text-underline-offset: 3px; }
.booking-contact a:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.booking-notes { margin: 12px 0 0; color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.booking-card-foot { justify-content: flex-start; flex-wrap: wrap; margin-top: 13px; }
.booking-source { margin-right: auto; color: var(--muted); font-size: 11px; }
.call-status { display: inline-flex; align-items: center; padding: 6px 10px; color: #92541f; background: #fff0dd; border-radius: 999px; font-size: 12px; font-weight: 700; }
.call-status.is-notified { color: var(--pine); background: #e3eee7; }
.booking-card .row-actions { flex-wrap: wrap; }
.booking-card .row-actions button { padding: 8px 11px; font-size: 12px; }
.booking-card .row-actions button:disabled { opacity: .55; cursor: wait; }
.booking-toolbar { display: grid; gap: 12px; margin: 0 0 16px; }
.booking-tabs, .booking-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.booking-tabs button, .booking-filters button, .booking-session-heading button { padding: 7px 11px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 12px; }
.booking-tabs button.active { color: #fff; background: var(--pine); border-color: var(--pine); }
.booking-filters label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.booking-filters input { width: 145px; min-height: 35px; padding: 5px 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.booking-group { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.booking-group h3 { display: flex; align-items: baseline; gap: 10px; margin: 1px 3px 12px; font: 400 20px var(--serif); }
.booking-group h3 small { color: var(--muted); font: 12px var(--sans); }
.booking-group > .empty-state { padding: 12px; }
.booking-session + .booking-session { margin-top: 14px; }
.booking-session-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 9px 10px; background: #f2f5ef; border-radius: 10px; }
.booking-session-heading strong { font-size: 13px; }
.booking-session-heading span { margin-right: auto; color: var(--muted); font-size: 11px; }
.booking-item { display: grid; grid-template-columns: minmax(150px, 1.5fr) 62px minmax(120px, .8fr) auto minmax(150px, auto); align-items: center; gap: 12px; min-height: 66px; padding: 9px 11px; border-top: 1px solid var(--line); }
.booking-item:first-of-type { border-top: 0; }
.booking-item-person { min-width: 0; }
.booking-item-person strong { display: block; font-size: 14px; }
.booking-item-course { display: block; margin-top: 2px; color: var(--pine-dark); font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.booking-item-time { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.booking-item-count { color: var(--pine-dark); font-size: 16px; }
.booking-item-phone { overflow-wrap: anywhere; color: var(--pine-dark); font-size: 16px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.booking-item-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.booking-item-actions > button, .booking-note-details summary { padding: 6px 8px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 11px; white-space: nowrap; }
.booking-note-details { position: relative; }
.booking-note-details summary { list-style: none; }
.booking-note-details summary::-webkit-details-marker { display: none; }
.booking-note-details p { position: absolute; right: 0; z-index: 3; width: min(300px, 80vw); margin: 5px 0 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; }
.booking-load-more { display: block; margin: 16px auto 0; }
.activity-wrap { position: relative; margin-left: auto; }
.activity-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; color: #fff; background: var(--ochre); border-radius: 999px; font-size: 11px; }
.activity-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 55; width: min(360px, 90vw); max-height: 420px; overflow-y: auto; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.activity-panel-head { display: flex; justify-content: space-between; align-items: center; }
.activity-panel-head button { padding: 5px 7px; background: #f2f5ef; border: 0; border-radius: 7px; cursor: pointer; font-size: 11px; }
.activity-item { padding: 9px 0; border-top: 1px solid var(--line); }
.activity-item:first-of-type { margin-top: 9px; }
.activity-item strong, .activity-item small { display: block; }
.activity-item strong { font-size: 12px; }
.activity-item small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.my-booking-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.my-booking-item strong, .my-booking-item small { display: block; }
.my-booking-item small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.my-booking-item .row-actions { grid-column: 1 / -1; }
.my-booking-notice { margin: 7px 0 0; color: #92541f; font-size: 12px; line-height: 1.5; }
.arrangement-alert { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0; padding: 16px 20px; color: var(--ink); background: #fff8eb; border: 1px solid rgba(190,125,65,.28); border-radius: 16px; }
.arrangement-alert strong, .arrangement-alert small { display: block; }
.arrangement-alert small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.row-actions { display: flex; gap: 4px; }
.row-actions button { padding: 7px 9px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 11px; }
.editor-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.editor-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.switch-label { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; color: var(--ink); background: #f7f7f3; border-radius: 12px; }
.switch-label input { width: 18px; min-height: auto; }
.preview-card { position: sticky; top: 30px; overflow: hidden; align-self: start; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; }
.preview-art { height: 210px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #71927a, #244f43); font: 80px var(--serif); }
.preview-copy { padding: 21px; }
.preview-copy h3 { margin: 7px 0 12px; font: 400 24px var(--serif); }
.preview-copy p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.access-gate { display: grid; place-items: center; min-height: 70vh; }
.access-card { width: min(100%, 520px); padding: 42px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.access-card h1 { font: 400 34px var(--serif); }
.access-card p { color: var(--muted); line-height: 1.8; }

/* Course stories, photo editing and the independent teacher page. */
.course-card[role="button"], .profile-course { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.course-card[role="button"]:hover, .profile-course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card[role="button"]:focus-visible, .profile-course:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.detail-hint { display: inline-block; margin: 10px 0; color: var(--pine); font-size: 12px; font-weight: 700; }
.detail-panel { width: min(92vw, 760px); max-height: min(92vh, 1000px); overflow-y: auto; }
.detail-panel h3 { margin: 30px 0 12px; font: 400 22px var(--serif); }
.detail-gallery { margin-top: 36px; }
.detail-story { display: grid; gap: 18px; margin-top: 32px; color: var(--ink-2); }
.detail-story p { margin: 0; line-height: 1.9; white-space: pre-line; }
.detail-story figure { margin: 0; }
.detail-story img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; }
.gallery-track { display: grid; gap: 24px; }
.gallery-track figure { margin: 0; }
.gallery-track img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; }
.gallery-track figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; text-align: right; }
.gallery-placeholder { display: grid; place-items: center; height: 260px; border-radius: 16px; color: #fff; background: linear-gradient(130deg,#557c69,#183d32); font: 100px var(--serif); }
.detail-intro { white-space: pre-line; line-height: 1.9; color: var(--ink-2); }
.detail-slots { display: grid; gap: 8px; }
.teacher-link { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--cream); text-decoration: none; }
.teacher-link-avatar { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--pine); color: white; font: 26px var(--serif); }
.teacher-link-avatar img, .avatar-preview img, .profile-portrait img { width: 100%; height: 100%; object-fit: cover; }
.teacher-link span:nth-child(2) { min-width: 0; flex: 1; }
.teacher-link small, .teacher-link strong, .teacher-link em { display: block; }
.teacher-link small { color: var(--moss); font-size: 11px; }
.teacher-link strong { margin: 3px 0; font: 400 19px var(--serif); }
.teacher-link em { color: var(--muted); font-size: 12px; font-style: normal; }
.teacher-link b { white-space: nowrap; font-size: 12px; }
.media-editor { padding: 18px; border: 1px dashed var(--line); border-radius: 14px; }
.media-editor > small { color: var(--muted); }
.image-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(104px,1fr)); gap: 10px; margin-top: 14px; }
.image-item { position: relative; height: 110px; overflow: hidden; border-radius: 10px; cursor: grab; background: var(--cream); }
.image-item img { width: 100%; height: 100%; object-fit: cover; }
.image-item span { position: absolute; left: 5px; bottom: 5px; padding: 3px 5px; border-radius: 4px; background: rgba(0,0,0,.62); color: white; font-size: 10px; }
.image-item button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.65); cursor: pointer; }
.avatar-preview { display: grid; place-items: center; width: 90px; height: 90px; overflow: hidden; margin-top: 12px; border-radius: 50%; color: #fff; background: var(--pine); font: 40px var(--serif); }
#mediaProgress, #avatarProgress, #profileImagesProgress { color: var(--moss); font-size: 12px; }
.weekday-picker { display: flex; gap: 9px; flex-wrap: wrap; margin: 10px 0; }
.weekday-picker label { display: flex; align-items: center; gap: 4px; padding: 8px 10px; background: var(--paper); border-radius: 9px; }
.weekday-picker input { width: auto; min-height: auto; }
.field-title { display: block; color: var(--ink); font-size: 13px; }
#sessionWeekdaysField > small { color: var(--muted); }
.schedule-preview { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--paper); color: var(--pine); font-size: 12px; }
.story-editor > p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.story-block { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.story-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; }
.story-block-head > div, .story-add-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.story-block-head button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-size: 11px; }
.story-block textarea { width: 100%; min-height: 100px; box-sizing: border-box; }
.story-block select { width: 100%; }
.story-block-image-actions { display: flex; gap: 8px; margin-top: 9px; }
.story-media-tray { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.story-media-tray strong { font-size: 12px; }
.story-media-tray small { display: block; color: var(--muted); line-height: 1.6; }
.story-image-preview { display: block; width: min(100%, 320px); max-height: 180px; object-fit: cover; margin-top: 10px; border-radius: 8px; }
.story-add-actions { margin-top: 14px; }
.profile-page { width: min(1100px, calc(100% - 36px)); margin: 0 auto; padding: 32px 0 90px; }
.back-link { color: var(--pine); text-decoration: none; font-size: 13px; }
.profile-hero { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 48px; min-height: 360px; padding: 48px 0; }
.profile-portrait { display: grid; place-items: center; width: 220px; height: 220px; overflow: hidden; border-radius: 50% 50% 44% 44%; background: linear-gradient(135deg,#9aaa8b,#215443); color: #fff; font: 95px var(--serif); }
.profile-hero h1 { margin: 12px 0; font: 400 clamp(38px,5vw,64px) var(--serif); }
.profile-hero p, .profile-columns p { color: var(--ink-2); line-height: 1.9; white-space: pre-line; }
.profile-headline { font-size: 21px; }
.profile-specialties { display: inline-block; margin-top: 10px; padding: 8px 14px; color: var(--pine); background: #e5ede5; border-radius: 999px; font-size: 12px; }
.profile-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-columns .panel { margin: 0; }
.profile-gallery { padding: 58px 0 10px; }
.profile-gallery h2 { margin: 8px 0 25px; font: 400 clamp(30px,4vw,44px) var(--serif); }
.profile-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.profile-gallery-grid figure { margin: 0; }
.profile-gallery-grid img { display: block; width: 100%; height: auto; border-radius: 18px; }
.profile-gallery-grid figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; }
.profile-catalog { padding: 70px 0 30px; }
.profile-course { display: block; color: inherit; text-decoration: none; }
.profile-session-row { grid-template-columns: 1fr auto; color: inherit; text-decoration: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 390px; gap: 30px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-shell { grid-template-columns: 76px 1fr; }
  .studio-sidebar { padding: 24px 12px; }
  .studio-sidebar .brand-copy, .studio-nav span, .studio-sidebar footer span { display: none; }
  .studio-sidebar .brand { justify-content: center; }
  .studio-nav button { justify-content: center; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .editor-layout { grid-template-columns: 1fr; }
  .preview-card { position: static; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; padding: 0 16px; }
  .brand-copy small, .site-nav > a:not(.nav-pill):not(.studio-entry):not(.nav-course):not(.ghost) { display: none; }
  .site-nav { gap: 5px; font-size: 11px; }
  .site-nav .studio-entry { font-size: 10px; }
  .nav-pill { padding: 9px 11px; font-size: 11px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 54px 18px 70px; }
  .hero h1 { font-size: 50px; }
  .hero-visual { min-height: 390px; }
  .ink-card { inset: 0 15px 20px 0; padding: 28px; border-radius: 130px 130px 24px 24px; }
  .ink-card strong { left: 28px; bottom: 70px; font-size: 30px; }
  .ink-card small { left: 30px; bottom: 40px; }
  .floating-card { width: 205px; }
  .hero-note { gap: 12px; flex-wrap: wrap; }
  .catalog-section { padding: 68px 18px 80px; }
  .all-courses-section { padding: 66px 18px 78px; }
  .directory-row { grid-template-columns: 68px minmax(0,1fr); gap: 12px; padding: 12px; }
  .directory-art { width: 68px; height: 68px; }
  .directory-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .section-heading { align-items: start; flex-direction: column; }
  .course-grid { grid-template-columns: 1fr; }
  .teacher-story { grid-template-columns: 1fr; gap: 45px; padding: 78px 18px; }
  .teacher-seal { width: 78%; margin: auto; }
  .site-footer { flex-direction: column; padding: 34px 18px; }
  .modal-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-result-details dl { grid-template-columns: 72px minmax(0, 1fr); }
  .form-wide { grid-column: auto; }
  .studio-shell { display: block; }
  .studio-sidebar { position: fixed; top: auto; bottom: 0; z-index: 40; width: 100%; height: 68px; flex-direction: row; align-items: center; padding: 8px 12px; }
  .studio-sidebar > .brand, .studio-sidebar footer { display: none; }
  .studio-nav { grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0; }
  .studio-body[data-portal="teacher"] .studio-nav { grid-template-columns: repeat(5, 1fr); }
  .studio-nav button { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; font-size: 10px; }
  .studio-nav span { display: block; }
  .studio-main { padding: 22px 15px 100px; }
  .studio-topbar { align-items: flex-start; }
  .studio-topbar { flex-wrap: wrap; }
  .studio-topbar h1 { font-size: 28px; }
  .profile-chip div:last-child { display: none; }
  .welcome-card { align-items: flex-start; flex-direction: column; padding: 26px; }
  .arrangement-alert { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 16px; }
  .data-row { grid-template-columns: 1fr auto; }
  .data-row > span:nth-of-type(2), .data-row > span:nth-of-type(3) { display: none; }
  .booking-needs-arrangement > span.status { display: inline-flex; }
  .booking-card { padding: 16px; }
  .booking-card-head { align-items: flex-start; }
  .booking-card .status { flex: 0 0 auto; }
  .booking-contact { gap: 8px; }
  .booking-contact > div { padding: 11px; }
  .booking-contact strong, .booking-contact a { font-size: 17px; }
  .booking-card-foot .row-actions { width: 100%; }
  .booking-item { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .booking-item-person { grid-column: 1; }
  .booking-item > .status { grid-column: 2; grid-row: 1; }
  .booking-item-count { grid-column: 1; grid-row: 2; }
  .booking-item-phone { grid-column: 2; grid-row: 2; text-align: right; }
  .booking-item-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .booking-filters label { width: calc(50% - 4px); }
  .booking-filters input { width: 100%; }
  .booking-note-details p { right: auto; left: 0; }
  .editor-form { grid-template-columns: 1fr; }
  .editor-form .form-wide { grid-column: auto; }
  .panel { padding: 18px; }
  .detail-panel { width: 100%; max-height: 96vh; }
  .gallery-track img { max-height: none; }
  .profile-hero { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .profile-portrait { width: 150px; height: 150px; font-size: 65px; }
  .profile-columns { grid-template-columns: 1fr; }
  .profile-gallery-grid { grid-template-columns: 1fr; }
  .teacher-link { align-items: flex-start; }
  .teacher-link b { display: none; }
}

/* 客人账号与客服 */
.support-entry { padding: 7px 0; border: 0; background: transparent; cursor: pointer; color: var(--muted); white-space: nowrap; }
.site-footer button { border: 0; padding: 0; color: #fff; background: transparent; cursor: pointer; text-align: left; }
.support-entry:hover, .site-footer button:hover { color: var(--ochre); }
.support-panel { text-align: center; }
.support-panel h2 { margin-bottom: 16px; }
.demo-note { padding: 10px; background: var(--paper-2); border-radius: 12px; font-size: 13px; color: var(--muted); }
.support-qr { display: grid; place-items: center; width: 184px; height: 184px; margin: 24px auto; border: 1px dashed var(--moss); border-radius: 16px; background: var(--paper); color: var(--muted); line-height: 1.8; }
.support-qr img { width: 100%; height: 100%; object-fit: contain; }
.support-phone { text-decoration: underline; }
.account-page { max-width: 1180px; margin: auto; padding: 34px 24px 80px; min-height: 70vh; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0; }
.account-heading h1 { font: 400 clamp(32px,5vw,52px)/1.2 var(--serif); margin: 10px 0 16px; }
.account-heading p { margin-bottom: 8px; }
.account-heading small { color: var(--muted); }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-gate { text-align: center; padding: 50px 24px; }
.account-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.account-nav a { padding: 12px 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.account-section, .account-reminder { margin: 24px 0; scroll-margin-top: 140px; }
.account-reminder { background: var(--pine); color: var(--cream); }
.account-reminder .eyebrow { color: #b9caba; }
.account-reminder h2 { font-family: var(--serif); }
.account-reminder .primary { background: var(--cream); color: var(--pine); }
.reminder-content { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.reminder-content strong { font: 400 24px/1.4 var(--serif); }
.account-section .panel-heading { margin-bottom: 20px; flex-wrap: wrap; }
.account-section .panel-heading h2 { margin: 6px 0; }
.account-section .my-booking-item p { margin: 8px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.account-tabs { flex-wrap: wrap; }
.favorite-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.favorite-grid .empty-state { grid-column: 1/-1; padding: 24px 8px; }
.favorite-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); overflow-wrap: anywhere; }
.favorite-card h3 { margin: 12px 0 20px; }
.favorite-card a { display: block; margin-bottom: 12px; font-size: 13px; }
.notification-item { position: relative; display: grid; gap: 7px; width: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-align: left; background: var(--cream); cursor: pointer; overflow-wrap: anywhere; }
.notification-item span { color: var(--muted); font-size: 13px; }
.notification-item small { color: var(--muted); font-size: 11px; }
.notification-item.is-unread { border-left: 4px solid var(--pine); background: #eef2e9; }
.load-more { display: block; margin: 20px auto 0; }
.detail-favorite { margin: 14px 0; }
#profileHint, #accountGateHint { color: var(--ink-2); font-size: 13px; }
@media(max-width: 980px) { .favorite-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 720px) {
  .site-header { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .site-nav { justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
  .site-nav .support-entry { font-size: 11px; }
  .site-nav .studio-entry { font-size: 11px; }
  .site-nav .ghost { font-size: 11px; padding: 7px 4px; }
  .site-nav > a.ghost { display: block; }
  .account-page { padding: 24px 16px 48px; }
  .account-heading, .reminder-content { align-items: flex-start; flex-direction: column; gap: 16px; }
  .account-nav { gap: 8px; }
  .account-nav a { padding: 10px 14px; }
  .favorite-grid { grid-template-columns: 1fr; }
  .account-section { padding: 20px 16px; }
  .account-section .panel-heading { gap: 14px; align-items: flex-start; }
  .account-section .my-booking-item { grid-template-columns: 1fr auto; }
  .account-section .my-booking-item .row-actions { grid-column: 1/-1; flex-wrap: wrap; }
}
/* Center operations share the studio's forms and responsive layout. */
.center-slot { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.center-slot p { margin:8px 0; overflow-wrap:anywhere; }
.center-slot .row-actions { flex-wrap:wrap; max-width:320px; }
.staff-account { display:grid; grid-template-columns:minmax(140px,1fr) minmax(240px,2fr) auto; align-items:center; gap:20px; }
.staff-account small { display:block; margin-top:6px; overflow-wrap:anywhere; }
.staff-permissions { display:flex; flex-wrap:wrap; gap:12px 20px; }
.staff-permissions label { display:flex; align-items:center; gap:8px; }
.staff-permissions input { width:auto; }
.audit-details { white-space:pre-wrap; overflow-wrap:anywhere; max-width:100%; font-size:12px; }
.demo-role { display:flex; align-items:center; gap:8px; font-size:12px; }
.demo-role select { max-width:170px; }
#centerTaskForm label { display:block; margin:18px 0; }
#centerTaskForm textarea { width:100%; min-height:96px; }
.center-roster { display:grid; gap:10px; margin:20px 0; }
.center-roster a { color:var(--green,#173c32); }
@media (max-width:700px) { .center-slot { display:block; } .center-slot .row-actions { margin-top:18px; max-width:none; } .staff-account { grid-template-columns:1fr; } .demo-role { width:100%; } }

/* 后台窄屏保留功能文字，底部导航横向滚动容纳角色菜单。 */
@media (min-width: 721px) and (max-width: 980px) { .studio-shell { grid-template-columns: 156px 1fr; } .studio-nav span { display:block; } .studio-nav button { justify-content:flex-start; padding:12px 8px; font-size:12px; } }
@media (max-width:720px) { .studio-sidebar { overflow-x:auto; } .studio-body .studio-nav { display:flex; width:max-content; min-width:100%; } .studio-nav button { flex:1 0 76px; } .studio-topbar { flex-wrap:wrap; gap:10px; } .demo-role { font-size:12px; } }


.teacher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.teacher-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px;background:var(--paper,#fff);border:1px solid var(--line,#deded5);border-radius:20px;color:inherit;text-decoration:none}.teacher-card-avatar{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--pine-dark);color:white;font-size:32px;margin-bottom:20px}.teacher-card-avatar img{width:100%;height:100%;object-fit:cover}.teacher-card strong{font-size:24px}.teacher-card small{color:var(--muted);margin-top:8px}.teacher-card p{line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.teacher-card .detail-hint{margin-top:auto}.teacher-card:focus-visible{outline:3px solid var(--pine-dark);outline-offset:4px}.teacher-grid>.empty-state{grid-column:1/-1}@media(max-width:760px){.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.teacher-card{padding:20px}}@media(max-width:480px){.teacher-grid{grid-template-columns:1fr}}

/* 手机端课程发现与报名，2026-10-06 */
.customer-bottom-nav { display:none; }
.course-kind-filters { max-width:1132px; margin:0 auto; padding:0 24px; }
.detail-cover { width:100%; max-height:280px; object-fit:cover; border-radius:16px; margin:16px 0; }
.detail-info { margin:24px 0; }
.detail-info h3 { margin:18px 0 8px; }
.detail-info p { color:var(--muted); line-height:1.8; }
.detail-slot-list { display:grid; gap:10px; }
.detail-slot { display:grid; gap:7px; text-align:left; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--cream); cursor:pointer; }
.detail-slot small { color:var(--muted); }
.detail-slot.selected { border:2px solid var(--pine); background:#e8eee4; }
.detail-actions { display:flex; gap:12px; align-items:center; }
.detail-actions .detail-book { flex:1; }
.request-selection { display:grid; gap:10px; margin:14px 0; }
.request-selection label { display:flex; align-items:center; padding:12px; background:var(--paper); border-radius:10px; }
.request-selection input { width:22px; min-height:22px; flex:0 0 22px; }
@media(max-width:720px) {
 html { scroll-padding-top:80px; }
 .customer-home { padding-bottom:calc(70px + env(safe-area-inset-bottom,0px)); }
 .customer-home .site-header { flex-wrap:nowrap; min-height:60px; }
 .customer-home .site-nav .nav-course,.customer-home #myBookingsButton,.customer-home .site-nav .studio-entry { display:none; }
 .customer-home .hero { padding:28px 18px 32px; gap:20px; }
 .customer-home .hero { overflow:hidden; }
 .customer-home .hero::before { width:180px; height:180px; right:-90px; top:20px; }
 .customer-home .course-kind-filters { padding:0 16px; margin:0; flex-wrap:nowrap; overflow-x:auto; }
 .customer-home .course-kind-filters button { flex:0 0 auto; min-height:44px; font-size:14px; }
 .customer-home .hero h1 { font-size:38px; margin:12px 0; line-height:1.25; }
 .customer-home .hero-lead { font-size:15px; line-height:1.8; margin:12px 0; }
 .customer-home .hero-visual { display:none; }
 .customer-home .hero-note { margin-top:18px; }
 .customer-home .hero-actions { margin-top:20px; gap:10px; }
 .customer-home .hero-actions a { padding:12px 16px; font-size:14px; }
 .customer-home .all-courses-section,.customer-home .catalog-section { padding:28px 16px 32px; }
 .customer-home .section-heading { gap:8px; margin-bottom:18px; }
 .customer-home .section-heading p { font-size:14px; line-height:1.7; }
 .customer-home .section-heading h2 { font-size:28px; }
 .customer-home .eyebrow { display:none; }
 .directory-copy h3 { font-size:18px; }
 .directory-copy small { font-size:12px; line-height:1.6; }
 .directory-copy p { font-size:14px; line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
 .directory-actions { justify-content:stretch; }
 .directory-actions button { flex:1; min-height:44px; font-size:14px; }
 .course-art { height:150px; }
 .course-content { padding:18px; }
 .course-content p { font-size:14px; }
 .session-button { align-items:start; gap:10px; min-height:48px; }
 .session-button span { font-size:13px; line-height:1.7; }
 .session-button b { flex:0 0 auto; font-size:15px; }
 .customer-bottom-nav { position:fixed; inset:auto 0 0; z-index:40; display:flex; justify-content:space-around; border-top:1px solid var(--line); background:var(--cream); padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px)); }
 .customer-bottom-nav a { display:grid; place-items:center; min-height:44px; min-width:80px; color:var(--muted); font-size:15px; }
 .customer-bottom-nav .active { color:var(--pine); font-weight:700; }
 .customer-home .modal { padding:0; align-items:end; }
 .customer-home .modal-panel { width:100%; max-height:100dvh; border-radius:20px 20px 0 0; padding:24px 18px calc(24px + env(safe-area-inset-bottom,0px)); }
 .customer-home .close { width:44px; height:44px; top:12px; right:12px; }
 .customer-home .modal-panel h2 { padding-right:40px; font-size:28px; }
 .customer-home input,.customer-home select,.customer-home textarea { font-size:16px; }
 .customer-home label { font-size:14px; }
 .customer-home .detail-panel { display:flex; flex-direction:column; min-height:100dvh; }
 .detail-actions { position:sticky; bottom:calc(-24px - env(safe-area-inset-bottom,0px)); z-index:2; order:10; margin:20px -18px calc(-24px - env(safe-area-inset-bottom,0px)); padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px)); background:var(--cream); border-top:1px solid var(--line); }
 .detail-actions .detail-favorite { margin:0; }
 #bookingForm .form-actions { position:sticky; bottom:calc(-24px - env(safe-area-inset-bottom,0px)); background:var(--cream); padding:12px 0; }
 #bookingSubmitButton { width:100%; min-height:48px; }
}

.filter-row[hidden]{display:none}
