@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.contents{display:contents}.table{display:table}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}}:root{color-scheme:light;color:#202039;--canvas:#f6f7fc;--panel:#fff;--border:#e6e7f1;--muted:#62647c;--accent:#5946c3;--nav:#17192e;--radius:18px;background:#f6f7fc;font-family:Segoe UI,Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{min-width:300px;margin:0}button{cursor:pointer}button:disabled,.disabled{cursor:not-allowed;opacity:.57}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,label:has(input:focus-visible){outline-offset:3px;outline:3px solid #8775eb}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:750;line-height:1.45}h1{font-size:clamp(1.75rem,3.5vw,2.55rem)}h2{font-size:1.32rem}h3{font-size:1.06rem}p{line-height:1.7}.muted,small{color:var(--muted)}.accent{color:var(--accent)}.eyebrow{color:var(--accent);margin-block-end:4px;font-size:.78rem;font-weight:750}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius)}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:8px 15px;font-size:.88rem;font-weight:700;line-height:1.4;display:inline-flex}.button.small{min-height:36px;padding:6px 11px;font-size:.8rem}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover:enabled{background:#4c39b0}.button.secondary{color:#383351;border-color:var(--border);background:#fff}.button.secondary:hover:not(:disabled){color:var(--accent);background:#fbfaff;border-color:#c9c1f3}.text-button{width:fit-content;min-height:32px;color:var(--accent);text-align:start;align-items:center;gap:5px;font-size:.86rem;font-weight:750;display:inline-flex}.text-button:hover:not(:disabled){text-decoration:underline}.icon-button{border:1px solid var(--border);background:#fff;border-radius:10px;place-items:center;width:40px;height:40px;display:inline-grid}.icon-button:hover:not(:disabled){color:var(--accent);border-color:#c8bff6}.badge-icon{border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:inline-grid}.badge-icon.purple{color:#6149cb;background:#eee9ff}.badge-icon.green{color:#16724f;background:#e2f7ed}.badge-icon.blue{color:#335eb2;background:#e8efff}.badge-icon.orange{color:#97551d;background:#fff0dd}.notice{color:#44328b;overflow-wrap:anywhere;background:#f0edff;border-radius:11px;padding:12px 14px}.notice.error{color:#932b37;background:#fcebea}.notice.success{color:#1a694a;background:#e8f8ee}.loading{color:var(--muted);padding:25px}.empty{text-align:center;justify-items:center;gap:12px;padding:38px 18px;display:grid}.screen-message{min-height:100vh;color:var(--muted);place-items:center;display:grid}.shell{grid-template-columns:235px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--nav);color:#fff;flex-direction:column;height:100dvh;padding:24px 16px 18px;display:flex;position:sticky;top:0}.brand{white-space:nowrap;align-items:center;gap:11px;width:fit-content;padding:2px 5px;font-size:1.27rem;font-weight:850;display:flex}.brand small,.auth-brand strong span{color:#b7aaff;font-size:.75em;font-weight:650}.brand-icon{color:#fff;background:#7460e0;border-radius:13px;place-items:center;width:43px;height:43px;display:grid}.nav-label{color:#b4b3cd;margin:42px 13px 12px;font-size:.75rem}.sidebar nav{gap:6px;display:grid}.sidebar nav button,.sidebar-bottom button{color:#d0cfe2;text-align:start;border-radius:10px;align-items:center;gap:11px;min-height:45px;padding:10px 13px;font-size:.92rem;display:flex}.sidebar nav button:hover,.sidebar-bottom button:hover{color:#fff;background:#272945}.sidebar nav button.active{color:#fff;background:#342b62;font-weight:700;box-shadow:inset -3px 0 #a997ff}.sidebar nav button.active svg{color:#c3b5ff}.sidebar-bottom{border-top:1px solid #34364f;gap:11px;margin-block-start:auto;padding-top:14px;display:grid}.private-label{color:#c3c2d8;align-items:center;gap:7px;padding-inline:13px;font-size:.78rem;display:flex}.status-dot{background:#77dbab;border-radius:50%;width:7px;height:7px}.main-area{min-width:0}.topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding-inline:clamp(16px,4vw,42px);display:flex}.topbar>span{color:var(--muted);align-items:center;gap:9px;font-size:.86rem;display:inline-flex}.mobile-exit{display:none}.content{align-content:start;gap:22px;min-width:0;max-width:1360px;margin:0 auto;padding:27px clamp(16px,4vw,42px) 52px;display:grid}.demo-notice{color:#51419e;background:#ede8ff;border-radius:7px;align-items:center;gap:7px;width:fit-content;padding:4px 9px;font-size:.76rem;display:inline-flex}.hero{color:#fff;background:linear-gradient(122deg,#6351c7,#453487 48%,#282048);border-radius:23px;align-items:center;min-height:252px;padding:27px 35px;display:grid;position:relative;overflow:hidden}.hero-content{z-index:1;position:relative}.hero h1{margin:11px 0 6px;font-size:clamp(1.75rem,3.1vw,2.6rem);line-height:1.36}.hero p{color:#ebe6ff}.hero-kicker{background:#ffffff18;border:1px solid #ffffff42;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.73rem;font-weight:650;display:inline-flex}.hero-art{inset-inline-end:2%;width:min(38%,360px);position:absolute;top:50%;transform:translateY(-50%)}.hero-art svg{width:100%;display:block}.hero-buttons{flex-wrap:wrap;gap:10px;margin-block-start:19px;display:flex}.hero-primary{color:#4c3799;background:#fff}.hero-primary:hover{background:#ede9ff}.hero-secondary{color:#fff;background:#ffffff12;border-color:#ffffff63}.hero-secondary:hover{background:#ffffff28}.page-title{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.page-title h1{line-height:1.27}.back{margin-block-end:-9px}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.metric{align-content:start;justify-items:start;gap:5px;padding:15px 16px 13px;display:grid}.metric .badge-icon{width:37px;height:37px;margin-block-end:4px}.metric-label{color:var(--muted);font-size:.86rem;font-weight:650}.metric strong{font-variant-numeric:tabular-nums;font-size:1.73rem;line-height:1.18}.metric small{font-size:.72rem;line-height:1.4}.lecture-section{gap:15px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading h2,.section-heading h3,.note-panel h3{align-items:center;gap:8px;display:flex}.count-tag,.topic-tag,.draft-tag{color:#584894;overflow-wrap:anywhere;background:#f0edf9;border-radius:999px;padding:4px 8px;font-size:.74rem;font-weight:700;display:inline-flex}.draft-tag{color:#81521b;background:#fff1db}.search-field{border:1px solid var(--border);min-width:0;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding-inline:11px;display:flex}.search-field input{color:#292944;background:0 0;border:0;width:clamp(105px,19vw,235px);min-height:41px;font-size:.87rem}.lecture-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.lecture-card{text-align:start;grid-template-rows:auto 1fr auto auto auto;gap:11px;min-height:170px;padding:16px;transition:border-color .15s,box-shadow .15s;display:grid}.lecture-card:hover{border-color:#b3a6ee;box-shadow:0 7px 20px #32256c0d}.lecture-card h3{overflow-wrap:anywhere;justify-self:start;font-size:1.03rem}.lecture-card-top,.lecture-progress,.lecture-card-footer{justify-content:space-between;align-items:center;gap:5px;display:flex}.lecture-progress,.lecture-card-footer{color:var(--muted);font-size:.76rem}.lecture-card-footer .accent{align-items:center;gap:3px;font-weight:750;display:inline-flex}progress{appearance:none;accent-color:#7460dc;background:#eeebf9;border-radius:99px;width:100%;height:7px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#eeebf9}progress::-webkit-progress-value{background:#7460dc;border-radius:99px}progress::-moz-progress-bar{background:#7460dc;border-radius:99px}.tabs{flex-wrap:wrap;gap:8px;display:flex}.tabs button{border:1px solid var(--border);color:#4c4b63;background:#fff;border-radius:9px;align-items:center;gap:7px;min-height:39px;padding:7px 13px;font-size:.82rem;font-weight:700;display:inline-flex}.tabs button:hover,.tabs button.chosen{color:#503caa;background:#eee9ff;border-color:#d4caf9}.topic-panel{gap:16px;padding:18px;display:grid}.topic-panel .muted{font-size:.86rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:420px;font-size:.88rem}th,td{text-align:start;border-bottom:1px solid var(--border);padding:11px 8px}thead{color:var(--muted);background:#f8f7fc}tbody th{overflow-wrap:anywhere;font-weight:700}tbody th small{margin-top:2px;font-weight:500;display:block}.question-layout,.import-grid{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);align-items:start;gap:15px;display:grid}.question-panel,.note-panel,.import-panel{gap:15px;min-width:0;padding:19px;display:grid}.question-top,.question-nav,.form-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.question-tags,.icon-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.favorite.is-on{color:#a63058;background:#ffeaf1;border-color:#fac0d4}.favorite.is-on svg{fill:currentColor}.flag.is-on{color:#8a5119;background:#fff0d9;border-color:#f8d3a1}.question-panel form,.options{gap:10px;display:grid}.question-panel form>.button{justify-self:start}fieldset{border:0;min-inline-size:0;margin:0;padding:0}.stem{white-space:pre-wrap;overflow-wrap:anywhere;width:100%;padding-block:3px 12px;font-size:1.08rem;font-weight:750;line-height:1.65;display:block}.option{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:10px;min-height:48px;padding:8px 12px;font-size:.91rem;display:flex}.option>input{accent-color:var(--accent)}.option>span:nth-of-type(2){white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.option-id{color:#4f486e;background:#efedf7;border-radius:5px;flex:0 0 24px;place-items:center;height:24px;font-weight:750;display:inline-grid}.option.picked{background:#f5f0ff;border-color:#9c88ed}.correct{color:#176045;background:#e9f8ef;border-color:#9eddb7}.wrong{color:#8c2834;background:#feeeee;border-color:#fac2c4}.answer-result{overflow-wrap:anywhere;border:1px solid;border-radius:10px;padding:12px}.answer-result strong,.source{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.answer-result p{white-space:pre-wrap}.source{color:var(--muted);font-size:.8rem}.source bdi{overflow-wrap:anywhere}.question-nav{border-top:1px solid var(--border);padding-top:10px}.note-panel textarea,.json-input,.form-stack input{border:1px solid var(--border);background:#fcfcff;border-radius:9px;width:100%;padding:10px}textarea{resize:vertical}.note-panel>.button{justify-self:start}.saved-label{color:#146a4b;font-size:.8rem}.attachments{border-top:1px solid var(--border);gap:8px;padding-block-start:13px;display:grid}.attachments .muted{font-size:.79rem}.image-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.image-list figure{position:relative}.image-list img{aspect-ratio:1;object-fit:contain;border:1px solid var(--border);border-radius:7px;width:100%;display:block}.image-list .icon-button{inset-inline-end:4px;width:28px;height:28px;position:absolute;top:4px}.form-stack,.form-stack label{gap:9px;display:grid}.form-stack label,label.form-stack{font-size:.9rem;font-weight:700}.json-input{font-family:ui-monospace,monospace;font-size:.8rem;font-weight:400}.preview-list{padding-inline-start:18px;font-size:.81rem;list-style:decimal}.auth-layout{background:radial-gradient(ellipse at 20% 10%,#e9e2ff,var(--canvas) 58%);place-items:center;min-height:100dvh;padding:20px;display:grid}.auth-card{gap:16px;width:min(100%,445px);padding:clamp(20px,5vw,34px);display:grid;box-shadow:0 17px 65px #2b235412}.auth-brand{align-items:center;gap:10px;font-size:1.35rem;display:flex}.auth-brand strong span{color:var(--accent)}@media(max-width:1080px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-inline:11px}.lecture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.question-layout,.import-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:740px){.shell{padding-bottom:calc(62px + env(safe-area-inset-bottom));display:block}.sidebar{z-index:5;height:auto;padding:6px 5px max(5px,env(safe-area-inset-bottom));position:fixed;inset:auto 0 0}.sidebar .brand,.nav-label,.sidebar-bottom,.top-import{display:none}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.sidebar nav button{text-align:center;flex-direction:column;justify-content:center;gap:3px;min-height:46px;padding:3px 2px;font-size:.65rem}.sidebar nav button.active{box-shadow:inset 0 -2px #a997ff}.topbar{min-height:53px}.mobile-exit{width:34px;height:34px;display:inline-grid}.content{gap:16px;padding-block:17px 24px}.hero{min-height:230px;padding:20px}.hero-art{opacity:.32;width:52%;inset-inline-end:-7%}.hero-break{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:11px 12px}.lecture-grid{gap:8px}.lecture-card{gap:8px;padding:11px}}@media(max-width:410px){.lecture-grid{grid-template-columns:minmax(0,1fr)}.lecture-card{min-height:0}.lecture-section>.section-heading{flex-direction:column;align-items:stretch}.search-field input{width:100%}}@media(prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}.field{border:1px solid var(--border);background:#fff;border-radius:9px;min-width:0;min-height:39px;padding:7px 10px}.filter-bar,.stat-strip{flex-wrap:wrap;align-items:center;gap:9px;padding:13px 15px;display:flex}.filter-bar .field{flex:115px;font-size:.81rem}.stat-strip{justify-content:space-between}.stat-strip bdi{margin-inline-start:4px;font-weight:750}.note-entry{border:1px solid var(--border);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:7px;padding:8px}.caption-form{gap:4px;margin-top:5px;display:grid}.caption-form input{width:100%;font-size:.75rem}.editor-panel{background:#f8f7fd;border-radius:9px;padding:11px}.editor-panel details,.history-row{font-size:.85rem}.editor-panel summary{cursor:pointer}.version-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem}@media(max-width:740px){.sidebar nav{grid-template-columns:repeat(6,minmax(0,1fr))}}.top-actions{align-items:center;gap:8px;display:flex}.auth-language{justify-content:end;display:flex}[dir=ltr] [data-icon=left],[dir=ltr] [data-icon=right]{transform:scaleX(-1)}[dir=ltr] .sidebar nav button.active{box-shadow:inset 3px 0 #a997ff}@media(max-width:740px){[dir=ltr] .sidebar nav button.active{box-shadow:inset 0 -2px #a997ff}}.offline-banner{color:#68411d;text-align:center;background:#fff0dd;padding:7px 14px;font-size:.85rem}.editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.editor-option{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
