.notebook-dashboard{min-height:100vh;background:radial-gradient(circle at top left,rgba(13,202,240,.14),transparent 34%),radial-gradient(circle at bottom right,rgba(236,72,153,.12),transparent 32%),linear-gradient(135deg,#08111f,#111827 48%,#172033);color:#f8fafc}.nb-layout{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);grid-gap:20px;gap:20px}.nb-editor-toolbar,.nb-hero,.nb-login-required,.nb-panel,.nb-sidebar,.nb-stat-card,.nb-topbar,.notebook-editor .ProseMirror{background:rgba(15,23,42,.78);border:1px solid rgba(148,163,184,.2);box-shadow:0 22px 55px rgba(0,0,0,.22);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.nb-sidebar{position:-webkit-sticky;position:sticky;top:92px;height:calc(100vh - 110px);overflow:auto;border-radius:18px;padding:18px}.nb-sidebar-title{display:flex;align-items:center;gap:10px;color:#67e8f9;font-weight:950;font-size:18px;margin-bottom:18px}.nb-sidebar-block{border-top:1px solid rgba(148,163,184,.14);padding-top:14px;margin-top:14px}.nb-sidebar-label{display:flex;align-items:center;gap:8px;color:#cbd5e1;font-weight:850;margin-bottom:10px}.nb-create-btn{width:100%;min-height:44px;border:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;color:#08111f!important;background:#67e8f9!important;font-weight:950!important;box-shadow:none!important}.nb-create-btn:hover{color:#422006!important;background:#fde047!important}.nb-review-sidebar-btn{width:100%;min-height:46px;border:1px solid rgba(250,204,21,.22);border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:#fde68a;background:rgba(250,204,21,.1);font-weight:950}.nb-review-sidebar-btn span{display:inline-flex;align-items:center;gap:8px}.nb-review-sidebar-btn.active,.nb-review-sidebar-btn:hover{color:#422006;border-color:#fde047;background:#fde047}.nb-note-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}.nb-note-node{display:grid;grid-gap:6px;gap:6px}.nb-note-item{width:100%;min-height:64px;border:1px solid rgba(148,163,184,.16);border-radius:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;color:#cbd5e1;background:hsla(0,0%,100%,.04);text-align:left;transition:.2s ease}.nb-note-item.active,.nb-note-item:hover{color:#fff;border-color:rgba(13,202,240,.55);background:rgba(13,202,240,.13)}.nb-note-item span,.nb-note-item strong{display:block}.nb-note-item strong{color:inherit;font-weight:950;line-height:1.35}.nb-note-item span{margin-top:4px;color:#94a3b8;font-size:12px}.nb-note-badge{border:0!important;border-radius:999px!important;color:#08111f!important;background:#67e8f9!important;font-weight:950!important}.nb-note-badges{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px}.nb-note-tree{display:grid;grid-gap:5px;gap:5px;padding-left:18px;border-left:1px solid rgba(103,232,249,.28);margin-left:12px}.nb-note-tree button{min-height:34px;border:1px solid rgba(148,163,184,.12);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;color:#cbd5e1;background:hsla(0,0%,100%,.035);font-size:13px;font-weight:850;text-align:left}.nb-note-tree button.active,.nb-note-tree button:hover{color:#08111f;border-color:#fde047;background:#fde047}.nb-note-tree .nb-note-review-link{color:#fee2e2;border-color:hsla(0,91%,71%,.36);background:rgba(239,68,68,.14)}.nb-empty-sidebar{min-height:130px;border:1px dashed rgba(148,163,184,.28);border-radius:16px;align-items:center;justify-content:center;gap:9px;color:#94a3b8;text-align:center}.nb-empty-sidebar,.nb-main{display:flex;flex-direction:column}.nb-main{min-width:0;gap:20px}.nb-mobile-nav{display:none}.nb-hero{border-radius:24px;padding:28px;border-color:rgba(13,202,240,.28);background:linear-gradient(135deg,rgba(13,202,240,.16),rgba(139,92,246,.1)),rgba(15,23,42,.76)}.nb-hero-content{display:flex;align-items:center;justify-content:space-between;gap:22px}.nb-hero-kicker{display:inline-flex;align-items:center;gap:8px;color:#22d3ee}.nb-hero h1,.nb-hero-kicker{font-weight:950;margin-bottom:10px}.nb-hero h1{max-width:800px;color:#f8fafc;font-size:34px;line-height:1.25}.nb-hero p{max-width:760px;color:#94a3b8;margin-bottom:0}.nb-hero-badges{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;min-width:230px}.nb-pill{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:9px 13px;font-weight:950;font-size:13px;white-space:nowrap}.nb-pill-info{color:#082f49;background:#67e8f9}.nb-pill-warning{color:#422006;background:#fde047}.nb-pill-purple{color:#fff;background:linear-gradient(135deg,#8b5cf6,#ec4899)}.nb-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.nb-stat-card{border-radius:18px;padding:18px}.nb-stat-icon{width:46px;height:46px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px;color:#fff;font-size:18px}.nb-stat-cyan .nb-stat-icon{background:linear-gradient(135deg,#06b6d4,#2563eb)}.nb-stat-violet .nb-stat-icon{background:linear-gradient(135deg,#8b5cf6,#ec4899)}.nb-stat-amber .nb-stat-icon{background:linear-gradient(135deg,#f59e0b,#ef4444)}.nb-stat-pink .nb-stat-icon{background:linear-gradient(135deg,#ec4899,#f97316)}.nb-stat-card span{display:block;color:#94a3b8;font-size:13px;margin-bottom:4px}.nb-stat-card strong{display:block;color:#f8fafc;font-size:28px;font-weight:950;line-height:1.1}.nb-topbar{border-radius:20px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.nb-topbar>div:first-child span,.nb-topbar>div:first-child strong{display:block}.nb-topbar>div:first-child span{color:#94a3b8;font-size:13px;font-weight:850}.nb-topbar>div:first-child strong{color:#f8fafc;font-size:18px;font-weight:950}.nb-tabs{display:flex;flex-wrap:wrap;gap:8px}.nb-editor-toolbar .btn,.nb-tabs .btn{border:1px solid rgba(148,163,184,.16)!important;border-radius:14px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;color:#cbd5e1!important;background:hsla(0,0%,100%,.06)!important;font-weight:950!important;box-shadow:none!important}.nb-editor-toolbar .btn.active,.nb-tabs .btn.active{color:#422006!important;background:#fde047!important;border-color:#fde047!important}.nb-editor-toolbar{border-radius:18px;padding:12px;display:flex;flex-wrap:wrap;gap:8px}.nb-color-picker{width:44px;height:34px;border:1px solid rgba(148,163,184,.16);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:#67e8f9;background:hsla(0,0%,100%,.06);overflow:hidden;cursor:pointer}.nb-color-picker input{width:0;height:0;opacity:0;pointer-events:none}.notebook-editor .ProseMirror{min-height:calc(100vh - 330px);border-radius:20px;padding:20px;outline:none;color:#f8fafc;line-height:1.75;font-size:16px}.notebook-editor .ProseMirror p{margin-bottom:.9rem}.notebook-editor .ProseMirror h1,.notebook-editor .ProseMirror h2{color:#67e8f9}.nb-panel{border-radius:20px;padding:20px}.nb-panel-title{display:flex;align-items:center;gap:10px;color:#f8fafc;font-weight:950;font-size:18px;margin-bottom:16px}.nb-panel-icon{width:36px;height:36px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:#22d3ee;background:hsla(0,0%,100%,.08)}.nb-search-box{margin-bottom:18px}.nb-search-box .btn,.nb-search-box .form-control,.nb-search-box .input-group-text{border-color:rgba(148,163,184,.16)!important;color:#f8fafc!important;background:hsla(0,0%,100%,.06)!important}.nb-search-box .input-group-text{color:#fde047!important}.nb-search-box .form-control{min-height:46px;font-weight:800}.nb-search-box .form-control::placeholder{color:#64748b}.nb-search-box .btn{color:#08111f!important;background:#67e8f9!important;font-weight:950!important}.nb-word-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));grid-gap:16px;gap:16px}.nb-word-card{position:relative;overflow:hidden;border-radius:20px;padding:18px;color:#f8fafc;background:radial-gradient(circle at top right,rgba(13,202,240,.12),transparent 34%),rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.18);transition:.22s ease}.nb-word-card:hover{transform:translateY(-4px);border-color:rgba(13,202,240,.48);box-shadow:0 22px 55px rgba(13,202,240,.12)}.nb-word-delete{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#ef4444,#ec4899)}.nb-word-main{padding-right:44px}.nb-word-mastery{width:-moz-fit-content;width:fit-content;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(250,204,21,.28);border-radius:999px;padding:5px 10px;color:#fde68a;background:rgba(250,204,21,.1);font-size:12px;font-weight:950;margin-bottom:10px}.nb-word-mastery.mastered{color:#bbf7d0;border-color:rgba(34,197,94,.32);background:rgba(34,197,94,.14)}.nb-word-title{color:#fde047;font-size:34px;line-height:1.15;font-weight:950;margin-bottom:8px}.nb-word-pinyin{color:#67e8f9;font-weight:900;margin-bottom:8px}.nb-word-mean{color:#86efac;font-weight:850;line-height:1.55;margin-bottom:14px}.nb-detail-btn{border:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center;gap:8px;color:#08111f!important;background:#67e8f9!important;font-weight:950!important;box-shadow:none!important}.nb-review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:14px}.nb-review-due,.nb-review-group,.nb-review-summary div,.nb-review-word{border:1px solid rgba(148,163,184,.18);border-radius:14px;background:hsla(0,0%,100%,.045)}.nb-review-summary div{padding:14px}.nb-review-summary strong{display:block;color:#67e8f9;font-size:26px;line-height:1}.nb-review-summary span{display:block;margin-top:6px;color:#94a3b8;font-size:12px;font-weight:800}.nb-review-due{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;margin-bottom:14px;background:rgba(250,204,21,.1);border-color:rgba(250,204,21,.28)}.nb-review-due span,.nb-review-due strong,.nb-review-group-head span,.nb-review-group-head strong{display:block}.nb-review-due span,.nb-review-group-head span{color:#94a3b8;font-size:13px}.nb-review-flashcard{margin-bottom:16px;border-radius:18px;overflow:hidden}.nb-review-groups{display:grid;grid-gap:14px;gap:14px}.nb-review-group{overflow:hidden}.nb-review-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid rgba(148,163,184,.14)}.nb-review-word-list{display:grid;grid-gap:8px;gap:8px;padding:12px}.nb-review-word{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:4px 10px;gap:4px 10px;padding:12px}.nb-review-word strong{display:block;font-size:22px}.nb-review-word small,.nb-review-word span{color:#94a3b8;font-size:12px}.nb-review-word small{grid-column:1/-1}@media (max-width:768px){.nb-review-summary{grid-template-columns:1fr}.nb-review-due,.nb-review-group-head{align-items:stretch;flex-direction:column}}.nb-detail-btn:hover{color:#422006!important;background:#fde047!important}.nb-empty-panel{min-height:260px;border:1px dashed rgba(148,163,184,.28);border-radius:20px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;text-align:center}.nb-empty-panel svg{color:#22d3ee;font-size:34px}.nb-empty-panel h3{color:#f8fafc;font-weight:950;margin:0}.nb-empty-panel p{margin:0}.nb-word-overlay{width:min(920px,calc(100vw - 24px));max-height:88vh;overflow:auto;border-radius:22px;padding:20px;color:#f8fafc;background:radial-gradient(circle at top left,rgba(13,202,240,.14),transparent 34%),linear-gradient(135deg,#0f172a,#111827);border:1px solid rgba(13,202,240,.35);box-shadow:0 26px 70px rgba(0,0,0,.45)}.nb-login-required{width:min(520px,calc(100vw - 32px));min-height:320px;border-radius:24px;margin:8vh auto;padding:32px;display:flex;flex-direction:column;gap:14px;text-align:center}.nb-login-icon,.nb-login-required{align-items:center;justify-content:center}.nb-login-icon{width:64px;height:64px;border-radius:20px;display:inline-flex;color:#08111f;background:#67e8f9;font-size:24px}.nb-login-required h2{color:#f8fafc;font-weight:950;margin:0}.nb-login-required p{color:#94a3b8;margin:0}.light-mode .notebook-dashboard,.theme-light .notebook-dashboard{background:linear-gradient(135deg,#f8fafc,#eef6ff);color:#0f172a}.light-mode .nb-editor-toolbar,.light-mode .nb-hero,.light-mode .nb-login-required,.light-mode .nb-panel,.light-mode .nb-sidebar,.light-mode .nb-stat-card,.light-mode .nb-topbar,.light-mode .notebook-editor .ProseMirror,.theme-light .nb-editor-toolbar,.theme-light .nb-hero,.theme-light .nb-login-required,.theme-light .nb-panel,.theme-light .nb-sidebar,.theme-light .nb-stat-card,.theme-light .nb-topbar,.theme-light .notebook-editor .ProseMirror{background:hsla(0,0%,100%,.92);border-color:rgba(15,23,42,.1);box-shadow:0 20px 50px rgba(15,23,42,.08)}.light-mode .nb-hero,.theme-light .nb-hero{background:linear-gradient(135deg,rgba(13,202,240,.14),rgba(59,130,246,.08)),#fff}.light-mode .nb-empty-panel h3,.light-mode .nb-hero h1,.light-mode .nb-panel-title,.light-mode .nb-stat-card strong,.light-mode .nb-topbar>div:first-child strong,.light-mode .notebook-editor .ProseMirror,.theme-light .nb-empty-panel h3,.theme-light .nb-hero h1,.theme-light .nb-panel-title,.theme-light .nb-stat-card strong,.theme-light .nb-topbar>div:first-child strong,.theme-light .notebook-editor .ProseMirror{color:#0f172a}.light-mode .nb-hero p,.light-mode .nb-stat-card span,.light-mode .nb-topbar>div:first-child span,.theme-light .nb-hero p,.theme-light .nb-stat-card span,.theme-light .nb-topbar>div:first-child span{color:#475569}.light-mode .nb-note-item,.theme-light .nb-note-item{color:#334155;background:#fff;border-color:rgba(15,23,42,.1)}.light-mode .nb-search-box .form-control,.light-mode .nb-search-box .input-group-text,.theme-light .nb-search-box .form-control,.theme-light .nb-search-box .input-group-text{color:#0f172a!important;background:#fff!important;border-color:rgba(15,23,42,.12)!important}.light-mode .nb-mobile-nav,.theme-light .nb-mobile-nav{color:#0f172a;background:hsla(0,0%,100%,.96);border-color:rgba(15,23,42,.12);box-shadow:0 18px 44px rgba(15,23,42,.08)}.light-mode .nb-mobile-nav-head strong,.theme-light .nb-mobile-nav-head strong{color:#0f172a}.light-mode .nb-mobile-notes button,.light-mode .nb-mobile-tab,.theme-light .nb-mobile-notes button,.theme-light .nb-mobile-tab{color:#334155;background:#fff;border-color:rgba(15,23,42,.12)}@media (max-width:1200px){.nb-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nb-hero-content{flex-direction:column;align-items:flex-start}.nb-hero-badges{justify-content:flex-start}}@media (max-width:992px){.nb-layout{grid-template-columns:1fr}.nb-sidebar{display:none}.nb-mobile-nav{display:block;position:-webkit-sticky;position:sticky;top:76px;z-index:20;border:1px solid rgba(148,163,184,.2);border-radius:18px;color:#f8fafc;background:rgba(15,23,42,.88);box-shadow:0 22px 55px rgba(0,0,0,.22);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow:hidden}.nb-mobile-nav-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 10px;border-bottom:1px solid rgba(148,163,184,.14)}.nb-mobile-nav-head span{display:block;color:#67e8f9;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.nb-mobile-nav-head strong{display:block;max-width:58vw;margin-top:2px;color:#f8fafc;font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nb-mobile-nav-head button{flex:0 0 auto;min-height:34px;border:1px solid rgba(103,232,249,.3);border-radius:999px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;color:#082f49;background:#67e8f9;font-size:12px;font-weight:950}.nb-mobile-notes,.nb-mobile-tabs{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}.nb-mobile-notes::-webkit-scrollbar,.nb-mobile-tabs::-webkit-scrollbar{display:none}.nb-mobile-tabs{padding:10px 14px}.nb-mobile-notes{padding:0 14px 12px}.nb-mobile-notes button,.nb-mobile-tab{flex:0 0 auto;border:1px solid rgba(148,163,184,.18);outline:none;color:#cbd5e1;background:rgba(30,41,59,.76);transition:.16s ease}.nb-mobile-tab{min-height:42px;gap:7px;padding:8px 11px;font-size:13px;font-weight:900;white-space:nowrap}.nb-mobile-tab,.nb-mobile-tab b{display:inline-flex;align-items:center;border-radius:999px}.nb-mobile-tab b{min-width:21px;height:21px;justify-content:center;color:#e0f2fe;background:rgba(15,23,42,.48);font-size:11px;font-weight:950}.nb-mobile-tab.active{color:#fff;background:linear-gradient(135deg,#0891b2,#2563eb);border-color:rgba(103,232,249,.34);box-shadow:0 12px 24px rgba(37,99,235,.18)}.nb-mobile-notes button{max-width:240px;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:13px;text-align:left}.nb-mobile-notes button span{flex:0 0 auto;min-width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:#bae6fd;background:rgba(14,165,233,.14);font-size:12px;font-weight:900}.nb-mobile-notes button strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850}.nb-mobile-notes button.active{color:#fff;background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.32)}.nb-topbar{flex-direction:column;align-items:flex-start}.nb-tabs{width:100%}.nb-tabs .btn{flex:1 1 auto}}@media (max-width:576px){.nb-editor-toolbar,.nb-hero,.nb-panel,.nb-sidebar,.nb-stat-card,.nb-topbar{border-radius:18px}.nb-hero{padding:14px}.nb-hero h1{font-size:21px}.nb-hero p,.nb-hero-badges,.nb-stat-grid{display:none}.notebook-dashboard .container-fluid{padding:10px!important}.nb-stat-grid,.nb-word-grid{grid-template-columns:1fr}.nb-word-title{font-size:30px}.nb-tabs{flex-direction:column}}.notebook-compact .container-fluid{padding:12px!important}.notebook-compact .nb-layout{grid-template-columns:1fr;gap:12px}.notebook-compact .nb-sidebar{position:static;height:auto;max-height:220px;padding:12px}.notebook-compact .nb-sidebar-title{margin-bottom:8px}.notebook-compact .nb-sidebar-block{padding:8px 0}.notebook-compact .nb-note-list{max-height:110px;overflow-y:auto}.notebook-compact .nb-hero,.notebook-compact .nb-stat-grid{display:none}.notebook-compact .nb-topbar{padding:10px;border-radius:14px}.notebook-compact .nb-topbar>div:first-child{display:none}.notebook-compact .nb-tabs{width:100%}.notebook-compact .nb-tabs .btn{flex:1 1;padding:8px 5px;font-size:12px}.notebook-compact .nb-panel{padding:10px;border-radius:14px}.notebook-compact .nb-word-grid{grid-template-columns:1fr}.notebook-compact .nb-main{gap:10px}.notebook-compact .min-vh-100{min-height:auto!important}