*{box-sizing:border-box}body{color:#17142a;background:#fbf7ff;margin:0;font-family:Inter,system-ui,sans-serif}.back-link{color:#8b5cf6;margin-bottom:24px;font-weight:600;text-decoration:none;display:inline-block}.page-label{color:#8b5cf6;margin:0;font-weight:700}.subject-code{color:#8b5cf6;margin:0 0 12px;font-size:.9rem;font-weight:700}.notes-search{background:#fff;border:1px solid #e2d8f0;border-radius:18px;width:100%;margin-top:32px;padding:16px 20px;font-size:1rem}.notes-folder-tone-0{--folder-tone:#a879ee}.notes-folder-tone-1{--folder-tone:#60a5fa}.notes-folder-tone-2{--folder-tone:#4ade80}.notes-folder-tone-3{--folder-tone:#fb923c}.notes-folder-tone-4{--folder-tone:#ec4899}.notes-workspace{grid-template-columns:248px minmax(0,1fr);align-items:start;min-height:calc(100dvh - 76px);display:grid}.notes-workspace-collapsed{grid-template-columns:48px minmax(0,1fr)}.notes-outline-desktop{overscroll-behavior:contain;background:var(--app-surface);border-right:1px solid var(--app-border);scrollbar-width:thin;height:calc(100dvh - 76px);padding:14px 10px 24px;position:sticky;top:76px;overflow-y:auto}.notes-outline-toggle,.notes-outline-mobile-toggle{color:var(--app-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:8px;font-size:.8rem;display:flex}.notes-outline-toggle:hover,.notes-outline-mobile-toggle:hover{background:var(--app-soft);color:var(--app-accent)}.notes-workspace-collapsed .notes-outline-desktop{padding-inline:6px}.notes-outline-header{padding:18px 10px 12px}.notes-outline-header span{color:var(--app-accent);font-size:.72rem;font-weight:700}.notes-outline-header h2{overflow-wrap:anywhere;margin:6px 0 0;font-size:.96rem;line-height:1.4}.notes-outline-all{color:var(--app-muted);border-radius:8px;margin-bottom:16px;padding:10px;font-size:.8rem;text-decoration:none;display:block}.notes-outline-all[aria-current]{background:var(--app-soft);color:var(--app-accent);font-weight:650}.notes-outline-folder{margin-bottom:8px}.notes-outline-folder-heading{background:color-mix(in srgb,var(--folder-tone) 12%,var(--app-surface));border-left:3px solid color-mix(in srgb,var(--folder-tone) 55%,var(--app-surface));border-radius:9px;align-items:center;display:flex}.notes-outline-folder-heading>button{color:var(--app-muted);cursor:pointer;background:0 0;border:0;flex:0 0 28px;place-items:center;padding:12px 0;display:grid}.notes-outline-folder-heading>button[aria-expanded=false] svg{transform:rotate(-90deg)}.notes-outline-folder-heading>a{min-width:0;color:var(--app-text);flex:1;align-items:center;gap:7px;padding:10px 8px 10px 0;font-size:.79rem;font-weight:600;text-decoration:none;display:flex}.notes-outline-folder-heading>a svg{color:var(--folder-tone);flex-shrink:0}.notes-outline-folder-heading>a span{overflow-wrap:anywhere}.notes-outline-folder-heading small{color:var(--app-muted);margin-left:auto;font-weight:400}.is-current-folder>.notes-outline-folder-heading{border-left-color:var(--folder-tone);background:color-mix(in srgb,var(--folder-tone) 22%,var(--app-surface))}.notes-outline-children{padding:5px 0 5px 12px}.notes-outline-note{color:var(--app-muted);border-left:2px solid #0000;border-radius:7px;align-items:start;gap:7px;padding:9px 8px;font-size:.77rem;line-height:1.5;text-decoration:none;display:flex}.notes-outline-note svg{flex-shrink:0;margin-top:2px}.notes-outline-note span{overflow-wrap:anywhere}.notes-outline-note:hover{background:var(--app-soft);color:var(--app-text)}.notes-outline-note.is-current{background:var(--app-soft);border-left-color:var(--app-accent);color:var(--app-accent);font-weight:650}.notes-outline-unfiled h3{color:var(--app-muted);margin:0;padding:12px 10px 4px;font-size:.74rem}.notes-outline-status{color:var(--app-muted);padding:8px 10px;font-size:.76rem;line-height:1.5}.notes-workspace-content{min-width:0;container-type:inline-size}.notes-outline-mobile-toggle{display:none}.notes-outline-drawer{background:var(--app-surface);width:min(330px,90vw);height:100dvh;max-height:100dvh;color:var(--app-text);border:0;margin:0;padding:16px}.notes-outline-drawer::backdrop{background:#17102466}:is(.notes-outline-desktop,.notes-outline-drawer) :focus-visible{outline:2px solid var(--app-accent);outline-offset:2px}@media (width<=900px){.notes-workspace,.notes-workspace-collapsed{grid-template-columns:minmax(0,1fr)}.notes-outline-desktop{display:none}.notes-outline-mobile-toggle{margin:12px var(--site-gutter) 0;display:flex}}@container (width<=900px){.notes-workspace-content .read-only-note{grid-template-columns:minmax(0,1fr)}.notes-workspace-content .read-only-note-with-header :is(.note-reading-header,.note-reading-body,.note-outline){grid-area:auto/1}.notes-workspace-content .read-only-note-with-header .note-outline{border:1px solid var(--app-border);background:var(--app-surface);border-radius:10px;width:100%;max-width:820px;max-height:220px;margin:0 auto 20px;padding:10px 14px;position:static;overflow-y:auto}.notes-workspace-content .note-reading-body{max-width:820px}}.auth-page{justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding-block:40px;display:flex}.auth-card{background:#fff;border-radius:24px;width:100%;max-width:460px;padding:40px;box-shadow:0 12px 30px #48346e1a}.auth-label{color:#8b6bb3;margin:0 0 8px;font-weight:600}.auth-card h1{margin:0 0 32px;font-size:2rem}:root{--sidebar-width:248px;--app-surface:#fff;--app-background:#fbf7ff;--app-text:#211c30;--app-muted:#756b83;--app-border:#ece6f3;--app-soft:#f3edfc;--app-accent:#7c3aed}.app-workspace{margin-left:var(--sidebar-width);min-width:0;min-height:calc(100dvh - 76px)}.app-workspace:focus{outline:none}.app-sidebar{z-index:60;width:var(--sidebar-width);background:var(--app-surface);border-right:1px solid var(--app-border);scrollbar-width:thin;padding:28px 18px 18px;position:fixed;inset:0 auto 0 0;overflow-y:auto}.app-brand{color:var(--app-text);letter-spacing:-.03em;align-items:center;gap:10px;margin:0 8px 32px;font-size:1rem;font-weight:750;text-decoration:none;display:flex}.app-brand-mark{color:#fff;background:linear-gradient(135deg,#d8b4ef,#9870df);border-radius:12px;flex-shrink:0;place-items:center;width:35px;height:35px;display:grid}.sidebar-main{gap:4px;display:grid}.app-sidebar-link{min-height:42px;color:var(--app-muted);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:.85rem;font-weight:550;text-decoration:none;display:flex}.app-sidebar-link:hover{background:var(--app-soft);color:var(--app-accent)}.app-sidebar-link.active{background:var(--app-soft);color:var(--app-accent);font-weight:700}.app-sidebar-link svg{flex-shrink:0}.sidebar-subjects{border-top:1px solid var(--app-border);margin-top:25px;padding-top:20px}.sidebar-section-title{justify-content:space-between;align-items:center;padding:0 12px 8px;display:flex}.sidebar-section-title h2{color:var(--app-muted);text-transform:uppercase;letter-spacing:.09em;margin:0;font-size:.73rem}.sidebar-section-title a{color:var(--app-muted);padding:2px 5px;font-size:1.2rem;text-decoration:none}.sidebar-subject{gap:11px;padding-block:9px}.sidebar-subject>span:last-child{min-width:0}.sidebar-subject strong{color:var(--app-text);font-size:.76rem;display:block}.sidebar-subject small{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.71rem;font-weight:400;display:block;overflow:hidden}.sidebar-subject .semester-subject-indicator{flex:0 0 4px;height:25px}.sidebar-hint{color:var(--app-muted);padding:8px 12px;font-size:.8rem;line-height:1.6;display:block}.sidebar-sections{border-top:1px solid var(--app-border);margin-top:20px;padding-top:12px}.sidebar-sections summary{cursor:pointer;color:var(--app-muted);justify-content:space-between;align-items:center;padding:12px;font-size:.82rem;font-weight:650;list-style:none;display:flex}.sidebar-sections summary::-webkit-details-marker{display:none}.app-account summary::-webkit-details-marker{display:none}.sidebar-sections details[open] summary svg{transform:rotate(180deg)}.sidebar-sections .app-sidebar-link{padding-left:22px;font-size:.8rem}.sidebar-footer{color:var(--app-muted);align-items:center;gap:8px;margin:25px 12px 0;font-size:.7rem;display:flex}.app-topbar{z-index:50;margin-left:var(--sidebar-width);background:var(--app-surface);border-bottom:1px solid var(--app-border);position:sticky;top:0}.app-topbar-inner{width:min(var(--site-max-width), calc(100% - 2 * var(--site-gutter)));align-items:center;gap:16px;min-height:76px;margin-inline:auto;display:flex}.app-search{flex:1;max-width:560px;position:relative}.app-search>svg{z-index:1;color:var(--app-muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.app-search .global-search input{background:var(--app-background);color:var(--app-text);border-color:var(--app-border);border-radius:12px;padding:11px 14px 11px 42px;font-size:.85rem}.app-topbar-actions{align-items:center;gap:14px;margin-left:auto;display:flex}.app-icon-button{width:40px;height:40px;color:var(--app-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.app-icon-button:hover{background:var(--app-soft);color:var(--app-accent)}.app-account{position:relative}.app-account summary{cursor:pointer;color:var(--app-text);align-items:center;gap:9px;font-size:.82rem;font-weight:650;list-style:none;display:flex}.app-avatar{background:var(--app-soft);width:34px;height:34px;color:var(--app-accent);border-radius:50%;place-items:center;display:grid}.account-name{text-overflow:ellipsis;max-width:140px;overflow:hidden}.app-account-menu{border:1px solid var(--app-border);background:var(--app-surface);border-radius:14px;width:240px;padding:8px;position:absolute;top:calc(100% + 18px);right:0;box-shadow:0 12px 40px #2411331a}.app-account-menu p{color:var(--app-muted);overflow-wrap:anywhere;margin:6px 10px 10px;font-size:.75rem}.app-account-menu a,.app-account-menu button{width:100%;color:var(--app-text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px;font-size:.85rem;text-decoration:none;display:block}.app-account-menu :is(a,button):hover{background:var(--app-soft)}.app-login{color:var(--app-accent);white-space:nowrap;font-size:.85rem;font-weight:650}.sidebar-toggle{display:none}.app-nav-drawer{background:var(--app-surface);width:min(310px,90vw);height:100dvh;max-height:100dvh;color:var(--app-text);border:0;margin:0;padding:0}.app-nav-drawer::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17102466}.app-drawer-content{min-height:100%;padding:24px 18px}.drawer-close{margin:-10px -6px 8px auto}.app-skip-link{z-index:100;background:var(--app-surface);color:var(--app-accent);padding:12px;position:fixed;top:-80px;left:16px}.app-skip-link:focus{top:12px}:is(.app-sidebar,.app-topbar,.app-nav-drawer) :focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}@media (width<=1100px){.app-sidebar{display:none}.app-topbar,.app-workspace{margin-left:0}.sidebar-toggle{display:grid}}@media (width<=600px){.app-topbar-inner{gap:6px;min-height:64px}.app-topbar-actions{gap:3px}.account-name,.app-account summary>svg{display:none}.app-search .global-search input{padding-left:34px;font-size:16px}.app-search>svg{width:16px;left:10px}.app-icon-button{width:34px}.app-search .search-results{max-height:calc(100dvh - 80px);position:fixed;top:62px;left:10px;right:10px}}.global-search{width:100%;position:relative}.global-search input{box-sizing:border-box;color:#252133;width:100%;font:inherit;background:#eee8ff;border:1px solid #0000;border-radius:18px;outline:none;padding:16px 20px;transition:border-color .2s,box-shadow .2s}.global-search input:focus{border-color:#a879ee;box-shadow:0 0 0 3px #a879ee26}.search-results{z-index:20;background:#fff;border:1px solid #e7ddf5;border-radius:18px;max-height:430px;padding:8px;position:absolute;top:calc(100% + 10px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 45px #37255829}.search-result{color:inherit;border-radius:13px;align-items:flex-start;gap:12px;padding:12px 14px;text-decoration:none;transition:background .15s;display:flex}.search-result:hover{background:#f4efff}.search-icon{background:#eee8ff;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:17px;display:grid}.search-content{min-width:0}.search-title{color:#211c2d;text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.search-description{color:#756c82;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:13px;overflow:hidden}.search-message{color:#756c82;text-align:center;margin:0;padding:18px}.search-snippet{color:#51495e;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.semester-subjects{margin-block:42px 30px;padding-block:0}.semester-subjects-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.semester-subjects-header h2{margin:0;font-size:1.5rem;font-weight:700}.semester-subjects-header a{color:#7c3aed;font-size:.9rem;font-weight:600;text-decoration:none}.semester-subjects-header a:hover{color:#7c3aed;text-decoration:none}.semester-subjects-grid{grid-template-columns:repeat(3,minmax(220px,300px));gap:14px 56px;margin-left:-18px;display:grid}.semester-subject-item{width:100%;min-width:0;color:inherit;cursor:pointer;grid-template-columns:4px minmax(0,1fr);justify-self:start;align-items:center;gap:14px;padding:3px 0;text-decoration:none;display:grid}.semester-subject-item:hover{color:inherit;text-decoration:none}.semester-subject-indicator{background:#d1d5db;border-radius:999px;width:3px;height:26px}.semester-subject-code{color:#6b7280;margin:0 0 4px;font-size:.8rem;font-weight:700}.semester-subject-item h3{color:#1f2937;margin:0;font-size:.98rem;font-weight:600;line-height:1.35}.semester-subject-purple .semester-subject-indicator{background:#8b5cf6}.semester-subject-purple .semester-subject-code{color:#7c3aed}.semester-subject-pink .semester-subject-indicator{background:#ec4899}.semester-subject-pink .semester-subject-code{color:#db2777}.semester-subject-green .semester-subject-indicator{background:#4ade80}.semester-subject-green .semester-subject-code{color:#2f9e55}.semester-subject-blue .semester-subject-indicator{background:#60a5fa}.semester-subject-blue .semester-subject-code{color:#2563eb}.semester-subject-orange .semester-subject-indicator{background:#fb923c}.semester-subject-orange .semester-subject-code{color:#ea580c}.semester-subject-teal .semester-subject-indicator{background:#2dd4bf}.semester-subject-teal .semester-subject-code{color:#0d9488}.semester-subject-red .semester-subject-indicator{background:#fb7185}.semester-subject-red .semester-subject-code{color:#e11d48}.semester-subject-yellow .semester-subject-indicator{background:#facc15}.semester-subject-yellow .semester-subject-code{color:#ca8a04}.semester-subject-default .semester-subject-indicator{background:#d1d5db}.semester-subject-default .semester-subject-code{color:#6b7280}.semester-subjects-empty{color:#4b5563;margin:0;font-size:.9rem}@media (width<=1000px){.semester-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px}}@media (width<=600px){.semester-subjects{margin-block:36px 28px;padding-block:0}.semester-subjects-header{margin-bottom:16px}.semester-subjects-header h2{font-size:1.35rem}.semester-subjects-header a{font-size:.85rem}.semester-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;margin-left:-14px}.semester-subject-code{font-size:.72rem}.semester-subject-item h3{font-size:.84rem}.semester-subject-item{padding:4px 0}}.stats-grid{grid-template-columns:repeat(4,1fr);gap:20px;max-width:1200px;margin:32px auto;padding:0 24px;display:grid}.year-section{max-width:1200px;margin:32px auto;padding:0 24px}.year-section h2{margin-bottom:16px}.year-grid{grid-template-columns:repeat(5,1fr);gap:16px;display:grid}.subjects-section{max-width:1200px;margin:32px auto;padding:0 24px}.subjects-section h2{margin-bottom:16px}.subjects-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.home-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin-block:32px;padding-block:0;display:grid}.home-dashboard-grid .upcoming-tasks,.home-dashboard-grid .home-progress{width:100%;min-width:0;max-width:none;margin:0;padding:0}.logged-out-home{margin-block:0;padding-block:72px 96px}.logged-out-hero{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:72px;min-height:560px;display:grid}.logged-out-hero-content{max-width:650px}.logged-out-hero h1{color:#161329;letter-spacing:-.055em;margin:0;font-size:clamp(3.4rem,6vw,5.7rem);line-height:.98}.logged-out-hero-description{color:#6b7280;max-width:580px;margin:28px 0 0;font-size:1.2rem;line-height:1.7}.logged-out-hero-actions{gap:14px;margin-top:34px;display:flex}.logged-out-primary-button,.logged-out-secondary-button{border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:0 24px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s,background-color .2s;display:inline-flex}.logged-out-primary-button{color:#fff;background:#a97af5;box-shadow:0 8px 20px #a97af533}.logged-out-primary-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #a97af542}.logged-out-secondary-button{color:#27213e;background:#ffffffb8;border:1px solid #e5dcf3}.logged-out-secondary-button:hover{background:#fff;transform:translateY(-2px)}.logged-out-note-preview{justify-content:center;align-items:center;gap:12px;width:100%;min-height:540px;display:flex;position:relative}.logged-out-note-image{object-fit:contain;background:#fff;border:1px solid #e8e3ed;border-radius:12px;width:310px;height:auto;position:static}.logged-out-note-image-front{transform:rotate(1deg)}.logged-out-note-image-back{transform:rotate(-1deg)}.logged-out-features{border-top:1px solid #e9e3ef;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;padding:72px 0 48px;display:grid}.logged-out-feature-number{color:#9b6df3;letter-spacing:.08em;margin-bottom:18px;font-size:.85rem;font-weight:800;display:block}.logged-out-feature h2{color:#161329;margin:0 0 12px;font-size:1.35rem}.logged-out-feature p{color:#737080;margin:0;line-height:1.7}.home-empty-page{justify-content:center;align-items:center;min-height:560px;padding-block:64px;display:flex}.home-empty-state{text-align:center;background:#ffffffc7;border:1px solid #e8e1f0;border-radius:24px;width:100%;max-width:620px;padding:48px}.home-empty-icon{color:#9b6df3;background:#f0e7ff;border-radius:18px;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 20px;display:flex}.home-empty-state .page-label{margin-bottom:10px}.home-empty-state h1{color:#161329;margin:0;font-size:2rem;line-height:1.2}.home-empty-description{color:#737080;max-width:500px;margin:18px auto 0;font-size:1rem;line-height:1.7}.home-empty-button{color:#fff;background:#a97af5;border-radius:14px;justify-content:center;align-items:center;min-height:46px;margin-top:28px;padding:0 24px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 8px 20px #a97af533}.home-empty-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #a97af542}.home-dashboard-column{flex-direction:column;gap:24px;min-width:0;display:flex}.home-dashboard-grid .exam-overview{width:100%;max-width:none;margin:0;padding:0}.home-dashboard-grid .exam-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media (width<=900px){.stats-grid{grid-template-columns:repeat(2,1fr)}.year-grid{grid-template-columns:repeat(3,1fr)}.home-dashboard-grid{grid-template-columns:1fr}.logged-out-home{padding-top:48px}.logged-out-hero{grid-template-columns:1fr;gap:48px;min-height:auto}.logged-out-hero-content{max-width:700px}.logged-out-note-preview{width:100%;max-width:560px}}@media (width<=600px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px auto;padding:0 16px}.year-section{margin:24px auto;padding:0 16px}.year-section h2{margin-bottom:14px;font-size:1.4rem}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subjects-section{margin:24px auto;padding:0 16px}.subjects-section h2{margin-bottom:14px;font-size:1.4rem}.subjects-grid{grid-template-columns:1fr;gap:12px}.home-dashboard-grid{grid-template-columns:1fr;margin-block:24px;padding-block:0}.logged-out-home{padding-block:32px 48px}.logged-out-hero{gap:28px}.logged-out-hero h1{font-size:clamp(2.65rem,12vw,3.4rem);line-height:1}.logged-out-hero-description{margin-top:24px;font-size:1rem;line-height:1.65}.logged-out-hero-actions{flex-direction:column;gap:12px;margin-top:28px}.logged-out-primary-button,.logged-out-secondary-button{width:100%}.logged-out-note-preview{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;width:100%;min-height:0;display:grid}.logged-out-note-image{width:100%;height:auto;transform:none}.logged-out-note-image-front,.logged-out-note-image-back{transform:none}.logged-out-features{grid-template-columns:1fr;gap:36px;padding:48px 0}.home-empty-page{min-height:480px;padding-block:40px}.home-empty-state{padding:36px 24px}.home-empty-state h1{font-size:1.7rem}.home-dashboard-grid .exam-grid{grid-template-columns:1fr}}@media (width<=380px){.stats-grid,.year-grid{grid-template-columns:1fr}}.home-dashboard{padding-block:36px 56px}.dashboard-focus-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:24px;display:grid}.dashboard-focus{background:var(--app-surface);border:1px solid var(--app-border);border-radius:20px;overflow:hidden}.dashboard-focus-intro{background:linear-gradient(120deg, var(--app-soft), var(--app-surface));padding:26px 28px}.dashboard-focus-intro .page-label{letter-spacing:.1em;font-size:.7rem}.dashboard-focus-intro h2{letter-spacing:-.025em;margin:12px 0 8px;font-size:1.5rem}.dashboard-focus-intro>p:last-of-type{color:var(--app-muted);margin:0;font-size:.85rem;line-height:1.6}.dashboard-shortcuts{flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;display:flex}.dashboard-shortcuts a{border:1px solid var(--app-border);color:var(--app-accent);background:var(--app-surface);border-radius:10px;padding:10px 14px;font-size:.8rem;font-weight:650;text-decoration:none}.dashboard-shortcuts a:first-child{background:var(--footer-purple);color:#fff;border-color:var(--footer-purple)}.home-dashboard .weekly-updates{width:100%;margin:0;padding:22px 28px}.home-dashboard .weekly-updates-header h2{font-size:.95rem}.home-dashboard .weekly-updates-list{gap:8px}.home-dashboard .weekly-update-subject{flex-direction:column;gap:3px}.home-dashboard .weekly-update-name{max-width:100%;font-size:.8rem}.home-dashboard .weekly-update-row{gap:10px}.home-dashboard .weekly-update-details{font-size:.73rem}.home-dashboard .upcoming-tasks{width:100%;max-width:none;margin:0;padding:8px 0 0}.home-dashboard .upcoming-tasks-header{gap:8px}.home-dashboard .upcoming-tasks-header h2{font-size:1rem}.home-dashboard .upcoming-tasks-header a{font-size:.75rem}.home-dashboard .upcoming-task{border-radius:12px;gap:10px;min-height:68px;padding:12px}.home-dashboard .upcoming-task-content{flex-direction:column;align-items:flex-start;gap:3px}.home-dashboard .upcoming-task-code{font-size:.68rem}.home-dashboard .upcoming-task h3{font-size:.82rem}.home-dashboard .upcoming-task p{display:none}.home-dashboard .upcoming-task time{font-size:.7rem}.home-dashboard .upcoming-tasks-more{margin-top:10px}.home-dashboard .semester-subjects{width:100%;margin:32px 0;padding:0}.home-dashboard :is(.semester-subjects-header h2,.home-progress h2,.exam-overview h2){letter-spacing:-.02em;font-size:1.15rem}.home-dashboard .semester-subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.home-dashboard .semester-subject-item{border:1px solid var(--app-border);background:var(--app-surface);border-radius:15px;align-items:start;gap:12px;padding:19px 16px;transition:border-color .2s,transform .2s}.home-dashboard .semester-subject-item:hover{border-color:#c4a5ec;transform:translateY(-2px)}.home-dashboard .semester-subject-item>div{width:100%;min-width:0}.home-dashboard .semester-subject-item h3{min-height:2.7em;font-size:.87rem}.subject-card-progress{color:var(--app-muted);margin-top:16px;font-size:.7rem}.subject-card-progress progress{accent-color:#a879ee;background:var(--app-soft);border:0;border-radius:6px;width:100%;height:5px;margin-top:7px;display:block;overflow:hidden}.subject-card-progress progress::-webkit-progress-bar{background:var(--app-soft)}.subject-card-progress progress::-webkit-progress-value{background:#a879ee;border-radius:6px}.subject-card-progress progress::-moz-progress-bar{background:#a879ee}.home-dashboard .home-progress{width:100%;max-width:none;margin:32px 0;padding:0}.home-dashboard .home-progress-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-dashboard .home-progress-item{padding:16px}.home-dashboard .exam-overview{border-top:1px solid var(--app-border);width:100%;max-width:none;margin:36px 0 0;padding:30px 0 0}@media (width>=1101px) and (width<=1300px),(width<=850px){.dashboard-focus-grid{grid-template-columns:1fr}.home-dashboard .upcoming-tasks-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.home-dashboard{padding-block:24px 36px}.dashboard-focus-intro,.home-dashboard .weekly-updates{padding:22px 18px}.home-dashboard .semester-subjects-grid,.home-dashboard .home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=440px){.home-dashboard .semester-subjects-grid,.home-dashboard .home-progress-list,.home-dashboard .upcoming-tasks-list{grid-template-columns:1fr}.home-dashboard .semester-subject-item h3{min-height:0}}.home-dashboard .upcoming-tasks-empty{border:1px dashed var(--app-border);color:var(--app-muted);border-radius:14px;margin:0;padding:24px;font-size:.85rem;line-height:1.7}.dashboard-date{color:var(--app-muted);text-align:right;text-transform:capitalize;margin-bottom:14px;font-size:.8rem}:root{--footer-purple:#b38bf3}.footer{background-color:var(--footer-purple);color:#fff;margin-top:56px;padding:32px 24px}.footer-content{max-width:1200px;margin:0 auto}.footer-content h3{margin:0 0 8px;font-size:1.05rem;line-height:1.3}.footer-content p{opacity:.9;margin:0;font-size:.9rem;line-height:1.5}.footer-copy{opacity:.7!important;margin-top:12px!important;font-size:.82rem!important}@media (width<=600px){.footer{margin-top:40px;padding:28px 16px}.footer-content h3{font-size:1rem}.footer-content p{font-size:.85rem}.footer-copy{margin-top:10px!important}}.home-progress{max-width:1200px;margin:32px auto;padding:0 24px}.home-progress-header{margin-bottom:14px}.home-progress h2{margin:0;font-size:1.45rem;font-weight:700;line-height:1.2}.home-progress-list{grid-template-columns:1fr;gap:10px;display:grid}.home-progress-item{min-width:0;color:inherit;background:#fff;border:1px solid #ece7f5;border-radius:16px;flex-direction:column;padding:12px 16px;text-decoration:none;transition:border-color .2s,transform .2s;display:flex}.home-progress-item:hover{color:inherit;border-color:#ddd6e8;text-decoration:none;transform:translateY(-1px)}.home-progress-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;display:flex}.home-progress-top strong{font-size:.88rem;font-weight:700}.home-progress-top span{flex-shrink:0;font-size:.82rem;font-weight:700}.home-progress-count{color:#4b5563;margin:0 0 6px;font-size:.78rem;font-weight:500}.home-progress-details{color:#6b7280;flex-wrap:wrap;gap:4px 12px;margin-bottom:9px;font-size:.72rem;font-weight:500;display:flex}.home-progress-bar{background:#eee7fb;border-radius:999px;height:4px;overflow:hidden}.home-progress-fill{border-radius:999px;height:100%;transition:width .3s}.home-progress-rating{color:#6b7280;margin:6px 0 0;font-size:.7rem;font-weight:500}.home-progress-purple .home-progress-top strong,.home-progress-purple .home-progress-top span{color:#7c3aed}.home-progress-purple .home-progress-fill{background:#8b5cf6}.home-progress-purple .home-progress-bar{background:#ede9fe}.home-progress-pink .home-progress-top strong,.home-progress-pink .home-progress-top span{color:#db2777}.home-progress-pink .home-progress-fill{background:#ec4899}.home-progress-pink .home-progress-bar{background:#fce7f3}.home-progress-green .home-progress-top strong,.home-progress-green .home-progress-top span{color:#2f9e55}.home-progress-green .home-progress-fill{background:#4ade80}.home-progress-green .home-progress-bar{background:#dcfce7}.home-progress-blue .home-progress-top strong,.home-progress-blue .home-progress-top span{color:#2563eb}.home-progress-blue .home-progress-fill{background:#60a5fa}.home-progress-blue .home-progress-bar{background:#dbeafe}.home-progress-orange .home-progress-top strong,.home-progress-orange .home-progress-top span{color:#ea580c}.home-progress-orange .home-progress-fill{background:#fb923c}.home-progress-orange .home-progress-bar{background:#ffedd5}.home-progress-teal .home-progress-top strong,.home-progress-teal .home-progress-top span{color:#0d9488}.home-progress-teal .home-progress-fill{background:#2dd4bf}.home-progress-teal .home-progress-bar{background:#ccfbf1}.home-progress-red .home-progress-top strong,.home-progress-red .home-progress-top span{color:#e11d48}.home-progress-red .home-progress-fill{background:#fb7185}.home-progress-red .home-progress-bar{background:#ffe4e6}.home-progress-yellow .home-progress-top strong,.home-progress-yellow .home-progress-top span{color:#ca8a04}.home-progress-yellow .home-progress-fill{background:#facc15}.home-progress-yellow .home-progress-bar{background:#fef9c3}.home-progress-default .home-progress-top strong,.home-progress-default .home-progress-top span{color:#6b7280}.home-progress-default .home-progress-fill{background:#9ca3af}.home-progress-default .home-progress-bar{background:#f3f4f6}@media (width<=900px){.home-progress{max-width:none}.home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (width<=600px){.home-progress{margin:16px auto 24px;padding:0 16px}.home-progress-header{margin-bottom:12px}.home-progress h2{font-size:1.3rem}.home-progress-list{grid-template-columns:1fr;gap:8px}.home-progress-item{border-radius:12px;padding:11px 12px}.home-progress-top{margin-bottom:3px}.home-progress-count{margin-bottom:6px}.home-progress-details{margin-bottom:7px}.home-progress-rating{font-size:.72rem}}.exam-overview{max-width:1280px;margin:32px auto;padding:0 24px}.exam-overview h2{margin:0 0 14px;font-size:1.45rem;font-weight:700;line-height:1.2}.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.exam-card{background:#fff;border:1px solid #e7e3ec;border-radius:12px;min-width:0;padding:14px 16px}.exam-code{color:#6b647c;margin:0 0 5px;font-size:.82rem;font-weight:700}.exam-card span{color:#7c3aed;margin-top:5px;font-size:.82rem;font-weight:700;display:inline-block}.exam-card-purple .exam-code,.exam-card-purple span{color:#7c3aed}.exam-card-pink .exam-code,.exam-card-pink span{color:#db2777}.exam-card-green .exam-code,.exam-card-green span{color:#2f9e55}.exam-card-blue .exam-code,.exam-card-blue span{color:#2563eb}.exam-card-orange .exam-code,.exam-card-orange span{color:#ea580c}.exam-card-teal .exam-code,.exam-card-teal span{color:#0d9488}.exam-card-red .exam-code,.exam-card-red span{color:#e11d48}.exam-card-yellow .exam-code,.exam-card-yellow span{color:#ca8a04}.exam-card-default .exam-code,.exam-card-default span{color:#6b7280}.exam-card{min-width:0;color:inherit;cursor:pointer;background:#fff;border:1px solid #ece7f5;border-radius:16px;padding:16px;text-decoration:none;transition:border-color .2s,transform .2s}.exam-card:hover{color:inherit;border-color:#ddd6e8;text-decoration:none;transform:translateY(-1px)}.exam-card h3{color:#1f2937;overflow-wrap:anywhere;margin:0 0 10px;font-size:.98rem;font-weight:600;line-height:1.35}.exam-card p{color:#6b7280;margin:0 0 4px;font-size:.82rem;font-weight:500}.exam-card span{margin-top:6px;font-size:.82rem;font-weight:700;display:inline-block}@media (width<=1024px){.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.exam-overview{margin:24px auto;padding:0 16px}.exam-overview h2{margin-bottom:12px;font-size:1.3rem}.exam-grid{grid-template-columns:1fr;gap:8px}.exam-card{border-radius:14px;padding:12px 14px}.exam-card h3{margin-bottom:8px;font-size:.92rem}.exam-card p{font-size:.82rem}.exam-card span{font-size:.8rem}}.weekly-updates{margin-block:36px;padding-block:0}.weekly-updates-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.weekly-updates-header h2{margin:0;font-size:1.5rem;font-weight:700}.weekly-updates-week{color:#7c3aed;font-size:.85rem;font-weight:600}.weekly-updates-list{flex-direction:column;gap:14px;display:flex}.weekly-update-row{min-height:50px;color:inherit;grid-template-columns:4px minmax(0,1fr) auto;align-items:center;gap:14px;padding:4px 0;text-decoration:none;display:grid}.weekly-update-row:hover{color:inherit;text-decoration:none}.weekly-update-indicator{background:#d1d5db;border-radius:999px;width:3px;height:26px}.weekly-update-subject{align-items:baseline;gap:12px;min-width:0;display:flex}.weekly-update-code{flex-shrink:0;margin:0;font-size:.8rem;font-weight:700}.weekly-update-name{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:600;overflow:hidden}.weekly-update-details{color:#4b5563;align-items:center;font-size:.82rem;font-weight:500;display:flex}.weekly-update-details span{align-items:center;display:inline-flex}.weekly-update-details span:not(:last-child):after{content:"·";color:#9ca3af;margin:0 8px}.weekly-updates-empty{color:#4b5563;margin:0;padding:10px 0;font-size:.9rem}.weekly-update-purple .weekly-update-indicator{background:#8b5cf6}.weekly-update-purple .weekly-update-code{color:#7c3aed}.weekly-update-pink .weekly-update-indicator{background:#ec4899}.weekly-update-pink .weekly-update-code{color:#db2777}.weekly-update-green .weekly-update-indicator{background:#4ade80}.weekly-update-green .weekly-update-code{color:#2f9e55}.weekly-update-blue .weekly-update-indicator{background:#60a5fa}.weekly-update-blue .weekly-update-code{color:#2563eb}.weekly-update-orange .weekly-update-indicator{background:#fb923c}.weekly-update-orange .weekly-update-code{color:#ea580c}.weekly-update-teal .weekly-update-indicator{background:#2dd4bf}.weekly-update-teal .weekly-update-code{color:#0d9488}.weekly-update-red .weekly-update-indicator{background:#fb7185}.weekly-update-red .weekly-update-code{color:#e11d48}.weekly-update-yellow .weekly-update-indicator{background:#facc15}.weekly-update-yellow .weekly-update-code{color:#ca8a04}.weekly-update-default .weekly-update-indicator{background:#d1d5db}.weekly-update-default .weekly-update-code{color:#6b7280}@media (width<=600px){.weekly-updates{margin-block:28px;padding-block:0}.weekly-updates-header{margin-bottom:12px}.weekly-updates-header h2{font-size:1.35rem}.weekly-update-row{grid-template-columns:3px minmax(0,1fr);gap:12px;padding:7px 0}.weekly-update-subject{gap:8px}.weekly-update-name{font-size:.9rem}.weekly-update-details{grid-column:2;margin-top:-5px;font-size:.78rem}}.upcoming-tasks{max-width:1200px;margin:32px auto;padding:0 24px}.upcoming-tasks-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.upcoming-tasks-header h2{margin:0;font-size:1.45rem;line-height:1.2}.upcoming-tasks-header a{color:#7c3aed;flex-shrink:0;font-size:.9rem;font-weight:700;text-decoration:none}.upcoming-tasks-header a:hover{text-decoration:underline}.upcoming-tasks-list{gap:10px;display:grid}.upcoming-task{background:#fff;border:1px solid #ece7f5;border-left-width:4px;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;min-width:0;min-height:76px;padding:16px 18px;display:flex}.upcoming-task-content{align-items:center;gap:16px;min-width:0;display:flex}.upcoming-task-code{flex-shrink:0;min-width:70px;font-size:.85rem;font-weight:700}.upcoming-task-info{min-width:0}.upcoming-task h3{overflow-wrap:anywhere;margin:0 0 3px;font-size:.95rem;line-height:1.35}.upcoming-task p{color:#6b7280;margin:0;font-size:.8rem;font-weight:600}.upcoming-task time{color:#6b647c;text-align:right;flex-shrink:0;font-size:.82rem;font-weight:600}.upcoming-task-time-today{color:#1f2937!important;font-weight:700!important}.upcoming-task-time-tomorrow{color:#4b5563!important;font-weight:700!important}.upcoming-task-purple{border-left-color:#8b5cf6}.upcoming-task-purple .upcoming-task-code{color:#7c3aed}.upcoming-task-pink{border-left-color:#ec4899}.upcoming-task-pink .upcoming-task-code{color:#db2777}.upcoming-task-green{border-left-color:#4ade80}.upcoming-task-green .upcoming-task-code{color:#2f9e55}.upcoming-task-blue{border-left-color:#60a5fa}.upcoming-task-blue .upcoming-task-code{color:#2563eb}.upcoming-task-orange{border-left-color:#fb923c}.upcoming-task-orange .upcoming-task-code{color:#ea580c}.upcoming-task-teal{border-left-color:#2dd4bf}.upcoming-task-teal .upcoming-task-code{color:#0d9488}.upcoming-task-red{border-left-color:#fb7185}.upcoming-task-red .upcoming-task-code{color:#e11d48}.upcoming-task-yellow{border-left-color:#facc15}.upcoming-task-yellow .upcoming-task-code{color:#ca8a04}.upcoming-task-default{border-left-color:#d1d5db}.upcoming-task-default .upcoming-task-code{color:#6b7280}.upcoming-tasks-more{justify-content:center;margin-top:12px;display:flex}.upcoming-tasks-more-button{color:#7c3aed;cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;transition:background .2s,transform .2s;display:inline-flex}.upcoming-tasks-more-button:hover{background:#f3e8ff;transform:translateY(1px)}@media (width<=600px){.upcoming-tasks{margin:24px auto;padding:0 16px}.upcoming-tasks-header{gap:14px;margin-bottom:12px}.upcoming-tasks-header h2{font-size:1.3rem}.upcoming-tasks-header a{font-size:.8rem}.upcoming-task{padding:13px 14px;border-radius:14px;min-height:0;padding-right:72px;display:block;position:relative}.upcoming-task-content{display:block}.upcoming-task-code{min-width:0;margin-bottom:5px;font-size:.75rem;display:block}.upcoming-task h3{margin-bottom:2px;font-size:.9rem}.upcoming-task p{font-size:.76rem}.upcoming-task time{font-size:.76rem;position:absolute;top:13px;right:14px}}.subject-page{margin-block:28px 64px;padding-block:0}.subject-page-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.subject-page h1{margin:4px 0 2px;font-size:2.45rem;line-height:1.05}.subject-page-name{color:#6b7280;margin:0;font-size:1rem;line-height:1.4}.subject-knowledge-base{background:#faf8ff;border:1px solid #e4d8fb;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px 32px;margin-top:24px;padding:18px 20px;display:flex}.subject-knowledge-base>div{flex:500px;min-width:0}.subject-knowledge-base h2{color:#211a32;margin:0;font-size:1.2rem;line-height:1.25}.subject-knowledge-base>div>p:last-child{color:#6b6475;max-width:650px;margin:6px 0 0;font-size:.88rem;line-height:1.5}.subject-knowledge-base button{color:#fff;font:inherit;cursor:pointer;background:#7c3aed;border:none;border-radius:10px;flex-shrink:0;padding:10px 16px;font-size:.85rem;font-weight:700;transition:background .2s,transform .2s}.subject-knowledge-base button:hover:not(:disabled){background:#6d28d9}.subject-knowledge-base button:active:not(:disabled){transform:translateY(1px)}.subject-knowledge-base button:disabled{cursor:wait;opacity:.65}.subject-knowledge-base button:focus-visible{outline-offset:3px;outline:2px solid #8b5cf6}.subject-knowledge-base>p{color:#625b6f;border-top:1px solid #e9ddfb;flex-basis:100%;margin:0;padding-top:12px;font-size:.84rem;line-height:1.5}.subject-progress-card{box-shadow:none;background:#fff;border:1px solid #ece7f5;border-radius:16px;margin-top:24px;padding:18px 20px}.subject-progress-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.subject-progress-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 3px;font-size:.72rem;font-weight:800}.subject-progress-header h2{color:#211a32;margin:0;font-size:1.2rem;line-height:1.25}.subject-progress-percentage{color:#7c3aed;flex-shrink:0;font-size:1.55rem;font-weight:800;line-height:1}.subject-progress-bar{background:#eee7fb;border-radius:999px;height:6px;margin-top:14px;overflow:hidden}.subject-progress-summary{color:#625b6f;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:9px;font-size:.84rem;display:flex}.subject-progress-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.subject-progress-category{background:#faf8ff;border:1px solid #ece7f5;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:9px 11px;display:flex}.subject-progress-category span{color:#625b6f;overflow-wrap:anywhere;min-width:0;font-size:.84rem}.subject-progress-category strong{color:#34284a;flex-shrink:0;font-size:.9rem}.subject-progress-status,.subject-progress-error{border-radius:12px;margin:20px 0 0;padding:14px 16px}.subject-progress-status{color:#6b6475;background:#f7f4fb}.subject-progress-error{color:#b42318;background:#fff0f0}.subject-features-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px;display:grid}.subject-topic-progress{box-shadow:none;background:#fff;border:1px solid #ece7f5;border-radius:16px;margin-top:28px;padding:18px 20px}.subject-topic-progress-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.subject-topic-progress-header h2{color:#211a32;margin:0;font-size:1.2rem}.subject-topic-progress-header>p{color:#7950c6;background:#f5f0ff;border-radius:999px;margin:0;padding:.35rem .65rem;font-size:.72rem;font-weight:700}.subject-topic-progress-list{gap:8px;display:grid}.subject-topic-progress-item{background:#faf8ff;border:1px solid #ece7f5;border-radius:11px;min-width:0;padding:12px 14px}.subject-topic-progress-top{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.subject-topic-progress-top h3{color:#34284a;overflow-wrap:anywhere;margin:0;font-size:.95rem;line-height:1.35}.subject-topic-progress-top p{color:#756d80;margin:2px 0 0;font-size:.78rem}.subject-topic-progress-top>strong{color:#7c3aed;flex-shrink:0;font-size:.9rem}.subject-topic-progress-bar{background:#e9e2f5;border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.subject-topic-progress-rating{color:#6f6878;margin:6px 0 0;font-size:.76rem}.subject-topic-progress-rating span{color:#84cc16;letter-spacing:.06em}.subject-topic-progress-more{justify-content:center;margin-top:12px;display:flex}.subject-topic-progress-more-button{color:#7c3aed;cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:40px;height:32px;padding:0;transition:background .2s,transform .2s;display:flex}.subject-topic-progress-more-button:hover{background:#f5f0ff}.subject-topic-progress-more-button:active{transform:translateY(1px)}.subject-topic-progress-more-button:focus-visible{outline-offset:2px;outline:2px solid #8b5cf6}@media (width<=1000px){.subject-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.subject-progress-categories{grid-template-columns:1fr}}@media (width<=700px){.subject-page{margin-block:24px 48px;padding-block:0}.subject-page h1{font-size:2rem}.subject-page-name{font-size:1rem}.subject-features-grid{grid-template-columns:1fr;gap:12px;margin-top:24px}}@media (width<=600px){.subject-knowledge-base{align-items:stretch;gap:16px;margin-top:20px;padding:16px}.subject-knowledge-base>div{flex-basis:100%}.subject-knowledge-base h2{font-size:1.1rem}.subject-knowledge-base button{width:100%}.subject-knowledge-base>p{padding-top:14px}.subject-progress-card{border-radius:16px;margin-top:20px;padding:16px}.subject-progress-header{gap:12px}.subject-progress-header h2{font-size:1.1rem}.subject-progress-percentage{font-size:1.4rem}.subject-progress-bar{height:6px;margin-top:14px}.subject-progress-summary{flex-direction:column;gap:5px;margin-top:9px;font-size:.82rem}.subject-progress-categories{gap:7px;margin-top:12px}.subject-progress-category{border-radius:10px;padding:9px 11px}.subject-progress-category span{font-size:.82rem}.subject-progress-category strong{font-size:.86rem}.subject-topic-progress{border-radius:20px;margin-top:24px;padding:18px}.subject-topic-progress-header{flex-direction:column;gap:8px;margin-bottom:14px}.subject-topic-progress-header h2{font-size:1.15rem}.subject-topic-progress-header>p{background:0 0;padding:0;font-size:.75rem;line-height:1.4}.subject-topic-progress-list{gap:8px}.subject-topic-progress-item{border-radius:12px;padding:12px 14px}.subject-topic-progress-top{gap:10px}.subject-topic-progress-top h3{font-size:.95rem}.subject-topic-progress-top p{font-size:.78rem}.subject-topic-progress-top>strong{font-size:.9rem}.subject-topic-progress-bar{height:6px;margin-top:8px}}.subject-syllabus{margin-top:28px}.subject-syllabus-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px;display:flex}.subject-syllabus-header h2{color:#211a32;margin:0;font-size:1.2rem;line-height:1.25}.subject-syllabus-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.subject-syllabus-topic{min-width:0}.subject-syllabus-topic-link{color:#34284a;background:#fff;border:1px solid #ece7f5;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:14px 16px;text-decoration:none;transition:border-color .2s,background .2s,transform .2s;display:flex}.subject-syllabus-topic-link h3{min-width:0;color:inherit;overflow-wrap:anywhere;margin:0;font-size:.95rem;font-weight:700;line-height:1.35}.subject-syllabus-topic-link svg{color:#8b5cf6;flex-shrink:0}.subject-syllabus-topic-link:hover{color:#7c3aed;background:#faf8ff;border-color:#d8c8f5}.subject-syllabus-topic-link:active{transform:translateY(1px)}.subject-syllabus-topic-link:focus-visible{outline-offset:2px;outline:2px solid #8b5cf6}@media (width<=700px){.subject-syllabus{margin-top:24px}.subject-syllabus-list{grid-template-columns:1fr;gap:8px}.subject-syllabus-topic-link{min-height:58px;padding:12px 14px}}.subject-feature-card{min-width:0;color:inherit;background:#fff;border:1px solid #ece7f5;border-radius:16px;flex-direction:column;gap:8px;padding:16px 18px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.subject-feature-card:hover{border-color:#d8cafa;transform:translateY(-2px);box-shadow:0 8px 18px #4c33700f}.subject-feature-icon{color:#8b5cf6;background:#f5f3ff;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.subject-feature-icon svg{width:20px;height:20px}.subject-feature-card h3{margin:0;font-size:1rem;font-weight:700;line-height:1.3}.subject-feature-card p{color:#6b7280;flex:1;margin:0;font-size:.86rem;line-height:1.4}.subject-feature-link{color:#8b5cf6;align-items:center;gap:4px;margin-top:2px;font-size:.86rem;font-weight:700;display:inline-flex}.subject-feature-card:hover .subject-feature-link{gap:6px}@media (width<=600px){.subject-feature-card{border-radius:14px;gap:7px;padding:14px 15px}.subject-feature-icon{border-radius:11px;width:36px;height:36px}.subject-feature-icon svg{width:18px;height:18px}.subject-feature-card h3{font-size:.95rem}.subject-feature-card p,.subject-feature-link{font-size:.84rem}}.sortable-note{min-width:0;position:relative}.sortable-note:has(.note-drag-handle) :is(.note-card,.folder-note-link){padding-left:38px}.note-drag-handle{width:28px;height:40px;color:var(--app-muted,#746d79);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.note-drag-handle:active{cursor:grabbing}.note-drag-handle:focus-visible,.is-drop-target{outline:2px solid var(--app-accent,#a879ee);outline-offset:2px;border-radius:16px}.note-drag-handle:disabled{cursor:wait;opacity:.5}.note-order-status{color:var(--app-muted,#746d79);font-size:.85rem}.note-order-status:empty{display:none}.sortable-folder{min-width:0;position:relative}.sortable-folder:has(.folder-drag-handle) .folder-card{padding-left:38px}.folder-drag-handle{width:28px;height:40px;color:var(--app-muted,#746d79);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.folder-drag-handle:active{cursor:grabbing}.folder-drag-handle:focus-visible,.is-drop-target{outline:2px solid var(--app-accent,#a879ee);outline-offset:2px;border-radius:16px}.folder-drag-handle:disabled{cursor:wait;opacity:.5}.folder-order-status{color:var(--app-muted,#746d79);font-size:.85rem}.folder-order-status:empty{display:none}.notes-page{margin-block:48px;padding-block:0}.notes-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-top:28px;display:flex}.notes-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:.85rem;font-weight:700}.notes-header h1{margin:0 0 8px}.notes-header p:last-child{margin:0}.notes-header-actions{align-items:center;gap:12px;display:flex}.generate-structure-button{color:#6d28d9;min-height:44px;font:inherit;cursor:pointer;background:#f4ecff;border:1px solid #d9c7f7;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,border-color .2s;display:inline-flex}.generate-structure-button:hover:not(:disabled){background:#eadcff;border-color:#b794f4;transform:translateY(-1px)}.generate-structure-button:disabled,.new-folder-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.structure-message{color:#5b21b6;background:#f7f1ff;border:1px solid #d8c7f3;border-radius:12px;margin:22px 0 0;padding:13px 15px;font-weight:600;line-height:1.5}.new-folder-button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#8b5cf6;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s;display:inline-flex}.new-folder-button:hover{background:#7c3aed;transform:translateY(-1px)}.notes-folders{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin-top:36px;display:grid}.notes-list{gap:20px;margin-top:40px;display:grid}.note-progress-preview{color:#8b5cf6;align-items:center;gap:12px;margin-top:8px;font-weight:600;display:flex}.rating-1{color:#ef4444}.rating-2{color:#f97316}.rating-3{color:#eab308}.rating-4{color:#84cc16}.rating-5{color:#22c55e}.note-card-wrapper .note-card{height:100%;padding-right:72px;display:block}.favorite-button{color:#8a8290;cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;font-size:1.7rem;transition:background-color .2s,color .2s,transform .2s;display:grid;position:absolute;top:20px;right:20px}.notes-error-message{color:#991b1b;background:#fee2e2;border-radius:12px;margin-top:20px;padding:12px 14px}.folder-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1c162273;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.folder-modal-header h2{margin:0;font-size:1.5rem}.folder-modal-close-button{color:#756d7c;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;padding:0;transition:background-color .2s,color .2s;display:grid}.folder-modal-close-button:hover{color:#493e51;background:#f4eff8}.folder-modal-close-button:disabled{cursor:not-allowed;opacity:.5}.folder-modal-form{gap:10px;display:grid}.folder-modal-form label{font-weight:700}.folder-modal-form input{color:#28232d;width:100%;min-height:48px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d9cfe2;border-radius:12px;outline:none;padding:0 14px;transition:border-color .2s,box-shadow .2s}.folder-modal-form input:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px #8b5cf61f}.folder-modal-form input:disabled{cursor:not-allowed;background:#f7f4f9}.folder-modal-form select{box-sizing:border-box;color:#28232d;width:100%;min-height:48px;font:inherit;cursor:pointer;appearance:none;background-color:#fff;background-image:linear-gradient(45deg,#0000 50%,#756d7c 50%),linear-gradient(135deg,#756d7c 50%,#0000 50%);background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px;background-repeat:no-repeat;background-size:5px 5px,5px 5px;border:1px solid #d9cfe2;border-radius:12px;outline:none;padding:0 42px 0 14px;transition:border-color .2s,box-shadow .2s,background-color .2s}.folder-modal-form select:hover{border-color:#b9a7ca}.folder-modal-form select:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px #8b5cf61f}.folder-modal-form select:disabled{color:#8a8290;cursor:not-allowed;background-color:#f7f4f9}.folder-modal-cancel-button,.folder-modal-submit-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s}.folder-modal-cancel-button{color:#403747;background:#f2edf5}.folder-modal-submit-button{color:#fff;background:#8b5cf6;justify-content:center;align-items:center;gap:8px;display:inline-flex}.folder-modal-cancel-button:hover{background:#e8e0ed}.folder-modal-submit-button:hover{background:#7c3aed;transform:translateY(-1px)}.folder-modal-cancel-button:disabled,.folder-modal-submit-button:disabled{cursor:not-allowed;opacity:.6;transform:none}@media (width<=650px){.notes-page{margin-block:24px 48px;padding-block:0}.notes-header{flex-direction:column;gap:16px;margin-top:24px}.notes-header h1{font-size:2rem;line-height:1.15}.notes-header p:last-child{font-size:.95rem;line-height:1.4}.notes-header-actions{flex-direction:column;gap:10px;width:100%}.generate-structure-button,.new-folder-button{width:100%;min-height:46px}.structure-message{margin-top:16px;padding:12px 14px;font-size:.9rem}.notes-folders{grid-template-columns:1fr;gap:12px;margin-top:24px}.notes-list{gap:12px;margin-top:24px}.note-card-wrapper .note-card{padding-right:58px}.favorite-button{width:36px;height:36px;top:14px;right:14px}.note-progress-preview{flex-wrap:wrap;gap:8px;font-size:.9rem}.notes-error-message{margin-top:16px;font-size:.9rem}.folder-modal-backdrop{align-items:center;padding:16px}.folder-modal{border-radius:18px;width:100%;max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto}.folder-modal-header{gap:12px;margin-bottom:20px}.folder-modal-header h2{font-size:1.3rem}.folder-modal-form input,.folder-modal-form select{min-height:46px}.folder-modal-actions{flex-direction:column-reverse;gap:10px;margin-top:18px}.folder-modal-cancel-button,.folder-modal-submit-button{width:100%;min-height:46px}.folder-delete-text,.folder-delete-info{font-size:.9rem}}.folder-delete-text{color:#332c38;margin:0;line-height:1.6}.folder-delete-info{color:#655b6c;background:#f7f3fa;border-radius:12px;margin:12px 0 0;padding:12px 14px;font-size:.92rem;line-height:1.5}.folder-modal-delete{color:#fff;background:#b42318;border:1px solid #b42318}.folder-modal-delete:hover:not(:disabled){background:#922018}.structured-notes{margin-top:28px}.notes-search>label{margin-bottom:8px;font-weight:600;display:block}.notes-search>input{box-sizing:border-box;width:100%;font:inherit;color:#28232d;background:#fff;border:1px solid #d9cfe2;border-radius:12px;padding:12px 14px}.notes-search>input:focus-visible,.notes-topic button:focus-visible,.notes-view-switch button:focus-visible{outline-offset:3px;outline:2px solid #8b5cf6}.notes-topic{border:1px solid #e5dced;border-radius:14px;margin-top:16px;overflow:hidden}.notes-topic h2{margin:0;font-size:1.1rem}.notes-topic h2 button{color:#403747;width:100%;font:inherit;text-align:left;cursor:pointer;background:#f7f3fa;border:0;flex-wrap:wrap;align-items:center;gap:10px;padding:18px;font-weight:600;display:flex}.notes-topic-count{margin-left:auto;font-size:.85rem;font-weight:400}.notes-subtopic{padding:0 16px 18px}.notes-subtopic>h3{color:#655b6c;margin:20px 0 12px;font-size:1rem}.notes-subtopic .notes-list{margin-top:0}.notes-view-switch{gap:8px;margin-top:24px;display:flex}.notes-view-switch button{color:#403747;font:inherit;cursor:pointer;background:#fff;border:1px solid #d9cfe2;border-radius:12px;padding:10px 16px}.notes-view-switch button[aria-pressed=true]{color:#6d28d9;background:#f4ecff;border-color:#8b5cf6;font-weight:600}.notes-search{margin-top:20px}.folder-card-wrapper{position:relative}.folder-card{color:#28232d;background:#fff;border:1px solid #e9e3f1;border-radius:16px;align-items:center;gap:12px;min-height:78px;padding:18px 64px 18px 20px;font-weight:700;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;box-shadow:0 6px 20px #30233d0f}.folder-card:hover{border-color:#cbb5e8;transform:translateY(-2px);box-shadow:0 10px 28px #4d32661a}.folder-card-icon{flex-shrink:0;font-size:1.5rem}.folder-card-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.folder-card-menu{position:absolute;top:14px;right:14px}.folder-card-menu-button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;width:34px;height:34px;transition:background-color .2s,color .2s;display:grid}.folder-card-menu-button:hover{color:#4b5563;background:#f3eff8}.folder-card-dropdown{z-index:100;background:#fff;border:1px solid #e5dff0;border-radius:12px;min-width:180px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 32px #1e142a1f}.folder-card-dropdown button{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.folder-card-dropdown button:hover{background:#f5f1fa}.folder-card-dropdown button:last-child{color:#b42318}.folder-card-dropdown button:last-child:hover{background:#fff1f0}.folder-modal-backdrop{z-index:1000;background:#1a141f73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.folder-modal{background:#fff;border:1px solid #e7deef;border-radius:20px;width:min(100%,440px);padding:24px;box-shadow:0 24px 70px #1f16283d}.folder-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.folder-modal-header h2{color:#28232d;margin:4px 0 0;font-size:1.4rem}.folder-modal-label{color:#8564a8;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.8rem;font-weight:800}.folder-modal-close{color:#6b6370;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.folder-modal-close:hover{color:#312a36;background:#f4f0f7}.folder-modal-close:disabled{cursor:not-allowed;opacity:.6}.folder-modal-field{color:#403847;gap:8px;font-size:.9rem;font-weight:700;display:grid}.folder-modal-field input{color:#28232d;width:100%;font:inherit;background:#fff;border:1px solid #dcd3e5;border-radius:12px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.folder-modal-field input:focus{border-color:#a985cd;box-shadow:0 0 0 4px #a985cd26}.folder-modal-field input:disabled{cursor:not-allowed;background:#f6f4f7}.folder-modal-error{color:#b42318;margin:10px 0 0;font-size:.88rem}.folder-modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.folder-modal-actions button{min-height:42px;font:inherit;cursor:pointer;border-radius:11px;padding:10px 16px;font-weight:700}.folder-modal-actions button:disabled{cursor:not-allowed;opacity:.65}.folder-modal-cancel{color:#4c4452;background:#fff;border:1px solid #ddd5e5}.folder-modal-cancel:hover:not(:disabled){background:#f7f4f9}.folder-modal-submit{color:#fff;background:#8564a8;border:1px solid #8564a8}.folder-modal-submit:hover:not(:disabled){background:#745394}.folder-card-content{gap:4px;min-width:0;display:grid}.folder-card-count{color:#817788;font-size:.84rem;font-weight:500}.folder-card-wrapper .folder-card,html[data-theme=dark] .folder-card-wrapper .folder-card{background:color-mix(in srgb, var(--folder-tone) 12%, var(--app-surface,#fff));border-left:3px solid color-mix(in srgb, var(--folder-tone) 55%, var(--app-surface,#fff))}.folder-card-icon{color:var(--folder-tone)}.note-card-wrapper{position:relative}.note-card{height:100%;color:inherit;padding:1.25rem;text-decoration:none;display:block}.note-card h3{margin:0 0 .5rem}.note-card p{margin:0}.note-card-actions{position:absolute;top:.9rem;right:.9rem}.note-menu{position:relative}.note-menu-button{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.note-menu-button:hover{background:#f2f2f2}.note-menu-dropdown{z-index:100;background:#fff;border-radius:12px;min-width:190px;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden;box-shadow:0 12px 30px #0000001f}.note-menu-dropdown button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;padding:12px 16px;display:flex}.note-menu-dropdown button:hover{background:#f7f7f7}.note-menu-dropdown .note-menu-delete-option{color:#c62828}.note-menu-dropdown .note-menu-delete-option:hover{background:#fff1f1}.note-modal-overlay{z-index:1000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.note-modal{box-sizing:border-box;background:#fff;border-radius:18px;width:min(440px,100vw - 40px);padding:24px;box-shadow:0 20px 60px #0003}.note-modal-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.note-modal-header h2{margin:0;font-size:1.35rem}.note-modal-close-button{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.note-modal-close-button:hover{background:#f2f2f2}.note-modal-message{margin:0;line-height:1.6}.note-move-options{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.note-move-option{cursor:pointer;border:1px solid #e8e8e8;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.note-move-option:hover{background:#f8f8f8}.note-move-option input{width:18px;height:18px}.note-rename-label{flex-direction:column;gap:8px;font-weight:600;display:flex}.note-rename-label input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #d8d8d8;border-radius:10px;padding:12px 14px;font-weight:400}.note-rename-label input:focus{border-color:#555;outline:none}.note-delete-warning{color:#c62828;margin:10px 0 0;font-size:.9rem}.note-modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.note-modal-cancel-button,.note-modal-submit-button,.note-modal-delete-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:10px 18px}.note-modal-cancel-button{background:#eee}.note-modal-submit-button{color:#fff;background:#222}.note-modal-delete-button{color:#fff;background:#c62828}.note-modal-submit-button:disabled,.note-modal-delete-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=500px){.note-modal-overlay{padding:16px}.note-modal{width:100%;padding:20px}.note-modal-actions{flex-wrap:wrap}}.note-page{margin-block:24px 56px;padding-block:0}.note-page-topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.note-page-topbar .back-link{color:#7c3aed;margin:0;font-size:.92rem;font-weight:650;text-decoration:none;transition:color .15s}.note-page-topbar .back-link:hover{color:#5b21b6}.note-navigation{align-items:center;gap:.4rem;display:flex}.note-navigation-button{color:#7c3aed;background:#ffffff8c;border:1px solid #8b5cf624;border-radius:9px;justify-content:center;align-items:center;min-height:36px;padding:.45rem .75rem;font-size:.84rem;font-weight:650;text-decoration:none;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.note-navigation-button:hover{color:#5b21b6;background:#ffffffe6;border-color:#8b5cf647;transform:translateY(-1px)}.note-label{color:#8b5cf6;font-weight:700}.note-content{background:#fff;border-radius:20px;margin-top:28px;padding:28px 32px;box-shadow:0 8px 20px #0000000a}.note-content pre{white-space:pre-wrap;margin:0;font-family:inherit;line-height:1.7}.note-page-divider{border:none;border-top:1px solid #9b6ee81a;max-width:900px;margin:2.75rem auto 1.75rem}@media (width<=700px){.note-page{margin-block:18px 44px;padding-block:0}.note-page-topbar{margin-bottom:1.25rem}.note-navigation{gap:.35rem}.note-navigation-button{min-height:36px;padding:.45rem .65rem;font-size:.8rem}.note-content{border-radius:18px;margin-top:22px;padding:20px 18px}.note-page-divider{margin:2rem auto 1.5rem}}@media (width<=520px){.note-page-topbar{flex-direction:column;align-items:flex-start;gap:.7rem}.note-navigation{width:100%}.note-navigation-button{flex:1}}.note-navigation-sticky{z-index:35;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#faf8fde0;border:1px solid #8b5cf614;border-radius:12px;width:fit-content;margin:-3.25rem 0 1.4rem auto;padding:.3rem;position:sticky;top:92px;box-shadow:0 6px 20px #1f18280d}@media (width<=700px){.note-navigation-sticky{z-index:50;background:#faf8fd;width:100%;margin:0 0 1rem;padding:.3rem;position:sticky;top:76px;box-shadow:0 6px 16px #1f18280f}}@media (width<=520px){.note-navigation-sticky{width:100%}}@media (width<=600px){.note-page{padding-bottom:72px}}.note-page:has(:is(.editable-note-reading,.editable-note-editing)){padding-bottom:0}.note-page:has(:is(.editable-note-reading,.editable-note-editing)) .note-navigation-sticky{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;margin:-3.25rem 0 1.4rem auto;position:static}@media (width<=700px){.note-page:has(:is(.editable-note-reading,.editable-note-editing)) .note-navigation-sticky{margin:0 0 1rem}}.editable-note{width:min(100%,980px);margin:0 auto}.editable-note-topbar{justify-content:space-between;align-items:center;gap:1rem;max-width:900px;margin:0 auto .65rem;padding:0 1.5rem;display:flex}.editable-note-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.editable-note-subject{color:#8a8390;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:700}.editable-note-actions{align-items:center;gap:.6rem;display:flex}.editable-note-edit-button,.editable-note-save-button,.editable-note-cancel-button{min-height:36px;font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:.4rem;padding:.45rem .75rem;font-size:.86rem;font-weight:650;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.editable-note-edit-button{color:#7c3aed;background:#ffffff8c;border:1px solid #8b5cf62e}.editable-note-edit-button:hover{background:#f8f5ff;border-color:#8b5cf659;transform:translateY(-1px)}.editable-note-save-button{color:#fff;background:#7c6ee6;border:1px solid #0000}.editable-note-save-button:hover{background:#6f60db;transform:translateY(-1px)}.editable-note-cancel-button{color:#4b5563;background:#fff;border:1px solid #e5e7eb}.editable-note-cancel-button:hover{background:#f9fafb;transform:translateY(-1px)}.editable-note-edit-button:disabled,.editable-note-save-button:disabled,.editable-note-cancel-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.editable-note-document-header{max-width:900px;margin:0 auto 1.4rem;padding:0 1.5rem}.editable-note-title{color:#24202a;letter-spacing:-.04em;margin:0;font-size:clamp(2.6rem,4.5vw,3.3rem);font-weight:750;line-height:1.05}.editable-note-description{color:#5f5964;max-width:780px;margin:1.3rem 0 0;font-size:1.08rem;line-height:1.7}.editable-note-title-input,.editable-note-description-input{width:100%;color:inherit;font:inherit;background:0 0;border:none;outline:none;margin:0;padding:0;display:block}.editable-note-title-input{color:#24202a;letter-spacing:-.04em;font-size:clamp(2.6rem,4.5vw,3.3rem);font-weight:750;line-height:1.05}.editable-note-title-input::placeholder{color:#c5bec9}.editable-note-description-input{resize:none;color:#5f5964;min-height:2rem;margin-top:1.3rem;font-size:1.08rem;line-height:1.7;overflow:hidden}.editable-note-description-input::placeholder{color:#b8b0bc}.editable-note-editor{width:100%;min-height:500px}.editable-note-content{color:#29252f;max-width:900px;min-height:300px;margin:0 auto;padding:.75rem 1.5rem 5rem;font-size:1.05rem;line-height:1.8}.editable-note-message{border-radius:10px;margin:0 0 1.25rem;padding:.75rem 1rem}.editable-note-success{color:#166534;background:#dcfce7}.editable-note-error{color:#991b1b;background:#fee2e2}.editable-note-save-status{color:#8b8490;white-space:nowrap;align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.editable-note-save-status-error{color:#c94f64}.editable-note-save-spinner{animation:.8s linear infinite editable-note-spin}@keyframes editable-note-spin{to{transform:rotate(360deg)}}.editable-note-classification{grid-template-columns:auto minmax(160px,1fr) auto minmax(190px,1fr);align-items:center;gap:.5rem;margin:.85rem 0 1.15rem;display:grid}.editable-note-classification label{color:#746d79;font-size:.88rem;font-weight:600}.editable-note-classification select{color:#332d38;width:100%;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #ded7e5;border-radius:10px;outline:none;padding:.6rem 2.1rem .6rem .8rem;transition:border-color .15s,box-shadow .15s}.editable-note-classification select:hover{border-color:#bca8e8}.editable-note-classification select:focus{border-color:#9b6ee8;box-shadow:0 0 0 3px #9b6ee81f}.editable-note-classification select:disabled{cursor:not-allowed;opacity:.55}.editable-note-multiple-subtopics{background:#fbfaff;border:1px solid #e5deeb;border-radius:12px;flex-direction:column;grid-column:1/-1;gap:.75rem;margin-top:.5rem;padding:1rem;display:flex}.editable-note-multiple-subtopics-title{color:#4b4450;font-size:.9rem;font-weight:700}.editable-note-topic-group{flex-direction:column;gap:.45rem;display:flex}.editable-note-topic-group-title{color:#746d79;font-size:.82rem;font-weight:700}.editable-note-topic-toggle{color:#5f5864;width:100%;font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .65rem;font-size:.84rem;font-weight:700;display:flex}.editable-note-topic-toggle:hover{background:#f5f1fb}.editable-note-topic-toggle-main{align-items:center;gap:.4rem;display:flex}.editable-note-topic-toggle-main svg{color:#8b73d9;flex-shrink:0}.editable-note-topic-selected-count{color:#7c6ee6;flex-shrink:0;font-size:.78rem;font-weight:650}.editable-note-topic-toggle+.editable-note-subtopic-options{padding:.2rem .65rem .55rem 1.7rem}.editable-note-subtopic-options{flex-wrap:wrap;gap:.45rem;display:flex}.editable-note-subtopic-option{color:#4f4854;cursor:pointer;background:#fff;border:1px solid #e1d9e8;border-radius:9px;align-items:center;gap:.45rem;padding:.45rem .65rem;font-size:.84rem;font-weight:500;display:inline-flex}.editable-note-subtopic-option:hover{background:#f8f5ff;border-color:#bca8e8}.editable-note-subtopic-option input{accent-color:#7c6ee6;cursor:pointer}.editable-note-classification-display{flex-wrap:wrap;gap:.35rem .7rem;margin:.6rem 0 0;display:flex}.editable-note-classification-display span{color:#8a8390;background:0 0;border:none;align-items:center;padding:0;font-size:.84rem;font-weight:600;display:inline-flex;position:relative}.editable-note-classification-display span+span:before{color:#b6aeba;content:"·";margin-right:.7rem}@media (width<=760px){.editable-note-classification{grid-template-columns:1fr;gap:.4rem}.editable-note-classification label:not(:first-child){margin-top:.5rem}}@media (width<=700px){.editable-note-topbar,.editable-note-document-header{padding-left:1rem;padding-right:1rem}.editable-note-title,.editable-note-title-input{font-size:2.6rem}.editable-note-content{padding-left:1rem;padding-right:1rem}}@media (width<=600px){.editable-note-topbar{margin-bottom:.6rem;padding:0}.editable-note-toolbar{margin-bottom:1rem}.editable-note-document-header{margin-bottom:1.2rem;padding:0}.editable-note-title,.editable-note-title-input{font-size:2.25rem;line-height:1.05}.editable-note-classification-display{gap:.3rem .55rem;margin-top:.5rem}.editable-note-classification-display span{font-size:.8rem}.editable-note-classification-display span+span:before{margin-right:.55rem}.editable-note-description,.editable-note-description-input{margin-top:1.05rem;font-size:1rem;line-height:1.6}.editable-note-content{padding:.5rem 0 4rem;font-size:1rem;line-height:1.75}.editable-note-edit-button,.editable-note-save-button,.editable-note-cancel-button{min-height:36px;padding:.45rem .65rem}.editable-note-save-status{font-size:0}.editable-note-save-status svg{width:17px;height:17px}}.editable-note-reading{width:100%}.editable-note-reading .editable-note-topbar{flex-wrap:wrap;justify-content:flex-start;gap:12px;max-width:none;margin:0;padding:0}.editable-note-reading .editable-note-subject{margin-right:auto}.editable-note-reading .editable-note-document-header{max-width:720px;margin:32px auto;padding:0}.editable-note-reading .editable-note-title{overflow-wrap:anywhere;font-size:clamp(2rem,4vw,3rem);line-height:1.15}.editable-note-reading .editable-note-description{margin-top:16px;font-size:1.08rem;line-height:1.7}.note-reading-tools{border-bottom:1px solid #e5dced;padding-bottom:14px}.note-reading-tools .note-ai-tools{background:0 0;border:0;max-width:none;margin:12px 0 0;padding:0}.note-reading-tools .note-ai-tools>h2{margin-bottom:8px;font-size:.8rem}.note-reading-tools .note-ai-actions>details{background:#faf8fd;padding:6px 10px}.editable-note-reading .resource-progress--compact{box-shadow:none;background:0 0;border-radius:0;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:0;display:flex}.resource-progress--compact .resource-completed{gap:6px;margin:0;font-size:.82rem}.resource-progress--compact .resource-rating{align-items:center;gap:6px;display:flex}.resource-progress--compact .resource-rating p{color:#746d79;margin:0;font-size:.78rem}.resource-progress--compact .stars{gap:0}.resource-progress--compact .stars button{width:26px;min-height:32px;font-size:1.25rem}@media (width>=1000px){.editable-note-reading .editable-note-document-header{margin-left:252px;margin-right:0}}.editable-note-editing{width:100%}.editable-note-editing .editable-note-topbar,.editable-note-editing .editable-note-document-header{max-width:820px;margin:0 auto 16px;padding:0}.editable-note-editing .editable-note-topbar{flex-wrap:wrap;gap:8px}.editable-note-editing .editable-note-actions{margin-left:auto}.editable-note-editing .editable-note-title-input{font-size:clamp(2rem,4vw,3rem);line-height:1.15}.editable-note-editing .editable-note-description-input{resize:vertical;margin-top:12px;line-height:1.7;overflow:auto}.editable-note-editing .editable-note-save-status{font-size:.8rem}.editable-note-classification-details{color:#5f5964;margin-top:12px;font-size:.85rem}.editable-note-classification-details>summary{cursor:pointer;font-weight:650;line-height:1.6}.editable-note-classification-details>summary>span{overflow-wrap:anywhere;margin-left:8px;font-weight:400}.editable-note-classification-details .editable-note-multiple-subtopics{max-height:260px;margin:10px 0 0;padding:12px;overflow-y:auto}.editable-note-editing :is(summary,input,textarea,button):focus-visible{outline-offset:3px;outline:2px solid #9b6ee8}.editable-note-editing .editable-note-topbar{max-width:none;margin:0;padding:0}.editable-note-editing .editable-note-actions{flex-wrap:wrap;justify-content:flex-end}.editable-note-editing .note-reading-header .editable-note-document-header{width:100%;max-width:720px;margin:32px auto;padding:0}.editable-note-editing .editable-note-description-input{margin-top:16px}.editable-note-editing .resource-progress--compact{box-shadow:none;background:0 0;border-radius:0;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:0;display:flex}@media (width>=1000px){.editable-note-editing .note-reading-header .editable-note-document-header{max-width:820px}}.resource-progress{background:#fff;border-radius:24px;padding:24px;box-shadow:0 8px 20px #0000000d}.resource-progress--default{margin-top:24px}.resource-completed{cursor:pointer;align-items:center;gap:12px;margin-bottom:24px;font-weight:600;display:flex}.resource-completed input{accent-color:#7c3aed;width:18px;height:18px}.resource-rating p{margin:0 0 12px;font-weight:600}.stars{gap:8px;display:flex}.stars button{color:#d1d5db;cursor:pointer;background:0 0;border:none;padding:0;font-size:2rem;line-height:1;transition:color .2s,transform .15s}.stars button:hover{color:#b38bf3;transform:translateY(-1px)}.stars button.star-1{color:#ef4444}.stars button.star-2{color:#f97316}.stars button.star-3{color:#eab308}.stars button.star-4{color:#84cc16}.stars button.star-5{color:#22c55e}.resource-progress--floating{z-index:40;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border:1px solid #8b5cf61f;border-radius:16px;width:190px;padding:14px 16px;position:fixed;top:220px;right:24px;box-shadow:0 10px 30px #1f182814,0 2px 8px #1f18280a}.resource-progress--floating .resource-completed{gap:8px;margin-bottom:12px;font-size:.88rem}.resource-progress--floating .resource-completed input{width:16px;height:16px}.resource-progress--floating .resource-rating p{color:#746d79;margin-bottom:7px;font-size:.78rem;font-weight:650}.resource-progress--floating .stars{gap:3px}.resource-progress--floating .stars button{font-size:1.3rem}@media (width<=1300px){.resource-progress--floating{border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;width:auto;padding:10px 14px;display:flex;inset:auto 16px 16px}.resource-progress--floating .resource-completed{flex-shrink:0;margin:0}.resource-progress--floating .resource-rating{align-items:center;gap:10px;display:flex}.resource-progress--floating .resource-rating p{margin:0}}@media (width<=600px){.resource-progress--floating{border-radius:12px;gap:.5rem;min-height:44px;padding:7px 10px;bottom:10px;left:10px;right:10px;box-shadow:0 8px 24px #1f18281f,0 2px 6px #1f18280d}.resource-progress--floating .resource-completed{white-space:nowrap;gap:6px;font-size:.78rem}.resource-progress--floating .resource-completed input{width:15px;height:15px}.resource-progress--floating .resource-rating{gap:0}.resource-progress--floating .resource-rating p{display:none}.resource-progress--floating .stars{gap:0}.resource-progress--floating .stars button{width:19px;font-size:1.08rem}}.note-editor{box-shadow:none;background:0 0;border:none;border-radius:0;overflow:visible}.note-editor-toolbar{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border:1px solid #9b6ee824;border-radius:12px;flex-wrap:wrap;align-items:center;gap:.35rem;max-width:900px;margin:0 auto;padding:.7rem .85rem;display:flex;position:sticky;top:104px;box-shadow:0 8px 28px #3426540f}.note-editor-toolbar>button,.note-editor-toolbar>.concept-picker-wrapper>button{color:#4c4358;width:38px;min-width:38px;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;margin:0;padding:0;font-size:.88rem;font-weight:650;transition:background .18s,color .18s,border-color .18s,transform .18s;display:flex}.note-editor-toolbar button:hover:not(:disabled){color:#7046c5;background:#f7f3ff;border-color:#9b6ee82e;transform:translateY(-1px)}.note-editor-toolbar button.is-active{color:#6f43c4;background:#eee5ff;border-color:#9b6ee833}.note-editor-toolbar button:disabled{cursor:not-allowed;opacity:.35}.note-editor-toolbar svg{stroke-width:2px}.toolbar-divider{background:#9b6ee82e;align-self:center;width:1px;height:24px;margin:0 .35rem}.note-editor-content{color:#29252f;outline:none;max-width:900px;min-height:420px;margin:0 auto;padding:3.5rem 1.5rem 5rem;font-size:1.05rem;line-height:1.85}.note-editor-content>:first-child{margin-top:0}.note-editor-content>:last-child{margin-bottom:0}.note-editor-content p{margin:.8rem 0}.note-editor-content h1,.note-editor-content h2,.note-editor-content h3{color:#241e2e;letter-spacing:-.025em;line-height:1.25}.note-editor-content h1{margin:2.5rem 0 1rem;font-size:clamp(2rem,4vw,2.8rem)}.note-editor-content h2{margin:2.25rem 0 .9rem;font-size:clamp(1.55rem,3vw,2rem)}.note-editor-content h3{margin:1.75rem 0 .75rem;font-size:1.3rem}.note-editor-content ul,.note-editor-content ol{margin:1rem 0;padding-left:1.65rem}.note-editor-content li{margin:.35rem 0;padding-left:.2rem}.note-editor-content blockquote{color:#574b68;background:#f8f4ff;border-left:4px solid #9b6ee8;border-radius:0 12px 12px 0;margin:1.5rem 0;padding:.9rem 1.1rem}.note-editor-content code{color:#7146bd;background:#f1edf6;border-radius:6px;padding:.15rem .35rem;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.note-editor-content pre{color:#f8f5fb;tab-size:2;background:#211d27;border:1px solid #ffffff14;border-radius:14px;margin:1.5rem 0;padding:1.35rem 1.5rem;line-height:1.65;position:relative;overflow-x:auto;box-shadow:0 10px 30px #221c2924}.note-editor-content pre code{color:#f8f5fb;white-space:pre;background:0 0;border-radius:0;min-width:max-content;padding:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;display:block}.note-editor-content .hljs-comment,.note-editor-content .hljs-quote{color:#9b91a4;font-style:italic}.note-editor-content .hljs-keyword,.note-editor-content .hljs-selector-tag,.note-editor-content .hljs-literal,.note-editor-content .hljs-section,.note-editor-content .hljs-link{color:#d79cff}.note-editor-content .hljs-string,.note-editor-content .hljs-title,.note-editor-content .hljs-name,.note-editor-content .hljs-type,.note-editor-content .hljs-attribute,.note-editor-content .hljs-symbol,.note-editor-content .hljs-bullet,.note-editor-content .hljs-addition,.note-editor-content .hljs-variable,.note-editor-content .hljs-template-tag,.note-editor-content .hljs-template-variable{color:#b5e8a5}.note-editor-content .hljs-number,.note-editor-content .hljs-meta,.note-editor-content .hljs-built_in,.note-editor-content .hljs-builtin-name,.note-editor-content .hljs-params{color:#f3c98b}.note-editor-content .hljs-function,.note-editor-content .hljs-title.function_,.note-editor-content .hljs-class,.note-editor-content .hljs-title.class_{color:#8ecdf4}.note-editor-content .hljs-tag,.note-editor-content .hljs-selector-id,.note-editor-content .hljs-selector-class,.note-editor-content .hljs-regexp,.note-editor-content .hljs-deletion{color:#f29aa3}.note-editor-content .hljs-operator,.note-editor-content .hljs-punctuation{color:#d8d0df}.note-editor-content .hljs-emphasis{font-style:italic}.note-editor-content .hljs-strong{font-weight:700}.note-editor-content hr{border:none;border-top:1px solid #9b6ee82e;margin:2.5rem 0}.note-editor-content p.is-editor-empty:first-child:before{float:left;color:#aaa1b3;content:"Begynn å skrive notatet ditt...";pointer-events:none;height:0}.tiptap-mathematics-render{cursor:pointer}.tiptap-mathematics-render[data-type=inline-math]{vertical-align:middle;margin:0 .18rem;display:inline-block}.tiptap-mathematics-render[data-type=block-math]{text-align:center;background:#faf8fd;border:1px solid #ebe6f2;border-radius:12px;width:100%;margin:1.5rem 0;padding:1.25rem 1.5rem;display:block;overflow-x:auto}.tiptap-mathematics-render--editable:hover{background:#f5f1fb}@media (width<=700px){.note-editor-toolbar{margin:0 .75rem;padding:.6rem;top:88px}.note-editor-toolbar button{flex:0 0 36px;width:36px;min-width:36px}.note-editor-content{min-height:60vh;padding:2.5rem 1.15rem 6rem;font-size:1rem}.note-editor-content pre{border-radius:12px;margin-left:-.25rem;margin-right:-.25rem;padding:1.1rem 1.15rem}}.image-upload-spinner{animation:.8s linear infinite image-upload-spin}@keyframes image-upload-spin{to{transform:rotate(360deg)}}.note-editor-content img{border-radius:12px;max-width:100%;height:auto;margin:1.5rem auto;display:block}.note-editor-content img.ProseMirror-selectednode{outline-offset:3px;outline:3px solid #9b6ee873}.note-editor-content [data-node-view-wrapper]{max-width:100%}.note-editor-content [data-resize-handle]{background:#7c4dce;border:2px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 2px 7px #2a1f3a40}.note-editor-content .note-callout{border:1px solid;border-radius:14px;margin:1.4rem 0;overflow:hidden}.note-editor-content .note-callout-body{padding:1.2rem 1.25rem}.note-editor-content .note-callout-body p{margin:0}.note-editor-content .note-callout-heading,.read-only-note-content .note-callout-heading{align-items:center;gap:.5rem;font-weight:700;display:flex}.note-editor-content .note-callout[data-callout-type=exam],.read-only-note-content .note-callout[data-callout-type=exam]{background:#f3fcf6;border-color:#9fd8b4}.note-editor-content .note-callout[data-callout-type=exam] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=exam] .note-callout-header{color:#1f7a4d;background:#dff5e7}.slash-menu-popover{z-index:1000;position:fixed}@media (width<=700px){.slash-menu-popover{right:12px;left:12px!important}.slash-menu-popover .slash-menu{width:100%;max-width:none}}.concept-picker-wrapper{display:flex;position:relative}.concept-picker-wrapper .concept-picker{z-index:1000;position:absolute;top:calc(100% + 8px);left:0}.note-callout-concept{flex-wrap:wrap;align-items:center;gap:.6rem;padding:.75rem 1.1rem 0;display:flex;position:relative}.note-callout-concept .concept-picker{flex-basis:100%;margin-top:.25rem;position:static}.note-callout-concept-selected{align-items:center;gap:.45rem;font-size:.95rem;font-weight:700;display:flex}.note-callout[data-callout-type=definition] .note-callout-concept-selected{color:#2d7147}.note-callout[data-callout-type=theorem] .note-callout-concept-selected{color:#b03838}.note-callout-concept-button,.note-callout-concept-change,.note-callout-concept-unlink{font:inherit;cursor:pointer;background:0 0;border:0}.note-callout-concept-button{color:#7c3aed;align-items:center;gap:.4rem;padding:0;font-size:.85rem;font-weight:600;display:inline-flex}.note-callout-concept-button:hover{color:#5b21b6}.note-callout-concept-change{color:#7c3aed;padding:0;font-size:.78rem;font-weight:600}.note-callout-concept-change:hover{color:#5b21b6}.note-callout-concept-unlink{color:#8b8492;border-radius:7px;place-items:center;width:26px;height:26px;padding:0;display:grid}.note-callout-concept-unlink:hover{color:#b53c3c;background:#ffffffa6}.note-callout-concept .concept-picker{margin-top:.5rem;position:static}.formula-concept-controls{white-space:nowrap;background:#fff;border:1px solid #ede9fe;border-radius:8px;align-items:center;gap:10px;padding:6px 10px;font-size:.8rem;display:flex;box-shadow:0 4px 14px #7c3aed14}.formula-concept-name{color:#6d28d9;align-items:center;gap:5px;font-weight:600;display:flex}.formula-concept-actions{align-items:center;gap:8px;display:flex}.formula-concept-actions:before{content:"";background:#ddd6fe;width:1px;height:14px}.formula-concept-actions button{color:#7c3aed;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.formula-concept-actions button:hover{color:#5b21b6}.formula-concept-actions button:last-child{color:#6b7280}.formula-concept-actions button:last-child:hover{color:#374151}.note-callout-concept-name{width:100%;color:inherit;font:inherit;background:0 0;border:0;border-bottom:1px solid #ddd6fe;outline:none;margin-bottom:10px;padding:6px 0;font-weight:600}.note-callout-concept-name:focus{border-bottom-color:#7c3aed}.note-callout-concept-name::placeholder{color:#a1a1aa;font-weight:400}.note-editor-toolbar{gap:6px;max-width:820px;padding:8px}.note-toolbar-group{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.note-toolbar-group+.note-toolbar-group{border-left:1px solid #e5dced;padding-left:6px}.note-toolbar-history{margin-left:auto}.note-toolbar-group>button,.note-toolbar-options>button,.note-toolbar-options>.concept-picker-wrapper>button,.note-toolbar-table>button{color:#4c4358;width:auto;min-width:34px;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:.82rem;font-weight:600;display:inline-flex}.note-editor-toolbar svg{flex-shrink:0}.note-toolbar-menu{color:#4c4358;font-size:.82rem}.note-toolbar-menu>summary{cursor:pointer;border:1px solid #e5dced;border-radius:7px;padding:8px 10px;font-weight:650}.note-toolbar-menu[open]{flex-basis:100%}.note-toolbar-menu[open]>summary{background:#faf8fd}.note-toolbar-options{flex-wrap:wrap;align-items:center;gap:4px;padding-top:6px;display:flex}.note-toolbar-options>.concept-picker-wrapper{position:relative}.note-toolbar-table{border-top:1px solid #e5dced;flex-wrap:wrap;align-items:center;gap:4px;width:100%;padding-top:6px;display:flex}.note-toolbar-table>span{color:#746d79;margin-right:4px;font-size:.78rem}.note-editor-toolbar :is(button,summary):focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.note-editor-content{overflow-wrap:anywhere;max-width:820px;padding:24px 0 5rem;font-size:1.04rem;line-height:1.8}.note-editor-content h1{font-size:2rem;line-height:1.2}.note-editor-content h2{border-bottom:1px solid #eae3f0;padding-bottom:.4rem;font-size:1.65rem;line-height:1.2}.note-editor-content h3{font-size:1.25rem;line-height:1.2}@media (width<=700px){.note-editor-toolbar{margin:0;position:static}.note-editor-content{font-size:1rem;line-height:1.75}.note-editor-content h1{font-size:1.8rem}.note-editor-content h2{font-size:1.45rem}.note-editor-content h3{font-size:1.22rem}.note-toolbar-group>button{padding:6px}.note-toolbar-history{margin-left:0}}.note-editor .note-reading-body .note-editor-content,.note-editor .note-reading-body .note-editor-toolbar{max-width:none}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/studienotater/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/studienotater/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/studienotater/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/studienotater/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/studienotater/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/studienotater/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/studienotater/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/studienotater/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/studienotater/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/studienotater/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/studienotater/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/studienotater/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/studienotater/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/studienotater/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/studienotater/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/studienotater/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/studienotater/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/studienotater/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/studienotater/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/studienotater/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/studienotater/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/studienotater/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/studienotater/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/studienotater/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/studienotater/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/studienotater/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/studienotater/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/studienotater/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/studienotater/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/studienotater/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/studienotater/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/studienotater/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/studienotater/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/studienotater/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/studienotater/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/studienotater/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}.concept-picker{box-sizing:border-box;background:#fff;border:1px solid #ede9fe;border-radius:12px;flex-direction:column;width:260px;padding:8px;display:flex;box-shadow:0 8px 24px #00000014}.concept-picker-header{color:#111827;justify-content:space-between;align-items:center;padding:4px 6px 10px;font-size:.9rem;font-weight:700;display:flex}.concept-picker-close{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:1.25rem;display:flex}.concept-picker-close:hover{color:#7c3aed;background:#f5f3ff}.concept-picker-search{box-sizing:border-box;color:#1f2937;width:100%;font:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:8px;outline:none;margin-bottom:8px;padding:8px 10px;font-size:.85rem}.concept-picker-search:focus{border-color:#7c3aed}.concept-picker-search::placeholder{color:#9ca3af}.concept-picker-list{flex-direction:column;gap:4px;display:flex}.concept-picker-empty{color:#6b7280;text-align:center;margin:0;padding:10px;font-size:.82rem}.concept-picker-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;height:auto;min-height:36px;padding:8px 10px;display:flex}.concept-picker-item:hover{background:#f5f3ff}.concept-picker-name{color:#1f2937;font-size:.9rem;font-weight:600}.concept-picker-type{color:#7c3aed;text-transform:uppercase;font-size:.7rem;font-weight:600}.concept-link{color:#7c3aed;cursor:pointer;border-bottom:1px dashed #7c3aed;font-weight:600;text-decoration:none}.concept-link:hover{color:#5b21b6;border-bottom-color:#5b21b6}.math-dialog-overlay{z-index:20000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#221c296b;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.math-dialog{background:#fff;border:1px solid #9b6ee82e;border-radius:20px;width:min(620px,100%);overflow:hidden;box-shadow:0 24px 70px #221c2938}.math-dialog-header{border-bottom:1px solid #9b6ee81f;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.5rem;display:flex}.math-dialog-header h2{color:#29252f;margin:0;font-size:1.25rem}.math-dialog-close-button{color:#5f5873;cursor:pointer;background:0 0;border:none;border-radius:9px;place-items:center;width:36px;height:36px;padding:0;display:grid}.math-dialog-close-button:hover{color:#7046c5;background:#f3efff}.math-dialog-content{gap:.6rem;padding:1.5rem;display:grid}.math-dialog-content label{color:#463752;font-weight:700}.math-dialog-content input{color:#29252f;width:100%;font:inherit;background:#fff;border:1px solid #9b6ee847;border-radius:12px;padding:.9rem 1rem}.math-dialog-content input:focus{border-color:#9b6ee8;outline:3px solid #9b6ee829}.math-dialog-actions{justify-content:flex-end;align-items:center;gap:.75rem;padding:1rem 1.5rem 1.5rem;display:flex}.math-dialog-actions button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.75rem 1.1rem;font-weight:700}.math-dialog-cancel-button{color:#6f4bb5;background:#f1ecfb}.math-dialog-cancel-button:hover{background:#e8ddff}.math-dialog-insert-button{color:#fff;background:#9b6ee8}.math-dialog-insert-button:hover:not(:disabled){background:#8758d8}.math-dialog-insert-button:disabled{cursor:not-allowed;opacity:.45}@media (width<=600px){.math-dialog-overlay{align-items:flex-end;padding:0}.math-dialog{border-radius:20px 20px 0 0;width:100%}.math-dialog-actions{flex-direction:column-reverse;align-items:stretch}.math-dialog-actions button{width:100%}}.math-symbol-groups{gap:1rem;margin-bottom:.5rem;display:grid}.math-symbol-group{gap:.6rem;display:grid}.math-symbol-group h3{color:#5f5873;margin:0;font-size:.9rem}.math-symbol-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.math-symbol-button{color:#3f354b;min-width:44px;min-height:40px;font:inherit;cursor:pointer;background:#faf8fd;border:1px solid #9b6ee833;border-radius:10px;padding:.45rem .7rem;font-size:1.05rem;font-weight:650}.math-symbol-button:hover{color:#7046c5;background:#f1eafd;border-color:#9b6ee861}.math-preview-section{gap:.55rem;margin-top:.75rem;display:grid}.math-preview-label{color:#463752;font-weight:700}.math-preview{color:#29252f;background:#faf8fd;border:1px solid #9b6ee829;border-radius:12px;justify-content:center;align-items:center;min-height:88px;padding:1rem 1.25rem;display:flex;overflow-x:auto}.math-preview:empty:before{color:#aaa1b3;content:"Formelen vises her";font-size:.92rem}.math-preview-error{color:#b42318;margin:0;font-size:.88rem;font-weight:600}.math-dialog{flex-direction:column;max-height:calc(100dvh - 3rem);display:flex}.math-dialog-header,.math-dialog-actions{flex-shrink:0}.math-dialog-content{min-height:0;overflow-y:auto}.math-symbol-groups{gap:.6rem}.math-symbol-groups select{color:#463752;width:100%;min-width:0;font:inherit;background:#faf8fd;border:1px solid #ded6e8;border-radius:9px;padding:.65rem .75rem;font-size:.9rem}.math-symbol-buttons{max-height:160px;padding:3px;overflow-y:auto}.math-symbol-button{font-size:.95rem}.math-dialog-help{color:#746d79;margin:0;font-size:.8rem;line-height:1.5}.math-dialog :is(button,select):focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.math-dialog-content input{font-family:SFMono-Regular,Consolas,monospace;font-size:.95rem}.math-preview{justify-content:flex-start}.math-preview>.katex-display{margin:0 auto}@media (width<=600px){.math-dialog{max-height:95dvh}.math-dialog-header,.math-dialog-content{padding:1rem}.math-dialog-actions{flex-direction:row;padding:.75rem 1rem}.math-dialog-actions button{width:auto}}.slash-menu{background:#fff;border:1px solid #ebe6f2;border-radius:14px;width:320px;max-height:340px;padding:.4rem;overflow-y:auto;box-shadow:0 16px 40px #1c15281f}.slash-menu-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:.85rem;width:100%;padding:.7rem;display:flex}.slash-menu-item:hover,.slash-menu-item.is-selected{background:#f5f1fb}.slash-menu-icon{color:#7a54d8;background:#f4effb;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.slash-menu-text{min-width:0}.slash-menu-title{color:#27242d;font-size:.95rem;font-weight:600}.slash-menu-description{color:#8a8494;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.82rem;overflow:hidden}.slash-menu-empty{color:#8a8494;text-align:center;padding:1rem}.read-only-note{max-width:900px;min-height:300px;margin:0 auto;padding:.5rem 1.5rem 5rem}.read-only-note-content{color:#29252f;outline:none;font-size:1.04rem;line-height:1.8}.read-only-note-content>:first-child{margin-top:0}.read-only-note-content>:last-child{margin-bottom:0}.read-only-note-content h1,.read-only-note-content h2,.read-only-note-content h3{color:#241e2e;letter-spacing:-.025em;font-weight:750;line-height:1.2}.read-only-note-content h1{margin:3rem 0 1rem;font-size:2rem}.read-only-note-content h2{margin:2.75rem 0 .9rem;font-size:1.65rem}.read-only-note-content h3{margin:2.1rem 0 .75rem;font-size:1.25rem}.read-only-note-content ul,.read-only-note-content ol{margin:.7rem 0 1rem;padding-left:1.5rem}.read-only-note-content li{margin:.2rem 0;padding-left:.15rem}.read-only-note-content blockquote{color:#5f5866;background:0 0;border-left:3px solid #8b5cf680;margin:1.25rem 0;padding:.35rem 0 .35rem 1rem}.read-only-note-content blockquote p{margin:.35rem 0}.read-only-note-content code{color:#7146bd;background:#f1edf6;border-radius:6px;padding:.15rem .35rem;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.read-only-note-content pre{color:#f8f5fb;tab-size:2;background:#211d27;border:1px solid #ffffff14;border-radius:14px;margin:1.4rem 0;padding:1.25rem 1.4rem;line-height:1.65;position:relative;overflow-x:auto;box-shadow:0 10px 30px #221c2924}.read-only-note-content pre code{color:#f8f5fb;white-space:pre;background:0 0;border-radius:0;min-width:max-content;padding:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;display:block}.read-only-note-content .hljs-comment,.read-only-note-content .hljs-quote{color:#9b91a4;font-style:italic}.read-only-note-content .hljs-keyword,.read-only-note-content .hljs-selector-tag,.read-only-note-content .hljs-literal,.read-only-note-content .hljs-section,.read-only-note-content .hljs-link{color:#d79cff}.read-only-note-content .hljs-string,.read-only-note-content .hljs-title,.read-only-note-content .hljs-name,.read-only-note-content .hljs-type,.read-only-note-content .hljs-attribute,.read-only-note-content .hljs-symbol,.read-only-note-content .hljs-bullet,.read-only-note-content .hljs-addition,.read-only-note-content .hljs-variable,.read-only-note-content .hljs-template-tag,.read-only-note-content .hljs-template-variable{color:#b5e8a5}.read-only-note-content .hljs-number,.read-only-note-content .hljs-meta,.read-only-note-content .hljs-built_in,.read-only-note-content .hljs-builtin-name,.read-only-note-content .hljs-params{color:#f3c98b}.read-only-note-content .hljs-function,.read-only-note-content .hljs-title.function_,.read-only-note-content .hljs-class,.read-only-note-content .hljs-title.class_{color:#8ecdf4}.read-only-note-content .hljs-tag,.read-only-note-content .hljs-selector-id,.read-only-note-content .hljs-selector-class,.read-only-note-content .hljs-regexp,.read-only-note-content .hljs-deletion{color:#f29aa3}.read-only-note-content .hljs-operator,.read-only-note-content .hljs-punctuation{color:#d8d0df}.read-only-note-content .hljs-emphasis{font-style:italic}.read-only-note-content .hljs-strong{font-weight:700}.read-only-note-content hr{border:none;border-top:1px solid #e8e1ee;margin:2.4rem 0}.read-only-note-content .tiptap-mathematics-render{cursor:default}.read-only-note-content .tiptap-mathematics-render[data-type=inline-math]{vertical-align:middle;margin:0 .15rem;display:inline-block}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{text-align:center;background:0 0;border:none;border-radius:0;width:100%;margin:1.4rem 0;padding:.35rem 0;display:block;overflow-x:auto}.read-only-note-content img{border-radius:12px;max-width:100%;height:auto;margin:1.4rem auto;display:block}.note-editor-content .tableWrapper,.read-only-note-content .tableWrapper{margin:1.6rem 0;overflow-x:auto}.note-editor-content table,.read-only-note-content table{border-collapse:collapse;table-layout:fixed;background:#fff;border:1px solid #ded6e8;border-radius:12px;width:100%;min-width:520px;overflow:hidden}.note-editor-content th,.note-editor-content td,.read-only-note-content th,.read-only-note-content td{vertical-align:top;text-align:left;border:1px solid #ded6e8;min-width:90px;padding:.75rem .9rem;position:relative}.note-editor-content th,.read-only-note-content th{color:#463752;background:#f6f1fd;font-weight:700}.note-editor-content td,.read-only-note-content td{background:#fff}.note-editor-content th p,.note-editor-content td p,.read-only-note-content th p,.read-only-note-content td p{margin:0}.note-editor-content .selectedCell:after{z-index:2;content:"";pointer-events:none;background:#9b6ee829;position:absolute;inset:0}.note-editor-content .column-resize-handle{z-index:20;pointer-events:none;background:#9b6ee8;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.note-editor-content.resize-cursor{cursor:col-resize}.note-editor-content .note-callout,.read-only-note-content .note-callout{border:1px solid;border-radius:14px;margin:1.4rem 0;position:relative;overflow:hidden}.note-editor-content .note-callout-header,.read-only-note-content .note-callout-header{border-bottom:1px solid #1e18260d;justify-content:space-between;align-items:center;gap:1rem;min-height:40px;padding:.5rem .9rem;display:flex}.note-editor-content .note-callout-heading,.read-only-note-content .note-callout-heading{align-items:center;gap:.45rem;font-size:.96rem;font-weight:700;display:flex}.note-editor-content .note-callout-heading svg,.read-only-note-content .note-callout-heading svg{width:17px;height:17px}.note-editor-content .note-callout-body,.read-only-note-content .note-callout-body{padding:.7rem .8rem .8rem}.note-editor-content .note-callout-body p,.read-only-note-content .note-callout-body p{margin:.4rem 0}.note-editor-content .note-callout-body>:first-child,.read-only-note-content .note-callout-body>:first-child{margin-top:0}.note-editor-content .note-callout-body>:last-child,.read-only-note-content .note-callout-body>:last-child{margin-bottom:0}.note-editor-content .note-callout-body .tiptap-mathematics-render[data-type=block-math],.read-only-note-content .note-callout-body .tiptap-mathematics-render[data-type=block-math]{margin:.9rem 0;padding:.2rem 0}.note-editor-content .note-callout-body blockquote,.read-only-note-content .note-callout-body blockquote{margin:.85rem 0}.note-editor-content .note-callout-body ul,.note-editor-content .note-callout-body ol,.read-only-note-content .note-callout-body ul,.read-only-note-content .note-callout-body ol{margin:.65rem 0}.note-editor-content .note-callout-actions{opacity:0;pointer-events:none;align-items:center;gap:.4rem;transition:opacity .15s;display:flex}.note-editor-content .note-callout:hover .note-callout-actions,.note-editor-content .note-callout:focus-within .note-callout-actions{opacity:1;pointer-events:auto}.note-editor-content .note-callout-type-select{height:32px;color:inherit;font:inherit;cursor:pointer;background:#ffffffb8;border:1px solid #1e18261f;border-radius:8px;padding:0 1.8rem 0 .65rem;font-size:.82rem}.note-editor-content .note-callout-delete-button{width:32px;height:32px;color:inherit;cursor:pointer;background:#ffffffb8;border:1px solid #1e18261f;border-radius:8px;place-items:center;padding:0;display:grid}.note-editor-content .note-callout-delete-button:hover{color:#b53c3c;background:#fff1f1;border-color:#e39a9a}.note-editor-content .note-callout:focus-within{outline-offset:2px;outline:3px solid #9b6ee826}.note-editor-content .note-callout[data-callout-type=definition],.read-only-note-content .note-callout[data-callout-type=definition]{background:#f8fcf9;border-color:#cce5d3}.note-editor-content .note-callout[data-callout-type=definition] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=definition] .note-callout-header{color:#2d7147;background:#edf8f0}.note-editor-content .note-callout[data-callout-type=tip],.read-only-note-content .note-callout[data-callout-type=tip]{background:#fffdf7;border-color:#eee1be}.note-editor-content .note-callout[data-callout-type=tip] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=tip] .note-callout-header{color:#8a651f;background:#fff7df}.note-editor-content .note-callout[data-callout-type=theorem],.read-only-note-content .note-callout[data-callout-type=theorem]{background:snow;border-color:#efd0d0}.note-editor-content .note-callout[data-callout-type=theorem] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=theorem] .note-callout-header{color:#a83c3c;background:#fceeee}.note-editor-content .note-callout[data-callout-type=example],.read-only-note-content .note-callout[data-callout-type=example]{background:#f8fbfe;border-color:#cbdff1}.note-editor-content .note-callout[data-callout-type=example] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=example] .note-callout-header{color:#2f6ea5;background:#edf5fc}@media (width<=700px){.read-only-note{padding-left:1rem;padding-right:1rem}.read-only-note-content{font-size:1rem;line-height:1.75}.read-only-note-content h1{font-size:1.8rem}.read-only-note-content h2{font-size:1.45rem}.read-only-note-content h3{font-size:1.22rem}.read-only-note-content pre{border-radius:12px;margin-left:-.25rem;margin-right:-.25rem;padding:1.1rem 1.15rem}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{margin:1.2rem 0;padding:.25rem 0}.note-editor-content .note-callout-header,.read-only-note-content .note-callout-header{min-height:42px;padding:.6rem .8rem}.note-editor-content .note-callout-body,.read-only-note-content .note-callout-body{padding:.8rem .85rem .9rem}}.read-only-note{grid-template-columns:minmax(0,1fr);gap:28px;max-width:none;padding:0 0 3rem;display:grid}.note-reading-body{width:100%;min-width:0;max-width:720px;margin:0 auto}.note-outline{color:#746d79;font-size:.84rem}.note-outline summary{cursor:pointer;color:#544a60;padding:8px 0;font-weight:700}.note-outline ol{margin:8px 0 0;padding:0;list-style:none}.note-outline a{color:inherit;overflow-wrap:anywhere;border-left:2px solid #e5dced;padding:7px 10px;line-height:1.45;text-decoration:none;display:block}.note-outline a:hover,.note-outline a[aria-current]{color:#7044af;background:#f2ecfa;border-color:#9b6ee8}.note-outline a:focus-visible,.note-outline summary:focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.read-only-note-content{overflow-wrap:anywhere}.read-only-note-content :is(h1,h2,h3,h4,h5,h6){scroll-margin-top:88px}.read-only-note-content h2{border-bottom:1px solid #eae3f0;padding-bottom:.4rem}.read-only-note-content :is(h4,h5,h6){color:#403747;margin:1.8rem 0 .6rem;line-height:1.4}.read-only-note-content p{margin:.9rem 0}.read-only-note-content .concept-link{color:inherit;font-weight:inherit;border-bottom:1px dotted #b7a6cb}.read-only-note-content .concept-link:hover{color:#7044af;border-color:#7044af}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{background:#faf8fd;border-radius:10px;padding:1rem}.read-only-note-content pre{box-shadow:none}.read-only-note-content img{margin:2rem auto}@media (width>=1000px){.read-only-note{grid-template-columns:fit-content(220px) minmax(0,1fr);gap:32px}.note-outline{align-self:start;min-width:0;max-height:calc(100vh - 104px);position:sticky;top:80px;overflow-y:auto}.note-reading-body{grid-column:2;max-width:820px}}@media (width<=999px){.note-outline{background:#faf8fd;border:1px solid #e5dced;border-radius:10px;width:100%;max-width:720px;margin:0 auto;padding:10px 14px}.note-outline ol{max-height:200px;overflow-y:auto}}.read-only-note-with-header{row-gap:0}.note-reading-header{min-width:0}@media (width>=1000px){.note-reading-header{grid-area:1/2}.read-only-note-with-header .note-outline{grid-area:1/1/span 2;margin-top:32px}.read-only-note-with-header .note-reading-body{grid-row:2}.editable-note-reading .note-reading-header .editable-note-document-header{max-width:820px;margin-left:auto;margin-right:auto}}@media (width<=999px){.read-only-note-with-header .note-outline{margin-bottom:28px}}.concept-suggestions{border-top:1px solid #e5e7eb;margin-top:40px;padding-top:32px}.concept-suggestions h2{color:#111827;margin:0 0 16px;font-size:1.25rem;font-weight:700}.concept-suggestions-list{flex-direction:column;gap:12px;display:flex}.concept-suggestion{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:24px;padding:16px 18px;display:flex}.concept-suggestion-content{flex:1;min-width:0}.concept-suggestion-content h3{color:#111827;margin:0 0 6px;font-size:1rem;font-weight:650}.concept-suggestion-content p{color:#6b7280;max-width:700px;margin:8px 0 0;font-size:.9rem;line-height:1.5}.concept-suggestion-type{color:#4b5563;background:#f3f4f6;border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:600;display:inline-block}.concept-suggestion-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.concept-suggestion-actions button{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 12px;font-size:.85rem;font-weight:600}.concept-suggestion-actions button:hover:not(:disabled){background:#f9fafb}.concept-suggestion-actions button:disabled{color:#9ca3af;cursor:not-allowed;background:#f9fafb}.concept-suggestion-content input,.concept-suggestion-content select,.concept-suggestion-content textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 10px;display:block}.concept-suggestion-content input{margin-bottom:8px;font-weight:600}.concept-suggestion-content select{width:auto;margin-bottom:8px}.concept-suggestion-content textarea{resize:vertical;min-height:80px;line-height:1.5}.concept-suggestion-content input:focus,.concept-suggestion-content select:focus,.concept-suggestion-content textarea:focus{border-color:#7c3aed;outline:none}.concept-suggestion-actions .concept-suggestion-accept:not(:disabled){color:#fff;background:#7c3aed;border-color:#7c3aed}.concept-suggestion-actions .concept-suggestion-accept:hover:not(:disabled){background:#6d28d9;border-color:#6d28d9}.concept-suggestion-editing{align-items:flex-end}@media (width<=700px){.concept-suggestion{flex-direction:column;align-items:stretch}.concept-suggestion-actions{flex-wrap:wrap}}.concept-popover{color:#1f2937;background:#fff;border:1px solid #ede9fe;border-radius:16px;width:min(360px,100vw - 32px);padding:18px 20px;box-shadow:0 12px 32px #0000001a}.concept-popover-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.concept-popover-type{color:#7c3aed;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:700}.concept-popover-close{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:1.25rem;display:flex}.concept-popover-close:hover{color:#7c3aed;background:#f5f3ff}.concept-popover h3{color:#111827;margin:8px 0 6px;font-size:1.05rem}.concept-popover p{color:#4b5563;margin:0;line-height:1.6}.concept-popover-related{border-top:1px solid #ede9fe;margin-top:14px;padding-top:12px}.concept-popover-related-label{color:#6b7280;margin-bottom:7px;font-size:.75rem;font-weight:600;display:block}.concept-popover-related-list{flex-wrap:wrap;gap:6px;display:flex}.concept-popover-related-item{color:#7c3aed;font:inherit;cursor:pointer;background:#f5f3ff;border:0;border-radius:7px;padding:5px 8px;font-size:.78rem;font-weight:600}.concept-popover-explanation{margin-top:10px}.concept-popover-explanation-toggle{color:#7c3aed;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:600}.concept-popover-explanation-toggle:hover{color:#5b21b6}.concept-popover .concept-popover-explanation-text{color:#4b5563;margin-top:8px;font-size:.85rem;line-height:1.6}.concept-popover-page-link{color:#7c3aed;margin-top:14px;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-block}.concept-popover-page-link:hover{color:#5b21b6}.concept-popover-note-content{flex-direction:column;gap:.85rem;margin-top:.9rem;display:flex}.concept-popover-note-item{border-top:1px solid #ede9fe;padding-top:.8rem}.concept-popover-note-item:first-child{border-top:0;padding-top:0}.concept-popover-note-type{color:#7c3aed;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.35rem;font-size:.7rem;font-weight:700;display:block}.concept-popover-note-html{color:#374151;font-size:.9rem;line-height:1.55}.concept-popover-note-html p{margin:0}.concept-popover-note-source{color:#9ca3af;margin-top:.45rem;font-size:.72rem;text-decoration:none;display:block}.concept-popover-note-source:hover{color:#7c3aed}.concept-popover-content-status{color:#9ca3af;margin:.75rem 0 0;font-size:.82rem}.flashcard-generator{max-width:900px;margin:4rem auto 2rem;padding:0 1.5rem}.flashcard-generator-header{justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1.5rem;display:flex}.flashcard-generator-header h2{color:#24202a;letter-spacing:-.025em;margin:0 0 .35rem;font-size:1.65rem;font-weight:750}.flashcard-generator-header p{color:#746d79;margin:0;font-size:.95rem}.flashcard-generate-button{color:#6f60db;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #7c6ee638;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;padding:.6rem .9rem;font-size:.9rem;font-weight:650;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.flashcard-generate-button:hover:not(:disabled){background:#f8f5ff;border-color:#7c6ee673;transform:translateY(-1px)}.flashcard-generate-button:disabled{cursor:not-allowed;opacity:.65}.flashcard-generator-spinner{animation:.8s linear infinite flashcard-generator-spin}@keyframes flashcard-generator-spin{to{transform:rotate(360deg)}}.flashcard-generator-error{color:#991b1b;background:#fee2e2;border-radius:10px;margin:1rem 0;padding:.8rem 1rem;font-size:.9rem}.flashcard-generator-results{gap:.85rem;display:grid}.flashcard-generator-summary{color:#746d79;margin:0 0 .25rem;font-size:.88rem;font-weight:600}.flashcard-generator-card{background:#ffffffa6;border:1px solid #e4dfea;border-radius:14px;grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1rem;padding:1rem;transition:border-color .15s,background .15s,opacity .15s;display:grid}.flashcard-generator-card.is-selected{background:#ffffffe6;border-color:#7c6ee64d}.flashcard-generator-card:not(.is-selected){opacity:.55}.flashcard-generator-card label{color:#625b68;flex-direction:column;gap:.4rem;font-size:.82rem;font-weight:650;display:flex}.flashcard-generator-select{cursor:pointer;align-items:center;min-height:40px;flex-direction:row!important;gap:.45rem!important}.flashcard-generator-select input{accent-color:#7c6ee6;width:16px;height:16px}.flashcard-generator-card textarea{box-sizing:border-box;color:#332d38;width:100%;min-height:76px;font:inherit;resize:vertical;background:#fff;border:1px solid #ded7e5;border-radius:10px;outline:none;padding:.7rem .8rem;font-size:.9rem;font-weight:400;line-height:1.45;transition:border-color .15s,box-shadow .15s}.flashcard-generator-card textarea:focus{border-color:#9b6ee8;box-shadow:0 0 0 3px #9b6ee81a}@media (width<=800px){.flashcard-generator-card{grid-template-columns:1fr}.flashcard-generator-select{min-height:auto}}@media (width<=600px){.flashcard-generator{margin-top:3rem;padding:0}.flashcard-generator-header{flex-direction:column;gap:1rem}.flashcard-generate-button{width:100%}}.flashcard-generator-result-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.flashcard-generator-success{color:#18794e;background:#ecfdf3;border-radius:10px;align-items:center;gap:.45rem;margin:1rem 0;padding:.8rem 1rem;font-size:.9rem;font-weight:600;display:flex}.flashcard-save-button{color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#7c6ee6;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;padding:.6rem .9rem;font-size:.9rem;font-weight:650;transition:background .15s,transform .15s,opacity .15s;display:inline-flex}.flashcard-save-button:hover:not(:disabled){background:#6f60db;transform:translateY(-1px)}.flashcard-save-button:disabled{cursor:not-allowed;opacity:.55}@media (width<=600px){.flashcard-generator-result-header{flex-direction:column;align-items:stretch}.flashcard-save-button{width:100%}}.flashcard-generator-placement{grid-column:1/-1}.flashcard-generator-placement select{border:1px solid var(--app-border,#ded7e5);background:var(--app-surface,#fff);width:100%;min-width:0;color:var(--app-text,#332d38);font:inherit;border-radius:10px;padding:.6rem .8rem}.note-summary-result{border:1px solid #e5dced;border-radius:12px;padding:18px;line-height:1.65}.note-summary-result>p{color:#746d79;margin-top:0;font-size:.85rem}.note-summary-result>div{white-space:pre-wrap;overflow-wrap:anywhere}.note-ai-tools{color:#403747;background:#faf8fd;border:1px solid #e5dced;border-radius:12px;max-width:900px;margin:20px auto;padding:14px 18px}.note-ai-tools>h2{color:#6f60db;align-items:center;gap:8px;margin:0 0 10px;font-size:1rem;display:flex}.note-ai-actions{flex-wrap:wrap;gap:8px;display:flex}.note-ai-actions>details{border:1px solid #e5dced;border-radius:8px;padding:8px 12px}.note-ai-actions>details[open]{flex-basis:100%}.note-ai-actions summary{cursor:pointer;font-size:.9rem;font-weight:600}.note-ai-actions summary:focus-visible,.note-ai-actions button:focus-visible{outline-offset:3px;outline:2px solid #8b5cf6}.note-ai-tools .flashcard-generator{margin:16px 0 0;padding:0}.note-ai-tools .flashcard-generator-header{flex-wrap:wrap;gap:12px;margin-bottom:10px}.note-ai-tools .flashcard-generator-header h2{font-size:1.1rem}.note-ai-tools blockquote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #c4b5fd;max-height:140px;margin:12px 0;padding:8px 12px;overflow:auto}.note-ai-explanation>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.flashcards-error{color:#dc2626}.flashcard-all-practice-card{background:linear-gradient(135deg,#fff 0%,#faf7ff 100%);border:1px solid #8b5cf624;border-radius:26px;justify-content:space-between;align-items:center;gap:32px;margin-top:32px;padding:32px;display:flex;box-shadow:0 12px 30px #8b5cf614}.flashcard-all-practice-card h2{color:#17142a;margin:6px 0 10px}.flashcard-all-practice-card p{color:#6b7280;margin:0}.flashcard-topics{flex-direction:column;gap:36px;margin-top:36px;display:flex}.flashcard-topic-section{background:#ffffff9e;border:1px solid #8b5cf61a;border-radius:26px;flex-direction:column;gap:22px;padding:28px;display:flex}.flashcard-topic-header{justify-content:space-between;align-items:center;gap:28px;display:flex}.flashcard-topic-header h2{color:#17142a;margin:5px 0 8px}.flashcard-topic-header p:not(.flashcard-topic-label){color:#6b7280;margin:0}.flashcard-topic-label,.flashcard-subtopic-label{color:#8b5cf6;letter-spacing:.09em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.flashcard-subtopics{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.flashcard-subtopic-card{background:#fff;border:1px solid #17142a12;border-radius:20px;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex;box-shadow:0 7px 18px #0000000a}.flashcard-subtopic-card h3{color:#17142a;margin:5px 0 8px;font-size:1.05rem}.flashcard-subtopic-card span{color:#6b7280;font-size:.92rem;font-weight:600}.flashcard-primary-button,.flashcard-secondary-button,.flashcard-end-practice{cursor:pointer;font:inherit;border:none;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s,opacity .2s}.flashcard-primary-button{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:14px;flex-shrink:0;padding:13px 20px;box-shadow:0 8px 18px #8b5cf638}.flashcard-primary-button:hover{transform:translateY(-2px);box-shadow:0 11px 24px #8b5cf647}.flashcard-secondary-button{color:#7c3aed;background:#f4edff;border-radius:13px;flex-shrink:0;padding:11px 16px}.flashcard-secondary-button:hover{background:#ede1ff;transform:translateY(-2px)}.flashcard-primary-button:disabled,.flashcard-secondary-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}.flashcard-end-practice{color:#7c3aed;background:0 0;margin-bottom:28px;padding:0}.flashcard-end-practice:hover{transform:translate(-3px)}.flashcard-practice-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.flashcard-practice-header h1{margin-bottom:0}.flashcard-practice-progress{color:#6b7280;font-weight:700}.flashcard-progress-track{background:#ebe7f2;border-radius:999px;width:100%;height:10px;margin-top:22px;overflow:hidden}.flashcard-progress-bar{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#c084fc);height:100%;transition:width .25s}.flashcard-practice-card{cursor:pointer;text-align:left;color:#17142a;background:#fff;border:1px solid #8b5cf61a;border-radius:30px;flex-direction:column;justify-content:space-between;width:min(100%,760px);min-height:370px;margin:42px auto 0;padding:46px;transition:transform .2s,box-shadow .2s,background .2s;display:flex;box-shadow:0 18px 45px #412a731a}.flashcard-practice-card:hover{transform:translateY(-4px);box-shadow:0 24px 55px #412a7324}.flashcard-practice-card-flipped{background:linear-gradient(145deg,#fff,#faf5ff)}.flashcard-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 24px;font-size:.88rem;font-weight:800}.flashcard-practice-card h2{color:#17142a;white-space:pre-wrap;margin:auto 0;font-size:clamp(1.5rem,3vw,2.15rem);line-height:1.45}.flashcard-hint{color:#8b8b99;margin-top:34px;font-size:.9rem;display:block}.flashcard-practice-navigation{justify-content:space-between;gap:18px;width:min(100%,760px);margin:26px auto 0;display:flex}@media (width<=800px){.flashcard-all-practice-card,.flashcard-topic-header{flex-direction:column;align-items:flex-start}.flashcard-subtopics{grid-template-columns:1fr}.flashcard-subtopic-card{flex-direction:column;align-items:flex-start}.flashcard-primary-button,.flashcard-secondary-button{width:100%}}@media (width<=600px){.flashcard-all-practice-card{border-radius:20px;gap:18px;margin-top:24px;padding:20px}.flashcard-all-practice-card h2{margin:5px 0 8px;font-size:1.2rem;line-height:1.35}.flashcard-all-practice-card p{font-size:.9rem}.flashcard-topics{gap:20px;margin-top:24px}.flashcard-topic-section{border-radius:20px;gap:16px;padding:18px}.flashcard-topic-header{gap:14px}.flashcard-topic-header h2{margin:4px 0 6px;font-size:1.2rem;line-height:1.35}.flashcard-subtopics{gap:12px}.flashcard-subtopic-card{border-radius:16px;gap:14px;padding:16px}.flashcard-subtopic-card h3{margin:4px 0 6px;font-size:1rem}.flashcard-subtopic-card span{font-size:.85rem}.flashcard-primary-button,.flashcard-secondary-button{border-radius:12px;min-height:44px;padding:11px 14px}.flashcard-end-practice{margin-bottom:20px}.flashcard-practice-header{flex-direction:column;align-items:flex-start;gap:8px}.flashcard-practice-header h1{font-size:1.8rem;line-height:1.2}.flashcard-practice-progress{font-size:.9rem}.flashcard-progress-track{height:8px;margin-top:16px}.flashcard-practice-card{border-radius:22px;min-height:280px;margin-top:24px;padding:24px 20px}.flashcard-label{margin-bottom:16px;font-size:.8rem}.flashcard-practice-card h2{font-size:1.4rem;line-height:1.4}.flashcard-hint{margin-top:22px;font-size:.85rem}.flashcard-practice-navigation{flex-direction:column-reverse;gap:10px;margin-top:18px}.flashcard-practice-navigation button{width:100%}}.math-text-inline{display:inline}.math-text-block{text-align:center;margin:1rem 0;display:block;overflow-x:auto}.video-topics{gap:56px;margin-top:40px;display:grid}.video-topic-section{gap:28px;display:grid}.video-topic-section>h2{color:#17142a;margin:0;font-size:1.7rem}.video-subtopics{gap:40px;display:grid}.video-subtopic-section{gap:18px;display:grid}.video-subtopic-section>h3{color:#39344f;margin:0;font-size:1.2rem}.video-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;display:grid}.video-card{text-align:left;color:inherit;background:#fff;border:none;border-radius:24px;padding:0;transition:transform .2s,box-shadow .2s;overflow:hidden;box-shadow:0 8px 20px #0000000d}.video-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #00000014}.video-card iframe{aspect-ratio:16/9;border:none;width:100%;display:block}.video-thumbnail-button{cursor:pointer;background:0 0;border:none;width:100%;padding:0;display:block;position:relative}.video-thumbnail-button img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.play-button{color:#fff;background:red;border-radius:14px;justify-content:center;align-items:center;width:64px;height:44px;font-size:1.3rem;transition:transform .2s,background .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.video-thumbnail-button:hover .play-button{background:#d90000;transform:translate(-50%,-50%)scale(1.08)}.video-card h4{color:#17142a;margin:0;padding:18px 20px 12px;font-size:1rem;line-height:1.45}.video-card .resource-progress{padding:0 20px 22px}@media (width<=700px){.video-topics{gap:32px;margin-top:24px}.video-topic-section{gap:20px}.video-topic-section>h2{font-size:1.4rem;line-height:1.3}.video-subtopics{gap:24px}.video-subtopic-section{gap:14px}.video-subtopic-section>h3{font-size:1.05rem}.video-grid{grid-template-columns:1fr;gap:16px}.video-card{border-radius:20px}.video-card:hover{transform:none}.play-button{border-radius:12px;width:56px;height:40px;font-size:1.1rem}.video-card h4{padding:14px 16px 10px;font-size:.95rem;line-height:1.4}.video-card .resource-progress{padding:0 16px 18px}}.exam-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;width:100%;margin-top:2rem;display:grid}.exam-section{background:#fff;border:1px solid #ece8f7;border-radius:20px;flex-direction:column;min-width:0;padding:1.5rem;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 8px 24px #00000009}.exam-section:hover{border-color:#d8c7ff;transform:translateY(-3px);box-shadow:0 14px 36px #8b5cf61a}.exam-section h2{margin:0;font-size:1.55rem;line-height:1.2}.exam-meta{color:#6b7280;margin:.35rem 0 1.25rem;font-weight:500}.exam-row{width:100%;color:inherit;background:#faf8ff;border:1px solid #ece8f7;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:flex}.exam-row+.exam-row{margin-top:.75rem}.exam-row:hover{background:#f5efff;border-color:#d8c7ff;transform:translate(3px)}.exam-row span:first-child{font-weight:600}.exam-arrow{color:#8b5cf6;flex-shrink:0;font-size:1.3rem;transition:transform .2s}.exam-row:hover .exam-arrow{transform:translate(4px)}@media (width<=800px){.exam-list{grid-template-columns:1fr;gap:1rem}}@media (width<=700px){.exam-list{margin-top:1.5rem}.exam-section{border-radius:18px;padding:1rem}.exam-section:hover{transform:none}.exam-section h2{font-size:1.25rem;line-height:1.25}.exam-meta{margin:.3rem 0 1rem;font-size:.9rem}.exam-row{border-radius:12px;padding:.85rem .95rem}.exam-row:hover{transform:none}.exam-row span:first-child{font-size:.95rem}.exam-arrow{font-size:1.15rem}}.exam-progress-overview{background:#fff;border:1px solid #ece8f7;border-radius:20px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 8px 24px #00000009}.exam-progress-header{justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.exam-progress-label{color:#8b5cf6;text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.78rem;font-weight:700}.exam-progress-header h2{margin:.25rem 0 0;font-size:1.5rem}.exam-progress-percent{color:#7c3aed;flex-shrink:0;font-size:2.25rem;font-weight:800;line-height:1}.exam-progress-bar{background:#f1eefb;border-radius:999px;height:9px;margin:1.25rem 0;overflow:hidden}.exam-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#a855f7);height:100%;transition:width .3s}.exam-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.exam-progress-card{background:#faf8ff;border:1px solid #ece8f7;border-radius:14px;grid-template-columns:1fr auto;align-items:center;gap:.25rem 1rem;padding:1rem 1.1rem;display:grid}.exam-progress-title{color:#8b5cf6;font-size:.85rem;font-weight:700}.exam-progress-card strong{color:#201a39;grid-area:1/2/3;font-size:1.6rem}.exam-progress-card small{color:#6b7280;font-size:.8rem}@media (width<=700px){.exam-progress-overview{padding:1.25rem}.exam-progress-header{align-items:flex-start}.exam-progress-header h2{font-size:1.25rem}.exam-progress-percent{font-size:1.9rem}.exam-progress-grid{grid-template-columns:1fr}}.all-notes-description{color:#777183;max-width:620px;margin:.75rem 0 2rem;font-size:1rem;line-height:1.6}.all-notes-years{flex-direction:column;gap:3rem;display:flex}.all-notes-year{min-width:0}.all-notes-year-title{color:#241f2d;margin:0 0 1.25rem;font-size:1.25rem;font-weight:700}.all-notes-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}@media (width<=900px){.all-notes-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.all-notes-years{gap:2.5rem}.all-notes-year-title{margin-bottom:1rem;font-size:1.1rem}.all-notes-subject-grid{grid-template-columns:1fr}}.subject-card{min-height:180px;color:inherit;background:#fff;border:1px solid #e5e7eb;border-left:4px solid #d1d5db;border-radius:20px;flex-direction:column;padding:24px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 8px 20px #0000000a}.subject-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #00000012}.subject-card-icon{color:#6b7280;background:#f3f4f6;border-radius:14px;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:16px;display:inline-flex}.subject-card .subject-code{color:#6b7280;margin:0 0 8px;font-size:.85rem;font-weight:700}.subject-card h3{margin:0;font-size:1.1rem;line-height:1.35}.subject-year{color:#6b7280;margin:auto 0 0;padding-top:20px;font-size:.9rem}.subject-card-purple{--subject-accent:#8b5cf6;--subject-text:#7c3aed;--subject-soft:#f3ecff;border-left-color:var(--subject-accent)}.subject-card-purple .subject-code{color:var(--subject-text)}.subject-card-purple .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-pink{--subject-accent:#ec4899;--subject-text:#db2777;--subject-soft:#fff0f5;border-left-color:var(--subject-accent)}.subject-card-pink .subject-code{color:var(--subject-text)}.subject-card-pink .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-green{--subject-accent:#4ade80;--subject-text:#2f9e55;--subject-soft:#eefaf1;border-left-color:var(--subject-accent)}.subject-card-green .subject-code{color:var(--subject-text)}.subject-card-green .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-blue{--subject-accent:#60a5fa;--subject-text:#2563eb;--subject-soft:#eef6ff;border-left-color:var(--subject-accent)}.subject-card-blue .subject-code{color:var(--subject-text)}.subject-card-blue .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-orange{--subject-accent:#fb923c;--subject-text:#ea580c;--subject-soft:#fff7ed;border-left-color:var(--subject-accent)}.subject-card-orange .subject-code{color:var(--subject-text)}.subject-card-orange .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-teal{--subject-accent:#2dd4bf;--subject-text:#0d9488;--subject-soft:#f0fdfa;border-left-color:var(--subject-accent)}.subject-card-teal .subject-code{color:var(--subject-text)}.subject-card-teal .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-red{--subject-accent:#fb7185;--subject-text:#e11d48;--subject-soft:#fff1f2;border-left-color:var(--subject-accent)}.subject-card-red .subject-code{color:var(--subject-text)}.subject-card-red .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-yellow{--subject-accent:#facc15;--subject-text:#ca8a04;--subject-soft:#fefce8;border-left-color:var(--subject-accent)}.subject-card-yellow .subject-code{color:var(--subject-text)}.subject-card-yellow .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-default{--subject-accent:#d1d5db;--subject-text:#6b7280;--subject-soft:#f3f4f6;border-left-color:var(--subject-accent)}.all-flashcards-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:32px;display:grid}.flashcard-deck-card{background:#fff;border-radius:24px;min-height:220px;padding:32px;box-shadow:0 8px 20px #0000000d}.flashcard-deck-card h3{margin:8px 0 12px}.deck-button{text-align:center;color:#fff;background:#b38bf3;border-radius:999px;width:100%;margin-top:24px;padding:14px;font-weight:600;text-decoration:none;display:block}.all-videos-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:32px;display:grid}.video-subject-card{color:inherit;background:#fff;border-radius:24px;padding:32px;text-decoration:none;transition:transform .2s;box-shadow:0 8px 20px #0000000d}.video-subject-card:hover{transform:translateY(-4px)}.video-subject-card h3{margin:8px 0}.pdf-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px;display:grid}.pdf-card{color:inherit;background:#fff;border-radius:20px;align-items:center;gap:16px;padding:16px 20px;text-decoration:none;transition:transform .2s;display:flex;box-shadow:0 8px 20px #0000000d}.pdf-card:hover{transform:translateY(-4px)}.pdf-icon{font-size:2rem}.pdf-card h3{margin:0}.pdf-arrow{color:#8b5cf6;margin-left:auto;font-size:1.2rem}.pdf-category-section{margin-top:40px}.pdf-category-section h2{margin-bottom:16px}@media (width<=768px){.pdf-grid{grid-template-columns:1fr}}.pdf-card-content{gap:8px;display:grid}.pdf-progress-preview{color:#8b5cf6;align-items:center;gap:12px;font-size:.9rem;font-weight:600;display:flex}.pdf-rating.rating-1{color:#ef4444}.pdf-rating.rating-2{color:#f97316}.pdf-rating.rating-3{color:#eab308}.pdf-rating.rating-4{color:#84cc16}.pdf-rating.rating-5{color:#22c55e}.pdf-card-wrapper{position:relative}.pdf-card-wrapper .pdf-card{padding-right:72px}.favorite-button{color:#8a8290;cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;transition:background-color .2s,color .2s,transform .2s;display:grid;position:absolute;top:18px;right:18px}.favorite-button:hover{color:#8c63cf;background:#f4ecff;transform:scale(1.08)}.favorite-button.is-favorite{color:#9a67d2}.pdf-viewer{border:none;border-radius:20px;width:100%;height:900px;margin-top:0}.pdf-learning-panel{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;display:flex}.pdf-learning-panel .resource-progress{width:100%;margin-bottom:0}.pdf-summary-action{align-items:center;display:flex}.pdf-summary-button{color:#6d28d9;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd6fe;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1rem;font-weight:700;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.pdf-summary-button:hover{background:#f5f3ff;border-color:#c4b5fd;transform:translateY(-1px)}.pdf-summary-button:disabled{cursor:default;opacity:.65;transform:none}.pdf-open-button{color:#6d28d9;font:inherit;background:#fff;border:1px solid #ddd6fe;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.pdf-open-button:hover{background:#f5f3ff;border-color:#c4b5fd;transform:translateY(-1px)}.pdf-mobile-viewer{margin-top:.75rem}@media (width<=700px){.pdf-learning-panel{flex-direction:column}.pdf-summary-action{width:100%}.pdf-summary-button{width:100%;min-height:auto}.pdf-viewer{border-radius:14px;height:700px;margin-top:16px}.pdf-open-button{width:100%}}.pdf-summary-modal-backdrop{z-index:10000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#18182380;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.pdf-summary-modal{background:#fff;border-radius:22px;width:min(100%,1050px);max-height:calc(100vh - 4rem);padding:1.25rem 3rem 3rem;position:relative;overflow-y:auto;box-shadow:0 24px 60px #0f172a2e,0 8px 24px #0f172a14}.pdf-summary-modal-close{z-index:10;color:#374151;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border:1px solid #e5e7eb;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:-44px;margin-left:auto;padding:0;transition:background .2s,border-color .2s,color .2s,transform .15s;display:flex;position:sticky;top:0;box-shadow:0 4px 12px #0f172a0f}.pdf-summary-modal-close:hover{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe;transform:translateY(-1px)}.pdf-summary-modal-content{width:100%;max-width:900px;margin:0 auto;padding-top:2.25rem}@media (width<=700px){.pdf-summary-modal-backdrop{align-items:flex-start;padding:.75rem}.pdf-summary-modal{border-radius:18px;width:100%;max-height:calc(100vh - 1.5rem);padding:.75rem 1.25rem 2rem}.pdf-summary-modal-close{border-radius:10px;width:40px;height:40px;margin-bottom:-40px;top:0}.pdf-summary-modal-content{padding-top:2.5rem}}.all-pdfs-description{color:#777183;max-width:620px;margin:.75rem 0 2rem;font-size:1rem;line-height:1.6}.all-pdfs-years{flex-direction:column;gap:3rem;display:flex}.all-pdfs-year{min-width:0}.all-pdfs-year-title{color:#241f2d;margin:0 0 1.25rem;font-size:1.25rem;font-weight:700}.all-pdfs-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}@media (width<=900px){.all-pdfs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.all-pdfs-years{gap:2.5rem}.all-pdfs-year-title{margin-bottom:1rem;font-size:1.1rem}.all-pdfs-grid{grid-template-columns:1fr}}.semester-card{background:#fff;border-radius:24px;margin-top:32px;padding:28px;box-shadow:0 8px 20px #0000000d}.semester-card h2{margin:0 0 20px}.year-buttons{flex-wrap:wrap;gap:12px;display:flex}.year-buttons button{cursor:pointer;background:#eee7fb;border:none;border-radius:999px;padding:12px 20px;font-weight:600}.year-buttons button.active-year{color:#fff;background:#b38bf3}.semester-subject-list{gap:14px;display:grid}.semester-subject-item{cursor:pointer;background:#fbf7ff;border-radius:18px;align-items:center;gap:12px;padding:16px 18px;display:flex}.semester-subject-item input{width:18px;height:18px}.semester-card ul{margin:0;padding-left:20px}.semester-card li{margin-bottom:8px}.custom-subject-form{grid-template-columns:1fr 1fr auto;gap:12px;display:grid}.custom-subject-form input{border:1px solid #e2d8f0;border-radius:16px;padding:14px 16px;font-size:1rem}.custom-subject-form button{color:#fff;cursor:pointer;background:#b38bf3;border:none;border-radius:999px;padding:14px 20px;font-weight:600}@media (width<=768px){.custom-subject-form{grid-template-columns:1fr}}.selected-subject-item{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.remove-subject-button{color:#7c3aed;cursor:pointer;background:#f3e8ff;border:none;border-radius:999px;padding:8px 14px;font-weight:600}.semester-finish{background:#fff;border-radius:24px;justify-content:space-between;align-items:center;gap:1rem;margin-top:32px;padding:24px 28px;display:flex;box-shadow:0 8px 20px #0000000d}.semester-finish-info{color:#7c7483;margin:0;font-size:.95rem}.semester-finish-button{color:#fff;font:inherit;cursor:pointer;background:#8b5cf6;border:none;border-radius:999px;padding:14px 22px;font-weight:700;transition:background .2s,transform .15s,opacity .15s}.semester-finish-button:hover{background:#7c3aed;transform:translateY(-1px)}.semester-finish-button:disabled{cursor:not-allowed;opacity:.45;transform:none}@media (width<=768px){.semester-finish{flex-direction:column;align-items:stretch}.semester-finish-button{width:100%}}.year-subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;display:grid}@media (width<=900px){.year-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.year-subjects-grid{grid-template-columns:1fr}}.exam-page-section{margin-top:40px}.exam-page-section h2{margin-bottom:20px}.exam-page-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.exam-page-card{border:1px solid #e5e7eb;border-left:4px solid var(--subject-accent);background:#fff;border-radius:20px;min-width:0;padding:24px;box-shadow:0 8px 20px #0000000d}.exam-page-card .exam-page-code{color:var(--subject-text);margin:0 0 8px;font-weight:700}.exam-page-card h3{margin:0 0 16px}.exam-page-card p{color:#6b647c;margin:0 0 12px}.exam-page-card span{background:var(--subject-soft);color:var(--subject-text);border-radius:999px;padding:8px 14px;font-weight:700;display:inline-block}@media (width<=1024px){.exam-page-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.exam-page-grid{grid-template-columns:1fr}}.study-plan-list{gap:24px;margin-top:32px;display:grid}.study-plan-card{background:#fff;border-radius:24px;min-width:0;padding:28px;box-shadow:0 8px 20px #0000000d}.study-plan-card h2{margin:0 0 24px}.study-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.study-plan-grid h3{color:#8b5cf6;margin:0 0 12px}.study-plan-item{cursor:pointer;align-items:flex-start;gap:10px;padding:10px 0;font-weight:600;line-height:1.4;display:flex}.study-plan-item input{flex-shrink:0;width:18px;height:18px;margin-top:1px}.study-plan-item span{overflow-wrap:anywhere;min-width:0}.study-plan-summary{background:#fff;border-radius:24px;gap:16px;margin-top:32px;padding:28px;display:grid;box-shadow:0 8px 20px #0000000d}.study-plan-summary-label{color:#8b5cf6;margin:0 0 8px;font-weight:700}.study-plan-summary h2{margin:0}.study-plan-summary>p{color:#6b647c;margin:0;font-weight:700}.study-plan-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.study-plan-card-header>div{min-width:0}.study-plan-card-header h2{overflow-wrap:anywhere;margin:0 0 8px}.study-plan-card-header p{color:#6b647c;margin:0;font-weight:600}.study-plan-card-header>span{color:#6b647c;flex-shrink:0;font-weight:700}.study-plan-progress-bar{background:#eee7fb;border-radius:999px;height:12px;margin-bottom:24px;overflow:hidden}.study-plan-progress-fill{background:#b38bf3;border-radius:999px;height:100%;transition:width .3s}.study-plan-resources{border-top:1px solid #eee7fb;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px;padding-top:24px;display:grid}.study-plan-resources>div{min-width:0}.study-plan-resources h3{color:#8b5cf6;margin:0 0 12px}.study-plan-resource-item{min-width:0;color:inherit;align-items:flex-start;gap:10px;padding:10px 0;font-weight:600;line-height:1.4;text-decoration:none;display:flex}.study-plan-resource-item>span:first-child{flex-shrink:0}.study-plan-resource-item>span:last-child{overflow-wrap:anywhere;min-width:0}.study-plan-resource-item:hover{color:#8b5cf6}.book-progress-card{cursor:pointer;background:#fff;border-radius:24px;margin-top:32px;margin-bottom:32px;padding:32px;transition:transform .2s;box-shadow:0 8px 20px #00000008}.book-progress-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.book-progress-header>div{min-width:0}.book-progress-header h2{overflow-wrap:anywhere;margin:8px 0}.study-plan-book-item{color:inherit;padding:14px 0;text-decoration:none;display:block}.study-plan-book-item-header{justify-content:space-between;gap:16px;font-weight:700;display:flex}.study-plan-book-item-header span:first-child{overflow-wrap:anywhere;min-width:0}.study-plan-book-item-header span:last-child{flex-shrink:0}.study-plan-book-item p{color:var(--muted-text);margin:6px 0 0;font-size:.9rem}.study-plan-progress-bar.small{height:8px;margin-top:8px}@media (width<=900px){.study-plan-grid,.study-plan-resources{grid-template-columns:1fr}}@media (width<=600px){.study-plan-list{gap:16px;margin-top:24px}.study-plan-summary{border-radius:20px;gap:12px;margin-top:24px;padding:18px}.study-plan-summary-label{margin-bottom:6px;font-size:.9rem}.study-plan-summary h2{font-size:1.2rem;line-height:1.35}.study-plan-summary>p{font-size:.95rem}.study-plan-card{border-radius:20px;padding:18px}.study-plan-card-header{gap:12px;margin-bottom:14px}.study-plan-card-header h2{margin-bottom:6px;font-size:1.25rem;line-height:1.3}.study-plan-card-header p{font-size:.9rem;line-height:1.4}.study-plan-card-header>span{font-size:.9rem}.study-plan-progress-bar{height:10px;margin-bottom:18px}.study-plan-grid{gap:20px}.study-plan-grid h3{margin-bottom:8px;font-size:1rem}.study-plan-item{gap:9px;padding:8px 0;font-size:.95rem}.study-plan-item input{width:17px;height:17px}.study-plan-resources{gap:20px;margin-top:20px;padding-top:18px}.study-plan-resources h3{margin-bottom:8px;font-size:1rem}.study-plan-resource-item{gap:9px;padding:8px 0;font-size:.95rem}.book-progress-card{border-radius:20px;margin-top:24px;margin-bottom:24px;padding:18px}.book-progress-header{flex-direction:column;gap:8px}.book-progress-header h2{font-size:1.2rem;line-height:1.35}.study-plan-book-item{padding:8px 0}.study-plan-book-item-header{gap:10px;font-size:.95rem}.study-plan-book-item p{font-size:.85rem}}.book-progress-link{color:inherit;text-decoration:none;display:block}.book-progress-card{background:#fff;border-radius:24px;margin-top:32px;margin-bottom:32px;padding:32px;box-shadow:0 8px 20px #00000008}.book-progress-card:hover{transform:translateY(-2px)}.book-progress-header{justify-content:space-between;gap:24px;display:flex}.book-progress-header h2{margin:8px 0}.book-page-grid{grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:8px;margin-top:20px;display:grid}.book-page-cell{color:#17132f;cursor:pointer;background:#fff;border:1px solid #e6d8ff;border-radius:10px;padding:10px 0;font-size:.85rem;font-weight:700;transition:all .2s}.book-page-cell:hover{background:#f3ebff;transform:translateY(-1px)}.book-page-cell.is-read{color:#fff;background:#a855f7;border-color:#a855f7}.programming-page{margin-block:0;padding-block:48px}.programming-hero{margin-bottom:40px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#7c3aed;margin-bottom:12px;font-size:.8rem;font-weight:700}.programming-hero h1{margin-bottom:16px;font-size:clamp(2.2rem,5vw,4rem)}.programming-hero p{color:#5f6472;max-width:650px;line-height:1.7}.programming-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;display:grid}.programming-card{background:#fff;border-radius:24px;padding:28px;box-shadow:0 10px 30px #7864b41f}.programming-card h2{margin-bottom:10px}.programming-card p{color:#6b7280;margin-bottom:20px;line-height:1.6}.programming-tags{flex-wrap:wrap;gap:10px;display:flex}.programming-tag{color:#6d28d9;background:#f3e8ff;border-radius:999px;padding:8px 12px;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s}.programming-tag:hover{background:#e9d5ff;transform:translateY(-2px)}.programming-topic-page{margin-block:0;padding-block:48px}.back-link{color:#6d28d9;align-items:center;gap:8px;margin-bottom:32px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:hover{text-decoration:underline}.lesson-header{margin-bottom:40px}.lesson-header h1{margin-bottom:12px;font-size:clamp(2.5rem,5vw,4rem)}.lesson-header p{color:#6b7280;line-height:1.7}.lesson-section{margin-bottom:48px}.lesson-section h2{margin-bottom:16px}.lesson-section p{color:#4b5563;line-height:1.8}.programming-doc-layout{grid-template-columns:240px minmax(0,1fr);gap:48px;margin-block:0;padding-block:48px;display:grid}.programming-sidebar{background:#fff;border-radius:24px;align-self:start;max-height:calc(100vh - 144px);padding:24px;position:sticky;top:120px;overflow-y:auto;box-shadow:0 10px 30px #7864b41f}.programming-sidebar h2{margin-bottom:20px}.sidebar-link{color:#4b5563;border-radius:12px;padding:10px 12px;font-weight:600;text-decoration:none;display:block}.sidebar-link:hover,.sidebar-link.active{color:#6d28d9;background:#f3e8ff}.programming-doc-content{max-width:850px}.topic-lessons-section h2{margin-bottom:20px}.topic-lessons-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.topic-lesson-card{color:#1f1b3d;background:#fff;border-radius:18px;padding:20px;font-weight:700;text-decoration:none;transition:all .2s;box-shadow:0 10px 30px #7864b41f}.topic-lesson-card:hover{color:#6d28d9;transform:translateY(-3px)}.code-block{background:#282c34;border:1px solid #6d28d92e;border-radius:16px;margin:20px 0;overflow:hidden}.code-block-header{background:#f8f5ff;border-bottom:1px solid #6d28d924;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.code-block-header span{color:#6d28d9;text-transform:lowercase;font-size:.85rem;font-weight:700}.code-block-header button{color:#4b5563;cursor:pointer;background:#fff;border:none;border-radius:10px;padding:6px 10px;font-weight:700;box-shadow:0 4px 12px #7864b41f}.code-block-header button:hover{color:#6d28d9}.lesson-code{margin:20px 0}.lesson-output{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;margin:20px 0;overflow:hidden}.lesson-output-header{color:#6b7280;background:#f3f4f6;border-bottom:1px solid #e5e7eb;padding:10px 16px;font-weight:700}.lesson-output pre{white-space:pre-wrap;margin:0;padding:16px;font-family:monospace}.lesson-callout{border:1px solid;border-radius:16px;margin:20px 0;overflow:hidden}.lesson-callout-header{border-bottom:1px solid;align-items:center;gap:8px;padding:10px 16px;font-weight:700;display:flex}.lesson-callout p{margin:0;padding:16px;line-height:1.7}.lesson-callout-tip{background:#fefce8;border-color:#facc15}.lesson-callout-tip .lesson-callout-header{color:#854d0e;background:#fde68a;border-color:#facc15}.lesson-callout-tip p{color:#44403c}.lesson-callout-warning{background:#fff1f2;border-color:#fb7185}.lesson-callout-warning .lesson-callout-header{color:#9f1239;background:#ffe4e6;border-color:#fb7185}.lesson-callout-warning p{color:#4c0519}.lesson-callout-note{background:#eff6ff;border-color:#93c5fd}.lesson-callout-note .lesson-callout-header{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.lesson-callout-note p{color:#1e3a8a}.about-page{margin-block:0;padding-block:64px 96px}.about-header{max-width:720px;margin-bottom:48px}.about-label{color:#9067d8;letter-spacing:.12em;margin-bottom:12px;font-size:.78rem;font-weight:800;display:inline-block}.about-header h1{letter-spacing:-.04em;margin:0 0 16px;font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.08}.about-header p{color:#686372;max-width:650px;margin:0;font-size:1.08rem;line-height:1.7}.about-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:48px;display:grid}.about-feature-card{background:#ffffffb8;border:1px solid #8e69d21f;border-radius:18px;gap:18px;padding:24px;transition:transform .2s,box-shadow .2s;display:flex}.about-feature-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #4e376e14}.about-feature-icon{background:#f0e7ff;border-radius:14px;flex:0 0 46px;place-items:center;width:46px;height:46px;font-size:1.25rem;display:grid}.about-feature-card h2{margin:1px 0 7px;font-size:1.05rem}.about-feature-card p{color:#716b78;margin:0;font-size:.94rem;line-height:1.55}.about-info{border-top:1px solid #231c2d1a;border-bottom:1px solid #231c2d1a;grid-template-columns:.8fr 1.2fr;gap:48px;padding:40px 0;display:grid}.about-info h2{margin:0;font-size:1.8rem}.about-info p{color:#686372;margin:0;line-height:1.8}.about-development{background:#f4ecff;border-radius:20px;margin-top:40px;padding:32px}.about-development h2{margin-bottom:12px;font-size:1.4rem}.about-development p{color:#666;margin:0;line-height:1.7}.about-development span{color:#7752b6;background:#fff;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.8rem;font-weight:700}@media (width<=700px){.about-page{padding-top:40px}.about-features,.about-info{grid-template-columns:1fr}.about-info{gap:20px}.about-development{flex-direction:column;align-items:flex-start}}.favorites-page{margin-block:0;padding-block:48px 80px}.favorites-page h1{margin-bottom:8px}.favorites-description{color:#666;margin-bottom:40px}.favorites-section{margin-bottom:48px}.favorites-section h2{margin-bottom:20px}.favorites-grid{grid-template-columns:repeat(auto-fill,minmax(320px,360px));justify-content:start;gap:20px;display:grid}.favorite-card{color:inherit;background:#fff;border-radius:20px;padding:24px;text-decoration:none;transition:all .2s;display:block;box-shadow:0 8px 20px #0000000d}.favorite-card:hover{transform:translateY(-3px)}.favorite-card h3{margin-bottom:8px}.favorite-card p{color:#777}.favorites-empty{color:#817a89;margin:0;font-style:normal}.favorites-label{color:#9168d7;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:800}.favorites-page h1{letter-spacing:-.03em;margin:0 0 12px;font-size:2.4rem}.favorites-section h2{margin-bottom:18px;font-size:1.35rem}.favorites-empty-state{text-align:center;background:#fff;border-radius:24px;margin-top:48px;padding:48px}.favorites-empty-state h2{margin-bottom:12px}.favorites-empty-state p{color:#777}.exam-viewer-page{padding-top:.75rem}.exam-compact-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;min-height:44px;margin-bottom:.75rem;display:grid}.exam-compact-back{color:#7c3aed;white-space:nowrap;font-weight:700;text-decoration:none;transition:color .2s}.exam-compact-back:hover{color:#5b21b6}.exam-compact-title{color:#8b5cf6;letter-spacing:.04em;text-transform:uppercase;grid-column:2;justify-content:center;align-items:center;gap:.45rem;min-width:0;font-size:.9rem;font-weight:700;display:flex}.exam-compact-title span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.exam-compact-title strong{color:#201a39;white-space:nowrap;font-weight:800}.exam-compact-separator{color:#b9a8e8}.exam-workspace{grid-template-columns:210px minmax(0,1fr);gap:.9rem;height:calc(100vh - 160px);min-height:650px;display:grid}.exam-workspace-sidebar{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.exam-workspace-sidebar .exam-task-tracker{flex:1;grid-template-columns:1fr;min-height:0;margin:0;padding:.9rem;overflow-y:auto}.exam-workspace-sidebar .exam-task-tracker h2{margin-bottom:.75rem;font-size:1.15rem}.exam-workspace-sidebar .exam-task-item{width:100%;padding:.65rem .7rem}.exam-workspace-sidebar .exam-task-progress{margin-top:.35rem}.exam-workspace-pdf{min-width:0;height:100%}.exam-viewer{background:#fff;border:none;border-radius:16px;width:100%;height:100%;display:block;box-shadow:0 10px 28px #0000000d}.exam-mobile-pdf-link{display:none}@media (width<=1100px){.exam-workspace{grid-template-columns:190px minmax(0,1fr)}.exam-compact-title{justify-content:flex-start}}@media (width<=900px){.exam-compact-header{grid-template-columns:1fr;gap:.45rem}.exam-compact-title{grid-column:1;justify-content:flex-start}.exam-workspace{grid-template-columns:1fr;height:auto}.exam-workspace-sidebar{height:auto;overflow:visible}.exam-workspace-sidebar .exam-task-tracker{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.exam-workspace-pdf{width:100%;height:80vh;min-height:600px}.exam-viewer{width:100%;max-width:100%;height:100%}}@media (width<=600px){.exam-viewer-page{padding-top:.25rem}.exam-compact-header{gap:.35rem;margin-bottom:.5rem}.exam-compact-back{font-size:.9rem}.exam-compact-title{flex-wrap:wrap;gap:.3rem;font-size:.75rem;line-height:1.35}.exam-workspace{gap:.75rem}.exam-workspace-sidebar .exam-task-tracker{border-radius:18px;grid-template-columns:1fr;padding:.75rem}.exam-workspace-sidebar .exam-task-tracker h2{margin-bottom:.65rem;font-size:1.05rem}.exam-workspace-sidebar .exam-task-item{padding:.5rem .6rem}.exam-workspace-sidebar .exam-task-item+.exam-task-item{margin-top:.4rem}.exam-workspace-sidebar .exam-task-progress{margin-top:.6rem}.exam-workspace-pdf{width:100%;height:auto;min-height:0;overflow:visible}.exam-viewer{display:none}.exam-mobile-pdf-link{box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:14px;justify-content:center;align-items:center;width:100%;min-height:52px;padding:.85rem 1rem;font-size:.95rem;font-weight:700;text-decoration:none;display:flex;box-shadow:0 8px 18px #8b5cf62e}}.exam-task-tracker{background:#fff;border:1px solid #ece8f7;border-radius:20px;margin:1.5rem 0;padding:1.25rem;box-shadow:0 8px 24px #00000009}.exam-task-tracker h2{margin:0 0 1rem;font-size:1.4rem}.exam-task-tracker{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.exam-task-tracker h2,.exam-task-progress,.exam-task-tracker progress{grid-column:1/-1}.exam-task-item{cursor:pointer;background:#faf8ff;border:1px solid #ece8f7;border-radius:12px;align-items:center;gap:.6rem;margin:0;padding:.8rem .9rem;transition:background .2s,border-color .2s,transform .2s;display:flex}.exam-task-item:hover{background:#f5efff;border-color:#d8c7ff;transform:translateY(-2px)}.exam-task-item input{accent-color:#8b5cf6;cursor:pointer;width:17px;height:17px;margin:0}.exam-task-progress{margin:.5rem 0 0;font-size:.95rem;font-weight:700}.exam-task-tracker progress{background:#f1eefb;border:none;border-radius:999px;width:100%;height:9px;margin-top:0;overflow:hidden}.exam-task-tracker progress::-webkit-progress-bar{background:#f1eefb;border-radius:999px}.exam-task-tracker progress::-webkit-progress-value{background:linear-gradient(90deg,#8b5cf6,#a855f7);border-radius:999px}.exam-task-tracker progress::-moz-progress-bar{background:linear-gradient(90deg,#8b5cf6,#a855f7);border-radius:999px}@media (width<=900px){.exam-task-tracker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.exam-task-tracker{grid-template-columns:1fr;padding:1rem}}.exam-workspace-sidebar .exam-task-tracker{grid-template-columns:1fr}.exam-workspace-sidebar .exam-task-item{width:100%}.auth-form{flex-direction:column;gap:12px;display:flex}.auth-form label{font-weight:600}.auth-form input{width:100%;font:inherit;box-sizing:border-box;border:1px solid #ddd6ea;border-radius:12px;padding:14px 16px}.auth-form input:focus{border-color:#0000;outline:2px solid #c7b2e3}.auth-form button{color:#fff;font:inherit;cursor:pointer;background:#8b6bb3;border:none;border-radius:12px;margin-top:12px;padding:14px 18px;font-weight:700}.auth-form button:hover{opacity:.9}.auth-switch{text-align:center;color:#6b6780;margin-top:24px}.auth-switch a{color:#8b6bb3;font-weight:600;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.auth-message{border-radius:12px;margin:4px 0;padding:12px 14px;font-size:.95rem}.auth-message-error{color:brown;background:#fff0f0}.auth-message-success{color:#267a46;background:#eefbf3}.auth-form button:disabled{cursor:not-allowed;opacity:.65}.forgot-password-link{color:#8b6bb3;align-self:flex-end;font-size:.9rem;font-weight:600;text-decoration:none}.forgot-password-link:hover{text-decoration:underline}.profile-page{min-height:calc(100vh - 140px);padding-block:48px}.profile-card{background:#fff;border-radius:24px;width:100%;max-width:760px;margin:0 auto;padding:40px;box-shadow:0 12px 30px #48346e1a}.profile-label{color:#8b6bb3;margin:0 0 8px;font-weight:600}.profile-card h1{margin:0 0 32px;font-size:2rem}.profile-summary{background:#fbf7ff;border-radius:18px;align-items:center;gap:18px;margin-bottom:36px;padding:20px;display:flex}.profile-avatar{color:#fff;background:linear-gradient(135deg,#e9c6ff,#b38bf3);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.5rem;font-weight:700;display:flex}.profile-summary h2{margin:0 0 4px}.profile-summary p{color:#6b647c;margin:0 0 8px}.profile-summary span{color:#8b6bb3;background:#fff;border-radius:999px;padding:6px 10px;font-size:.85rem;font-weight:600;display:inline-block}.profile-form{flex-direction:column;gap:12px;display:flex}.profile-form label{margin-top:8px;font-weight:600}.profile-form input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #ddd6ea;border-radius:12px;padding:14px 16px}.profile-form input:focus{border-color:#0000;outline:2px solid #c7b2e3}.profile-form input:disabled{color:#777184;cursor:not-allowed;background:#f4f1f7}.profile-help{color:#777184;margin:-4px 0 4px;font-size:.85rem}.profile-form button{color:#fff;cursor:pointer;font:inherit;background:#8b6bb3;border:none;border-radius:12px;margin-top:18px;padding:14px 18px;font-weight:700}.profile-form button:hover{opacity:.9}.profile-form button:disabled{cursor:not-allowed;opacity:.65}.profile-message{border-radius:12px;margin:6px 0 0;padding:12px 14px;font-size:.95rem}.profile-message-error{color:brown;background:#fff0f0}.profile-message-success{color:#267a46;background:#eefbf3}@media (width<=600px){.profile-card{padding:28px 20px}.profile-summary{align-items:flex-start}}.years-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;display:grid}.year-card{min-height:130px;color:inherit;background:#fff;border:1px solid #a774ff26;border-radius:22px;justify-content:space-between;align-items:center;padding:1.5rem;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 10px 30px #3426540f}.year-card:hover{border-color:#a774ff66;transform:translateY(-4px);box-shadow:0 16px 36px #3426541a}.year-card h2{margin:0;font-size:1.35rem}.year-card:after{content:"→";color:#9b6ee8;font-size:1.4rem}.page-description{color:#666;margin-top:.5rem;margin-bottom:2rem;font-size:1rem}@media (width<=850px){.years-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.years-grid{grid-template-columns:1fr}}.semester-plan-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;display:flex}.semester-plan-header .page-description{margin-bottom:0}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}.edit-semester-subjects-button{color:#7c3aed;background:#fff;border:1px solid #8b5cf633;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:.45rem;margin-top:.35rem;padding:.7rem 1rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .15s;display:inline-flex}.edit-semester-subjects-button:hover{background:#f8f5ff;border-color:#8b5cf666;transform:translateY(-1px)}@media (width<=600px){.subject-grid{grid-template-columns:minmax(0,1fr)}.semester-plan-header{flex-direction:column;gap:1rem}.edit-semester-subjects-button{width:100%;margin-top:0}}.settings-sections{flex-direction:column;gap:1.25rem;display:flex}.settings-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.settings-card h2{margin:0 0 1.25rem;font-size:1.35rem}.setting-row{justify-content:space-between;align-items:center;gap:2rem;display:flex}.setting-row h3{margin:0 0 .4rem;font-size:1.05rem}.setting-row p{color:#777;margin:0}.setting-button,.setting-link{font:inherit;border:none;border-radius:12px;flex-shrink:0;padding:.75rem 1rem;font-weight:600;text-decoration:none}.setting-button{color:#777;cursor:not-allowed;background:#f1ecfb}.setting-link{color:#fff;background:#9b6ee8;transition:transform .2s,opacity .2s}.setting-link:hover{opacity:.9;transform:translateY(-2px)}@media (width<=650px){.setting-row{flex-direction:column;align-items:flex-start;gap:1rem}}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;display:grid}.admin-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 10px 30px #3426540f}.admin-card:hover{border-color:#a774ff59;transform:translateY(-4px);box-shadow:0 18px 40px #3426541f}.admin-card h2{margin:0 0 .75rem;font-size:1.35rem}.admin-card p{color:#666;margin:0;line-height:1.5}.admin-card{color:inherit;text-decoration:none}.admin-pdf-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:2rem;box-shadow:0 10px 30px #3426540f}.admin-pdf-card h2{margin:0;font-size:1.4rem}.admin-pdf-form{gap:.75rem;margin-top:1.5rem;display:grid}.admin-pdf-form label{margin-top:.5rem;font-weight:700}.admin-pdf-form input,.admin-pdf-form select{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-pdf-form input:focus,.admin-pdf-form select:focus{border-color:#9b6ee8;outline:2px solid #9b6ee838}.admin-pdf-form input:disabled,.admin-pdf-form select:disabled{cursor:not-allowed;color:#98939f;background:#f5f3f8}.admin-pdf-form input[type=file]{background:#faf7ff;padding:.7rem}.admin-pdf-form button{color:#fff;width:fit-content;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:12px;margin-top:1rem;padding:.85rem 1.25rem;font-weight:700;transition:transform .2s,opacity .2s}.admin-pdf-form button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-pdf-form button:disabled{cursor:not-allowed;opacity:.6}.admin-pdf-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-pdf-error{color:#b42318;background:#fff0f0}.admin-pdf-success{color:#247a3c;background:#effaf2}.uploaded-pdfs-section{margin-top:2rem}.uploaded-pdfs-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.uploaded-pdfs-heading p{color:#77717e;margin:.35rem 0 0;font-size:.9rem}.uploaded-pdf-subject-groups{gap:1.25rem;display:grid}.uploaded-pdf-subject-group{border:none;gap:1rem;padding:0;display:grid}.uploaded-pdf-subject-heading{cursor:pointer;background:#faf9fd;border:1px solid #a774ff29;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;list-style:none;transition:background .2s,border-color .2s,transform .2s;display:flex}.uploaded-pdf-subject-heading:hover{background:#f7f3ff;border-color:#9b6ee852}.uploaded-pdf-subject-heading:focus-visible{outline-offset:2px;outline:2px solid #9b6ee84d}.uploaded-pdf-subject-heading::-webkit-details-marker{display:none}.uploaded-pdf-subject-heading h3{color:#211c31;margin:0;font-size:1.1rem}.uploaded-pdf-subject-heading p{color:#77717e;margin:.3rem 0 0;font-size:.85rem}.uploaded-pdf-subject-toggle{color:#7547d8;background:#eee7ff;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;min-width:84px;padding:.45rem .75rem;font-size:0;font-weight:700;display:inline-flex}.uploaded-pdf-subject-toggle:before{font-size:.82rem}.uploaded-pdf-subject-group:not([open]) .uploaded-pdf-subject-toggle:before{content:"Åpne"}.uploaded-pdf-subject-group[open] .uploaded-pdf-subject-toggle:before{content:"Lukk"}.uploaded-pdf-subject-group[open] .uploaded-pdf-subject-heading{background:#f7f3ff;border-color:#9b6ee847}.uploaded-pdf-subject-group:not([open]) .uploaded-pdf-list{display:none}.uploaded-pdf-subject-group[open] .uploaded-pdf-list{margin-top:.25rem}.uploaded-pdf-list{gap:1rem;display:grid}.uploaded-pdf-item{background:#faf9fd;border:1px solid #a774ff29;border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:center;gap:2rem;padding:1.4rem;display:grid}.uploaded-pdf-information{min-width:0}.uploaded-pdf-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.uploaded-pdf-title-group{min-width:0}.uploaded-pdf-heading h3{color:#211c31;overflow-wrap:anywhere;margin:0 0 .35rem;font-size:1.05rem}.uploaded-pdf-subject{color:#6f6976;margin:0;font-size:.92rem}.uploaded-pdf-category{color:#7b4dd6;background:#eee7ff;border-radius:999px;flex-shrink:0;align-items:center;min-height:28px;padding:.3rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.uploaded-pdf-topic-status{flex-wrap:wrap;gap:.75rem 2rem;margin-top:1.2rem;display:flex}.uploaded-pdf-status-item{gap:.2rem;display:grid}.uploaded-pdf-status-item span{color:#898390;letter-spacing:.03em;text-transform:uppercase;font-size:.75rem;font-weight:700}.uploaded-pdf-status-item strong{color:#312b3b;font-size:.9rem}.uploaded-pdf-controls{gap:.9rem;min-width:0;display:grid}.uploaded-pdf-subtopic-field{gap:.4rem;min-width:0;display:grid}.uploaded-pdf-subtopic-field label{color:#4d4658;font-size:.82rem;font-weight:700}.uploaded-pdf-subtopic-field select{color:#312b3b;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:10px;padding:.75rem .8rem;font-size:.9rem}.uploaded-pdf-subtopic-field select:focus{border-color:#9b6ee8;outline:2px solid #9b6ee833}.uploaded-pdf-subtopic-field select:disabled{cursor:not-allowed;opacity:.7;background:#f3f1f5}.uploaded-pdf-updating{color:#7b4dd6;font-size:.78rem;font-weight:600}.uploaded-pdf-actions{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.uploaded-pdf-actions a,.uploaded-pdf-actions button{min-height:42px;font:inherit;border-radius:10px;justify-content:center;align-items:center;padding:.65rem 1rem;font-weight:700;text-decoration:none;transition:transform .2s,background .2s,opacity .2s;display:inline-flex}.uploaded-pdf-actions a{color:#7547d8;background:#f0e9ff}.uploaded-pdf-actions a:hover{background:#e7dcff;transform:translateY(-1px)}.delete-pdf-button{color:#fff;cursor:pointer;background:#d92d20;border:none}.delete-pdf-button:hover:not(:disabled){background:#b42318;transform:translateY(-1px)}.delete-pdf-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=850px){.uploaded-pdf-item{grid-template-columns:1fr;gap:1.25rem}}@media (width<=650px){.admin-pdf-card{padding:1.25rem}.admin-pdf-form button{width:100%}.uploaded-pdf-subject-heading{align-items:flex-start}.uploaded-pdf-subject-toggle{min-width:72px}.uploaded-pdf-heading{flex-direction:column}.uploaded-pdf-category{align-self:flex-start}.uploaded-pdf-topic-status{flex-direction:column;gap:.75rem}.uploaded-pdf-actions{grid-template-columns:1fr}}.admin-notes-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.admin-note-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-note-card h2{margin:0 0 1.5rem;font-size:1.4rem}.admin-note-form{gap:.75rem;display:grid}.admin-note-form label{margin-top:.5rem;font-weight:700}.admin-note-form input,.admin-note-form select,.admin-note-form textarea{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-note-form textarea{resize:vertical;min-height:320px;line-height:1.6}.admin-note-form input:focus,.admin-note-form select:focus,.admin-note-form textarea:focus{border-color:#9b6ee8;outline:2px solid #9b6ee838}.admin-note-form button{color:#fff;width:fit-content;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:12px;margin-top:1rem;padding:.85rem 1.25rem;font-weight:700;transition:transform .2s,opacity .2s}.admin-note-form button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-note-form button:disabled{cursor:not-allowed;opacity:.6}.admin-note-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-note-error{color:#b42318;background:#fff0f0}.admin-note-success{color:#247a3c;background:#effaf2}.note-preview{position:sticky;top:110px}.preview-description{color:#666;margin:-.75rem 0 1.5rem}.preview-content{white-space:pre-wrap;line-height:1.7}.preview-content p{margin:0 0 .75rem}@media (width<=900px){.admin-notes-layout{grid-template-columns:1fr}.note-preview{position:static}}@media (width<=650px){.admin-note-card{padding:1.25rem}.admin-note-form button{width:100%}}.uploaded-notes-section{margin-top:2rem}.uploaded-note-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-note-item{background:#faf9fd;border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.uploaded-note-item h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-note-item p{color:#666;margin:0;font-size:.95rem}.uploaded-note-item span{color:#9b6ee8;margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-note-actions{align-items:center;gap:.75rem;display:flex}.uploaded-note-actions a{color:#7b4dd6;background:#f3efff;border-radius:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none}.uploaded-note-actions a:hover{background:#e8ddff}.delete-note-button{color:#fff;cursor:pointer;background:#d92d20;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600}.delete-note-button:hover:not(:disabled){background:#b42318}.delete-note-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.uploaded-note-item{flex-direction:column;align-items:flex-start}.uploaded-note-actions{width:100%}.uploaded-note-actions a,.delete-note-button{text-align:center;flex:1}}.admin-note-help{color:#777;margin:-.25rem 0 0;font-size:.9rem}.admin-note-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-note-form-actions button{margin-top:0}.cancel-edit-button,.edit-note-button{font:inherit;cursor:pointer;border:none;font-weight:600}.cancel-edit-button{color:#6f4bb5;background:#f1ecfb;border-radius:12px;padding:.85rem 1.25rem}.edit-note-button{color:#7b4dd6;background:#f3efff;border-radius:10px;padding:.65rem 1rem}.cancel-edit-button:hover:not(:disabled),.edit-note-button:hover{background:#e8ddff}@media (width<=700px){.admin-note-form-actions{flex-direction:column;align-items:stretch}.admin-note-form-actions button{width:100%}.uploaded-note-actions{flex-wrap:wrap}}.admin-flashcards-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.admin-flashcard-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-flashcard-card h2{margin:0 0 1.25rem;font-size:1.4rem}.admin-flashcard-form{gap:.75rem;display:grid}.admin-flashcard-form label{margin-top:.5rem;font-weight:700}.admin-flashcard-form select,.admin-flashcard-form textarea{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-flashcard-form textarea{resize:vertical;line-height:1.6}.admin-flashcard-form select:focus,.admin-flashcard-form textarea:focus{border-color:#9b6ee8;outline:2px solid #9b6ee838}.admin-flashcard-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-flashcard-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:12px;margin:0;padding:.85rem 1.25rem;font-weight:700}.admin-flashcard-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-flashcard-edit-button{color:#6f4bb5;background:#f1ecfb}.admin-flashcard-form-actions button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-flashcard-form-actions button:disabled{cursor:not-allowed;opacity:.6}.admin-flashcard-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-flashcard-error{color:#b42318;background:#fff0f0}.admin-flashcard-success{color:#247a3c;background:#effaf2}.flashcard-preview{position:sticky;top:110px}.flashcard-preview h2{margin:1.25rem 0 .5rem;font-size:1.15rem}.flashcard-preview p{color:#555;white-space:pre-wrap;margin:0;line-height:1.7}.uploaded-flashcards-section{margin-top:2rem}.uploaded-flashcard-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-flashcard-item{background:#faf9fd;border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.uploaded-flashcard-item h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-flashcard-item p{color:#666;margin:0;font-size:.95rem}.uploaded-flashcard-item span{color:#9b6ee8;margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-flashcard-actions{align-items:center;gap:.75rem;display:flex}.edit-flashcard-button,.delete-flashcard-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600}.edit-flashcard-button{color:#7b4dd6;background:#f3efff}.edit-flashcard-button:hover{background:#e8ddff}.delete-flashcard-button{color:#fff;background:#d92d20}.delete-flashcard-button:hover:not(:disabled){background:#b42318}.delete-flashcard-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=900px){.admin-flashcards-layout{grid-template-columns:1fr}.flashcard-preview{position:static}}@media (width<=700px){.admin-flashcard-card{padding:1.25rem}.admin-flashcard-form-actions{flex-direction:column;align-items:stretch}.admin-flashcard-form-actions button{width:100%}.uploaded-flashcard-item{flex-direction:column;align-items:flex-start}.uploaded-flashcard-actions{width:100%}.edit-flashcard-button,.delete-flashcard-button{flex:1}}.admin-videos-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:start;gap:1.5rem;margin-top:2rem;display:grid}.admin-video-card{background:#fff;border:1px solid #a774ff29;border-radius:20px;min-width:0;padding:1.5rem;box-shadow:0 10px 30px #3426540f}.admin-video-card h2{color:#211a32;margin:0 0 1.25rem;font-size:1.35rem}.admin-video-form{gap:.65rem;display:grid}.admin-video-form label{color:#3f3455;margin-top:.45rem;font-size:.9rem;font-weight:700}.admin-video-form input,.admin-video-form select{color:#211a32;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-video-form input::placeholder{color:#aaa2b5}.admin-video-form input:focus,.admin-video-form select:focus{border-color:#9b6ee8;outline:3px solid #9b6ee824}.admin-video-form input:disabled,.admin-video-form select:disabled{cursor:not-allowed;color:#8c8595;background:#f4f1f7}.admin-video-field-help{color:#777080;margin:.15rem 0 .35rem;font-size:.82rem;line-height:1.5}.admin-video-message{border-radius:12px;margin:.6rem 0 0;padding:.9rem 1rem;font-size:.9rem;font-weight:600}.admin-video-error{color:#b42318;background:#fff0f0}.admin-video-success{color:#247a3c;background:#effaf2}.admin-video-form-actions{flex-wrap:wrap;gap:.75rem;margin-top:1rem;display:flex}.admin-video-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:11px;padding:.85rem 1.2rem;font-weight:700}.admin-video-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.admin-video-form-actions button[type=submit]:hover:not(:disabled){background:#8958df}.cancel-video-edit-button{color:#6f4bb5;background:#eee8f8}.cancel-video-edit-button:hover:not(:disabled){background:#e3d7f7}.admin-video-form-actions button:disabled{cursor:not-allowed;opacity:.55}.video-preview{position:sticky;top:7rem}.preview-label{color:#9b6ee8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 1rem;font-size:.78rem;font-weight:800}.video-preview-structure{gap:.75rem;margin-bottom:1rem;display:grid}.video-preview-structure>div{background:#faf7ff;border-radius:12px;gap:.18rem;padding:.85rem 1rem;display:grid}.video-preview-structure span{color:#8c69d0;letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:800}.video-preview-structure strong{color:#34284a;overflow-wrap:anywhere}.video-preview-frame,.video-preview-placeholder{aspect-ratio:16/9;border-radius:14px;width:100%}.video-preview-frame{background:#000;border:none;display:block}.video-preview-placeholder{box-sizing:border-box;color:#777080;text-align:center;background:#f5f1fa;place-items:center;padding:1.5rem;line-height:1.5;display:grid}.uploaded-videos-section{margin-top:1.5rem}.uploaded-videos-section>h2{margin-bottom:1.5rem}.uploaded-video-subject-list{gap:2rem;display:grid}.uploaded-video-subject-group{gap:1rem;display:grid}.uploaded-video-subject-heading{color:#35294a;border-bottom:2px solid #eee7f8;margin:0;padding-bottom:.75rem;font-size:1.15rem}.uploaded-video-topic-list{gap:1.25rem;display:grid}.uploaded-video-topic-group{background:#faf9fd;border:1px solid #a774ff26;border-radius:16px;overflow:hidden}.uploaded-video-topic-heading{background:#f2ecff;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.uploaded-video-topic-heading h4{color:#49346f;margin:0;font-size:1rem}.uploaded-video-order-label{color:#7950c6;background:#fff;border-radius:999px;flex-shrink:0;padding:.35rem .65rem;font-size:.75rem;font-weight:800}.uploaded-video-subtopic-list{gap:1rem;padding:1rem;display:grid}.uploaded-video-subtopic-group{background:#fff;border:1px solid #a774ff1f;border-radius:13px;overflow:hidden}.uploaded-video-subtopic-heading{background:#faf7ff;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.uploaded-video-subtopic-heading h5{color:#57426e;margin:0;font-size:.95rem}.uploaded-video-list{display:grid}.uploaded-video-item{border-top:1px solid #eeeaf3;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.uploaded-video-item:first-child{border-top:none}.uploaded-video-information{min-width:0}.uploaded-video-information h6{color:#282033;overflow-wrap:anywhere;margin:0 0 .35rem;font-size:.95rem}.uploaded-video-information p{color:#7b7482;overflow-wrap:anywhere;margin:.35rem 0 0;font-size:.8rem}.uploaded-video-item-order{color:#7450b5;background:#f0ebf8;border-radius:999px;padding:.25rem .55rem;font-size:.72rem;font-weight:800;display:inline-block}.uploaded-video-actions{flex-wrap:wrap;flex-shrink:0;gap:.5rem;display:flex}.uploaded-video-actions a,.uploaded-video-actions button{font:inherit;cursor:pointer;border:none;border-radius:9px;padding:.55rem .75rem;font-size:.8rem;font-weight:700;text-decoration:none}.uploaded-video-actions a{color:#3569a8;background:#edf5ff}.edit-video-button{color:#7148bc;background:#f0eaff}.delete-video-button{color:#b42318;background:#fff0f0}.uploaded-video-actions a:hover,.uploaded-video-actions button:hover:not(:disabled){opacity:.82}.uploaded-video-actions button:disabled{cursor:not-allowed;opacity:.55}@media (width<=900px){.admin-videos-layout{grid-template-columns:1fr}.video-preview{position:static}}@media (width<=650px){.admin-video-card{padding:1.1rem}.admin-video-form-actions{flex-direction:column}.admin-video-form-actions button{width:100%}.uploaded-video-topic-heading,.uploaded-video-subtopic-heading,.uploaded-video-item{flex-direction:column;align-items:stretch}.uploaded-video-actions{width:100%}.uploaded-video-actions a,.uploaded-video-actions button{text-align:center;flex:1}}.subject-structure-subject-card{background:#fff;border:1px solid #a774ff26;border-radius:18px;gap:.6rem;max-width:520px;margin-bottom:1.5rem;padding:1.25rem;display:grid;box-shadow:0 10px 30px #3426540d}.subject-structure-subject-card label{font-weight:700}.subject-structure-subject-card select,.subject-structure-form input,.subject-structure-form select{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.subject-structure-subject-card select:focus,.subject-structure-form input:focus,.subject-structure-form select:focus{border-color:#9b6ee8;outline:2px solid #9b6ee833}.subject-structure-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.subject-structure-card{background:#fff;border:1px solid #a774ff26;border-radius:20px;min-width:0;padding:1.5rem;box-shadow:0 10px 30px #3426540f}.subject-structure-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.subject-structure-header h2{margin:0;font-size:1.3rem}.subject-structure-card-label{color:#9b6ee8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .2rem;font-size:.75rem;font-weight:700}.subject-structure-header>button{color:#fff;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:10px;flex-shrink:0;padding:.75rem 1rem;font-weight:700}.subject-structure-header>button:hover:not(:disabled){opacity:.9}.subject-structure-header>button:disabled{cursor:not-allowed;opacity:.5}.subject-structure-form{background:#faf7ff;border:1px solid #a774ff2e;border-radius:14px;gap:.7rem;margin-bottom:1.25rem;padding:1rem;display:grid}.subject-structure-form h3{color:#49346f;margin:0 0 .3rem;font-size:1rem}.subject-structure-form label{margin-top:.25rem;font-weight:700}.subject-structure-form-actions{gap:.75rem;margin-top:.5rem;display:flex}.subject-structure-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.75rem 1rem;font-weight:700}.subject-structure-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.subject-structure-cancel-button{color:#6f4bb5;background:#eee8f8}.subject-structure-form-actions button:disabled{cursor:not-allowed;opacity:.55}.subject-topic-list,.subject-subtopic-list{gap:.75rem;display:grid}.subject-topic-item,.subject-subtopic-item{background:#faf9fd;border:1px solid #a774ff24;border-radius:13px;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem;display:flex}.subject-topic-item-selected{background:#f5f0ff;border-color:#9b6ee8}.subject-topic-select-button{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.75rem;padding:0;display:flex}.subject-topic-select-button>span:last-child{gap:.15rem;min-width:0;display:grid}.subject-topic-select-button strong{overflow-wrap:anywhere}.subject-topic-select-button small{color:#777}.subject-structure-order-number{color:#7549ca;background:#eee7ff;border-radius:9px;flex:0 0 2rem;place-items:center;width:2rem;height:2rem;font-size:.85rem;font-weight:800;display:grid}.subject-structure-item-information{align-items:center;gap:.75rem;min-width:0;display:flex}.subject-structure-item-information strong{overflow-wrap:anywhere}.subject-structure-item-actions{flex-shrink:0;gap:.5rem;display:flex}.subject-structure-item-actions button{color:#6f4bb5;font:inherit;cursor:pointer;background:#eee8f8;border:none;border-radius:9px;padding:.55rem .75rem;font-size:.82rem;font-weight:700}.subject-structure-item-actions button:hover:not(:disabled){background:#e4d8fa}.subject-structure-item-actions .subject-structure-delete-button{color:#b42318;background:#fff0f0}.subject-structure-item-actions .subject-structure-delete-button:hover:not(:disabled){background:#ffe1e1}.subject-structure-item-actions button:disabled{cursor:not-allowed;opacity:.55}.selected-subject-topic{background:#f5f0ff;border-radius:12px;gap:.2rem;margin-bottom:1rem;padding:.9rem 1rem;display:grid}.selected-subject-topic span{color:#8b65d5;letter-spacing:.05em;text-transform:uppercase;font-size:.75rem;font-weight:700}.subject-structure-empty-card,.subject-structure-empty-text{color:#6d6678;background:#faf7ff;border-radius:14px;padding:1.25rem;line-height:1.5}.subject-structure-empty-card{border:1px solid #a774ff1f}.subject-structure-empty-text{text-align:center;margin:0}.subject-structure-message{border-radius:12px;margin:0 0 1.5rem;padding:.9rem 1rem;font-weight:600}.subject-structure-error{color:#b42318;background:#fff0f0}.subject-structure-success{color:#247a3c;background:#effaf2}@media (width<=900px){.subject-structure-layout{grid-template-columns:1fr}}@media (width<=650px){.subject-structure-header,.subject-topic-item,.subject-subtopic-item{flex-direction:column;align-items:stretch}.subject-structure-header>button,.subject-structure-item-actions{width:100%}.subject-structure-item-actions button{flex:1}.subject-structure-form-actions{flex-direction:column}.subject-structure-form-actions button{width:100%}}.page-label{color:#9b6ee8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem;font-size:.85rem;font-weight:700}.page-description{color:#666;margin-top:.5rem;margin-bottom:2rem}.admin-exam-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-exam-card h2{margin:0 0 1.25rem;font-size:1.4rem}.admin-exam-form{gap:.75rem;display:grid}.admin-exam-form label{margin-top:.5rem;font-weight:700}.admin-exam-form input,.admin-exam-form select{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-exam-form input:focus,.admin-exam-form select:focus{border-color:#9b6ee8;outline:2px solid #9b6ee838}.admin-exam-form input:disabled,.admin-exam-form select:disabled{color:#777;cursor:not-allowed;background:#f6f3fa}.admin-exam-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-exam-row>div{gap:.75rem;display:grid}.admin-exam-help{color:#777;margin:0;font-size:.9rem}.admin-exam-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-exam-error{color:#b42318;background:#fff0f0}.admin-exam-success{color:#247a3c;background:#effaf2}.admin-exam-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-exam-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:12px;margin:0;padding:.85rem 1.25rem;font-weight:700}.admin-exam-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-exam-edit-button{color:#6f4bb5;background:#f1ecfb}.admin-exam-form-actions button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-exam-form-actions button:disabled{cursor:not-allowed;opacity:.6}.uploaded-exams-section{margin-top:2rem}.uploaded-exam-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-exam-item{background:#faf9fd;border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.25rem;display:flex}.uploaded-exam-content h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-exam-content>p{color:#666;margin:0}.uploaded-exam-content>span{color:#9b6ee8;margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-exam-files{gap:.25rem;margin-top:.75rem;display:grid}.uploaded-exam-files span{color:#666;font-size:.9rem}.uploaded-exam-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.uploaded-exam-actions a,.edit-exam-button,.delete-exam-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none}.uploaded-exam-actions a,.edit-exam-button{color:#7b4dd6;background:#f3efff}.uploaded-exam-actions a:hover,.edit-exam-button:hover{background:#e8ddff}.delete-exam-button{color:#fff;background:#d92d20}.delete-exam-button:hover:not(:disabled){background:#b42318}.delete-exam-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=750px){.admin-exam-card{padding:1.25rem}.admin-exam-row{grid-template-columns:1fr}.admin-exam-form-actions{flex-direction:column;align-items:stretch}.admin-exam-form-actions button{width:100%}.uploaded-exam-item{flex-direction:column;align-items:flex-start}.uploaded-exam-actions{width:100%}.uploaded-exam-actions a,.edit-exam-button,.delete-exam-button{text-align:center;flex:1}}.page-label,.admin-study-plan-section-label{color:#9b6ee8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem;font-size:.85rem;font-weight:700}.page-description{color:#666;margin:.5rem 0 2rem}.admin-study-plan-card{background:#fff;border:1px solid #a774ff26;border-radius:22px;margin-top:1.5rem;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-study-plan-card h2{margin:0 0 1.25rem}.admin-study-plan-form{gap:.8rem;display:grid}.admin-study-plan-form label{margin-top:.45rem;font-weight:700}.admin-study-plan-form input,.admin-study-plan-form select,.admin-study-plan-form textarea{width:100%;color:inherit;font:inherit;background:#fff;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-study-plan-form textarea{resize:vertical;line-height:1.55}.admin-study-plan-form input:focus,.admin-study-plan-form select:focus,.admin-study-plan-form textarea:focus{border-color:#9b6ee8;outline:2px solid #9b6ee838}.admin-study-plan-form input:disabled,.admin-study-plan-form select:disabled{cursor:not-allowed;background:#f6f3fa}.admin-study-plan-row{grid-template-columns:minmax(0,2fr) minmax(130px,1fr);gap:1rem;display:grid}.admin-study-plan-row>div,.admin-study-plan-textareas>div{gap:.7rem;display:grid}.admin-study-plan-textareas{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:.5rem;display:grid}.admin-study-plan-resources{border-top:1px solid #a774ff2e;margin-top:1rem;padding-top:1.5rem}.admin-study-plan-resource-heading h3{margin:0 0 .35rem}.admin-study-plan-resource-heading p{color:#666;margin:0 0 1rem}.admin-resource-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.admin-resource-group{background:#faf8ff;border-radius:16px;min-width:0;padding:1rem}.admin-resource-group h3{margin:0 0 .8rem}.admin-resource-group>p{color:#777;margin:0;font-size:.9rem}.admin-resource-list{gap:.55rem;max-height:260px;display:grid;overflow-y:auto}.admin-resource-option{cursor:pointer;background:#fff;border-radius:10px;align-items:flex-start;gap:.65rem;padding:.6rem;display:flex;margin:0!important;font-weight:500!important}.admin-resource-option:hover{background:#f2edff}.admin-resource-option input{width:auto;margin-top:.15rem}.admin-study-plan-help{color:#777;margin:0;font-size:.9rem}.admin-study-plan-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-study-plan-error{color:#b42318;background:#fff0f0}.admin-study-plan-success{color:#247a3c;background:#effaf2}.admin-study-plan-form-actions{gap:.75rem;margin-top:1rem;display:flex}.admin-study-plan-form-actions button,.study-topic-actions button{font:inherit;cursor:pointer;border:none;border-radius:11px;padding:.75rem 1rem;font-weight:700}.admin-study-plan-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-study-topic-button,.edit-study-topic-button{color:#7048bd;background:#f3efff}.delete-study-topic-button{color:#fff;background:#d92d20}.admin-study-plan-form-actions button:disabled,.study-topic-actions button:disabled{cursor:not-allowed;opacity:.6}.study-topic-list-section{margin-top:2rem}.study-topic-list{gap:1rem;display:grid}.study-topic-item{background:#faf9fd;border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.2rem;display:flex}.study-topic-content{min-width:0}.study-topic-heading h3{margin:.15rem 0 .35rem}.study-topic-heading span{color:#9b6ee8;font-size:.9rem;font-weight:600}.study-topic-order{color:#777;margin:0;font-size:.82rem}.study-topic-summary{flex-wrap:wrap;gap:.45rem;margin-top:.85rem;display:flex}.study-topic-summary span{color:#6543a6;background:#eee8fb;border-radius:999px;padding:.35rem .65rem;font-size:.82rem;font-weight:600}.study-topic-actions{flex-shrink:0;gap:.7rem;display:flex}@media (width<=900px){.admin-resource-columns,.admin-study-plan-textareas{grid-template-columns:1fr}}@media (width<=700px){.admin-study-plan-card{padding:1.25rem}.admin-study-plan-row{grid-template-columns:1fr}.admin-study-plan-form-actions,.study-topic-item,.study-topic-actions{flex-direction:column;align-items:stretch}.admin-study-plan-form-actions button,.study-topic-actions button{width:100%}}.page-container{margin-block:0;padding-block:2rem}.folder-page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin:28px 0 30px;display:flex}.folder-page-header h1{margin:4px 0 0}.folder-topic-name{color:#817687;margin:8px 0 0;font-size:.92rem}.folder-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (width<=750px){.page-container{padding-block:1.25rem}.folder-page-header{flex-direction:column;align-items:stretch}.folder-page-header .new-folder-button{align-self:flex-start}.folder-notes-grid{grid-template-columns:1fr}}.folder-note-item{background:#fff;border:1px solid #e8e1ee;border-radius:16px;min-width:0;transition:transform .2s,border-color .2s,box-shadow .2s;position:relative}.folder-note-item:hover{border-color:#d7c6e5;transform:translateY(-2px);box-shadow:0 10px 24px #2f233a14}.folder-note-link{min-height:82px;color:inherit;align-items:center;gap:14px;padding:16px 54px 16px 16px;text-decoration:none;display:flex}.folder-note-icon{color:#75568f;background:#f3eef8;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.folder-note-content{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.folder-note-title{color:#241c2a;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:650;line-height:1.35;overflow:hidden}.folder-note-description{color:#807586;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;line-height:1.4;overflow:hidden}.folder-note-menu{z-index:2;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.folder-note-rating{align-items:center;gap:2px;margin-left:8px;display:inline-flex}.folder-note-star{color:#d6d1db;font-size:.9rem;line-height:1;display:inline-block}.folder-note-star-filled{color:#e6b23f}.practice-page{margin-block:0;padding-block:2rem 5rem}.practice-hero{background:radial-gradient(circle at 100% 0,#b38bf333,#0000 38%),linear-gradient(135deg,#fbf7ff 0%,#fff 70%);border:1px solid #eadcfb;border-radius:24px;align-items:flex-start;gap:1rem;margin-top:1.5rem;padding:1.75rem;display:flex;overflow:hidden}.practice-hero-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:15px;flex:none;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 10px 24px #8b5cf63d}.practice-hero .page-label{color:#8b5cf6;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .35rem;font-size:.8rem;font-weight:800}.practice-hero h1{color:#17142a;margin:0;font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.15}.practice-intro{color:#6b647c;max-width:680px;margin-top:.75rem;line-height:1.65}.secondary-button{color:#5f5873;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd2ea;border-radius:9px;padding:.55rem .85rem;font-size:.85rem;font-weight:600;transition:all .15s}.secondary-button:hover{background:#faf7ff;border-color:#c8b7dd}.start-practice-button{color:#fff;width:min(100%,340px);min-height:50px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#8b5cf6,#a855f7);border:none;border-radius:12px;justify-content:center;align-items:center;gap:.55rem;margin:1.5rem auto 0;padding:.9rem 1.25rem;font-weight:750;transition:transform .18s,box-shadow .18s,opacity .18s;display:flex;box-shadow:0 8px 18px #8b5cf633}.start-practice-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 24px #8b5cf647}.start-practice-button:disabled{color:#fff;box-shadow:none;cursor:not-allowed;background:#d4cfdd}.practice-summary-start{width:100%;margin-top:1rem}.active-session-card{background:linear-gradient(135deg,#f8f2ff,#fff);border:1px solid #e4d5f7;border-radius:18px;justify-content:space-between;align-items:center;gap:1.5rem;margin-top:1.25rem;padding:1.25rem 1.4rem;display:flex}.active-session-information{gap:.9rem;display:flex}.active-session-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.active-session-information .page-label{color:#8b5cf6;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:800}.active-session-information h2{margin:0;font-size:1.1rem}.active-session-information p{margin:.35rem 0}.active-session-information span{color:#6b647c;font-size:.78rem}.active-session-actions{gap:.65rem;display:flex}.active-session-continue{margin:0}.active-session-delete{justify-content:center;align-items:center;display:flex}.practice-stats{margin-bottom:1.5rem}.practice-stats-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.practice-stats-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .25rem;font-size:.75rem;font-weight:800}.practice-stats h3{color:#17142a;margin:0;font-size:1.1rem}.practice-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.practice-stat-card{background:linear-gradient(135deg,#faf7ff,#fff);border:1px solid #eadff5;border-radius:16px;flex-direction:column;justify-content:center;min-height:100px;padding:1rem;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex}.practice-stat-card:hover{border-color:#d6c1ed;transform:translateY(-2px);box-shadow:0 10px 24px #8b5cf614}.practice-stat-card strong{color:#17142a;font-size:1.65rem;line-height:1}.practice-stat-card span{color:#6b647c;margin-top:.5rem;font-size:.78rem;font-weight:600;line-height:1.3}.practice-divider{border-top-color:#eee7f5}.practice-data-management{border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);margin-top:1.25rem}.practice-data-management summary{cursor:pointer;justify-content:space-between;align-items:center;padding:1rem 0;list-style:none;display:flex}.practice-data-management summary::-webkit-details-marker{display:none}.practice-data-management summary svg{transition:transform .18s}.practice-data-management[open] summary svg{transform:rotate(180deg)}.practice-data-management-content{gap:.65rem;padding-bottom:1rem;display:grid}.practice-reset-topic{gap:.5rem;display:grid}.practice-reset-topic select{border:1px solid #ddd2ea;border-radius:9px;padding:.7rem}.reset-data-button{width:100%}.reset-all-data-button{color:#b42318;border-color:#fecdca}.reset-all-data-button:hover{background:#fef3f2}@media (width<=700px){.practice-page{padding-top:1rem}.practice-hero{border-radius:18px;flex-direction:column;padding:1.25rem}.active-session-card{flex-direction:column;align-items:stretch}.active-session-actions{flex-direction:column;width:100%}.active-session-continue,.active-session-delete{width:100%}}@media (width<=460px){.practice-stats-grid{grid-template-columns:1fr}.practice-stat-card{min-height:96px}}.practice-setup-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:1.5rem;margin-top:1.5rem;display:grid}.practice-settings{gap:1.25rem;display:grid}.practice-section{background:#fff;border:1px solid #eadff5;border-radius:20px;padding:1.5rem;box-shadow:0 8px 25px #8b5cf60a}.practice-section-title{align-items:flex-start;gap:.9rem;margin-bottom:1.35rem;display:flex}.practice-step-number{color:#7c3aed;background:#f4edff;border:1px solid #e4d5f7;border-radius:11px;flex:none;place-items:center;width:34px;height:34px;font-size:.9rem;font-weight:800;display:grid}.practice-section-title h2{color:#17142a;margin:0;font-size:1.2rem}.practice-section-title p{color:#6b647c;margin:.3rem 0 0;font-size:.9rem;line-height:1.5}.practice-section-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.selection-count{color:#5f5873;margin:0;font-size:.9rem;font-weight:600}.topic-actions{flex-wrap:wrap;gap:.6rem;display:flex}.topics-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;display:grid}.topic-card,.option-card,.amount-card{cursor:pointer;transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s;position:relative}.topic-card input,.option-card input,.amount-card input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.topic-card{color:#3f3952;background:#fff;border:1px solid #e6ddea;border-radius:13px;align-items:center;gap:.75rem;min-height:56px;padding:.85rem .95rem;font-size:.92rem;font-weight:600;display:flex}.topic-card:hover{border-color:#cdb6e8;transform:translateY(-1px);box-shadow:0 6px 16px #8b5cf612}.topic-card-selected{color:#7c3aed;background:#faf5ff;border-color:#a78bfa;box-shadow:0 0 0 3px #8b5cf61a}.topic-check{color:#fff;background:#fff;border:1.5px solid #cfc5d9;border-radius:7px;flex:none;place-items:center;width:21px;height:21px;transition:background-color .18s,border-color .18s;display:grid}.topic-card-selected .topic-check{background:#8b5cf6;border-color:#8b5cf6}.option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.option-card{background:#fff;border:1px solid #e6ddea;border-radius:14px;align-items:center;gap:.8rem;min-height:82px;padding:1rem;display:flex}.option-card:hover{border-color:#cdb6e8;transform:translateY(-1px);box-shadow:0 7px 18px #8b5cf612}.option-card-selected{background:#faf5ff;border-color:#a78bfa;box-shadow:0 0 0 3px #8b5cf61a}.option-card-icon{color:#766e83;background:#f6f2fa;border-radius:11px;flex:none;place-items:center;width:40px;height:40px;display:grid}.option-card-selected .option-card-icon{color:#7c3aed;background:#ede9fe}.option-card>div:last-child{flex-direction:column;gap:.25rem;min-width:0;display:flex}.option-card strong{color:#3f3952;font-size:.95rem}.option-card-selected strong{color:#7c3aed}.option-card span{color:#6b647c;font-size:.82rem;line-height:1.4}.difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.difficulty-grid .option-card{min-height:76px}.amount-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;display:grid}.amount-card{text-align:center;background:#fff;border:1px solid #e6ddea;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:82px;padding:.9rem;display:flex}.amount-card:hover{border-color:#cdb6e8;transform:translateY(-1px);box-shadow:0 7px 18px #8b5cf612}.amount-card-selected{background:#faf5ff;border-color:#a78bfa;box-shadow:0 0 0 3px #8b5cf61a}.amount-card strong{color:#3f3952;font-size:1.05rem}.amount-card-selected strong{color:#7c3aed}.amount-card span{color:#6b647c;font-size:.78rem}.practice-summary-card{background:linear-gradient(#faf5fff2,#fff 45%);border:1px solid #e4d5f7;border-radius:20px;padding:1.35rem;position:sticky;top:90px;box-shadow:0 15px 38px #8b5cf617}.practice-summary-heading{border-bottom:1px solid #eee7f5;align-items:center;gap:.8rem;padding-bottom:1.15rem;display:flex}.practice-summary-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:13px;flex:none;place-items:center;width:42px;height:42px;display:grid}.practice-summary-heading p{color:#8b5cf6;letter-spacing:.06em;text-transform:uppercase;margin:0 0 .15rem;font-size:.75rem;font-weight:700}.practice-summary-heading h2{color:#17142a;margin:0;font-size:1.1rem}.practice-summary-list{gap:0;margin-top:.8rem;display:grid}.practice-summary-row{border-bottom:1px solid #f1ebf6;justify-content:space-between;align-items:center;gap:1rem;min-height:48px;display:flex}.practice-summary-row:last-child{border-bottom:none}.practice-summary-row>div{color:#756d82;align-items:center;gap:.55rem;display:flex}.practice-summary-row span{font-size:.86rem}.practice-summary-row strong{color:#3f3952;text-align:right;font-size:.86rem}.available-question-count{color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:11px;align-items:flex-start;gap:.5rem;margin-top:1rem;padding:.8rem;font-size:.82rem;font-weight:600;line-height:1.45;display:flex}.available-question-count svg{flex:none;margin-top:.1rem}.practice-warning{color:#b54708;background:#fffaeb;border:1px solid #fedf89;border-radius:11px;margin:1rem 0 0;padding:.8rem;font-size:.82rem;line-height:1.45}.practice-info{color:#5f5873;background:#faf7fc;border-radius:11px;margin:.75rem 0 0;padding:.8rem;font-size:.8rem;line-height:1.45}@media (width<=980px){.practice-setup-layout{grid-template-columns:1fr}.practice-summary-card{position:static}.practice-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.25rem}.difficulty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.practice-section{border-radius:16px;padding:1.1rem}.practice-section-header{flex-direction:column;align-items:flex-start}.topic-actions{width:100%}.secondary-button{flex:1}.option-grid,.difficulty-grid{grid-template-columns:1fr}.amount-options{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-summary-list{grid-template-columns:1fr}}@media (width<=460px){.topics-grid{grid-template-columns:1fr}.amount-options{grid-template-columns:1fr 1fr}.practice-section-title{gap:.7rem}}.mistake-practice-card{border-top:1px solid var(--border-color);flex-direction:column;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;display:flex}.mistake-practice-heading{align-items:flex-start;gap:.75rem;display:flex}.mistake-practice-heading>div:last-child{flex-direction:column;gap:.3rem;display:flex}.mistake-practice-heading strong{color:var(--text-primary);margin:0;font-size:1rem;font-weight:700}.mistake-practice-heading span{color:var(--text-secondary);font-size:.85rem;line-height:1.5}.mistake-practice-icon{color:#7c3aed;background:#faf5ff;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.mistake-practice-button{justify-content:center;align-items:center;gap:.45rem;width:100%;margin-top:.25rem;display:flex}.mistake-practice-button:disabled{opacity:.55;cursor:not-allowed}.question-section{background:#fff;border:1px solid #eadff5;border-radius:20px;margin-top:2rem;padding:2rem;box-shadow:0 12px 35px #8b5cf60f}.question-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem;display:flex}.question-counter{color:#6b647c;font-size:.95rem}.question-meta{color:#6b647c;align-items:center;gap:.45rem;font-size:.9rem;display:flex}.question-meta span:first-child{color:#3f3952;font-weight:700}.question-progress{background:#eee7f5;border-radius:999px;height:8px;margin:1rem 0 2rem;overflow:hidden}.question-progress-fill{background:linear-gradient(90deg,#8b5cf6,#c084fc);border-radius:999px;height:100%;transition:width .2s}.question-section h1{color:#17142a;margin:0;font-size:1.5rem;line-height:1.55}.answer-options{gap:.85rem;margin-top:1.5rem;display:grid}.answer-option{cursor:pointer;background:#fff;border:1px solid #e6ddea;border-radius:12px;align-items:center;gap:.8rem;padding:1rem;transition:border-color .15s,background-color .15s,transform .15s,box-shadow .15s;display:flex}.answer-option:hover{border-color:#cdb6e8;transform:translateY(-1px);box-shadow:0 6px 16px #8b5cf612}.answer-option-selected{background:#faf5ff;border-color:#a78bfa;box-shadow:0 0 0 3px #8b5cf614}.answer-option input{accent-color:#8b5cf6}.number-answer-wrapper{flex-direction:column;gap:.6rem;margin-top:1.5rem;display:flex}.number-answer-wrapper label{color:#3f3952;font-weight:650}.number-answer-wrapper input{width:min(100%,280px);font:inherit;background:#fff;border:1px solid #ddd2ea;border-radius:10px;outline:none;padding:.85rem 1rem;font-size:1.1rem}.number-answer-wrapper input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf624}.answer-feedback{border-radius:12px;margin-top:1.5rem;padding:1rem}.answer-feedback p{margin:.5rem 0 0;line-height:1.55}.answer-feedback-correct{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.answer-feedback-wrong{color:#b42318;background:#fef3f2;border:1px solid #fecdca}@media (width<=700px){.question-section{border-radius:16px;margin-top:1.5rem;padding:1.25rem}.question-section h1{font-size:1.25rem}.question-progress{margin-bottom:1.5rem}}@media (width<=650px){.question-header{flex-direction:column;align-items:flex-start;gap:.4rem}.question-meta{flex-wrap:wrap;font-size:.85rem}.answer-option{padding:.9rem}.number-answer-wrapper input{width:100%}}.result-section{background:#fff;border:1px solid #eadff5;border-radius:20px;width:min(100%,900px);margin:2rem auto 0;padding:2rem;box-shadow:0 12px 35px #8b5cf60f}.result-heading{text-align:center;margin-bottom:2rem}.result-heading h1{color:#17142a;margin:.35rem 0 .65rem}.result-heading>p:last-child{color:#6b647c;max-width:600px;margin:0 auto;line-height:1.6}.result-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:2rem;display:grid}.result-summary-card{text-align:center;background:linear-gradient(135deg,#faf7ff,#fff);border:1px solid #eadff5;border-radius:16px;flex-direction:column;gap:.45rem;padding:1.25rem;display:flex}.result-summary-card span{color:#6b647c;font-size:.9rem}.result-summary-card strong{color:#17142a;font-size:1.45rem}.result-topic-section{text-align:left;margin-top:2rem}.result-topic-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.result-topic-heading h2{color:#17142a;margin:.25rem 0 0}.result-topic-heading>span{color:#6b647c;font-size:.9rem}.result-topic-list{gap:.85rem;display:grid}.result-topic-card{background:#fff;border:1px solid #eadff5;border-radius:14px;padding:1rem}.result-topic-card-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.result-topic-card-header>div{flex-direction:column;gap:.2rem;min-width:0;display:flex}.result-topic-card-header strong{color:#3f3952}.result-topic-card-header>strong{color:#7c3aed;flex:none;font-size:1rem}.result-topic-card-header span{color:#6b647c;font-size:.82rem}.result-topic-progress{background:#eee7f5;border-radius:999px;height:7px;margin-top:.8rem;overflow:hidden}.result-topic-progress-fill{background:linear-gradient(90deg,#8b5cf6,#c084fc);border-radius:999px;height:100%}.result-review{margin-top:2rem}.result-review-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.result-review-heading h2{color:#17142a;margin:.25rem 0 0}.result-review-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.result-review-actions>span{color:#6b647c;margin-right:.25rem;font-size:.9rem}.result-question-list{flex-direction:column;gap:1rem;display:flex}.result-question-card{background:#fff;border:1px solid #eadff5;border-radius:18px;padding:0;overflow:hidden}.result-question-correct{border-left:5px solid #45a26b}.result-question-wrong{border-left:5px solid #d96b6b}.result-question-toggle{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:1.35rem 1.4rem}.result-question-toggle:hover{background:#faf7ff}.result-question-toggle h3{color:#17142a;margin:1rem 0 0;font-size:1.05rem;line-height:1.6}.result-question-expanded .result-question-toggle{padding-bottom:1rem}.result-question-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.result-question-header>div{align-items:center;gap:.55rem;display:flex}.result-question-correct .result-question-header svg{color:#45a26b}.result-question-wrong .result-question-header svg{color:#d96b6b}.result-question-meta{color:#6b647c;align-items:center;gap:.65rem;display:flex}.result-question-meta span{font-size:.85rem}.result-question-content{padding:0 1.4rem 1.4rem}.result-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.result-answer-grid>div{background:#faf7ff;border-radius:12px;flex-direction:column;gap:.35rem;padding:.9rem 1rem;display:flex}.result-answer-grid span{color:#6b647c;font-size:.82rem}.result-user-answer-correct{border:1px solid #45a26b59}.result-user-answer-wrong{border:1px solid #d96b6b59}.result-correct-answer{border:1px solid #45a26b59}.result-explanation{border-top:1px solid #eee7f5;padding-top:1rem}.result-explanation>strong{color:#3f3952;margin-bottom:.4rem;display:block}.result-explanation p{color:#6b647c;margin:0;line-height:1.65}.result-restart-button{margin:2rem auto 0}@media (width<=700px){.result-section{border-radius:16px;padding:1.25rem}.result-summary-grid{grid-template-columns:1fr}.result-topic-heading,.result-review-heading{flex-direction:column;align-items:flex-start}.result-review-actions{justify-content:flex-start}.result-answer-grid{grid-template-columns:1fr}.result-question-header{align-items:flex-start}.result-question-toggle{padding:1.15rem}.result-question-content{padding:0 1.15rem 1.15rem}}.topic-progress-section{background:#fff;border:1px solid #eadff5;border-radius:20px;margin-top:1.5rem;padding:1.5rem;box-shadow:0 8px 25px #8b5cf60a}.topic-progress-heading{justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.25rem;display:flex}.topic-progress-heading .page-label{color:#8b5cf6;letter-spacing:.09em;text-transform:uppercase;margin:0 0 .3rem;font-size:.78rem;font-weight:800}.topic-progress-heading h2{color:#17142a;margin:0;font-size:1.3rem}.topic-progress-heading p{color:#6b647c;margin:.4rem 0 0;font-size:.9rem}.topic-progress-heading>span{color:#6b647c;white-space:nowrap;font-size:.88rem}.topic-progress-groups{flex-direction:column;gap:3rem;display:flex}.topic-progress-group{flex-direction:column;gap:1rem;display:flex}.topic-progress-group-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.topic-progress-group-header h3{color:#3f3952;margin:0;font-size:1.1rem;font-weight:700}.topic-progress-group-header span{color:#7c3aed;background:#f4edff;border-radius:999px;padding:.35rem .75rem;font-size:.9rem;font-weight:600}.topic-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.topic-progress-card{background:#fff;border:1px solid #e6ddea;border-radius:14px;flex-direction:column;gap:.9rem;padding:1rem;display:flex}.topic-progress-card-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.topic-progress-card-header>div{flex-direction:column;gap:.2rem;min-width:0;display:flex}.topic-progress-card-header>div>strong{color:#7c3aed;font-size:.9rem}.topic-progress-card-header>strong{color:#7c3aed;flex:none;font-size:1rem}.topic-progress-card-header span{color:#6b647c;font-size:.88rem}.topic-progress-bar{background:#eee7f5;border-radius:999px;width:100%;height:8px;overflow:hidden}.topic-progress-bar-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#c084fc);height:100%;transition:width .25s}.topic-mastery-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;display:grid}.topic-mastery-list div{justify-content:space-between;align-items:center;gap:.75rem;min-width:0;display:flex}.topic-mastery-list span{color:#6b647c;font-size:.9rem}.topic-mastery-list strong{color:#3f3952;font-size:.95rem}.topic-group{margin-top:2.5rem}.topic-group:first-child{margin-top:0}.topic-group-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.topic-group-header h3{color:#3f3952;margin:0;font-size:1.1rem;font-weight:700}.topic-group-header span{color:#6b647c;opacity:.8;font-size:.9rem}@media (width<=980px){.topic-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.topic-progress-section{border-radius:16px;padding:1.1rem}.topic-progress-heading{flex-direction:column;align-items:flex-start;gap:.75rem}.topic-progress-heading>span{white-space:normal}.topic-progress-grid{grid-template-columns:1fr}.topic-progress-groups{gap:2rem}.topic-progress-group-header{flex-direction:column;align-items:flex-start;gap:.5rem}}@media (width<=600px){.topic-mastery-list{grid-template-columns:1fr}}.calendar-page{margin-block:24px 48px}.calendar-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.calendar-label{color:#8b5cf6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.8rem;font-weight:800}.calendar-header h1{color:#17142a;margin:0 0 8px;font-size:2.6rem}.calendar-header>div>p:last-child{color:#6b647c;max-width:620px;margin:0;line-height:1.6}.calendar-new-event-button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#8b5cf6,#a855f7);border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.calendar-new-event-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #8b5cf633}.calendar-placeholder{text-align:center;background:#fff;border:1px solid #eadff5;border-radius:24px;justify-items:center;margin-top:32px;padding:64px 24px;display:grid;box-shadow:0 10px 28px #8b5cf60d}.calendar-placeholder-icon{color:#8b5cf6;background:#f4edff;border-radius:16px;place-items:center;width:54px;height:54px;margin-bottom:16px;display:grid}.calendar-placeholder h2{color:#17142a;margin:0 0 8px}.calendar-placeholder>p{color:#6b647c;margin:0}.calendar-event-preview-list{text-align:left;gap:10px;width:min(100%,620px);margin-top:28px;display:grid}.calendar-event-preview{background:#faf8ff;border:1px solid #eadff5;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;display:flex}.calendar-event-preview>div{gap:4px;display:grid}.calendar-event-preview span{color:#8b5cf6;letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:800}.calendar-event-preview strong{color:#17142a}.calendar-event-preview time{color:#6b647c;flex-shrink:0;font-size:.9rem;font-weight:600}.calendar-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;background:#17142a59;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.calendar-modal{box-sizing:border-box;background:#fff;border:1px solid #eadff5;border-radius:20px;width:min(560px,100vw - 48px);max-height:calc(100vh - 48px);padding:28px;overflow-y:auto;box-shadow:0 24px 80px #17142a33}.calendar-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.calendar-modal-header h2{color:#17142a;margin:0;font-size:1.5rem}.calendar-modal-close-button{color:#6b647c;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;padding:0;display:grid}.calendar-modal-close-button:hover{color:#7c3aed;background:#f4edff}.calendar-modal-close-button:disabled{cursor:not-allowed;opacity:.5}.calendar-modal-edit-button,.calendar-modal-delete-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,box-shadow .2s,opacity .2s;display:inline-flex}.calendar-modal-edit-button{color:#7c3aed;background:#f4edff}.calendar-modal-edit-button:hover{background:#eadcff;transform:translateY(-1px)}.calendar-modal-delete-button{color:#be123c;background:#fff1f2}.calendar-modal-delete-button:hover:not(:disabled){background:#ffe4e6;transform:translateY(-1px)}.calendar-modal-delete-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.calendar-edit-series-info{color:#6b647c;background:#faf8ff;border:1px solid #e3d8ee;border-radius:12px;margin:0 0 18px;padding:12px 14px;font-size:.9rem;line-height:1.5}.calendar-form{gap:16px;display:grid}.calendar-form-field{gap:7px;display:grid}.calendar-form-field>span,.calendar-all-day-field>span{color:#342d3b;font-size:.9rem;font-weight:700}.calendar-form-field input,.calendar-form-field select,.calendar-form-field textarea{box-sizing:border-box;color:#28232d;width:100%;font:inherit;background:#fff;border:1px solid #d9cfe2;border-radius:12px;outline:none;transition:border-color .2s,box-shadow .2s,background-color .2s}.calendar-form-field input,.calendar-form-field select{min-height:46px;padding:0 14px}.calendar-form-field textarea{resize:vertical;min-height:100px;padding:12px 14px;line-height:1.5}.calendar-form-field input::placeholder,.calendar-form-field textarea::placeholder{color:#aaa2b0}.calendar-form-field input:hover,.calendar-form-field select:hover,.calendar-form-field textarea:hover{border-color:#c4b4d4}.calendar-form-field input:focus,.calendar-form-field select:focus,.calendar-form-field textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px #8b5cf61f}.calendar-form-field input:disabled,.calendar-form-field select:disabled,.calendar-form-field textarea:disabled{cursor:not-allowed;background:#f7f4f9}.calendar-form-field select{cursor:pointer;padding-right:42px}.calendar-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.calendar-all-day-field{cursor:pointer;align-items:center;gap:10px;width:fit-content;display:inline-flex}.calendar-all-day-field input{accent-color:#8b5cf6;cursor:pointer;width:18px;height:18px}.calendar-form-error{color:#b42318;background:#fef2f2;border:1px solid #fecaca;border-radius:11px;margin:0;padding:11px 13px;font-size:.9rem;font-weight:600;line-height:1.45}.calendar-modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.calendar-modal-cancel-button,.calendar-modal-submit-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,box-shadow .2s,opacity .2s}.calendar-modal-cancel-button{color:#342d3b;background:#f1edf5}.calendar-modal-cancel-button:hover:not(:disabled){background:#e8e1ee}.calendar-modal-submit-button{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);box-shadow:0 7px 16px #8b5cf62e}.calendar-modal-submit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #8b5cf63d}.calendar-modal-cancel-button:disabled,.calendar-modal-submit-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.calendar-event-details{gap:16px;display:grid}.calendar-event-detail-subject{background:#faf8ff;border:1px solid #eadff5;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.calendar-event-detail-subject strong{color:#7c3aed;font-size:.95rem}.calendar-event-detail-subject span{color:#6b647c;text-align:right;font-size:.9rem}.calendar-event-detail-row{background:#fff;border:1px solid #eee7f5;border-radius:14px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.calendar-event-detail-row>svg{color:#8b5cf6;flex-shrink:0;margin-top:2px}.calendar-event-detail-row>div{gap:3px;display:grid}.calendar-event-detail-row span,.calendar-event-detail-description>span{color:#8b8490;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.calendar-event-detail-row strong{color:#342d3b;font-size:.95rem;line-height:1.45}.calendar-event-detail-description{background:#faf8ff;border:1px solid #eee7f5;border-radius:14px;padding:16px}.calendar-event-detail-description p{color:#5f5873;margin:8px 0 0;line-height:1.6}.calendar-card{background:#fff;border:1px solid #eadff5;border-radius:24px;margin-top:32px;overflow:hidden;box-shadow:0 10px 28px #8b5cf60d}.calendar-toolbar{border-bottom:1px solid #eee7f5;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:20px 22px;display:grid}.calendar-toolbar h2{color:#17142a;text-align:center;text-transform:capitalize;margin:0;font-size:1.35rem}.calendar-month-navigation{align-items:center;gap:8px;display:flex}.calendar-navigation-button,.calendar-today-button,.calendar-view-button{color:#5f5873;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e3d8ee;border-radius:10px;font-weight:700}.calendar-navigation-button{place-items:center;width:38px;padding:0;display:grid}.calendar-today-button{padding:0 14px}.calendar-navigation-button:hover,.calendar-today-button:hover,.calendar-view-button:hover:not(:disabled){color:#7c3aed;background:#faf5ff;border-color:#cdb6e8}.calendar-view-switcher{justify-content:flex-end;gap:6px;display:flex}.calendar-view-button{padding:0 12px}.calendar-view-button-active{color:#7c3aed;background:#f4edff;border-color:#a78bfa}.calendar-view-button:disabled{cursor:default;opacity:.45}.calendar-weekdays{background:#faf8ff;border-bottom:1px solid #eee7f5;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays>div{color:#756d82;text-align:center;text-transform:uppercase;padding:12px 10px;font-size:.78rem;font-weight:800}.calendar-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-day{background:#fff;border-bottom:1px solid #eee7f5;border-right:1px solid #eee7f5;min-width:0;min-height:105px;padding:10px}.calendar-day:nth-child(7n){border-right:none}.calendar-day:nth-last-child(-n+7){border-bottom:none}.calendar-day-outside{background:#fcfbfd}.calendar-day-outside .calendar-day-number{color:#b9b0bf}.calendar-day-header{justify-content:flex-end;margin-bottom:7px;display:flex}.calendar-day-number{color:#4e4658;border-radius:50%;place-items:center;width:30px;height:30px;font-size:.85rem;font-weight:700;display:grid}.calendar-day-number-today{color:#fff;background:#8b5cf6}.calendar-day-events{gap:5px;display:grid}.calendar-event{color:#4c3570;text-align:left;cursor:pointer;background:#f4edff;border:none;border-radius:9px;gap:2px;width:100%;min-width:0;padding:7px 8px;transition:transform .15s,background-color .15s;display:grid}.calendar-event:hover{background:#eadcff;transform:translateY(-1px)}.calendar-event-time{color:#7c3aed;font-size:.68rem;font-weight:800}.calendar-event-subject{color:#8b5cf6;letter-spacing:.03em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;font-weight:800;overflow:hidden}.calendar-event strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.76rem;line-height:1.25;overflow:hidden}.calendar-event-type{color:#756d82;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.calendar-subject-purple{color:#5b21b6;background:#f3ecff;border:1px solid #c4b5fd}.calendar-subject-pink{color:#be185d;background:#fff0f5;border:1px solid #f9a8d4}.calendar-subject-green{color:#237a3b;background:#eefaf1;border:1px solid #86d49b}.calendar-subject-blue{color:#1d4ed8;background:#eef6ff;border:1px solid #93c5fd}.calendar-subject-orange{color:#c2410c;background:#fff7ed;border:1px solid #fdba74}.calendar-subject-teal{color:#0f766e;background:#f0fdfa;border:1px solid #5eead4}.calendar-subject-red{color:#be123c;background:#fff1f2;border:1px solid #fda4af}.calendar-subject-yellow{color:#a16207;background:#fefce8;border:1px solid #fde047}.calendar-subject-default,.calendar-subject-general{color:#4b5563;background:#f3f4f6;border:1px solid #d1d5db}.calendar-subject-purple .calendar-event-time,.calendar-subject-purple .calendar-event-subject{color:#7c3aed}.calendar-subject-pink .calendar-event-time,.calendar-subject-pink .calendar-event-subject{color:#db2777}.calendar-subject-green .calendar-event-time,.calendar-subject-green .calendar-event-subject{color:#2f9e55}.calendar-subject-blue .calendar-event-time,.calendar-subject-blue .calendar-event-subject{color:#2563eb}.calendar-subject-orange .calendar-event-time,.calendar-subject-orange .calendar-event-subject{color:#ea580c}.calendar-subject-teal .calendar-event-time,.calendar-subject-teal .calendar-event-subject{color:#0d9488}.calendar-subject-red .calendar-event-time,.calendar-subject-red .calendar-event-subject{color:#e11d48}.calendar-subject-yellow .calendar-event-time,.calendar-subject-yellow .calendar-event-subject{color:#ca8a04}.calendar-event-exam,.calendar-event-deadline{color:#9f1239;background:#fff1f2}.calendar-event-assignment,.calendar-event-exercise{color:#8a5513;background:#fef7e8}.calendar-event-other{color:#4b5563;background:#f3f4f6}.calendar-week-view{grid-template-columns:repeat(7,minmax(0,1fr));width:100%;display:grid}.calendar-week-day{background:#fff;border-right:1px solid #eee7f5;align-content:start;justify-items:center;gap:6px;min-width:0;min-height:120px;padding:18px 10px;display:grid}.calendar-week-day:last-child{border-right:none}.calendar-week-day span{color:#756d82;text-transform:uppercase;font-size:.78rem;font-weight:800}.calendar-week-day strong{color:#342d3b;border-radius:50%;place-items:center;width:36px;height:36px;font-size:1rem;display:grid}.calendar-week-navigation{justify-content:center;align-items:center;gap:8px;padding:18px 20px 0;display:flex}.calendar-week-title{color:#17142a;text-align:center;text-transform:capitalize;margin:14px 0 18px;font-size:1.2rem}.calendar-week-day-number{color:#342d3b;border-radius:50%;place-items:center;width:36px;height:36px;font-size:1rem;display:grid}.calendar-week-day-number-today{color:#fff;background:#8b5cf6}.calendar-week-schedule{grid-template-columns:64px minmax(0,1fr);display:grid}.calendar-week-time-column{background:#faf8ff;border-right:1px solid #eee7f5;grid-template-rows:58px repeat(14,56px);display:grid}.calendar-week-time-spacer{border-bottom:1px solid #eee7f5}.calendar-week-time-label{color:#8b8490;border-bottom:1px solid #f1ecf5;justify-content:center;align-items:flex-start;padding-top:6px;font-size:.72rem;font-weight:700;display:flex}.calendar-week-schedule-content{min-width:0}.calendar-week-day-schedule{background:repeating-linear-gradient(#0000 0 55px,#f1ecf5 56px);width:100%;min-height:784px;margin-top:-16px;position:relative}.calendar-week-event{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:9px;gap:2px;min-width:0;min-height:44px;padding:7px 8px;transition:transform .15s,box-shadow .15s;display:grid;position:absolute;overflow:hidden;box-shadow:0 4px 10px #8b5cf614}.calendar-week-event:hover{transform:translateY(-1px);box-shadow:0 7px 14px #8b5cf624}.calendar-day-schedule{grid-template-columns:64px minmax(0,1fr);display:grid}.calendar-day-schedule-content{min-width:0}.calendar-day-schedule-header{background:#faf8ff;border-bottom:1px solid #eee7f5;justify-content:center;align-items:center;gap:10px;min-height:58px;padding:10px 16px;display:flex}.calendar-day-schedule-header>span{color:#756d82;text-transform:uppercase;font-size:.8rem;font-weight:800}.calendar-day-timeline{background:repeating-linear-gradient(#0000 0 55px,#f1ecf5 56px);min-height:784px;position:relative}.calendar-day-event{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:12px;align-content:start;gap:4px;min-width:0;min-height:44px;padding:10px 12px;transition:transform .15s,box-shadow .15s;display:grid;position:absolute;overflow:hidden;box-shadow:0 5px 14px #8b5cf61a}.calendar-day-event:hover{transform:translateY(-1px);box-shadow:0 8px 18px #8b5cf629}.calendar-day-event .calendar-event-time{font-size:.76rem}.calendar-day-event .calendar-event-subject{font-size:.72rem}.calendar-day-event>strong{font-size:.95rem;line-height:1.3}.calendar-day-event-location{color:#756d82;margin-top:2px;font-size:.75rem;font-weight:600}@media (width<=700px){.calendar-page{margin-block:24px 48px}.calendar-header{flex-direction:column}.calendar-header h1{font-size:2rem}.calendar-new-event-button{width:100%}.calendar-placeholder{border-radius:20px;margin-top:24px;padding:40px 20px}.calendar-event-preview{flex-direction:column;align-items:flex-start;gap:8px}.calendar-modal-overlay{padding:16px}.calendar-modal{border-radius:18px;width:100%;max-height:calc(100dvh - 32px);padding:20px}.calendar-modal-header{margin-bottom:20px}.calendar-modal-header h2{font-size:1.3rem}.calendar-time-grid{grid-template-columns:1fr}.calendar-modal-actions{flex-direction:column-reverse;gap:10px}.calendar-modal-cancel-button,.calendar-modal-submit-button{width:100%}.calendar-card{overflow-x:auto}.calendar-toolbar{grid-template-columns:1fr;gap:14px;padding:16px}.calendar-toolbar h2{grid-row:1;font-size:1.2rem}.calendar-month-navigation,.calendar-view-switcher{justify-content:center}.calendar-day{min-height:130px}.calendar-event-detail-subject{flex-direction:column;align-items:flex-start;gap:4px}.calendar-event-detail-subject span{text-align:left}.calendar-day-schedule{grid-template-columns:52px minmax(0,1fr)}.calendar-day-schedule-header{min-height:52px;padding:8px 12px}.calendar-day-event{border-radius:10px;padding:8px 10px}.calendar-week-time-label{font-size:.68rem}.calendar-week-schedule{grid-template-columns:52px minmax(0,1fr);overflow-x:auto}.calendar-week-schedule-content,.calendar-week-view{min-width:700px}.calendar-week-day{min-width:100px}.calendar-week-event{padding:6px}.calendar-week-event .calendar-event-time{font-size:.68rem}.calendar-week-event .calendar-event-subject{font-size:.65rem}.calendar-week-event strong{font-size:.76rem}.calendar-weekdays{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays>div{padding:9px 2px;font-size:.62rem}.calendar-month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-width:0;min-height:82px;padding:5px 4px}.calendar-day-header{justify-content:center}.calendar-day-number{font-size:.72rem}.calendar-day-number-today{width:26px;height:26px}.calendar-day-events{gap:3px;margin-top:4px}.calendar-event{border-radius:6px;min-width:0;padding:4px}.calendar-event-time{font-size:.56rem}.calendar-event-subject{font-size:.54rem}.calendar-event strong{text-overflow:ellipsis;white-space:nowrap;font-size:.6rem;line-height:1.15;overflow:hidden}.calendar-event-type,.calendar-month-grid .calendar-event-subject{display:none}.calendar-month-grid .calendar-event-time{font-size:.56rem}.calendar-month-grid .calendar-event strong{font-size:.6rem;line-height:1.1}}.admin-books-page{flex-direction:column;gap:2rem;display:flex}.admin-books-section{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:1.5rem}.admin-books-section h2{margin-top:0;margin-bottom:1rem}.admin-books-form{gap:1rem;display:grid}.admin-books-form label{margin-bottom:.35rem;font-weight:600;display:block}.admin-books-form input,.admin-books-form select,.admin-books-select{width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:.75rem .85rem}.admin-books-form input:focus,.admin-books-form select:focus,.admin-books-select:focus{outline-offset:1px;border-color:#8b5cf6;outline:2px solid #c4b5fd}.admin-books-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-books-actions{flex-wrap:wrap;gap:.75rem;margin-top:.25rem;display:flex}.admin-books-actions button,.admin-books-item-actions button{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:.65rem 1rem;font-weight:600}.admin-books-primary-button{color:#fff;background:#7c3aed}.admin-books-secondary-button{color:#374151;background:#f3f4f6}.admin-books-delete-button{color:#b91c1c;background:#fee2e2}.admin-books-actions button:disabled,.admin-books-item-actions button:disabled{opacity:.55;cursor:not-allowed}.admin-books-list{flex-direction:column;gap:.75rem;margin-top:1rem;display:flex}.admin-books-item{border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.admin-books-item-content{min-width:0}.admin-books-item-content strong{margin-bottom:.2rem;display:block}.admin-books-item-content span{color:#6b7280;font-size:.9rem}.admin-books-item-actions{flex-shrink:0;gap:.5rem;display:flex}.admin-books-message{border-radius:10px;padding:.85rem 1rem}.admin-books-error{color:#b91c1c;background:#fef2f2}.admin-books-success{color:#166534;background:#f0fdf4}.admin-books-empty{color:#6b7280}@media (width<=700px){.admin-books-section{padding:1.1rem}.admin-books-row{grid-template-columns:1fr}.admin-books-item{flex-direction:column;align-items:flex-start}.admin-books-item-actions{width:100%}.admin-books-item-actions button{flex:1}}.concept-page{margin-block:0;padding-block:40px 96px}.concept-page-back{color:#7c3aed;align-items:center;margin-bottom:36px;font-size:.9rem;font-weight:600;text-decoration:none;transition:color .2s;display:inline-flex}.concept-page-back:hover{color:#5b21b6}.concept-page-header{max-width:820px;margin-bottom:32px}.concept-page-header h1{color:#111827;letter-spacing:-.035em;margin:0 0 14px;font-size:clamp(2.4rem,5vw,3.75rem);line-height:1.05}.concept-page-definition{color:#4b5563;max-width:760px;margin:0;font-size:1.08rem;line-height:1.75}.concept-page-section{max-width:820px;margin-top:32px}.concept-page-section h2{color:#1f2937;margin:0 0 14px;font-size:1.05rem;font-weight:700}.concept-page-section>p{color:#4b5563;max-width:760px;margin:0;font-size:1rem;line-height:1.75}.concept-page-contexts{flex-wrap:wrap;gap:10px;display:flex}.concept-page-context{color:#6b7280;background:#faf7ff;border:1px solid #e9ddff;border-radius:10px;align-items:center;gap:8px;padding:9px 13px;font-size:.88rem;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.concept-page-context span:first-child{color:#6d28d9;font-weight:600}.concept-page-context span:nth-child(2){color:#a78bfa}.concept-page-context strong{color:#5b21b6;font-weight:700}.concept-page-context:hover{background:#f5f0ff;border-color:#d8c4ff;transform:translateY(-1px)}.concept-page-callout{border:1px solid;border-radius:14px;width:100%;max-width:820px;overflow:hidden}.concept-page-callout+.concept-page-callout{margin-top:16px}.concept-page-callout-header{border-bottom:1px solid #1e18260f;align-items:center;min-height:48px;padding:.7rem 1rem;display:flex}.concept-page-callout-heading{align-items:center;gap:.5rem;font-size:.92rem;font-weight:700;display:flex}.concept-page-callout-body{padding:1rem 1.1rem 1.05rem}.concept-page-content-html{color:#374151;font-size:.98rem;line-height:1.75}.concept-page-content-html p{margin:0}.concept-page-callout-definition{background:#f5fbf7;border-color:#c8e5d0}.concept-page-callout-definition .concept-page-callout-header{color:#2d7147;background:#eaf6ed}.concept-page-callout-theorem{background:#fff7f7;border-color:#efcaca}.concept-page-callout-theorem .concept-page-callout-header{color:#a83b3b;background:#fdeaea}.concept-page-formulas{max-width:820px}.concept-page-formula{background:#fafafa;border:1px solid #e5e7eb;border-radius:14px;padding:20px 24px}.concept-page-formula+.concept-page-formula{margin-top:12px}.concept-page-formula-math{justify-content:center;padding:12px 0 18px;font-size:1.05rem;display:flex;overflow-x:auto}.concept-page-source{color:#7c3aed;margin-top:12px;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-block}.concept-page-source:hover{color:#5b21b6;text-decoration:underline}.concept-page-related{flex-wrap:wrap;gap:8px;display:flex}.concept-page-related-link{color:#7c3aed;background:#f5f3ff;border:1px solid #ede9fe;border-radius:8px;padding:7px 11px;font-size:.85rem;font-weight:600;text-decoration:none;transition:background .2s,border-color .2s}.concept-page-related-link:hover{color:#5b21b6;background:#ede9fe;border-color:#ddd6fe}.concept-page-notes{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;width:100%;max-width:820px;display:flex;overflow:hidden}.concept-page-note-link{color:#374151;border-bottom:1px solid #f0f1f3;justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;font-size:.92rem;font-weight:600;text-decoration:none;transition:background .2s,color .2s;display:flex}.concept-page-note-link:last-child{border-bottom:0}.concept-page-note-link span{color:#8b5cf6}.concept-page-note-link:hover{color:#6d28d9;background:#faf8ff}@media (width<=600px){.concept-page{padding-block:28px 64px}.concept-page-back,.concept-page-header{margin-bottom:28px}.concept-page-header h1{font-size:clamp(2.1rem,11vw,3rem)}.concept-page-section{margin-top:28px}.concept-page-contexts{flex-direction:column;align-items:stretch}.concept-page-context{box-sizing:border-box;width:100%}.concept-page-callout-body{padding:.9rem 1rem 1rem}.concept-page-formula{padding:16px}}.topic-page{margin-block:0;padding-block:48px 80px}.topic-page .back-link{color:#7c3aed;align-items:center;margin-bottom:40px;font-weight:600;text-decoration:none;display:inline-flex}.topic-page .back-link:hover{color:#5b21b6}.topic-page-label{color:#7c3aed;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:700}.topic-page>h1{color:#18181b;margin:0;font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.1}.topic-page-section{margin-top:48px}.topic-page-section-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;display:flex}.topic-page-section-header h2{color:#18181b;margin:0;font-size:1.5rem}.topic-page-section-header>span{color:#71717a;font-size:.9rem}.topic-page-subtopics{gap:12px;display:grid}.topic-page-subtopic{color:#18181b;background:#fff;border:1px solid #ede9fe;border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:72px;padding:12px 18px;text-decoration:none;transition:border-color .2s,transform .2s;display:grid}.topic-page-subtopic:hover{border-color:#c4b5fd;transform:translateY(-1px)}.topic-page-subtopic-number{color:#7c3aed;background:#f3e8ff;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.topic-page-subtopic-name{font-weight:600;line-height:1.35}.topic-page-subtopic svg{color:#a78bfa}@media (width<=700px){.topic-page{padding-top:32px}.topic-page-section-header{flex-direction:column;align-items:flex-start;gap:8px}.topic-page-subtopic{grid-template-columns:36px minmax(0,1fr) auto;gap:12px;min-height:64px;padding:10px 14px}.topic-page-subtopic-number{width:34px;height:34px}}.subtopic-page{margin-block:0;padding-block:48px 80px}.subtopic-page .back-link{color:#7c3aed;align-items:center;margin-bottom:40px;font-weight:600;text-decoration:none;display:inline-flex}.subtopic-page .back-link:hover{color:#5b21b6}.subtopic-page-label{color:#7c3aed;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:700}.subtopic-page>h1{color:#18181b;max-width:900px;margin:0;font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.1}.subtopic-page-section{margin-top:48px}.subtopic-page-section-header{margin-bottom:20px}.subtopic-page-section-header h2{color:#18181b;margin:0;font-size:1.5rem}.subtopic-page-empty{background:#fff;border:1px solid #ede9fe;border-radius:14px;padding:24px}.subtopic-page-empty p{color:#71717a;margin:0}.subtopic-page-concepts{gap:12px;display:grid}.subtopic-page-concept{color:#18181b;background:#fff;border:1px solid #ede9fe;border-radius:14px;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;text-decoration:none;transition:border-color .2s,transform .2s;display:flex}.subtopic-page-concept:hover{border-color:#c4b5fd;transform:translateY(-1px)}.subtopic-page-concept-type{color:#7c3aed;letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:700}.subtopic-page-concept h3{margin:6px 0 4px;font-size:1.05rem}.subtopic-page-concept p{color:#71717a;margin:0;line-height:1.5}.subtopic-page-concept>svg{color:#a78bfa;flex-shrink:0}@media (width<=700px){.subtopic-page{padding-top:32px}}.admin-concepts-card{background:#fff;border:1px solid #ede9fe;border-radius:16px;max-width:720px;margin-top:32px;padding:28px}.admin-concepts-card h2{margin:0 0 24px}.admin-concepts-form{gap:10px;display:grid}.admin-concepts-form label{color:#374151;margin-top:10px;font-size:.9rem;font-weight:600}.admin-concepts-form select{color:#18181b;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px}.admin-concepts-form select:focus{border-color:#7c3aed;outline:none}.admin-concepts-form button{color:#fff;font:inherit;cursor:pointer;background:#7c3aed;border:0;border-radius:8px;justify-self:start;margin-top:18px;padding:10px 18px;font-weight:600}.admin-concepts-form button:disabled{cursor:default;opacity:.6}.admin-concepts-message{margin:12px 0 0;font-size:.9rem}.admin-concepts-error{color:#b91c1c}.admin-concepts-success{color:#15803d}.admin-concept-links{background:#faf8ff;border:1px solid #ede9fe;border-radius:10px;margin:12px 0 8px;padding:16px}.admin-concept-links-label{color:#7c3aed;text-transform:uppercase;margin:0 0 10px;font-size:.8rem;font-weight:700}.admin-concept-links-empty{color:#71717a;margin:0;font-size:.9rem}.admin-concept-links-list{gap:8px;display:grid}.admin-concept-link{align-items:center;gap:8px;font-size:.9rem;display:flex}.admin-concept-link span{color:#7c3aed}.admin-concept-link{justify-content:space-between;align-items:center;gap:16px;font-size:.9rem;display:flex}.admin-concept-link-name{align-items:center;gap:8px;display:flex}.admin-concept-link-name span{color:#7c3aed}.admin-concept-link-remove{color:#71717a;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:.85rem}.admin-concept-link-remove:hover{color:#b91c1c}:root{--site-max-width:1280px;--site-gutter:24px}.site-container,.page-container{width:min(var(--site-max-width), calc(100% - 2 * var(--site-gutter)));max-width:var(--site-max-width);min-width:0;margin-inline:auto;padding-inline:0}@media (width<=1100px){:root{--site-gutter:16px}}@media (width<=700px){:root{--site-gutter:10px}}@media (width<=420px){:root{--site-gutter:8px}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-surface:#231e2e;--app-background:#191520;--app-text:#eee9f5;--app-muted:#b7abc8;--app-border:#3b314a;--app-soft:#30243f;--app-accent:#c4a0ff}[data-theme=dark] body{background:var(--app-background);color:var(--app-text)}[data-theme=dark] :is(h1,h2,h3,h4,h5,h6){color:var(--app-text)}[data-theme=dark] :is(.page-description,.subject-description,.weekly-update-name,.semester-subject-item h3,.home-progress-details,.home-progress-rating,.upcoming-task p,.upcoming-task time,.exam-card p,.search-description,.search-snippet,.search-message,.note-description,.read-only-note-content,.ProseMirror){color:var(--app-muted)}[data-theme=dark] :is(.upcoming-task,.semester-subject-item,.home-progress-item,.exam-card,.subject-card,.subject-feature-card,.subject-progress,.subject-knowledge-base,.note-card,.folder-card,.pdf-card,.video-card,.flashcard,.settings-card,.profile-card,.auth-card,.search-results,.exam-section,.calendar-card,.calendar-sidebar,.calendar-main,.note-editor-toolbar,.note-outline,.editable-note-editor-wrapper,.editor-toolbar,.note-reading-tools,.note-ai-tools){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(input,textarea,select){background:var(--app-surface);color:var(--app-text);border-color:var(--app-border)}[data-theme=dark] :is(.search-title,.read-only-note-content,.ProseMirror,.exam-card h3){color:var(--app-text)}[data-theme=dark] :is(.search-icon,.search-result:hover,.home-progress-bar,.subject-progress-bar,.resource-progress--compact,.note-outline-link:hover){background:var(--app-soft)}[data-theme=dark] :is(.page-label,.back-link,.semester-subjects-header a,.weekly-updates-week,.upcoming-tasks-header a,.exam-card span){color:var(--app-accent)}[data-theme=dark] :is(.upcoming-task-time-today,.upcoming-task-time-tomorrow){color:var(--app-text)!important}[data-theme=dark] .read-only-note-content :is(blockquote,pre,th,td){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] .search-result{color:var(--app-text)}[data-theme=dark] .weekly-update-details{color:var(--app-muted)}[data-theme=dark] :is(.semester-subject-purple .semester-subject-code,.weekly-update-purple .weekly-update-code,.upcoming-task-purple .upcoming-task-code,.home-progress-purple strong){color:#c4a0ff}[data-theme=dark] :is(.semester-subject-pink .semester-subject-code,.weekly-update-pink .weekly-update-code,.upcoming-task-pink .upcoming-task-code,.home-progress-pink strong){color:#f59aca}[data-theme=dark] :is(.semester-subject-blue .semester-subject-code,.weekly-update-blue .weekly-update-code,.upcoming-task-blue .upcoming-task-code,.home-progress-blue strong){color:#8cbfff}[data-theme=dark] :is(.semester-subject-green .semester-subject-code,.weekly-update-green .weekly-update-code,.upcoming-task-green .upcoming-task-code,.home-progress-green strong){color:#86dc9c}[data-theme=dark] :is(.semester-subject-orange .semester-subject-code,.weekly-update-orange .weekly-update-code,.upcoming-task-orange .upcoming-task-code){color:#ffb478}[data-theme=dark] :is(.semester-subject-teal .semester-subject-code,.weekly-update-teal .weekly-update-code,.upcoming-task-teal .upcoming-task-code){color:#7be1d5}[data-theme=dark] :is(.semester-subject-red .semester-subject-code,.weekly-update-red .weekly-update-code,.upcoming-task-red .upcoming-task-code){color:#ff9db0}[data-theme=dark] :is(.semester-subject-yellow .semester-subject-code,.weekly-update-yellow .weekly-update-code,.upcoming-task-yellow .upcoming-task-code){color:#edd777}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .note-callout[data-callout-type]{background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .note-callout[data-callout-type] .note-callout-header{background:var(--app-soft);color:var(--app-accent)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .tiptap-mathematics-render[data-type=block-math]{background:var(--app-surface);color:var(--app-text)}[data-theme=dark] .note-outline :is(summary,a[aria-current]){color:var(--app-accent)}[data-theme=dark] .note-outline a[aria-current]{background:var(--app-soft)}[data-theme=dark] :is(.note-reading-tools,.note-editor-toolbar,.note-navigation,.note-ai-tools) :is(button,a,summary),[data-theme=dark] :is(.note-toolbar-options,.math-dialog,.concept-picker,.slash-menu-popover){background:var(--app-surface);color:var(--app-text);border-color:var(--app-border)}[data-theme=dark] :is(.note-reading-tools,.note-editor-toolbar,.note-ai-tools) button:disabled{color:var(--app-muted);opacity:.5}[data-theme=dark] .note-reading-tools{background:0 0}[data-theme=dark] :is([class$=-card],[class*=-card\ ],[class$=-panel],.subject-syllabus-topic,.subject-progress-category,.topic-progress-item,.calendar-day,.calendar-day-header,.calendar-time-column,.calendar-week-grid,.programming-sidebar,.programming-content){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.subject-feature-card p,.subject-page-name,.subject-progress-summary,.subject-progress-category,.subject-knowledge-base-description,.subject-syllabus-description,.folder-card p,.pdf-card p,.video-card p,.note-card p,.settings-card p,.profile-card p,.auth-card p,.logged-out-hero-description,.logged-out-feature p,.home-empty-description){color:var(--app-muted)}[data-theme=dark] :is(.subject-feature-icon,.subject-progress-category,.subject-progress-bar){background:var(--app-soft)}[data-theme=dark] .subject-progress-category strong{color:var(--app-text)}:root[data-theme=dark]{--app-surface-raised:#2c2539;--app-surface-hover:#352c44;--app-input:#201a2a;--app-control-border:#746383}[data-theme=dark] :is(.note-card-wrapper,.notes-topic,.topic-page-subtopic,.subtopic-page-concept,.subtopic-page-empty,.subject-topic-progress,.resource-progress,.resource-progress--floating,.syllabus-tracker,.semester-finish,.note-content,.notes-search,.note-modal,.folder-modal,.folder-delete-dialog,.note-menu-dropdown,.folder-card-menu,.formula-concept-controls){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.notes-subtopic .note-card,.subject-progress-category,.subject-topic-progress-item,.syllabus-item,.note-move-option,.subject-syllabus-topic-link,.notes-topic h2 button,.math-preview,.math-symbol-button,.folder-delete-info){background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.note-card:hover,.folder-card:hover,.topic-page-subtopic:hover,.subtopic-page-concept:hover,.subject-syllabus-topic-link:hover,.note-move-option:hover,.math-symbol-button:hover,.note-menu-dropdown button:hover,.folder-card-menu button:hover,.notes-topic h2 button:hover,.notes-view-switch button:hover){background:var(--app-surface-hover);border-color:var(--app-control-border);color:var(--app-text)}[data-theme=dark] :is(.topic-page,.subtopic-page,.subject-page,.notes-topic,.resource-progress,.syllabus-tracker,.note-modal,.folder-modal) :is(h1,h2,h3,h4,label){color:var(--app-text)}[data-theme=dark] :is(.topic-page-section-header>span,.subtopic-page-empty p,.subtopic-page-concept p,.notes-subtopic>h3,.subject-topic-progress-name,.subject-topic-progress-meta,.subject-topic-progress-rating,.subject-progress-summary,.subject-knowledge-base p:not(.subject-progress-label),.progress-info,.resource-rating p,.note-progress-preview,.note-modal-message,.folder-modal-description,.math-preview-placeholder){color:var(--app-muted)}[data-theme=dark] :is(.topic-page-label,.subtopic-page-label,.subtopic-page-concept-type,.topic-page .back-link,.subtopic-page .back-link,.subject-progress-label,.subject-progress-percentage,.subject-topic-progress-percentage){color:var(--app-accent)}[data-theme=dark] :is(.topic-page-subtopic-number,.subject-progress-status,.structure-message,.generate-structure-button,.notes-view-switch button[aria-pressed=true]){background:var(--app-soft);border-color:var(--app-border);color:var(--app-accent)}[data-theme=dark] :is(.progress-bar,.subject-topic-progress-bar,.subject-progress-bar,.home-progress-bar){background:var(--app-surface-hover)}[data-theme=dark] :is(.notes-view-switch button,.year-buttons button:not(.active-year),.folder-modal-cancel-button,.note-modal-cancel-button,.math-dialog-cancel-button,.note-menu-dropdown button,.folder-card-menu button){background:var(--app-surface-raised);border-color:var(--app-control-border);color:var(--app-text)}:root[data-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:var(--app-input);border-color:var(--app-control-border);color:var(--app-text);caret-color:var(--app-accent)}:root[data-theme=dark] body :is(input,textarea)::placeholder{color:var(--app-muted);opacity:1}:root[data-theme=dark] body :is(input,textarea,select):focus-visible{border-color:var(--app-accent);outline-color:var(--app-accent)}:root[data-theme=dark] body :is(input,textarea,select):disabled{background:var(--app-surface);color:var(--app-muted)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) :is(table,td,th){background:var(--app-surface);border-color:var(--app-control-border);color:var(--app-text)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) th{background:var(--app-surface-raised)}[data-theme=dark] :is(.note-card-wrapper,.notes-topic,.subject-topic-progress,.resource-progress){box-shadow:none}[data-theme=dark] :is(.subject-card,.exam-page-card){border-left-color:var(--subject-accent)}[data-theme=dark] :is(.folder-note-item,.flashcard-topic-section){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] .folder-note-item:hover{background:var(--app-surface-hover);border-color:var(--app-control-border)}[data-theme=dark] .flashcard-topic-section .flashcard-subtopic-card{background:var(--app-surface-raised);border-color:var(--app-border)}[data-theme=dark] :is(.folder-note-title,.flashcard-topic-header h2,.flashcard-subtopic-card h3){color:var(--app-text)}[data-theme=dark] :is(.folder-note-description,.folder-note-read,.folder-note-menu .note-menu-button,.flashcard-topic-header p:not(.flashcard-topic-label),.flashcard-subtopic-card span){color:var(--app-muted)}[data-theme=dark] :is(.folder-note-icon,.flashcard-topic-section .flashcard-secondary-button){background:var(--app-soft);color:var(--app-accent)}[data-theme=dark] .flashcard-topic-section .flashcard-secondary-button:hover{background:var(--app-surface-hover)}[data-theme=dark] :is(.flashcard-topic-label,.flashcard-subtopic-label){color:var(--app-accent)}[data-theme=dark] .footer,[data-theme=dark] .footer :is(h3,p){color:var(--app-background)}[data-theme=dark] .footer-content p{opacity:1}[data-theme=dark] .footer-copy{opacity:1!important}
