/* DS Classes shared premium UI layer — aligned to the supplied blue / ivory reference. */
:root{--ui-blue:#0879E8;--ui-blue-deep:#0753B6;--ui-cyan:#12A9F4;--ui-violet:#7651ED;--ui-ink:#10264A;--ui-muted:#53647E;--ui-ivory:#F4F7FF;--ui-line:#DCE7F7;--ui-shadow:0 10px 28px rgba(21,72,141,.12);--ui-radius:20px}
html,body{background:linear-gradient(180deg,#F5F8FF 0%,#F9FBFF 52%,#EFF5FF 100%);color:var(--ui-ink);font-family:'DM Sans',Arial,sans-serif}
button,a,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}button:active{transform:scale(.985)}
.sidebar{background:#fff;border-color:#DCE7F7;box-shadow:8px 0 30px rgba(22,72,140,.07)}.brand-mark,.session-splash-mark{background:linear-gradient(145deg,#0879E8,#13A9F4);box-shadow:0 7px 18px rgba(8,121,232,.2)}.nav-item{border-radius:12px;color:#53647E}.nav-item.active,.nav-item:hover{background:#EAF3FF;color:#075DBB}.nav-item.active .nav-icon{color:#0879E8}
.topbar{position:sticky;top:0;z-index:8;margin:0 0 20px;padding:13px 18px;border:1px solid rgba(255,255,255,.36);border-radius:0 0 22px 22px;background:linear-gradient(105deg,#0753B6,#087FE9 60%,#13A9F4);color:#fff;box-shadow:0 8px 22px rgba(7,83,182,.2)}.topbar .breadcrumb,.topbar .breadcrumb b,.topbar .top-name{color:#fff}.topbar .icon-button,.topbar .menu-toggle{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff}.topbar .avatar{border:2px solid rgba(255,255,255,.7)}.content{max-width:1440px;margin:0 auto;padding-top:6px}.welcome-row h1,.home-course-heading h2,.section-heading h2,.panel-heading h2{color:var(--ui-ink);letter-spacing:-.035em}.home-welcome{margin-bottom:22px}
.hero-card{background:linear-gradient(115deg,#0753B6,#087FE9 58%,#26B9F1);border-radius:26px;box-shadow:0 15px 35px rgba(8,121,232,.2)}.hero-art{background:linear-gradient(135deg,#0663CD,#0B9FEF 64%,#8DDBFF)}
.home-updates{padding:0;overflow:hidden;border:1px solid #D7E5F8;border-radius:20px;background:#fff;box-shadow:var(--ui-shadow)}.home-update-heading{min-height:54px;margin:0;padding:12px 17px;background:linear-gradient(100deg,#0879E8,#13A9F4);color:#fff}.home-update-heading .eyebrow,.home-update-heading h2{color:#fff}.home-update-heading h2{font-size:18px}.home-notice-list,.home-upcoming-list{padding:12px;gap:10px}.home-notice-card{padding:14px 15px;border:1px solid #DDE8F8;border-left:4px solid #0879E8;border-radius:14px;background:linear-gradient(115deg,#fff,#F5F9FF);box-shadow:0 4px 14px rgba(20,69,135,.07)}.home-notice-card h3{color:#075DBB;font-size:15px}.home-notice-card p{color:#263A58;font-size:13px}.home-upcoming .home-update-heading{background:linear-gradient(100deg,#7246EA,#905FF5)}.home-upcoming-card{grid-template-columns:auto minmax(0,1fr) auto;min-height:92px;padding:13px;border:1px solid #DDD5FF;border-radius:16px;background:linear-gradient(135deg,#F8F5FF,#EEE9FF);box-shadow:0 4px 12px rgba(93,63,194,.09)}.home-upcoming-card .tile-icon,.home-upcoming-card>span:first-child{color:#6240CF}.home-upcoming-card h3{font-size:14px}.home-upcoming-card time{font-size:11px;color:#4B5F80}
.home-course-heading{align-items:center;margin-bottom:13px}.home-course-heading h2{font-size:23px}.home-course-rail{gap:14px;padding:4px 3px 16px;scrollbar-color:#89B7F0 transparent}.home-course-card,.course-card{border:1px solid #DCE7F7;border-radius:22px;background:#fff;box-shadow:var(--ui-shadow)}.home-course-card{scroll-snap-align:center}.home-course-cover,.course-cover{height:155px;background:linear-gradient(120deg,#0879E8,#20B6F1 70%,#9FE7FF)}.home-course-card .home-course-image{object-fit:cover}.home-course-kicker,.home-course-class{color:#fff}.home-course-class{border-color:rgba(255,255,255,.5);background:rgba(7,83,182,.82)}.home-course-symbol{color:rgba(255,255,255,.28)}.home-course-body{padding:16px 17px 17px}.home-course-meta{color:#075DBB;font-size:10px}.enrolled-mark{border-radius:20px;background:#DFF7E8;color:#168144;font-size:9px}.home-course-body h3{color:var(--ui-ink);font-size:18px}.home-course-body p{height:auto;min-height:42px;max-height:52px;color:#53647E;font-size:12px}.home-course-button{padding:11px 14px;border-radius:12px;background:linear-gradient(100deg,#0753B6,#0879E8);color:#fff!important;box-shadow:0 6px 14px rgba(8,121,232,.18)}
.feature-modal{background:rgba(12,38,79,.38);backdrop-filter:blur(8px)}.feature-sheet{border:1px solid #DDE8F7;border-radius:24px;background:#F6F9FF;box-shadow:0 24px 70px rgba(13,45,91,.25)}.feature-modal-head{padding:19px 24px;background:linear-gradient(105deg,#0753B6,#087FE9 65%,#13A9F4);border:0;color:#fff;box-shadow:0 5px 16px rgba(7,83,182,.16)}.feature-modal-head>div>span,.feature-modal-head h2{color:#fff}.feature-modal-head h2{font-size:21px}.close-feature{width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.35);color:#fff}.feature-content{padding:22px 24px 30px;background:linear-gradient(180deg,#F5F8FF,#FBFCFF)}.feature-hub,.admin-page-header,.admin-dashboard-intro{color:var(--ui-ink)}.feature-tile,.feature-card,.notice-preview,.assessment-question,.video-library-card,.subject-card,.profile-preview,.admin-record-card,.admin-student-card,.student-filter-panel,.community-compose,.post-card,.admin-profile-card,.admin-profile-access{border:1px solid #DFE8F5!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 20px rgba(20,69,135,.08)!important}.feature-tile{min-height:112px;padding:16px;border-radius:18px!important}.feature-tile:hover{border-color:#8FC5FF!important;box-shadow:0 12px 25px rgba(20,101,190,.13)!important}.tile-icon{width:38px;height:38px;border-radius:13px;background:#E4F1FF!important;color:#0879E8!important;font-size:18px}.feature-tile b,.feature-card h3{color:var(--ui-ink);font-size:13px}.feature-tile small,.feature-card p,.feature-card small,.feature-meta{color:#53647E!important;font-size:11px}
.feature-form{gap:13px;padding:19px;border:1px solid #DEE8F5!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important}.feature-form h3{font-size:17px;color:var(--ui-ink)!important}.feature-form label,.profile-form label,.student-filter-panel label{gap:7px;color:#253A58!important;font-size:12px;font-weight:700}.feature-form input,.feature-form select,.feature-form textarea,.feature-input,.comment-form input,.profile-form input,.profile-form select,.student-filter-panel input,.student-filter-panel select,.community-compose textarea,.admin-search,#authForm input,#adminAuthForm input{min-height:44px;padding:11px 13px;border:1px solid #D5E0EE!important;border-radius:12px!important;background:#FAFCFF!important;color:#172A45!important;font-size:13px!important;box-shadow:inset 0 1px 2px rgba(16,38,74,.03)}.feature-form textarea,.community-compose textarea{min-height:98px}.feature-form input:focus,.feature-form select:focus,.feature-form textarea:focus,.feature-input:focus,.comment-form input:focus{border-color:#4CA7F4!important;box-shadow:0 0 0 3px rgba(8,121,232,.13)!important}.feature-form input[type=file]{padding:9px}.feature-submit,.primary-button,.auth-submit,.home-course-button,.admin-photo-edit{min-height:46px;border:0!important;border-radius:14px!important;background:linear-gradient(100deg,#0753B6,#087FE9 72%,#12A9F4)!important;color:#fff!important;font-size:13px!important;font-weight:800;box-shadow:0 8px 18px rgba(8,121,232,.19)}.small-action{min-height:40px;padding:9px 13px;border:1px solid #D8E5F4!important;border-radius:12px!important;background:#EAF3FF!important;color:#075DBB!important;font-size:11px!important;font-weight:800}.small-action.secondary,.course-context-bar button,.admin-inline-back{border:0!important;background:linear-gradient(100deg,#0879E8,#13A9F4)!important;color:#fff!important}.small-action.danger,.danger{border-color:#F3D3D3!important;background:#FFF0F0!important;color:#B4232F!important}.feature-submit:hover,.primary-button:hover,.auth-submit:hover,.home-course-button:hover,.small-action:hover{filter:brightness(1.04);box-shadow:0 9px 20px rgba(8,121,232,.2)}
.admin-dashboard-mode .feature-modal-head{background:linear-gradient(110deg,#064BA8,#0878E4 60%,#18B1F2)}.admin-dashboard-mode .feature-content{background:linear-gradient(180deg,#EFF6FF,#FBFCFF)}.admin-dashboard-intro{padding:8px 2px 15px}.admin-dashboard-intro h2{font-size:25px}.admin-dashboard-card{min-height:126px;border-radius:20px!important;box-shadow:0 8px 20px rgba(24,74,139,.1)!important}.admin-dashboard-copy b{font-size:13px!important}.admin-dashboard-copy small{font-size:10px!important}.admin-dashboard-arrow{width:31px;height:31px;display:grid;place-items:center;top:13px;right:13px;border:1px solid rgba(8,89,180,.17);border-radius:50%;background:rgba(255,255,255,.5);color:#133C73!important}.admin-page-header{display:flex;align-items:center;gap:15px;padding:15px 17px;border:1px solid #D9E7F7;border-radius:18px;background:linear-gradient(105deg,#EAF3FF,#F8FBFF);box-shadow:0 6px 18px rgba(20,69,135,.07)}.admin-page-header>div h2{color:#12335F}.admin-page-header p{color:#53647E}.admin-section-title{color:#12335F;font-size:17px}.admin-record-card,.admin-managed-course,.admin-student-card{border-radius:17px!important}.admin-record-copy h3{font-size:15px}.admin-record-copy p{color:#425672!important;font-size:12px}.admin-course-actions{gap:8px}.admin-course-actions button{min-height:38px;border-radius:11px}.student-filter-panel{padding:16px}.student-card-details{border-color:#E1EAF4}.student-status-login-only{background:#FFF2F1!important;border-color:#F2C9C5!important}.student-status-enrolled{background:#EFFAF2!important;border-color:#C6E8D1!important}
.classroom-banner{min-height:136px;padding:20px;border:1px solid #D9E7F7;border-radius:20px;background:linear-gradient(110deg,#0753B6,#087FE9 62%,#2DB7F0);box-shadow:var(--ui-shadow)}.classroom-banner h3,.classroom-banner p,.classroom-banner .type-badge{color:#fff}.classroom-banner .type-badge{background:rgba(255,255,255,.2)}.course-context-bar{padding:10px 13px;border:1px solid #D8E6F6;border-radius:14px;background:#EAF3FF;color:#164778}.course-section-grid .feature-tile{min-height:112px}
.feature-list{gap:12px}.feature-card{padding:18px}.feature-card h3{font-size:15px}.feature-card p{font-size:13px;line-height:1.6}.feature-card a,.resource-link{color:#075DBB;font-size:12px}.type-badge,.live-badge,.recorded-badge{padding:6px 9px;border-radius:20px;background:#EAF3FF;color:#075DBB;font-size:9px}.live-badge{background:#FFF0F0;color:#B4232F}.recorded-badge{background:#E8F8EE;color:#167A3D}.home-notice-card .type-badge{background:#EAF3FF}.empty-state{padding:30px;border-color:#CEDDF0;border-radius:18px;background:#fff;box-shadow:0 5px 16px rgba(20,69,135,.05);color:#53647E;font-size:13px}.warning-note,.auth-error{padding:13px 15px;border-radius:14px;background:#FFF8E8;color:#785400;border-color:#F0D999;font-size:12px}.status-message{color:#53647E;font-size:12px;line-height:1.5}.score-result{padding:18px;border:1px solid #BCE5C8;border-radius:18px;background:#EAF8EF;color:#196A39;font-size:17px}.assessment-question{padding:17px}.assessment-question legend,.question-editor legend{color:#12335F;font-size:14px;font-weight:800}.assessment-option{padding:12px;border:1px solid #E1EAF4;border-radius:12px;background:#F8FAFE;color:#243B5D!important;font-size:13px!important}.question-editor{padding:16px;border:1px solid #DCE7F5;border-radius:16px;background:#F8FAFE}.student-table-wrap{border:1px solid #DDE7F4;border-radius:16px;background:#fff;box-shadow:var(--ui-shadow)}.student-table th{background:#EAF3FF;color:#12335F}.student-table td{color:#344B69;border-color:#E8EEF5}.profile-panel{gap:18px}.profile-preview{padding:22px}.profile-photo{border-color:#BEDBFA;background:#EAF3FF;color:#075DBB}.post-card{padding:17px}.post-text,.comment-item{color:#253A58;font-size:13px}.post-actions{border-color:#E3EAF3}.admin-loading-spinner{border-color:#D9E7F7;border-top-color:#0879E8}.subject-card{min-height:164px}.subject-card-copy b{color:#12335F}.subject-card-symbol{color:rgba(8,121,232,.12)}.video-thumbnail{border-radius:16px;overflow:hidden}.library-video-player{border-radius:18px;box-shadow:var(--ui-shadow)}
.auth-screen{background:linear-gradient(140deg,#EAF3FF,#F7FAFF 54%,#E8F4FF)}.auth-shell{overflow:hidden;border:1px solid #D8E5F4;border-radius:28px;background:#fff;box-shadow:0 24px 64px rgba(18,68,132,.17)}.auth-visual{background:linear-gradient(145deg,#064BA8,#087FE9 58%,#36BDF3)}.auth-visual:after{opacity:.6}.auth-form-side{padding:clamp(28px,5vw,60px)}.auth-heading h2{color:#12335F;font-size:27px}.auth-heading p,.auth-terms{color:#53647E}.auth-tabs{border-bottom-color:#E2EAF4}.auth-tab{min-height:43px;color:#64738A}.auth-tab.active{color:#075DBB;border-color:#0879E8}.auth-submit{margin-top:4px}.auth-storage-note{border:1px solid #E1EAF5;border-radius:14px;background:#F5F9FF;color:#53647E}.auth-mobile-brand .brand-mark{background:linear-gradient(145deg,#0879E8,#13A9F4)}
.mobile-bottom-nav{background:rgba(255,255,255,.97);border-color:#DCE7F5;box-shadow:0 -8px 24px rgba(22,72,140,.1);backdrop-filter:blur(16px)}.mobile-nav-item{color:#63748C}.mobile-nav-item.active,.mobile-nav-item.active>span{color:#0879E8}.bottom-more-sheet,.account-menu{border:1px solid #DCE7F5;border-radius:22px 22px 0 0;background:#fff;color:#172A45;box-shadow:0 -15px 40px rgba(20,69,135,.16)}.bottom-more-grid button,.account-menu-grid button{border:1px solid #DDE8F5;border-radius:14px;background:#F3F8FF;color:#164778}.account-menu-header,.bottom-more-title{color:#12335F}.logout-button{border:1px solid #D8E5F4;border-radius:12px;background:#fff;color:#075DBB}
.admin-profile-page,.admin-photo-editor{color:var(--ui-ink)}.admin-profile-card,.admin-profile-access{border-radius:20px!important}.admin-photo-preview{border-color:#7AB8F2;box-shadow:0 0 0 8px rgba(8,121,232,.08),var(--ui-shadow)}.crop-dialog{border-radius:18px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important}
.legal-shell{color:#172A45}.legal-top,.legal-card{border-color:#DCE7F5!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--ui-shadow)}.legal-hero{border-radius:24px;background:linear-gradient(110deg,#0753B6,#087FE9 65%,#13A9F4);color:#fff}.legal-hero h1,.legal-hero p,.legal-hero .eyebrow{color:#fff}.legal-back,.legal-contact{border-radius:12px;background:#0879E8;color:#fff}
@media(max-width:760px){.topbar{margin:0 -14px 17px;padding:12px 14px;border-radius:0 0 19px 19px}.breadcrumb{display:none}.home-updates{margin-bottom:16px}.home-notice-list,.home-upcoming-list{padding:9px}.home-upcoming-card{grid-template-columns:auto minmax(0,1fr);gap:9px}.home-upcoming-card time{grid-column:2;text-align:left;max-width:none}.home-course-heading h2{font-size:20px}.home-course-section #homeCourseCatalog .home-course-card{flex-basis:min(82vw,370px)}.home-course-section #homeCourseCatalog .home-course-cover{height:144px}.feature-modal.admin-dashboard-mode .feature-content{padding:15px 13px calc(82px + env(safe-area-inset-bottom))}.admin-dashboard-card{min-height:124px;padding:12px}.admin-dashboard-copy b{max-width:100%;font-size:11px!important;line-height:1.3}.admin-dashboard-copy small{font-size:9px!important}.admin-page-header{align-items:flex-start;flex-direction:column}.feature-modal-head{padding:14px 16px}.feature-content{padding:16px 14px calc(82px + env(safe-area-inset-bottom))}.feature-form{padding:15px}.form-row{grid-template-columns:1fr}.profile-panel{grid-template-columns:1fr}.profile-preview{grid-template-columns:auto 1fr;justify-items:start}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-course-body h3{font-size:16px}.auth-shell{border-radius:24px}.auth-form-side{padding:25px 20px}.auth-heading h2{font-size:23px}}
@media(max-width:380px){.home-course-section #homeCourseCatalog .home-course-card{flex-basis:calc(100vw - 46px)}.admin-dashboard-grid{gap:8px}.admin-dashboard-card{min-height:120px;padding:10px}.admin-dashboard-icon{width:34px;height:34px}.admin-dashboard-copy small{font-size:8px!important}.feature-grid{gap:8px}.feature-tile{padding:11px}}
.download-wrap{width:min(560px,calc(100% - 28px));margin:8vh auto;padding:28px;border:1px solid #D8E5F4;border-radius:26px;background:#fff;box-shadow:var(--ui-shadow)}.download-wrap h1{color:#12335F}.download-wrap p,.download-wrap ol{color:#53647E}.download-button{border-radius:14px;background:linear-gradient(100deg,#0753B6,#087FE9 70%,#13A9F4);color:#fff;box-shadow:0 8px 18px rgba(8,121,232,.2)}.download-note{color:#687991!important}
.account-deletion-screen{max-width:780px;margin:0 auto;padding:20px;border:1px solid #DCE7F5;border-radius:22px;background:#fff;box-shadow:var(--ui-shadow)}.account-deletion-counts{padding:15px;border:1px solid #DCE7F5;border-radius:15px;background:#F5F9FF}.account-delete-consent{padding:12px;border-radius:12px;background:#F5F9FF}.legal-note{padding:14px 16px;border:1px solid #F0D999;border-radius:14px;background:#FFF8E8;color:#785400}
.subject-library-heading{padding:21px;border:1px solid #D9E7F7;border-radius:20px;background:linear-gradient(110deg,#0753B6,#087FE9 62%,#13A9F4);color:#fff;box-shadow:var(--ui-shadow)}.subject-library-heading .eyebrow,.subject-library-heading h2,.subject-library-heading p{color:#fff}.subject-library-heading h2{font-size:24px}.video-library-grid{gap:16px}.video-library-card{overflow:hidden}.video-library-info{padding:15px}.video-library-info h3{color:#12335F;font-size:15px}.video-library-info p{color:#53647E;font-size:12px;line-height:1.55}.video-library-info time{color:#687991;font-size:10px}.video-admin-row{border-radius:16px}
