/* Layout and component dimensions follow the supplied Onai HTML screens. */
@font-face{font-family:Unbounded;src:url('/assets/616878858361f1a4c44fc62b.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Unbounded;src:url('/assets/59a9e6e0927fa85035046eda.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{--ink:#14171f;--muted:#5a6170;--line:#e3e6eb;--canvas:#f5f6f8;--blue:#2b59e8}
body{font-size:16px;line-height:1.5;color:var(--ink)}
.icon{flex:none;vertical-align:middle;display:inline-block}
.btn{line-height:1.5;border-radius:10px;border-color:#d5d9e0;padding:11px 18px;font-size:16px;color:var(--ink)}
.btn.primary{color:white}.btn .icon{flex:none}.muted{color:var(--muted)}.text-green{color:#17803f}.text-center{text-align:center}
.logo{font-family:Unbounded,Onest,sans-serif;font-weight:600;font-size:22px;letter-spacing:-.03em;gap:10px;flex:none}
.logo img{width:38px;height:38px}.logo .site-name{max-width:180px}
.header-inner{max-width:1200px;min-height:76px;padding:14px 24px;gap:20px;justify-content:flex-start;flex-wrap:wrap}
.header-nav{gap:4px;flex-wrap:wrap}.header-nav a{padding:10px 14px;border-radius:10px;color:var(--ink);font-size:16px;font-weight:500}
.header-nav a.active{background:#eaf0ff;color:#1e44c0;font-weight:600}.header-nav a:hover{background:#eef1f5;text-decoration:none}
.header-actions{margin-left:auto;gap:8px}.profile-menu summary{border:1px solid var(--line);border-radius:12px;padding:4px 10px 4px 4px;gap:10px;font-weight:600}
.avatar{position:relative;border-radius:9px;background:#ffe3b8;color:#8a5d00}.level-mini{position:absolute;right:-6px;bottom:-6px;width:20px;height:22px;background:#6b3fd4;color:white;font-size:11px;display:grid;place-items:center;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.notification-button{display:grid;place-items:center;width:44px;height:44px;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink)}
.stat-pill{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:12px;font-weight:700;white-space:nowrap}
.streak-pill{background:#fff4ec;color:#b23c00;border:1px solid #ffd3b8}.streak-pill .icon{color:#f26b1d}.xp-pill{background:#fff6de;color:#8a5d00;border:1px solid #f3e2b0}.xp-pill .icon{color:#e9a100}
.badge.xp-pill{height:auto;padding:2px 9px;font-size:13px}
#app{max-width:1200px;padding:36px 24px 64px;min-height:calc(100vh - 240px)}
body.home-page #app,body.course-page #app{max-width:none;padding:0}
.page-container{max-width:1200px;padding-left:24px;padding-right:24px;margin:0 auto}
.section-head{margin:0 0 24px;align-items:flex-end;flex-wrap:wrap;gap:16px}.section-head h2{font-size:28px;line-height:1.15;letter-spacing:-.025em}.section-head>a{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.section-head h2 small{font-size:16px;font-weight:500;color:var(--muted)}
.segmented{display:flex;gap:4px;flex-wrap:wrap;padding:4px;background:white;border:1px solid var(--line);border-radius:12px}
.segmented a,.segmented button{border:0;background:transparent;border-radius:9px;padding:8px 14px;color:var(--ink);font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}
.segmented .active{background:var(--ink);color:white;font-weight:600}.segmented a:hover{text-decoration:none}.segmented button:not(.active):hover,.segmented a:not(.active):hover{background:#eef1f5}
.design-hero{padding-top:64px;padding-bottom:72px;display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.hero-copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero-copy .eyebrow{align-self:flex-start;margin:0;padding:7px 14px;font-size:14px;border-radius:999px}
.hero-copy h1{margin:0;font-size:56px;line-height:1.06;letter-spacing:-.035em;font-weight:700}
.hero-copy>p{margin:0;font-size:19px;line-height:1.55;color:#4a5160;max-width:520px}
.hero-search{display:flex;gap:8px;flex-wrap:wrap;background:white;border:1px solid #d5d9e0;border-radius:16px;padding:8px;max-width:560px;box-shadow:0 2px 6px #14171f0a;margin:0}
.hero-search label{flex:1 1 220px;display:flex;align-items:center;gap:10px;padding:0 10px;min-width:0;color:var(--muted)}
.hero-search input{flex:1;border:0;font-size:17px;padding:12px 0!important;min-width:0!important;font-weight:400}
.hero-search button{padding:13px 24px;border-radius:11px}
.popular-searches{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px}.popular-searches>span{color:var(--muted);margin-right:4px}
.popular-searches a{padding:6px 12px;border-radius:999px;background:white;border:1px solid var(--line);color:var(--ink)}
.home-directions{padding-top:8px;padding-bottom:64px}.home-courses{padding-top:8px;padding-bottom:72px}
.home-directions h2,.home-courses h2,.how-section h2{font-size:34px}
.direction-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.direction-card{display:flex;align-items:center;gap:14px;padding:18px;background:white;border:1px solid var(--line);border-radius:16px;color:var(--ink);min-width:0}
.direction-card:hover{box-shadow:0 10px 28px #14171f17;border-color:#c9cfd8;text-decoration:none}
.direction-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:13px}
.direction-card strong{font-size:17px;font-weight:600}.direction-card small{display:block;font-size:14px;color:var(--muted);line-height:1.4;margin-top:2px}
.course-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.course-card{border-color:var(--line);border-radius:18px;transition:box-shadow .15s,border-color .15s}.course-card:hover{transform:none;border-color:#c9cfd8;box-shadow:0 10px 28px #14171f17}
.course-card-top{position:relative}.course-card-top>.badge{position:absolute;top:12px;left:12px;padding:4px 10px;font-size:13px;color:var(--ink);background:white}
.course-art{height:150px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.course-art img{width:100%;height:100%;object-fit:cover}.course-art-icon{width:72px;height:72px;border-radius:20px;background:white;display:grid;place-items:center;box-shadow:0 6px 16px #14171f14;flex:none}
.course-body{padding:18px;gap:8px}.course-body h3{font-size:18px;font-weight:600;line-height:1.3}.course-body p{font-size:14px;color:var(--muted)}
.course-meta{display:flex;gap:14px;color:#4a5160;font-size:14px;flex-wrap:wrap}.course-meta span{display:inline-flex;align-items:center;gap:6px}.course-bottom{padding-top:12px;border-top:1px solid #eef0f3;gap:12px;display:flex;justify-content:space-between;align-items:center}.course-bottom small,.course-bottom strong{display:inline-flex;gap:5px;align-items:center}.course-bottom strong{font-size:16px}.course-bottom small{font-size:13px}
.how-section{background:white;border-block:1px solid var(--line)}.how-section>.page-container{padding-top:72px;padding-bottom:72px}.how-section h2{margin:0 0 10px;line-height:1.15;letter-spacing:-.025em}.section-description{margin:0 0 36px;font-size:18px;color:#4a5160;max-width:640px}
.how-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.how-cards li{background:var(--canvas);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:14px}.how-cards h3{margin:0;font-size:21px;font-weight:600}.how-cards p{margin:0;color:#4a5160}.step-number{width:48px;height:48px;border-radius:50%;background:var(--blue);color:white;font-weight:700;font-size:20px;display:grid;place-items:center}.how-cards .badge{background:white}
.home-teach{padding-top:72px;padding-bottom:72px}.teach-board{background:var(--ink);border-radius:28px;padding:48px;display:flex;flex-wrap:wrap;gap:40px;align-items:center;color:white}.teach-copy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}.teach-copy>.badge{align-self:flex-start;background:#ffffff1f;color:white;padding:6px 12px;font-size:14px}.teach-copy h2{font-size:38px;line-height:1.12;letter-spacing:-.025em;margin:0}.teach-copy p{font-size:18px;color:#c3c8d3;max-width:480px;margin:0}.teach-copy .row{margin-top:6px}.teach-copy .btn{padding:14px 24px;border-radius:12px}.teach-secondary{border:1px solid #ffffff4d;background:transparent;color:white}.teach-secondary:hover{background:#ffffff29;color:white}
.site-footer{background:white;border-top:1px solid var(--line);padding:36px 24px}.footer-inner{max-width:1152px;gap:32px}.footer-inner p{margin:12px 0 0}.footer-inner p,.footer-inner small{color:var(--muted);font-size:14px}.footer-inner .stack{gap:12px}
/* Course details */
.course-intro{background:white;border-bottom:1px solid var(--line)}.course-intro>.page-container{padding-top:20px;padding-bottom:48px}.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:28px}.breadcrumbs a{color:var(--muted)}.breadcrumbs span:last-child{color:var(--ink)}
.course-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start}.course-intro-copy{display:flex;flex-direction:column;gap:20px;min-width:0}.course-intro-copy h1{margin:0;font-size:46px;line-height:1.1;letter-spacing:-.03em}.course-intro-copy .badge{padding:5px 12px;font-size:14px}.course-description{font-size:19px;color:#4a5160;max-width:680px;margin:0}
.course-facts{display:flex;gap:20px 28px;flex-wrap:wrap;font-size:15px;color:#4a5160}.course-facts span{display:inline-flex;align-items:center;gap:8px}
.course-enroll{position:static;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 44px #14171f14;overflow:hidden}.course-enroll .course-art{height:170px}.course-art.large .course-art-icon{width:84px;height:84px;border-radius:24px}.enroll-body{padding:24px;display:flex;flex-direction:column;gap:16px}.enroll-body .price{font-size:30px;margin:0;line-height:1;font-weight:700}.enroll-body .primary{padding:16px;font-size:17px;border-radius:12px}.course-includes{list-style:none;margin:4px 0 0;padding:16px 0 0;border-top:1px solid #eef0f3;display:flex;flex-direction:column;gap:12px;font-size:15px}.course-includes li{display:flex;align-items:center;gap:12px}.course-includes .icon{color:var(--blue)}
.course-details{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;padding-top:48px;padding-bottom:72px}.course-main-column{display:flex;flex-direction:column;gap:48px;min-width:0}.course-main-column h2{font-size:28px;margin:0 0 20px}.course-main-column .section-head h2{margin:0}.course-outcomes{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.course-outcomes li{display:flex;align-items:flex-start;gap:12px}.course-outcomes .icon{color:#17803f;margin-top:2px}.course-info-column{display:flex;flex-direction:column;gap:20px}.curriculum{display:flex;flex-direction:column;gap:12px}.curriculum .module{margin:0;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.curriculum summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;list-style:none}.curriculum summary::-webkit-details-marker{display:none}.curriculum summary small{display:inline-flex;align-items:center;gap:12px;font-weight:400;color:var(--muted);white-space:nowrap}.curriculum summary b{color:var(--muted);margin-right:6px}.curriculum .lesson-row{border-top:1px solid #eef0f3;margin:0;padding:14px 20px;gap:12px;flex-wrap:wrap}.lesson-row>div{display:flex;align-items:center;gap:12px;font-size:15px}.lesson-number{font-size:13px;color:var(--muted);min-width:20px}.lesson-row>small{display:flex;align-items:center;gap:12px;color:var(--muted);flex-wrap:wrap}.lesson-row>small>span{display:flex;align-items:center;gap:4px}
/* Student and achievements: keep the original list/sidebar composition. */
.student-heading{margin-bottom:28px}.student-heading h1{margin:0;font-size:34px;line-height:1.2;letter-spacing:-.025em}.student-heading p{margin:6px 0 0;font-size:17px;color:#4a5160}.student-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.student-main{display:flex;flex-direction:column;gap:28px;min-width:0}.student-aside{display:flex;flex-direction:column;gap:16px;min-width:0}
.continue-card{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;display:flex;flex-wrap:wrap;align-items:center;gap:24px;box-shadow:0 10px 30px #14171f0d}.continue-card>.course-art{width:132px;height:132px;border-radius:20px;flex:none}.continue-card .course-art-icon{box-shadow:none;background:transparent}.continue-card .course-art-icon .icon{width:52px;height:52px}.continue-copy{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:8px}.continue-copy h2{margin:0;font-size:14px;font-weight:600;letter-spacing:.02em;color:#1e44c0}.continue-copy h3{margin:0;font-size:23px;font-weight:600;line-height:1.25}.continue-copy p{margin:0;color:#4a5160}.continue-copy .row{margin-top:6px}.continue-copy .row>.progress-track{flex:1;margin:0}.continue-copy .row>small{font-size:14px;white-space:nowrap;color:#4a5160}.continue-card>.btn{padding:16px 26px;border-radius:14px;font-size:17px}.welcome-icon{width:90px;height:90px;display:grid;place-items:center;border-radius:20px;background:#dce6ff;color:var(--blue);flex:none}
.student-main .section-head{margin-bottom:16px;align-items:center}.student-main .section-head h2{font-size:24px}.student-course-list{display:flex;flex-direction:column;gap:12px}.student-course-row{padding:18px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:white;border:1px solid var(--line);border-radius:18px}.student-course-row>.course-art{flex:none;width:64px;height:64px;border-radius:14px}.student-course-row .course-art-icon{background:transparent;box-shadow:none}.student-course-row .course-art-icon .icon{width:30px;height:30px}.student-course-row>div:nth-child(2){flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:6px}.student-course-row h3{margin:0;font-size:17px;font-weight:600}.student-course-row p{margin:0;color:var(--muted);font-size:14px}.student-course-row .progress-track{flex:1;max-width:320px;height:8px;margin:0}.student-course-row .row>small{font-size:14px;font-weight:600}.student-course-row>.btn{padding:12px 20px;border-radius:12px}.progress-track{height:10px;background:var(--line)}
.student-awards{padding:22px}.student-awards .section-head h2{font-size:20px}.student-awards .section-head>a{font-size:15px}.compact-awards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.achievement-tile{display:flex;align-items:flex-start;gap:14px;padding:16px;border-radius:16px;border:1px solid #e3e6eb;background:#fff;min-width:0}.achievement-tile.earned{background:#f5f6f8}.achievement-medal{width:56px;height:56px;border-radius:50%;background:#dce6ff;color:#1e44c0;display:grid;place-items:center;box-shadow:inset 0 0 0 3px white;flex:none}.achievement-tile:nth-child(2) .achievement-medal{background:#ede4ff;color:#5b2fc2}.achievement-tile:nth-child(3) .achievement-medal{background:#ffe7a8;color:#8a5d00}.achievement-tile.locked{opacity:1}.achievement-tile.locked .achievement-medal{background:#eef0f3;color:#8a93a3;box-shadow:none}.achievement-tile h3{font-size:16px;font-weight:600;margin:0 0 4px}.achievement-tile p{font-size:14px;color:#4a5160;line-height:1.4;margin:0 0 6px}.achievement-tile small{font-size:13px;color:var(--muted);display:inline-flex;gap:5px;align-items:center}.achievement-tile.earned small{color:#17803f;font-weight:600}.achievement-tile.compact{flex-direction:column;align-items:center;text-align:center;gap:8px;padding:14px 10px}.achievement-tile.compact .achievement-medal{width:60px;height:60px}.achievement-tile.compact h3{font-size:15px;line-height:1.25}
.streak-card{padding:22px;border-radius:20px;background:#fff7f1;border:1px solid #ffd3b8;display:flex;flex-direction:column;gap:16px}.streak-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.streak-flame{width:56px;height:56px;border-radius:16px;background:white;display:grid;place-items:center;flex:none;color:#f26b1d;box-shadow:0 4px 12px #f26b1d2e}.streak-head h2{margin:0;font-size:14px;color:#b23c00;font-weight:600}.streak-head strong{font-size:32px;line-height:1.15}.streak-card>p{font-size:14px;margin:0;color:#4a5160;line-height:1.5}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;font-size:12px;color:var(--muted)}.week-grid>span{display:flex;align-items:center;flex-direction:column;gap:4px}.week-grid i{display:grid;place-items:center;font-style:normal;width:30px;height:30px;border-radius:50%;background:#eef0f3}.week-grid .studied,.calendar-day.studied{background:#c2410c;color:white}.week-grid .today,.calendar-day.today{outline:2px solid var(--ink);outline-offset:-2px}
.level-card{border-radius:24px;padding:28px;background:#6b3fd4;color:white;display:flex;flex-direction:column;gap:20px}.level-card.compact{border-radius:20px;padding:22px;background:white;border:1px solid var(--line);color:var(--ink);gap:14px}.level-heading{display:flex;align-items:center;gap:18px}.level-shield{width:76px;height:84px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:white;color:#5b2fc2;font-size:34px;font-weight:700;display:grid;place-items:center;flex:none}.level-heading h2{margin:0;font-size:15px;color:#e4daff;font-weight:600}.level-heading strong{font-size:32px;letter-spacing:-.02em;line-height:1.2}.level-track{height:12px;border-radius:12px;background:#ffffff38;overflow:hidden}.level-track>span{height:100%;display:block;background:white;border-radius:12px}.level-caption{display:flex;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;font-size:14px;color:#e4daff;margin-top:-12px}.level-caption b{color:white}.level-ladder{display:flex;flex-wrap:wrap;gap:8px;font-size:14px}.level-ladder span{border-radius:999px;padding:6px 12px;background:#ffffff24}.level-ladder .current{background:white;color:#5b2fc2;font-weight:700}.level-card.compact .level-shield{width:50px;height:56px;background:#6b3fd4;color:white;font-size:24px}.level-card.compact .level-heading h2{color:var(--muted);font-size:13px}.level-card.compact .level-heading strong{font-size:22px}.level-card.compact .level-track{height:10px;background:#ede4ff}.level-card.compact .level-track>span{background:#6b3fd4}.level-card.compact .level-caption{margin-top:-6px;font-size:13px;color:var(--muted)}.level-card.compact .level-caption b{color:var(--ink)}
.student-tip{padding:22px}.student-tip h3{font-size:17px;line-height:1.4}.student-tip p,.student-tip a{font-size:14px}.student-tip p{color:var(--muted)}.student-tip .icon{color:#e9a100}.student-certificates h2{font-size:22px}.student-certificates>a{display:flex;align-items:center;gap:12px;padding:12px 0}.student-certificates>a strong{flex:1}.student-certificates .icon{color:#8a5d00}
.achievement-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.streak-card.full{background:white;border-color:var(--line);padding:24px;border-radius:24px}.streak-card.full .streak-flame{background:#fff4ec;box-shadow:none}.streak-card.full .streak-head>small{margin-left:auto;font-size:14px}.streak-head>small b{font-size:14px}.streak-card.full .streak-head strong{font-size:30px}.calendar-month{text-transform:capitalize;font-size:16px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday-labels{font-size:12px;color:var(--muted);text-align:center;margin-bottom:-8px}.calendar-day{height:36px;border-radius:10px;background:var(--canvas);border:1px solid var(--line);display:grid;place-items:center;font-size:14px}.calendar-key{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#4a5160}.calendar-key>span{display:flex;align-items:center;gap:6px}.calendar-key i{display:inline-block;width:14px;height:14px;border-radius:4px;background:var(--canvas);border:1px solid var(--line)}.calendar-key i.studied{background:#c2410c;border-color:#c2410c}.calendar-key i.today{outline:2px solid var(--ink);outline-offset:-2px}.streak-card.full>p{padding:12px 14px;background:var(--canvas);border-radius:12px}
.achievement-bottom{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.achievement-collection{padding:24px;border-radius:24px}.achievement-collection .section-head h2,.xp-explainer h2{font-size:22px}.achievement-collection .segmented{background:var(--canvas);border:0}#achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.xp-explainer{display:flex;flex-direction:column;gap:16px}.xp-explainer>h2,.xp-explainer>p,.xp-explainer>hr{margin:0}.xp-explainer>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}.xp-explainer>div>strong{white-space:nowrap;color:#8a5d00}.xp-explainer p{font-size:14px}.xp-explainer .metric{line-height:1;margin-top:-10px}
body.student-page .site-footer,body.achievements-page .site-footer{display:none}
@media(min-width:1051px){body.student-page .header-inner,body.achievements-page .header-inner{padding-top:12px;padding-bottom:12px;min-height:70px;gap:16px}}
@media(max-width:1050px){.header-inner{gap:12px}.header-nav a{padding:9px 10px;font-size:14px}.header-actions{gap:6px}.stat-pill{font-size:14px;padding:0 9px}.profile-name{display:none}.design-hero{gap:36px}.hero-copy{flex-basis:400px}.reference-journey{flex-basis:400px!important}.student-grid{grid-template-columns:minmax(0,1fr) 280px}.course-intro-grid{gap:28px;grid-template-columns:minmax(0,1fr) 310px}.course-details{gap:28px;grid-template-columns:minmax(0,1fr) 280px}.achievement-bottom{grid-template-columns:1fr}.xp-explainer{max-width:none}.student-main .segmented{width:100%}.continue-card{gap:18px}.continue-card>.course-art{width:96px;height:96px}.continue-copy{flex-basis:220px}.how-cards{grid-template-columns:1fr}.teach-board{padding:32px}.course-outcomes{grid-template-columns:1fr}}
@media(max-width:760px){#app{padding:28px 16px 48px}.page-container{padding-left:16px;padding-right:16px}.header-inner{padding:12px 16px;gap:12px}.logo{font-size:20px}.logo img{width:34px;height:34px}.header-actions{margin-left:auto;gap:6px}.header-nav{order:3;flex-basis:100%;flex-wrap:nowrap;overflow-x:auto;gap:2px;padding:0}.header-nav a{padding:8px 10px;white-space:nowrap;font-size:14px}.profile-menu summary{padding:3px}.profile-menu summary>.icon{display:none}.header-actions .btn{padding:10px 12px;font-size:13px}.stat-pill{height:38px;padding:0 8px;font-size:12px;border-radius:10px}.stat-pill .icon{width:16px;height:16px}.notification-button{width:38px;height:38px;border-radius:10px}.profile-menu .avatar{width:30px;height:30px}.level-mini{width:16px;height:18px;font-size:10px;right:-4px;bottom:-4px}.logo .site-name{max-width:115px}.design-hero{padding-top:36px;padding-bottom:48px;gap:36px}.hero-copy{flex-basis:100%;gap:20px}.hero-copy h1{font-size:40px}.hero-copy>p{font-size:17px}.hero-copy .eyebrow{font-size:13px}.hero-search{gap:6px}.hero-search label{flex-basis:170px;padding:0 6px;gap:8px}.hero-search input{font-size:14px}.hero-search button{padding:12px 14px;font-size:14px}.popular-searches{font-size:13px;gap:6px}.popular-searches a{padding:5px 10px}.reference-journey{flex-basis:100%!important;height:620px!important;border-radius:24px!important}.reference-journey>div:nth-of-type(3){left:calc(34% + 57px)!important;max-width:calc(66% - 70px)!important;padding:12px!important}.reference-journey>div:nth-of-type(3)>span:nth-child(3){font-size:15px!important}.reference-journey>div:nth-of-type(3)>span:nth-child(4){font-size:22px!important}.reference-journey>div:nth-of-type(2){right:14px!important;top:24px!important;font-size:13px!important;padding:6px 9px!important}.reference-journey>div:first-of-type{left:20px!important;width:160px!important}.reference-journey>span:nth-of-type(2),.reference-journey>span:nth-of-type(4),.reference-journey>span:nth-of-type(7),.reference-journey>span:nth-of-type(9){font-size:12px!important;padding:5px 8px!important}.home-directions,.home-courses{padding-top:0;padding-bottom:44px}.home-directions h2,.home-courses h2,.how-section h2{font-size:28px}.direction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.direction-card{padding:14px;flex-direction:column;align-items:flex-start;gap:10px}.direction-card strong{font-size:14px;overflow-wrap:anywhere}.direction-card small{font-size:12px}.direction-icon{width:40px;height:40px;border-radius:11px}.section-head{gap:14px;align-items:flex-start}.section-head>a{font-size:14px}.course-grid{grid-template-columns:1fr}.segmented{gap:2px}.segmented a,.segmented button{padding:8px 10px;font-size:13px}.how-section>.page-container{padding-top:44px;padding-bottom:44px}.section-description{font-size:16px;margin-bottom:26px}.how-cards li{padding:24px}.home-teach{padding-top:44px;padding-bottom:44px}.teach-board{padding:24px;gap:32px;border-radius:22px}.teach-copy{flex-basis:100%}.teach-copy h2{font-size:30px}.teach-copy p{font-size:16px}.teach-copy .btn{padding:12px 16px;font-size:14px}.reference-builder{flex-basis:100%!important}.reference-builder>div{padding:14px 12px!important;gap:10px!important}.reference-builder>div>span:nth-child(2){font-size:14px}.reference-builder>div>span:last-child{font-size:12px!important}.site-footer{padding:28px 16px}.footer-inner{gap:24px}.course-intro>.page-container{padding-bottom:32px}.breadcrumbs{margin-bottom:24px;font-size:13px}.course-intro-grid{display:flex;flex-direction:column;gap:28px}.course-intro-copy h1{font-size:34px}.course-description{font-size:17px}.course-facts{gap:12px;font-size:14px}.course-enroll{width:100%;order:0}.course-enroll .course-art{display:flex;height:150px}.course-details{display:flex;flex-direction:column;padding-top:32px;padding-bottom:48px;gap:28px}.course-main-column{gap:32px}.course-main-column h2{font-size:25px}.curriculum summary{padding:16px;align-items:flex-start}.curriculum .lesson-row{padding:14px 16px}.curriculum summary small{font-size:12px}.course-outcomes{gap:12px}.student-heading h1{font-size:29px}.student-heading p{font-size:16px}.student-grid{grid-template-columns:1fr;gap:24px}.continue-card{padding:20px;border-radius:20px;gap:18px}.continue-card>.course-art{width:76px;height:76px;border-radius:16px}.continue-card>.btn{width:100%;padding:13px 20px}.continue-copy h3{font-size:21px}.continue-copy p{font-size:14px}.student-main .section-head h2{font-size:22px}.student-main .segmented{width:auto}.student-course-row{padding:16px;gap:14px}.student-course-row>div:nth-child(2){flex-basis:185px}.student-course-row>.btn{margin-left:auto;padding:10px 16px}.student-course-row h3{font-size:16px}.student-course-row p{font-size:13px}.student-awards{padding:20px}.compact-awards{grid-template-columns:repeat(2,minmax(0,1fr))}.student-aside{display:grid;grid-template-columns:1fr}.achievement-overview{grid-template-columns:1fr}.level-card{padding:24px;border-radius:22px}.streak-card.full{padding:22px}.level-heading strong{font-size:28px}.level-shield{width:64px;height:72px;font-size:30px}.streak-card.full .streak-head strong{font-size:25px}.streak-card.full .streak-head>small{width:100%;margin-left:0}.achievement-collection{padding:20px}.achievement-collection .section-head h2{font-size:22px}.achievement-collection .section-head{gap:14px}#achievement-grid{grid-template-columns:1fr}.achievement-bottom{grid-template-columns:1fr}.calendar-key{gap:10px;font-size:12px}}
@media(max-width:380px){.header-actions .xp-pill{display:none}.hero-copy h1{font-size:36px}.hero-search button{width:100%}.reference-journey>div:first-of-type{width:140px!important}.reference-journey>div:nth-of-type(3){left:calc(34% + 47px)!important;max-width:calc(66% - 58px)!important}.reference-journey>div:nth-of-type(3)>span:nth-child(3){font-size:14px!important}.reference-journey>div:nth-of-type(3)>span:nth-child(5){padding:8px!important;font-size:12px!important}.reference-journey>div:nth-of-type(3)>span:nth-child(5)>span{display:none!important}.direction-card{padding:12px}.segmented a,.segmented button{font-size:12px;padding:8px}}

body.brand-page #app{max-width:none;padding:0}body.brand-page #header,body.brand-page #footer{display:none}

#onai-brand{padding:clamp(16px,3.5vw,56px)!important}
#onai-brand>div:first-child{flex-wrap:wrap}
.onai-brand-hero>div:first-child{min-width:0;padding:24px}
.onai-brand-hero>div:first-child>div{gap:clamp(16px,2vw,30px)!important}
.onai-brand-hero>div:first-child>div>svg{width:clamp(48px,12vw,140px);height:auto;flex:none}
.onai-brand-hero>div:first-child>div>span{font-size:clamp(44px,8vw,112px)!important}
.onai-brand-hero>div:first-child>span{font-size:clamp(16px,2vw,22px)!important;text-align:center}
.onai-brand-details>section{min-width:0}
.onai-brand-details>section:first-child>div{flex-wrap:wrap}
@media(max-width:1100px){
.onai-brand-hero{flex-direction:column;min-height:0!important}
.onai-brand-hero>div:first-child{min-height:260px}
.onai-brand-variants{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.onai-brand-details{grid-template-columns:1fr!important}
}
@media(max-width:550px){
.onai-brand-hero>div:first-child{min-height:230px;padding:20px 12px}
.onai-brand-hero>div:last-child{padding:24px!important}
.onai-brand-variants{grid-template-columns:1fr!important}
.onai-brand-details>section:nth-child(2)>div:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.onai-brand-details>section:nth-child(2)>div:last-child>span{flex-wrap:wrap}
}

@media(min-width:381px) and (max-width:760px){.reference-journey>div:nth-of-type(3)>span:nth-child(5){font-size:13px!important;padding:9px!important;gap:5px!important}.reference-journey>div:nth-of-type(3)>span:nth-child(5)>span{white-space:nowrap;flex:none;font-size:10px!important;padding:2px 5px!important}}

@media(max-width:760px){.reference-journey>svg{height:580px!important}}

/* Imported course names and programme headings can span several lines. */
.course-card,.course-body,.direction-card,.direction-card>span:last-child{min-width:0}
.course-body h3,.course-body p,.course-body>small,.course-intro-copy h1,.course-description,.breadcrumbs,.direction-card strong,.direction-card small{overflow-wrap:anywhere}
.course-intro-copy{width:100%;max-width:100%}
.course-main-column,.course-info-column{width:100%;min-width:0}
.curriculum summary>span{min-width:0;overflow-wrap:anywhere}
.curriculum summary>small{flex:none}
.curriculum .lesson-row>div{min-width:0;max-width:100%;align-items:flex-start}
.curriculum .lesson-row strong{min-width:0;overflow-wrap:anywhere}
.lesson-number{flex:none}
@media(max-width:380px){.curriculum summary{flex-wrap:wrap;gap:8px}.curriculum summary>span{width:100%}.curriculum summary>small{margin-left:auto}.course-intro-copy .badge{white-space:normal}.direction-card>span:last-child{max-width:100%}}

@media(max-width:380px){.course-intro-copy h1{font-size:30px;line-height:1.15}}
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0}

/* University identity: preserve the complete supplied emblem and wordmark. */
.logo{gap:14px;letter-spacing:-.02em}
.logo img{width:68px;height:auto;max-height:none;object-fit:contain;flex:none}
.logo .site-name{max-width:180px}
@media(max-width:760px){.logo{gap:10px;font-size:18px}.logo img{width:52px;height:auto}.header-inner{gap:10px}.header-actions .btn{padding:9px 10px;font-size:12px}}
