@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap";:root{--bg-root: #f9fafb;--bg-surface: #ffffff;--bg-surface-hover: #f3f4f6;--bg-sidebar: #ffffff;--bg-sidebar-hover: rgba(99, 102, 241, .08);--bg-sidebar-active: rgba(99, 102, 241, .14);--bg-code: #f4f4f8;--text-primary: #111827;--text-secondary: #374151;--text-tertiary: #6b7280;--text-inverse: #f6f7fb;--text-sidebar: #5a6478;--text-sidebar-active: #2f3f9b;--accent: #6366f1;--accent-light: #4f46e5;--accent-bg: rgba(99, 102, 241, .08);--accent-bg-strong: rgba(99, 102, 241, .15);--green: #22c55e;--green-bg: rgba(34, 197, 94, .1);--amber: #f59e0b;--amber-bg: rgba(245, 158, 11, .1);--rose: #ef4444;--rose-bg: rgba(239, 68, 68, .1);--cyan: #3b82f6;--cyan-bg: rgba(59, 130, 246, .1);--border: #e5e7eb;--border-light: #eef2f7;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 12px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);--shadow-float: 0 20px 60px rgba(0, 0, 0, .15);--font-body: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "JetBrains Mono", "Fira Code", monospace;--font-display: "Playfair Display", serif;--sidebar-w: 144px;--sidebar-w-compact: 72px;--topbar-h: 64px;--layout-content-pad: 28px;--transition: .18s ease-out;--ds-font-h1: 24px;--ds-font-h2: 18px;--ds-font-body: 14px;--ds-font-caption: 12px;--ds-line-title: 1.3;--ds-line-body: 1.6;--ds-content-max: 1440px;--ds-btn-h: 40px;--ds-input-h: 40px}:root[data-theme-mode=dark]{--bg-root: #121624;--bg-surface: #181f31;--bg-surface-hover: #222b41;--bg-sidebar: #0f1422;--bg-sidebar-hover: rgba(255, 255, 255, .08);--bg-sidebar-active: rgba(99, 102, 241, .24);--bg-code: #101726;--text-primary: #e7ecfa;--text-secondary: #b0bddb;--text-tertiary: #7f8baa;--text-inverse: #f5f7ff;--text-sidebar: #9da9c7;--text-sidebar-active: #f5f7ff;--border: #2a3348;--border-light: #222b3f}:root[data-theme-preset=forest]{--accent: #22c55e;--accent-light: #4ade80;--accent-bg: rgba(34, 197, 94, .12);--accent-bg-strong: rgba(34, 197, 94, .24)}:root[data-theme-preset=sunset]{--accent: #f97316;--accent-light: #fb923c;--accent-bg: rgba(249, 115, 22, .12);--accent-bg-strong: rgba(249, 115, 22, .24)}:root[data-theme-preset=ocean]{--accent: #06b6d4;--accent-light: #22d3ee;--accent-bg: rgba(6, 182, 212, .14);--accent-bg-strong: rgba(6, 182, 212, .25)}:root[data-theme-preset=aurora]{--accent: #0ea5a4;--accent-light: #38bdf8;--accent-bg: rgba(14, 165, 164, .14);--accent-bg-strong: rgba(56, 189, 248, .22);--bg-sidebar-active: rgba(14, 165, 164, .2)}:root[data-theme-preset=neon]{--accent: #7c3aed;--accent-light: #22d3ee;--accent-bg: rgba(124, 58, 237, .16);--accent-bg-strong: rgba(34, 211, 238, .26);--bg-sidebar-active: rgba(124, 58, 237, .24)}:root[data-theme-preset=graphite]{--accent: #475569;--accent-light: #64748b;--accent-bg: rgba(71, 85, 105, .14);--accent-bg-strong: rgba(100, 116, 139, .24);--bg-sidebar-active: rgba(71, 85, 105, .2)}:root[data-theme-preset=rose]{--accent: #db2777;--accent-light: #f472b6;--accent-bg: rgba(219, 39, 119, .14);--accent-bg-strong: rgba(244, 114, 182, .24);--bg-sidebar-active: rgba(219, 39, 119, .22)}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;min-height:100%}body{font-family:var(--font-body);background:var(--bg-root);color:var(--text-primary);line-height:1.6;overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.logo-title-svg text,.logo-subtitle-svg text{fill:transparent;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke}.logo-title-svg text{--logo-dash: 176;font-size:26px;font-weight:700;letter-spacing:1px;font-family:STKaiti,KaiTi,"Noto Serif SC",serif;stroke:#e6eefff5;stroke-width:1.15;stroke-dasharray:176;stroke-dashoffset:176;animation:logo-stroke-reveal 2.7s ease-out infinite}.logo-subtitle-svg text{--logo-dash: 392;font-size:13px;font-weight:500;letter-spacing:.4px;font-family:STKaiti,KaiTi,"Noto Serif SC",serif;stroke:#b5c1dae6;stroke-width:.78;stroke-dasharray:392;stroke-dashoffset:392;animation:logo-stroke-reveal 3.1s ease-out .24s infinite}@keyframes logo-stroke-reveal{0%{stroke-dashoffset:var(--logo-dash, 176);opacity:.24}54%{stroke-dashoffset:0;opacity:1}78%{stroke-dashoffset:0;opacity:.94}to{stroke-dashoffset:0;opacity:.68}}.sidebar-item.active{background:var(--bg-sidebar-active);color:var(--text-sidebar-active);font-weight:500}.sidebar-item.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:20px;background:var(--accent-light);border-radius:0 3px 3px 0}.sidebar-item .icon{width:18px;height:18px;text-align:center;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-subitem>span:last-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-subitem.active{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--text-sidebar-active);font-weight:500}.folder-action-btn.danger:hover{border-color:#f43f5e59;color:#fecdd3}.sidebar-category-section .sidebar-folder.active{background:color-mix(in srgb,var(--accent) 24%,transparent);border-color:color-mix(in srgb,var(--accent-light) 64%,transparent);color:#f3f7ff}.sidebar-category-section .sidebar-folder.active .folder-count{background:color-mix(in srgb,var(--accent-light) 66%,transparent);color:#f3fffd}.sidebar-category-section .folder-action-btn.danger{border-color:#f43f5e75;color:#ffd8e2;background:#f43f5e33}.sidebar-category-section .folder-action-btn.danger:hover{border-color:#f43f5eb8;color:#fff4f8;background:#f43f5e52}.sidebar-tag-line:hover,.sidebar-tag-line.active{background:var(--bg-sidebar-hover);color:var(--text-primary)}.sidebar-tag-line.active .sidebar-tag-dot{opacity:.72}.sidebar-tag-line.active .sidebar-tag-count{color:var(--text-sidebar-active)}.sidebar-tag-line.active{background:var(--bg-sidebar-active);color:var(--text-sidebar-active);font-weight:500}.sidebar-profile-link.active{background:var(--bg-sidebar-active);color:var(--text-sidebar-active)}.sidebar-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}.app-shell.sidebar-minimal .sidebar-item .icon,.app-shell.sidebar-minimal .folder-icon{width:22px;text-align:center}.app-shell.sidebar-minimal .sidebar-subnav.compact{position:fixed;left:68px;top:auto;width:140px;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:6px;z-index:9999;box-shadow:var(--shadow-float);display:grid;gap:2px}.app-shell.sidebar-minimal .sidebar-subnav.compact .sidebar-subitem{height:32px;padding:0 8px;display:inline-flex;align-items:center;gap:8px;border-radius:6px}.topbar-breadcrumb .current{color:var(--text-primary);font-weight:500}.topbar-search input{width:100%;height:42px;padding:9px 130px 9px 38px;border:1px solid var(--border);border-radius:var(--radius-lg);font-size:14px;background:color-mix(in srgb,var(--bg-root) 72%,var(--bg-surface));color:var(--text-primary)}.topbar-search input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-bg)}.search-suggestion.selected{background:var(--accent-bg)}.topbar-create-btn span:last-child{font-size:16px}.topbar-tools-btn span:last-child{font-size:16px}.topbar-account-avatar img{width:100%;height:100%;object-fit:cover;display:block}.topbar-account-menu-item.danger{color:#be123c}.topbar-account-menu-item.danger:hover{background:#f43f5e1a}.avatar-dialog-header h3{margin:0;color:var(--text-primary);font-size:16px;font-weight:650}.topbar-theme-icon-wrap.light .topbar-theme-sun{opacity:1;transform:rotate(0) scale(1);visibility:visible}.topbar-theme-icon-wrap.light .topbar-theme-moon{opacity:0;transform:rotate(90deg) scale(0);visibility:hidden}.topbar-theme-icon-wrap.dark .topbar-theme-sun{opacity:0;transform:rotate(-90deg) scale(0);visibility:hidden}.topbar-theme-icon-wrap.dark .topbar-theme-moon{opacity:1;transform:rotate(0) scale(1);visibility:visible}.topbar-theme-toggle:hover .topbar-theme-icon-wrap.light .topbar-theme-sun{transform:rotate(24deg) scale(1.08)}.topbar-theme-toggle:hover .topbar-theme-icon-wrap.dark .topbar-theme-moon{transform:translateY(-1px) rotate(-12deg) scale(1.08)}.topbar-btn:hover .topbar-notice-icon,.topbar-btn.active .topbar-notice-icon{transform:translateY(-1px)}.topbar-btn.active{background:var(--bg-surface-hover);color:var(--text-primary)}.topbar-btn.primary{width:32px;height:32px;border-radius:10px;background:var(--accent);color:#fff;font-size:18px;font-weight:600;display:grid;place-items:center;line-height:1}.main-content{overflow-y:auto;min-height:0;padding:24px var(--layout-content-pad);scrollbar-width:none;-ms-overflow-style:none}.main-content::-webkit-scrollbar{width:0;height:0}.page{display:flex;flex-direction:column;gap:20px}.card{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.library-resource-crumb strong{color:var(--text-primary);font-weight:600}.library-resource-tab.active{color:var(--accent);font-weight:600}.library-resource-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--accent)}.library-view-btn.active{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.library-folder-chip:hover,.library-folder-chip.active{border-color:color-mix(in srgb,var(--accent) 35%,transparent);box-shadow:var(--shadow-sm)}.library-table-cell.name{display:inline-flex;align-items:center;gap:10px}.library-table-cell.updated,.library-table-cell.size{color:var(--text-secondary);font-size:var(--ds-font-caption);line-height:1.5}.library-delete-dialog h3,.library-delete-title{margin:0 0 8px;font-size:var(--ds-font-h2);line-height:var(--ds-line-title);color:var(--text-primary)}.library-delete-dialog p,.library-delete-text{margin:0;color:var(--text-secondary);font-size:var(--ds-font-body);line-height:var(--ds-line-body)}.library-side-tag span:last-child{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:auto;padding:0;color:currentColor;opacity:.72;font-size:var(--ds-font-caption);line-height:1;font-variant-numeric:tabular-nums}.library-tag-manage-name span{color:var(--text-tertiary);font-size:var(--ds-font-caption)}.resource-tag-chip.is-empty{border-color:#94a3b85c;background:#94a3b824;color:var(--text-tertiary)}.resource-tag-chip-custom.is-dragging{opacity:.56}.resource-batch-btn.danger{border-color:#f43f5e38;color:#e11d48;background:#fff}.resource-batch-btn.danger:hover{border-color:#f43f5e59;background:#f43f5e0f}.stat-value{font-size:26px;line-height:1;font-weight:700}.stat-label{color:var(--text-secondary);font-size:12px}.review-info h3{margin:0 0 6px;font-size:18px;font-weight:600}.review-info p{margin:0;font-size:13px;opacity:.85}.resource-type-badge.md{background:var(--accent-bg);color:var(--accent)}.resource-type-badge.video{background:var(--rose-bg);color:var(--rose)}.resource-type-badge.pdf{background:var(--cyan-bg);color:var(--cyan)}.activity-dot.ai{background:var(--cyan)}.activity-text strong{color:var(--text-primary);font-weight:500}.progress-summary-item strong{margin-left:auto;font-weight:600;color:var(--text-primary)}.progress-dot.active{background:var(--accent)}.progress-dot.total{background:var(--text-tertiary)}.page-tab.active{color:var(--accent);font-weight:500}.page-tab.active:after{content:"";position:absolute;bottom:0;left:14px;right:14px;height:2px;background:var(--accent);border-radius:2px 2px 0 0}.field{display:grid;gap:6px}.editor-pane,.preview-pane{border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden;background:#fff;min-height:520px}.editor-textarea{width:100%;min-height:520px;border:none;resize:none;padding:14px;font-family:var(--font-mono);line-height:1.6}.editor-textarea:focus{outline:none}.preview-content h1,.preview-content h2,.preview-content h3{margin:0 0 8px}.preview-content p{margin:0 0 10px}.preview-content code{background:var(--bg-code);border-radius:4px;padding:1px 4px;font-family:var(--font-mono);font-size:12px}.cmd-input-wrap .icon{color:var(--text-tertiary)}.cmd-item:hover,.cmd-item.selected{border-color:var(--accent-bg-strong);background:var(--accent-bg)}.wizard-step.active{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}.progress-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-light));border-radius:999px}.graph-node.active,.template-item.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-bg);background:linear-gradient(180deg,var(--accent-bg),#fff)}.sidebar-create-sheet a{min-height:40px;border-radius:10px;padding:8px 10px;display:flex;align-items:center;gap:8px;color:var(--text-primary);text-decoration:none}.sidebar-create-sheet a:hover,.sidebar-create-sheet a:focus-visible{background:var(--bg-sidebar-hover)}.topbar-search input[readonly]{cursor:pointer}.editor-tool-btn:hover,.editor-tool-btn.active{background:var(--bg-surface-hover);border-color:var(--border-light);color:var(--text-primary);transform:translateY(-1px)}@keyframes editor-save-toast-fade{0%{opacity:0;transform:translateY(-2px)}10%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2px)}}@keyframes editor-format-btn-sheen{0%{transform:translate(-120%)}to{transform:translate(120%)}}@keyframes editor-format-btn-ring{0%{opacity:.9;transform:scale(.96)}to{opacity:0;transform:scale(1.1)}}@keyframes editor-format-icon-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes editor-music-glyph-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.editor-pane,.preview-pane{border:none;border-radius:0;background:var(--bg-surface);min-height:0;height:100%;display:flex;align-items:stretch}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes editor-loading-wave{0%{background-position:100% 0}to{background-position:-100% 0}}.editor-textarea{flex:1;min-height:0;height:100%;resize:none;border:none;background:transparent;color:var(--text-primary);padding:24px 28px;font-size:14px;line-height:1.8;overflow-wrap:anywhere;word-break:break-word;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:rgba(120,128,156,.24) transparent}.editor-textarea::placeholder{color:var(--text-tertiary)}.editor-textarea::-webkit-scrollbar,.editor-content::-webkit-scrollbar,.side-panel-body::-webkit-scrollbar{width:3px;height:3px}.editor-textarea::-webkit-scrollbar-track,.editor-content::-webkit-scrollbar-track,.side-panel-body::-webkit-scrollbar-track{background:transparent}.editor-textarea::-webkit-scrollbar-thumb,.editor-content::-webkit-scrollbar-thumb,.side-panel-body::-webkit-scrollbar-thumb{background:#78809c3d;border-radius:999px}.editor-textarea::-webkit-scrollbar-thumb:hover,.editor-content::-webkit-scrollbar-thumb:hover,.side-panel-body::-webkit-scrollbar-thumb:hover{background:#828aa757}.editor-textarea::-webkit-scrollbar-button,.editor-content::-webkit-scrollbar-button,.side-panel-body::-webkit-scrollbar-button{display:none;width:0;height:0}.editor-content h1{font-size:26px;font-weight:700;margin-bottom:8px;letter-spacing:-.5px}.editor-content h2{font-size:19px;font-weight:600;margin:20px 0 8px}.editor-content h3{font-size:16px;font-weight:600;margin:14px 0 6px}.editor-content p{margin-bottom:12px;color:var(--text-secondary)}.editor-preview-structured .preview-list li{margin:0;overflow-wrap:anywhere;word-break:break-word}.editor-preview-structured .preview-code code{display:block;min-width:max-content;white-space:pre;color:inherit;background:transparent;border-radius:0;padding:0}.editor-preview-structured .preview-code.is-wrapped code{min-width:0;white-space:pre-wrap;word-break:break-word}.editor-content a.external-link{color:var(--accent);text-decoration:underline;text-underline-offset:2px;word-break:break-all}.side-panel{display:flex;flex-direction:column;min-height:0;background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.toc-item.active{color:var(--accent);font-weight:500}@keyframes preview-line-highlight-fade{0%{background:#2563eb38;box-shadow:inset 0 0 0 1px #2563eb73}to{background:#2563eb0f;box-shadow:inset 0 0 0 1px #2563eb29}}.ai-toolbar-field span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-tertiary)}.ai-toolbar-field select,.ai-toolbar-field input{height:34px;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;color:var(--text-primary);font-size:12.5px;padding:0 10px}.wiki-card h3,.wiki-card h4{margin:0;font-size:13px;color:var(--text-primary)}.wiki-card-collapsible.collapsed>*:not(.wiki-card-title-toggle):not(.wiki-guide-toggle){display:none}.wiki-actions button,.wiki-inline-form button{height:34px;border-radius:var(--radius-md);border:1px solid var(--border);background:#fff;color:var(--text-secondary);padding:0 11px;font-size:12px;cursor:pointer;transition:border-color var(--transition),color var(--transition),background-color var(--transition)}.wiki-actions button:hover,.wiki-inline-form button:hover{border-color:var(--accent);color:var(--accent);background:#6366f10f}.wiki-guide-card.collapsed{gap:0}.synthesis-content-row textarea{resize:vertical;min-height:120px}.wiki-help-list li{display:grid;gap:2px;padding:8px 10px;border:none;border-radius:0;background:transparent;transition:background-color var(--transition),transform var(--transition),box-shadow var(--transition)}.wiki-help-list li:hover{background:#6366f114;transform:translateY(-1px);box-shadow:0 10px 20px #0f172a1f}.wiki-help-list strong{font-size:12px;color:var(--text-primary)}.wiki-help-list span{font-size:11.5px;line-height:1.5;color:var(--text-secondary)}.wiki-inline-form select,.wiki-inline-form input,.wiki-synthesis-form input,.wiki-synthesis-form textarea{width:100%;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;color:var(--text-primary);font-size:12.5px;padding:8px 10px}.wiki-synthesis-form textarea{resize:vertical;min-height:110px;line-height:1.5}.wiki-log-status.failed{color:#b91c1c}@keyframes ai-caret-blink{0%,48%{opacity:1}49%,to{opacity:0}}@keyframes ai-star-blink{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 #6366f159}50%{opacity:.45;transform:scale(.9);box-shadow:0 0 0 7px #6366f100}}.ai-source-dialog-header h3{margin:0;font-size:14px}@keyframes ai-thinking-pulse{0%{box-shadow:0 0 #4f46e559;transform:scale(1)}70%{box-shadow:0 0 0 7px #4f46e500;transform:scale(1.05)}to{box-shadow:0 0 #4f46e500;transform:scale(1)}}.ai-step-node.current .ai-step-dot{background:var(--accent);border-color:var(--accent);box-shadow:0 0 #4f46e561;animation:ai-thinking-pulse 1.45s ease-in-out infinite}.ai-step-label.current{color:var(--text-primary);font-weight:600}.ai-msg-feedback button{font-size:12px;color:var(--text-secondary);padding:4px 10px;border-radius:999px;transition:all var(--transition);border:1px solid var(--border-light);background:#fff;cursor:pointer}.ai-msg-feedback button:hover,.ai-msg-feedback button.active{background:#6366f114;border-color:#6366f152;color:var(--accent)}.cmd-input-wrap .icon{font-size:18px;color:var(--text-tertiary)}.cmd-item:hover,.cmd-item.selected{background:var(--accent-bg)}.stats-row .stat-value{letter-spacing:-.4px}.sidebar-folder.active{color:var(--text-sidebar-active);background:#6366f11f;border-color:#818cf857}.review-flashcard.empty{align-items:center;justify-content:center;text-align:center;border-style:dashed;gap:14px}.flashcard-answer-list li{font-size:inherit;line-height:inherit;color:#3a315d}.flashcard-answer-list li::marker{color:#7c3aed;font-weight:700}@keyframes flashcard-fluid-float{0%,to{transform:translateZ(0) rotate(.001deg)}50%{transform:translate3d(-8px,12px,0) rotate(.8deg)}}@keyframes flashcard-fluid-sheen{0%{transform:translate(-6%) scale(1)}50%{transform:translate(4%) scale(1.03)}to{transform:translate(-6%) scale(1)}}.flashcard-empty-btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.review-queue-item.active{border-color:var(--accent);background:var(--accent-bg);box-shadow:inset 0 0 0 1px var(--accent)}.nebula-edge.active{stroke:#6d7fd4}.nebula-node text{fill:#58627a;font-size:10.5px;font-weight:600;letter-spacing:.02em;paint-order:stroke;stroke:#f5f7fff5;stroke-width:2.2;stroke-linejoin:round;pointer-events:none}.nebula-node.core text{fill:#3b4458;font-size:11px;font-weight:700}.nebula-node.active circle{stroke:#111827;stroke-width:1.2;filter:drop-shadow(0 0 8px rgba(111,118,177,.46))}.nebula-node.active text{fill:#111827;font-weight:700}:root[data-theme-mode=dark] .topbar,:root[data-theme-mode=dark] .card,:root[data-theme-mode=dark] .section-card,:root[data-theme-mode=dark] .editor-summary-module,:root[data-theme-mode=dark] .editor-toolbar-module,:root[data-theme-mode=dark] .editor-note-module,:root[data-theme-mode=dark] .side-panel,:root[data-theme-mode=dark] .ai-chat-container,:root[data-theme-mode=dark] .wiki-card,:root[data-theme-mode=dark] .cmd-palette{background:var(--bg-surface);border-color:var(--border-light)}:root[data-theme-mode=dark] .editor-pane,:root[data-theme-mode=dark] .preview-pane{background:#121a2d}:root[data-theme-mode=dark] .editor-textarea{color:#e8eeff;scrollbar-color:rgba(126,142,176,.38) transparent}:root[data-theme-mode=dark] .editor-textarea::placeholder{color:#8b9abd}:root[data-theme-mode=dark] .editor-content,:root[data-theme-mode=dark] .editor-content p,:root[data-theme-mode=dark] .editor-preview-structured .preview-paragraph,:root[data-theme-mode=dark] .editor-preview-structured .preview-list,:root[data-theme-mode=dark] .editor-preview-structured .preview-list li,:root[data-theme-mode=dark] .editor-preview-structured .preview-quote{color:#d5def6}:root[data-theme-mode=dark] .editor-textarea::-webkit-scrollbar-thumb,:root[data-theme-mode=dark] .editor-content::-webkit-scrollbar-thumb,:root[data-theme-mode=dark] .side-panel-body::-webkit-scrollbar-thumb{background:#7e8eb061}:root[data-theme-mode=dark] .editor-textarea::-webkit-scrollbar-thumb:hover,:root[data-theme-mode=dark] .editor-content::-webkit-scrollbar-thumb:hover,:root[data-theme-mode=dark] .side-panel-body::-webkit-scrollbar-thumb:hover{background:#93a3be7a}:root[data-theme-mode=dark] .editor-content h1,:root[data-theme-mode=dark] .editor-content h2,:root[data-theme-mode=dark] .editor-content h3,:root[data-theme-mode=dark] .editor-preview-structured .preview-heading{color:#f3f6ff}:root[data-theme-mode=dark] .flashcard-empty-btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}:root[data-theme-mode=dark] .input,:root[data-theme-mode=dark] .select,:root[data-theme-mode=dark] .btn,:root[data-theme-mode=dark] .resource-row,:root[data-theme-mode=dark] .topbar-search input,:root[data-theme-mode=dark] .topbar-search .shortcut,:root[data-theme-mode=dark] .ai-msg.assistant .ai-msg-bubble,:root[data-theme-mode=dark] .cmd-item .cmd-icon{background:#141b2d;color:var(--text-primary);border-color:var(--border)}:root[data-theme-mode=dark] .logo-title-svg text{stroke:#e9f1fffa}:root[data-theme-mode=dark] .logo-subtitle-svg text{stroke:#aabad8f5}:root[data-theme-mode=dark] .resource-tag-chip.is-empty{border-color:#94a3b857;background:#47556947;color:#b8c4df}:root[data-theme-mode=dark] .topbar-search input::placeholder,:root[data-theme-mode=dark] .cmd-input::placeholder,:root[data-theme-mode=dark] .ai-input::placeholder,:root[data-theme-mode=dark] .wiki-inline-form input::placeholder,:root[data-theme-mode=dark] .wiki-synthesis-form input::placeholder,:root[data-theme-mode=dark] .wiki-synthesis-form textarea::placeholder{color:#8d9ab8}:root[data-theme-mode=dark] .topbar-account-menu-item.danger{color:#fecdd3}:root[data-theme-mode=dark] .topbar-account-menu-item.danger:hover{background:#f43f5e33}:root[data-theme-mode=dark] .search-suggestion:hover,:root[data-theme-mode=dark] .search-suggestion.selected{background:#818cf833}:root[data-theme-mode=dark] .ai-toolbar-field select,:root[data-theme-mode=dark] .ai-toolbar-field input,:root[data-theme-mode=dark] .wiki-actions button,:root[data-theme-mode=dark] .wiki-inline-form button,:root[data-theme-mode=dark] .wiki-inline-form select,:root[data-theme-mode=dark] .wiki-inline-form input,:root[data-theme-mode=dark] .wiki-synthesis-form input,:root[data-theme-mode=dark] .wiki-synthesis-form textarea,:root[data-theme-mode=dark] .ai-msg-feedback button,:root[data-theme-mode=dark] .ai-input{background:#141b2d;border-color:var(--border);color:var(--text-primary)}:root[data-theme-mode=dark] .wiki-help-list li{background:transparent;border-color:transparent}:root[data-theme-mode=dark] .wiki-help-list li:hover{background:#6366f12e}:root[data-theme-mode=dark] .wiki-help-list span,:root[data-theme-mode=dark] .wiki-result-snippet,:root[data-theme-mode=dark] .wiki-log-header,:root[data-theme-mode=dark] .wiki-placeholder,:root[data-theme-mode=dark] .ai-thinking-trail,:root[data-theme-mode=dark] .cmd-note-item .note-snippet,:root[data-theme-mode=dark] .cmd-empty{color:#b7c3df}:root[data-theme-mode=dark] .ai-msg-feedback button:hover,:root[data-theme-mode=dark] .ai-msg-feedback button.active{background:#818cf833;border-color:#818cf870;color:#dbe5ff}:root[data-theme-mode=dark] .wizard-step.active{background:#6366f13d;border-color:#818cf8a8;color:#dce5ff}:root[data-theme-mode=dark] .cmd-input,:root[data-theme-mode=dark] .cmd-input-wrap .icon,:root[data-theme-mode=dark] .cmd-item .cmd-label,:root[data-theme-mode=dark] .cmd-note-item .note-title,:root[data-theme-mode=dark] .cmd-section-label,:root[data-theme-mode=dark] .cmd-footer{color:#edf3ff}:root[data-theme-mode=dark] .btn:hover,:root[data-theme-mode=dark] .topbar-btn:hover,:root[data-theme-mode=dark] .editor-tool-btn:hover,:root[data-theme-mode=dark] .editor-tool-btn.active,:root[data-theme-mode=dark] .cmd-item:hover,:root[data-theme-mode=dark] .cmd-item.selected{background:#ffffff12}:root[data-theme-mode=dark] .btn-primary,:root[data-theme-mode=dark] .topbar-btn.primary,:root[data-theme-mode=dark] .ai-send-btn{color:#fff}.ai-proto-page .tools-ai-hero h3{margin:0;font-size:15px;line-height:1.25;font-weight:800;color:#111827}.ai-proto-page .tools-ai-hero strong{font-weight:850;background:linear-gradient(90deg,#2563eb,#9b5de5);-webkit-background-clip:text;background-clip:text;color:transparent}.ai-proto-page .tools-ai-hero p{margin:6px 0 0;color:#374151;font-size:14px;line-height:1.55}.ai-proto-page .tools-ai-history-head h4{margin:0;font-size:12px;line-height:1.3;font-weight:700;background:linear-gradient(90deg,#2563eb,#ec6aa5);-webkit-background-clip:text;background-clip:text;color:transparent}.ai-proto-page .tools-ai-composer textarea,.ai-proto-page .ai-lingbo-composer textarea{width:100%;min-height:56px;border:none;resize:none;background:transparent;color:#111827;font-size:14px;line-height:1.55;outline:none}.ai-proto-page .ai-page-crumb span{color:var(--text-primary);font-weight:600}@keyframes ai-hero-antenna-sway{0%,to{transform:translate(-50%) rotate(-14deg)}50%{transform:translate(-50%) rotate(14deg)}}.ai-proto-page .ai-hero-copy h1{margin:0;font-size:30px;line-height:1.1;letter-spacing:-.025em;padding-left:2px;color:var(--text-primary);font-weight:700}.ai-proto-page .ai-hero-copy p{margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.6;color:#6b7895;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ai-proto-page .ai-suggest-row.compact{padding-top:4px}@keyframes ai-suggest-marquee{0%{transform:translate(0)}to{transform:translate(-50%)}}.ai-proto-page .ai-msg-vote-btn.active{border-color:#6366f166;color:#4f46e5;background:#f0f2ff}.ai-proto-page .ai-mode-field select{border:none;background:transparent;color:var(--text-secondary);font-size:12px}.ai-proto-page .ai-mode-field select:focus{outline:none}.ai-proto-page .ai-input-hint span{margin-left:18px}.ai-proto-page .ai-function-panel.collapsed>*:not(.wiki-card-title-toggle){display:none}.ai-proto-page .ai-advanced-tools>summary{cursor:pointer;font-size:13px;color:var(--accent);font-weight:600}body{font-size:var(--ds-font-body);line-height:var(--ds-line-body)}.main-content{overflow-x:hidden}.main-content>.page{width:100%;max-width:var(--ds-content-max);margin-inline:0}.page,.card,.section-card,.section-body,.resource-item,.activity-text,.template-item-desc,.daily-note-title,.preview-content,.ai-msg-bubble,.ai-proto-page .ai-input,.ai-proto-page .ai-suggest-chip{font-size:var(--ds-font-body);line-height:var(--ds-line-body)}h1,.page-title,.ai-proto-page .ai-hero-copy h1,.editor-content h1,.editor-preview-structured .preview-heading.level-1{font-size:var(--ds-font-h1)!important;line-height:var(--ds-line-title)!important;font-weight:600}h2,h3,.section-title,.review-info h3,.editor-content h2,.editor-preview-structured .preview-heading.level-2,.editor-content h3,.editor-preview-structured .preview-heading.level-3,.ai-proto-page .ai-right-rail h3{font-size:var(--ds-font-h2)!important;line-height:var(--ds-line-title)!important;font-weight:600}.stat-value,.review-number,.progress-ring-value,.editor-preview-structured .preview-code,.editor-textarea,.editor-content,.resource-title,.topbar-create-btn,.topbar-create-btn span:last-child{font-size:var(--ds-font-body)!important}.stat-value,.review-number,.progress-ring-value{font-size:var(--ds-font-h1)!important;line-height:var(--ds-line-title)!important}.page,.card,.section-card,.section-body,.dashboard-grid,.grid-2,.library-layout,.templates-layout,.daily-notes-grid,.stats-row,.graph-grid,.ai-layout,.resource-filter-bar,.resource-move-toolbar,.resource-row,.resource-main{min-width:0}:root[data-theme-mode=dark] .editor-page .note-btn,:root[data-theme-mode=dark] .editor-page .note-summary-card,:root[data-theme-mode=dark] .editor-page .note-document-card,:root[data-theme-mode=dark] .editor-page .note-rail-card,:root[data-theme-mode=dark] .editor-page .note-summary-head,:root[data-theme-mode=dark] .editor-page .note-mini-btn,:root[data-theme-mode=dark] .editor-page .note-editor-textarea,:root[data-theme-mode=dark] .editor-page .note-word-count,:root[data-theme-mode=dark] .graph-page .graph-tab-btn,:root[data-theme-mode=dark] .graph-page .graph-search,:root[data-theme-mode=dark] .graph-page .graph-tool-btn,:root[data-theme-mode=dark] .graph-page .graph-filter-menu,:root[data-theme-mode=dark] .graph-page .graph-filter-item,:root[data-theme-mode=dark] .graph-page .graph-network,:root[data-theme-mode=dark] .graph-page .graph-zoom-btn,:root[data-theme-mode=dark] .graph-page .graph-zoom-scale,:root[data-theme-mode=dark] .graph-page .graph-note-item,:root[data-theme-mode=dark] .graph-page .graph-child-item,:root[data-theme-mode=dark] .graph-page .graph-tag.ghost,:root[data-theme-mode=dark] .graph-page .graph-action-btn,:root[data-theme-mode=dark] .review-page .review-v2-metric,:root[data-theme-mode=dark] .review-page .review-v2-question-card,:root[data-theme-mode=dark] .review-page .review-v2-answer-panel,:root[data-theme-mode=dark] .review-page .review-v2-rate-panel,:root[data-theme-mode=dark] .review-page .review-v2-side-card,:root[data-theme-mode=dark] .review-page .review-v2-skip-btn,:root[data-theme-mode=dark] .review-page .review-v2-nav-btn,:root[data-theme-mode=dark] .review-page .review-v2-ghost-btn,:root[data-theme-mode=dark] .review-page .review-v2-end-btn,:root[data-theme-mode=dark] .review-page .review-v2-primary-inline,:root[data-theme-mode=dark] .review-page .review-v2-ghost-inline,:root[data-theme-mode=dark] .review-page .review-v2-queue-item,:root[data-theme-mode=dark] .review-page .review-v2-refresh-icon,:root[data-theme-mode=dark] .review-page .review-v2-rate-btn{background:var(--bg-surface);border-color:var(--border);color:var(--text-primary)}:root[data-theme-mode=dark] .editor-page .read-aloud-wave-bar.active,:root[data-theme-mode=dark] .note-content-page .read-aloud-wave-bar.active{background:#bfdbfe}:root[data-theme-mode=dark] .editor-page .note-title,:root[data-theme-mode=dark] .editor-page .note-summary-head,:root[data-theme-mode=dark] .editor-page .note-preview-content,:root[data-theme-mode=dark] .graph-page .graph-title,:root[data-theme-mode=dark] .graph-page .graph-detail-head h2,:root[data-theme-mode=dark] .graph-page .graph-detail-title-row h3,:root[data-theme-mode=dark] .graph-page .graph-detail-section h4,:root[data-theme-mode=dark] .graph-page .graph-node-label,:root[data-theme-mode=dark] .review-page .review-v2-metric-value,:root[data-theme-mode=dark] .review-page .review-v2-question-title,:root[data-theme-mode=dark] .review-page .review-v2-rate-head,:root[data-theme-mode=dark] .review-page .review-v2-side-title,:root[data-theme-mode=dark] .review-page .review-v2-ring-center strong{color:var(--text-primary)}:root[data-theme-mode=dark] .editor-page .note-summary-text,:root[data-theme-mode=dark] .editor-page .note-meta-row,:root[data-theme-mode=dark] .graph-page .graph-subtitle,:root[data-theme-mode=dark] .graph-page .graph-detail-summary,:root[data-theme-mode=dark] .graph-page .graph-detail-title-row p,:root[data-theme-mode=dark] .graph-page .graph-note-title,:root[data-theme-mode=dark] .review-page .review-v2-metric-label,:root[data-theme-mode=dark] .review-page .review-v2-metric-sub,:root[data-theme-mode=dark] .review-page .review-v2-question-hint,:root[data-theme-mode=dark] .review-page .review-v2-answer-source,:root[data-theme-mode=dark] .review-page .review-v2-answer-text,:root[data-theme-mode=dark] .review-page .review-v2-answer-list,:root[data-theme-mode=dark] .review-page .review-v2-rate-sub,:root[data-theme-mode=dark] .review-page .review-v2-rate-interval,:root[data-theme-mode=dark] .review-page .review-v2-quick-tip,:root[data-theme-mode=dark] .review-page .review-v2-progress-meta p,:root[data-theme-mode=dark] .review-page .review-v2-ring-center span{color:var(--text-secondary)}:root[data-theme-mode=dark] .ai-proto-page .ai-hero-copy p{color:#a8b7d7!important}:root[data-theme-mode=dark] .note-content-page .note-rail-tab,:root[data-theme-mode=dark] .note-content-page .note-rail-tab.active,:root[data-theme-mode=dark] .note-content-page .note-rail-collapse,:root[data-theme-mode=dark] .note-content-page .note-toc-item.active{background:color-mix(in srgb,var(--bg-surface) 92%,#0f172a)!important;border-color:var(--border)!important;color:var(--text-primary)!important}:root[data-theme-mode=dark] .ai-proto-page .ai-rail-link,:root[data-theme-mode=dark] .settings-page .settings-side-item.active,:root[data-theme-mode=dark] .settings-page .settings-side-item.active span{color:#c5d0ff!important}:root[data-theme-mode=dark] .dashboard-home .home-panel,:root[data-theme-mode=dark] .dashboard-home .task-metric,:root[data-theme-mode=dark] .dashboard-home .plan-stage-card,:root[data-theme-mode=dark] .dashboard-home .ghost-btn,:root[data-theme-mode=dark] .dashboard-home .todo-action,:root[data-theme-mode=dark] .dashboard-home .recent-tag,:root[data-theme-mode=dark] .dashboard-home .week-dot.today,:root[data-theme-mode=dark] .plan-page .plan-date-chip,:root[data-theme-mode=dark] .plan-page .plan-switch-chip,:root[data-theme-mode=dark] .plan-page .progress-ring-inner,:root[data-theme-mode=dark] .plan-page .plan-tabs,:root[data-theme-mode=dark] .plan-page .stage-item,:root[data-theme-mode=dark] .plan-page .resource-row,:root[data-theme-mode=dark] .plan-page .task-stat-card,:root[data-theme-mode=dark] .plan-page .side-metric-item,:root[data-theme-mode=dark] .plan-page .today-task-item,:root[data-theme-mode=dark] .plan-page .btn-danger-ghost,:root[data-theme-mode=dark] .review-page .review-v2-quote,:root[data-theme-mode=dark] .review-page .review-v2-rate-btn,:root[data-theme-mode=dark] .library-resource-page .library-search-box,:root[data-theme-mode=dark] .library-resource-page .library-view-switch,:root[data-theme-mode=dark] .library-resource-page .library-folder-chip,:root[data-theme-mode=dark] .library-resource-page .library-folder-create,:root[data-theme-mode=dark] .library-resource-page .library-grid-card,:root[data-theme-mode=dark] .library-resource-page .library-recent-item,:root[data-theme-mode=dark] .settings-page .settings-default-toggle,:root[data-theme-mode=dark] .settings-page .settings-icon-btn,:root[data-theme-mode=dark] .settings-page .settings-avatar,:root[data-theme-mode=dark] .settings-page .settings-theme-mode-check,:root[data-theme-mode=dark] .settings-page .settings-zoom-dot,:root[data-theme-mode=dark] .settings-page .settings-danger-btn,:root[data-theme-mode=dark] .graph-page .graph-tab-btn,:root[data-theme-mode=dark] .graph-page .graph-search,:root[data-theme-mode=dark] .graph-page .graph-tool-btn,:root[data-theme-mode=dark] .graph-page .graph-filter-menu,:root[data-theme-mode=dark] .graph-page .graph-network,:root[data-theme-mode=dark] .graph-page .graph-zoom-btn,:root[data-theme-mode=dark] .graph-page .graph-zoom-scale,:root[data-theme-mode=dark] .graph-page .graph-note-item,:root[data-theme-mode=dark] .graph-page .graph-child-item,:root[data-theme-mode=dark] .graph-page .graph-tag.ghost,:root[data-theme-mode=dark] .graph-page .graph-action-btn,:root[data-theme-mode=dark] .graph-page .graph-detail-reopen{background:var(--bg-surface)!important;border-color:var(--border)!important;color:var(--text-primary)!important}:root[data-theme-mode=dark] .dashboard-home .panel-title,:root[data-theme-mode=dark] .dashboard-home .task-metric-value,:root[data-theme-mode=dark] .dashboard-home .plan-name,:root[data-theme-mode=dark] .dashboard-home .status-value,:root[data-theme-mode=dark] .dashboard-home .recent-title,:root[data-theme-mode=dark] .plan-page .page-title,:root[data-theme-mode=dark] .plan-page .plan-title,:root[data-theme-mode=dark] .plan-page .stage-name,:root[data-theme-mode=dark] .plan-page .task-stat-value,:root[data-theme-mode=dark] .plan-page .today-task-title,:root[data-theme-mode=dark] .review-page .review-v2-card-title,:root[data-theme-mode=dark] .review-page .review-v2-answer-title,:root[data-theme-mode=dark] .review-page .review-v2-queue-title,:root[data-theme-mode=dark] .library-resource-page .library-file-title,:root[data-theme-mode=dark] .library-resource-page .library-grid-title,:root[data-theme-mode=dark] .library-resource-page .library-overview-value,:root[data-theme-mode=dark] .library-resource-page .library-recent-title,:root[data-theme-mode=dark] .settings-page .settings-model-section-title,:root[data-theme-mode=dark] .settings-page .settings-theme-mode-title,:root[data-theme-mode=dark] .graph-page .graph-node-label{color:var(--text-primary)!important}:root[data-theme-mode=dark] .dashboard-home .todo-row:hover,:root[data-theme-mode=dark] .dashboard-home .recent-row:hover,:root[data-theme-mode=dark] .library-resource-page .library-recent-item:hover,:root[data-theme-mode=dark] .library-resource-page .library-folder-create:hover,:root[data-theme-mode=dark] .settings-page .settings-icon-btn:hover,:root[data-theme-mode=dark] .graph-page .graph-filter-item:hover,:root[data-theme-mode=dark] .graph-page .graph-action-btn:hover,:root[data-theme-mode=dark] .graph-page .graph-close-btn:hover{background:var(--bg-surface-hover)!important}:root[data-theme-mode=dark] .graph-page .graph-meta-row span{color:var(--text-secondary)!important}:root[data-theme-mode=dark] .graph-page .graph-meta-row strong{color:var(--text-primary)!important}:root[data-theme-mode=dark] .dashboard-home .week-dot.active{background:var(--accent)!important;border-color:var(--accent)!important}:root[data-theme-mode=dark] .dashboard-home .status-point:hover,:root[data-theme-mode=dark] .dashboard-home .status-point.active{fill:#818cf8!important;stroke:#2c3350!important}:root[data-theme-mode=dark] .dashboard-home .recent-row{background:var(--bg-surface)!important;border-color:var(--border)!important}:root[data-theme-mode=dark] .dashboard-home .recent-row:hover{background:var(--bg-surface-hover)!important}:root{--ds-page-gap: 24px;--ds-card-pad: 24px;--ds-card-radius: 12px;--ds-control-radius: 8px;--ds-progress-h: 6px}html,body,#app{min-width:0;background:var(--bg-root)}.topbar-search input{height:var(--ds-input-h);border-radius:var(--ds-control-radius);border-color:var(--border);background:var(--bg-root)}.btn-primary,.primary-cta,.note-btn-primary,.graph-action-btn.primary,.review-v2-primary-inline,.review-v2-reveal-btn,.primary-action-button,.settings-save-btn{border-color:var(--accent)!important;background:var(--accent)!important;color:#fff!important}.btn-primary:hover,.primary-cta:hover,.note-btn-primary:hover,.graph-action-btn.primary:hover,.review-v2-primary-inline:hover,.review-v2-reveal-btn:hover,.primary-action-button:hover,.settings-save-btn:hover{background:var(--accent-light)!important}.main-content{padding:24px var(--layout-content-pad) 32px;min-height:0}.main-content:has(>.note-content-page){display:flex;flex-direction:column;overflow:hidden;padding-top:12px;padding-bottom:12px}.main-content>.note-content-page{flex:1 1 auto;min-height:0;overflow:hidden;gap:6px;padding-bottom:0}.main-content>:is(.page,.dashboard-home,.plan-page,.graph-page,.review-page,.ai-proto-page,.note-content-page){width:100%;max-width:var(--ds-content-max);margin-inline:auto}.page,.dashboard-home,.plan-page,.graph-page,.review-page,.ai-proto-page,.note-content-page,.library-resource-main,.settings-content-area{gap:var(--ds-page-gap)}.card,.section-card,.home-panel,.library-table-card,.library-side-card,.library-grid-card,.library-folder-chip,.settings-section,.settings-side-nav,.settings-theme-mode-card,.settings-code-theme-card,.settings-system-card,.settings-param-card,.plan-create-card,.progress-overview-card,.stage-item,.side-card,.review-v2-metric,.review-v2-question-card,.review-v2-rate-panel,.review-v2-side-card,.ai-proto-page .ai-dialog-card,.ai-proto-page .ai-rail-card,.note-summary-card,.note-document-card,.note-rail-card,.graph-canvas-card,.graph-detail-panel,.auth-card{border:1px solid var(--border-light)!important;border-radius:var(--ds-card-radius)!important;background:var(--bg-surface)!important;box-shadow:var(--shadow-sm)!important}.card:hover,.section-card:hover,.home-panel:hover,.library-grid-card:hover,.review-v2-side-card:hover,.ai-proto-page .ai-rail-card:hover,.note-rail-card:hover,.graph-detail-panel:hover{box-shadow:var(--shadow-md)!important;transform:translateY(-1px)}.input,.select,.auth-input,.library-search-input,.graph-search,.settings-default-model-select,.settings-display-select,.templates-textarea,.daily-template-preview,.ai-proto-page .ai-input,.ai-proto-page .ai-mode-field select{min-height:var(--ds-input-h)!important;border-radius:var(--ds-control-radius)!important;border-color:var(--border)!important;background:#fff!important;font-size:var(--ds-font-body)!important}.input:focus,.select:focus,.auth-input:focus,.library-search-box:focus-within,.graph-search:focus-within,.note-editor-textarea:focus,.ai-proto-page .ai-input:focus,.ai-proto-page .ai-mode-field select:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-bg)!important;outline:none!important}.progress-bar-fill,.progress-fill,.plan-progress-fill,.stage-progress-fill,.stage-meter-fill,.settings-storage-fill,.review-v2-mini-fill,.review-v2-side-fill{background:var(--accent)!important;border-radius:3px!important}.auth-card-subtitle,.hero-description,.hero-feature-copy p,.hero-quote p{font-size:var(--ds-font-body)!important;line-height:var(--ds-line-body)!important}.library-resource-page .library-favorite-btn.active{color:#2563eb;background:#2563eb1a;border-color:#2563eb47}:root[data-theme-mode=dark] .input,:root[data-theme-mode=dark] .select,:root[data-theme-mode=dark] .auth-input,:root[data-theme-mode=dark] .library-search-input,:root[data-theme-mode=dark] .graph-search,:root[data-theme-mode=dark] .settings-default-model-select,:root[data-theme-mode=dark] .settings-display-select,:root[data-theme-mode=dark] .settings-param-input,:root[data-theme-mode=dark] .templates-textarea,:root[data-theme-mode=dark] .note-editor-textarea,:root[data-theme-mode=dark] .ai-proto-page .ai-input,:root[data-theme-mode=dark] .ai-proto-page .ai-mode-field select,:root[data-theme-mode=dark] .ai-proto-page .ai-function-row input,:root[data-theme-mode=dark] .ai-proto-page .ai-function-row select,:root[data-theme-mode=dark] .pagination-size-select{border-color:var(--border)!important;background:color-mix(in srgb,var(--bg-surface) 86%,#0f172a)!important;color:var(--text-primary)!important}:root[data-theme-mode=dark] .note-more-menu button{color:var(--text-primary)!important}:root[data-theme-mode=dark] .note-more-menu button:hover{background:var(--bg-surface-hover)!important;color:#a5b4fc!important}:root[data-theme-mode=dark] .graph-detail-avatar,:root[data-theme-mode=dark] .graph-tag.ghost,:root[data-theme-mode=dark] .graph-note-item,:root[data-theme-mode=dark] .graph-child-item,:root[data-theme-mode=dark] .graph-action-btn,:root[data-theme-mode=dark] .graph-detail-reopen,:root[data-theme-mode=dark] .graph-zoom-btn,:root[data-theme-mode=dark] .graph-zoom-scale,:root[data-theme-mode=dark] .graph-minimap,:root[data-theme-mode=dark] .task-stat-card,:root[data-theme-mode=dark] .today-task-item,:root[data-theme-mode=dark] .side-metric-item,:root[data-theme-mode=dark] .review-v2-ghost-btn,:root[data-theme-mode=dark] .review-v2-end-btn,:root[data-theme-mode=dark] .settings-default-toggle,:root[data-theme-mode=dark] .settings-icon-btn,:root[data-theme-mode=dark] .settings-avatar,:root[data-theme-mode=dark] .settings-danger-btn,:root[data-theme-mode=dark] .settings-transfer-card,:root[data-theme-mode=dark] .settings-transfer-format-chip,:root[data-theme-mode=dark] .settings-transfer-preview-file-card,:root[data-theme-mode=dark] .settings-transfer-check-item,:root[data-theme-mode=dark] .settings-export-content-item,:root[data-theme-mode=dark] .settings-export-format-card,:root[data-theme-mode=dark] .settings-export-config-right,:root[data-theme-mode=dark] .settings-export-config-left .settings-transfer-check-item{border-color:var(--border)!important;background:color-mix(in srgb,var(--bg-surface) 88%,#0f172a)!important;color:var(--text-primary)!important}:root[data-theme-mode=dark] .settings-export-format-card.active,:root[data-theme-mode=dark] .settings-export-content-item.is-active,:root[data-theme-mode=dark] .settings-transfer-format-chip.is-green{border-color:color-mix(in srgb,var(--accent) 52%,var(--border))!important;background:color-mix(in srgb,var(--accent) 14%,var(--bg-surface))!important}@media media (max-width: 900px){.library-table-col.tags,.library-table-col.size,.library-table-cell.tags,.library-table-cell.size{display:none}.wiki-inline-form button,.wiki-actions button{width:100%}}@media media (max-width: 1024px){:root{--layout-content-pad: 16px}}@media media (max-width: 760px){:root{--topbar-h: 56px;--layout-content-pad: 12px}.sidebar-item.active:before{left:50%;top:auto;bottom:4px;width:18px;height:2px;transform:translate(-50%);border-radius:999px}.sidebar-item .icon,.app-shell.sidebar-minimal .sidebar-item .icon{width:20px;height:20px;margin:0}.sidebar-item[data-nav-key=create] .icon,.sidebar-item[data-nav-key=create] .sidebar-create-icon-wrap{width:24px;height:24px;margin:0;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#5f64f429,#7680ff38);box-shadow:inset 0 0 0 1px #5f64f42e}.sidebar-item[data-nav-key=create]:hover,.sidebar-item[data-nav-key=create].active{background:var(--bg-sidebar-hover);color:inherit}.sidebar-item[data-nav-key=create]:hover .sidebar-create-icon-wrap,.sidebar-item[data-nav-key=create].active .sidebar-create-icon-wrap{background:linear-gradient(135deg,#5f64f43d,#7680ff52);box-shadow:inset 0 0 0 1px #5f64f447,0 4px 10px #5f64f429}.main-content{min-width:0;min-height:0;padding:16px var(--layout-content-pad) 18px}.topbar-search input{height:38px;padding-right:10px;font-size:13px}.library-table-cell.updated,.library-table-cell.size,.library-table-col.updated,.library-table-col.size,.library-table-cell.tags,.library-table-col.tags{display:none}.ai-proto-page .ai-hero-copy h1{font-size:24px!important}.ai-proto-page .ai-hero-copy p{white-space:normal!important}:root{--layout-content-pad: 12px}.main-content{padding:16px var(--layout-content-pad) calc(18px + env(safe-area-inset-bottom))!important}.settings-content-area,.settings-section,.settings-form-grid,.settings-content-area .field,.settings-content-area .input,.settings-content-area .select,.settings-content-area .btn{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}.settings-section,.settings-form-grid,.settings-content-area .field,.settings-content-area .input,.settings-content-area .select{width:100%!important}.main-content>:is(.page,.dashboard-home,.plan-page,.graph-page,.review-page,.note-content-page,.library-resource-page,.settings-page){max-width:100%!important;min-width:0!important;overflow-x:hidden!important}.page,.dashboard-home,.plan-page,.graph-page,.review-page,.note-content-page,.library-resource-page{gap:10px!important}.dashboard-growth-line span,.dashboard-growth-line strong{padding:3px 8px!important;font-size:12px!important}.dashboard-home .panel-head{padding:14px 14px 0!important}.main-content{font-size:13px!important}.main-content{font-size:12.5px!important}:root.is-note-reading-focus .main-content{padding-bottom:8px!important}}@media media (max-width: 1280px){.ai-proto-page .ai-hero-copy h1{font-size:32px}}@media media (max-width: 780px){.ai-proto-page .ai-hero-copy h1{font-size:28px}}@media media (min-width: 1280px){.main-content{display:grid;align-content:start}.main-content>:is(.dashboard-home,.plan-page,.graph-page,.review-page,.ai-proto-page,.note-content-page,.library-resource-page,.settings-page){min-height:min(calc(100dvh - var(--topbar-h) - 56px),760px)}.main-content>.note-content-page.is-rail-collapsed{max-width:none}}@media media (min-width: 961px){.auth-hero .hero-title,.auth-hero .hero-description,.auth-hero .hero-feature-list,.auth-hero .hero-quote,.auth-hero .hero-pager{position:relative;z-index:1}}@media media (max-width: 1279px){:root{--layout-content-pad: 24px}.main-content>:is(.page,.dashboard-home,.plan-page,.graph-page,.review-page,.ai-proto-page){margin-inline:0}}@media media (max-width: 420px){.library-upload-btn span,.library-upload-btn svg{flex-shrink:0!important}}
