.portal-body{--wine:#930d43;--ink:#641333;--gold:#bd882a;color:var(--ink);background:#fff;font-size:15px;min-height:100vh;display:flex;flex-direction:column}
.portal-wrap{width:min(1180px,calc(100% - 88px));margin-inline:auto}



.portal-body h1{font-size:clamp(40px,4.4vw,62px);line-height:1.04;color:var(--wine);letter-spacing:-.03em}.portal-body h1 em{font-style:italic}.portal-body h2{font-size:34px;letter-spacing:-.03em}.portal-body h3{font-size:26px;letter-spacing:-.02em}.portal-body .eyebrow{font-size:10px;letter-spacing:.15em}.portal-body .button{font-size:13px;padding:11px 23px;min-height:43px}.portal-body .button.small{min-height:36px;padding:8px 18px;font-size:11px}.portal-body main{flex:1}.portal-body p{line-height:1.6}.portal-body .subtle{color:#78636c}
.account-main{padding-top:28px}.portal-intro{margin-bottom:38px}.portal-intro h1{margin-bottom:15px}.portal-intro p:last-child{margin:0;color:#735060}.section-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.section-line>span,.section-line>small{font-size:12px;color:#846b75}.section-line h2{font-size:29px}
.owned-course{border:1px solid #eddae2;border-radius:15px;overflow:hidden;display:grid;grid-template-columns:43% 57%;margin-bottom:24px;background:linear-gradient(115deg,#fff,#fffafb)}.owned-course>img{height:100%;min-height:320px;width:100%;object-fit:cover}.owned-copy{padding:30px 36px 28px}.access-badge{display:inline-flex;font-size:9px;letter-spacing:.14em;color:#725629;border:1px solid #ddc9a4;border-radius:20px;padding:5px 11px;margin-bottom:17px;background:#fffdf8}.owned-copy h2{font-size:40px;margin-bottom:10px}.owned-copy>p{max-width:420px;font-size:14px;margin-bottom:24px}.progress-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:7px}.portal-body progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;background:#eddee4;accent-color:var(--wine)}.portal-body progress::-webkit-progress-bar{background:#eddee4}.portal-body progress::-webkit-progress-value{background:linear-gradient(90deg,#bb456f,#7d0d39);border-radius:10px}.portal-body progress::-moz-progress-bar{background:#8d1542}.continue-row{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.continue-row small{font-size:11px;max-width:250px}.continue-row .button{white-space:nowrap}
.recommendations{margin-top:49px;margin-bottom:65px}.recommendation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.recommendation-grid article{min-width:0}.recommendation-grid img{width:100%;height:auto;aspect-ratio:2.1;object-fit:cover;border-radius:10px;margin-bottom:16px}.recommendation-grid h3{font-size:27px;margin-bottom:7px}.recommendation-grid p{font-size:12px;margin-bottom:12px}.recommendation-grid .text-link{font-size:12px}
.portal-footer{border-top:1px solid #cfac64;padding:22px 0 28px;display:flex;align-items:center;justify-content:space-between;margin-top:50px;gap:20px}.portal-footer .brand{font-size:27px}.portal-footer nav{display:flex;gap:26px;font-size:12px}.portal-footer a{text-decoration:none}
.course-main{padding-top:10px}.back-link{display:inline-block;text-decoration:none;font-size:12px;margin-bottom:25px}.course-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.course-heading .eyebrow{margin-bottom:8px}.course-heading h1{font-size:50px}.learning-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}.lesson-content{min-width:0}.lesson-player{position:relative;aspect-ratio:16/9;background:#f8edf1;overflow:hidden;border-radius:13px;isolation:isolate}.player-poster{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.poster-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:linear-gradient(0deg,#41142870,#3014250a);color:white;padding:25px;text-shadow:0 1px 12px #3f102c66}.poster-overlay .eyebrow{color:white;font-size:9px;margin-bottom:9px}.poster-overlay h2{font-size:clamp(22px,2.6vw,38px);max-width:550px;text-wrap:balance}.poster-overlay>span:last-child{font-size:11px;font-weight:600}.play-trigger{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffffffb0;background:#fffc;color:#8c1243;font-size:21px;margin:20px 0 11px;box-shadow:0 5px 20px #36112120;backdrop-filter:blur(4px)}.play-trigger:hover{background:#fff;transform:scale(1.04)}.play-trigger span{margin-left:4px}.lesson-player iframe{width:100%;height:100%;position:absolute;inset:0;border:0;background:#111}.video-consent{font-size:10px!important;color:#79616d;margin:11px 0 24px;line-height:1.65!important}.lesson-description{padding:10px 0}.lesson-description h2{font-size:34px;margin-bottom:14px;line-height:1.12}.lesson-description>p:not(.eyebrow){font-size:14px}.lesson-description>.eyebrow{margin-bottom:10px}.lesson-downloads{margin:25px 0;padding:22px 0;border-top:1px solid #ebdfe4;border-bottom:1px solid #ebdfe4}.lesson-downloads h3{font-size:23px;margin-bottom:15px}.download-item{margin-bottom:14px}.download-item:last-child{margin-bottom:0}.download-item small{display:block;font-size:10px;color:#80616f;margin-top:7px}.download-item .button{font-size:12px;text-align:left}.lesson-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:27px;margin-bottom:13px}.lesson-actions .button{font-size:12px}.workbook-card{background:linear-gradient(120deg,#fbf0f5,#fff9fa);border:1px solid #eedee5;border-radius:13px;padding:25px 24px;margin-bottom:22px}.workbook-card h2{font-size:29px;line-height:1.07;margin-bottom:10px}.workbook-card>p:not(.eyebrow){font-size:12px}.workbook-card .button{width:100%;background:#fff}.chapter-card{border:1px solid #eadddf;border-radius:13px;padding:23px 22px}.chapter-card .section-line h2{font-size:26px}.chapter-card .section-line{margin-bottom:15px}.chapter-list{list-style:none;padding:0;margin:19px 0 0}.chapter-list>li{border-top:1px solid #eee3e8;padding:3px 0}.chapter-list summary{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.4;font-weight:650;padding:15px 0;cursor:pointer;list-style:none}.chapter-list summary::-webkit-details-marker{display:none}.chapter-number{color:var(--gold);font-family:var(--serif);font-size:20px;min-width:25px}.chapter-chevron{margin-left:auto}.chapter-list .current{color:var(--wine)}.chapter-children{padding:0 0 9px 35px;display:grid;gap:5px}.chapter-children a{font-size:11px;text-decoration:none;display:flex;align-items:center;gap:8px;padding:9px 7px;border-radius:5px}.chapter-children a.selected{background:#f9edf2;font-weight:800}.chapter-children a:hover{background:#faf2f5}
.portal-form-card{background:linear-gradient(130deg,#fcf3f6,#fffafb);border:1px solid #f0e0e7;border-radius:15px;padding:35px}.portal-form-card h2{margin-bottom:14px}.portal-form-card>p{font-size:13px}.portal-form-card .field{margin-bottom:19px}.portal-form-card .field>span{font-size:12px}.portal-form-card input,.portal-form-card textarea{background:#fff;border-color:#dec9d2;border-radius:8px;color:var(--ink);font-size:14px}.portal-form-card textarea{resize:vertical}.portal-form-card>.text-link{margin-top:18px;font-size:12px}.portal-form-card .field small{font-size:10px}.login-grid{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center;padding-top:35px;padding-bottom:40px;max-width:1060px}.login-grid h1{font-size:67px;margin-bottom:20px}.login-grid section>p:not(.eyebrow){max-width:430px}.login-art{margin-top:25px;aspect-ratio:2.25;object-fit:cover;width:100%;border-radius:12px}.profile-card{max-width:650px}.reset-card{max-width:570px;margin:50px auto 80px}.reset-card h1{font-size:44px;margin-bottom:20px}.reset-card p{margin-bottom:20px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:70px;align-items:start;padding-top:38px;padding-bottom:35px}.contact-intro h1{font-size:61px;line-height:1.02;margin-bottom:24px}.contact-intro>p:not(.eyebrow){font-size:14px;max-width:410px}.contact-photo{margin:28px 0 25px;aspect-ratio:1.67;object-fit:cover;width:100%;clip-path:polygon(0 0,100% 0,89% 100%,0 100%);border-radius:11px}.contact-intro .text-link{font-size:14px;margin-top:5px}.contact-form h2{font-size:38px}.contact-form .form-grid{gap:18px}.topic-picker{border:0;padding:0;margin:23px 0 25px;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}.topic-picker label{position:relative}.topic-picker input{position:absolute;opacity:0;width:1px;height:1px}.topic-picker span{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #dcb8c9;border-radius:9px;padding:12px 8px;font-size:11px;font-weight:700;background:white;min-height:45px;cursor:pointer}.topic-picker input:checked+span{background:var(--wine);color:white;border-color:var(--wine)}.topic-picker input:focus-visible+span{outline:3px solid var(--gold);outline-offset:3px}.contact-reassurance{margin-top:13px!important;text-align:center;font-size:10px!important}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.empty-state{border:1px solid #eedee5;border-radius:12px;padding:32px;background:#fdf8fa;text-align:left}.empty-state h2{font-size:30px;margin-bottom:14px}.empty-state p{font-size:14px;max-width:650px}.purchase-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13px}.purchase-row p{margin:5px 0 0;font-size:12px}.purchase-row>span{font-size:12px}.admin-poster{width:260px;max-height:160px;object-fit:cover;border-radius:9px;margin:10px 0 12px}
@media(min-width:900px){.course-sidebar{position:sticky;top:calc(var(--sticky-header-height,114px) + 20px);max-height:calc(100vh - var(--sticky-header-height,114px) - 40px);overflow-y:auto;scrollbar-width:thin;padding-right:4px}}
@media(max-width:1100px){.learning-grid{grid-template-columns:minmax(0,1fr) 300px;gap:23px}.contact-grid{gap:38px}.contact-intro h1{font-size:52px}.portal-form-card{padding:28px}.owned-copy{padding:25px}.owned-copy h2{font-size:35px}.continue-row{align-items:flex-start;flex-direction:column;gap:12px}.login-grid{gap:45px}.login-grid h1{font-size:59px}}
@media(max-width:800px){.portal-wrap{width:calc(100% - 42px)}.portal-body h1{font-size:45px}.account-main{padding-top:23px}.portal-intro{margin-bottom:30px}.portal-intro>p{font-size:13px}.owned-course{grid-template-columns:1fr}.owned-course>img{height:240px;min-height:0;aspect-ratio:1.8}.owned-copy{padding:26px}.continue-row{flex-direction:row;align-items:center}.recommendation-grid{gap:18px}.recommendation-grid h3{font-size:23px}.recommendation-grid p{font-size:11px}.recommendations .section-line{align-items:flex-start;flex-direction:column;gap:8px}.learning-grid{grid-template-columns:1fr}.course-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:start}.workbook-card{margin-bottom:0}.chapter-card:last-child:first-child{grid-column:1/-1}.course-heading h1{font-size:42px}.course-heading .tag{display:none}.lesson-description h2{font-size:32px}.poster-overlay h2{font-size:32px}.contact-grid,.login-grid{grid-template-columns:1fr;gap:28px;max-width:610px}.contact-grid{padding-top:25px}.contact-intro h1,.login-grid h1{font-size:54px}.contact-photo{max-height:240px}.login-art{max-height:180px}.login-grid{padding-top:20px}.portal-footer{margin-top:38px}.portal-footer nav{gap:19px;font-size:11px}.purchase-row{flex-wrap:wrap;gap:10px}}
@media(max-width:500px){.portal-body h1{font-size:40px}.section-line h2{font-size:28px}.owned-course>img{height:195px}.owned-copy{padding:23px}.owned-copy h2{font-size:34px}.continue-row{flex-direction:column;align-items:stretch;gap:16px}.continue-row small{max-width:none}.recommendation-grid{grid-template-columns:1fr;gap:30px}.recommendation-grid img{aspect-ratio:2.15;margin-bottom:13px}.recommendation-grid h3{font-size:28px}.recommendation-grid p{font-size:12px}.recommendations{margin-top:38px;margin-bottom:30px}.recommendations .section-line h2{max-width:300px}.course-heading h1{font-size:36px}.course-main .back-link{margin-bottom:20px}.course-heading{margin-bottom:22px}.poster-overlay{padding:16px}.poster-overlay h2{font-size:22px}.poster-overlay .eyebrow{font-size:7px;margin-bottom:6px}.play-trigger{width:50px;height:50px;font-size:16px;margin:12px 0 6px}.poster-overlay>span:last-child{font-size:9px}.video-consent{font-size:9px!important}.lesson-description h2{font-size:29px}.course-sidebar{grid-template-columns:1fr}.lesson-actions{display:grid;grid-template-columns:1fr}.lesson-actions .button{width:100%}.portal-form-card{padding:24px 20px}.contact-intro h1,.login-grid h1{font-size:47px}.contact-form h2{font-size:34px}.topic-picker span{font-size:10px}.contact-form .form-grid{grid-template-columns:1fr;gap:0}.portal-footer{align-items:flex-start;flex-wrap:wrap;padding-bottom:25px}.portal-footer nav{gap:19px}.portal-footer .brand{font-size:25px}.reset-card{margin-block:28px}.reset-card h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){.portal-body *,html{scroll-behavior:auto;transition:none!important}}
.mobile-course-jump{display:none}.poster-overlay{background:linear-gradient(0deg,#32102285,#32102235)}
/* Own lesson photos stay visible; the complete title is directly below the player. */
.has-custom-poster .poster-overlay{background:transparent;gap:10px}
.has-custom-poster .poster-overlay h2,.has-custom-poster .poster-overlay>.eyebrow{display:none}
.has-custom-poster .play-trigger{flex-shrink:0;margin:0}
.play-trigger{padding:0;appearance:none;-webkit-appearance:none}
.play-trigger::before,.play-trigger::after{content:none}
.play-trigger .course-play-icon{width:24px;height:24px;display:block;fill:currentColor;flex:none}
.chapter-children .course-play-icon{width:16px;height:16px;display:block;fill:currentColor;flex:none}
/* Course navigation must not inherit the studio's 22px open-summary margin. */
.chapter-list details>summary{margin:0;padding:12px 0}
.chapter-list details[open]>summary{margin-bottom:0;padding-bottom:2px}
.chapter-children{padding:0 0 8px 20px;gap:0}
.chapter-children a{min-height:36px;padding:7px 8px}
.course-main .learning-grid,.course-sidebar{overflow-anchor:none}
.lesson-content{scroll-margin-top:calc(var(--sticky-header-height,114px) + 16px)}
.lesson-content[aria-busy="true"]{opacity:.65}
/* Touch taps and programmatic reading focus must not draw a browser-blue frame.
   Keyboard focus stays visible on the actual, interactive chapter controls. */
.chapter-list summary{-webkit-tap-highlight-color:transparent}
.chapter-list :is(summary,a):focus:not(:focus-visible){outline:none}
.chapter-list :is(summary,a):focus-visible{outline:3px solid #a46f18;outline-offset:3px}
.course-main .lesson-description h2[tabindex="-1"]:focus{outline:none;box-shadow:none}
[data-completion-button]:disabled{opacity:1;color:#32624e;background:#eff7f2;border-color:#aac6b5;cursor:default}
.chapter-watched{font-size:.85em;font-weight:700;color:#32624e}
.chapter-watched[hidden]{display:none}
@media(max-width:800px){.chapter-children a{min-height:44px;font-size:12px}}
.has-custom-poster .poster-overlay>span:last-child{background:#341326d9;border-radius:20px;padding:6px 12px;text-shadow:none}
@media(max-width:800px){.mobile-course-jump{display:inline-block;margin:-3px 0 20px}.portal-form-card input,.portal-form-card textarea{font-size:16px}}
@media(max-width:700px){.portal-footer{padding-bottom:max(74px,calc(env(safe-area-inset-bottom) + 60px))}}
