:host{display:block;contain:style;inline-size:min(96vw,1760px);max-inline-size:none;position:relative;left:50%;transform:translateX(-50%)}
.uc-app{--paper:#fffdf7;--canvas:#f8f5ef;--ink:#352519;--navy:#142b43;--muted:#665f59;--gold:#ad7d40;--line:#e9decd;--soft:#f6efe4;--green:#145e4e;--red:#b31831;--serif:Georgia,'Songti TC',serif;font-family:-apple-system,BlinkMacSystemFont,'PingFang TC','Microsoft JhengHei',sans-serif;color:var(--ink);background:var(--canvas);font-size:16px}*{box-sizing:border-box}.uc-app{margin:0;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.28;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #a16c20;outline-offset:3px}svg{width:23px;height:23px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}img{display:block;max-width:100%}button{border:0}p,h1,h2,h3{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.workbench{max-width:1080px;margin:0 auto;padding:18px 24px;display:flex;gap:18px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.workbench strong{font:21px var(--serif)}.workbench small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.tools{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.tools button,.tools a{font-size:13px;min-height:40px;border:1px solid #d9c9b0;border-radius:7px;background:var(--paper);padding:8px 11px;text-decoration:none}.tools button[aria-pressed=true]{background:#593918;color:#fffdf3;border-color:#593918}.stage{width:min(100%,430px);margin:0 auto;background:var(--canvas);position:relative;padding-bottom:24px;--inset:16px;--peek:32px;--gap:12px}.brand-row{padding:20px 18px 10px;display:flex;align-items:baseline;justify-content:space-between}.brand{font:25px var(--serif);letter-spacing:-.025em}.scope-tag{font-size:12px;color:#74624a}.heading{padding:14px 18px 4px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.heading h1{font:600 27px/1.3 var(--serif);letter-spacing:.015em}.all-teachers{display:flex;gap:2px;align-items:center;min-height:44px;font-size:13px;background:none}.all-teachers svg{width:14px;height:14px}.subhead{padding:0 18px;font-size:13px;color:var(--muted);line-height:1.6}.selector-shell{position:sticky;top:0;z-index:10;padding:9px 10px 12px;background:#f8f5eff5;backdrop-filter:blur(16px);border-bottom:1px solid #e9decd00;display:flex;gap:2px;align-items:center}.arrow-control{display:grid;place-items:center;width:30px;height:44px;flex-shrink:0;background:none;color:#624322}.arrow-control svg{width:20px;height:20px}.selector{display:flex;flex:1;min-width:0;justify-content:space-between;gap:0}.teacher-tab{display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px 0 0;background:transparent;min-width:0;flex:1;max-width:90px;font-size:12px;white-space:nowrap;color:#564a3a;position:relative;line-height:1.35}.avatar{width:54px;height:54px;border-radius:50%;padding:3px;background:#fffdf9;border:1px solid #d8cebf;box-shadow:0 3px 8px #62432110}.avatar img{border-radius:50%;height:100%;width:100%;object-fit:cover}.teacher-tab[aria-selected=true] .avatar{border:2px solid #c5924a;padding:2px;box-shadow:0 0 0 2px #f3e8d4}.teacher-tab[aria-selected=true]{color:#382415;font-weight:700}.teacher-tab[aria-selected=true]:after{content:'';width:18px;height:2px;background:#a57336;margin-top:0;position:absolute;bottom:-5px;border-radius:3px}.rail{display:flex;gap:var(--gap);padding:10px calc(var(--peek) + var(--gap)) 14px var(--inset);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--inset);overscroll-behavior-x:contain;scrollbar-width:none;align-items:flex-start;transition:height .15s ease}.rail::-webkit-scrollbar{display:none}.teacher-card{flex:0 0 100%;scroll-snap-align:start;min-width:0;border-radius:22px;border:1px solid #c9aa76;box-shadow:0 6px 20px #482e1210,0 0 0 3px #eee1ca50;overflow:hidden;background:var(--paper);position:relative}.hero{position:relative;height:270px;background:#25170d;isolation:isolate;overflow:hidden;color:#fffaf0}.hero:before{content:'';position:absolute;inset:0;background-image:var(--warm);background-size:cover;filter:brightness(.55);z-index:-3}.hero-photo{position:absolute;width:76%;height:100%;right:-1px;top:0;object-fit:cover;object-position:50% 40%;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#130c06ef 0%,#1d1109b0 38%,#24130710 70%);z-index:-1}.hero-badge{display:inline-flex;align-items:center;gap:7px;margin:13px 14px 0;padding:7px 12px;border:1px solid #d4aa61;border-radius:24px;background:linear-gradient(125deg,#5e4115ba,#25180fab);box-shadow:inset 0 1px 4px #ffde9255;color:#fff4d6;line-height:1.3;max-width:84%}.hero-badge svg{width:25px;height:25px;fill:#e9be74;stroke-width:.8;color:#e9be74}.hero-badge b{font-size:13px;font-weight:500;display:block}.hero-badge span{font-size:11px}.hero-copy{position:absolute;left:16px;bottom:23px;max-width:74%;text-shadow:0 1px 10px #0006}.eyebrow{font-size:10px;line-height:1.4;letter-spacing:.15em;font-weight:400;max-width:80px}.teacher-name{font:400 57px/1.07 var(--serif);letter-spacing:-.035em;margin:4px 0 3px;white-space:nowrap}.teacher-role{font-size:16px;line-height:1.5;font-weight:500}.hero-method{font-size:13px;line-height:1.6;max-width:180px;margin-top:4px}.hero-meta{display:flex;align-items:center;gap:5px;font-size:13px;margin-top:7px}.hero-meta svg{width:15px;height:15px}.art-label{position:absolute;right:9px;bottom:8px;font-size:10px;color:#fff5d8;letter-spacing:.08em;background:#302113bb;padding:2px 6px;border-radius:3px}.source-mode .art-label{background:#38281ddd}.placeholder-hero{background:linear-gradient(120deg,#2b2018,#86633e)}.placeholder-hero .hero-copy{max-width:90%;bottom:24px}.placeholder-hero .teacher-name{font-size:44px}.placeholder-hero .hero-badge{max-width:78%;padding:7px 11px}.source-portrait-bubble{position:absolute;right:16px;top:70px;border:1px solid #e9c28399;border-radius:50%;width:72px;height:72px;object-fit:cover}.placeholder-note{position:absolute;right:10px;bottom:10px;color:#faebc9;font-size:11px}.meta-line{padding:2px 12px;display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid #f3ede3;color:var(--navy);min-height:46px;font-size:13px}.location{display:flex;gap:6px;align-items:center;min-width:0}.location svg{color:#69471f;width:17px;height:17px}.review-link{background:none;display:flex;align-items:center;gap:5px;min-height:44px;font-size:13px;white-space:nowrap;padding:0;color:var(--navy)}.review-link svg{color:#65411c;width:20px;height:20px}.review-link .chevron{width:13px;height:13px}.body-card{padding:0 10px 10px}.topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0 9px}.topic{border:1px solid #e9decb;background:linear-gradient(180deg,#fff,#fffdf7);border-radius:10px;min-height:62px;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;color:var(--navy);font-size:13px;line-height:1.45;text-align:center}.topic svg{width:25px;height:25px;color:#6a401b}.topic em{font-style:normal;font-size:11px;color:#776b5d}.availability{width:100%;border:1px solid #c5ddcb;border-radius:11px;background:linear-gradient(110deg,#f1f7e9,#f0f7f0);display:flex;align-items:center;gap:7px;padding:10px 10px;color:var(--green);text-align:left;min-height:66px}.bolt{width:25px;height:32px;fill:#e7ad48;stroke:#e7ad48;stroke-width:1}.availability strong{font-size:16px;line-height:1.5;font-weight:650;display:block}.availability small{font-size:13px;line-height:1.5;color:#5a655d;display:block}.availability .chevron{margin-left:auto;width:19px}.price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 2px 4px;min-height:96px}.price-data{min-width:0}.price-old{font-size:14px;color:#756e67;text-decoration-thickness:1px;display:block;line-height:1.5}.amount{font:650 38px/1.18 var(--serif);letter-spacing:-.04em;color:#432309;white-space:nowrap}.approx{font-size:14px;color:#6b6b68;display:flex;align-items:center;gap:4px;line-height:1.5}.info{padding:0;background:none;color:#6b6b68;display:grid;place-items:center;width:25px;height:30px}.info svg{width:15px;height:15px}.promo{color:var(--red);border:1px solid #f3d9d1;border-radius:11px;background:linear-gradient(145deg,#fff4ef,#fae8e1);padding:10px 9px;min-width:108px;text-align:center;max-width:46%}.promo-label{display:flex;align-items:center;justify-content:center;gap:4px;font-size:13px;font-weight:600}.promo-label svg{width:17px;height:17px}.countdown{font-size:15px;line-height:1.6;white-space:nowrap;font-variant-numeric:tabular-nums;margin-top:3px}.countdown .days{display:block;font-size:13px}.status-caption{font-size:11px;color:#7b6a58;line-height:1.5;margin:0 3px 6px}.cta{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:55px;width:100%;border:1px solid #e0bc79;border-radius:11px;color:#fffdf3;font:600 20px/1.4 var(--serif);background:linear-gradient(180deg,#9d662f 0%,#704119 49%,#4e2b11 100%);box-shadow:inset 0 0 0 1px #e7c89050,0 3px 8px #7247121f;overflow:hidden}.cta:before,.cta:after{content:'';position:absolute;top:0;bottom:0;width:65px;opacity:.32;pointer-events:none;background-size:cover}.cta:before{left:0;background-image:var(--cta-left)}.cta:after{right:0;background-image:var(--cta-right)}.cta>span,.cta>svg{z-index:1}.cta svg{width:24px;height:24px}.cta .arrow{width:20px}.secondary-cta{width:100%;margin-top:8px;min-height:45px;border:1px solid #775233;border-radius:10px;background:linear-gradient(180deg,#fffefb,#fbf8f0);display:flex;justify-content:center;align-items:center;gap:10px;font-size:16px}.secondary-cta svg{width:21px;height:21px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px}.service{background:#fffefa;border:1px solid #eee3d1;border-radius:12px;box-shadow:0 3px 6px #8c60160a;text-align:center;padding:9px 3px 10px;color:var(--navy);min-width:0}.service svg{margin:0 auto 5px;color:#775025;width:24px;height:24px}.service strong{font-size:13px;display:block;font-weight:600;line-height:1.55}.service small{display:block;font-size:12px;line-height:1.5;color:#6d6c68;margin-top:3px}.alternative{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px;margin-top:10px;background:linear-gradient(115deg,#eadac0,#faf6ee 43%,#f4ecdc);border:1px solid #ebdcc1;border-radius:12px;overflow:hidden;position:relative}.manuscript{height:100%;min-height:138px;position:relative;overflow:hidden}.manuscript img{height:100%;position:absolute;inset:0;object-fit:cover;width:100%}.manuscript span{position:absolute;bottom:3px;left:3px;background:#fff8e8dd;color:#765325;font-size:9px;padding:2px 4px}.alt-copy{padding:10px 9px 9px 0}.alt-copy h3{font-size:14px;font-weight:550;display:inline-block;padding:3px 9px;background:#f0d7b1;border-radius:14px;line-height:1.45}.alt-copy p{font-size:14px;line-height:1.6;color:var(--navy);margin-top:5px}.alt-link{width:100%;min-height:44px;background:none;display:flex;gap:6px;align-items:center;justify-content:space-between;text-align:left;color:#6b411b;font-size:14px;font-weight:600;padding:7px 0 0}.alt-link svg{width:17px;height:17px}.quote{display:flex;width:100%;text-align:left;align-items:center;gap:7px;margin-top:10px;padding:12px 11px;border:1px solid #eadfc9;border-radius:13px;background:linear-gradient(125deg,#fffefa,#fdf9ef);color:var(--navy);min-height:103px}.quote-mark{font:56px/.75 var(--serif);color:#cda468;align-self:flex-start;margin-top:8px}.quote-content{flex:1;min-width:0}.quote blockquote{margin:0;font-size:14px;line-height:1.75;font-weight:450}.quote cite{font-size:11px;font-style:normal;color:#706a61;display:block;margin-top:5px}.quote>svg{width:17px;height:17px;color:#6c4622}.pager{display:flex;align-items:center;justify-content:center;gap:2px;min-height:46px}.pager button{display:grid;place-items:center;width:38px;height:44px;background:none;padding:0}.pager i{width:8px;height:8px;background:#d6cabc;border-radius:50%}.pager [aria-current=true] i{background:linear-gradient(135deg,#d4a458,#7c4415);box-shadow:0 0 0 2px #eee0c3}.counter{font-size:13px;color:#6b635c;min-width:40px}.swipe-tip{text-align:center;font-size:12px;color:#7e715f;margin-top:-2px}.preview-boundary{padding:9px 20px 0;font-size:11px;line-height:1.6;color:#756854;text-align:center}.lab-link{background:none;text-decoration:underline;min-height:36px;font-size:12px;color:#785427;padding:4px 6px}.thumb-note{font-size:10px;color:#83766b}
dialog{padding:0;border:1px solid #dec9a4;border-radius:20px;background:#fffdf7;color:#38271b;width:min(460px,calc(100vw - 24px));max-height:84dvh;box-shadow:0 18px 60px #21130640}dialog::backdrop{background:#241a1066;backdrop-filter:blur(3px)}.dialog-head{padding:21px 54px 14px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fffdf7;z-index:2}.dialog-head h2{font:600 25px/1.4 var(--serif)}.close{position:absolute;top:9px;right:8px;width:44px;height:44px;background:none;font-size:27px}.dialog-body{padding:20px 22px 24px;font-size:16px;line-height:1.85}.dialog-body p{margin:0 0 14px}.dialog-body .boundary{border-left:2px solid #b68e51;padding:10px 12px;background:#f4ecdf;font-size:14px;color:#675541}.dialog-body .out-link{display:flex;align-items:center;justify-content:center;margin-top:16px;background:#67401c;color:#fffaf1;min-height:48px;border-radius:9px;text-decoration:none;padding:10px 14px;line-height:1.5;font-size:15px}.dialog-body .sub-link{display:block;min-height:44px;margin-top:8px;font-size:14px;color:#765329}.dialog-body blockquote{margin:0 0 8px;font-family:var(--serif);font-size:23px}.dialog-body ul{margin:0 0 16px;padding-left:20px}.dialog-body .list-teachers{display:grid;gap:8px}.dialog-body .list-teachers button{display:flex;align-items:center;justify-content:space-between;min-height:60px;text-align:left;background:#f5eedf;border:1px solid #e5d6bd;padding:12px 14px;border-radius:9px}.dialog-body .list-teachers small{display:block;font-size:13px;color:#75664f}.text-enlarged .stage{--scale:1.2}.text-enlarged .body-card :is(p,strong,small,em,button,span){font-size:calc(1em * 1.08)}
.uc-app.capture .workbench{display:none}.uc-app.capture .brand-row{padding-top:16px}.uc-app.embedded .workbench,.uc-app.embedded .preview-boundary,.uc-app.embedded .source-tools,.uc-app.embedded .art-label{display:none}.uc-app.embedded .stage{margin:0 auto}.uc-app.embedded{background:var(--canvas)}
@media(min-width:480px){.stage{margin:20px auto 30px;box-shadow:0 10px 60px #5139140c;border-radius:16px}}@media(max-width:370px){.avatar{width:46px;height:46px}.teacher-tab{font-size:11px}.selector-shell{padding-left:4px;padding-right:4px}.arrow-control{width:26px}.teacher-name{font-size:50px}.hero-role{font-size:15px}.hero-method{font-size:12px}.hero-badge b{font-size:12px}.topic{font-size:12px}.amount{font-size:34px}.promo{min-width:95px;padding:8px 5px}.service strong{font-size:12px}.availability strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Final R1 refinements: preserve the chosen artwork; fix text/image clearances. */
.hero-copy{bottom:18px;max-width:71%}.teacher-name{font-size:52px}.hero-badge{padding:5px 10px;gap:6px;margin-top:12px}.hero-badge svg{width:22px}.hero-badge b{font-size:12px}.hero-badge span{font-size:11px}.hero .eyebrow{font-size:9px;line-height:1.35}.hero-role{font-size:15px}.hero-method{font-size:12px}.hero-meta{font-size:12px}.hero-copy .eyebrow{margin-bottom:4px}.hero-badge{position:relative;z-index:1}.source-portrait-bubble{top:71px;width:60px;height:60px}.placeholder-hero .hero-copy{bottom:28px}.placeholder-hero .teacher-name{font-size:39px}.placeholder-hero .eyebrow{display:none}.placeholder-hero .hero-method{max-width:210px}.service{padding-bottom:8px}.cta:before,.cta:after{opacity:.46;background-position:center}.manuscript img{object-position:50% 70%}
.arrow-control{width:44px;height:44px}.info{width:44px;height:44px}.pager button{width:44px;height:44px}.tools button,.tools a{min-height:44px}
@media(max-width:370px){.selector-shell{padding-left:3px;padding-right:3px}.arrow-control{width:40px;min-height:44px}.teacher-tab{min-width:44px}.avatar{width:44px;height:44px}}

.uc-app [hidden]{display:none!important}.native-mirror .status-caption{font-size:12px;line-height:1.6}.native-mirror .price-row{flex-wrap:wrap}.native-mirror .amount{overflow-wrap:anywhere}.native-mirror .availability strong{white-space:normal}.native-mirror .review-link span{overflow-wrap:anywhere}
.teacher-card.has-active-promo .amount{color:#b42335;font-weight:800}
.teacher-card.is-unavailable .cta{background:#9a9185;border-color:#cfc4b4;box-shadow:none}
.teacher-card:not(.is-unavailable) .cta{border-color:rgba(127,84,32,.62);background:linear-gradient(135deg,#c59a53,#a47532);box-shadow:0 14px 28px rgba(133,91,39,.3)}
.teacher-card:not(.is-unavailable) .cta:hover{background:linear-gradient(135deg,#d1aa68,#ae803c);box-shadow:0 18px 34px rgba(133,91,39,.36)}
.teacher-card:not(.is-unavailable) .cta:active{background:linear-gradient(135deg,#ad8242,#8f6428);box-shadow:0 8px 18px rgba(133,91,39,.24)}
/* Keep both card actions in the same sans-serif voice as the Hero CTA. */
.teacher-card .cta,.teacher-card .secondary-cta{font-family:Inter,"Noto Sans TC",sans-serif;font-weight:650}
.source-tools{text-align:center}.uc-app{--warm:url("/img/brand/mor-a/overlays/mor-a-documentary-fog-v2.webp");--cta-left:url("/img/optimized/fortune-entry/mor-a-manuscript-1-640.webp?v=20261018fortunefast1");--cta-right:url("/img/optimized/fortune-entry/mor-a-manuscript-2-640.webp?v=20261018fortunefast1");}.teacher-card[data-teacher="rani"] .hero-photo{object-position:50% 30%;image-rendering:auto}.teacher-card[data-teacher="ajarn-new"] .hero-photo{object-position:52% 24%}.teacher-card[data-teacher="palm-sarisa"] .hero-photo{object-position:50% 30%}
.cta::before,.cta::after{content:none!important;background-image:none!important;display:none!important}

/* R3 mockup calibration: preserve the chosen composition at its intended
   mobile density instead of scaling every text block as a headline. */
.stage{--inset:12px;--peek:28px;--gap:10px;padding-bottom:14px}.brand-row{padding:15px 16px 5px}.brand{font-size:21px}.heading{padding:9px 16px 2px}.heading h1{font-size:24px}.subhead{padding:0 16px;font-size:12px}.selector-shell{padding:6px 6px 9px}.avatar{width:48px;height:48px}.teacher-tab{font-size:11px;gap:3px}.rail{padding-top:7px;padding-bottom:9px}.teacher-card{border-radius:18px}.hero{height:244px}.hero-badge{margin:10px 11px 0;padding:4px 9px}.hero-badge svg{width:19px;height:19px}.hero-badge b{font-size:11px}.hero-badge span{font-size:9px}.hero-copy{left:13px;bottom:14px;max-width:69%}.teacher-name{font-size:46px}.teacher-role{font-size:14px}.hero-method,.hero-meta{font-size:11px}.favorite{position:absolute;right:11px;top:11px;z-index:2;width:40px;height:40px;border:1px solid #f2dcae;border-radius:50%;display:grid;place-items:center;color:#fff8e8;background:#2b1a0a66;backdrop-filter:blur(5px)}.favorite svg{width:23px;height:23px}.favorite[aria-pressed=true] svg{fill:#f2c875}.meta-line{min-height:40px;padding:0 10px;font-size:12px}.review-link{min-height:40px;font-size:12px}.body-card{padding:0 8px 8px}.topic-grid{gap:4px;margin:6px 0}.topic{min-height:52px;border-radius:8px;font-size:11px;gap:2px}.topic svg{width:21px;height:21px}.topic em{font-size:10px}.availability{min-height:55px;padding:7px 9px}.availability strong{font-size:14px}.availability small{font-size:11px}.bolt{width:21px;height:27px}.price-row{min-height:76px;padding:8px 2px 2px}.price-old{font-size:12px}.amount{font-size:33px}.approx{font-size:12px}.promo{min-width:96px;padding:7px 6px}.promo-label,.countdown,.countdown .days{font-size:12px}.status-caption{font-size:10px;margin-bottom:4px}.cta{min-height:48px;border-radius:9px;font-size:17px;gap:9px}.cta svg{width:21px;height:21px}.secondary-cta{min-height:41px;margin-top:6px;border-radius:8px;font-size:14px}.service-grid{gap:5px;margin-top:7px}.service{min-height:78px;border-radius:9px;padding:7px 2px}.service svg{width:21px;height:21px;margin-bottom:3px}.service strong{font-size:11px;line-height:1.4}.service small{font-size:10px;line-height:1.35}.alternative{grid-template-columns:68px minmax(0,1fr);min-height:98px;margin-top:7px;border-radius:9px}.manuscript{min-height:98px}.alt-copy{padding:7px 7px 6px 0}.alt-copy h3{font-size:11px}.alt-copy p,.alt-link{font-size:12px}.alt-link{min-height:36px;padding-top:3px}.quote{min-height:82px;margin-top:7px;padding:9px;border-radius:9px}.quote:disabled{opacity:1;cursor:default}.quote-mark{font-size:45px}.quote blockquote{font-size:12px;line-height:1.55}.quote cite{font-size:10px;margin-top:3px}.pager{gap:1px;min-height:44px}.pager button{width:30px;height:40px}.pager .pager-arrow{width:40px;height:40px;border:1px solid #dfd4c4;border-radius:50%;background:#fff}.pager .pager-arrow svg{width:17px;height:17px}.counter{font-size:12px;min-width:34px}.swipe-tip{font-size:11px}
.rail{align-items:flex-start}
.availability[data-state="empty"]{border-color:#dfd3bf;background:#f8f4ec;color:#654f36}.availability[data-state="empty"] .bolt{fill:#b58a49;stroke:#b58a49}.availability[data-state="empty"] small{color:#756b5f}
.reading-type{position:absolute;right:11px;top:11px;z-index:2;max-width:43%;padding:6px 10px;border:1px solid #e8c77e;border-radius:999px;background:#21150bbd;backdrop-filter:blur(6px);color:#fff5da;font-size:11px;font-weight:650;line-height:1.25;text-align:center}.teacher-details{margin:7px 0 6px;padding:8px 9px;border:1px solid #eadfcf;border-radius:9px;background:#fbf7ef;color:#314254}.teacher-details p{font-size:11px;line-height:1.55}.fit-line{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:start}.teacher-details b{color:#754a20;font-weight:650;white-space:nowrap}.teacher-description{margin:6px 0 0!important;padding:6px 0 0;border-top:1px solid #eee2d0;color:#4f4b45}

/* R3 compact identity: one useful partnership label, no decorative English title. */
.hero-badge{min-height:28px;padding:3px 9px;gap:5px}.hero-badge svg{width:17px;height:17px}.hero-badge span{font-size:10px;line-height:1.25}.hero-copy{bottom:14px}.teacher-name{margin-top:0}

/* Native controls can bind a moment after the visual card is ready. Keep the
   complete card legible during that brief handoff instead of washing it out. */
.availability:disabled,.cta:disabled,.secondary-cta:disabled,.review-link:disabled,.alternative:disabled{opacity:1}

/* The full handwritten-service panel is one control; retain the original visual
   treatment while making every visible part of the panel activate the link. */
.alternative{width:100%;padding:0;text-align:left;color:inherit}
.alternative .manuscript{display:block}
.alternative .alt-copy{display:block}
.alternative .alt-heading{font-size:14px;font-weight:550;display:inline-block;padding:3px 9px;background:#f0d7b1;border-radius:14px;line-height:1.45}
.alternative .alt-description{display:block;font-size:14px;line-height:1.6;color:var(--navy);margin-top:5px}
.alternative .alt-link{background:none}
@media(max-width:479px){.alternative .alt-heading{font-size:11px}.alternative .alt-description,.alternative .alt-link{font-size:12px}}

/* Desktop keeps the same horizontal browsing model as mobile, while using the
   wider canvas to reveal several complete cards at once. */
@media(min-width:768px){
  :host{inline-size:100%;position:static;left:auto;transform:none}
  .stage{width:100%;padding:18px 44px 32px;--gap:18px}
  .brand-row,.heading,.subhead{padding-left:0;padding-right:0}
  /* The full cards already form the desktop selector. Keeping the avatar strip
     here made two competing navigation systems directly adjacent. */
  .selector-shell{display:none}
  .rail{display:flex;gap:var(--gap);padding:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;align-items:flex-start;height:auto!important}
  .teacher-card{flex:0 0 calc((100% - var(--gap))/2);width:auto;min-width:0;scroll-snap-align:start}
  .pager,.swipe-tip{display:none}
}
@media(min-width:1100px){
  .stage{--peek:44px}
  .rail{padding-right:0;scroll-padding-right:0;mask-image:linear-gradient(to right,#000 calc(100% - var(--peek)),transparent 100%)}
  .teacher-card{flex-basis:calc((100% - (var(--gap) * 2) - var(--peek)) / 3)}
  .teacher-details{margin:10px 0 9px;padding:10px 11px}
  .teacher-details p{font-size:13px;line-height:1.6}
  .topic{font-size:12px}
  .topic em{font-size:11px}
  .swipe-tip{display:block;margin:9px 0 0;text-align:right;font-size:12px;color:#715d49}
}

/* Reviews stay a scannable preview. Their source text remains available to the
   existing review action, while the card surface never grows with testimonial
   length. Non-Mor-A card heights are synchronized by fitRail after hydration. */
.quote blockquote{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.quote cite{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:768px){.quote{height:116px;min-height:116px;overflow:hidden;align-items:flex-start}}

/* Mobile dialogs stay within the viewport and keep their copy padded and wrapped. */
dialog{width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(84dvh,720px);overflow:auto;overscroll-behavior:contain}
.dialog-head{min-height:72px;padding:14px 68px 14px 20px;display:flex;align-items:center}
.dialog-head h2{min-width:0;overflow-wrap:anywhere;font-size:23px}
.close{top:50%;right:12px;transform:translateY(-50%);display:grid;place-items:center;border-radius:50%}
.dialog-body{min-width:0;overflow-wrap:anywhere;word-break:normal}

.schedule-info { min-height:44px; margin:4px 0 10px; padding:8px 12px; border:1px solid #b8b5a6; border-radius:999px; color:#145e4e; background:transparent; font:inherit; font-size:13px; cursor:pointer; }
.schedule-info:focus-visible { outline:3px solid #145e4e; outline-offset:3px; }

/* Ann's launch identity occupies only the empty-review area. */
.ann-partnership { min-height:82px; margin-top:7px; padding:16px 18px; border:1px solid #b99b5c; border-radius:9px; background:#142b43; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:5px; }
.ann-partnership strong { color:#eed097; font:600 25px/1.15 Georgia,serif; letter-spacing:.04em; }
.ann-partnership span { color:#fffdf7; font-size:13px; line-height:1.6; }
@media(min-width:768px){ .ann-partnership { min-height:116px; } }

/* Keep adjacent teacher names separate on a 320px phone. */
@media(max-width:340px){.teacher-tab{font-size:10px}.teacher-tab>span:last-child{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.25;min-height:25px}.avatar{width:40px;height:40px}}
