 :root{--teal:#02BFE3;--ink:#062F3D;--coral:#E96D6F;--bg:#FFFFFF;--line:#d8e6ec}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--teal);text-underline-offset:4px}.course-header{max-width:1240px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:800;text-decoration:none}.brand img{object-fit:contain}.course-main{max-width:1240px;padding:24px;margin:auto}h1{font-size:clamp(26px,4vw,36px);line-height:1.2;margin:10px 0}h2{font-size:22px;line-height:1.3;margin:0 0 12px}p{margin:8px 0 16px;color:#344F5C}.heading{margin-bottom:18px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:12px}.course-card{display:flex;gap:20px;align-items:center;background:white;border:1px solid var(--line);border-radius:20px;padding:22px}.course-card img{width:120px;height:160px;object-fit:contain;background:#E8F9FC;border-radius:12px}.course-card h2{font-size:24px}.course-card .button{margin-top:8px}:where(.course-main) .button,:where(.course-main) button{display:inline-flex;align-items:center;justify-content:center;background:var(--coral);color:white;border:0;border-radius:10px;padding:12px 18px;font:700 16px/1.35 system-ui;text-decoration:none;cursor:pointer;min-height:44px}button:disabled{opacity:.65;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #02BFE3;outline-offset:3px}.badge{font-size:14px;padding:4px 10px;background:#E8F9FC;border-radius:20px;display:inline-block}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:12px;min-width:0}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}.progress-row{display:flex;gap:20px;align-items:center;margin-bottom:14px;font-size:14px;font-weight:700}.progress-row progress{width:160px;max-width:45%;height:9px;accent-color:var(--teal)}.player-panel{padding:0;overflow:hidden}.video{aspect-ratio:16/9;background:#062F3D;display:grid;place-content:center;color:white}.video iframe{width:100%;height:100%;border:0;position:absolute;inset:0}.video{position:relative}.video button{background:var(--coral);padding:16px 24px}.lesson-info{padding:20px}.eyebrow{font-size:14px;font-weight:700;color:var(--teal)}.lesson-info h2{margin:6px 0 14px}.lesson-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.lesson-actions span{font-size:14px;color:#344F5C}.outline{padding:18px}.outline h2{font-size:18px}.lesson{width:100%;color:var(--ink);text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;grid-template-columns:32px 1fr;gap:10px;justify-content:start;margin:8px 0;font-weight:500}.lesson.active{background:#E8F9FC;border-color:var(--teal)}.lesson .num{width:30px;height:30px;border-radius:8px;display:grid;place-content:center;background:#eef3f7;color:var(--teal);font-weight:800}.lesson small{display:block;color:#344F5C;font-size:14px;font-weight:400;margin-top:3px}.outline #lessons{max-height:650px;overflow:auto}.access-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}:where(#review-form) label{display:grid;gap:6px;margin:14px 0;font-weight:600}:where(#review-form) input,:where(#review-form) textarea,:where(#review-form) select{padding:12px;border:1px solid var(--line);border-radius:8px;font:16px system-ui;max-width:100%;color:var(--ink);background:white}#message:empty{display:none}[hidden]{display:none!important}@media(max-width:850px){.learning-layout,.catalog{grid-template-columns:1fr}.outline #lessons{max-height:none}.course-header{padding:12px 16px}.course-main{padding:18px 14px}.course-card{padding:16px;gap:15px}.course-card img{width:90px;height:125px}.course-card h2{font-size:22px}.lesson-info{padding:16px}.progress-row{gap:12px}}@media(prefers-reduced-motion:no-preference){button,.button{transition:background .2s}.button:hover,button:hover{filter:brightness(.96)}}
.course-monogram{display:grid;place-items:center;flex:none;width:120px;height:160px;background:linear-gradient(150deg,#02BFE3,#02BFE3);color:white;font-size:36px;font-weight:800;border-radius:12px}@media(max-width:850px){.course-monogram{width:90px;height:125px}}
/* Keep the learning workspace roomy beside the shared navigation. */
@media(min-width:901px) and (max-width:1200px){.catalog,.learning-layout{grid-template-columns:1fr}}
@media(max-width:900px){.course-header{display:none}.course-main{padding-top:18px}}
/* Video viewing: the toolbar is outside the YouTube player and never covers its controls. */
.player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;background:#E8F9FC;border-bottom:1px solid var(--line);min-height:48px}.player-toolbar>span{font-size:14px;font-weight:650;color:#062F3D}.player-toolbar #video-fullscreen{background:#02BFE3;color:#fff;min-height:36px;padding:6px 12px;gap:6px;font-size:14px;border-radius:8px;white-space:nowrap}.player-toolbar #video-fullscreen>span:first-child{font-size:20px;line-height:1}.player-panel.video-expanded{position:fixed;inset:0;z-index:1000;width:100%;max-width:none;height:100vh;height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#000;display:flex;flex-direction:column;overflow:hidden}.course-video-expanded{overflow:hidden!important}.course-video-expanded .tk-app-header,.course-video-expanded .tk-app-bottom,.course-video-expanded .tk-sidebar,.course-video-expanded .tk-menu-backdrop{display:none!important}.player-panel.video-expanded .player-toolbar{flex:0 0 auto;background:#102f3f;border:0;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));padding-top:max(4px,env(safe-area-inset-top));min-height:44px}.player-panel.video-expanded .player-toolbar>span{color:#fff}.player-panel.video-expanded #video-fullscreen{background:#fff;color:#062F3D}.player-panel.video-expanded .video{flex:1 1 0;min-height:0;width:100%;height:auto;aspect-ratio:auto;background:#000}.player-panel.video-expanded .lesson-info{display:none}.player-panel:fullscreen{width:100%;height:100%;max-height:none;background:#000}.player-panel:-webkit-full-screen{width:100%;height:100%;max-height:none;background:#000}
@media(orientation:landscape) and (max-height:600px){
 .course-main .learning-layout{grid-template-columns:minmax(0,1fr)}
 .course-main .player-panel:not(.video-expanded) .video{aspect-ratio:auto;height:clamp(200px,calc(100svh - 160px),500px)}
 .course-main .player-panel:not(.video-expanded){scroll-margin-top:54px}
}
@media(max-width:650px){.course-main .player-panel:not(.video-expanded){margin-left:-14px;margin-right:-14px;border-radius:0;border-left:0;border-right:0}.player-toolbar{padding-left:14px;padding-right:14px}}

.course-empty{grid-column:1/-1;margin:0}
.workshop-sessions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.workshop-session{padding:16px;background:#eaf5f8;border:1px solid #d8e6ec;border-radius:12px}.workshop-session h3{font-size:20px;line-height:1.35;margin:8px 0}.workshop-session p{font-size:14px;margin:0}@media(max-width:700px){.workshop-sessions{grid-template-columns:1fr}}

.course-materials{margin-top:12px}.material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-card{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0}.material-card h3{font-size:18px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}.material-format{font-size:14px;color:#344F5C}.material-note{font-size:14px;margin:4px 0 0}.material-actions{display:flex;gap:8px;flex-wrap:wrap}.material-actions .material-view{background:var(--teal)}.material-actions .material-unlock{background:#E8F9FC;color:var(--teal);border:1px solid var(--line)}#course-material-message:empty{display:none}#review-panel{scroll-margin-top:64px}@media(max-width:850px){.material-list{grid-template-columns:1fr}}

/* Purchased digital products share the existing course card layout. */
.library-card{align-items:flex-start;gap:16px;padding:18px}.library-card>div{min-width:0;flex:1}.library-card img{flex:none}.library-card h2{font-size:20px;line-height:1.35;margin:10px 0 12px;overflow-wrap:anywhere}.library-card .badge{font-size:12px}.library-actions .button,.library-actions button{margin-top:0;font-size:14px;padding:10px 14px}.library-note{margin:0;font-size:14px}.library-books summary{cursor:pointer;display:list-item;list-style-position:inside;width:fit-content;min-height:44px;padding:10px 14px;border-radius:10px;background:var(--coral);color:#fff;font-size:14px;font-weight:700}.library-books summary:focus-visible{outline:3px solid #02BFE3;outline-offset:3px}.library-books>div{display:grid;gap:8px;margin-top:10px}.library-books button{width:100%;text-align:left;justify-content:flex-start;overflow-wrap:anywhere}.course-empty>p{margin-top:0}@media(max-width:850px){.library-card{padding:14px;gap:12px}.library-card h2{font-size:18px}.library-card img{width:85px;height:115px}}

.course-section-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.course-section-tabs button{min-height:74px;background:#E8F9FC;color:#062F3D;border:1px solid #bce6ee;text-align:left;border-radius:12px;padding:14px;font-weight:800}.course-section-tabs button[aria-selected="true"]{background:#02BFE3;color:#fff;border-color:#02BFE3}.course-section-tabs small{display:block;font-size:12px;margin-top:5px;font-weight:500}.course-sections p{font-size:14px;color:#344F5C}.course-section-tabs button:focus-visible{outline:3px solid #E96D6F;outline-offset:2px}

.video video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}

.course-folder-tree{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.course-folder-tree details{min-width:230px;padding:12px;border:1px solid #c9eaf1;border-radius:12px}.course-folder-tree summary{cursor:pointer;font-weight:700}.course-folder-tree details>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;padding-left:12px;border-left:2px solid #02bfe3}.course-folder-tree button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid #c9eaf1;background:#f7fafb;color:#062f3d;padding:12px 16px;border-radius:12px;cursor:pointer}.course-folder-tree button[aria-current=page]{background:#02bfe3;color:#fff}.course-folder-tree small{font-size:12px}.course-folder-tree[hidden]{display:none}@media(max-width:600px){.course-folder-tree{flex-direction:column}.course-folder-tree details{min-width:0}.course-folder-tree button{width:100%}}

/* The Vai course uses a flat content switcher; other courses retain their layout. */
.vai-learning-page .course-folder-tree{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.vai-learning-page .course-folder-tree[hidden]{display:none}.vai-learning-page .course-folder-tree button{width:100%;min-width:0;min-height:78px;justify-content:center;text-align:left;padding:12px;border-radius:12px;font-size:14px;font-weight:700}.vai-learning-page .course-folder-tree small{font-weight:400}.vai-learning-page .course-sections{margin-bottom:14px}.vai-learning-page .course-materials{margin-top:0}.vai-learning-page .material-list{display:grid;grid-template-columns:1fr;gap:10px}.vai-learning-page .material-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border-radius:12px}.vai-learning-page .material-card h3{margin:5px 0 0;font-size:17px;line-height:1.4}.vai-learning-page .material-actions{flex-shrink:0}.vai-schedule{margin:20px 0;border-top:1px solid #d7e8ed;padding-top:16px}.vai-schedule>summary{cursor:pointer;color:#344f5c;font-weight:600}.vai-schedule>section{margin-top:12px}.vai-learning-page .course-folder-tree button:focus-visible{outline:3px solid #062f3d;outline-offset:3px}@media(max-width:700px){.vai-learning-page .course-folder-tree{grid-template-columns:repeat(2,minmax(0,1fr))}.vai-learning-page .material-card{align-items:stretch;flex-direction:column;gap:12px;padding:14px}.vai-learning-page .material-actions{display:flex;gap:8px}.vai-learning-page .material-actions button{flex:1;min-height:44px}}

.vai-learning-page .folder-link{display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:120px;padding:18px;border:1px solid #bce6ee;border-radius:14px;background:#e8f9fc;color:#062f3d;text-decoration:none;font-weight:700}.vai-learning-page .folder-link small{font-weight:400}.vai-learning-page .folder-link>span:last-child{font-size:12px;color:#344f5c}.vai-learning-page .folder-link:hover{border-color:#02bfe3;background:#d7f4fa}.vai-learning-page .folder-link:focus-visible{outline:3px solid #02bfe3;outline-offset:3px}.folder-page a{color:#344f5c;display:inline-block;padding:8px 0}.folder-page h2{margin:8px 0 0}.vai-folder-page .vai-schedule,.vai-folder-page .tk-club-cta{display:none}
