@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#0b1220;--muted:#66707c;--pale:#f8f5ef;--line:#e8dfcf;--blue:#d4af57;--blue-dark:#b48a2c;--lime:#f3dfab;--white:#fff;--shade:#f3ecde;--radius:18px;--shadow:0 18px 48px rgba(11,18,32,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--pale);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e2c778;outline-offset:2px}.wrap{width:min(1190px,calc(100% - 52px));margin-inline:auto}main.wrap{min-height:calc(100vh - 170px);padding:0 0 85px}main.wrap.wide-main{width:min(1380px,calc(100% - 52px))}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:Manrope,sans-serif;letter-spacing:-.045em;line-height:1.17}h1{font-size:clamp(38px,5.25vw,74px);font-weight:800}h2{font-size:clamp(27px,3vw,40px);font-weight:800}h3{font-size:20px}p{color:var(--muted)}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.eyebrow,.label{font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:var(--blue)}.eyebrow{display:inline-flex;align-items:center;gap:10px}.eyebrow:before{content:'';width:21px;height:2px;background:currentColor}.badge,.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.025em;border-radius:6px;background:#f8edd0;color:#8d6a21;padding:7px 10px}.tag.gray{background:#f0f1f2;color:#58616b}.tag.green{background:#e8f6eb;color:#228052}.tag.orange{background:#fff0dc;color:#b87518}.btn,.navbtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--blue);border-radius:10px;padding:12px 20px;background:linear-gradient(135deg,#e2c778 0%,#d4af57 45%,#b48a2c 100%);color:var(--ink);font-size:13px;font-weight:800;line-height:1.5;white-space:nowrap;min-height:46px;transition:background .16s,transform .16s,border .16s,box-shadow .16s;box-shadow:0 10px 24px rgba(180,138,44,.18)}.btn:hover,.navbtn:hover{background:linear-gradient(135deg,#ecd795 0%,#d4af57 45%,#a67b22 100%);border-color:var(--blue-dark);transform:translateY(-1px);box-shadow:0 14px 28px rgba(180,138,44,.24)}.btn.gold,.btn.light,.navbtn.soft{background:#fff;color:var(--ink);border-color:#e2d9c5}.btn.gold:hover,.btn.light:hover,.navbtn.soft:hover{background:#f8f3e7}.btn.dark{background:var(--ink);border-color:var(--ink)}.btn.dark:hover{background:#2b3542}.btn.full{width:100%}.btn.sm{padding:7px 12px;min-height:34px;font-size:12px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px}.top{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.965);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:25px}.logo{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font:800 20px/1 Manrope,sans-serif;letter-spacing:-.065em}.logo strong{color:var(--blue)}.logo-img{width:48px;height:auto;display:block;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.08))}.logo-wordmark{display:inline-block}.logo-mark{display:none}.nav nav{display:flex;align-items:center;gap:26px}.nav nav>a:not(.navbtn),.nav .nav-link{font-size:13px;font-weight:750;color:#535c66}.nav nav>a:hover{color:var(--blue)}.nav form{display:inline}.nav .navbtn{font-size:13px}.mobile-nav-toggle{display:none;border:0;background:#fbf4e4;color:var(--ink);border-radius:8px;width:43px;height:43px;font-size:20px}.foot{border-top:1px solid #e7e9ed;background:#fff;padding:35px 0 22px}.foot-row{display:flex;align-items:center;justify-content:space-between;gap:30px}.foot p{margin:12px 0 0;max-width:300px;font-size:12px}.foot small{color:#88909a}.foot .logo-img{width:38px}.foot .logo{font-size:17px}.footer-copy{text-align:right;font-size:12px;color:#818991}.footer-copy div{margin-bottom:7px}
/* Public home / editorial academy */
.home-hero{padding:78px 0 60px;display:grid;grid-template-columns:1fr 0.94fr;gap:70px;align-items:center}.home-hero h1{margin:19px 0 23px;max-width:710px}.home-hero h1 em{font-style:normal;color:var(--blue)}.hero-lead{max-width:540px;font-size:16px;line-height:1.85}.hero-ctas{margin-top:31px}.hero-under{margin-top:46px;padding-top:21px;border-top:1px solid #dce0e4;display:flex;gap:24px;flex-wrap:wrap}.hero-under span{font-size:12px;font-weight:700;color:#6b7481}.hero-under span:before{content:'✓';color:var(--blue);font-weight:900;margin-right:8px}.hero-preview{background:#f7edd8;border-radius:25px;padding:24px;position:relative;isolation:isolate;min-height:515px;display:flex;align-items:center}.hero-preview:after{content:'';position:absolute;border-radius:50%;height:290px;width:290px;background:#ead598;right:-30px;top:-40px;z-index:-1}.preview-window{width:100%;background:#fff;border:1px solid #d4ddec;border-radius:15px;box-shadow:0 30px 72px #1d376b26;overflow:hidden}.preview-head{height:53px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf3;padding:0 21px;font-size:10px;letter-spacing:.12em;font-weight:800;color:#8491a5}.traffic{display:flex;gap:5px}.traffic i{width:8px;height:8px;border-radius:50%;background:#dce3ec}.traffic i:first-child{background:#d7b865}.preview-content{display:grid;grid-template-columns:92px 1fr;min-height:342px}.preview-side{background:#f7f9fd;border-right:1px solid #e8ecf4;padding:23px 14px;display:flex;flex-direction:column;gap:17px}.preview-side i{height:8px;border-radius:3px;background:#dce4ef}.preview-side i:first-child{background:var(--blue)}.preview-main{padding:26px}.preview-main h3{margin:6px 0 19px;font-size:23px}.preview-top{font-size:10px;letter-spacing:.13em;color:#7a8aa2;font-weight:800}.preview-course{background:#f5f7fb;border:1px solid #ecf0f5;border-radius:11px;padding:14px;margin-bottom:10px;display:flex;gap:12px;align-items:center}.preview-icon{width:40px;height:40px;border-radius:10px;background:#f5e7bc;color:var(--blue);display:grid;place-items:center;font-size:20px}.preview-course b{display:block;font-size:12px}.preview-course small{font-size:10px;color:#7a8699}.preview-course:nth-child(3) .preview-icon{background:#ebe7d9;color:#577d3b}.preview-progress{height:5px;background:#e1e8f2;border-radius:10px;margin-top:10px;overflow:hidden}.preview-progress i{display:block;width:58%;height:100%;border-radius:10px;background:var(--blue)}.preview-mini{position:absolute;right:-13px;bottom:17px;background:var(--ink);color:white;border-radius:11px;padding:15px 22px;box-shadow:0 14px 30px #1e31414a}.preview-mini b{display:block;font-size:13px}.preview-mini small{font-size:11px;color:#aab5c4}.micro-strip{border-top:1px solid #e6e8e8;border-bottom:1px solid #e6e8e8;padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.micro-strip span{font-size:13px;font-weight:750;display:flex;gap:12px;align-items:center}.micro-strip svg{width:20px;height:20px;color:var(--blue)}.catalog-section{padding:95px 0 70px;scroll-margin-top:95px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:32px}.section-heading h2{margin:13px 0 7px}.section-heading p{margin:0}.catalog-count{background:#e8edfb;color:var(--blue);border-radius:9px;padding:7px 13px;font-size:12px;font-weight:800}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #e5e9e9;border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.course-card{overflow:hidden;padding:0;display:flex;flex-direction:column;transition:transform .16s,box-shadow .16s}.course-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px #1d354317}.course-cover{height:158px;padding:22px;display:flex;align-items:flex-end;justify-content:space-between;position:relative;overflow:hidden;background:#dfe8fc;color:#143a99}.course-cover.v2{background:#e1e9dc;color:#477642}.course-cover.v3{background:#efe3c8;color:#69428b}.course-cover:before,.course-cover:after{content:'';display:block;position:absolute;border:2px solid currentColor;border-radius:50%;opacity:.19;width:220px;height:220px;right:-34px;top:-96px}.course-cover:after{width:157px;height:157px;right:-2px;top:-65px;opacity:.4}.cover-number{font-family:Manrope,sans-serif;font-size:58px;line-height:1;font-weight:800;letter-spacing:-.08em}.cover-label{font-weight:850;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.course-body{padding:25px;display:flex;flex-direction:column;flex:1}.course-body h3{margin:14px 0 9px;font-size:20px}.course-body p{font-size:13px;line-height:1.8;margin-bottom:21px;flex:1}.course-foot{border-top:1px solid #edf0f1;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:12px}.price{font-size:26px;font-weight:850;letter-spacing:-.04em;color:var(--ink)}.price small{font-size:11px;color:var(--muted);font-weight:700}.text-link{color:var(--blue);font-size:13px;font-weight:800;white-space:nowrap}.empty-catalog{padding:60px 32px;border:1px dashed #cfd9e4;background:#fff;border-radius:18px;text-align:center}.empty-catalog h3{font-size:22px}.empty-catalog p{max-width:480px;margin:0 auto 20px}.how-section{padding:65px 0 102px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{padding:29px 30px;border-radius:15px;background:#fff;border:1px solid var(--line)}.step>span{font-size:13px;color:var(--blue);font-weight:900}.step h3{margin:28px 0 10px;font-size:19px}.step p{font-size:13px;margin:0;line-height:1.8}.bottom-banner{background:var(--ink);border-radius:22px;padding:51px 58px;display:flex;justify-content:space-between;align-items:center;gap:35px;color:white}.bottom-banner .label{color:#c0d0ff}.bottom-banner h2{margin:13px 0 10px;color:white}.bottom-banner p{margin:0;color:#b8c2cf}.bottom-banner .btn{background:var(--lime);color:var(--ink);border-color:var(--lime)}.bottom-banner .btn:hover{background:#efffc6}
/* shared forms and details */
.auth-shell{min-height:570px;display:grid;grid-template-columns:.92fr 1.08fr;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow);margin:55px auto 20px;max-width:1020px}.auth-side{background:#0b1220;padding:52px 48px;position:relative;overflow:hidden;color:white;display:flex;flex-direction:column;justify-content:space-between}.auth-side:after{content:'';position:absolute;border:2px solid #ffffff4a;width:330px;height:330px;border-radius:50%;right:-90px;bottom:-90px;box-shadow:0 0 0 65px #ffffff0c,0 0 0 130px #ffffff0b}.auth-side h2{font-size:clamp(31px,3.5vw,46px);margin:12px 0;color:white}.auth-side p{color:#d7c48b;max-width:325px}.auth-side .eyebrow{color:#e8d492}.auth-side .eyebrow:before{background:white}.auth-side .auth-small{font-size:12px;color:#d8c38a;position:relative;z-index:2}.auth-form{padding:52px 54px;display:flex;flex-direction:column;justify-content:center}.auth-form h1{font-size:31px;margin:0 0 8px}.auth-form p{font-size:14px}.auth-form form{margin-top:14px}.auth-form .btn{width:100%;margin-top:11px}.auth-bottom{margin-top:25px;text-align:center;font-size:13px;color:#6c7784}.auth-bottom a{color:var(--blue);font-weight:800}.auth.card{max-width:530px;margin:55px auto}.field{display:block;margin-bottom:16px;font-size:12px;font-weight:800;color:#3e4855}.field input,.field textarea,.field select,input[type=search]{width:100%;display:block;border:1px solid #dce2e7;background:#fff;border-radius:9px;padding:12px 14px;font-size:14px;outline:none;margin-top:7px;color:var(--ink);min-width:0}.field textarea{resize:vertical;min-height:116px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(212,175,87,.14)}.field input[type=checkbox]{width:auto;display:inline;vertical-align:middle;margin:0 8px 0 0}.notice{background:#edf4ff;border-left:3px solid var(--blue);color:#7e6120;padding:14px 17px;border-radius:8px;margin:18px 0;font-size:13px}.notice.error{background:#ffeded;border-color:#c83737;color:#962b2b}.notice.success{background:#e5f8ec;border-color:#278b58;color:#276c4e}.flex{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.stack{display:grid;gap:12px}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.page-top{padding:52px 0 35px}.page-top h1{margin:14px 0 13px;font-size:clamp(31px,4.1vw,51px)}.page-top .lead{max-width:730px}.lead{font-size:15px;line-height:1.85}.course-intro{display:grid;grid-template-columns:1fr 310px;gap:42px;align-items:start;padding:57px 0 37px}.course-intro h1{margin:14px 0}.course-purchase{padding:24px;position:sticky;top:100px}.course-purchase .btn{width:100%;margin-top:17px}.course-purchase p{font-size:12px}.syllabus{max-width:820px}.lesson-list{display:grid;gap:9px;padding:0;list-style:none}.lesson-list a,.lesson-list .locked{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 18px;font-weight:700;font-size:14px}.lesson-list a:hover{border-color:#9fb3e9;background:#fafdff}.locked{opacity:.6}.lesson-index{font-weight:800;font-size:12px;color:var(--blue);min-width:28px}.lesson-list .locked .lesson-index{color:#667}.reader{margin:45px 0}.reader h1{font-size:36px}.reader .content{white-space:pre-wrap;font-size:15px;line-height:2}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}.reader-main .video{width:100%;background:#121722;border-radius:13px;max-height:590px;margin:20px 0}.lesson-sidebar{background:#fff;border-radius:13px;padding:23px;border:1px solid var(--line);align-self:start;position:sticky;top:103px}.lesson-sidebar .lesson-list{margin:15px 0 0}.lesson-sidebar .lesson-list a{padding:11px 13px;font-size:12px}.empty-state{padding:42px;background:#fff;border-radius:14px;border:1px dashed #cfd6df;text-align:center}.empty-state h3{margin-top:10px}.empty-state p{max-width:500px;margin:0 auto 18px}.empty-drawing{width:63px;height:63px;border-radius:18px;margin:0 auto;display:grid;place-items:center;background:#e6eeff;color:var(--blue);font-size:25px}
/* dashboard, admin */
.dashboard-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:31px;padding-top:35px}.dashboard-side{border:1px solid var(--line);background:#fff;border-radius:16px;min-height:600px;padding:17px;align-self:start;position:sticky;top:101px}.side-label{font-weight:800;font-size:10px;letter-spacing:.14em;color:#9a9fa5;padding:17px 12px 9px;text-transform:uppercase}.dash-nav{display:flex;flex-direction:column;gap:3px}.dash-nav a{display:flex;align-items:center;gap:10px;font-weight:750;font-size:13px;padding:11px 13px;border-radius:9px;color:#616b75}.dash-nav a svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8;fill:none}.dash-nav a:hover,.dash-nav a.active{background:#f8edd0;color:var(--blue)}.sidebar-foot{border-top:1px solid var(--line);margin-top:23px;padding:16px 11px;font-size:12px;color:var(--muted)}.dashboard-content{min-width:0}.dash-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:7px 0 26px}.dash-title h1{font-size:32px;margin:7px 0}.dash-title p{margin:0}.dash-eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.12em}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 26px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px 22px}.metric small{display:block;color:#717983;font-size:12px;margin-bottom:7px}.metric strong{display:block;font:800 31px Manrope,sans-serif;letter-spacing:-.05em}.metric .metric-icon{width:35px;height:35px;background:#fbf1dc;border-radius:9px;display:grid;place-items:center;color:var(--blue);font-size:17px;margin-bottom:15px}.dashboard-content .card{margin-bottom:20px}.table-scroll{overflow-x:auto}.table-scroll table{min-width:650px}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{padding:14px 13px;text-align:left;vertical-align:middle;border-bottom:1px solid #edf0f2;font-size:12px}.data-table th{font-weight:800;color:#77818a;text-transform:uppercase;letter-spacing:.06em;font-size:10px}.data-table tr:last-child td{border:0}.data-table td .btn{white-space:nowrap}.admin-section{scroll-margin-top:100px}.admin-section h2{font-size:20px;margin:0 0 18px}.admin-panel{background:#fff;border-radius:15px;border:1px solid var(--line);padding:25px;margin-bottom:22px}.admin-panel>.flex{margin-bottom:13px}.admin-panel .field{margin-bottom:8px}.admin-panel h3{margin-bottom:14px}.admin-section .notice{margin:0 0 22px}.admin-kpi-sub{font-size:11px;color:#9099a4}.admin-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.admin-table-empty{padding:25px;color:#6b7580;font-size:13px}.dashboard-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dash-course-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:0;overflow:hidden}.dash-course-cover{height:109px;background:#f4e5b6;padding:19px;font-weight:850;font-size:24px;color:#1e4dbd}.dash-course-cover.v2{background:#eee3c8;color:#436b46}.dash-course-cover.v3{background:#f0e3c8;color:#715192}.dash-course-inner{padding:22px}.dash-course-inner h3{font-size:18px;margin:9px 0}.dash-course-inner p{font-size:12px;margin:6px 0 14px}.dash-course-inner .btn{margin-top:7px}.student-banner{background:#0b1220;border-radius:17px;padding:32px 37px;color:#fff;margin-bottom:25px;position:relative;overflow:hidden}.student-banner h2{margin:0 0 12px;color:white;font-size:28px}.student-banner p{color:#c4d1ed;max-width:500px;margin-bottom:16px}.student-banner:after{content:'';position:absolute;border:2px solid #ffffff36;right:-70px;top:-95px;width:280px;height:280px;border-radius:50%;box-shadow:0 0 0 50px #ffffff0a,0 0 0 100px #ffffff08}.student-banner .btn{position:relative;z-index:1;border-color:#fff;background:#fff;color:#16294e}
@media(max-width:1030px){.home-hero{gap:33px}.nav nav{gap:14px}.dashboard-layout{grid-template-columns:215px 1fr;gap:19px}.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.wrap,main.wrap.wide-main{width:calc(100% - 30px)}.nav{min-height:68px;flex-wrap:wrap;gap:8px;padding:13px 0}.mobile-nav-toggle{display:grid;place-items:center}.nav nav{display:none;order:3;width:100%;padding:12px 0 8px;align-items:stretch;flex-direction:column;gap:4px}.nav nav.open{display:flex}.nav nav>a,.nav nav form,.nav nav .navbtn{display:block;width:100%;text-align:left}.nav nav>a{padding:9px 5px}.nav nav .navbtn{padding:10px 12px}.home-hero{grid-template-columns:1fr;padding:50px 0 42px;gap:32px}.home-hero h1{font-size:clamp(39px,9vw,61px)}.hero-preview{min-height:395px;padding:20px;max-width:590px}.preview-content{min-height:280px}.preview-mini{right:0;bottom:3px}.micro-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:19px}.catalog-section{padding:68px 0 37px}.how-section{padding:35px 0 65px}.steps{grid-template-columns:1fr}.bottom-banner{padding:32px;flex-direction:column;align-items:start}.auth-shell{grid-template-columns:1fr;margin-top:25px}.auth-side{min-height:210px;padding:29px}.auth-side:after{width:200px;height:200px;bottom:-105px}.auth-form{padding:30px 26px}.dashboard-layout{grid-template-columns:1fr;padding-top:22px;gap:18px}.dashboard-side{position:static;min-height:0}.dash-nav{flex-direction:row;flex-wrap:wrap}.dash-nav a{font-size:12px}.sidebar-foot{display:none}.metric-grid{grid-template-columns:repeat(3,1fr)}.course-intro{grid-template-columns:1fr;gap:12px}.course-purchase{position:static}.reader-layout{grid-template-columns:1fr}.lesson-sidebar{position:static}.foot-row{align-items:start}}
@media(max-width:560px){.logo{font-size:18px}.logo-mark{width:32px;height:32px}.home-hero h1{font-size:42px}.hero-under{gap:13px}.hero-under span{font-size:11px}.hero-preview{min-height:345px;padding:13px}.preview-content{grid-template-columns:63px 1fr}.preview-side{padding:19px 9px}.preview-main{padding:17px}.preview-main h3{font-size:18px}.preview-mini{display:none}.grid,.dashboard-course-list{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.micro-strip{grid-template-columns:1fr}.steps{gap:12px}.step{padding:21px}.metric-grid{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:span 2}.dash-title{align-items:start;flex-direction:column}.dash-title h1{font-size:28px}.student-banner{padding:27px}.split{grid-template-columns:1fr}.foot-row{flex-direction:column}.footer-copy{text-align:left}.auth-side h2{font-size:31px}.course-intro{padding-top:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.lesson-list svg,.empty-drawing svg,.metric-icon svg,.micro-strip svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none}.empty-drawing svg{width:31px;height:31px}.metric-icon svg{width:18px;height:18px}
@media(max-width:780px){.hero-preview{overflow:hidden}}

/* CapitalAcademy Policy V4 — brand-consistent disclosures and legal documents */
.global-risk-notice{background:#111b2c;color:#e5dfd3;border-bottom:1px solid rgba(212,175,87,.26)}
.global-risk-inner{display:flex;align-items:center;gap:11px;min-height:45px;padding:8px 0;font-size:11px;line-height:1.5;font-weight:500}
.global-risk-inner strong{color:#f0d58b;font-weight:800}
.global-risk-inner a{margin-left:auto;white-space:nowrap;color:#f0d58b;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.risk-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;background:#d7b762;color:#111b2c;border-radius:50%;font-size:11px;font-weight:900}
.footer-risk{max-width:570px!important;font-size:12px!important;line-height:1.65;color:#50535a!important}
.footer-risk strong{color:#8b6922}
.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:11px 18px;margin-top:14px}
.footer-links a{font-size:11px;font-weight:800;color:#846327;text-decoration:underline;text-underline-offset:3px}
.legal-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;color:var(--muted);padding:11px 13px;border:1px solid #e7deca;border-radius:10px;background:#fffcf5;margin:12px 0;cursor:pointer;text-align:left}
.legal-consent input{flex:0 0 auto;accent-color:#b48a2c;width:17px;height:17px;margin:2px 0 0}
.legal-consent a{color:#967329;text-decoration:underline;text-underline-offset:2px;font-weight:800}
.legal-shell{padding:48px 0 90px}.legal-hero{max-width:1050px;padding:41px;border-radius:22px;background:#111b2c;color:#f9f5e9;position:relative;overflow:hidden}
.legal-hero:after{content:'';position:absolute;right:-85px;bottom:-150px;width:350px;height:350px;border:1px solid #d4af5759;border-radius:50%;box-shadow:0 0 0 45px #d4af5712,0 0 0 95px #d4af570b;pointer-events:none}
.legal-hero .eyebrow,.legal-hero .eyebrow:before{color:#f0d58b}.legal-hero h1{font-size:clamp(31px,4.4vw,53px);letter-spacing:-.055em;margin:15px 0}
.legal-hero p{max-width:700px;color:#d5d0c7;font-size:14px;position:relative;z-index:1}
.legal-updated{display:inline-flex;background:#ffffff14;padding:8px 12px;border:1px solid #ffffff2b;border-radius:8px;font-weight:700;color:#e9dfc8;font-size:11px}
.legal-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:28px;align-items:start;margin-top:26px}
.legal-toc{position:sticky;top:148px;background:white;border:1px solid var(--line);border-radius:15px;padding:18px 13px;box-shadow:var(--shadow)}
.legal-toc h2{margin:0 9px 12px;font-size:13px;letter-spacing:0}.legal-toc a{display:block;color:#5e626a;font-size:12px;font-weight:700;padding:9px 10px;border-radius:8px}
.legal-toc a:hover,.legal-toc a:focus-visible{background:#f7efd9;color:#785715}
.legal-content{min-width:0}.legal-section{scroll-margin-top:152px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 32px;margin-bottom:17px;box-shadow:var(--shadow)}
.legal-section h2{font-size:22px;margin:0 0 16px;letter-spacing:-.035em}.legal-section h3{font-size:15px;letter-spacing:-.015em;margin:20px 0 6px}.legal-section p,.legal-section li{font-size:13px;line-height:1.9;color:#525d68}.legal-section p{margin-bottom:11px}.legal-section ul{padding-left:21px;margin:10px 0 12px}.legal-section li{padding-left:4px;margin:5px 0}.legal-section a{color:#967329;text-decoration:underline;text-underline-offset:3px}.legal-box{background:#fff9ea;border:1px solid #f0db9a;border-radius:11px;padding:17px 19px;margin:17px 0}.legal-box strong{font-size:14px}.legal-box p{margin:4px 0 0}.legal-facts{display:grid;grid-template-columns:1fr;gap:10px}.legal-fact{display:flex;gap:10px;align-items:start;flex-wrap:wrap;border-bottom:1px solid #f1eadb;padding:8px 0}.legal-fact strong{font-size:12px;color:#243044;min-width:125px}.legal-fact span{font-size:12px;color:#56616b;overflow-wrap:anywhere}.legal-footnote{font-size:11px;color:#707a83}
@media(max-width:780px){.global-risk-inner{align-items:flex-start;padding:9px 0}.global-risk-inner a{align-self:center}.legal-layout{grid-template-columns:1fr}.legal-toc{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.legal-toc h2{grid-column:1/-1}.legal-shell{padding:25px 0 55px}.legal-hero{padding:29px}.legal-section{padding:24px 21px;scroll-margin-top:115px}}
@media(max-width:520px){.global-risk-inner{font-size:10px;gap:8px;flex-wrap:wrap}.global-risk-inner a{margin-left:25px}.legal-toc{grid-template-columns:1fr 1fr}.legal-toc a{font-size:11px;padding:8px}.legal-fact strong{width:100%}}

/* V5: private lesson video player / Google Drive source UI */
[data-video-source-panel][hidden]{display:none!important}
.video-source-card{border:1px solid var(--line);border-radius:14px;padding:18px 19px;background:#fbfaf7;display:grid;gap:12px}
.video-source-card .field{margin-bottom:0}.video-source-card .small{margin:0;color:var(--muted)}
.video-source-current{display:grid;gap:4px;font-size:12px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere}
.video-source-current code{color:var(--ink);font-weight:700}
.video-source-help{line-height:1.65}
.lesson-video-card{border-radius:17px;border:1px solid #273141;background:#0b1220;overflow:hidden;margin:0 0 24px;box-shadow:0 21px 48px rgba(11,18,32,.15)}
.lesson-video-title{display:flex;align-items:center;gap:10px;background:#111b2b;color:#e6d7b7;border-bottom:1px solid #2a3542;padding:12px 16px;font-size:10px;letter-spacing:.09em;font-weight:800}
.lesson-video-indicator{background:linear-gradient(135deg,#f0da93,#b68a2e);height:7px;width:7px;border-radius:50%}
.lesson-video-protected{margin-left:auto;display:flex;align-items:center;gap:6px;color:#aab3c2;letter-spacing:0;font-weight:600}
.lesson-video-protected svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.lesson-video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#090e18;isolation:isolate}
.lesson-video-frame iframe{display:block;width:100%;height:100%;border:0;background:#090e18}
.lesson-video-toolbar{position:absolute;top:0;left:0;right:0;height:44px;background:#0b1220;z-index:2;display:flex;align-items:center;gap:10px;padding:0 15px;color:#e7cc8c;font-size:11px;font-weight:700;pointer-events:auto;user-select:none}
.lesson-video-toolbar img{width:36px;height:26px;object-fit:contain}
.lesson-video-toolbar .toolbar-lock{margin-left:auto;display:flex}
.lesson-video-toolbar .toolbar-lock svg{width:14px;height:14px;stroke:#e7cc8c;fill:none;stroke-width:1.7}
.lesson-video-disclaimer{font-size:11px;line-height:1.6;color:#9ca8b7;margin:0;padding:12px 16px}
.lesson-video-card .video{width:100%;display:block;border-radius:0;margin:0;background:#090e18}
@media(max-width:580px){.lesson-video-title{font-size:9px;padding:10px 11px}.lesson-video-toolbar{height:36px;padding:0 9px;font-size:10px}.lesson-video-toolbar img{width:29px;height:23px}.lesson-video-disclaimer{font-size:10px}.video-source-card{padding:14px}}

/* V7: restrained auth interactions, passwords, and bottom-of-page legal disclosure */
.auth-form .notice[hidden]{display:none!important}
.auth-form form[autocomplete="off"] input{background-color:#fff}
.password-control{position:relative;display:block}
.password-control input{padding-right:94px!important;margin-bottom:0}
.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:#f5efe0;color:#635023;border-radius:7px;min-height:35px;padding:7px 13px;font-size:12px;font-weight:800;white-space:nowrap;z-index:1}
.password-toggle:hover{background:#eadbb7}
.password-toggle:focus-visible{outline:2px solid #d4af57;outline-offset:2px}
.auth-form .btn[disabled]{opacity:.7;cursor:progress;transform:none}
.test-account-status{margin:12px 0}
.footer-final-risk{margin-top:24px;border-top:1px solid #e5dece;background:#f6f0e4;padding:16px 0;color:#565047;text-align:center;font-size:12px;line-height:1.75}
.footer-final-risk strong{color:#0b1220}
.footer-final-risk a{font-weight:800;color:#8a681f;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;margin-left:5px}
.footer-final-risk a:hover{color:#654913}
@media(max-width:560px){.footer-final-risk{font-size:11.5px;padding:15px 0}.password-toggle{font-size:12px}}

/* V9: usable controls, clear lesson numbering and spacing (desktop/tablet/mobile). */
.lesson-list .lesson-row-label{display:flex;align-items:center;gap:9px;min-width:0;flex:1;text-align:left}
.lesson-list .lesson-index{flex:0 0 auto;display:inline-block;min-width:23px;font-variant-numeric:tabular-nums;line-height:1.5}
.lesson-list .lesson-separator{flex:0 0 auto;color:#9d8c69;font-size:14px;font-weight:700}
.lesson-list .lesson-name{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.55}
.lesson-list .lesson-row-action{flex:0 0 auto;color:#98711e;white-space:nowrap;font-weight:800;font-size:12px}
.syllabus .lesson-list a,.syllabus .lesson-list .locked{min-height:60px;gap:14px;padding:15px 18px}
.syllabus .lesson-list .locked>svg{flex:0 0 18px;width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
.lesson-video-card{display:flex;flex-direction:column}
.lesson-video-title{gap:10px;min-height:47px;flex-wrap:wrap}
.lesson-video-protected{margin-left:auto;white-space:nowrap}
.lesson-video-frame{flex:1 1 auto;min-height:0}
.lesson-video-frame iframe{width:100%;height:100%;display:block;vertical-align:middle;border:0}
.lesson-video-frame .video{width:100%;height:100%;display:block;object-fit:contain;max-height:none;border-radius:0;margin:0;background:#090e18}
.lesson-video-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#1f2a3a;color:#e6d7b7;border:1px solid #3a4757;padding:7px 10px;min-height:32px;border-radius:8px;white-space:nowrap;font-size:11px;font-weight:800;letter-spacing:0;line-height:1.2;cursor:pointer}
.lesson-video-control:hover,.lesson-video-control:focus-visible{background:#303e52;border-color:#9f8649;color:#fff}
.lesson-video-control[hidden]{display:none!important}
.lesson-video-seek{display:inline-flex;align-items:center;gap:7px}
.lesson-video-fullscreen{margin-left:4px}
.lesson-video-card:fullscreen{width:100%;height:100%;max-height:100%;max-width:100%;border:0;border-radius:0;margin:0;background:#000;box-shadow:none}
.lesson-video-card:fullscreen .lesson-video-title{flex:0 0 auto}
.lesson-video-card:fullscreen .lesson-video-frame{flex:1 1 auto;height:0;aspect-ratio:auto;min-height:0;overflow:hidden}
.lesson-video-card:fullscreen .lesson-video-frame iframe,
.lesson-video-card:fullscreen .lesson-video-frame video{height:100%;width:100%}
.lesson-video-card::backdrop{background:#000}
.lesson-sidebar-list a{display:flex!important;align-items:center;gap:11px!important}
.lesson-sidebar-list a.is-current{background:#f9f1df;border-color:#d9bc72;color:#7d5c18}
.lesson-sidebar-number{flex:0 0 26px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;letter-spacing:0;color:#94772d;background:#f7f0e0;border-radius:6px;padding:5px}
.lesson-sidebar-name{display:block;min-width:0;flex:1;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:580px){
 .lesson-video-title{gap:8px;min-height:46px;padding:9px 11px}
 .lesson-video-protected{order:2;width:100%;margin-left:0;font-size:10px}
 .lesson-video-fullscreen{margin-left:auto}
 .lesson-video-frame{min-height:245px;aspect-ratio:16/10}
 .lesson-video-card:fullscreen .lesson-video-frame{min-height:0;aspect-ratio:auto}
 .lesson-list .lesson-row-label{gap:7px}
 .syllabus .lesson-list a,.syllabus .lesson-list .locked{padding:13px 11px;gap:9px}
 .lesson-list .lesson-row-action{font-size:11px}
}

/* Keep only Drive's timeline and transport controls uncovered; obscure the
   uncustomizable preview title/open-file header with our existing brand strip. */
.lesson-video-frame .lesson-video-toolbar{height:48px;z-index:2;pointer-events:auto}
@media(max-width:580px){.lesson-video-frame .lesson-video-toolbar{height:39px}}
/* Don't let iframe or a long lesson title expand mobile CSS grid tracks. */
.reader-layout,.reader-main,.lesson-sidebar,.lesson-video-card{min-width:0;max-width:100%}
@media(max-width:780px){.reader-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:580px){.lesson-video-protected{min-width:0;white-space:normal}.lesson-video-title{min-width:0}.lesson-video-frame iframe{min-width:0}}
