*{box-sizing:border-box}body{margin:0;font-family:Inter,sans-serif;background-color:#6366f1;color:#1f2937;height:100vh;overflow:hidden;font-size:16px}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOutDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20px)}}@keyframes pageTransitionFadeOut{0%{opacity:1;filter:blur(0px)}to{opacity:0;filter:blur(10px)}}@keyframes pageTransitionFadeIn{0%{opacity:0;filter:blur(10px)}to{opacity:1;filter:blur(0px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-transition-out{animation:pageTransitionFadeOut .4s cubic-bezier(.4,0,1,1) forwards}.auth-transition-in{animation:pageTransitionFadeIn .4s cubic-bezier(0,0,.2,1) forwards}.menu-screen{height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e0e7ff,#fae8ff);position:relative}.menu-content{text-align:center;max-width:980px;width:100%;margin:0 auto;padding:0 18px}.menu-title{font-size:3rem;color:#4338ca;margin:0;font-weight:800;letter-spacing:-1px}.menu-subtitle{color:#6b7280;margin-bottom:40px}.menu-grid{display:flex;gap:30px;justify-content:center}.menu-card{background:#fff;border:none;padding:40px;border-radius:20px;width:260px;text-align:center;cursor:pointer;transition:all .2s ease;box-shadow:0 10px 25px #0000000d;display:flex;flex-direction:column;align-items:center}.menu-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #0000001a}.icon-wrapper{color:#4f46e5;margin-bottom:20px;background:#e0e7ff;padding:20px;border-radius:50%}.menu-card h2{font-size:1.25rem;margin:10px 0 5px;color:#1f2937}.menu-card p{font-size:.9rem;color:#9ca3af;margin:0}.help-btn{position:absolute;width:36px;height:36px;border-radius:50%;border:1px solid #c7d2fe;background:#eef2ff;color:#4338ca;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px #4338ca26;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .2s ease;z-index:60}.help-btn:hover{transform:translateY(-1px) scale(1.03);box-shadow:0 12px 24px #4338ca38}.help-btn:active{transform:scale(.98)}.help-btn-landing{left:16px;bottom:16px}.help-btn-workspace{left:12px;top:12px}.theme-dark .help-btn{background:#111827;border-color:#374151;color:#a5b4fc;box-shadow:0 8px 18px #3b82f614}.theme-dark .help-btn:hover{box-shadow:0 12px 24px #3b82f624}.tutorial-modal .header{display:flex;align-items:center;gap:12px}.tutorial-modal .title{font-weight:700;color:#111827}.tutorial-modal .desc{color:#6b7280}.theme-dark .tutorial-modal .title{color:#e5e7eb}.theme-dark .tutorial-modal .desc{color:#9ca3af}.tutorial-progress{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:12px}.tutorial-progress .dot{width:8px;height:8px;border-radius:50%;background:#c7d2fe;opacity:.6;transition:opacity .2s ease,transform .2s ease}.tutorial-progress .dot.active{opacity:1;transform:scale(1.2);background:#6366f1}.theme-dark .tutorial-progress .dot{background:#374151}.theme-dark .tutorial-progress .dot.active{background:#818cf8}.tour-highlight{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px #0000008c,0 12px 28px #6366f159;border:2px solid rgba(99,102,241,.7);z-index:1999;pointer-events:none;transition:all .18s ease}.tour-tooltip-centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:0;border-radius:20px;box-shadow:0 24px 80px #0000004d,0 0 1px #6366f180;z-index:2000;min-width:360px;max-width:520px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow:hidden;animation:tourFadeIn .3s cubic-bezier(.16,1,.3,1)}@keyframes tourFadeIn{0%{opacity:0;transform:translate(-50%,-48%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.tour-header{padding:20px 24px 16px;background:linear-gradient(135deg,#6366f11f,#8b5cf614);border-bottom:1px solid rgba(99,102,241,.15);position:relative}.tour-feature-badge{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:12px;font-size:.85rem;font-weight:600;color:#6366f1;background:#6366f11a;border:1px solid rgba(99,102,241,.2)}.tour-feature-name{font-weight:700;letter-spacing:.3px}.tour-decorative-line{margin-top:12px;height:2px;background:linear-gradient(90deg,#6366f1,#8b5cf6,transparent);border-radius:999px;width:60%}.tour-text{font-size:1.05rem;padding:20px 24px;line-height:1.65;font-weight:600}.tour-actions{display:flex;gap:12px;padding:16px 24px 20px;justify-content:flex-end;background:linear-gradient(180deg,transparent,rgba(99,102,241,.03))}.tour-btn-skip{padding:10px 20px;border-radius:12px;border:1px solid rgba(99,102,241,.2);background:transparent;color:#6366f1;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.tour-btn-skip:hover{background:#6366f114;transform:translateY(-1px)}.tour-btn-continue{padding:10px 24px;border-radius:12px;border:none;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #6366f14d;transition:all .2s ease}.tour-btn-continue:hover{box-shadow:0 6px 20px #6366f166;transform:translateY(-1px)}.theme-dark .tour-feature-badge{color:#a5b4fc;background:#8b5cf626;border-color:#8b5cf64d}.theme-dark .tour-btn-skip{color:#a5b4fc;border-color:#8b5cf64d}.theme-dark .tour-btn-skip:hover{background:#8b5cf626}.mode-container{height:100vh;display:flex;width:100vw;overflow:hidden;position:relative;background-color:#6366f1}.study-mode-layout{flex-direction:row}.mode-container,.study-content{min-height:0}.split-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;height:100%}.pane-content{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;height:100%}.pane-content>.aesthetic-reader,.pane-content>.note-editor,.pane-content>.quill-wrapper{height:100%;min-height:0}.sidebar{width:260px;background:#1e293b;color:#fff;padding:0;display:flex;flex-direction:column;transition:all .5s cubic-bezier(.4,0,.2,1);position:relative;z-index:50;flex-shrink:0;overflow:hidden;white-space:nowrap;border-right:1px solid #334155}.sidebar.closed{width:0!important;padding:0!important;margin:0!important;opacity:0;content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#1f2937;color:#fff;padding:6px 10px;border-radius:6px;font-size:.75rem;font-weight:500;background-color:#1f2937;border-color:#4f46e5;color:#818cf8;box-shadow:0 4px 12px #4f46e526}.theme-dark .sidebar-header button:hover{background-color:#374151;box-shadow:0 8px 20px #4f46e54d}.btn-icon{background:none;border:none;color:#6366f1;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.btn-icon:hover{background:#6366f11a;color:#4f46e5;transform:translateY(-2px)}.btn-back-small{margin-bottom:20px;background:#4f46e526;border:1.5px solid rgba(79,70,229,.4);padding:8px 14px;border-radius:8px;color:#fff;cursor:pointer;width:fit-content;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:6px;transition:all .2s ease}.btn-back-small:hover{background:#4f46e540;border-color:#4f46e599;box-shadow:0 4px 12px #4f46e533;transform:translateY(-2px)}.folder-list{flex-grow:1;overflow-y:auto}.folder-list::-webkit-scrollbar{width:8px}.folder-list::-webkit-scrollbar-track{background:transparent}.folder-list::-webkit-scrollbar-thumb{background:#4f46e5;border-radius:4px}.folder-list::-webkit-scrollbar-thumb:hover{background:#6366f1}.folder-item:hover{background:#ffffff1a;color:#fff}.folder-item.active-file-item{background:#4f46e5;color:#fff}.btn-add-folder{display:flex;align-items:center;justify-content:center;gap:8px;background:#4f46e52e;color:#f0f4ff;border:2px solid #6366f1;padding:10px 12px;border-radius:8px;cursor:pointer;margin-top:8px;width:100%;font-weight:600;font-size:.9rem;transition:all .2s ease}.btn-add-folder:hover{background:#4f46e54d;border-color:#4f46e5;color:#fff;box-shadow:0 4px 12px #4f46e54d;transform:translateY(-1px)}.sidebar-trigger{position:absolute;left:20px;top:15px;z-index:40;cursor:pointer;color:#4f46e5;background:#fff;padding:10px;border-radius:10px;border:2px solid #e0e7ff;box-shadow:0 4px 12px #00000014;opacity:.6;transition:all .3s cubic-bezier(.34,1.56,.64,1);display:flex;align-items:center;justify-content:center}.sidebar-trigger:hover{opacity:1;box-shadow:0 8px 20px #4f46e533;transform:scale(1.05);background:#f0f4ff;border-color:#c7d2fe}.study-content{flex-grow:1;background:#f8fafc;padding:20px;display:flex;flex-direction:column;position:relative;min-height:0}.toolbar{display:flex;justify-content:space-between;margin-bottom:20px;transition:padding .3s;flex:0 0 auto}.file-card .file-name,.folder-card .file-name{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.95rem}.toolbar.padded-left{padding-left:60px}.toolbar-left{display:flex;gap:10px}.btn-tool{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;color:#4b5563}.btn-with-tooltip{position:relative;display:flex;align-items:center}.tooltip,.btn-with-tooltip:hover .tooltip{display:none}.btn-tool.sync-btn{color:#6366f1}.primary-tool{background:#e0e7ff;color:#4338ca;border:1px solid #c7d2fe;font-weight:600}.primary-tool:hover{background:#c7d2fe}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:20px;scrollbar-width:none;-ms-overflow-style:none}.files-grid::-webkit-scrollbar{display:none}.file-card,.upload-card{background:#fff;aspect-ratio:1/1.2;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px;cursor:pointer;border:1px solid #e2e8f0;transition:transform .2s}.file-card:hover{transform:translateY(-3px);box-shadow:0 10px 15px #0000000d}.file-icon{color:#6366f1;margin-bottom:10px}.upload-card{border:2px dashed #cbd5e1;color:#94a3b8;background:transparent;transition:all .3s ease}.upload-card:hover{border-color:#6366f1;color:#6366f1;background:#f0f4ff}.tools-panel{width:280px;background:#fff;border-left:1px solid #e2e8f0;padding:20px;display:flex;flex-direction:column;gap:15px;flex-shrink:0;z-index:30}.stats-row{display:flex;align-items:center;gap:10px;font-weight:600;color:#9daec6;font-size:.9rem;padding-bottom:15px;border-bottom:1px solid #f1f5f9}.text-gold{color:#f59e0b}.tool-box{background:#f8fafc;padding:15px;border-radius:12px;border:1px solid #e2e8f0}.tool-box.music-box{display:flex;flex-direction:column;max-height:40vh;overflow-y:auto;padding:15px}.tool-box h3{margin:0 0 10px;font-size:.85rem;color:#7c3aed;text-transform:uppercase;letter-spacing:.5px}.timer-display{font-size:2.5rem;font-weight:700;text-align:center;color:#111827;margin:10px 0;font-variant-numeric:tabular-nums}.timer-controls{display:flex;gap:10px}.timer-controls button{flex:1;padding:10px;border:none;border-radius:8px;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .2s ease}.btn-start{background:#10b981;color:#fff}.btn-pause{background:#f59e0b;color:#fff}.btn-reset{background:#e2e8f0;color:#475569;flex:0 0 auto!important;width:40px}.btn-pip{background:#4338ca;color:#fff;border:none;flex:0 0 auto!important;width:40px}.btn-pip:hover{background:#3726c7}.btn-pip:active{transform:scale(.95)}input[type=range]{width:100%;accent-color:#6366f1}.auto-restart-toggle{padding:8px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.auto-restart-toggle input[type=checkbox]{width:16px;height:16px}.auto-restart-toggle label{font-weight:500}.vibe-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vibe-grid+.vibe-grid{margin-top:14px}@media(max-width:520px){.vibe-grid{grid-template-columns:1fr;gap:8px}}.vibe-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 12px;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;cursor:pointer;color:#475569;transition:all .25s cubic-bezier(.2,.8,.2,1);box-shadow:0 1px 3px #0000000d;font-family:Inter,sans-serif}.vibe-500hz{background:#f0fdf4;border-color:#bbf7d0;color:#4a3a2a}.vibe-500hz:hover{background:#dcfce7}.theme-dark .vibe-500hz{background:#10b9811f;border-color:#1642343d;color:#374151}.theme-dark .vibe-500hz:hover{background:#134e3a38}.vibe-btn:hover{transform:translateY(-2px)}.vibe-btn.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:3px solid #ffffff;border-radius:10px;box-shadow:0 0 20px #6366f199,inset 0 1px 2px #fff3;font-weight:700;transform:scale(1.02)}.vibe-btn span{font-size:.65rem;font-weight:600;letter-spacing:.3px}.mixer-group{max-height:calc(40vh - 80px);overflow-y:auto;padding-right:6px}.mixer-group .volume-control{margin-top:8px;display:flex;gap:8px;align-items:center}.theme-dark .vibe-btn.active{border:3px solid #00ffff;box-shadow:0 0 40px #22d3ee,0 0 80px #06b6d4cc,inset 0 1px 2px #fff3}.vibe-btn.vibe-brown{background:#f5f0eb;color:#4a3a2a;border-color:#e8dcd4}.vibe-btn.vibe-brown:hover{background:#e8dcd4;border-color:#dcccc8;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-white{background:#faf9f8;color:#4a4a40;border-color:#f0ebe8}.vibe-btn.vibe-white:hover{background:#f0ebe8;border-color:#e4dedb;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-relax{background:#fffaeb;color:#8a6a1a;border-color:#ffe8c5}.vibe-btn.vibe-relax:hover{background:#ffe8c5;border-color:#ffd8a8;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-rain{background:#f0f7fb;color:#2a4a6f;border-color:#e0eef8}.vibe-btn.vibe-rain:hover{background:#e0eef8;border-color:#d0e4f0;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-nature{background:#f0f7eb;color:#3a4a2a;border-color:#e0ecd8}.vibe-btn.vibe-nature:hover{background:#e0ecd8;border-color:#d0dcc8;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-space{background:#e0f4ff;color:#1a5a8a;border-color:#c5e8ff}.vibe-btn.vibe-space:hover{background:#c5e8ff;border-color:#a8dcff;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-aereo{background:#e8f4ff;color:#2a5a8a;border-color:#d5e8ff}.vibe-btn.vibe-aereo:hover{background:#d5e8ff;border-color:#c5dcff;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-binaural{background:#f3ebff;color:#6a3a9a;border-color:#e5d5ff}.vibe-btn.vibe-binaural:hover{background:#e5d5ff;border-color:#d5c5ff;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-hyperfocus{background:#fff3eb;color:#8a5a2a;border-color:#ffe5d5}.vibe-btn.vibe-hyperfocus:hover{background:#ffe5d5;border-color:#ffd5c5;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-floating{background:#f0f5ff;color:#3a5a7a;border-color:#e0ebff}.vibe-btn.vibe-floating:hover{background:#e0ebff;border-color:#d0dbff;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-meditate{background:#ffe8f5;color:#8a3a5a;border-color:#ffd5eb}.vibe-btn.vibe-meditate:hover{background:#ffd5eb;border-color:#ffc5db;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-creek{background:#ebf5f0;color:#2a6a5a;border-color:#d5e8e0}.vibe-btn.vibe-creek:hover{background:#d5e8e0;border-color:#c5dcd0;box-shadow:0 4px 12px #00000014}.vibe-btn.vibe-streamforest{background:#d4f5f0;color:#1a6a7a;border-color:#b8e8e0}.vibe-btn.vibe-streamforest:hover{background:#b8e8e0;border-color:#9cd8d0;box-shadow:0 4px 12px #00000014}.volume-control{margin-top:15px;display:flex;align-items:center;gap:10px;color:#64748b}.vibe-spacer{grid-column:1 / -1;height:18px}.mixer-group::-webkit-scrollbar{width:8px}.mixer-group::-webkit-scrollbar-track{background:transparent}.mixer-group::-webkit-scrollbar-thumb{background:#6366f124;border-radius:8px;border:2px solid transparent}.theme-dark .mixer-group::-webkit-scrollbar-thumb{background:#ffffff0f}.mixer-group::-webkit-scrollbar-thumb:hover{background:#6366f138}.tool-box.music-box::-webkit-scrollbar{width:8px}.tool-box.music-box::-webkit-scrollbar-thumb{background:#94a3b824;border-radius:8px}.theme-dark .tool-box.music-box::-webkit-scrollbar-thumb{background:#ffffff0f}.renote-layout{display:flex;flex-direction:column;background:#f8fafc}.header{padding:15px 30px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.header h1{font-size:1.2rem;margin:0;color:#1f2937}.btn-back{display:flex;align-items:center;gap:5px;background:none;border:1px solid #ddd;padding:6px 12px;border-radius:6px;cursor:pointer}.main-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;flex-grow:1}.card{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;box-shadow:0 4px 6px #0000000d}textarea{flex-grow:1;border:1px solid #e5e7eb;padding:15px;border-radius:8px;resize:none;font-family:inherit;margin-bottom:15px;outline:none}.action-row{display:flex;gap:10px}.action-row button{flex:1;background:#4f46e5;color:#fff;border:none;padding:12px;border-radius:8px;cursor:pointer;font-weight:600}.output-content{flex-grow:1;overflow-y:auto;white-space:pre-wrap}.placeholder-text{color:#9ca3af;text-align:center;margin-top:50px}.tool-box.music-box::-webkit-scrollbar{width:6px}.tool-box.music-box::-webkit-scrollbar-track{background:transparent}.tool-box.music-box::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.tool-box.music-box::-webkit-scrollbar-thumb:hover{background:#94a3b8}.aesthetic-reader{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden;background-color:#f3f4f6;border-radius:12px;border:1px solid #e5e7eb;min-height:0;position:relative}.reader-header-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;z-index:10}.reader-group-left{display:flex;align-items:center;gap:15px}.reader-header-bar button{background:transparent;border:none;cursor:pointer;color:#4b5563;display:flex;align-items:center;gap:5px;font-weight:500;padding:5px 10px;border-radius:6px;transition:background .2s}.reader-header-bar button:hover{background:#f3f4f6;color:#111827}.close-file-btn{background:transparent;border:none;cursor:pointer;color:inherit;display:flex;align-items:center;gap:5px;font-weight:500;padding:5px 10px;border-radius:6px;transition:background .2s;font-size:.95rem}.close-file-btn:hover{background:#f3f4f6;color:#111827}.pane-content .note-editor{height:100%!important;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;overflow:hidden}.pane-content .quill-wrapper{height:100%;display:flex;flex-direction:column;overflow:hidden}.pane-content .ql-container.ql-snow{height:100%;overflow-y:auto}.pane-content .ql-editor{min-height:0!important}.pane-content .quill-wrapper{display:flex;flex-direction:column;height:100%}.pane-content .ql-container.ql-snow{flex:1 1 auto;height:auto;overflow-y:auto}.pane-content .ql-editor{box-sizing:border-box;min-height:0!important}.pane-content .note-header{flex:0 0 auto}.pane-content{overflow:hidden;display:flex;flex-direction:column;min-height:0;min-width:0}.pane-content .note-editor{height:100%;width:100%;max-height:100%;box-sizing:border-box;overflow:hidden;border-bottom:2px solid #e5e7eb;display:flex;flex-direction:column;min-height:0}.theme-dark .pane-content .note-editor{border-bottom-color:#374151}.theme-sepia .pane-content .note-editor{border-bottom-color:#eaddc5}.pane-content .note-header{flex:0 0 auto;box-sizing:border-box}.pane-content .quill-wrapper{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}.pane-content .ql-toolbar.ql-snow{flex:0 0 auto}.pane-content .ql-container.ql-snow{flex:1 1 auto;min-height:0;overflow-y:auto}.pane-content .ql-editor{box-sizing:border-box;min-height:0!important;max-height:100%!important;overflow:visible!important;padding:20px 30px!important;line-height:1.8;color:#374151}.theme-dark .pane-content .ql-editor{color:#e5e7eb}.pane-content .aesthetic-reader{height:100%;width:100%;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.pdf-scroll-container{flex:1;overflow-y:scroll!important;overflow-x:hidden!important;width:100%;padding:20px;box-sizing:border-box;background:#f3f4f6;scroll-behavior:smooth;display:flex;flex-direction:column;align-items:center;min-height:0;height:100%;scrollbar-gutter:stable;position:relative;touch-action:pan-y;overscroll-behavior:contain}.pdf-scroll-container::-webkit-scrollbar{width:12px;background:transparent}.pdf-scroll-container::-webkit-scrollbar-track{background:#e5e7eb;border-radius:8px;margin:20px 0;transition:background .2s ease}.pdf-scroll-container::-webkit-scrollbar-thumb{background:#4f46e5;border-radius:8px;border:2px solid #e5e7eb;min-height:40px;visibility:visible;transition:all .2s ease}.pdf-scroll-container::-webkit-scrollbar-thumb:hover{background:#4338ca;border:2px solid #d1d5db}.file-card .upload-progress{width:100%;padding:8px 6px 0;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;box-sizing:border-box}.file-card .progress-bar{width:100%;height:8px;background:linear-gradient(90deg,#f1f5f9,#eef2ff);border-radius:999px;overflow:hidden;border:1px solid rgba(227,232,240,.9)}.file-card .progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);width:0%;transition:width .25s ease-out}.file-card .progress-meta{font-size:.75rem;color:#64748b;font-weight:700;text-align:center;width:100%}.file-card .progress-meta{font-variant-numeric:tabular-nums}.file-card .progress-meta.failed{color:#ef4444}.file-card .progress-meta.done{color:#10b981}.file-card .progress-done{display:inline-block;padding:6px 10px;border-radius:999px;background:#ecfdf5;color:#065f46;font-weight:700;font-size:.8rem;margin-top:6px}@keyframes doneBadgePop{0%{transform:translateY(6px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes doneBadgeFade{0%{opacity:1;max-height:40px;padding-top:6px;padding-bottom:6px;margin-top:6px}to{opacity:0;max-height:0;padding-top:0;padding-bottom:0;margin-top:0}}.file-card .progress-done{animation:doneBadgePop .12s ease-out,doneBadgeFade .5s ease-in 1.6s forwards;overflow:hidden;display:inline-block}.pdf-scroll-container::-webkit-scrollbar-thumb:active{background:#312e81}.pdf-scroll-container>.react-pdf__Document{min-height:110vh}.pdf-scroll-container{scrollbar-width:thin;scrollbar-color:#4f46e5 #e5e7eb;scrollbar-gutter:stable}.theme-dark .pdf-scroll-container::-webkit-scrollbar-track{background:#374151}.theme-dark .pdf-scroll-container::-webkit-scrollbar-thumb{background:#818cf8;border:2px solid #374151;border-radius:8px;min-height:40px}.theme-dark .pdf-scroll-container::-webkit-scrollbar-thumb:hover{background:#a5b4fc;border:2px solid #4b5563}.theme-dark .pdf-scroll-container::-webkit-scrollbar-thumb:active{background:#c7d2fe}.theme-dark .pdf-scroll-container{scrollbar-color:#818cf8 #374151}.pdf-document{display:flex;flex-direction:column;gap:20px;align-items:center}.react-pdf__Page{box-shadow:0 2px 8px #0000001a;background:#fff;max-width:90%;width:auto;margin:10px auto;border-radius:4px;padding:0;display:block;page-break-after:always}.react-pdf__Document{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%;padding:20px 0}.react-pdf__Page__canvas{max-width:100%;height:auto;display:block}.react-pdf__Page__textContent{display:none}.react-pdf__Page__textLayer{position:absolute;inset:0;overflow:hidden;opacity:.2;line-height:1}.react-pdf__Page__textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.react-pdf__Page__textLayer>span.endOfContent{display:none}.react-pdf__Page__textLayer .highlight{margin:-1px;padding:1px;background-color:#ff0;border-radius:4px}.react-pdf__Page__textLayer .highlight.begin{border-radius:4px 0;margin-right:2px;margin-left:2px}.react-pdf__Page__textLayer .highlight.end{border-radius:0 4px;margin-right:2px;margin-left:2px}.react-pdf__Page__textLayer .highlight.middle{margin-left:2px;margin-right:2px}.react-pdf__Page__textLayer .highlight.selected{background-color:#00f}.react-pdf__Page__annotations{position:relative}.react-pdf__Annotation{position:absolute}.react-pdf__Annotation--text{cursor:pointer}.react-pdf__Annotation--text svg{position:absolute;width:20px;height:20px}.react-pdf__Page__annotationLayer section{position:absolute;top:0;left:0;text-align:initial}.react-pdf__Page__annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;z-index:2;opacity:.2;line-height:1;background:#ffff001a;outline:1px solid rgba(255,255,0,.2);border-radius:2px}.react-pdf__Page__annotationLayer .linkAnnotation>a:hover{opacity:.4;background:#ffff004d;outline:1px solid rgba(255,255,0,.5)}.react-pdf__Page__annotationLayer .textAnnotation>svg{position:absolute;display:none}.react-pdf__Page__annotationLayer .textAnnotation>svg.popupWrapper{display:block;position:absolute;z-index:100}.react-pdf__Page__annotationLayer .textAnnotation>svg.popupWrapper>svg.popup{position:absolute;top:15px;left:42px;background:#fff3cd;border:1px solid #ffc107;border-radius:2px;box-shadow:0 2px 5px #0003;padding:6px}.react-pdf__Page__annotationLayer .textAnnotation>svg.popupWrapper>svg.popup>.popup-title{font-weight:700;margin-bottom:4px}.react-pdf__Page__annotationLayer .textAnnotation>svg.popupWrapper>svg.popup>div{font-size:.8em;padding:0}.theme-dark .react-pdf__Page__annotationLayer .linkAnnotation>a{background:#6496ff1a;outline:1px solid rgba(100,150,255,.2)}.theme-dark .react-pdf__Page__annotationLayer .linkAnnotation>a:hover{background:#6496ff4d;outline:1px solid rgba(100,150,255,.5)}.theme-dark .react-pdf__Page__annotationLayer .textAnnotation>svg.popupWrapper>svg.popup{background:#3d3d3d;border:1px solid #555;color:#fff}.theme-dark .react-pdf__Page{box-shadow:0 2px 8px #0000004d}.theme-dark .aesthetic-reader{background:#111827;border-color:#374151}.theme-dark .reader-header-bar{background:#1f2937;border-color:#374151}.theme-dark .reader-header-bar button{color:#9ca3af}.theme-dark .reader-header-bar button:hover{background:#374151;color:#fff}.theme-dark .pdf-scroll-container{background-color:#111827}.theme-sepia .study-content,.theme-sepia .tools-panel,.theme-sepia .renote-layout{background-color:#fdf6e3}.theme-sepia .sidebar{background-color:#3e3221}.theme-sepia .card,.theme-sepia .tool-box,.theme-sepia .reader-controls,.theme-sepia .header,.theme-sepia .btn-tool,.theme-sepia .file-card,.theme-sepia .modal-content,.theme-sepia .vibe-btn{background-color:#fcfbf4;border-color:#eaddc5}.theme-sepia .pdf-page-shadow canvas{filter:sepia(.2) contrast(.9)}.theme-sepia{color:#5c4b37}.theme-sepia .btn-add-folder{background:#8b6f471f;color:#8b6f47;border-color:#a78b6d66}.theme-sepia .btn-add-folder:hover{background:#a78b6d33;border-color:#a78b6d;color:#f5f1e8;box-shadow:0 4px 12px #a78b6d33}.theme-sepia .btn-back-small{background:#8b6f471f;border-color:#a78b6d66}.theme-sepia .btn-back-small:hover{background:#a78b6d33;border-color:#a78b6d;box-shadow:0 4px 12px #a78b6d33}.theme-sepia .sidebar-trigger{background-color:#fcfbf4;border-color:#a78b6d;color:#8b6f47;box-shadow:0 4px 12px #0000001a}.theme-sepia .sidebar-trigger:hover{background-color:#faf8f3;box-shadow:0 8px 20px #a78b6d33}.theme-sepia .btn-icon{color:#8b6f47}.theme-sepia .btn-icon:hover{background:#a78b6d1a;color:#a78b6d}.theme-dark .app-root{background-color:#111827}.theme-dark .menu-screen{background:linear-gradient(135deg,#111827,#1f2937)}.theme-dark .menu-card{background-color:#1f2937;color:#f3f4f6}.theme-dark .menu-title{color:#818cf8}.theme-dark .menu-subtitle,.theme-dark .menu-card p{color:#9ca3af}.theme-dark .menu-card h2{color:#f3f4f6}.theme-dark .icon-wrapper{background-color:#374151;color:#818cf8}.theme-dark .study-content,.theme-dark .renote-layout{background-color:#111827}.theme-dark .tools-panel,.theme-dark .sidebar{background-color:#1f2937;border-color:#374151}.theme-dark .vibe-btn{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .vibe-btn:hover{background-color:#4b5563;border-color:#6366f1;color:#f3f4f6;box-shadow:0 4px 12px #6366f11a;transform:translateY(-2px)}.theme-dark .vibe-btn.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#8b5cf6;color:#fff;box-shadow:0 4px 12px #8b5cf633}.theme-dark .vibe-btn.vibe-brown{background:#5a4a3d;color:#e8ddd0;border-color:#6b5a4d}.theme-dark .vibe-btn.vibe-brown:hover{background:#6b5a4d;border-color:#7c6b5e;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-white{background:#5a5a52;color:#e8e8e0;border-color:#6b6b63}.theme-dark .vibe-btn.vibe-white:hover{background:#6b6b63;border-color:#7c7c74;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-relax{background:#6a5a2a;color:#f0e8c0;border-color:#7b6b3b}.theme-dark .vibe-btn.vibe-relax:hover{background:#7b6b3b;border-color:#8c7c4c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-rain{background:#3a5a7a;color:#c8dce8;border-color:#4b6b8b}.theme-dark .vibe-btn.vibe-rain:hover{background:#4b6b8b;border-color:#5c7c9c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-nature{background:#4a5a3a;color:#d0dcc0;border-color:#5b6b4b}.theme-dark .vibe-btn.vibe-nature:hover{background:#5b6b4b;border-color:#6c7c5c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-space{background:#2a4a6a;color:#a8d8f0;border-color:#3b5b7b}.theme-dark .vibe-btn.vibe-space:hover{background:#3b5b7b;border-color:#4c6c8c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-aereo{background:#3a4a7a;color:#c5dce8;border-color:#4b5b8b}.theme-dark .vibe-btn.vibe-aereo:hover{background:#4b5b8b;border-color:#5c6c9c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-binaural{background:#5a3a7a;color:#d5c5f0;border-color:#6b4b8b}.theme-dark .vibe-btn.vibe-binaural:hover{background:#6b4b8b;border-color:#7c5c9c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-hyperfocus{background:#6a5a2a;color:#f0e8d0;border-color:#7b6b3b}.theme-dark .vibe-btn.vibe-hyperfocus:hover{background:#7b6b3b;border-color:#8c7c4c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-floating{background:#3a4a6a;color:#c8dce8;border-color:#4b5b7b}.theme-dark .vibe-btn.vibe-floating:hover{background:#4b5b7b;border-color:#5c6c8c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-meditate{background:#6a3a5a;color:#f0c8e0;border-color:#7b4b6b}.theme-dark .vibe-btn.vibe-meditate:hover{background:#7b4b6b;border-color:#8c5c7c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-creek{background:#3a5a4a;color:#c8e0d0;border-color:#4b6b5b}.theme-dark .vibe-btn.vibe-creek:hover{background:#4b6b5b;border-color:#5c7c6c;box-shadow:0 4px 12px #6366f11a}.theme-dark .vibe-btn.vibe-streamforest{background:#2a6a6a;color:#a0d8d8;border-color:#3b7b7b}.theme-dark .vibe-btn.vibe-500hz{background:#10b98129;border-color:#10b98147;color:#bbf7d0}.lb-tab{padding:10px 14px;border-radius:10px;border:1px solid transparent;background:#6366f114;color:#4338ca;display:inline-flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}.lb-tab.active{background:#4338ca;color:#fff;border-color:#4338ca;box-shadow:0 6px 20px #4338ca40}.lb-scope-toggle{display:inline-flex;background:#6366f10f;border:1px solid rgba(99,102,241,.12);border-radius:8px;overflow:hidden;margin-bottom:10px;width:fit-content;align-items:center;align-self:flex-start;padding:6px}.lb-scope-toggle button{padding:6px 10px;border:none;background:transparent;color:#4338ca;font-weight:700;cursor:pointer;font-size:.85rem;transition:all .16s ease;border-radius:6px}.lb-scope-toggle button:hover{background:#6366f11a}.lb-scope-toggle button.active{background:#4338ca;color:#fff}.lb-rows{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;max-height:60vh;overflow:auto}.lb-row{display:grid;grid-template-columns:44px 1fr 140px;align-items:center;padding:10px 12px;border:1px solid rgba(99,102,241,.12);border-radius:12px;background:#6366f109}.lb-rank{font-weight:700;color:#4338ca;font-size:1.05rem;text-align:center}.lb-medal{font-size:1.3rem;display:inline-block}.lb-rank-num{display:inline-block}.lb-user{font-weight:600;color:#0f172a}.lb-value{text-align:right;font-weight:700;color:#0f172a}.lb-gate{padding:24px;border:1px dashed rgba(99,102,241,.5);border-radius:12px;text-align:center;color:#334155;background:#6366f10d}.lb-cta{margin-top:10px;padding:10px 14px;border-radius:10px;border:none;background:#4338ca;color:#fff;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #4338ca40}.lb-note{font-size:.85rem;color:#64748b}.lb-empty{padding:14px;border-radius:10px;background:#94a3b81a;color:#475569;text-align:center}.theme-dark .lb-tab{background:#818cf829;color:#c7d2fe;border-color:#1f2937}.theme-dark .lb-tab.active{background:#4338ca;color:#fff}.theme-dark .lb-scope-toggle{background:#6366f11a;border-color:#6366f14d}.theme-dark .lb-scope-toggle button{color:#a5b4fc}.theme-dark .lb-scope-toggle button:hover{background:#6366f133}.theme-dark .lb-scope-toggle button.active{background:#4338ca;color:#fff}.theme-dark .lb-row{background:#0f172a;border-color:#1f2937}.theme-dark .lb-user,.theme-dark .lb-value{color:#e2e8f0}.theme-dark .lb-rank{color:#c7d2fe}.theme-dark .lb-gate{border-color:#818cf880;background:#0f172ae6;color:#e2e8f0}.theme-dark .lb-note{color:#cbd5e1}.theme-dark .lb-empty{background:#33415566;color:#e2e8f0}.theme-dark .vibe-btn.vibe-500hz:hover{background:#10b98142}.theme-dark .vibe-btn.vibe-streamforest:hover{background:#3b7b7b;border-color:#4c8c8c;box-shadow:0 4px 12px #6366f11a}.theme-dark .upload-card{border-color:#4b5563;color:#9ca3af}.theme-dark textarea{background-color:#111827;color:#f3f4f6;border-color:#374151}.theme-dark .output-content{background-color:#111827;color:#f3f4f6}.theme-dark .file-name,.theme-dark h1,.theme-dark h2,.theme-dark h3,.theme-dark .timer-display{color:#f3f4f6}.theme-dark .theme-btn{background:#374151;color:#e5e7eb}.theme-dark .sidebar-trigger{background-color:#1f2937;border-color:#4f46e5;color:#818cf8;box-shadow:0 4px 12px #4f46e526}.theme-dark .sidebar-trigger:hover{background-color:#374151;box-shadow:0 8px 20px #4f46e54d}.theme-dark .btn-add-folder{background:#4f46e52e;color:#f0f4ff;border-color:#6366f1}.theme-dark .btn-add-folder:hover{background:#4f46e54d;border-color:#4f46e5;color:#fff;box-shadow:0 4px 12px #4f46e54d}.theme-dark .btn-back-small{background:#818cf826;border-color:#818cf866}.theme-dark .btn-back-small:hover{background:#818cf840;border-color:#818cf8;box-shadow:0 4px 12px #818cf840}.theme-dark .btn-icon{color:#818cf8}.theme-dark .btn-icon:hover{background:#818cf81a;color:#a5b4fc}.theme-dark .pdf-page-shadow canvas{filter:brightness(.8) contrast(1.1)}.theme-dark .tool-box{background-color:#1f2937;border-color:#374151}.theme-dark .tool-box h3{color:#a78bfa}.theme-dark .timer-display{color:#f3f4f6}.theme-dark .timer-controls button{background-color:#374151;color:#e5e7eb;border-color:#4b5563}.theme-dark .timer-controls button:hover{background-color:#4b5563;color:#f3f4f6;border-color:#6366f1}.theme-dark .btn-start{background:#10b981!important;color:#fff!important}.theme-dark .btn-start:hover{background:#059669!important;box-shadow:0 4px 12px #10b9814d!important}.theme-dark .btn-pause{background:#f59e0b!important;color:#fff!important}.theme-dark .btn-pause:hover{background:#d97706!important;box-shadow:0 4px 12px #f59e0b4d!important}.theme-dark .btn-reset{background:#4b5563!important;color:#e5e7eb!important;border-color:#6b7280!important}.theme-dark .btn-reset:hover{background:#6b7280!important;color:#f3f4f6!important}.theme-dark .btn-pip{background:#4338ca!important;color:#fff!important;border:none!important}.theme-dark .btn-pip:hover{background:#3726c7!important}.theme-dark .auto-restart-toggle{background:#1f2937;border-color:#374151}.theme-dark .auto-restart-toggle label{color:#9ca3af}.theme-dark .reader-controls{background-color:#1f2937;border-color:#374151}.theme-dark .reader-controls button{background-color:#374151;color:#e5e7eb;border-color:#4b5563}.theme-dark .reader-controls button:hover{background-color:#4b5563;color:#f3f4f6;border-color:#6366f1}.theme-dark .pdf-viewer{background-color:#111827}.theme-dark .modal-actions button{background-color:#374151;color:#e5e7eb;border-color:#4b5563}.theme-dark .modal-actions button:hover{background-color:#4b5563;border-color:#6366f1;color:#f3f4f6}.theme-dark .btn-tool{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .btn-tool:hover{background-color:#4b5563!important;border-color:#6366f1!important;color:#f3f4f6!important}.theme-dark .btn-tool.sync-btn{color:#6366f1}.theme-dark .btn-tool.sync-btn:hover{color:#818cf8}.theme-dark .btn-tool-sm{background-color:#374151;border-color:#4b5563;color:#e5e7eb;border-radius:10px}.theme-dark .btn-tool-sm:hover{background-color:#4b5563!important;border-color:#6366f1!important;color:#f3f4f6!important}.theme-dark .close-file-btn{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .close-file-btn:hover{background-color:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.theme-dark .focus-stats-btn{color:#fff;background-color:#6366f1}.theme-dark .focus-stats-btn:hover{background-color:#818cf8!important;color:#fff!important}.theme-dark .todo-list-btn{color:#fff;background-color:#6366f1}.theme-dark .todo-list-btn:hover{background-color:#818cf8!important;color:#fff!important}.theme-dark .fullscreen-landing-btn{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .fullscreen-landing-btn:hover{background-color:#4b5563;border-color:#6366f1;color:#f3f4f6}.theme-dark .card{background-color:#1f2937;border:1px solid #374151;color:#e5e7eb}.theme-dark textarea{background-color:#111827;border-color:#374151;color:#e5e7eb}.theme-dark textarea::placeholder{color:#6b7280}.theme-dark .output-content{background-color:#111827;color:#e5e7eb}.theme-dark .placeholder-text{color:#6b7280}.theme-dark .action-row button{background:#6366f1;color:#fff;border-color:#818cf8}.theme-dark .action-row button:hover{background:#818cf8}.theme-dark .file-card{background-color:#1f2937;border-color:#374151;color:#e5e7eb}.theme-dark .file-card:hover{background-color:#374151;box-shadow:0 4px 12px #4f46e526}.theme-dark .file-card .file-icon{color:inherit}.theme-dark .file-card .file-name{color:#e5e7eb}.theme-dark .upload-card{background-color:#1f2937;border-color:#374151;border-style:dashed}.theme-dark .upload-card:hover{border-color:#818cf8;color:#818cf8;background-color:#1f2937}.theme-dark{color:#e5e7eb}.note-editor{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000000d;flex-grow:1;display:flex;flex-direction:column;padding:40px;max-width:800px;width:100%;margin:0 auto;height:100%}.note-header{display:flex;align-items:center;gap:10px;margin-bottom:20px;border-bottom:1px solid #e2e8f0;padding-bottom:10px}.note-title-display{font-size:1.5rem;font-weight:700;border:none;background:transparent;color:#1f2937;width:100%;outline:none}.note-textarea{flex-grow:1;border:none;resize:none;font-size:1.1rem;line-height:1.6;color:#374151;outline:none;background:transparent;font-family:Inter,sans-serif}.theme-sepia .note-editor{background-color:#fcfbf4;box-shadow:0 4px 20px #5c4b370d}.theme-sepia .note-textarea,.theme-sepia .note-title-display{color:#5c4b37}.theme-sepia .note-header{border-color:#eaddc5}.theme-dark .note-editor{background-color:#1f2937;border:1px solid #374151;color:#e5e7eb}.theme-dark .note-textarea,.theme-dark .note-title-display{color:#e5e7eb}.theme-dark .note-header{border-color:#374151}.aesthetic-modal{text-align:center;padding:30px;border-radius:20px;box-shadow:0 20px 60px #0003;width:320px;background:#fff}.modal-icon-bubble{width:50px;height:50px;background:#e0e7ff;color:#4338ca;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px}.aesthetic-modal h3{font-size:1.3rem;margin-bottom:20px;color:#1f2937}.tag-manager-modal .modal-header{position:relative;border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-clip:padding-box}.tag-manager-modal .modal-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#ffffff0f;border-bottom-left-radius:0;border-bottom-right-radius:0;pointer-events:none}.theme-dark .tag-manager-modal .modal-header:after{background:#ffffff0f}.aesthetic-modal input{width:100%;font-size:1rem;padding:12px 20px;border-radius:10px;text-align:left;background:#f3f4f6;border:2px solid transparent;transition:all .2s;margin-bottom:25px;color:#374151}.aesthetic-modal input:focus{border-color:#6366f1;background:#fff;outline:none}.note-header{display:flex;align-items:center;justify-content:space-between;padding:15px 30px;border-bottom:1px solid #f3f4f6;background:#fff}.ql-toolbar.ql-snow{border:none!important;border-bottom:1px solid #f3f4f6!important;padding:12px 20px!important;background:#f9fafb}.ql-editor{padding:40px 60px!important;line-height:1.8;color:#374151}.theme-sepia .note-editor,.theme-sepia .note-header,.theme-sepia .ql-toolbar{background-color:#fcfbf4;border-color:#eaddc5}.theme-sepia .ql-container,.theme-sepia .note-title-display{color:#5c4b37}.theme-dark .ql-editor,.theme-dark .note-title-display{color:#e5e7eb}.modal-btn-row{display:flex;gap:15px;width:100%;margin-top:10px}.modal-btn{flex:1;padding:12px 20px;font-size:1rem;font-weight:600;border-radius:12px;cursor:pointer;border:none;outline:none;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-primary{background-color:#4f46e5;color:#fff;box-shadow:0 4px 12px #4f46e533}.btn-primary:hover{background-color:#4338ca;transform:translateY(-2px)}.btn-primary:active{transform:scale(.98)}.btn-secondary{background-color:#f3f4f6;color:#4b5563;border:1px solid transparent}.btn-secondary:hover{background-color:#e5e7eb;color:#1f2937}.theme-dark .btn-primary{background-color:#6366f1;color:#fff}.theme-dark .btn-secondary{background-color:#374151;color:#e5e7eb}.theme-dark .btn-secondary:hover{background-color:#4b5563}.theme-sepia .btn-primary{background-color:#d97706;color:#fff;box-shadow:0 4px 12px #d9770633}.theme-sepia .btn-secondary{background-color:#eaddc5;color:#78350f}.text-blue-600{color:#2563eb}.text-red-600{color:#dc2626}.editor-actions .btn-tool-sm{background:#fff;border:1px solid #e5e7eb;color:#374151;font-weight:500;font-size:.8rem;padding:4px 8px;box-shadow:0 1px 2px #0000000d;display:flex;align-items:center;gap:4px;border-radius:10px}.editor-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:nowrap}.editor-actions .btn-tool-sm:hover{background:#f9fafb;border-color:#d1d5db}.theme-dark .editor-actions .btn-tool-sm{background:#374151;border-color:#4b5563;color:#f3f4f6}.theme-dark .editor-actions .btn-tool-sm:hover{background:#4b5563}.theme-dark .text-blue-600{color:#60a5fa}.theme-dark .text-red-600{color:#f87171}.btn-icon-sm{background:transparent;border:1px solid transparent;cursor:pointer;color:#9ca3af;padding:6px;border-radius:50%;transition:all .2s ease;display:flex;align-items:center;justify-content:center;margin-left:5px}.btn-icon-sm:hover{background-color:#4f46e5;color:#fff!important;box-shadow:0 4px 10px #4f46e54d;transform:scale(1.1)}.btn-icon-sm:hover{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe;transform:scale(1.1);box-shadow:0 2px 5px #0000000d}.btn-icon-sm:active{transform:scale(.95);background:#c7d2fe}.theme-dark .btn-icon-sm{color:#6b7280}.theme-dark .btn-icon-sm:hover{background:#374151;color:#b8bcda;border-color:#4b5563}.theme-sepia .btn-icon-sm{color:#a8a29e}.theme-sepia .btn-icon-sm:hover{background:#f3f2e8;color:#b45309;border-color:#eaddc5}.file-card-actions{position:absolute;top:8px;right:8px;display:none;gap:6px}.file-card:hover .file-card-actions{display:flex;animation:fadeInActions .2s ease}@keyframes fadeInActions{0%{opacity:0;transform:scale(.8)}to{.cloud-sync-indicator{display:inline-flex;align-items:center;gap:8px}.cloud-sync-bar{width:120px;height:8px;background:#eef2ff;border-radius:6px;overflow:hidden;box-shadow:inset 0 1px #fff9}.cloud-sync-fill{height:100%;background:#6366f1;transition:width .26s linear}.cloud-sync-label{font-size:.85rem;color:#374151;min-width:36px;text-align:left}.cloud-sync-indicator.error .cloud-sync-fill{background:#ef4444}.cloud-sync-indicator.success .cloud-sync-fill{background:#10b981}.cloud-sync-indicator.error .cloud-sync-label{color:#ef4444}.cloud-sync-indicator.success .cloud-sync-label{color:#10b981}opacity:1;transform:scale(1)}}.btn-icon-xs{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:6px;cursor:pointer;color:#6b7280;box-shadow:0 2px 4px #0000000d;position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;box-sizing:border-box;transition:all .2s ease}.btn-icon-xs.btn-delete{background:#fff;border:1px solid #e5e7eb;color:#ef4444}.btn-icon-xs.btn-delete:hover{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.focus-stats-btn:after,.todo-list-btn:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#1f2937;color:#fff;padding:6px 10px;border-radius:6px;font-size:.75rem;font-weight:500;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .2s ease;margin-bottom:8px;z-index:100}.note-editor{background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000014;flex-grow:1;display:flex;flex-direction:column;padding:0;max-width:850px;width:100%;margin:0 auto;height:100%;overflow:hidden}.note-header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;border-bottom:1px solid #f3f4f6;background:#fff;gap:8px;flex:0 0 auto}.note-icon{color:#6366f1}.note-icon-color{color:#f59e0b;stroke-width:1.5px}.note-title-display{font-size:1.2rem;font-weight:700;color:#1f2937}.quill-wrapper{flex-grow:1;display:flex;flex-direction:column;overflow:hidden}.quill{height:100%;display:flex;flex-direction:column}.ql-toolbar.ql-snow{border:none!important;border-bottom:1px solid #f3f4f6!important;background:#f9fafb;padding:6px 12px!important}.ql-container.ql-snow{border:none!important;flex-grow:1;overflow-y:auto;font-family:Inter,sans-serif;font-size:1.1rem}.ql-editor{padding:20px 30px!important;line-height:1.8;color:#374151}.theme-dark .note-editor,.theme-dark .note-header{background-color:#1f2937;border-color:#374151}.theme-dark .note-title-display{color:#e5e7eb}.theme-dark .ql-toolbar{background-color:#374151;border-color:#4b5563}.theme-dark .ql-editor{color:#e5e7eb}.theme-dark .ql-stroke{stroke:#e5e7eb!important}.theme-dark .ql-fill{fill:#e5e7eb!important}.theme-dark .ql-picker{color:#e5e7eb!important}.theme-dark .ql-picker-options{background-color:#1f2937!important;color:#e5e7eb!important;border-color:#374151!important}.theme-sepia .note-editor,.theme-sepia .note-header{background-color:#fcfbf4;border-color:#eaddc5}.theme-sepia .note-title-display{color:#5c4b37}.theme-sepia .ql-toolbar{background-color:#fcfbf4;border-color:#eaddc5}.theme-sepia .ql-editor{color:#5c4b37}.file-card-actions{position:absolute;top:8px;right:8px;display:flex;gap:6px;opacity:0;transform:translateY(-5px);transition:all .2s ease-in-out}.theme-dark .btn-icon-xs{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .btn-icon-xs:hover{background-color:#6366f1;color:#fff!important}.theme-dark .btn-icon-xs.btn-delete{background-color:#374151;border-color:#4b5563;color:#f87171}.theme-dark .btn-icon-xs.btn-delete:hover{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.theme-sepia .btn-icon-xs{background-color:#fcfbf4;border-color:#eaddc5;color:#5c4b37}.theme-sepia .btn-icon-xs:hover{background-color:#d97706;color:#fff!important;border-color:#d97706}.floating-bg-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:hidden}.floating-icon{position:absolute;color:#c7d2fe;opacity:.3}.menu-content{position:relative;z-index:10}.theme-sepia .floating-icon{color:#eaddc5}.theme-dark .floating-icon{color:#374151;opacity:.2}.folder-nav-header{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}.current-location{font-weight:700;color:#fff;font-size:.9rem}.folder-card{border-color:#4f46e5!important;background-color:#fff!important}.breadcrumbs{display:flex;align-items:center;gap:5px;font-size:.85rem;color:#6b7280;background:#fff;padding:6px 12px;border-radius:8px;border:1px solid #e5e7eb}.crumb{cursor:pointer;display:flex;align-items:center;gap:4px}.crumb:hover{color:#4f46e5;text-decoration:underline}.empty-state{text-align:center;color:#ffffff4d;font-size:.8rem;font-style:italic;margin-top:20px}.theme-dark .breadcrumbs{background-color:#374151;border-color:#4b5563;color:#e5e7eb}.theme-dark .folder-card{background-color:#374151!important;border-color:#8985d3!important}.theme-dark .aesthetic-modal{background-color:#1f2937;border:1px solid #374151;color:#f3f4f6}.theme-dark .aesthetic-modal input{background-color:#111827;color:#f3f4f6;border-color:#374151}.color-picker-row{display:flex;gap:10px;justify-content:center;align-items:center;margin-bottom:18px}.color-dot{width:28px;height:28px;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease;display:inline-block;padding:0;line-height:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;vertical-align:middle}.color-dot:hover{transform:translateY(-1px) scale(1.04)}.color-dot.selected{border-color:#0000001f;transform:none;box-shadow:0 6px 18px #00000038}.theme-dark .color-dot.selected{border-color:#ffffff1f;box-shadow:0 8px 20px #00000073}.file-card{position:relative}.file-card-actions{position:absolute;top:8px;right:8px;display:flex!important;flex-direction:row!important;align-items:center;gap:6px;opacity:0;transform:translateY(-5px);transition:all .2s ease-in-out;z-index:10}.file-card:hover .file-card-actions{opacity:1;transform:translateY(0)}.confirmation-modal{text-align:center;padding:30px;width:320px;background:#fff;border-radius:20px;box-shadow:0 25px 50px #00000040}.danger-bubble{width:60px;height:60px;background:#fee2e2;color:#dc2626;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px}.modal-text{color:#6b7280;font-size:.9rem;margin-bottom:25px;line-height:1.5}.btn-danger{background-color:#dc2626;color:#fff;border:none;flex:1;padding:12px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s}.btn-danger:hover{background-color:#b91c1c}.theme-dark .confirmation-modal{background-color:#1f2937;color:#f3f4f6;border:1px solid #374151}.theme-dark .danger-bubble{background-color:#450a0a;color:#f87171}.theme-dark .modal-text{color:#9ca3af}.page-jump-input{width:56px;box-sizing:border-box;text-align:center;border:1px solid #e5e7eb;border-radius:4px;padding:4px;font-size:.8rem;font-variant-numeric:tabular-nums;-webkit-appearance:none;background:#f9fafb}.page-jump-input:focus{outline:none;border-color:#6366f1}.theme-dark .page-jump-input{background:#374151;border-color:#4b5563;color:#fff}.theme-sepia .page-jump-input{background:#fcfbf4;border-color:#eaddc5;color:#5c4b37}.folder-item{padding:10px;border-radius:6px;cursor:pointer;display:flex;align-items:center;gap:10px;color:#cbd5e1;font-size:.9rem;margin-bottom:5px}.folder-item>div:first-child{flex-grow:1;min-width:0;display:flex;align-items:center;gap:10px}.folder-name{min-width:0;flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tools-panel{transition:width .3s ease,padding .3s ease,border-left .3s ease;flex-shrink:0}.tools-panel.closed{width:0px!important;padding:0!important;border-left:none!important;overflow:hidden}.tools-panel-trigger{position:absolute;right:20px;top:20px;z-index:40;background:#4f46e5;color:#fff;padding:8px 12px;border-radius:8px;box-shadow:0 4px 10px #0003;cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:500;transition:opacity .3s,transform .3s}.tools-panel-trigger:hover{background:#4338ca}.folder-item .btn-icon-sm{flex-shrink:0}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.theme-dark .modal-overlay{background:#000000bf}.focus-calendar-widget{padding:15px;border-radius:12px}.calendar-grid{display:flex;justify-content:space-between;align-items:flex-end;height:120px;gap:8px;margin-bottom:10px}.calendar-day{display:flex;flex-direction:column;align-items:center;width:12%;height:100%;position:relative;cursor:default}.bar-container{flex-grow:1;width:100%;background-color:#e5e7eb;border-radius:4px;display:flex;align-items:flex-end;overflow:hidden;margin-bottom:5px}.focus-bar{width:100%;background-color:#6366f1;border-radius:4px;box-shadow:0 0 5px #6366f166}.calendar-day.is-today .focus-bar{background-color:#ef4444}.day-label{font-size:.7rem;color:#9ca3af;font-weight:500}.summary-text{font-size:.9rem;font-weight:600;color:#4b5563;margin-top:5px}.theme-dark .bar-container{background-color:#374151}.theme-dark .summary-text{color:#e5e7eb}.theme-dark .day-label{color:#9ca3af}.calendar-modal{width:85vw;max-width:450px;background:#fff;border-radius:20px;padding:20px;box-shadow:0 25px 50px #00000040;display:flex;flex-direction:column;max-height:85vh;overflow-y:auto}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.calendar-controls{display:flex;gap:10px;align-items:center}.cal-select{padding:6px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#f9fafb;font-family:inherit;cursor:pointer;color:#374151;font-weight:500}.view-tabs{display:flex;background:#f3f4f6;padding:4px;border-radius:10px;margin-bottom:20px}.view-tab{flex:1;text-align:center;padding:8px;border-radius:8px;cursor:pointer;font-size:.9rem;color:#6b7280;transition:all .2s}.view-tab.active{background:#fff;color:#4f46e5;box-shadow:0 2px 4px #0000000d;font-weight:600}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:0}.day-name{text-align:center;font-size:.6rem;color:#9ca3af;font-weight:600;margin-bottom:2px}.day-cell{aspect-ratio:1/1;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;transition:all .2s;background:#f9fafb;position:relative;min-height:32px}.day-cell:hover{background:#e0e7ff}.day-cell.selected{border-color:#4f46e5;background:#eef2ff}.day-cell.today{border-color:#4f46e5;border-width:2px}.day-cell.empty{background:transparent;cursor:default}.day-number{font-size:.7rem;color:#374151;z-index:2}.focus-dot{width:4px;height:4px;border-radius:50%;background:#4f46e5;margin-top:2px;opacity:.8}.week-chart{display:flex;justify-content:space-between;align-items:flex-end;height:140px;padding:15px 8px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.week-col{display:flex;flex-direction:column;align-items:center;width:12%;height:100%;justify-content:flex-end}.week-bar-bg{width:100%;flex-grow:1;background:#e2e8f0;border-radius:6px;overflow:hidden;display:flex;align-items:flex-end;position:relative}.week-bar-fill{width:100%;background:#6366f1;border-radius:4px;transition:height .6s cubic-bezier(.34,1.56,.64,1)}.week-label{margin-top:8px;font-size:.8rem;color:#64748b;font-weight:500}.week-val{margin-bottom:5px;font-size:.75rem;color:#4b5563;font-weight:600}.stats-footer{background:#f8fafc;border-radius:12px;padding:15px;margin-top:auto;border:1px solid #e2e8f0}.stat-highlight{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid #e5e7eb;margin-bottom:10px}.stat-big{font-size:1.5rem;font-weight:700;color:#4f46e5}.stat-sub{font-size:.9rem;color:#6b7280}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stat-item h4{margin:0;font-size:.75rem;color:#9ca3af;text-transform:uppercase}.stat-item p{margin:5px 0 0;font-size:1.1rem;font-weight:600;color:#1f2937}.theme-dark .calendar-modal,.theme-dark .stats-footer{background:#1f2937;color:#f3f4f6}.theme-dark .calendar-header{border-color:#374151}.theme-dark .view-tabs,.theme-dark .day-cell,.theme-dark .cal-select{background:#111827;border-color:#374151;color:#e5e7eb}.theme-dark .view-tab.active{background:#374151;color:#818cf8}.theme-dark .day-number{color:#e5e7eb}.theme-dark .day-cell:hover{background:#374151}.theme-dark .day-cell.today{border-color:#818cf8}.theme-dark .week-chart{background:#111827;border-color:#374151}.theme-dark .week-bar-bg{background:#374151}.theme-dark .stat-item p{color:#f3f4f6}.theme-dark .stat-big{color:#818cf8}.about-trigger-btn{position:absolute;bottom:20px;right:20px;background:#6366f1;color:#fff;border:1px solid #6366f1;padding:8px 16px;border-radius:12px;cursor:pointer;font-weight:500;font-size:.9rem;display:flex;align-items:center;gap:8px;box-shadow:0 4px 10px #6366f133;transition:all .2s;z-index:20}.about-trigger-btn:hover{background:#4f46e5;border-color:#4f46e5;box-shadow:0 4px 15px #6366f166}.leaderboard-trigger-btn{position:absolute;top:20px;left:80px;background:#4338ca;color:#fff;border:1px solid #4338ca;padding:8px 14px;border-radius:12px;cursor:pointer;font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:8px;box-shadow:0 8px 20px #4338ca40;transition:all .2s ease;z-index:25}.leaderboard-trigger-btn:hover{background:#3730a3;border-color:#3730a3;box-shadow:0 10px 24px #4338ca4d}.theme-dark .leaderboard-trigger-btn{background:#312e81;border-color:#312e81;color:#e0e7ff;box-shadow:0 10px 22px #11182799}.theme-dark .leaderboard-trigger-btn:hover{background:#3730a3;border-color:#3730a3}.about-modal{width:90vw;max-width:450px;background:#fff;border-radius:20px;padding:30px;box-shadow:0 25px 50px #00000040;text-align:left}.about-modal p{line-height:1.6;color:#374151;font-size:.95rem}.theme-dark .about-modal{background-color:#1f2937;color:#e5e7eb;border:1px solid #374151}.theme-dark .about-modal p{color:#9ca3af}.fullscreen-landing-btn{position:absolute;top:20px;right:20px;background:#fff;color:#4b5563;border:1px solid #e2e8f0;padding:10px;border-radius:12px;cursor:pointer;box-shadow:0 4px 10px #0000000d;transition:all .2s;z-index:25;display:flex;align-items:center;justify-content:center}.fullscreen-landing-btn:hover{background:#e0e7ff;color:#4f46e5;border-color:#c7d2fe}.theme-dark .fullscreen-landing-btn{background:#374151;color:#e5e7eb;border-color:#4b5563}.theme-dark .fullscreen-landing-btn:hover{background:#4b5563;color:#818cf8}.calendar-header .trash-button{opacity:0;pointer-events:none;transition:opacity .2s ease}.calendar-header:hover .trash-button{opacity:1;pointer-events:auto}.calendar-delete-footer{padding:15px;border-top:1px solid #e2e8f0;margin-top:10px;background:#f8fafc;border-radius:12px}.calendar-delete-footer .clear-history-btn{width:100%;color:#ef4444;border-color:#fca5a5;background:#fef2f2;padding:12px 20px;font-size:1rem;font-weight:600;border-radius:12px;cursor:pointer;border:none;outline:none;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.calendar-delete-footer .clear-history-btn:hover{background:#fcebeb}.confirm-delete-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.theme-dark .calendar-delete-footer{background:#111827;border-color:#374151}.theme-dark .calendar-delete-footer .clear-history-btn{background:#450a0a;color:#f87171;border-color:#7f1d1d}.theme-dark .calendar-delete-footer .clear-history-btn:hover{background:#6a0b0b}.theme-dark .confirm-delete-row span{color:#f87171!important}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.focus-history-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;width:90%;max-width:700px;max-height:80vh;overflow:hidden}.theme-dark .focus-history-modal{background:#1f2937;color:#f3f4f6}.focus-history-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.theme-dark .focus-history-header{border-color:#374151}.focus-history-header h2{margin:0;font-size:1.3rem;font-weight:700;color:#1f2937}.view-toggle-group{display:flex;gap:8px;padding:4px;border-radius:10px;background-color:#00000005}.theme-dark .focus-history-header h2{color:#f3f4f6}.focus-history-content{display:flex;gap:20px;padding:20px;flex:1;overflow-y:auto}.focus-calendar-section{flex:0 0 280px;overflow-y:auto;padding-right:10px;border-right:1px solid #e5e7eb}.theme-dark .focus-calendar-section{border-color:#374151}.focus-calendar-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.focus-calendar-nav button{grid-column:1 / -1}.focus-calendar-nav button,.focus-calendar-nav select{font-size:.75rem;padding:6px 10px}.focus-stats-section{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding-left:10px}.focus-view-tabs{display:flex;background:#f3f4f6;padding:4px;border-radius:10px;margin-bottom:14px;gap:4px;flex-shrink:0}.focus-view-tab{flex:1;text-align:center;padding:8px;border-radius:8px;cursor:pointer;font-size:.85rem;color:#6b7280;font-weight:500;transition:all .2s ease}.focus-view-tab.active{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000001a}.theme-dark .focus-view-tabs{background:#111827}.theme-dark .focus-view-tab{color:#9ca3af}.theme-dark .focus-view-tab.active{background:#374151;color:#818cf8}.focus-view-content{flex:1;overflow-y:auto;margin-bottom:12px;min-height:100px}.focus-month-view{background:#f9fafb;border-radius:12px;padding:12px}.theme-dark .focus-month-view{background:#111827}.focus-stats-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;padding:10px;background:#f9fafb;border-radius:12px;flex-shrink:0}.theme-dark .focus-stats-footer{background:#111827}.focus-stat-box{padding:12px;background:#fff;border-radius:10px;border:1px solid #e5e7eb;grid-column:1 / 2}.theme-dark .focus-stat-box{background:#374151;border-color:#4b5563}.focus-stat-big{font-size:1.5rem;font-weight:700;color:#4f46e5;margin:4px 0}.focus-stat-sub{font-size:.8rem;color:#6b7280;font-weight:500}.theme-dark .focus-stat-sub{color:#9ca3af}.focus-history-header .focus-view-tab{margin-left:8px;padding:6px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e6edf8;color:#374151;font-weight:600;box-shadow:none}.focus-history-header .focus-view-tab.active{background:#fff;color:#4f46e5;border-color:#4f46e51f;box-shadow:0 6px 18px #4f46e50f}.theme-dark .view-toggle-group{background-color:#ffffff05}.theme-dark .focus-history-header .focus-view-tab{background:transparent;border:1px solid #23303b;color:#cbd5e1}.theme-dark .focus-history-header .focus-view-tab.active{background:#374151;color:#818cf8;border-color:#4f46e51f;box-shadow:0 6px 18px #02061773}.focus-breakdown{padding:18px;border-radius:12px;background:#fff;border:1px solid #e6edf8;box-shadow:0 6px 20px #0206170a}.theme-dark .focus-breakdown{background:#0b1220;border:1px solid #23303b;box-shadow:0 6px 20px #0206172e}.focus-breakdown .breakdown-controls{display:flex;gap:8px;align-items:center}.breakdown-range-btn{padding:6px 10px;border-radius:8px;border:1px solid #d1d5db;background:#fff;font-weight:600;color:#374151;transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .12s ease}.breakdown-range-btn.active{background:#eef2ff;border-color:#4f46e52e;color:#4f46e5}.theme-dark .breakdown-range-btn{background:transparent;border:1px solid #334155;color:#cbd5e1}.theme-dark .breakdown-range-btn.active{background:#6366f10f;border-color:#4f46e52e;color:#c7d2fe}.breakdown-legend{display:flex;flex-direction:column;gap:8px}.breakdown-legend .legend-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:8px;background:#fbfdff}.theme-dark .breakdown-legend .legend-item{background:transparent;border:1px solid rgba(255,255,255,.02);color:#cbd5e1}.breakdown-legend .legend-left{display:flex;gap:10px;align-items:center}.breakdown-legend .legend-color{width:12px;height:12px;border-radius:4px}.breakdown-header{display:flex;justify-content:flex-end}.focus-breakdown .breakdown-header{justify-content:center}.focus-breakdown .focus-view-tabs{gap:8px}.focus-breakdown .focus-view-tab{padding:8px 16px;min-width:92px;text-align:center;border-radius:10px}.breakdown-summary{display:flex;gap:12px;align-items:stretch}.breakdown-main{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:center}.donut-wrap{display:flex;justify-content:center;align-items:center}.legend-wrap{overflow-y:auto}.breakdown-legend{display:flex;flex-direction:column;gap:10px}.legend-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;background:#00000005}.theme-dark .legend-item{background:#ffffff05}.legend-left{display:flex;align-items:center;gap:12px}.legend-color{width:14px;height:14px;border-radius:4px;box-shadow:0 2px 8px #02061726}.focus-stat-grid{display:flex;flex-direction:column;gap:8px;grid-column:2 / 3}.focus-stat-item{padding:10px;background:#fff;border-radius:10px;border:1px solid #e5e7eb}.theme-dark .focus-stat-item{background:#374151;border-color:#4b5563}.focus-stat-item h4{margin:0 0 4px;font-size:.7rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px}.focus-stat-item p{margin:0;font-size:1.1rem;font-weight:700;color:#1f2937}.theme-dark .focus-stat-item p{color:#f3f4f6}.tag-manager-modal .modal-header{background:inherit!important}.tag-manager-modal .tag-row{color:#0f172a}.tag-manager-modal .tag-row.untagged{color:#6b7280!important}.theme-dark .tag-manager-modal .tag-row{color:#fff!important}.theme-dark .tag-manager-modal .tag-row.untagged{color:#9ca3af!important;background:#9ca3af0f!important}.tag-form{margin-top:18px;border-top:1px solid #e5e7eb;padding-top:16px;text-align:left}.theme-dark .tag-form{border-top-color:#374151}.tag-form-title{font-weight:600;margin-bottom:10px;font-size:1.05rem;color:#4f46e5}.theme-dark .tag-form-title{color:#8b8ff7}.tag-form-row{display:flex;gap:12px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.tag-name-input{flex:1 1 220px;min-width:160px}.tag-manager-modal .modal-input{width:100%}.color-palette{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.color-dot{width:36px;aspect-ratio:1 / 1;height:auto;border-radius:8px;border:2px solid transparent;cursor:pointer;box-shadow:0 6px 18px #0206170f;transition:transform .12s ease,box-shadow .12s ease;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;vertical-align:middle;min-width:0;min-height:0}.color-dot:hover{transform:translateY(-2px)}.color-dot.selected{border-color:#6366f12e;box-shadow:0 8px 26px #6366f114;transform:none}.modal-btn-row{display:flex;gap:8px;margin-top:8px}.modal-btn-row .btn-full{flex:1 1 100%;display:inline-flex;align-items:center;justify-content:center}.modal-btn-row .btn-secondary{flex:0 0 auto}.theme-dark .tag-form-title{color:#c7d2fe}.theme-dark .color-dot{box-shadow:0 6px 18px #0000002e}.focus-history-delete-footer{display:flex;justify-content:center;padding:12px;border-top:1px solid #e5e7eb;flex-shrink:0}.theme-dark .focus-history-delete-footer{border-color:#374151}.clear-history-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#ef4444;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .2s ease}.clear-history-btn:hover{background:#dc2626;transform:translateY(-1px)}.theme-dark .clear-history-btn{background:#dc2626}.theme-dark .clear-history-btn:hover{background:#b91c1c}.confirm-delete-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}.modal-btn{padding:6px 12px;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn-secondary{background:#e5e7eb;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover{background:#d1d5db;color:#1f2937}.theme-dark .btn-secondary{background:#374151;color:#f3f4f6;border-color:#4b5563}.theme-dark .btn-secondary:hover{background:#4b5563;color:#f3f4f6}.todo-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;width:90%;max-width:700px;max-height:80vh;overflow:hidden}.theme-dark .todo-modal{background:#1f2937;color:#f3f4f6}.todo-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.theme-dark .todo-modal-header{border-color:#374151}.todo-modal-header h2{margin:0;font-size:1.3rem;font-weight:700;color:#1f2937}.theme-dark .todo-modal-header h2{color:#f3f4f6}.close-modal-btn{background:none;border:none;cursor:pointer;color:#6b7280;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.close-modal-btn:hover{color:#1f2937}.theme-dark .close-modal-btn{color:#9ca3af}.theme-dark .close-modal-btn:hover{color:#f3f4f6}.todo-modal-content{display:flex;flex-direction:row;gap:16px;padding:20px;flex:1;overflow:hidden}.todo-calendar-section{flex:0 0 240px;overflow-y:auto;border-right:1px solid #e5e7eb;padding-right:16px}.todo-calendar-section{scrollbar-width:none;scrollbar-color:transparent transparent!important}.todo-calendar-section::-webkit-scrollbar{width:0!important;height:0!important}.todo-calendar-section::-webkit-scrollbar-track{background:transparent!important}.todo-calendar-section::-webkit-scrollbar-thumb{background:transparent!important}.theme-dark .todo-calendar-section{border-right-color:#374151}.todo-list-section{flex:1;display:flex;flex-direction:column;overflow-y:auto;min-width:0}.todo-items-list{scrollbar-width:none;scrollbar-color:transparent transparent!important}.todo-items-list::-webkit-scrollbar{width:0!important;height:0!important}.todo-items-list::-webkit-scrollbar-track{background:transparent!important}.todo-items-list::-webkit-scrollbar-thumb{background:transparent!important}.todo-modal,.todo-modal *{-webkit-overflow-scrolling:touch}.todo-modal,.todo-modal-content,.todo-list-section,.todo-items-list,.todo-calendar-section{overflow-x:hidden!important;scrollbar-width:none!important;scrollbar-color:transparent transparent!important}.todo-modal::-webkit-scrollbar,.todo-modal-content::-webkit-scrollbar,.todo-list-section::-webkit-scrollbar,.todo-items-list::-webkit-scrollbar,.todo-calendar-section::-webkit-scrollbar{width:0!important;height:0!important}.todo-modal::-webkit-scrollbar-track,.todo-modal-content::-webkit-scrollbar-track,.todo-list-section::-webkit-scrollbar-track,.todo-items-list::-webkit-scrollbar-track,.todo-calendar-section::-webkit-scrollbar-track{background:transparent!important}.todo-modal::-webkit-scrollbar-thumb,.todo-modal-content::-webkit-scrollbar-thumb,.todo-list-section::-webkit-scrollbar-thumb,.todo-items-list::-webkit-scrollbar-thumb,.todo-calendar-section::-webkit-scrollbar-thumb{background:transparent!important}.todo-calendar-widget{background:transparent;border-radius:0;padding:0}.theme-dark .todo-calendar-widget{background:transparent}.calendar-nav-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:6px}.calendar-nav-header h4{margin:0;font-size:.85rem;font-weight:600;color:#1f2937;text-align:center;flex:1}.theme-dark .calendar-nav-header h4{color:#f3f4f6}.calendar-nav-btn{background:#fff;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#6366f1;transition:all .2s ease}.calendar-nav-btn:hover{background:#f3f4f6;border-color:#d1d5db}.theme-dark .calendar-nav-btn{background:#374151;border-color:#4b5563;color:#818cf8}.theme-dark .calendar-nav-btn:hover{background:#4b5563}.calendar-weekdays-row{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-bottom:6px}.weekday-label{text-align:center;font-size:.7rem;font-weight:600;color:#9ca3af;padding:2px 0}.theme-dark .weekday-label{color:#6b7280}.calendar-days-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-day-cell{aspect-ratio:1;border:1px solid #e5e7eb;border-radius:4px;background:#fff;cursor:pointer;font-size:.7rem;font-weight:500;color:#6b7280;display:flex;align-items:center;justify-content:center;position:relative;transition:all .2s ease}.calendar-day-cell:hover:not(.empty){background:#f3f4f6;border-color:#d1d5db}.calendar-day-cell.empty{cursor:default;border:none;background:transparent}.calendar-day-cell.today{background:#fef3c7;border-color:#fcd34d;color:#92400e}.calendar-day-cell.selected{background:#6366f1;border-color:#6366f1;color:#fff;font-weight:600}.calendar-day-cell.has-items{border-color:#10b981}.theme-dark .calendar-day-cell{background:#374151;border-color:#4b5563;color:#9ca3af}.theme-dark .calendar-day-cell:hover:not(.empty){background:#4b5563}.theme-dark .calendar-day-cell.today{background:#78350f;border-color:#b45309;color:#fef3c7}.theme-dark .calendar-day-cell.selected{background:#818cf8;border-color:#818cf8}.theme-dark .calendar-day-cell.has-items{border-color:#10b981}.day-number{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.todo-dot{position:absolute;bottom:2px;width:4px;height:4px;background:#10b981;border-radius:50%}.todo-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.theme-dark .todo-list-header{border-color:#374151}.todo-list-header h3{margin:0;font-size:1rem;font-weight:600;color:#1f2937}.theme-dark .todo-list-header h3{color:#f3f4f6}.todo-count{background:#e0e7ff;color:#4338ca;padding:4px 8px;border-radius:6px;font-size:.8rem;font-weight:600}.theme-dark .todo-count{background:#4f46e5;color:#e0e7ff}.todo-items-list{flex:1;overflow-y:auto;margin-bottom:16px}.todo-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;color:#9ca3af;text-align:center}.theme-dark .todo-empty-state{color:#6b7280}.todo-empty-state svg{opacity:.5}.todo-empty-state p{margin:0;font-size:.9rem}.todo-item-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;background:#f9fafb;margin-bottom:8px;transition:all .2s ease}.theme-dark .todo-item-row{background:#374151}.todo-item-row:hover{background:#f3f4f6}.theme-dark .todo-item-row:hover{background:#4b5563}.todo-item-row.completed .todo-text{color:#9ca3af;text-decoration:line-through}.todo-checkbox{background:none;border:none;cursor:pointer;color:#d1d5db;padding:0;display:flex;align-items:center;justify-content:center;transition:color .2s ease;flex-shrink:0}.todo-checkbox:hover{color:#6366f1}.theme-dark .todo-checkbox{color:#6b7280}.theme-dark .todo-checkbox:hover{color:#818cf8}.todo-text{flex:1;color:#1f2937;font-size:.95rem;word-break:break-word}.theme-dark .todo-text{color:#f3f4f6}.delete-todo-btn{background:none;border:none;cursor:pointer;color:#d1d5db;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .2s ease;flex-shrink:0}.delete-todo-btn:hover{color:#ef4444}.theme-dark .delete-todo-btn{color:#6b7280}.theme-dark .delete-todo-btn:hover{color:#f87171}.add-todo-input-group{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.theme-dark .add-todo-input-group{border-color:#374151}.todo-input-field{flex:1;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background:#fff;color:#1f2937;transition:all .2s ease}.todo-input-field:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.theme-dark .todo-input-field{background:#1f2937;border-color:#4b5563;color:#f3f4f6}.theme-dark .todo-input-field:focus{border-color:#818cf8;box-shadow:0 0 0 3px #818cf81a}.add-todo-btn{background:#6366f1;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:10px 16px;font-weight:500;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.add-todo-btn:hover{background:#4f46e5}.theme-dark .add-todo-btn{background:#818cf8}.theme-dark .add-todo-btn:hover{background:#6366f1}.todo-list-container{height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#f8fafc,#f1f5f9);color:#1f2937}.todo-header{display:flex;align-items:center;gap:20px;padding:20px 30px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000d}.todo-header h1{margin:0;font-size:1.8rem;color:#0f172a;flex-grow:1}.back-button{background:none;border:none;padding:8px 12px;border-radius:8px;cursor:pointer;color:#4f46e5;display:flex;align-items:center;gap:8px;font-weight:600;transition:all .2s ease}.back-button:hover{background:#e0e7ff;color:#4338ca}.todo-content{display:flex;gap:30px;flex:1;padding:30px;overflow:hidden}.calendar-section{flex-shrink:0}.todos-section{flex:1;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014;overflow:hidden;min-width:0}.todos-header{padding:20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.todos-header h2{margin:0;font-size:1.3rem;color:#0f172a}.todo-count{background:#e0e7ff;color:#4338ca;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:600}.todos-list{flex:1;overflow-y:auto;padding:20px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#9ca3af}.empty-state p{margin-top:15px;font-size:1rem}.todo-item{display:flex;align-items:center;gap:15px;padding:15px;margin-bottom:10px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0;transition:all .2s ease}.todo-item:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translate(4px)}.todo-item.completed{opacity:.7;background:#f0fdf4}.todo-checkbox{background:none;border:none;cursor:pointer;padding:0;color:#cbd5e1;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.todo-checkbox:hover{color:#4f46e5}.todo-title{flex:1;text-align:left;font-size:1rem;color:#1f2937;word-break:break-word}.todo-item.completed .todo-title{text-decoration:line-through;color:#9ca3af}.delete-todo-btn{background:none;border:none;cursor:pointer;color:#9ca3af;padding:4px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.delete-todo-btn:hover{color:#ef4444;transform:scale(1.1)}.add-todo-form{display:flex;gap:10px;padding:20px;border-top:1px solid #e2e8f0;background:#fafbfc}.todo-input{flex:1;border:1px solid #e2e8f0;border-radius:8px;padding:12px 15px;font-size:1rem;font-family:Inter,sans-serif;transition:all .2s ease}.todo-input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.add-todo-btn{background:#4f46e5;color:#fff;border:none;border-radius:8px;padding:12px 20px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s ease}.add-todo-btn:hover{background:#4338ca;transform:translateY(-2px)}.add-todo-btn:active{transform:translateY(0)}.calendar-widget{background:#fff;border-radius:16px;padding:20px;box-shadow:0 4px 12px #00000014;width:320px}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-header h3{margin:0;font-size:1.1rem;color:#0f172a}.calendar-header button{background:none;border:none;cursor:pointer;color:#4f46e5;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.calendar-header button:hover{background:#e0e7ff}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:10px}.weekday{text-align:center;font-size:.8rem;font-weight:600;color:#6b7280;padding:8px 0}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.calendar-day{aspect-ratio:1;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;font-weight:500;color:#1f2937;transition:all .2s ease;position:relative;display:flex;align-items:center;justify-content:center;padding:0}.calendar-day:hover:not(.empty){background:#f8fafc;border-color:#4f46e5;transform:scale(1.05)}.calendar-day.empty{background:transparent;border:none;cursor:default}.calendar-day.today{background:#dbeafe;border-color:#3b82f6;color:#1e40af;font-weight:700}.calendar-day.selected{background:#4f46e5;color:#fff;border-color:#4f46e5}.calendar-day.has-todos{border-color:#10b981}.calendar-day.has-todos:after{content:"";position:absolute;bottom:3px;width:6px;height:6px;background:#10b981;border-radius:50%}.todo-indicator{position:absolute;bottom:3px;width:6px;height:6px;background:#10b981;border-radius:50%}@media(max-width:1024px){.todo-content{flex-direction:column}.calendar-section,.calendar-widget{width:100%}.todos-section{min-height:300px}}@media(max-width:768px){.todo-header{flex-direction:column;align-items:flex-start}.todo-content{padding:15px;gap:15px}.menu-grid{flex-direction:column}.menu-card{width:100%}}.btn-icon-xs:hover{background-color:#4f46e5!important;color:#fff!important;border-color:#4f46e5!important}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/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(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/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(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/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(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/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(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/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(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/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(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/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(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/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(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/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(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/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(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/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(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/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(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/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(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/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(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/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(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/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(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/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(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/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(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/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(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.26"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.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;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.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 .clap,.katex .llap,.katex .rlap{position:relative;width:0}.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;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.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:.8333333333em}.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.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.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.6666666667em}.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.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.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.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.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:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.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.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.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.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.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:.4166666667em}.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:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.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:.8333333333em}.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.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.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:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.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.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.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.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.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.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.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{display:inline-block;width:.12em}.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{display:inline-block;min-width:1px}.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;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.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{border:.04em solid;box-sizing:border-box}.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{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;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{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.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{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li>.ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) ". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media(pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.flashcard-deck{height:100%;width:100%;display:flex;flex-direction:column;background:#f8fafc;overflow:hidden}.flashcard-edit-mode{padding:20px}.edit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e2e8f0}.edit-header h2{margin:0;font-size:1.5rem;color:#1f2937;font-weight:600}.btn-study-mode{display:flex;align-items:center;gap:8px;background:#4f46e5;color:#fff;border:none;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-study-mode:hover{background:#4338ca;transform:translateY(-2px);box-shadow:0 4px 12px #4f46e54d}.edit-cards-container{flex:1;overflow-y:auto;margin-bottom:20px;padding-right:10px}.edit-cards-container::-webkit-scrollbar{width:8px}.edit-cards-container::-webkit-scrollbar-track{background:transparent}.edit-cards-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.edit-cards-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;color:#9ca3af;text-align:center}.empty-state svg{margin-bottom:15px;color:#cbd5e1}.empty-state p{font-size:1rem;margin:0}.cards-list{display:flex;flex-direction:column;gap:12px}.card-row{display:flex;gap:12px;align-items:stretch;padding:12px;background:#fff;border-radius:10px;border:1px solid #e2e8f0;transition:all .2s ease}.card-row:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.card-input-group{display:flex;gap:12px;flex:1;min-width:0}.card-input{flex:1;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-family:Inter,sans-serif;font-size:.95rem;color:#1f2937;transition:all .2s ease;outline:none}.card-input::placeholder{color:#9ca3af}.card-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;background:#f0f4ff}.card-input.front,.card-input.back{flex:1}.btn-delete{display:flex;align-items:center;justify-content:center;background:#fff;color:#ef4444;border:1px solid #e5e7eb;width:28px;height:28px;padding:6px;box-sizing:border-box;border-radius:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.btn-delete:hover{background:#ef4444;border-color:#ef4444;color:#fff!important}.btn-add-card{display:flex;align-items:center;justify-content:center;gap:8px;background:#10b981;color:#fff;border:none;width:100%;padding:14px;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-add-card:hover{background:#059669;transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.flashcard-study-mode{padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.study-header{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:30px;padding-bottom:15px;border-bottom:1px solid #e2e8f0}.btn-edit-mode{display:flex;align-items:center;gap:8px;background:#e2e8f0;color:#475569;border:none;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-edit-mode:hover{background:#cbd5e1;transform:translateY(-2px)}.card-counter{font-size:1.1rem;font-weight:600;color:#4338ca}.study-card-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:600px;margin:0 auto}.flip-card{width:100%;height:350px;cursor:pointer;perspective:1000px;margin-bottom:20px}.flip-card-inner{position:relative;width:100%;height:100%;text-align:center;transition:transform .6s cubic-bezier(.68,-.55,.265,1.55);transform-style:preserve-3d}.flip-card.flipped .flip-card-inner{transform:rotateY(180deg)}.flip-card-front,.flip-card-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center;border-radius:16px;box-shadow:0 8px 32px #00000026;padding:40px;font-size:1.8rem;font-weight:500;line-height:1.6}.flip-card-front{background:linear-gradient(135deg,#fff,#f0f4ff);color:#1f2937;border:2px solid #e0e7ff}.flip-card-front p{margin:0}.flip-card-back{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;transform:rotateY(180deg);border:2px solid #4338ca}.flip-card-back p{margin:0}.flip-hint{font-size:.9rem;color:#9ca3af;margin:10px 0 0;font-style:italic}.study-controls{display:flex;gap:20px;margin-bottom:20px}.btn-nav{display:flex;align-items:center;gap:8px;background:#4f46e5;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:1rem}.btn-nav:hover:not(:disabled){background:#4338ca;transform:translateY(-2px);box-shadow:0 4px 12px #4f46e54d}.btn-nav:disabled{background:#cbd5e1;color:#9ca3af;cursor:not-allowed;opacity:.6}.study-hints{display:flex;gap:30px;font-size:.85rem;color:#9ca3af;text-align:center}.study-hints span{display:flex;align-items:center;gap:5px}@media(max-width:768px){.flashcard-deck{padding:15px}.edit-header{flex-direction:column;gap:15px;align-items:flex-start}.btn-study-mode{width:100%;justify-content:center}.card-row,.card-input-group{flex-direction:column}.flip-card{height:280px}.flip-card-front,.flip-card-back{font-size:1.4rem;padding:30px}.study-controls{flex-direction:column;width:100%;max-width:300px}.btn-nav{width:100%;justify-content:center}.study-header{flex-direction:column;gap:10px;align-items:flex-start}.btn-edit-mode{width:100%}.card-counter{width:100%;text-align:left}.study-hints{flex-direction:column;gap:10px}}@media(max-width:480px){.flashcard-deck{padding:12px}.edit-header h2{font-size:1.25rem}.flip-card{height:240px}.flip-card-front,.flip-card-back{font-size:1.2rem;padding:20px}.card-input{font-size:.9rem;padding:8px 10px}.btn-delete{width:28px;height:28px}.btn-delete svg{width:12px;height:12px}}.btn-study-mode:focus,.btn-edit-mode:focus,.btn-nav:focus,.btn-add-card:focus,.btn-delete:focus{outline:2px solid #4f46e5;outline-offset:2px}.card-input:focus{outline:none}.flashcard-deck.theme-dark{background:#111827}.theme-dark .edit-header{border-bottom-color:#374151}.theme-dark .edit-header h2{color:#f3f4f6}.theme-dark .card-row{background:#1f2937;border-color:#374151}.theme-dark .card-row:hover{border-color:#4b5563;box-shadow:0 2px 8px #0000004d}.theme-dark .card-input{background:#111827;border-color:#374151;color:#f3f4f6}.theme-dark .card-input::placeholder{color:#6b7280}.theme-dark .card-input:focus{border-color:#818cf8;background:#1f2937;box-shadow:0 0 0 3px #818cf81a}.theme-dark .empty-state{color:#6b7280}.theme-dark .empty-state svg{color:#4b5563}.theme-dark .study-header{border-bottom-color:#374151}.theme-dark .flip-card-front{background:linear-gradient(135deg,#1f2937,#111827);color:#f3f4f6;border-color:#374151}.theme-dark .flip-card-back{background:linear-gradient(135deg,#4f46e5,#6d28d9);color:#f3f4f6;border-color:#4338ca}.theme-dark .flip-hint{color:#6b7280}.theme-dark .btn-edit-mode{background:#374151;color:#f3f4f6}.theme-dark .btn-edit-mode:hover{background:#4b5563}.theme-dark .card-counter{color:#818cf8}.theme-dark .study-hints{color:#6b7280}.theme-dark .btn-delete{background:#111827;color:#fb7185;border-color:#374151}.theme-dark .btn-delete:hover{background:#ef4444;border-color:#ef4444;color:#fff!important}.theme-dark .btn-delete svg{stroke:currentColor}.flashcard-deck.theme-sepia{background:#faf8f3}.theme-sepia .edit-header{border-bottom-color:#e8dcc8}.theme-sepia .edit-header h2{color:#5b4c3d}.theme-sepia .card-row{background:#f5f1e8;border-color:#e8dcc8}.theme-sepia .card-row:hover{border-color:#d4c4b0;box-shadow:0 2px 8px #00000014}.theme-sepia .card-input{background:#faf8f3;border-color:#e8dcc8;color:#5b4c3d}.theme-sepia .card-input::placeholder{color:#9d8b7b}.theme-sepia .card-input:focus{border-color:#a78b6d;background:#f5f1e8;box-shadow:0 0 0 3px #a78b6d1a}.theme-sepia .flip-card-front{background:linear-gradient(135deg,#f5f1e8,#faf8f3);color:#5b4c3d;border-color:#d4c4b0}.theme-sepia .flip-card-back{background:linear-gradient(135deg,#8b6f47,#6d5a3f);color:#f5f1e8;border-color:#7a5d39}.theme-sepia .flip-hint{color:#9d8b7b}.theme-sepia .btn-edit-mode{background:#e8dcc8;color:#5b4c3d}.theme-sepia .btn-edit-mode:hover{background:#d4c4b0}.theme-sepia .card-counter{color:#8b6f47}.theme-sepia .study-header{border-bottom-color:#e8dcc8}.theme-sepia .study-hints{color:#9d8b7b}.snake-game-container{display:flex;flex-direction:column;align-items:center;width:100%;padding:8px;position:relative;max-width:460px;margin:0 auto}.snake-ui-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.78rem;font-weight:800;letter-spacing:.6px}.snake-board-wrapper{position:relative;width:100%;max-width:400px;aspect-ratio:1 / 1}.snake-board-wrapper canvas{width:100%;height:100%;display:block}.snake-score,.snake-high-score{display:inline-block;padding:6px 10px;border-radius:999px;font-weight:800;font-size:.82rem}.snake-score{font-family:inherit;color:#eef2ff;background:linear-gradient(180deg,#6366f124,#6366f114);border:1px solid rgba(99,102,241,.18);box-shadow:0 6px 18px #6366f114}.snake-high-score{font-family:inherit;color:#92400e;background:linear-gradient(180deg,#facc1514,#facc150a);border:1px solid rgba(250,204,21,.12);box-shadow:0 6px 18px #facc150f}.snake-canvas{background-color:transparent;border:4px solid #6366f1;border-radius:10px;box-shadow:0 12px 30px #6366f12e,0 0 12px #818cf838;width:100%;max-width:400px;aspect-ratio:1 / 1}.snake-controls{margin-top:15px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:10px;width:70%;max-width:250px}.snake-btn{background-color:#333;color:#fafafa;border:2px solid #555;border-radius:8px;font-size:20px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:12px;display:flex;align-items:center;justify-content:center;transition:all .2s;font-family:inherit}.snake-btn:hover{background-color:#444;border-color:#818cf8;box-shadow:0 0 8px #818cf84d}.snake-btn:active{background-color:#555;box-shadow:0 0 10px #818cf8;transform:scale(.95)}.snake-up{grid-column:2 / 3;grid-row:1 / 2}.snake-left{grid-column:1 / 2;grid-row:2 / 3}.snake-right{grid-column:3 / 4;grid-row:2 / 3}.snake-down{grid-column:2 / 3;grid-row:2 / 3}.snake-game-over{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;padding:12px}.snake-game-over-card{min-width:180px;background-color:#0a0a0f;color:#e2e8f0;padding:16px 14px 14px;border-radius:10px;border:2px solid #818cf8;text-align:center;box-shadow:0 8px 24px #818cf859}.snake-game-over h2{margin:0 0 12px;font-size:1.4em;color:#818cf8;text-shadow:0 0 8px rgba(129,140,248,.75)}.snake-game-over p{margin:8px 0;font-size:.95em;color:inherit}.snake-game-over .new-record{color:gold;font-weight:700;text-shadow:0 0 10px rgba(255,215,0,.8);animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.snake-restart-btn{background-color:#818cf8;color:#fff;border:none;padding:12px 24px;font-family:inherit;font-size:.9em;font-weight:700;border-radius:6px;cursor:pointer;transition:all .2s;margin-top:15px;text-transform:uppercase;letter-spacing:1px}.snake-restart-btn:hover{background-color:#6366f1;box-shadow:0 0 15px #818cf899;transform:scale(1.05)}.snake-restart-btn:active{transform:scale(.98)}.theme-dark .snake-canvas{background-color:#0a0a0f;border-color:#818cf8;box-shadow:0 0 15px #818cf866}.theme-dark .snake-game-over{background:#0a0a0fa6}.theme-dark .snake-game-over-card{background-color:#0b0c12;color:#e2e8f0}.theme-sepia .snake-canvas{background-color:#f4ecdd;border-color:#8b7355;box-shadow:0 0 15px #8b735566}.theme-sepia .snake-game-over{background:#f4ecdd99}.theme-sepia .snake-game-over-card{background-color:#f9f1e3;color:#3f2e1f;border-color:#8b7355;box-shadow:0 10px 35px #8b735559}.theme-light .snake-canvas{background-color:#f8fafc;border-color:#cbd5e1;box-shadow:0 0 15px #94a3b859}.theme-light .snake-game-over{background:#f8fafcb8}.theme-light .snake-game-over-card{background-color:#fff;color:#0f172a;border-color:#cbd5e1;box-shadow:0 10px 35px #94a3b866}.theme-light .snake-game-over h2{color:#4f46e5;text-shadow:0 0 8px rgba(79,70,229,.35)}.theme-dark .snake-score{color:#eef2ff;background:linear-gradient(180deg,#6366f11f,#6366f10f);border:1px solid rgba(99,102,241,.16);box-shadow:0 6px 18px #6366f10f}.theme-dark .snake-high-score{color:gold;background:#ffd7000f;border:1px solid rgba(255,215,0,.12);box-shadow:0 6px 18px #ffd7000a}.theme-light .snake-score{color:#4f46e5;background:#4f46e50f;border:1px solid rgba(99,102,241,.08);box-shadow:0 4px 12px #4f46e50a}.theme-light .snake-high-score{color:#b45309;background:#f59e0b0f;border:1px solid rgba(245,158,11,.08);box-shadow:0 4px 12px #f59e0b08}.theme-sepia .snake-game-over{border-color:#8b4513;box-shadow:0 0 20px #8b451380}
