@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');
/* StudyHub: a bright, calm learning studio. */
:root { --study-ink:#1c2940; --study-muted:#758198; --study-blue:#4969cf; --study-blue-dark:#3554b6; --study-blue-pale:#eaf0ff; --study-line:#e7ebf2; --study-paper:#ffffff; --study-bg:#f5f7fb; --study-mint:#e4f3ed; --study-peach:#fff0e6; --study-lilac:#eeeaff; }
html, body { background:var(--study-bg) !important; color:var(--study-ink) !important; font-family:Inter, ui-sans-serif, system-ui, sans-serif; }
body { min-height:100vh; }
.study-app { min-height:100vh; color:var(--study-ink); background:var(--study-bg); font-size:14px; }
.study-app * { box-sizing:border-box; }
.study-app button, .study-app input, .study-app select { font:inherit; }
.study-app button { cursor:pointer; }
.study-app button:focus-visible, .study-app a:focus-visible, .study-app input:focus-visible, .study-app select:focus-visible { outline:3px solid #9bb0f5; outline-offset:3px; }
.sidebar { width:248px; position:fixed; inset:0 auto 0 0; z-index:20; background:#fff; border-right:1px solid var(--study-line); padding:27px 17px 16px; display:flex; flex-direction:column; }
.brand, .footer-brand { display:flex; align-items:center; gap:10px; color:var(--study-ink); text-decoration:none; font-family:Outfit,Inter,sans-serif; font-size:22px; font-weight:700; letter-spacing:-.8px; padding:0 9px; }
.brand > span:last-child > span { color:var(--study-blue); }
.brand-mark { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; color:#fff; background:var(--study-blue); box-shadow:0 5px 12px #4969cf30; }
.side-label { margin:43px 10px 12px; font:600 10px 'IBM Plex Mono',monospace; letter-spacing:1.2px; color:#a0a9b9; }
.side-nav { display:grid; gap:5px; }
.nav-item { position:relative; display:flex; align-items:center; gap:12px; width:100%; min-height:43px; padding:0 12px; border:0; border-radius:9px; background:transparent; color:#6e7a90; text-align:left; font-size:13px; transition:background .2s,color .2s,transform .2s; }
.nav-item:hover { background:#f5f7fc; color:var(--study-ink); transform:translateX(2px); }
.nav-item.active { background:#edf1ff; color:var(--study-blue-dark); font-weight:650; }
.nav-active-dot { margin-left:auto; width:5px; height:5px; border-radius:50%; background:var(--study-blue); }
.sidebar-bottom { margin-top:auto; }
.sidebar-note { border-radius:13px; padding:15px 14px 13px; background:#f5f7fc; margin:0 2px 17px; }
.note-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:#e5ebff; color:var(--study-blue); margin-bottom:12px; }
.sidebar-note strong { display:block; font:650 14px Outfit,sans-serif; }
.sidebar-note p { margin:5px 0 12px; color:var(--study-muted); font-size:11px; line-height:1.55; }
.sidebar-note button { display:flex; align-items:center; gap:6px; padding:0; border:0; background:none; color:var(--study-blue); font-size:11px; font-weight:650; }
.profile-row { display:flex; align-items:center; gap:10px; padding:13px 7px 0; border-top:1px solid var(--study-line); }
.avatar,.top-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; color:#4e64a5; background:#e6eafd; font-weight:700; }
.profile-row div:nth-child(2) { display:grid; gap:2px; flex:1; }
.profile-row strong { font-size:11px; }
.profile-row span { color:#9aa3b3; font-size:10px; }
.profile-row > svg { color:#9aa3b3; }
.main-area { margin-left:248px; min-height:100vh; }
.topbar { height:67px; position:sticky; top:0; z-index:15; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(22px,4vw,58px); border-bottom:1px solid #e8ecf3; background:#f8f9fcf2; backdrop-filter:blur(16px); }
.breadcrumb { display:flex; align-items:center; gap:9px; color:#9aa3b3; font-size:12px; }
.breadcrumb strong { color:#4b5870; font-weight:600; }
.topbar-right { display:flex; align-items:center; gap:17px; }
.today-label { display:flex; align-items:center; gap:7px; color:#7e899b; font-size:11px; }
.live-dot { width:6px; height:6px; border-radius:50%; background:#65b89b; box-shadow:0 0 0 3px #65b89b20; }
.top-avatar { width:29px; height:29px; font-size:11px; }
.mobile-menu-button { display:none; border:0; background:transparent; color:var(--study-ink); }
.page-content { width:min(1200px,100%); margin:0 auto; padding:38px clamp(22px,4vw,58px) 30px; }
.welcome-section { min-height:340px; position:relative; overflow:hidden; display:grid; grid-template-columns:1fr .88fr; align-items:center; padding:36px 42px; border-radius:19px; background:#e9efff; isolation:isolate; }
.welcome-section:after { content:""; position:absolute; width:430px; height:430px; right:2%; top:-45%; border-radius:50%; border:1px solid #bfcdf2; opacity:.45; z-index:-1; }
.welcome-copy { position:relative; z-index:2; max-width:480px; }
.eyebrow { display:flex; align-items:center; gap:7px; color:var(--study-blue); font:650 10px 'IBM Plex Mono',monospace; letter-spacing:1.15px; }
.welcome-copy h1 { margin:19px 0 13px; color:#202d48; font:700 clamp(42px,5.4vw,66px)/.98 Outfit,Inter,sans-serif; letter-spacing:-3.8px; }
.welcome-copy h1 em,.section-heading h2 em,.teacher-intro h2 em { color:var(--study-blue); font-style:normal; }
.welcome-copy > p { max-width:370px; margin:0; color:#65738e; font-size:13px; line-height:1.75; }
.welcome-actions { display:flex; align-items:center; gap:20px; margin-top:23px; }
.primary-action { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:0; border-radius:8px; padding:12px 16px; background:var(--study-blue); color:white; font-size:12px; font-weight:650; box-shadow:0 6px 14px #4969cf30; transition:transform .2s,background .2s,box-shadow .2s; }
.primary-action:hover { transform:translateY(-2px); background:var(--study-blue-dark); box-shadow:0 9px 19px #4969cf38; }
.primary-action:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.quiet-action,.text-link { display:inline-flex; align-items:center; gap:7px; padding:8px 0; border:0; background:transparent; color:#566887; font-size:12px; font-weight:600; transition:color .2s,gap .2s; }
.quiet-action:hover,.text-link:hover { color:var(--study-blue); gap:11px; }
.welcome-foot { display:flex; gap:17px; margin-top:28px; color:#71809b; font-size:10px; }
.welcome-foot span { display:flex; align-items:center; gap:6px; }
.welcome-foot svg { color:#6686d9; }
.hero-art { height:270px; position:relative; display:flex; align-items:center; justify-content:center; }
.art-orbit { position:absolute; border:1px solid #c4d0ee; border-radius:50%; transform:rotate(-22deg); }
.orbit-one { width:320px; height:185px; }
.orbit-two { width:265px; height:235px; transform:rotate(34deg); border-style:dashed; opacity:.55; }
.paper { position:absolute; width:204px; height:236px; border-radius:7px; background:#fff; box-shadow:0 18px 42px #40588a25; }
.paper-back { transform:translate(22px,7px) rotate(8deg); background:#d7e1fb; padding:28px 20px; }
.paper-front { padding:18px 19px; transform:translate(-8px,-3px) rotate(-4deg); }
.paper-top { display:flex; align-items:center; justify-content:space-between; color:#9aa7c0; font:600 7px 'IBM Plex Mono',monospace; letter-spacing:.6px; }
.tiny-mark { display:grid; place-items:center; width:20px; height:20px; border-radius:6px; color:var(--study-blue); background:#edf1ff; }
.paper-title { margin-top:23px; color:#293955; font:500 19px/1.16 Outfit,sans-serif; letter-spacing:-.6px; }
.paper-title b { color:var(--study-blue); }
.paper-rule { height:1px; background:#e9edf4; margin:15px 0 13px; }
.paper-lines { display:grid; gap:8px; }
.paper-lines i,.paper-line { display:block; height:4px; width:83%; border-radius:5px; background:#e8edf6; }
.paper-lines i:nth-child(2) { width:100%; }.paper-lines i:nth-child(3) { width:72%; }.paper-lines i:nth-child(4) { width:91%; }
.paper-highlight { display:flex; align-items:center; gap:7px; margin-top:17px; padding:8px; border-radius:5px; background:#eff3ff; color:#536fbd; font-size:9px; font-weight:650; }
.paper-line { margin-bottom:12px; width:100%; }.paper-line.wide { width:75%; height:7px; background:#b9c9f2; }.paper-line.short { width:55%; }
.paper-mini-chart { height:65px; margin-top:25px; display:flex; align-items:end; gap:7px; border-bottom:1px solid #b5c5e8; }
.paper-mini-chart i { width:17px; border-radius:3px 3px 0 0; background:#8ea5df; }.paper-mini-chart i:nth-child(1){height:34%}.paper-mini-chart i:nth-child(2){height:70%}.paper-mini-chart i:nth-child(3){height:48%}.paper-mini-chart i:nth-child(4){height:88%}.paper-mini-chart i:nth-child(5){height:62%}
.floating-chip { position:absolute; display:flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid #e9edf5; border-radius:8px; background:#fff; color:#66738b; box-shadow:0 8px 22px #435a8420; font-size:9px; }
.chip-top { top:23px; right:0; }.chip-bottom { bottom:17px; left:3px; }.chip-check,.chip-spark { display:grid; place-items:center; width:19px; height:19px; border-radius:6px; color:#fff; background:#68b89c; }.chip-spark { color:#5c75c9; background:#e9edff; }.chip-bottom b { color:#3e527f; font:600 9px 'IBM Plex Mono',monospace; }
.art-spark { position:absolute; color:#8199db; }.spark-a { top:18px; left:35px; font-size:23px; }.spark-b { bottom:33px; right:23px; font-size:18px; }
.quick-stats { display:grid; grid-template-columns:repeat(3,1fr) 1.5fr; align-items:center; gap:0; margin:18px 0 63px; padding:15px 19px; border:1px solid var(--study-line); border-radius:13px; background:#fff; }
.stat-block { display:flex; align-items:center; gap:11px; padding:2px 15px; border-right:1px solid var(--study-line); }
.stat-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; }.stat-blue{background:#edf1ff;color:#5a75ca}.stat-mint{background:#e9f5ef;color:#58a284}.stat-peach{background:#fff0e7;color:#c98a61}
.stat-block div { display:grid; gap:2px; }.stat-block strong { font:650 19px Outfit,sans-serif; letter-spacing:-.5px; }.stat-block span:not(.stat-icon) { color:#8994a6; font-size:10px; }
.stat-note { display:flex; align-items:center; gap:10px; padding-left:19px; color:#7e899b; font-size:10px; }.stat-note b { color:#52617c; }.stat-note-icon { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:#fff6df; color:#c49b47; flex:none; }
.section-block { margin-top:0; margin-bottom:65px; scroll-margin-top:88px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.section-heading h2,.teacher-intro h2 { margin:9px 0 7px; color:#202d48; font:650 clamp(27px,3vw,36px)/1.12 Outfit,sans-serif; letter-spacing:-1.5px; }
.section-heading p,.teacher-intro > p { margin:0; color:#8290a4; font-size:12px; line-height:1.6; }
.section-count { display:flex; align-items:center; gap:7px; padding-bottom:5px; color:#8894a8; font-size:10px; }
.strategy-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.strategy-card { min-height:250px; padding:18px 17px 15px; border:1px solid var(--study-line); border-radius:12px; background:#fff; transition:transform .25s,border-color .25s,box-shadow .25s; animation:rise-in .55s both; }
.strategy-card:nth-child(2){animation-delay:.06s}.strategy-card:nth-child(3){animation-delay:.12s}.strategy-card:nth-child(4){animation-delay:.18s}
.strategy-card:hover { transform:translateY(-4px); border-color:#cbd6f2; box-shadow:0 12px 26px #30476d0c; }
.strategy-top { display:flex; align-items:center; justify-content:space-between; }.strategy-number { color:#a4aec0; font:500 10px 'IBM Plex Mono',monospace; }.strategy-icon { display:grid; place-items:center; width:35px; height:35px; border-radius:10px; background:#edf1ff; color:#5b75c7; }
.strategy-card h3 { margin:19px 0 6px; font:650 17px Outfit,sans-serif; letter-spacing:-.4px; }.strategy-tag { color:#6480ca; font-size:9px; font-weight:650; }.strategy-card > p { min-height:62px; margin:11px 0 14px; color:#7b879a; font-size:10px; line-height:1.65; }
.strategy-tip { display:flex; align-items:flex-start; gap:7px; padding-top:11px; border-top:1px solid #edf0f5; color:#78859a; font-size:9px; line-height:1.5; }.strategy-tip svg { flex:none; color:#c49b47; }
.subjects-section { padding-top:6px; }
.subject-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; }.search-box { display:flex; align-items:center; gap:9px; width:min(330px,100%); padding:10px 12px; border:1px solid var(--study-line); border-radius:8px; background:#fff; color:#a0aabb; }.search-box input { width:100%; border:0; outline:0; background:transparent; color:var(--study-ink); font-size:11px; }.search-box input::placeholder { color:#a0aabb; }
.subject-filters { display:flex; flex-wrap:wrap; gap:5px; }.subject-filters button { padding:7px 10px; border:1px solid transparent; border-radius:6px; background:transparent; color:#8994a6; font-size:10px; transition:all .2s; }.subject-filters button:hover { color:var(--study-blue); background:#eef2ff; }.subject-filters button.filter-active { border-color:#dce4fb; background:#edf1ff; color:#4d68bd; font-weight:650; }
.resource-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }.resource-card { min-height:204px; display:flex; flex-direction:column; align-items:flex-start; padding:15px; border:1px solid var(--study-line); border-radius:11px; background:#fff; text-align:left; transition:transform .22s,box-shadow .22s,border-color .22s; }.resource-card:hover { transform:translateY(-3px); border-color:#cbd6f2; box-shadow:0 10px 24px #30476d0d; }.resource-icon { display:grid; place-items:center; width:37px; height:37px; margin-bottom:14px; border-radius:10px; }.resource-icon.mint{background:#e9f5ef;color:#579b80}.resource-icon.blue{background:#edf1ff;color:#5874c8}.resource-icon.peach{background:#fff0e7;color:#c98761}.resource-icon.lilac{background:#f0edff;color:#8577c4}.resource-type { margin-bottom:5px; color:#8b96a8; font-size:9px; }.resource-card > strong { color:#2c3a54; font:650 14px Outfit,sans-serif; }.resource-summary { margin-top:7px; color:#8792a4; font-size:9px; line-height:1.55; }.resource-foot { display:flex; justify-content:space-between; align-items:center; gap:8px; width:100%; margin-top:auto; padding-top:13px; color:#9aa4b4; font-size:9px; }.resource-foot > span:first-child,.resource-open { display:flex; align-items:center; gap:5px; }.resource-open { color:#5a73c1; font-weight:650; }
.empty-state { display:grid; justify-items:center; gap:7px; padding:35px; border:1px dashed #d8deea; border-radius:10px; color:#8a96a9; font-size:11px; }.empty-state svg { color:#9aa8c5; }.empty-state b { color:#4c5a73; }
.teacher-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:55px; padding:35px 38px; border-radius:15px; background:#eaf4f0; }.teacher-intro h2 { margin-top:14px; }.teacher-intro h2 em { color:#4d9b80; }.teacher-intro > p { max-width:270px; color:#728e85; }.teacher-note { display:flex; align-items:center; gap:9px; margin-top:22px; color:#5d8d7d; font-size:10px; }.teacher-note svg { flex:none; }
.teacher-list { align-self:center; border-top:1px solid #d6e8e0; }.teacher-row { width:100%; display:flex; align-items:center; gap:13px; padding:15px 3px; border:0; border-bottom:1px solid #d6e8e0; background:transparent; text-align:left; transition:padding .2s; }.teacher-row:hover { padding-left:9px; }.teacher-file { display:grid; place-items:center; width:37px; height:39px; flex:none; border-radius:8px; color:#4f9b80; background:#d9eee5; }.file-2{color:#5d78c8;background:#e0e8ff}.file-3{color:#c58b62;background:#ffeadc}.teacher-row-copy { display:grid; flex:1; gap:4px; }.teacher-row-copy strong { color:#304d44; font:650 12px Outfit,sans-serif; }.teacher-row-copy span { color:#819a90; font-size:9px; }.teacher-open { display:grid; place-items:center; width:29px; height:29px; border-radius:50%; color:#548f7a; background:#dceee6; }.teacher-disclaimer { padding-top:12px; color:#8ba39a; font-size:9px; }
.practice-section { margin-top:4px; }.practice-badge { display:flex; align-items:center; gap:6px; padding:7px 10px; border-radius:20px; background:#edf1ff; color:#647cc2; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:.5px; }.practice-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:13px; }.quiz-panel,.flash-panel { min-width:0; padding:21px; border:1px solid var(--study-line); border-radius:13px; background:#fff; }.practice-panel-head { display:flex; align-items:center; gap:9px; color:#97a1b1; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:.7px; }.practice-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; }.quiz-icon { color:#5875ca; background:#edf1ff; }.flash-icon { color:#59a087; background:#e9f5ef; }.question-count { margin-left:auto; color:#8996aa; font:500 10px 'IBM Plex Mono',monospace; }.quiz-panel h3,.flash-panel h3 { margin:19px 0 14px; color:#293750; font:650 17px/1.35 Outfit,sans-serif; letter-spacing:-.3px; }.quiz-options { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.quiz-option { min-height:43px; display:flex; align-items:center; gap:9px; padding:8px 10px; border:1px solid #e9edf4; border-radius:7px; background:#fff; color:#69768b; text-align:left; font-size:10px; transition:all .18s; }.quiz-option:hover:not(:disabled) { border-color:#bac8f0; background:#f8f9ff; }.quiz-option.chosen { border-color:#8399df; background:#f1f4ff; color:#4e67b6; }.quiz-option.correct { border-color:#8bc5ac; background:#eef8f2; color:#3c8b6c; }.quiz-option.incorrect { border-color:#e7aaa0; background:#fff4f1; color:#b66c62; }.option-letter { display:grid; place-items:center; width:21px; height:21px; flex:none; border-radius:6px; background:#f0f2f7; color:#8995a8; font:600 9px 'IBM Plex Mono',monospace; }.answer-explain { display:grid; gap:4px; margin-top:11px; padding:10px 12px; border-radius:7px; font-size:10px; line-height:1.5; }.answer-right { background:#eef8f2; color:#4b876d; }.answer-wrong { background:#fff5ef; color:#a97860; }.quiz-actions { display:flex; align-items:center; gap:12px; margin-top:15px; }.quiz-actions .primary-action { padding:10px 13px; font-size:10px; }.quiz-actions > span { color:#9aa4b3; font-size:9px; }
.flash-panel { background:#f6f8ff; }.flash-panel h3 { margin-bottom:15px; }.flashcard { width:100%; min-height:155px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; padding:18px; border:1px solid #e2e8fb; border-radius:10px; background:#fff; color:#34425d; text-align:center; box-shadow:0 5px 14px #3b4f7c08; transition:transform .35s,background .25s; }.flashcard:hover { transform:translateY(-2px); }.flashcard.flipped { background:#edf4f1; border-color:#d4e9df; }.flash-label { color:#8b9ac0; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:1px; }.flashcard strong { max-width:260px; font:600 17px/1.4 Outfit,sans-serif; }.flash-hint { display:flex; align-items:center; gap:6px; color:#9aa5b7; font-size:9px; }.rotate-icon { font-size:16px; }.flash-controls { display:flex; align-items:center; justify-content:space-between; margin-top:12px; color:#98a2b3; font-size:9px; }.flash-controls button { display:grid; place-items:center; width:29px; height:29px; border:1px solid #e2e8f4; border-radius:7px; background:#fff; color:#6e7ea4; }
.planner-section { margin-bottom:50px; }.add-task-button { display:flex; align-items:center; gap:7px; padding:10px 13px; border:1px solid #dce4f7; border-radius:7px; background:#fff; color:#5670c0; font-size:10px; font-weight:650; transition:background .2s; }.add-task-button:hover { background:#f0f3ff; }.planner-layout { display:grid; grid-template-columns:1.35fr .65fr; gap:13px; }.task-panel,.focus-panel { padding:19px 20px; border:1px solid var(--study-line); border-radius:12px; background:#fff; }.task-panel-head { display:flex; justify-content:space-between; align-items:center; padding-bottom:13px; border-bottom:1px solid #edf0f5; }.task-panel-head > div { display:grid; gap:3px; }.task-panel-head strong { font:650 14px Outfit,sans-serif; }.task-panel-head span { color:#9aa4b3; font-size:9px; }.task-date { display:flex; align-items:center; gap:6px; color:#8d99ab; }.task-list { display:grid; }.task-row { display:flex; align-items:center; gap:11px; min-height:59px; border-bottom:1px solid #f0f2f6; }.task-check { display:grid; place-items:center; width:19px; height:19px; flex:none; border:1.5px solid #d5dce9; border-radius:6px; background:#fff; color:white; }.task-done .task-check { border-color:#69ad91; background:#69ad91; }.task-copy { display:grid; flex:1; gap:4px; }.task-copy strong { color:#46536a; font-size:11px; font-weight:600; }.task-copy span { color:#a1aaba; font-size:9px; }.task-done .task-copy strong { color:#a4adba; text-decoration:line-through; }.task-due { color:#98a3b4; font-size:9px; }.task-remove { display:grid; place-items:center; width:25px; height:25px; border:0; border-radius:6px; background:transparent; color:#b2bac6; opacity:0; transition:opacity .2s; }.task-row:hover .task-remove { opacity:1; }.task-remove:hover { background:#fff0ee; color:#c77b71; }.task-progress { padding-top:14px; }.task-progress > div:first-child { display:flex; justify-content:space-between; margin-bottom:7px; color:#929daf; font-size:9px; }.task-progress b { color:#6378bb; }.progress-track { height:5px; border-radius:5px; background:#edf0f6; overflow:hidden; }.progress-track span { display:block; height:100%; border-radius:5px; background:#6c84d2; transition:width .4s; }.add-task-form { display:flex; gap:7px; padding:12px 0; border-bottom:1px solid #edf0f5; }.add-task-form input,.add-task-form select { min-width:0; padding:8px 9px; border:1px solid #e4e9f1; border-radius:6px; background:#fff; color:#5b687e; font-size:10px; }.add-task-form input { flex:1; }.add-task-form button { padding:0 12px; border:0; border-radius:6px; background:var(--study-blue); color:#fff; font-size:10px; }.empty-tasks { padding:22px 0; color:#98a3b4; font-size:10px; text-align:center; }
.focus-panel { position:relative; overflow:hidden; background:#f0f3ff; border-color:#e3e9fb; }.focus-panel:after { content:""; position:absolute; width:190px; height:190px; right:-85px; bottom:-115px; border:1px solid #d9e1fa; border-radius:50%; box-shadow:0 0 0 20px #e7ecfc,0 0 0 40px #eaf0ff; }.focus-head { display:flex; align-items:center; gap:9px; color:#8493b5; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:.7px; }.focus-symbol { display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:#e1e8ff; color:#5d77c8; }.focus-panel h3 { margin:15px 0 5px; color:#2d3d5c; font:650 17px Outfit,sans-serif; }.focus-panel > p { max-width:210px; margin:0; color:#8592ad; font-size:9px; line-height:1.55; }.timer-face { width:118px; height:118px; position:relative; display:grid; place-items:center; margin:11px auto 6px; }.timer-face svg { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }.timer-track,.timer-progress { fill:none; stroke-width:5; }.timer-track { stroke:#dfe5f6; }.timer-progress { stroke:#6780ce; stroke-linecap:round; stroke-dasharray:320; transition:stroke-dashoffset .3s linear; }.timer-value { color:#3c4e75; font:600 24px 'IBM Plex Mono',monospace; letter-spacing:-1px; }.timer-value span { color:#8e9bb8; }.timer-controls { display:flex; justify-content:center; gap:8px; position:relative; z-index:1; }.timer-start { display:flex; align-items:center; gap:7px; padding:8px 12px; border:0; border-radius:6px; background:#5e78c9; color:white; font-size:9px; font-weight:650; }.timer-start svg { fill:currentColor; }.timer-reset { padding:8px 10px; border:1px solid #dce3f5; border-radius:6px; background:#fff; color:#7482a1; font-size:9px; }.timer-caption { display:block; margin-top:10px; color:#9aa5bd; font-size:8px; text-align:center; position:relative; z-index:1; }
.site-footer { display:flex; align-items:center; justify-content:space-between; padding:20px 0 8px; border-top:1px solid #e5e9f0; color:#9aa4b3; font-size:9px; }.footer-brand { gap:7px; padding:0; font-size:16px; }.footer-brand .brand-mark { width:26px; height:26px; border-radius:8px; }.site-footer > a:last-child { display:flex; align-items:center; gap:5px; color:#7887a8; text-decoration:none; }
.modal-backdrop { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:20px; background:#1b29466b; backdrop-filter:blur(5px); animation:fade-in .18s ease-out; }.resource-modal { position:relative; width:min(560px,100%); max-height:min(85vh,700px); overflow:auto; padding:30px; border-radius:16px; background:#fff; box-shadow:0 25px 80px #1b294640; animation:rise-in .24s ease-out; }.modal-close { position:absolute; top:18px; right:18px; display:grid; place-items:center; width:32px; height:32px; border:1px solid #e8edf4; border-radius:8px; background:#fff; color:#7d899c; }.resource-modal h2 { max-width:420px; margin:14px 0 9px; color:#25334d; font:650 30px/1.12 Outfit,sans-serif; letter-spacing:-1px; }.modal-summary { color:#8490a3; font-size:12px; line-height:1.65; }.modal-content { display:grid; gap:12px; margin:23px 0; }.modal-content p { display:grid; grid-template-columns:30px 1fr; gap:11px; margin:0; color:#637188; font-size:12px; line-height:1.7; }.modal-content p span { color:#7790d5; font:600 10px 'IBM Plex Mono',monospace; padding-top:3px; }.modal-footer { display:flex; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid #edf0f5; color:#9aa4b3; font-size:10px; }.modal-footer > span { display:flex; align-items:center; gap:6px; }.modal-footer .primary-action { padding:9px 13px; font-size:10px; }
.toast-message { position:fixed; right:24px; bottom:24px; z-index:60; display:flex; align-items:center; gap:9px; padding:12px 14px; border:1px solid #dce7e2; border-radius:9px; background:#fff; color:#548a75; box-shadow:0 12px 35px #283e5b1a; font-size:11px; animation:rise-in .2s ease-out; }.toast-message button { display:grid; place-items:center; margin-left:5px; border:0; background:transparent; color:#9aa4b3; }
@keyframes rise-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes fade-in { from { opacity:0; } to { opacity:1; } }
@media (max-width:1180px) { .strategy-grid,.resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.strategy-card { min-height:225px; }.quick-stats { grid-template-columns:repeat(3,1fr); row-gap:12px; }.stat-note { grid-column:1/-1; padding:10px 15px 0; border-top:1px solid var(--study-line); }.stat-block:nth-child(3){border-right:0;} }
@media (max-width:820px) { .sidebar { width:248px; transform:translateX(-105%); transition:transform .25s ease; box-shadow:none; }.sidebar.sidebar-open { transform:translateX(0); box-shadow:15px 0 40px #24324b20; }.main-area { margin-left:0; }.mobile-menu-button { display:grid; place-items:center; }.topbar { justify-content:flex-start; gap:13px; }.topbar-right { margin-left:auto; }.welcome-section { grid-template-columns:1fr .8fr; padding:30px 28px; }.hero-art { transform:scale(.86); }.teacher-section { gap:28px; padding:28px; } }
@media (max-width:620px) { .page-content { padding:22px 16px 25px; }.topbar { height:58px; padding:0 16px; }.today-label { display:none; }.welcome-section { display:block; min-height:0; padding:29px 24px 18px; }.welcome-copy h1 { font-size:51px; }.hero-art { height:230px; margin-top:3px; transform:scale(.88); }.welcome-foot { flex-wrap:wrap; gap:9px 14px; margin-top:21px; }.quick-stats { grid-template-columns:1fr 1fr; margin-bottom:45px; padding:13px 7px; }.stat-block { padding:4px 8px; border-right:0; }.stat-block:nth-child(2) { border-right:0; }.stat-block strong { font-size:17px; }.stat-note { grid-column:1/-1; padding:11px 8px 0; }.section-block { margin-bottom:48px; }.section-heading { align-items:flex-start; flex-direction:column; gap:10px; }.section-heading h2,.teacher-intro h2 { font-size:30px; }.section-heading > .text-link,.section-count,.practice-badge { align-self:flex-start; }.strategy-grid,.resource-grid { grid-template-columns:1fr 1fr; gap:8px; }.strategy-card { padding:14px 12px; min-height:260px; }.strategy-card h3 { font-size:15px; }.strategy-card > p { font-size:9px; }.subject-toolbar { align-items:stretch; flex-direction:column; }.search-box { width:100%; }.subject-filters { overflow-x:auto; flex-wrap:nowrap; padding-bottom:3px; }.subject-filters button { flex:none; }.resource-card { min-height:220px; padding:12px; }.resource-card > strong { font-size:12px; }.resource-summary { font-size:9px; }.resource-foot { flex-wrap:wrap; }.resource-open { font-size:8px; }.teacher-section { grid-template-columns:1fr; gap:22px; padding:25px 21px; }.teacher-intro h2 br { display:none; }.practice-grid,.planner-layout { grid-template-columns:1fr; }.quiz-panel,.flash-panel { padding:16px; }.quiz-options { grid-template-columns:1fr; }.quiz-actions { align-items:flex-start; flex-direction:column; }.flashcard { min-height:145px; }.task-panel,.focus-panel { padding:16px; }.add-task-form { flex-wrap:wrap; }.add-task-form input { flex-basis:100%; }.site-footer { flex-wrap:wrap; gap:13px; }.site-footer > span { order:3; width:100%; }.resource-modal { padding:24px 20px; }.resource-modal h2 { font-size:25px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
.not-found-page { min-height:100dvh; display:grid; place-items:center; padding:24px; background:var(--study-bg); color:var(--study-ink); font-family:Inter,sans-serif; }.not-found-content { max-width:420px; text-align:center; }.not-found-brand { color:var(--study-blue); font-size:13px; font-weight:700; letter-spacing:2px; }.not-found-content h1 { margin:14px 0 8px; font:650 38px Outfit,sans-serif; }.not-found-content p { color:var(--study-muted); line-height:1.7; }.not-found-link { display:inline-block; margin-top:14px; padding:11px 16px; border-radius:8px; background:var(--study-blue); color:white; text-decoration:none; }
.error-page { min-height:100dvh; display:grid; place-items:center; padding:24px; background:var(--study-bg); color:var(--study-ink); }.error-content { max-width:420px; text-align:center; }.error-content h1 { font:650 30px Outfit,sans-serif; }.error-content p { color:var(--study-muted); line-height:1.6; }.error-actions { display:flex; justify-content:center; gap:10px; margin-top:18px; }.error-primary,.error-secondary { padding:10px 14px; border-radius:7px; border:1px solid #dce3ef; background:white; color:var(--study-ink); }.error-primary { border-color:var(--study-blue); background:var(--study-blue); color:white; }


/* Added StudyHub tools */
.tools-section { scroll-margin-top:88px; }
.tools-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:14px; align-items:start; }
.tool-panel { min-width:0; padding:22px; border:1px solid var(--study-line); border-radius:13px; background:#fff; }
.tool-panel h3 { margin:18px 0 8px; color:#293750; font:650 19px/1.3 Outfit,sans-serif; letter-spacing:-.4px; }
.tool-description { margin:0 0 14px; color:#8792a4; font-size:11px; line-height:1.6; }
.study-notes-input { width:100%; min-height:155px; resize:vertical; padding:13px; border:1px solid #e5eaf2; border-radius:9px; background:#fbfcff; color:var(--study-ink); font:12px/1.65 Inter,sans-serif; }
.study-notes-input:focus,.grade-field input:focus { outline:3px solid #e2e9ff; border-color:#9aace5; }
.tool-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:12px; }
.tool-actions .primary-action,.grade-calculate { padding:10px 13px; font-size:10px; }
.tool-actions > span,.grade-footnote { color:#9aa4b3; font-size:9px; line-height:1.5; }
.generated-deck { margin-top:19px; padding-top:16px; border-top:1px solid #edf0f5; }
.generated-deck-head { display:flex; justify-content:space-between; margin-bottom:10px; color:#52617c; font-size:11px; }
.generated-deck-head span { color:#929db0; font-size:10px; }
.generated-flashcard { min-height:135px; }
.grade-field { display:grid; gap:7px; margin:12px 0; color:#68768d; font-size:10px; font-weight:650; }
.grade-field input { width:100%; min-height:39px; padding:9px 11px; border:1px solid #e7ebf2; border-radius:7px; background:#fbfcff; color:var(--study-ink); }
.grade-calculate { margin-top:5px; }
.grade-result { display:flex; flex-direction:column; gap:5px; margin-top:13px; padding:12px; border-radius:8px; background:#edf7f1; color:#4b876d; font-size:11px; line-height:1.5; }
.grade-result strong { font:700 25px Outfit,sans-serif; }
.grade-error { background:#fff3ef; color:#ae6e5e; }
.grade-footnote { margin:12px 0 0; }
@media (max-width:850px) { .tools-grid { grid-template-columns:1fr; } }

/* Source-based learning workspace */
.material-lab { margin-top:18px; padding:25px; border:1px solid #dfe6f3; border-radius:15px; background:linear-gradient(145deg,#fbfcff,#f6f8ff); }
.material-lab-heading,.guide-output-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.material-lab-heading h3 { margin:8px 0 5px; color:#293750; font:650 22px/1.25 Outfit,sans-serif; letter-spacing:-.5px; }
.material-lab-heading p { margin:0; color:#8792a4; font-size:11px; line-height:1.6; }
.material-import-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:20px 0 11px; }
.file-import-button { display:inline-flex; align-items:center; gap:7px; padding:10px 13px; border:1px solid #dbe3f3; border-radius:8px; background:#fff; color:#5069b9; font-size:11px; font-weight:650; cursor:pointer; }
.file-import-button:hover,.secondary-tool-action:hover { border-color:#aebce8; background:#f3f6ff; }
.material-import-row select { min-height:37px; padding:8px 28px 8px 10px; border:1px solid #e3e8f1; border-radius:8px; background:#fff; color:#62718a; font-size:11px; }
.import-status { color:#929db0; font-size:10px; }
.material-input { min-height:190px; background:#fff; }
.material-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:12px; }
.secondary-tool-action { padding:9px 12px; border:1px solid #e0e6f0; border-radius:8px; background:#fff; color:#65738a; font-size:10px; font-weight:600; cursor:pointer; }
.study-guide-output,.source-quiz { margin-top:20px; padding:20px; border:1px solid #e5eaf3; border-radius:11px; background:#fff; }
.study-guide-output h4,.study-coach h4,.dashboard-mini h4,.source-quiz h4 { margin:4px 0 8px; color:#293750; font:650 18px Outfit,sans-serif; }
.study-guide-output h5 { margin:18px 0 8px; color:#536482; font-size:11px; letter-spacing:.3px; text-transform:uppercase; }
.study-guide-output ol { display:grid; gap:9px; padding-left:21px; color:#62718a; font-size:11px; line-height:1.7; }
.term-chips { display:flex; flex-wrap:wrap; gap:7px; }
.term-chips span { padding:6px 9px; border-radius:6px; background:#eef2ff; color:#586fbd; font-size:10px; }
.source-grounding-note { margin:17px 0 0; padding-top:12px; border-top:1px solid #edf0f5; color:#98a2b2; font-size:9px; line-height:1.6; }
.study-coach { display:grid; grid-template-columns:minmax(180px,.65fr) minmax(260px,1.35fr); gap:14px 22px; align-items:center; margin-top:17px; padding:19px; border:1px solid #e5eaf3; border-radius:11px; background:#fff; }
.study-coach > div:first-child { display:flex; align-items:flex-start; gap:11px; }
.study-coach h4 { margin:0 0 4px; font-size:16px; }
.study-coach p { margin:0; color:#8994a6; font-size:10px; line-height:1.55; }
.coach-question-row { display:flex; gap:8px; }
.coach-question-row input { min-width:0; flex:1; padding:10px 12px; border:1px solid #e4e9f2; border-radius:8px; color:#33425d; font-size:11px; }
.coach-question-row input:focus { outline:3px solid #e7ecff; border-color:#a9b8e8; }
.coach-question-row .primary-action { padding:9px 12px; font-size:10px; }
.coach-answer { grid-column:1/-1; white-space:pre-wrap; padding:13px; border-radius:8px; background:#f6f8fd; color:#586983; font-size:11px; line-height:1.7; }
.source-quiz > p { color:#62718a; font-size:12px; line-height:1.6; }
.source-quiz-options { display:grid; gap:7px; }
.source-quiz-options button { padding:10px 12px; border:1px solid #e5eaf2; border-radius:8px; background:#fff; color:#65738a; text-align:left; font-size:10px; line-height:1.5; }
.source-quiz-options button:disabled { opacity:1; }
.source-quiz-options button.source-selected { border-color:#aab9ec; background:#f0f3ff; }
.source-quiz-options button.source-correct { border-color:#b8dfc9; background:#eff9f2; color:#4c8767; }
.source-quiz-options button.source-wrong { border-color:#edc9c0; background:#fff4f1; color:#a96e62; }
.source-quiz-explain { padding:11px; border-radius:7px; background:#f5f8fc; }
.source-quiz > .primary-action { margin-top:12px; padding:9px 13px; font-size:10px; }
.dashboard-mini { display:grid; grid-template-columns:1fr auto; align-items:center; gap:14px; margin-top:17px; padding:18px; border:1px solid #e5eaf3; border-radius:11px; background:#fff; }
.dashboard-mini h4 { margin:4px 0; font-size:16px; }
.dashboard-mini p { margin:0; color:#929db0; font-size:9px; }
.dashboard-metrics { display:flex; gap:9px; }
.dashboard-metrics > div { display:grid; min-width:75px; gap:3px; padding:10px; border-radius:8px; background:#f6f8fc; text-align:center; }
.dashboard-metrics strong { color:#3e568f; font:700 19px Outfit,sans-serif; }
.dashboard-metrics span { color:#929db0; font-size:8px; }
.dashboard-mini ul { grid-column:1/-1; display:grid; gap:7px; margin:0; padding:12px 0 0; border-top:1px solid #edf0f5; list-style:none; }
.dashboard-mini li { display:flex; justify-content:space-between; gap:12px; color:#68768d; font-size:10px; }
.dashboard-mini li small { color:#9aa4b3; font-size:9px; }
@media (max-width:700px) { .material-lab { padding:17px; }.material-lab-heading { flex-direction:column; }.study-coach { grid-template-columns:1fr; }.coach-answer { grid-column:auto; }.coach-question-row { flex-wrap:wrap; }.coach-question-row input { flex-basis:100%; }.dashboard-mini { grid-template-columns:1fr; }.dashboard-metrics { flex-wrap:wrap; }.dashboard-metrics > div { flex:1; }.dashboard-mini li { flex-direction:column; gap:2px; } }
@media print { body * { visibility:hidden !important; }.study-guide-output,.study-guide-output * { visibility:visible !important; }.study-guide-output { position:absolute; inset:0; border:0; box-shadow:none; }.study-guide-output .secondary-tool-action { display:none; } }
