:root{--ink:#10233d;--muted:#5f6f82;--line:#dce4ec;--paper:#fff;--soft:#f4f8fb;--aqua:#0b7f87;--deep:#073f52;--gold:#e7a629;--danger:#b42318;--success:#147d4f;--shadow:0 14px 34px rgba(10,37,64,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;line-height:1.55}a{color:inherit}.sr-only{position:absolute;left:-9999px}.site-header{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:22px;padding:13px clamp(18px,4vw,64px);background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 13px rgba(10,37,64,.05)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:18px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,var(--aqua),var(--deep));color:#fff;font-weight:900}.header-search{position:relative;display:flex;max-width:850px;width:100%;margin:auto}.header-search input{width:100%;border:1px solid #afbbc8;border-radius:999px 0 0 999px;padding:12px 18px;font-size:15px}.header-search button{border:0;border-radius:0 999px 999px 0;padding:0 21px;background:var(--deep);color:#fff;font-weight:800}.suggestions{position:absolute;left:12px;right:12px;top:50px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;display:none;overflow:hidden}.suggestions.active{display:block}.suggestions a{display:block;padding:10px 14px;text-decoration:none;border-bottom:1px solid var(--line)}.top-nav{display:flex;align-items:center;gap:16px;white-space:nowrap}.top-nav a{text-decoration:none;font-weight:700;font-size:14px}.button,button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:var(--aqua);color:#fff;padding:11px 17px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.button:hover,button:hover,.btn:hover{filter:brightness(.94)}.button.secondary,.btn.secondary{background:#fff;color:var(--deep);border:1px solid var(--deep)}.button.danger,.btn.danger{background:var(--danger)}.button.small{padding:8px 12px}.container{width:min(1180px,calc(100% - 36px));margin:auto}.narrow{width:min(760px,calc(100% - 36px));margin:auto}.hero{background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.18),transparent 32%),linear-gradient(130deg,#073f52,#0b7f87 60%,#2d9c91);color:#fff;padding:72px 0}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.04;margin:0 0 20px;max-width:850px}.hero p{font-size:20px;max-width:750px}.hero-panel{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);border-radius:22px;padding:28px;backdrop-filter:blur(9px)}.hero-search{display:flex;margin-top:28px}.hero-search input{flex:1;padding:16px;border:0;border-radius:12px 0 0 12px;font-size:17px}.hero-search button{border-radius:0 12px 12px 0;background:var(--gold);color:#17233a}.section{padding:58px 0}.section.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section h2{font-size:clamp(28px,3vw,40px);margin:0}.grid{display:grid;gap:22px}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.course-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 19px rgba(10,37,64,.06);transition:.2s}.course-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.course-image{position:relative;display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(130deg,#0c5f70,#37a39b);background-size:cover;background-position:center;text-decoration:none}.course-image>span:first-child{font-size:70px;color:#fff;font-weight:900}.language-badge{position:absolute;left:12px;bottom:12px;background:#fff;color:var(--deep);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.course-card-body{padding:18px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--aqua);font-weight:900}.course-card h3{font-size:20px;line-height:1.25;margin:8px 0}.course-card h3 a{text-decoration:none}.course-card p{color:var(--muted);min-height:48px}.course-meta{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px;font-size:14px}.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;text-decoration:none;font-weight:750}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stat{padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px}.stat strong{display:block;font-size:30px}.form-card,.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:26px;box-shadow:0 8px 25px rgba(10,37,64,.06)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:800}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #b8c5d1;border-radius:9px;font:inherit}.field textarea{min-height:130px;resize:vertical}.help{font-size:13px;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:20px}.flash-stack{position:fixed;top:82px;right:20px;z-index:80;width:min(430px,calc(100% - 40px))}.flash{padding:14px 16px;margin-bottom:10px;border-radius:12px;background:#e9f5ff;border:1px solid #9dccf0;box-shadow:var(--shadow)}.flash.success{background:#eaf8f0;border-color:#8fd0ac}.flash.warning{background:#fff7df;border-color:#e6c25e}.flash.error{background:#fff0ef;border-color:#e6aaa4}.dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 78px)}.sidebar{background:#0c273b;color:#fff;padding:28px 20px}.sidebar h2{font-size:18px}.sidebar a{display:block;color:#dcebf1;text-decoration:none;padding:10px 12px;border-radius:8px;margin:4px 0}.sidebar a:hover{background:rgba(255,255,255,.1)}.dashboard-main{padding:34px clamp(20px,4vw,55px);background:var(--soft)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}.data-table{border-collapse:collapse;width:100%;min-width:780px}.data-table th,.data-table td{padding:13px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.data-table th{background:#eef4f7;font-size:13px}.status{display:inline-flex;border-radius:999px;padding:4px 9px;background:#e9edf2;font-size:12px;font-weight:900}.status.paid,.status.published,.status.approved,.status.active{background:#ddf5e8;color:#0d683d}.status.pending{background:#fff1c8;color:#7e5800}.status.rejected,.status.failed,.status.suspended{background:#ffe1df;color:#8f2118}.course-hero{background:#0c273b;color:#fff;padding:55px 0}.course-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px}.purchase-card{background:#fff;color:var(--ink);border-radius:16px;padding:22px;box-shadow:var(--shadow)}.purchase-card .price{font-size:31px;font-weight:950}.curriculum-item{border:1px solid var(--line);border-radius:12px;margin:10px 0;overflow:hidden}.curriculum-title{padding:14px 16px;background:#eef4f7;font-weight:900}.lesson-row{display:flex;justify-content:space-between;gap:18px;padding:12px 16px;border-top:1px solid var(--line)}.learn-shell{display:grid;grid-template-columns:minmax(0,1fr) 380px;min-height:calc(100vh - 78px);background:#101820}.video-area{padding:24px}.video-frame{aspect-ratio:16/9;width:100%;border:0;background:#000;border-radius:10px}.learn-info{background:#fff;margin-top:18px;border-radius:12px;padding:22px}.curriculum-sidebar{background:#fff;border-left:1px solid var(--line);overflow:auto;max-height:calc(100vh - 78px)}.curriculum-sidebar h2{padding:18px;margin:0;border-bottom:1px solid var(--line)}.lesson-link{display:block;padding:13px 16px;border-bottom:1px solid var(--line);text-decoration:none}.lesson-link.active{background:#dff4f4;border-left:5px solid var(--aqua)}.lesson-link.completed::after{content:"✓";float:right;color:var(--success);font-weight:900}.progress{height:10px;background:#dfe7ed;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--aqua)}.auth-wrap{padding:60px 0;background:var(--soft);min-height:calc(100vh - 160px)}.site-footer{display:flex;justify-content:space-between;gap:30px;background:#071d2d;color:#d9e9ef;padding:38px clamp(18px,5vw,75px)}.site-footer a{color:#fff}.empty{padding:35px;text-align:center;color:var(--muted)}.split-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.split-summary div{padding:13px;border-radius:10px;background:var(--soft)}.split-summary span{display:block;color:var(--muted);font-size:12px}.danger-text{color:var(--danger)}
@media(max-width:980px){.site-header{grid-template-columns:1fr auto}.header-search{grid-column:1/-1;grid-row:2}.top-nav{justify-self:end}.hero-grid,.course-hero-grid{grid-template-columns:1fr}.course-grid{grid-template-columns:repeat(2,1fr)}.dashboard{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;gap:5px;padding:12px}.sidebar h2{display:none}.sidebar a{white-space:nowrap}.learn-shell{grid-template-columns:1fr}.curriculum-sidebar{max-height:none}.split-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.site-header{display:flex;flex-wrap:wrap;padding:12px 14px}.brand span:last-child{display:none}.header-search{order:3;flex-basis:100%}.top-nav{margin-left:auto;gap:10px}.top-nav a:not(.button){font-size:12px}.hero{padding:48px 0}.hero-search{display:block}.hero-search input,.hero-search button{width:100%;border-radius:10px;margin-top:8px}.course-grid,.form-grid,.stats{grid-template-columns:1fr}.section{padding:40px 0}.site-footer{display:block}.course-hero{padding:38px 0}.split-summary{grid-template-columns:1fr}}

.approval-explainer{margin:18px 0 24px;padding:17px 19px;border:1px solid #e5c464;border-left:5px solid var(--gold);border-radius:12px;background:#fff8df}.approval-explainer.student{border-color:#9ccfc2;border-left-color:var(--aqua);background:#edf9f7}.approval-explainer ol{margin:8px 0 0;padding-left:22px}.approval-explainer p{margin:7px 0 0;color:var(--muted)}
.instructor-purpose{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:28px}.instructor-purpose h2{margin:5px 0}.instructor-purpose p{max-width:760px;color:var(--muted)}
.resource-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px;margin-bottom:24px;border-radius:18px;background:linear-gradient(125deg,#073f52,#0b7f87);color:#fff}.resource-hero h1{margin:5px 0 10px}.resource-hero p{max-width:850px;margin:0}.resource-section{margin-bottom:30px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{display:flex;flex-direction:column;min-height:190px;padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(10,37,64,.05);transition:.2s}.resource-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.resource-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.resource-card p{color:var(--muted);flex:1}.resource-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e7f5f3;color:var(--deep);font-size:11px;font-weight:900;white-space:nowrap}.resource-link{font-weight:900;color:var(--aqua)}.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.method-step{display:flex;gap:13px;padding:14px;border-radius:12px;background:var(--soft)}.method-step>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--aqua);color:#fff;font-weight:900}.method-step p{margin:4px 0 0;color:var(--muted)}.drive-checklist li{margin:10px 0}.drive-help{margin:16px 0;padding:13px 15px;border-radius:10px;background:#eef8fb;border:1px solid #b7d9e2}.lesson-slot-grid{display:grid;gap:10px;margin-top:16px}.lesson-slot-head,.lesson-slot-row{display:grid;grid-template-columns:52px minmax(150px,.85fr) minmax(260px,1.4fr) 90px 90px;gap:10px;align-items:center}.lesson-slot-head{padding:0 8px;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.lesson-slot-row{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.lesson-slot-row input,.lesson-slot-row textarea{width:100%;padding:10px;border:1px solid #b8c5d1;border-radius:8px;font:inherit}.slot-number{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--deep);color:#fff;font-weight:900}.slot-check{display:flex;align-items:center;gap:6px;font-size:12px}.slot-description{grid-column:2/-1;min-height:58px;resize:vertical}.curriculum-tools{margin-top:22px}.narrow-panel{max-width:760px}.form-card code,.panel code{padding:2px 5px;border-radius:5px;background:#edf2f5}
@media(max-width:980px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-slot-head{display:none}.lesson-slot-row{grid-template-columns:52px 1fr 1fr}.lesson-slot-row input[type="url"]{grid-column:2/-1}.slot-description{grid-column:2/-1}.instructor-purpose,.resource-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.resource-grid,.method-grid{grid-template-columns:1fr}.lesson-slot-row{grid-template-columns:42px 1fr}.lesson-slot-row input,.lesson-slot-row input[type="url"],.slot-check,.slot-description{grid-column:2/-1}.curriculum-tools{grid-template-columns:1fr!important}}

/* Curriculum draft-protection and wider Google Drive link fields — v1.2.1 */
.curriculum-dashboard-main{min-width:0}.curriculum-slot-card{max-width:none}.curriculum-builder-head{align-items:flex-start}.draft-state{flex:0 0 auto;max-width:360px;padding:10px 13px;border:1px solid #b7d9e2;border-radius:10px;background:#eef8fb;color:var(--deep);font-size:13px;font-weight:800}.draft-state.saved{border-color:#8fd0ac;background:#eaf8f0;color:#0d683d}.draft-state.warning{border-color:#e6c25e;background:#fff7df;color:#7e5800}.lesson-slot-grid{display:block;margin-top:16px}.lesson-slot-head{display:grid;grid-template-columns:52px minmax(260px,1fr) 110px 100px;gap:12px;padding:0 14px 8px;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.lesson-slot-row{display:grid;grid-template-columns:52px minmax(260px,1fr) 110px 100px;gap:12px;align-items:center;margin-bottom:14px;padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--soft)}.lesson-slot-row input,.lesson-slot-row textarea{width:100%;padding:11px 12px;border:1px solid #b8c5d1;border-radius:8px;font:inherit;background:#fff}.slot-number{grid-column:1;grid-row:1;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--deep);color:#fff;font-weight:900}.slot-title-input{grid-column:2;grid-row:1}.slot-minutes-input{grid-column:3;grid-row:1}.slot-check{grid-column:4;grid-row:1;display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800}.slot-check input{width:auto}.slot-url-field{grid-column:2/-1;grid-row:2;display:flex;flex-direction:column;gap:6px}.slot-url-field label{font-size:13px;font-weight:900;color:var(--deep)}.slot-url-input{min-height:46px;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}.slot-description{grid-column:2/-1;grid-row:3;min-height:64px;resize:vertical}.curriculum-slot-actions{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-top:18px}.curriculum-slot-actions .actions{margin-top:0}.curriculum-draft-help{margin:14px 0 0}.danger-outline{border-color:#d99089!important;color:#8f2118!important;background:#fff!important}.danger-outline:hover{background:#fff0ef!important}.draft-restored-notice{margin:0 0 14px;padding:12px 14px;border:1px solid #8fd0ac;border-radius:10px;background:#eaf8f0;color:#0d683d;font-weight:800}
@media(max-width:1100px){.lesson-slot-head{display:none}.lesson-slot-row{grid-template-columns:52px minmax(0,1fr) 100px}.slot-title-input{grid-column:2;grid-row:1}.slot-minutes-input{grid-column:3;grid-row:1}.slot-check{grid-column:2/-1;grid-row:2}.slot-url-field{grid-column:2/-1;grid-row:3}.slot-description{grid-column:2/-1;grid-row:4}.draft-state{max-width:none}}
@media(max-width:650px){.lesson-slot-row{grid-template-columns:42px minmax(0,1fr);padding:12px}.slot-number{width:36px;height:36px}.slot-title-input,.slot-minutes-input,.slot-check,.slot-url-field,.slot-description{grid-column:2/-1}.slot-title-input{grid-row:1}.slot-minutes-input{grid-row:2}.slot-check{grid-row:3}.slot-url-field{grid-row:4}.slot-description{grid-row:5}.curriculum-slot-actions{display:block}.curriculum-slot-actions .actions{margin-top:12px}.curriculum-slot-actions button{width:100%}.draft-state{width:100%}}

/* Sample demonstrations and automatic certificates - v1.3.0 */
.sample-banner{display:flex;align-items:center;justify-content:center;gap:16px;padding:13px 20px;background:#fff4cf;border-bottom:1px solid #e2bd51;color:#6f4c00;text-align:center}.sample-banner strong{font-size:13px;letter-spacing:.08em}.sample-banner span{font-size:14px}.sample-seal{display:inline-flex;padding:7px 12px;border-radius:999px;background:#fff1c8;color:#7e5800;font-size:12px;font-weight:950;letter-spacing:.08em}.sample-not-course{margin:0 0 20px;padding:16px;border:1px solid #e2bd51;border-left:5px solid var(--gold);border-radius:11px;background:#fff8df;color:#6f4c00}.sample-card-badge{position:absolute!important;right:12px;top:12px!important;left:auto!important;bottom:auto!important;padding:6px 9px;border-radius:999px;background:#fff1c8!important;color:#6f4c00!important;font-size:10px!important;font-weight:950!important;letter-spacing:.05em}.sample-course-card{border-color:#e2bd51}.status.sample{background:#fff1c8;color:#7e5800}.content-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.content-type-card{display:flex;align-items:flex-start;gap:12px;padding:17px;border:2px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.content-type-card:has(input:checked){border-color:var(--aqua);background:#edf9f7}.content-type-card.sample:has(input:checked){border-color:var(--gold);background:#fff8df}.content-type-card input{width:auto;margin-top:5px}.content-type-card span{display:flex;flex-direction:column;gap:4px}.content-type-card small{color:var(--muted)}
.certificate-earned{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:16px 18px;border:1px solid #8fd0ac;border-left:5px solid var(--success);border-radius:12px;background:#eaf8f0}.certificate-earned div{display:flex;flex-direction:column}.certificate-earned span{color:#37604b;font-size:14px}.certificate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.certificate-card{position:relative;overflow:hidden;padding:26px;border:2px solid #0b7f87;border-radius:16px;background:linear-gradient(145deg,#fff,#f4fbfb);box-shadow:var(--shadow)}.certificate-card.revoked{border-color:#b42318;opacity:.78}.certificate-ribbon{position:absolute;right:-44px;top:19px;width:160px;transform:rotate(38deg);background:#e7a629;color:#10233d;text-align:center;font-size:11px;font-weight:950;padding:5px}.certificate-verification{margin-top:24px;padding:22px;border-radius:14px;border:2px solid #8fd0ac;background:#eaf8f0}.certificate-verification.revoked{border-color:#e6aaa4;background:#fff0ef}.certificate-verification dl{display:grid;grid-template-columns:150px 1fr;gap:8px 15px}.certificate-verification dt{font-weight:900}.certificate-verification dd{margin:0}.status.valid{background:#ddf5e8;color:#0d683d}.status.revoked{background:#ffe1df;color:#8f2118}
@media(max-width:760px){.sample-banner,.certificate-earned{align-items:flex-start;flex-direction:column}.content-type-options,.certificate-grid{grid-template-columns:1fr}.certificate-verification dl{grid-template-columns:1fr}.certificate-verification dd{margin-bottom:8px}}

/* Ethiopian manual course payments - v1.4.0 */
.checkout-wide{width:min(980px,calc(100% - 36px))}.checkout-method-title{margin:30px 0 16px}.payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.payment-method-card{display:flex;flex-direction:column;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(10,37,64,.06)}.payment-method-card h3{margin:5px 0 9px;font-size:22px}.payment-method-card p{color:var(--muted)}.payment-method-card form{margin-top:auto}.payment-method-button{width:100%}.payment-method-icon{font-size:32px;margin-bottom:8px}.ethiopian-payment-card{border:2px solid #16866b;background:linear-gradient(145deg,#fff,#eef9f5)}.manual-etb-amount{margin:6px 0 2px;color:#0d683d;font-size:30px;font-weight:950}.payment-method-disabled{opacity:.72;background:#f5f7f8}.manual-payment-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.manual-payment-status>div{padding:14px;border-radius:11px;background:var(--soft)}.manual-payment-status span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}.manual-payment-status strong{font-size:16px}.manual-reference{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;overflow-wrap:anywhere}.manual-payment-layout,.manual-review-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px;align-items:start}.payment-account-details{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px;margin:0}.payment-account-details dt{font-weight:900;color:var(--deep)}.payment-account-details dd{margin:0;overflow-wrap:anywhere}.copy-mini{display:inline-flex;margin-left:8px;padding:4px 8px;border-radius:7px;font-size:12px}.manual-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.manual-filter-row .chip.active{background:var(--deep);color:#fff;border-color:var(--deep)}.manual-payments-table{min-width:1050px}.verification-checklist{display:grid;gap:9px;margin:16px 0;padding:15px;border:1px solid #b7d9e2;border-radius:12px;background:#eef8fb}.verification-checklist label{display:flex;align-items:flex-start;gap:9px}.verification-checklist input{margin-top:4px}.manual-review-form{margin-top:20px}.status.awaiting_payment{background:#fff1c8;color:#7e5800}.status.receipt_submitted{background:#e9f5ff;color:#14567c}.status.under_verification{background:#e8e4ff;color:#4a3890}.status.more_information_required{background:#fff0cf;color:#7e5800}.status.expired,.status.cancelled{background:#e9edf2;color:#52616f}.profile-file-status{margin-top:10px;padding:11px 13px;border-radius:10px;background:#edf7f3;color:#0d683d}
@media(max-width:980px){.payment-method-grid,.manual-payment-layout,.manual-review-grid{grid-template-columns:1fr}.manual-payment-status{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.manual-payment-status{grid-template-columns:1fr}.payment-account-details{grid-template-columns:1fr}.payment-account-details dd{margin-bottom:8px}.copy-mini{margin-left:0;margin-top:6px}.checkout-wide{width:min(100% - 24px,980px)}}


/* AQUA COURSE THUMBNAIL PLACEHOLDER FIX */
.course-image[style*="background-image"]
> .course-placeholder-letter {
    display: none !important;
}

/* Defensive correction for cards created by older layout code */
.course-image[style*="background-image"]
> span:first-child:not(.sample-card-badge):not(.language-badge) {
    display: none !important;
}

/* AQUA COURSE THUMBNAIL WHITE OVAL FINAL FIX */
.course-image[style*="background-image"]
> span:not(.language-badge):not(.sample-card-badge) {
    display: none !important;
}

/* Preserve the real information badges */
.course-image[style*="background-image"] > .language-badge,
.course-image[style*="background-image"] > .sample-card-badge {
    display: inline-flex !important;
}


/* AQUA LANGUAGE BADGE WHITE OVAL PERMANENT FIX */
.course-image > .language-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    color: var(--deep) !important;
    background: #fff !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
}


/* AQUA DEMO PARTICIPATION CERTIFICATES 1.5.0 */
.demo-enrol-summary,
.demo-certificate-promise,
.demo-learning-cta,
.demo-verification-disclaimer {
    margin: 18px 0;
    padding: 17px;
    border-radius: 13px;
}

.demo-enrol-summary {
    border: 1px solid var(--line);
    background: var(--soft);
}

.demo-certificate-promise {
    border: 1px solid #8fd0ac;
    border-left: 5px solid var(--success);
    background: #eaf8f0;
    color: #164f37;
}

.demo-learning-cta {
    border: 1px solid #b7d9e2;
    background: #eef8fb;
}

.demo-verification-disclaimer {
    border: 1px solid #e2bd51;
    border-left: 5px solid var(--gold);
    background: #fff8df;
    color: #6f4c00;
    font-weight: 700;
}

.certificate-type-badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 0 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.certificate-type-badge.demo {
    background: #fff1c8;
    color: #6f4c00;
}

.certificate-type-badge.course {
    background: #ddf5e8;
    color: #0d683d;
}

.demo-certificate-card {
    border-color: #e2bd51;
}

.demo-certificate-earned {
    border-color: #e2bd51;
    border-left-color: var(--gold);
    background: #fff8df;
}

.verification-authentic {
    font-weight: 800;
    color: #0d683d;
}

@media (max-width: 760px) {
    .demo-learning-cta .button {
        width: 100%;
        text-align: center;
    }
}


/* AQUA VERIFIED COURSE RATINGS 1.6.0 */
.course-rating-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0;color:var(--muted);font-size:14px}.course-rating-summary strong{color:var(--ink);font-size:15px}.course-rating-summary.compact{margin:10px 0 12px;font-size:13px}.course-rating-summary.compact strong{font-size:14px}.course-rating-summary.no-ratings{color:var(--muted)}.rating-stars{color:var(--gold);font-size:19px;letter-spacing:1px;white-space:nowrap}.rating-stars.empty{color:#aeb9c3}.course-rating-hero .course-rating-summary{color:#dcebf1}.course-rating-hero .course-rating-summary strong{color:#fff}.course-rating-hero .rating-stars.empty{color:#8195a6}.rating-public-panel{width:100%}.rating-section-head{align-items:center}.rating-public-score{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:430px}.rating-public-score strong{font-size:24px}.rating-public-score span{color:var(--muted)}.rating-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rating-review-card{display:flex;flex-direction:column;min-height:220px;padding:22px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(10,37,64,.06)}.rating-review-card p{flex:1;margin:18px 0;color:var(--ink)}.rating-review-card footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:13px}.rating-review-card footer small{margin-left:auto;color:var(--muted)}.rating-review-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.verified-rating-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#ddf5e8;color:#0d683d;font-size:11px;font-weight:900}.rating-learning-section{background:var(--soft)}.demo-rating-learning-section{background:#fff8df}.rating-form-card h2{margin-top:5px}.rating-fieldset{margin:18px 0;padding:0;border:0}.rating-fieldset legend{margin-bottom:8px;font-weight:900}.star-rating-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px}.star-rating-input input{position:absolute;opacity:0;pointer-events:none}.star-rating-input label{color:#b9c3cc;font-size:42px;line-height:1;cursor:pointer;transition:color .15s,transform .15s}.star-rating-input label:hover,.star-rating-input label:hover~label,.star-rating-input input:checked~label{color:var(--gold)}.star-rating-input input:focus-visible+label{outline:3px solid rgba(11,127,135,.35);outline-offset:3px;border-radius:4px}.star-rating-input label:hover{transform:translateY(-2px)}.rating-filter-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:14px;align-items:end;margin-top:20px}.rating-filter-form .actions{margin:0}.rating-admin-table .rating-stars{font-size:16px}.rating-instructor-stats{grid-template-columns:repeat(2,minmax(0,260px));margin-bottom:20px}.rating-instructor-list{display:grid;gap:15px}.rating-instructor-card .rating-review-top>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.status.hidden{background:#e9edf2;color:#52606d}.rating-admin-stats{margin:18px 0}.course-public-ratings{border-top:1px solid var(--line)}
@media(max-width:760px){.rating-review-grid{grid-template-columns:1fr}.rating-section-head{align-items:flex-start;flex-direction:column}.rating-public-score{justify-content:flex-start}.rating-filter-form{grid-template-columns:1fr}.rating-admin-stats{grid-template-columns:repeat(2,1fr)}.rating-instructor-stats{grid-template-columns:1fr}.star-rating-input label{font-size:38px}.rating-review-card footer small{width:100%;margin-left:0}}


/* AQUA COMPACT COURSE REVIEWS 1.6.2 */
.compact-rating-public-panel{display:grid;gap:24px}.compact-rating-overview{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);gap:32px;align-items:center;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}.compact-rating-score h2{margin:5px 0 10px}.rating-large-stars{font-size:25px}.compact-rating-number{display:flex;align-items:baseline;gap:7px;margin-top:5px}.compact-rating-number strong{font-size:34px;line-height:1}.compact-rating-number span,.compact-rating-score p{color:var(--muted)}.rating-distribution{display:grid;gap:8px}.rating-distribution-row{display:grid;grid-template-columns:62px minmax(90px,1fr) 44px 58px;gap:9px;align-items:center;font-size:13px}.rating-distribution-label{font-weight:800}.rating-distribution-track{display:block;height:10px;overflow:hidden;border-radius:999px;background:#e6ebef}.rating-distribution-track>span{display:block;height:100%;border-radius:inherit;background:var(--gold)}.rating-distribution-percent,.rating-distribution-count{color:var(--muted);text-align:right}.compact-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.compact-review-heading h2,.compact-review-heading h3{margin:0}.compact-review-heading span{color:var(--muted);font-size:14px}.compact-review-list{display:grid;gap:12px}.compact-review-item{padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}.compact-review-rating{display:flex;align-items:center;gap:10px}.compact-review-rating .rating-stars{font-size:17px}.compact-review-item p{margin:10px 0 12px}.compact-review-item footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.compact-review-item footer small{margin-left:auto;color:var(--muted)}.compact-review-actions{display:flex;justify-content:center}.compact-review-empty{padding:18px;border:1px dashed var(--line);border-radius:14px;background:#fff;color:var(--muted);text-align:center}.review-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin-top:6px}.review-pagination>*:last-child{justify-self:end}.compact-reviews-page{background:var(--soft)}.compact-review-page-head{align-items:center}.full-review-page-panel{margin-top:22px}
@media(max-width:760px){.compact-rating-overview{grid-template-columns:1fr;gap:22px;padding:18px}.rating-distribution-row{grid-template-columns:57px minmax(70px,1fr) 40px 48px;gap:7px}.compact-review-heading{align-items:flex-start;flex-direction:column;gap:5px}.compact-review-item footer small{width:100%;margin-left:0}.compact-review-page-head{align-items:flex-start;flex-direction:column}.review-pagination{grid-template-columns:1fr auto 1fr}.review-pagination .button{padding-left:12px;padding-right:12px}}


/* AQUA REVIEW PAGINATION 1.6.3 */
.review-pagination.review-pagination-numbered{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:8px}.review-pagination-pages{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}.review-page-link{display:inline-flex;min-width:38px;min-height:38px;align-items:center;justify-content:center;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-weight:800;text-decoration:none}.review-page-link:hover{border-color:var(--brand);color:var(--brand)}.review-page-link.is-current{border-color:var(--brand);background:var(--brand);color:#fff}.review-page-link.is-disabled{cursor:not-allowed;opacity:.45}.review-page-direction{min-width:92px}.review-page-ellipsis{display:inline-flex;min-width:28px;align-items:center;justify-content:center;color:var(--muted)}
@media(max-width:640px){.review-pagination.review-pagination-numbered{justify-content:center}.review-pagination-pages{order:3;width:100%}.review-page-direction{min-width:104px}}

/* ==========================================================
   AQL_LEGAL_MOBILE_SEO_V1 START
   Legal page, footer, responsive and accessibility correction
   ========================================================== */

html{
    overflow-x:hidden;
}

body{
    overflow-wrap:anywhere;
}

main{
    min-width:0;
    overflow-x:clip;
}

img,
video,
iframe,
svg{
    max-width:100%;
}

.site-footer{
    align-items:flex-start;
    flex-wrap:wrap;
}

.site-footer > div{
    min-width:0;
}

.site-footer-legal{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 16px;
    width:100%;
    padding-top:20px;
    margin-top:6px;
    border-top:1px solid rgba(255,255,255,.18);
}

.site-footer-legal a{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    color:#fff;
    font-weight:750;
    text-decoration:none;
    text-underline-offset:4px;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus-visible{
    text-decoration:underline;
}

.legal-page{
    background:#f4f8fb;
    color:#10233d;
}

.legal-container{
    width:min(1040px,calc(100% - 36px));
    margin-inline:auto;
}

.legal-hero{
    padding:clamp(48px,7vw,86px) 0;
    color:#fff;
    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(255,255,255,.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #073f52,
            #0b7f87 62%,
            #238d82
        );
}

.legal-eyebrow{
    margin:0 0 10px;
    font-size:.84rem;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.legal-hero h1{
    max-width:850px;
    margin:0;
    font-size:clamp(2rem,5vw,3.8rem);
    line-height:1.08;
    text-wrap:balance;
}

.legal-introduction{
    max-width:830px;
    margin:22px 0 0;
    font-size:clamp(1rem,2vw,1.18rem);
    line-height:1.75;
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

.legal-version{
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    margin-top:26px;
}

.legal-version span{
    display:inline-flex;
    gap:6px;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    background:rgba(255,255,255,.11);
}

.legal-quick-nav{
    position:sticky;
    top:78px;
    z-index:20;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:24px 0;
    padding:12px;
    border:1px solid #dce4ec;
    border-radius:16px;
    background:rgba(255,255,255,.97);
    box-shadow:0 8px 26px rgba(10,37,64,.08);
    backdrop-filter:blur(9px);
}

.legal-quick-nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:8px 13px;
    border:1px solid #dce4ec;
    border-radius:999px;
    background:#fff;
    color:#073f52;
    font-size:.9rem;
    font-weight:800;
    text-decoration:none;
}

.legal-quick-nav a:hover,
.legal-quick-nav a:focus-visible{
    color:#fff;
    background:#0b7f87;
    border-color:#0b7f87;
}

.legal-copy{
    padding-bottom:64px;
}

.legal-section{
    scroll-margin-top:160px;
    margin:0 0 22px;
    padding:clamp(22px,4vw,38px);
    border:1px solid #dce4ec;
    border-radius:18px;
    background:#fff;
    box-shadow:0 9px 28px rgba(10,37,64,.055);
}

.legal-section h2{
    margin:0 0 20px;
    color:#073f52;
    font-size:clamp(1.45rem,3vw,2rem);
    line-height:1.2;
}

.legal-section h3{
    margin:28px 0 10px;
    color:#0b5966;
    font-size:1.12rem;
    line-height:1.35;
}

.legal-section p,
.legal-section li,
.legal-section dd{
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
    overflow-wrap:anywhere;
}

.legal-section p{
    margin:0 0 16px;
    line-height:1.78;
}

.legal-section ul{
    margin:0 0 20px;
    padding-left:1.35rem;
}

.legal-section li{
    margin:0 0 10px;
    line-height:1.72;
}

.legal-identity{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin:0 0 24px;
}

.legal-identity div{
    min-width:0;
    padding:14px;
    border:1px solid #dce4ec;
    border-radius:12px;
    background:#f7fafc;
}

.legal-identity dt{
    margin-bottom:4px;
    color:#5f6f82;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.legal-identity dd{
    margin:0;
    font-weight:750;
}

.legal-highlight-section{
    border-color:#8fcdd0;
}

.legal-refund-section{
    border:2px solid #d7a53a;
}

.legal-important,
.legal-final-payment{
    margin:0 0 22px;
    padding:18px;
    border-radius:14px;
}

.legal-important{
    border:1px solid #8fcdd0;
    background:#ecf9f9;
}

.legal-final-payment{
    color:#6a4100;
    border:1px solid #e2bd63;
    background:#fff4d8;
    font-size:1.05rem;
}

.legal-important p{
    margin:8px 0 0;
}

.legal-reference-example{
    display:block;
    margin:18px 0;
    padding:16px;
    border-left:5px solid #0b7f87;
    border-radius:10px;
    background:#edf8f8;
    font-size:1rem;
}

.legal-contact-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:20px;
    border:1px solid #b9d6da;
    border-radius:14px;
    background:#f0f9f9;
}

.legal-contact-card a{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    color:#075f69;
    font-weight:800;
}

.legal-page a:focus-visible,
.site-footer a:focus-visible{
    outline:3px solid #e7a629;
    outline-offset:3px;
}

@media(max-width:760px){
    .legal-container{
        width:min(100% - 24px,1040px);
    }

    .legal-hero{
        padding:44px 0;
    }

    .legal-hero h1{
        font-size:clamp(1.9rem,10vw,2.75rem);
    }

    .legal-quick-nav{
        position:static;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        margin:14px 0;
    }

    .legal-quick-nav a{
        width:100%;
        padding-inline:8px;
        font-size:.82rem;
        text-align:center;
    }

    .legal-section{
        scroll-margin-top:90px;
        padding:21px 17px;
        border-radius:14px;
    }

    .legal-identity{
        grid-template-columns:1fr;
    }

    .legal-version{
        display:grid;
        grid-template-columns:1fr;
    }

    .legal-version span{
        width:100%;
        border-radius:12px;
    }

    .site-footer{
        display:flex;
        flex-direction:column;
        gap:18px;
        padding:30px 18px;
    }

    .site-footer-legal{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:4px 12px;
    }

    .site-footer-legal a{
        width:100%;
    }

    input,
    select,
    textarea,
    button{
        font-size:16px;
    }

    .table-wrap{
        max-width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }
}

@media(max-width:420px){
    .legal-quick-nav,
    .site-footer-legal{
        grid-template-columns:1fr;
    }

    .legal-section p,
    .legal-section li,
    .legal-section dd,
    .legal-introduction{
        text-align:justify;
        hyphens:auto;
    }
}

/* AQL_LEGAL_MOBILE_SEO_V1 END */

/* ==========================================================
   AQL_LECTURE_MOBILE_V1 START
   Responsive homepage and shared Lecture layout safeguards
   ========================================================== */

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

body{
    overflow-wrap:anywhere;
}

main,
.site-header,
.site-header > *,
.container,
.narrow,
.grid,
.course-card,
.course-card-body,
.hero-grid,
.course-hero-grid,
.dashboard-main,
.learn-shell{
    min-width:0;
}

img,
video,
iframe,
svg,
canvas{
    max-width:100%;
}

button,
.button,
.btn,
.chip,
.top-nav a{
    min-height:44px;
}

.header-search input,
.hero-search input,
.field input,
.field select,
.field textarea{
    min-width:0;
}

.hero p,
.hero-panel p,
.course-card p,
.home-about-copy p,
.panel p,
.learn-info p,
.course-hero p{
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

.home-about-section{
    border-top:1px solid var(--line);
    background:#fff;
}

.home-about-grid{
    display:grid;
    grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);
    gap:clamp(28px,6vw,72px);
    align-items:start;
}

.home-about-copy p{
    margin:0 0 16px;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.78;
}

.chip{
    display:inline-flex;
    align-items:center;
    line-height:1.3;
    white-space:normal;
}

.course-card h3,
.course-card p,
.course-meta span{
    overflow-wrap:anywhere;
}

.table-wrap{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.video-frame,
iframe.video-frame{
    display:block;
    width:100%;
    aspect-ratio:16/9;
}

@media(max-width:980px){
    .site-header{
        gap:12px 16px;
    }

    .top-nav{
        flex-wrap:wrap;
        justify-content:flex-end;
        white-space:normal;
    }

    .hero-grid,
    .course-hero-grid,
    .home-about-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .hero-panel,
    .purchase-card{
        width:100%;
    }
}

@media(max-width:720px){
    .site-header{
        position:relative;
        display:grid;
        grid-template-columns:auto minmax(0,1fr);
        align-items:center;
        gap:10px 12px;
        padding:10px 12px;
    }

    .brand{
        min-width:0;
        font-size:14px;
        white-space:normal;
    }

    .brand span:last-child{
        display:block;
        line-height:1.2;
    }

    .brand-mark{
        flex:0 0 40px;
    }

    .header-search{
        grid-column:1/-1;
        grid-row:auto;
        order:initial;
        width:100%;
    }

    .header-search input,
    .hero-search input,
    input,
    select,
    textarea{
        font-size:16px;
    }

    .header-search button{
        min-width:82px;
        padding-inline:14px;
    }

    .top-nav{
        grid-column:1/-1;
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        width:100%;
        gap:6px;
        margin:0;
    }

    .top-nav a,
    .top-nav a:not(.button){
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        padding:7px 5px;
        border:1px solid var(--line);
        border-radius:9px;
        background:#fff;
        font-size:12px;
        line-height:1.2;
        text-align:center;
        white-space:normal;
    }

    .top-nav .button{
        color:#fff;
        border-color:var(--aqua);
        background:var(--aqua);
    }

    .container,
    .narrow{
        width:min(100% - 24px,1180px);
    }

    .hero{
        padding:44px 0;
    }

    .hero h1{
        font-size:clamp(2.05rem,10vw,3.3rem);
        line-height:1.08;
    }

    .hero p{
        font-size:1.05rem;
        line-height:1.7;
    }

    .hero-panel{
        padding:22px 18px;
        border-radius:16px;
    }

    .hero-search{
        display:grid;
        grid-template-columns:1fr;
        gap:9px;
    }

    .hero-search input,
    .hero-search button{
        width:100%;
        margin:0;
        border-radius:10px;
    }

    .section{
        padding:40px 0;
    }

    .section-head{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .section h2{
        font-size:clamp(1.75rem,8vw,2.35rem);
        line-height:1.16;
    }

    .course-grid,
    .form-grid,
    .stats,
    .split-summary{
        grid-template-columns:1fr;
    }

    .chips{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }

    .chip{
        width:100%;
        justify-content:flex-start;
        padding:10px 12px;
        border-radius:12px;
    }

    .course-meta{
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .form-card,
    .panel,
    .purchase-card,
    .learn-info{
        padding:20px 16px;
    }

    .dashboard-main,
    .video-area{
        padding:22px 12px;
    }

    .site-footer{
        display:flex;
        flex-direction:column;
        gap:18px;
        padding:30px 18px;
    }
}

@media(max-width:430px){
    .top-nav{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .chips{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:clamp(1.9rem,11vw,2.6rem);
    }

    .course-card-body{
        padding:16px;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* AQL_LECTURE_MOBILE_V1 END */





/* =========================================================
   AQL_SAMPLE_ELEGANT_PLAYER_V3
   Proportional video, controlled lesson panel and no gap
   ========================================================= */

/*
 * Desktop layout:
 * - YouTube-style video area
 * - compact lesson navigation
 * - no forced full-screen minimum height
 */
.sample-view-shell{
    display:grid !important;
    grid-template-columns:
        minmax(0,820px)
        minmax(285px,310px) !important;
    justify-content:center;
    align-items:start;
    gap:18px;
    width:min(1160px,calc(100% - 32px));
    min-height:0 !important;
    margin:14px auto 28px;
    background:#fff !important;
}

/*
 * Removing the original dark full-width background prevents
 * unnecessary dark space around the video.
 */
.sample-view-shell .video-area{
    width:100%;
    min-width:0;
    padding:0 !important;
    background:#fff;
}

/*
 * Stable YouTube 16:9 proportion.
 * The frame grows and shrinks only with its own container.
 */
.sample-view-shell .video-frame{
    display:block;
    width:100%;
    height:auto !important;
    max-width:100%;
    max-height:none !important;
    aspect-ratio:16 / 9;
    margin:0;
    padding:0;
    border:0;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    box-shadow:
        0 10px 28px rgba(10,37,64,.14);
}

/*
 * Keep the lesson information aligned exactly with the video.
 */
.sample-view-shell .learn-info{
    width:100%;
    margin:18px 0 0 !important;
    padding:22px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    box-shadow:
        0 7px 22px rgba(10,37,64,.055);
}

.sample-view-shell .learn-info h1{
    margin-top:8px;
    line-height:1.25;
    text-wrap:balance;
}

.sample-view-shell .learn-info p{
    line-height:1.75;
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

/*
 * Compact, elegant lesson navigation.
 * It scrolls independently without making the entire page tall.
 */
.sample-view-shell .curriculum-sidebar{
    position:sticky;
    top:84px;
    width:100%;
    min-width:0;
    max-height:min(650px,calc(100vh - 102px)) !important;
    overflow-y:auto;
    overflow-x:hidden;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    scrollbar-width:thin;
    scrollbar-color:#8b969e #edf2f5;
    box-shadow:
        0 8px 24px rgba(10,37,64,.07);
}

.sample-view-shell .curriculum-sidebar h2{
    position:sticky;
    top:0;
    z-index:2;
    margin:0;
    padding:17px 16px;
    background:#fff;
}

.sample-view-shell .curriculum-title{
    padding:13px 15px;
}

.sample-view-shell .lesson-link{
    padding:12px 15px;
    line-height:1.48;
}

/*
 * Stop the header Search text from splitting onto two lines.
 */
.header-search button{
    min-width:88px;
    white-space:nowrap;
    line-height:1.1;
}

/*
 * Medium desktop and smaller laptop.
 * Keep two columns until there is genuinely insufficient room.
 */
@media(max-width:1180px) and (min-width:981px){
    .sample-view-shell{
        grid-template-columns:
            minmax(0,1fr)
            295px !important;
        width:calc(100% - 24px);
        gap:14px;
    }
}

/*
 * Tablet layout:
 * video first, lesson navigation below.
 * The video is limited to 860px so it does not suddenly grow.
 */
@media(max-width:980px){
    .sample-view-shell{
        grid-template-columns:1fr !important;
        width:min(860px,calc(100% - 22px));
        min-height:0 !important;
        gap:14px;
        margin-top:12px;
    }

    .sample-view-shell .video-area{
        width:100%;
        margin:0;
    }

    .sample-view-shell .curriculum-sidebar{
        position:static;
        width:100%;
        max-height:360px !important;
        margin:0;
        border-left:1px solid var(--line);
    }
}

/*
 * Phone layout.
 */
@media(max-width:640px){
    .sample-view-shell{
        width:calc(100% - 14px);
        margin:8px auto 18px;
        gap:10px;
    }

    .sample-view-shell .video-frame{
        border-radius:8px;
        box-shadow:
            0 5px 16px rgba(10,37,64,.12);
    }

    .sample-view-shell .learn-info{
        margin-top:10px !important;
        padding:18px 15px;
        border-radius:10px;
    }

    .sample-view-shell .learn-info h1{
        font-size:clamp(1.35rem,7vw,1.8rem);
    }

    .sample-view-shell .curriculum-sidebar{
        max-height:320px !important;
        border-radius:10px;
    }

    .sample-view-shell .lesson-link{
        min-height:48px;
        padding:12px 13px;
    }
}

/* AQL_SAMPLE_ELEGANT_PLAYER_V3 END */


/* =========================================================
   AQL_PROTECTED_DRIVE_PLAYER_CSS_V1
   Protected Drive player and AquaLinked enlargement
   ========================================================= */

.aql-video-protection-shell{
    width:100%;
    min-width:0;
}

.aql-protected-video{
    position:relative;
    width:100%;
    aspect-ratio:16 / 9;
    overflow:hidden;
    border-radius:12px;
    background:#000;
    box-shadow:
        0 10px 28px rgba(10,37,64,.14);
}

.aql-protected-video .video-frame{
    position:absolute !important;
    inset:0;
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    aspect-ratio:auto !important;
    background:#000;
}

/*
 * This intentionally covers the Google Drive
 * "Open in new window" button.
 */
.aql-drive-popout-guard{
    position:absolute;
    z-index:20;
    top:0;
    right:0;
    display:flex;
    align-items:center;
    justify-content:center;
    width:88px;
    min-height:38px;
    padding:7px 10px;
    color:#fff;
    background:rgba(5,24,35,.88);
    border-radius:0 0 0 9px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.05em;
    text-transform:uppercase;
    pointer-events:auto;
    user-select:none;
}

/*
 * Personal watermark remains visible during
 * normal and enlarged AquaLinked viewing.
 */
.aql-video-watermark{
    position:absolute;
    z-index:18;
    top:12px;
    left:12px;
    max-width:calc(100% - 120px);
    padding:6px 10px;
    color:rgba(255,255,255,.88);
    background:rgba(3,18,27,.50);
    border:1px solid rgba(255,255,255,.18);
    border-radius:7px;
    font-size:11px;
    font-weight:800;
    line-height:1.35;
    pointer-events:none;
    user-select:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.aql-video-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:48px;
    padding:7px 10px 0;
    color:#50647a;
    font-size:12px;
    font-weight:750;
}

.aql-video-expand-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:8px 14px;
    border:1px solid #087785;
    border-radius:9px;
    color:#fff;
    background:#087785;
    font:inherit;
    font-weight:850;
    white-space:nowrap;
    cursor:pointer;
}

.aql-video-expand-button:hover,
.aql-video-expand-button:focus-visible{
    background:#065f6a;
    border-color:#065f6a;
}

.aql-video-expand-button:focus-visible{
    outline:3px solid #e7a629;
    outline-offset:3px;
}

/*
 * Secure AquaLinked enlargement.
 * The user remains on the AquaLinked page.
 */
.aql-video-protection-shell.is-expanded{
    position:fixed;
    z-index:2147483000;
    inset:0;
    display:flex;
    flex-direction:column;
    width:100vw;
    height:100dvh;
    padding:12px;
    background:#06111b;
}

.aql-video-protection-shell.is-expanded
.aql-protected-video{
    flex:1 1 auto;
    width:100%;
    min-height:0;
    aspect-ratio:auto;
    border-radius:8px;
    box-shadow:none;
}

.aql-video-protection-shell.is-expanded
.aql-video-toolbar{
    flex:0 0 auto;
    padding:8px 0 0;
    color:#fff;
}

html.aql-video-expanded,
html.aql-video-expanded body{
    overflow:hidden !important;
}

@media(max-width:640px){
    .aql-protected-video{
        border-radius:8px;
    }

    .aql-drive-popout-guard{
        width:72px;
        min-height:32px;
        padding:5px 7px;
        font-size:9px;
    }

    .aql-video-watermark{
        top:8px;
        left:8px;
        max-width:calc(100% - 90px);
        padding:5px 7px;
        font-size:9px;
    }

    .aql-video-toolbar{
        align-items:stretch;
        flex-direction:column;
        padding-inline:0;
    }

    .aql-video-expand-button{
        width:100%;
        min-height:44px;
    }

    .aql-video-protection-shell.is-expanded{
        padding:5px;
    }
}

/* AQL_PROTECTED_DRIVE_PLAYER_CSS_V1 END */
