@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(../media/nunito-cyrillic-ext-wght-normal.0-betx8k8_u3r.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(../media/nunito-cyrillic-wght-normal.3fope3hsfcjah.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(../media/nunito-vietnamese-wght-normal.2n-t_bbv7ec7m.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(../media/nunito-latin-ext-wght-normal.0hsc8w3pfbl3r.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(../media/nunito-latin-wght-normal.1wzrasd95pxo_.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--font-stack-rounded:ui-rounded, "SF Pro Rounded", "Nunito Variable", sans-serif;--font-stack-humanist:"Avenir Next", Avenir, "Segoe UI", Candara, "Noto Sans", sans-serif;--font-stack-serif:"New York", "Iowan Old Style", Charter, Georgia, "Noto Serif", serif;--font-sans:-apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-stack-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-heading:var(--font-stack-display);--font-mono:ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;--font-code:var(--font-mono);--background:#fff;--foreground:#232326;--card:#fff;--card-foreground:#232326;--popover:#fff;--popover-foreground:#232326;--menu-muted:var(--muted-foreground);--primary:#2358a8;--primary-foreground:#fff;--on-primary:#fff;--secondary:#fff;--secondary-foreground:#232326;--muted:#fff;--muted-foreground:#64656b;--accent:#ececef;--accent-foreground:#232326;--destructive:#d74642;--destructive-foreground:#fff;--border:#e7e7e9;--input:#e7e7e9;--ring:#2358a8;--chart-1:#2358a8;--chart-2:#2478c5;--chart-3:#689d6a;--chart-4:#d08770;--chart-5:#8839ef;--radius:.625rem;--sidebar:#f7f7f8;--sidebar-foreground:#232326;--sidebar-primary:#2358a8;--sidebar-primary-foreground:#fff;--sidebar-accent:#ececef;--sidebar-accent-foreground:#232326;--sidebar-border:var(--border);--sidebar-ring:var(--ring);--list:#fbfbfc;--faint:#73747a;--selected:#e8e8ea;--search-highlight:#ffd65c;--sidebar-muted:#64656b;--sidebar-icon:var(--sidebar-muted);--sidebar-selected-icon:#fff;--notes-title:#444;--notes-subtitle:#888;--notes-date:var(--notes-subtitle);--notes-tag:var(--notes-pin);--notes-pin:#2358a8;--notes-separator:#e4e5e6;--notes-selection:#f3f5f7;--notes-toolbar-text:var(--notes-title);--notes-toolbar-icon:#888;--notes-toolbar-hover:#f3f5f7;--editor-accent:#2358a8;--editor-text:#444;--editor-heading:#444;--editor-link:#1d6680;--editor-marker:#d9d9d9;--editor-selection:#d3e6fb;--editor-tag-bg:#e4e5e6;--editor-tag-text:#444;--editor-tag-marker:#888;--editor-code-bg:#f3f5f7;--editor-code-border:#d9d9d9;--editor-code-text:#444;--editor-task-bg:#fff;--editor-task-border:#888;--editor-task-check:#444;--editor-table-border:#d9d9d9;--editor-table-bg:#fff;--editor-table-alt-bg:#f3f5f7;--editor-highlight-bg:#f7e3a0;--editor-highlight-text:#3a2e0a;--editor-toolbar-icon:var(--muted-foreground);--editor-toolbar-hover:var(--accent);--primary-soft:var(--primary)}@supports (color:color-mix(in lab, red, red)){:root{--primary-soft:color-mix(in srgb, var(--primary) 12%, transparent)}}:root{--primary-ink:var(--primary)}@supports (color:color-mix(in lab, red, red)){:root{--primary-ink:color-mix(in srgb, var(--primary) 32%, var(--foreground))}}:root{--shadow:0 18px 60px #14141824, 0 2px 12px #14141814;--doc-width:725px;--editor-font-size:15px;--editor-line-height:1.5;--paragraph-spacing:0px;--paragraph-indent:0px}@media (prefers-color-scheme:dark){:root{--primary:#2e7d5a;--ring:#2e7d5a;--chart-1:#2e7d5a;--background:#1b1b1d;--foreground:#ededee;--card:#1b1b1d;--card-foreground:#ededee;--popover:#2b2b2e;--popover-foreground:#ededee;--secondary:#2b2b2e;--secondary-foreground:#ededee;--muted:#2b2b2e;--muted-foreground:#b6b6bc;--accent:#303034;--accent-foreground:#ededee;--border:#353538;--input:#353538;--sidebar:#202023;--sidebar-foreground:#ededee;--sidebar-primary:#2360a3;--sidebar-primary-foreground:#ededee;--sidebar-accent:#303034;--sidebar-accent-foreground:#ededee;--sidebar-border:#353538;--list:#242427;--faint:#9a9aa2;--selected:#38383d;--sidebar-muted:#b6b6bc;--sidebar-selected-icon:#d9d8da;--notes-title:#ccdbe5;--notes-subtitle:#a2a3a4;--notes-pin:#44a2e5;--notes-separator:#2c2d2f;--notes-selection:#2e2f30;--notes-toolbar-icon:#a2a3a4;--notes-toolbar-hover:#2e2f30;--editor-accent:#44a2e5;--editor-text:#dfe0e0;--editor-heading:#ccdbe5;--editor-link:#44a2e5;--editor-marker:#525354;--editor-selection:#454d56;--editor-tag-bg:#454647;--editor-tag-text:#dfe0e0;--editor-tag-marker:#a2a3a4;--editor-code-bg:#2e2f30;--editor-code-border:#525354;--editor-code-text:#dfe0e0;--editor-task-bg:#1d1e1f;--editor-task-border:#a2a3a4;--editor-task-check:#dfe0e0;--editor-table-border:#525354;--editor-table-bg:#1d1e1f;--editor-table-alt-bg:#2e2f30;--editor-highlight-bg:#215176;--editor-highlight-text:#fff;--shadow:0 18px 60px #00000073, 0 2px 12px #0000003d}}*{box-sizing:border-box}.notes-panel mark{color:inherit;background:var(--search-highlight);border-radius:2px}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{color:var(--foreground);background:var(--background);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-size:13px;line-height:1.35}body:before{content:"";z-index:10000;height:env(safe-area-inset-top);pointer-events:none;background:var(--app-chrome-color,var(--background));position:fixed;top:0;left:0;right:0}button,input,textarea,select{color:inherit;font:inherit}button{cursor:pointer;background:0 0;border:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--primary-ink);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.vault-gate{width:100%;min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:radial-gradient(circle at 50% -20%, var(--primary), transparent 48%), var(--background);place-items:center;display:grid;overflow:auto}@supports (color:color-mix(in lab, red, red)){.vault-gate{background:radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 48%), var(--background)}}.vault-card{background:var(--secondary);border:1px solid var(--border);width:min(100%,420px);box-shadow:var(--shadow);border-radius:16px;gap:15px;padding:clamp(24px,6vw,38px);display:grid}.vault-card h1,.vault-card h2,.vault-card p{margin:0}.vault-card>:is(h1,h2,p){text-align:center}.vault-card h1{font-family:var(--font-heading);font-size:24px;line-height:1.15}.vault-card h2{font-family:var(--font-heading);font-size:17px;line-height:1.25}.vault-card p{color:var(--muted-foreground);font-size:13px;line-height:1.55}.vault-brand{border-radius:20px;justify-self:center;place-items:center;width:90px;height:90px;display:grid;overflow:hidden;box-shadow:0 8px 24px #0000002e}.vault-brand-icon{display:block}.vault-phase-icon{justify-self:center}.vault-form{gap:13px;display:grid}.vault-form label{color:var(--foreground);gap:6px;font-size:12px;font-weight:600;display:grid}.vault-form input,.vault-form textarea,.vault-recovery-code{width:100%;min-height:43px;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:8px;padding:10px 12px;font-weight:400}.vault-form label>small{color:var(--muted-foreground);font-size:11px;font-weight:400}.vault-form .vault-remember-device{grid-template-columns:auto 1fr;align-items:start;gap:9px;line-height:1.35}.vault-form .vault-remember-device input{width:16px;min-height:16px;accent-color:var(--primary);margin-top:1px}.vault-form .vault-remember-device span{gap:2px;display:grid}.vault-form .vault-remember-device small{color:var(--muted-foreground);font-size:11px;font-weight:400}.vault-form textarea,.vault-recovery-code{resize:vertical;font-family:var(--font-mono);overflow-wrap:anywhere;line-height:1.45}.vault-card button{color:#fff;background:var(--primary);border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 14px;font-weight:650;display:inline-flex}.vault-card button:hover:not(:disabled){filter:brightness(.96)}.vault-card button:disabled{cursor:not-allowed;opacity:.52}.vault-card .vault-secondary-action{color:var(--foreground);background:var(--accent)}.vault-card .vault-text-action{min-height:34px;color:var(--muted-foreground);background:0 0;font-weight:500}.signin-screen{width:100%;min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));background:var(--background);place-items:center;display:grid;overflow:auto}.signin-panel{border:1px solid var(--border);background:var(--secondary);width:min(100%,420px);box-shadow:var(--shadow);border-radius:16px;gap:15px;padding:clamp(24px,6vw,38px);display:grid}.signin-brand{color:var(--primary);place-items:center;display:grid}.signin-panel h1,.signin-panel p{text-align:center;margin:0}.signin-panel h1{color:var(--foreground);font-size:22px;font-weight:700;line-height:1.25}.signin-form{gap:13px;display:grid}.signin-form label{gap:6px;font-size:12px;font-weight:650;display:grid}.signin-form input{border:1px solid var(--input);background:var(--background);border-radius:8px;min-height:42px;padding:0 12px}.signin-form button{min-height:42px;color:var(--on-primary);background:var(--primary);border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:650;display:inline-flex}.signin-form input[readonly]{color:var(--muted-foreground);background:var(--secondary)}.signin-form .signin-remember{grid-template-columns:auto 1fr;align-items:start;gap:9px;font-weight:600;line-height:1.35}.signin-form .signin-remember input{width:16px;min-height:16px;accent-color:var(--primary);margin-top:1px}.signin-form .signin-remember span{gap:2px;display:grid}.signin-form .signin-remember small{color:var(--muted-foreground);font-size:11px;font-weight:400}.signin-panel .signin-offline{color:var(--muted-foreground);justify-content:center;align-items:center;gap:6px;display:inline-flex}.signin-links{flex-wrap:wrap;justify-content:center;gap:4px 16px;display:flex}.signin-links button{color:var(--primary-ink);padding:4px;font-size:12px;font-weight:650}.signin-links button:disabled{cursor:not-allowed;opacity:.52}.signin-demo-entry{color:var(--muted-foreground);justify-content:center;align-items:center;gap:6px;font-size:12px;display:flex}.signin-demo-entry button{color:var(--primary-ink);padding:4px;font-weight:700}.demo-dialog-backdrop{z-index:120;background:#0000007a;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.demo-dialog{border:1px solid var(--border);width:min(720px,100%);max-height:calc(100dvh - 40px);color:var(--foreground);background:var(--secondary);box-shadow:var(--shadow);border-radius:20px;position:relative;overflow:auto}.demo-dialog-close{z-index:2;color:#2b2d5e;background:#ffffffb8;border-radius:50%;width:34px;height:34px;font-size:20px;position:absolute;top:14px;right:14px}.demo-pricing-hero{color:#2b2d5e;background:linear-gradient(90deg,#fcf7ffe0 0%,#fcf7ff8c 42%,#fcf7ff00 66%),url(/demo/pricing-hero.webp) 50%/cover no-repeat,#e6ddf8;align-content:center;justify-items:start;gap:6px;min-height:300px;padding:36px 38px;display:grid;position:relative}.demo-pricing-hero>*{max-width:330px;margin:0}.demo-pricing-eyebrow{color:#6c5a9c;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.demo-pricing-hero h2{letter-spacing:-.02em;font-size:30px;font-weight:800;line-height:1.12}.demo-pricing-price{align-items:baseline;gap:8px;margin-top:6px;display:flex}.demo-pricing-price strong{letter-spacing:-.03em;font-size:42px;font-weight:800;line-height:1}.demo-pricing-price span{color:#5d5585;font-size:15px;font-weight:650}.demo-pricing-lead{color:#4a4470;font-size:15px;line-height:1.45}.demo-pricing-body{padding:26px 34px 30px}.demo-pricing-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0;padding:0;list-style:none;display:grid}.demo-pricing-features li{align-items:flex-start;gap:12px;display:flex}.demo-pricing-feature-icon{width:36px;height:36px;color:var(--primary-ink);background:var(--primary);flex:none;place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.demo-pricing-feature-icon{background:color-mix(in srgb, var(--primary) 14%, transparent)}}.demo-pricing-feature-icon{border-radius:11px}.demo-pricing-features strong{font-size:14px;font-weight:700;line-height:1.3;display:block}.demo-pricing-features small{color:var(--muted-foreground);margin-top:2px;font-size:12.5px;line-height:1.4;display:block}.demo-pricing-note{color:var(--muted-foreground);margin:20px 0 0;font-size:13px;line-height:1.5}.demo-pricing-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.demo-pricing-actions button{min-height:42px;color:var(--foreground);background:var(--accent);border-radius:11px;padding:0 18px;font-weight:650}@media (max-width:620px){.demo-dialog-backdrop{padding:12px}.demo-dialog{max-height:calc(100dvh - 24px)}.demo-pricing-hero{background:linear-gradient(#fcf7ff00 25%,#fcf7ffb3 55%,#fcf7fff0 100%),url(/demo/pricing-hero.webp) 70%/cover no-repeat,#e6ddf8;align-content:end;min-height:260px;padding:28px 24px}.demo-pricing-hero h2{font-size:24px}.demo-pricing-body{padding:22px 20px 24px}.demo-pricing-features{grid-template-columns:minmax(0,1fr)}.demo-pricing-actions button{flex:100%}}.demo-pricing-actions .demo-pricing-primary{color:var(--on-primary);background:var(--primary);box-shadow:0 8px 22px var(--primary)}@supports (color:color-mix(in lab, red, red)){.demo-pricing-actions .demo-pricing-primary{box-shadow:0 8px 22px color-mix(in srgb, var(--primary) 30%, transparent)}}.vault-error{background:var(--destructive);padding:10px 12px;color:var(--destructive)!important}@supports (color:color-mix(in lab, red, red)){.vault-error{background:color-mix(in srgb, var(--destructive) 9%, transparent)}}.vault-error{border:1px solid var(--destructive)}@supports (color:color-mix(in lab, red, red)){.vault-error{border:1px solid color-mix(in srgb, var(--destructive) 24%, transparent)}}.vault-error{border-radius:8px}.app-shell{--primary-soft:var(--primary)}@supports (color:color-mix(in lab, red, red)){.app-shell{--primary-soft:color-mix(in srgb, var(--primary) 12%, transparent)}}.app-shell{--primary-ink:var(--primary)}@supports (color:color-mix(in lab, red, red)){.app-shell{--primary-ink:color-mix(in srgb, var(--primary) 32%, var(--foreground))}}.app-shell{--menu-item-hover:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.app-shell{--menu-item-hover:color-mix(in srgb, var(--foreground) 12%, var(--secondary))}}.app-shell{--editor-muted:var(--muted-foreground);grid-template-columns:var(--sidebar-width,220px) var(--notes-width,314px) minmax(0, 1fr);width:100vw;height:100dvh;color:var(--foreground);background:var(--background);display:grid;position:relative;overflow:hidden}@media (min-width:1061px){.app-shell.focus-mode{grid-template-columns:minmax(0,1fr)}.focus-mode .sidebar,.focus-mode .notes-panel,.focus-mode .panel-resizer{display:none}.focus-mode .editor-panel{grid-column:1}}.panel-resizer{z-index:12;cursor:col-resize;touch-action:none;border:0;outline:0;width:9px;padding:0;position:absolute;top:0;bottom:0;transform:translate(-50%)}.panel-resizer:after{content:"";background:0 0;transition:background .12s;position:absolute;inset:0 3px}.panel-resizer:hover:after,.panel-resizer:focus-visible:after,.panel-resizer[data-dragging=true]:after{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.panel-resizer:hover:after,.panel-resizer:focus-visible:after,.panel-resizer[data-dragging=true]:after{background:color-mix(in srgb, var(--primary) 60%, transparent)}}.panel-resizer-sidebar{left:var(--sidebar-width,220px)}.panel-resizer-notes{left:calc(var(--sidebar-width,220px) + var(--notes-width,314px))}.sidebar,.notes-panel,.editor-panel{min-width:0;height:100dvh;overflow:hidden}.sidebar{--foreground:var(--sidebar-foreground);--muted-foreground:var(--sidebar-muted);--faint:var(--sidebar-muted);--accent:var(--sidebar-accent);--selected:var(--sidebar-accent);--primary-ink:var(--primary)}@supports (color:color-mix(in lab, red, red)){.sidebar{--primary-ink:color-mix(in srgb, var(--primary) 32%, var(--foreground))}}.sidebar{color:var(--sidebar-foreground);background:var(--sidebar);border-right:1px solid var(--sidebar-border);z-index:3;flex-direction:column;padding:12px 10px 10px;display:flex;position:relative;overflow-y:auto}.brand-row{justify-content:space-between;align-items:center;height:44px;padding:0 3px 0 5px;display:flex}.brand{min-width:0;font-family:var(--font-heading);letter-spacing:-.018em;white-space:nowrap;align-items:center;gap:10px;font-size:15px;font-weight:650;display:flex}.sidebar-nav .nav-label{padding-bottom:8px}.sidebar-nav button>span{text-overflow:ellipsis;overflow:hidden}.tags-heading{flex:none;justify-content:space-between;align-items:center;display:flex;padding-bottom:10px!important}.tags-heading>span{font-variant-numeric:tabular-nums;letter-spacing:normal}.sidebar-empty-tags{color:var(--sidebar-muted);margin:4px 9px;font-size:12px;line-height:1.6}.tag-menu-button{width:24px;height:30px;color:var(--sidebar-muted);opacity:0;border-radius:6px;flex:0 0 24px;place-items:center;display:grid}.tag-row-wrap:hover .tag-menu-button,.tag-row-wrap:focus-within .tag-menu-button{opacity:1}.tag-menu-button:hover{color:var(--sidebar-foreground)}@media (hover:none){.tag-menu-button{opacity:1}}.sidebar .brand-row,.sidebar-footer{flex-shrink:0}.sidebar-app-icon{border-radius:10px;flex:none;display:block}.icon-button{width:34px;height:34px;color:var(--muted-foreground);border-radius:6px;flex:none;justify-content:center;align-items:center;transition:color .12s,background .12s;display:inline-flex}.icon-button:hover,.icon-button.is-active{color:var(--foreground);background:var(--accent)}.icon-button.is-active{color:var(--primary-ink)}.icon-button.is-danger:hover{color:var(--destructive)}.sidebar-nav button,.tag-row{width:100%;min-height:36px;color:var(--sidebar-foreground);text-align:left;white-space:nowrap;border-radius:8px;align-items:center;gap:10px;padding:0 9px;font-size:13px;display:flex}.sidebar-nav button:hover{color:var(--foreground);background:var(--accent)}.sidebar-nav button svg,.tag-row svg{color:var(--sidebar-icon)}.nav-label{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;margin:0;padding:0 9px;font-size:10px;font-weight:600}.sidebar-nav{flex:0 auto;gap:2px;margin-top:16px;display:grid}.sidebar-nav button{min-height:32px;position:relative}.tag-children-disclosure{grid-template-rows:1fr;transition:grid-template-rows .24s cubic-bezier(.32,.72,0,1);display:grid}.tag-children-inner{opacity:1;min-height:0;transition:opacity .18s,transform .24s cubic-bezier(.32,.72,0,1);overflow:hidden;transform:translateY(0)}.tag-children-disclosure.is-collapsed{grid-template-rows:0fr}.sidebar-nav button.is-selected,.tag-row-wrap.is-selected{color:var(--sidebar-primary-foreground);background:var(--sidebar-primary);font-weight:520}.sidebar-nav button.is-selected svg,.tag-row.is-selected svg,.sidebar-nav button.is-selected small{color:var(--sidebar-selected-icon)}.sidebar-nav button small{color:var(--faint);margin-left:auto;font-size:11px}.tags-section{border-top:1px solid var(--sidebar-border);flex-direction:column;flex:1;min-height:100px;margin-top:14px;padding-top:12px;display:flex}.tag-tree{min-height:0;overflow:auto}.tag-row-wrap{border-radius:8px;align-items:center;display:flex;position:relative}.tag-row-wrap:hover,.tag-row-wrap:focus-within{background:var(--sidebar-accent)}.tag-row-wrap.is-selected{background:var(--sidebar-primary)}.tag-row-wrap.is-selected .tag-row{color:var(--sidebar-primary-foreground);font-weight:520}.tag-row-wrap.is-selected .tag-tree-toggle,.tag-row-wrap.is-selected .tag-menu-button{color:var(--sidebar-selected-icon)}.tag-row{flex:1;min-width:0;height:34px;padding-left:2px}.tag-row>span:last-of-type{text-overflow:ellipsis;overflow:hidden}.tag-tree-toggle,.tag-tree-spacer{width:18px;min-width:18px}.tag-tree-toggle{height:30px;color:var(--faint);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.tag-tree-toggle:hover{color:var(--foreground)}.tag-tree-toggle svg{transition:transform .22s cubic-bezier(.32,.72,0,1);transform:rotate(0)}.tag-tree-toggle.is-expanded svg{transform:rotate(90deg)}.sidebar-footer{border-top:1px solid var(--sidebar-border);justify-content:space-between;align-items:center;gap:2px;padding-top:7px;display:flex;position:relative}.sidebar-settings-button,.sidebar-theme-button,.sidebar-account-trigger{color:var(--sidebar-muted)}.sidebar-settings-button:hover,.sidebar-theme-button:hover,.sidebar-theme-button[aria-expanded=true],.sidebar-account-trigger:hover,.sidebar-account-trigger[aria-expanded=true]{color:var(--sidebar-foreground);background:var(--sidebar-accent)}.sidebar-account-anchor{z-index:21}.sidebar-account-scrim{z-index:19;position:fixed;inset:0}.sidebar:has(.sidebar-account-scrim){z-index:45}.popover.sidebar-account-menu{--foreground:var(--popover-foreground);--muted-foreground:var(--menu-muted);--primary-ink:var(--primary)}@supports (color:color-mix(in lab, red, red)){.popover.sidebar-account-menu{--primary-ink:color-mix(in srgb, var(--primary) 32%, var(--popover-foreground))}}.popover.sidebar-account-menu{z-index:20;width:min(226px,100vw - 20px);position:fixed;bottom:58px;left:10px}.sidebar-account-menu-heading{min-width:0;color:var(--popover-foreground);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:7px 9px 6px;display:grid}.sidebar-account-menu-heading>span{gap:2px;min-width:0;display:grid}.sidebar-account-menu-heading small{color:var(--menu-muted);font-size:10px}.sidebar-account-menu-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.notes-panel{background:var(--list);border-right:1px solid var(--border);flex-direction:column;display:flex;position:relative;overflow:visible}.notes-panel .list-tools .icon-button{color:var(--notes-toolbar-icon)}.notes-panel .list-tools .icon-button:hover,.notes-panel .list-tools .icon-button.is-active{background:var(--notes-toolbar-hover)}.editor-panel{position:relative}.editor-panel.is-empty>:not(.empty-editor-panel){visibility:hidden;pointer-events:none}.editor-panel.is-empty>.note-tabs{z-index:16;visibility:visible;pointer-events:auto;position:relative}.empty-editor-panel{color:var(--muted-foreground);background:var(--card);text-align:center;z-index:15;align-content:center;justify-items:center;gap:18px;padding:24px;display:grid;position:absolute;inset:0;overflow:hidden}.empty-editor-illustration{background:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.empty-editor-illustration{background:color-mix(in srgb, var(--foreground) 34%, transparent)}}.empty-editor-illustration{-webkit-mask:url(/illustrations/empty-notes.png) 50%/contain no-repeat;mask:url(/illustrations/empty-notes.png) 50%/contain no-repeat}.empty-editor-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px;display:flex}.empty-editor-actions button{min-height:40px;color:var(--primary-ink);background:var(--primary-soft);border:1px solid var(--primary-ink);justify-content:center;align-items:center;gap:5px;padding:0 12px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.empty-editor-actions button{border:1px solid color-mix(in srgb, var(--primary-ink) 32%, transparent)}}.empty-editor-actions button{border-radius:6px;font-size:12px}.empty-editor-actions .empty-mobile-back{display:none}.list-header{z-index:13;border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:54px;padding:8px 12px 8px 16px;display:flex;position:relative}.list-heading{flex:1;min-width:0}.list-header h1{margin:0}.list-heading-button{max-width:100%;min-height:34px;color:var(--notes-toolbar-text);font-family:var(--font-heading);letter-spacing:-.025em;border-radius:6px;align-items:center;gap:6px;padding:0 5px;font-size:16px;font-weight:650;line-height:1;display:flex}.list-heading-button:hover,.list-heading-button[aria-expanded=true]{background:var(--notes-toolbar-hover)}.list-heading-button:focus-visible{outline:2px solid var(--primary-ink);outline-offset:1px}.list-heading-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.list-heading-count{color:var(--muted-foreground);letter-spacing:0;white-space:nowrap;flex:none;font-size:11px;font-weight:450}.list-heading-icon,.list-heading-chevron{color:var(--muted-foreground);flex:none;align-items:center;display:inline-flex}.list-heading-icon{color:var(--notes-toolbar-icon)}.list-heading-chevron{transform:rotate(90deg)}.list-sort-menu{min-width:194px;max-height:calc(100dvh - 72px);top:calc(100% + 5px);left:0;overflow:visible}.list-menu-scrim{z-index:19;position:fixed;inset:0}.list-sort-menu button{justify-content:space-between}.list-menu-count{min-height:24px;color:var(--faint);padding:2px 9px 4px;font-size:11px}.list-submenu-trigger>span,.list-menu-item-label{align-items:center;gap:8px;display:inline-flex}.list-submenu-trigger>svg{color:var(--muted-foreground);flex:none}.list-menu-submenu{min-width:164px;left:calc(100% + 4px)}.list-sorting-submenu{top:26px}.list-preview-submenu{top:60px}.list-menu-submenu button>svg:last-child{color:var(--primary-ink);flex:none}.list-menu-submenu button:disabled{cursor:default;opacity:.45}.list-tools{align-items:center;gap:2px;display:flex}.mobile-back,.list-menu-icon,.mobile-account-icon,.mobile-sidebar-dismiss,.mobile-new-note{display:none}.desktop-account-icon{display:inline-flex}.list-search{height:40px;color:var(--muted-foreground);background:var(--card);border:1px solid var(--border);border-radius:6px;align-items:center;gap:8px;margin:9px 11px 5px;padding:0 10px;display:flex}.list-search:focus-within,.quick-input:focus-within{outline:2px solid var(--primary-ink);outline-offset:2px}.list-search input{width:100%;min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;font-size:13px}.list-search button{width:24px;height:24px;color:var(--muted-foreground);place-items:center;display:grid}.notes-list{flex:1;min-height:0;overflow-y:auto}.notes-list-rows{width:100%;position:relative}.note-row{width:100%;min-height:78px;color:var(--foreground);border-bottom:1px solid var(--notes-separator);text-align:left;position:absolute;top:0;left:0}.note-row-open{width:100%;min-height:inherit;color:var(--foreground);text-align:left;align-items:flex-start;gap:10px;padding:11px 16px 10px;display:flex}.note-row:hover{background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.note-row:hover{background:color-mix(in srgb, var(--accent) 54%, transparent)}}.note-row.is-selected{background:var(--notes-selection)}.note-row.is-multi-selected{background:var(--primary-soft);box-shadow:inset 3px 0 var(--primary)}.note-row-main{flex:1;min-width:0}.note-row-thumbnails{border-radius:5px;flex:none;grid-template-columns:repeat(2,44px);gap:4px;width:92px;display:grid;overflow:hidden}.note-row-thumbnails img{object-fit:cover;background:var(--accent);border-radius:5px;width:44px;height:44px;display:block}.note-row-thumbnails.is-single{grid-template-columns:44px;width:44px}.note-row-title{min-width:0;color:var(--notes-pin);align-items:center;gap:5px;margin-bottom:4px;padding-right:30px;display:flex}.note-row-title>svg{flex:none}.note-row strong{letter-spacing:-.012em;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--notes-title);flex:1;margin-bottom:0;font-size:13px;font-weight:600;line-height:1.25;display:block;overflow:hidden}.note-row small{color:var(--notes-subtitle);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;font-weight:400;line-height:1.42;display:-webkit-box;overflow:hidden}.note-date{color:var(--notes-date);margin-top:5px;font-size:10px;line-height:1.2;display:block}.note-excerpt{color:var(--notes-subtitle)}.note-row-selection{width:20px;height:20px;color:var(--primary-ink);background:var(--primary-soft);border:1px solid var(--primary);flex:none;place-items:center;margin-top:0;display:grid}@supports (color:color-mix(in lab, red, red)){.note-row-selection{border:1px solid color-mix(in srgb, var(--primary) 40%, var(--border))}}.note-row-selection{border-radius:50%}.trash-toolbar,.note-batch-toolbar{color:var(--muted-foreground);background:var(--card);border:1px solid var(--border);border-radius:8px;flex:none;align-items:center;gap:5px;margin:5px 8px;padding:6px 7px;font-size:11px;display:flex}.trash-toolbar{justify-content:space-between}.note-batch-toolbar{flex-wrap:wrap}.note-batch-toolbar>strong{color:var(--foreground);white-space:nowrap;margin-right:auto;font-size:11px}.trash-toolbar button,.note-batch-toolbar button{min-height:28px;color:var(--foreground);background:var(--secondary);border:1px solid var(--border);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:0 7px;font-size:10px;display:inline-flex}.trash-toolbar button:hover,.note-batch-toolbar button:hover:not(:disabled){background:var(--accent)}.note-batch-toolbar button:disabled{cursor:not-allowed;opacity:.45}.note-batch-toolbar button.danger{color:var(--destructive)}.note-batch-toolbar .note-batch-clear{justify-content:center;width:28px;padding:0}.batch-tag-form{z-index:25;background:var(--secondary);border:1px solid var(--border);width:218px;box-shadow:var(--shadow);border-radius:7px;gap:5px;padding:6px;display:flex;position:absolute;top:calc(100% + 5px);left:0}.batch-tag-form input{min-width:0;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:5px;flex:1;padding:0 7px;font-size:11px}.note-row-menu{width:28px;height:28px;color:var(--muted-foreground);background:var(--list);place-items:center;display:grid;position:absolute;top:7px;right:7px}@supports (color:color-mix(in lab, red, red)){.note-row-menu{background:color-mix(in srgb, var(--list) 92%, transparent)}}.note-row-menu{opacity:0;z-index:2;border-radius:5px}.note-row:hover .note-row-menu,.note-row:focus-within .note-row-menu,.note-row-menu[aria-expanded=true]{opacity:1}.note-row-menu:hover,.note-row-menu:focus-visible{color:var(--foreground);background:var(--accent)}@media (hover:none){.note-row-menu{opacity:1}}.preview-small .note-row{min-height:54px}.preview-small .note-excerpt,.preview-small .note-date{display:none}.preview-small .note-row-title{margin-bottom:0}.preview-medium .note-row{min-height:82px}.preview-medium .note-row-title{margin-bottom:8px}.preview-medium .note-excerpt{-webkit-line-clamp:2}.preview-medium .note-date{margin-top:7px}.preview-large .note-row{min-height:138px}.preview-large .note-row-title{margin-bottom:9px}.preview-large .note-excerpt{-webkit-line-clamp:6}.preview-large .note-date{margin-top:10px}.preview-large .note-row-thumbnails{grid-template-columns:repeat(2,56px);width:116px}.preview-large .note-row-thumbnails img{width:56px;height:56px}.preview-large .note-row-thumbnails.is-single{grid-template-columns:56px;width:56px}.empty-list{min-height:280px;color:var(--faint);align-content:center;justify-items:center;gap:9px;display:grid}.empty-list p{margin:0;font-size:13px}.empty-list button{color:var(--primary-ink);font-size:13px}.editor-panel{background:var(--card);flex-direction:column;display:flex;position:relative;container:note-editor/inline-size}.note-tabs{min-width:0;min-height:38px;color:var(--muted-foreground);background:var(--secondary);align-items:stretch;gap:3px;padding:5px 10px 0;display:flex;overflow-x:auto}@supports (color:color-mix(in lab, red, red)){.note-tabs{background:color-mix(in srgb, var(--secondary) 92%, var(--card))}}.note-tabs{border-bottom:1px solid var(--border);scrollbar-width:none}.note-tabs::-webkit-scrollbar{display:none}.note-tab{border:1px solid #0000;border-bottom:0;border-radius:7px 7px 0 0;flex:none;align-items:stretch;min-width:0;max-width:min(240px,42vw);display:flex}.note-tab>[role=tab]{min-width:0;min-height:32px;color:var(--muted-foreground);text-align:left;background:0 0;border:0;border-radius:6px 0 0;align-items:center;gap:4px;padding:0 5px 0 11px;font-size:12px;display:flex}.note-tab>[role=tab] span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.note-tab>[role=tab]:hover,.note-tab>[role=tab]:focus-visible,.note-tab-close:hover,.note-tab-close:focus-visible{color:var(--foreground);background:var(--accent)}.note-tab:has([aria-selected=true]){color:var(--foreground);background:var(--card);border-color:var(--border)}.note-tab>[role=tab][aria-selected=true]{color:var(--foreground);font-weight:600}.note-tab-close{width:27px;min-height:32px;color:var(--muted-foreground);background:0 0;border:0;border-radius:0 6px 0 0;flex:0 0 27px;place-items:center;padding:0;display:grid}.note-tab>[role=tab]:focus-visible,.note-tab-close:focus-visible{outline:2px solid var(--primary-ink);outline-offset:-2px}.editor-toolbar{z-index:4;border-bottom:1px solid #0000;align-items:center;min-height:54px;padding:8px 16px;display:flex}.editor-toolbar .icon-button{color:var(--editor-toolbar-icon)}.editor-toolbar .icon-button:hover,.editor-toolbar .icon-button.is-active{background:var(--editor-toolbar-hover)}.editor-toolbar .icon-button.is-active{color:var(--editor-accent)}.save-state{min-width:210px;color:var(--faint);justify-content:flex-end;align-items:center;gap:5px;margin-left:auto;font-size:11px;display:flex}.local-save-state,.sync-state{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.sync-state{min-height:28px;color:var(--faint);background:0 0;border-radius:6px;padding:0 7px;font-size:11px}.sync-state:hover:not(:disabled){color:var(--foreground);background:var(--accent)}.sync-state:disabled{cursor:progress;opacity:.7}.sync-state.is-error,.sync-state.is-auth-required,.local-save-state.is-error{color:var(--destructive)}.demo-badge{color:var(--primary-ink);background:var(--primary-soft);font-family:var(--font-sans);letter-spacing:.02em;vertical-align:middle;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:650}.empty-app h1 .demo-badge{margin-left:8px}.editor-toolbar:has(.save-state.is-demo){flex-wrap:wrap;row-gap:6px}.editor-toolbar:has(.save-state.is-demo) .editor-actions{margin-left:auto}.editor-toolbar .save-state.is-demo{order:1;justify-content:center;width:100%;min-width:0;margin-left:0;display:flex}@container note-editor (min-width:720px){.editor-toolbar:has(.save-state.is-demo){grid-template-columns:1fr auto 1fr;column-gap:8px;display:grid}.editor-toolbar .save-state.is-demo{order:0;width:auto}.editor-toolbar:has(.save-state.is-demo) .editor-actions{justify-self:end}}.demo-status-signin,.demo-status-price{white-space:nowrap;border-radius:6px;min-height:28px;padding:0 9px;font-size:11px;font-weight:650}.demo-status-signin{color:var(--foreground);background:var(--accent)}.demo-status-price{color:var(--on-primary);background:var(--primary)}.empty-app-demo-status{min-width:0;margin:8px 0 0}.editor-actions{align-items:center;gap:2px;display:flex}.menu-anchor{position:relative}.popover{z-index:20;min-width:198px;color:var(--popover-foreground);background:var(--popover);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;padding:6px;position:absolute}.action-menu{top:40px;right:0}.popover button{text-align:left;border-radius:5px;align-items:center;gap:9px;width:100%;min-height:34px;padding:0 9px;font-size:12px;display:flex}.popover button:not(:disabled):hover,.popover button:not(:disabled):focus-visible{background:var(--menu-item-hover)}.popover button.danger,.danger-text{color:var(--destructive)}.popover hr{background:var(--border);border:0;height:1px;margin:5px 2px}.editor-scroll{scrollbar-gutter:stable both-edges;flex:1;min-height:0;overflow-y:auto}.modal-statusline{min-width:0;min-height:32px;color:var(--muted-foreground);background:var(--secondary);flex:0 0 32px}@supports (color:color-mix(in lab, red, red)){.modal-statusline{background:color-mix(in srgb, var(--secondary) 88%, var(--card))}}.modal-statusline{font-family:var(--font-code);letter-spacing:.015em;z-index:5;font-size:11px;line-height:1;box-shadow:0 -10px 28px #0000000f}.modal-statusline-inner{width:min(var(--doc-width), calc(100% - 72px));align-items:stretch;min-width:0;height:100%;margin:0 auto;display:flex}.modal-statusline-inner>span{white-space:nowrap;align-items:center;padding:0 12px;display:flex}.modal-status-mode{min-width:92px;color:var(--primary-ink);background:var(--primary-soft);letter-spacing:.09em;justify-content:center;font-weight:750}.modal-statusline[data-mode=insert] .modal-status-mode{color:var(--foreground);background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.modal-statusline[data-mode=insert] .modal-status-mode{background:color-mix(in srgb, var(--primary) 24%, var(--secondary))}}.modal-statusline[data-mode^=visual] .modal-status-mode{color:var(--foreground);background:var(--editor-selection)}.modal-status-command{min-width:0;color:var(--primary-ink);letter-spacing:.06em;font-variant-numeric:tabular-nums;flex:1;justify-content:flex-end;font-weight:700}.modal-status-dialog,.modal-status-dialog>div{flex:1;align-items:center;min-width:0;display:flex}.modal-status-dialog:focus-within{box-shadow:inset 0 -2px 0 var(--primary-ink)}.modal-status-dialog input{min-width:0;color:var(--foreground);font:inherit;text-align:right;background:0 0;border:0;outline:0;flex:1}.modal-status-dialog .cm-vim-message{text-overflow:ellipsis;min-width:0;overflow:hidden;white-space:nowrap!important}.modal-status-position{min-width:112px;color:var(--foreground);font-variant-numeric:tabular-nums;justify-content:flex-end}@container note-editor (max-width:620px){.modal-statusline-inner>span{padding-inline:9px}.modal-status-mode{min-width:76px}}.document{width:min(var(--doc-width), calc(100% - 72px));min-height:calc(100dvh - 54px);margin:0 auto;padding:24px 0 28px}.editor-wrap{min-height:520px;position:relative}.live-markdown-editor,.live-markdown-editor .cm-editor{width:100%;min-height:max(540px,100dvh - 220px)}@media (min-width:721px){@container note-editor (max-width:860px){.live-markdown-editor .cm-live-heading-control{width:34px}.live-markdown-editor .cm-live-heading-control .cm-heading-level-trigger{left:0}.live-markdown-editor .cm-live-heading .cm-fold-side-button{left:-32px}}}.font-serif .live-markdown-editor .cm-content{font-family:var(--font-stack-serif)}.font-rounded .live-markdown-editor .cm-content{font-family:var(--font-stack-rounded)}.font-humanist .live-markdown-editor .cm-content{font-family:var(--font-stack-humanist)}.font-mono .live-markdown-editor .cm-content{font-family:var(--font-mono)}.heading-font-sans{--font-heading:var(--font-stack-display)}.heading-font-rounded{--font-heading:var(--font-stack-rounded)}.heading-font-humanist{--font-heading:var(--font-stack-humanist)}.heading-font-serif{--font-heading:var(--font-stack-serif)}.heading-font-mono{--font-heading:var(--font-mono)}.code-font-sans{--font-code:var(--font-sans)}.code-font-rounded{--font-code:var(--font-stack-rounded)}.code-font-humanist{--font-code:var(--font-stack-humanist)}.code-font-serif{--font-code:var(--font-stack-serif)}.code-font-mono{--font-code:var(--font-mono)}.live-markdown-editor .cm-content ::selection{color:var(--editor-text);background:var(--editor-selection)}.live-markdown-editor .cm-live-tag:not(.cm-live-tag-active):before{color:var(--editor-tag-marker);content:"#";margin-right:.08em}.locked-note-banner{width:max-content;max-width:100%;min-height:32px;color:var(--muted-foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);z-index:8;border-radius:7px;align-items:center;gap:7px;margin:-10px auto 14px;padding:0 7px 0 10px;font-size:11px;display:flex;position:sticky;top:8px}.locked-note-banner button{min-height:24px;color:var(--primary-ink);background:var(--primary-soft);border-radius:5px;padding:0 8px}.context-menu-layer{z-index:40;position:fixed;inset:0}.tag-context-menu,.note-context-menu{width:200px;color:var(--foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;padding:5px;position:fixed}.note-context-menu{overscroll-behavior:contain;width:min(236px,100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto}.tag-context-menu>button,.note-context-menu>button{text-align:left;border-radius:5px;align-items:center;gap:9px;width:100%;min-height:34px;padding:0 9px;font-size:12px;display:flex}.tag-context-menu>button:not(:disabled):hover,.tag-context-menu>button:not(:disabled):focus-visible,.note-context-menu>button:not(:disabled):hover,.note-context-menu>button:not(:disabled):focus-visible{background:var(--menu-item-hover)}.tag-context-menu hr,.note-context-menu>hr{border:0;border-top:1px solid var(--border);margin:4px 6px}.context-menu-label{color:var(--faint);letter-spacing:.055em;text-transform:uppercase;margin:7px 9px 4px;font-size:10px;font-weight:700}.note-context-menu>button.context-menu-block{padding-left:33px}.tag-context-menu>button.danger,.note-context-menu>button.danger{color:var(--destructive)}.note-context-menu>button:disabled{opacity:.42;cursor:not-allowed}.note-context-menu>button:disabled:hover{background:0 0}.note-context-form{gap:10px;padding:3px;display:grid}.note-context-form>header{align-items:center;gap:7px;min-height:28px;display:flex}.note-context-form>header button{width:28px;height:28px;color:var(--muted-foreground);border-radius:5px;place-items:center;margin-left:-2px;display:grid}.note-context-form>header button:hover{color:var(--foreground);background:var(--accent)}.note-context-form>header strong{font-size:12px;font-weight:650}.note-context-form>input{width:100%;height:36px;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:6px;padding:0 9px;font-size:12px}.note-context-form>p{color:var(--faint);margin:-3px 2px 0;font-size:10px;line-height:1.4}.note-context-form>footer{justify-content:flex-end;gap:6px;display:flex}.note-context-form>footer button{min-height:32px;color:var(--muted-foreground);border-radius:6px;padding:0 10px;font-size:11px}.note-context-form>footer button:hover{color:var(--foreground);background:var(--accent)}.note-context-form>footer button.primary{color:var(--primary-ink);background:var(--primary-soft)}.note-context-suggestions{flex-wrap:wrap;gap:5px;display:flex}.note-context-suggestions>span{width:100%;color:var(--faint);font-size:10px}.note-context-suggestions>button{max-width:100%;min-height:26px;color:var(--primary-ink);background:var(--primary-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:0 8px;font-size:10px;overflow:hidden}.formatting-toolbar{width:min(var(--doc-width), calc(100% - 72px));min-width:0;min-height:36px;color:var(--editor-toolbar-icon);background:var(--secondary);flex:none;margin:0 auto 10px;padding:2px 8px;position:relative}@supports (color:color-mix(in lab, red, red)){.formatting-toolbar{background:color-mix(in srgb, var(--secondary) 94%, var(--card))}}.formatting-toolbar{border:1px solid var(--border);z-index:8;border-radius:10px}.formatting-toolbar-controls{overscroll-behavior-x:contain;scrollbar-width:none;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.formatting-toolbar-controls::-webkit-scrollbar{display:none}.formatting-toolbar-controls>:first-child{margin-left:auto}.formatting-toolbar-controls>:last-child{margin-right:auto}.formatting-toolbar-controls>button,.formatting-toolbar-controls>select{width:32px;height:30px;color:var(--editor-toolbar-icon);background:0 0;border:0;border-radius:5px;flex:0 0 32px;place-items:center;padding:0;font-size:12px;display:grid}.formatting-toolbar-controls>button:hover,.formatting-toolbar-controls>select:hover{background:var(--accent)}.formatting-highlight-swatches{align-items:center;gap:1px;padding:0 2px;display:flex}.formatting-highlight-swatch{border-radius:5px;flex:0 0 24px;place-items:center;width:24px;height:30px;display:grid}.formatting-highlight-swatch:hover,.formatting-highlight-swatch:focus-visible{background:var(--accent)}.formatting-highlight-swatch>span{background:var(--swatch-color);border:1px solid var(--foreground);width:13px;height:13px}@supports (color:color-mix(in lab, red, red)){.formatting-highlight-swatch>span{border:1px solid color-mix(in srgb, var(--foreground) 22%, transparent)}}.formatting-highlight-swatch>span{box-shadow:0 0 0 1px var(--background);border-radius:50%}@supports (color:color-mix(in lab, red, red)){.formatting-highlight-swatch>span{box-shadow:0 0 0 1px color-mix(in srgb, var(--background) 36%, transparent)}}.formatting-highlight-swatch[data-highlight-color=default]{--swatch-color:var(--editor-highlight-bg)}.formatting-highlight-swatch[data-highlight-color=green]{--swatch-color:#22c55e}.formatting-highlight-swatch[data-highlight-color=red]{--swatch-color:#ef4444}.formatting-highlight-swatch[data-highlight-color=blue]{--swatch-color:#3b82f6}.formatting-highlight-swatch[data-highlight-color=yellow]{--swatch-color:#eab308}.formatting-highlight-swatch[data-highlight-color=purple]{--swatch-color:#a855f7}.cm-highlight-color-menu{z-index:90;width:174px;padding:6px;position:fixed}.cm-highlight-color-menu>button{width:100%;min-height:32px;color:var(--popover-foreground);text-align:left;border-radius:5px;align-items:center;gap:9px;padding:0 9px;font-size:11px;display:flex}.cm-highlight-color-menu>button:hover,.cm-highlight-color-menu>button:focus-visible{background:var(--accent)}.cm-highlight-color-menu>button[aria-checked=true]{color:var(--primary-ink)}.cm-highlight-color-menu>button>span{background:var(--highlight-menu-swatch);border:1px solid var(--popover-foreground);flex:0 0 15px;width:15px;height:15px}@supports (color:color-mix(in lab, red, red)){.cm-highlight-color-menu>button>span{border:1px solid color-mix(in srgb, var(--popover-foreground) 24%, transparent)}}.cm-highlight-color-menu>button>span{border-radius:50%}.cm-highlight-color-menu [data-highlight-color=default]{--highlight-menu-swatch:var(--editor-highlight-bg)}.cm-highlight-color-menu [data-highlight-color=green]{--highlight-menu-swatch:#22c55e}.cm-highlight-color-menu [data-highlight-color=red]{--highlight-menu-swatch:#ef4444}.cm-highlight-color-menu [data-highlight-color=blue]{--highlight-menu-swatch:#3b82f6}.cm-highlight-color-menu [data-highlight-color=yellow]{--highlight-menu-swatch:#eab308}.cm-highlight-color-menu [data-highlight-color=purple]{--highlight-menu-swatch:#a855f7}.cm-highlight-color-menu>button.is-remove{color:var(--destructive);border-top:1px solid var(--border);border-radius:0 0 5px 5px;margin-top:4px}.formatting-heading-menu{z-index:20;width:min(224px,100% - 24px);color:var(--popover-foreground);background:var(--popover);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;gap:2px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.formatting-heading-menu button{width:100%;min-height:38px;color:var(--popover-foreground);text-align:left;border-radius:5px;padding:4px 10px}.formatting-heading-menu button:hover,.formatting-heading-menu button:focus-visible{color:var(--foreground);background:var(--menu-item-hover)}.formatting-heading-menu button[aria-checked=true]{color:var(--editor-accent,var(--primary-ink))}.formatting-heading-option-0{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1);font-weight:400;line-height:1.45}.formatting-heading-option-1,.formatting-heading-option-2,.formatting-heading-option-3,.formatting-heading-option-4,.formatting-heading-option-5,.formatting-heading-option-6{font-family:var(--font-heading)}.formatting-heading-option-1{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 2.15);font-weight:720;line-height:1.16}.formatting-heading-option-2{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1.62);font-weight:720;line-height:1.24}.formatting-heading-option-3{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1.32);font-weight:720;line-height:1.3}.formatting-heading-option-4{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1.13);font-weight:720;line-height:1.38}.formatting-heading-option-5{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1);font-weight:720;line-height:1.45}.formatting-heading-option-6{font-size:calc(var(--heading-preview-size,var(--editor-font-size)) * 1);font-weight:720;line-height:1.48}.formatting-block-menu{max-height:min(420px,100dvh - 140px);bottom:calc(100% + 6px);left:auto;right:0;overflow-y:auto}.mobile-block-menu p{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;margin:5px 8px 6px;font-size:10px;font-weight:600}.info-drawer{background:var(--secondary);border-left:1px solid var(--border);z-index:30;flex-direction:column;width:330px;display:flex;position:fixed;inset:0 0 0 auto;box-shadow:-12px 0 36px #14141814}.info-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:55px;padding:0 12px 0 18px;font-size:13px;display:flex}.drawer-tabs{border-bottom:1px solid var(--border);grid-template-columns:repeat(4,1fr);padding:8px 10px 0;display:grid}.drawer-tabs button{min-height:44px;color:var(--muted-foreground);font-size:11px;position:relative}.drawer-tabs button.is-selected{color:var(--foreground);font-weight:600}.drawer-tabs button.is-selected:after{background:var(--primary);content:"";height:2px;position:absolute;inset:auto 8px -1px}.drawer-content{min-height:0;padding:14px;overflow-y:auto}.toc-list,.backlinks-list{gap:3px;display:grid}.toc-list button,.backlinks-list button{text-align:left;border-radius:5px;min-height:36px;padding:8px 9px;font-size:12px}.toc-list button:hover,.backlinks-list button:hover{background:var(--accent)}.backlinks-list button{gap:4px;display:grid}.backlinks-list span{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.drawer-empty{color:var(--muted-foreground);text-align:center;font-size:12px}.note-connections{gap:24px;display:grid}.note-connections h3{justify-content:space-between;gap:8px;margin:0 0 8px;font-size:12px;font-weight:600;display:flex}.note-connections h3 span,.connections-description{color:var(--muted-foreground)}.connections-description{margin:0 0 10px;font-size:12px;line-height:1.5}.connection-reason{color:var(--primary);overflow-wrap:anywhere;font-size:11px}.note-connections .drawer-empty{text-align:left;line-height:1.5}.info-grid{margin:0}.info-grid div{border-bottom:1px solid var(--border);grid-template-columns:1fr 1.4fr;gap:10px;padding:11px 6px;font-size:12px;display:grid}.info-grid dt{color:var(--muted-foreground)}.info-grid dd{text-align:right;margin:0}.history-list{gap:0;display:grid}.history-list>div{grid-template-columns:22px 1fr;min-height:60px;display:grid;position:relative}.history-list>div:not(:last-child):before{background:var(--border);content:"";width:1px;position:absolute;top:18px;bottom:0;left:5px}.history-dot{background:var(--secondary);border:2px solid var(--primary);z-index:1;border-radius:50%;width:11px;height:11px;margin-top:4px}.history-list div div{gap:4px;display:grid}.history-list strong{font-size:12px}.history-list div div span{color:var(--muted-foreground);font-size:11px}.modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:60;background:#0e0e1252;place-items:start center;padding:12vh 20px 20px;display:grid;position:fixed;inset:0;overflow-y:auto}.shortcut-help-button{right:max(20px, env(safe-area-inset-right));bottom:max(20px, env(safe-area-inset-bottom));z-index:50;width:36px;height:36px;color:var(--muted-foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:50%;place-items:center;font-size:15px;font-weight:700;display:grid;position:fixed}.quick-theme-picker{z-index:51}.quick-theme-picker-floating{right:max(20px, env(safe-area-inset-right));bottom:calc(max(20px, env(safe-area-inset-bottom)) + 48px);position:fixed}.quick-theme-picker-sidebar{display:block;position:relative}.quick-theme-picker-floating .quick-theme-button{width:36px;height:36px;color:var(--muted-foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:50%;place-items:center;display:grid}.quick-theme-picker-floating .quick-theme-button:hover,.quick-theme-picker-floating .quick-theme-button[aria-expanded=true]{color:var(--foreground);background:var(--accent)}.quick-theme-picker-floating .quick-theme-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.quick-theme-menu{--primary-ink:var(--primary)}@supports (color:color-mix(in lab, red, red)){.quick-theme-menu{--primary-ink:color-mix(in srgb, var(--primary) 32%, var(--foreground))}}.quick-theme-menu{z-index:70;top:max(24px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));bottom:max(24px, env(safe-area-inset-bottom));width:min(320px,100vw - 24px);color:var(--foreground);background:var(--secondary);flex-direction:column;display:flex;position:fixed;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.quick-theme-menu{background:color-mix(in srgb, var(--secondary) 96%, transparent)}}.quick-theme-menu{border:1px solid var(--border);border-radius:12px;box-shadow:0 18px 50px #00000038}.quick-theme-menu>header{border-bottom:1px solid var(--border);flex:0 0 44px;justify-content:space-between;align-items:center;min-height:44px;padding:0 14px;display:flex}.quick-theme-menu>header strong{font-size:12px}.quick-theme-menu>header span{color:var(--muted-foreground);font-size:10px}.theme-picker-close{height:28px;color:var(--muted-foreground);border-radius:5px;flex:0 0 24px;place-items:center;padding:0;display:grid}.theme-picker-close:hover{color:var(--foreground);background:var(--accent)}.quick-theme-menu[data-density=compact]>header,.quick-theme-menu[data-density=swatches]>header{gap:2px;padding:0 4px}.quick-theme-menu[data-density=compact]>header strong{font-size:10px}.quick-theme-menu:not([data-density=full])>header>span{display:none}.quick-theme-menu:not([data-density=full]) .quick-theme-list{padding:4px}.quick-theme-menu:not([data-density=full]) .quick-theme-grid{gap:5px;padding:0 0 4px}.quick-theme-menu:not([data-density=full]) .quick-theme-group>header{padding:0 2px;font-size:9px;top:-4px}.quick-theme-menu:not([data-density=full]) .quick-theme-group>header span{display:none}.quick-theme-menu:not([data-density=full]) .quick-theme-preview{min-height:54px;display:block}.quick-theme-menu:not([data-density=full]) .quick-theme-preview-sidebar{gap:2px;height:9px;padding:3px;display:flex}.quick-theme-menu:not([data-density=full]) .quick-theme-preview-sidebar i{flex:1;width:auto;height:3px}.quick-theme-menu:not([data-density=full]) .quick-theme-preview-note{padding:6px 4px}.quick-theme-menu:not([data-density=full]) .quick-theme-preview-note strong{white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.25}.quick-theme-menu:not([data-density=full]) .quick-theme-preview-note>span,.quick-theme-menu:not([data-density=full]) .quick-theme-preview-note>i{display:none}.quick-theme-menu:not([data-density=full]) .quick-theme-selected{width:13px;height:13px;top:2px;right:2px}.quick-theme-menu:not([data-density=full]) .quick-theme-selected svg{width:9px;height:9px}.quick-theme-menu[data-density=swatches]>header{justify-content:center}.quick-theme-menu[data-density=swatches]>header strong,.quick-theme-menu[data-density=swatches] .quick-theme-group>header,.quick-theme-menu[data-density=swatches] .quick-theme-preview-note strong{display:none}.quick-theme-menu[data-density=swatches] .quick-theme-preview{min-height:28px}.quick-theme-menu[data-density=swatches] .quick-theme-preview-note{padding:4px}.quick-theme-menu[data-density=swatches] .quick-theme-preview-note:after{content:"";background:var(--quick-theme-accent);border-radius:50%;width:8px;height:8px}.quick-theme-list{overscroll-behavior:contain;flex:1;min-height:0;padding:8px;overflow-y:auto}.quick-theme-group{min-width:0}.quick-theme-group+.quick-theme-group{margin-top:8px}.quick-theme-group>header{z-index:1;height:32px;color:var(--muted-foreground);background:var(--secondary);justify-content:space-between;align-items:center;padding:0 10px;display:flex;position:sticky;top:-8px}@supports (color:color-mix(in lab, red, red)){.quick-theme-group>header{background:color-mix(in srgb, var(--secondary) 96%, transparent)}}.quick-theme-group>header{letter-spacing:.06em;text-transform:uppercase;font-size:10px}.quick-theme-group>header span{font-variant-numeric:tabular-nums}.quick-theme-grid{align-content:start;gap:4px;padding:0 6px 6px;display:grid}.quick-theme-grid>button{min-width:0;color:var(--quick-theme-text);background:var(--quick-theme-bg);border:1px solid var(--quick-theme-stroke);text-align:left;border-radius:10px;padding:0;transition:border-color .13s,transform .13s,box-shadow .13s;display:block;position:relative;overflow:hidden}.quick-theme-grid>button:hover,.quick-theme-grid>button:focus-visible{transform:translateY(-1px);box-shadow:0 8px 20px #00000029}.quick-theme-grid>button:focus-visible{outline:2px solid var(--quick-theme-accent);outline-offset:2px}.quick-theme-grid>button.is-selected{border-color:var(--quick-theme-accent);box-shadow:0 0 0 2px var(--quick-theme-accent)}@supports (color:color-mix(in lab, red, red)){.quick-theme-grid>button.is-selected{box-shadow:0 0 0 2px color-mix(in srgb, var(--quick-theme-accent) 34%, transparent)}}.quick-theme-preview{min-height:108px;color:var(--quick-theme-text);background:var(--quick-theme-bg);grid-template-columns:54px minmax(0,1fr);display:grid}.quick-theme-preview-sidebar{background:var(--quick-theme-sidebar);align-content:start;gap:9px;padding:19px 11px;display:grid}.quick-theme-preview-sidebar i{background:var(--quick-theme-sidebar-icon);opacity:.72;border-radius:99px;height:4px}.quick-theme-preview-sidebar i:nth-child(2){background:var(--quick-theme-sidebar-accent);width:70%}.quick-theme-preview-note{background:var(--quick-theme-bg);align-content:center;gap:7px;min-width:0;padding:14px 18px;display:grid}.quick-theme-preview-note strong{color:var(--quick-theme-heading);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.quick-theme-preview-note span{color:var(--quick-theme-text);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.2;overflow:hidden}.quick-theme-preview-note b{color:var(--quick-theme-accent);font-weight:650}.quick-theme-preview-note i{background:var(--quick-theme-surface);border-radius:99px;width:58%;height:4px;margin-top:3px}.quick-theme-selected{width:22px;height:22px;color:var(--quick-theme-accent);background:var(--quick-theme-surface);border:1px solid var(--quick-theme-stroke);border-radius:50%;place-items:center;display:grid;position:absolute;top:9px;right:9px}.shortcut-help-button:hover{color:var(--foreground);background:var(--accent)}.shortcut-help-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.shortcut-help-modal{background:var(--secondary);border:1px solid var(--border);width:min(460px,100%);box-shadow:var(--shadow);border-radius:12px;overflow:hidden}.shortcut-help-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:56px;padding:0 16px 0 20px;display:flex}.shortcut-help-modal dl{margin:0;padding:8px 20px 14px}.shortcut-help-modal dl div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;min-height:40px;display:flex}.shortcut-help-modal dl div:last-child{border-bottom:0}.shortcut-help-modal dt{color:var(--foreground);font-size:13px}.shortcut-help-modal dd{margin:0}.shortcut-help-modal kbd{color:var(--muted-foreground);background:var(--accent);border:1px solid var(--border);white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:11px;display:inline-flex}.quick-open{background:var(--secondary);border:1px solid var(--border);width:min(620px,100%);box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.quick-input{border-bottom:1px solid var(--border);align-items:center;gap:12px;min-height:58px;padding:0 17px;display:flex}.quick-input input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:16px}.quick-input kbd{background:var(--accent);border:1px solid var(--border);border-radius:4px;padding:3px 6px}.quick-results{max-height:390px;padding:6px;overflow-y:auto}.quick-empty{color:var(--muted-foreground);text-align:center;padding:28px 18px;font-size:13px}.quick-results button{text-align:left;border-radius:6px;justify-content:space-between;align-items:center;width:100%;min-height:42px;padding:0 11px;font-size:13px;display:flex}.quick-results button.is-selected,.quick-results button:hover{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.quick-results button.is-selected,.quick-results button:hover{background:color-mix(in srgb, var(--primary) 22%, var(--secondary))}}.quick-results button.is-selected{color:var(--foreground);box-shadow:inset 3px 0 0 var(--primary)}.quick-results button.is-selected small{color:var(--foreground)}.quick-results small{color:var(--muted-foreground);font-size:11px}.quick-open footer{height:34px;color:var(--faint);background:var(--sidebar);align-items:center;gap:16px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.quick-open footer{background:color-mix(in srgb, var(--sidebar) 72%, transparent)}}.quick-open footer{border-top:1px solid var(--border);font-size:10px}.tag-editor-backdrop{padding-top:16vh}.tag-editor-modal{width:min(430px,100%);max-height:78vh;color:var(--foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:11px;flex-direction:column;display:flex;overflow:hidden}.tag-editor-modal>header,.tag-editor-modal>footer{justify-content:space-between;align-items:center;min-height:58px;padding:0 14px 0 18px;display:flex}.tag-editor-modal>header{border-bottom:1px solid var(--border)}.tag-editor-modal>footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px}.tag-editor-modal>footer button{border-radius:6px;min-width:76px;min-height:34px;padding:0 13px;font-size:12px}.tag-editor-title{align-items:center;gap:10px;display:flex}.tag-editor-title>div{gap:2px;display:grid}.tag-editor-title strong{font-size:13px}.tag-editor-title span:not(.tag-editor-preview){color:var(--muted-foreground);font-size:10px}.tag-editor-preview{width:34px;height:34px;color:var(--primary-ink);background:var(--primary-soft);border:1px solid var(--primary-ink);place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.tag-editor-preview{border:1px solid color-mix(in srgb, var(--primary-ink) 24%, transparent)}}.tag-editor-preview{border-radius:8px}.tag-editor-body{flex:1;grid-template-rows:auto auto minmax(0,1fr);gap:9px;min-height:0;padding:18px;display:grid}.tag-name-label,.tag-icon-picker legend{color:var(--muted-foreground);font-size:11px;font-weight:600}.tag-name-field{height:42px;color:var(--muted-foreground);background:var(--card);border:1px solid var(--border);border-radius:7px;align-items:center;gap:7px;padding:0 11px;display:flex}.tag-name-field:focus-within{border-color:var(--primary-ink)}@supports (color:color-mix(in lab, red, red)){.tag-name-field:focus-within{border-color:color-mix(in srgb, var(--primary-ink) 50%, var(--border))}}.tag-name-field:focus-within{outline:2px solid var(--primary)}@supports (color:color-mix(in lab, red, red)){.tag-name-field:focus-within{outline:2px solid color-mix(in srgb, var(--primary) 18%, transparent)}}.tag-name-field input{min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;font-size:13px}.tag-icon-picker{border:0;flex-direction:column;min-width:0;min-height:0;margin:7px 0 0;padding:0;display:flex;overflow:hidden}.tag-icon-picker legend{width:100%;margin-bottom:9px}.tag-icon-picker legend span{float:right;color:var(--faint);font-weight:400}.tag-icon-search{height:38px;color:var(--muted-foreground);background:var(--card);border:1px solid var(--border);border-radius:7px;align-items:center;gap:7px;margin-bottom:9px;padding:0 9px;display:flex}.tag-icon-search:focus-within{border-color:var(--primary-ink)}@supports (color:color-mix(in lab, red, red)){.tag-icon-search:focus-within{border-color:color-mix(in srgb, var(--primary-ink) 50%, var(--border))}}.tag-icon-search:focus-within{outline:2px solid var(--primary)}@supports (color:color-mix(in lab, red, red)){.tag-icon-search:focus-within{outline:2px solid color-mix(in srgb, var(--primary) 18%, transparent)}}.tag-icon-search input{min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;font-size:12px}.tag-icon-search button{width:28px;height:28px;color:var(--muted-foreground);border-radius:5px;place-items:center;display:grid}.tag-icon-search button:hover{color:var(--foreground);background:var(--accent)}.tag-icon-grid{flex:1;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:7px;min-height:0;padding:1px 3px 1px 1px;display:grid;overflow-y:auto}.tag-icon-grid button{min-width:42px;height:42px;color:var(--muted-foreground);background:var(--card);border:1px solid var(--border);border-radius:7px;place-items:center;display:grid}.tag-icon-grid button:hover{color:var(--foreground);background:var(--accent)}.tag-icon-grid button.is-selected{color:var(--primary-ink);background:var(--primary-soft);border-color:var(--primary-ink)}@supports (color:color-mix(in lab, red, red)){.tag-icon-grid button.is-selected{border-color:color-mix(in srgb, var(--primary-ink) 42%, var(--border))}}.tag-icon-grid button.is-selected{box-shadow:inset 0 0 0 1px var(--primary)}@supports (color:color-mix(in lab, red, red)){.tag-icon-grid button.is-selected{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent)}}.tag-icon-empty{min-height:90px;color:var(--muted-foreground);place-items:center;margin:0;font-size:12px;display:grid}.settings-modal{background:var(--secondary);border:1px solid var(--border);width:min(936px,100%);height:min(910px,100dvh - 12vh - 20px);box-shadow:var(--shadow);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.settings-modal>header,.settings-modal>footer{justify-content:space-between;align-items:center;min-height:62px;padding:0 22px;display:flex}.settings-modal>header{flex:none}.settings-modal>header>div{align-items:center;gap:12px;display:flex}.settings-heading{gap:2px;display:grid}.settings-heading strong{font-size:14px}.settings-heading span{color:var(--muted-foreground);font-size:11px}.settings-modal>footer{border-top:1px solid var(--border);flex:none}.settings-modal>footer>span{color:var(--muted-foreground);font-size:11px}.settings-modal>footer button{border-radius:6px;min-height:36px;padding:0 14px;font-size:12px}.settings-tabs{border-bottom:1px solid var(--border);justify-content:center;align-items:stretch;gap:6px;min-height:76px;padding:4px 20px 10px;display:flex}.settings-tabs button{width:104px;color:var(--muted-foreground);background:0 0;border:1px solid #0000;border-radius:9px;align-content:center;place-items:center;gap:5px;padding:7px 10px;font-size:11px;display:grid}.settings-tabs button:hover{color:var(--foreground);background:var(--accent)}.settings-tabs button.is-selected{color:var(--primary-ink);background:var(--primary-soft);border-color:var(--primary-ink)}@supports (color:color-mix(in lab, red, red)){.settings-tabs button.is-selected{border-color:color-mix(in srgb, var(--primary-ink) 26%, var(--border))}}.settings-body{scrollbar-gutter:stable;flex:1;min-height:0;padding:22px 28px 28px;overflow-y:auto}.settings-pane{width:min(744px,100%);margin:0 auto}.settings-section-heading{gap:3px;margin:0 2px 10px;display:grid}.settings-section-heading:not(:first-child){margin-top:26px}.settings-section-heading strong{font-size:13px}.settings-section-heading span,.settings-data-row>div>span{color:var(--muted-foreground);font-size:11px;line-height:1.4}.settings-group{background:var(--card);overflow:hidden}@supports (color:color-mix(in lab, red, red)){.settings-group{background:color-mix(in srgb, var(--card) 76%, transparent)}}.settings-group{border:1px solid var(--border);border-radius:9px}.settings-group label{justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:0 16px;font-size:12px;display:flex}.settings-group label+label{border-top:1px solid var(--border)}.settings-group label>span{flex-direction:column;gap:3px;min-width:180px;display:flex}.settings-group label>span:has(b){flex-direction:row;justify-content:space-between}.settings-group label small{color:var(--muted-foreground);font-size:10px;line-height:1.35}.settings-group label b{color:var(--muted-foreground);font-weight:500}.settings-body select{background:var(--card);border:1px solid var(--border);border-radius:7px;min-width:220px;height:34px;padding:0 8px;font-size:12px}.settings-body input[type=range]{width:min(260px,46%);accent-color:var(--primary)}.settings-body input[type=checkbox]{width:36px;height:22px;accent-color:var(--primary);flex:none}.settings-choice-row,.settings-data-row{justify-content:space-between;align-items:center;gap:18px;min-height:64px;padding:0 16px;font-size:12px;display:flex}.segmented-control{background:var(--secondary);border:1px solid var(--border);border-radius:8px;padding:3px;display:flex}.segmented-control button{min-width:100px;min-height:30px;color:var(--muted-foreground);border-radius:5px;padding:0 12px;font-size:11px}.segmented-control button.is-selected{color:var(--foreground);background:var(--accent);box-shadow:0 1px 4px #0000002e}.settings-data-row>div{gap:3px;display:grid}.settings-data-stack{gap:8px;display:grid}.settings-data-actions{grid-auto-flow:column;justify-content:end;gap:6px!important;display:flex!important}.settings-data-actions button,.settings-data-row>button:not(.danger-text){border:1px solid var(--border);border-radius:6px;min-height:32px;padding:0 10px;font-size:11px}.settings-security-form{border-top:1px solid var(--border);gap:10px;padding:14px 16px 16px;font-size:12px;display:grid}.settings-group .settings-security-form label{border:0;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:5px;min-height:0;padding:0;font-weight:600;display:grid}.settings-security-form input,.settings-security-form textarea,.settings-recovery-code{background:var(--card);border:1px solid var(--border);border-radius:7px;width:100%;min-height:34px;padding:7px 9px;font-size:12px;font-weight:400}.settings-security-form textarea,.settings-recovery-code{resize:vertical;font-family:var(--font-mono);overflow-wrap:anywhere}.settings-security-form small{color:var(--muted-foreground);font-size:11px;line-height:1.4}.settings-security-form>button{min-height:32px;color:var(--on-primary);background:var(--primary);border-radius:6px;justify-self:end;padding:0 12px;font-size:11px;font-weight:650}.settings-security-form>button:disabled,.settings-data-row>button:disabled{cursor:not-allowed;opacity:.52}.settings-security-error,.settings-security-notice{margin:0;font-size:11px;line-height:1.4}.settings-security-error{color:var(--destructive)}.settings-security-notice{color:var(--muted-foreground)}.settings-data-row .danger-text{border-radius:6px;min-height:32px;padding:0 10px;font-size:11px}.type-preview{min-height:112px;color:var(--foreground);background:linear-gradient(135deg, var(--primary-soft), transparent 58%), var(--card);border:1px solid var(--border);font-family:var(--font-sans);text-align:center;border-radius:10px;align-content:center;place-items:center;gap:6px;margin-bottom:18px;display:grid}.type-preview span{color:var(--muted-foreground);font-size:12px}.type-preview strong{font-family:var(--font-heading);letter-spacing:-.02em;font-size:22px}.type-preview code{color:var(--muted-foreground);font-family:var(--font-code);font-size:11px}.type-preview.font-rounded{font-family:var(--font-stack-rounded)}.type-preview.font-humanist{font-family:var(--font-stack-humanist)}.type-preview.font-serif{font-family:var(--font-stack-serif)}.type-preview.font-mono{font-family:var(--font-mono)}.typography-controls label{min-height:58px}.settings-reset-button{min-height:36px;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:7px;margin:18px auto 0;padding:0 14px;font-size:11px;display:block}.settings-reset-button:hover{background:var(--accent)}.primary-button{color:var(--primary-ink);background:var(--primary-soft);border:1px solid var(--primary-ink);justify-content:center;align-items:center;gap:7px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.primary-button{border:1px solid color-mix(in srgb, var(--primary-ink) 32%, transparent)}}.primary-button{border-radius:6px}.toast{left:50%;bottom:calc(28px + env(safe-area-inset-bottom));z-index:100;min-height:38px;color:var(--foreground);background:var(--secondary);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:7px;align-items:center;padding:0 15px;font-size:12px;display:flex;position:fixed;transform:translate(-50%)}.empty-app{width:100vw;height:100dvh;color:var(--muted-foreground);background:var(--background);align-content:center;justify-items:center;gap:10px;display:grid}.empty-app-content{align-content:center;justify-items:center;gap:10px;min-height:0;display:grid}.empty-app h1,.empty-app p{margin:0}.empty-app h1{color:var(--foreground);font-size:22px;font-weight:700}.empty-app .primary-button{min-height:40px;padding:0 14px}.empty-app-account-actions,.empty-app-import-actions{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.empty-app-account-actions button,.empty-app-import-actions button{min-height:34px;color:var(--muted-foreground);border-radius:7px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.empty-app-account-actions button:hover,.empty-app-import-actions button:hover{color:var(--foreground);background:var(--accent)}.vault-loading-workspace{cursor:progress}@media (max-width:1060px){.app-shell{grid-template-columns:300px minmax(0,1fr)}.panel-resizer{display:none}.sidebar{z-index:40;visibility:hidden;width:300px;transition:transform .18s,visibility 0s linear .18s;position:fixed;inset:0 auto 0 0;transform:translate(-104%);box-shadow:18px 0 50px #0a0a0e24}.stage-sidebar .sidebar{visibility:visible;transition:transform .18s,visibility;transform:translate(0)}.shortcut-help-button{display:none}.notes-panel{grid-column:1}.editor-panel{grid-column:2}.mobile-back{min-height:44px;color:var(--primary-ink);align-items:center;gap:3px;padding:0;font-size:12px;display:inline-flex}.icon-button{width:44px;height:44px}.list-search{height:48px}.list-search button,.popover button,.note-context-menu>button,.note-context-form>footer button,.note-context-suggestions>button,.toc-list button,.backlinks-list button,.quick-results button,.settings-modal>footer button,.empty-editor-actions button{min-width:44px;min-height:44px}.note-context-form>header button,.note-row-menu{width:44px;height:44px}.note-row-open{padding-right:58px}.note-row-menu{opacity:1;top:5px;right:5px}.sidebar-nav button,.tag-row{min-height:44px}.settings-body select{height:44px}.note-tabs{min-height:50px;padding-top:6px}.note-tab>[role=tab],.note-tab-close{min-height:44px}.note-tab-close{flex-basis:40px;width:40px}.list-header{flex-wrap:wrap;align-items:flex-start;padding-top:12px}.list-header .mobile-back{width:100%}.editor-toolbar .mobile-back{display:none}.editor-toolbar .save-state{min-width:0;margin-left:0}}@media (max-width:720px){.quick-theme-picker-floating{display:none}.quick-theme-picker-sidebar{display:block}.desktop-modal-editing{display:none!important}.modal-statusline,.shortcut-help-button{display:none}.app-shell{--mobile-sidebar-width:min(79vw, 310px);touch-action:pan-y pinch-zoom;display:block}.notes-list,.editor-scroll{touch-action:pan-y pinch-zoom}.sidebar,.notes-panel,.editor-panel{visibility:hidden;pointer-events:none;width:100%;transition:transform .28s cubic-bezier(.32,.72,0,1),visibility 0s linear .28s;position:fixed;inset:0;transform:translate(102%)}.sidebar{width:var(--mobile-sidebar-width);padding-top:max(12px, env(safe-area-inset-top));visibility:visible;z-index:10;transition:none;right:auto;transform:none}.notes-panel{z-index:20}.editor-panel{z-index:30}.notes-panel,.editor-panel{border:0}.stage-list .notes-panel,.stage-editor .editor-panel{visibility:visible;pointer-events:auto;transition-delay:0s;transform:translate(0)}.stage-editor .notes-panel{pointer-events:none;transform:translate(-100%)}.stage-sidebar .notes-panel,.stage-list .editor-panel{transform:translate(102%)}.stage-sidebar .notes-panel{visibility:visible;pointer-events:none;transform:translateX(var(--mobile-sidebar-width));box-shadow:-18px 0 44px #0a0a0e21}.stage-sidebar .sidebar{pointer-events:auto}.mobile-sidebar-dismiss{inset:0 0 0 var(--mobile-sidebar-width);z-index:21;touch-action:pan-y pinch-zoom;position:fixed}.stage-sidebar .mobile-sidebar-dismiss{display:block}.app-shell[data-mobile-drag] .notes-panel,.app-shell[data-mobile-drag] .editor-panel{transition:none}.app-shell[data-mobile-drag] :is(.notes-list,.editor-scroll){overflow-y:hidden}.app-shell[data-mobile-drag][data-mobile-drag-settling] :is(.notes-panel,.editor-panel){transition:transform var(--mobile-settle-duration) cubic-bezier(.32, .72, 0, 1)}.app-shell[data-mobile-drag=reveal-list] .notes-panel{visibility:visible;pointer-events:none;transform:translate(0)}.app-shell[data-mobile-drag=reveal-list] .editor-panel,.app-shell[data-mobile-drag=reveal-sidebar] .notes-panel,.app-shell[data-mobile-drag=close-sidebar] .notes-panel{visibility:visible;pointer-events:none;transform:translateX(var(--mobile-drag-x));box-shadow:-18px 0 44px #0a0a0e21}.sidebar .brand-row{display:none}.sidebar-nav{margin-top:0}.sidebar-nav button{min-height:32px}.tag-row{height:34px;min-height:34px}.sidebar-account-anchor{position:relative}.desktop-account-icon{display:none}.mobile-account-icon{display:inline-flex}.sidebar-account-trigger,.sidebar-theme-button,.sidebar-settings-button{background:var(--sidebar-foreground);width:44px!important;height:44px!important}@supports (color:color-mix(in lab, red, red)){.sidebar-account-trigger,.sidebar-theme-button,.sidebar-settings-button{background:color-mix(in srgb, var(--sidebar-foreground) 9%, transparent)}}.sidebar-account-trigger,.sidebar-theme-button,.sidebar-settings-button{border:1px solid var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.sidebar-account-trigger,.sidebar-theme-button,.sidebar-settings-button{border:1px solid color-mix(in srgb, var(--sidebar-foreground) 22%, transparent)}}.sidebar-account-trigger,.sidebar-theme-button,.sidebar-settings-button{border-radius:11px}.popover.sidebar-account-menu{top:auto;bottom:calc(58px + env(safe-area-inset-bottom))}.sidebar-footer{padding:7px 0 max(0px, env(safe-area-inset-bottom));border-top:1px solid var(--sidebar-border);justify-content:space-between}.tags-section{margin-top:9px}.list-header{min-height:calc(76px + env(safe-area-inset-top));padding:max(10px, env(safe-area-inset-top)) 16px 10px;border-bottom:0;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;display:grid}.list-header .mobile-back{width:44px;height:44px;min-height:44px;color:var(--notes-toolbar-icon);background:var(--secondary);border:1px solid var(--notes-toolbar-icon);grid-area:1/1;justify-content:center}@supports (color:color-mix(in lab, red, red)){.list-header .mobile-back{border:1px solid color-mix(in srgb, var(--notes-toolbar-icon) 18%, transparent)}}.list-header .mobile-back{border-radius:11px}.list-header .list-back-icon,.list-header .mobile-back-label{display:none}.list-menu-icon{display:block}.list-heading{grid-area:1/2;justify-self:center}.list-heading-button{justify-content:center;font-size:18px}.list-heading-icon,.list-heading-count{display:none}.list-tools{grid-area:1/3;justify-content:flex-end}.list-tools [aria-label=New\ note]{display:none}.list-tools [aria-label=Search\ notes]{width:44px;height:44px;color:var(--notes-toolbar-icon);background:var(--secondary);border:1px solid var(--notes-toolbar-icon)}@supports (color:color-mix(in lab, red, red)){.list-tools [aria-label=Search\ notes]{border:1px solid color-mix(in srgb, var(--notes-toolbar-icon) 18%, transparent)}}.list-tools [aria-label=Search\ notes]{border-radius:11px}.list-search{margin:4px 20px 8px}.list-sort-menu{top:calc(68px + env(safe-area-inset-top));min-width:0;max-height:calc(100dvh - 84px - env(safe-area-inset-top));position:fixed;left:16px;right:16px;overflow:auto}.list-menu-submenu,.list-sorting-submenu,.list-preview-submenu{min-width:100%;max-height:inherit;inset:0;overflow:auto}.notes-list{padding:0 28px calc(84px + env(safe-area-inset-bottom))}.note-row{min-height:116px}.note-row-open{padding:17px 0 15px}.note-row.is-selected{background:0 0}.note-row.is-multi-selected{background:var(--primary-soft)}.trash-toolbar,.note-batch-toolbar{margin-left:20px;margin-right:20px}.note-batch-toolbar{overscroll-behavior-x:contain;flex-wrap:nowrap;overflow-x:auto}.note-row-title{padding-right:0}.note-row-title>svg{width:16px;height:16px}.note-row strong{font-size:17px;line-height:1.25}.note-row small{font-size:15px;line-height:1.45}.note-date{margin-top:9px;font-size:13px}.note-row-menu{display:none}.mobile-new-note{right:22px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:12;width:52px;height:52px;color:var(--on-primary);background:var(--primary);border:1px solid var(--primary);justify-content:center;align-items:center;position:fixed}@supports (color:color-mix(in lab, red, red)){.mobile-new-note{border:1px solid color-mix(in srgb, var(--primary) 78%, var(--foreground))}}.mobile-new-note{box-shadow:0 10px 26px var(--primary);border-radius:14px}@supports (color:color-mix(in lab, red, red)){.mobile-new-note{box-shadow:0 10px 26px color-mix(in srgb, var(--primary) 28%, transparent)}}.stage-list .mobile-new-note{display:inline-flex}.editor-toolbar{min-height:calc(76px + env(safe-area-inset-top));padding:max(10px, env(safe-area-inset-top)) 16px 10px}.editor-toolbar .icon-button{width:44px;height:44px}.mobile-back{min-height:44px}.empty-editor-actions .empty-mobile-back{display:inline-flex}.editor-toolbar .mobile-back{width:44px;height:44px;min-height:44px;color:var(--editor-toolbar-icon);background:var(--secondary);border:1px solid var(--editor-toolbar-icon);justify-content:center;gap:0;margin-right:auto;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.editor-toolbar .mobile-back{border:1px solid color-mix(in srgb, var(--editor-toolbar-icon) 18%, transparent)}}.editor-toolbar .mobile-back{border-radius:11px}.editor-toolbar .mobile-back-label,.editor-toolbar .save-state{display:none}.editor-toolbar .save-state.is-demo{display:flex}.editor-actions{background:var(--secondary);border:1px solid var(--editor-toolbar-icon);gap:0;padding:4px}@supports (color:color-mix(in lab, red, red)){.editor-actions{border:1px solid color-mix(in srgb, var(--editor-toolbar-icon) 18%, transparent)}}.editor-actions{border-radius:12px}.editor-actions>.icon-button:first-child{display:none}.editor-actions .icon-button{border-radius:8px}.sidebar .icon-button,.list-tools .icon-button{width:44px;height:44px}.list-search{height:48px}.list-search button,.popover button,.toc-list button,.backlinks-list button{min-width:44px;min-height:44px}.document{width:calc(100% - 56px);min-height:calc(100dvh - 92px);padding-top:22px;padding-bottom:calc(36px + env(safe-area-inset-bottom))}.live-markdown-editor .cm-content{font-size:max(17px, var(--editor-font-size))!important}.formatting-heading-menu{--heading-preview-size:max(17px, var(--editor-font-size))}.live-markdown-editor .cm-live-heading-control{display:none}.formatting-toolbar{width:auto;min-height:calc(58px + env(safe-area-inset-bottom));padding:7px 10px max(7px, env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:0;margin:0}.formatting-toolbar-controls>button,.formatting-toolbar-controls>select{flex-basis:44px;width:44px;height:44px}.formatting-highlight-swatch{flex-basis:36px;width:36px;height:44px}.formatting-toolbar-controls>:first-child{margin-left:0}.formatting-toolbar-controls>:last-child{margin-right:0}.stage-editor .document{padding-bottom:24px}.formatting-block-menu{bottom:calc(100% + 6px);right:8px}.info-drawer{width:100%;padding-top:env(safe-area-inset-top)}.modal-backdrop{padding:max(8vh, env(safe-area-inset-top)) 10px 10px}.quick-open,.settings-modal{border-radius:9px}.settings-modal{height:min(760px,92dvh);max-height:92dvh}.settings-modal>header{min-height:56px;padding:0 14px}.settings-heading span,.settings-modal>footer>span{display:none}.settings-modal>footer{justify-content:flex-end}.settings-tabs{gap:2px;min-height:68px;padding:3px 8px 8px}.settings-tabs button{flex:1;width:auto;padding-inline:4px}.settings-body{padding:18px 14px 24px}.typography-controls label{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px}.settings-body select,.settings-body input[type=range]{width:100%}.settings-body .switch-row{flex-direction:row;align-items:center}.settings-group label{padding-left:14px;padding-right:14px}.settings-choice-row,.settings-data-row{flex-direction:column;align-items:stretch;padding:14px}.segmented-control{width:100%}.segmented-control button{flex:1;min-width:0}.settings-security-form{border-top:1px solid var(--border);gap:10px;padding:14px 16px 16px;font-size:12px;display:grid}.settings-group .settings-security-form label{border:0;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:5px;min-height:0;padding:0;font-weight:600;display:grid}.settings-security-form input,.settings-security-form textarea,.settings-recovery-code{background:var(--card);border:1px solid var(--border);border-radius:7px;width:100%;min-height:34px;padding:7px 9px;font-size:12px;font-weight:400}.settings-security-form textarea,.settings-recovery-code{resize:vertical;font-family:var(--font-mono);overflow-wrap:anywhere}.settings-security-form small{color:var(--muted-foreground);font-size:11px;line-height:1.4}.settings-security-form>button{min-height:32px;color:var(--on-primary);background:var(--primary);border-radius:6px;justify-self:end;padding:0 12px;font-size:11px;font-weight:650}.settings-security-form>button:disabled,.settings-data-row>button:disabled{cursor:not-allowed;opacity:.52}.settings-security-error,.settings-security-notice{margin:0;font-size:11px;line-height:1.4}.settings-security-error{color:var(--destructive)}.settings-security-notice{color:var(--muted-foreground)}.settings-data-row .danger-text{min-height:40px}.settings-data-actions{flex-wrap:wrap;justify-content:stretch;width:100%}.settings-data-actions button{flex:1;min-height:40px}.type-preview{min-height:100px}.type-preview strong{font-size:19px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
@media (max-width:720px){input,textarea,select{font-size:16px!important}textarea.cm-live-table-cell-editor{font-size:inherit!important}}
*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--foreground) 22%, transparent) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--foreground) 22%, transparent);background-clip:content-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb, var(--foreground) 38%, transparent);background-clip:content-box}
