/* ExamZee 2.1 — student website. Admin and Android assets remain independent. */
.portal-body{--ez-blue:#0055ed;--ez-navy:#07183f;--ez-line:#cbdcf3;--ez-soft:#edf6ff;--ez-surface:#fff;--ez-text:#0a183b;--ez-muted:#62718b;background:linear-gradient(135deg,#edf7ff 0,#fff 46%,#f3f8ff 100%);color:var(--ez-text);font-family:Inter,system-ui,sans-serif;font-size:14px;line-height:1.5;margin:0;min-height:100vh}.portal-body *{box-sizing:border-box}.portal-body [hidden]{display:none!important}.portal-body h1,.portal-body h2,.portal-body h3,.portal-body p{margin:0 0 12px}.portal-body h1{font-size:clamp(24px,2.3vw,34px);line-height:1.2;letter-spacing:-.7px;font-weight:700}.portal-body h2{font-size:21px;line-height:1.3;letter-spacing:-.4px}.portal-body h3{font-size:15px;line-height:1.35}.portal-body a{color:var(--ez-blue);text-decoration:none}.portal-body button,.portal-body input,.portal-body select{font:inherit}.portal-body button,.portal-body a,.portal-body input,.portal-body summary,.portal-body select{touch-action:manipulation}.portal-body a:focus-visible,.portal-body button:focus-visible,.portal-body summary:focus-visible{outline:3px solid #f7c900;outline-offset:3px}.portal-body button{cursor:pointer}.portal-body .icon{height:23px;width:23px;flex-shrink:0;display:inline-block;vertical-align:middle}.portal-body .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(110deg,#006bff,#0041e5);border:1px solid #0055ed;border-radius:7px;min-height:40px;padding:9px 22px;color:white;font-weight:600;text-align:center;box-shadow:0 2px 4px #0055ed15;white-space:normal}.portal-body .button.small{padding:6px 14px;min-height:33px;font-size:12px}.portal-body .button.secondary{background:var(--ez-surface);color:var(--ez-blue);border-color:#8bb5f5}.portal-body .button.white{background:white;border-color:white;color:#0055ed}.portal-body .button:hover{filter:brightness(.95)}.portal-body .button:disabled{opacity:.6;cursor:wait}.portal-body .muted,.portal-body small{color:var(--ez-muted)}.portal-body .panel{padding:18px;border:1px solid var(--ez-line);border-radius:12px;box-shadow:0 2px 6px #16355e05;background:var(--ez-surface);margin:0 0 14px;min-width:0}.portal-body label{display:block;font-weight:500;font-size:13px}.portal-body input:not([type=checkbox]):not([type=radio]):not([type=file]),.portal-body select{width:100%;padding:10px 12px;min-height:40px;border:1px solid #bacce6;border-radius:7px;background:var(--ez-surface);color:var(--ez-text);outline-offset:2px}.portal-body input:focus,.portal-body select:focus{outline:2px solid #6aa7ff;border-color:#0055ed}.portal-body .stack{display:grid;gap:13px}.portal-body .stack label input{margin-top:5px}.portal-body .alert{padding:12px 16px;background:#eef6ff;border:1px solid #8cb9fc;border-radius:8px;color:var(--ez-text)}.portal-body .alert.error{background:#fff1f1;color:#a11717;border-color:#f2b3b3}.skip-link{position:fixed;left:12px;top:-60px;z-index:1000;background:#fff;padding:12px}.skip-link:focus{top:8px}.portal-body .portal-header{height:72px;max-width:none;position:sticky;top:0;z-index:40;padding:10px max(22px,calc((100vw - 1480px)/2));display:flex;gap:30px;align-items:center;justify-content:space-between;background:var(--ez-surface);border-bottom:1px solid var(--ez-line);box-shadow:0 2px 7px #0b58c20c}.portal-body .portal-brand{display:flex;gap:9px;align-items:center;color:var(--ez-text);flex-shrink:0}.portal-brand img{object-fit:contain;border-radius:8px}.portal-body .portal-brand strong{font-size:27px;letter-spacing:-1px;line-height:1}.portal-body .portal-brand strong span,.auth-brand span{color:#f1bf00}.desktop-nav{display:flex;align-items:center;justify-content:center;gap:26px;margin-left:auto}.portal-body .desktop-nav a{position:relative;color:var(--ez-text);font-size:13px;font-weight:500;padding:12px 0}.desktop-nav a.active:after{content:'';position:absolute;bottom:5px;height:3px;background:#0055ed;left:0;right:0;border-radius:5px}.header-tools{display:flex;align-items:center;gap:14px}.portal-body .icon-button{display:inline-flex;justify-content:center;align-items:center;width:37px;height:37px;padding:6px;border:0;background:transparent;color:var(--ez-navy);border-radius:8px}.icon-button:hover{background:#eef6ff}.notice-icon{position:relative}.notice-icon i{height:6px;width:6px;position:absolute;right:7px;top:6px;background:#ffc600;border-radius:50%}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(130deg,#d8edff,#bed9ff);font-weight:700;color:#0055ed;overflow:hidden;flex-shrink:0}.avatar img{height:100%;width:100%;object-fit:cover}.avatar.mini{width:34px;height:34px;font-size:16px}.avatar.large{height:100px;width:100px;font-size:40px}.portal-workspace{max-width:1480px;margin:auto;display:flex;gap:22px;align-items:flex-start;min-height:65vh}.portal-body .portal-main{padding:26px 24px 36px;max-width:none;width:100%;min-width:0;margin:0;flex:1;outline:0}.portal-body.has-sidebar .portal-main{padding-left:0}.student-sidebar{position:sticky;top:94px;flex:0 0 190px;margin:22px 0 22px 20px;border-radius:10px;min-height:540px;padding:13px 8px;background:linear-gradient(150deg,#142f51,#0d203c);box-shadow:0 5px 12px #132d4b15}.student-sidebar a{display:flex;align-items:center;gap:12px;color:#f5f8ff!important;font-size:13px;padding:12px 13px;margin:2px 0;border-radius:7px}.student-sidebar a.active{background:linear-gradient(110deg,#006eff,#0046ec)}.student-sidebar a:hover{background:#24466e}.student-sidebar .icon{height:19px;width:19px}.portal-body .portal-footer{padding:26px max(24px,calc((100vw - 1432px)/2));display:flex;align-items:center;justify-content:space-between;gap:25px;background:#eaf4ff;border-top:1px solid #cfe0f7;margin:0;color:#50627d}.portal-footer .portal-brand strong{font-size:22px}.portal-footer p{font-size:12px;margin:8px 0!important}.portal-footer nav{display:flex;flex-wrap:wrap;gap:18px;justify-content:flex-end}.portal-footer nav a{color:#314c70;font-size:12px}.portal-body .mobile-bottom{display:none}.drawer-backdrop{position:fixed;inset:0;background:#081b4266;z-index:89}.site-drawer{position:fixed;top:0;bottom:0;right:0;z-index:90;width:min(320px,88vw);padding:18px 18px 30px;background:var(--ez-surface);overflow:auto;box-shadow:-8px 0 30px #0a29592b}.drawer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.drawer-heading strong{font-size:23px}.site-drawer>a{display:flex;align-items:center;gap:13px;padding:10px 12px;border-radius:7px;color:var(--ez-text)}.site-drawer>a:hover{background:var(--ez-soft)}.site-drawer hr{border:0;border-top:1px solid var(--ez-line);margin:12px 0}.portal-body .logout{background:transparent;border:0;color:#ce2b34;font-weight:600;padding:12px;font-size:16px}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#102747;color:white;padding:12px 22px;border-radius:10px;z-index:110;max-width:90vw}.portal-body .learning-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px 50px;min-height:270px;background:linear-gradient(110deg,#0047cc,#0878ff);border-radius:15px;color:white;margin-bottom:22px}.learning-hero:before{content:'';position:absolute;height:290px;width:680px;border-radius:60%;right:-210px;bottom:-190px;background:#ffd322;transform:rotate(-16deg)}.learning-hero:after{content:'';position:absolute;width:550px;height:350px;right:-190px;top:-230px;border-radius:50%;background:#fff2}.learning-hero>div{position:relative;z-index:1}.portal-body .learning-hero h1{font-size:clamp(28px,3.5vw,48px);color:#fff;letter-spacing:-1px;max-width:750px;margin-bottom:12px}.learning-hero h1 em{font-style:normal;color:#ffdc25}.portal-body .learning-hero p{font-size:17px;color:#f0f6ff;margin-bottom:20px}.learning-hero .hero-art{width:220px;height:220px;object-fit:contain;border-radius:35px;position:relative;z-index:1;filter:drop-shadow(0 12px 14px #00237555)}.portal-body .learning-hero.image-banner{padding:0;min-height:0;background:transparent;display:block}.image-banner:after,.image-banner:before{display:none}.admin-banner{display:block;width:100%;height:auto;max-height:450px;object-fit:contain}.portal-body .home-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 25px}.portal-body .home-actions a{padding:20px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;background:linear-gradient(125deg,#f8fcff,#e6f2ff);border:1px solid #bddafd;border-radius:10px;color:var(--ez-text)}.home-actions .icon{height:34px!important;width:34px!important;color:#005dff}.home-actions a:nth-child(3) .icon{color:#8043e9}.home-actions a:nth-child(4) .icon{color:#08a949}.home-actions strong{font-size:14px}.portal-body .section-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:20px 0 14px}.section-heading h2{margin:0}.section-heading>a{font-weight:600;font-size:13px;white-space:nowrap}.popular-series{position:relative}.carousel-controls{position:absolute;right:105px;top:-2px;display:flex;gap:6px}.carousel-controls button{border:1px solid #c7ddfb;border-radius:50%;background:white;color:#0055ed;height:28px;width:28px;font-size:22px;line-height:1}.course-carousel{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#adcfff transparent;padding:2px 2px 12px}.course-carousel .course-card{flex:0 0 calc((100% - 36px)/3);scroll-snap-align:start}.portal-body .course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-body .course-card{display:block;min-width:0;background:var(--ez-surface);border:1px solid var(--ez-line);border-radius:13px;padding:8px;overflow:hidden;box-shadow:0 2px 4px #133a6609;color:var(--ez-text);transition:transform .2s,box-shadow .2s}.portal-body .course-card:hover{transform:translateY(-2px);box-shadow:0 5px 18px #0b52a51a}.cover-wrap{position:relative;overflow:hidden;border-radius:9px}.portal-body .course-cover{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;margin:0;border-radius:9px}.portal-body .generated-cover{background:radial-gradient(ellipse at 95% 95%,#ffd838 0,transparent 30%),linear-gradient(120deg,#0039ac,#087cff);color:white;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:20px 15px 20px 39%;position:relative;overflow:hidden;text-align:right}.generated-cover img{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:30%;height:auto;border-radius:15%;box-shadow:0 3px 10px #00277570}.generated-cover strong{font-size:clamp(17px,1.7vw,25px);line-height:1.15;color:white;overflow-wrap:anywhere}.generated-cover small{background:#ffe058;color:#071841;padding:3px 6px;border-radius:3px;font-size:10px;font-weight:700;margin-top:8px}.price-badge{position:absolute;top:9px;right:9px;background:#ee242c;color:#fff;border-radius:7px;padding:3px 11px;font-size:20px;font-weight:700;line-height:1.5;box-shadow:0 2px 5px #8b000020}.portal-body .course-card .course-card-content{padding:13px 8px 7px}.portal-body .course-card h3{font-size:17px;line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere}.portal-body .course-card p{font-size:12px;color:var(--ez-muted);margin-bottom:8px}.course-card-bottom{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.course-card-bottom strong{font-size:16px;color:var(--ez-blue)}.course-card-bottom del{font-size:12px;color:#7b879a;text-decoration:line-through}.discount{color:#078124;font-size:11px;font-weight:700}.portal-body .course-cta{display:block;color:#0055ed;font-size:13px;font-weight:600;margin-top:9px}.daily-practice{display:flex;align-items:center;gap:22px;padding:22px 28px;background:linear-gradient(100deg,#ecf7ff,#dceeff);border:1px solid #cee4ff;border-radius:12px;margin:24px 0}.daily-practice h2{margin:0 0 4px}.daily-practice p{margin:0;color:#5c6b82}.daily-practice .button{margin-left:auto}.daily-icon{height:62px;width:62px;border-radius:14px;background:white;display:grid;place-items:center;color:#0055ed;flex-shrink:0}.daily-icon .icon{height:38px;width:38px}.test-series-benefits{margin:30px 0 0;padding:25px;border-radius:13px;background:var(--ez-surface);border:1px solid var(--ez-line)}.test-series-benefits header>p{color:var(--ez-muted)}.portal-body .test-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:24px}.test-benefit-grid .icon{color:#0055ed;margin-bottom:12px;height:28px;width:28px}.test-benefit-grid h3{font-size:16px}.test-benefit-grid p{font-size:13px;color:var(--ez-muted)}.benefit-note{font-size:11px;color:#75839b!important;border-top:1px solid var(--ez-line);padding-top:16px;margin-top:14px!important}.catalog-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:22px;align-items:start}.portal-body .course-tree{padding:14px;background:#f7fbff}.course-tree h2{font-size:15px}.course-tree>a{font-weight:600;display:block;background:#dcecff;padding:7px;border-radius:5px}.course-tree details{margin:7px 0 7px 10px}.course-tree summary{cursor:pointer;font-size:12px}.course-tree summary a{color:#243d63}.course-tree summary .icon{height:14px;width:14px;color:#e6a400;margin:0 5px}.filter-scope{min-width:0}.search-field{position:relative;display:flex!important;align-items:center;margin-bottom:14px}.search-field>.icon{position:absolute;left:12px;color:#6a7d9a;pointer-events:none;height:18px;width:18px}.search-field>input{padding-left:39px!important;background:var(--ez-surface)}.filter-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.filter-chips button{background:var(--ez-surface);border:1px solid #c5d7f0;border-radius:7px;padding:6px 14px;color:var(--ez-text);font-size:12px;min-height:32px}.filter-chips button.active{color:white;background:#0055ed;border-color:#0055ed}.filter-empty{padding:20px;text-align:center;color:var(--ez-muted)}.portal-body .ez-test-row{display:flex;align-items:center;gap:14px;padding:15px 16px;background:linear-gradient(100deg,var(--ez-surface),var(--ez-soft));margin-bottom:10px;min-width:0}.ez-test-info{flex:1;min-width:0}.portal-body .ez-test-row h3{font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}.portal-body .ez-test-row p{font-size:12px;color:var(--ez-muted);margin:0 0 4px}.ez-test-row small{font-size:11px}.ez-test-action{display:flex;align-items:center;flex-direction:column;gap:3px;margin-left:auto;flex-shrink:0}.portal-body .button.completed-start{background:linear-gradient(110deg,#18b345,#048220);border-color:#0c9c30}.completed-label{font-size:10px!important;font-weight:600;color:#078124!important}.test-document{background:#e0efff;color:#0061ff;border-radius:7px;padding:9px;display:flex;align-items:center}.badge{display:inline-flex;padding:3px 8px;border-radius:5px;font-size:11px;background:#fff0d2;color:#925300;white-space:normal}.badge.success{background:#d7f7dd;color:#087c25}.portal-body .course-heading{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:28px;margin-bottom:25px;align-items:center;padding:0;background:transparent;border:0}.course-heading>div:first-child{min-width:0}.portal-body .course-heading img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;height:auto}.portal-body .course-heading .generated-cover{aspect-ratio:16/9;border-radius:12px;padding:25px;font-size:26px;align-items:center;text-align:center}.course-heading h1{font-size:29px}.course-heading p{color:var(--ez-muted)}.portal-body .course-heading .course-price{font-size:28px;color:#e9252a;display:inline-block;vertical-align:middle}.course-heading .course-duration{color:#0b8446;font-size:13px}.course-heading .button{display:flex;max-width:360px;margin-top:15px}.course-heading del{margin:0 8px;font-size:14px;color:#75819a;text-decoration:line-through}.portal-body .content-tabs{display:flex;border-bottom:1px solid var(--ez-line);gap:6px;margin:0 0 16px;padding:0;background:transparent;overflow-x:auto}.content-tabs>a{padding:10px 28px;border:1px solid #c5dcfb;border-bottom:0;border-radius:8px 8px 0 0;color:var(--ez-text);font-weight:600;background:#edf5ff;white-space:nowrap}.content-tabs>a.active{background:#0055ed;color:white}.portal-body .learning-item{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--ez-text)}.learning-item>span{font-size:12px;color:#687993}.portal-body #learning-content>.panel{line-height:1.65;overflow-wrap:anywhere}.portal-body #learning-content>.panel p{margin:0 0 .7em}.my-course-heading{display:flex;align-items:center;gap:15px}.course-thumb{height:68px;width:85px;object-fit:cover;border-radius:7px}.my-course-heading>div{flex:1;min-width:0}.my-course h2{font-size:16px}.my-course h2 .badge{font-size:9px;vertical-align:middle;margin-left:6px}.progress-row{display:flex;align-items:center;gap:10px;font-size:11px}.portal-body progress{height:7px;border:0;background:#d7e2f0;border-radius:6px;overflow:hidden;flex:1;min-width:30px;max-width:100%;accent-color:#10ab40}.portal-body progress::-webkit-progress-bar{background:#d7e2f0}.portal-body progress::-webkit-progress-value{background:linear-gradient(90deg,#27bf42,#10a752);border-radius:6px}.child-course-row{display:flex;align-items:center;gap:15px;padding:13px 15px 10px;margin:12px 0 0 35px;background:var(--ez-soft);border:1px solid var(--ez-line);border-radius:9px}.child-course-row>.icon{color:#0055ed;height:19px;width:19px}.child-course-row>div{flex:1;min-width:0}.child-course-row h3{font-size:13px}.child-course-row progress{display:block;width:100%;margin-top:5px}.dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;gap:25px;padding:24px 30px;background:linear-gradient(110deg,#edf7ff,#dfefff);border:1px solid #d1e6ff;border-radius:14px;margin:22px 0}.dashboard-welcome h2{font-size:30px;margin:0 0 6px}.dashboard-welcome p{font-size:16px;margin-bottom:6px;color:#566b89}.own-mobile{color:var(--ez-navy)!important;display:flex;align-items:center;gap:7px;position:relative;z-index:1}.own-mobile .icon{color:#12a645;width:18px;height:18px}.welcome-watermark{height:140px;width:140px;object-fit:contain;margin-left:auto;opacity:.15}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat-card{display:flex;align-items:center;gap:15px;border:1px solid #cce3ff;background:#e9f4ff;padding:20px;border-radius:12px;color:var(--ez-text)!important;min-width:0}.stat-card>.icon{height:36px;width:36px;color:#0055ed}.stat-card>div{border-left:1px solid #b5d5fd;padding-left:15px;display:flex;flex-direction:column;min-width:0}.stat-card strong{font-size:30px;line-height:1.2}.stat-card span{font-size:12px;color:#536781;margin-top:6px}.stat-1{background:#f2eaff;border-color:#e4d7ff}.stat-1>.icon{color:#7835db}.stat-2{background:#e4faea;border-color:#c6eed1}.stat-2>.icon{color:#079b4b}.stat-3{background:#fff4d9;border-color:#f5e6bf}.stat-3>.icon{color:#daa100}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-columns h2{font-size:17px}.activity-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--ez-line);color:var(--ez-text)!important}.activity-row:last-child{border:0}.activity-row>div{flex:1}.activity-row strong{font-size:12px}.activity-row small{display:block;font-size:10px;margin-top:4px}.status-tick{display:grid;place-items:center;height:25px;width:25px;border-radius:50%;background:#dbf8e5;color:#09a239;font-weight:700}.course-progress{display:block;margin:18px 0;color:var(--ez-text)!important}.course-progress strong{font-size:12px}.course-progress .progress-row{margin-top:8px}.dashboard-links{display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.dashboard-links>a{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--ez-line);color:var(--ez-text)!important}.dashboard-links>a>.icon{color:#0055ed}.dashboard-links>a strong{flex:1}.dashboard-links>a span{font-size:22px;color:#74839a}.logout-form{text-align:center}.portal-body .table-scroll{overflow-x:auto;width:100%;overscroll-behavior-x:contain}.portal-body table{border-collapse:collapse;width:100%;font-size:12px}.portal-body th{background:#eaf2ff;color:#193458;font-size:11px;text-align:left}.portal-body th,.portal-body td{padding:12px 10px;border-bottom:1px solid var(--ez-line);overflow-wrap:anywhere}.portal-body table tr:last-child td{border-bottom:0}.orders-table{min-width:630px}.ebook-title .icon{height:23px;width:23px;color:#f42e38;margin-right:5px}.portal-body .profile-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:30px;max-width:850px}.profile-photo{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.profile-photo>small{font-size:10px}.profile-photo #avatar-upload{max-width:100%;font-size:11px}.profile-layout h2{font-size:15px;margin-top:20px}.theme-options{display:flex;gap:8px}.theme-options button{padding:8px 18px;background:var(--ez-surface);border:1px solid #bdd1f1;border-radius:7px;color:var(--ez-text);flex:1}.theme-options button.active{background:#0055ed;color:#fff}.password-panel{max-width:850px}.password-panel .stack{grid-template-columns:1fr 1fr;align-items:end}.password-panel h2{font-size:17px}.profile-danger{display:flex;align-items:center;justify-content:space-between;max-width:850px}.profile-danger>a{color:#b52432;font-size:12px}.is-auth .portal-main{padding:40px 24px}.auth-split{display:grid;grid-template-columns:1fr 1fr;max-width:960px;margin:10px auto 25px;background:var(--ez-surface);border:1px solid var(--ez-line);border-radius:15px;padding:12px;gap:25px;box-shadow:0 10px 40px #174f9012}.auth-promo{display:flex;flex-direction:column;justify-content:center;padding:32px;background:linear-gradient(140deg,#0044dc,#0084ff);color:white;border-radius:10px;overflow:hidden}.auth-promo h1{font-size:32px;line-height:1.2;color:white}.auth-promo em{font-style:normal;color:#ffe02c}.auth-promo>img{width:210px;height:210px;object-fit:contain;align-self:center;border-radius:30px;margin:20px 0}.auth-promo p{font-size:13px;line-height:2}.auth-form{padding:20px 25px 22px;min-width:0}.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--ez-text)!important;margin:0 0 20px}.auth-brand img{height:50px;width:50px;object-fit:contain;border-radius:9px}.auth-brand strong{font-size:28px;letter-spacing:-1px}.auth-tabs{display:flex;gap:7px;margin-bottom:17px}.auth-tabs a{width:50%;border:1px solid #c6d9f7;background:#f5f9ff;text-align:center;border-radius:6px;padding:7px;color:var(--ez-text)}.auth-tabs a.active{background:#0055ed;color:white}.auth-intro{font-size:12px;color:#647795}.auth-form .stack{gap:12px}.auth-form .small{font-size:10px}.auth-form .text-link{display:block;text-align:center;font-size:12px;margin:14px 0}.auth-google-divider{display:flex;align-items:center;gap:10px;color:#7a8aa2;text-transform:uppercase;font-size:11px;margin:17px 0}.auth-google-divider:before,.auth-google-divider:after{content:'';flex:1;height:1px;background:var(--ez-line)}.google-signin-wrap{text-align:center}.g_id_signin{display:flex;justify-content:center;min-height:40px}.auth-legal{font-size:10px;color:#6b7d98;text-align:center;margin:15px 0 0!important}.password-wrap{position:relative}.password-wrap input{padding-right:57px!important}.password-eye{position:absolute;right:5px;top:6px;background:transparent;border:0;padding:7px;font-size:11px;color:#597295;min-height:28px}.checkout-layout{max-width:1050px}.checkout-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.checkout-summary{display:flex;align-items:center;gap:18px;margin:18px 0}.checkout-summary img{height:85px;width:85px;object-fit:cover;border-radius:10px}.checkout-summary h2{font-size:19px}.checkout-total{font-size:26px;color:#eb252c}.checkout-panel .payment-message{line-height:1.65;overflow-wrap:anywhere}.checkout-panel .button{margin:8px 0}.checkout-panel #pay-online{width:100%}.secure-note{color:#12863b;font-size:12px;margin-top:16px}.rank-picker{display:flex;align-items:end;gap:15px;max-width:600px;margin-bottom:20px}.rank-picker label{flex:1}.rank-picker select{margin-top:7px}.rank-highlight{display:flex;justify-content:center;align-items:center;gap:50px;color:white;background:linear-gradient(110deg,#0042df,#0069ff);border-radius:13px;padding:23px;margin-bottom:20px}.rank-highlight>div{display:flex;flex-direction:column;text-align:center;flex:1}.rank-highlight>div+div{border-left:1px solid #ffffff66}.rank-highlight span{font-size:17px;font-weight:600}.rank-highlight strong{font-size:38px;color:#ffda28;line-height:1.3}.rank-highlight small{color:#fff;font-size:20px}.rank-podium{display:flex;align-items:flex-end;justify-content:center;gap:30px;padding:25px 10px}.podium-entry{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;flex:1;min-width:0}.podium-entry .avatar{height:62px;width:62px;font-size:28px}.podium-entry.first .avatar{height:78px;width:78px;background:#ffe489;color:#182440}.crown{font-size:28px;color:#d99b00;line-height:1}.podium-entry strong{font-size:14px;overflow-wrap:anywhere;max-width:100%}.podium-entry small{padding:4px 16px;background:#f4f8ff;border:1px solid #c4d9f6;border-radius:20px;color:#16294b}.portal-body tr.my-rank td{background:#fff5bf;font-weight:600}.quiz-question{font-size:19px;font-weight:600;margin:18px 0}.quiz-options{display:grid;gap:12px}.quiz-options button{padding:13px 15px;background:var(--ez-surface);border:1px solid var(--ez-line);border-radius:8px;text-align:left;color:var(--ez-text)}.quiz-options button.correct{background:#e0f9e5;border-color:#36b854}.quiz-options button.wrong{background:#fff0f0;border-color:#ef6464}.quiz-feedback{margin-top:18px;padding:15px;background:var(--ez-soft);border-radius:9px}.quiz-nav{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.portal-body .page-content p,.portal-body .html-content p{margin-top:0!important;margin-bottom:.65em!important;line-height:1.65}.portal-body .page-content:empty{display:none}.portal-body img{max-width:100%}.portal-body .empty-state{text-align:center;padding:35px;color:var(--ez-muted)}
@media(min-width:1600px){.portal-body .course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-body .catalog-layout .course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.desktop-nav{gap:17px}.header-tools{gap:7px}.portal-body .portal-header{gap:15px;padding:10px 20px}.student-sidebar{flex-basis:165px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:185px minmax(0,1fr);gap:16px}.catalog-layout .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-body .learning-hero h1{font-size:36px}.learning-hero .hero-art{height:180px;width:180px}.portal-body .learning-hero{padding:30px;min-height:230px}.portal-body .course-heading{grid-template-columns:1fr 1.4fr}.course-heading h1{font-size:24px}}
@media(max-width:850px){.desktop-nav{display:none}.header-tools{margin-left:auto}.student-sidebar{display:none}.portal-body.has-sidebar .portal-main{padding:22px}.portal-body .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-carousel .course-card{flex-basis:calc((100% - 18px)/2)}.catalog-layout{grid-template-columns:1fr}.course-tree{display:none}.portal-body .portal-main{padding:22px}.auth-split{gap:0}.auth-promo{padding:25px}.auth-promo h1{font-size:28px}.auth-form{padding:20px}.dashboard-welcome h2{font-size:25px}.welcome-watermark{width:100px;height:100px}}
@media(max-width:600px){.portal-body{font-size:13px}.portal-body .portal-header{height:65px;padding:9px 13px;gap:8px}.portal-body .portal-brand{gap:6px}.portal-body .portal-brand img{width:37px;height:37px}.portal-body .portal-brand strong{font-size:25px}.header-tools{gap:5px}.portal-body .icon-button{width:32px;height:36px;padding:5px}.header-tools .mini{display:none}.header-login{display:none!important}.portal-body .portal-main,.portal-body.has-sidebar .portal-main{padding:18px 12px 24px}.portal-body .portal-footer{padding:24px 16px 102px;display:block}.portal-footer nav{justify-content:flex-start;gap:10px 18px;margin-top:18px}.portal-body .mobile-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:45;gap:0;height:auto;min-height:66px;padding:8px 5px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(120deg,#e9f5ff,#d9ecff);border-top:1px solid #bad7fb;box-shadow:0 -3px 10px #0b56ae0a}.mobile-bottom>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#263b5a!important;font-size:11px;font-weight:500}.mobile-bottom>a.active{color:#0055ed!important;font-weight:700}.mobile-bottom .icon{height:24px;width:24px}.toast{bottom:90px}.portal-body .learning-hero{min-height:162px;gap:10px;padding:22px 18px;border-radius:12px;margin-bottom:15px}.portal-body .learning-hero h1{font-size:25px;line-height:1.15;margin-bottom:9px}.portal-body .learning-hero p{font-size:11px;line-height:1.4;margin-bottom:11px}.learning-hero .hero-art{height:110px;width:110px;border-radius:20px}.learning-hero .button{font-size:10px;min-height:29px;padding:5px 10px}.learning-hero:before{height:200px;width:350px;bottom:-150px;right:-180px}.portal-body .home-actions{gap:7px;margin-bottom:20px}.portal-body .home-actions a{padding:13px 4px;gap:8px;border-radius:9px}.home-actions strong{font-size:10px;white-space:nowrap}.home-actions .icon{height:27px!important;width:27px!important}.portal-body h1{font-size:26px}.portal-body h2{font-size:20px}.portal-body .section-heading{margin:18px 0 12px;gap:8px}.section-heading>a{font-size:11px}.carousel-controls{right:74px;top:0;gap:4px}.carousel-controls button{height:24px;width:24px;font-size:18px}.portal-body .course-carousel{gap:12px}.course-carousel .course-card{flex-basis:89%;max-width:420px}.portal-body .course-grid{grid-template-columns:minmax(0,1fr);gap:15px}.catalog-layout .course-grid{grid-template-columns:minmax(0,1fr)}.portal-body .course-card .course-card-content{padding:11px 7px 7px}.portal-body .course-card h3{font-size:17px}.portal-body .generated-cover strong{font-size:24px}.portal-body .generated-cover small{font-size:11px}.price-badge{font-size:21px}.daily-practice{gap:12px;padding:15px 12px;margin:20px 0}.daily-practice h2{font-size:17px}.daily-practice p{font-size:11px}.daily-icon{height:43px;width:43px;border-radius:10px}.daily-icon .icon{height:28px;width:28px}.daily-practice .button{font-size:10px;padding:6px 9px;min-height:33px;max-width:96px}.test-series-benefits{padding:19px 16px;margin-top:24px}.portal-body .test-benefit-grid{grid-template-columns:1fr;gap:15px}.test-benefit-grid article{padding-bottom:12px;border-bottom:1px solid var(--ez-line)}.test-benefit-grid article:last-child{border:0}.test-benefit-grid .icon{float:left;margin:0 12px 10px 0}.test-benefit-grid h3{font-size:15px}.test-benefit-grid p{font-size:12px}.filter-chips{gap:6px}.filter-chips button{padding:6px 11px;font-size:11px}.portal-body .panel{padding:15px;border-radius:11px}.portal-body .ez-test-row{gap:9px;padding:13px 10px}.test-document{padding:7px}.test-document .icon{height:19px;width:19px}.portal-body .ez-test-row h3{font-size:12px}.ez-test-row small{font-size:9px}.portal-body .ez-test-row p{font-size:10px}.ez-test-action .button.small{font-size:10px;min-height:32px;padding:5px 10px;max-width:100px}.completed-label{font-size:9px!important}.portal-body .course-heading{grid-template-columns:1fr;gap:18px}.portal-body .course-heading h1{font-size:24px}.course-heading .button{max-width:none;width:100%}.portal-body .course-heading .generated-cover{padding:30px}.content-tabs>a{padding:9px 18px;flex:1;text-align:center;font-size:12px}.portal-body .learning-item{font-size:12px}.learning-item>span{font-size:10px;text-align:right}.dashboard-welcome{padding:20px 16px;gap:15px;margin:18px 0}.avatar.large{height:74px;width:74px;font-size:30px}.dashboard-welcome h2{font-size:23px}.dashboard-welcome p{font-size:13px}.welcome-watermark{position:absolute;right:0;height:100px;width:100px;pointer-events:none}.dashboard-stats{gap:10px}.stat-card{padding:16px 12px;gap:12px}.stat-card>.icon{height:28px;width:28px}.stat-card>div{padding-left:12px}.stat-card strong{font-size:27px}.stat-card span{font-size:10px}.dashboard-columns{grid-template-columns:1fr;gap:0}.dashboard-links{display:block}.dashboard-links>a{padding:16px 0;font-size:15px}.dashboard-links>a .icon{height:25px;width:25px}.my-course-heading{gap:9px;flex-wrap:wrap}.course-thumb{width:55px;height:55px}.my-course h2{font-size:13px}.my-course h2 .badge{display:inline-block;margin:4px 0;font-size:8px}.my-course-heading .button{margin-left:auto;font-size:10px;padding:6px 9px}.progress-row{gap:7px;font-size:9px}.child-course-row{margin-left:0;padding:11px 8px;gap:8px}.child-course-row>.icon{height:16px;width:16px}.child-course-row h3{font-size:11px}.child-course-row small{font-size:9px}.child-course-row .button{font-size:9px;padding:5px 7px}.profile-layout{grid-template-columns:1fr!important;gap:20px!important}.profile-photo{border-bottom:1px solid var(--ez-line);padding-bottom:20px}.profile-layout .stack{gap:14px}.password-panel .stack{grid-template-columns:1fr}.theme-options button{padding:9px 12px}.profile-danger{gap:15px}.profile-danger>a{font-size:11px}.auth-split{display:block;margin:0 auto 20px;max-width:460px;padding:0;border:0;box-shadow:none;background:transparent}.auth-promo{display:none}.auth-form{padding:20px 13px;background:var(--ez-surface);border:1px solid var(--ez-line);border-radius:12px}.auth-brand{margin:0 0 25px}.auth-brand strong{font-size:29px}.auth-brand img{height:55px;width:55px}.is-auth .portal-main{padding:20px 12px!important}.checkout-columns{grid-template-columns:1fr;gap:0}.checkout-summary img{height:65px;width:65px}.checkout-summary h2{font-size:18px}.checkout-total{font-size:24px}.rank-highlight{gap:15px;padding:20px 12px}.rank-highlight span{font-size:14px}.rank-highlight strong{font-size:33px}.rank-highlight small{font-size:16px}.rank-podium{gap:9px;padding:20px 0}.podium-entry strong{font-size:11px}.podium-entry small{font-size:10px;padding:4px 9px}.podium-entry .avatar{height:53px;width:53px;font-size:24px}.podium-entry.first .avatar{height:65px;width:65px}.rank-picker{gap:9px}.rank-picker .button{padding:9px 12px;font-size:12px}.portal-body th,.portal-body td{padding:10px 8px;font-size:11px}.quiz-question{font-size:17px}.quiz-options button{font-size:13px}}
@media(max-width:350px){.portal-body .portal-brand strong{font-size:22px}.portal-body .portal-brand img{width:31px;height:31px}.header-tools{gap:1px}.learning-hero .hero-art{width:80px;height:80px}.portal-body .learning-hero h1{font-size:22px}.home-actions strong{font-size:9px}.carousel-controls{display:none}.stat-card{gap:8px;padding:14px 10px}.stat-card>.icon{height:23px;width:23px}.stat-card>div{padding-left:8px}.ez-test-row .test-document{display:none}.dashboard-welcome h2{font-size:20px}}
.portal-body[data-appearance=dark]{--ez-surface:#14253f;--ez-text:#eff5ff;--ez-muted:#afc1da;--ez-line:#314b6e;--ez-soft:#1c3554;--ez-navy:#eff5ff;--ez-blue:#79b4ff;background:#0d1c31}.portal-body[data-appearance=dark] .portal-footer,.portal-body[data-appearance=dark] .mobile-bottom{background:#1a2e49}.portal-body[data-appearance=dark] .mobile-bottom a,.portal-body[data-appearance=dark] .portal-footer nav a{color:#d9e8ff!important}.portal-body[data-appearance=dark] .course-tree,.portal-body[data-appearance=dark] .auth-tabs a,.portal-body[data-appearance=dark] th{background:#1b3557;color:#f1f5ff}.portal-body[data-appearance=dark] .dashboard-welcome,.portal-body[data-appearance=dark] .stat-card,.portal-body[data-appearance=dark] .daily-practice,.portal-body[data-appearance=dark] .home-actions a{background:#1b3557;border-color:#355479;color:#f1f5ff!important}.portal-body[data-appearance=dark] .stat-card span,.portal-body[data-appearance=dark] .dashboard-welcome p,.portal-body[data-appearance=dark] .daily-practice p{color:#b8cee8}.portal-body[data-appearance=dark] tr.my-rank td{background:#4c4220}.portal-body[data-appearance=dark] .podium-entry small{background:#203c60;color:white}.portal-body[data-appearance=dark] .quiz-options button.correct{background:#145734}.portal-body[data-appearance=dark] .quiz-options button.wrong{background:#682a33}
@media(prefers-reduced-motion:reduce){.portal-body *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Reset legacy portal card spacing while retaining the admin stylesheet. */
.portal-body .course-card>.cover-wrap{padding:0}.portal-body .course-card-bottom{justify-content:flex-start;border:0;padding-top:0;margin-top:5px}.portal-body .course-card p{min-height:0}.portal-body .course-cta{margin-top:8px}.portal-body .stat-card{min-height:105px}.portal-body .dashboard-welcome{padding-top:20px;padding-bottom:20px}.portal-body .ez-test-action{min-width:0}.portal-body .completed-label{background:transparent;padding:0}.portal-body .dashboard-columns{align-items:start}.portal-body .course-progress{margin:14px 0}.portal-body .course-progress .progress-row{margin-top:5px}
@media(min-width:850px){.portal-body .dashboard-welcome .avatar.large{height:80px;width:80px}.portal-body .dashboard-welcome .welcome-watermark{height:110px;width:110px}.portal-body .dashboard-links>a{padding:12px 0}.portal-body .dashboard-welcome h2{font-size:27px}}
@media(max-width:600px){.portal-body .stat-card{min-height:100px}.portal-body .rank-picker{flex-wrap:nowrap}.portal-body .rank-picker>label{min-width:0}.portal-body .rank-picker .button{white-space:nowrap}.portal-body .ez-test-action{max-width:100px}.portal-body .course-card>.cover-wrap{padding:0}}
