:root,:root[data-theme=light]{--ink:#172033;--muted:#69758b;--text-secondary:#556074;--line:#e9ecf3;--soft:#f5f6fb;--side:#fafaff;--inset:#f8f9fc;--blue:#5856d6;--accent-solid:#5856d6;--accent-hover:#4947bd;--accent-soft:#f1f0ff;--accent-border:#dcdaf8;--logo-bg:#5856d6;--focus-ring:#5856d625}:root[data-theme=dark]{--blue:#aaa7ff;--accent-solid:#625fd6;--accent-hover:#5856c5;--accent-soft:#292740;--accent-border:#494570;--logo-bg:#6865e6;--focus-ring:#aaa7ff30}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.app-shell{--sidebar-width:232px}.app-shell .sidebar{padding:25px 18px 18px;border-right:1px solid var(--line)}.app-shell .brand{font-size:23px;letter-spacing:-.7px}.app-shell .brand-mark{width:28px;height:28px;border-radius:0;background:transparent;box-shadow:none}.app-shell .brand-mark:after,.app-shell .brand-mark:before{content:none}.app-shell .brand-mark img{display:block;width:100%;height:100%}.app-shell .primary-nav{display:grid;gap:6px;margin-top:22px}.app-shell .primary-nav button{min-height:44px;font-size:14px;border-radius:8px;gap:12px}.app-shell .primary-nav button.active{color:var(--blue);background:var(--accent-soft)}.app-shell .nav-label{font-size:11px;color:var(--muted)}.app-shell .category-nav button{font-size:13px;min-height:34px}.app-shell .new-bookmark{min-height:40px;margin-top:27px;border-radius:8px;font-size:13px}.app-shell .user-card{border-top:1px solid var(--line);padding-top:18px}.app-shell .avatar{border-radius:50%;background:var(--accent-soft);color:var(--blue)}.app-shell .workspace-toolbar{min-height:64px;padding:12px 36px;border-bottom:1px solid var(--line);background:var(--panel)}.app-shell .workspace-breadcrumb{font-size:13px;color:var(--muted)}.app-shell .workspace-breadcrumb>span:first-child{color:var(--ink);font-weight:550}.app-shell .theme-toggle{border:0;background:transparent}.app-shell .page{max-width:1150px}.app-shell .home-page{padding:34px 48px 60px}.app-shell .top-actions{margin-bottom:32px}.app-shell .home-hero{text-align:left;padding:0 0 32px;max-width:900px;margin:0}.app-shell .home-hero .eyebrow{text-align:left;margin-bottom:12px;letter-spacing:.04em;color:var(--muted);font-size:12px}.app-shell .home-hero h1{font-size:clamp(28px,3vw,40px);line-height:1.5;letter-spacing:-.045em;font-weight:650}.app-shell .memory-count{margin-top:12px;font-size:13px}.app-shell .hero-search{margin:28px 0 12px;max-width:none;min-height:58px;border-radius:10px;border:1px solid var(--line);box-shadow:none;background:var(--inset)}.app-shell .hero-search input{font-size:15px}.app-shell .hero-search button{background:var(--accent-solid);border-radius:7px;color:white}.app-shell .search-hints{justify-content:flex-start;font-size:12px}.app-shell .home-grid{display:block}.app-shell .home-grid>section{width:100%}.app-shell .recent-row{border-radius:0;border-bottom:1px solid var(--line);background:transparent;padding:21px 0}.app-shell .recent-copy strong{font-size:16px;line-height:1.6;font-weight:600}.app-shell .recent-copy small{font-size:12px;color:var(--muted)}.app-shell .section-title h2{font-size:20px;font-weight:600}.app-shell .rediscover{border:0;border-radius:10px;background:var(--inset);margin-top:32px}.app-shell .detail-page,.app-shell .settings-page{padding:36px 48px 64px}.app-shell .detail-title h1{font-size:clamp(24px,3vw,34px);line-height:1.5}.app-shell .detail-summary{font-size:16px;line-height:1.9}.app-shell .detail-layout{gap:32px}.app-shell .settings-page h1{font-size:28px;font-weight:650}.app-shell .settings-card{border-radius:10px;box-shadow:none}.app-shell .ask-page{background:var(--panel)}.app-shell .ask-welcome h1{font-weight:650;font-size:32px;line-height:1.5}.app-shell .ask-composer{border-radius:12px;box-shadow:0 8px 32px #17203308}.ghost-button,.primary-button{border-radius:8px;font-size:13px}.primary-button{font-weight:550}.modal{border-radius:13px;box-shadow:0 20px 80px #17203320}.modal h2{font-size:22px;line-height:1.6}.modal :is(input,textarea,select){border-radius:8px}.app-shell :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media (min-width:981px){:root[data-sidebar=collapsed] .app-shell{--sidebar-width:72px}}@media (max-width:980px){.app-shell .sidebar{width:264px}.app-shell .main-canvas{margin-left:0}.app-shell .workspace-toolbar{padding:12px 22px}}@media (max-width:760px){.app-shell .detail-page,.app-shell .home-page,.app-shell .settings-page{padding:28px 20px 48px}.app-shell .top-actions{margin-bottom:26px;gap:8px}.app-shell .home-hero h1{font-size:28px}.app-shell .hero-search{min-height:54px}.app-shell .hero-search input{font-size:13px}.app-shell .search-hints{align-items:flex-start}.app-shell .recent-copy strong{font-size:14px}.app-shell .detail-layout{gap:24px}.app-shell .workspace-toolbar{padding-inline:18px;min-height:58px}.app-shell .primary-button{padding-inline:12px}}@media (prefers-reduced-motion:reduce){.app-shell *,.modal *{scroll-behavior:auto!important;transition:none!important}}.app-shell.app-shell{--sidebar-width:232px}.app-shell .home-hero h1{font-family:inherit}.app-shell .library-header .primary-button{width:auto;flex:0 0 auto}@media(max-width:980px){.app-shell .workspace-breadcrumb{padding-left:44px}}@media(min-width:981px){:root[data-sidebar=collapsed] .app-shell.app-shell{--sidebar-width:72px}.app-shell .sidebar{width:var(--sidebar-width)}.app-shell .main-canvas{margin-left:var(--sidebar-width)}}.app-shell .key-points span,.app-shell .rediscover-date strong,.app-shell .summary-panel>p{font-family:inherit}.app-shell .summary-panel>p{font-size:16px;line-height:1.9}