:root{--bg:#f7f6f3;--sidebar:#f7f6f3;--sidebar-2:#f1efeb;--sidebar-text:#1f2a2e;--sidebar-muted:#7c898e;--paper:#fff;--paper-2:#fbfaf8;--line:#e8e5df;--line-strong:#ddd9d1;--text:#1f2a2e;--muted:#7c898e;--accent:#0e7c86;--accent-2:#0a626b;--accent-soft:#e6f2f3;--warning:#c08a16;--danger:#d4434f;--danger-soft:#d4434f1a;--shadow:0 12px 30px #1f2a2e1a;--radius:10px;--header-height:56px;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.logout-form{margin:0;display:inline-flex}.logout-form button{font:inherit;cursor:pointer}code{color:#0e5d4c;background:#1f8f771f;border-radius:4px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.marumemo-app{background:linear-gradient(180deg, #ffffff8a, #eef1ee1a), var(--bg);flex-direction:column;height:100svh;display:flex}.app-header{height:var(--header-height);border-bottom:1px solid var(--line-strong);background:linear-gradient(#fdfdfc,#e7ece9);justify-content:space-between;align-items:center;gap:14px;padding:9px 14px;display:flex;box-shadow:inset 0 1px #ffffffb3}.brand{align-items:center;gap:10px;min-width:0;display:flex}.marketing-header .brand{flex:none}.brand-logo{flex:none;align-items:center;line-height:0;display:inline-flex}.app-brand-logo{justify-self:start;width:fit-content}.brand-logo img{object-fit:contain;display:block}.brand-logo .brand-logo-full{width:auto;height:38px}.brand-logo .brand-logo-symbol{border-radius:7px;width:34px;height:34px;display:none}.app-brand-logo img{mix-blend-mode:multiply;background:0 0}.marumemo-app.app-sidebar-collapsed .app-header .brand-logo-full{display:none}.marumemo-app.app-sidebar-collapsed .app-header .brand-logo-symbol{display:block}.admin-sidebar .brand-logo{color:inherit;padding:0}.admin-sidebar .brand-logo .brand-logo-full{height:44px}.brand-mark{color:#e9f4f1;letter-spacing:0;background:#203239;border-radius:7px;place-items:center;width:34px;height:34px;font-size:13px;font-weight:800;display:grid}.brand strong,.brand span{white-space:nowrap;display:block}.brand strong{font-size:14px;line-height:1.1}.brand span{color:var(--muted);font-size:11px;line-height:1.25}.search-shell{width:100%;max-width:720px;position:relative}.search-box{width:100%;height:34px;color:var(--sidebar-muted);background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-box input{width:100%;min-width:0;color:var(--sidebar-text);background:0 0;border:0;outline:0;font-size:13px}.search-box input::placeholder{color:var(--sidebar-muted)}.search-clear-button{width:24px;height:24px;color:var(--sidebar-muted);background:#ffffff14;border:1px solid #0000;border-radius:5px;flex:none;place-items:center;display:grid}.search-clear-button:hover,.search-clear-button:focus-visible{color:var(--sidebar-text);background:#ffffff29;border-color:#fff3;outline:none}.search-suggestion-menu,.tag-suggestion-menu{z-index:70;border:1px solid var(--line-strong);box-shadow:var(--shadow);background:#fff;border-radius:7px;gap:3px;padding:5px;display:grid;position:absolute}.search-suggestion-menu{width:min(320px,100%);top:calc(100% + 5px);left:0}.search-note-suggestion-menu{width:min(360px,100%)}.search-suggestion-menu button,.tag-suggestion-menu button{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;display:flex}.search-suggestion-menu button{min-height:30px;padding:6px 8px;font-size:13px}.search-suggestion-menu button:hover,.search-suggestion-menu button.active,.search-suggestion-menu button[aria-selected=true],.tag-suggestion-menu button:hover,.tag-suggestion-menu button.active,.tag-suggestion-menu button[aria-selected=true]{background:var(--accent-soft);color:#116451}.search-suggestion-menu span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.search-suggestion-menu small{color:var(--muted);margin-left:auto;font-size:11px}.search-note-suggestion-menu button{align-items:flex-start}.search-note-suggestion-copy{flex:auto;gap:2px;display:grid}.search-note-suggestion-copy small{text-overflow:ellipsis;white-space:nowrap;margin-left:0;overflow:hidden}.header-actions{justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.mobile-menu-button,.mobile-drawer-header,.mobile-drawer-backdrop,.mobile-more-backdrop,.mobile-more-sheet,.mobile-new-note-fab,.mobile-bottom-nav,.mobile-task-backdrop{display:none}.ghost-button,.primary-button,.danger-button,.new-note-button,.tool-button,.attach-file-button,.task-row,.cover{border:1px solid var(--line-strong);background:var(--paper);color:var(--text);border-radius:6px}.ghost-button,.primary-button,.danger-button{white-space:nowrap;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.primary-button{color:#fff;background:#1f8f77;border-color:#19745f}.header-content-wide-button{color:#33413e;background:#fff;font-weight:800}.header-content-wide-button svg{flex:none}.header-content-wide-button[aria-pressed=true]{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.drive-spinner{opacity:.9;flex-shrink:0;animation:1.1s linear infinite drive-spin}.danger-button{background:var(--danger);color:#fff;border-color:#8f2b2b}.system-banner{border-bottom:1px solid var(--line);color:#6d501e;background:#f8f1db;justify-content:space-between;align-items:center;gap:12px;padding:9px 16px;font-size:12px;display:flex}.system-banner span{flex:auto;min-width:0}.system-banner.error{color:var(--danger);background:#f9e4e4}.system-banner.warning{color:#66501a;background:#fff7dc}.system-banner-action{height:28px;color:var(--danger);background:#fff;border:1px solid #b4404052;border-radius:6px;flex:none;padding:0 10px;font-size:12px;font-weight:800}.system-banner.warning .system-banner-action{color:#116451;border-color:#1f8f7747}.system-banner-action:disabled{cursor:wait;opacity:.65}.account-switch-overlay{z-index:3000;-webkit-backdrop-filter:blur(12px)saturate(.78);background:#eef1eead;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.account-switch-overlay:before{content:"";background:#1e292b29;position:absolute;inset:0}.account-switch-status{min-width:min(320px,100vw - 48px);min-height:52px;color:var(--text);text-align:center;background:#ffffffeb;border:1px solid #c3ccc8e0;border-radius:8px;justify-content:center;align-items:center;gap:11px;padding:14px 18px;font-size:14px;font-weight:800;line-height:1.35;display:inline-flex;position:relative;box-shadow:0 20px 50px #1e292b2e}.account-switch-brand-mark{object-fit:contain;width:64px;height:64px;display:block}.account-switch-brand{flex-direction:column;align-items:center;gap:2px;line-height:1.15;display:flex}.account-switch-brand strong{color:var(--text);font-size:22px;font-weight:900}.account-switch-brand>span{color:var(--accent);letter-spacing:.04em;font-size:15px;font-weight:850}.account-switch-progress{color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:750;display:inline-flex}.account-switch-spinner{border:2px solid #1f8f772e;border-top-color:var(--accent);border-radius:999px;flex:none;width:18px;height:18px;animation:.82s linear infinite drive-spin}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.account-switch-overlay{background:#eef1eeeb}}.workspace{grid-template-columns:var(--sidebar-panel-width,238px) 6px var(--notes-panel-width,340px) 6px minmax(0, 1fr) 6px var(--tasks-panel-width,270px);flex:1;min-height:0;display:grid;overflow:hidden}.panel-resize-handle{z-index:8;cursor:col-resize;background:0 0;border:0;border-radius:0;width:6px;min-width:6px;height:100%;padding:0;position:relative}.panel-resize-handle:before{content:"";background:var(--line);width:1px;position:absolute;inset:0 auto 0 2px}.panel-resize-handle:hover:before,.panel-resize-handle:focus-visible:before{background:var(--accent);width:3px;left:1px}.is-resizing-panel,.is-resizing-panel *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}.panel-collapse-button{border:1px solid var(--line-strong);color:#52605d;background:#fff;border-radius:5px;flex:none;place-items:center;width:28px;height:28px;display:grid}.panel-collapse-button:hover{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.editor-content-wide-toggle{border:1px solid var(--line-strong);color:#52605d;white-space:nowrap;background:#fff;border-radius:5px;flex:none;align-items:center;gap:5px;height:28px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.editor-content-wide-toggle svg{flex:none}.editor-content-wide-toggle:hover,.editor-content-wide-toggle:focus-visible,.editor-content-wide-toggle[aria-pressed=true]{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.sidebar{background:linear-gradient(180deg, var(--sidebar), var(--sidebar-2));min-height:0;color:var(--sidebar-text);flex-direction:column;gap:18px;padding:14px 12px;display:flex;overflow-y:auto}.sidebar-desktop-controls{justify-content:flex-end;display:flex}.sidebar-collapse-button{color:var(--sidebar-text);background:#ffffff14;border-color:#ffffff24}.sidebar-collapse-button:hover{color:#fff;background:#ffffff29}.new-note-button{color:#fff;background:#1f8f77;border-color:#19745f;justify-content:center;align-items:center;gap:8px;width:100%;height:38px;font-size:13px;font-weight:800;display:flex}.nav-section h2{color:var(--sidebar-muted);letter-spacing:0;text-transform:uppercase;margin:0 0 7px;font-size:11px;font-weight:800}.nav-section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.nav-section-heading h2{margin:0}.icon-button{width:24px;height:24px;color:var(--sidebar-text);background:#ffffff14;border:1px solid #ffffff24;border-radius:5px;flex:none;place-items:center;display:grid}.icon-button:hover{background:#ffffff24}.notebook-create-form{grid-template-columns:minmax(0,1fr) 24px 24px;gap:5px;margin-bottom:7px;display:grid}.notebook-create-form input{min-width:0;height:24px;color:var(--sidebar-text);background:#ffffff1a;border:1px solid #ffffff2e;border-radius:5px;outline:0;padding:0 7px;font-size:12px}.notebook-create-form input::placeholder{color:var(--sidebar-muted)}.sidebar-notice{color:#f4dfba;background:#fff6dc1a;border:1px solid #ffdcaa2e;border-radius:7px;grid-template-columns:minmax(0,1fr) 28px;align-items:start;gap:8px;padding:9px;font-size:11px;font-weight:750;line-height:1.45;display:grid}.sidebar-notice .icon-button{width:28px;height:28px}.nav-row{width:100%;min-height:30px;color:inherit;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.nav-row:hover,.nav-row.active,.nav-row.selected{background:#ffffff1a}.nav-row small{color:var(--sidebar-muted);margin-left:auto;font-size:11px}.notebook-row{touch-action:pan-y}.notebook-row.dragging{opacity:.5}.notebook-row.note-drop-target{color:#f3fffb;background:#1f8f773d;box-shadow:inset 0 0 0 1px #caf0e46b}.notebook-row.note-drop-target small,.notebook-row.note-drop-target .drag-handle{color:#d9eee9}.notebook-row-wrapper{position:relative}.notebook-row-wrapper .notebook-row{padding-right:56px}.notebook-row-actions{z-index:2;opacity:0;pointer-events:none;gap:4px;transition:opacity .12s;display:flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.notebook-row-wrapper:hover .notebook-row-actions,.notebook-row-wrapper:focus-within .notebook-row-actions{opacity:1;pointer-events:auto}.notebook-action-button{background:#12161ee0;border-color:#ffffff29;border-radius:4px;width:22px;height:22px}.notebook-action-button:hover{background:#282e3af2}.notebook-edit-form{margin:0 0 4px}.drag-handle{color:var(--sidebar-muted)}.sidebar-bottom{gap:9px;margin-top:auto;display:grid}.character-panel{position:relative}.character-button{border-radius:var(--radius);width:100%;min-height:48px;color:var(--sidebar-text);text-align:left;background:#ffffff12;border:1px solid #ffffff21;align-items:center;gap:9px;padding:8px;display:flex}.character-avatar{color:#123b34;background:#e8f6f2;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid;overflow:hidden}.character-avatar img{object-fit:cover;width:100%;height:100%}.character-copy{gap:2px;min-width:0;display:grid}.character-copy strong,.character-copy small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.character-copy strong{font-size:12px;font-weight:850}.character-copy small{color:var(--sidebar-muted);font-size:10px}.character-button>svg{color:var(--sidebar-muted);margin-left:auto;transition:transform .14s}.character-button>svg.open{transform:rotate(180deg)}.character-menu{z-index:80;width:190px;box-shadow:var(--shadow);background:#fdfefd;border:1px solid #ffffff29;border-radius:8px;gap:3px;padding:5px;display:grid;position:absolute;bottom:calc(100% + 7px);right:0}.character-menu button,.character-menu a{min-height:32px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:7px 8px;font-size:12px;font-weight:750;text-decoration:none;display:flex}.character-menu .logout-form,.character-menu .logout-form button{width:100%}.character-menu button:hover,.character-menu a:hover{background:var(--accent-soft);color:#116451}.drive-principle{border-radius:var(--radius);background:#ffffff12;border:1px solid #ffffff21;gap:8px;padding:10px;display:flex}.drive-principle p{color:#b9c8c5;margin:0;font-size:11px;line-height:1.45}.app-header{border-bottom-color:var(--line);box-shadow:none;background:#fff}.sidebar{border-right:1px solid var(--line);background:var(--bg)}.sidebar-collapse-button,.icon-button,.notebook-action-button{border-color:var(--line-strong);color:var(--text);background:#fff}.sidebar-collapse-button:hover,.icon-button:hover,.notebook-action-button:hover{background:var(--accent-soft);color:var(--accent-2);border-color:#9dc7ca}.new-note-button{border-color:var(--accent);background:var(--accent);border-radius:9px}.nav-row:hover,.nav-row.active,.nav-row.selected{background:var(--accent-soft);color:var(--accent-2)}.notebook-create-form input,.character-button,.drive-principle{border-color:var(--line-strong);color:var(--text);background:#fff}.sidebar-notice{color:#9a6700;background:#fbf3e4;border-color:#ead8ae}.note-list{border-right:1px solid var(--line);background:var(--bg);flex-direction:column;min-height:0;display:flex}.list-heading{border-bottom:1px solid var(--line);min-height:88px;color:var(--muted);flex-direction:column;gap:8px;margin-top:8px;padding:10px 14px;display:flex}.list-heading-top,.list-control-row{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.list-control-row{align-items:stretch}.list-title{align-items:baseline;gap:8px;min-width:0;display:flex}.list-title span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.list-title strong{color:var(--muted);font-size:11px}.note-list-toggle{width:26px;height:26px}.note-list-search-toggle,.mobile-note-search-row{display:none}.list-heading-actions{flex:none;align-items:center;gap:5px;display:inline-flex}.note-list-action{border:1px solid var(--line-strong);color:#52605d;white-space:nowrap;background:#fff;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-width:26px;height:26px;padding:0 7px;font-size:11px;font-weight:800;display:inline-flex}.note-list-action:hover,.note-list-action:focus-visible{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.note-list-action svg{flex:none}.note-list-sort-control{flex:none;display:inline-flex;position:relative}.note-list-sort-button span{text-overflow:ellipsis;white-space:nowrap;max-width:68px;overflow:hidden}.note-list-search-box{flex:auto;min-width:0;max-width:170px;position:relative}.note-list-search-box svg{color:#9aa4af;pointer-events:none;position:absolute;top:50%;left:9px;transform:translateY(-50%)}.note-list-search-box input{color:#2a333c;background:#f3f5f6;border:1px solid #eaedf0;border-radius:6px;outline:0;width:100%;height:30px;padding:0 10px 0 30px;font-size:12.5px}.note-list-search-box input:focus{background:#fff;border-color:#9ccfbe;box-shadow:0 0 0 3px #0f9d6e1f}.note-list-sort-menu{z-index:65;border:1px solid var(--line-strong);width:150px;box-shadow:var(--shadow);background:#fff;border-radius:7px;gap:3px;padding:5px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.note-list-sort-menu button{min-width:0;height:30px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;font-size:12px;font-weight:800;display:flex}.note-list-sort-menu button:hover,.note-list-sort-menu button:focus-visible,.note-list-sort-menu button.active{background:var(--accent-soft);color:#116451;outline:none}.note-list-sort-menu span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.note-scroll{min-height:0;overflow-y:auto}.note-list-empty{min-height:320px;color:var(--muted);text-align:center;place-items:center;padding:28px 22px;display:grid}.note-list-empty>div{justify-items:center;gap:10px;max-width:230px;display:grid}.note-list-empty svg{color:#7c918c}.note-list-empty strong{color:var(--text);font-size:15px}.note-list-empty p{color:#667570;margin:0;font-size:12px;line-height:1.45}.note-list-empty button{color:#0f6d59;background:#fff;border:1px solid #1f8f7747;border-radius:6px;min-height:34px;margin-top:2px;padding:0 12px;font-size:12px;font-weight:800}.note-list-empty button:hover,.note-list-empty button:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #1f8f7724}.note-card{border-bottom:1px solid var(--line);background:0 0;width:100%;min-height:118px;position:relative}.note-card-main{width:100%;min-height:118px;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 86px;gap:12px;padding:12px 66px 12px 28px;display:grid}.note-card.text-only .note-card-main{grid-template-columns:minmax(0,1fr)}.note-card-main:focus-visible{box-shadow:inset 0 0 0 2px var(--accent), inset 0 0 0 4px #1f8f7724;outline:none}.note-card.selected{z-index:1;box-shadow:inset 3px 0 0 var(--accent)}.note-card.menu-open{z-index:3;min-height:188px}.note-card.menu-open .note-card-main{min-height:188px}.note-card[draggable=true] .note-card-main{cursor:grab}.note-card.dragging{opacity:.55}.note-card.dragging .note-card-main{cursor:grabbing}.note-drag-hint{color:#899692;opacity:.68;pointer-events:none;place-items:center;width:14px;height:18px;display:grid;position:absolute;top:14px;left:8px}.note-card:hover .note-drag-hint,.note-card:focus-within .note-drag-hint,.note-card.dragging .note-drag-hint{color:#116451;opacity:1}.note-more-button,.note-delete-button{color:#7d8a87;background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:10px}.note-more-button{right:37px}.note-delete-button{right:9px}.note-more-button:hover,.note-more-button[aria-expanded=true]{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.note-card-menu{z-index:80;border:1px solid var(--line-strong);width:208px;box-shadow:var(--shadow);background:#fff;border-radius:7px;gap:5px;padding:6px;display:grid;position:absolute;top:38px;right:9px}.note-card-menu-backdrop,.note-card-menu-header{display:none}.note-card-menu-section{gap:3px;display:grid}.note-card-menu-label{color:var(--muted);padding:3px 7px;font-size:11px;font-weight:800}.note-card-menu-item{min-width:0;min-height:30px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:0 8px;font-size:12px;font-weight:800;display:flex}.note-card-menu-item:hover,.note-card-menu-item:focus-visible{background:var(--accent-soft);color:#116451;outline:none}.note-card-menu-item.danger{color:var(--danger)}.note-card-menu-item.danger:hover,.note-card-menu-item.danger:focus-visible{color:var(--danger);background:#f8e8e8}.note-card-menu-item span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.note-card-menu-empty{color:var(--muted);padding:5px 8px 7px;font-size:12px}.note-copy{min-width:0}.note-date{color:var(--accent);margin-bottom:5px;font-size:11px;font-weight:800;display:block}.note-copy strong{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px;font-size:14px;line-height:1.25;display:-webkit-box;overflow:hidden}.note-copy p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.note-search-match{color:#0f6d59;background:#d8eee7;border-radius:3px;padding:0 2px;font-weight:800}.note-meta{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.note-meta span{color:#53615e;text-overflow:ellipsis;white-space:nowrap;background:#ecf1ee;border-radius:4px;max-width:130px;padding:3px 6px;font-size:10px;font-weight:700;overflow:hidden}.note-thumb{border:1px solid var(--line);color:#8b9894;background:#e9eeeb;border-radius:5px;align-self:center;place-items:center;width:86px;height:86px;padding:2px;display:grid;position:relative;overflow:hidden}.note-thumb>img{aspect-ratio:1;object-fit:contain;border-radius:4px;width:100%;min-width:0;height:100%;min-height:0;display:block}.note-image-count-badge{color:#fff;pointer-events:none;background:#111827d1;border:1px solid #ffffffc7;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:18px;padding:0 6px;font-size:11px;font-weight:800;line-height:1;display:inline-flex;position:absolute;bottom:5px;right:5px;box-shadow:0 4px 10px #11182738}@media (min-width:721px){.sidebar.collapsed{align-items:center;gap:14px;padding:14px 8px;overflow-x:hidden}.sidebar.collapsed .sidebar-desktop-controls{justify-content:center}.sidebar.collapsed .search-shell{display:none}.sidebar.collapsed .new-note-button{width:44px;padding:0;font-size:0}.sidebar.collapsed .nav-section h2,.sidebar.collapsed .nav-section-heading h2,.sidebar.collapsed .nav-row span,.sidebar.collapsed .nav-row small,.sidebar.collapsed .character-copy,.sidebar.collapsed .drive-principle{display:none}.sidebar.collapsed .nav-row,.sidebar.collapsed .nav-section-heading,.sidebar.collapsed .character-button{justify-content:center}.sidebar.collapsed .notebook-row-wrapper .notebook-row{padding-right:0}.sidebar.collapsed .notebook-row-actions{display:none}.sidebar.collapsed .character-button{padding:7px}.sidebar.collapsed .character-button>svg{display:none}.note-list.collapsed .list-heading{border-bottom:0;grid-template-columns:1fr;align-content:flex-start;justify-items:center;gap:3px;height:100%;padding:14px 6px;display:grid}.note-list.collapsed .list-heading-top{justify-content:center}.note-list.collapsed .list-control-row{display:none}.note-list.collapsed .list-title{justify-items:center;gap:1px;display:grid}.note-list.collapsed .list-title span,.note-list.collapsed .list-title strong,.note-list.collapsed .list-heading-actions .note-list-action,.note-list.collapsed .note-date,.note-list.collapsed .note-copy p,.note-list.collapsed .note-meta,.note-list.collapsed .note-thumb,.note-list.collapsed .note-drag-hint,.note-list.collapsed .note-delete-button{display:none}.note-list.collapsed .note-card,.note-list.collapsed .note-card-main{min-height:118px}.note-list.collapsed .note-card-main{justify-content:center;align-items:center;padding:10px 8px;display:flex}.note-list.collapsed .note-copy{text-align:center;width:100%}.note-list.collapsed .note-copy strong{-webkit-line-clamp:4;margin:0;font-size:11px;line-height:1.3}.note-list.collapsed .note-scroll{display:none}.note-list.collapsed .list-heading-actions{justify-content:center}.workspace.content-expanded .sidebar.collapsed .tag-section{display:none}}.editor-shell{background:var(--paper);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-shell .editor-pane{flex:1;container-type:inline-size}.mobile-editor-nav{display:none}.empty-editor-pane{background:var(--paper);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.empty-editor-layout-row{border-bottom:1px solid var(--line);justify-content:flex-start;align-items:center;min-height:72px;padding:0 24px;display:flex}.empty-editor-body{flex:1;place-items:center;min-width:0;min-height:0;padding:28px;display:grid}.empty-editor-content{width:min(100%,340px);color:var(--muted);text-align:center;justify-items:center;gap:10px;display:grid}.empty-editor-content svg{color:#8ba098}.empty-editor-content h2{color:#263333;letter-spacing:0;margin:0;font-size:22px;line-height:1.25}.empty-editor-content p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.empty-editor-actions{flex-wrap:wrap;justify-content:center;gap:8px;min-width:0;margin-top:8px;display:flex}.empty-editor-action{border:1px solid var(--line-strong);color:#344341;background:#fff;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:94px;max-width:min(100%,240px);min-height:32px;padding:6px 11px;font-size:12px;font-weight:800;line-height:1.2;display:inline-flex}.empty-editor-action:hover{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.empty-editor-action.primary{background:var(--accent);border-color:var(--accent);color:#fff}.empty-editor-action.primary:hover{background:#16886f;border-color:#16886f}.empty-editor-action.primary[data-note-title]:after{content:attr(data-note-title);text-overflow:ellipsis;white-space:nowrap;opacity:.86;min-width:0;max-width:150px;overflow:hidden}.editor-pane{background:var(--paper);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-pane>.editor-title-row{border-bottom:1px solid var(--line);flex-direction:column;justify-content:flex-start;align-items:stretch;gap:12px;min-height:104px;padding:12px 24px 10px;display:flex}.editor-title-top{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.editor-title-stack{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.editor-note-context{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:12px;font-weight:750;line-height:16px;display:flex;overflow:hidden}.editor-note-context-item{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:50%;overflow:hidden}.editor-notebook-select{color:#33413e;min-width:96px;max-width:180px;height:26px;font:inherit;text-overflow:ellipsis;background:#edf3f0;border:1px solid #0000;border-radius:5px;flex:0 auto;padding:0 24px 0 7px;font-weight:800}.editor-notebook-select:hover,.editor-notebook-select:focus-visible{background:var(--accent-soft);color:#116451;border-color:#7bb9aa;outline:none}.editor-title-field{min-width:0}.editor-title-field input{width:100%;min-width:0;height:32px;color:var(--text);letter-spacing:0;background:0 0;border:0;outline:0;padding:0;font-size:23px;font-weight:750;line-height:32px}.editor-layout-actions{flex:none;align-items:center;gap:6px;display:inline-flex}.editor-pane>.editor-title-row .editor-title-actions{flex:none;align-self:center;align-items:center;gap:8px;display:flex}.editor-note-list-toggle[aria-pressed=true],.editor-content-toggle[aria-pressed=true]{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.editor-pane>.editor-title-row .editor-delete-button{height:28px;min-height:28px;color:var(--danger);background:#fff;border:1px solid #e2c2c2;border-radius:6px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.editor-pane>.editor-title-row .editor-delete-button:hover{background:#f8e8e8}.editor-pane>.editor-title-row .sync-pill{min-width:80px;height:25px;color:var(--muted);white-space:nowrap;background:#edf1ef;border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.editor-pane>.editor-title-row .sync-pill.syncing{color:#2d5f90;background:#e5eef7}.editor-pane>.editor-title-row .sync-pill.error{color:var(--danger);background:#f8e1e1}.editor-toolbar{border-bottom:1px solid var(--line);background:#fbfcfb;align-items:center;gap:5px;padding:8px 18px;display:flex;overflow-x:auto}.tool-button{color:#4c5a57;background:#fff;flex:none;place-items:center;width:32px;height:32px;display:grid}.tool-button:hover,.tool-button.active{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.font-size-control{border:1px solid var(--line-strong);color:#4c5a57;background:#fff;border-radius:6px;flex:none;align-items:center;gap:5px;height:32px;padding:0 8px;display:inline-flex}.font-size-control:hover,.font-size-control:focus-within{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.font-size-control span{font-size:14px;font-weight:900;line-height:1}.font-size-control select{width:64px;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;outline:0;font-size:12px;font-weight:800}.attach-file-button{color:#4c5a57;background:#fff;flex:none;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.attach-file-button:hover{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.editor-notice{color:var(--danger);background:#fff3f3;border-bottom:1px solid #f0caca;justify-content:space-between;align-items:center;gap:10px;padding:8px 18px;font-size:12px;font-weight:700;display:flex}.editor-notice span{min-width:0}.editor-notice button{width:24px;height:24px;color:var(--danger);background:#fff;border-color:#b4404042;flex:none;place-items:center;padding:0;display:grid}.hidden-input{display:none}.tag-editor-row{border-bottom:1px solid var(--line);background:#f7faf8;grid-template-columns:minmax(0,1fr) minmax(180px,260px);align-items:center;gap:12px;padding:8px 18px;display:grid}.tag-chip-list{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex;overflow-x:visible}.tag-chip{border:1px solid var(--line);color:#42524f;background:#eef4f1;border-radius:999px;flex:none;align-items:center;gap:4px;height:25px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.tag-chip:hover{color:#116451;border-color:#7bb9aa}.tag-empty{color:var(--muted);font-size:12px;font-weight:700}.tag-create-form{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.tag-input-wrap{min-width:0;position:relative}.tag-create-form input{border:1px solid var(--line-strong);width:100%;min-width:0;height:28px;color:var(--text);background:#fff;border-radius:6px;outline:0;padding:0 9px;font-size:12px}.tag-suggestion-menu{width:min(230px,70vw);top:calc(100% + 5px);right:0}.tag-suggestion-menu button{min-height:28px;padding:5px 8px;font-size:12px;font-weight:800}.tag-create-form button{border:1px solid var(--line-strong);color:#42524f;background:#fff;border-radius:6px;height:28px;padding:0 9px;font-size:12px;font-weight:800}.tag-create-form>button[type=submit]{white-space:nowrap}@container (max-width:520px){.editor-toolbar{flex-wrap:wrap;overflow-x:visible}.tag-editor-row{grid-template-columns:1fr}.tag-chip-list{flex-wrap:wrap;overflow-x:visible}}.editor-surface{cursor:text;flex:1;min-height:0;padding:22px clamp(18px,4vw,46px) 22px clamp(42px,4vw,54px);transition:background-color .12s;position:relative;overflow-y:auto}.editor-starter-actions{flex-wrap:wrap;align-items:center;gap:7px;max-width:820px;margin:0 0 14px;display:flex}.editor-starter-actions button{border:1px solid var(--line-strong);color:#52605d;white-space:nowrap;background:#fff;border-radius:6px;align-items:center;gap:6px;min-height:30px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.editor-starter-actions button:hover,.editor-starter-actions button:focus-visible{background:var(--accent-soft);color:#116451;border-color:#7bb9aa}.editor-slash-menu{z-index:16;border:1px solid var(--line-strong);width:min(280px,100% - 36px);box-shadow:var(--shadow);background:#fff;border-radius:7px;gap:3px;padding:5px;display:grid;position:absolute}.editor-slash-menu button{color:#42524f;text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:42px;padding:7px 8px;display:grid}.editor-slash-menu button:hover,.editor-slash-menu button:focus-visible{background:var(--accent-soft);color:#116451}.editor-slash-menu button>span{gap:1px;min-width:0;display:grid}.editor-slash-menu strong,.editor-slash-menu small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-slash-menu strong{font-size:12px;font-weight:850}.editor-slash-menu small{color:var(--muted);font-size:11px;font-weight:700}.editor-block-handle{z-index:12;color:#7b8784;cursor:grab;opacity:.72;background:0 0;border:0;border-radius:5px;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.editor-block-handle:hover,.editor-block-handle:focus-visible,.editor-block-handle.dragging{color:#263333;opacity:1;background:#edf1ef}.editor-block-handle.dragging{cursor:grabbing}.editor-block-handle-dots{background-color:#0000;background-image:radial-gradient(circle at 1.5px 1.5px,currentColor 1.5px,#0000 1.6px),radial-gradient(circle at 1.5px 1.5px,currentColor 1.5px,#0000 1.6px),radial-gradient(circle at 1.5px 1.5px,currentColor 1.5px,#0000 1.6px),radial-gradient(circle at 1.5px 1.5px,currentColor 1.5px,#0000 1.6px);background-position:0 0,7px 0,0 7px,7px 7px;background-repeat:no-repeat;background-size:7px 7px,7px 7px,7px 7px,7px 7px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;grid-template-rows:repeat(2,3px);grid-template-columns:repeat(2,3px);gap:4px;width:12px;height:12px;display:grid}.editor-block-hover-highlight{z-index:0;pointer-events:none;background:#1f8f770f;border:1px solid #1f8f7729;border-radius:7px;position:absolute;left:clamp(18px,4vw,46px);right:clamp(18px,4vw,46px)}.editor-block-hover-highlight.dragging{background:#1f8f771a;border-color:#1f8f7747}.editor-block-drop-indicator{z-index:11;background:var(--accent);pointer-events:none;border-radius:999px;height:2px;position:absolute;left:clamp(18px,4vw,46px);right:clamp(18px,4vw,46px)}.ProseMirror{z-index:1;color:#202b2d;cursor:text;outline:none;max-width:820px;min-height:100%;font-size:16px;line-height:1.68;position:relative}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{letter-spacing:0;line-height:1.22}.ProseMirror h2{margin:0 0 14px;font-size:24px}.ProseMirror p{margin:0 0 13px}.ProseMirror p.is-editor-empty:first-child:before,.ProseMirror p.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#8a9693;pointer-events:none;height:0}.ProseMirror a{color:#116451;text-underline-offset:3px;font-weight:700;text-decoration:underline}.ProseMirror a:hover{color:#0d4f40}.ProseMirror ul,.ProseMirror ol{padding-left:23px}.ProseMirror img{border:1px solid var(--line);cursor:pointer;border-radius:6px;max-width:min(100%,720px);height:auto;margin:16px 0;display:block;box-shadow:0 10px 22px #1e292b1a}.youtube-embed{aspect-ratio:16/9;border:1px solid var(--line);border-radius:var(--radius);background:#111c1e;width:min(100%,820px);margin:18px 0;overflow:hidden;box-shadow:0 10px 22px #1e292b1a}.youtube-embed iframe{background:#111c1e;border:0;width:100%;height:100%;display:block}.ProseMirror .youtube-embed.ProseMirror-selectednode{outline:2px solid var(--accent);outline-offset:3px}.ProseMirror ul[data-type=taskList]{padding-left:0;list-style:none}.ProseMirror ul[data-type=taskList] li{align-items:flex-start;gap:8px;min-height:28px;display:flex}.ProseMirror ul[data-type=taskList] li label{flex:none;margin-top:2px}.ProseMirror ul[data-type=taskList] li>div{flex:1;min-width:0}.ProseMirror ul[data-type=taskList] li p{min-height:27px;margin:0 0 8px}.pdf-preview{border:1px solid var(--line);border-radius:var(--radius);background:#f8faf8;max-width:820px;margin:18px 0;overflow:hidden}.pdf-preview-header{border-bottom:1px solid var(--line);color:#41504d;background:#fff;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:0 12px;display:flex}.pdf-preview-header div{align-items:center;gap:7px;min-width:0;display:flex}.pdf-preview-header span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:800;overflow:hidden}.pdf-preview-header strong{color:var(--muted);white-space:nowrap;font-size:11px}.pdf-preview-canvas-wrap{background:#e9eeeb;justify-content:center;padding:16px 42px;display:flex;position:relative}.pdf-preview canvas{background:#fff;border-radius:4px;max-width:100%;height:auto;box-shadow:0 10px 24px #1e292b24}.pdf-page-button{border:1px solid var(--line-strong);color:#455350;background:#ffffffe6;border-radius:6px;place-items:center;width:30px;height:42px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.pdf-page-button.previous{left:8px}.pdf-page-button.next{right:8px}.pdf-preview-error{width:100%;color:var(--danger);background:#fff;border-radius:6px;padding:18px;font-size:12px;line-height:1.45}.attachment-content-flow{gap:18px;width:min(100%,820px);margin-top:18px;display:grid}.ProseMirror img[data-attachment-gallery-source=true]{display:none}.attachment-content-image{border:1px solid var(--line);border-radius:var(--radius);background:#f8faf8;margin:0;overflow:hidden}.attachment-gallery-image>img{object-fit:contain;background:#f1f4f2;width:100%;height:auto;max-height:78svh;display:block}.attachment-content-image figcaption{border-top:1px solid var(--line);min-height:34px;color:var(--muted);align-items:center;gap:8px;padding:6px 10px;font-size:11px;font-weight:750;display:flex}.attachment-content-image figcaption span{background:var(--accent-soft);min-width:20px;height:20px;color:var(--accent-2);border-radius:999px;place-items:center;font-size:10px;font-weight:900;display:grid}.attachment-gallery-image-fallback{min-height:220px;color:var(--muted);text-align:center;background:#f1f4f2;align-content:center;place-items:center;gap:8px;padding:24px;font-size:12px;font-weight:750;display:grid}.mobile-attachment-manager-trigger{display:none}.attachment-manager-backdrop{z-index:110;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d141675;justify-content:center;align-items:flex-end;padding:20px;display:flex;position:fixed;inset:0}.attachment-manager-sheet{border:1px solid var(--line-strong);background:#fff;border-radius:20px;flex-direction:column;width:min(620px,100%);max-height:min(760px,100svh - 40px);display:flex;overflow:hidden;box-shadow:0 -18px 48px #1f2a2e38}.attachment-manager-handle{display:none}.attachment-manager-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 20px 15px;display:flex}.attachment-manager-header h2{color:var(--text);margin:0;font-size:19px;line-height:1.3}.attachment-manager-header p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.attachment-manager-close{border:1px solid var(--line);background:var(--bg);width:34px;height:34px;color:var(--muted);border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.attachment-manager-list{overscroll-behavior:contain;gap:8px;min-height:0;padding:12px 14px 18px;display:grid;overflow-y:auto}.attachment-manager-item{border:1px solid var(--line);background:#fbfcfb;border-radius:12px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:68px;padding:7px;transition:border-color .12s,box-shadow .12s,transform .12s;display:grid}.attachment-manager-item.dragging{border-color:var(--accent);transform:scale(.985);box-shadow:0 8px 22px #1f8f772e}.attachment-manager-drag{width:36px;height:48px;color:var(--muted);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:9px;place-items:center;padding:0;display:grid}.attachment-manager-item.dragging .attachment-manager-drag{cursor:grabbing;background:var(--accent-soft);color:var(--accent-2)}.attachment-manager-preview{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:10px;padding:0;display:grid}.attachment-manager-thumbnail{border:1px solid var(--line);color:#9d2d2d;background:#f1f4f2;border-radius:9px;place-items:center;width:50px;height:50px;display:grid;overflow:hidden}.attachment-manager-thumbnail img{object-fit:cover;width:100%;height:100%}.attachment-manager-copy{gap:4px;min-width:0;display:grid}.attachment-manager-copy strong,.attachment-manager-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-manager-copy strong{font-size:13px}.attachment-manager-copy small{color:var(--muted);font-size:11px}.attachment-manager-actions{align-items:center;gap:4px;display:flex}.attachment-manager-actions button{border:1px solid var(--line);width:32px;height:32px;color:var(--muted);background:#fff;border-radius:8px;place-items:center;padding:0;display:grid}.attachment-manager-actions button:disabled{opacity:.35}.attachment-manager-actions .attachment-manager-delete{color:var(--danger)}.asset-strip{border-top:1px solid var(--line);background:#fbfcfb;gap:10px;padding:10px 18px;display:flex;overflow-x:auto}.cover{border:1px solid var(--line);color:#50605d;background:#fff;border-radius:6px;flex:none;width:72px;padding:4px;position:relative}.cover.selected{border-color:var(--accent);box-shadow:0 0 0 2px #1f8f771f}.cover-main{width:100%;color:inherit;text-align:center;background:0 0;border:0;border-radius:4px;padding:0;display:block}.cover-main:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.cover img{aspect-ratio:4/3;object-fit:cover;border-radius:4px;width:100%;display:block}.cover-main>svg{color:#9d2d2d;background:#f1f4f2;border-radius:4px;width:100%;height:46px;padding:11px}.cover span{color:#50605d;text-overflow:ellipsis;white-space:nowrap;justify-content:center;align-items:center;gap:4px;margin-top:5px;font-size:10px;font-weight:800;display:flex;overflow:hidden}.cover-delete-button{z-index:2;color:#fff;opacity:0;background:#000000d6;border:1px solid #ffffffdb;border-radius:999px;place-items:center;width:18px;height:18px;padding:0;transition:opacity .12s,transform .12s,background .12s;display:grid;position:absolute;top:3px;right:3px;transform:scale(.88)}.cover-delete-button:hover,.cover-delete-button:focus-visible{opacity:1;outline-offset:1px;background:#000;outline:2px solid #1f8f7766}@media (hover:none){.cover-delete-button{opacity:1;transform:scale(1)}}.modal-backdrop{z-index:80;background:#0d14166b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-modal{border:1px solid var(--line-strong);border-radius:var(--radius);width:min(380px,100%);box-shadow:var(--shadow);background:#fff;padding:20px;position:relative}.confirm-modal h2{color:var(--text);margin:0 28px 8px 0;font-size:18px;line-height:1.3}.confirm-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.modal-close-button{border:1px solid var(--line);color:#56625f;background:#fff;border-radius:5px;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:12px;right:12px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.settings-modal{border:1px solid var(--line-strong);border-radius:var(--radius);width:min(560px,100%);max-height:min(680px,100svh - 40px);box-shadow:var(--shadow);background:#fff;flex-direction:column;gap:18px;padding:22px;display:flex;position:relative;overflow-y:auto}.settings-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-modal h2{color:var(--text);margin:0 32px 5px 0;font-size:20px;line-height:1.25}.settings-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.donation-modal-backdrop{z-index:120}.donation-modal,.donation-thanks-modal{border:1px solid var(--line-strong);width:min(520px,100%);max-height:calc(100svh - 32px);box-shadow:var(--shadow);background:#f7f9fc;border-radius:18px;padding:22px;position:relative;overflow-y:auto}.donation-modal:before{content:"";background:linear-gradient(90deg, #2f63d8, var(--accent));border-radius:999px;height:3px;position:absolute;top:0;left:22px;right:22px}.donation-modal-header{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;margin-right:30px;display:grid}.donation-modal-icon,.donation-thanks-icon{background:var(--accent-soft);color:#116451;border-radius:8px;place-items:center;width:46px;height:46px;display:grid}.donation-modal-state-label{color:#0b6f64;background:#fff;border:1px solid #0f8b7d47;border-radius:9px;align-items:center;min-height:30px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.donation-modal h2,.donation-thanks-modal h2{color:var(--text);margin:0 0 6px;font-size:20px;line-height:1.25}.donation-modal p,.donation-thanks-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.donation-tier-list{gap:10px;margin:20px 0 12px;display:grid}.donation-tier-card{border:1px solid var(--line-strong);min-height:88px;color:var(--text);text-align:left;background:#fff;border-radius:14px;grid-template-columns:52px minmax(0,1fr) auto 20px;align-items:center;gap:12px;padding:12px 14px;display:grid;box-shadow:0 6px 18px #1b2d320a}.donation-tier-card:hover,.donation-tier-card:focus-visible,.donation-tier-card.selected{background:#f3faf8;border-color:#0f8b7db8;outline:none;box-shadow:0 0 0 2px #0f8b7d17}.donation-tier-icon{border-radius:14px;place-items:center;width:52px;height:52px;display:grid}.donation-tier-icon.cheer{color:#c98b1e;background:#fff2df}.donation-tier-icon.coffee{color:#315fb8;background:#e9efff}.donation-tier-icon.meal{color:#168a70;background:#e4f5ef}.donation-tier-card>.donation-tier-content{gap:4px;min-width:0;display:grid}.donation-tier-heading{align-items:center;gap:6px;min-width:0;display:flex}.donation-tier-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:850;line-height:1.25;overflow:hidden}.donation-tier-badge{color:#1d4ed8;background:#2563eb1a;border-radius:999px;flex:none;padding:2px 6px;font-size:11px;font-weight:850;line-height:1.2}.donation-tier-card small{color:var(--muted);font-size:12px;line-height:1.3}.donation-tier-card em{color:#0d7c70;white-space:nowrap;font-size:17px;font-style:normal;font-weight:850}.donation-tier-card>svg{color:#0d7c70}.donation-selection-hint{font-weight:750;margin:0 0 10px!important}.donation-policy-note{background:#fff;border:1px solid #1f8f7729;border-radius:11px;gap:5px;padding:12px 13px;display:grid}.donation-policy-note strong{color:#a13b36;font-size:12px;line-height:1.45}.donation-policy-note span,.donation-policy-note em{color:#52615d;font-size:12px;font-style:normal;line-height:1.5}.donation-policy-note em{color:var(--danger);text-align:center}.donation-error{color:var(--danger);background:#fff4f5;border:1px solid #d4434f38;border-radius:7px;align-items:flex-start;gap:6px;margin-top:10px;padding:9px 10px;display:flex}.donation-error svg{flex:none;margin-top:1px}.donation-modal-actions{margin:0 0 12px;display:block}.donation-modal-actions .primary-button{border-radius:13px;justify-content:center;width:100%;min-height:52px;font-size:16px}.donation-spin{animation:1.1s linear infinite drive-spin}.donation-thanks-modal{text-align:center;justify-items:center;gap:12px;display:grid}.donation-thanks-modal p{color:#52615d;max-width:380px}.donation-thanks-modal strong{background:var(--accent-soft);color:#116451;border-radius:999px;align-items:center;height:28px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}@media (max-width:520px){.donation-modal,.donation-thanks-modal{padding:18px}.donation-modal-header{grid-template-columns:40px minmax(0,1fr) auto;gap:10px}.donation-modal-icon,.donation-thanks-icon{width:38px;height:38px}.donation-tier-card{grid-template-columns:46px minmax(0,1fr) auto;gap:10px;padding:11px}.donation-tier-icon{width:46px;height:46px}.donation-tier-card>svg{display:none}.donation-modal-actions{justify-content:stretch}.donation-modal-actions .primary-button{width:100%}}.settings-section-list{gap:8px;display:grid}.settings-section-list article{border:1px solid var(--line);background:#f8faf8;border-radius:7px;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:11px 12px;display:grid}.settings-section-list .settings-pwa-section{background:#fff;padding:0;display:block;overflow:hidden}.settings-pwa-toggle{width:100%;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;display:grid}.settings-pwa-toggle:hover,.settings-pwa-toggle:focus-visible{background:#f3faf8;outline:none}.settings-pwa-icon{color:#315fb8;background:#e9efff;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.settings-pwa-copy{gap:3px;min-width:0;display:grid}.settings-pwa-copy strong{color:var(--text);font-size:14px}.settings-pwa-copy small{color:var(--muted);font-size:11px;line-height:1.4}.settings-pwa-toggle>svg{color:#71807d;transition:transform .16s}.settings-pwa-toggle>svg.open{transform:rotate(90deg)}.settings-pwa-guide{gap:8px;padding:0 12px 12px 65px;display:grid}.settings-pwa-guide>div{color:#42524f;background:#f7f9fc;border-radius:9px;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:9px 10px;display:grid}.settings-pwa-guide>div>svg{color:#0d7c70;margin-top:2px}.settings-pwa-guide>div>span{gap:2px;display:grid}.settings-pwa-guide>div strong{color:#263330;font-size:12px}.settings-pwa-guide>div small,.settings-pwa-guide>p{color:var(--muted);font-size:11px;line-height:1.45}.settings-pwa-guide>p{margin:2px 0 0}.settings-section-list strong{color:#116451;font-size:12px;font-weight:900}.settings-section-list span{color:#42524f;gap:7px;font-size:12px;line-height:1.45;display:grid}.settings-section-list a{color:#116451;text-underline-offset:3px;width:fit-content;font-weight:850;text-decoration:underline}.settings-data-actions{gap:8px;display:grid}.settings-data-actions span{color:#42524f;font-size:12px;line-height:1.45;display:block}.settings-data-error{color:var(--danger);background:#fff3f3;border:1px solid #f0caca;border-radius:6px;margin:0;padding:7px 9px;font-size:12px;font-weight:750;line-height:1.45}.settings-action-button{width:fit-content}.settings-section-list .settings-withdrawal-section{border-color:var(--danger);background:var(--paper)}.settings-section-list .settings-withdrawal-section>strong{color:var(--danger)}.settings-withdrawal-actions{gap:8px;display:grid}.settings-withdrawal-button{width:fit-content;min-height:44px;color:var(--danger);text-align:left;background:0 0;border:0;border-radius:6px;margin-left:-8px;padding:0 8px;font-size:13px;font-weight:850}.settings-withdrawal-button:hover,.settings-withdrawal-button:focus-visible{background:var(--danger-soft);outline:none}.task-panel{border-left:1px solid var(--line);background:#e7ece9;min-width:0;min-height:0;padding:14px;overflow:hidden auto}.panel-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.task-panel-heading-actions{align-items:center;gap:6px;display:flex}.panel-icon-button{border:1px solid var(--line-strong);color:#52605d;background:#fff;border-radius:5px;flex:none;place-items:center;width:28px;height:28px;display:grid}.task-create-form{grid-template-columns:minmax(0,1fr) minmax(78px,auto);gap:7px;margin-bottom:12px;display:grid}.task-filter-toggle{color:var(--muted);align-items:center;gap:7px;margin:0 0 8px;font-size:12px;font-weight:800;display:flex}.task-filter-toggle button{color:#6c7774;font:inherit;background:0 0;border:0;padding:0}.task-filter-toggle button.active{color:var(--accent)}.task-create-form input{border:1px solid var(--line-strong);min-width:0;height:34px;color:var(--text);background:#fff;border-radius:6px;outline:0;padding:0 10px;font-size:13px}.task-create-form .primary-button{justify-content:center;min-width:78px}.task-list{gap:7px;display:grid}.task-row{opacity:1;background:#fff;grid-template-columns:14px 24px minmax(0,1fr) 28px;align-items:start;gap:7px;padding:8px;display:grid;position:relative}.task-row.drop-before:before,.task-row.drop-after:after{background:var(--accent);content:"";border-radius:999px;height:2px;position:absolute;left:8px;right:8px}.task-row.drop-before:before{top:-5px}.task-row.drop-after:after{bottom:-5px}.task-row.dragging{opacity:.42}.task-row.completed .task-title{color:var(--muted);text-decoration:line-through}.task-title{overflow-wrap:anywhere;white-space:normal;min-width:0;font-size:12px;font-weight:700;line-height:1.45}.task-drag-handle{color:#9aaaa5;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;place-items:center;width:14px;height:24px;padding:0;display:grid}.task-drag-handle:active{cursor:grabbing}.task-drag-handle:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid #25755e73}.task-check{color:#8fa19c;background:0 0;border:0;place-items:center;width:24px;height:24px;display:grid}.task-row.completed{opacity:.58}.task-completed-divider{color:#879590;place-items:center;padding:3px 0 2px;font-size:11px;font-weight:900;display:grid}.task-empty,.task-error{border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);background:#fff;padding:10px;font-size:12px;line-height:1.45}.task-empty{align-items:center;gap:7px;display:flex}.task-panel.collapsed{place-items:start center;padding:10px 0;display:grid;overflow:hidden}.task-panel-rail-button{border:1px solid var(--line-strong);color:#116451;background:#fff;border-radius:7px;flex-direction:column;justify-content:flex-start;align-items:center;gap:9px;width:38px;min-height:112px;font-size:11px;font-weight:900;display:flex}.task-panel-rail-button span{writing-mode:vertical-rl;text-orientation:mixed}.task-error{color:var(--danger);margin-bottom:10px}.task-error span{display:block}.task-reconnect-button{width:100%;height:32px;color:var(--danger);background:#fff;border:1px solid #b4404052;border-radius:6px;margin-top:9px;font-size:12px;font-weight:800}.task-reconnect-button:disabled{cursor:wait;opacity:.65}.marumemo-app{background:var(--bg)}.app-header{height:var(--header-height);border-bottom:1px solid var(--line);box-shadow:none;background:#fff;padding:0 16px}.app-header .brand-logo .brand-logo-full{height:34px}.header-actions{gap:8px}.ghost-button,.primary-button,.danger-button{color:#414b55;border-color:#e0e4e8;border-radius:7px;height:36px;padding:0 13px;font-size:13px;font-weight:700}.primary-button{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 1px 2px #0f9d6e4d}.primary-button:hover{background:#0a8f62}.danger-button{color:var(--danger);box-shadow:none;background:#fff;border-color:#f2d4d4}.header-content-wide-button{color:#414b55;background:#fff;border-color:#e0e4e8}.header-content-wide-button[aria-pressed=true],.editor-note-list-toggle[aria-pressed=true],.editor-content-toggle[aria-pressed=true]{background:var(--accent-soft);color:#0a7a54;border-color:#cce8dc}.account-switch-overlay{-webkit-backdrop-filter:blur(18px)saturate(.85);background:#161c2280}.account-switch-overlay:before{background:0 0}.account-switch-status{background:#fff;border:0;border-radius:12px;flex-direction:column;gap:12px;min-width:min(300px,100vw - 48px);padding:28px 26px 24px;font-size:15px;font-weight:800;box-shadow:0 24px 60px #00000052}.account-switch-spinner{border-width:2px;border-color:#e6f0eb;border-top-color:var(--accent);width:18px;height:18px}.workspace{grid-template-columns:var(--sidebar-panel-width,248px) 6px var(--notes-panel-width,336px) 6px minmax(0, 1fr) 6px var(--tasks-panel-width,316px);background:var(--bg)}.panel-resize-handle:before{background:#e1e5e8}.panel-collapse-button,.editor-content-wide-toggle,.note-list-action,.panel-icon-button{color:#5a6571;background:#fff;border-color:#e0e4e8;border-radius:7px}.panel-collapse-button:hover,.editor-content-wide-toggle:hover,.editor-content-wide-toggle:focus-visible,.note-list-action:hover,.note-list-action:focus-visible,.panel-icon-button:hover,.panel-icon-button:focus-visible{color:#0a7a54;background:#f4faf7;border-color:#d7ece3}.sidebar{background:linear-gradient(180deg, var(--sidebar), var(--sidebar-2));gap:18px;padding:14px 12px 16px}.sidebar-desktop-controls{justify-content:space-between;align-items:center;min-height:28px}.sidebar-desktop-controls:before{content:"Workspace";color:#5f6e7e;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.sidebar.collapsed .sidebar-desktop-controls:before{display:none}.sidebar-collapse-button,.icon-button{color:#8896a5;background:#ffffff0a;border-color:#ffffff17;border-radius:6px}.sidebar-collapse-button:hover,.icon-button:hover{color:#e9f0f6;background:#ffffff17}.search-box{color:#a9b6c4;background:#222e3a;border-color:#303d4b;border-radius:7px;height:38px}.search-box input{color:#e7edf3;font-size:13px}.search-clear-button{background:#ffffff0d;border-radius:6px}.new-note-button{border-color:var(--accent);background:var(--accent);color:#fff;border-radius:7px;height:40px;font-size:14px;box-shadow:0 1px 2px #0000002e}.new-note-button:hover{background:#0a8f62}.nav-section h2,.nav-section-heading h2{color:#69788a;letter-spacing:.08em}.nav-row{color:#aebac7;border-radius:7px;min-height:36px;font-size:13px}.nav-row:hover,.nav-row.active,.nav-row.selected{color:#eef7f2;box-shadow:inset 2px 0 0 var(--accent);background:#0f9d6e29}.nav-row small{color:#69788a;background:#ffffff0d;border-radius:20px;padding:1px 7px;font-weight:700}.nav-row.active small,.nav-row.selected small{color:#8fe3c2;background:#8fe3c224}.notebook-action-button{background:#141a20e0}.character-button{background:#222e3a;border-color:#2f3c4a;border-radius:9px;min-height:54px;padding:9px 10px}.character-button:hover,.character-button[aria-expanded=true]{background:#2a3744}.character-avatar{color:#fff;background:linear-gradient(135deg,#13a978,#0c7d57);border-radius:8px;width:34px;height:34px}.character-menu{background:#2a3744;border-color:#384759;box-shadow:0 12px 30px #0006}.character-menu button,.character-menu a{color:#dfe7ee}.drive-principle{background:#222e3a;border-color:#2f3c4a;border-radius:9px}.drive-principle p{color:#aebac7}.note-list{background:#fafbfb;border-right:1px solid #e7e9ec}.list-heading{background:#fafbfb;border-bottom:1px solid #ebedf0;height:auto;min-height:88px;margin-top:0;padding:14px 14px 10px}.list-heading-top{margin-bottom:2px}.list-control-row{gap:8px}.list-title span{color:var(--text);font-size:15px;font-weight:800}.list-title strong{background:var(--accent-soft);color:#0a7a54;border-radius:20px;padding:1px 8px;font-size:12px;font-weight:800}.note-list-action{min-width:30px;height:30px;font-size:12px}.note-list-search-toggle{display:none}.note-list-sort-button{padding:0 10px}.note-list-search-box{max-width:170px}.note-scroll{background:#fafbfb;padding:0 10px 12px}.note-card{background:#fff;border:1px solid #ebedf0;border-radius:9px;min-height:116px;margin-bottom:8px;box-shadow:0 1px 2px #141e2808}.note-card-main{grid-template-columns:minmax(0,1fr) 54px;gap:12px;min-height:116px;padding:12px 46px 12px 34px}.note-card:hover,.note-card.selected{background:#fff}.note-card.selected{border-color:var(--accent);box-shadow:0 1px 3px #0f9d6e1f}.note-date{color:var(--accent);font-size:12px}.note-copy strong{font-size:15px}.note-copy p{color:#6d7882;font-size:12.5px}.note-meta span{color:#5a6571;background:#eef1f3;border-radius:5px;font-size:11px;font-weight:700}.note-thumb{background:#eef1f3;border-radius:7px;width:54px;height:54px}.note-more-button,.note-delete-button{color:#8a94a0;border-radius:6px;top:12px}.note-more-button:hover,.note-more-button[aria-expanded=true]{color:#5a6571;background:#f1f3f5;border-color:#0000}.note-delete-button:hover{color:var(--danger);background:#fdecec;border-color:#0000}.editor-shell,.editor-pane{background:#fff}.editor-pane>.editor-title-row{border-bottom:0;align-items:stretch;gap:0;min-height:130px;padding:14px 24px 0}.editor-title-top{min-height:32px}.editor-layout-actions{padding-top:0}.editor-title-stack{gap:10px}.editor-note-context{color:#7d8a98;font-size:12px}.editor-notebook-select{color:#33404b;background:#f6f8f9;border-color:#e0e4e8;border-radius:7px;min-width:112px;height:32px;font-size:13px}.editor-title-field{padding-top:18px}.editor-title-field input{color:#161c22;height:38px;font-size:27px;font-weight:800;line-height:38px}.editor-pane>.editor-title-row .editor-delete-button{height:32px;color:var(--danger);border-color:#f2d4d4;border-radius:7px;font-size:13px}.editor-pane>.editor-title-row .sync-pill{color:#5a6571;background:#eef1f3;min-width:0;height:30px;padding:0 12px;font-size:12px;font-weight:700}.editor-pane>.editor-title-row .sync-pill.synced{background:var(--accent-soft);color:#0a7a54}.editor-toolbar{background:#fafbfc;border:1px solid #e8ebee;border-radius:9px;gap:2px;width:max-content;max-width:calc(100% - 48px);margin:0 24px 12px;padding:5px}.editor-toolbar-move-handle{display:none}.tool-button,.font-size-control,.attach-file-button{color:#5a6571;background:0 0;border-color:#0000;border-radius:6px;height:32px}.tool-button:hover,.tool-button.active,.font-size-control:hover,.font-size-control:focus-within,.attach-file-button:hover{color:#1b2228;background:#eceff2;border-color:#0000}.font-size-control,.attach-file-button{padding:0 9px;font-size:12.5px;font-weight:700}.tag-editor-row{background:#fff;border-top:1px solid #ebedf0;border-bottom:1px solid #ebedf0;grid-template-columns:minmax(0,1fr) minmax(190px,306px);gap:14px;padding:8px 24px 12px}.tag-chip-list{flex-wrap:wrap;overflow-x:visible}.tag-chip{color:#41505c;background:#eef1f3;border:0;border-radius:7px;height:30px;font-size:12.5px;font-weight:700}@container (max-width:520px){.tag-editor-row{grid-template-columns:1fr}.tag-chip-list{flex-wrap:wrap;overflow-x:visible}}.tag-empty{color:#5a6571;font-size:12.5px}.tag-create-form input{border-color:#e0e4e8;border-radius:7px;height:32px;font-size:12.5px}.tag-create-form button{color:#41505c;border-color:#e0e4e8;border-radius:7px;height:32px;padding:0 14px;font-size:12.5px}@container (max-width:720px){.tag-editor-row{grid-template-columns:1fr}}.editor-surface{background:#fff;padding:22px 24px 22px 44px}.editor-surface:focus-within{background:#fff}.editor-starter-actions button{border-radius:7px}.asset-strip{background:#fbfcfc;border-top:1px solid #ebedf0;flex:none;padding:12px 24px 10px;display:block;overflow:hidden}.asset-strip-heading{color:#5a6571;align-items:center;gap:7px;margin-bottom:10px;display:flex}.asset-strip-heading svg{color:#7d8a98}.asset-strip-heading span{font-size:12px;font-weight:800}.asset-strip-scroll{align-items:stretch;gap:10px;padding-bottom:2px;display:flex;overflow-x:auto}.cover{background:0 0;border:0;margin:0;padding:0}.cover.image-cover{width:96px;height:72px}.cover.image-cover .cover-main{background:#eef1f3;border:1px solid #e0e4e8;border-radius:8px;width:96px;height:72px;position:relative;overflow:hidden}.cover.image-cover.selected .cover-main{border:2px solid var(--accent)}.cover.image-cover img{aspect-ratio:auto;object-fit:cover;border-radius:7px;width:100%;height:100%}.cover.image-cover .cover-main>svg{color:#9aa4af;background:#eef1f3;width:100%;height:100%;padding:18px}.cover .cover-star-control{z-index:1;color:#fff;-webkit-backdrop-filter:blur(2px);background:#141a209e;border-radius:999px;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:5px;left:5px}.cover.image-cover.selected .cover-star-control{background:#0f9d6ef2}.cover .cover-badge{color:#fff;background:#0f9d6eeb;border-radius:5px;margin:0;padding:1px 7px;font-size:10px;font-weight:800;position:absolute;bottom:5px;left:5px}.cover.selected{box-shadow:none}.cover.file-cover{width:220px;height:72px}.cover.file-cover .cover-main{border:1px solid var(--line);color:#2c343c;text-align:left;background:#fff;border-radius:8px;align-items:center;gap:10px;width:220px;height:72px;padding:0 44px 0 12px;display:flex}.cover .cover-file-icon{width:38px;height:38px;color:var(--danger);background:#fdecec;border-radius:7px;flex:none;place-items:center;display:grid}.cover .cover-file-copy{gap:2px;min-width:0;margin:0;display:grid}.cover .cover-file-name,.cover .cover-file-meta{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;display:block;overflow:hidden}.cover .cover-file-name{color:#2c343c;max-width:130px;font-size:12.5px;font-weight:800}.cover .cover-file-meta{color:#8a94a0;font-size:11px;font-weight:700}.cover-delete-button{color:#fff;-webkit-backdrop-filter:blur(2px);background:#141a20c7;border:1px solid #ffffffdb;border-radius:999px;width:22px;height:22px;top:5px;right:5px}.cover.file-cover .cover-delete-button{top:8px;right:8px}.cover:hover .cover-delete-button,.cover:focus-within .cover-delete-button{opacity:1;transform:scale(1)}.cover-delete-button:hover,.cover-delete-button:focus-visible{background:#000}.task-panel{background:#fff;border-left:1px solid #e7e9ec;padding:16px}.panel-heading span{color:var(--text);font-size:15px;font-weight:800}.panel-note{color:#8a94a0;margin:10px 0 14px;font-size:12px;line-height:1.6}.task-empty,.task-error{color:#8a6312;background:#fdf8ec;border-color:#f0e6cf;border-radius:9px}.task-filter-toggle{background:var(--accent-soft);color:#5a6571;border-radius:7px;padding:7px 10px}.task-create-form{grid-template-columns:minmax(0,1fr) 36px;gap:8px}.task-create-form input{border-color:#e0e4e8;border-radius:7px;height:36px;font-size:13px}.task-create-form .primary-button{border-radius:7px;gap:0;width:36px;min-width:36px;height:36px;padding:0;font-size:0}.task-create-form .primary-button svg{width:16px;height:16px}.task-list{gap:6px}.task-row{background:0 0;border:0;border-radius:7px;grid-template-columns:14px 24px minmax(0,1fr) 28px;padding:9px 8px}.task-row:hover{background:#f5f7f8}.task-title{color:#2c343c;font-size:13px;font-weight:700}.task-check{color:#9aa4af}.task-row.completed .task-check{color:var(--accent)}@media (hover:none){.cover-delete-button{opacity:1;transform:scale(1)}}.tablet-task-button{display:none}@media (max-width:1180px){.app-header{grid-template-columns:74px minmax(220px,1fr) auto}.workspace{grid-template-columns:clamp(64px, var(--sidebar-panel-width,238px), 280px) clamp(52px, var(--notes-panel-width,340px), 330px) minmax(0, 1fr)}.workspace.content-expanded{grid-template-columns:64px 52px minmax(0,1fr)}.panel-resize-handle{display:none}.sidebar{padding:12px 8px}.app-header .brand span,.app-header .brand-logo-full,.task-panel,.task-panel.collapsed{display:none}.app-header .brand-logo .brand-logo-symbol{display:block}}@media (max-width:900px){.app-header{grid-template-columns:1fr;align-items:stretch;height:auto}.header-actions{justify-content:flex-start;overflow-x:auto}.workspace{grid-template-columns:68px minmax(250px,38vw) minmax(360px,1fr)}.editor-title-field input{font-size:20px}}@media (min-width:721px) and (max-width:1180px){.tablet-task-button{display:inline-flex}.mobile-task-backdrop.open{z-index:55;background:#0f17196b;border:0;padding:0;display:block;position:fixed;inset:0}.workspace.mobile-tasks-open .task-panel{z-index:60;border-left:1px solid var(--line);background:#e7ece9;width:min(380px,90vw);height:100svh;max-height:none;padding:18px;display:block;position:fixed;inset:0 0 0 auto;overflow-y:auto}}@media (min-width:721px) and (max-width:970px){.app-header{height:var(--header-height);grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.mobile-menu-button{border:1px solid var(--line-strong);color:#263333;background:#fff;border-radius:7px;grid-area:1/1;place-items:center;width:36px;height:36px;display:grid}.mobile-menu-avatar{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block}.mobile-menu-initial{display:none}.mobile-menu-fallback-icon{display:block}.app-brand-logo{grid-area:1/2}.header-actions{grid-area:1/3}.header-actions .ghost-button{justify-content:center;width:36px;min-width:36px;padding:0}.header-actions .ghost-button span{display:none}.workspace,.workspace.content-expanded{grid-template-columns:clamp(52px, var(--notes-panel-width,340px), 38vw) minmax(0, 1fr)}.mobile-drawer-backdrop{z-index:55;opacity:0;pointer-events:none;background:#0f17196b;border:0;padding:0;transition:opacity .16s;display:none;position:fixed;inset:0 0 0 min(320px,86vw)}.mobile-drawer-backdrop.open{opacity:1;pointer-events:auto;display:block}.sidebar{z-index:60;visibility:hidden;-webkit-overflow-scrolling:touch;width:min(320px,86vw);height:100svh;min-height:100svh;padding:14px 12px 18px;transition:transform .18s;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%)}.sidebar.mobile-open{visibility:visible;transform:translate(0)}.mobile-drawer-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.mobile-drawer-header strong{color:#f2f7f5;font-size:18px;line-height:1.2}.mobile-drawer-header .icon-button{width:30px;height:30px}.sidebar-desktop-controls{display:none}}@media (max-width:720px){html,body,#root{height:auto}.marumemo-app{background:#f3f6f4;height:auto;min-height:100svh}.app-header{z-index:20;grid-template-columns:38px minmax(0,1fr);gap:9px 10px;padding:10px 12px;display:grid;position:sticky;top:0}.mobile-menu-button{border:1px solid var(--line-strong);color:#263333;background:#fff;border-radius:7px;grid-area:1/1;align-self:center;place-items:center;width:36px;height:36px;display:grid}.app-header .brand-logo .brand-logo-symbol{display:none}.app-brand-logo{grid-area:1/2;align-self:center}.search-shell{grid-area:2/1/auto/-1;max-width:none}.search-box{background:#fff;height:38px}.header-actions{grid-area:3/1/auto/-1;justify-content:flex-start;gap:6px;overflow-x:visible}.ghost-button,.primary-button{height:32px;padding:0 9px;font-size:11px}.system-banner{padding:8px 12px;font-size:11px;line-height:1.45}.workspace{display:block;overflow:visible}.mobile-drawer-backdrop{z-index:55;opacity:0;pointer-events:none;background:#0f17196b;border:0;padding:0;transition:opacity .16s;display:none;position:fixed;inset:0 0 0 min(320px,86vw)}.mobile-drawer-backdrop.open{opacity:1;pointer-events:auto;display:block}.sidebar{z-index:60;visibility:hidden;-webkit-overflow-scrolling:touch;background:linear-gradient(#243238,#1f2d33);width:min(320px,86vw);height:100svh;min-height:100svh;padding:14px 12px 18px;transition:transform .18s;display:block;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%)}.mobile-drawer-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.mobile-drawer-header strong{color:#f2f7f5;font-size:18px;line-height:1.2}.mobile-drawer-header .icon-button{width:30px;height:30px}.new-note-button{justify-content:center;width:100%;height:40px;padding:0 12px;font-size:13px}.nav-section{margin-top:16px;padding-bottom:0;display:block;overflow:visible}.nav-section h2,.nav-section-heading h2{color:#9baaa8;min-width:0;margin:0 0 7px;font-size:11px;display:block}.nav-row{white-space:normal;background:0 0;border:0;justify-content:flex-start;gap:7px;width:100%;min-width:0;min-height:36px;margin-top:5px;padding:7px 9px}.nav-row span,.nav-row small{display:inline}.nav-row small{margin-left:auto}.notebook-create-form{grid-template-columns:minmax(0,1fr) 28px 28px}.notebook-create-form input{width:auto;height:28px;padding:0 8px}.notebook-row-wrapper .notebook-row{padding-right:72px}.notebook-row-actions{opacity:1;pointer-events:auto;gap:6px;right:8px}.notebook-action-button{width:28px;height:28px}.drive-principle{display:none}.note-list{border-right:0;border-bottom:1px solid var(--line);background:#eef2ef;max-height:none}.list-heading{background:#f8faf8;height:42px;padding:0 12px}.list-control-row{display:none}.note-scroll{padding:10px 12px 12px;display:block;overflow:visible}.note-card{border:1px solid var(--line);background:#f8faf8;border-radius:7px;width:100%;min-height:128px;margin-bottom:10px;overflow:hidden}.editor-content-wide-toggle span,.note-drag-hint{display:none}.note-thumb{width:64px;height:64px}.editor-shell{z-index:50;background:var(--paper);pointer-events:none;height:100svh;min-height:100svh;transition:transform .22s;position:fixed;inset:0;overflow:hidden;transform:translate(100%);box-shadow:-18px 0 32px #1724272e}.editor-shell.empty{display:none}.workspace.mobile-editor-open .editor-shell{pointer-events:auto;transform:translate(0)}.mobile-editor-nav{border-bottom:1px solid var(--line);background:#fbfcfb;flex:none;align-items:center;gap:10px;min-height:48px;padding:0 12px;display:flex}.mobile-editor-nav span{color:#263333;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:800;overflow:hidden}.mobile-editor-back{border:1px solid var(--line-strong);color:#263333;background:#fff;border-radius:7px;flex:none;align-items:center;gap:5px;height:34px;padding:0 9px;font-size:13px;font-weight:800;display:inline-flex}.editor-pane{border-top:0;flex:1;min-height:0;overflow:hidden}.editor-pane>.editor-title-row{flex-direction:column;align-items:flex-start;gap:7px;min-height:auto;padding:13px 14px 10px}.editor-title-stack{width:100%}.editor-title-field input{width:100%;height:auto;font-size:21px;line-height:1.25}.editor-note-context{width:100%}.editor-pane>.editor-title-row .sync-pill{min-width:0;height:24px}.editor-pane>.editor-title-row .editor-title-actions{justify-content:space-between;width:100%}.editor-layout-actions,.empty-editor-layout-row,.editor-block-handle,.editor-block-hover-highlight,.editor-block-drop-indicator{display:none}.editor-toolbar{flex-wrap:wrap;gap:6px;padding:8px 12px}.tool-button{width:34px;height:34px}.font-size-control,.attach-file-button{height:34px}.tag-editor-row{grid-template-columns:1fr;gap:8px;padding:8px 12px}.tag-create-form{grid-template-columns:minmax(0,1fr) 60px}.settings-modal{width:100%;max-height:calc(100svh - 24px);padding:18px}.settings-section-list article{grid-template-columns:1fr;gap:5px}.settings-pwa-guide{padding-left:12px}.editor-surface{-webkit-overflow-scrolling:touch;min-height:0;padding:22px 16px 28px;overflow-y:auto}.ProseMirror{max-width:none;font-size:16px;line-height:1.72}.ProseMirror h2{font-size:22px}.ProseMirror img,.pdf-preview{max-width:100%}.pdf-preview-canvas-wrap{padding:14px 34px}.pdf-page-button{width:28px;height:40px}.asset-strip{padding:9px 12px}.task-panel{display:none}.mobile-new-note-fab{z-index:30;color:#fff;background:linear-gradient(135deg,#1f8f77,#43b99e);border:0;border-radius:999px;place-items:center;width:62px;height:62px;display:grid;position:fixed;bottom:18px;right:16px;box-shadow:0 14px 28px #18494047}.mobile-new-note-fab span{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace.mobile-editor-open+.mobile-new-note-fab,.workspace.mobile-tasks-open+.mobile-new-note-fab,.workspace.mobile-more-open+.mobile-new-note-fab{display:none}html,body{--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#000}.marumemo-app{color:#f4f4f4;background:#000}.app-header{box-shadow:none;background:#000;border-bottom:0;grid-template-rows:48px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:22px 14px 10px}.app-header .app-brand-logo{display:none}.mobile-menu-button{color:#fff;background:#159b84;border:0;border-radius:999px;width:44px;height:44px;font-size:18px;font-weight:800}.mobile-menu-avatar{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block}.mobile-menu-initial{place-items:center;display:grid}.mobile-menu-fallback-icon{display:none}.header-actions{grid-area:1/3;justify-content:flex-end;gap:8px}.header-actions .ghost-button,.header-actions .primary-button{color:#e8e8e8;background:0 0;border:0;border-radius:999px;justify-content:center;width:38px;min-width:38px;height:38px;padding:0;font-size:0}.header-actions .header-content-wide-button,.header-actions .ghost-button span,.header-actions .primary-button span{display:none}.workspace{background:#000;min-height:calc(100svh - 80px);padding-bottom:78px}.note-list{color:#f3f3f3;background:#000;border:0;min-height:calc(100svh - 80px)}.list-heading{background:#000;border-bottom:1px solid #252525;align-items:flex-end;height:auto;padding:16px 14px 10px}.list-title{gap:6px;display:grid}.list-title span{color:#f5f5f5;font-size:18px;font-weight:800;line-height:1.25}.list-title strong{color:#9a9a9a;order:-1;font-size:13px;font-weight:600}.list-heading-actions{gap:10px}.note-list-action,.panel-collapse-button.note-list-toggle{color:#e9e9e9;background:0 0;border:0;border-radius:999px;width:36px;min-width:36px;height:36px}.note-list-search-toggle{display:inline-flex}.note-list-sort-button span,.note-list-toggle{display:none}.mobile-note-search-row{background:#000;border-bottom:1px solid #252525;padding:0 14px 12px;display:block}.mobile-note-search-box{color:#bdbdbd;background:#171717;border:1px solid #303030;border-radius:6px;align-items:center;gap:9px;height:42px;padding:0 12px;display:flex}.mobile-note-search-box input{color:#f0f0f0;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:14px}.mobile-note-search-box button{color:#d8d8d8;background:0 0;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;display:grid}.note-list-sort-menu,.search-suggestion-menu,.tag-suggestion-menu{background:#202020;border-color:#303030;box-shadow:0 18px 42px #00000057}.note-list-sort-menu button,.search-suggestion-menu button,.tag-suggestion-menu button{color:#efefef}.note-card{background:#000;border:0;border-bottom:1px solid #262626;border-radius:0;min-height:148px;margin:0}.note-card.text-only .note-card-main{grid-template-columns:minmax(0,1fr)}.note-delete-button,.note-drag-hint,.note-meta{display:none}.note-more-button{color:#f0f0f0;background:#00000052;border-color:#0000;border-radius:999px;width:44px;height:44px;display:grid;top:10px;right:0}.note-more-button:hover,.note-more-button:focus-visible,.note-more-button[aria-expanded=true]{color:#fff;background:#242424;border-color:#4b4b4b;outline:none}.note-card.menu-open,.note-card.menu-open .note-card-main{min-height:148px}.note-card.menu-open{z-index:70}.note-card-menu-backdrop{z-index:89;background:#0000008a;border:0;border-radius:0;display:block;position:fixed;inset:0}.note-card-menu{z-index:90;width:auto;max-height:min(76svh,520px);padding:10px 14px calc(16px + env(safe-area-inset-bottom));background:#202020;border:1px solid #303030;border-bottom:0;border-radius:18px 18px 0 0;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -18px 42px #0000006b}.note-card-menu-header{color:#f4f4f4;border-bottom:1px solid #303030;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 2px 8px;display:flex}.note-card-menu-header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:850;overflow:hidden}.note-card-menu-header button{color:#f4f4f4;background:#171717;border:1px solid #303030;border-radius:999px;flex:none;place-items:center;width:40px;height:40px;display:grid}.note-card-menu-section{gap:5px;padding-top:8px}.note-card-menu-label{color:#9c9c9c;padding:7px 2px 5px}.note-card-menu-item{color:#efefef;min-height:46px;padding:0 10px;font-size:14px}.note-card-menu-item:hover,.note-card-menu-item:focus-visible{color:#fff;background:#293b37}.note-card-menu-item.danger:focus-visible,.note-card-menu-item.danger:hover{color:#ffb8b8;background:#3a2424}.note-copy{flex-direction:column;min-height:116px;display:flex}.note-date{color:#9a9a9a;order:3;margin:auto 0 0;font-size:13px;font-weight:500}.note-copy strong{color:#f6f6f6;margin-bottom:10px;font-size:17px;font-weight:800;line-height:1.25}.note-copy p{color:#c7c7c7;-webkit-line-clamp:3;font-size:13px;line-height:1.45}.note-thumb{color:#777;background:#151515;border-color:#2a2a2a;border-radius:4px;width:102px;height:102px}.note-list-empty{color:#9a9a9a;min-height:calc(100svh - 240px)}.note-list-empty strong{color:#f3f3f3}.note-list-empty p{color:#a9a9a9}.note-list-empty button{color:#f2f2f2;background:#191919;border-color:#2e2e2e}.editor-shell{box-shadow:none;background:#111}.mobile-editor-nav{background:#111;border-bottom:0;justify-content:space-between;min-height:58px;padding:10px 18px 0}.mobile-editor-nav span{display:none}.mobile-editor-back{color:#8d8dfd;background:0 0;border:0;border-radius:999px;justify-content:center;width:42px;height:42px;padding:0;font-size:0}.mobile-editor-back svg{width:24px;height:24px}.editor-pane,.editor-pane>.editor-title-row,.editor-toolbar,.tag-editor-row,.asset-strip{background:#111}.editor-note-context{color:#aaa;font-size:14px;font-weight:600}.editor-notebook-select{color:#d8d8d8;background:0 0;border-color:#0000;min-width:0;max-width:56%;padding-left:0}.editor-title-field input{color:#f6f6f6;caret-color:#f6f6f6;height:auto;font-size:29px;font-weight:850;line-height:1.22}.editor-pane>.editor-title-row .editor-title-actions{display:none}.editor-toolbar{border-color:#252525;padding:8px 18px}.tool-button,.font-size-control,.attach-file-button,.tag-create-form input,.tag-create-form button{color:#e8e8e8;background:#1d1d1d;border-color:#303030}.tag-editor-row{border-color:#252525}.tag-chip{color:#d8d8d8;background:#1d1d1d;border-color:#303030}.tag-empty{color:#999}.editor-surface{color:#eee;background:#111;padding:28px 26px 44px}.ProseMirror p.is-editor-empty:first-child:before,.ProseMirror p.is-empty:first-child:before{color:#858585}.editor-starter-actions button,.editor-slash-menu button{color:#f0f0f0;background:#1d1d1d;border-color:#303030}.editor-slash-menu{background:#202020;border-color:#303030}.pdf-preview{background:#1b1b1b;border-color:#303030}.pdf-preview-header,.pdf-preview-error{color:#ededed;background:#222;border-color:#303030}.pdf-preview-canvas-wrap{background:#171717}.cover{color:#efefef;background:#2a2a2a;border-color:#303030;border-radius:6px;width:min(86vw,336px);padding:10px 12px}.cover-main{text-align:left;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;display:grid}.cover img,.cover-main>svg{background:0 0;border-radius:4px;width:34px;height:34px}.cover span{color:#efefef;justify-content:flex-start;margin:0;font-size:13px}.sidebar{inset:0 0 calc(68px + env(safe-area-inset-bottom)) 0;background:#000;width:100vw;height:auto;min-height:0;padding:20px 0 24px}.sidebar.mobile-open{visibility:visible;transform:translate(0)}.mobile-drawer-backdrop{inset:0 0 calc(68px + env(safe-area-inset-bottom)) 0;background:#0000007a}.mobile-drawer-header strong{color:#f4f4f4;font-size:18px}.mobile-drawer-header .icon-button{color:#f0f0f0;background:#181818;border-color:#303030}.search-box{color:#ededed;background:#171717;border-color:#303030}.new-note-button{color:#fff;background:#00a82d;border:0;border-radius:6px;width:calc(100% - 32px);margin:0 16px}.nav-section-heading h2{padding:0}.sidebar-add-button,.notebook-action-button,.icon-button{color:#f0f0f0;background:#181818;border-color:#303030}.nav-row{color:#f4f4f4;border-bottom:1px solid #252525;border-radius:0;min-height:84px;margin:0;padding:0 18px}.nav-row.active,.nav-row.selected{background:#111}.nav-row span{color:#f4f4f4;font-size:21px;font-weight:800;line-height:1.25}.nav-row small{color:#9a9a9a;font-size:18px;font-weight:600}.notebook-create-form{padding:0 16px}.notebook-create-form input{color:#f0f0f0;background:#171717;border-color:#303030}.sidebar-notice{color:#f1cccc;background:#211616;border-color:#4a2a2a;margin:10px 16px}.character-panel,.drive-principle{display:none}.mobile-task-backdrop.open{z-index:52;background:#00000075;border:0;padding:0;display:block;position:fixed;inset:0}.workspace.mobile-tasks-open .task-panel{z-index:54;color:#f0f0f0;background:#111;border-top:1px solid #303030;border-left:0;border-radius:12px 12px 0 0;max-height:min(72svh,640px);padding:18px;display:block;position:fixed;inset:auto 0 68px;overflow-y:auto}.workspace.mobile-tasks-open .task-panel .panel-heading span{color:#f0f0f0}.workspace.mobile-tasks-open .panel-note{color:#aaa}.workspace.mobile-tasks-open .task-empty,.workspace.mobile-tasks-open .task-error,.workspace.mobile-tasks-open .task-row,.workspace.mobile-tasks-open .task-create-form input{color:#e8e8e8;background:#1d1d1d;border-color:#303030}.workspace.mobile-tasks-open .task-row{grid-template-columns:48px 24px minmax(0,1fr) 28px;align-items:center}.workspace.mobile-tasks-open .task-drag-handle{width:48px;height:48px}.workspace.mobile-tasks-open .panel-icon-button,.workspace.mobile-tasks-open .task-panel-toggle{color:#e8e8e8;background:#1d1d1d;border-color:#303030}.mobile-more-backdrop{z-index:52;background:#00000075;border:0;padding:0;display:block;position:fixed;inset:0}.mobile-more-sheet{right:0;bottom:calc(68px + env(safe-area-inset-bottom));z-index:58;color:#f0f0f0;background:#111;border-top:1px solid #303030;border-radius:12px 12px 0 0;gap:14px;padding:18px 16px 16px;display:grid;position:fixed;left:0;box-shadow:0 -18px 40px #00000061}.mobile-more-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mobile-more-header h2{color:#f3f3f3;margin:0 0 4px;font-size:20px;line-height:1.2}.mobile-more-header p{color:#a8a8a8;margin:0;font-size:13px;line-height:1.4}.mobile-more-close{color:#f0f0f0;background:#1d1d1d;border:1px solid #303030;border-radius:999px;place-items:center;width:34px;height:34px;display:grid}.mobile-more-account{background:#181818;border:1px solid #303030;border-radius:8px;gap:4px;padding:12px;display:grid}.mobile-more-account strong{color:#f4f4f4;font-size:15px;line-height:1.25}.mobile-more-account span{color:#aaa;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.mobile-more-actions{gap:8px;display:grid}.mobile-more-action{color:#f0f0f0;text-align:left;background:#1d1d1d;border:1px solid #303030;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:0 12px;font-size:15px;font-weight:750;text-decoration:none;display:grid}.mobile-more-action:disabled{color:#777;opacity:.72}.mobile-more-action.mobile-more-donation{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 6px 16px #0e7c8633}.mobile-more-action.mobile-more-donation:hover,.mobile-more-action.mobile-more-donation:focus-visible{border-color:var(--accent-2);background:var(--accent-2);color:#fff}.mobile-more-actions .logout-form,.mobile-more-actions .logout-form button{width:100%}.mobile-bottom-nav{z-index:56;height:calc(68px + env(safe-area-inset-bottom));padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:#161616;border-top:1px solid #303030;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-bottom-nav.donations-disabled{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-bottom-nav button{color:#dedede;background:0 0;border:0;border-radius:6px;place-items:center;gap:3px;min-width:0;font-size:11px;font-weight:700;display:grid}.mobile-bottom-nav button.mobile-bottom-donation{color:var(--accent)}.mobile-bottom-nav svg{width:22px;height:22px}.mobile-new-note-fab{background:#00a82d;bottom:82px;right:20px;box-shadow:0 12px 30px #00a82d47}.workspace.mobile-editor-open~.mobile-bottom-nav{display:none}html,body{background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.marumemo-app{background:var(--bg);color:var(--text)}.app-header{min-height:64px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;border-bottom:1px solid var(--line);background:#fff;grid-template-rows:42px;grid-template-columns:42px minmax(0,1fr) auto}.app-header .app-brand-logo{grid-column:2;display:inline-flex}.app-header .brand-logo .brand-logo-full{height:29px;display:block}.mobile-menu-button{border:1px solid var(--line-strong);background:var(--accent-soft);width:38px;height:38px;color:var(--accent-2);border-radius:12px;font-size:15px}.header-actions{grid-area:1/3;gap:4px}.header-actions .ghost-button,.header-actions .primary-button{width:36px;min-width:36px;height:36px;color:var(--accent-2);background:0 0;border:0;border-radius:9px}.header-actions svg{width:19px;height:19px}.workspace{min-height:calc(100svh - 64px);padding-bottom:calc(72px + env(safe-area-inset-bottom));background:var(--bg)}.note-list{background:var(--bg);min-height:calc(100svh - 64px);color:var(--text);border:0}.list-heading{border-bottom:1px solid var(--line);background:#fff;min-height:72px;margin:0;padding:18px 16px 12px}.list-title{align-items:baseline;gap:8px;display:flex}.list-title span{color:var(--text);font-size:20px}.list-title strong{order:initial;color:var(--muted);font-size:12px}.list-title strong:after{content:"개"}.note-list-action,.panel-collapse-button.note-list-toggle{width:36px;min-width:36px;height:36px;color:var(--accent-2);background:0 0;border:0;border-radius:9px}.mobile-note-search-row{border-bottom:1px solid var(--line);background:#fff;padding:10px 16px 12px}.mobile-note-search-box{border:1px solid var(--line-strong);background:var(--bg);height:42px;color:var(--muted);border-radius:10px}.mobile-note-search-box input{color:var(--text)}.mobile-note-search-box input::placeholder,.mobile-note-search-box button{color:var(--muted)}.note-scroll{padding:0 16px 92px}.note-card{border-bottom:1px solid var(--line);background:0 0;min-height:124px}.note-card:hover,.note-card.selected{background:var(--accent-soft)}.note-card.selected{box-shadow:inset 3px 0 0 var(--accent)}.note-card-main{grid-template-columns:minmax(0,1fr) 82px;gap:12px;min-height:124px;padding:15px 44px 15px 12px}.note-copy{min-height:94px}.note-copy strong{color:var(--text);margin-bottom:7px;font-size:16px}.note-copy p{color:#5c6b70;font-size:13px;line-height:1.5}.note-date{color:var(--muted);font-size:12px}.note-thumb{border-color:var(--line);background:#fff;border-radius:8px;width:82px;height:82px}.note-more-button{width:44px;height:44px;color:var(--muted);background:0 0;top:10px;right:2px}.note-card-menu-backdrop,.mobile-more-backdrop,.mobile-task-backdrop.open{background:#1f2a2e57}.note-card-menu,.mobile-more-sheet,.workspace.mobile-tasks-open .task-panel{border-color:var(--line-strong);color:var(--text);background:#fff;box-shadow:0 -18px 42px #1f2a2e24}.note-card-menu-header,.mobile-more-header h2,.workspace.mobile-tasks-open .task-panel .panel-heading span{color:var(--text)}.note-card-menu-header,.note-card-menu-header button,.mobile-more-close,.mobile-more-account,.mobile-more-action,.workspace.mobile-tasks-open .task-empty,.workspace.mobile-tasks-open .task-error,.workspace.mobile-tasks-open .task-row,.workspace.mobile-tasks-open .task-create-form input{border-color:var(--line);background:var(--bg);color:var(--text)}.note-card-menu-item{color:var(--text)}.note-card-menu-item:hover,.note-card-menu-item:focus-visible{background:var(--accent-soft);color:var(--accent-2)}.editor-shell,.mobile-editor-nav,.editor-pane,.editor-pane>.editor-title-row,.editor-toolbar,.tag-editor-row,.asset-strip,.editor-surface{color:var(--text);background:#fff}.mobile-editor-nav{min-height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;border-bottom:1px solid var(--line)}.mobile-editor-nav span{color:var(--text);display:block}.mobile-editor-back{background:var(--accent-soft);width:auto;height:38px;color:var(--accent-2);border:0;border-radius:9px;gap:5px;padding:0 10px;font-size:13px}.editor-pane>.editor-title-row{border-bottom:1px solid var(--line);gap:8px;padding:18px 18px 12px}.editor-title-field input{color:var(--text);caret-color:var(--accent);font-size:25px}.editor-note-context{color:var(--muted)}.editor-toolbar,.tag-editor-row{border-color:var(--line)}.tool-button,.font-size-control,.attach-file-button,.tag-create-form input,.tag-create-form button,.tag-chip{border-color:var(--line-strong);background:var(--bg);color:var(--text)}.editor-surface:focus-within{background:#fff}.ProseMirror{color:var(--text);font-size:17px;line-height:1.72}.ProseMirror a{color:var(--accent)}.sidebar{width:min(320px,88vw);height:100svh;padding:calc(14px + env(safe-area-inset-top)) 12px 18px;border-right:1px solid var(--line);background:var(--bg);color:var(--text);inset:0 auto 0 0}.mobile-drawer-backdrop{inset:0 0 0 min(320px,88vw)}.mobile-drawer-header{border-bottom:0;align-items:center;min-height:48px;margin:0 0 12px;padding:0}.mobile-drawer-header strong,.nav-row span{color:var(--text)}.mobile-drawer-header strong{font-size:18px}.search-shell-sidebar{width:100%;margin:0}.search-box{border-color:var(--line-strong);color:var(--muted);background:#fff;border-radius:10px}.search-box input{color:var(--text)}.new-note-button{background:var(--accent);border-radius:10px;width:100%;margin:0}.nav-section{margin-top:18px}.nav-section h2,.nav-section-heading h2{color:var(--muted);padding:0;font-size:11px}.nav-section-heading{padding:0}.nav-row{border:0;border-radius:9px;min-height:42px;margin-top:4px;padding:8px 10px}.nav-row span{font-size:14px;font-weight:700}.nav-row small{color:var(--muted);font-size:12px}.nav-row.active,.nav-row.selected{background:var(--accent-soft);color:var(--accent-2)}.mobile-more-header p,.mobile-more-account span,.workspace.mobile-tasks-open .panel-note{color:var(--muted)}.mobile-bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding:7px 4px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff7}.mobile-bottom-nav button{color:var(--muted)}.mobile-bottom-nav button.active{color:var(--accent)}.mobile-new-note-fab{right:18px;bottom:calc(86px + env(safe-area-inset-bottom));background:var(--accent);width:56px;height:56px;box-shadow:0 12px 28px #0e7c863d}}@media (max-width:420px){.app-header{grid-template-rows:48px;grid-template-columns:48px minmax(0,1fr) auto}.header-actions{grid-area:1/3;justify-content:flex-end}.note-card{width:100%}.note-card-main{grid-template-columns:minmax(0,1fr) 96px;gap:14px}.note-card.text-only .note-card-main{grid-template-columns:minmax(0,1fr)}.note-thumb{width:96px;height:96px}.pdf-preview-canvas-wrap{padding-inline:30px}}@media (max-width:970px){.header-actions .header-logout-form{display:none}}@media (max-width:720px){.sidebar .sidebar-bottom{margin:22px 16px 0}.sidebar .character-panel{display:block}.sidebar .character-button{border-color:var(--line-strong);min-height:56px;color:var(--text);background:#fff;border-radius:12px;padding:9px 10px}.sidebar .character-avatar{background:var(--accent-soft);width:36px;height:36px;color:var(--accent-2);border-radius:10px}.sidebar .character-copy strong{font-size:13px}.sidebar .character-copy small{color:var(--muted);font-size:11px}.sidebar .character-menu{border-color:var(--line-strong);background:#fff;border-radius:10px;width:min(240px,100vw - 32px);padding:6px;bottom:calc(100% + 8px);right:0;box-shadow:0 16px 40px #1a333629}.sidebar .character-menu button,.sidebar .character-menu a{min-height:42px;padding:9px 10px;font-size:13px}.sidebar .drive-principle{display:none}}.sidebar .search-box,.sidebar .notebook-create-form input,.sidebar .character-button,.sidebar .drive-principle{border-color:var(--line-strong);color:var(--text);background:#fff}.sidebar .search-box input,.sidebar .character-copy strong{color:var(--text)}.sidebar .character-button:hover,.sidebar .character-button[aria-expanded=true]{background:var(--accent-soft)}.sidebar .character-copy small,.sidebar .drive-principle p{color:var(--muted)}@media (min-width:721px) and (max-width:1180px){.workspace.mobile-tasks-open .task-panel{border-left-color:var(--line);background:#fff}}.sidebar .nav-section h2,.sidebar .nav-section-heading h2{color:#5c6b70}.sidebar .nav-row{color:#5c6b70;box-shadow:none}.sidebar .nav-row span,.sidebar .nav-row svg,.sidebar .nav-row .drag-handle{color:inherit}.sidebar .nav-row small{color:#5c6b70;background:0 0}.sidebar .nav-row:hover{color:var(--text);box-shadow:none;background:#f0efeb}.sidebar .nav-row.active,.sidebar .nav-row.selected{background:var(--accent-soft);color:var(--accent-2);box-shadow:inset 3px 0 0 var(--accent)}.sidebar .nav-row.active small,.sidebar .nav-row.selected small{color:var(--accent-2);background:#0e7c8614}.sidebar .nav-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.sidebar .sidebar-collapse-button,.sidebar .icon-button,.sidebar .notebook-action-button{border-color:var(--line-strong);color:#5c6b70;background:#fff}.sidebar .sidebar-collapse-button:hover,.sidebar .icon-button:hover,.sidebar .notebook-action-button:hover{background:var(--accent-soft);color:var(--accent-2);border-color:#9dc7ca}.sidebar .notebook-row.note-drop-target{background:var(--accent-soft);color:var(--accent-2);box-shadow:inset 0 0 0 1px #9dc7ca}.sidebar .notebook-row.note-drop-target small,.sidebar .notebook-row.note-drop-target .drag-handle{color:var(--accent-2)}@media (max-width:1180px){.editor-shell.has-note{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;overflow:hidden auto}.editor-shell.has-note .editor-pane{flex:none;min-height:100%;overflow:visible}.editor-shell.has-note .editor-surface{flex:none;min-height:clamp(360px,58svh,720px);overflow-y:visible}}@media (max-width:720px){.workspace.mobile-editor-open .editor-shell.has-note{top:var(--mobile-visual-viewport-top,0px);height:var(--mobile-visual-viewport-height,100svh);min-height:0;bottom:auto;left:0;right:0;overflow:hidden}.workspace.mobile-editor-open .mobile-editor-nav{z-index:74;width:100%;box-shadow:0 1px 0 var(--line);display:flex;position:relative}.workspace.mobile-editor-open .editor-shell.has-note .editor-pane{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow:hidden auto}.workspace.mobile-editor-open .editor-toolbar{right:auto;bottom:calc(10px + env(safe-area-inset-bottom));z-index:76;width:max-content;max-width:min(calc(100% - 24px), calc(var(--mobile-visual-viewport-width,100vw) - 16px));border:1px solid var(--line-strong);overscroll-behavior-x:contain;scrollbar-width:none;min-height:54px;max-height:54px;transform:translate(calc(-50% + var(--editor-toolbar-offset-x,0px)), var(--editor-toolbar-offset-y,0px));transform-origin:50%;will-change:transform, scale;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border-radius:16px;flex-wrap:nowrap;justify-content:safe center;gap:6px;margin:0;padding:4px 6px;transition:scale .12s,box-shadow .12s,opacity .12s;position:fixed;left:50%;overflow:auto hidden;scale:1;box-shadow:0 12px 34px #1a333633}.workspace.mobile-editor-open .editor-toolbar.dragging{opacity:.94;scale:.94;box-shadow:0 9px 26px #1a33363d}.workspace.mobile-editor-open .editor-toolbar-move-handle{z-index:2;width:44px;min-width:44px;height:44px;color:var(--accent-2);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg,#e8f7f4fa,#f2f9f8fa);border:0;border-right:1px solid #0f8b7d33;border-radius:10px 6px 6px 10px;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:sticky;left:0}.workspace.mobile-editor-open .editor-toolbar.dragging .editor-toolbar-move-handle{cursor:grabbing;background:var(--accent-soft)}.workspace.mobile-editor-open .editor-toolbar-move-handle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.workspace.mobile-editor-open .editor-toolbar::-webkit-scrollbar{display:none}.workspace.mobile-editor-open .editor-toolbar .tool-button,.workspace.mobile-editor-open .editor-toolbar .font-size-control{background:0 0;border:0;border-radius:10px;width:38px;min-width:38px;height:38px;padding:0}.workspace.mobile-editor-open .editor-toolbar .font-size-control{justify-content:center;position:relative}.workspace.mobile-editor-open .editor-toolbar .font-size-control select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.workspace.mobile-editor-open .editor-toolbar .font-size-control:focus-within{outline:2px solid var(--accent);outline-offset:1px;background:var(--accent-soft);color:var(--accent-2)}.workspace.mobile-editor-open .editor-toolbar .attach-file-button{display:none}.workspace.mobile-editor-open .editor-pane.attachment-manager-open .editor-toolbar{opacity:0;pointer-events:none}.mobile-attachment-manager-trigger{border:1px solid var(--line-strong);width:calc(100% - 24px);min-height:52px;color:var(--text);text-align:left;background:#fff;border-radius:12px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;margin:10px 12px 0;padding:8px 10px;display:grid}.mobile-attachment-manager-trigger>span:nth-child(2){gap:2px;min-width:0;display:grid}.mobile-attachment-manager-trigger strong{font-size:13px}.mobile-attachment-manager-trigger small{color:var(--muted);font-size:11px}.mobile-attachment-manager-icon{background:var(--accent-soft);width:36px;height:36px;color:var(--accent-2);border-radius:10px;place-items:center;display:grid}.asset-strip{display:none}.attachment-content-flow{gap:16px;width:100%;margin-top:16px}.attachment-content-image{border-radius:10px}.attachment-gallery-image>img{max-height:none}.attachment-manager-backdrop{padding:0}.attachment-manager-sheet{width:100%;max-height:min(82svh,760px);padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-left:0;border-right:0;border-radius:22px 22px 0 0}.attachment-manager-handle{background:var(--line-strong);border-radius:999px;flex:none;width:42px;height:4px;margin:8px auto 0;display:block}.attachment-manager-header{padding:12px 16px 13px}.attachment-manager-header h2{font-size:18px}.attachment-manager-list{padding:10px 12px 16px}.attachment-manager-item{grid-template-columns:34px minmax(0,1fr) auto;gap:6px;padding:6px}.attachment-manager-drag{width:34px}.attachment-manager-preview{grid-template-columns:46px minmax(0,1fr);gap:8px}.attachment-manager-thumbnail{width:46px;height:46px}.attachment-manager-actions{grid-template-columns:repeat(2,30px);gap:3px;display:grid}.attachment-manager-actions button{width:30px;height:30px}.attachment-manager-actions .attachment-manager-delete{grid-column:1/-1;width:63px}.workspace.mobile-editor-open .editor-shell.has-note .editor-surface{min-height:clamp(360px,70svh,720px);padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
