/* Guided taster only: preserve the existing site and course layout. */
.guided-taster,.guided-recap{color:#123454;padding-bottom:16px}
.guided-taster .pagehead h2,.guided-recap .pagehead h2{font-size:1.3rem;line-height:1.45}
.guided-taster .pagehead p{font-size:.95rem;line-height:1.6}
.guided-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 14px}
.guided-lessons button{display:grid;grid-template-columns:1fr auto;text-align:left;align-items:center;gap:3px;padding:10px 12px;background:#fff;border:1px solid #cbd9e8;border-radius:14px;color:#254968;min-height:80px;cursor:pointer}
.guided-lessons button>span{font-size:.875rem;grid-column:1/-1}.guided-lessons b{font-size:1.85rem;line-height:1.3}.guided-lessons small{font-size:.875rem}
.guided-lessons .selected{background:#103858;color:#fff;border-color:#103858;box-shadow:inset 0 -3px #ffc44d}
.guided-progress{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#536981}.guided-progress b{color:#164d87}
.guided-taster .taster-progress{margin:7px 0 12px;height:5px}.guided-taster .taster-progress i{background:#2371c9}
.guided-stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-bottom:12px}
.guided-stages button{border:1px solid transparent;border-radius:9px;padding:7px 1px;min-height:56px;background:transparent;color:#536981;cursor:pointer;font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}
.guided-stages button span{display:block;font-size:.875rem}.guided-stages .completed{color:#17664d}.guided-stages .selected{background:#e5effc;border-color:#9cbde7;color:#164d87;font-weight:700}
.guided-card{border:1px solid #ccdceb;background:#fff;border-radius:20px;padding:16px;overflow-wrap:anywhere}
.guided-card-heading{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#5b7187;margin-bottom:16px}.guided-card-heading b{color:#1d527f;font-size:1rem}
.guided-sound{font-size:clamp(4.5rem,20vw,6.25rem);line-height:1.25;font-weight:800;color:#1766b6;min-height:118px;display:grid;place-items:center}
.guided-blend{text-align:center;color:#1766b6;font-weight:800}.guided-blend>div:first-child{display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(2.5rem,11vw,3.25rem)}.guided-blend small{font-size:1.4rem;color:#6b8299;font-weight:400}.blend-arrow{font-size:1.5rem;color:#7890a7;display:block;margin:0 auto}.guided-blend .blend-result{font-size:clamp(3rem,14vw,4rem);line-height:1.25}.blend-result sup{font-size:2.3rem;color:#80530a;vertical-align:baseline;background:#fff0c6;border-radius:8px;margin-left:3px;padding:0 5px}.guided-blend>p{font-size:1.65rem;color:#193d5c;margin:4px 0}
.guided-tone-word{display:flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(3rem,14vw,4rem);font-weight:800;color:#1766b6;line-height:1.25}.guided-tone-word>b{background:#fff0c6;color:#80530a;border-radius:9px;padding:0 7px}.guided-character{text-align:center;font-size:1.8rem;margin:4px 0;color:#193d5c}.guided-tone{display:flex;gap:10px;align-items:center;justify-content:center;margin:8px 0 0;padding:5px 8px;background:#f3f7fc;border-radius:12px;color:#1c69b9}.guided-tone .tone-plot{width:145px;height:96px;flex:0 1 145px}.guided-tone figcaption{font-size:1rem;line-height:1.5;color:#1e4a70}.guided-tone figcaption small{display:block;font-size:.875rem;color:#526981}
.guided-words{display:flex;justify-content:center;align-items:center;gap:9px;font-size:2.5rem;font-weight:800;line-height:1.4;flex-wrap:wrap}.guided-words small{font-size:1.3rem;color:#7890a7}.guided-jyut{font-size:1.65rem;line-height:1.6;font-weight:750;color:#1766b6;text-align:center;margin-top:10px;overflow-wrap:anywhere}.guided-jyut>span{display:block;font-size:1rem;color:#7890a7;line-height:1.1}.guided-sentence{font-size:clamp(1.8rem,8.7vw,2.6rem);line-height:1.6;font-weight:800;text-align:center;margin:16px 0 12px}.guided-taster .sentence-jyut{font-size:2rem;line-height:1.5;word-spacing:.12em}
.guided-tip{font-size:1.1rem;line-height:1.7;color:#334e67;padding:12px 0 0;margin:12px 0 0;border-top:1px solid #e3ebf3}.guided-source{font-size:.875rem;line-height:1.6;margin:10px 0 0;color:#586e83}
[data-taster-focus]{border-radius:7px;transition:background-color .12s,color .12s}.guided-taster .speaking{background:#ffedb7;color:#714a00;box-shadow:0 0 0 3px #ffedb7}
.guided-taster .guided-status{min-height:44px;font-size:.95rem;line-height:1.6;color:#375a78;padding:10px 3px;margin:0;white-space:normal}
.guided-controls{display:grid;gap:8px;grid-template-columns:1fr}.guided-controls .cta,.guided-controls .relisten{margin:0;min-height:50px;font-size:1.05rem;line-height:1.4;white-space:normal;border-radius:12px;padding:12px 10px}.guided-controls .relisten{background:#edf4ff;border:1px solid #aecaea;color:#175da4;font-weight:750}.guided-controls button:disabled{opacity:.55;cursor:default}
.guided-footer{display:flex;justify-content:space-between;gap:12px;margin:10px 0}.guided-footer button{border:0;background:transparent;min-height:44px;font-size:.9rem;color:#355a7c;cursor:pointer;padding:5px 2px}.guided-footer button:disabled{opacity:.4}
.guided-recap-list{display:grid;gap:10px;margin-top:16px}.guided-recap-list button{background:#fff;border:1px solid #cbdcec;border-radius:14px;padding:15px;text-align:left;color:#153c5e;cursor:pointer}.guided-recap-list b{display:block;font-size:1.55rem;line-height:1.5}.guided-recap-list span{display:block;font-size:1.2rem;color:#1b64b0;line-height:1.6}.guided-recap-list small{display:block;font-size:.95rem;line-height:1.6;color:#536981;margin-top:4px}.guided-next{border-top:1px solid #cedeed;padding:15px 0 4px;margin-top:18px}.guided-next h3{font-size:1.25rem;margin:0 0 8px}.guided-next p{font-size:1rem;line-height:1.7;margin:0 0 13px}.guided-next small{font-size:.875rem;line-height:1.6;display:block;color:#536981}.guided-recap .small-note{font-size:.875rem}
.guided-taster button:focus-visible,.guided-recap button:focus-visible{outline:3px solid #1766b6;outline-offset:3px}
@media(max-width:360px){.guided-card{padding:12px}.guided-lessons button{padding:8px}.guided-tone{flex-wrap:wrap}.guided-taster .sentence-jyut{font-size:1.7rem}.guided-stages{gap:1px}}
@media(prefers-reduced-motion:reduce){[data-taster-focus],.guided-taster .taster-progress i{transition:none}}
.guided-audio-help{border:1px solid #c6d8ea;background:#fff;padding:10px;border-radius:10px;width:100%;color:#185b9a;font-size:.95rem;min-height:44px;margin-top:8px;cursor:pointer}
.guided-audio-help[hidden]{display:none}
/* The completed trial becomes a purchase introduction, with no replay controls. */
.taster-offer{padding-bottom:20px;color:#153956}.taster-offer .pagehead h2{font-size:1.15rem}.taster-offer-hero{background:#123b60;border-radius:20px;color:#fff;padding:22px 18px}.offer-eyebrow{display:block;font-size:.875rem;line-height:1.6;letter-spacing:.02em}.taster-offer-hero .offer-eyebrow{color:#cadff3}.taster-offer-hero h1{font-size:1.85rem;line-height:1.5;margin:12px 0}.taster-offer-hero>p{font-size:1rem;line-height:1.75;margin:0 0 14px;color:#e2edf8}.offer-price{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;padding:15px 0 7px}.offer-price>span{font-size:1rem}.offer-price>strong{font-size:3.1rem;line-height:1.2;color:#ffd16a;letter-spacing:-.03em}.offer-price strong small{font-size:1.15rem;margin-left:5px;letter-spacing:0}.offer-price>b{flex-basis:100%;font-size:1rem;font-weight:600;margin-top:8px}.taster-offer-hero .cta{min-height:52px;font-size:1.1rem;white-space:normal}.taster-offer .offer-demo{font-size:.875rem;line-height:1.6;margin:9px 0 0;color:#576e83}.taster-offer-hero .offer-demo{color:#d0e1f1}.offer-included{margin-top:23px}.taster-offer h2{font-size:1.4rem;line-height:1.5;margin:0 0 12px}.offer-included ul{list-style:none;padding:0;margin:0}.offer-included li{border-bottom:1px solid #dbe5ef;padding:13px 0}.offer-included b{display:block;font-size:1.05rem;color:#174b78;margin-bottom:6px}.offer-included li span{display:block;font-size:1rem;color:#4b647c;line-height:1.7}.offer-referral{margin:23px 0 0;padding:18px;background:#eef5fc;border:1px solid #c7dcee;border-radius:16px}.offer-referral .offer-eyebrow{color:#496d90;margin-bottom:7px}.offer-referral>p{font-size:1rem;line-height:1.75;margin:8px 0}.offer-referral strong{color:#15599a}.offer-referral .offer-rule{font-size:.9rem;color:#4c637a}.offer-referral .cta{background:#fff;font-size:1rem;white-space:normal}.offer-close{margin:20px 0 12px}.offer-close>p{font-size:1.15rem;line-height:1.6;font-weight:700}.offer-close small{display:block;color:#536e86;font-size:.875rem;line-height:1.7}.taster-offer button:focus-visible{outline:3px solid #2868ae;outline-offset:3px}

/* Keep the action row visible while only the lesson body scrolls. */
.phone.tasting #content{overflow:hidden;display:flex;flex:1 1 0%;min-height:0;flex-direction:column;padding-bottom:0}
.phone.tasting .bottom{position:static;flex:0 0 auto;min-height:72px}
.guided-taster{display:flex;flex-direction:column;flex:1 1 0%;min-height:0;overflow:hidden;padding-bottom:0}
.guided-scroll{flex:1 1 0%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:16px}
.guided-taster .guided-controls{flex:none;display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.6fr);gap:8px;margin:0;padding:12px 0;background:#fff;border-top:1px solid #ccdceb;z-index:2}
.guided-controls button{min-height:52px;margin:0!important;white-space:normal;line-height:1.35}
.guided-lessons button{min-height:48px;grid-template-columns:auto 1fr auto;padding:7px 10px}
.guided-lessons button>span{grid-column:auto}.guided-lessons b{font-size:2.5rem;font-weight:800;line-height:1.15}
.guided-lessons{margin-bottom:8px}.guided-card-heading{margin-bottom:8px}
.guided-taster .pagehead p{margin-bottom:8px}.guided-stages button{min-height:46px;padding:4px 1px}

/* Make the two target characters easy to recognise without widening the cards. */
.guided-taster .guided-character,.guided-taster .guided-blend>p{font-size:2.75rem;font-weight:800;line-height:1.3;margin:6px 0}
@media(max-width:360px){.guided-lessons button{column-gap:3px;padding:7px 6px}.guided-lessons b{font-size:2.25rem}}

.guided-word-meaning{font-size:1.125rem;line-height:1.4;font-weight:650;text-align:center;color:#254968;margin:6px 0 10px;overflow-wrap:break-word}

/* Keep the explanation switch with the lesson heading instead of spending a full row below the target. */
.guided-card-heading{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 9px}
.guided-card-heading>span{justify-self:end}
.guided-card-heading>.explanation-toggle{width:auto;min-height:38px;margin:0;padding:5px 8px;font-size:.8rem;line-height:1.2;gap:6px}
.guided-card-details{min-height:0}

/* On the tone step, the target, switch and complete five-line pitch plot stay in view; only its notes scroll. */
@media(max-width:520px){
 .taster-tone-stage .pagehead{padding:3px 0 2px}
 .taster-tone-stage .pagehead p{display:none}
 .taster-tone-stage .guided-lessons{margin:2px 0 4px;gap:5px}
 .taster-tone-stage .guided-lessons button{min-height:39px;padding:4px 7px}
 .taster-tone-stage .guided-lessons button>span,.taster-tone-stage .guided-lessons small{font-size:.75rem}
 .taster-tone-stage .guided-lessons b{font-size:1.85rem}
 .taster-tone-stage .guided-progress{font-size:.75rem}
 .taster-tone-stage .taster-progress{margin:3px 0 5px}
 .taster-tone-stage .guided-stages{margin-bottom:5px}
 .taster-tone-stage .guided-stages button{min-height:38px;padding:2px 1px;font-size:.75rem;line-height:1.25}
 .taster-tone-stage .guided-stages button span{font-size:.75rem}
 .taster-tone-stage .guided-card{padding:8px 10px}
 .taster-tone-stage .guided-card-heading{margin-bottom:3px}
 .taster-tone-stage .guided-card-heading>.explanation-toggle{min-height:34px;padding:3px 7px;font-size:.75rem}
 .taster-tone-stage .guided-tone-word{font-size:2.6rem;line-height:1.1}
 .taster-tone-stage .guided-character{font-size:2rem;line-height:1.15;margin:1px 0}
 .taster-tone-stage .guided-tone{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(90px,.6fr);gap:5px;width:100%;margin:2px 0;padding:2px 5px}
 .taster-tone-stage .guided-tone .tone-plot{display:block;width:100%;height:104px;max-width:none}
 .taster-tone-stage .guided-tone figcaption{font-size:.85rem;line-height:1.3}
 .taster-tone-stage .guided-tone figcaption small{font-size:.75rem}
 .taster-tone-stage .guided-card-details{max-height:70px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .taster-tone-stage .guided-tip{font-size:.9rem;line-height:1.4;margin:4px 0 0;padding:5px 0 0}
 .taster-tone-stage .guided-source{font-size:.75rem;line-height:1.35;margin:4px 0 0}
}
