.workspace-content{display:flex;flex-direction:column;min-width:0;flex:1}.workspace-content>.collection{width:100%;max-width:none;margin:0;padding:28px 24px 20px;flex:1}
@media(max-width:760px){.workspace-content>.collection{padding:22px 16px 20px}}.workspace-content>.editor{flex:1;border-left:0;min-height:calc(100dvh - 130px);width:100%;min-width:0}.workspace-content .editor-header{height:47px;padding:0 27px;background:#fbfcff}.workspace-content .editor-header>span{letter-spacing:0;text-transform:none;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-right:12px}.workspace-content .editor-body{width:100%;max-width:1120px;margin:0 auto;padding:35px 52px 0;min-height:0;flex:1}.workspace-content .note-title{font-size:32px;margin-top:17px;line-height:1.45}.workspace-content .file-label{margin-bottom:27px}.workspace-content .markdown-editor{font-size:14px;line-height:1.9;min-height:380px;flex:1;resize:none;padding:3px 0 30px}.workspace-content .markdown-preview{font-size:15px;line-height:1.9;min-height:380px;padding:5px 0 35px}.workspace-content .markdown-preview h1{font-size:30px}.workspace-content .markdown-preview h2{font-size:22px}.workspace-content .editor-footer{padding:13px 28px}.home-new-note{display:flex;align-items:center;gap:7px;padding:11px 15px;font-size:11px;white-space:nowrap;margin-left:15px}.home-new-note svg{width:16px;height:16px}.sidebar-nav-views{display:flex;flex-direction:column;gap:3px;margin:0 11px 12px}.sidebar-nav-views .sidebar-home{margin:0;padding:8px 10px}.sidebar-home{margin:0 11px 12px;display:flex;align-items:center;gap:9px;padding:11px 10px;background:transparent;border-radius:7px;color:#8fa7c8;text-align:left;font-size:11px;flex-shrink:0}.sidebar-home svg{width:15px;height:15px}.sidebar-home span{flex:1}.sidebar-home small{font-size:8px;color:#6f8cb4}.sidebar-home:hover{background:#ffffff06}.sidebar-home.active{background:#344a68;color:#d6e8ff}.sidebar-home.active small{color:#97b5dc}.breadcrumb>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45vw}.breadcrumb{min-width:0}.workspace-content .note-grid:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}@media(max-width:1000px){.workspace-content .editor-body{padding:28px 32px 0}.workspace-content .note-title{font-size:28px}}@media(max-width:760px){.workspace-content>.editor{min-height:calc(100dvh - 112px)}.workspace-content .editor-body{padding:23px 20px 0}.workspace-content .markdown-editor{min-height:calc(100dvh - 405px);font-size:13px}.workspace-content .note-title{font-size:25px}.workspace-content .editor-header{padding:0 18px}.workspace-content .editor-footer{padding:12px 18px}.home-new-note{width:37px;height:37px;padding:0;justify-content:center}.home-new-note>span{display:none}.breadcrumb>strong{max-width:55vw}.workspace-content .collection-heading{gap:8px}.workspace-content .subtitle{max-width:240px}}
.markdown-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px 0 12px;border-bottom:1px solid var(--line);margin:-10px 0 18px}.format-button{height:30px;min-width:31px;padding:0 7px;border-radius:5px;background:transparent;color:#61738d;font:600 12px system-ui;cursor:pointer}.format-button:hover:not(:disabled){background:#eaf1ff;color:#3c70be}.format-button:focus-visible{outline:2px solid #5988dc;outline-offset:1px}.format-button:disabled{opacity:.35;cursor:default}.format-bold{font-weight:800}.format-italic{font-style:italic}.format-hint{margin-left:auto;color:#9aa6b7;font-size:10px;padding:5px}.markdown-preview strong{font-weight:750;color:#344155}.markdown-preview a{color:#467acc;text-decoration:underline}.markdown-preview code{background:#eff3f8;color:#526d96;border-radius:4px;padding:2px 5px;font-family:Consolas,monospace;font-size:.9em}.markdown-preview pre{background:#f3f6fa;border:1px solid var(--line);padding:16px;border-radius:8px;overflow:auto;white-space:pre}.markdown-preview pre code{padding:0;background:transparent}.markdown-preview hr{border:0;border-top:1px solid #dce4ef;margin:24px 0}.markdown-table{overflow-x:auto;margin:15px 0}.markdown-table table{border-collapse:collapse;width:100%;font-size:13px}.markdown-table th,.markdown-table td{border:1px solid #dce4ef;padding:8px 12px;text-align:left}.markdown-table th{background:#f3f6fa;color:#455c7a}.markdown-preview .bullet,.markdown-preview .check{padding-left:12px}@media(max-width:760px){.markdown-tools{gap:2px}.format-hint{display:none}.format-button{min-width:30px;height:33px}}
.markdown-link-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:15px;background:#f5f8fd;border:1px solid #dce5f3;border-radius:8px;margin:0 0 18px}.markdown-link-form>strong{width:100%;font-size:12px;color:#405774}.markdown-link-form>label{display:flex;flex:1 1 180px;flex-direction:column;gap:6px;font-size:11px;color:#667b98}.markdown-link-form input{width:100%;min-width:0;border:1px solid #d4dfed;background:#fff;border-radius:5px;padding:9px;color:#344155;font-size:12px}.markdown-link-actions{display:flex;flex-wrap:wrap;gap:6px}.markdown-link-actions button{padding:9px 12px;border-radius:5px;font-size:11px;background:#e6edf7;color:#4e6689}.markdown-link-actions .primary{background:#457bd5;color:#fff}.markdown-link-form>p{width:100%;margin:0;color:#b34747;font-size:11px}.markdown-preview ul,.markdown-preview ol{padding-left:18px;margin:8px 0}.markdown-preview li{padding-left:2px;margin:3px 0}.markdown-preview .task-item{list-style:none}.preview-task{display:flex;align-items:baseline;gap:8px;cursor:pointer}.preview-task input{accent-color:#477ed6;flex-shrink:0}.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{color:#465770;margin:16px 0 8px}.format-undo,.format-redo{font-size:18px}.format-redo,.format-clear,.format-h6,.format-outdent{margin-right:5px;border-right:1px solid var(--line);border-radius:5px 0 0 5px}
/* List mode is a single document list, independent of card grid breakpoints. */
.workspace-content .note-grid.list-view{display:flex;flex-direction:column;gap:0;border:1px solid #e1e8f2;border-radius:9px;background:#fff;overflow:hidden}
.workspace-content .list-view .note-card{display:grid;grid-template-columns:42px minmax(130px,1fr) minmax(0,1.5fr) minmax(125px,160px);align-items:center;gap:15px;min-height:66px;padding:15px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;transform:none;transition:background .15s}
.workspace-content .list-view .note-card:last-child{border-bottom:0}
.workspace-content .list-view .note-card:hover{background:#f5f8fe;box-shadow:none;transform:none}
.workspace-content .list-view .note-card.selected{background:#edf3ff;box-shadow:inset 3px 0 #6799e6}
.workspace-content .list-view .note-card:focus-visible{outline:2px solid #6798ed;outline-offset:-3px}
.workspace-content .list-view .note-card-top{justify-content:flex-start;gap:7px;min-height:0}
.workspace-content .list-view .note-kind{font-size:0;gap:0}
.workspace-content .list-view .note-kind svg{width:17px;height:17px;color:#8ea6c9}
.workspace-content .list-view .note-card-top>svg{width:12px;height:12px}
.workspace-content .list-view .note-card h2{margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.workspace-content .list-view .note-excerpt{display:block;-webkit-line-clamp:unset;margin:0;min-width:0;font-size:11px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#93a0b3}
.workspace-content .list-view .note-card-footer{margin:0;gap:10px;min-width:0;justify-content:space-between;white-space:nowrap}
.workspace-content .list-view .note-card-footer .tag{overflow:hidden;text-overflow:ellipsis;max-width:90px}
@media(max-width:1050px){.workspace-content .list-view .note-card{grid-template-columns:35px minmax(100px,1fr) minmax(0,1fr) 115px;gap:10px;padding:14px}.workspace-content .list-view .note-card-footer{font-size:8px;gap:6px}}
@media(max-width:600px){.workspace-content .list-view .note-card{grid-template-columns:30px minmax(0,1fr) auto;gap:5px 10px;padding:13px 12px;min-height:66px}.workspace-content .list-view .note-card-top{grid-column:1;grid-row:1 / 3;align-self:center;flex-direction:column;gap:5px}.workspace-content .list-view .note-card h2{grid-column:2;grid-row:1}.workspace-content .list-view .note-excerpt{grid-column:2 / 4;grid-row:2;font-size:10px}.workspace-content .list-view .note-card-footer{grid-column:3;grid-row:1;font-size:9px}.workspace-content .list-view .note-card-footer .tag{display:none}}
.note-dates{display:flex;flex-direction:column;gap:5px;margin-top:12px;padding-top:11px;border-top:1px solid #b0bfd226;color:#8998ad;font-size:9px;line-height:1.7;font-variant-numeric:tabular-nums}.note-dates>span{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px}.note-date-label{color:#a3aec0}.workspace-content .list-view .note-dates{grid-column:2 / -1;grid-row:2;flex-direction:row;flex-wrap:wrap;gap:5px 24px;border:0;margin:0;padding:0;font-size:9px}.workspace-content .list-view .note-dates>span{justify-content:flex-start;gap:7px}.workspace-content .list-view .note-card-top{grid-column:1;grid-row:1 / 3}.workspace-content .list-view .note-card h2{grid-column:2;grid-row:1}.workspace-content .list-view .note-excerpt{grid-column:3;grid-row:1}.workspace-content .list-view .note-card-footer{grid-column:4;grid-row:1}@media(max-width:600px){.workspace-content .list-view .note-card-top{grid-row:1 / 4}.workspace-content .list-view .note-card-footer{grid-column:3;grid-row:1}.workspace-content .list-view .note-excerpt{grid-column:2 / 4;grid-row:2}.workspace-content .list-view .note-dates{grid-column:2 / 4;grid-row:3;flex-direction:column;gap:2px;margin-top:5px}}
