:root{color:#172033;font-synthesis:none;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}.button,button{cursor:pointer;border:0;border-radius:10px}.brand,.app-logo{letter-spacing:-.04em;color:#111827;font-weight:800;text-decoration:none}.button{color:#fff;background:#111827;justify-content:center;align-items:center;padding:10px 16px;font-weight:650;text-decoration:none;display:inline-flex}.button.ghost{color:#111827;background:#fff;border:1px solid #dbe1ea}.app-shell{background:#fff;grid-template-columns:215px 1fr;height:100vh;display:grid}.app-sidebar{color:#fff;background:#111827;flex-direction:column;padding:22px 14px;display:flex}.app-logo{color:#fff;padding:4px 10px 28px;font-size:22px}.app-sidebar nav{flex-direction:column;gap:5px;display:flex}.app-sidebar nav button{color:#c8d1df;text-align:left;background:0 0;align-items:center;gap:10px;padding:10px 11px;display:flex}.app-sidebar nav button:hover,.app-sidebar nav button.active{color:#fff;background:#263144}.sidebar-bottom{flex-direction:column;gap:8px;margin-top:auto;display:flex}.connection{color:#aeb8c8;align-items:center;gap:7px;padding:9px 10px;font-size:12px;display:flex}.connection.online{color:#91d8ab}.sidebar-install{color:#e7edf5;text-align:left;background:#263144;padding:10px}.install-help{color:#172033;z-index:20;background:#fff;border-radius:14px;width:300px;padding:20px;position:fixed;bottom:16px;left:225px;box-shadow:0 14px 50px #00000038}.install-help .close{background:0 0;font-size:22px;position:absolute;top:8px;right:10px}.app-content{min-width:0;overflow:hidden}.notes-workspace{grid-template-columns:190px 280px minmax(0,1fr);height:100vh;display:grid}.collection-pane,.note-list-pane,.item-list{background:#fbfcfd;border-right:1px solid #e5e9ef;overflow:auto}.collection-pane{padding:16px}.pane-title{justify-content:space-between;align-items:center;display:flex}.pane-title h2{font-size:18px}.pane-title button,.filter-title button{background:#eef1f5;width:30px;height:30px}.search-input{background:#fff;border:1px solid #dfe4eb;border-radius:8px;width:100%;margin:10px 0 20px;padding:9px}.filter-group{margin-bottom:22px}.filter-title{text-transform:uppercase;letter-spacing:.08em;color:#8792a5;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:11px;font-weight:800;display:flex}.filter-title button{width:24px;height:24px}.filter{text-align:left;color:#4e5a6e;background:0 0;width:100%;padding:7px 8px}.filter.active{color:#111827;background:#e8edf5;font-weight:650}.tag-chip{background:#edf1f6;border-radius:999px;margin:3px;padding:5px 8px;font-size:12px}.tag-chip.active{color:#fff;background:#111827}.note-list-pane{padding:10px}.notebook-action-row{border-bottom:1px solid #e5e9ef;justify-content:space-between;align-items:center;gap:8px;min-height:46px;margin-bottom:4px;padding:7px 6px 9px;display:flex}.notebook-action-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;overflow:hidden}.notebook-action-row div{flex:none;gap:3px;display:flex}.icon-button{color:#596579;background:0 0;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.icon-button:hover{color:#172033;background:#eef1f5}.icon-button.danger:hover{color:#9c2424;background:#ffe8e8}.note-count{color:#8b95a5;padding:8px 6px 12px;font-size:11px}.note-row,.list-item{text-align:left;color:#172033;background:0 0;border-radius:10px;flex-direction:column;gap:5px;width:100%;padding:12px;display:flex}.note-row:hover,.note-row.active,.list-item.active{background:#fff;box-shadow:0 1px 5px #11182712}.note-row span,.list-item small{color:#7b8596;white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:12px;overflow:hidden}.note-row small{color:#9aa3b1;font-size:10px}.note-detail-pane,.detail-pane{background:#fff;overflow:auto}.note-detail-wrap{flex-direction:column;height:100%;display:flex}.note-meta-bar{border-bottom:1px solid #edf0f4;align-items:center;gap:12px;min-height:48px;padding:8px 18px;display:flex}.note-meta-bar select{border:1px solid #dce2e9;border-radius:8px;padding:6px}.note-tags{flex:1;gap:8px;display:flex;overflow:auto}.note-tags label{white-space:nowrap;color:#596579;font-size:12px}.note-meta-bar>button{background:#eef1f5;padding:7px 10px}.note-editor{width:100%;max-width:900px;margin:0 auto;padding:28px 44px 80px}.note-editor-head{align-items:center;gap:12px;display:flex}.note-title{letter-spacing:-.035em;border:0;outline:0;width:100%;padding:8px 0;font-size:34px;font-weight:750}.sync-pill{text-transform:uppercase;letter-spacing:.06em;color:#6b7484;background:#edf1f5;border-radius:999px;padding:4px 7px;font-size:10px}.sync-pill.pending{color:#8a6500;background:#fff2cc}.sync-pill.conflict{color:#9c2424;background:#ffe0e0}.editor-toolbar{border-bottom:1px solid #edf0f4;gap:4px;padding:7px 0;display:flex}.editor-toolbar button{background:#f4f6f8;width:32px;height:30px}.editor-shell{margin-top:16px;position:relative}.editor-input{color:#273246;outline:none;min-height:430px;font-size:17px;line-height:1.75}.editor-placeholder{color:#a1a9b5;pointer-events:none;position:absolute;top:0;left:0}.read-only .editor-input{min-height:120px}.editor-h1{font-size:32px}.editor-h2{font-size:25px}.split-view{grid-template-columns:300px 1fr;height:100vh;display:grid}.item-list{padding:14px}.recipe-form{flex-direction:column;gap:18px;max-width:760px;margin:auto;padding:46px;display:flex}.recipe-form input,.recipe-form textarea{background:#fbfcfe;border:1px solid #dfe4eb;border-radius:9px;width:100%;padding:10px}.recipe-title{font-size:30px;font-weight:700}.recipe-form textarea{min-height:90px}.recipe-form label{font-weight:650}.recipe-form label textarea{margin-top:7px;font-weight:400;display:block}.recipe-form button,.empty-state button{color:#fff;background:#111827;padding:10px 15px}.recipe-form button{align-self:flex-start}.calendar-layout{grid-template-columns:240px 1fr;height:100vh;display:grid}.calendar-nearby{background:#fbfcfd;border-right:1px solid #e5e9ef;padding:16px;overflow:auto}.calendar-nearby h3{color:#667085;font-size:13px}.nearby-day{text-align:left;background:0 0;border-radius:8px;flex-direction:column;width:100%;padding:9px;display:flex}.nearby-day.active{background:#fff;box-shadow:0 1px 5px #11182712}.nearby-day span{font-size:13px;font-weight:650}.nearby-day small{color:#8b95a5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.calendar-main{width:100%;max-width:1050px;margin:auto;padding:22px 34px 70px;overflow:auto}.calendar-header{justify-content:center;align-items:center;gap:25px;display:flex}.calendar-header button{background:#eef1f5;width:34px;height:34px}.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.weekday-row{color:#8b95a5;text-align:center;padding:8px 0;font-size:11px}.month-grid{border-top:1px solid #e5e9ef;border-left:1px solid #e5e9ef}.calendar-day{background:#fff;border-bottom:1px solid #e5e9ef;border-right:1px solid #e5e9ef;border-radius:0;height:74px;position:relative}.calendar-day.selected{background:#f1f5fb;box-shadow:inset 0 0 0 2px #111827}.calendar-day i{background:#111827;border-radius:50%;width:6px;height:6px;position:absolute;bottom:9px;left:50%;transform:translate(-50%)}.calendar-note{border-top:1px solid #e5e9ef;margin-top:32px;padding-top:22px}.calendar-note h2{font-size:21px}.calendar-note .editor-input{min-height:260px}.settings-view{max-width:760px;margin:auto;padding:60px 36px}.settings-view h1{font-size:32px}.settings-card{border:1px solid #e3e7ed;border-radius:14px;justify-content:space-between;align-items:center;margin:14px 0;padding:20px;display:flex}.settings-card h3{margin:0 0 6px}.settings-card p{color:#697487;margin:0}.status-good{color:#23834a;font-weight:650}.switch input{display:none}.switch span{background:#cbd2dd;border-radius:999px;width:44px;height:25px;display:block;position:relative}.switch span:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:all .15s;position:absolute;top:3px;left:3px}.switch input:checked+span{background:#111827}.switch input:checked+span:after{left:22px}.empty-state{text-align:center;color:#667085;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:40px;display:flex}.empty-state h2{color:#172033}.modal-backdrop{z-index:40;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirm-modal{background:#fff;border:1px solid #e3e7ed;border-radius:8px;width:min(420px,100%);padding:24px;position:relative;box-shadow:0 24px 70px #0f172a40}.confirm-modal h2{margin:0 36px 10px 0;font-size:22px}.confirm-modal p{color:#596579;margin:0 0 22px;line-height:1.5}.modal-close{color:#596579;background:0 0;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:absolute;top:12px;right:12px}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.modal-actions button{padding:9px 14px}.modal-actions .secondary{color:#172033;background:#eef1f5}.modal-actions .danger{color:#fff;background:#9c2424}.shared-page{background:#f8fafc;min-height:100vh;padding:28px}.shared-page>.brand{font-size:22px}.shared-card{background:#fff;border:1px solid #e4e8ee;border-radius:18px;max-width:820px;margin:50px auto;padding:46px;box-shadow:0 18px 55px #1118270f}.shared-card h1{font-size:34px}.shared-foot{text-align:center;color:#929bab;font-size:12px}.loading-view{padding:40px}.app-content button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #4d73df}@media (width<=900px){.app-shell{grid-template-columns:64px 1fr}.app-logo{font-size:0}.app-logo:after{content:"N";font-size:22px}.app-sidebar nav button,.sidebar-bottom .connection{justify-content:center;font-size:0}.sidebar-install{text-align:center;font-size:0}.sidebar-install:after{content:"＋";font-size:18px}.install-help{left:74px}.collection-pane{display:none}.notes-workspace{grid-template-columns:240px minmax(0,1fr)}.calendar-layout{grid-template-columns:190px 1fr}}@media (width<=640px){.app-shell{grid-template-rows:1fr 58px;grid-template-columns:1fr}.app-sidebar{z-index:10;flex-direction:row;grid-row:2;align-items:center;padding:5px 8px}.app-logo{display:none}.sidebar-bottom{display:contents}.sidebar-bottom .connection{display:none}.sidebar-bottom .sidebar-install{color:#c8d1df;background:0 0;padding:5px;font-size:0}.sidebar-bottom .sidebar-install:after{content:"Install";font-size:9px}.app-sidebar nav{flex-direction:row;justify-content:space-around;width:100%}.app-sidebar nav button{flex-direction:column;gap:2px;padding:5px;font-size:9px}.app-content{grid-row:1}.notes-workspace{grid-template-columns:145px minmax(0,1fr);height:calc(100vh - 58px)}.note-list-pane{padding:5px}.notebook-action-row{min-height:42px}.note-row{padding:10px 7px}.note-editor{padding:18px 20px 60px}.note-title{font-size:28px}.note-meta-bar{overflow:auto}.calendar-layout{height:calc(100vh - 58px);display:block}.calendar-nearby{border:0;border-bottom:1px solid #e5e9ef;gap:5px;padding:8px;display:flex;overflow-x:auto}.calendar-nearby h3{display:none}.nearby-day{min-width:120px}.calendar-main{padding:14px 10px 50px}.calendar-day{height:54px}.split-view{grid-template-columns:120px 1fr;height:calc(100vh - 58px)}.recipe-form{padding:20px}.settings-view{padding:30px 20px}}.trash-view{max-width:820px;margin:auto;padding:52px 36px}.trash-view>p{color:#697487}.trash-list{flex-direction:column;gap:10px;margin-top:26px;display:flex}.trash-list article{border:1px solid #e3e7ed;border-radius:12px;justify-content:space-between;align-items:center;padding:16px;display:flex}.trash-list p{color:#8792a5;margin:5px 0 0}.trash-list button{background:#eef1f5;padding:8px 12px}.empty-state.compact{height:auto;padding:50px 0}.app-shell{--accent:#b75b7c;--accent-strong:#8f3f5e;--accent-soft:#f7e9ef;--sidebar:#7a3f58;--sidebar-active:#92506b;--surface:#fff;--surface-soft:#fcf7f9;--surface-muted:#f7eff2;--border:#eadde3;--text:#30232a;--muted:#7c6872;--app-font-size:16px;--app-weight:400;--content-line:1.7;--notes-icon-base:18px;--notes-icon-large:21px;color:var(--text);background:var(--surface);font-size:var(--app-font-size);font-weight:var(--app-weight)}.app-shell.theme-dark{--accent:#d07a9a;--accent-strong:#e59ab5;--accent-soft:#4a2635;--sidebar:#4c2635;--sidebar-active:#68364a;--surface:#181317;--surface-soft:#21191e;--surface-muted:#2c2026;--border:#49333e;--text:#f5e9ee;--muted:#c4abb6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-shell.weight-medium{--app-weight:500}.app-shell.weight-bold{--app-weight:600}.app-shell.spacing-compact{--content-line:1.45}.app-shell.spacing-relaxed{--content-line:1.95}.app-shell .app-sidebar{background:var(--sidebar)}.app-shell .app-logo{color:#fff}.app-shell .app-sidebar nav button{color:#f0dfe6}.app-shell .app-sidebar nav button:hover,.app-shell .app-sidebar nav button.active,.app-shell .sidebar-install{background:var(--sidebar-active);color:#fff}.app-shell .collection-pane,.app-shell .note-list-pane,.app-shell .item-list,.app-shell .calendar-nearby{background:var(--surface-soft);border-color:var(--border)}.app-shell .note-detail-pane,.app-shell .detail-pane,.app-shell .calendar-main,.app-shell .settings-view{background:var(--surface);color:var(--text)}.app-shell .search-input,.app-shell input,.app-shell textarea,.app-shell select{background:var(--surface);color:var(--text);border-color:var(--border)}.app-shell .filter,.app-shell .note-row,.app-shell .list-item,.app-shell .nearby-day{color:var(--text)}.app-shell .filter.active,.app-shell .tag-chip,.app-shell .pane-title button,.app-shell .filter-title button,.app-shell .note-meta-bar>button,.app-shell .editor-toolbar button,.app-shell .calendar-header button,.app-shell .trash-list button{background:var(--surface-muted);color:var(--text)}.app-shell .tag-chip.active,.app-shell .filter.active{background:var(--accent-soft);color:var(--accent-strong)}.app-shell .note-row:hover,.app-shell .note-row.active,.app-shell .list-item.active,.app-shell .nearby-day.active{background:var(--surface);box-shadow:0 1px 6px color-mix(in srgb,var(--accent) 12%,transparent)}.app-shell .note-meta-bar,.app-shell .editor-toolbar,.app-shell .calendar-note,.app-shell .month-grid,.app-shell .calendar-day,.app-shell .settings-card,.app-shell .trash-list article{border-color:var(--border)}.app-shell .note-row small,.app-shell .note-count,.app-shell .filter-title,.app-shell .nearby-day small,.app-shell .settings-card p,.app-shell .settings-intro,.app-shell .muted{color:var(--muted)}.app-shell .editor-input,.app-shell .recipe-scroll-text,.app-shell .recipe-detail-view{line-height:var(--content-line)}.app-shell .editor-input,.app-shell .recipe-scroll-text,.app-shell .calendar-note{font-weight:var(--app-weight)}.app-shell .calendar-day{background:var(--surface);color:var(--text)}.app-shell .calendar-day.selected{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.app-shell .calendar-day i,.app-shell .switch input:checked+span{background:var(--accent)}.app-shell .status-good{color:#4d9b69}.theme-dark .sync-pill{background:var(--surface-muted);color:var(--muted)}.theme-dark .sync-pill.pending{color:#efd790;background:#493b20}.theme-dark .sync-pill.conflict{color:#f4a4aa;background:#4c2428}.theme-dark .empty-state h2{color:var(--text)}.theme-dark .install-help{background:var(--surface);color:var(--text)}.mobile-pane-header{display:none}.recipe-detail-view{flex-direction:column;gap:28px;max-width:1200px;height:100%;margin:auto;padding:42px 48px 56px;display:flex}.recipe-view-header{justify-content:space-between;align-items:flex-start;gap:30px;display:flex}.recipe-view-header h1{letter-spacing:-.04em;margin:0 0 8px;font-size:clamp(30px,4vw,46px)}.recipe-view-header p{color:var(--muted);max-width:760px;margin:0}.icon-button{background:var(--surface-muted);width:38px;height:38px;color:var(--text);flex:none;justify-content:center;align-items:center;display:inline-flex}.recipe-reading-grid{flex:1;grid-template-rows:minmax(220px,1fr) minmax(130px,.45fr);grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr);gap:20px;min-height:0;display:grid}.recipe-reading-grid>section{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;flex-direction:column;min-height:0;padding:22px;display:flex}.recipe-reading-grid h2{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0 0 14px;font-size:15px}.recipe-notes-section,.recipe-reading-grid.no-instructions .recipe-ingredients-section{grid-column:1/-1}.recipe-reading-grid.no-instructions.no-notes{grid-template-rows:minmax(220px,1fr)}.recipe-scroll-text{white-space:pre-wrap;min-height:0;padding-right:8px;overflow:auto}.recipe-scroll-text ul,.recipe-scroll-text ol{margin:0;padding-left:24px}.recipe-scroll-text li+li{margin-top:.7em}.recipe-scroll-text p{margin:0}.recipe-form-actions{justify-content:flex-end;gap:8px;display:flex}.recipe-form .recipe-form-actions .icon-button{background:var(--surface-muted);width:38px;height:38px;color:var(--text);align-self:auto;padding:0}.recipe-form .recipe-form-actions .icon-button.danger:hover{color:#9c2424;background:#ffe8e8}.recipe-form .primary-action{background:var(--accent);color:#fff}.settings-page-header{margin:0 0 28px;padding:4px 0 6px}.settings-kicker{color:var(--accent-strong,#8f3f5e);font-size:12px;font-weight:var(--app-strong-weight,700);text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px}.settings-intro{max-width:620px;margin:8px 0 0;line-height:1.6}.settings-section{border:1px solid var(--border,#eadde3);background:var(--surface-soft,#fcf7f9);border-radius:10px;margin:26px 0 0;padding:18px}.settings-section-head{align-items:center;gap:12px;margin:0 0 14px;display:flex}.settings-section-head:before{content:"";background:var(--accent,#b75b7c);border-radius:999px;flex:none;width:5px;height:26px}.settings-section-title{text-transform:none;letter-spacing:0;color:var(--text,#30232a);font-size:18px;font-weight:var(--app-strong-weight,800);margin:0}.settings-section .settings-card{background:var(--surface,#fff);margin:10px 0 0}.settings-section .settings-card:first-of-type{margin-top:0}.settings-control select{border:1px solid var(--border);border-radius:9px;min-width:145px;padding:8px 10px}.mobile-trash-link{display:none}@media (width>=701px){.app-shell{grid-template-columns:215px 1fr}.app-logo{font-size:22px;display:block}.app-logo:after{content:none}.app-sidebar{flex-direction:column;padding:22px 14px}.app-sidebar nav{flex-direction:column;justify-content:flex-start;width:auto}.app-sidebar nav button{font-size:inherit;flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 11px}.sidebar-bottom{margin-top:auto;display:flex}.sidebar-bottom .connection{justify-content:flex-start;font-size:12px;display:flex}.sidebar-bottom .sidebar-install{font-size:inherit;text-align:left}.sidebar-bottom .sidebar-install:after{content:none}.install-help{left:225px}.notes-workspace{grid-template-columns:190px 280px minmax(0,1fr);height:100vh}.collection-pane{display:block}.calendar-layout{grid-template-columns:240px 1fr;height:100vh;display:grid}.calendar-nearby{border-right:1px solid var(--border);border-bottom:0;padding:16px;display:block;overflow:auto}.calendar-nearby h3{display:block}.nearby-day{min-width:0}.split-view{grid-template-columns:300px 1fr;height:100vh}.trash-nav{display:flex!important}}@media (width<=700px){.app-shell{grid-template-rows:minmax(0,1fr) 58px;grid-template-columns:1fr;height:100dvh}.app-content{grid-row:1;min-height:0}.app-sidebar{z-index:10;flex-direction:row;grid-row:2;align-items:center;padding:5px 8px}.app-logo{display:none}.app-sidebar nav{flex-direction:row;justify-content:space-around;width:100%}.app-sidebar nav button{flex-direction:column;justify-content:center;gap:2px;padding:5px;font-size:9px}.app-sidebar nav .trash-nav{display:none}.sidebar-bottom{display:contents}.sidebar-bottom .connection{display:none}.sidebar-bottom .sidebar-install{color:#f0dfe6;background:0 0;padding:5px;font-size:0}.sidebar-bottom .sidebar-install:after{content:"Install";font-size:9px}.install-help{width:auto;bottom:66px;left:12px;right:12px}.notes-workspace{height:calc(100dvh - 58px);display:block;position:relative}.notes-workspace>.collection-pane,.notes-workspace>.note-list-pane,.notes-workspace>.note-detail-pane{border-right:0;width:100%;height:100%;display:none;overflow:auto}.notes-workspace.mobile-pane-collections>.collection-pane{padding:18px;display:block}.notes-workspace.mobile-pane-list>.note-list-pane{padding:10px;display:block}.notes-workspace.mobile-pane-detail>.note-detail-pane{display:block}.mobile-pane-header{border-bottom:1px solid var(--border);align-items:center;min-height:45px;padding:6px 10px;display:flex}.mobile-pane-header button{color:var(--accent-strong);background:0 0;align-items:center;gap:4px;padding:6px;display:flex}.collection-pane .pane-title h2{font-size:22px}.note-row{padding:13px 10px}.note-editor{padding:18px 18px 60px}.note-title{font-size:28px}.note-meta-bar{padding:8px 10px;overflow:auto}.split-view{grid-template-columns:112px minmax(0,1fr);height:calc(100dvh - 58px)}.item-list{padding:8px}.item-list .pane-title h2{font-size:13px}.list-item{padding:10px 7px}.recipe-detail-view{gap:18px;height:auto;max-height:none;padding:22px 16px 36px}.recipe-view-header h1{font-size:30px}.recipe-reading-grid{flex-direction:column;flex:none;min-height:0;display:flex}.recipe-reading-grid>section{flex:none;min-height:0}.recipe-scroll-text{max-height:none;overflow:visible}.recipe-form{padding:18px 14px}.calendar-layout{height:calc(100dvh - 58px);display:block}.calendar-nearby{border:0;border-bottom:1px solid var(--border);gap:5px;padding:8px;display:flex;overflow-x:auto}.calendar-nearby h3{display:none}.nearby-day{min-width:122px}.calendar-main{padding:14px 10px 50px}.calendar-day{height:54px}.settings-view{padding:26px 16px 60px}.settings-card{gap:14px;padding:16px}.settings-control{flex-direction:column;align-items:flex-start}.settings-control select{width:100%}.mobile-trash-link{text-align:left;width:100%;color:var(--text);background:var(--surface);cursor:pointer;display:flex}.mobile-trash-link h3{align-items:center;gap:8px;display:flex}}.app-shell{height:100dvh;max-height:100dvh;overflow:hidden}.app-content,.notes-workspace,.split-view,.calendar-layout{height:100%;min-height:0;max-height:100dvh;overflow:hidden}.collection-pane,.note-list-pane,.note-detail-pane,.item-list,.detail-pane,.calendar-nearby,.calendar-main,.settings-view,.trash-view{min-height:0;max-height:100%;overflow:auto}.note-detail-wrap,.recipe-detail-view{min-height:0;max-height:100%}.settings-view{height:100%;margin:0 auto}.trash-view{height:100%}.empty-state button{align-self:center}.app-shell.theme-dark .editor-input{color:#fff}.app-shell.theme-dark .editor-placeholder{color:var(--muted)}@media (width<=700px){.app-content{max-height:calc(100dvh - 58px)}.notes-workspace,.split-view,.calendar-layout{height:100%;max-height:calc(100dvh - 58px)}.settings-view,.trash-view{max-height:100%;overflow:auto}}.app-content{flex-direction:column;display:flex}.app-view-frame{flex:1;min-height:0;overflow:hidden}.anonymous-banner{color:#7f2747;min-height:42px;font-size:calc(var(--app-font-size) * .72);line-height:var(--content-line);z-index:5;background:#fff1f5;border-bottom:1px solid #f0cbd8;flex:none;justify-content:center;align-items:center;gap:9px;padding:8px 14px;display:flex}.anonymous-banner a{color:#9a3157;white-space:nowrap;margin-left:5px;font-weight:750;text-decoration:none}.theme-dark .anonymous-banner{color:#f1c4d4;background:#3b1f2a;border-color:#603044}.theme-dark .anonymous-banner a{color:#ffb6cf}.sidebar-account-warning{color:#f3dce4;background:#2c2025;border:1px solid #50313d;border-radius:11px;padding:11px}.sidebar-account-warning>div{align-items:center;gap:7px;font-size:12px;display:flex}.sidebar-account-warning p{color:#cdb7bf;margin:7px 0 9px;font-size:11px;line-height:1.4}.sidebar-signin{color:#fff;background:#d96a91;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 9px;font-size:11px;font-weight:750;text-decoration:none;display:flex}.sidebar-row{color:#f0dfe6;text-align:left;background:0 0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:38px;padding:10px 11px;display:flex}.sidebar-row svg{flex:none;display:block}.sidebar-row-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sidebar-row:hover,.sidebar-row.active{background:var(--sidebar-active);color:#fff}.sidebar-account-row{font-size:calc(var(--app-font-size) * .72);line-height:var(--content-line)}.connection{font-size:calc(var(--app-font-size) * .72);line-height:var(--content-line);color:#f0dfe6}.sidebar-row.connection.online,.sidebar-row.connection.offline{color:#f0dfe6}.connection.online svg{color:#91d8ab}.connection.offline svg{color:#efd790}.sync-pill.local-only{color:#9a3157;background:#fff1f5}.theme-dark .sync-pill.local-only{color:#f1b7cc;background:#4b2534}.account-warning-card{background:#fff7fa;border-color:#efc5d4}.theme-dark .account-warning-card{background:#331d26;border-color:#5a3040}.settings-signin{white-space:nowrap;background:var(--accent);color:#fff;border-radius:9px;justify-content:center;align-items:center;padding:9px 12px;font-weight:700;text-decoration:none;display:inline-flex}.settings-link-card{text-align:left;background:var(--surface,#fff);width:100%;color:var(--text,#30232a);cursor:pointer}.conflict-count{background:var(--surface-muted,#f7eff2);min-width:34px;height:34px;color:var(--muted,#7c6872);font-weight:var(--app-strong-weight,700);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.conflict-count.has-conflicts{color:#9c2424;background:#ffe0e0}.theme-dark .conflict-count.has-conflicts{color:#f4a4aa;background:#4c2428}.account-card{gap:18px}.account-actions{flex:none;align-items:center;gap:12px;display:flex}.signout-button{background:var(--surface-muted,#f7eff2);color:var(--text,#30232a);white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:9px 12px;display:inline-flex}.signout-button:hover{background:var(--accent-soft,#f7e9ef);color:var(--accent-strong,#8f3f5e)}.signout-button:disabled{opacity:.6;cursor:not-allowed}.development-reset-card{background:color-mix(in srgb,var(--surface,#fff) 88%,#9c2424);border-color:#9c242461}.danger-action-button{color:#fff;white-space:nowrap;background:#9c2424;padding:9px 13px}.danger-action-button:hover{background:#7f1d1d}.danger-action-button:disabled{opacity:.6;cursor:not-allowed}.unsynced-signout-modal{width:min(480px,100%)}.unsynced-list{flex-direction:column;gap:8px;margin:-8px 0 20px;display:flex}.unsynced-list>div{border:1px solid var(--border,#eadde3);background:var(--surface-soft,#fcf7f9);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.unsynced-list span{color:var(--muted,#7c6872);white-space:nowrap}.conflicts-view{flex-direction:column;max-width:1100px;height:100%;min-height:0;margin:0 auto;padding:36px;display:flex;overflow:hidden}.conflicts-view header{flex:none;margin-bottom:20px}.conflicts-view h1{font-size:calc(var(--app-font-size) * 1.8);margin:0 0 8px}.conflicts-view p{color:var(--muted,#7c6872);line-height:var(--content-line);margin:0}.conflict-groups{flex-direction:column;flex:1;gap:18px;min-height:0;padding-right:6px;display:flex;overflow:auto}.conflict-group{flex-direction:column;gap:10px;display:flex}.conflict-group h2{font-size:calc(var(--app-font-size) * .78);text-transform:uppercase;letter-spacing:.07em;color:var(--muted,#7c6872);margin:0}.conflict-card{border:1px solid var(--border,#eadde3);background:var(--surface-soft,#fcf7f9);border-radius:8px;padding:14px}.conflict-card-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.conflict-card h3{font-size:calc(var(--app-font-size) * 1.05);margin:0 0 4px}.conflict-actions{flex:none;gap:8px;display:flex}.conflict-actions button{padding:8px 11px}.conflict-actions .secondary{background:var(--surface-muted,#f7eff2);color:var(--text,#30232a)}.conflict-actions .danger{color:#fff;background:#9c2424}.conflict-compare{grid-template-columns:1fr 1fr;gap:12px;display:grid}.conflict-compare section{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:8px;min-width:0;padding:10px}.conflict-compare h4{color:var(--muted,#7c6872);font-size:calc(var(--app-font-size) * .78);text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}.conflict-compare pre{white-space:pre-wrap;word-break:break-word;max-height:260px;color:var(--text,#30232a);margin:0;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;overflow:auto}@media (width<=700px){.sidebar-account-warning,.sidebar-account-signed-in,.sidebar-account-row{display:none}.anonymous-banner{min-height:48px;font-size:calc(var(--app-font-size) * .68);line-height:var(--content-line);justify-content:flex-start;padding:7px 9px}.anonymous-banner svg{flex:none}.anonymous-banner span{flex:1}.anonymous-banner a{font-size:inherit}.app-content{max-height:calc(100dvh - 58px)}.app-view-frame{min-height:0}.account-card{flex-direction:column;align-items:stretch}.account-actions{flex-direction:column;align-items:flex-start}.conflicts-view{padding:20px 16px 48px}.conflict-card-head{flex-direction:column;align-items:stretch}.conflict-actions{flex-wrap:wrap}.conflict-compare{grid-template-columns:1fr}}.app-shell{--app-font-size:17px;--app-weight:500;--app-strong-weight:700;font-size:var(--app-font-size);font-weight:var(--app-weight)}.app-shell.text-small{--app-font-size:16px;--notes-icon-base:18px;--notes-icon-large:22px}.app-shell.text-normal{--app-font-size:18px;--notes-icon-base:20px;--notes-icon-large:24px}.app-shell.text-large{--app-font-size:21px;--notes-icon-base:22px;--notes-icon-large:27px}.app-shell.weight-normal{--app-weight:500;--app-strong-weight:700}.app-shell.weight-medium{--app-weight:600;--app-strong-weight:750}.app-shell.weight-bold{--app-weight:700;--app-strong-weight:800}.app-shell button,.app-shell input,.app-shell textarea,.app-shell select{font-size:inherit;font-weight:inherit;line-height:var(--content-line)}.app-shell p,.app-shell li,.app-shell label,.app-shell small,.app-shell .filter,.app-shell .note-row,.app-shell .list-item,.app-shell .nearby-day,.app-shell .settings-card,.app-shell .recipe-scroll-text,.app-shell .editor-input{font-weight:var(--app-weight);line-height:var(--content-line)}.app-shell strong,.app-shell h1,.app-shell h2,.app-shell h3,.app-shell h4,.app-shell .pane-title,.app-shell .filter-title,.app-shell .app-logo{font-weight:var(--app-strong-weight)}.app-shell.text-small .editor-input,.app-shell.text-small .recipe-scroll-text{font-size:16px}.app-shell.text-normal .editor-input,.app-shell.text-normal .recipe-scroll-text{font-size:19px}.app-shell.text-large .editor-input,.app-shell.text-large .recipe-scroll-text{font-size:23px}.editor-text-bold{font-weight:700}.editor-text-italic{font-style:italic}.editor-text-underline{text-decoration-line:underline}.editor-text-strikethrough{text-decoration-line:line-through}.editor-text-underline.editor-text-strikethrough{text-decoration-line:underline line-through}.anonymous-banner-close{flex:none;margin-left:auto;padding:2px 6px;line-height:1;color:inherit!important;background:0 0!important;font-size:22px!important}.app-sidebar nav{flex:1}.app-sidebar nav .trash-nav{margin-top:auto}.app-sidebar .sidebar-bottom{margin-top:12px}.split-view .item-list{flex-direction:column;display:flex}.recipe-file-input{display:none}.recipe-list{flex-direction:column;display:flex}.recipe-selecting .item-list{z-index:50;position:relative}.recipe-selecting .recipe-list{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:10px;padding:6px;box-shadow:0 18px 60px #00000047}.recipe-selecting .list-item:hover{box-shadow:inset 3px 0 0 var(--accent,#b75b7c)}.recipe-select-hint{color:var(--accent-strong,#8f3f5e);font-size:12px;font-weight:var(--app-strong-weight,700);margin:4px 0 8px}.trash-view{flex-direction:column;display:flex}.trash-section{margin-top:28px}.trash-section h2{text-transform:uppercase;letter-spacing:.07em;color:var(--muted,#7c6872);margin:0 0 10px;font-size:14px}.trash-section .trash-list{margin-top:0}.trash-empty{color:var(--muted,#7c6872);margin:0}.trash-split{flex:1;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:14px;min-height:0;display:grid}.trash-back-button{color:var(--accent-strong,#8f3f5e);background:0 0;align-items:center;gap:6px;margin:0 0 14px;padding:6px 0;display:inline-flex}.trash-split .trash-section{border:1px solid var(--border,#eadde3);background:var(--surface-soft,#fcf7f9);border-radius:8px;flex-direction:column;min-height:0;margin:0;padding:12px;display:flex}.trash-split .trash-list{min-height:0;padding-right:4px;overflow:auto}.calendar-day.blank{cursor:default;background:var(--surface,#fff);display:block}.recipe-import-modal{width:min(760px,100vw - 32px);max-height:min(760px,100dvh - 32px);overflow:auto}.csv-sample{border:1px solid var(--border,#eadde3);background:var(--surface-soft,#fcf7f9);border-radius:8px;gap:4px;margin:14px 0 16px;padding:12px;display:grid;overflow:auto}.csv-sample code{white-space:nowrap;color:var(--muted,#7c6872);font-size:12px}.file-select-button{background:var(--accent,#b75b7c);color:#fff;align-items:center;gap:7px;margin-bottom:14px;padding:9px 13px;display:inline-flex}.import-preview{flex-direction:column;gap:10px;margin:8px 0 18px;display:flex}.import-preview h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#7c6872);margin:0;font-size:14px}.import-row{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:8px;gap:8px;padding:12px;display:grid}.import-row-head{align-items:center;gap:8px;display:flex}.import-row-head input{flex:1}.import-row input,.import-row textarea{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);width:100%;color:var(--text,#30232a);border-radius:7px;padding:8px}.import-row textarea{resize:vertical;min-height:58px}.modal-actions button:disabled{opacity:.45;cursor:not-allowed}.nearby-day small{min-height:1.2em}.note-meta-actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.note-meta-actions .icon-button{width:32px;height:32px;padding:0}.app-shell{transition:grid-template-columns .34s cubic-bezier(.22,1,.36,1)}.app-shell>.app-sidebar{transition:opacity .18s,visibility .18s;overflow:hidden}.notes-workspace{transition:grid-template-columns .22s;position:relative}.notes-workspace>.collection-pane{transition:opacity .18s,visibility .18s}.app-shell.notes-expanded{grid-template-columns:0 minmax(0,1fr)}.app-shell.notes-expanded>.app-sidebar{opacity:0;visibility:hidden;pointer-events:none}.notes-workspace.expanded{grid-template-columns:0 minmax(0,1fr)}.notes-workspace.expanded>.collection-pane{opacity:0;visibility:hidden;pointer-events:none;border-right:0;padding-left:0;padding-right:0}.modal-actions.left{justify-content:flex-start}.modal-actions button{align-items:center;gap:7px;display:inline-flex}.modal-actions .primary{background:var(--accent,#b75b7c);color:#fff}.text-entry-modal form{flex-direction:column;gap:18px;display:flex}.text-entry-field{flex-direction:column;gap:7px;display:flex}.text-entry-field span{font-weight:var(--app-strong-weight,700);color:var(--text,#30232a)}.text-entry-field input{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);width:100%;color:var(--text,#30232a);border-radius:8px;padding:10px 12px}.text-entry-field input::placeholder{color:var(--muted,#7c6872)}.filter-title-actions{gap:4px;display:flex}.filter-title-actions button{justify-content:center;align-items:center;display:inline-flex}.collection-pane .pane-title-actions button,.collection-pane .filter-title button{width:34px;height:34px;padding:0}.collection-pane .pane-title-actions svg,.collection-pane .filter-title svg,.collection-pane .notebook-group-header svg{width:20px;min-width:20px;height:20px;min-height:20px}.modal-check{color:#30232a;align-items:center;gap:9px;margin:-6px 0 20px;font-size:14px;display:flex}.modal-check input{accent-color:#9c2424;width:16px;height:16px}.tag-manager,.tag-results-view{max-width:780px;height:100%;margin:0 auto;padding:42px 38px 70px;overflow:auto}.tag-results-view header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.tag-results-view h1{margin:0 0 8px;font-size:32px}.tag-results-view p{color:var(--muted,#7c6872);margin:0}.tag-results-view header button{background:var(--accent,#b75b7c);color:#fff;white-space:nowrap;padding:9px 13px}.tag-results-list{flex-direction:column;gap:8px;display:flex}.tag-result-row{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);width:100%;color:var(--text,#30232a);text-align:left;border-radius:8px;flex-direction:column;align-items:flex-start;gap:5px;padding:13px 14px;display:flex}.tag-result-row:hover{background:var(--surface-soft,#fcf7f9)}.tag-result-row small{width:100%;color:var(--muted,#7c6872);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tag-manager header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.tag-manager h1{margin:0 0 8px;font-size:32px}.tag-manager p{color:var(--muted,#7c6872);margin:0;line-height:1.5}.tag-manager header button{background:var(--accent,#b75b7c);color:#fff;white-space:nowrap;padding:9px 13px}.tag-manager-list{flex-direction:column;gap:8px;display:flex}.tag-manager-row{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:8px 10px 8px 14px;display:flex}.tag-manager-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.tag-manager-row div{flex:none;gap:4px;display:flex}.theme-dark .confirm-modal{background:var(--surface);border-color:var(--border);color:var(--text)}.theme-dark .modal-check{color:var(--text)}@media (width<=700px){.tag-manager,.tag-results-view{padding:24px 16px 48px}.tag-manager header,.tag-results-view header{flex-direction:column;align-items:stretch}.tag-manager header button,.tag-results-view header button{align-self:flex-start}}.notes-workspace{grid-template-columns:340px minmax(0,1fr);position:relative}.split-view{position:relative}.pane-title-actions{align-items:center;gap:6px;display:flex}.pane-title-actions button{background:#eef1f5;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.notes-menu-wrap{position:relative}.notes-action-menu{z-index:60;border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:8px;flex-direction:column;gap:2px;min-width:205px;padding:6px;display:flex;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 18px 45px #0f172a2e}.notes-action-menu button{width:100%;height:auto;min-height:36px;color:var(--text,#30232a);text-align:left;white-space:nowrap;background:0 0;border-radius:7px;justify-content:flex-start;gap:8px;padding:7px 9px}.notes-action-menu button:hover{background:var(--surface-muted,#f7eff2)}.notes-action-menu button:disabled{opacity:.45;cursor:not-allowed}.notebook-select-backdrop{z-index:35;cursor:default;background:#00000094;border-radius:0;position:fixed;inset:0}.first-note-onboarding-backdrop{z-index:35;pointer-events:none;background:#000000a3;position:absolute;inset:0}.first-note-onboarding .pane-title .notes-menu-wrap,.first-recipe-onboarding .pane-title .notes-menu-wrap{z-index:50;background:var(--surface,#fff);box-shadow:0 0 0 7px var(--surface,#fff),0 18px 60px #0000005c;border-radius:10px;position:relative}.first-note-onboarding .pane-title .notes-menu-wrap>button,.first-recipe-onboarding .pane-title .notes-menu-wrap>button{background:var(--accent,#b75b7c);color:#fff}.first-note-callout{z-index:51;border:1px solid var(--border,#eadde3);background:var(--surface,#fff);width:min(230px,70vw);color:var(--text,#30232a);font-weight:var(--app-strong-weight,700);text-transform:none;letter-spacing:0;pointer-events:none;border-radius:8px;padding:12px 14px;line-height:1.35;position:absolute;top:calc(100% + 16px);right:0;box-shadow:0 18px 50px #0000004d}.first-note-callout:before{content:"";background:var(--surface,#fff);border-left:1px solid var(--border,#eadde3);border-top:1px solid var(--border,#eadde3);width:12px;height:12px;position:absolute;top:-7px;right:12px;transform:rotate(45deg)}.notebook-selecting .notebook-groups{z-index:50;border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:10px;padding:6px;position:relative;box-shadow:0 18px 60px #00000047}.notebook-selecting .notebook-group{background:var(--surface,#fff);border-color:var(--border,#eadde3)}.notebook-selecting .notebook-group:hover{border-color:var(--accent,#b75b7c);box-shadow:inset 3px 0 0 var(--accent,#b75b7c)}.notebook-selecting .group-note-list,.notebook-selecting .notebook-drag-handle{display:none}.notebook-selecting .notebook-toggle{cursor:pointer}.notebook-selecting .filter-title small{text-transform:none;letter-spacing:0;color:var(--accent-strong,#8f3f5e);margin-left:auto;font-size:11px}.tag-list{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.tag-selecting .tag-list{z-index:50;border:1px solid var(--border,#eadde3);background:var(--surface,#fff);border-radius:10px;padding:8px;position:relative;box-shadow:0 18px 60px #00000047}.tag-selecting .tag-chip{cursor:pointer}.tag-selecting .tag-chip:hover{box-shadow:inset 0 0 0 2px var(--accent,#b75b7c)}.tag-selecting .filter-title small{text-transform:none;letter-spacing:0;color:var(--accent-strong,#8f3f5e);margin-left:auto;font-size:11px}.theme-dark .notes-action-menu{box-shadow:0 18px 45px #00000061}.notebook-groups{flex-direction:column;gap:8px;display:flex}.notebook-group{border:1px solid #0000;border-bottom-color:var(--border,#eadde3);border-radius:8px;padding:3px 4px 8px}.notebook-group.dragging{opacity:.65;background:var(--accent-soft,#f7e9ef);border-color:var(--accent,#b75b7c)}.notebook-group.drop-target{background:var(--surface,#fff);border-color:var(--accent,#b75b7c);box-shadow:inset 3px 0 0 var(--accent,#b75b7c)}.notebook-group-header{justify-content:space-between;align-items:center;gap:6px;min-height:34px;display:flex}.notebook-drag-handle{width:26px;height:34px;color:var(--muted,#7c6872);cursor:grab;border-radius:7px;flex:none;justify-content:center;align-items:center;display:inline-flex}.notebook-group:hover .notebook-drag-handle,.notebook-group.dragging .notebook-drag-handle{background:var(--surface-muted,#f7eff2);color:var(--accent-strong,#8f3f5e)}.notebook-drag-handle:active{cursor:grabbing}.notebook-toggle{min-width:0;color:var(--text,#30232a);text-align:left;background:0 0;flex:1;align-items:center;gap:5px;padding:6px 4px;display:flex}.notebook-toggle span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.notebook-toggle small{color:var(--muted,#7c6872);margin-left:auto;font-size:11px}.group-note-list{flex-direction:column;gap:2px;padding:2px 0 0 20px;display:flex}.flat-note-list{flex-direction:column;display:flex}.note-row.editing{cursor:default}.note-title-input{border:1px solid var(--accent,#b75b7c);background:var(--surface,#fff);width:100%;min-width:0;color:var(--text,#30232a);font-weight:var(--app-strong-weight,700);border-radius:6px;padding:2px 5px}.inline-new-note{color:var(--accent-strong,#8f3f5e);background:0 0;align-self:flex-start;margin:4px 0 2px;padding:6px 8px;font-size:12px}.modal-toggle-row,.modal-field-row{border-top:1px solid var(--border,#eadde3);justify-content:space-between;align-items:center;gap:18px;padding:16px 0;display:flex}.modal-toggle-row>span:first-child,.modal-field-row>span:first-child{flex-direction:column;gap:4px;display:flex}.modal-toggle-row small,.modal-field-row small{color:var(--muted,#7c6872);line-height:1.35}.modal-field-row select{border:1px solid var(--border,#eadde3);background:var(--surface,#fff);min-width:150px;color:var(--text,#30232a);border-radius:8px;padding:8px 10px}.app-shell .app-sidebar,.app-shell .collection-pane,.app-shell .detail-pane,.app-shell .note-detail-pane,.app-shell .settings-view,.app-shell .calendar-layout,.app-shell .split-view,.app-shell .confirm-modal{font-size:var(--app-font-size);font-weight:var(--app-weight);line-height:var(--content-line)}.app-shell .confirm-modal p{line-height:var(--content-line)}.app-shell .pane-title h2{font-size:calc(var(--app-font-size) * 1.25)}.app-shell .filter-title,.app-shell .note-row span,.app-shell .list-item small,.app-shell .nearby-day small,.app-shell .tag-result-row small{font-size:calc(var(--app-font-size) * .72)}.app-shell .note-row small,.app-shell .notebook-toggle small,.app-shell .note-count{font-size:calc(var(--app-font-size) * .66)}.app-shell .tag-chip,.app-shell .inline-new-note,.app-shell .sync-pill{font-size:calc(var(--app-font-size) * .78)}.app-shell .first-note-callout,.app-shell .recipe-select-hint,.app-shell .notebook-selecting .filter-title small,.app-shell .tag-selecting .filter-title small{font-size:calc(var(--app-font-size) * .72);line-height:var(--content-line)}.app-shell .trash-section h2,.app-shell .calendar-nearby h3,.app-shell .import-preview h3{font-size:calc(var(--app-font-size) * .78)}.app-shell .settings-section-title{font-size:calc(var(--app-font-size) * 1.22)}.app-shell .note-title{font-size:calc(var(--app-font-size) * 1.9)}.app-shell .recipe-title,.app-shell .tag-manager h1,.app-shell .tag-results-view h1,.app-shell .settings-view h1{font-size:calc(var(--app-font-size) * 1.8)}.app-shell .recipe-view-header h1{font-size:clamp(calc(var(--app-font-size) * 1.65),4vw,calc(var(--app-font-size) * 2.35))}.app-shell .recipe-reading-grid h2{font-size:calc(var(--app-font-size) * .83)}.app-shell .editor-toolbar{align-items:center;gap:8px}.editor-toolbar-group{border:1px solid var(--border,#dfe4eb);background:var(--surface-muted,#f4f6f8);border-radius:999px;align-items:center;gap:2px;height:34px;padding:2px;display:inline-flex}.editor-block-select{height:28px;color:var(--text,#30232a);background:0 0;border:0;border-radius:999px;min-width:132px;padding:0 28px 0 12px}.app-shell .editor-block-select{color:var(--text);background:0 0;border-color:#0000;line-height:1}.editor-icon-group{position:relative}.editor-menu{display:inline-flex;position:relative}.app-shell .editor-format-group button,.app-shell .editor-icon-group button{width:30px;height:28px;color:var(--text);background:0 0;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.app-shell .editor-format-group button:hover,.app-shell .editor-icon-group button:hover{background:var(--surface,#fff)}.editor-menu-popover{z-index:30;border:1px solid var(--border,#dfe4eb);background:var(--surface,#fff);border-radius:8px;min-width:108px;padding:5px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 12px 30px #0f172a29}.app-shell .editor-menu-popover button{width:100%;height:auto;font-size:calc(var(--app-font-size) * .78);text-align:left;border-radius:6px;justify-content:flex-start;padding:7px 9px;line-height:1.2}.theme-dark .editor-toolbar-group{background:#252525;border-color:#424242}.theme-dark .editor-format-group button:hover,.theme-dark .editor-icon-group button:hover{background:#343434}.theme-dark .editor-menu-popover{background:#252525;border-color:#424242;box-shadow:0 12px 30px #00000059}.app-shell .collection-pane .pane-title-actions button{width:calc(var(--notes-icon-large) + 14px);height:calc(var(--notes-icon-large) + 14px)}.app-shell .collection-pane .pane-title-actions svg{width:var(--notes-icon-large);height:var(--notes-icon-large);min-width:var(--notes-icon-large);min-height:var(--notes-icon-large)}.app-shell .collection-pane .filter-title button{width:calc(var(--notes-icon-base) + 14px);height:calc(var(--notes-icon-base) + 14px)}.app-shell .collection-pane .filter-title svg,.app-shell .collection-pane .notebook-group-header svg{width:var(--notes-icon-base);height:var(--notes-icon-base);min-width:var(--notes-icon-base);min-height:var(--notes-icon-base)}.app-shell .icon-button,.app-shell .modal-close,.app-shell .pane-title-actions button,.app-shell .filter-title button,.app-shell .notebook-drag-handle,.app-shell .editor-toolbar button,.app-shell .calendar-header button,.app-shell .anonymous-banner-close{line-height:1}.app-shell .icon-button,.app-shell .modal-close,.app-shell .pane-title-actions button,.app-shell .filter-title button,.app-shell .editor-toolbar button,.app-shell .calendar-header button{padding:0}.app-shell .icon-button svg,.app-shell .modal-close svg,.app-shell .pane-title-actions svg,.app-shell .filter-title svg,.app-shell .notebook-drag-handle svg,.app-shell .editor-toolbar svg,.app-shell .calendar-header svg{flex:none;display:block}.app-shell .app-sidebar nav button svg,.app-shell .sidebar-account-warning svg,.app-shell .sidebar-signin svg,.app-shell .connection svg,.app-shell .mobile-pane-header svg,.app-shell .notebook-toggle>svg{flex:none;align-self:center;line-height:1;display:block}.app-shell .app-sidebar nav button svg{width:18px;min-width:18px;height:18px;min-height:18px}.app-shell .sidebar-account-warning svg,.app-shell .sidebar-signin svg,.app-shell .connection svg,.app-shell .mobile-pane-header svg{min-width:1em;min-height:1em}.app-shell .collection-pane .notes-action-menu button{text-align:left;white-space:nowrap;background:0 0;border-radius:7px;justify-content:flex-start;gap:9px;width:100%;height:auto;min-height:38px;padding:8px 10px}.app-shell .collection-pane .notes-action-menu button:hover{background:var(--surface-muted,#f7eff2)}.app-shell .collection-pane .notes-action-menu button:disabled{opacity:.45;cursor:not-allowed}.app-shell .collection-pane .notes-action-menu svg{width:var(--notes-icon-base);height:var(--notes-icon-base);min-width:var(--notes-icon-base);min-height:var(--notes-icon-base)}.app-shell .item-list .notes-action-menu button{text-align:left;white-space:nowrap;background:0 0;border-radius:7px;justify-content:flex-start;gap:9px;width:100%;height:auto;min-height:38px;padding:8px 10px}.app-shell .item-list .notes-action-menu button:hover{background:var(--surface-muted,#f7eff2)}.app-shell .item-list .notes-action-menu button:disabled{opacity:.45;cursor:not-allowed}.app-shell .item-list .notes-action-menu svg{width:var(--notes-icon-base);height:var(--notes-icon-base);min-width:var(--notes-icon-base);min-height:var(--notes-icon-base)}@media (width>=701px){.notes-workspace{grid-template-columns:340px minmax(0,1fr)}.app-shell .app-sidebar .sidebar-install{display:none}.app-shell:not(.notes-expanded){--sidebar-transition:cubic-bezier(.22,1,.36,1);grid-template-columns:66px 1fr}:is(.app-shell:not(.notes-expanded):has(.app-sidebar:hover),.app-shell:not(.notes-expanded):has(.app-sidebar:focus-within)){grid-template-columns:215px 1fr}.app-shell:not(.notes-expanded) .app-sidebar{transition:padding .34s var(--sidebar-transition);padding:18px 8px}.app-shell:not(.notes-expanded) .app-sidebar:hover,.app-shell:not(.notes-expanded) .app-sidebar:focus-within{padding:22px 14px}.app-shell:not(.notes-expanded) .app-logo{height:42px;transition:justify-content .34s var(--sidebar-transition),padding .34s var(--sidebar-transition);justify-content:center;align-items:center;padding:4px 0 24px;display:flex;overflow:hidden}.app-shell:not(.notes-expanded) .app-logo span,.app-shell:not(.notes-expanded) .app-sidebar nav button span,.app-shell:not(.notes-expanded) .sidebar-row-label,.app-shell:not(.notes-expanded) .sidebar-account-warning,.app-shell:not(.notes-expanded) .sidebar-signin{opacity:0;white-space:nowrap;max-width:0;transition:opacity .24s ease,max-width .34s var(--sidebar-transition);overflow:hidden}.app-shell:not(.notes-expanded) .app-logo:before{content:"N";letter-spacing:0;opacity:1;font-size:22px;font-weight:800;transition:opacity .22s}.app-shell:not(.notes-expanded) .app-sidebar nav button{transition:gap .34s var(--sidebar-transition),padding .34s var(--sidebar-transition),background .18s ease;justify-content:center;gap:0;padding:10px 0}.app-shell:not(.notes-expanded) .sidebar-install{display:none}.app-shell:not(.notes-expanded) .sidebar-row{transition:gap .34s var(--sidebar-transition),padding .34s var(--sidebar-transition),background .18s ease;justify-content:center;gap:0;padding:10px 0}.app-shell:not(.notes-expanded) .app-sidebar:hover .app-logo,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .app-logo{justify-content:flex-start;padding:4px 10px 28px}.app-shell:not(.notes-expanded) .app-sidebar:hover .app-logo:before,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .app-logo:before{display:none}.app-shell:not(.notes-expanded) .app-sidebar:hover .app-logo span,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .app-logo span,.app-shell:not(.notes-expanded) .app-sidebar:hover nav button span,.app-shell:not(.notes-expanded) .app-sidebar:focus-within nav button span,.app-shell:not(.notes-expanded) .app-sidebar:hover .sidebar-row-label,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .sidebar-row-label,.app-shell:not(.notes-expanded) .app-sidebar:hover .sidebar-account-warning,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .sidebar-account-warning,.app-shell:not(.notes-expanded) .app-sidebar:hover .sidebar-signin,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .sidebar-signin{opacity:1;max-width:190px}.app-shell:not(.notes-expanded) .app-sidebar:hover nav button,.app-shell:not(.notes-expanded) .app-sidebar:focus-within nav button,.app-shell:not(.notes-expanded) .app-sidebar:hover .sidebar-row,.app-shell:not(.notes-expanded) .app-sidebar:focus-within .sidebar-row{justify-content:flex-start;gap:10px;padding:10px 11px}}@media (width<=700px){.notes-workspace.mobile-pane-collections>.collection-pane,.notes-workspace.mobile-pane-detail>.note-detail-pane{display:block}.notes-workspace.mobile-pane-collections>.note-detail-pane,.notes-workspace.mobile-pane-detail>.collection-pane{display:none}.group-note-list{padding-left:14px}.note-meta-actions .icon-button:first-child{display:none}.app-shell.notes-expanded{grid-template-rows:minmax(0,1fr) 58px;grid-template-columns:1fr}.app-shell.notes-expanded>.app-sidebar{opacity:1;visibility:visible;pointer-events:auto;display:flex}.app-sidebar nav{flex:0 auto}.app-sidebar nav .trash-nav{margin-top:0}.recipe-import-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px}.note-row.active{box-shadow:none;background:0 0}.note-row.active:hover{background:var(--surface,#fff);box-shadow:0 1px 5px #11182712}.app-shell .app-sidebar nav button{font-size:calc(var(--app-font-size) * .58)}.app-shell .app-sidebar nav{justify-content:stretch;gap:4px}.app-shell .app-sidebar nav button{border-radius:9px;flex:1 1 0;min-width:0;min-height:46px;padding:7px 4px}.app-shell .sidebar-bottom .sidebar-install:after{font-size:calc(var(--app-font-size) * .58)}.split-view.recipe-mobile-list,.split-view.recipe-mobile-detail{display:block;position:relative}.split-view.recipe-mobile-list>.item-list,.split-view.recipe-mobile-detail>.detail-pane{border-right:0;width:100%;height:100%;display:flex;overflow:auto}.split-view.recipe-mobile-list>.item-list{flex-direction:column;padding:18px}.split-view.recipe-mobile-detail>.detail-pane{flex-direction:column}.split-view.recipe-mobile-list>.detail-pane,.split-view.recipe-mobile-detail>.item-list{display:none}.split-view.recipe-mobile-list .pane-title h2{font-size:22px}.split-view.recipe-mobile-list .list-item{padding:13px 10px}.split-view.recipe-mobile-detail .recipe-detail-view{height:auto;max-height:none}.split-view.recipe-mobile-detail .recipe-form{width:100%;max-width:none;margin:0}}.app-shell .modal-backdrop{box-shadow:none;background:#0f172a6b;border-radius:0}.app-shell .confirm-modal{box-shadow:none}.app-shell .calendar-main{flex-direction:column;min-height:0;display:flex;overflow:hidden}.app-shell .calendar-header,.app-shell .weekday-row,.app-shell .month-grid{flex:none}.app-shell .calendar-note{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.app-shell .calendar-note-heading{flex:none}.app-shell .calendar-note .editor-shell{flex:1;min-height:0;overflow:hidden}.app-shell .calendar-note .editor-input{height:100%;min-height:0;overflow:auto}@media (width>=701px){.app-shell .month-grid{grid-template-rows:repeat(6,minmax(0,1fr));height:min(360px,50dvh - 72px);max-height:min(360px,50dvh - 72px)}.app-shell .calendar-day{height:auto;min-height:42px}}@media (width<=700px){.app-shell .calendar-layout{display:block}.app-shell .calendar-nearby{display:none}.app-shell .calendar-main{height:100%;max-height:100%;padding-bottom:14px;overflow:hidden}}html,body,#root{color:#f5e9ee;background:#181317;min-height:100%}.loading-view{color:#f5e9ee;background:#181317;justify-content:center;align-items:center;min-height:100%;display:flex}
