@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#15213b;font-synthesis:none;text-rendering:optimizelegibility;--blue:#1746c8;--blue2:#2463eb;--ink:#15213b;--muted:#69758c;--line:#e5eaf3;--surface:#fff;background:#f6f8fc;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;gap:34px;height:72px;padding:0 30px;display:flex;position:sticky;top:0}.brand{color:#133d9f;white-space:nowrap;background:0 0;border:0;align-items:center;gap:9px;font:800 21px Manrope,sans-serif;display:flex}.brand>span:last-child>span,.auth-brand>span:last-child{color:#2463eb}.brand-mark{color:#1746c8;background:#eaf0ff;border-radius:12px;place-items:center;width:37px;height:37px;display:grid}.crumbs,.breadcrumbs{color:#7b879b;align-items:center;gap:8px;font-size:13px;display:flex}.crumbs span:last-child{color:#35425d}.user-menu{align-items:center;gap:10px;margin-left:auto;display:flex}.user-menu b,.user-menu small{display:block}.user-menu b{font-size:13px}.user-menu small{color:var(--muted);margin-top:2px;font-size:11px}.avatar{color:#1746c8;background:#e5edff;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:grid}.icon-btn{color:#64718a;background:0 0;border:0;border-radius:9px;place-items:center;padding:8px;display:inline-grid}.icon-btn:hover{background:#f0f4fb}.layout{min-height:calc(100vh - 72px);display:flex}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex-shrink:0;width:238px;padding:27px 15px;display:flex}.side-label,.eyebrow{letter-spacing:1.25px;color:#8591a7;font-size:10px;font-weight:700}.side-label{padding:0 12px 14px}.nav-item{color:#65728a;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;height:45px;margin-bottom:5px;padding:0 13px;font-size:13px;font-weight:600;display:flex}.nav-item:hover,.nav-item.active{color:#1746c8;background:#edf3ff}.sidebar-bottom{margin-top:auto}.help-card{color:#5670a4;background:#f4f7fd;border:1px solid #e8edf6;border-radius:12px;flex-direction:column;gap:7px;margin:12px 2px 18px;padding:14px;display:flex}.help-card b{color:#263b69;font-size:12px}.help-card span{color:#73809a;font-size:11px;line-height:1.5}.main-content{flex:1;min-width:0}.page-wrap{max-width:1440px;margin:0 auto;padding:34px 38px 55px}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin:6px 0 27px;display:flex}.page-heading h1{letter-spacing:-1.2px;margin:8px 0 5px;font:800 30px Manrope,sans-serif}.page-heading p,.section-title p{color:var(--muted);margin:0;font-size:13px}.welcome-banner{color:#fff;background:linear-gradient(110deg,#123d9e,#2868df);border-radius:18px;justify-content:space-between;align-items:center;margin-bottom:31px;padding:31px 35px;display:flex;position:relative;overflow:hidden}.welcome-banner h1{letter-spacing:-.7px;margin:10px 0 5px;font:800 28px Manrope,sans-serif}.welcome-banner p{color:#dce7ff;margin:0;font-size:14px}.eyebrow.light{color:#d0ddff}.welcome-art{color:#e3ebff;background:#ffffff1c;border-radius:50%;place-items:center;width:130px;height:130px;margin-right:24px;display:grid}.section-title{justify-content:space-between;align-items:center;margin:26px 0 15px;display:flex}.section-title h2,.results-toolbar h2{margin:0 0 4px;font:700 17px Manrope,sans-serif}.status-pill{text-transform:capitalize;border-radius:20px;align-items:center;gap:5px;padding:6px 9px;font-size:11px;font-weight:700;display:inline-flex}.status-pill.approved{color:#16834a;background:#e9f8ef}.status-pill.pending{color:#a66b0b;background:#fff5df}.status-pill.rejected{color:#c34b4b;background:#fff0f0}.academic-card,.admin-panel,.table-panel,.search-panel,.aside-card{border:1px solid var(--line);background:#fff;border-radius:14px}.academic-card{padding:20px 22px}.academic-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.academic-grid label,.form-stack label,.auth-card label{color:#66738a;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.academic-grid select,.form-stack input,.form-stack select,.auth-card input,.auth-card select,.filters select{color:#283650;background:#fff;border:1px solid #dfe5ef;border-radius:8px;outline:none;width:100%;padding:11px 12px;font-size:13px}.academic-grid select:focus,.form-stack input:focus,.auth-card input:focus,.search-input-row input:focus{border-color:#83a6f7;box-shadow:0 0 0 3px #eaf0ff}.academic-note{color:#72809a;border-top:1px solid #edf0f5;align-items:center;gap:8px;margin-top:17px;padding-top:14px;font-size:11px;display:flex}.subject-grid{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.subject-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;align-items:center;gap:13px;padding:17px;transition:all .18s;display:flex}.subject-card:hover{border-color:#a8bff4;transform:translateY(-1px);box-shadow:0 7px 20px #203d7b0b}.subject-icon{border-radius:11px;flex-shrink:0;place-items:center;width:41px;height:41px;display:grid}.color-0{color:#285bd2;background:#eaf0ff}.color-1{color:#19977d;background:#e7f7f3}.color-2{color:#7656ce;background:#f1eefe}.color-3{color:#d68a31;background:#fff3e6}.color-4{color:#3185c9;background:#eaf5ff}.subject-card h3{margin:0 0 5px;font-size:13px}.subject-card p{color:var(--muted);margin:0;font-size:11px}.subject-arrow{color:#9aa6b9;margin-left:auto}.tip-banner{color:#3263bd;background:#f0f5ff;border:1px solid #e0eaff;border-radius:12px;align-items:center;gap:12px;margin-top:22px;padding:15px 17px;display:flex}.tip-banner b,.tip-banner span{display:block}.tip-banner b{margin-bottom:3px;font-size:12px}.tip-banner span{color:#6a7b9a;font-size:11px}.breadcrumbs{margin:0 0 18px}.breadcrumbs button{color:#66748e;background:0 0;border:0;padding:0}.breadcrumbs b{color:#254b9f}.search-panel{margin-bottom:25px;padding:17px 19px}.search-tabs{gap:7px;margin-bottom:15px;display:flex}.search-tabs button{color:#73809a;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 13px;font-size:12px;font-weight:700;display:flex}.search-tabs button.selected{color:#1746c8;background:#eaf0ff}.search-input-row{color:#7b89a3;border:1px solid #dfe5ef;border-radius:10px;align-items:center;gap:11px;height:49px;padding:0 5px 0 14px;display:flex}.search-input-row:focus-within{border-color:#8daaf0;box-shadow:0 0 0 3px #eff4ff}.search-input-row input{color:#23324d;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:14px}.primary-btn,.outline-btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.primary-btn{color:#fff;background:#1746c8}.primary-btn:hover{background:#103aa9}.outline-btn{color:#2452ae;background:#fff;border-color:#d9e2f1}.outline-btn:hover{background:#f5f8ff;border-color:#a9bdf0}.search-context{color:#77839a;justify-content:space-between;align-items:center;margin-top:13px;font-size:11px;display:flex}.search-context b{color:#34425e}.ai-tag{color:#4168b7;background:#f1f5ff;border-radius:20px;align-items:center;gap:6px;padding:6px 9px;display:flex}.results-layout{width:100%;display:block}.results-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.results-toolbar p{color:#78849a;margin:0;font-size:11px}.results-toolbar p b{color:#3e4c68}.filters{gap:7px;display:flex}.filters select{width:auto;padding:8px 10px;font-size:11px}.result-list{flex-direction:column;gap:12px;display:flex}.result-card,.lecture-card{border:1px solid var(--line);background:#fff;border-radius:13px;gap:14px;padding:19px;display:flex}.result-icon{color:#2861d1;background:#eaf1ff;border-radius:50%;flex-shrink:0;place-items:center;width:41px;height:41px;display:grid}.result-body{flex:1;min-width:0}.result-title-row{flex-wrap:wrap;align-items:center;gap:8px;margin:1px 0 9px;display:flex}.result-title-row h3{margin:0 2px 0 0;font:700 15px Manrope,sans-serif}.unit-pill,.page-pill{color:#2860c8;background:#edf3ff;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.page-pill{color:#69758b;background:#f1f3f7}.excerpt{color:#43516b;margin:0 0 10px;font-size:13px;line-height:1.65}.excerpt mark{color:#27334b;background:#fff0a6;border-radius:2px;padding:0 2px}.result-meta{color:#8792a5;flex-wrap:wrap;gap:14px;font-size:10px;display:flex}.result-meta span{align-items:center;gap:5px;display:flex}.result-actions{gap:8px;margin-top:14px;display:flex}.primary-btn.small,.outline-btn.small{padding:8px 11px;font-size:10px}.results-aside{flex-direction:column;gap:13px;padding-top:47px;display:flex}.aside-card{padding:17px}.aside-heading{color:#2456b9;align-items:center;gap:9px;margin-bottom:17px;display:flex}.aside-heading h3{color:#24324c;margin:0;font:700 13px Manrope,sans-serif}.source-file{align-items:center;gap:11px;margin-bottom:15px;display:flex}.pdf-icon{color:#d34d4d;background:#fff0f0;border:1px solid #ffe0e0;border-radius:7px;flex-shrink:0;place-items:center;width:39px;height:46px;font-size:11px;font-weight:800;display:grid}.source-file b,.source-file span,.source-file small{display:block}.source-file b{overflow-wrap:anywhere;margin-bottom:5px;font-size:11px}.source-file span{color:#758198;margin-bottom:4px;font-size:10px}.source-file small{color:#929caf;font-size:10px}.full-btn{width:100%}.source-detail{color:#66748d;background:#f5f7fb;border-radius:8px;margin-top:11px;padding:10px;font-size:10px;line-height:1.7}.match-status{color:#218653;align-items:center;gap:7px;font-size:11px;display:flex}.aside-divider{background:#edf0f5;height:1px;margin:14px 0}.matched-subject small,.matched-subject b,.matched-subject span{display:block}.matched-subject small{color:#8a95a8;letter-spacing:.8px;margin-bottom:6px;font-size:9px}.matched-subject b{color:#2858b7;font-size:12px}.matched-subject span{color:#8591a4;margin-top:4px;font-size:10px}.aside-tip{color:#3263bd;background:#f0f5ff;border:1px solid #e2ebff;border-radius:12px;padding:15px}.aside-tip b{margin-left:6px;font-size:11px}.aside-tip p{color:#71809c;margin:8px 0 0;font-size:10px;line-height:1.6}.lecture-card{align-items:flex-start}.video-thumb{color:#fff;background:linear-gradient(135deg,#142d62,#3974d9);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:130px;height:85px;display:flex;position:relative}.video-thumb span{letter-spacing:1px;color:#dce7ff;font-size:8px;font-weight:700;position:absolute;bottom:7px;left:9px}.empty-state{text-align:center;color:#8290a6;background:#fff;border:1px dashed #dce3ef;border-radius:13px;padding:38px 20px}.empty-state h3{color:#33415b;margin:13px 0 6px;font:700 15px Manrope,sans-serif}.empty-state p{max-width:390px;margin:0 auto 17px;font-size:12px;line-height:1.6}.empty-state.compact{border:0;padding:28px}.modal-backdrop{z-index:50;background:#0d183c80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.extract-modal{background:#fff;border-radius:16px;width:min(580px,100%);padding:25px;box-shadow:0 24px 70px #0a1b4333}.modal-head{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.modal-head h2{margin:7px 0;font:800 21px Manrope,sans-serif}.extract-source{color:#74819a;border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:12px 0;font-size:11px;display:flex}.extract-modal>p{color:#3f4e68;margin:18px 0;font-size:14px;line-height:1.85}.modal-note{color:#5572a7;background:#f1f6ff;border-radius:9px;align-items:flex-start;gap:8px;margin-bottom:17px;padding:12px;font-size:10px;line-height:1.5;display:flex}.stats-grid{grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:13px;padding:17px;display:flex}.stat-icon{color:#285bc6;background:#edf3ff;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.stat-card b,.stat-card span{display:block}.stat-card b{font:800 22px Manrope,sans-serif}.stat-card span{color:#7c879b;margin-top:3px;font-size:10px}.admin-grid{grid-template-columns:1.1fr .9fr;gap:16px;display:grid}.admin-panel{min-width:0;padding:20px}.panel-heading{color:#315fb8;justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.panel-heading h2{color:#263550;margin:0 0 5px;font:700 15px Manrope,sans-serif}.panel-heading p{color:#8290a5;margin:0;font-size:11px}.quick-actions{flex-direction:column;display:flex}.quick-actions button{text-align:left;color:#4165ac;background:#fff;border:0;border-top:1px solid #eef1f6;align-items:center;gap:12px;padding:14px 3px;display:flex}.quick-actions button>span{flex:1}.quick-actions b,.quick-actions small{display:block}.quick-actions b{color:#34435d;margin-bottom:4px;font-size:12px}.quick-actions small{color:#8994a7;font-size:10px}.setup-row{border-top:1px solid #eef1f6;justify-content:space-between;gap:10px;padding:12px 0;font-size:11px;display:flex}.setup-row span{color:#7b879b}.setup-row b{color:#34425b;text-align:right}.setup-note{color:#5574b5;background:#f0f5ff;border-radius:8px;align-items:center;gap:7px;margin-top:10px;padding:11px;font-size:10px;display:flex}.table-panel{overflow:hidden}.table-toolbar{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:14px 17px;display:flex}.filter-tabs{gap:5px;display:flex}.filter-tabs button{color:#78859a;background:0 0;border:0;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:700}.filter-tabs button.on{color:#2458c3;background:#edf3ff}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;min-width:650px}th{letter-spacing:.8px;color:#8994a7;background:#fbfcfe;padding:13px 17px;font-size:9px}td{color:#56637a;border-top:1px solid #eef1f6;padding:14px 17px;font-size:11px}td b,td small{display:block}td b{color:#2b3851;margin-bottom:4px;font-size:12px}td small{color:#8a95a8;font-size:10px}.table-actions{gap:6px;display:flex}.approve-btn,.reject-btn{border:0;border-radius:6px;padding:7px 9px;font-size:10px;font-weight:700}.approve-btn{color:#16844b;background:#e8f7ee}.reject-btn{color:#c44e4e;background:#fff0f0}.muted{color:#8994a7}.small-text{font-size:10px}.form-stack{flex-direction:column;gap:8px;display:flex}.form-stack label{margin:5px 0 0}.form-stack input,.form-stack select{margin-bottom:5px}.form-hint{color:#8290a5;background:#f6f8fc;border-radius:8px;padding:11px;font-size:10px;line-height:1.6}.managed-list{flex-direction:column;display:flex}.managed-item{border-top:1px solid #eef1f6;align-items:center;gap:11px;min-width:0;padding:12px 0;display:flex}.managed-item>div:nth-child(2){flex:1;min-width:0}.managed-item b,.managed-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.managed-item b{color:#34415a;margin-bottom:4px;font-size:11px}.managed-item small{color:#8994a7;font-size:9px}.small-pdf{width:31px;height:36px;font-size:9px}.lecture-mini{color:#2860ca;background:#edf3ff;border-radius:8px;place-items:center;width:35px;height:35px;display:grid}.danger{color:#c75c5c}.auth-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-left{color:#fff;background:linear-gradient(145deg,#12388f,#1d58c9 65%,#3475df);flex-direction:column;justify-content:space-between;padding:35px 8%;display:flex;position:relative;overflow:hidden}.auth-left:after{content:"";border:1px solid #ffffff20;border-radius:50%;width:430px;height:430px;position:absolute;bottom:-160px;right:-170px;box-shadow:0 0 0 45px #ffffff08,0 0 0 90px #ffffff05}.auth-brand{z-index:1;align-items:center;gap:9px;font:800 23px Manrope,sans-serif;display:flex}.auth-brand .brand-mark{color:#fff;background:#ffffff20}.auth-copy{z-index:1;max-width:480px;margin:auto 0}.auth-copy h1{letter-spacing:-2.5px;margin:17px 0;font:800 clamp(38px,4.3vw,58px)/1.12 Manrope,sans-serif}.auth-copy>p{color:#d8e5ff;max-width:390px;font-size:15px;line-height:1.7}.auth-features{flex-direction:column;gap:16px;margin-top:37px;display:flex}.auth-features div{color:#e6edff;align-items:center;gap:12px;font-size:13px;display:flex}.auth-features svg{width:19px}.auth-foot{color:#c6d7ff;z-index:1;font-size:11px}.auth-right{justify-content:center;align-items:center;padding:35px;display:flex}.auth-card{width:min(420px,100%)}.auth-icon{color:#2054c4;background:#edf3ff;border-radius:13px;place-items:center;width:46px;height:46px;margin-bottom:24px;display:grid}.auth-card h2{letter-spacing:-.8px;margin:9px 0 7px;font:800 27px Manrope,sans-serif}.auth-card .muted{margin:0 0 24px;font-size:12px;line-height:1.6}.auth-card label{margin:15px 0 7px}.auth-card input,.auth-card select{padding:12px}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-row>div{min-width:0}.auth-card .form-row{margin-top:12px}.auth-card .form-row label{margin-top:0}.full-btn{width:100%;margin-top:16px}.demo-hint{color:#5671a6;background:#f1f6ff;border-radius:8px;align-items:flex-start;gap:7px;margin-top:14px;padding:10px;font-size:9px;line-height:1.5;display:flex}.demo-hint b{color:#36558e}.auth-switch{text-align:center;color:#7d899e;margin-top:20px;font-size:11px}.auth-switch button{color:#1d51bd;background:0 0;border:0;font-weight:700}.auth-legal{color:#9aa4b4;text-align:center;margin-top:35px;font-size:9px}.inline-error{color:#b84848;background:#fff0f0;border-radius:7px;margin-top:10px;padding:9px;font-size:10px}.toast{color:#fff;z-index:80;background:#173d91;border-radius:10px;align-items:center;gap:9px;padding:13px 17px;font-size:12px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 30px #0e2b6a33}.mobile-only{display:none}@media (width<=1050px){.results-layout{display:block}.subject-grid{grid-template-columns:repeat(2,1fr)}.page-wrap{padding:28px 25px}.sidebar{width:210px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.topbar{gap:12px;height:62px;padding:0 14px}.mobile-only{display:inline-grid}.brand{font-size:18px}.brand-mark{width:32px;height:32px}.crumbs{display:none}.user-menu{gap:7px}.user-menu>div:nth-child(2){display:none}.layout{min-height:calc(100vh - 62px)}.sidebar{z-index:30;transition:all .2s;position:fixed;top:62px;bottom:0;left:0;transform:translate(-105%);box-shadow:12px 0 25px #10244c12}.sidebar.open{transform:translate(0)}.page-wrap{padding:23px 15px 40px}.page-heading h1{font-size:25px}.page-heading{align-items:flex-start}.welcome-banner{padding:24px 20px}.welcome-banner h1{font-size:23px}.welcome-art{width:75px;height:75px;margin:0}.welcome-art svg{width:45px}.academic-grid{grid-template-columns:repeat(2,1fr)}.subject-grid,.results-layout{grid-template-columns:1fr}.results-aside{grid-template-columns:1fr 1fr;padding-top:0;display:grid}.aside-tip{grid-column:1/-1}.results-toolbar{flex-direction:column;align-items:flex-start}.filters{width:100%}.filters select{flex:1}.result-card,.lecture-card{gap:10px;padding:14px}.result-icon{width:34px;height:34px}.result-title-row h3{font-size:13px}.excerpt{font-size:12px}.result-actions{flex-wrap:wrap}.search-context{flex-direction:column;align-items:flex-start;gap:9px}.search-input-row{gap:7px}.search-input-row .primary-btn{padding:10px}.search-input-row input{font-size:12px}.video-thumb{width:90px;height:75px}.admin-grid{grid-template-columns:1fr}.stats-grid{gap:8px}.stat-card{gap:9px;padding:12px}.stat-card b{font-size:19px}.stat-card span{font-size:9px}.auth-page{grid-template-columns:1fr}.auth-left{display:none}.auth-right{min-height:100vh;padding:28px 22px}.auth-card h2{font-size:25px}.page-heading .status-pill{display:none}}@media (width<=420px){.academic-grid{gap:10px}.result-meta{gap:8px}.result-actions .primary-btn,.result-actions .outline-btn{padding:8px;font-size:9px}.results-aside{grid-template-columns:1fr}.aside-tip{grid-column:auto}.filters select{font-size:10px}.stats-grid{grid-template-columns:1fr 1fr}.search-tabs button{padding:8px}.form-row{gap:8px}}.academic-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.academic-actions{justify-content:space-between;align-items:center;gap:14px;margin-top:18px;display:flex}.academic-actions .academic-note{margin:0}.theme-toggle{place-items:center;display:grid}.auth-theme-toggle{position:absolute;top:24px;right:28px}.auth-right{position:relative}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e8edf8;--muted:#a5b0c5;--line:#303c52;--surface:#1d293d;color:#e8edf8;background:#111a2a}:root[data-theme=dark] body{color:#e8edf8;background:#111a2a}:root[data-theme=dark] .app-shell,:root[data-theme=dark] .main-content,:root[data-theme=dark] .layout{background:#111a2a}:root[data-theme=dark] .topbar,:root[data-theme=dark] .sidebar,:root[data-theme=dark] .academic-card,:root[data-theme=dark] .admin-panel,:root[data-theme=dark] .stat-card,:root[data-theme=dark] .table-panel,:root[data-theme=dark] .result-card,:root[data-theme=dark] .lecture-card,:root[data-theme=dark] .search-panel,:root[data-theme=dark] .aside-card,:root[data-theme=dark] .extract-modal,:root[data-theme=dark] .auth-page,:root[data-theme=dark] .auth-right,:root[data-theme=dark] .auth-card,:root[data-theme=dark] .empty-state{color:#e8edf8;background:#1b273a;border-color:#303c52}:root[data-theme=dark] .topbar{border-bottom-color:#303c52}:root[data-theme=dark] .brand,:root[data-theme=dark] .crumbs span:last-child,:root[data-theme=dark] .panel-heading h2,:root[data-theme=dark] .quick-actions b,:root[data-theme=dark] .setup-row b,:root[data-theme=dark] .empty-state h3,:root[data-theme=dark] .result-title-row h3,:root[data-theme=dark] .subject-card h3,:root[data-theme=dark] .auth-card h2,:root[data-theme=dark] td b{color:#e8edf8}:root[data-theme=dark] .quick-actions button,:root[data-theme=dark] .subject-card,:root[data-theme=dark] .nav-item,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] .form-stack input,:root[data-theme=dark] .form-stack select{color:#e8edf8;background:#202e44;border-color:#3a4962}:root[data-theme=dark] th{color:#b4c0d5;background:#202e44}:root[data-theme=dark] td{color:#c4cee0;border-color:#303c52}:root[data-theme=dark] .excerpt,:root[data-theme=dark] .muted,:root[data-theme=dark] .page-heading p,:root[data-theme=dark] .section-title p,:root[data-theme=dark] .setup-row span,:root[data-theme=dark] .managed-item b{color:#aab6ca}:root[data-theme=dark] .form-hint,:root[data-theme=dark] .modal-note,:root[data-theme=dark] .demo-hint,:root[data-theme=dark] .setup-note,:root[data-theme=dark] .academic-note{color:#b9c9e8;background:#243651}:root[data-theme=dark] .auth-left{background:linear-gradient(145deg,#102b66,#1747a3 65%,#245db5)}:root[data-theme=dark] .auth-legal,:root[data-theme=dark] .auth-switch{color:#aab6ca}:root[data-theme=dark] .sidebar{border-right:1px solid #303c52}@media (width<=760px){.academic-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.academic-actions{flex-direction:column;align-items:stretch}.academic-actions .primary-btn{width:100%}}.subject-icon img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.subject-upload-preview{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;width:max-content;max-width:100%;padding:10px;display:flex}.subject-upload-preview img,.subject-admin-thumb img{object-fit:cover;border-radius:10px;width:56px;height:56px}.subject-admin-thumb{color:#285bc6;background:#edf3ff;border-radius:10px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid;overflow:hidden}.subject-admin-thumb img{border-radius:0;width:100%;height:100%}.subject-managed{gap:8px}.text-button{color:#2458c3;background:0 0;border:0;font-size:11px;font-weight:700}.secondary-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;padding:10px 15px;font-weight:700}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}img,video,iframe{max-width:100%}button,a,input,select,textarea{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}.table-scroll{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.table-scroll table{min-width:620px}.managed-item>div:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.managed-item small{overflow-wrap:anywhere}.form-stack input,.form-stack select,.academic-grid select,.auth-card input,.auth-card select{min-height:44px}.primary-btn,.outline-btn,.secondary-btn,.approve-btn,.reject-btn,.nav-item{min-height:42px}.modal-backdrop{padding:16px;overflow-y:auto}.extract-modal{width:min(620px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}@media (width<=760px){.topbar{gap:8px;padding:0 10px}.topbar>.mobile-only{flex:0 0 38px;width:38px;height:38px}.brand{gap:7px;font-size:17px}.brand-mark{border-radius:9px;width:31px;height:31px}.user-menu{gap:3px;margin-left:auto}.user-menu .icon-btn{width:36px;height:38px;padding:7px}.avatar{width:31px;height:31px;font-size:10px}.sidebar{width:min(290px,86vw);padding:20px 14px;overflow-y:auto}.sidebar.open{box-shadow:14px 0 40px #0c1e4033}.page-wrap{width:100%;padding:21px 14px 34px}.page-heading{flex-wrap:wrap;gap:12px;margin:4px 0 20px}.page-heading h1{letter-spacing:-.7px;font-size:clamp(22px,6vw,26px);line-height:1.2}.page-heading p{font-size:12px;line-height:1.5}.welcome-banner{border-radius:14px;gap:12px;min-height:142px;padding:20px 16px}.welcome-banner h1{font-size:21px;line-height:1.2}.welcome-banner p{max-width:250px;font-size:12px;line-height:1.5}.welcome-art{flex:0 0 62px;width:62px;height:62px}.academic-card,.admin-panel,.table-panel,.search-panel{border-radius:12px}.academic-card{padding:15px}.academic-grid,.academic-grid-three{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.academic-grid label{font-size:10px}.academic-grid select{padding:10px 8px;font-size:12px}.academic-actions{gap:12px}.academic-actions .academic-note{font-size:10px;line-height:1.45}.subject-grid{grid-template-columns:1fr;gap:10px}.subject-card{min-height:72px;padding:14px}.search-panel{margin-bottom:18px;padding:13px}.search-tabs{white-space:nowrap;scrollbar-width:thin;padding-bottom:3px;overflow-x:auto}.search-tabs button{flex:none;min-height:40px}.search-input-row{height:auto;min-height:48px;padding:4px 5px 4px 11px}.search-input-row input{padding:9px 0;font-size:13px}.search-input-row .primary-btn{min-height:40px;padding:9px 11px}.result-card,.lecture-card{border-radius:11px;align-items:flex-start;padding:13px}.result-body{width:calc(100% - 45px)}.result-title-row{align-items:flex-start}.result-title-row h3{overflow-wrap:anywhere;line-height:1.4}.result-meta{overflow-wrap:anywhere;line-height:1.5}.result-actions{gap:7px}.result-actions>*{max-width:100%}.results-aside{flex-direction:column;gap:10px;display:flex}.aside-card{padding:14px}.admin-grid{grid-template-columns:minmax(0,1fr);gap:14px}.admin-panel{min-width:0;padding:14px}.panel-heading{align-items:flex-start;gap:10px}.panel-heading h2{font-size:15px;line-height:1.35}.panel-heading p{font-size:11px;line-height:1.45}.form-stack{min-width:0}.form-stack label{margin-top:5px}.form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.form-row>*{min-width:0}.form-row input,.form-row select{width:100%;min-width:0}.managed-list{min-width:0}.managed-item{gap:8px;padding:10px 0}.managed-item b{overflow-wrap:anywhere;font-size:12px;line-height:1.4}.managed-item small{font-size:10px;line-height:1.5}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{min-width:0;padding:12px 10px}.stat-card span{line-height:1.35}.quick-actions button{min-height:64px;padding:12px}.table-toolbar{flex-wrap:wrap;align-items:flex-start;gap:10px}.filter-tabs{max-width:100%;overflow-x:auto}.filter-tabs button{white-space:nowrap}.toast{text-align:center;justify-content:center;bottom:12px;left:12px;right:12px}.auth-right{align-items:flex-start;padding:max(70px,10vh) 18px 24px}.auth-card{width:100%;max-width:440px;margin:auto}.auth-theme-toggle{top:15px;right:14px}.auth-card h2{font-size:24px}.extract-modal{padding:18px}.modal-head{gap:10px}}@media (width<=520px){.page-wrap{padding-left:12px;padding-right:12px}.academic-grid,.academic-grid-three{grid-template-columns:1fr 1fr;gap:9px}.academic-grid select{padding:10px 7px;font-size:11px}.academic-note{align-items:flex-start;line-height:1.45}.welcome-art{display:none}.section-title{align-items:flex-start;gap:8px}.section-title h2{font-size:16px}.form-row{grid-template-columns:1fr}.result-card,.lecture-card{gap:9px;padding:11px}.result-icon{flex:0 0 32px;width:32px;height:32px}.result-body{width:calc(100% - 41px)}.result-actions{grid-template-columns:1fr;display:grid}.result-actions>*{white-space:normal;width:100%}.video-thumb{flex:0 0 76px;width:76px;height:68px}.video-thumb svg{width:28px}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{align-items:flex-start}.stat-icon{flex:0 0 32px;width:32px;height:32px}.table-toolbar{display:block}.table-toolbar>.muted{margin-top:9px;display:block}.filter-tabs{display:flex}.filter-tabs button{padding:9px 11px;font-size:11px}.subject-upload-preview{flex-wrap:wrap;width:100%}.page-heading .status-pill{display:inline-flex}}@media (width<=360px){.topbar{gap:5px;padding:0 7px}.brand{font-size:15px}.brand-mark{width:28px;height:28px}.user-menu{gap:0}.user-menu .icon-btn{width:32px}.avatar{width:28px;height:28px}.academic-grid,.academic-grid-three{grid-template-columns:1fr}.search-input-row .primary-btn{padding:8px;font-size:10px}.stats-grid{grid-template-columns:1fr}}.branch-toggle{white-space:nowrap;padding:8px 12px;font-size:12px}.branch-activate{border-color:var(--accent,#2563eb);color:var(--accent,#2563eb)}.profile-readonly{border:1px solid var(--border);background:var(--surface-soft,var(--surface));width:100%;min-height:44px;color:var(--text);border-radius:10px;align-items:center;padding:11px 13px;font-size:14px;font-weight:600;display:flex}.crumbs button,.breadcrumbs button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:4px 2px;transition:color .15s,background .15s}.crumbs button:hover,.breadcrumbs button:hover{color:var(--blue,#2b63c8);background:#3264c817}.crumbs button:focus-visible,.breadcrumbs button:focus-visible{outline-offset:3px;outline:2px solid #4b7fe5}.inline-success{color:#187343;background:#eaf8ef;border-radius:7px;margin-top:10px;padding:10px 12px;font-size:11px;line-height:1.5}.auth-forgot{color:#1d51bd;text-align:left;background:0 0;border:0;width:100%;margin-top:8px;padding:8px 0;font-size:11px;font-weight:700;display:block}.auth-forgot:disabled{opacity:.6;cursor:wait}.extract-pages{max-height:min(58vh,680px);margin:12px 0 16px;padding:4px 2px 10px;overflow:auto}.extract-page{border:1px solid var(--border,#dce3ee);background:var(--surface,#ffffff06);border-radius:12px;margin:0 0 12px;padding:16px 18px}.extract-page h3{letter-spacing:.04em;color:var(--muted,#718096);text-transform:uppercase;margin:0 0 10px;font-size:13px}.extract-page p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.75}.note-admin-item{align-items:flex-start}.note-admin-content{flex:1;min-width:0}.admin-topic-manager{border:1px solid var(--border);background:var(--surface-soft,var(--surface));border-radius:10px;margin-top:12px;padding:12px}.admin-topic-manager>b{margin-bottom:8px;font-size:12px;display:block}.admin-topic-row{border-bottom:1px solid var(--border);align-items:center;gap:6px;padding:6px 0;display:flex}.admin-topic-row>span{flex:1;font-size:13px}.admin-topic-row small{color:var(--muted);margin-left:6px;display:inline-block}.admin-topic-form{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.admin-topic-form input:first-child{flex:1;min-width:150px}.admin-topic-form input[type=number]{width:76px}.student-subtopics{gap:6px;margin:12px 0;display:grid}.student-subtopics>b{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.student-subtopic{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:9px;align-items:center;gap:10px;padding:10px 12px;display:flex}.student-subtopic:hover{border-color:var(--blue,#2b63c8);background:var(--surface-soft,var(--surface))}.student-subtopic span{flex:1;font-size:13px;font-weight:600}.student-subtopic small{color:var(--muted);white-space:nowrap}@media (width<=760px){.auth-page{grid-template-columns:minmax(0,1fr);min-height:100dvh}.auth-right{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:22px;width:100%;min-height:100dvh;padding:76px 22px 30px;display:flex}.auth-card{width:min(100%,420px);margin:0}.auth-card .muted{margin-bottom:22px}.auth-card label{margin-top:16px;font-size:12px;display:block}.auth-card input,.auth-card select{box-sizing:border-box;width:100%;min-height:48px;padding:12px 13px;font-size:14px}.auth-card .full-btn{min-height:48px;margin-top:18px;font-size:13px}.auth-card .auth-switch{margin-top:20px;line-height:1.6}.auth-legal{text-align:center;width:min(100%,420px);margin:0;font-size:10px;line-height:1.5}.auth-theme-toggle{top:18px;right:18px}}@media (width<=380px){.auth-right{padding-left:18px;padding-right:18px}.auth-card h2{font-size:23px}.auth-icon{margin-bottom:18px}}.cl-loading-screen{color:#15213b;text-align:center;background:radial-gradient(at 50% 38%,#eaf1ff 0%,#f5f8ff 48%,#fff 100%);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:28px 20px;display:flex;position:relative;overflow:hidden}.cl-loading-content{flex-direction:column;align-items:center;gap:0;animation:.45s ease-out both cl-loading-enter;display:flex}.cl-loading-logo{color:#fff;background:linear-gradient(145deg,#1746c8,#3475df);border-radius:24px;place-items:center;width:76px;height:76px;margin-bottom:18px;display:grid;box-shadow:0 12px 30px #1746c833}.cl-loading-wordmark{letter-spacing:-1px;color:#153d9f;font:800 29px Manrope,sans-serif}.cl-loading-wordmark span{color:#2463eb}.cl-loading-spinner{border:3px solid #dce6ff;border-top-color:#2463eb;border-radius:50%;width:27px;height:27px;margin-top:30px;animation:.8s linear infinite cl-loading-spin}.cl-loading-content p{color:#71809b;margin:13px 0 0;font-size:13px}.cl-loading-footer{color:#9aa7bc;letter-spacing:.2px;font-size:11px;position:absolute;bottom:25px}@keyframes cl-loading-spin{to{transform:rotate(360deg)}}@keyframes cl-loading-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.cl-loading-content{animation:none}.cl-loading-spinner{animation-duration:2s}}@media (prefers-color-scheme:dark){:root[data-theme=dark] .cl-loading-screen{color:#eef3ff;background:radial-gradient(at 50% 38%,#17284a 0%,#101827 55%,#0d1422 100%)}:root[data-theme=dark] .cl-loading-wordmark{color:#e8efff}:root[data-theme=dark] .cl-loading-wordmark span{color:#82aaff}:root[data-theme=dark] .cl-loading-content p{color:#aab8d1}:root[data-theme=dark] .cl-loading-footer{color:#8291aa}}
