:root{color-scheme:light;--bg: #f5f6f7;--chrome: #f0f1f2;--chrome-strong: #e5e7ea;--surface: #ffffff;--surface-subtle: #fafafa;--line: #d8dadd;--line-soft: #e7e9ec;--text: #1d1d1f;--text-muted: #6e6e73;--text-faint: #8e8e93;--ink: #111111;--ink-hover: #2c2c2e;--link: #0066cc;--selection: #d8d8d8;--shadow-soft: rgb(0 0 0 / 8%);--shadow-toolbar: rgb(0 0 0 / 22%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}:root[data-theme=dark]{color-scheme:dark;--bg: #141513;--chrome: #1b1c1a;--chrome-strong: #292b27;--surface: #20211f;--surface-subtle: #171816;--line: #363832;--line-soft: #2b2d29;--text: #eeeeea;--text-muted: #aaaea4;--text-faint: #7d8277;--ink: #f0f0ea;--ink-hover: #ffffff;--link: #82b7ff;--selection: #33445c;--shadow-soft: rgb(0 0 0 / 34%);--shadow-toolbar: rgb(0 0 0 / 48%)}*{box-sizing:border-box}body{margin:0;min-width:1080px;min-height:100vh;background:var(--bg)}button,select,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.app-shell{--sidebar-width: 252px;position:relative;display:flex;height:100vh;overflow:hidden;background:var(--bg)}.auth-gate{position:relative;display:grid;min-height:100vh;place-items:center;padding:52px;background:linear-gradient(180deg,#ffffff9e,#fff0 42%),var(--bg)}.auth-window-drag{position:fixed;top:0;left:0;right:0;z-index:1;height:72px;-webkit-app-region:drag}.auth-panel{position:relative;z-index:2;display:grid;width:min(580px,100%);min-height:496px;align-content:center;justify-items:center;gap:18px;padding:72px 64px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 26px 64px #00000014,0 1px #ffffffb3 inset;-webkit-app-region:no-drag}.auth-panel-status{min-height:360px}.auth-brand-mark{width:74px;height:74px;border:1px solid var(--line-soft);border-radius:18px;box-shadow:0 14px 28px #00000014}.auth-title{margin:10px 0 0;color:var(--text);font-family:Georgia,Times New Roman,serif;font-size:36px;font-weight:500;letter-spacing:0;line-height:1.12;text-align:center}.auth-copy,.auth-status{margin:0;color:var(--text-muted);font-size:14px;line-height:1.4;text-align:center}.auth-actions{display:grid;width:min(448px,100%);gap:12px;margin-top:8px}.auth-button{display:inline-flex;width:100%;min-height:46px;align-items:center;justify-content:center;gap:9px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:14px;font-weight:680;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.auth-button.primary{border-color:var(--ink);background:var(--ink);color:var(--surface);box-shadow:0 14px 24px #0000001f}.auth-button.secondary{border:1px solid var(--line);color:var(--text);background:var(--surface)}.auth-button:hover{transform:translateY(-1px)}.auth-button.primary:hover{border-color:var(--ink-hover);background:var(--ink-hover)}.auth-button.secondary:hover{border-color:var(--text-faint);background:var(--surface-subtle)}.auth-button:focus-visible{outline:3px solid color-mix(in srgb,var(--link),transparent 64%);outline-offset:3px}.auth-status{min-height:20px;margin-top:6px;color:var(--text-faint);font-size:12px}:root[data-theme=dark] .auth-gate{background:linear-gradient(180deg,#ffffff08,#fff0 42%),var(--bg)}:root[data-theme=dark] .auth-panel{box-shadow:0 26px 64px #00000052,0 1px #ffffff0f inset}@media(max-width:720px){.auth-gate{padding:28px}.auth-panel{min-height:430px;padding:52px 28px}.auth-title{font-size:31px}}.sidebar{position:relative;display:flex;width:var(--sidebar-width);flex:0 0 auto;flex-direction:column;gap:14px;min-width:0;padding:52px 12px 14px;border-right:1px solid var(--line);background:var(--chrome);overflow:hidden;transition:background-color .18s ease,border-color .18s ease,padding .24s cubic-bezier(.22,1,.36,1),width .26s cubic-bezier(.22,1,.36,1)}.app-shell.sidebar-resizing{cursor:ew-resize;-webkit-user-select:none;user-select:none}.app-shell.sidebar-resizing .sidebar{transition:background-color .18s ease,border-color .18s ease,padding .24s cubic-bezier(.22,1,.36,1)}.window-drag{position:absolute;top:0;left:0;right:0;z-index:35;height:52px;-webkit-app-region:drag}.app-shell.web-shell .window-drag{display:none}.remote-login-banner{position:fixed;top:12px;left:50%;z-index:45;max-width:min(680px,calc(100vw - 32px));transform:translate(-50%);border:1px solid #111;border-radius:999px;padding:7px 14px;background:#111;color:#fff;font-size:12px;font-weight:700;line-height:1.25;text-align:center;box-shadow:0 12px 28px #00000024;-webkit-app-region:no-drag}.environment-watermark{position:fixed;right:25px;bottom:8px;z-index:30;max-width:min(620px,calc(100vw - var(--sidebar-width) - 48px));overflow:hidden;color:#6e6e73b8;font-size:11px;font-weight:600;line-height:1.2;pointer-events:none;text-align:right;text-overflow:ellipsis;white-space:nowrap;-webkit-app-region:no-drag}button,a,input,select,textarea,[contenteditable=true]{-webkit-app-region:no-drag}.titlebar-actions{position:fixed;top:12px;left:86px;z-index:40;display:flex;align-items:center;gap:8px;max-width:max(0px,calc(var(--sidebar-width) - 86px));overflow:hidden;pointer-events:auto;-webkit-app-region:no-drag}.app-shell.web-shell .sidebar{padding-top:12px}.web-sidebar-toolbar{display:none}.app-shell.web-shell .web-sidebar-toolbar{display:flex;min-height:30px;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;-webkit-app-region:no-drag}.app-shell.web-shell .web-sidebar-toolbar.expanded{padding:0 2px 0 9px}.web-sidebar-wordmark{display:block;flex:0 0 auto;color:var(--text);font-size:20px;font-weight:760;letter-spacing:0;line-height:32px}.web-sidebar-toolbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px}.web-sidebar-icon-button{display:grid;width:30px;height:30px;flex:0 0 auto;padding:0;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-faint);background:transparent;transition:background .12s ease,border-color .12s ease,color .12s ease}.web-sidebar-icon-button:hover,.web-sidebar-icon-button:focus-visible{border-color:var(--line);background:var(--surface);color:var(--text);outline:0}.sidebar-toggle{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-faint);background:transparent}.sidebar-toggle:focus-visible{background:transparent;outline:0}.collapsed-new-doc-button{display:grid;width:30px;height:30px;flex:0 0 auto;padding:0;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-faint);background:transparent;transition:opacity .16s ease,transform .24s cubic-bezier(.22,1,.36,1),background .12s ease,border-color .12s ease}.collapsed-new-doc-button:focus-visible{border-color:var(--line);background:var(--surface);outline:0}.titlebar-update-button{display:inline-flex;min-width:26px;height:26px;flex:0 1 auto;align-items:center;justify-content:center;gap:4px;overflow:hidden;border:1px solid var(--line);border-radius:999px;padding:0 8px;background:#e8e8e5;color:var(--text);font-size:11.5px;font-weight:500;line-height:1;transition:opacity .16s ease,background .12s ease,border-color .12s ease}.titlebar-update-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.titlebar-update-button.icon-only{width:26px;flex-basis:26px;padding:0;border-radius:8px}.titlebar-update-button.compact-busy{width:26px;flex-basis:26px;padding:0}.titlebar-update-button.compact-busy.with-download-glyph{width:46px;flex-basis:46px;gap:3px;padding:0 7px}.titlebar-update-button svg{flex:0 0 auto;width:13px;height:13px}.titlebar-update-button.compact-busy .titlebar-update-spinner{stroke-width:2.5}.titlebar-update-button.compact-busy .titlebar-update-download-icon{margin-left:1px}.titlebar-update-button:hover,.titlebar-update-button:focus-visible{border-color:var(--text-faint);background:#dededb;outline:0}.titlebar-update-button:disabled{cursor:default;opacity:.74}.sidebar.collapsed{width:0;padding-right:0;padding-left:0;border-right-width:0;border-right-color:transparent;background:transparent}.app-shell.web-shell .sidebar.collapsed{overflow:visible}.app-shell.web-shell .sidebar.collapsed .web-sidebar-toolbar{position:fixed;top:12px;left:12px;z-index:40;width:auto;margin:0}.sidebar-content{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column;gap:14px;opacity:1;transform:translate(0);transition:opacity .16s ease,transform .24s cubic-bezier(.22,1,.36,1)}.sidebar.collapsed .sidebar-content{opacity:0;transform:translate(-12px);pointer-events:none}.sidebar-resize-handle{position:absolute;top:0;left:calc(var(--sidebar-width) - 6px);bottom:0;z-index:45;width:12px;cursor:ew-resize;outline:0;touch-action:none;-webkit-app-region:no-drag}.sidebar-resize-handle:after{content:"";position:absolute;top:52px;left:5px;bottom:0;width:2px;border-radius:999px;background:transparent;transition:background-color .12s ease}.sidebar-resize-handle:focus-visible:after,.app-shell.sidebar-resizing .sidebar-resize-handle:after{background:#b9b9b5}.sidebar-action-section{display:flex;flex-direction:column;gap:2px}.sidebar-action-button{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:30px;padding:0 9px;border:1px solid transparent;border-radius:8px;color:#3f3f43;background:transparent;font-size:14px;font-weight:400;text-align:left;transition:background .12s ease,color .12s ease}.sidebar-action-button:not(:disabled):hover,.sidebar-action-button:focus-visible{color:var(--text);background:#e8e8e6;outline:0}.sidebar-action-button svg{color:inherit;stroke-width:1.9}.sidebar-action-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-header{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:30px;padding:0 4px 0 9px;cursor:pointer}.notes-header:focus-visible{outline:0}.notes-section{display:flex;min-height:0;flex-direction:column;gap:3px}.collapsible-section{position:relative}.pinned-doc-section{position:relative;z-index:10;flex:0 0 auto;overflow:visible}.drafts-doc-section{flex:1 1 auto}.drafts-doc-section.collapsed{flex:0 0 auto}.notes-section-header{display:flex;min-height:28px;align-items:center;padding:0 9px}button.notes-section-header{width:100%;justify-content:flex-start;color:var(--text-muted);background:transparent;text-align:left}.section-toggle-button{display:inline-flex;flex:0 1 auto;min-width:0;max-width:100%;min-height:28px;align-items:center;gap:2px;padding:0;border:0;color:var(--text-faint);background:transparent;font-size:14px;font-weight:400;line-height:1;text-align:left}button.notes-section-header.section-toggle-button{display:flex;min-height:28px;padding:0 9px}.section-toggle-button:hover,.section-toggle-button:focus-visible{color:var(--text-faint);background:transparent;outline:0}.section-toggle-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-toggle-label{display:inline-flex;min-width:0;align-items:center;gap:2px;color:var(--text-faint);font-size:14px;font-weight:400;line-height:1}.section-toggle-label>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-header .section-toggle-button,.notes-section-header .section-toggle-button{flex:1 1 auto}.section-toggle-chevron{display:block;flex:0 0 auto;opacity:.72;transition:opacity .12s ease}.section-toggle-button:hover .section-toggle-chevron,.section-toggle-button:focus-visible .section-toggle-chevron,.notes-header:hover .section-toggle-chevron,.notes-header:focus-visible .section-toggle-chevron{opacity:1}.notes-sort-button{display:grid;width:24px;height:24px;place-items:center;padding:0;border:0;border-radius:7px;color:var(--text-muted);background:transparent;line-height:0;opacity:1;pointer-events:auto;transition:opacity .12s ease,background-color .12s ease,color .12s ease}.notes-sort-button.open{opacity:1;pointer-events:auto}.notes-sort-button:focus-visible,.notes-sort-button.open{color:var(--text);background:#dededb;outline:0}.notes-sort-button svg{display:block;width:16px;height:16px}.notes-sort-menu{position:absolute;top:31px;right:0;z-index:25;display:grid;width:156px;gap:2px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 14px 30px var(--shadow-soft)}.notes-sort-menu button{display:grid;grid-template-columns:minmax(0,1fr) 14px;align-items:center;gap:8px;width:100%;min-height:28px;padding:0 7px;border-radius:6px;color:#3a3a3c;background:transparent;font-size:12px;font-weight:640;text-align:left}.notes-sort-menu button:focus-visible,.notes-sort-menu button[aria-checked=true]{background:#f0f0ef;outline:0}.notes-sort-menu button svg{color:var(--text)}.doc-list{display:flex;flex:1;flex-direction:column;gap:1px;min-height:0;overflow-y:auto;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none}.doc-list.menu-open{overflow:visible}.doc-list::-webkit-scrollbar{width:0;height:0}.pinned-doc-list{display:flex;flex:0 1 auto;max-height:min(360px,42vh);min-height:0;flex-direction:column;gap:1px;overflow-y:auto;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none}.pinned-doc-list.menu-open{overflow:visible}.pinned-doc-list::-webkit-scrollbar{width:0;height:0}.doc-row{--doc-row-active-bg: #e6e6e4;position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center;width:100%;height:30px;min-height:30px;padding:0 3px;border-radius:8px;color:#3a3a3c;background:transparent}.doc-row.active,.doc-row.menu-open{background:var(--doc-row-active-bg)}.doc-row-main{display:flex;align-items:center;width:100%;min-width:0;min-height:30px;padding:0 5px;border-radius:6px;color:inherit;background:transparent;text-align:left}.doc-row-main span{box-sizing:border-box;min-width:0;width:100%;transition:padding-right .12s ease}.doc-row.active .doc-row-main span,.doc-row:focus-within .doc-row-main span,.doc-row.menu-open .doc-row-main span{padding-right:24px}.doc-title-form{cursor:text}.doc-title-form input{display:block;width:100%;min-width:0;height:24px;padding:0 5px;border:1px solid color-mix(in srgb,var(--link),transparent 38%);border-radius:5px;color:var(--text);background:var(--surface);font:inherit;font-size:14px;font-weight:400;line-height:24px;outline:0;box-shadow:0 0 0 2px color-mix(in srgb,var(--link),transparent 78%)}.doc-row-main strong{display:block;overflow:hidden;color:var(--text);font-size:14px;font-weight:400;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.doc-actions-button{position:absolute;top:3px;right:3px;display:grid;z-index:2;width:24px;height:24px;margin:0;padding:0;place-items:center;border:0;border-radius:7px;color:var(--text-muted);background:var(--doc-row-active-bg);line-height:0;opacity:0;pointer-events:none;transition:opacity .12s ease,background-color .12s ease,color .12s ease}.doc-row.active .doc-actions-button,.doc-row:focus-within .doc-actions-button,.doc-row.menu-open .doc-actions-button{opacity:1;pointer-events:auto}.doc-actions-button:focus-visible,.doc-row.menu-open .doc-actions-button{color:var(--text);background:#dededb;outline:0}.doc-actions-button svg{display:block;width:16px;height:16px}.doc-actions-menu{position:absolute;top:34px;right:3px;z-index:28;display:grid;width:148px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 14px 30px var(--shadow-soft)}.doc-actions-menu button{display:flex;min-height:30px;align-items:center;gap:8px;padding:0 8px;border-radius:6px;color:var(--text);background:transparent;font-size:12px;font-weight:450;text-align:left}.doc-actions-menu button:focus-visible{background:#f0f0ef;outline:0}.doc-actions-menu button.danger{color:inherit}.doc-actions-menu button.danger:focus-visible{background:#f0f0ef;outline:0}.empty-list{display:grid;gap:4px;padding:24px 18px;color:var(--text-muted);text-align:center}.empty-list small{font-size:12px;line-height:1.35}.sidebar-footer{position:relative;display:grid;gap:8px;margin-top:auto;padding-top:0}.drafts-upgrade-card{display:grid;gap:8px;padding:14px 14px 13px;border:1px solid var(--line-soft);border-radius:8px;background:#f7f7f5;box-shadow:inset 0 1px #ffffffc7}.drafts-upgrade-card strong{color:var(--text);font-size:14px;font-weight:400;line-height:1.25}.drafts-upgrade-card p{margin:0;color:var(--text-muted);font-size:11.5px;line-height:1.45}.drafts-upgrade-card button{display:inline-flex;width:fit-content;min-height:32px;align-items:center;justify-content:center;margin-top:3px;padding:0 14px;border-radius:7px;color:#fff;background:var(--ink);font-size:13px;font-weight:400}.drafts-upgrade-card button:focus-visible{background:var(--ink-hover);outline:0}.account-wrap{position:relative;min-width:0}.account-button{display:flex;width:100%;min-width:0;height:34px;align-items:center;gap:8px;padding:0 9px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-subtle);font-size:14px;font-weight:400}.account-button svg{flex:0 0 auto}.account-button span:not(.avatar){min-width:0;flex:1;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:8px;color:#fff;background:var(--ink);font-size:12px;font-weight:800}.avatar.small{width:22px;height:22px;border-radius:7px;font-size:10px}.account-menu{position:absolute;left:0;bottom:42px;z-index:30;display:grid;width:100%;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 18px 44px var(--shadow-soft)}.menu-link-group button{display:flex;min-height:30px;align-items:center;gap:8px;width:100%;padding:6px 8px;border-radius:8px;color:#3a3a3c;background:transparent;font-size:14px;font-weight:400;text-align:left}.menu-link-group{display:grid;gap:2px}.workspace{position:relative;flex:1 1 auto;min-width:0;background:var(--surface-subtle)}.workspace:before{content:"";position:absolute;top:0;right:0;left:0;z-index:34;height:52px;background:var(--surface-subtle);pointer-events:none}.editor-zone{position:relative;height:100vh;overflow:auto;padding:16px clamp(22px,4vw,52px) 48px;scrollbar-color:transparent transparent;scrollbar-width:thin}.editor-zone:hover,.editor-zone:focus-within{scrollbar-color:rgb(0 0 0 / 26%) transparent}.editor-zone::-webkit-scrollbar{width:10px;height:10px}.editor-zone::-webkit-scrollbar-track{background:transparent}.editor-zone::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:transparent;background-clip:content-box}.editor-zone:hover::-webkit-scrollbar-thumb,.editor-zone:focus-within::-webkit-scrollbar-thumb{background-color:#00000042}.editor-zone::-webkit-scrollbar-thumb:hover{background-color:#00000057}.workspace-toolbar{position:sticky;top:-4px;z-index:36;display:flex;width:min(100%,910px);align-items:center;justify-content:space-between;gap:8px;min-height:34px;margin:-4px auto 22px;-webkit-app-region:drag}.workspace-toolbar-left{display:flex;align-items:center;gap:7px;min-width:0}.app-shell.web-shell.sidebar-collapsed .workspace-toolbar-left{margin-left:106px}.workspace-toolbar-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;-webkit-app-region:no-drag}.source-mode-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:35;display:grid;width:min(216px,calc(100vw - 24px));gap:2px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fffffff5;box-shadow:0 18px 34px #0000001f,0 2px 8px #0000000f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}:where(button,[role=button])[data-tooltip]{position:relative}:where(button,[role=button])[data-tooltip]:after{position:absolute;top:calc(100% + 8px);left:50%;z-index:180;display:block;width:max-content;max-width:min(220px,calc(100vw - 24px));padding:5px 7px;border-radius:6px;color:#fff;background:#1c1c1ef5;box-shadow:0 8px 22px #0000002e;content:attr(data-tooltip);font-size:11px;font-weight:520;line-height:1.2;opacity:0;pointer-events:none;text-align:center;transform:translate(-50%,-2px);transition:opacity .11s ease .56s,transform .11s ease .56s,visibility 0s linear .67s;visibility:hidden;white-space:nowrap}:where(button,[role=button])[data-tooltip]:hover:after,:where(button,[role=button])[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%);transition:opacity .11s ease .62s,transform .11s ease .62s,visibility 0s linear .62s;visibility:visible}:where(button,[role=button])[data-tooltip][data-tooltip-align=end]:after{right:0;left:auto;transform:translateY(-2px)}:where(button,[role=button])[data-tooltip][data-tooltip-align=end]:hover:after,:where(button,[role=button])[data-tooltip][data-tooltip-align=end]:focus-visible:after{transform:translateY(0)}.view-switch{--original-toggle-width: 108px;--enhanced-toggle-width: 122px;position:relative;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#e9e9e5;box-shadow:inset 0 1px 1px #0000000a,0 10px 26px #00000012;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.view-switch.source-mode-disabled{--original-toggle-width: 94px}.view-switch:before{content:"";position:absolute;top:3px;bottom:3px;left:3px;z-index:0;width:var(--original-toggle-width);border-radius:7px;background:var(--surface);box-shadow:inset 0 0 0 1px #0000000f,0 1px 2px #0000001f;transition:transform .22s cubic-bezier(.2,.8,.2,1),width .22s cubic-bezier(.2,.8,.2,1)}.view-switch.enhanced-active:before{width:var(--enhanced-toggle-width);transform:translate(calc(var(--original-toggle-width) + 2px))}.view-switch button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:27px;padding:0 5px;border-radius:6px;color:#565853;background:transparent;font-size:14px;font-weight:500;transition:color .16s ease}.view-switch button:hover{color:var(--text);background:transparent}.view-switch button:focus-visible{outline:0}.view-switch:has(button:focus-visible){box-shadow:inset 0 1px 1px #0000000a,0 0 0 2px #00000014,0 10px 26px #00000012}.view-switch button.active,.original-view-control.active{color:var(--text);background:transparent;box-shadow:none}.view-switch button svg{flex:0 0 auto}.original-view-control,.enhanced-view-control{display:inline-grid;grid-template-columns:max-content max-content;align-items:center;justify-content:center;column-gap:5px;position:relative;z-index:1;height:27px;border-radius:6px;color:#565853;transition:color .16s ease}.original-view-control{width:var(--original-toggle-width)}.original-view-control.source-mode-disabled{grid-template-columns:max-content;column-gap:0}.enhanced-view-control{width:var(--enhanced-toggle-width)}.original-view-control.active,.enhanced-view-control.active{color:var(--text);background:transparent;box-shadow:none}.view-switch .original-view-control>button,.view-switch .enhanced-view-control>button{height:27px;border-radius:0;color:inherit;box-shadow:none}.view-switch .original-view-control>button:hover,.view-switch .enhanced-view-control>button:hover{color:var(--text);background:transparent}.view-switch .original-view-control.active>button:hover,.view-switch .enhanced-view-control.active>button:hover{background:transparent}.view-switch .original-view-button,.view-switch .enhanced-view-button{flex:0 0 auto;padding-right:0;border-radius:6px 0 0 6px}.view-switch .original-view-control.source-mode-disabled .original-view-button{width:100%;padding-right:5px;border-radius:6px}.view-switch .original-menu-button,.view-switch .enhanced-menu-button{width:14px;margin-left:0;justify-content:center;padding:0;border-radius:0 6px 6px 0}.original-menu-button .original-chevron,.enhanced-menu-button .enhanced-chevron{color:var(--text-faint);transition:transform .14s ease}.original-view-control.menu-open .original-chevron,.enhanced-view-control.menu-open .enhanced-chevron{transform:rotate(180deg)}.original-view-control .source-mode-menu{right:0;left:auto}.enhancement-options-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:34;display:grid;width:min(304px,calc(100vw - 24px));gap:2px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fffffff5;box-shadow:0 18px 34px #0000001f,0 2px 8px #0000000f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.enhancement-menu-heading{padding:6px 8px 3px;color:var(--text-muted);font-size:10px;font-weight:850;letter-spacing:0;text-transform:uppercase}.enhancement-menu-heading.custom{display:flex;align-items:center;justify-content:space-between;margin-top:6px;padding-top:9px;border-top:1px solid var(--line-soft)}.enhancement-menu-heading button{min-height:20px;padding:0;border:0;border-radius:0;color:var(--text-muted);background:transparent;font:inherit;font-size:9px;font-weight:850;text-transform:none;box-shadow:none}.enhancement-menu-heading button:hover,.enhancement-menu-heading button:focus-visible{color:var(--text);background:transparent;box-shadow:none;outline:0}.source-mode-section,.enhancement-menu-section{display:grid;gap:2px}.source-mode-section>button,.enhancement-menu-section>button{display:grid;grid-template-columns:18px minmax(0,1fr) 34px;align-items:center;gap:8px;width:100%;height:31px;min-height:31px;padding:0 8px;border-radius:6px;color:var(--text);background:transparent;box-shadow:none;font-size:12px;font-weight:650;text-align:left}.source-mode-section>button{grid-template-columns:18px minmax(0,1fr) 18px}.source-mode-section>button:hover,.source-mode-section>button:focus-visible,.source-mode-section>button[aria-checked=true],.enhancement-menu-section>button:hover,.enhancement-menu-section>button:focus-visible{color:var(--text);background:#f0f0ef;outline:0}.source-mode-section>button>svg:first-child,.enhancement-menu-section>button>svg:first-child,.enhancement-menu-section>button>.custom-enhancement-icon:first-child{color:var(--text-muted)}.source-mode-option-status{display:inline-flex;justify-content:flex-end;color:var(--text)}.custom-enhancement-icon{display:block;color:var(--text-muted);stroke-width:1.9}.enhancement-menu-section>button.last-enhancement-option{color:var(--text)}.enhancement-option-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enhancement-option-status,.enhancement-option-check-spacer{justify-self:end}.enhancement-option-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;width:34px}.enhancement-option-check{color:#8a8c8f;opacity:1}.enhancement-option-refresh{color:#8a8c8f;opacity:0;transition:opacity .12s ease}.enhancement-menu-section>button.last-enhancement-option:hover .enhancement-option-refresh,.enhancement-menu-section>button.last-enhancement-option:focus-visible .enhancement-option-refresh{opacity:1}.custom-enhancement-form{display:grid;grid-template-columns:minmax(0,1fr) 26px;align-items:center;gap:6px;margin-top:5px;padding:7px 2px 2px;border-top:1px solid var(--line-soft)}.custom-enhancement-form input{width:100%;height:32px;padding:0 9px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font-size:12px;font-weight:550;outline:0}.custom-enhancement-form input::placeholder{color:var(--text-faint)}.custom-enhancement-form input:focus{border-color:#b8babf;box-shadow:0 0 0 3px #0000000d}.custom-enhancement-form button{display:grid;grid-template-columns:1fr;justify-items:center;width:26px;height:32px;place-items:center;gap:0;padding:0;border:1px solid var(--line);border-radius:6px;color:#fff;background:var(--ink)}.custom-enhancement-form button:hover,.custom-enhancement-form button:focus-visible{background:var(--ink-hover);outline:0}.custom-enhancement-form button:disabled{color:var(--text-faint);background:var(--surface-subtle)}.custom-enhancement-form button svg{color:currentColor;margin:0}.enhanced-selection-menu{position:absolute;z-index:35;display:grid;width:238px;gap:2px;padding:6px;border:1px solid var(--line);border-radius:9px;background:#fffffff7;box-shadow:0 18px 36px #00000024,0 2px 8px #00000012;transform:translate(-50%);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);-webkit-app-region:no-drag}.enhanced-selection-highlight-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:32;pointer-events:none}.enhanced-selection-highlight{position:absolute;border-radius:3px;background:color-mix(in srgb,var(--selection),transparent 18%)}.enhanced-selection-menu button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:32px;padding:0 9px;border-radius:6px;color:var(--text);background:transparent;font-size:12px;font-weight:650;text-align:left}.enhanced-selection-menu button:hover,.enhanced-selection-menu button:focus-visible{background:#f0f0ef;outline:0}.enhanced-selection-menu button svg{color:var(--text-muted)}.enhanced-selection-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-custom-enhancement-form{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:6px;padding:5px 3px 2px}.selection-custom-enhancement-form input{min-width:0;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font-size:12px;font-weight:520;outline:0}.selection-custom-enhancement-form input:focus{border-color:#b6b6b2;box-shadow:0 0 0 3px #0000000d}.enhanced-selection-menu .selection-custom-enhancement-form button{display:grid;grid-template-columns:1fr;width:28px;height:30px;min-height:30px;padding:0;place-items:center;border-radius:6px;color:#fff;background:var(--ink)}.enhanced-selection-menu .selection-custom-enhancement-form button svg{display:block;margin:0}.enhanced-selection-menu .selection-custom-enhancement-form button:hover,.enhanced-selection-menu .selection-custom-enhancement-form button:focus-visible{background:var(--ink-hover)}.enhanced-selection-menu .selection-custom-enhancement-form button:disabled{cursor:default;opacity:.42}.copy-note-button{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:8px;color:var(--text-muted);background:#fafafaeb;font-size:14px;font-weight:500;box-shadow:0 10px 26px #00000012;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.copy-note-button svg{flex:0 0 auto}.copy-note-button:hover,.copy-note-button:focus-visible{color:var(--text);background:#f1f2f3;outline:0}.copy-note-button.ready{border-color:#111;color:#fff;background:#111}.copy-note-button.ready:hover,.copy-note-button.ready:focus-visible{color:#fff;background:#000}.document-page{width:min(100%,910px);min-height:calc(100vh - 72px);margin:0 auto;padding:46px 60px 64px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface);box-shadow:0 16px 36px #00000012;-webkit-app-region:no-drag}.empty-editor{display:grid;min-height:520px;place-content:center;justify-items:center;gap:8px;color:var(--text-muted);text-align:center}.empty-editor svg{color:var(--text-faint)}.empty-editor strong{color:var(--text);font-size:15px}.empty-editor button{display:inline-flex;align-items:center;gap:7px;height:34px;margin-top:4px;padding:0 13px;border:1px solid var(--ink);border-radius:8px;color:#fff;background:var(--ink);font-size:12.5px;font-weight:720;box-shadow:0 8px 18px #0000001a}.empty-editor button:hover,.empty-editor button:focus-visible{background:var(--ink-hover);outline:0}.editor-format-toolbar{position:relative;z-index:2;display:flex;align-items:center;gap:0;min-height:34px;margin:0;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fafafaeb;box-shadow:0 10px 26px #00000012;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);-webkit-app-region:no-drag}.editor-format-toolbar button{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:1px solid transparent;border-radius:6px;color:var(--text-muted);background:transparent;font-size:14px;line-height:1;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.editor-format-toolbar button:hover:not(:disabled),.editor-format-toolbar button:focus-visible{color:var(--text);background:#f1f2f3;outline:0}.editor-format-toolbar button.active{color:var(--text);background:var(--surface);box-shadow:inset 0 0 0 1px #0000000f,0 1px 2px #00000014}.editor-format-toolbar button svg{stroke-width:2}.editor-history-controls{display:flex;align-items:center;gap:2px;min-height:34px;-webkit-app-region:no-drag}.editor-history-controls button{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:0;border-radius:6px;color:var(--text-muted);background:transparent;font-size:14px;line-height:1;box-shadow:none;transition:background .12s ease,color .12s ease}.editor-history-controls button:hover:not(:disabled),.editor-history-controls button:focus-visible{color:var(--text);background:#0000000d;outline:0}.editor-history-controls button:disabled{color:var(--text-faint);cursor:default;opacity:.48}.editor-history-controls svg{stroke-width:2}.editor-history-controls .dictation-record-button{color:#d3382f}.dictation-record-dot{width:9px;height:9px;border-radius:999px;background:#d3382f;box-shadow:inset 0 0 0 1px #00000014,0 0 #d3382f52}.dictation-record-button:hover:not(:disabled) .dictation-record-dot,.dictation-record-button:focus-visible .dictation-record-dot{background:#b92720}.dictation-record-button.recording{background:#d3382f1a}.dictation-record-button.recording .dictation-record-dot{animation:dictation-record-pulse 1.2s ease-in-out infinite}.editor-history-controls .version-history-trigger{width:auto;min-width:30px;padding:0 7px;color:var(--text-muted);font-size:14px;font-weight:500;letter-spacing:0}.format-text-icon{display:block;color:inherit;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:850;line-height:1}.editor-format-divider{width:1px;height:16px;margin:0 3px;background:var(--line-soft)}.editor-emoji-picker,.editor-link-picker{position:relative;display:flex}.emoji-menu,.link-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20;border:1px solid var(--line);border-radius:8px;background:#fffffff5;box-shadow:0 18px 34px #0000001f,0 2px 8px #0000000f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.emoji-menu{display:grid;grid-template-columns:repeat(8,26px);gap:2px;padding:6px}.emoji-menu button{width:26px;height:26px;border-radius:6px;color:var(--text);font-size:15px;line-height:1}.link-menu{display:flex;width:260px;gap:6px;padding:6px}.link-menu input{min-width:0;height:28px;flex:1;border:1px solid var(--line);border-radius:6px;padding:0 8px;color:var(--text);background:var(--surface);font-size:12px;outline:0}.link-menu input:focus{border-color:#b8b8bd;box-shadow:0 0 0 2px #0000000d}.editor-format-toolbar .link-menu button{width:auto;min-width:52px;height:28px;padding:0 10px;color:var(--surface);background:var(--ink);font-size:12px;font-weight:720}.editor-format-toolbar .link-menu button:hover:not(:disabled),.editor-format-toolbar .link-menu button:focus-visible{color:var(--surface);background:var(--ink-hover)}.editor-format-toolbar .link-menu button:disabled{opacity:.42}.document-prose,.enhanced-prose{min-height:560px;outline:0;color:var(--text);font-family:Arial,Helvetica Neue,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14.67px;line-height:1.3}.document-prose a,.enhanced-prose a{color:var(--link);text-decoration:underline;text-underline-offset:2px}.enhanced-prose a .human-ink,.enhanced-prose a [data-source=human],.enhanced-prose a .ai-fill,.enhanced-prose a [data-source=ai]{color:var(--link)}.document-prose h1,.enhanced-prose h1{margin:0 0 16px;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:28px;font-weight:700;letter-spacing:0;line-height:1.18}.document-prose h2,.enhanced-prose h2{margin:24px 0 8px;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:17px;font-weight:700;letter-spacing:0;line-height:1.25}.document-prose p{margin:0}.document-prose p:has(>br:only-child){min-height:1.3em;margin:0}.enhanced-prose p{margin:0}.enhanced-prose[data-output-mode=composition] p[data-block-origin=ai],.enhanced-prose[data-output-mode=composition] p[data-block-origin=mixed],.enhanced-prose[data-output-mode=composition] p[data-block-origin=original],.enhanced-prose[data-output-mode=composition] ul,.enhanced-prose[data-output-mode=composition] ol{margin-block:0 1em}.enhanced-prose[data-output-mode=composition] p[data-block-origin=human],.enhanced-prose[data-output-mode=composition] p[data-compact-after=true]{margin-bottom:0}.enhanced-prose[data-output-mode=composition] ul:has(+ul),.enhanced-prose[data-output-mode=composition] ul:has(+ol),.enhanced-prose[data-output-mode=composition] ol:has(+ul),.enhanced-prose[data-output-mode=composition] ol:has(+ol){margin-block-end:0}.enhanced-prose[data-output-mode=composition]>:last-child{margin-bottom:0}.enhanced-prose h1,.enhanced-prose h2,.enhanced-prose p,.enhanced-prose li{white-space:break-spaces}.enhanced-prose p:has(>br:only-child){min-height:1.3em;margin:0}.enhanced-prose{cursor:text}.enhanced-prose:focus{outline:0}.enhanced-prose .enhanced-empty-placeholder{color:var(--text-faint);pointer-events:none;-webkit-user-select:none;user-select:none}.enhanced-prose .human-ink,.enhanced-prose [data-source=human]{color:var(--ink)}.enhanced-prose .ai-fill,.enhanced-prose [data-source=ai]{color:#8a8a8f}.enhanced-prose.animate-ai-fill .ai-fill{animation:ai-fill-in .55s ease both}.document-prose ul,.document-prose ol,.enhanced-prose ul,.enhanced-prose ol{margin:0;padding-left:22px}.document-prose li,.enhanced-prose li{margin:0;padding-left:2px}@keyframes ai-fill-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}.document-prose ::selection,.enhanced-prose ::selection{background:var(--selection)}.document-prose h1.is-empty:before,.document-prose h1.is-editor-empty:before,.document-prose p.is-empty:before,.document-prose p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--text-faint);pointer-events:none}.search-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;align-items:start;justify-items:center;padding-top:206px;background:#f5f6f794;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.search-modal{width:min(576px,calc(100vw - 40px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 45px #00000024,0 2px 8px #00000014}.search-modal-input{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:8px;height:44px;padding:0 10px 0 14px;border-bottom:1px solid var(--line-soft);color:var(--text-faint)}.search-modal-input input{min-width:0;border:0;outline:0;color:var(--text);background:transparent;font-size:14px}.search-modal-input input::placeholder{color:#9a9a9f}.search-modal-shortcut{display:inline-flex;height:20px;align-items:center;gap:2px;padding:0 6px;border:1px solid var(--line);border-radius:5px;color:var(--text-muted);background:var(--surface-subtle);font-size:10px;font-weight:700;line-height:1}.search-modal-shortcut svg{width:11px;height:11px;stroke-width:2.3}.search-results{display:grid;gap:2px;max-height:340px;overflow-y:auto;padding:8px 8px 10px}.search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:48px;padding:7px 8px;border-radius:8px;color:var(--text);background:transparent;text-align:left}.search-result:hover,.search-result.active,.search-result.selected{background:#f0f0ef}.search-result svg{color:var(--text-muted)}.search-result-meta{display:inline-flex;align-items:center;gap:7px;color:var(--text-muted)}.search-result-kind{display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center}.search-result-kind svg{width:13px;height:13px;stroke-width:2}.search-result strong{display:block;font-size:13px;font-weight:650;line-height:1.2}.search-result small{display:block;max-width:390px;overflow:hidden;margin-top:3px;color:var(--text-muted);font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.search-result em{color:var(--text-muted);font-size:11px;font-style:normal;white-space:nowrap}.no-results{padding:24px 8px 28px;color:var(--text-muted);text-align:center}.no-results strong{display:block;color:var(--text);font-size:13px}.no-results small{display:block;margin-top:4px;font-size:12px}.copy-toast{position:fixed;right:24px;top:24px;z-index:80;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;width:max-content;min-width:216px;max-width:calc(100vw - 48px);min-height:58px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#fffffff5;box-shadow:0 12px 30px #0000001f,0 1px 2px #00000014;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:1;transform:translateY(0);transition:opacity .24s ease,transform .24s ease}.copy-toast.exiting{opacity:0;transform:translateY(-6px)}.copy-toast.copied{align-items:center;min-height:40px;padding:10px 14px}.copy-toast.copied .copy-toast-icon{margin-top:0}.copy-toast-icon{display:grid;width:16px;height:16px;place-items:center;margin-top:2px;border-radius:999px;color:#fff;background:#6f7470}.copy-toast-icon svg,.copy-toast-checkbox svg{width:12px;height:12px}.copy-toast.failed .copy-toast-icon{background:#b42318}.copy-toast.deleted .copy-toast-icon{background:#6f7470}.copy-toast.ai-working .copy-toast-icon{color:#777b73;background:transparent;box-shadow:none}.copy-toast.dictation-transcribing .copy-toast-icon{background:var(--ink)}.copy-toast.ai-complete .copy-toast-icon,.copy-toast.billing-success .copy-toast-icon,.copy-toast.custom-enhancement-toast.saved .copy-toast-icon,.copy-toast.custom-enhancement-toast.duplicated .copy-toast-icon{background:#2f7d4f}.copy-toast.custom-enhancement-toast.deleted .copy-toast-icon{background:#6f7470}.copy-toast.custom-enhancement-toast.error .copy-toast-icon,.copy-toast.dictation-error .copy-toast-icon{background:#b42318}.copy-toast.dictation-notice .copy-toast-icon{background:#6f7470}.copy-toast.billing-payment-action{width:min(342px,calc(100vw - 48px));grid-template-columns:18px minmax(0,1fr)}.copy-toast.billing-payment-action .copy-toast-icon{background:#b42318}.copy-toast.billing-payment-action strong,.copy-toast.billing-payment-action small{overflow:visible;text-overflow:clip;white-space:normal}.copy-toast.plan-limit{width:min(320px,calc(100vw - 48px));grid-template-columns:18px minmax(0,1fr)}.copy-toast.plan-limit .copy-toast-icon{color:var(--ink);background:transparent}.copy-toast.plan-limit strong,.copy-toast.plan-limit small{overflow:visible;text-overflow:clip;white-space:normal}.copy-toast.ai-working,.copy-toast.ai-complete,.copy-toast.dictation-transcribing{align-items:center;grid-template-columns:18px max-content;gap:10px;min-width:0;min-height:42px;padding:10px 14px}.copy-toast.ai-working{gap:8px;min-height:38px;padding:8px 12px}.copy-toast.ai-working .copy-toast-icon,.copy-toast.dictation-transcribing .copy-toast-icon{margin-top:0}.copy-toast.ai-working .ai-working-spinner svg{width:14px;height:14px;color:currentColor;stroke-width:2.5}.copy-toast-checkbox{display:grid;width:16px;height:16px;place-items:center;border-radius:4px;color:#fff;background:#2f7d4f}.copy-toast.ai-working .copy-toast-icon svg{animation:ai-toast-spin .9s linear infinite}.copy-toast.dictation-transcribing .copy-toast-icon svg{animation:ai-toast-pulse 1.2s ease-in-out infinite}.enhancing-dots{display:inline-block;min-width:1.35em;padding-left:1px;text-align:left}.enhancing-dots span{opacity:1;animation:enhancing-dot-build-first 1.65s steps(1,end) infinite}.enhancing-dots span:nth-child(2){animation-name:enhancing-dot-build-second}.enhancing-dots span:nth-child(3){animation-name:enhancing-dot-build-third}.copy-toast strong,.copy-toast small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-toast strong{font-size:13px;font-weight:650;line-height:1.15}.copy-toast small{margin-top:2px;color:var(--text-muted);font-size:12px;line-height:1.2}@keyframes ai-toast-pulse{0%,to{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}@keyframes ai-toast-spin{to{transform:rotate(360deg)}}@keyframes enhancing-dot-build-first{0%,to{opacity:1}}@keyframes enhancing-dot-build-second{0%,32%{opacity:0}33%,to{opacity:1}}@keyframes enhancing-dot-build-third{0%,65%{opacity:0}66%,to{opacity:1}}.toast-link{display:inline;padding:0;color:var(--text);background:transparent;font-size:inherit;font-weight:740;line-height:inherit;text-decoration:underline;text-underline-offset:2px}.toast-link:hover,.toast-link:focus-visible{color:var(--ink);outline:0}.trash-overlay,.profile-overlay,.memory-overlay,.settings-overlay,.invite-overlay,.billing-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;align-items:center;justify-items:center;background:#f5f6f794;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.profile-overlay,.memory-overlay,.settings-overlay,.invite-overlay,.billing-overlay{z-index:71}.super-admin-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:72;display:grid;align-items:center;justify-items:center;padding:28px;background:#f5f6f79e;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.super-admin-modal{width:min(920px,calc(100vw - 44px));max-height:min(760px,calc(100vh - 44px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 45px #00000024,0 2px 8px #00000014}.super-admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}.super-admin-header strong{display:block;color:var(--text);font-size:14px}.super-admin-header span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px}.super-admin-header button{display:grid;width:30px;height:30px;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:transparent}.super-admin-header button:hover,.super-admin-header button:focus-visible{border-color:var(--line);color:var(--text);background:var(--surface-subtle);outline:0}.super-admin-body{display:grid;grid-template-columns:176px minmax(0,1fr);min-height:520px;max-height:calc(min(760px,calc(100vh - 44px)) - 59px);overflow:hidden}.admin-console-nav{display:grid;align-content:start;gap:8px;padding:10px;border-right:1px solid var(--line-soft);background:#f7f7f6}.admin-console-nav button{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;width:100%;min-height:58px;align-items:center;padding:9px 10px;border-radius:8px;color:var(--text);background:transparent;text-align:left}.admin-console-nav button.active,.admin-console-nav button:hover,.admin-console-nav button:focus-visible{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);outline:0}.admin-console-nav svg{color:var(--text-muted)}.admin-console-nav strong,.admin-console-nav small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-console-nav strong{font-size:13px}.admin-console-nav small{margin-top:2px;color:var(--text-muted);font-size:11px;font-weight:650}.admin-overview-panel{min-width:0;overflow:auto;padding:14px}.admin-overview-heading,.admin-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-overview-heading{margin-bottom:12px}.admin-overview-heading strong,.admin-section-title strong{display:block;color:var(--text);font-size:14px}.admin-overview-heading span,.admin-section-title span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px;font-weight:650}.admin-overview-heading button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-subtle);font-size:12px;font-weight:720}.admin-overview-heading button:hover,.admin-overview-heading button:focus-visible{box-shadow:0 0 0 3px #0000000d;outline:0}.admin-overview-heading button:disabled{color:var(--text-faint);cursor:not-allowed}.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-metric-grid article{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfbfa}.admin-metric-grid svg{color:var(--text-muted)}.admin-metric-grid span,.admin-metric-grid small{overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.admin-metric-grid strong{color:var(--text);font-size:22px;line-height:1}.admin-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.admin-summary-grid section,.admin-recent-users{min-width:0;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface)}.admin-summary-grid section{padding:12px}.admin-summary-grid section>strong{display:block;margin-bottom:8px;color:var(--text);font-size:13px}.admin-summary-grid dl{display:grid;gap:6px;margin:0}.admin-summary-grid dl div{display:flex;justify-content:space-between;gap:12px}.admin-summary-grid dt,.admin-summary-grid dd{margin:0;color:var(--text-muted);font-size:12px;font-weight:650}.admin-summary-grid dd{color:var(--text);font-weight:780}.admin-recent-users{margin-top:10px;overflow:hidden}.admin-section-title{padding:12px;border-bottom:1px solid var(--line-soft)}.admin-user-table{display:grid}.admin-user-table [role=row]{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 112px;gap:12px;align-items:center;min-height:48px;padding:8px 12px;border-bottom:1px solid var(--line-soft)}.admin-user-table [role=row]:last-child{border-bottom:0}.admin-user-table [role=columnheader]{color:var(--text-muted);font-size:10px;font-weight:850;letter-spacing:0;text-transform:uppercase}.admin-user-table [role=cell]{min-width:0;color:var(--text);font-size:12px;font-weight:700}.admin-user-table [role=cell] strong,.admin-user-table [role=cell] small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-table [role=cell] small{margin-top:2px;color:var(--text-muted);font-size:11px;font-weight:650}.admin-prompts-panel{display:grid;grid-template-columns:236px minmax(0,1fr);min-width:0;min-height:0}.prompt-mode-list{display:grid;align-content:start;gap:9px;padding:10px;border-right:1px solid var(--line-soft);background:#f7f7f6}.prompt-bucket{display:grid;gap:4px}.prompt-bucket summary{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px;padding:0 8px;border-radius:7px;color:var(--text);cursor:pointer;list-style:none}.prompt-bucket summary::-webkit-details-marker{display:none}.prompt-bucket summary:hover,.prompt-bucket summary:focus-visible{background:#0000000a;outline:0}.prompt-bucket-chevron{color:var(--text-muted);transform:rotate(-90deg);transition:transform .14s ease}.prompt-bucket[open] .prompt-bucket-chevron{transform:rotate(0)}.prompt-bucket summary span{overflow:hidden;font-size:11px;font-weight:850;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.prompt-bucket summary small{color:var(--text-muted);font-size:10px;font-weight:800}.prompt-mode-list button{display:grid;gap:3px;width:100%;min-height:56px;padding:9px 10px;border-radius:8px;color:var(--text);background:transparent;text-align:left}.prompt-mode-list button.active,.prompt-mode-list button:hover,.prompt-mode-list button:focus-visible{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);outline:0}.prompt-mode-list strong{font-size:13px}.prompt-mode-list small{overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.read-only-badge{display:inline-flex;min-height:28px;align-items:center;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text-muted);background:var(--surface-subtle);font-size:12px;font-weight:760}.prompt-editor{display:grid;grid-template-rows:auto auto minmax(280px,1fr) auto;min-width:0}.prompt-editor-heading,.prompt-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.prompt-editor-heading{border-bottom:1px solid var(--line-soft)}.prompt-editor-heading strong{display:block;font-size:14px}.prompt-editor-heading span,.prompt-editor-footer span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px;font-weight:650}.prompt-field-label{display:grid;gap:3px;padding:12px 14px 10px;border-bottom:1px solid var(--line-soft);background:#fbfbfa}.prompt-field-label span{color:var(--text);font-size:12px;font-weight:800}.prompt-field-label small{color:var(--text-muted);font-size:11px;font-weight:650}.prompt-editor textarea{width:calc(100% - 28px);min-width:0;height:calc(100% - 28px);min-height:360px;resize:none;margin:14px;padding:14px;border:1px solid #cfd1d5;border-radius:8px;color:var(--text);background:#fff;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;outline:0;box-shadow:inset 0 1px 2px #0000000a}.prompt-editor textarea::placeholder{color:var(--text-faint)}.prompt-editor textarea:focus{border-color:#969aa3;box-shadow:inset 0 1px 2px #0000000a,0 0 0 3px #0000000f}.prompt-editor textarea[readonly]{color:#505054;background:#f8f8f7;cursor:default}.prompt-editor-footer button,.prompt-editor-heading button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:#fff;background:var(--ink);font-size:12px;font-weight:720}.prompt-editor-heading button.secondary{color:var(--text);background:var(--surface-subtle)}.prompt-editor-footer button:hover,.prompt-editor-footer button:focus-visible,.prompt-editor-heading button:hover,.prompt-editor-heading button:focus-visible{box-shadow:0 0 0 3px #0000000d;outline:0}.prompt-editor-footer button:disabled,.prompt-editor-heading button:disabled{color:var(--text-faint);background:var(--surface-subtle);cursor:not-allowed}.profile-modal,.memory-modal,.settings-modal,.invite-modal,.billing-modal,.trash-modal{width:min(520px,calc(100vw - 44px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 45px #00000024,0 2px 8px #00000014}.settings-modal{width:min(480px,calc(100vw - 44px))}.billing-modal{width:min(680px,calc(100vw - 44px));max-height:min(580px,calc(100vh - 44px));background:#fff}.billing-modal-header{min-height:50px;padding:9px 12px}.profile-modal{width:min(680px,calc(100vw - 44px))}.memory-modal{width:min(720px,calc(100vw - 44px));max-height:min(780px,calc(100vh - 44px))}.profile-modal-header,.memory-modal-header,.settings-modal-header,.invite-modal-header,.billing-modal-header,.trash-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}.profile-modal-header strong,.memory-modal-header strong,.settings-modal-header strong,.invite-modal-header strong,.billing-modal-header strong,.trash-modal-header strong{display:block;color:var(--text);font-size:14px}.profile-modal-header span,.memory-modal-header span,.settings-modal-header span,.invite-modal-header span,.billing-modal-header span,.trash-modal-header span{display:block;margin-top:3px;color:var(--text-muted);font-size:12px}.profile-modal-header button,.memory-modal-header button,.settings-modal-header button,.invite-modal-header button,.billing-modal-header button,.trash-modal-header button{display:grid;width:30px;height:30px;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:transparent}.profile-modal-header button:hover,.profile-modal-header button:focus-visible,.memory-modal-header button:hover,.memory-modal-header button:focus-visible,.settings-modal-header button:hover,.settings-modal-header button:focus-visible,.invite-modal-header button:hover,.invite-modal-header button:focus-visible,.billing-modal-header button:hover,.billing-modal-header button:focus-visible,.trash-modal-header button:hover,.trash-modal-header button:focus-visible{border-color:var(--line);color:var(--text);background:var(--surface-subtle);outline:0}.invite-modal{width:min(560px,calc(100vw - 44px))}.invite-modal-body{display:grid;gap:20px;padding:24px}.invite-modal-copy{display:grid;gap:14px}.invite-modal-copy h2{max-width:470px;margin:0;color:var(--text);font-size:24px;font-weight:760;letter-spacing:0;line-height:1.18}.invite-modal-copy p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.45}.invite-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.invite-link-row input{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-subtle);font-size:13px;outline:0}.invite-link-row input:focus{border-color:#969aa3;box-shadow:0 0 0 3px #0000000f}.invite-link-row button{display:inline-flex;min-width:116px;height:42px;align-items:center;justify-content:center;gap:7px;padding:0 16px;border-radius:999px;color:#fff;background:var(--ink);font-size:13px;font-weight:760;white-space:nowrap}.invite-link-row button:hover,.invite-link-row button:focus-visible{background:var(--ink-hover);outline:0}.invite-copy-status{min-height:16px;color:var(--text-muted);font-size:12px;font-weight:650}.billing-body{display:grid;gap:18px;max-height:calc(min(580px,calc(100vh - 44px)) - 51px);overflow:auto;padding:18px 18px 14px;background:#fff}.billing-payment-alert{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid #f1b7af;border-radius:8px;background:#fff5f3}.billing-payment-alert-icon{display:grid;width:26px;height:26px;place-items:center;border-radius:999px;color:#fff;background:#b42318}.billing-payment-alert strong,.billing-payment-alert small{display:block;min-width:0}.billing-payment-alert strong{color:#1d1d1f;font-size:13px;font-weight:820;line-height:1.2}.billing-payment-alert small{margin-top:2px;color:#6e3a34;font-size:12px;font-weight:620;line-height:1.3}.billing-payment-alert button{min-height:32px;padding:0 11px;border-radius:8px;color:#fff;background:#1d1d1f;font-size:12px;font-weight:780;white-space:nowrap}.billing-payment-alert button:hover,.billing-payment-alert button:focus-visible{background:#313133;outline:0}.billing-cadence-switch{display:grid;grid-template-columns:1fr 1fr;justify-self:center;width:min(240px,100%);min-height:34px;padding:3px;border-radius:9px;background:#f1f0ed}.billing-cadence-switch button{display:inline-flex;align-items:center;justify-content:center;min-width:0;border-radius:8px;color:#1d1d1f;background:transparent;font-size:12px;font-weight:760;transition:background-color .14s ease,box-shadow .14s ease}.billing-cadence-switch button:hover,.billing-cadence-switch button:focus-visible{outline:0}.billing-cadence-switch button.active{background:#fff;box-shadow:0 1px 2px #0000001f,inset 0 0 0 1px #0000000d}.billing-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 14px 30px #0000000f}.billing-plan-card{display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:328px;background:#fff}.billing-plan-card+.billing-plan-card{border-left:1px solid var(--line)}.billing-plan-heading{display:grid;gap:9px;min-height:92px;align-content:start;padding:20px 18px 18px;border-bottom:1px solid var(--line-soft)}.billing-plan-name-row{display:flex;align-items:center;gap:10px;min-width:0}.billing-plan-name-row strong{color:#1c1c1e;font-size:18px;line-height:1.1;font-weight:820}.billing-discount-pill{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:8px;color:#1f6f43;background:#f2fbf5;font-size:11px;font-style:normal;font-weight:820;white-space:nowrap}.billing-plan-heading p{margin:0;color:#1c1c1e;font-size:16px;line-height:1.2;font-weight:780}.billing-cycle-note{display:block;color:var(--text-muted);font-size:11px;font-weight:650;line-height:1.35}.billing-plan-content{display:grid;grid-template-rows:1fr auto;gap:18px;min-height:0;padding:20px 18px 18px}.billing-plan-content ul{display:grid;align-content:start;gap:12px;margin:0;padding:0;list-style:none}.billing-plan-content li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;align-items:start;color:#1d1d1f;font-size:13px;line-height:1.42;font-weight:560}.billing-plan-content li svg{margin-top:3px;color:#42b86c;stroke-width:2.4}.billing-current-plan,.billing-upgrade-button,.billing-secondary-button{display:inline-flex;width:100%;min-height:36px;align-items:center;justify-content:center;border-radius:9px;font-size:13px;font-weight:820;line-height:1}.billing-current-plan{flex-direction:column;gap:5px;color:#1d1d1f;line-height:1.1}.billing-current-plan .billing-cycle-note{font-size:11px;font-weight:650}.billing-upgrade-button{color:#fff;background:#1a1a1a}.billing-secondary-button{border:1px solid var(--line);color:var(--text);background:#fff}.billing-upgrade-button:hover,.billing-upgrade-button:focus-visible{background:#282828;outline:0}.billing-secondary-button:hover,.billing-secondary-button:focus-visible{background:var(--surface-subtle);outline:0}.billing-secondary-button:disabled{color:var(--text-muted);background:var(--surface-subtle)}.billing-footer-links{display:flex;justify-content:space-between;gap:18px;padding-inline:1px}.billing-footer-links a{color:#2b2b2d;font-size:12px;font-weight:760;text-decoration:none}.billing-footer-links a:hover,.billing-footer-links a:focus-visible{color:#000;text-decoration:underline;outline:0}.billing-status{min-height:16px;color:var(--text-muted);font-size:12px;font-weight:650;text-align:right}.profile-form{display:grid;gap:0;padding:18px}.profile-row{display:grid;grid-template-columns:minmax(132px,.55fr) minmax(0,1fr);gap:18px;align-items:center;min-height:60px;padding:12px 0;border-bottom:1px solid var(--line-soft)}.profile-row:last-of-type{border-bottom:0}.profile-row-copy{min-width:0}.profile-row-copy label,.profile-row-copy span{color:var(--text);font-size:13px;font-weight:800}.profile-row-control{min-width:0}.profile-row-control input,.profile-password-field input{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-subtle);font-size:13px;font-weight:560;outline:0}.profile-row-control input:focus,.profile-password-field input:focus{border-color:#969aa3;box-shadow:0 0 0 3px #0000000d}.profile-email-row{display:flex;justify-content:flex-start;align-items:center;min-height:36px}.profile-primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 11px;border-radius:8px;font-size:12px;font-weight:740;white-space:nowrap}.profile-email-value{min-width:0;max-width:100%;overflow-wrap:anywhere;color:var(--text-muted);font-size:13px;font-weight:650;text-align:left}.profile-password-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:end}.profile-password-field{display:grid;gap:5px}.profile-password-field span{color:var(--text-muted);font-size:11px;font-weight:720}.profile-primary-button{border:1px solid var(--line);color:var(--text);background:var(--surface)}.profile-primary-button:hover,.profile-primary-button:focus-visible{box-shadow:0 0 0 3px #0000000d;outline:0}.profile-status{min-height:18px;padding-top:10px;min-width:0;color:var(--text-muted);font-size:12px;font-weight:650}.profile-footer{display:flex;justify-content:flex-start;padding-top:14px;border-top:1px solid var(--line-soft)}.profile-sign-out-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);font-size:12px;font-weight:740}.profile-sign-out-button:hover,.profile-sign-out-button:focus-visible{background:var(--surface-subtle);box-shadow:0 0 0 3px #0000000d;outline:0}.settings-list{display:grid;gap:12px;padding:14px}.settings-section{display:grid;gap:8px}.settings-section-heading{padding:0 2px}.settings-section-heading strong{color:var(--text-muted);font-size:11px;font-weight:850;letter-spacing:0;text-transform:uppercase}.settings-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-subtle)}.settings-row-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;color:var(--text);background:var(--chrome-strong)}.settings-row>span:not(.settings-row-icon){min-width:0}.settings-row strong,.settings-row small{display:block}.settings-row strong{color:var(--text);font-size:13px;font-weight:720}.settings-row small{margin-top:3px;color:var(--text-muted);font-size:12px}.memory-modal-body{display:grid;gap:14px;max-height:calc(100vh - 120px);overflow:auto;padding:16px}.memory-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-subtle)}.memory-toggle-row strong,.memory-toggle-row small{display:block}.memory-toggle-row strong{color:var(--text);font-size:13px}.memory-toggle-row small{margin-top:4px;color:var(--text-muted);font-size:12px;line-height:1.35}.memory-field{display:grid;gap:8px;color:var(--text);font-size:13px;font-weight:760}.memory-field textarea{width:100%;min-height:128px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);font:inherit;font-size:13px;font-weight:450;line-height:1.45}.memory-field textarea:focus{border-color:var(--text-muted);outline:3px solid rgb(0 102 204 / 18%);outline-offset:0}.memory-field textarea::placeholder{color:var(--text-faint)}.memory-preview{display:grid;gap:10px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-subtle)}.memory-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.memory-preview-heading strong{color:var(--text);font-size:13px}.memory-preview-heading small,.memory-preview p{margin:0;color:var(--text-muted);font-size:12px}.memory-preview dl{display:grid;gap:8px;margin:0}.memory-preview dl div{display:grid;grid-template-columns:116px minmax(0,1fr);gap:10px}.memory-preview dt{color:var(--text-muted);font-size:12px;font-weight:780}.memory-preview dd{min-width:0;margin:0;color:var(--text);font-size:12px;line-height:1.4}.memory-modal-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.memory-status{min-height:18px;color:var(--text-muted);font-size:12px}.memory-save-button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--text);border-radius:8px;padding:0 14px;color:var(--surface);background:var(--text);font-size:13px;font-weight:780}.memory-save-button:disabled{cursor:default;opacity:.62}.spin{animation:ai-toast-spin .9s linear infinite}.settings-shortcut-chip{display:inline-flex;align-items:center;justify-content:flex-start;min-width:76px;min-height:32px;padding:3px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);font-family:inherit;font-size:12px;font-weight:720;line-height:1;white-space:nowrap}.settings-shortcut-capture-field{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;min-width:174px;min-height:34px;padding:3px 4px 3px 5px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);cursor:text;font-family:inherit;font-size:12px;font-weight:720;line-height:1;white-space:nowrap;box-shadow:inset 0 0 0 1px #00000008;transition:border-color .12s ease,box-shadow .12s ease}.settings-shortcut-pill-list{display:inline-flex;align-items:center;min-width:0;gap:4px}.settings-shortcut-pill{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:24px;padding:0 7px;border:1px solid var(--line-soft);border-radius:6px;color:var(--text);background:var(--chrome);box-shadow:inset 0 -1px #0000000a}.settings-shortcut-placeholder{display:inline-flex;align-items:center;min-height:24px;padding:0 6px;color:var(--text-muted);font-weight:650}.settings-shortcut-clear-button{display:grid;flex:0 0 auto;width:24px;height:24px;place-items:center;border:0;border-radius:6px;color:var(--text-muted);background:transparent;transition:background .12s ease,color .12s ease,opacity .12s ease}.settings-shortcut-clear-button:hover:not(:disabled),.settings-shortcut-clear-button:focus-visible{color:var(--text);background:var(--chrome-strong);outline:0}.settings-shortcut-clear-button:disabled{cursor:default;opacity:.35}.settings-shortcut-capture-field:focus-visible{border-color:#3c75cb8a;box-shadow:inset 0 0 0 1px #3c75cb2e,0 0 0 3px #3c75cb1f;outline:0}.dictation-shortcut-row{position:relative;grid-template-columns:30px minmax(96px,1fr) minmax(0,auto)}.dictation-shortcut-row.editing{grid-template-columns:30px minmax(0,1fr)}.dictation-shortcut-row.editing .dictation-shortcut-actions{grid-column:1 / -1;justify-self:stretch}.dictation-shortcut-row.editing .theme-switch{margin-left:40px}.dictation-shortcut-actions{display:inline-flex;align-items:center;justify-self:end;gap:8px;min-width:0}.dictation-shortcut-control{position:relative;display:inline-flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0}.dictation-shortcut-edit-button{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--text-muted);background:var(--surface);transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.dictation-shortcut-edit-button:hover,.dictation-shortcut-edit-button:focus-visible{color:var(--text);background:var(--surface-hover);border-color:var(--line);box-shadow:0 0 0 3px #0000000d;outline:0}.dictation-shortcut-save-button,.dictation-shortcut-cancel-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:12px;font-weight:720;line-height:1;white-space:nowrap;transition:background .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease}.dictation-shortcut-save-button{color:#fff;background:var(--text);border-color:var(--text)}.dictation-shortcut-cancel-button{color:var(--text-muted);background:var(--surface)}.dictation-shortcut-save-button:disabled:hover{background:var(--chrome-strong);border-color:var(--line)}.dictation-shortcut-save-button:hover:not(:disabled),.dictation-shortcut-save-button:focus-visible{background:#2f312e;border-color:#2f312e;outline:0}.dictation-shortcut-cancel-button:hover,.dictation-shortcut-cancel-button:focus-visible{color:var(--text);background:var(--surface-hover);outline:0}.dictation-shortcut-save-button:disabled{cursor:default;color:var(--text-muted);background:var(--chrome-strong);border-color:var(--line);opacity:.78}.dictation-shortcut-menu{position:absolute;z-index:30;top:calc(100% + 8px);right:0;display:grid;width:min(240px,calc(100vw - 48px));gap:4px;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);box-shadow:0 18px 42px #00000029}.dictation-shortcut-menu strong{color:var(--text);font-size:13px;font-weight:760}.dictation-shortcut-menu small{margin:0;color:var(--text-muted);font-size:12px}.sync-status-row{grid-template-columns:30px minmax(0,1fr) auto auto}.sync-status-row.connected .settings-row-icon{color:#0f9f5f}.sync-status-row.disconnected .settings-row-icon{color:#b1790f}.sync-status-retry-button{display:inline-flex;min-height:30px;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#ecebea;font-family:inherit;font-size:12px;font-weight:760;line-height:1;white-space:nowrap}.sync-status-retry-button:hover,.sync-status-retry-button:focus-visible{background:#e3e2e0;outline:0}.sync-status-retry-button:disabled{cursor:default;opacity:.72}.sync-status-dot{width:10px;height:10px;border-radius:999px}.sync-status-row.connected .sync-status-dot{background:#7ddfb2}.sync-status-row.disconnected .sync-status-dot{background:#e0bd54}.settings-version-button,.settings-version-status{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:12px;font-weight:780;line-height:1.15;white-space:normal;text-align:center;transition:background .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease}.settings-version-button{min-width:74px;color:var(--text);background:var(--chrome-strong)}.settings-version-button:hover:not(:disabled),.settings-version-button:focus-visible{border-color:var(--text-faint);background:#dededb;outline:0}.settings-version-button:disabled{cursor:default;color:var(--text-muted);opacity:.74}.settings-version-status{min-height:0;gap:4px;padding:0;border-color:transparent;color:var(--text-muted);background:transparent;font-weight:650}.version-history-overlay,.custom-enhancements-overlay,.custom-enhancement-editor-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:72;display:grid;align-items:center;justify-items:center;padding:28px;background:#f5f6f79e;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.version-history-modal{width:min(860px,calc(100vw - 44px));max-height:min(680px,calc(100vh - 44px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 45px #00000024,0 2px 8px #00000014}.version-history-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}.version-history-header strong,.version-history-preview-header strong{display:block;color:var(--text);font-size:14px}.version-history-header small,.version-history-preview-header small{display:block;margin-top:2px;color:var(--text-muted);font-size:12px}.version-history-header-actions button{display:inline-grid;width:30px;height:30px;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:transparent}.version-history-header-actions button:hover,.version-history-header-actions button:focus-visible{border-color:var(--line);color:var(--text);background:var(--surface-subtle);outline:0}.version-history-layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:500px;max-height:calc(min(680px,100vh - 44px) - 59px)}.version-history-sidebar{display:grid;align-content:start;gap:10px;min-height:0;padding:12px;overflow-y:auto;border-right:1px solid var(--line-soft);background:var(--chrome)}.version-history-group{display:grid;gap:4px}.version-history-group+.version-history-group{margin-top:14px}.version-history-day{padding:4px 4px 2px;color:var(--text-muted);font-size:11px;font-weight:750}.version-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:34px;padding:2px 3px;border:0;border-radius:8px;color:#3a3a3c;background:transparent;text-align:left}.version-history-row:hover,.version-history-row:focus-visible{color:var(--text);background:#e8e8e6;outline:0}.version-history-row.active{color:var(--text);background:#e8e8e6;box-shadow:none}.version-history-row strong{display:block;overflow:hidden;padding:4px 5px;color:inherit;font-size:13px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.version-history-row-badge{justify-self:end;padding:4px 5px;color:var(--text-muted);font-size:12px;font-weight:650;white-space:nowrap}.version-history-preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0}.version-history-preview-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:10px 14px;border-bottom:1px solid var(--line-soft)}.version-history-preview-header button{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);font-size:12px;font-weight:650}.version-history-preview-header button:hover:not(:disabled),.version-history-preview-header button:focus-visible{background:var(--surface-subtle);outline:0}.version-history-preview{min-height:0;padding:24px;overflow:auto;background:var(--surface)}.version-history-preview-content{max-width:640px;margin:0 auto;color:var(--text)}.version-history-empty{padding:10px;color:var(--text-muted);font-size:13px}.custom-enhancements-modal{width:min(860px,calc(100vw - 44px));max-height:min(680px,calc(100vh - 44px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 22px 45px #00000024,0 2px 8px #00000014}.custom-enhancements-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}.custom-enhancements-header strong{display:block;color:var(--text);font-size:14px}.custom-enhancements-header-actions{display:inline-flex;align-items:center;gap:4px}.custom-enhancements-header-actions button,.custom-enhancement-new-button,.custom-enhancement-detail-footer button{display:inline-grid;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:transparent}.custom-enhancements-header-actions button{width:30px;height:30px}.custom-enhancements-header-actions button:hover,.custom-enhancements-header-actions button:focus-visible{border-color:var(--line);color:var(--text);background:var(--surface-subtle);outline:0}.custom-enhancements-layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:500px;max-height:calc(min(680px,100vh - 44px) - 59px)}.custom-enhancements-sidebar{display:grid;align-content:start;gap:10px;min-height:0;padding:12px;border-right:1px solid var(--line-soft);background:var(--chrome)}.custom-enhancement-new-button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;justify-items:start;gap:8px;width:100%;min-height:30px;padding:4px 5px;border:1px solid transparent;border-radius:8px;color:#3a3a3c;background:transparent;font-size:13px;font-weight:650;text-align:left;transition:background .12s ease,color .12s ease}.custom-enhancement-new-button:hover,.custom-enhancement-new-button:focus-visible{color:var(--text);background:#e8e8e6;outline:0}.custom-enhancement-new-button span{display:grid;width:18px;height:18px;place-items:center;color:inherit;background:transparent}.custom-enhancement-new-button svg{stroke-width:1.9}.custom-enhancement-new-button strong{min-width:0;overflow:hidden;font-size:inherit;font-weight:inherit;text-overflow:ellipsis;white-space:nowrap}.custom-enhancement-sidebar-heading{padding:8px 4px 0;color:var(--text-muted);font-size:11px;font-weight:850;letter-spacing:0;text-transform:uppercase}.custom-enhancement-list{display:grid;gap:4px;min-height:0;overflow-y:auto}.custom-enhancement-list.menu-open{overflow:visible}.custom-enhancement-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:2px;align-items:start;width:100%;min-height:34px;padding:2px 3px;border-radius:8px;color:#3a3a3c;background:transparent}.custom-enhancement-row:hover,.custom-enhancement-row.active,.custom-enhancement-row.menu-open{background:#e8e8e6}.custom-enhancement-row-main{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:center;width:100%;min-height:30px;padding:4px 5px;border-radius:6px;color:inherit;background:transparent;text-align:left}.custom-enhancement-row-main svg,.custom-enhancement-row-main .custom-enhancement-icon{color:var(--text-muted)}.custom-enhancement-row-main svg{stroke-width:1.9}.custom-enhancement-row-main span{min-width:0}.custom-enhancement-row-main strong{display:block;overflow:hidden;color:var(--text);font-size:13px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.custom-enhancement-actions-button{display:grid;width:24px;height:24px;margin-top:3px;padding:0;place-items:center;border:0;border-radius:7px;color:var(--text-muted);background:transparent;line-height:0;opacity:0;pointer-events:none;transition:opacity .12s ease,background-color .12s ease,color .12s ease}.custom-enhancement-row:hover .custom-enhancement-actions-button,.custom-enhancement-row:focus-within .custom-enhancement-actions-button,.custom-enhancement-row.active .custom-enhancement-actions-button,.custom-enhancement-row.menu-open .custom-enhancement-actions-button{opacity:1;pointer-events:auto}.custom-enhancement-actions-button:hover,.custom-enhancement-actions-button:focus-visible,.custom-enhancement-row.menu-open .custom-enhancement-actions-button{color:var(--text);background:#dededb;outline:0}.custom-enhancement-actions-button svg{display:block;width:16px;height:16px}.custom-enhancement-actions-menu{position:absolute;top:32px;right:3px;z-index:28;display:grid;width:138px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 14px 30px var(--shadow-soft)}.custom-enhancement-actions-menu button{display:flex;min-height:30px;align-items:center;gap:8px;padding:0 8px;border-radius:6px;color:var(--text);background:transparent;font-size:12px;font-weight:700;text-align:left}.custom-enhancement-actions-menu button:hover,.custom-enhancement-actions-menu button:focus-visible{background:#f0f0ef;outline:0}.custom-enhancement-list-empty{padding:10px 4px;color:var(--text-muted);font-size:12px;font-weight:650}.custom-enhancement-detail{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;background:var(--surface)}.custom-enhancement-detail-body{display:grid;align-content:start;gap:16px;min-height:0;overflow-y:auto;padding:22px;background:var(--surface)}.custom-enhancement-field{display:grid;gap:7px}.custom-enhancement-field span{color:var(--text);font-size:12px;font-weight:800}.custom-enhancement-field input,.custom-enhancement-field textarea{width:100%;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);font-size:13px;font-weight:400;outline:0}.custom-enhancement-field input{height:36px;padding:0 10px}.custom-enhancement-field textarea{min-height:292px;resize:vertical;padding:12px;line-height:1.45}.custom-enhancement-field input::placeholder,.custom-enhancement-field textarea::placeholder{color:var(--text-faint);font-weight:400}.custom-enhancement-field input:focus,.custom-enhancement-field textarea:focus{border-color:#b8babf;box-shadow:0 0 0 3px #0000000d}.custom-enhancement-word-count{justify-self:end;color:var(--text-muted);font-size:11px;font-weight:550;line-height:1.2}.custom-enhancement-word-count.over-limit{color:#a13f36}.custom-enhancement-detail-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:56px;padding:10px 16px;border-top:1px solid var(--line-soft)}.custom-enhancement-detail-footer>span{color:var(--text-muted);font-size:12px;font-weight:650}.custom-enhancement-detail-footer>div{display:inline-flex;align-items:center;gap:8px}.custom-enhancement-detail-footer button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;color:#fff;background:var(--ink);font-size:12px;font-weight:720}.custom-enhancement-detail-footer button.danger{color:#b13a2f;background:transparent}.custom-enhancement-detail-footer button:hover,.custom-enhancement-detail-footer button:focus-visible{box-shadow:0 0 0 3px #0000000d;outline:0}.custom-enhancement-detail-footer button:disabled{color:var(--text-faint);background:var(--surface-subtle);cursor:not-allowed}.theme-switch{position:relative;width:42px;height:24px;padding:2px;border:1px solid var(--line);border-radius:999px;background:var(--chrome-strong);transition:background-color .14s ease,border-color .14s ease}.theme-switch span{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:999px;background:var(--surface);box-shadow:0 1px 3px #0000002e;transition:background-color .14s ease,transform .14s ease}.theme-switch[aria-checked=true]{border-color:var(--ink);background:var(--ink)}.theme-switch[aria-checked=true] span{transform:translate(18px)}.theme-switch:hover,.theme-switch:focus-visible{outline:0;box-shadow:0 0 0 3px #0000000d}.trash-list{display:grid;gap:2px;max-height:360px;overflow-y:auto;padding:8px}.trash-item{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:7px 8px;border-radius:8px}.trash-item:hover{background:#f7f7f7}.trash-item>svg{color:var(--text-muted)}.trash-item span{min-width:0}.trash-item strong{display:block;overflow:hidden;color:var(--text);font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.trash-item small{display:block;margin-top:3px;color:var(--text-muted);font-size:11px}.trash-item button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface-subtle);font-size:12px;font-weight:720}.trash-item button:hover,.trash-item button:focus-visible{background:var(--surface);box-shadow:0 0 0 3px #0000000d;outline:0}.trash-empty{display:grid;min-height:180px;place-content:center;justify-items:center;gap:7px;color:var(--text-muted);text-align:center}.trash-empty svg{color:var(--text-faint)}.trash-empty strong{color:var(--text);font-size:13px}.trash-empty small{font-size:12px}:root[data-theme=dark] .sidebar-action-button,:root[data-theme=dark] .doc-row,:root[data-theme=dark] .custom-enhancement-row,:root[data-theme=dark] .notes-sort-menu button,:root[data-theme=dark] .doc-actions-menu button,:root[data-theme=dark] .custom-enhancement-actions-menu button,:root[data-theme=dark] .menu-link-group button{color:#d8dbd2}:root[data-theme=dark] .doc-row{--doc-row-active-bg: #282a26}:root[data-theme=dark] .sidebar-action-button:not(:disabled):hover,:root[data-theme=dark] .sidebar-action-button:focus-visible,:root[data-theme=dark] .doc-row.active,:root[data-theme=dark] .doc-row.menu-open,:root[data-theme=dark] .custom-enhancement-row:hover,:root[data-theme=dark] .custom-enhancement-row.active,:root[data-theme=dark] .custom-enhancement-row.menu-open{background:#282a26}:root[data-theme=dark] .editor-zone:hover,:root[data-theme=dark] .editor-zone:focus-within{scrollbar-color:rgb(255 255 255 / 26%) transparent}:root[data-theme=dark] .editor-zone:hover::-webkit-scrollbar-thumb,:root[data-theme=dark] .editor-zone:focus-within::-webkit-scrollbar-thumb{background-color:#ffffff42}:root[data-theme=dark] .editor-zone::-webkit-scrollbar-thumb:hover{background-color:#ffffff57}:root[data-theme=dark] .settings-row-icon{color:#e7e9e1;background:#30332e}:root[data-theme=dark] .notes-sort-button:focus-visible,:root[data-theme=dark] .notes-sort-button.open,:root[data-theme=dark] .doc-actions-button:focus-visible,:root[data-theme=dark] .doc-row.menu-open .doc-actions-button,:root[data-theme=dark] .custom-enhancement-actions-button:hover,:root[data-theme=dark] .custom-enhancement-actions-button:focus-visible,:root[data-theme=dark] .custom-enhancement-row.menu-open .custom-enhancement-actions-button{background:#34362f}:root[data-theme=dark] .notes-sort-menu button[aria-checked=true],:root[data-theme=dark] .source-mode-menu button:hover,:root[data-theme=dark] .source-mode-menu button[aria-checked=true],:root[data-theme=dark] .doc-actions-menu button:focus-visible,:root[data-theme=dark] .custom-enhancement-actions-menu button:hover,:root[data-theme=dark] .custom-enhancement-actions-menu button:focus-visible,:root[data-theme=dark] .enhancement-menu-section>button:hover,:root[data-theme=dark] .enhancement-menu-section>button:focus-visible,:root[data-theme=dark] .enhanced-selection-menu button:hover,:root[data-theme=dark] .enhanced-selection-menu button:focus-visible,:root[data-theme=dark] .search-result:hover,:root[data-theme=dark] .search-result.active,:root[data-theme=dark] .search-result.selected,:root[data-theme=dark] .trash-item:hover{background:#2a2c28}:root[data-theme=dark] .avatar,:root[data-theme=dark] .drafts-upgrade-card button,:root[data-theme=dark] .invite-link-row button,:root[data-theme=dark] .empty-editor button,:root[data-theme=dark] .custom-enhancement-detail-footer button,:root[data-theme=dark] .custom-enhancement-form button,:root[data-theme=dark] .enhanced-selection-menu .selection-custom-enhancement-form button,:root[data-theme=dark] .editor-format-toolbar .link-menu button,:root[data-theme=dark] .profile-primary-button,:root[data-theme=dark] .prompt-editor-footer button,:root[data-theme=dark] .prompt-editor-heading button{color:#11120f}:root[data-theme=dark] .drafts-upgrade-card{border-color:#3d4039;background:#252721;box-shadow:inset 0 1px #ffffff0d}:root[data-theme=dark] .prompt-editor-heading button.secondary,:root[data-theme=dark] .prompt-editor-footer button:disabled,:root[data-theme=dark] .prompt-editor-heading button:disabled,:root[data-theme=dark] .custom-enhancement-detail-footer button.danger,:root[data-theme=dark] .custom-enhancement-detail-footer button:disabled{color:var(--text)}:root[data-theme=dark] .custom-enhancements-sidebar,:root[data-theme=dark] .custom-enhancement-detail-body{background:#20211f}@keyframes dictation-record-pulse{0%,to{box-shadow:inset 0 0 0 1px #00000014,0 0 #d3382f57;transform:scale(1)}50%{box-shadow:inset 0 0 0 1px #00000014,0 0 0 6px #d3382f00;transform:scale(.92)}}:root[data-theme=dark] .custom-enhancement-new-button:hover,:root[data-theme=dark] .custom-enhancement-new-button:focus-visible{background:#292b27}:root[data-theme=dark] .copy-note-button,:root[data-theme=dark] .source-mode-button,:root[data-theme=dark] .editor-format-toolbar{background:#20211feb;box-shadow:0 10px 26px #00000047}:root[data-theme=dark] .view-switch{background:#2b2c29;box-shadow:inset 0 1px 1px #00000038,0 10px 26px #00000047}:root[data-theme=dark] .view-switch:has(button:focus-visible){box-shadow:inset 0 1px 1px #00000038,0 0 0 2px #ffffff1f,0 10px 26px #00000047}:root[data-theme=dark] .view-switch:before{background:#3a3c36;box-shadow:inset 0 0 0 1px #ffffff17,0 1px 2px #00000047}:root[data-theme=dark] .view-switch button,:root[data-theme=dark] .original-view-control,:root[data-theme=dark] .enhanced-view-control{color:#b9bbb3}:root[data-theme=dark] .view-switch button.active,:root[data-theme=dark] .original-view-control.active,:root[data-theme=dark] .enhanced-view-control.active{color:#f4f4f1}:root[data-theme=dark] .view-switch .original-view-control.active>button,:root[data-theme=dark] .view-switch .enhanced-view-control.active>button{color:#f4f4f1}:root[data-theme=dark] .copy-note-button:hover,:root[data-theme=dark] .copy-note-button:focus-visible,:root[data-theme=dark] .source-mode-button:hover,:root[data-theme=dark] .source-mode-button:focus-visible,:root[data-theme=dark] .source-mode-button.open,:root[data-theme=dark] .editor-format-toolbar button:hover:not(:disabled),:root[data-theme=dark] .editor-format-toolbar button:focus-visible{background:#292b27}:root[data-theme=dark] .view-switch>button:hover,:root[data-theme=dark] .view-switch .original-view-control>button:hover,:root[data-theme=dark] .view-switch .enhanced-view-control>button:hover{background:transparent}:root[data-theme=dark] .dictation-shortcut-save-button{color:#11120f;background:#f4f4f1;border-color:#f4f4f1}:root[data-theme=dark] .dictation-shortcut-save-button:hover:not(:disabled),:root[data-theme=dark] .dictation-shortcut-save-button:focus-visible{color:#11120f;background:#fff;border-color:#fff}:root[data-theme=dark] .dictation-shortcut-save-button:disabled,:root[data-theme=dark] .dictation-shortcut-save-button:disabled:hover{color:#7d8277;background:#292b27;border-color:#363832}:root[data-theme=dark] .view-switch button.active,:root[data-theme=dark] .original-view-control.active,:root[data-theme=dark] .enhanced-view-control.active,:root[data-theme=dark] .editor-format-toolbar button.active{box-shadow:inset 0 0 0 1px #ffffff12,0 1px 2px #00000038}:root[data-theme=dark] .view-switch .original-view-control.active>button:hover,:root[data-theme=dark] .view-switch .enhanced-view-control.active>button:hover{color:#fff;background:transparent}:root[data-theme=dark] .enhancement-options-menu,:root[data-theme=dark] .source-mode-menu,:root[data-theme=dark] .enhanced-selection-menu,:root[data-theme=dark] .emoji-menu,:root[data-theme=dark] .link-menu,:root[data-theme=dark] .copy-toast{background:#20211ff5}:root[data-theme=dark] .document-page{box-shadow:0 16px 36px #00000042}:root[data-theme=dark] .enhanced-prose .ai-fill,:root[data-theme=dark] .enhanced-prose [data-source=ai]{color:#a4a79e}:root[data-theme=dark] .search-overlay,:root[data-theme=dark] .trash-overlay,:root[data-theme=dark] .profile-overlay,:root[data-theme=dark] .memory-overlay,:root[data-theme=dark] .settings-overlay,:root[data-theme=dark] .custom-enhancements-overlay,:root[data-theme=dark] .invite-overlay,:root[data-theme=dark] .billing-overlay{background:#141513a3}:root[data-theme=dark] .billing-modal,:root[data-theme=dark] .invite-modal,:root[data-theme=dark] .billing-body,:root[data-theme=dark] .billing-plan-grid,:root[data-theme=dark] .billing-plan-card{background:var(--surface)}:root[data-theme=dark] .billing-cadence-switch{background:#171816}:root[data-theme=dark] .billing-cadence-switch button{color:var(--text)}:root[data-theme=dark] .billing-cadence-switch button.active{background:#252723;box-shadow:inset 0 0 0 1px #ffffff14,0 1px 2px #00000038}:root[data-theme=dark] .billing-payment-alert{border-color:#783129;background:#2b1d1a}:root[data-theme=dark] .billing-payment-alert strong{color:var(--text)}:root[data-theme=dark] .billing-payment-alert small{color:#d7aaa4}:root[data-theme=dark] .billing-payment-alert button{color:#11120f;background:#eeeeea}:root[data-theme=dark] .billing-payment-alert button:hover,:root[data-theme=dark] .billing-payment-alert button:focus-visible{background:#fff}:root[data-theme=dark] .billing-plan-grid,:root[data-theme=dark] .billing-plan-card+.billing-plan-card,:root[data-theme=dark] .billing-plan-heading{border-color:var(--line)}:root[data-theme=dark] .billing-footer-links a{color:var(--text-muted)}:root[data-theme=dark] .billing-plan-name-row strong,:root[data-theme=dark] .billing-plan-heading p,:root[data-theme=dark] .billing-plan-content li,:root[data-theme=dark] .billing-current-plan,:root[data-theme=dark] .billing-footer-links a:hover,:root[data-theme=dark] .billing-footer-links a:focus-visible{color:var(--text)}:root[data-theme=dark] .billing-upgrade-button{color:#11120f;background:#eeeeea}:root[data-theme=dark] .billing-upgrade-button:hover,:root[data-theme=dark] .billing-upgrade-button:focus-visible{background:#fff;box-shadow:0 0 0 3px #ffffff0f}:root[data-theme=dark] .billing-secondary-button{color:var(--text);background:var(--surface)}:root[data-theme=dark] .billing-secondary-button:hover,:root[data-theme=dark] .billing-secondary-button:focus-visible{background:#252723}:root[data-theme=dark] .super-admin-overlay{background:#141513ad}:root[data-theme=dark] .admin-console-nav,:root[data-theme=dark] .admin-metric-grid article,:root[data-theme=dark] .prompt-mode-list,:root[data-theme=dark] .prompt-field-label{background:#1a1b19}:root[data-theme=dark] .admin-summary-grid section,:root[data-theme=dark] .admin-recent-users{background:var(--surface)}:root[data-theme=dark] .admin-console-nav button:hover,:root[data-theme=dark] .admin-console-nav button:focus-visible,:root[data-theme=dark] .admin-console-nav button.active,:root[data-theme=dark] .prompt-bucket summary:hover,:root[data-theme=dark] .prompt-bucket summary:focus-visible{background:#ffffff0d}:root[data-theme=dark] .prompt-editor textarea{border-color:var(--line);background:#181916;box-shadow:inset 0 1px 2px #00000038}:root[data-theme=dark] .prompt-editor textarea[readonly]{color:var(--text-muted);background:#1a1b19}:root[data-theme=dark] .search-modal-shortcut{background:var(--chrome)}:root[data-theme=dark] .theme-switch span{background:#f5f6f1}:root[data-theme=dark] .theme-switch:hover,:root[data-theme=dark] .theme-switch:focus-visible,:root[data-theme=dark] .trash-item button:hover,:root[data-theme=dark] .trash-item button:focus-visible,:root[data-theme=dark] .admin-overview-heading button:hover,:root[data-theme=dark] .admin-overview-heading button:focus-visible,:root[data-theme=dark] .prompt-editor-footer button:hover,:root[data-theme=dark] .prompt-editor-footer button:focus-visible,:root[data-theme=dark] .prompt-editor-heading button:hover,:root[data-theme=dark] .prompt-editor-heading button:focus-visible{box-shadow:0 0 0 3px #ffffff0f}@media(max-width:1180px){.app-shell{--sidebar-width: 232px}.document-page{padding-inline:48px}}@media(max-width:760px){.super-admin-overlay{align-items:start;padding:12px}.super-admin-modal{width:100%;max-height:calc(100vh - 24px)}.super-admin-body,.admin-prompts-panel{grid-template-columns:1fr}.super-admin-body{max-height:calc(100vh - 83px);overflow:auto}.admin-console-nav{grid-template-columns:repeat(2,minmax(0,1fr));border-right:0;border-bottom:1px solid var(--line-soft)}.admin-metric-grid,.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-mode-list{border-right:0;border-bottom:1px solid var(--line-soft)}.admin-user-table [role=row]{grid-template-columns:minmax(0,1fr);gap:4px;align-items:start}}@media(max-width:520px){.memory-preview dl div,.memory-modal-footer,.admin-metric-grid,.admin-summary-grid,.admin-console-nav{grid-template-columns:1fr}}
