/* Image-led catalogue. Course data, uploaded covers and CMS banners remain authoritative. */
:root{--brand:#17283f;--brand-hover:#243b57;--brand-soft:#eef1f5;--ink:#1a2738;--muted:#737d89;--paper:#fff;--line:#dfe4ea;--green:var(--brand);--lime:#e6ebf1;--orange:#ac9877;--radius:18px}
body{background:var(--paper);padding-bottom:calc(44px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}
.container{width:min(1200px,calc(100% - 64px))}
.header-row{height:80px;gap:32px;margin-bottom:0}.nav{gap:22px;font-size:13px}.header-actions{gap:14px}
.notice{font-size:12px}.header-actions>a,.header-actions>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.header-actions>.mobile-menu{display:none}
.hero.visual-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);min-height:0;background:#17283f;border-radius:22px;margin-top:28px}
.visual-hero .hero-copy{grid-column:1;grid-row:1;padding:42px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.visual-hero .hero-art{grid-column:2;grid-row:1;padding:0;display:block;min-width:0;aspect-ratio:1.5;position:relative;overflow:hidden;width:100%;height:auto}
.visual-hero .hero-art img{display:block;width:100%;height:100%;object-fit:cover}
.visual-hero h1{font-size:clamp(30px,3.1vw,43px);line-height:1.35;letter-spacing:-1.8px;margin:18px 0 12px;word-break:keep-all;overflow-wrap:anywhere;max-width:12em}
.visual-pill{font-size:12px;font-weight:700;letter-spacing:0;display:inline-block;padding:5px 10px;background:#fff;border-radius:6px}
.visual-hero .hero-one-line{margin:0 0 24px;font-size:14px;color:#6c7785;line-height:1.5}
.visual-hero .btn{min-height:48px;padding:12px 24px}.visual-hero-controls{display:flex;gap:8px;align-items:center;margin-top:24px;font-size:12px;letter-spacing:0}
.visual-hero-controls span{margin-right:10px;font-weight:700}.visual-hero-controls i{font-style:normal;color:#7d8780;font-weight:400}
.visual-hero-controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d6dde5;border-radius:50%}.visual-hero-controls button:first-of-type .icon{transform:rotate(180deg)}.visual-hero-controls .icon{width:16px;height:16px}
.visual-empty-art{grid-column:2;display:grid;place-items:center;background:#e8edf3;color:#334d69;font:900 clamp(50px,10vw,150px) Arial;letter-spacing:-10px;min-width:0}.visual-empty-art span{color:#ac9877}
.hero.visual-hero.cms-hero{display:block;background:transparent}.cms-hero .cms-banner{display:block}.cms-hero .cms-banner img,.cms-hero .cms-banner video{object-fit:contain}
.visual-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}
.visual-shortcuts a{display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:600;min-height:44px}
.visual-shortcuts a>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0f3f6}.visual-shortcuts a:nth-child(2)>span{background:#f0f3f6}.visual-shortcuts a:nth-child(3)>span{background:#f0f3f6}
.visual-home .section{padding:48px 0 6px}.section-head{margin-bottom:22px}.section h2{font-size:26px;letter-spacing:-1px}.section-head>a{min-height:44px;font-size:13px}
.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.visual-card .thumb{aspect-ratio:1.6;border-radius:16px;background:#f0f2ef}
.visual-course-image{display:block;transition:transform .25s ease}.visual-card:hover .visual-course-image{transform:scale(1.035)}
.visual-example{position:absolute;bottom:10px;right:10px;padding:3px 7px;border-radius:5px;background:#142238bf;color:white;font-size:11px;line-height:1.4;letter-spacing:0;pointer-events:none}
.visual-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#eef1f5;color:#526a83}.visual-placeholder svg{width:45%;height:auto}
.thumb .badge{top:12px;left:12px;font-size:11px;padding:5px 9px}.visual-card-body{padding:0 2px}.visual-card .meta{margin:8px 0 3px;font-size:12px;overflow-wrap:anywhere}
.visual-card h3{font-size:19px;line-height:1.4;min-height:0;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.6px}
.visual-card .card-foot{gap:8px;align-items:flex-end;flex-wrap:wrap;line-height:1.5;font-size:12px;border-top:0;padding-top:0}.visual-card .card-foot strong{font-size:15px;margin-left:auto}.visual-card .card-foot .price{font-size:17px}.visual-free-price{color:var(--green)}
.visual-home .book-grid{gap:20px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-card{min-width:0;padding:22px;gap:20px;background:#f5f6f3}.book-card>div:last-child{min-width:0}.book-card h3{font-size:15px;line-height:1.5}
.visual-event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;border-top:1px solid var(--line)}
.visual-event-list>a{display:flex;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.visual-event-list time{width:54px;min-width:54px;border-radius:12px;background:#f0f3f6;text-align:center;padding:8px 4px;line-height:1.3}
.visual-event-list time small{display:block;font-size:11px}.visual-event-list time strong{font-size:25px}.visual-event-list>a>div{min-width:0}.visual-event-list>a>div>span{font-size:11px;color:var(--muted)}.visual-event-list h3{margin:4px 0;font-size:15px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.visual-event-list>a>.icon{flex-shrink:0;margin-left:auto;width:18px}
.visual-calendar{margin-top:14px}.visual-calendar>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px;justify-content:flex-end;font-size:13px}.visual-calendar>summary .icon{width:16px}.visual-calendar[open]>summary{margin-bottom:10px}
.visual-stories .review-card{padding:24px;background:#f6f7f9;border:0}.visual-stories blockquote{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:78px}.visual-stories .info-box{display:none}.visual-stories .attached-images{display:none}
.teacher-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.teacher-card{min-width:0;overflow-wrap:anywhere}.portrait{max-width:100%;min-width:0}.portrait svg{max-width:100%}
.visual-teachers{gap:16px}.visual-teachers .teacher-card{display:flex;align-items:center;gap:14px;padding:16px;background:#f5f6f8;border:1px solid transparent}.visual-teachers .teacher-card:hover{border-color:#bdc8d5}.visual-teachers .portrait{width:56px;height:60px;flex-shrink:0;margin:0}.visual-teachers .portrait svg{width:56px;height:60px}.visual-teachers .teacher-card>div:nth-child(2){min-width:0}.visual-teachers h3{font-size:16px}.visual-teachers .teacher-card span{font-size:11px;color:var(--muted)}.visual-teachers .teacher-card>.icon{width:16px;margin-left:auto;flex-shrink:0}
.visual-teacher-invite{margin-top:48px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.visual-teacher-invite>span,.visual-teacher-invite>a{display:flex;align-items:center;gap:10px}.visual-teacher-invite>a{min-height:44px;font-weight:700;white-space:nowrap}
.page-intro h1{word-break:keep-all;overflow-wrap:anywhere}.detail-left,.detail-hero,.detail-body,.side-card,.checkout-grid>div,.class-layout>*{min-width:0}
.detail-hero .thumb{aspect-ratio:1.6}.detail-hero .thumb img{display:block;object-fit:cover}.detail-hero h1{word-break:keep-all;overflow-wrap:anywhere}.detail-body .feature-grid{margin-top:24px}.detail-section>p{color:#667383}.detail-tabs button{min-height:44px}
.mini-thumb{position:relative;overflow:hidden}.mini-thumb .visual-example{display:none}.mini-thumb .book-cover{width:100%;min-width:0;height:100%;font-size:8px;padding:6px}.mini-thumb .book-cover small{display:none}
.class-layout,.classroom-page .class-layout{min-width:0}.class-layout .player{min-width:0;max-width:100%;overflow:hidden;overflow-wrap:anywhere}.class-layout .player>*{min-width:0;max-width:100%;white-space:normal}.class-layout .player h2,.class-layout .player p{overflow-wrap:anywhere;word-break:keep-all}
.mobile-checkout-summary,.visual-admin-menu-toggle{display:none}.visual-checkout-page .side-card{scroll-margin-top:100px}body:has(.dashboard-editor) .chat-toggle,.visual-checkout-page .chat-toggle{display:none}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,.course-detail-layout .side-card .field select{font-size:16px}
.check-line{min-height:44px}.demo-bar{padding-bottom:calc(7px + env(safe-area-inset-bottom));min-height:calc(44px + env(safe-area-inset-bottom))}
.footer{margin-top:56px;background:#f5f6f8}.footer-links{flex-wrap:wrap;gap:10px 22px}.footer-links a{display:inline-flex;align-items:center;min-height:36px}
@media(max-width:1100px){.header-row{gap:22px}.nav{gap:14px;font-size:12px}.visual-hero .hero-copy{padding:30px}.visual-hero h1{font-size:34px}.visual-hero .hero-art{aspect-ratio:auto}.book-card{padding:18px;gap:14px}.book-cover{width:80px;min-width:80px}.visual-teachers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){
 .header-row{height:68px;gap:12px;flex-wrap:nowrap;position:relative}.header-actions{margin-left:auto;gap:12px}.header-actions .text-btn{font-size:13px}.header-actions>.mobile-menu{display:grid;place-items:center;min-width:44px;height:44px;padding:10px;margin-right:-10px}
 .topbar .nav{display:none}.topbar[data-menu-open] .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:absolute;top:100%;left:0;right:0;background:white;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 16px 24px #15233812;padding:12px;gap:4px;white-space:normal;overflow:visible;margin:0;width:auto;font-size:14px}
 .topbar[data-menu-open] .nav a{min-height:48px;display:flex;align-items:center;padding:10px 14px;border-radius:8px}.topbar[data-menu-open] .nav a.active{background:#eef1f5}
 .classroom-actions{top:68px}.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-home .book-grid .book-card:last-child{grid-column:1/-1}.course-grid{gap:18px}.visual-card h3{font-size:17px;min-height:0}.visual-card .card-foot{display:flex;flex-direction:row;align-items:center}.visual-card .card-foot strong{margin-left:0}
}
@media(max-width:700px){
 .container{width:calc(100% - 32px)}.brand{font-size:28px}.brand i{width:9px;height:9px;margin-top:-15px}.notice{font-size:11px;padding:8px 16px}.notice a{gap:8px}.notice .icon{width:15px}.header-row{height:64px}.header-actions{gap:10px}.header-actions .search-button{display:none}
 .hero.visual-hero{grid-template-columns:minmax(0,1fr);margin-top:16px;border-radius:16px;min-height:0}.visual-hero .hero-art{grid-column:1;grid-row:1;aspect-ratio:1.7}.visual-hero .hero-copy{grid-column:1;grid-row:2;padding:22px 24px 24px;display:block;position:relative}.visual-hero h1{font-size:28px;letter-spacing:-1.2px;line-height:1.35;margin:12px 0 10px;max-width:none}.visual-hero .hero-one-line{font-size:13px;margin:0 0 18px}.visual-hero .btn{min-height:46px;font-size:14px;padding:10px 18px}.visual-hero-controls{margin:0;position:absolute;bottom:26px;right:20px;gap:6px}.visual-hero-controls span{display:none}.visual-hero-controls button{width:44px;height:44px}.visual-empty-art{grid-row:1;grid-column:1;min-height:170px;font-size:100px}.visual-empty-hero .hero-copy{grid-row:2}
 .visual-shortcuts{gap:8px;padding:20px 0}.visual-shortcuts a{flex-direction:column;gap:8px;font-size:12px;min-width:0}.visual-shortcuts a>span{width:40px;height:40px}
 .visual-home .section{padding:32px 0 4px}.section-head{margin-bottom:16px;align-items:center;gap:8px}.section h2{font-size:21px;letter-spacing:-.8px}.section-head>a{font-size:12px;gap:4px}.section-head>a .icon{width:15px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.visual-home .course-grid{grid-template-columns:minmax(0,1fr);gap:24px}.visual-home .visual-card h3{font-size:19px}.visual-home .visual-card .card-foot{font-size:13px}
 .visual-card .thumb{border-radius:12px;aspect-ratio:1.5}.visual-card .meta{font-size:12px;margin-top:8px}.visual-card h3{font-size:15px;line-height:1.4;min-height:0;margin-bottom:4px;letter-spacing:-.4px}.visual-card .card-foot{font-size:12px;padding-top:0;gap:4px}.visual-card .card-foot strong,.visual-card .card-foot .price{font-size:14px}.visual-example{font-size:11px;padding:2px 5px;bottom:7px;right:7px}.thumb .badge{font-size:11px;top:8px;left:8px;padding:4px 6px}
 .book-grid,.visual-home .book-grid{grid-template-columns:1fr;gap:12px}.book-card{padding:20px;gap:24px}.book-card h3{font-size:16px}.book-cover{width:84px;min-width:84px}.book-card strong{margin-top:10px}.book-card .book-price{margin:8px 0}.visual-home .book-grid .book-card:last-child{grid-column:auto}
 .visual-event-list{grid-template-columns:1fr}.visual-event-list>a{padding:16px 0;gap:14px}.visual-event-list h3{font-size:14px}.visual-calendar summary{justify-content:flex-start}.visual-home .review-grid{grid-template-columns:1fr;gap:12px}.visual-stories .review-card{padding:20px}.visual-stories blockquote{margin:12px 0;min-height:0}.visual-stories .review-card .meta{font-size:11px}
 .visual-teachers{gap:10px}.visual-teachers .teacher-card{padding:12px 10px;gap:8px}.visual-teachers .portrait{width:42px;height:48px}.visual-teachers .portrait svg{width:42px;height:48px}.visual-teachers h3{font-size:14px}.visual-teachers .teacher-card span{font-size:12px}.visual-teachers .teacher-card>.icon{display:none}.teacher-card{padding:18px}.visual-teacher-invite{margin-top:32px;padding:18px 0;align-items:flex-start;flex-direction:column;gap:0;font-size:13px}
 .page-intro{padding:26px 0 18px}.page-intro h1{font-size:28px;line-height:1.4}.breadcrumb{font-size:11px;margin-bottom:12px}.detail-layout{gap:24px}.detail-hero h1{font-size:26px}.detail-hero .thumb{border-radius:14px}.detail-tabs{gap:10px;overflow-x:auto;flex-wrap:nowrap}.detail-tabs button{white-space:nowrap;font-size:13px}.detail-section h2{font-size:22px}.teacher-inline{gap:16px}.teacher-inline .portrait{width:90px;min-width:90px}.teacher-inline h3{font-size:18px}
 .mobile-buy,.mobile-checkout-summary{position:fixed;bottom:calc(44px + env(safe-area-inset-bottom));left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);box-shadow:0 -4px 18px #15233808;z-index:24;font-size:12px}.mobile-buy .btn,.mobile-checkout-summary .btn{min-height:46px;font-size:14px;padding:10px 20px}.mobile-buy strong{display:block;font-size:16px}.mobile-checkout-summary>div{display:flex;flex-direction:column}.mobile-checkout-summary small{font-size:11px;color:var(--muted)}.mobile-checkout-summary strong{font-size:18px;letter-spacing:-.5px}
 body:has(.mobile-buy) .chat-toggle,.visual-checkout-page .chat-toggle{bottom:calc(132px + env(safe-area-inset-bottom))}body:has(.mobile-buy) .footer,.visual-checkout-page .footer{padding-bottom:120px}.chat-toggle{right:16px;width:46px;height:46px;bottom:calc(66px + env(safe-area-inset-bottom))}
 .demo-bar{gap:10px;padding-left:12px;padding-right:12px;font-size:10px}.demo-bar label{display:flex;align-items:center;gap:5px;font-size:10px}.demo-bar select{font-size:12px;max-width:130px;min-height:30px}.demo-bar .demo-note{display:none}
 .field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.course-detail-layout .side-card .field select{font-size:16px;min-height:46px}.check-line{font-size:13px;align-items:flex-start}.check-line input{flex-shrink:0;margin-top:5px}.method-grid{gap:8px}.method{min-height:46px;font-size:13px}.visual-checkout-page .side-card{scroll-margin-top:80px}.order-line{gap:12px;min-width:0}.order-line>div{min-width:0}.order-line h3{font-size:14px}.mini-thumb{width:70px;min-width:70px}
 .classroom-actions{top:64px}.classroom-page .class-layout{grid-template-columns:minmax(0,1fr)}.class-layout .player h2{font-size:20px}.classroom-actions .btn{min-height:44px;font-size:12px}.classroom-side-panel{min-width:0}
 .manage-layout{grid-template-columns:minmax(0,1fr)}.manage-main{min-width:0}.manage-side{min-width:0;max-width:100%}.visual-admin-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;text-align:left;padding:12px 16px;border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:700}.visual-admin-menu-toggle::after{content:'＋';font-size:18px}.visual-admin-menu-toggle[aria-expanded=true]::after{content:'−'}.visual-admin-menu-toggle+.manage-side a{white-space:normal;min-height:44px;padding:10px;font-size:12px}.footer-top,.footer-bottom{gap:24px}.footer{margin-top:40px}.footer-links{gap:4px 16px}.footer p{font-size:11px}
}
@media(max-width:380px){.visual-hero .hero-copy{padding:20px}.visual-hero h1{font-size:25px}.visual-hero-controls{right:14px;gap:4px}.visual-hero-controls span{display:none}.visual-hero .btn{font-size:13px;padding:10px 15px}.section h2{font-size:19px}.header-actions .text-btn{font-size:12px}.visual-card .card-foot{font-size:12px}.teacher-card{padding:14px}.visual-teachers .teacher-card{padding:10px 8px}.visual-teachers .portrait{width:34px}.visual-teachers .teacher-card span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.visual-course-image{transition:none}.visual-card:hover .visual-course-image{transform:none}}

/* Shared brand accents; semantic status colors and Kakao identity stay distinct. */
.brand{color:var(--ink)}.brand i{background:var(--brand)}
.notice{background:var(--brand);color:#fff}.notice a{font-weight:600}
.btn{background:var(--brand);color:#fff}.btn:where(:not(.secondary):not(.kakao):not(.danger):not(.lime)):hover{background:var(--brand-hover)}
.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:var(--brand-soft)}.btn.lime{background:#e8edf3;color:#263e59}.btn.lime:hover{background:#dce3ec}.btn.danger{background:#a14332}.btn.kakao{background:#fee500;color:#261f13}.btn.kakao:hover{background:#f2d900}
.nav a:hover,.nav a.active,.tabs .active{color:var(--brand)}.text-btn:hover{color:var(--brand)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--brand)}input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
.badge:not(.dark):not(.orange):not(.red){background:var(--brand-soft);color:#334e6b}.badge.dark{background:#24354b;color:#fff}
.chip.active{background:var(--brand);border-color:var(--brand);color:#fff}.method.active{background:var(--brand-soft);border-color:var(--brand);color:#334e6b}
.stars,.visual-card-arrow{color:var(--brand)}.visual-card-arrow{margin-left:auto;font-size:20px;line-height:1}.visual-card .card-foot{align-items:center}
.day.event{background:var(--brand-soft);color:#334e6b}.day.selected{background:var(--brand);color:#fff}
.manage-side{background:#17283f}.manage-side a{color:#d5dee9}.manage-side a.active{background:#17283f38;color:#f4f6f9}.manage-side .eyebrow{color:#98a9bd}
.line-banner{background:#17283f}.info-box:not(.orange){background:#f2f4f7;border-color:var(--line)}
.workspace-tabs a.active,.marketing-tabs a.active{background:var(--brand);color:#fff}.marketing-tabs a{background:#eff2f6;color:#52657b}
.price-discount,.book-discount,.discount-amount{color:#334e6b}.price-discount{background:var(--brand-soft)}

/* Navy editorial finish: crisp geometry, restrained contrast and quiet surfaces. */
:root{--accent:#ac9877;--radius:6px}
.notice{background:#132238;padding:8px 20px}.notice a{font-weight:500;letter-spacing:.01em}
.topbar{border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:-1.5px}.brand i{width:8px;height:8px;background:var(--accent)}
.btn{border-radius:4px;border:1px solid transparent;font-weight:600;box-shadow:none;transition:background .18s,border-color .18s,color .18s}.btn:hover{transform:none;box-shadow:none}.btn.secondary{border-color:#cbd3dd}.btn.lime{border-color:#d7dfe8}
.hero.visual-hero{background:#17283f;border:1px solid #17283f;border-radius:8px}
.visual-hero .hero-copy{color:#f5f6f8;padding:42px 44px}.visual-hero h1{color:#fff;font-weight:700;letter-spacing:-1.6px}.visual-hero .hero-one-line{color:#bac5d3}
.visual-pill{background:#ffffff08;border:1px solid #ffffff30;color:#e0e6ef;border-radius:2px;padding:4px 9px;font-weight:500}
.visual-hero .hero-copy>.btn{background:#f6f5f2;color:#17283f;border-color:#f6f5f2;border-radius:4px}.visual-hero .hero-copy>.btn:hover{background:#e5eaf0;border-color:#e5eaf0}
.visual-hero-controls{color:#e8edf3}.visual-hero-controls i{color:#94a6bc}.visual-hero-controls button{border:1px solid #b8c8db55;border-radius:4px;color:#e8edf3}.visual-hero-controls button:hover{background:#ffffff0c;border-color:#d3ddeb}
.visual-empty-art{background:#263950;color:#e9edf3;letter-spacing:-6px}.visual-empty-art span{color:#bca887}
.hero.visual-hero.cms-hero{border:0;background:transparent;border-radius:8px}.cms-banner-caption{background:#f0f3f6;color:var(--ink);border-radius:0 0 6px 6px}.cms-banner img,.cms-banner video{border-radius:6px}
.visual-shortcuts a>span{background:#f2f4f7!important;border:1px solid #e2e7ed;border-radius:4px;color:#334b67}.visual-shortcuts a:hover>span{background:#e9edf2!important}
.section h2{font-size:25px;font-weight:700;letter-spacing:-.8px}.section-head>a{color:#687587;font-weight:500}.visual-card .thumb,.detail-hero .thumb{border-radius:6px}
.visual-card h3{font-weight:650;letter-spacing:-.45px}.visual-card .meta{color:#7b8490}.visual-card-arrow{color:#667b95;font-size:18px}.visual-card .badge{border-radius:2px;font-weight:500;letter-spacing:0}
.visual-example{border-radius:2px;background:#17283fd6}.visual-placeholder{background:#edf1f5;color:#63788f}
.chip{border-radius:4px;border-color:#d9e0e7;font-weight:500}.chip.active{background:#17283f;border-color:#17283f}.badge{border-radius:2px}.method{border-radius:4px}.method.active{border-color:#667d99;background:#eef2f6}
.panel,.side-card,.feature-card,.book-card,.review-card,.teacher-card,.info-box{border-radius:6px}.side-card{border-color:#dce2e9;box-shadow:none}.book-card{background:#f4f6f8}
.visual-stories .review-card{background:#f7f8fa;border:1px solid #e3e7ed;border-radius:6px}.stars{color:#7c8fa8;letter-spacing:2px}.visual-teachers .teacher-card{background:#fff;border:1px solid #e0e5ec;border-radius:6px}.visual-teachers .teacher-card:hover{border-color:#aebccd}
.visual-event-list time{border-radius:4px;background:#edf1f5;color:#344c67}.visual-calendar>summary{color:#66778b}.visual-teacher-invite{color:#687587}.visual-teacher-invite>a{color:#263e59}
.footer{background:#f2f4f7;border-top:1px solid #e2e7ed}.footer .brand{color:#263b55}.footer-links{color:#4b5d73}
.line-banner{border-radius:6px;background:#17283f}.countdown{background:#f1f3f6;border:1px solid #e0e5ec;border-radius:4px}.countdown strong{color:#253d59}
.chat-toggle{background:#17283f;border:1px solid #ffffffb0;border-radius:8px;box-shadow:0 3px 10px #17283f12}.chat-toggle:hover{background:#2b425e}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.course-detail-layout .side-card .field select{border-radius:4px;border-color:#d7dfe8}
.modal,.dashboard-editor,.curriculum-block,.body-block{border-radius:8px}.classroom-actions,.classroom-side-panel{border-radius:6px}.tabs .active,.detail-tabs .active{border-color:#17283f}
.manage-side{border-radius:6px}.manage-side a{border-radius:3px}.manage-side a.active{background:#ffffff12;color:#fff;border-left:2px solid #adbbcd}.workspace-tabs a,.marketing-tabs a{border-radius:4px}.visual-admin-menu-toggle{border-radius:4px}
@media(max-width:1000px){.visual-hero .hero-copy{padding:30px}.topbar[data-menu-open] .nav{border-radius:0 0 6px 6px;box-shadow:0 8px 16px #17283f0b}.topbar[data-menu-open] .nav a{border-radius:3px}}
@media(max-width:700px){
 .hero.visual-hero{border-radius:6px}.visual-hero .hero-copy{padding:22px 24px 24px}.visual-hero h1{font-size:28px;letter-spacing:-1px}.section h2{font-size:21px}.visual-card .thumb,.detail-hero .thumb{border-radius:5px}.visual-shortcuts a>span{border-radius:4px}.visual-home .visual-card h3{font-weight:650}.mobile-buy,.mobile-checkout-summary{background:#fffffff8;box-shadow:none;border-top:1px solid #d9e0e8}.mobile-buy .btn,.mobile-checkout-summary .btn{border-radius:4px}
 .visual-teachers .teacher-card{padding:12px 10px}.visual-stories .review-card{border-radius:5px}.chat-toggle{border-radius:6px}
}
@media(max-width:380px){.visual-hero .hero-copy{padding:20px}.visual-hero h1{font-size:25px}}

/* Readability: larger type and clear neutral contrast across the customer journey. */
:root{--ink:#171e28;--muted:#4f5b6b}
body{font-size:16px;letter-spacing:-.025em;line-height:1.7}
.nav,.nav a{font-size:16px;font-weight:600}.nav{gap:20px}.header-actions .text-btn{font-size:16px}.notice{font-size:14px}.notice a{font-weight:500}
.visual-hero h1{font-size:44px;line-height:1.35;letter-spacing:-1.3px}.visual-hero .hero-one-line{font-size:17px;color:#d1d9e4}.visual-pill{font-size:14px}.visual-hero .btn{font-size:17px;min-height:50px}
.section h2{font-size:30px;line-height:1.4;font-weight:750;color:var(--ink)}.section-head>a{font-size:15px;color:#435166}.visual-shortcuts a{font-size:16px}
.visual-card .meta{font-size:15px;color:#4f5b6b;line-height:1.5;margin:8px 0 3px}.visual-card h3{font-size:22px;line-height:1.45;font-weight:700;color:var(--ink);margin-bottom:4px}
.visual-card .card-foot{font-size:15px;line-height:1.5;color:#4f5b6b}.visual-card .badge,.visual-example{font-size:12px}.visual-card-arrow{color:#42546b}
.book-card h3{font-size:19px;line-height:1.5}.book-card p{font-size:14px;color:#4f5b6b}.book-card strong{font-size:18px}
.page-intro h1{font-size:40px;line-height:1.35;color:var(--ink)}.page-intro>p{font-size:17px;color:#4f5b6b}.breadcrumb{font-size:14px;color:#556173}
.detail-hero .meta{font-size:15px;color:#4f5b6b}.detail-hero h1{font-size:36px;line-height:1.4;color:var(--ink)}.detail-info{font-size:16px;color:#435064;line-height:1.6;flex-wrap:wrap;gap:8px 20px}
.detail-section h2{font-size:28px;line-height:1.45}.detail-section>p,.detail-section .prose-content{font-size:17px;line-height:1.85;color:#2e3949}.lesson-row h3{font-size:18px;line-height:1.5}.lesson-row p{font-size:15px;color:#4f5b6b}
.side-card h3{font-size:22px;line-height:1.5}.side-card ul{font-size:15px;line-height:1.8;color:#435064}.btn,.btn.small{font-size:16px}.btn.small{font-size:14px;min-height:40px}
.help-text,.course-detail-layout .side-card>.help-text{font-size:14px;line-height:1.75;color:#4f5b6b}.course-detail-layout .side-card>.option-benefits{font-size:16px;color:#435064}.field label,.course-detail-layout .side-card .field label{font-size:15px;color:#303c4c}
.countdown{padding:14px 10px}.countdown small{font-size:14px;color:#4f5b6b;margin-bottom:4px}.countdown strong{display:block;font-size:26px;line-height:1.4;letter-spacing:0;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;color:#17283f}
.price-caption,.installment-price small{font-size:14px;line-height:1.7;color:#4f5b6b}.installment-price p{font-size:16px}.installment-price strong{font-size:21px}
.review-card blockquote{font-size:16px;line-height:1.8}.review-card .person,.review-card .meta{font-size:14px;color:#4f5b6b}.review-card>.text-btn{font-size:14px!important}.visual-stories blockquote{min-height:87px}
.visual-teachers h3{font-size:18px}.visual-teachers .teacher-card span{font-size:14px;color:#4f5b6b}.visual-event-list h3{font-size:17px}.visual-event-list>a>div>span{font-size:14px;color:#4f5b6b}.visual-event-list time small{font-size:13px}
.visual-calendar>summary,.visual-teacher-invite{font-size:15px}.teacher-inline p,.teacher-card p{font-size:15px;color:#4f5b6b}.teacher-inline h3{font-size:24px}
.chip{font-size:14px}.detail-tabs button{font-size:15px}.tabs{font-size:15px}.check-line,.method{font-size:15px}.footer-links{font-size:14px}.footer p{font-size:13px;color:#566173}.faq summary{font-size:18px}.faq p{font-size:16px}
.manage-side a,.admin-menu-group a{font-size:14px}.table-filters .field label{font-size:14px}
@media(max-width:1100px){.nav{gap:14px}.visual-hero h1{font-size:36px}.visual-teachers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.topbar[data-menu-open] .nav a{font-size:16px}.header-actions .text-btn{font-size:15px}.visual-card h3{font-size:20px}.visual-card .meta{font-size:14px}.visual-teachers .teacher-card span{font-size:14px}}
@media(max-width:700px){
 .notice{font-size:13px}.brand{font-size:29px}.header-actions .text-btn{font-size:15px}.header-row{gap:10px}.header-actions{gap:10px}
 .visual-hero h1{font-size:32px;line-height:1.35;letter-spacing:-.8px}.visual-hero .hero-one-line{font-size:16px}.visual-hero .btn{font-size:16px;min-height:48px}.visual-pill{font-size:13px}.visual-hero-controls{bottom:26px}
 .section h2{font-size:24px;letter-spacing:-.5px}.section-head>a{font-size:14px}.section-head{align-items:flex-start}.section-head h2{min-width:0}.section-head>a{flex-shrink:0;min-height:34px}.visual-shortcuts a{font-size:14px}
 .visual-card h3{font-size:18px;line-height:1.45;-webkit-line-clamp:3}.visual-home .visual-card h3{font-size:21px}.visual-card .meta{font-size:14px}.visual-card .card-foot,.visual-home .visual-card .card-foot{font-size:14px}.visual-card .badge{font-size:12px}.visual-card .thumb .badge{padding:4px 7px}.visual-example{font-size:12px}
 .page-intro h1{font-size:32px}.breadcrumb{font-size:13px}.detail-hero h1{font-size:30px;line-height:1.4}.detail-hero .meta{font-size:14px}.detail-info{font-size:15px}.detail-tabs button{font-size:15px}.detail-section h2{font-size:25px}.detail-section>p,.detail-section .prose-content{font-size:16px}
 .countdown strong{font-size:22px}.countdown small{font-size:14px}.mobile-buy{font-size:14px}.mobile-buy .btn,.mobile-checkout-summary .btn{font-size:16px;min-height:48px}.mobile-buy strong{font-size:17px}.mobile-checkout-summary small{font-size:14px}.mobile-checkout-summary strong{font-size:20px}
 .side-card .btn{font-size:16px}body:has(.mobile-buy) .chat-toggle{display:none}.visual-teachers h3{font-size:17px}.visual-teachers .teacher-card span{font-size:13px}.visual-teachers .teacher-card{padding:12px 10px}.visual-teachers .portrait{width:36px;height:44px}.visual-teachers .teacher-card{gap:8px}
 .visual-stories .review-card .meta{font-size:14px}.visual-stories blockquote{min-height:0}.visual-event-list h3{font-size:16px}.visual-event-list>a>div>span{font-size:13px}.visual-calendar>summary{font-size:15px}.visual-teacher-invite{font-size:15px}.book-card h3{font-size:18px}.book-card p{font-size:14px}.teacher-inline h3{font-size:22px}.teacher-inline p{font-size:15px}
 .footer p{font-size:13px}.footer-links{font-size:14px}.visual-admin-menu-toggle,.visual-admin-menu-toggle+.manage-side a{font-size:14px}
}
@media(max-width:380px){.visual-hero h1{font-size:29px}.visual-hero .hero-copy{padding:20px}.visual-hero .btn{font-size:15px;padding:10px 14px}.visual-hero-controls{right:12px}.section h2{font-size:23px}.countdown strong{font-size:20px}.visual-teachers h3{font-size:16px}.visual-teachers .teacher-card span{font-size:12px}}

@media(min-width:851px) and (max-width:1100px){.countdown strong{font-size:22px}}

/* Preserve short course names in full, fitting their actual container width. */
.fit-title-one-line{display:block!important;white-space:nowrap;max-width:100%!important;width:100%;min-height:0!important;-webkit-line-clamp:unset!important;overflow:visible!important;text-overflow:clip;word-break:normal}
@media(max-width:700px){#listing-grid.course-grid{grid-template-columns:minmax(0,1fr)}#listing-grid.course-grid .visual-card h3{font-size:21px}}

/* Large portrait cards shared by the home page and instructor directory. */
.portrait-teacher-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;align-items:start}
.portrait-teacher-grid .portrait-teacher-card{display:block;padding:0;overflow:hidden;background:#fff;border:0;border-radius:6px;min-width:0;color:var(--ink)}
.portrait-teacher-grid .portrait{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:3/4;margin:0;overflow:hidden;background:#edf0f4;border-radius:6px}
.portrait-teacher-grid .portrait svg{display:block;width:100%;height:100%;max-width:100%}
.portrait-teacher-grid .portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.portrait-teacher-grid .teacher-card-copy{padding:16px 0 0;min-width:0}
.portrait-teacher-grid .teacher-specialty{font-size:14px;line-height:1.5;color:#4f5b6b;margin:0 0 4px;word-break:keep-all}
.portrait-teacher-grid .teacher-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.portrait-teacher-grid .teacher-card-heading h3{font-size:24px;line-height:1.4;letter-spacing:-.6px;margin:0;color:var(--ink)}
.portrait-teacher-grid .teacher-card-heading>.icon{display:block;width:20px;height:20px;flex-shrink:0;color:#52647b;transition:transform .18s}
.portrait-teacher-grid .teacher-career{font-size:15px;line-height:1.7;margin:10px 0 0;color:#33435a;word-break:keep-all}
.portrait-teacher-grid .teacher-description{font-size:14px;line-height:1.75;margin:6px 0 0;color:#4f5b6b;word-break:keep-all}
.portrait-teacher-card:focus-visible{outline:3px solid #526f94;outline-offset:5px}
@media(hover:hover){.portrait-teacher-card:hover .teacher-card-heading>.icon{transform:translateX(4px)}.portrait-teacher-card:hover h3{text-decoration:underline;text-underline-offset:5px}}
@media(max-width:1000px){.portrait-teacher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}}
@media(max-width:700px){
 .portrait-teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 .portrait-teacher-grid .teacher-card-copy{padding:12px 0 0}
 .portrait-teacher-grid .teacher-card-heading h3{font-size:21px}
 .portrait-teacher-grid .teacher-specialty{font-size:13px;line-height:1.6;margin-bottom:3px}
 .portrait-teacher-grid .teacher-card-heading>.icon{width:18px;height:18px}
 .portrait-teacher-grid .teacher-career{font-size:14px;line-height:1.7;margin-top:8px}
 .portrait-teacher-grid .teacher-description{font-size:14px;line-height:1.7}
}
@media(prefers-reduced-motion:reduce){.portrait-teacher-grid .teacher-card-heading>.icon{transition:none}}
@media(max-width:700px){.free-mobile-buy>span{flex-shrink:0}.free-mobile-buy .btn{flex:1;min-width:0;padding:10px 12px}}

/* Course landing pages: sticky section navigation and a single mobile action area. */
.topbar>.course-section-nav{display:block;width:100%;margin:0;padding:0;background:#fff;border-top:1px solid #edf0f4;border-bottom:1px solid #dfe4ea;position:relative;z-index:1}
.course-section-links{display:flex;align-items:center;gap:28px;overflow-x:auto;flex-wrap:nowrap;overscroll-behavior-x:contain;scrollbar-width:none}
.course-section-links::-webkit-scrollbar{display:none}
.course-section-links button{flex-shrink:0;min-height:52px;padding:12px 0 10px;border-bottom:3px solid transparent;font-size:15px;color:#566174;white-space:nowrap;font-weight:600}
.course-section-links button.active{color:#17283f;border-bottom-color:#17283f}
.topbar[data-menu-open] .nav{z-index:3}
.course-detail-page .detail-section{scroll-margin-top:calc(var(--course-header-height,132px) + 16px)}
.course-detail-page .course-detail-layout>.side-card{top:calc(var(--course-header-height,132px) + 20px)}
.course-detail-container>.course-detail-layout{margin-top:28px}
.desktop-course-schedule{display:flex;align-items:center;gap:8px;margin:16px 0 4px;font-size:15px;color:#34465f}
.desktop-course-schedule .icon{flex-shrink:0;width:18px;height:18px}
.desktop-course-countdown{width:100%;margin-top:16px}
.desktop-course-countdown .countdown{margin-bottom:0}
.course-enrollment-dock{display:none}
@media(max-width:850px){
 .course-detail-page{padding-bottom:calc(var(--course-dock-height,144px) + var(--course-demo-height,44px) + 24px)}
 .course-detail-page .course-detail-container{width:100%;max-width:none}
 .course-detail-container>.course-detail-layout{margin-top:0;gap:24px;grid-template-columns:minmax(0,1fr)}
 .course-detail-layout .detail-hero>.thumb{width:100%;aspect-ratio:auto;border-radius:0}
 .course-detail-layout .detail-hero>.thumb img{position:static;width:100%;height:auto;object-fit:contain}
 .course-detail-layout .detail-hero>.thumb .visual-placeholder{min-height:240px}
 .course-detail-layout .detail-hero>.meta{margin:18px 16px 0}
 .course-detail-layout .detail-hero>h1{margin:8px 16px 0;width:calc(100% - 32px)}
 .course-detail-layout .detail-info{padding:0 16px;margin-top:10px}
 .course-detail-layout .detail-body{padding:0 16px}
 .course-detail-layout>.side-card{margin:0 16px}
 .course-detail-layout>.side-card>.desktop-course-schedule,.course-detail-layout>.side-card>.desktop-course-countdown{display:none}
 .course-detail-layout>.side-card>[data-action="buy-course"]{display:none}
 .course-free-page .course-detail-layout>.side-card{display:none}
 .course-free-page .course-detail-layout .detail-body{grid-row:2}
 .topbar>.course-section-nav .course-section-links{width:100%;padding:0 16px;gap:24px}
 .course-section-links button{font-size:14px;min-height:48px;padding:10px 0 8px}
 .course-enrollment-dock{display:block;position:fixed;left:0;right:0;bottom:var(--course-demo-height,44px);padding:10px 16px 8px;background:#fff;backdrop-filter:none;box-shadow:none;border-top:1px solid #dce2e9;z-index:24}
 .course-dock-inner{width:100%;max-width:650px;margin:0 auto}
 .course-dock-schedule{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 8px;font-size:14px;line-height:1.5;color:#33465f;font-weight:600}
 .course-dock-schedule .icon{width:17px;height:17px;flex-shrink:0}
 .course-dock-action{display:flex;align-items:center;min-width:0}
 .course-enrollment-dock .course-dock-action>.btn{width:100%;min-height:48px;font-size:16px;padding:11px 12px;margin:0}
 .course-enrollment-dock .countdown{display:flex;align-items:baseline;justify-content:center;gap:8px;background:transparent;border:0;border-radius:0;margin:7px 0 0;padding:0;line-height:1.4}
 .course-enrollment-dock .countdown small{margin:0;font-size:12px;line-height:1.4;color:#536176}
 .course-enrollment-dock .countdown strong{font-size:17px;line-height:1.4;letter-spacing:0;white-space:nowrap}
 .course-detail-page .chat-toggle{display:none}
}
.course-detail-prose{margin-bottom:20px}
/* Keep the landing page imagery continuous and tighten the course introduction. */
.course-detail-layout .detail-hero>.meta{margin:6px 0 0;line-height:1.5}
.course-detail-layout .detail-hero>h1{margin:4px 0 0}
.course-detail-layout .detail-hero>.detail-info{margin-top:4px;margin-bottom:0}
.course-detail-layout #description{padding-top:8px}
@media(max-width:850px){
 .course-detail-container>.course-detail-layout{row-gap:8px}
 .course-detail-layout .detail-hero>.meta{margin:6px 16px 0}
 .course-detail-layout .detail-hero>h1{margin:4px 16px 0}
 .course-detail-layout #description{padding-top:0}
 .course-detail-layout .course-detail-prose{width:calc(100% + 32px);margin-left:-16px;margin-right:-16px}
 .course-detail-prose>.preserve-lines,.course-detail-prose>.body-image-view>figcaption{padding-left:16px;padding-right:16px}
 .course-detail-prose .body-image-view{margin-top:0;margin-bottom:0}
 .course-detail-prose .body-image-view img{display:block;width:100%;height:auto}
 .course-detail-layout>.side-card{padding:16px}
 .course-detail-layout>.side-card .course-price{margin:12px 0}
}
.course-detail-page .topbar{transition:transform .2s ease;will-change:transform}
.course-detail-page[data-course-header-hidden] .topbar{transform:translateY(calc(-100% - var(--course-notice-height,0px)));transition:none;pointer-events:none}
.course-detail-page[data-course-header-hidden] .course-detail-layout>.side-card{top:20px}
.course-detail-prose{white-space:normal}
.course-detail-prose>.body-image-view{margin-top:0;margin-bottom:0}
.course-detail-prose>.body-image-view img{display:block}
@media(prefers-reduced-motion:reduce){.course-detail-page .topbar{transition:none}}
/* A compact purchase summary with aligned labels and amounts. */
.course-detail-layout:not([data-free-detail])>.side-card{padding:18px}
.course-detail-layout:not([data-free-detail])>.side-card>h3{margin:4px 0 10px}
.course-detail-layout>.side-card>.field{margin:0;flex:none}
.course-detail-layout>.side-card .course-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:8px 0}
.course-detail-layout>.side-card .price-breakdown{flex:1 0 100%;margin:4px 0}
.course-detail-layout>.side-card .price-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:4px 0;font-size:14px;line-height:1.4}
.course-detail-layout>.side-card .sale-price-row strong{font-size:inherit;font-weight:700}
.course-detail-layout>.side-card .installment-price{flex:1 0 100%;margin:0 0 6px;padding:8px 10px}
.course-detail-layout>.side-card .installment-summary{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0}
.course-detail-layout>.side-card .installment-discount{color:var(--brand);font-size:18px;font-weight:700;white-space:nowrap}
.course-detail-layout>.side-card .installment-summary strong{margin:0 0 0 auto;font-size:21px;line-height:1.4;white-space:nowrap}
.course-detail-layout>.side-card .installment-note{margin-top:4px;font-size:12px;line-height:1.5;text-align:right}

.course-detail-layout>.side-card>.help-text{margin:6px 0 0;line-height:1.5}
.course-detail-layout>.side-card>.desktop-course-schedule{margin-top:8px}
.course-detail-layout>.side-card>.desktop-course-countdown{margin-top:10px}
.course-detail-layout>.side-card>.info-box{padding:6px 8px;margin:4px 0;font-size:14px;line-height:1.5}
@media(max-width:850px){
 .course-detail-container>.course-detail-layout:not([data-free-detail]){row-gap:4px}
 .course-detail-layout:not([data-free-detail])>.side-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 .course-detail-layout>.side-card .field select{min-height:44px;padding:8px 12px;line-height:1.5}
 .course-detail-layout>.side-card .course-price{margin:6px 0}
 .course-detail-layout>.side-card>[data-action="add-cart"]{min-height:44px;margin-top:4px;padding:8px 12px}
}
/* Desktop actions stay with options; mobile actions use the bottom dock. */
.course-enrollment-dock.paid-course-dock{display:none;position:fixed;left:0;right:0;bottom:var(--course-demo-height,44px);padding:10px 16px 8px;background:#fff;backdrop-filter:none;border-top:1px solid #dce2e9;box-shadow:none;z-index:24}
.paid-course-dock .course-dock-inner{width:100%;max-width:650px;margin:0 auto}
.paid-course-dock .course-dock-schedule{display:flex;justify-content:center;align-items:center;gap:7px;margin:0 0 8px;font-size:14px;line-height:1.5;font-weight:600;color:#33465f}
.paid-course-dock .course-dock-schedule .icon{width:17px;height:17px;flex-shrink:0}
.course-dock-action.course-dock-actions-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.paid-course-dock .course-dock-action>.btn{width:100%;min-width:0;min-height:48px;padding:11px 10px;margin:0;font-size:16px;line-height:1.5}
.paid-course-dock .countdown{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:7px 0 0;padding:0;background:transparent;border:0;line-height:1.4}
.paid-course-dock .countdown small{margin:0;font-size:12px;color:#536176;line-height:1.4}
.paid-course-dock .countdown strong{font-size:17px;line-height:1.4;letter-spacing:0;white-space:nowrap}
.course-detail-page:has(.paid-course-dock) .chat-toggle{display:none}
.desktop-course-actions{display:grid;gap:8px;margin-top:12px}
.desktop-course-actions>.btn{width:100%;margin:0;min-height:48px}
@media(max-width:850px){
 .course-enrollment-dock.paid-course-dock{display:block}
 .desktop-course-actions{display:none}
}
@media(max-width:380px){.paid-course-dock .course-dock-action>.btn{font-size:15px;padding-left:8px;padding-right:8px}}

/* VOD availability stays beside its lesson count; separate authored detail from the introduction. */
.course-detail-layout .detail-info.vod-course-info{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:12px;width:100%}
.vod-course-info .vod-lesson-count{display:inline-flex;align-items:center;gap:6px}
.vod-course-info>.badge{flex-shrink:0}
.course-detail-layout #description>h2{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}

/* Let the header leave naturally with the cover during the first downward scroll. */
.course-detail-page[data-course-header-flow] .topbar{position:relative;top:auto;transform:none;transition:none}

/* Keep the cover and body together on desktop; the purchase panel owns the heading. */
.course-detail-heading{min-width:0}
@media(min-width:851px){
 .course-detail-layout>.side-card>.course-detail-heading{margin:0 0 12px}
 .course-detail-heading>.meta{margin:0 0 8px;color:#4f5b6b;font-size:13px;line-height:1.6}
 .course-detail-heading>h1{margin:0;color:#1a2738;font-size:22px;line-height:1.45;font-weight:750;letter-spacing:-.5px;word-break:keep-all;overflow-wrap:anywhere}
 .course-detail-heading>.detail-info{margin:10px 0 0;font-size:14px}
 .course-detail-layout .detail-body{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
 .course-detail-layout #description>h2:first-child{border-top:0;padding-top:0;margin-top:0}
}
@media(max-width:850px){
 .course-detail-heading>.meta{margin:6px 16px 0;line-height:1.5}
 .course-detail-heading>h1{margin:4px 16px 0;width:calc(100% - 32px)}
 .course-detail-heading>.detail-info{margin-top:4px;margin-bottom:0}
}
