@import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap";:root{color-scheme:dark;font-family:Inter,sans-serif;background:linear-gradient(180deg,#121417,#0b0d10);color:#e7e8eb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100vh}button,input,textarea{font:inherit}button,input,textarea,.sidebar-shell,.app-frame,.workspace,.sidebar-link,.note-card,.empty-state,.auth-card,.session-bar{border-radius:0}button{border:0;cursor:pointer}.app-shell{min-height:100vh;background:linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px) 0 0 / 44px 44px,linear-gradient(180deg,rgba(255,255,255,.03) 1px,transparent 1px) 0 0 / 44px 44px,linear-gradient(180deg,#111316,#0b0d10)}.sidebar-shell{position:fixed;inset:0 auto 0 0;width:300px;padding:22px 18px;display:flex;flex-direction:column;gap:18px;background:#0e1013;border-right:1px solid rgba(255,255,255,.08);overflow:hidden}.sidebar-shell::-webkit-scrollbar,.sidebar-history::-webkit-scrollbar,.notes-panel::-webkit-scrollbar{width:10px}.sidebar-shell::-webkit-scrollbar-thumb,.sidebar-history::-webkit-scrollbar-thumb,.notes-panel::-webkit-scrollbar-thumb{background:#ffffff1f}.sidebar-brand,.sidebar-section,.sidebar-footer,.workspace-header,.editor-panel,.notes-panel,.auth-card{border:1px solid rgba(255,255,255,.08);background:#ffffff05}.sidebar-brand,.sidebar-section,.sidebar-footer{flex-shrink:0;padding:16px}.sidebar-history{flex:1;min-height:0;overflow:auto}.sidebar-brand h1,.workspace-header h2,.login-card h1{margin:10px 0 12px;letter-spacing:-.04em;line-height:.98}.sidebar-brand h1{font-size:1.85rem}.sidebar-section{display:grid;gap:14px}.sidebar-navigation{gap:10px}.sidebar-section h2,.panel-header h2,.sidebar-section-header span{margin:0;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}.sidebar-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-links,.sidebar-actions,.sidebar-metrics,.sidebar-note-list{display:grid;gap:10px}.sidebar-search{display:grid;gap:8px}.sidebar-search span{margin:0;color:#e7e8eb94;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.sidebar-search input{height:44px;padding:12px 14px;background:#ffffff08}.sidebar-link{width:100%;min-height:44px;text-align:left;padding:13px 14px;background:#ffffff0a;color:inherit;border:1px solid rgba(255,255,255,.08);transition:background .14s ease,border-color .14s ease,color .14s ease}.sidebar-link:hover,.sidebar-link.is-active{background:#ffffff14;border-color:#ffffff24}.sidebar-new-note{text-align:center;font-weight:600}.sidebar-new-note,.sidebar-signout{height:44px}.sidebar-note{width:100%;min-height:76px;text-align:left;padding:12px 14px;background:#ffffff08;color:inherit;border:1px solid rgba(255,255,255,.08);display:grid;gap:6px;transition:background .14s ease,border-color .14s ease}.sidebar-note-row{display:grid;grid-template-columns:1fr}.sidebar-note strong,.sidebar-note span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-note strong{font-size:.95rem;font-weight:600}.sidebar-note span{color:#e7e8eb8a;font-size:.82rem}.note-tag{color:#e7e8ebd1;font-size:.8rem;letter-spacing:.04em}.sidebar-note:hover,.sidebar-note.is-active{background:#ffffff12;border-color:#ffffff29}.sidebar-empty{display:grid;gap:8px;min-height:76px;padding:14px;color:#e7e8ebad;border:1px dashed rgba(255,255,255,.1)}.sidebar-metrics div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.sidebar-metrics span,.sidebar-footer p{color:#e7e8ebad;margin:0}.sidebar-metrics strong{color:#f7f8fa}.sidebar-signout{width:100%}.app-frame{min-height:100vh;margin-left:300px;padding:32px 32px 32px 28px;display:grid;justify-items:center}.workspace{width:min(100%,1120px);display:grid;gap:18px}.workspace-header,.editor-panel,.notes-panel{padding:22px}.notes-top-actions,.exam-top-actions{position:fixed;top:24px;right:24px;z-index:20;display:flex;gap:8px}.small-floating-button{min-width:42px;height:40px;padding:0 14px;border:1px solid rgba(255,255,255,.12);background:#ffffff0d;color:inherit;box-shadow:0 16px 32px #0000002e}.notes-top-actions .small-floating-button:first-child{width:40px;padding-inline:0}.small-floating-button:hover{background:#ffffff14;border-color:#ffffff2e}.floating-icon-button{width:40px;min-width:40px;padding-inline:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:24px;background:#07090cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.delete-confirm-overlay{z-index:70}.modal-card{width:min(820px,calc(100vw - 32px));max-height:min(86vh,900px);display:grid;gap:14px;padding:16px;border:1px solid rgba(255,255,255,.1);background:#0e1013}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-header h2{margin:6px 0 0;letter-spacing:-.04em;line-height:1}.modal-body{min-height:0;overflow:auto}.delete-confirm-modal{width:min(520px,calc(100vw - 32px))}.delete-confirm-body{display:grid;gap:16px}.delete-confirm-copy{display:grid;gap:8px}.delete-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.delete-confirm-button{min-width:140px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button-spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,212,212,.28);border-top-color:#ffd4d4;animation:delete-spin .8s linear infinite}@keyframes delete-spin{to{transform:rotate(360deg)}}.notes-popup-form,.notes-popup-generator,.exam-popup-generator{margin-bottom:0}.exam-freeform-generator textarea{min-height:260px}.notes-popup-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notes-popup-form>label:nth-of-type(3),.notes-popup-form>.form-footer{grid-column:1 / -1}.notes-popup-form>.form-footer{margin-top:4px}.ai-generator{display:grid;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff05;margin-bottom:18px}.ai-generator-heading{display:grid;gap:8px}.ai-generator-heading h2,.ai-generator-heading p{margin:0}.ai-generator-heading h2{font-size:.92rem;letter-spacing:-.02em}.ai-generator-heading p{color:#e7e8ebad;line-height:1.6}.ai-generator-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:8px}.ai-generator-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.bulk-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.sidebar-bulk-actions{margin-top:4px;margin-bottom:0}.sidebar-bulk-actions .ghost-button,.sidebar-bulk-actions .danger-button{min-width:0}.sidebar-bulk-actions .ghost-button span,.sidebar-bulk-actions .danger-button span{display:inline-block;transform:translateY(1px)}.notes-selection-hint{margin:0 0 12px;color:#e7e8eb9e;line-height:1.5}.workspace-header{display:grid;gap:0}.workspace-header h2{font-size:clamp(2.1rem,4vw,3.4rem)}.workspace-header .subcopy{max-width:58ch}.notes-archive-panel{display:grid;gap:18px}.notes-archive-header{display:block;width:100%}.notes-archive-topbar{position:relative;padding-right:120px;display:grid;gap:12px}.archive-search-float{position:fixed;top:24px;right:132px;z-index:25;display:grid;gap:0;width:160px;height:40px;padding:0;border:1px solid rgba(255,255,255,.08);background:#ffffff08;border-radius:0;box-shadow:0 16px 32px #0000002e}.archive-search{display:grid;gap:0;width:100%}.archive-search span{position:absolute;opacity:0;pointer-events:none}.archive-search input{height:100%;padding:10px 12px;background:#ffffff08;border-radius:0}.archive-manage-button{position:fixed;top:24px;right:24px;z-index:25;min-width:88px}.notes-archive-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.notes-archive-list{display:grid;gap:12px}.notes-archive-row{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:stretch}.notes-archive-check{width:16px;height:16px;margin-top:14px;accent-color:#d9dde3;justify-self:center}.notes-archive-check-spacer{width:16px;height:16px;margin-top:14px}.notes-archive-item{display:grid;gap:8px;padding:16px;text-align:left;border:1px solid rgba(255,255,255,.08);background:#ffffff08;color:inherit}.notes-archive-item:hover,.notes-archive-item:focus-within{border-color:#ffffff29;background:#ffffff0f}.notes-archive-row.is-active .notes-archive-item{border-color:#ffffff29;background:#ffffff0f}.notes-archive-item-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.notes-archive-item p{margin:0;color:#e7e8ebe0;line-height:1.6;white-space:pre-wrap}.archive-manage-modal{width:min(920px,calc(100vw - 32px))}.archive-manage-body{display:grid;gap:14px}.archive-manage-summary{display:grid;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.archive-manage-actions{display:flex;flex-wrap:wrap;gap:10px}.archive-manage-list{display:grid;gap:10px;max-height:min(52vh,560px);overflow:auto;padding-right:4px}.archive-manage-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:flex-start;padding:12px;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.archive-manage-item.is-selected{border-color:#ffffff29;background:#ffffff0f}.archive-manage-item input{width:auto;min-width:0;padding:0;margin-top:3px;border:0;background:transparent}.archive-manage-item>div{display:grid;gap:4px}.archive-manage-item strong,.archive-manage-item span{display:block}.archive-manage-item span{color:#e7e8eba8;font-size:.84rem}.editor-panel{min-height:auto}.notes-workspace{padding-top:24px}.notes-workspace-copy{display:grid;gap:6px;margin-bottom:18px}.notes-editor-header,.notes-view-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.notes-editor-header h3,.notes-view-header h3{margin:4px 0 0;letter-spacing:-.03em}.notes-view-card{display:grid;gap:16px;min-height:calc(100vh - 340px);padding:20px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.notes-view-body{display:grid;gap:10px}.notes-view-meta{color:#e7e8eb9e;font-size:.88rem}.notes-view-body p{margin:0;white-space:pre-wrap;line-height:1.7;color:#e7e8ebe6}.exam-workspace-copy{display:grid;gap:6px;margin-bottom:18px}.editor-form{min-height:calc(100vh - 260px)}.exam-panel{display:grid;gap:16px}.exam-generator{display:grid;gap:16px;padding:18px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.exam-output{display:grid;gap:10px;padding:18px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.exam-output h3{margin:0;font-size:1rem;letter-spacing:-.02em}.exam-output pre{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.6;color:#e7e8ebe0;max-height:62vh;overflow:auto}.exam-lms-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px}.exam-list-card,.exam-player-card,.exam-result{border:1px solid rgba(255,255,255,.08);background:#ffffff05;padding:16px}.exam-list-card h3,.exam-player-header h3,.exam-result h4{margin:0;letter-spacing:-.02em}.exam-list{display:grid;gap:10px;margin-top:12px}.exam-list-row{position:relative}.exam-list-item{width:100%;text-align:left;padding:12px 88px 12px 12px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;color:inherit;display:grid;gap:4px}.exam-list-item strong,.exam-list-item span{display:block}.exam-list-item span{color:#e7e8eba8;font-size:.84rem}.exam-list-item.is-active,.exam-list-item:hover{border-color:#ffffff2e;background:#ffffff0f}.exam-list-delete{position:absolute;top:50%;right:10px;transform:translateY(-50%);min-width:72px;height:36px;display:inline-flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .14s ease}.exam-list-row:hover .exam-list-delete,.exam-list-row:focus-within .exam-list-delete{opacity:1;pointer-events:auto}.exam-notes-picker{display:grid;gap:12px}.exam-note-selection-list{display:grid;gap:8px;max-height:min(48vh,460px);overflow:auto;padding-right:4px}.exam-note-selection-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:flex-start;padding:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.exam-note-selection-item input{width:auto;min-width:0;padding:0;margin-top:2px;border:0;background:transparent}.exam-note-selection-item>div{display:grid;gap:4px}.exam-note-selection-item strong,.exam-note-selection-item span{display:block}.exam-note-selection-item span{color:#e7e8eba8;font-size:.84rem}.exam-player{display:grid;gap:14px}.exam-player-header{display:grid;gap:6px}.exam-questions{display:grid;gap:12px}.exam-question{margin:0;border:1px solid rgba(255,255,255,.08);padding:12px;display:grid;gap:10px}.exam-question legend{padding:0 6px;font-weight:600}.exam-options{display:grid;gap:8px}.exam-option{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.06);background:#ffffff08;padding:10px}.exam-option input{width:auto;min-width:0;padding:0;margin:0;border:0;background:transparent;flex:0 0 auto}.exam-option span{flex:1;line-height:1.45}.exam-result,.exam-attempt-history{display:grid;gap:8px}.exam-attempt-history-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.exam-attempt-list{display:grid;gap:8px}.exam-attempt-item{display:grid;gap:4px;padding:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.exam-breakdown{display:grid;gap:8px}.exam-breakdown-item{display:grid;gap:4px;padding:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.exam-breakdown-item.is-correct{border-color:#90ee9038}.exam-breakdown-item.is-wrong{border-color:#ff67674d}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.notes-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.panel-header h2{margin:0;font-size:1.05rem;letter-spacing:-.02em}.ghost-button,.primary-button,.danger-button{padding:12px 18px;transition:transform .14s ease,opacity .14s ease,background .14s ease}.ghost-button:hover,.primary-button:hover,.danger-button:hover{transform:translateY(-1px)}.ghost-button{color:#f4f1ea;background:#ffffff0d;border:1px solid rgba(255,255,255,.08)}.primary-button{color:#10131d;background:#d9dde3;font-weight:700}.primary-button:disabled{opacity:.65;cursor:wait}.danger-button{color:#ffd4d4;background:#ff67671f;border:1px solid rgba(255,103,103,.24)}.note-list{display:grid;gap:10px}.note-card{width:100%;text-align:left;padding:14px;color:inherit;background:#ffffff08;border:1px solid rgba(255,255,255,.08);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-height:118px;overflow:hidden;transition:transform .14s ease,border-color .14s ease,background .14s ease}.note-card>div{min-width:0;display:grid;gap:8px}.note-card:hover,.note-card.is-active{border-color:#ffffff29;background:#ffffff0d}.note-card h3,.note-card p,.note-card time{margin:0}.note-card h3{font-size:1rem}.note-card p{color:#f4f1eab3;line-height:1.5;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.note-card time{color:#f4f1ea7a;font-size:.88rem}.empty-state{min-height:180px;display:grid;align-content:center;justify-items:start;gap:8px;color:#f4f1eab3;border:1px dashed rgba(255,255,255,.1);padding:20px}.editor-form{display:grid;gap:18px}label{display:grid;gap:10px}label span{font-size:.9rem;font-weight:700;color:#f4f1eab8}input,textarea{width:100%;border:1px solid rgba(255,255,255,.08);background:#ffffff08;color:#f4f1ea;padding:16px 18px;outline:none;transition:border-color .14s ease,background .14s ease}input:focus,textarea:focus{border-color:#fff3;background:#ffffff0d}textarea{resize:none;min-height:320px;max-height:520px;overflow:auto}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.status-text,.error-text{margin:0;line-height:1.6}.status-text{color:#f4f1ea9e}.error-text{color:#ffb0b0;margin-top:14px}@media (max-width: 900px){.sidebar-shell{width:240px}.app-frame{margin-left:240px;padding:24px 20px 24px 18px}.workspace{width:min(100%,760px)}.exam-lms-layout{grid-template-columns:1fr}.workspace-header h2{font-size:clamp(1.8rem,5vw,2.7rem)}.sidebar-brand h1{font-size:1.6rem}}@media (max-width: 640px){.sidebar-shell{position:static;width:auto;min-height:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.app-frame{margin-left:0;padding:18px 14px 24px}.workspace{width:100%}.panel-header,.form-footer,.sidebar-section-header{align-items:stretch;flex-direction:column}.sidebar-link,.ghost-button,.danger-button,.primary-button{width:100%}.sidebar-note strong,.sidebar-note span{white-space:normal}.workspace-header,.editor-panel,.sidebar-brand,.sidebar-section,.sidebar-footer{padding:16px}.ai-generator-grid{grid-template-columns:1fr}.bulk-actions,.notes-archive-header{flex-direction:column}.notes-archive-topbar{padding-right:0}.archive-search-float{top:12px;right:112px;width:136px}.archive-manage-button{top:12px;right:12px}.notes-workspace{padding-top:16px}.notes-top-actions,.exam-top-actions{top:12px;right:12px}.modal-overlay{padding:12px}.modal-card{width:calc(100vw - 24px)}.notes-popup-form{grid-template-columns:1fr}.notes-popup-form>label:nth-of-type(3),.notes-popup-form>.form-footer{grid-column:auto}.modal-header{flex-direction:column}.notes-toolbar-new{width:100%}.editor-form{min-height:auto}.exam-option{align-items:center}}.auth-shell{align-items:center}.sidebar-footer{min-height:104px;margin-top:auto;position:sticky;bottom:0;z-index:1;background:#0e1013;border-top:1px solid rgba(255,255,255,.08)}.auth-card{width:min(520px,100%);margin:auto;padding:28px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.login-card h1{margin:10px 0 12px;font-size:clamp(2rem,4vw,3.2rem);line-height:1}.session-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.session-bar span{color:#f4f1eac2;font-weight:600}.eyebrow,.subcopy{margin:0;color:#e7e8ebad;line-height:1.6}.eyebrow{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase}.subcopy{max-width:62ch}.panel-count{color:#e7e8eb9e}
