@charset "UTF-8";

:root {
  --ink: #202723;
  --muted: #657069;
  --line: #dfe5df;
  --yellow: #ffda41;
  --green: #204d3e;
  --paper: #ffffff;
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid #2675b6; outline-offset: 5px; }
button { touch-action: manipulation; }
button[hidden], [hidden] { display: none !important; }
svg { width: 24px; height: 24px; stroke-width: 1.65; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 54px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--yellow); transform: translateY(-200px); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 17px; flex-shrink: 0; }
.brand img { width: 66px; height: 63px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-size: 27px; font-weight: 750; line-height: 1.25; }
.brand-subtitle { font-family: Georgia, "Times New Roman", serif; font-size: 12px; color: #6a746c; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.site-nav a { padding-block: 14px; position: relative; }
.site-nav a::after { content: ""; height: 3px; position: absolute; bottom: 3px; left: 0; right: 0; background: var(--yellow); transform: scaleX(0); transition: transform 160ms ease; }
.site-nav a:hover::after { transform: scaleX(1); }

.portal-section { background: #f5f7f4; padding: 47px 0 25px; }
.portal-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.5; color: var(--muted); font-weight: 600; }
.short-rule { display: inline-block; width: 22px; height: 3px; background: var(--green); }
.portal-intro h1 { font-size: 40px; line-height: 1.3; font-weight: 720; margin: 8px 0 10px; }
.intro-copy { font-size: 16px; color: var(--muted); line-height: 1.7; }
.intro-note { font-size: 13px; line-height: 1.8; text-align: right; color: #6a786b; padding-bottom: 3px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portal { display: flex; flex-direction: column; min-height: 270px; padding: 27px 29px 22px; border: 1px solid transparent; border-radius: 6px; transition: transform 180ms ease, box-shadow 180ms ease; }
.portal:hover { transform: translateY(-4px); box-shadow: 0 10px 24px #162c1510; }
.portal-knowledge { background: #ffe274; color: #3c351d; border-color: #efd369; }
.portal-files { background: #e3ece5; color: #254c3a; border-color: #cfdfd3; }
.portal-skills { background: #e4ebf4; color: #2e4966; border-color: #d5dfe9; }
.portal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.portal-top svg { width: 30px; height: 30px; }
.portal-index { font: 12px "SFMono-Regular", Consolas, monospace; opacity: .62; }
.portal h2 { font-size: 26px; font-weight: 650; line-height: 1.4; margin-bottom: 7px; }
.portal p { font-size: 13px; line-height: 1.7; opacity: .8; }
.portal-footer { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; padding-top: 20px; }
.portal-domain { font: 12px "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; opacity: .78; }
.portal-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 11px 14px; border-radius: 4px; background: #264e3a; color: #fff; font-size: 13px; line-height: 1.5; font-weight: 550; transition: background 160ms ease; }
.portal-cta svg { width: 20px; height: 20px; transition: transform 180ms ease; }
.portal:hover .portal-cta, .portal:focus-visible .portal-cta { background: #153b28; }
.portal:hover .portal-footer svg { transform: translate(2px, -2px); }
.continue-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 23px auto 0; color: #677168; font-size: 12px; padding: 5px 8px; }
.continue-link svg { width: 15px; height: 15px; }

.courses-section { padding: 75px 0 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 31px; }
.section-heading h2 { font-size: 34px; line-height: 1.3; margin-top: 9px; font-weight: 650; }
.heading-dot { color: #dfb72f; margin-left: 3px; }
.section-heading > p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.course-consultation { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 30px; align-items: center; padding: 24px 28px; margin-bottom: 27px; background: #fff4c4; border-left: 4px solid #e7c246; }
.consultation-label { display: flex; align-items: center; gap: 8px; color: #5c653e; font-size: 11px; font-weight: 550; }
.consultation-label svg { width: 18px; height: 18px; }
.consultation-copy h3 { margin: 10px 0 8px; color: #313b25; font-size: 21px; line-height: 1.6; font-weight: 650; }
.consultation-copy h3 > span { display: inline-block; white-space: nowrap; }
.consultation-copy h3 > span[aria-hidden] { color: #a28b38; padding: 0 5px; }
.consultation-copy p { color: #727051; font-size: 12px; line-height: 1.9; }
.wechat-contact { min-width: 0; }
.wechat-label { color: #727051; font-size: 11px; }
.wechat-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 7px; }
.wechat-id { font: 600 22px "SFMono-Regular", Consolas, monospace; color: #294734; user-select: all; white-space: nowrap; }
.copy-wechat { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-width: 130px; min-height: 44px; padding: 11px 13px; border: 1px solid #264e3a; border-radius: 4px; background: #264e3a; color: #fff; font-size: 12px; font-weight: 550; transition: background 160ms ease; }
.copy-wechat svg { width: 16px; height: 16px; }
.copy-wechat:hover { background: #153b28; }
.copy-wechat[data-copied="true"] { background: #3b6448; }
.copy-status { min-height: 36px; margin-top: 7px; font-size: 11px; line-height: 1.6; color: #5a6e3d; }
.course-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 21px; }
.course-filters { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.course-filters button { padding: 8px 14px; border: 1px solid transparent; background: transparent; border-radius: 4px; font-size: 13px; color: #6b746b; min-height: 36px; }
.course-filters button:hover { background: #f1f3ee; }
.course-filters button[aria-pressed="true"] { background: #244c3a; color: #fff; }
.course-filters button span { margin-left: 8px; font-size: 11px; opacity: .72; }
.course-format { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.course-format svg { width: 17px; height: 17px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course-card { --tone: #2f654d; --wash: #eaf1e9; display: flex; flex-direction: column; min-width: 0; padding: 25px 25px 0; border: 1px solid #dce3db; border-top: 3px solid var(--tone); border-radius: 5px; background: #fff; min-height: 323px; transition: border-color 160ms ease, transform 160ms ease; }
.tone-blue { --tone: #527592; --wash: #edf1f7; }
.tone-yellow { --tone: #947523; --wash: #fbf4d9; }
.tone-coral { --tone: #ab675a; --wash: #f9eeea; }
.course-card:hover { border-color: var(--tone); transform: translateY(-2px); }
.course-masthead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
.course-topic { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--tone); }
.course-topic svg { width: 19px; height: 19px; }
.course-number { font: 11px "SFMono-Regular", Consolas, monospace; color: #919a91; }
.course-unfinished { position: relative; }
.course-unfinished .course-masthead { padding-right: 72px; }
.course-unfinished .course-number { display: none; }
.course-status-badge { position: absolute; top: -3px; right: -1px; min-width: 76px; padding: 9px 12px; border-radius: 0 5px 0 5px; background: #b23b2b; color: #fff; font-size: 13px; line-height: 1.4; font-weight: 650; text-align: center; }
.course-card h3 { min-height: 62px; font-size: 20px; line-height: 1.55; font-weight: 650; margin-bottom: 12px; overflow-wrap: break-word; }
.course-summary { font-size: 13px; line-height: 1.85; color: #6d756f; margin-bottom: 20px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 20px; list-style: none; }
.course-tags li { color: #6b746e; background: #f3f5f1; font-size: 10px; line-height: 1.4; padding: 5px 7px; border-radius: 2px; }
.course-detail { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border: 0; border-top: 1px solid #e9ede7; background: transparent; font-size: 12px; font-weight: 550; text-align: left; }
.course-detail svg { width: 18px; height: 18px; color: var(--tone); transition: transform 150ms ease; }
.course-detail:hover { color: var(--tone); }
.course-detail:hover svg { transform: translate(2px, -2px); }
.learning-note { display: flex; align-items: center; gap: 12px; padding: 26px 0 0; color: #69756b; font-size: 12px; }
.learning-note > svg { width: 18px; height: 18px; }
.learning-note p { line-height: 1.8; }
.learning-note > span { margin-left: auto; white-space: nowrap; font-size: 11px; }

.teacher-section { background: #193e33; color: #f9fbf7; padding: 72px 0; }
.teacher-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 78px; align-items: center; }
.teacher-photo { position: relative; min-width: 0; }
.teacher-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.teacher-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #132c25eb; padding: 15px 22px; color: #fff; }
.teacher-photo figcaption span:first-child { font-size: 17px; font-weight: 550; }
.teacher-photo figcaption span:last-child { font-size: 11px; color: #c9d7ca; }
.teacher-copy .eyebrow { color: #b9c9bb; }
.teacher-copy h2 { font-size: 34px; line-height: 1.4; margin: 9px 0 22px; font-weight: 550; }
.teacher-copy .heading-dot { color: #ffdb62; }
.teacher-name { display: flex; align-items: baseline; gap: 14px; font-size: 22px; line-height: 1.6; font-weight: 550; flex-wrap: wrap; }
.teacher-name span { font-size: 12px; font-weight: 400; color: #bbcfc1; }
.teacher-roles { color: #bed1c3; font-size: 12px; line-height: 1.95; margin-top: 9px; }
.experience { display: flex; gap: 0; margin: 27px 0; padding: 22px 0; border-block: 1px solid #466255; }
.experience > div { width: 50%; }
.experience > div + div { border-left: 1px solid #466255; padding-left: 38px; }
.experience strong { font-family: Georgia, "Times New Roman", serif; font-size: 45px; line-height: 1; font-weight: 400; color: #ffe07d; display: flex; align-items: baseline; gap: 8px; }
.experience strong span { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; color: #dbe6dc; }
.experience p { font-size: 11px; color: #bfd1c3; margin-top: 10px; }
.teacher-bio { font-size: 13px; line-height: 1.95; color: #d0ded2; margin-top: 12px; }
.expertise { margin-top: 24px; }
.expertise h3 { font-size: 12px; font-weight: 550; margin-bottom: 12px; color: #f2f5ef; }
.expertise ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.expertise li { font-size: 11px; color: #c0d3c6; line-height: 1.7; display: flex; gap: 8px; align-items: baseline; }
.expertise li::before { content: ""; width: 4px; height: 4px; background: #e2c669; flex-shrink: 0; }
.site-footer { background: #fbfcf9; padding: 36px 0; }
.footer-inner { display: flex; gap: 24px; align-items: center; }
.footer-inner strong { font-size: 19px; font-weight: 650; }
.footer-inner p { font: 12px Georgia, "Times New Roman", serif; color: #718070; margin-top: 7px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 16px; margin-left: auto; font-size: 11px; line-height: 1.7; color: #687566; }
.footer-icp { padding-left: 16px; border-left: 1px solid #d7dfd5; white-space: nowrap; }
.footer-icp:hover { color: #204d3e; text-decoration: underline; text-underline-offset: 4px; }
.footer-inner > a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d7dfd5; border-radius: 50%; }
.footer-inner > a svg { width: 17px; height: 17px; }
.footer-inner > a:hover { background: var(--yellow); }

dialog { color: var(--ink); background: #fff; width: min(680px, calc(100% - 40px)); max-height: min(780px, calc(100dvh - 64px)); padding: 0; border: 1px solid #dfe4dc; border-radius: 8px; box-shadow: 0 24px 100px #10201645; }
dialog::backdrop { background: #14281fd1; backdrop-filter: blur(3px); }
.modal-open { overflow: hidden; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 2; background: #fff; padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.icon-button { display: grid; place-items: center; border: 0; background: #f3f5f0; width: 36px; height: 36px; border-radius: 50%; }
.icon-button:hover { background: #ffe274; }
.icon-button svg { width: 18px; height: 18px; }
.dialog-content { padding: 28px 34px 24px; }
.dialog-content h2 { font-size: 27px; line-height: 1.5; margin: 10px 0 18px; font-weight: 650; }
.dialog-content p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.dialog-content h3 { font-size: 15px; margin: 28px 0 10px; }
.dialog-content .eyebrow { font-size: 11px; color: #497356; }
.dialog-content .dialog-status { font-size: 12px; border-left: 3px solid #e8c34e; padding-left: 12px; margin-top: 16px; }
.dialog-content ol { padding: 0; list-style: none; counter-reset: outline; margin: 0; }
.dialog-content li { counter-increment: outline; padding: 14px 0 14px 36px; position: relative; border-top: 1px solid #e7ece4; }
.dialog-content li::before { content: counter(outline, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 11px Consolas, monospace; color: #899688; }
.dialog-content li h4 { font-size: 14px; margin: 0 0 5px; font-weight: 550; }
.dialog-content li p { font-size: 12px; line-height: 1.85; }
.course-consultation.dialog-consultation { grid-template-columns: minmax(0,1fr) 250px; gap: 12px 20px; margin: 0; padding: 17px 24px 12px; border-left: 0; border-top: 2px solid #e7c246; background: #ffe990; }
.dialog-consultation .consultation-copy h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.5; }
.dialog-consultation .consultation-copy h3 > span[aria-hidden] { padding-inline: 2px; }
.dialog-consultation .consultation-copy p { font-size: 11px; line-height: 1.7; }
.dialog-consultation .wechat-contact { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; max-width: none; }
.dialog-consultation .wechat-label { grid-column: 1; grid-row: 1; font-size: 10px; }
.dialog-consultation .wechat-action { display: contents; }
.dialog-consultation .wechat-id { grid-column: 1; grid-row: 2; align-self: start; font-size: 20px; }
.dialog-consultation .copy-wechat { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 120px; min-height: 40px; padding: 9px 10px; font-size: 11px; }
.dialog-consultation .copy-status { grid-column: 1 / -1; min-height: 32px; margin: 0; font-size: 10px; line-height: 16px; }
.noscript-note { margin: 16px; padding: 14px; background: #fff5cf; font-size: 14px; }

/* The second design keeps the same information and interactions. */
[data-design="editorial"] { --ink: #222421; --green: #242823; --line: #dfdfd8; }
[data-design="editorial"] .site-header { background: #252a25; color: #fff; border: 0; }
[data-design="editorial"] .brand-subtitle { color: #b6c0b6; }
[data-design="editorial"] .site-nav { color: #e9eee7; }
[data-design="editorial"] .portal-section { background: #fff; padding-top: 43px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
[data-design="editorial"] h1, [data-design="editorial"] .section-heading h2, [data-design="editorial"] .teacher-copy h2 { font-family: "Songti SC", "Noto Serif CJK SC", STSong, serif; font-weight: 700; }
[data-design="editorial"] .portal-intro { margin-bottom: 26px; }
[data-design="editorial"] .portal-intro h1 { font-size: 42px; }
[data-design="editorial"] .portal-intro .eyebrow { color: #767b72; }
[data-design="editorial"] .short-rule { background: #dcba36; }
[data-design="editorial"] .portal-grid { grid-template-columns: 1fr; gap: 0; border-top: 2px solid #333b31; }
[data-design="editorial"] .portal { display: grid; grid-template-columns: 64px 230px 1fr 240px; gap: 22px; align-items: center; border: 0; border-bottom: 1px solid #dedfd8; border-radius: 0; min-height: 99px; padding: 23px 18px; background: #fff; color: #292f27; }
[data-design="editorial"] .portal:hover { transform: none; box-shadow: none; background: #faf8ec; }
[data-design="editorial"] .portal-top { margin: 0; }
[data-design="editorial"] .portal-top svg { width: 28px; height: 28px; }
[data-design="editorial"] .portal-index { display: none; }
[data-design="editorial"] .portal h2 { margin: 0; font-size: 23px; }
[data-design="editorial"] .portal p { font-size: 12px; color: #74796e; }
[data-design="editorial"] .portal-footer { margin: 0; padding: 0; }
[data-design="editorial"] .portal-footer span { font-size: 11px; }
[data-design="editorial"] .portal-footer svg { background: #ffe274; width: 32px; height: 32px; padding: 6px; }
[data-design="editorial"] .continue-link { margin-top: 20px; }
[data-design="editorial"] .courses-section { background: #f7f8f4; padding-top: 65px; }
[data-design="editorial"] .course-filters button[aria-pressed="true"] { background: #242c24; }
[data-design="editorial"] .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 26px; }
[data-design="editorial"] .course-card { border: 1px solid #d9dfd5; border-radius: 0; padding: 24px 28px 0; min-height: 0; position: relative; }
[data-design="editorial"] .course-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 3px; background: #d5b942; }
[data-design="editorial"] .course-card h3 { font-size: 21px; min-height: 64px; }
[data-design="editorial"] .course-masthead { margin-bottom: 16px; }
[data-design="editorial"] .course-topic { color: #6a7566; }
[data-design="editorial"] .course-tags { margin-bottom: 16px; }
[data-design="editorial"] .course-summary { max-width: 440px; }
[data-design="editorial"] .teacher-section { background: #fff; color: #263024; padding: 80px 0; }
[data-design="editorial"] .teacher-grid { grid-template-columns: 1.15fr .85fr; gap: 86px; }
[data-design="editorial"] .teacher-photo { order: 2; }
[data-design="editorial"] .teacher-copy { order: 1; }
[data-design="editorial"] .teacher-copy .eyebrow { color: #7d8576; }
[data-design="editorial"] .teacher-copy .heading-dot { color: #c9a62a; }
[data-design="editorial"] .teacher-name span, [data-design="editorial"] .teacher-roles, [data-design="editorial"] .teacher-bio, [data-design="editorial"] .expertise li { color: #707a6c; }
[data-design="editorial"] .experience { border-color: #dbe0d5; }
[data-design="editorial"] .experience > div + div { border-color: #dbe0d5; }
[data-design="editorial"] .experience strong { color: #2e382b; }
[data-design="editorial"] .experience strong span, [data-design="editorial"] .experience p { color: #707a6c; }
[data-design="editorial"] .expertise h3 { color: #323c2d; }
[data-design="editorial"] .site-footer { border-top: 1px solid #e4e7df; background: #f7f8f4; }

@media (min-width: 1600px) {
  .container { width: min(1280px, calc(100% - 128px)); }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .portal { padding: 23px 22px 20px; }
  .portal h2 { font-size: 23px; }
  .portal-domain { font-size: 11px; }
  .course-card { padding-inline: 20px; }
  .course-card h3 { font-size: 18px; min-height: 58px; }
  .teacher-grid { gap: 42px; }
  .teacher-copy h2 { font-size: 30px; }
  .teacher-name span { width: 100%; }
  [data-design="editorial"] .portal { grid-template-columns: 40px 190px 1fr 220px; gap: 15px; }
  [data-design="editorial"] .teacher-grid { gap: 48px; }
}
@media (max-width: 850px) {
  .course-consultation { grid-template-columns: 1fr; gap: 18px; padding: 22px 24px 15px; }
  .wechat-contact { max-width: 350px; width: 100%; }
  .header-inner { min-height: 96px; }
  .site-nav { gap: 20px; font-size: 13px; }
  .brand img { width: 53px; height: 51px; }
  .brand { gap: 12px; }
  .brand-name { font-size: 23px; }
  .brand-subtitle { font-size: 10px; }
  .portal { padding: 20px 18px; }
  .portal h2 { font-size: 20px; }
  .portal p { font-size: 12px; }
  .portal-domain { font-size: 10px; }
  .portal-footer svg { width: 18px; height: 18px; }
  .portal-cta { gap: 8px; padding: 10px 12px; font-size: 12px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .course-card h3 { min-height: 62px; font-size: 20px; }
  .teacher-grid, [data-design="editorial"] .teacher-grid { gap: 32px; grid-template-columns: .85fr 1.15fr; align-items: start; }
  .teacher-copy h2 { font-size: 28px; }
  .teacher-bio { font-size: 12px; }
  .expertise ul { grid-template-columns: 1fr; gap: 6px; }
  .experience strong { font-size: 38px; }
  .experience > div + div { padding-left: 20px; }
  .teacher-photo figcaption { display: block; padding: 12px 14px; }
  .teacher-photo figcaption span { display: block; }
  .teacher-photo figcaption span + span { margin-top: 4px; }
  [data-design="editorial"] .portal { grid-template-columns: 40px 190px 1fr; }
  [data-design="editorial"] .portal p { display: none; }
  [data-design="editorial"] .teacher-grid { grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; gap: 16px; }
  .brand { gap: 9px; }
  .brand img { width: 47px; height: 45px; }
  .brand-name { font-size: 22px; }
  .brand-subtitle { font-size: 8px; }
  .site-nav { font-size: 11px; gap: 14px; }
  .site-nav .nav-entry { display: none; }
  .portal-section { padding: 28px 0 17px; }
  .portal-intro { margin-bottom: 20px; }
  .portal-intro h1, [data-design="editorial"] .portal-intro h1 { font-size: 29px; margin-block: 7px; }
  .portal-intro .eyebrow { font-size: 10px; }
  .intro-copy { font-size: 13px; }
  .intro-note { display: none; }
  .portal-grid { grid-template-columns: 1fr; gap: 10px; }
  .portal { display: grid; grid-template-columns: 31px minmax(0,1fr); column-gap: 12px; row-gap: 3px; padding: 17px 20px; min-height: 0; }
  .portal-top { grid-row: 1 / 4; margin: 0; align-self: start; padding-top: 4px; }
  .portal-top svg { width: 25px; height: 25px; }
  .portal-index { display: none; }
  .portal h2 { grid-column: 2; font-size: 21px; margin: 0 0 2px; }
  .portal p { grid-column: 2; font-size: 11px; }
  .portal-footer { display: contents; }
  .portal-domain { grid-column: 2; font-size: 10px; margin-top: 5px; }
  .portal-cta { grid-column: 1 / -1; margin-top: 11px; min-height: 42px; padding: 10px 13px; font-size: 12px; }
  .portal-cta svg { width: 19px; height: 19px; }
  .continue-link { margin-top: 15px; font-size: 10px; }
  .courses-section { padding: 43px 0; }
  .section-heading { gap: 12px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading > p { font-size: 10px; line-height: 1.8; }
  .course-consultation { margin-bottom: 20px; padding: 20px 19px 11px; gap: 17px; }
  .consultation-copy h3 { font-size: 17px; }
  .consultation-copy h3 > span[aria-hidden] { padding: 0 2px; }
  .consultation-copy p { font-size: 11px; }
  .wechat-id { font-size: 21px; }
  .wechat-action { gap: 10px; }
  .copy-wechat { min-width: 122px; padding-inline: 10px; font-size: 11px; }
  .copy-status { min-height: 36px; font-size: 10px; }
  .course-consultation.dialog-consultation { grid-template-columns: 1fr; gap: 9px; padding: 15px 22px 10px; }
  .dialog-consultation .consultation-copy h3 { margin: 0; font-size: 16px; }
  .dialog-consultation .consultation-copy p { display: none; }
  .course-toolbar { padding-bottom: 17px; }
  .course-filters { gap: 4px; flex-wrap: wrap; }
  .course-filters button { padding: 8px 9px; font-size: 10px; min-height: 36px; }
  .course-filters button span { margin-left: 3px; font-size: 9px; }
  .course-format { display: none; }
  .course-grid, [data-design="editorial"] .course-grid { grid-template-columns: 1fr; gap: 15px; }
  .course-card, [data-design="editorial"] .course-card { min-height: 0; padding: 22px 24px 0; }
  .course-masthead { margin-bottom: 16px; }
  .course-card h3, [data-design="editorial"] .course-card h3 { font-size: 21px; min-height: 0; margin-bottom: 12px; line-height: 1.55; }
  .course-summary { font-size: 12px; margin-bottom: 18px; }
  .course-tags { margin-bottom: 18px; }
  .course-detail { min-height: 50px; }
  .learning-note { align-items: start; gap: 9px; font-size: 11px; padding-top: 22px; }
  .learning-note > span { display: none; }
  .learning-note > svg { margin-top: 1px; flex-shrink: 0; }
  .teacher-section, [data-design="editorial"] .teacher-section { padding: 42px 0; }
  .teacher-grid, [data-design="editorial"] .teacher-grid { display: flex; flex-direction: column; gap: 30px; }
  .teacher-photo, [data-design="editorial"] .teacher-photo { order: 0; width: 100%; }
  .teacher-photo img { aspect-ratio: 5 / 4; object-position: center 28%; }
  .teacher-photo figcaption { display: flex; padding: 14px 18px; }
  .teacher-photo figcaption span + span { margin: 0; }
  .teacher-copy, [data-design="editorial"] .teacher-copy { order: 1; width: 100%; }
  .teacher-copy h2 { font-size: 28px; margin-bottom: 19px; }
  .teacher-copy .eyebrow { font-size: 9px; }
  .teacher-name { font-size: 22px; gap: 10px; }
  .teacher-name span { width: auto; font-size: 11px; }
  .experience { margin: 23px 0; }
  .experience strong { font-size: 43px; }
  .experience > div + div { padding-left: 28px; }
  .teacher-bio { font-size: 13px; }
  .expertise ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .expertise li { font-size: 10px; }
  .site-footer { padding: 26px 0; }
  .footer-inner { gap: 12px; flex-wrap: wrap; }
  .footer-inner strong { font-size: 18px; }
  .footer-inner p { font-size: 10px; }
  .footer-meta { order: 3; width: 100%; margin: 4px 0 0; flex-direction: column; align-items: flex-start; gap: 5px; }
  .footer-icp { padding-left: 0; border-left: 0; }
  .footer-inner > a { width: 32px; height: 32px; margin-left: auto; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); }
  .dialog-heading { padding: 12px 18px; }
  .dialog-content { padding: 22px; }
  .dialog-content h2 { font-size: 23px; }
  .dialog-content p { font-size: 13px; }
  .dialog-content li { padding-left: 29px; }
  [data-design="editorial"] .portal-section { padding: 28px 0 17px; }
  [data-design="editorial"] .portal-grid { gap: 0; }
  [data-design="editorial"] .portal { display: grid; grid-template-columns: 30px minmax(0,1fr) 28px; min-height: 111px; column-gap: 14px; row-gap: 6px; padding: 19px 5px; }
  [data-design="editorial"] .portal h2 { font-size: 21px; grid-column: 2 / 4; }
  [data-design="editorial"] .portal-top { grid-row: 1 / 3; }
  [data-design="editorial"] .portal-footer { display: contents; }
  [data-design="editorial"] .portal-footer span { grid-column: 2; font-size: 11px; margin: 0; }
  [data-design="editorial"] .portal-footer svg { grid-row: 2; width: 27px; height: 27px; padding: 5px; margin: 0; }
  [data-design="editorial"] .courses-section { padding-top: 43px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .site-nav { gap: 10px; font-size: 10px; }
  .brand-subtitle { display: none; }
  .brand-name { font-size: 21px; }
  .brand img { width: 43px; }
  .portal { padding-inline: 15px; }
  .section-heading > p { max-width: 140px; font-size: 9px; }
  .course-filters button { padding-inline: 7px; }
  .footer-inner > a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .preview-bar, .site-nav, .course-filters, .course-detail, .continue-link { display: none; }
  body { padding-top: 0; }
  .container { width: 100%; }
  .course-card { break-inside: avoid; }
}
