:root{--ink:#07194d;--muted:#7183a9;--blue:#1c79f2;--violet:#645cf7;--line:#dde7f7;--paper:#fff;--soft:#f4f8ff;--shadow:0 18px 46px rgba(45,83,163,.12);font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:#eef5ff}*{box-sizing:border-box}html,body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button,a{color:inherit}button{cursor:pointer}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.workspace-body{padding:22px;background:radial-gradient(circle at 50% 0,#fafdff,#edf4ff 65%,#e9f0fd);min-height:100vh}.workspace{max-width:1580px;min-height:calc(100vh - 44px);margin:auto;display:grid;grid-template-columns:306px minmax(0,1fr);border-radius:26px;overflow:hidden;background:rgba(255,255,255,.91);border:1px solid rgba(255,255,255,.92);box-shadow:0 18px 70px rgba(67,95,151,.12)}.sidebar{position:relative;padding:25px 20px 22px;background:linear-gradient(150deg,rgba(247,250,255,.96),rgba(241,246,255,.9));border-right:1px solid #e5ecf8;display:flex;flex-direction:column;min-height:860px}.workspace-brand{display:flex;align-items:center;gap:7px;text-decoration:none;padding:0 14px 22px}.workspace-brand img{width:58px;height:46px}.workspace-brand span{display:flex;flex-direction:column}.workspace-brand b{font-size:21px;letter-spacing:-.6px}.workspace-brand small{font-size:9px;letter-spacing:.3px;color:#7c91be;margin-top:3px}.new-button{height:58px;border:0;border-radius:14px;color:#fff;font-size:19px;background:linear-gradient(105deg,#3bb4f2,#477ff6 65%,#655cf7);box-shadow:0 10px 24px rgba(56,101,241,.22);display:flex;justify-content:center;align-items:center;gap:14px;margin:0 9px 18px}.new-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}.side-nav,.space-nav{display:flex;flex-direction:column;gap:2px}.side-nav button,.space-nav button{height:49px;border:0;border-radius:12px;background:transparent;display:flex;align-items:center;gap:20px;padding:0 18px;color:#2d477a;font-size:16px;text-align:left}.side-nav button:hover,.space-nav button:hover,.side-nav button.active,.space-nav button.active{background:linear-gradient(90deg,rgba(216,235,255,.85),rgba(218,227,255,.68));color:#146df0}.side-nav svg,.space-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.side-nav button.active svg{fill:#2d85f5;stroke:#2d85f5}.side-divider{height:1px;background:#dfe7f5;margin:14px 10px 18px}.side-title{margin:0 14px 6px;color:#56709d;font-size:15px}.sidebar-quote{margin-top:auto;min-height:165px;border:1px solid rgba(255,255,255,.9);border-radius:18px;padding:22px 20px;background:radial-gradient(circle at 90% 100%,rgba(167,174,255,.35),transparent 45%),linear-gradient(145deg,rgba(255,255,255,.8),rgba(235,242,255,.75));color:#4e7bea;box-shadow:inset 0 0 0 1px rgba(168,193,236,.12)}.sidebar-quote i{font:22px/1.45 "KaiTi","STKaiti",serif}.sidebar-quote svg{width:105px;height:44px;display:block;fill:none;stroke:#5b82e7;stroke-width:2;stroke-linecap:round}.sidebar-quote span{display:block;margin-top:6px;font-size:9px;line-height:2;letter-spacing:6px;color:#7890c2}.workspace-main{min-width:0;padding:0 30px 36px}.topbar{height:102px;border-bottom:1px solid #e3eaf6;display:flex;align-items:center;justify-content:space-between;position:relative}.global-search{width:min(54%,620px);height:58px;border:1px solid #dbe5f5;border-radius:30px;background:#f7f9fd;display:flex;align-items:center;padding:0 22px;gap:16px}.global-search svg{width:26px;height:26px;fill:none;stroke:var(--ink);stroke-width:1.8}.global-search input{flex:1;border:0;outline:0;background:transparent;font-size:18px;color:var(--ink);min-width:0}.global-search input::placeholder{color:#91a0bf}.global-search button{display:none;border:0;background:none;font-size:26px;color:#8090b0}.global-search.has-value button{display:block}.top-actions{display:flex;align-items:center;gap:13px}.top-actions>button:not(.avatar){width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent;border-radius:11px}.top-actions>button:hover{background:#f1f5fd}.top-actions svg{width:24px;height:24px;fill:none;stroke:#0a2058;stroke-width:1.8}.top-actions>span{height:34px;width:1px;background:#d9e2f1;margin:0 7px}.avatar{width:46px;height:46px;border:2px solid #fff;border-radius:50%;background:linear-gradient(145deg,#f3cfbd,#6a7aa8);box-shadow:0 2px 11px rgba(29,53,103,.17);color:#fff;font-size:0;overflow:hidden}.avatar:after{content:attr(title);display:block;font-size:0}.account-menu{position:absolute;z-index:40;right:0;top:78px;width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:12px;display:none}.account-menu.open{display:grid}.account-menu b{padding:8px 10px 12px}.account-menu a,.account-menu button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;text-align:left;text-decoration:none;color:#546b98}.account-menu a:hover,.account-menu button:hover{background:#f2f6fd;color:var(--blue)}.content-head{display:flex;align-items:flex-end;justify-content:space-between;padding:34px 12px 16px}.content-head h1{font-size:37px;line-height:1;margin:0;letter-spacing:-1.4px}.breadcrumb{display:flex;gap:8px;min-height:19px;margin-bottom:10px;color:#7b8baa;font-size:13px}.breadcrumb button{border:0;background:none;padding:0;color:#4a75cd}.content-actions{display:flex;gap:22px;align-items:center}.upload-button{height:58px;border:0;border-radius:14px;padding:0 30px;background:linear-gradient(105deg,#459ff7,#526ef6);color:#fff;font-size:18px;display:flex;align-items:center;gap:12px;box-shadow:0 9px 23px rgba(62,104,239,.22)}.upload-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}.view-switch{display:flex;padding:4px;border:1px solid #dde5f4;border-radius:14px;background:#fff}.view-switch button{width:54px;height:48px;border:0;border-radius:10px;background:transparent;color:#10285d}.view-switch button.active{background:#eaf3ff;color:#1875f0}.view-switch svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9}.tabs{height:66px;border-bottom:1px solid #e2e9f5;display:flex;align-items:flex-end;gap:56px;padding:0 12px}.tabs button{height:55px;border:0;border-bottom:3px solid transparent;background:none;color:#4d628f;font-size:17px;padding:0 5px}.tabs button.active{color:#096ff4;border-bottom-color:#1677f3;font-weight:700}.results-meta{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#8190ad;font-size:14px}.results-meta select{border:0;background:transparent;color:#536b99;outline:0}.item-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:24px 22px;padding:8px 12px 26px}.item-card{position:relative;height:234px;border:1px solid #dce6f6;border-radius:18px;background:rgba(255,255,255,.92);padding:28px 24px 18px;text-align:center;transition:.2s;box-shadow:0 4px 16px rgba(54,82,139,.025)}.item-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(50,87,163,.11);border-color:#cbdcf8}.item-card[data-kind="file"],.item-card[data-kind="note"]{height:164px;text-align:left;padding:22px}.item-card .item-icon{height:106px;display:grid;place-items:center}.item-card .item-icon svg{width:116px;height:94px;fill:#4a8ff5;stroke:#72b7ff;stroke-width:.6;filter:drop-shadow(0 9px 10px rgba(50,120,236,.2))}.item-card[data-kind="file"] .item-icon,.item-card[data-kind="note"] .item-icon{position:absolute;left:22px;top:20px;width:62px;height:62px;border-radius:13px;background:#f1f6ff}.item-card[data-kind="file"] .item-icon svg,.item-card[data-kind="note"] .item-icon svg{width:38px;height:38px;fill:none;stroke:#4e7bf0;stroke-width:1.6;filter:none}.item-card h3{font-size:18px;margin:9px 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-card p{margin:0;color:#8391af;font-size:14px}.item-card[data-kind="file"] h3,.item-card[data-kind="note"] h3{margin:8px 20px 8px 78px}.item-card[data-kind="file"] p,.item-card[data-kind="note"] p{margin-left:78px}.item-tags{display:flex;gap:5px;overflow:hidden;margin:12px 0 0 78px}.item-tags span{font-size:11px;padding:3px 7px;border-radius:9px;background:#eff4ff;color:#6077a7;white-space:nowrap}.card-action{position:absolute;right:12px;top:12px;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#6075a2}.card-action:hover{background:#edf3ff}.card-action svg{width:21px;height:21px;fill:currentColor;stroke:none}.star-button{position:absolute;left:12px;top:12px;width:32px;height:32px;border:0;background:transparent;color:#b6c2da}.star-button.active{color:#f5aa2a}.star-button svg{width:19px;height:19px;fill:currentColor;stroke:currentColor}.item-menu{position:fixed;z-index:80;width:175px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.item-menu button{display:block;width:100%;padding:9px 11px;border:0;border-radius:7px;background:none;text-align:left;color:#455c8a}.item-menu button:hover{background:#f1f6ff;color:#1671ed}.item-menu button.danger{color:#d95366}.item-grid.layout-list{display:flex;flex-direction:column;gap:8px}.item-grid.layout-list .item-card{height:74px;display:grid;grid-template-columns:56px minmax(180px,1fr) 150px 110px 42px;align-items:center;text-align:left;padding:8px 14px}.item-grid.layout-list .item-icon,.item-grid.layout-list .item-card[data-kind] .item-icon{position:static;width:48px;height:48px}.item-grid.layout-list .item-icon svg{width:42px;height:38px}.item-grid.layout-list h3,.item-grid.layout-list .item-card[data-kind] h3{margin:0}.item-grid.layout-list p,.item-grid.layout-list .item-card[data-kind] p{margin:0}.item-grid.layout-list .item-tags{margin:0}.item-grid.layout-list .star-button{position:static;grid-column:4}.item-grid.layout-list .card-action{position:static;grid-column:5}.item-grid.layout-compact{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px}.item-grid.layout-compact .item-card{height:116px;padding:15px}.item-grid.layout-compact .item-icon{height:52px}.item-grid.layout-compact .item-icon svg{width:56px;height:48px}.item-grid.layout-compact .item-card[data-kind="file"] .item-icon,.item-grid.layout-compact .item-card[data-kind="note"] .item-icon{position:static;margin:auto}.item-grid.layout-compact .item-card h3,.item-grid.layout-compact .item-card[data-kind] h3{margin:5px 22px 0;text-align:center}.item-grid.layout-compact .item-card p,.item-grid.layout-compact .item-tags{display:none}.empty-state{text-align:center;padding:50px 20px 70px}.empty-state>span{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#edf5ff;color:#3a81ef}.empty-state svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.5}.empty-state h2{margin:18px 0 6px}.empty-state p{color:var(--muted)}.empty-state button{margin-top:12px;padding:11px 20px;border:0;border-radius:12px;background:#176ff0;color:#fff}.haven-banner{height:260px;border-radius:22px;overflow:hidden;position:relative;margin:0 12px;box-shadow:0 12px 34px rgba(57,104,173,.12)}.haven-banner>img{width:100%;height:100%;object-fit:cover}.haven-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(236,246,255,.44),rgba(255,255,255,.02))}.haven-banner>div{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;white-space:nowrap}.haven-banner h2{font-size:29px;margin:0 0 10px}.haven-banner p{margin:0;color:#3f66b5;letter-spacing:3px}.haven-banner>i{position:absolute;z-index:2;right:6%;top:28px;font:27px/1.35 "KaiTi","STKaiti",serif;color:#4076ef;transform:rotate(-7deg)}.haven-banner>i svg{display:block;width:100px;height:40px;fill:none;stroke:#4277ed;stroke-width:2;stroke-linecap:round}.toast{position:fixed;z-index:200;left:50%;bottom:36px;transform:translateX(-50%);padding:13px 20px;border-radius:12px;background:#0c2459;color:#fff;box-shadow:0 10px 28px rgba(19,41,86,.28)}.backdrop{position:fixed;z-index:90;inset:0;background:rgba(10,27,69,.25);backdrop-filter:blur(3px)}.new-menu{position:fixed;z-index:100;width:350px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 25px 70px rgba(31,61,124,.2)}.new-menu button{width:100%;border:0;border-radius:13px;background:none;display:grid;grid-template-columns:50px 1fr;text-align:left;padding:11px;column-gap:12px}.new-menu button:hover{background:#f4f8ff}.new-menu button>span{grid-row:1/3;width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#eaf3ff;color:#2478ef}.new-menu button>span.note-tone{background:#f2efff;color:#695df2}.new-menu button>span.upload-tone{background:#eaf9f5;color:#24a980}.new-menu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.new-menu b{align-self:end}.new-menu small{color:#8493b0;margin-top:3px}dialog{padding:0;border:0;border-radius:22px;box-shadow:0 24px 90px rgba(28,52,107,.28);width:min(92vw,520px);color:var(--ink)}dialog::backdrop{background:rgba(8,26,65,.32);backdrop-filter:blur(4px)}.dialog-card{padding:28px;margin:0}.dialog-card header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.dialog-card header span{font-size:11px;letter-spacing:3px;color:#4d7cdd}.dialog-card h2{margin:5px 0 0;font-size:26px}.dialog-card header>button{width:36px;height:36px;border:0;border-radius:50%;background:#f1f5fc;color:#6a7d9f;font-size:23px}.dialog-card>label{display:block;margin:16px 0}.dialog-card label>span{display:block;margin-bottom:8px;color:#667da7;font-size:14px}.dialog-card input,.dialog-card textarea{width:100%;border:1px solid #dbe5f5;border-radius:12px;padding:12px 14px;outline:0;color:var(--ink);background:#fbfdff}.dialog-card textarea{resize:vertical;line-height:1.7}.dialog-card input:focus,.dialog-card textarea:focus{border-color:#4d8df2;box-shadow:0 0 0 3px rgba(77,141,242,.1)}.dialog-card footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-card footer button,.copy-field button{border:0;border-radius:11px;padding:11px 18px;background:#edf2fb;color:#58709b}.dialog-card footer button:last-child,.copy-field button{background:linear-gradient(105deg,#398df5,#5c62f5);color:#fff}.dialog-card footer .danger-text{margin-right:auto;color:#d64f62;background:#fff0f2}.share-note{color:#6c7fa4;line-height:1.7}.copy-field{display:flex;gap:8px}.copy-field input{flex:1;min-width:0}.copy-field button{white-space:nowrap}.auth-body,.message-body,.shared-note-body{min-height:100vh;background:radial-gradient(circle at 75% 35%,#ddebff,transparent 30%),linear-gradient(145deg,#fbfdff,#edf4ff);color:var(--ink)}.auth-shell{position:relative;max-width:1160px;min-height:720px;margin:6vh auto;background:rgba(255,255,255,.74);border:1px solid #fff;border-radius:32px;box-shadow:var(--shadow);overflow:hidden;padding:48px}.auth-brand{position:relative;z-index:3;display:flex;align-items:center;gap:8px;text-decoration:none}.auth-brand img{width:60px}.auth-brand span{display:flex;flex-direction:column}.auth-brand b{font-size:22px}.auth-brand small{color:#8293b5;font-size:11px}.auth-card{position:relative;z-index:3;width:440px;margin-top:80px;padding:34px;border:1px solid rgba(218,229,247,.9);border-radius:25px;background:rgba(255,255,255,.88);box-shadow:0 16px 50px rgba(52,88,163,.1)}.auth-eyebrow{font-size:11px;letter-spacing:3px;color:#4a7ada}.auth-card h1{font-size:31px;margin:10px 0}.auth-card>p{color:#7183a9;line-height:1.7}.auth-card label{display:block;margin:18px 0}.auth-card label span{display:block;font-size:14px;color:#536b98;margin-bottom:8px}.auth-card input{width:100%;height:48px;border:1px solid #d7e2f4;border-radius:12px;padding:0 14px;outline:0}.auth-card input:focus{border-color:#4e8cf0;box-shadow:0 0 0 3px rgba(76,139,239,.1)}.auth-card form>button{width:100%;height:50px;border:0;border-radius:13px;background:linear-gradient(105deg,#34a3f4,#5666f7);color:#fff;font-weight:700;margin-top:5px}.auth-card form>button span{margin-left:8px}.auth-alert{padding:11px 13px;border-radius:10px;background:#fff0f3;color:#c8455c;margin-top:12px}.back-link{display:inline-block;color:#6e82a7;font-size:13px;margin-top:22px;text-decoration:none}.auth-art{position:absolute;z-index:1;width:720px;right:-90px;top:60px;filter:drop-shadow(0 28px 50px rgba(66,96,177,.14))}.message-body{display:grid;place-items:center;text-align:center}.message-body main{padding:50px}.message-body img{width:85px}.message-body span{display:block;color:#4a7bdb;letter-spacing:5px;margin-top:15px}.message-body h1{font-size:42px;margin:14px}.message-body p{color:#7184aa}.message-body a{display:inline-block;margin-top:18px;padding:12px 22px;border-radius:22px;background:#287cf1;color:#fff;text-decoration:none}.shared-note-body main{max-width:840px;margin:55px auto;padding:0 25px}.shared-note-body header{display:flex;align-items:center;gap:9px;color:#7185ac}.shared-note-body header img{width:52px}.shared-note-body article{margin-top:24px;padding:48px;border:1px solid #e0e8f5;border-radius:26px;background:#fff;box-shadow:var(--shadow)}.shared-note-body h1{font-size:36px;margin-top:0}.shared-note-body pre{font:16px/1.9 "Segoe UI","Microsoft YaHei",sans-serif;white-space:pre-wrap;color:#385078}
@media(max-width:1280px){.workspace{grid-template-columns:255px}.sidebar{padding-left:13px;padding-right:13px}.item-grid{grid-template-columns:repeat(3,minmax(170px,1fr))}.top-actions>button:not(.avatar):nth-child(2),.top-actions>button:not(.avatar):nth-child(3){display:none}.item-grid.layout-compact{grid-template-columns:repeat(4,minmax(150px,1fr))}}@media(max-width:900px){.workspace-body{padding:0}.workspace{border-radius:0;min-height:100vh;grid-template-columns:78px 1fr}.sidebar{padding:18px 8px}.workspace-brand span,.side-nav button:not(.active){font-size:0}.workspace-brand{padding:0 3px 18px}.workspace-brand img{width:54px}.new-button{font-size:0;margin:0 0 18px}.new-button svg{margin:0}.side-nav button,.space-nav button{font-size:0;justify-content:center;padding:0}.side-title,.side-divider,.sidebar-quote{display:none}.workspace-main{padding:0 16px 28px}.item-grid{grid-template-columns:repeat(2,minmax(150px,1fr));gap:14px}.topbar{height:82px}.global-search{width:68%;height:50px}.top-actions>button:not(.avatar){display:none}.content-head{padding-top:24px}.content-head h1{font-size:30px}.tabs{gap:24px}.item-grid.layout-compact{grid-template-columns:repeat(3,minmax(130px,1fr))}.haven-banner>div{left:35%;}.auth-shell{margin:0;min-height:100vh;border-radius:0}.auth-art{opacity:.32}}@media(max-width:620px){.workspace{grid-template-columns:1fr}.sidebar{position:fixed;z-index:120;left:0;right:0;bottom:0;min-height:0;height:66px;padding:5px 8px;border:0;border-top:1px solid #dfe8f7;display:block}.workspace-brand,.new-button,.side-title,.space-nav,.sidebar-quote{display:none}.side-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.side-nav button{height:54px;font-size:0;padding:0;justify-content:center}.side-nav button:nth-child(6){display:none}.side-nav button svg{width:22px}.workspace-main{padding:0 11px 88px}.topbar{height:72px}.global-search{width:calc(100% - 54px);padding:0 14px}.global-search input{font-size:15px}.top-actions>span{display:none}.avatar{width:40px;height:40px}.content-head{align-items:center}.content-actions{gap:8px}.upload-button{width:48px;height:48px;padding:0;font-size:0}.upload-button svg{margin:auto}.view-switch button{display:none}.view-switch button.active{display:block;width:46px;height:42px}.content-head h1{font-size:27px}.tabs{overflow-x:auto;gap:25px;padding:0;height:56px}.tabs button{white-space:nowrap;height:48px}.results-meta{padding:0 4px}.item-grid{grid-template-columns:1fr 1fr;padding:5px 2px 18px;gap:10px}.item-card{height:180px;padding:20px 12px}.item-card .item-icon{height:80px}.item-card .item-icon svg{width:90px;height:72px}.item-card[data-kind="file"],.item-card[data-kind="note"]{height:140px}.item-card[data-kind="file"] .item-icon,.item-card[data-kind="note"] .item-icon{position:static;margin:auto}.item-card[data-kind="file"] h3,.item-card[data-kind="note"] h3,.item-card[data-kind="file"] p,.item-card[data-kind="note"] p{margin-left:0;text-align:center}.item-tags{display:none}.item-grid.layout-list .item-card{grid-template-columns:50px 1fr 38px;height:70px}.item-grid.layout-list p,.item-grid.layout-list .item-tags,.item-grid.layout-list .star-button{display:none}.item-grid.layout-list .card-action{grid-column:3}.item-grid.layout-compact{grid-template-columns:repeat(2,1fr)}.haven-banner{height:210px;margin:0}.haven-banner>div{left:50%;top:38%}.haven-banner h2{font-size:20px}.haven-banner p{font-size:11px;letter-spacing:1px}.haven-banner>i{display:none}.auth-shell{padding:28px 18px}.auth-card{width:100%;margin-top:45px;padding:25px}.auth-art{width:560px;right:-280px;top:40px}.new-menu{width:calc(100vw - 24px);left:12px!important;bottom:74px!important;top:auto!important}.dialog-card{padding:22px}}
