/* Scoped by inclusion on the Hong Kong English programme pages. */
.hk-phrase {display:inline-block;white-space:nowrap}
.course-review .hk-floating-contact[hidden], .hk-demo button[hidden] {display:none!important}
.course-review .hk-floating-contact {position:fixed;right:16px;bottom:max(12px,env(safe-area-inset-bottom));z-index:22;min-height:44px}
.course-review .hk-demo {margin:16px 0 20px;background:white;color:var(--navy);padding:14px 20px;border:1px solid var(--line);border-radius:10px;text-align:left}
.hk-demo figcaption {display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px;line-height:1.4}
.hk-demo button {background:transparent;color:var(--navy);border:0;text-decoration:underline;cursor:pointer;min-height:44px;min-width:44px;font:inherit}
.hk-demo ol {list-style:none;margin:0;padding:0}
.hk-demo li {display:grid;grid-template-columns:minmax(7em, 26%) minmax(0,1fr);gap:10px;border-inline-start:3px solid var(--line);padding:10px 12px;margin:0;color:var(--ink);font-size:16px;line-height:1.5;transition:background .24s ease,border-color .24s ease}
.hk-demo li + li {margin-top:3px}
.hk-demo .hk-step-seen {border-color:var(--green);background:#f5f8ed}
.hk-demo .hk-step-current {border-color:var(--navy);background:var(--ice)}
.hk-demo li strong {font-size:inherit}
.hk-demo mark {background:#e6efbb;color:inherit}
.hk-home-feedback {max-width:56rem;margin:24px auto}
.course-review .hk-chart-key {display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.course-review .reading-evidence-map i {font-size:16px}
.course-review .genre-family {--family-tone:#eaf3f7}
.course-review .genre-family:nth-child(2) {--family-tone:#f0f4df}
.course-review .genre-family:nth-child(3) {--family-tone:#f9e9e5}
.course-review .genre-family:nth-child(4) {--family-tone:#eceef7}
.course-review .genre-tiles .genre-tile {background:var(--family-tone)}
.course-review .genre-family .genre-icon {width:26px;height:26px}
.course-review .esssp-unit-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.course-review .esssp-unit {min-width:0;align-self:start}
.course-review .esssp-unit:has(details[open]) {grid-column:1/-1}
.course-review .esssp-unit summary {min-height:0;padding:16px}
.course-review .esssp-unit .esssp-unit-heading {display:block;padding:0;margin:0}
.course-review .hk-unit-icon {display:block;width:24px;height:24px;margin-bottom:6px}
.course-review .esssp-unit-heading .esssp-unit-label,.course-review .esssp-unit-heading .esssp-unit-action {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.course-review .esssp-unit-heading .esssp-unit-title {font-size:18px;line-height:1.4}
.course-review .esssp-unit-heading .esssp-unit-theme {font-size:16px;line-height:1.5}
.course-review .esssp-unit-heading .esssp-toggle {top:1px}
.course-review .v6-portraits,.course-review .teacher-profile-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:1000px;margin-inline:auto;gap:16px}
.course-review .v6-portraits figure,.course-review .teacher-profile {display:grid;grid-template-columns:minmax(90px,.75fr) minmax(0,1fr);align-items:center;gap:16px;background:white;color:var(--navy);padding:16px;border:1px solid var(--line);border-radius:10px;max-width:none;width:auto;margin:0}
.course-review .v6-portraits figure img,.course-review .teacher-profile img {width:100%;max-width:none;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:6px}
.course-review .v6-portraits figcaption {position:static;display:grid;gap:4px;background:none;text-align:start;padding:0;color:var(--navy)}
.course-review .v6-portraits figcaption small,.course-review .teacher-profile [lang=en]:not(h3) {font-size:14px;line-height:1.45}
.course-review .hk-teaching-note {font-size:16px;line-height:1.55;margin:6px 0}
.hk-video {position:relative;aspect-ratio:16/9;background:var(--navy)}
.hk-video button,.hk-video iframe,.hk-video img {display:block;width:100%;height:100%;border:0;padding:0;max-width:none}
.hk-video button {position:relative;cursor:pointer;background:transparent}
.hk-video button span {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:white;background:var(--navy);font-size:22px}
.course-review .breadcrumbs,.course-review .breadcrumbs :is(a,span) {font-size:14px}
.course-review main :is(small,.eyebrow,.teacher-eyebrow,.tiny-label,.v6-context,.hk-caption,.course-term,.v6-example-label,.teacher-illustration,.v7-photo-credit) {font-size:14px}
@media(max-width:767px){
 .course-review .breadcrumbs {display:none}
 .course-review .esssp-unit-grid,.course-review .genre-family .genre-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .course-review .esssp-unit summary {padding:10px}
 .course-review .esssp-unit-heading .esssp-unit-title {font-size:16px}
 .course-review .esssp-unit-heading .esssp-unit-theme {font-size:14px}
 .course-review .genre-family .genre-tile {display:flex;align-items:flex-start;flex-direction:column;padding:10px;min-width:0;gap:4px;overflow-wrap:anywhere}
 .course-review .genre-tile p {margin:0}
 .course-review .hk-demo {padding:6px 10px;margin:10px 0}
 .hk-demo li {display:block;padding:7px 10px}
 .hk-demo li>strong {display:block}
 .course-review .teacher-profile-grid,.course-review .v6-portraits {grid-template-columns:1fr;gap:8px}
 .course-review .teacher-profile,.course-review .v6-portraits figure {grid-template-columns:minmax(72px,28%) minmax(0,1fr);gap:12px;padding:10px}
 .course-review .hk-phrase {font-size:inherit;letter-spacing:inherit}
 .course-review :is(.wg-delivery,.esssp-catalog,.esssp-mode,.hk-section,.v6-faculty,.brand-support,.v6-writing-path,.teacher-section) {padding-block:26px}
 .course-review .hk-home-feedback {margin:16px 0}
 .course-review .hk-video button {min-height:44px}
}
@media(prefers-reduced-motion:reduce){.hk-demo li {transition:none}}

/* Caption and legend sizes in the original Hong Kong layouts. */
html body.course-review article.feedback-story>header>p.feedback-context,
html body.course-review blockquote.feedback-quote>cite,
html body.course-review details.course-format>summary>span,
html body.course-review details.v6-deep.v8-mixed-writing>div>p.v6-context,
html body.course-review details.v6-deep>div>p.v6-context,
html body.course-review details.v6-reveal>div>p.v6-context,
html body.course-review details.v6-skill-library.v6-deep>div>p.v6-context,
html body.course-review div.course-dropdown>a>span,
html body.course-review div.course-overview.course-overview--brief>div>span,
html body.course-review div.experience-copy>p.eyebrow,
html body.course-review div.feedback-reading>strong,
html body.course-review div.mf-bottom>span,
html body.course-review div.student-network-person>span.student-network-label,
html body.course-review div.tab-nav>a,
html body.course-review div.tab-nav>a>span,
html body.course-review div.v6-reference-line>div>span,
html body.course-review div.v8-orbit-controls.js-only>button,
html body.course-review div.v8-subject-balance>span,
html body.course-review div.v8-subject-balance>span>b,
html body.course-review div.wrap>p.v6-level-note,
html body.course-review figure.v8-orbit-diagram>figcaption,
html body.course-review figure.v8-orbit-diagram>figcaption>span,
html body.course-review h3.esssp-unit-heading>span.esssp-unit-label,
html body.course-review nav.feedback-topics>a>span,
html body.course-review ol.v8-mixed-route>li>span,
html body.course-review p.v6-context>a,
html body.course-review span.esssp-unit-action>span.esssp-show,
html body.course-review ul.brand-partner-grid>li>span,
html body.course-review ul.lesson-list>li>span.lesson-code,
html body.course-review ul.lesson-list>li>span>strong {font-size:14px!important}
.course-review .hk-extended summary {display:flex;align-items:center;min-height:44px;text-decoration:underline;cursor:pointer}
.course-review .v6-portraits figcaption :is(span,b,small,p) {color:var(--navy)}
.course-review .v6-portraits figcaption span {font-size:16px}
html .course-review .actions :is(a.button,.line-cta-label,.text-link,.text-link>span) {font-size:16px}
html .course-review :is(.course-format,.feedback-reading,.reading-benefit-head,.teacher-video-copy) > p:not([class]),html .course-review main :is(.v8-orbit-feedback,.v8-lesson-goal,.esssp-curriculum-key) {font-size:16px}
@media(max-width:767px){html .course-review .experience-copy .hk-hero-lead,html .course-review .people-hero-lead {font-size:16px}}
.course-review .v8-course-total p {font-size:16px}
.course-review .hk-chart-key .course-term {font-size:16px}
@media(max-width:767px){
 .course-review #start .hk-start-grid {gap:0}
 .course-review #start .hk-start-grid article {display:grid;grid-template-columns:2em 1fr;gap:3px 10px;padding:12px 0;min-height:0;border-width:0 0 1px}
 .course-review #start .hk-start-grid article>span {grid-row:span 2;font-size:16px}
 .course-review #start .hk-start-grid article :is(h3,p) {margin:0}
 .course-review #reading-in-action .hk-reading-paper {min-height:0;padding:14px 18px}
 .course-review #reading-in-action .hk-reading-paper p {font-size:20px;line-height:1.45;margin:4px 0}
 .course-review #reading-in-action .hk-evidence {gap:14px}
 .course-review.page-index main .section-head,.course-review.page-index .brand-support-heading,.course-review .v6-section-head {margin-bottom:16px}
 .course-review .brand-support .brand-team-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .course-review .brand-team-grid figcaption {padding:8px}
 .course-review .brand-team-grid .hk-phrase {white-space:normal;text-wrap:balance}
 .course-review .brand-team-grid figcaption p .hk-phrase {white-space:nowrap}
 .course-review #writing-levels .writing-stop {gap:6px;padding:12px;min-height:0}
 .course-review #writing-levels .writing-stop p {line-height:1.55;margin-block:6px}
 .course-review #writing-levels .wg-delivery {margin-block:16px;padding-block:12px}
 .course-review #writing-levels .v6-deep {margin-block:10px}
 .course-review .v6-writing-studio,.course-review #writing-levels {padding-block:24px}
 .course-review #writing-levels .v6-genre-header {margin-block:18px}
 .course-review .closing {padding-block:36px;min-height:0}
 .course-review .hk-section .wrap {padding-block:0}
}
@media(max-width:767px){
 /* The shared home skin sets 48px above and below every section. */
 .course-review.page-index main>section:not(.experience-hero) {padding-block:22px!important}
 .course-review #reading-in-action .hk-evidence {display:block}
 .course-review #reading-in-action .hk-evidence details {margin:10px 0}
 .course-review.page-index .learning-card .learning-card-photo {height:155px}
 .course-review #learning-deck .learning-card-copy {padding:14px 18px}
 .course-review .v6-section-heading>p,.course-review .brand-support-heading>p {margin-block:8px}
 .course-review .brand-support-overview {padding-block:12px}
 .course-review .brand-recognition,.course-review .brand-team {margin-top:16px;padding-top:12px}
 .course-review .hk-home-feedback h3 {color:inherit;margin:0}
 .course-review .v6-teaching-links {padding-top:10px;margin-top:8px}
 .course-review .v6-teaching-links .v6-classroom-link {min-height:64px}
 .course-review #writing-levels .writing-stop {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:12px}
 .course-review .writing-stop>div {justify-self:end}
 .course-review .writing-stop :is(p,a) {grid-column:1/-1}
 .course-review #writing-levels .writing-advanced-intro {margin-top:22px}
 .course-review .page-writing .wg-genre-scope,.course-review .wg-dlp {margin-block:12px}
 .course-review .course-panorama--writing>img {height:195px}
 .course-review #writing-levels .genre-family>summary {min-height:44px;padding:10px}
 .course-review .v6-section-head h2,.course-review .wg-delivery-head h3 {margin-block:8px}
 .course-review #writing-levels .v6-deep>summary {min-height:44px;padding-block:10px}
}
html body.course-review .closing .closing-inner p:not(.eyebrow),
html body.course-review .reading-foundation-actions>div>p,
html body.course-review .reading-benefit-example>div>p {font-size:16px;line-height:1.65}
@media(max-width:767px){
 .course-review.home-v7 .learning-card .learning-card-photo {height:140px}
 .course-review.home-v7 .experience-hero .wrap {padding-block:24px}
 .course-review .brand-support-overview .student-network {max-width:280px;margin-inline:auto}
 .course-review.home-v7 .brand-support-overview {gap:8px}
 .course-review.page-index .v6-faculty .v6-section-heading {margin-bottom:12px}
 .course-review.page-index .hk-start-grid,.course-review.page-index .hk-faq-list {margin-block:10px}
 .course-review.page-writing .world-cover>img {height:200px}
 .course-review .world-cover--writing .wrap {padding-block:22px}
}

/* Break at editorial phrase boundaries while allowing the same copy to reflow. */
.course-review main :is(h1,h2,h3,h4,h5,h6,.esssp-unit-title) {text-wrap:balance}
.course-review main .hk-words {display:inline-block;white-space:nowrap;font:inherit;letter-spacing:inherit;color:inherit}
.course-review .reading-evidence-map {display:grid;grid-template-columns:auto auto auto auto auto auto auto;align-items:center;justify-content:center;gap:6px}
.course-review .reading-evidence-map>span {font-size:16px}
.course-review .reading-evidence-map>span,.course-review .reading-evidence-map>strong {min-width:0;padding:8px;text-align:center}
.course-review .reading-evidence-map .flow-down {display:none}
@media(max-width:767px){
 .course-review.page-esssp .motion-facts li {padding-inline:4px;text-align:center}
 .course-review.page-esssp .motion-facts li>span {white-space:nowrap}
 .course-review .reading-passage-banner {grid-template-columns:minmax(0,1fr)}
 .course-review .reading-world-title h4 br {display:initial}
 .course-review .reading-evidence-map {grid-template-columns:minmax(0,1fr);justify-items:center;gap:4px}
 .course-review .reading-evidence-map>span,.course-review .reading-evidence-map>strong {width:100%;max-width:224px;box-sizing:border-box}
 .course-review .reading-evidence-map .flow-across {display:none}
 .course-review .reading-evidence-map .flow-down {display:inline}
}

@media(max-width:359px){
 .course-review .reading-passage-banner h4 {font-size:25px}
 .course-review.page-esssp .motion-facts li>span {display:block}
 .course-review .v6-genre-header {gap:12px}
 .course-review .v6-genre-header>strong {font-size:54px}
 .course-review .v6-genre-header h3 {font-size:22px}
}

.course-review main :is(h1,h2,h3,h4,h5,.genre-tile strong) {text-wrap:balance}
.course-review:lang(ko) main {word-break:keep-all;overflow-wrap:break-word}
.course-review .hk-home-feedback {padding-inline:clamp(16px,4vw,32px)}
.course-review .hk-floating-contact {background:#143b49;color:white;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:8px 14px;max-width:85vw;font-size:16px}
.course-review .hk-unit-icon {color:inherit}
.course-review .esssp-unit-theme {display:block;margin-top:.35em;font-weight:400;text-wrap:pretty}
@media(max-width:767px){
.course-review .genre-tiles {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.course-review .genre-tile {min-width:0!important;padding:10px!important;overflow-wrap:break-word}
.course-review .esssp-unit-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.course-review .esssp-unit {min-width:0}
.course-review .esssp-unit:has(details[open]) {grid-column:1/-1}
.course-review .hk-demo li {display:block}
.course-review .hk-demo li>strong {display:block}
.course-review .hk-demo li>div {margin-top:3px}
.course-review main :is(.stage-level,.course-grid-chart small,.lesson-cells small,.genre-tile strong,.genre-tile [lang],.en-caption,.teacher-video-copy small,.esssp-show,.esssp-hide,.course-grid-chart li,.course-term,.tiny-label,.esssp-unit-label) {font-size:14px!important}
.course-review :is(.reading-understand-art,.reading-argument-art,.skill-art.meaning,.skill-art.argument) {display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;min-width:0}
.course-review :is(.reading-understand-art,.reading-argument-art,.skill-art.meaning,.skill-art.argument)>* {width:auto!important;min-width:max-content;white-space:nowrap;flex:none!important}
}

body.course-review[data-course-market="tw"] :is(div.v8-device-actions>p,div.v8-device-grid>article>span) {font-size:max(14px,1em)}

body.course-review[data-course-market="kr"] :is(a.kakao-cta>span,div.k-class-videos>article>div>span,div.k-course-spec>p,div.k-demo-question>span,div.k-editorial-teasers>a>span,div.k-faculty-grid>figure>figcaption>p,div.k-faculty-grid>figure>figcaption>span,div.k-faq-panel-heading>span,div.k-fixed-grid>article>p,div.k-number-ribbon>article>span,nav.k-tab-nav>a>span,p.k-course-name>span,p.k-eyebrow) {font-size:max(14px,1em)}

body.course-review[data-course-market="th"] :is(p.small.th-example-note) {font-size:max(14px,1em)}

body.course-review[data-course-market="jp"] :is(a.download-banner>div>p,b.round-icon,div.benefit-grid>article>p,div.benefit-grid>article>span,div.course-facts>div>b,div.course-facts>div>span,div.evidence-actions>button,div.foundation-grid>div>article>p,div.lesson-example>p,div.prepare-grid>div>p,div.prepare-grid>div>span,div.science-stats>div>b,div.section-heading>p,div.sound-tiles>i,div.start-grid>a>b,div.start-grid>article>p,div.wrap>div>p,div.wrap>div>span,header.stage-heading>p,nav.tab-nav>a>b,nav.tab-nav>a>span,p.cycle-dlp>b,p.cycle-dlp>span,p.lead,p.small-note,p.writing-example-note,span.earth,span.orbit-label) {font-size:max(14px,1em)}

@media(max-width:767px){
 body.course-review #contact-v8-dock {display:none!important}
 body.course-review .hk-floating-contact {z-index:65}
 body.course-review .en-section,body.course-review .k-section {padding-block:clamp(22px,5vw,36px)}
 body.course-review .hk-demo {margin-block:12px;padding:12px}
 body.course-review .hk-demo li {padding:7px 10px}
 body.course-review .genre-tile {min-height:0}
 body.course-review .trust-strip .wrap {grid-template-columns:repeat(3,minmax(0,1fr))}
}

body.course-review[data-course-market="kr"] .k-course-fact,
body.course-review[data-course-market] .nav-language {font-size:14px}
.course-review :is(.esssp-unit-theme,.esssp-unit-title,.genre-tile strong) {text-wrap:balance}
.course-review .word-group {display:inline-block;white-space:nowrap}

/* Keep small labels legible inside expanded lessons and FAQ answers. */
body.course-review details.faq > div > p,
body.course-review details.faq > div > p :is(strong,a) {font-size:max(14px,1em)}
body.course-review[data-course-market="tw"] :is(
  div.course-dropdown>a>strong>span.word-group,
  div.reading-learning-tools>div>span,
  div.reading-paper-loop>div>p,
  div.reading-paper-loop>div>span,
  div.reading-passage-banner>div>span,
  div.reading-skill-intro>span.reading-skill-stamp,
  div.reading-text-worlds>figure>figcaption>p,
  div.reading-text-worlds>figure>figcaption>span,
  div.reading-theme-bridge>b,
  div.reading-theme-bridge>span,
  div.reading-thinking-chain>span
) {font-size:max(14px,1em)}
body.course-review[data-course-market="th"] :is(
  div.reading-paper-loop>div>p,
  div.reading-paper-loop>div>span,
  div.reading-passage-banner>div>span,
  div.reading-plan-kept>span,
  div.reading-plan-new>span,
  div.reading-skill-intro>span.reading-skill-stamp,
  div.reading-text-worlds>figure>figcaption>p,
  div.reading-text-worlds>figure>figcaption>span,
  div.reading-theme-bridge>b,
  div.reading-theme-bridge>span,
  div.reading-thinking-chain>span,
  section.reading-breadth>header>span,
  section.reading-depth>header>span
) {font-size:max(14px,1em)}
body.course-review[data-course-market="jp"] :is(
  article.level-block.klmn>p.bridge-lead,
  article.level-block>p.reading-method-lead,
  details.disclosure.passage-example>div>p,
  details.disclosure>div>p,
  details.disclosure>div>p>a,
  details.disclosure>div>p>span,
  details.disclosure>div>p>strong,
  details.disclosure>div>ul>li,
  details.disclosure>div>ul>li>strong,
  div.home-tabs>button,
  div.kept-part>span,
  div.mixed-grid>div>b,
  div.mixed-grid>div>p,
  div.new-part>span,
  div.passage-banner>div>p,
  div.reading-coach>div>b,
  div.reading-coach>div>p,
  div.reading-genres>article>p,
  div.rhythm>p,
  div.rhythm>span,
  div.skill-grid>article>p,
  div.skills-workbench>div>p,
  div.theme-bridge>span,
  div.thinking-chain>b,
  div.thinking-chain>span,
  div.worksheet-loop>div>span,
  .trust-strip .wrap>div>strong,
  nav.level-jump>a>span,
  section.extensive>p,
  section.intensive>p,
  ul.skill-library>li>b,
  ul.skill-library>li>span
) {font-size:max(14px,1em)}
body.course-review[data-course-market="kr"] :is(
  a.k-course-card.esssp>div>span.card-link,
  a.k-course-card.reading>div>span.card-link,
  a.k-course-card.writing>div>span.card-link,
  article.flow-extra>p,
  article.flow-familiar>p,
  div.k-cycle-caption>b,
  div.k-cycle-caption>span,
  nav.k-tab-nav>a,
  ol.k-worksheet-flow>li>span
) {font-size:max(14px,1em)}

.course-review[data-course-market="jp"] main :is(h1,h2,h3,h4,h5,h6) {word-break:auto-phrase;line-break:strict;text-wrap:balance}
@media (max-width:390px) {
  .course-review[data-course-market="jp"] .trust-strip .wrap {grid-template-columns:1fr}
  .course-review[data-course-market="jp"] .trust-strip strong br {display:none}
  .course-review[data-course-market="tw"] .v6-reference-line {grid-template-columns:repeat(3,minmax(0,1fr))}
}
body.course-review .v6-reference-line .word-group,
body.course-review .trust-strip .word-group {font-size:inherit}
@media (max-width:360px) {
  .course-review[data-course-market="jp"] .feedback-phrase {font-size:24px}
}

@media (max-width: 340px) {
  body.course-review.page-reading[data-course-market="jp"] .course-facts {display:grid;grid-template-columns:1fr}
}
body.course-review[data-course-market="kr"] .hero-word-card > span {font-size:14px}
