:root {
  color-scheme: light;
  --canvas: #f4f5ee;
  --paper: #fffef9;
  --paper-strong: #ffffff;
  --ink: #12231d;
  --muted: #596a63;
  --faint: #596a63;
  --line: #d9dfd7;
  --line-strong: #bac8c0;
  --mint: #c8f0df;
  --mint-soft: #e7f7ef;
  --green: #126148;
  --green-deep: #0a4635;
  --gold: #b97a32;
  --danger: #a53b36;
  --danger-soft: #fff0ed;
  --shadow: 0 18px 46px rgba(28, 57, 46, .11);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); line-height: 1.65; }
::selection { background: var(--mint); color: var(--green-deep); }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: var(--green); text-underline-offset: .22em; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
textarea, input { caret-color: var(--green); }
textarea::placeholder, input::placeholder { color: var(--muted); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: #9eb4a8; border: 3px solid var(--canvas); border-radius: 999px; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .65rem .85rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1240px, calc(100% - 48px)); min-height: 82px; margin-inline: auto; padding-block: 12px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; color: var(--ink); text-decoration: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--green); border-radius: 50%; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; border-radius: 50%; background: var(--green); }
.brand-mark::before { width: 5px; height: 5px; transform: translate(-7px, 2px); }
.brand-mark::after { width: 5px; height: 5px; transform: translate(7px, -3px); }
.brand-mark span { width: 3px; height: 3px; transform: translate(1px, 9px); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 1rem; letter-spacing: .14em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .67rem; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 254, 249, .72); }
.nav-item { min-width: 66px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .92rem; font-weight: 650; }
.nav-item:hover { color: var(--ink); background: var(--mint-soft); }
.nav-item.is-active { background: var(--green-deep); color: white; }
.account-button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; max-width: 160px; padding: 3px 11px 3px 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); cursor: pointer; color: var(--green-deep); font-weight: 700; }
.header-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--mint); }
.account-button img { width: 100%; height: 100%; object-fit: cover; }
.header-account-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }
.account-button:hover { border-color: var(--green); background: var(--paper); }
.header-actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.header-assessment-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: .85rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-assessment-link:hover { background: var(--green); }
.experience-group-shortcut, .notification-button, .header-post-button { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--green-deep); background: var(--paper); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.experience-group-shortcut:hover, .notification-button:hover, .header-post-button:hover { border-color: var(--green); background: var(--mint-soft); }
.experience-group-shortcut { min-height: 44px; }
.experience-group-shortcut-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.experience-group-shortcut-label { color: var(--green-deep); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.notification-button { position: relative; display: inline-grid; place-items: center; width: 42px; padding: 0; }
.header-post-button { border-color: var(--green-deep); color: white; background: var(--green-deep); }
.header-post-button:hover { color: white; background: var(--green); }
.notification-count { min-width: 23px; padding: 2px 5px; border-radius: 999px; color: white; background: #a13c36; font-size: .7rem; line-height: 1.5; text-align: center; }

main { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.view { min-height: calc(100vh - 158px); padding: clamp(36px, 5vw, 68px) 0 88px; }
@keyframes view-in { from { opacity: .3; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.assessment-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); min-height: 570px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); border-radius: 16px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4.5vw, 64px); }
.status-line { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--green); font-size: .82rem; font-weight: 750; letter-spacing: .08em; }
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(18, 97, 72, .1); }
.hero-copy h1, .page-intro h1, .course-copy h1, .privacy-document h1 { max-width: 12ch; margin: 0; font-family: "Songti SC", "STSong", "Microsoft YaHei UI", serif; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 760; text-wrap: balance; }
.hero-lede { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.welcome-name { display: block; margin-top: .12em; color: var(--green-deep); }
.hero-motto { margin: 24px 0 0; color: var(--green-deep); font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 650; }
.hero-motto + .hero-lede { margin-top: 12px; }
.assessment-availability { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.assessment-availability h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; font-size: 1rem; }
.assessment-availability h2 span { padding: 3px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--green-deep); font-size: .875rem; }
.assessment-availability p { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.learning-start h2 { margin: 0 0 18px; font-size: 1.45rem; }
.learning-start p { max-width: 65ch; margin: 0 0 24px; color: var(--muted); }
.learning-start .text-button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.service-notice { padding: 18px 22px; background: var(--paper); border-radius: 12px; }
.moderation-notice { width: min(1240px, calc(100% - 32px)); margin: 16px auto 0; padding: 16px 20px; color: var(--ink); background: var(--danger-soft); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.moderation-notice p { margin: 8px 0 0; }
#moderation-delete-context { white-space: pre-wrap; overflow-wrap: anywhere; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.assessment-leaderboard { position: relative; width: min(100%, 420px); margin-top: 24px; padding: 18px 22px; border-radius: 14px; background: rgba(255, 253, 247, .94); color: var(--ink); }
.assessment-leaderboard h2 { margin: 0; color: var(--green-deep); font-size: 1.12rem; }
.assessment-leaderboard p { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.assessment-leaderboard p:empty { display: none; }
.assessment-leaderboard ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.assessment-leaderboard li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.assessment-leaderboard li:last-child { border-bottom: 0; padding-bottom: 0; }
.assessment-leaderboard li span { min-width: 0; overflow-wrap: anywhere; }
.assessment-leaderboard li strong { flex: none; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-weight: 750; transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s; }
.button:hover { transform: translateY(-1px); }
.button { text-decoration: none; }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .5; cursor: wait; transform: none; }
.button-primary { background: var(--green-deep); color: #fff; box-shadow: 0 8px 20px rgba(10, 70, 53, .18); }
.button-primary:hover { background: #063a2c; }
.button-quiet { border-color: var(--line-strong); background: var(--paper); color: var(--green-deep); }
.button-quiet:hover { border-color: var(--green); background: var(--mint-soft); }
.button-danger { background: var(--danger); color: white; }
.button-danger:hover { background: #882e2a; }
.trust-note { margin: 20px 0 0; color: var(--faint); font-size: .82rem; }
.hero-visual { position: relative; min-height: 520px; overflow: hidden; background: #ccebdd; }
.hero-visual::before { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; bottom: -120px; border: 1px solid rgba(10, 70, 53, .25); border-radius: 50%; box-shadow: inset 0 0 0 80px rgba(255,255,255,.09), inset 0 0 0 160px rgba(255,255,255,.08); }
.hero-visual::after { content: ""; position: absolute; inset: 9% 10%; border: 1px solid rgba(10, 70, 53, .18); border-radius: 48% 52% 56% 44% / 42% 48% 52% 58%; transform: rotate(-8deg); }
.field-lines { position: absolute; inset: 0; opacity: .35; }
.field-lines i { position: absolute; background: var(--green); }
.field-lines i:nth-child(1) { width: 1px; height: 130%; left: 31%; top: -10%; transform: rotate(24deg); }
.field-lines i:nth-child(2) { width: 1px; height: 130%; left: 69%; top: -10%; transform: rotate(-22deg); }
.field-lines i:nth-child(3) { height: 1px; width: 130%; left: -10%; top: 34%; transform: rotate(8deg); }
.field-lines i:nth-child(4) { height: 1px; width: 130%; left: -10%; top: 72%; transform: rotate(-7deg); }
.route { position: absolute; width: 18px; height: 18px; border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 6px 16px rgba(10,70,53,.16); }
.route::after { content: ""; position: absolute; height: 2px; width: 120px; left: 13px; top: 4px; background: var(--paper); transform-origin: left; opacity: .85; }
.route-one { left: 19%; top: 27%; }
.route-one::after { transform: rotate(35deg); }
.route-two { left: 50%; top: 49%; }
.route-two::after { width: 150px; transform: rotate(-52deg); }
.route-three { right: 24%; bottom: 19%; }
.route-three::after { width: 100px; transform: rotate(208deg); }
.hero-stamp { position: absolute; left: 11%; bottom: 10%; display: grid; align-content: center; width: 120px; height: 120px; padding: 16px; border: 1px solid rgba(10,70,53,.3); border-radius: 50%; background: rgba(255,254,249,.88); box-shadow: 0 14px 30px rgba(10,70,53,.12); text-align: center; }
.hero-stamp strong { font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; color: var(--green-deep); }
.hero-stamp span { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.hero-caption { position: absolute; right: 10%; top: 11%; color: rgba(10,70,53,.66); font-size: .76rem; letter-spacing: .15em; line-height: 1.6; text-align: right; font-weight: 800; }
.is-active .route::after { animation: route-draw 1.15s .2s var(--ease) both; }
@keyframes route-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

.assessment-lower { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 52px; margin-top: 72px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 0 0 20px; }
.section-heading h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; }
.text-button { min-height: 44px; padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--green); cursor: pointer; font-weight: 700; }
.empty-panel { padding: 30px 0; color: var(--muted); }
.empty-panel p { margin: 0; }
.boundary-note { align-self: start; padding: 26px; border-top: 2px solid var(--green); background: rgba(231, 247, 239, .66); }
.boundary-note h2 { margin: 0 0 18px; font-size: 1.1rem; }
.boundary-note dl { margin: 0; }
.boundary-note dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid rgba(18,97,72,.15); }
.boundary-note dt { color: var(--muted); }
.boundary-note dd { margin: 0; font-weight: 700; text-align: right; }
.boundary-note p { margin: 20px 0 0; color: var(--muted); font-size: .84rem; }

.answer-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.back-button { padding: 4px 0; border: 0; background: none; color: var(--green); cursor: pointer; font-weight: 750; }
textarea, input[type="tel"], input[type="text"], input[type="password"] { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper-strong); color: var(--ink); }
textarea { padding: 16px; resize: vertical; line-height: 1.7; }
input[type="tel"], input[type="text"], input[type="password"] { min-height: 48px; padding: 10px 13px; }
textarea:focus, input:focus { border-color: var(--green); outline: 3px solid rgba(18,97,72,.12); }
.answer-meta { margin-top: 7px; color: var(--faint); font-size: .78rem; }
.form-error { margin: 12px 0 0; color: var(--danger); font-size: .86rem; }

.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.page-intro h1, .course-copy h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); }
.page-intro p { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: 1.02rem; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.community-guidance { color: var(--muted); font-size: .875rem; margin: 0 0 24px; max-width: 65ch; }
.community-empty { padding: 48px 20px; text-align: center; background: var(--mint-soft); }
.community-empty h3 { font-size: 1.25rem; margin: 0 0 12px; }
.community-empty p { color: var(--muted); margin: 0 auto 24px; max-width: 32ch; }
.message-list { display: grid; border-top: 1px solid var(--line); }
.message-card { padding: 24px 2px; border-bottom: 1px solid var(--line); }
.message-head { display: flex; gap: 12px; align-items: center; }
.message-avatar { display: grid; place-items: center; flex: 0 0 40px; height: 40px; overflow: hidden; border-radius: 12px; background: var(--mint); color: var(--green-deep); font-weight: 750; text-transform: uppercase; }
.message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.message-identity { min-width: 0; }
.message-author { overflow-wrap: anywhere; }
.message-mine { margin-left: auto; font-size: .75rem; color: var(--green); white-space: nowrap; }
.message-author { margin: 0; font-weight: 800; }
.message-time { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.message-body { margin: 11px 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.message-muted { color: var(--faint); font-style: italic; }
.message-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.message-action { min-height: 44px; padding: 4px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--green); cursor: pointer; font-size: .875rem; }
.message-action:hover { border-color: currentColor; }
.message-action.danger { color: var(--danger); }
.loading-row { padding: 30px 0; color: var(--muted); }
.full-button { width: 100%; }
.thread-panel { padding: 28px; background: var(--paper); border-radius: 14px; }
.thread-empty { min-height: 220px; display: grid; align-content: center; text-align: center; }
.thread-empty h2 { margin: 0; }
.thread-empty p { color: var(--muted); }
.thread-header { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 16px; }
.thread-header h2 { margin: 0; font-size: 1.2rem; }
.thread-close { min-height: 44px; border: 0; background: none; color: var(--green); cursor: pointer; }
.thread-list { display: grid; }
.thread-message { margin-left: 0; padding: 17px 0 17px 13px; border-top: 1px solid var(--line); border-left: 1px solid #a9c9ba; }
.thread-message.depth-1 { margin-left: 18px; }.thread-message.depth-2 { margin-left: 36px; }.thread-message.depth-3 { margin-left: 54px; }.thread-message.depth-4, .thread-message.depth-5, .thread-message.depth-6 { margin-left: 72px; }
.thread-message:first-child { margin-left: 0; border-left: 0; }
.replying-to { margin: 0 0 5px; color: var(--faint); font-size: .72rem; }

.course-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, .75fr); gap: clamp(50px, 10vw, 130px); align-items: center; max-width: 1080px; margin-inline: auto; }
.course-copy p { max-width: 580px; margin: 26px 0; color: var(--muted); font-size: 1.03rem; }
.course-copy .course-name { font-size: 1.25rem; font-weight: 750; color: var(--green); }
.course-topics { margin: 30px 0; }
.course-topics div { padding: 15px 0; border-top: 1px solid var(--line); }
.course-topics dt { font-weight: 750; }
.course-topics dd { margin: 6px 0 0; color: var(--muted); }
.course-copy .course-purchase-note { font-size: .875rem; margin: 16px 0; }
.course-boundary summary { cursor: pointer; color: var(--muted); font-size: .875rem; }
.course-boundary { margin: 34px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-boundary strong { color: var(--green); }
.course-boundary p { margin: 8px 0 0; font-size: .88rem; }
.poster-frame { display: grid; gap: 11px; padding: 13px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); cursor: zoom-in; color: var(--green); font-weight: 750; }
.poster-frame:hover { background: var(--mint-soft); }
.poster-frame img { display: block; width: 100%; height: auto; object-fit: contain; background: white; }
.poster-frame span { padding: 3px 3px 5px; }

.profile-intro { margin-bottom: 38px; }
.profile-guest { min-height: 340px; display: grid; place-items: center; align-content: center; padding: 40px; background: var(--paper); text-align: center; box-shadow: var(--shadow); border-radius: 16px; }
.profile-guest h2 { margin: 0; }
.profile-guest p { margin: 10px 0 24px; color: var(--muted); }
.profile-account { max-width: 900px; }
.inline-profile-form { display: flex; align-items: center; gap: 10px; width: min(100%, 360px); }
.inline-profile-form input { min-width: 0; }
.profile-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 42px; }
.avatar { display: grid; place-items: center; width: 62px; height: 62px; overflow: hidden; border-radius: 50%; background: var(--green-deep); color: white; font-family: "Songti SC", serif; font-size: 1.5rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity h2, .profile-identity p { margin: 0; }
.profile-identity p { color: var(--muted); }
.profile-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-upload .button { margin: 0; }
.form-hint { display: block; margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.settings-list { border-top: 1px solid var(--line); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.setting-row h3, .setting-row p { margin: 0; }
.setting-row p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.danger-row h3 { color: var(--danger); }

.site-footer { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; width: min(1240px, calc(100% - 48px)); margin-inline: auto; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--faint); font-size: .875rem; }
.site-footer a { margin-left: auto; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.site-footer nav a { margin-left: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

.dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 28px 90px rgba(10, 39, 29, .3); }
.dialog::backdrop { background: rgba(9, 25, 19, .58); backdrop-filter: blur(5px); }
.dialog > form, .dialog > div { padding: clamp(27px, 5vw, 42px); }
.dialog h2 { margin: 0 0 12px; font-family: "Songti SC", "STSong", serif; font-size: 2rem; }
.dialog-lede { margin: 0 0 27px; color: var(--muted); }
.dialog-close { float: right; min-height: 44px; margin-left: 15px; padding: 4px 0; border: 0; background: none; color: var(--green); cursor: pointer; }
.dialog input + .consent-check, .dialog .button { margin-top: 18px; }
.dialog label:not(.consent-check) + input + label:not(.consent-check) { margin-top: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.auth-tab { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 750; }
.auth-tab.is-active { background: var(--paper); color: var(--green-deep); box-shadow: 0 5px 16px rgba(28,57,46,.09); }
.auth-secondary { display: block; width: max-content; margin: 18px auto 0; }
.consent-check { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .84rem; font-weight: 500 !important; }
.consent-check input { width: 17px; height: 17px; margin: 4px 0 0; accent-color: var(--green); }
.mock-code-note, .reply-context { padding: 11px 13px; background: var(--mint-soft); color: var(--green-deep); font-size: .84rem; }
.reply-context { margin: 6px 0 20px; overflow-wrap: anywhere; }
.poster-dialog { width: min(740px, calc(100% - 20px)); }
.poster-dialog img { display: block; width: 100%; height: auto; margin-top: 20px; background: white; }
.confirm-dialog { width: min(430px, calc(100% - 28px)); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.toast { position: fixed; z-index: 60; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); max-width: min(390px, calc(100% - 44px)); padding: 13px 17px; border-radius: 10px; background: var(--ink); color: white; box-shadow: 0 14px 35px rgba(0,0,0,.2); font-size: .86rem; }

.privacy-page { background: var(--paper); }
.privacy-document { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 100px; }
.back-link { display: inline-block; margin-bottom: 50px; }
.privacy-document h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
.privacy-lede { margin: 26px 0 55px; color: var(--muted); font-size: 1.08rem; }
.privacy-document section { padding: 24px 0; border-top: 1px solid var(--line); }
.privacy-document section h2 { margin: 0 0 8px; font-size: 1.15rem; }
.privacy-document section p { margin: 0; color: var(--muted); }
.privacy-document section p + p { margin-top: 16px; }
.privacy-updated { color: var(--faint); font-size: .84rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; width: min(100% - 28px, 1240px); backdrop-filter: none; background: var(--canvas); }
  .header-actions { grid-column: 2; grid-row: 1; }
  .primary-nav { position: static; grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 12px; justify-content: space-around; background: var(--paper); }
  .account-button { grid-column: 2; grid-row: 1; }
  .nav-item { flex: 1; min-width: 0; padding-inline: 10px; }
  main { width: min(100% - 28px, 1240px); }
  .assessment-hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .assessment-lower, .community-layout, .course-layout { grid-template-columns: 1fr; }
  .community-layout { gap: 30px; }
  .thread-panel { position: static; max-height: none; }
  .course-layout { max-width: 680px; }
  .poster-frame { max-width: 520px; justify-self: center; }
  .site-footer { width: min(100% - 28px, 1240px); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .site-header { min-height: 70px; }
  .header-actions { gap: 5px; }
  .notification-button, .header-post-button { min-height: 38px; font-size: .73rem; }
  .notification-button { width: 38px; }
  .header-post-button { padding-inline: 9px; }
  .notification-count { position: absolute; top: -7px; right: -7px; }
  .brand-copy small { display: none; }
  .account-button { max-width: 90px; min-height: 38px; padding: 2px 6px 2px 2px; gap: 4px; }
  .header-avatar { width: 32px; height: 32px; }
  .header-account-name { max-width: 46px; font-size: .72rem; }
  .view { padding-top: 28px; }
  .assessment-hero { margin-inline: -14px; border-radius: 0; box-shadow: none; }
  .hero-copy { padding: 46px 25px 48px; }
  .hero-copy h1, .page-intro h1, .course-copy h1 { font-size: clamp(2.45rem, 14vw, 3.6rem); }
  .hero-lede { margin-top: 22px; font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 310px; }
  .hero-stamp { width: 96px; height: 96px; }
  .hero-stamp strong { font-size: 2.15rem; }
  .assessment-lower { gap: 34px; margin-top: 48px; }
  .page-intro { align-items: stretch; flex-direction: column; margin-bottom: 42px; }
  .page-intro .button { width: 100%; }
  .thread-panel { margin-inline: -14px; padding: 22px 16px; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .thread-message { padding-left: 9px; }
  .thread-message.depth-1 { margin-left: 10px; }.thread-message.depth-2 { margin-left: 20px; }.thread-message.depth-3 { margin-left: 30px; }.thread-message.depth-4, .thread-message.depth-5, .thread-message.depth-6 { margin-left: 40px; }
  .course-copy .button { width: 100%; }
  .poster-frame { padding: 8px; }
  .setting-row { align-items: stretch; flex-direction: column; }
  .setting-row .button { width: 100%; }
  .inline-profile-form { width: 100%; align-items: stretch; flex-direction: column; }
  .profile-upload { align-items: stretch; flex-direction: column; }
  .profile-upload .button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-footer a { margin-left: 0; }
  .site-footer nav { margin-left: 0; }
  .dialog { margin-block: auto; }
}

.experience-group-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #eaf5ef; }
.experience-group-card h2 { margin: 0 0 8px; color: var(--green-deep); font-size: 1.24rem; }
.experience-group-card p { margin: 0 0 6px; color: var(--muted); line-height: 1.5; }
.experience-group-card .experience-group-number { color: var(--green-deep); font-size: 1.08rem; }
.experience-group-number strong { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.experience-group-card .experience-group-instruction { margin-bottom: 0; }
.experience-group-copy-action { display: grid; justify-items: end; gap: 4px; min-width: 118px; }
.experience-group-copy-status { min-height: 1.25em; color: var(--green-deep); font-size: .78rem; line-height: 1.4; text-align: right; }
.experience-group-shortcut-group .experience-group-copy-status { flex-basis: 100%; }
.notification-dialog { width: min(540px, calc(100% - 28px)); }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; }
.notification-toolbar p { margin: 0; color: var(--muted); }
.notification-list { display: grid; gap: 8px; max-height: min(54vh, 480px); overflow-y: auto; }
.notification-item { display: grid; width: 100%; padding: 13px 15px; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-strong); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.notification-item:hover { border-color: var(--green); background: var(--mint-soft); }
.notification-item.is-unread { border-color: var(--green); }
.notification-item strong { color: var(--green-deep); }
.notification-item span { overflow-wrap: anywhere; }
.notification-item time { color: var(--muted); font-size: .78rem; }
.notification-dialog #notification-more { width: 100%; margin-top: 14px; }
@media (max-width: 620px) {
  .experience-group-card { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .experience-group-card h2 { font-size: 1.08rem; }
  .experience-group-card p { font-size: .82rem; }
}

.hero-companion { position: relative; display: grid; place-items: center; align-content: center; padding: 28px; background: #dceee3; }
.hero-copy h1 { max-width: none; font-size: clamp(2.5rem, 4.2vw, 3.6rem); text-wrap: initial; }
.community-intro h1 { max-width: none; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.18; text-wrap: initial; }
.thread-panel { scroll-margin-top: 152px; }
.profile-identity > div { min-width: 0; overflow-wrap: anywhere; }
.profile-identity .avatar { flex: 0 0 62px; }
.hero-companion img { position: relative; width: 100%; height: auto; max-width: 480px; object-fit: contain; }
.hero-companion p { position: relative; display: flex; gap: 14px; align-items: baseline; margin: 0; color: var(--green-deep); }
.hero-companion p strong { font-size: 1.2rem; }
.companion-orbit { display: none; }
@keyframes companion-arrive { from { filter: blur(3px); transform: translateY(8px); } to { filter: blur(0); transform: none; } }
.password-field { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper-strong); }
.password-field input { min-width: 0; border: 0; background: transparent; }
.password-field:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.password-field input:focus { outline: 0; }
.password-toggle { align-self: stretch; flex: 0 0 58px; border: 0; border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; background: var(--mint-soft); color: var(--green-deep); cursor: pointer; }
.password-toggle:hover { background: var(--mint); }
.password-field + label, .dialog input + label, .dialog .anonymous-choice { margin-top: 18px; }
.auth-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; }
.auth-links .text-button, .auth-secondary { min-height: 44px; }
.anonymous-choice { display: flex !important; align-items: start; gap: 12px; padding: 14px; background: var(--mint-soft); border-radius: 10px; }
.anonymous-choice input { flex: 0 0 18px; height: 18px; margin: 5px 0 0; accent-color: var(--green); }
.anonymous-choice small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.anonymous-label { display: block; color: var(--muted); font-size: .78rem; }
.like-action[aria-pressed="true"] { color: var(--green-deep); font-weight: 800; }
.message-action:disabled { opacity: .6; cursor: wait; }
.profile-bio-form { align-items: end; }
.profile-bio-form textarea { min-width: 0; }
.setting-row > div, .community-layout > div, .thread-panel { min-width: 0; }
.setting-row p, .form-error { overflow-wrap: anywhere; }
.setting-row .button { flex-shrink: 0; }
.profile-upload:focus-within label { outline: 3px solid var(--green); outline-offset: 3px; }
.thread-pagination { margin-top: 20px; }
.teaching-view { max-width: 1120px; margin-inline: auto; }
.teaching-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); gap: 64px; align-items: center; padding: 22px 0 64px; }
.teaching-hero h1 { margin: 0; font-family: "Songti SC", "STSong", "Microsoft YaHei UI", serif; font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.teaching-hero .course-name { margin: 0 0 22px; font-size: 1rem; font-weight: 750; color: var(--green); }
.teaching-lede { max-width: 58ch; margin: 26px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.9; }
.teaching-map { display: grid; place-items: center; padding: 46px 24px; border-block: 1px solid var(--line-strong); color: var(--green-deep); }
.teaching-map span { font-family: "Songti SC", "STSong", serif; font-size: 2rem; font-weight: 700; }
.teaching-map i { height: 56px; border-left: 1px solid var(--green); margin: 16px; }
.teaching-map small { margin-top: 28px; color: var(--muted); }
.teaching-view > section { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 156px; }
.teaching-view h2 { margin: 0 0 26px; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; text-wrap: balance; }
.teaching-view h3 { margin: 0 0 12px; font-size: 1.2rem; }
.teaching-view p { overflow-wrap: anywhere; }
.teaching-problems { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 48px; }
.teaching-problems ul { margin: 0; padding-left: 1.3em; }
.teaching-problems li { margin-bottom: 14px; }
.teaching-problems > p { grid-column: 2; margin: 12px 0 0; max-width: 65ch; color: var(--muted); }
.dual-columns, .fit-section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.dual-columns p, .fit-section p { margin: 0; max-width: 65ch; color: var(--muted); }
.teaching-bridge, .fit-section > p { margin: 30px 0 0 !important; max-width: 75ch; color: var(--muted); }
.teaching-topics .section-heading { flex-wrap: wrap; }
.teaching-topics .section-heading h2 { margin: 0; }
.teaching-topics .section-heading p { margin: 0; color: var(--muted); font-size: .85rem; }
.teaching-topics ol { list-style: none; margin: 0; padding: 0; }
.teaching-topics li { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.teaching-topics li:last-child { border: 0; padding-bottom: 0; }
.teaching-topics li h3, .teaching-topics li p { margin: 0; }
.teaching-topics li p { max-width: 65ch; color: var(--muted); }
.teaching-view > .question-method { padding: 36px; background: var(--mint-soft); border: 0; }
.question-method p { display: flex; gap: 24px; margin: 16px 0; }
.question-method strong { flex: 0 0 4em; color: var(--green-deep); }
.question-method small { display: block; margin-top: 24px; max-width: 75ch; color: var(--muted); }
.faq-section details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 700; }
.faq-section p { max-width: 75ch; margin: 16px 0 0; color: var(--muted); }
.teaching-close { margin-top: 16px; padding: 42px 0; }
.teaching-close h2 { max-width: 24ch; }
.teaching-close p { color: var(--muted); }
@media (max-width: 900px) {
  .assessment-hero { grid-template-columns: minmax(0, 1.3fr) minmax(210px, .7fr); min-height: 450px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); }
  .hero-copy { padding: 32px; }
  .hero-companion { padding: 18px; }
  .teaching-hero { gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(190px, .6fr); }
  .teaching-problems { grid-template-columns: 1fr; }
  .teaching-problems > p { grid-column: 1; }
}
@media (max-width: 620px) {
  .assessment-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 30px 24px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 9.3vw, 3rem); }
  .hero-companion { padding: 10px 24px 20px; }
  .hero-companion img { width: min(260px, 75%); }
  .hero-companion p { font-size: .86rem; }
  .hero-companion p strong { font-size: 1rem; }
  .status-line { font-size: .75rem; letter-spacing: 0; }
  .hero-actions { margin-top: 24px; }
  .teaching-hero { grid-template-columns: 1fr; gap: 28px; padding: 0 0 38px; }
  .teaching-map { grid-template-columns: 1fr 30px 1fr; padding: 24px 8px; }
  .teaching-map span { font-size: 1.4rem; }
  .teaching-map i { width: 24px; height: 0; border: 0; border-top: 1px solid var(--green); margin: 0; }
  .teaching-map small { grid-column: 1 / -1; margin-top: 16px; }
  .teaching-view > section { padding-block: 32px; }
  .dual-columns, .fit-section > div { grid-template-columns: 1fr; gap: 26px; }
  .teaching-topics li { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .teaching-view > .question-method { padding: 24px 18px; }
  .question-method p { gap: 14px; }
  .profile-bio-form textarea { width: 100%; }
  .message-mine { white-space: normal; }
}

/* A shared northern sky, with a quiet reading surface for each scene. */
body[data-scene] { isolation: isolate; position: relative; }
body[data-scene]::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 82px 0 auto; height: 780px; background-repeat: no-repeat; background-size: cover; }
body[data-scene="assessment"] { --canvas: #f0f6ee; }
body[data-scene="assessment"]::before { background-image: linear-gradient(180deg, rgba(237,249,231,.48), #f0f6ee 95%), url('/static/assets/aurora-sky-background-v2.webp'); background-position: center top; }
body[data-scene="teaching"] { --canvas: #eef3f5; --ink: #172e38; --muted: #4b636c; --faint: #4b636c; }
body[data-scene="teaching"]::before { height: 1040px; background-image: linear-gradient(180deg, rgba(209,224,239,.2), #eef3f5 96%), url('/static/assets/aurora-sky-background-v2.webp'); background-position: 68% top; }
body[data-scene="community"] { --canvas: #f1f6f7; }
body[data-scene="community"]::before { height: 620px; background-image: linear-gradient(180deg, rgba(244,250,252,.48), #f1f6f7 92%), url('/static/assets/aurora-sky-background-v2.webp'); background-position: center bottom; }
.hero-companion { background: linear-gradient(180deg, rgba(220,249,226,.2), rgba(233,246,232,.94)), url('/static/assets/aurora-sky-background-v2.webp') 45% center / cover; }
.scene-character { display: block; height: auto; object-fit: contain; pointer-events: none; user-select: none; }
.boundary-companion { width: 112px; margin: 18px 0 0 auto; }
.teaching-hero { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .8fr); grid-template-areas: "rating poster" "copy poster" "companions poster"; gap: 18px 64px; align-items: start; padding-top: 0; }
.course-rating-heading { grid-area: rating; min-width: 0; }
.course-rating-heading > h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0 0 16px; color: #174d61; }
.course-rating-name { font-family: "Songti SC", "STSong", "Microsoft YaHei", serif; font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(220,245,252,.45); }
.course-rating-positioning { font-size: 18px; line-height: 1.5; font-weight: 600; }
.teaching-hero-copy { grid-area: copy; padding-top: 20px; }
.teaching-hero h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); text-wrap: initial; }
.teaching-hero .hero-actions { gap: 10px; margin-top: 24px; }
.teaching-hero .hero-actions .button { font-size: .95rem; }
.course-poster { grid-area: poster; width: min(100%, 340px); margin: 0; justify-self: center; padding: 10px 10px 16px; background: var(--paper-strong); border-radius: 14px; box-shadow: 0 18px 46px rgba(32,62,80,.13); scroll-margin-top: 152px; }
.course-poster-link { display: block; }
.course-poster-link img { display: block; width: 100%; height: auto; object-fit: contain; }
.course-poster figcaption { display: grid; gap: 3px; padding: 12px 4px 0; font-size: .78rem; color: var(--muted); }
.course-poster figcaption strong { color: var(--ink); font-size: .9rem; margin-bottom: 3px; }
.course-poster figcaption a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.learning-companions { grid-area: companions; display: flex; justify-content: center; }
.learning-companions img { width: 230px; max-width: 75%; }
.community-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .85fr); gap: 28px; align-items: center; margin-bottom: 44px; }
.community-intro > div { min-width: 0; }
.community-intro h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.community-intro p { max-width: 55ch; }
.community-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.community-intro-actions .experience-group-shortcut-group { margin-top: 0; }
.camp-companions { width: 360px; max-width: 100%; justify-self: end; }
.community-layout { padding: 28px; border-radius: 14px; background: var(--paper); }
.community-layout .thread-panel { box-shadow: none; background: #edf5f2; }
@media (max-width: 900px) {
  body[data-scene]::before { top: 130px; }
  .teaching-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 20px 26px; }
  .teaching-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
  .teaching-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .community-intro { grid-template-columns: minmax(0, 1.5fr) minmax(180px, .75fr); gap: 18px; }
  .community-intro h1 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
  .community-layout { padding: 24px; }
}
@media (max-width: 620px) {
  body[data-scene]::before { height: 640px; }
  .teaching-hero { grid-template-columns: 1fr; grid-template-areas: "rating" "copy" "companions"; gap: 16px; }
  .teaching-view { padding-top: 18px; }
  .course-rating-heading > h2 { display: grid; gap: 6px; margin-bottom: 12px; }
  .course-rating-name { font-size: 34px; }
  .course-rating-positioning { font-size: 16px; }
  .teaching-hero-copy { padding: 0 6px; }
  .teaching-hero h1 { font-size: clamp(2.25rem, 9.6vw, 3rem); }
  .teaching-lede { font-size: 1rem; margin-top: 20px; }
  .teaching-hero .trust-note { margin-top: 14px; }
  .course-poster { width: 100%; max-width: 360px; padding: 6px 6px 12px; }
  .course-poster-link img { height: min(36svh, 305px); }
  .course-poster figcaption { padding-inline: 8px; }
  .learning-companions img { width: 170px; }
  .community-intro { grid-template-columns: 1fr; gap: 8px; }
  .community-intro h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .community-intro .button { width: auto; }
  .camp-companions { width: 170px; justify-self: end; }
  .community-layout { margin-inline: -14px; padding: 24px 14px; border-radius: 0; }
  .community-layout .thread-panel { margin-inline: 0; padding-inline: 16px; border-radius: 12px; border: 0; }
}
.teaching-hero { grid-template-areas: "rating offer" "copy offer" "companions offer"; }
.teaching-course-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 22px; color: var(--green-deep); font-weight: 700; }
.teaching-course-details strong { font-size: 1.7rem; line-height: 1.2; }
.teaching-offer { grid-area: offer; align-self: center; justify-self: center; width: min(100%, 340px); padding: 24px; border-radius: 14px; background: var(--paper-strong); box-shadow: 0 18px 46px rgba(32,62,80,.13); }
.teaching-qr-window { position: relative; overflow: hidden; width: min(100%, 260px); aspect-ratio: 1; margin-inline: auto; background: #fff; }
.teaching-qr-window img { position: absolute; display: block; width: 195.416667%; height: auto; max-width: none; left: -39.583333%; top: -46.666667%; }
.teaching-offer p { margin: 18px 0 0; color: var(--green-deep); font-weight: 750; text-align: center; }
@media (max-width: 620px) { .teaching-hero { grid-template-areas: "rating" "copy" "offer" "companions"; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.text-button:disabled { color: var(--muted); border-bottom-color: transparent; cursor: not-allowed; }

/* Forum additions preserve the existing aurora scene. */
.post-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.post-filter { min-height: 44px; padding: 9px 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--green-deep); cursor: pointer; font: inherit; }
.post-filter:hover { background: var(--mint-soft); }
.post-filter[aria-pressed="true"] { color: white; background: var(--green-deep); border-color: var(--green-deep); }
.post-type { display: inline-block; margin-top: 18px; color: var(--green-deep); background: var(--mint-soft); border-radius: 6px; padding: 2px 9px; font-size: .8rem; }
.post-type-experience { color: #75501d; background: #f8ecd7; }
.post-type-legacy { color: var(--muted); background: var(--canvas); }
.post-title { margin: 10px 0; font-size: 1.3rem; line-height: 1.55; overflow-wrap: anywhere; }
.post-title-link { padding: 0; border: 0; color: var(--ink); background: none; text-align: left; cursor: pointer; font: inherit; }
.post-title-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.post-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-fields { display: grid; gap: 8px; margin: 24px 0 18px; }
.post-fields label:not(:first-child) { margin-top: 8px; }
.post-fields select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; }
.community-layout .thread-panel { background: transparent; padding: 0; }
.thread-panel .thread-message.depth-0 { margin-bottom: 24px; }
.teaching-feedback-entry { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; margin: 28px 0; border-block: 1px solid var(--line); }
.teaching-feedback-entry h2 { margin: 0 0 8px; font-size: 1.4rem; }
.teaching-feedback-entry p { max-width: 55ch; margin: 0; color: var(--muted); }
.teaching-feedback-entry .button { flex-shrink: 0; }
@media (max-width: 620px) {
  .teaching-feedback-entry { display: block; }
  .teaching-feedback-entry .button { margin-top: 18px; }
  .post-title { font-size: 1.15rem; }
  .community-layout .thread-panel { padding: 0; }
  .thread-message.depth-3, .thread-message.depth-4, .thread-message.depth-5, .thread-message.depth-6 { margin-left: 24px; }
}
