:root{color-scheme:light;--highlight-orange-bg: #fed7aa;--highlight-orange-text: #7c2d12;--highlight-green-bg: #bbf7d0;--highlight-green-text: #14532d;--highlight-blue-bg: #bae6fd;--highlight-blue-text: #0c4a6e;--highlight-pink-bg: #fecdd3;--highlight-pink-text: #881337;--highlight-gray-bg: #e5e7eb;--highlight-gray-text: #111827;--card-citation-bg: #f3f3f3;--syntax-keyword: #7c3aed;--syntax-string: #047857;--syntax-number: #b45309;--syntax-title: #0369a1;--syntax-comment: #64748b;--syntax-meta: #be123c;--syntax-operator: #334155;--theme-base: rgba(255, 255, 255, .96);--theme-muted: #f5f5f4;--theme-border: #e7e5e4;--theme-text: #0f172a;--theme-muted-text: #64748b;--theme-hover: #f5f5f4;--theme-active: #0f172a;--theme-active-text: #ffffff;--theme-icon: var(--theme-text);--theme-shadow: 0 18px 50px rgba(15, 23, 42, .14);--theme-accent: #2563eb;--theme-accent-hover: color-mix(in srgb, var(--theme-accent) 86%, var(--theme-text));--theme-accent-soft: color-mix(in srgb, var(--theme-accent) 14%, var(--theme-hover));--theme-accent-contrast: color-mix(in srgb, var(--theme-accent) 42%, var(--theme-text));--theme-color-danger: #dc2626;--theme-color-danger-hover: #b91c1c;--theme-color-danger-bg: color-mix(in srgb, var(--theme-color-danger) 9%, transparent);--theme-color-danger-text: #ffffff;--theme-color-safe: #15803d;--theme-color-safe-hover: #166534;--theme-color-safe-bg: color-mix(in srgb, var(--theme-color-safe) 10%, transparent);--theme-color-safe-text: #ffffff;--theme-color-warning: #b45309;--theme-color-warning-bg: color-mix(in srgb, var(--theme-color-warning) 13%, transparent);--theme-color-idle: #94a3b8;--theme-color-research: #0b8b68;--theme-color-comment: #7c3aed;--theme-overlay: rgba(15, 23, 42, .32);--theme-scrim: rgba(255, 255, 255, .72);--theme-focus-ring: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 12%, transparent);--theme-menu-shadow: var(--theme-shadow);--theme-panel-shadow: var(--theme-shadow);--theme-subtle-shadow: 0 1px 2px color-mix(in srgb, var(--theme-text) 5%, transparent);--theme-user-0: #f97316;--theme-user-1: #22c55e;--theme-user-2: #06b6d4;--theme-user-3: #8b5cf6;--theme-user-4: #ec4899;--theme-user-5: #eab308;--theme-user-6: #ef4444;--theme-user-7: #14b8a6;--theme-user-8: #3b82f6;--theme-user-9: #a855f7;--theme-user-label-text: #ffffff;--editor-quote-border: #10b981;--editor-quote-bg: transparent;--editor-quote-text: #475569;--editor-code-bg: #f8fafc;--editor-code-border: #e2e8f0;--editor-code-text: #1e293b;--editor-table-border: #d6d3d1;--editor-table-header-bg: #f5f5f4;--editor-table-cell-bg: transparent;--editor-table-selected-bg: rgba(16, 185, 129, .14);--editor-table-resize-bg: #10b981;--editor-image-border: #e7e5e4;--editor-image-missing-bg: #f5f5f4;--editor-image-selected-outline: #94a3b8;--editor-node-selected-bg: rgba(71, 85, 105, .055);--editor-node-selected-hover-bg: rgba(71, 85, 105, .035);--editor-node-selected-outline: rgba(71, 85, 105, .22);--editor-node-selected-rail: rgba(15, 23, 42, .38);--editor-node-selected-shadow: rgba(15, 23, 42, .055)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.\!grid{display:grid!important}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-full{height:100%}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.w-72{width:18rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-2xl{max-width:42rem}.max-w-6xl{max-width:72rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.resize{resize:both}.grid-cols-\[minmax\(0\,1fr\)_auto\]{grid-template-columns:minmax(0,1fr) auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-stone-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(245 245 244 / var(--tw-divide-opacity, 1))}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-3{padding:.75rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-5{padding-bottom:1.25rem}.pb-8{padding-bottom:2rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-6{line-height:1.5rem}.tracking-\[0\.22em\]{letter-spacing:.22em}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.overline{text-decoration-line:overline}.opacity-100{opacity:1}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media(min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}}@media(min-width:768px){.md\:col-span-3{grid-column:span 3 / span 3}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}}@media(min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}:root{font-family:Inter,sans-serif;--ui-control-radius: 8px;--ui-menu-radius: 12px;--ui-panel-radius: 16px;--ui-composer-radius: 12px;--ui-control-size: 32px;--app-viewport-height: 100vh;--app-viewport-height: 100svh}@supports (height: 100dvh){:root{--app-viewport-height: 100dvh}}.export-render-page,.export-render-page .export-document-surface,.export-render-page .export-document-html{height:auto;min-height:100%;overflow:visible}.export-render-page .export-document-html>.editor-surface,.export-render-page .export-document-surface .editor-surface{min-height:0}.export-render-error{min-height:var(--app-viewport-height);padding:2rem;background:#fff;color:#991b1b}body{margin:0;min-height:var(--app-viewport-height);background:var(--theme-base);transition:background-color .26s ease,color .26s ease}*{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.ui-user-avatar{align-items:center;background:color-mix(in srgb,var(--theme-user-color) 14%,var(--theme-base));border:1px solid color-mix(in srgb,var(--theme-user-color) 24%,var(--theme-border));border-radius:var(--ui-control-radius);color:color-mix(in srgb,var(--theme-user-color) 82%,var(--theme-text));display:inline-flex;flex:0 0 auto;font-weight:760;justify-content:center;line-height:1;overflow:hidden;text-transform:uppercase}.ui-user-avatar.small{font-size:.62rem;height:24px;width:24px}.ui-user-avatar.medium{font-size:.7rem;height:28px;width:28px}.ui-user-avatar.large{font-size:.76rem;height:32px;width:32px}.ui-user-avatar.ai{--theme-user-color: var(--theme-accent) !important}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.primary-button{display:inline-flex;height:2.75rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.primary-button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.primary-button:active{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.primary-button{transition-property:transform,background-color,border-color,color,box-shadow}.secondary-button{display:inline-flex;height:2.5rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.secondary-button:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.secondary-button{transition-property:transform,background-color,border-color,color,box-shadow}.danger-button{display:inline-flex;height:2.5rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.danger-button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity, 1))}.danger-button:active{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.danger-button{transition-property:transform,background-color,border-color,color,box-shadow}.icon-button{display:inline-flex;height:2.25rem;width:2.25rem;align-items:center;justify-content:center;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.icon-button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.icon-button:active{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.icon-button{transition-property:transform,background-color,border-color,color,box-shadow}.icon-button.danger:hover{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.subtle-icon{display:inline-flex;height:1.75rem;width:1.75rem;flex-shrink:0;--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;justify-content:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.subtle-icon:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.group:hover .subtle-icon{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.subtle-icon:focus-visible{opacity:1;outline:2px solid color-mix(in srgb,var(--theme-accent) 42%,transparent);outline-offset:1px;transform:scale(1)}@media(any-hover:none){.doc-row.active .subtle-icon{height:2rem;opacity:1;transform:scale(1);width:2rem}.doc-row.\!active .subtle-icon{height:2rem!important;opacity:1!important;transform:scale(1)!important;width:2rem!important}}.recent-card{display:flex;min-height:9rem;flex-direction:column;align-items:flex-start;justify-content:space-between;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem;text-align:left;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}.recent-card:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.recent-card:active{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.card-icon{display:grid;height:2.25rem;width:2.25rem;place-items:center;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.browser-shell{overflow:hidden;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.auth-panel{display:flex;width:100%;max-width:28rem;flex-direction:column;gap:1.25rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.5rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.signup-card{position:relative;overflow:hidden}.signup-card-content{display:flex;flex-direction:column;gap:1.25rem;animation:signup-card-enter .18s ease-out}.signup-card-content h1{margin-top:.25rem;font-size:1.5rem;line-height:2rem;font-weight:600;letter-spacing:-.025em}.signup-card-content>div>p:last-child{margin-top:.5rem;font-size:.875rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.signup-eyebrow{font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.2em;--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.signup-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}.signup-progress span{height:.25rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.signup-progress span.active,.signup-progress span.\!active{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.signup-back-button,.auth-mode-button{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.signup-back-button:hover,.auth-mode-button:hover{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.signup-back-button:disabled,.auth-mode-button:disabled{cursor:not-allowed;opacity:.5}.signup-back-button{width:-moz-fit-content;width:fit-content;justify-content:flex-start}.verification-code-input{text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1.25rem;line-height:1.75rem;font-weight:600;letter-spacing:.3em}.auth-field{display:flex;flex-direction:column;gap:.375rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.auth-field input{height:2.75rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.auth-field input:focus{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}@keyframes signup-card-enter{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}.search-box{display:flex;height:2.5rem;width:100%;align-items:center;gap:.5rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}@media(min-width:768px){.search-box{width:16rem}}.search-box input{min-width:0px;flex:1 1 0%;background-color:transparent;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.search-box input::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.search-box input::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.rename-input{height:2rem;min-width:0px;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: transparent}.rename-input:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}.folder-dot{height:1rem;width:1rem;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(167 243 208 / var(--tw-ring-opacity, 1))}.workspace-row-main{display:flex;min-height:2.5rem;min-width:0px;flex:1 1 0%;align-items:center;border-radius:.375rem;padding-left:.25rem;padding-right:.25rem;text-align:left;font-weight:600}.empty-state{padding:2.5rem;text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.workspace-empty-create{margin-left:auto;margin-right:auto;margin-top:1.75rem;margin-bottom:1.75rem;display:flex;width:min(34rem,calc(100% - 2rem));flex-direction:column;align-items:center;border-radius:.75rem;border-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding:2.5rem 2rem;text-align:center;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}.workspace-empty-create:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity, 1));background-color:#ecfdf566;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.workspace-empty-create>span{margin-bottom:1rem;display:grid;height:3rem;width:3rem;place-items:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.workspace-empty-create strong{font-size:1.125rem;line-height:1.75rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.workspace-empty-create small{margin-top:.5rem;max-width:24rem;font-size:.875rem;line-height:1.25rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.back-button{display:inline-flex;align-items:center;gap:.375rem;border-radius:.375rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.back-button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.sidebar-breadcrumb{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));gap:.375rem;min-height:3.25rem;padding:.875rem .625rem .5rem .875rem}.sidebar-breadcrumb button{display:inline-flex;height:1.75rem;width:1.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sidebar-breadcrumb button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.sidebar-breadcrumb h1{min-width:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.sidebar-doc-actions{display:flex;align-items:center;gap:.125rem}.sidebar-doc-actions button{display:inline-flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sidebar-doc-actions button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.sidebar-document-list{--sidebar-list-fade-top: #000;--sidebar-list-fade-bottom: #000;display:flex;flex:1 1 0%;flex-direction:column;gap:.125rem;overflow-y:auto;padding-left:.75rem;padding-right:.75rem;padding-bottom:1rem;mask-image:linear-gradient(to bottom,var(--sidebar-list-fade-top) 0,#000 20px,#000 calc(100% - 20px),var(--sidebar-list-fade-bottom) 100%);scrollbar-gutter:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,var(--sidebar-list-fade-top) 0,#000 20px,#000 calc(100% - 20px),var(--sidebar-list-fade-bottom) 100%)}.sidebar-document-list::-webkit-scrollbar{display:none}.sidebar-document-list>*{flex-shrink:0}.sidebar-document-spacer{flex-basis:0;flex-grow:1;min-height:0}.sidebar-document-list.can-scroll-up{--sidebar-list-fade-top: transparent}.sidebar-document-list.can-scroll-down{--sidebar-list-fade-bottom: transparent}.empty-sidebar{border-radius:.375rem;border-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding:1rem;text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.workspace-shell{position:relative;display:flex;height:100vh;overflow:hidden;height:var(--app-viewport-height);background:var(--theme-base);color:var(--theme-text);transition:background-color .36s ease,color .26s ease}.workspace-editor-loading{align-items:center;background:#fff;display:flex;justify-content:center;top:0;right:0;bottom:0;left:0;position:absolute;z-index:26}.workspace-editor-loading.is-leaving{animation:workspace-loader-out .26s cubic-bezier(.4,0,.2,1) forwards;pointer-events:none}.workspace-sidebar-shell.is-loading,.workspace-sidebar-shell.is-loading .sidebar-hit-area{pointer-events:none}.workspace-editor-loading.is-leaving .workspace-loading-mark{animation:workspace-loader-mark-out .24s cubic-bezier(.4,0,.2,1) forwards}.workspace-loading-mark{height:96px;position:relative;width:82px}.workspace-loading-glow{animation:workspace-loader-glow .72s cubic-bezier(.16,1,.3,1) both;background:#111;border-radius:999px;filter:blur(28px);top:8px;right:8px;bottom:8px;left:8px;opacity:0;position:absolute;transform:scale(.6)}.workspace-loading-document{animation:workspace-loader-document-pop .64s cubic-bezier(.16,1.15,.3,1) both;filter:none;height:96px;top:0;right:0;bottom:0;left:0;position:absolute;transform-origin:50% 55%;width:82px}.workspace-loading-document-outline{fill:#fff;stroke-dasharray:1;stroke-dashoffset:1;stroke-linejoin:round;stroke-width:2.5;animation:workspace-loader-draw .54s cubic-bezier(.65,0,.15,1) 20ms both}.workspace-loading-line{animation:workspace-loader-draw-line .26s cubic-bezier(.22,1,.36,1) both,workspace-loader-line-kick .33s cubic-bezier(.16,1,.3,1) both;stroke:#111;stroke-dasharray:40;stroke-dashoffset:40;stroke-linecap:round;stroke-width:3;transform-box:fill-box;transform-origin:left center}.workspace-loading-line-one{animation-delay:.19s,.19s}.workspace-loading-line-two{animation-delay:.25s,.25s}.workspace-loading-line-three{animation-delay:.31s,.31s}.workspace-loading-spark{background:#111;border-radius:999px;box-shadow:none;height:4px;opacity:0;position:absolute;width:4px}.workspace-loading-spark-a{animation:workspace-loader-spark-a .48s cubic-bezier(.16,1,.3,1) .18s both;right:-2px;top:9px}.workspace-loading-spark-b{animation:workspace-loader-spark-b .48s cubic-bezier(.16,1,.3,1) .33s both;bottom:17px;left:-5px}@keyframes workspace-loader-draw{to{stroke-dashoffset:0}}@keyframes workspace-loader-draw-line{to{stroke-dashoffset:0}}@keyframes workspace-loader-line-kick{0%{opacity:.45;transform:translate(-3px) scaleX(.94)}65%{opacity:1;transform:translate(1px) scaleX(1.02)}to{opacity:1;transform:translate(0) scaleX(1)}}@keyframes workspace-loader-glow{0%{opacity:0;transform:scale(.6)}28%{opacity:.7;transform:scale(.95)}60%{opacity:.32;transform:scale(1.28)}to{opacity:0;transform:scale(1.7)}}@keyframes workspace-loader-document-pop{0%{opacity:0;transform:translateY(11px) rotate(-4deg) scale(.72)}42%{opacity:1;transform:translateY(-3px) rotate(1.6deg) scale(1.055)}68%{transform:translateY(1px) rotate(-.7deg) scale(.985)}84%{transform:translateY(-1px) rotate(.25deg) scale(1.008)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}@keyframes workspace-loader-spark-a{0%{opacity:0;transform:translateY(5px) scale(0)}25%{opacity:1;transform:translate(3px,-1px) scale(1.65)}to{opacity:0;transform:translate(11px,-15px) scale(.25)}}@keyframes workspace-loader-spark-b{0%{opacity:0;transform:translate(4px,2px) scale(0)}25%{opacity:1;transform:translate(-1px,-2px) scale(1.45)}to{opacity:0;transform:translate(-12px,-11px) scale(.2)}}@keyframes workspace-loader-mark-out{to{opacity:0;transform:scale(.82) translateY(-4px)}}@keyframes workspace-loader-out{to{opacity:0;visibility:hidden}}@media(prefers-reduced-motion:reduce){.workspace-editor-loading.is-leaving,.workspace-loading-mark,.workspace-loading-glow,.workspace-loading-document,.workspace-loading-document-outline,.workspace-loading-line,.workspace-loading-spark{animation-duration:.01ms!important;animation-delay:0ms!important}}.document-import-loading{align-content:center;background:var(--theme-base);color:var(--theme-muted-text);display:grid;gap:.55rem;height:100%;justify-items:center;padding:2rem;text-align:center}.document-import-loading strong{color:var(--theme-text);font-size:.9rem;font-weight:700}.document-import-loading p{font-size:.76rem;line-height:1.5;margin:0;max-width:28rem}.document-import-mockups{height:5.4rem;margin-bottom:1rem;position:relative;width:8rem}.document-import-mockups span{background:linear-gradient(var(--theme-border),var(--theme-border)) .8rem 1rem / 55% .25rem no-repeat,linear-gradient(var(--theme-muted),var(--theme-muted)) .8rem 1.75rem / calc(100% - 1.6rem) .18rem no-repeat,linear-gradient(var(--theme-muted),var(--theme-muted)) .8rem 2.3rem / 70% .18rem no-repeat,var(--theme-page, var(--theme-base));border:1px solid var(--theme-border);border-radius:.35rem;box-shadow:0 12px 28px #0f172a12;height:5.2rem;left:1.2rem;position:absolute;top:0;width:5.6rem}.document-import-mockups span:first-child{transform:rotate(-8deg) translate(-1rem,.4rem)}.document-import-mockups span:last-child{transform:rotate(8deg) translate(1rem,.4rem)}.page-transition{animation:fade-in .11s ease-out}.dashboard-shell{position:relative;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.dashboard-shell:before,.dashboard-shell:after{content:"";top:0;right:0;bottom:0;left:0;pointer-events:none;position:fixed}.dashboard-shell:before{background-image:radial-gradient(color-mix(in srgb,#0f172a 14%,transparent) 1px,transparent 1px);background-position:0 0;background-size:18px 18px;-webkit-mask-image:linear-gradient(to bottom,black 0%,black 68%,transparent 100%);mask-image:linear-gradient(to bottom,black 0%,black 68%,transparent 100%);opacity:.46}.dashboard-shell:after{animation:dashboard-gradient-breathe 8s ease-in-out infinite alternate;background:linear-gradient(116deg,color-mix(in srgb,#10b981 12%,transparent),transparent 42%),linear-gradient(244deg,color-mix(in srgb,#f97316 10%,transparent),transparent 48%),linear-gradient(180deg,transparent,rgba(255,255,255,.65));background-position:0% 0%,100% 0%,50% 100%;background-size:120% 120%;opacity:.64}.dashboard-shell>*{position:relative;z-index:1}.doc-transition{opacity:0}.doc-transition.doc-ready{animation:doc-arrive .1s ease-out;opacity:1}.document-stage-leaving{animation:doc-depart 70ms cubic-bezier(.4,0,1,1) both;pointer-events:none}.workspace-sidebar-shell{pointer-events:none;position:fixed;top:0;bottom:0;left:0;z-index:40;width:18rem}.workspace-sidebar-shell.open,.workspace-sidebar-shell.\!open,.workspace-sidebar-shell.with-theme-panel{width:18rem}.sidebar-hit-area{pointer-events:auto;position:absolute;top:0;bottom:0;left:0;width:14rem;background-color:transparent;width:var(--sidebar-hover-reveal-width, 14rem)}.sidebar-reveal-button{align-items:center;background:transparent;border:0;border-radius:var(--ui-control-radius);box-shadow:none;color:var(--theme-muted-text);display:none;height:30px;justify-content:center;left:8px;opacity:.58;pointer-events:auto;position:fixed;top:50%;transform:translateY(-50%);transition:left .2s ease,opacity .14s ease,transform .2s ease,background-color .14s ease,color .14s ease;width:24px;z-index:3}.sidebar-reveal-button:hover,.sidebar-reveal-button:focus-visible{background:transparent;color:var(--theme-accent-contrast);opacity:1;outline:none}@media(any-hover:none)and (min-width:721px){.sidebar-reveal-button{display:inline-flex}.sidebar-hit-area{display:none}.workspace-sidebar-shell.open{width:100vw}.workspace-sidebar-shell.open .sidebar-mobile-backdrop{background:color-mix(in srgb,var(--theme-text) 18%,transparent);border:0;display:block;top:0;right:0;bottom:0;left:0;pointer-events:auto;position:absolute}.workspace-sidebar-shell.\!open{width:100vw!important}.workspace-sidebar-shell.\!open .sidebar-mobile-backdrop{background:color-mix(in srgb,var(--theme-text) 18%,transparent)!important;border:0!important;display:block!important;top:0!important;right:0!important;bottom:0!important;left:0!important;pointer-events:auto!important;position:absolute!important}}.sidebar-mobile-backdrop{display:none}.workspace-sidebar{pointer-events:auto;position:relative;display:flex;height:100%;width:18rem;flex-direction:column;overflow:hidden;border-right-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fffffff2;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);opacity:0;transform:translate3d(-100%,0,0);transition:transform .18s cubic-bezier(.2,.8,.2,1),opacity .12s ease-out;will-change:transform,opacity;backface-visibility:hidden}.workspace-sidebar:before,.workspace-sidebar:after{content:"";top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .22s ease-out}.workspace-sidebar:before{background:linear-gradient(90deg,color-mix(in srgb,var(--highlight-orange-bg) 48%,transparent),transparent 74%)}.workspace-sidebar:after{background-image:radial-gradient(color-mix(in srgb,#f97316 38%,transparent) 1px,transparent 1px);background-position:0 0;background-size:14px 14px;transform:translateZ(0)}.workspace-sidebar>*{position:relative;z-index:1}.workspace-sidebar.import-target{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.workspace-sidebar.import-target:before{opacity:1}.workspace-sidebar.import-target:after{animation:import-dots-drift .9s linear infinite;opacity:1}.workspace-sidebar-shell.open .workspace-sidebar{opacity:1;transform:translateZ(0)}.workspace-sidebar-shell.\!open .workspace-sidebar{opacity:1!important;transform:translateZ(0)!important}.workspace-sidebar-shell.with-theme-panel .workspace-sidebar{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.theme-sidebar{pointer-events:auto;position:absolute;top:0;bottom:0;left:0;display:flex;width:18rem;--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));flex-direction:column;border-right-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fafaf9f2;padding:.75rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(.2,.8,.2,1);animation:slide-in-left .3s cubic-bezier(.2,.8,.2,1);transition-property:transform,background,background-color,border-color,color,box-shadow}.theme-sidebar.closing{animation:none;transform:translate(-100%)}.theme-sidebar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding:.25rem .5rem .75rem}.theme-sidebar-header>div{min-width:0px}.theme-sidebar-header span{display:block;font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-sidebar-header strong{margin-top:.25rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-sidebar-header button{display:grid;height:2rem;width:2rem;flex-shrink:0;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-sidebar-header button:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-list{margin-right:-.25rem;display:flex;flex:1 1 0%;flex-direction:column;gap:.5rem;overflow-y:auto;padding-top:.75rem;padding-bottom:.75rem;padding-right:.5rem;scrollbar-gutter:stable;scrollbar-width:thin}.theme-list::-webkit-scrollbar{width:8px}.theme-list::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--theme-muted-text, #64748b) 28%,transparent);background-clip:padding-box;border:2px solid transparent;border-radius:999px}.theme-list-section{display:flex;flex-direction:column;gap:.5rem}.theme-list-section-soim{margin-top:.5rem;border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding-top:1rem}.theme-list-section-heading{display:flex;align-items:center;justify-content:space-between;padding-left:.25rem;padding-right:.25rem;padding-bottom:.25rem;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.14em;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-list-section-heading small{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1));padding:.125rem .375rem;font-size:10px;line-height:1;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-card{display:flex;min-height:6rem;width:100%;align-items:flex-start;gap:.75rem;border-radius:.5rem;border-width:1px;border-color:transparent;background-color:#ffffffb3;padding:.75rem;text-align:left;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.theme-card:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.theme-card{transition-property:transform,background,background-color,border-color,color,box-shadow}.theme-custom-card{position:relative}.theme-custom-card .theme-card{padding-right:5rem}.theme-card-actions{position:absolute;right:.625rem;top:.625rem;display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border-width:1px;border-color:#e7e5e4cc;background-color:#ffffffe6;padding:.25rem;opacity:.6;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-custom-card:hover .theme-card-actions,.theme-card-actions:focus-within,.theme-card-actions.confirming{opacity:1}.theme-card-actions button{display:grid;height:1.5rem;width:1.5rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-card-actions button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-card-actions button:disabled{cursor:not-allowed;opacity:.4}.theme-card-actions button.danger{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.theme-card-actions button.danger:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.theme-card.active,.theme-card.\!active{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(2 6 23 / .05)}.theme-card-swatches{display:flex;flex-shrink:0;overflow:hidden;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1))}.theme-card-swatches i{display:block;height:2.5rem;width:1rem}.theme-card-copy{min-width:0px;flex:1 1 0%;overflow:hidden}.theme-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-card small,.theme-empty{margin-top:.25rem;display:block;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-card small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.theme-add-button{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.5rem;border-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity, 1));background-color:transparent;padding:.75rem;text-align:left;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-add-button:hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-add-button>svg{flex-shrink:0}.theme-add-button>span,.theme-builder-choice button>span{min-width:0px}.theme-add-button strong,.theme-builder-choice strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600}.theme-add-button small,.theme-builder-choice small{margin-top:.125rem;display:block;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-builder-choice{display:flex;flex:1 1 0%;flex-direction:column;gap:.5rem;padding-top:1rem;padding-bottom:1rem}.theme-builder-choice>p{margin-bottom:.5rem;padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-builder-choice>button{display:flex;align-items:flex-start;gap:.75rem;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1rem;text-align:left;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-builder-choice>button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.theme-builder-choice>button>svg{margin-top:.125rem;flex-shrink:0}.theme-builder-shell{display:flex;min-height:0px;flex:1 1 0%;flex-direction:column;padding-top:.75rem;padding-bottom:.75rem}.theme-builder-status{margin-bottom:.75rem;display:flex;align-items:center;gap:.75rem;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fffc;padding:.75rem}.theme-builder-status>div{min-width:0px}.theme-builder-status strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-builder-status small{margin-top:.125rem;display:block;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.025em;--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.theme-builder-chat{margin-right:-.25rem;display:flex;min-height:0px;flex:1 1 0%;flex-direction:column;gap:.75rem;overflow-y:auto;padding-top:.5rem;padding-bottom:.5rem;padding-right:.25rem;scrollbar-color:rgb(148 163 184 / .4) transparent;scrollbar-width:thin}.theme-builder-message{font-size:.875rem;line-height:1.25rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.theme-builder-message.user,.theme-builder-message.\!user{margin-left:1.25rem;border-radius:.75rem .75rem .125rem;--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));padding:.625rem .75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.theme-builder-message.assistant{padding-right:.5rem}.theme-builder-thinking{display:flex;align-items:center;gap:.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-builder-thinking>span{height:.375rem;width:.375rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1));animation:theme-builder-pulse .9s ease-in-out infinite alternate}.theme-builder-composer{position:relative;margin-top:.75rem}.theme-builder-composer textarea{display:block;width:100%;resize:none;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem 3rem .75rem .75rem;font-size:.875rem;line-height:1.25rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-builder-composer textarea::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.theme-builder-composer textarea::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.theme-builder-composer textarea:disabled{opacity:.6}.theme-builder-composer textarea{border-radius:var(--ui-composer-radius)}.theme-builder-composer textarea:focus{border-color:color-mix(in srgb,var(--theme-accent) 58%,var(--theme-border));box-shadow:var(--theme-focus-ring)}.theme-builder-composer button{position:absolute;bottom:.5rem;right:.5rem;display:grid;place-items:center;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-builder-composer button:disabled{cursor:not-allowed;opacity:.3}.theme-builder-composer button{background:var(--theme-accent);border-radius:var(--ui-control-radius);height:var(--ui-control-size);width:var(--ui-control-size)}.theme-builder-composer button:hover:not(:disabled){background:var(--theme-accent-hover)}.theme-upload-summary{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center;padding-left:1rem;padding-right:1rem;text-align:center;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.theme-upload-summary>svg{margin-bottom:1rem;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.theme-upload-summary strong{font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.theme-upload-summary span{margin-top:.25rem;font-size:.75rem;line-height:1rem;line-height:1.625}.theme-builder-error{margin-top:.5rem;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.theme-builder-actions{margin-top:.75rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding-top:.75rem}.theme-builder-actions button{border-radius:.5rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.theme-builder-actions button:disabled{cursor:not-allowed;opacity:.4}.theme-builder-actions .secondary{border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.theme-builder-actions .secondary:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.theme-builder-actions .primary{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.theme-builder-actions .primary:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.doc-row{position:relative;display:flex;height:2.5rem;align-items:center;gap:.375rem;border-radius:.5rem;padding-left:.625rem;padding-right:.625rem;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.doc-row:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.doc-row{transition-property:background-color,box-shadow,color}.doc-row.just-imported{animation:imported-doc-in .52s cubic-bezier(.2,.8,.2,1)}.doc-row.active.just-imported{background:var(--highlight-orange-bg);color:#0f172a;animation:imported-active-doc-in .52s cubic-bezier(.2,.8,.2,1)}.doc-row.\!active.just-imported{background:var(--highlight-orange-bg)!important;color:#0f172a!important;animation:imported-active-doc-in .52s cubic-bezier(.2,.8,.2,1)!important}.doc-row.active.just-imported:hover{background:var(--highlight-orange-bg);color:#0f172a}.doc-row.\!active.just-imported:hover{background:var(--highlight-orange-bg)!important;color:#0f172a!important}.doc-row.active.just-imported .subtle-icon{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.doc-row.active.just-imported .subtle-icon:hover{background-color:#ffffff80;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.doc-row.\!active.just-imported .subtle-icon{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.doc-row.\!active.just-imported .subtle-icon:hover{background-color:#ffffff80;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.doc-row-main{display:flex;min-width:0px;flex:1 1 0%;align-items:center;align-self:stretch;border-radius:.375rem;text-align:left;font-size:.875rem;line-height:1.25rem}.doc-row-icon{flex-shrink:0;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.doc-row-rename{min-width:0px;flex:1 1 0%;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem .375rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: transparent}.doc-row-rename:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}.doc-row.active .doc-row-rename{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.doc-row.active .doc-row-rename:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}.doc-row.\!active .doc-row-rename{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.doc-row.\!active .doc-row-rename:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}.doc-row.active{background:color-mix(in srgb,var(--theme-accent) 8%,var(--theme-base));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 14%,var(--theme-border));color:var(--theme-text)}.doc-row.\!active{background:color-mix(in srgb,var(--theme-accent) 8%,var(--theme-base))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 14%,var(--theme-border))!important;color:var(--theme-text)!important}.doc-row.active:hover{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-base));color:var(--theme-text)}.doc-row.\!active:hover{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-base))!important;color:var(--theme-text)!important}.doc-row.locked{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));opacity:.75}.doc-row.locked:hover{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.doc-row.active .subtle-icon{color:var(--theme-muted-text)}.doc-row.\!active .subtle-icon{color:var(--theme-muted-text)!important}.doc-row.active .doc-delete-button{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.doc-row.active .doc-delete-button:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.doc-row.\!active .doc-delete-button{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.doc-row.\!active .doc-delete-button:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.doc-row-actions{position:relative;flex-shrink:0}.doc-row.active .doc-more-button,.doc-row-actions.open .doc-more-button,.doc-row.\!active .doc-more-button,.doc-row-actions.\!open .doc-more-button{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.doc-actions-menu{position:absolute;right:0;top:calc(100% + .35rem);z-index:30;display:grid;min-width:9rem;gap:.125rem;border-width:1px;padding:.25rem;background:var(--theme-base);border-color:var(--theme-border);border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow);animation:menu-in .13s ease-out}.doc-actions-menu button{display:flex;height:2.25rem;width:100%;align-items:center;gap:.625rem;padding-left:.625rem;padding-right:.625rem;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-radius:var(--ui-control-radius);color:var(--theme-muted-text)}.doc-actions-menu button:hover,.doc-actions-menu button:focus-visible{background:var(--theme-hover);color:var(--theme-text);outline:none}.doc-actions-menu button.danger{border-top:1px solid var(--theme-border);border-top-left-radius:0;border-top-right-radius:0;color:var(--theme-color-danger);margin-top:.2rem;padding-top:.3rem}.doc-actions-menu button.danger:hover,.doc-actions-menu button.danger:focus-visible{background:var(--theme-color-danger-bg);color:var(--theme-color-danger)}.sidebar-action-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.25rem}.sidebar-action-button{display:flex;height:2.5rem;width:100%;align-items:center;justify-content:center;border-radius:.375rem;border-width:1px;border-color:transparent;background-color:transparent;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sidebar-action-button:hover{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.mobile-editor-header,.workspace-shell.sidebar-trigger-in-top-bar .sidebar-hit-area,.workspace-shell.sidebar-trigger-in-top-bar .sidebar-reveal-button,.workspace-shell.sidebar-click-reveal .sidebar-hit-area{display:none}.workspace-shell.sidebar-click-reveal .sidebar-reveal-button{display:inline-flex}.workspace-shell.sidebar-trigger-in-top-bar .mobile-editor-header{align-items:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:color-mix(in srgb,var(--theme-base) 94%,transparent);border-bottom:1px solid var(--theme-border);display:grid;gap:.65rem;grid-template-columns:2.4rem minmax(0,1fr) auto;height:3.25rem;padding:0 .75rem;position:sticky;top:0;transform:translateZ(0);z-index:30}.workspace-shell.sidebar-trigger-in-top-bar .editor-scroll-container{mask-image:none;-webkit-mask-image:none}.workspace-shell.sidebar-trigger-in-top-bar .mobile-editor-header>button{align-items:center;background:transparent;border:0;color:var(--theme-muted-text);display:inline-flex;height:2.4rem;justify-content:center;width:2.4rem}.workspace-shell.sidebar-trigger-in-top-bar .mobile-editor-header.without-sidebar{grid-template-columns:minmax(0,1fr) auto}.workspace-shell.sidebar-trigger-in-top-bar .mobile-editor-title{color:var(--theme-text);font-size:.82rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-shell.sidebar-trigger-in-top-bar .mobile-collaborators{align-items:center;display:flex;padding-left:.3rem}@media(max-width:720px){.workspace-shell:not(.sidebar-trigger-in-top-bar) .mobile-editor-header{display:none}}@media(max-width:720px)and (hover:none){.workspace-shell:not(.sidebar-trigger-in-top-bar) .sidebar-reveal-button{display:inline-flex}}.bubble-toolbar{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:pop-in .14s ease-out}.text-selection-toolbar{opacity:0;transform:translateY(6px) scale(.98);transition:opacity .14s ease-out,transform .14s cubic-bezier(.2,.8,.2,1),visibility .14s step-end;visibility:hidden}.text-selection-toolbar.visible{opacity:1;transform:translateY(0) scale(1);transition:opacity .14s ease-out,transform .14s cubic-bezier(.2,.8,.2,1),visibility 0ms step-start;visibility:visible}.text-selection-toolbar.moves{transition:left .12s cubic-bezier(.2,.8,.2,1),opacity .14s ease-out,top .12s cubic-bezier(.2,.8,.2,1),transform .14s cubic-bezier(.2,.8,.2,1),visibility 0ms step-start}.block-handle-layer{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:20}.block-handle-shell{pointer-events:none;position:absolute;opacity:0;transition:opacity .18s ease-out,visibility 0ms step-start;will-change:left,opacity,top}.block-handle-shell.block-handle-motion-slide{transition:left .18s cubic-bezier(.2,.8,.2,1),opacity .18s ease-out,top .18s cubic-bezier(.2,.8,.2,1),visibility 0ms step-start}.block-handle-shell.block-handle-motion-fade-a,.block-handle-shell.block-handle-motion-fade-b{animation:block-handle-fade-in .18s cubic-bezier(.2,.8,.2,1) both}@keyframes block-handle-fade-in{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.block-handle-shell.visible{pointer-events:auto;opacity:1}.block-handle{display:grid;height:2rem;width:2rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));opacity:.7}.block-handle-shell.open .block-handle,.block-handle-shell.\!open .block-handle{background-color:transparent;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1));opacity:1}.block-selection-active .editor-surface ::-moz-selection{background:transparent}.block-selection-active .editor-surface ::selection{background:transparent}.block-menu-selection-highlight{animation:block-selection-in .15s ease-out both;border-radius:.2rem}.block-style-menu{pointer-events:none;position:absolute;left:1.5rem;top:1.5rem;z-index:40;display:none;min-width:13rem;transform-origin:top left;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;opacity:0;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition:top .18s cubic-bezier(.2,.8,.2,1);transform:translate(-.35rem,-.35rem) scale(.97)}.block-style-menu.open,.block-style-menu.\!open{pointer-events:auto;display:block;opacity:1}.block-style-menu.open{animation:block-menu-diagonal-in .14s cubic-bezier(.2,.8,.2,1);transform:translate(0) scale(1)}.block-style-menu.\!open{animation:block-menu-diagonal-in .14s cubic-bezier(.2,.8,.2,1)!important;transform:translate(0) scale(1)!important}.block-style-menu-item{display:flex;width:100%;align-items:center;gap:.5rem;border-radius:.375rem;padding:.375rem .625rem;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.block-style-menu-item:hover{--tw-translate-x: .125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.block-style-menu-item.active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-style-menu-item.active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-style-menu-item.\!active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-style-menu-item.\!active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-style-menu-divider{margin:.25rem .5rem;height:1px;--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1))}.block-alignment-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;padding:.25rem}.block-alignment-row button{display:grid;height:2rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.block-alignment-row button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.block-alignment-row button.active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-alignment-row button.active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-alignment-row button.\!active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-alignment-row button.\!active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.block-style-submenu{position:relative}.block-style-submenu-trigger>span{flex:1 1 0%}.block-style-submenu.has-active>.block-style-submenu-trigger{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.block-style-submenu-panel{pointer-events:none;position:absolute;left:calc(100% + .35rem);top:-.25rem;z-index:50;display:none;min-width:12rem;transform-origin:top left;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;opacity:0;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transform:translate(-.35rem,-.2rem) scale(.98)}.block-style-submenu-panel:before{content:"";bottom:0;position:absolute;right:100%;top:0;width:.5rem}.block-style-submenu:hover>.block-style-submenu-panel,.block-style-submenu:focus-within>.block-style-submenu-panel,.block-style-submenu.expanded>.block-style-submenu-panel{pointer-events:auto;display:block;opacity:1;animation:submenu-in .12s cubic-bezier(.2,.8,.2,1);transform:translate(0) scale(1)}.bubble-toolbar.is-selecting{opacity:0;pointer-events:none;visibility:hidden}.image-toolbar{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:pop-in .14s ease-out}.toolbar-option-glyph{align-items:center;border:1px solid currentColor;border-radius:4px;display:inline-flex;flex:0 0 auto;font-size:.58rem;font-weight:750;height:1.1rem;justify-content:center;line-height:1;min-width:1.1rem;padding:0 .18rem}.toolbar-button{display:grid;height:2rem;width:2rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.toolbar-button:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.toolbar-button:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toolbar-dropdown .toolbar-button{display:flex;width:auto;min-width:2rem;gap:.125rem;padding-left:.375rem;padding-right:.375rem}.toolbar-dropdown-chevron{flex-shrink:0;opacity:.6}.toolbar-button.active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.toolbar-button.active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.toolbar-button.\!active{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.toolbar-button.\!active:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.toolbar-divider{margin-left:.25rem;margin-right:.25rem;height:1.25rem;width:1px;flex-shrink:0;--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity, 1))}.toolbar-dropdown{position:relative}.toolbar-dropdown:after{content:"";height:.5rem;left:0;position:absolute;right:0;top:100%}.toolbar-dropdown-menu{pointer-events:none;position:absolute;left:0;top:calc(100% + .35rem);z-index:30;display:none;max-height:min(18rem,calc(var(--app-viewport-height) - 8rem));min-width:11rem;transform-origin:top left;overflow-y:auto;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow)}.toolbar-dropdown.open .toolbar-dropdown-menu,.toolbar-dropdown.\!open .toolbar-dropdown-menu{pointer-events:auto;display:block;opacity:1}.toolbar-dropdown.open .toolbar-dropdown-menu{animation:menu-in .13s ease-out}.toolbar-dropdown.\!open .toolbar-dropdown-menu{animation:menu-in .13s ease-out!important}.toolbar-dropdown-item{display:flex;min-height:2.25rem;width:100%;align-items:center;gap:.5rem;padding:.5rem .625rem;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.toolbar-dropdown-item:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.toolbar-dropdown-item{border-radius:var(--ui-control-radius)}.toolbar-dropdown-item.active{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-base));color:var(--theme-accent-contrast)}.toolbar-dropdown-item.\!active{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-base))!important;color:var(--theme-accent-contrast)!important}.color-swatch{height:1rem;width:1rem;flex-shrink:0;border-radius:.25rem;border-width:1px;border-color:#0000001a}.editor-floating-footer{position:fixed;left:2rem;right:2rem;bottom:1.25rem;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#ffffffd9;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:fade-in .18s ease-out}.editor-footer-meta{display:flex;align-items:center;gap:.5rem}.editor-footer-meta button{display:grid;height:1.75rem;width:1.75rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.editor-footer-meta button:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.version-preview-canvas{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.version-preview-badge{pointer-events:none;position:fixed;left:50%;top:1.25rem;z-index:30;display:flex;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;gap:.625rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#ffffffe6;padding:.25rem .625rem;font-size:.68rem;font-weight:700;text-transform:uppercase;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.version-preview-removed,.version-preview-added{display:inline-flex;align-items:center;gap:.25rem}.version-preview-removed:before,.version-preview-added:before{height:.375rem;width:.375rem;border-radius:9999px;content:""}.version-preview-removed:before{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.version-preview-added:before{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.version-diff-deletion,.version-diff-addition{border-radius:.16em;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:.06em .08em}.version-diff-deletion{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1));text-decoration-color:#ef4444}.version-diff-addition{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1));text-decoration-line:none}.version-history-panel{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:40;overflow:hidden;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fffffff2;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:version-history-in .15s cubic-bezier(.2,.8,.2,1);transform-origin:var(--version-history-origin-x, 10rem) 100%}.version-history-header{display:flex;min-height:3.5rem;align-items:center;justify-content:space-between;gap:1rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding:.5rem 1rem}.version-history-header>div:first-child{min-width:0px}.version-history-header strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.version-history-header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.version-history-actions{display:flex;flex-shrink:0;align-items:center;gap:.5rem}.version-history-actions button{display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.375rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.625rem;padding-right:.625rem;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.version-history-actions button:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.version-history-actions button:disabled{cursor:wait;opacity:.5}.version-history-actions .version-restore-button{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.version-history-actions .version-restore-button:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.version-history-actions .version-close-button{width:2.25rem;border-color:transparent;background-color:transparent;padding:0}.version-history-track{display:flex;min-height:7rem;align-items:center;gap:.5rem;overflow-x:auto;padding:.75rem 1rem;scrollbar-gutter:stable}.version-history-create,.version-history-item,.version-history-current{position:relative;display:flex;min-height:5rem;width:10rem;flex-shrink:0;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-right:.75rem;padding-left:1.25rem;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.version-history-create:hover,.version-history-item:hover,.version-history-current:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.version-history-create:disabled,.version-history-item:disabled,.version-history-current:disabled{cursor:wait}.version-history-create{border-style:dashed;padding-left:.75rem}.version-create-icon{margin-bottom:.25rem;display:inline-flex;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.version-history-item{display:block;padding:0}.version-history-item-main{position:relative;display:flex;min-height:4.875rem;width:100%;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:.375rem;border-width:0px;background-color:transparent;padding-right:2rem;padding-left:1.25rem;text-align:left}.version-history-item.active,.version-history-current.active,.version-history-item.\!active,.version-history-current.\!active{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.version-history-create strong,.version-history-item strong,.version-history-current strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:600}.version-history-create small,.version-history-item small,.version-history-current small{margin-top:.25rem;font-size:.68rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.version-history-item em{margin-top:.25rem;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-style:normal;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.version-history-item.active small,.version-history-current.active small,.version-history-item.active em,.version-history-item.\!active small,.version-history-current.\!active small,.version-history-item.\!active em{color:#fff9}.version-edit-button{position:absolute;right:.375rem;top:.375rem;z-index:10;display:grid;height:1.75rem;width:1.75rem;place-items:center;border-radius:.375rem;border-width:0px;background-color:transparent;padding:0;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.version-edit-button:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.version-edit-button:disabled{opacity:.4}.version-history-item.active .version-edit-button{color:#fff9}.version-history-item.active .version-edit-button:hover{background-color:#ffffff1a;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.version-history-item.\!active .version-edit-button{color:#fff9}.version-history-item.\!active .version-edit-button:hover{background-color:#ffffff1a;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.version-history-item input{height:1.75rem;width:100%;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: transparent}.version-history-item input:focus{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(209 250 229 / var(--tw-ring-opacity, 1))}.version-dot{position:absolute;left:.5rem;top:50%;height:.375rem;width:.375rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.version-history-item.active .version-dot,.version-history-current.active .version-dot,.version-history-item.\!active .version-dot,.version-history-current.\!active .version-dot{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.version-history-empty{padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.theme-loading-bar{pointer-events:none;position:fixed;left:0;right:0;top:0;z-index:70;height:.125rem;opacity:0;background:linear-gradient(90deg,transparent,#10b981,#0f172a,transparent);transform:translate(-35%);transition:opacity .14s ease-out}.theme-loading-bar.visible{animation:theme-loading-sweep .92s ease-in-out infinite;opacity:1}.document-search-bar{position:fixed;right:2rem;top:1.25rem;z-index:30;display:grid;gap:.25rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fffffff2;padding:.5rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);min-width:min(28rem,calc(100vw - 4rem));animation:menu-in .13s ease-out}.document-search-row{display:flex;align-items:center;gap:.5rem}.document-search-bar input{min-width:0px;flex:1 1 0%;background-color:transparent;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.document-search-bar input::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.document-search-bar input::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.document-search-count{white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.document-search-button,.document-search-close{display:inline-flex;height:2rem;width:2rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.document-search-button:hover,.document-search-close:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.document-search-button:disabled,.document-search-close:disabled{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.document-search-button:hover:disabled,.document-search-close:hover:disabled{background-color:transparent}.document-search-replace-toggle,.document-replace-button{height:2rem;flex-shrink:0;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.document-search-replace-toggle:hover,.document-replace-button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.document-search-replace-toggle:disabled,.document-replace-button:disabled{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.document-search-replace-toggle:hover:disabled,.document-replace-button:hover:disabled{background-color:transparent}.document-replace-row{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1));padding-top:.25rem}.document-replace-spacer{width:15px}.link-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background-color:#02061726;padding-left:1.25rem;padding-right:1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:backdrop-in .13s ease-out}.link-dialog{display:grid;width:100%;max-width:28rem;gap:1rem;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background:var(--theme-base);color:var(--theme-text);animation:modal-in .13s ease-out}.link-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.link-dialog header div{display:grid;gap:.25rem}.link-dialog header strong{font-size:1rem;line-height:1.5rem;font-weight:600}.link-dialog header span{font-size:.875rem;line-height:1.25rem;color:var(--theme-muted-text)}.link-dialog header button{display:grid;height:2rem;width:2rem;place-items:center;border-radius:.375rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:var(--theme-muted-text)}.link-dialog header button:hover{background:var(--theme-hover);color:var(--theme-text)}.link-dialog>input{height:2.75rem;border-radius:.5rem;border-width:1px;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;background:var(--theme-muted);border-color:var(--theme-border);color:var(--theme-text)}.link-dialog>input:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(15 23 42 / .1);border-color:var(--theme-text)}.link-dialog footer{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.5rem}.link-dialog footer button{height:2.25rem;border-radius:.375rem;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:var(--theme-muted-text)}.link-dialog footer button:hover{background:var(--theme-hover);color:var(--theme-text)}.link-dialog footer button.primary{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.link-dialog footer button.primary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.link-dialog footer button.danger{display:inline-flex;align-items:center;gap:.375rem;--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.link-dialog footer button.danger:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity, 1))}.document-search-match{background:#fbbf244d;border-radius:.2rem;box-shadow:inset 0 0 0 1px #d9770629}.document-search-match.active{background:#f59e0b80;box-shadow:inset 0 0 0 1px #b4530947}.document-search-match.\!active{background:#f59e0b80!important;box-shadow:inset 0 0 0 1px #b4530947!important}.editor-scroll-container{--document-fade-top: #000;--document-fade-bottom: #000;mask-image:linear-gradient(to bottom,var(--document-fade-top) 0,#000 28px,#000 calc(100% - 32px),var(--document-fade-bottom) 100%);overflow-x:clip;scroll-padding-bottom:min(28vh,240px);scrollbar-gutter:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,var(--document-fade-top) 0,#000 28px,#000 calc(100% - 32px),var(--document-fade-bottom) 100%)}.editor-scroll-container::-webkit-scrollbar{display:none}.editor-scroll-container.can-scroll-up{--document-fade-top: transparent}.editor-scroll-container.can-scroll-down{--document-fade-bottom: transparent}.editor-scroll-container.version-previewing{mask-image:none;overflow:hidden;scrollbar-gutter:auto;-webkit-mask-image:none}.export-menu{position:relative;order:2}.export-menu-popover{position:absolute;bottom:3rem;right:0;z-index:30;width:16rem;max-width:calc(100vw - 2rem);overflow:hidden;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:menu-in .13s ease-out}.export-menu-popover button{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.375rem;padding:.625rem .75rem;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.export-menu-popover button:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.export-menu-popover button:disabled{cursor:wait;--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.export-menu-popover button:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.export-menu-popover svg{flex-shrink:0;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.export-menu-popover strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.export-menu-popover small{display:block;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.export-menu-split-row{display:grid;grid-template-columns:1fr auto;gap:.25rem}.export-menu-split-row>button:first-child{min-width:0px}.export-menu-popover .export-menu-icon{display:grid;height:auto;width:2.25rem;place-items:center;padding-left:0;padding-right:0}.pdf-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background-color:#02061733;padding:1.5rem 1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:fade-in .11s ease-out}.pdf-preview-panel{display:flex;height:min(780px,calc(var(--app-viewport-height) - 3rem));width:min(720px,calc(100vw - 2rem));flex-direction:column;overflow:hidden;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:modal-in .13s ease-out}.pdf-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding:.75rem 1rem}.pdf-preview-header strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.pdf-preview-header span{display:block;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pdf-preview-frame{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;gap:1rem;overflow-y:auto;--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));padding:1.25rem 1rem;color-scheme:light}.pdf-preview-message{display:grid;min-height:6rem;place-items:center;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(231 229 228 / var(--tw-ring-opacity, 1))}.pdf-preview-page{margin-left:auto;margin-right:auto;display:flex;width:100%;max-width:560px;flex-direction:column;align-items:center;gap:.5rem}.pdf-preview-page canvas{display:block;height:auto;width:100%;max-width:100%;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(231 229 228 / var(--tw-ring-opacity, 1))}.pdf-preview-page span{font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pdf-export-progress-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background-color:#02061733;padding:1.5rem 1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:fade-in .11s ease-out}.pdf-export-progress-panel{width:100%;max-width:440px;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:modal-in .13s ease-out}.pdf-export-progress-panel>div{margin-bottom:1.25rem;display:flex;align-items:flex-start;gap:.75rem}.pdf-export-progress-spinner{margin-top:.125rem;flex-shrink:0}.pdf-export-progress-spinner{animation:spin 1s linear infinite;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel h2{font-size:1rem;line-height:1.5rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel p{margin-top:.125rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel ol{display:grid;gap:.5rem}.pdf-export-progress-panel li{display:flex;align-items:center;gap:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel li>span{display:grid;height:1.25rem;width:1.25rem;flex-shrink:0;place-items:center;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity, 1));font-size:11px;font-weight:600}.pdf-export-progress-panel li.current,.pdf-export-progress-panel li.\!current{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel li.current>span{animation:spin 1s linear infinite;--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}@keyframes spin{to{transform:rotate(360deg)}}.pdf-export-progress-panel li.\!current>span{animation:spin 1s linear infinite;--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel li.complete{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pdf-export-progress-panel li.complete>span{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pdf-download-button{margin:.75rem}.app-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding-left:1.25rem;padding-right:1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background:var(--theme-overlay);animation:backdrop-in .15s ease-out}.app-dialog{display:flex;width:100%;max-width:420px;flex-direction:column;gap:1rem;border-radius:.75rem;border-width:1px;padding:1.25rem;background:var(--theme-base);border-color:var(--theme-border);box-shadow:var(--theme-panel-shadow);color:var(--theme-text);animation:modal-in .13s ease-out}.app-dialog-header>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.app-dialog-header h2{font-size:1.125rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;color:var(--theme-text)}.app-dialog-header p{font-size:.875rem;line-height:1.5rem;color:var(--theme-muted-text)}.app-dialog-input{height:2.75rem;width:100%;border-radius:.375rem;border-width:1px;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);background:var(--theme-muted);border-color:var(--theme-border);color:var(--theme-text)}.app-dialog-input:focus{border-color:var(--theme-accent);box-shadow:var(--theme-focus-ring)}.app-dialog-actions{display:flex;justify-content:flex-end;gap:.5rem}.app-dialog-actions .secondary-button{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-muted-text)}.app-dialog-actions .secondary-button:hover{background:var(--theme-hover);border-color:var(--theme-border);color:var(--theme-text)}.app-dialog-actions .primary-button{background:var(--theme-accent);color:var(--theme-active-text)}.app-dialog-actions .primary-button:hover{background:var(--theme-accent-hover)}.app-dialog-actions .danger-button{background:var(--theme-color-danger);color:var(--theme-color-danger-text)}.app-dialog-actions .danger-button:hover{background:var(--theme-color-danger-hover)}.share-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background-color:#02061733;padding-left:1.25rem;padding-right:1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:backdrop-in .15s ease-out}.snapshot-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding-left:1.25rem;padding-right:1.25rem;--tw-backdrop-blur: blur(3px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background:var(--theme-overlay);animation:backdrop-in .15s ease-out}.share-modal{max-height:min(780px,calc(var(--app-viewport-height) - 4rem));width:100%;max-width:680px;overflow:hidden;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:modal-in .13s ease-out}.snapshot-modal{max-height:min(680px,calc(var(--app-viewport-height) - 4rem));width:100%;max-width:680px;overflow:hidden;border-radius:1rem;border-width:1px;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background:var(--theme-base);border-color:var(--theme-border);animation:modal-in .13s ease-out}.share-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1));padding:1.25rem 1.5rem 1rem}.snapshot-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;border-bottom-width:1px;padding:1.25rem 1.5rem;border-color:var(--theme-border)}.snapshot-modal-heading{display:flex;min-width:0px;align-items:flex-start;gap:.875rem}.snapshot-modal-icon{display:grid;height:2.5rem;width:2.5rem;flex-shrink:0;place-items:center;border-radius:.75rem;background:color-mix(in srgb,var(--theme-text) 7%,transparent);color:var(--theme-text)}.share-modal-header h2{font-size:1.25rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.snapshot-modal-header h2{font-size:1.125rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.share-modal-header p,.snapshot-modal-header p,.share-block-heading p{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.snapshot-modal-header p{max-width:500px;line-height:1.25rem}.share-modal-body{max-height:calc(var(--app-viewport-height) - 12rem)}.share-modal-body>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.share-modal-body{overflow-y:auto;padding:1.25rem 1.5rem 1.5rem}.snapshot-modal-body{display:grid;max-height:calc(var(--app-viewport-height) - 13rem);gap:.75rem;overflow-y:auto;padding:1.25rem}.snapshot-link-row{display:grid;grid-template-columns:2.25rem minmax(0,1fr);-moz-column-gap:.75rem;column-gap:.75rem;border-radius:.75rem;border-width:1px;padding:1rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background:color-mix(in srgb,var(--theme-muted) 62%,transparent);border-color:var(--theme-border)}.snapshot-link-row.newest{background:var(--theme-base);border-color:color-mix(in srgb,var(--theme-text) 16%,var(--theme-border));box-shadow:var(--theme-subtle-shadow)}.snapshot-link-marker{display:grid;height:2.25rem;width:2.25rem;place-items:center;border-radius:.5rem;background:color-mix(in srgb,var(--theme-text) 7%,transparent);color:var(--theme-muted-text)}.snapshot-link-main{min-width:0px}.snapshot-link-title-row{display:flex;min-width:0px;align-items:center;gap:.5rem}.snapshot-link-actions{grid-column-start:2;margin-top:.75rem;display:flex;align-items:center;gap:.375rem}.snapshot-link-name{height:1.75rem;min-width:0px;flex:1 1 0%;border-radius:.375rem;border-width:1px;border-color:transparent;background-color:transparent;padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:600;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:var(--theme-text)}.snapshot-link-name:hover,.snapshot-link-name:focus{background:var(--theme-base);border-color:var(--theme-border)}.snapshot-latest-badge{flex-shrink:0;border-radius:9999px;padding:.125rem .5rem;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;background:var(--theme-color-safe-bg);color:var(--theme-color-safe)}.snapshot-link-meta{margin-top:.125rem;display:block;padding-left:.25rem;padding-right:.25rem;font-size:11px;font-weight:500;color:var(--theme-muted-text)}.snapshot-link-url{margin-top:.5rem;display:flex;height:2.25rem;width:100%;min-width:0px;align-items:center;gap:.5rem;border-radius:.5rem;border-width:1px;padding-left:.625rem;padding-right:.625rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:500;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background:color-mix(in srgb,var(--theme-muted) 72%,transparent);border-color:color-mix(in srgb,var(--theme-border) 72%,transparent);color:var(--theme-muted-text)}.snapshot-link-url:hover{background:var(--theme-muted);color:var(--theme-text)}.snapshot-link-url span{min-width:0px;flex:1 1 0%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.snapshot-link-url svg{flex-shrink:0}.snapshot-action-button,.snapshot-delete-button{display:inline-flex;height:2rem;align-items:center;justify-content:center;border-radius:.5rem;border-width:1px;font-size:.75rem;line-height:1rem;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.snapshot-action-button:disabled,.snapshot-delete-button:disabled{cursor:wait;opacity:.5}.snapshot-action-button,.snapshot-delete-button{border-color:var(--theme-border);color:var(--theme-muted-text)}.snapshot-action-button{gap:.375rem;padding-left:.625rem;padding-right:.625rem}.snapshot-delete-button{margin-left:auto;width:2rem}.snapshot-action-button:hover,.snapshot-delete-button:hover{background:var(--theme-hover);color:var(--theme-text)}.snapshot-delete-button:hover{background:var(--theme-color-danger-bg);border-color:color-mix(in srgb,var(--theme-color-danger) 22%,var(--theme-border));color:var(--theme-color-danger)}.snapshot-empty{display:grid;justify-items:center;border-radius:.75rem;border-width:1px;border-style:dashed;padding:2.5rem 1.5rem;text-align:center;border-color:var(--theme-border);color:var(--theme-muted-text)}.snapshot-empty>span{margin-bottom:.75rem;display:grid;height:2.5rem;width:2.5rem;place-items:center;border-radius:9999px;background:var(--theme-muted)}.snapshot-empty strong{font-size:.875rem;line-height:1.25rem;color:var(--theme-text)}.snapshot-empty p{margin-top:.25rem;max-width:24rem;font-size:.75rem;line-height:1.25rem}.snapshot-message{display:flex;align-items:center;gap:.5rem;border-top-width:1px;padding:.75rem 1.5rem;font-size:.75rem;line-height:1rem;font-weight:600;border-color:var(--theme-border)}.snapshot-message.success{background:var(--theme-color-safe-bg);color:var(--theme-color-safe)}.snapshot-message.error{background:var(--theme-color-danger-bg);color:var(--theme-color-danger)}.share-block>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.share-block-heading h3{font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.share-create-card{display:grid;gap:.75rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding:.75rem}.share-advanced-link{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.share-advanced-link summary{cursor:pointer;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.share-advanced-link[open] summary{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1))}.share-advanced-link>.share-choice-grid,.share-advanced-link>button{margin:.75rem;width:calc(100% - 1.5rem)}.share-quick-actions{display:grid;gap:.5rem}@media(min-width:768px){.share-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}.share-quick-actions button{min-height:6rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.share-quick-actions button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.share-quick-actions strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.share-quick-actions span{margin-top:.25rem;display:block;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.share-choice-grid,.share-link-permissions{display:grid;gap:.5rem}@media(min-width:768px){.share-choice-grid,.share-link-permissions{grid-template-columns:repeat(3,minmax(0,1fr))}}.share-choice,.share-link-permissions label,.share-link-scope{display:grid;gap:.375rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem}.share-choice span,.share-link-permissions label span,.share-link-scope span{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.share-url,.share-select{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.share-url:focus,.share-select:focus{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.share-link-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.share-link-card{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding:.75rem;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.share-link-topline{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.5rem}.share-link-icon-actions{display:flex;align-items:center;gap:.25rem}.share-link-topline>strong{font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.share-select{height:2.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.share-link-permissions .share-select,.share-choice .share-select{height:2rem;border-width:0px;background-color:transparent;padding-left:0;padding-right:0;font-weight:600}.share-link-scope strong{display:inline-flex;height:2rem;align-items:center;gap:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}button.share-link-scope{height:100%;width:100%;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}button.share-link-scope:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.share-link-scope-wrap{position:relative}.share-page-chip,.share-more-pages{display:inline-flex;height:1.75rem;align-items:center;gap:.25rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(231 229 228 / var(--tw-ring-opacity, 1))}button.share-page-chip{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}button.share-page-chip:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity, 1))}.share-link-copy-row{display:grid;grid-template-columns:1fr auto;gap:.5rem}.share-link-copy-actions{position:relative;display:flex;align-items:center;gap:.25rem}.share-qr-popover{margin-left:auto;margin-right:auto;display:grid;width:-moz-fit-content;width:fit-content;justify-items:center;gap:.5rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.75rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:menu-in .13s ease-out}.share-qr-popover svg{display:block;height:11rem;width:11rem}.share-qr-popover span{font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.share-url{height:2.5rem;min-width:0px;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.share-people-list>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.share-person-entry{position:relative;border-radius:.5rem;border-width:1px;border-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.share-person-entry:hover{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.share-person-row{display:grid;min-height:3.5rem;grid-template-columns:2rem 1fr auto auto;align-items:center;gap:.75rem;padding:.5rem}.share-page-selector{display:grid;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem}.share-page-selector-popover{position:absolute;right:0;top:calc(100% + .35rem);z-index:30;width:18rem;max-width:calc(100vw - 3rem);border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:menu-in .13s ease-out}.share-page-selector-popover:before{content:"";height:.4rem;left:0;position:absolute;right:0;top:-.4rem}.share-page-selector-up{bottom:calc(100% + .35rem);right:0;top:auto}.share-page-selector-up:before{bottom:-.4rem;top:auto}.share-page-selector-list{display:grid;max-height:13rem;gap:.25rem;overflow-y:auto}.share-page-selector-list label{display:flex;min-height:2.25rem;cursor:pointer;align-items:center;gap:.5rem;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.share-page-selector-list label:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))}.share-page-selector-list input{height:1rem;width:1rem;accent-color:#0f172a}.share-page-selector-list span{min-width:0px;flex:1 1 0%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-person-main{min-width:0px}.share-person-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.share-person-main span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.share-person-pages{display:flex;min-width:0px;max-width:13rem;align-items:center;justify-content:flex-end;gap:.25rem}.share-request-actions{display:flex;align-items:center;gap:.25rem}.share-request-actions button{height:2rem;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.share-request-actions button:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.share-menu{position:relative}.share-menu summary{display:grid;height:2rem;width:2rem;list-style-type:none;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.share-menu summary:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.share-menu summary::-webkit-details-marker{display:none}.share-menu-popover{position:absolute;right:0;top:2.25rem;z-index:10;min-width:11rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);animation:menu-in .13s ease-out}.share-menu-popover-up{bottom:2.25rem;top:auto}.share-menu-popover button{display:flex;height:2.25rem;width:100%;align-items:center;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.share-menu-popover button:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.share-menu-popover button:disabled{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.share-menu-popover button:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.share-empty{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1));padding:1rem .75rem;text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.share-error{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity, 1));padding:.75rem 1.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.collaborator-list{pointer-events:auto;position:fixed;right:3rem;top:1.25rem;z-index:20;display:flex;max-width:min(16rem,calc(100vw - 6rem));flex-direction:column;align-items:flex-start;gap:.5rem;text-align:left;animation:fade-in .18s ease-out}.collaborator-pill{position:relative;display:flex;min-height:2.25rem;width:100%;max-width:13rem;flex-wrap:wrap;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;border-width:1px;padding:.25rem .375rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:600;--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background:color-mix(in srgb,var(--theme-base) 88%,transparent);border-color:var(--theme-border);border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow);color:var(--theme-muted-text)}.collaborator-detail{pointer-events:none;display:flex;max-height:0px;width:100%;flex-basis:100%;flex-wrap:wrap;align-items:center;gap:.375rem;overflow:hidden;border-top-width:1px;border-color:transparent;font-size:.68rem;font-weight:600;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1));opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.collaborator-detail svg{flex-shrink:0;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.collaborator-device-tag{flex-basis:100%;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1));padding:.125rem .375rem;font-size:.62rem;font-weight:600;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.collaborator-pill:hover .collaborator-detail,.collaborator-pill:focus-within .collaborator-detail{margin-top:.25rem;max-height:5rem;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding-top:.25rem;opacity:1}.collaborator-pill.inactive{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));opacity:.6}.collaborator-dot{height:24px;width:24px}.collaborator-pill.inactive .collaborator-dot{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.image-file-input{position:absolute;height:1px;width:1px;opacity:0}.slash-menu{position:absolute;z-index:20;width:20rem;transform-origin:top left;overflow-y:auto;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.25rem;animation:menu-in .13s ease-out;border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow);max-height:18rem;max-width:calc(100% - 2rem)}.slash-menu button{display:flex;min-height:2.75rem;width:100%;align-items:center;gap:.75rem;padding:.625rem .75rem;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.slash-menu button:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1))}.slash-menu button{border-radius:var(--ui-control-radius)}.slash-menu button.active{background:color-mix(in srgb,var(--theme-accent) 9%,var(--theme-base));color:var(--theme-accent-contrast)}.slash-menu button.\!active{background:color-mix(in srgb,var(--theme-accent) 9%,var(--theme-base))!important;color:var(--theme-accent-contrast)!important}.slash-menu svg{flex-shrink:0;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.slash-menu strong{display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.slash-menu small{display:block;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.citation-picker{position:absolute;z-index:30;width:min(420px,calc(100vw - 2rem));overflow:hidden;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text);animation:menu-in .13s ease-out}.citation-picker-input-row{display:flex;height:2.5rem;align-items:center;gap:.5rem;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;background:var(--theme-muted);color:var(--theme-muted-text)}.citation-picker-input-row input{min-width:0px;flex:1 1 0%;background-color:transparent;font-size:.875rem;line-height:1.25rem;font-weight:500;outline:2px solid transparent;outline-offset:2px;color:var(--theme-text)}.citation-picker-results{margin-top:.5rem;display:flex;max-height:18rem;flex-direction:column;gap:.25rem;overflow-y:auto;padding-right:.25rem}.citation-picker-results button{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.375rem;padding:.625rem .75rem;text-align:left;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);color:var(--theme-muted-text)}.citation-picker-results button:hover,.citation-picker-results button.active{background:var(--theme-hover);color:var(--theme-text)}.citation-picker-results button.\!active{background:var(--theme-hover)!important;color:var(--theme-text)!important}.citation-picker-results strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;color:var(--theme-text)}.citation-picker-results small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;color:var(--theme-muted-text)}.citation-picker-separator{border-top:1px solid var(--theme-border);margin:.25rem 0}.icon-picker{animation:menu-in .13s ease-out;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:8px;box-shadow:var(--theme-shadow);display:flex;flex-direction:column;max-height:18rem;max-width:calc(100% - 2rem);overflow:hidden;position:absolute;width:20rem;z-index:30}.icon-picker-header{align-items:center;border-bottom:1px solid var(--theme-border);display:flex;gap:10px;padding:8px}.icon-picker-search{align-items:center;display:flex;flex:1;gap:8px}.icon-picker-search input{background:transparent;border:0;color:var(--theme-text);min-width:0;outline:0;width:100%;font-size:13px}.icon-picker-grid{flex:1;min-height:0;overflow-y:auto;position:relative}.icon-picker-virtual-space{position:relative;width:100%}.icon-picker-virtual-window{box-sizing:border-box;display:grid;gap:4px;grid-template-columns:repeat(4,minmax(0,1fr));left:0;padding:4px 6px;position:absolute;right:0;top:0}.icon-picker-grid button{align-items:center;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--theme-text);display:flex;flex-direction:column;gap:5px;height:64px;min-width:0;padding:7px 4px}.icon-picker-grid button:hover,.icon-picker-grid button:focus-visible,.icon-picker-grid button.active{background:var(--theme-hover);border-color:var(--theme-border);outline:0}.icon-picker-grid button.\!active{background:var(--theme-hover)!important;border-color:var(--theme-border)!important;outline:0!important}.icon-picker-grid button.active{box-shadow:inset 0 0 0 1px var(--theme-active)}.icon-picker-grid button.\!active{box-shadow:inset 0 0 0 1px var(--theme-active)!important}.icon-picker-cached-icon{background:currentColor;display:block;height:24px;-webkit-mask:var(--icon-picker-url) center / contain no-repeat;mask:var(--icon-picker-url) center / contain no-repeat;width:24px}.icon-picker-icon-placeholder{background:currentColor;border-radius:4px;display:block;height:24px;opacity:.16;width:24px}.icon-picker-grid span{font-size:10px;line-height:1.25;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.icon-picker-empty{color:var(--theme-muted-text);font-size:13px;grid-column:1 / -1;padding:24px 8px;text-align:center}.citation-status-card{position:absolute;left:50%;top:5rem;z-index:20;display:flex;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;gap:.5rem;border-radius:.5rem;border-width:1px;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.citation-toast{position:fixed;left:50%;top:1.25rem;z-index:70;max-width:min(28rem,calc(100vw - 2rem));--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:1px;padding:.5rem 1rem;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:menu-in .15s ease-out;background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.multi-device-toast{position:fixed;bottom:1.25rem;right:1.25rem;z-index:70;display:grid;max-width:min(22rem,calc(100vw - 2rem));gap:.125rem;border-radius:.5rem;border-width:1px;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 18px 45px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 18px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:menu-in .15s ease-out;background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.multi-device-toast strong{font-weight:600}.multi-device-toast span{color:var(--theme-muted-text)}.citation-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background-color:#02061733;padding-left:1.25rem;padding-right:1.25rem;--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:backdrop-in .15s ease-out}.citation-modal{display:flex;max-height:min(760px,calc(var(--app-viewport-height) - 4rem));width:100%;max-width:64rem;flex-direction:column;overflow:hidden;border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background:var(--theme-base);color:var(--theme-text);animation:modal-in .13s ease-out}.citation-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));padding:1rem 1.25rem;border-color:var(--theme-border)}.citation-modal-header h2{font-size:1.25rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;color:var(--theme-text)}.citation-modal-header p{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:var(--theme-muted-text)}.citation-modal-heading{align-items:center;display:flex;gap:.7rem;min-width:0}.citation-settings-back{align-items:center;border-radius:.45rem;color:var(--theme-muted-text);display:inline-flex;flex:0 0 auto;height:2rem;justify-content:center;width:2rem}.citation-settings-back:hover{background:var(--theme-hover);color:var(--theme-text)}.citation-settings-page{display:grid;align-content:start;gap:2rem;margin:0 auto;min-height:0;max-width:38rem;overflow-y:auto;padding:2.25rem}.citation-settings-section{display:grid;gap:.7rem}.citation-settings-section h3{color:var(--theme-text);font-size:.9rem;font-weight:700}.citation-manager-layout{display:grid;min-height:0px;flex:1 1 0%;grid-template-columns:17rem 1fr}.citation-manager-sidebar{display:flex;min-height:0px;flex-direction:column;gap:.75rem;border-right-width:1px;padding:1rem;border-color:var(--theme-border);background:var(--theme-muted)}.citation-manager-search{display:flex;height:2.5rem;flex-shrink:0;align-items:center;gap:.5rem;border-radius:.375rem;border-width:1px;padding-left:.75rem;padding-right:.75rem;background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-muted-text)}.citation-manager-search input{min-width:0px;flex:1 1 0%;background-color:transparent;font-size:.875rem;line-height:1.25rem;font-weight:500;outline:2px solid transparent;outline-offset:2px;color:var(--theme-text)}.citation-manager-toolbar{align-items:center;display:grid;gap:.45rem;grid-template-columns:minmax(0,1fr) auto}.citation-manager-settings-button{align-items:center;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:.5rem;color:var(--theme-muted-text);display:inline-flex;height:2.5rem;justify-content:center;transition:background-color .14s ease,border-color .14s ease,color .14s ease;width:2.5rem}.citation-manager-settings-button:hover,.citation-manager-settings-button.active{background:var(--theme-hover);border-color:color-mix(in srgb,var(--theme-accent) 32%,var(--theme-border));color:var(--theme-text)}.citation-manager-settings-button.\!active{background:var(--theme-hover)!important;border-color:color-mix(in srgb,var(--theme-accent) 32%,var(--theme-border))!important;color:var(--theme-text)!important}.citation-style-select{display:grid;gap:.55rem}.citation-style-select span{font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;color:var(--theme-muted-text)}.citation-style-select select{height:2.5rem;border-radius:.375rem;border-width:1px;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;outline:2px solid transparent;outline-offset:2px;background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.citation-style-select small{font-size:.75rem;line-height:1rem;line-height:1.375;color:var(--theme-muted-text)}.citation-manager-list{display:flex;min-height:0px;flex:1 1 0%;flex-direction:column;gap:.25rem;overflow-y:auto;padding-right:.25rem}.citation-manager-list-row{display:grid;grid-template-columns:1fr auto;align-items:flex-start;gap:.25rem;border-radius:.375rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);border:1px solid transparent;color:var(--theme-muted-text)}.citation-manager-list-row:hover,.citation-manager-list-row.active{background:var(--theme-hover);border-color:color-mix(in srgb,var(--theme-accent) 20%,var(--theme-border));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 8%,transparent);color:var(--theme-text)}.citation-manager-list-row.\!active{background:var(--theme-hover)!important;border-color:color-mix(in srgb,var(--theme-accent) 20%,var(--theme-border))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 8%,transparent)!important;color:var(--theme-text)!important}.citation-manager-list-main{min-width:0px;border-radius:.375rem;padding:.5rem .75rem;text-align:left}.citation-manager-list-delete{margin-right:.25rem;margin-top:.25rem;display:grid;height:2rem;width:2rem;place-items:center;border-radius:.375rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.citation-manager-list-delete:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.citation-manager-list-delete{opacity:0;pointer-events:none;transform:scale(.92)}.citation-manager-list-row:hover .citation-manager-list-delete,.citation-manager-list-row.active .citation-manager-list-delete,.citation-manager-list-row:focus-within .citation-manager-list-delete{opacity:1;pointer-events:auto;transform:scale(1)}.citation-manager-list-row.\!active .citation-manager-list-delete{opacity:1!important;pointer-events:auto!important;transform:scale(1)!important}.citation-manager-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:600;color:var(--theme-text)}.citation-manager-list small{margin-top:.125rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;color:var(--theme-muted-text)}.citation-manager-detail{min-height:0px;overflow-y:auto;padding:1.25rem}.citation-manager-detail-header{margin-bottom:1rem;display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;border-bottom-width:1px;padding-bottom:1rem;border-color:var(--theme-border)}.citation-manager-detail-header h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.125rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;color:var(--theme-text)}.citation-manager-detail-header p{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:var(--theme-muted-text)}.citation-editor-grid{display:grid;gap:.5rem}@media(min-width:768px){.citation-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.citation-field{display:grid;gap:.375rem}.citation-field span{font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;color:var(--theme-muted-text)}.citation-authors-field{margin-top:.1rem;min-width:0}.citation-authors-list{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.4rem}.citation-author-row{display:grid;flex:0 1 25rem;gap:.3rem;grid-template-columns:2rem minmax(5rem,1fr) minmax(5rem,1fr) auto;max-width:25rem;min-width:min(17rem,100%);padding:.28rem;border:1px solid color-mix(in srgb,var(--theme-border) 72%,transparent);border-radius:.5rem;background:color-mix(in srgb,var(--theme-base) 68%,transparent)}.citation-author-row.organization{grid-template-columns:2rem minmax(10rem,1fr) auto}.citation-author-kind{align-items:center;border:1px solid var(--theme-border);border-radius:.375rem;color:var(--theme-muted-text);display:flex;height:2rem;justify-content:center;position:relative;width:2rem}.citation-author-kind select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;top:0;right:0;bottom:0;left:0;opacity:0;position:absolute;width:100%}.citation-author-kind>svg:last-child{bottom:.08rem;position:absolute;right:.08rem}.citation-author-row input{border:1px solid var(--theme-border);border-radius:.375rem;background:var(--theme-base);color:var(--theme-text);font-size:.8rem;font-weight:550;height:2rem;min-width:0;outline:none;padding:0 .45rem}.citation-author-row button{align-items:center;border:1px solid var(--theme-border);border-radius:.375rem;color:var(--theme-muted-text);display:grid;height:2rem;justify-items:center;width:2rem}.citation-author-row button:hover{background:var(--theme-color-danger-bg);border-color:color-mix(in srgb,var(--theme-color-danger) 22%,var(--theme-border));color:var(--theme-color-danger)}@media(max-width:980px){.citation-author-row,.citation-author-row.organization{grid-template-columns:2rem minmax(0,1fr) minmax(0,1fr) auto}.citation-author-row.organization{grid-template-columns:2rem minmax(0,1fr) auto}}.citation-author-placeholder{align-items:center;align-self:center;border:1px dashed var(--theme-border);border-radius:999px;color:var(--theme-muted-text);display:inline-flex;font-size:.68rem;gap:.25rem;justify-content:center;min-height:1.9rem;padding:0 .6rem;width:auto}.citation-author-placeholder:hover{background:var(--theme-hover);color:var(--theme-text)}.citation-add-field{position:relative}.citation-add-field>button{align-items:center;border:1px dashed var(--theme-border);border-radius:.5rem;color:var(--theme-muted-text);display:inline-flex;font-size:.76rem;font-weight:650;gap:.35rem;min-height:2.25rem;padding:0 .7rem}.citation-add-field>button:hover{background:var(--theme-hover);color:var(--theme-text)}.citation-add-field-menu{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:.65rem;box-shadow:var(--theme-menu-shadow);display:grid;gap:.15rem;left:0;max-height:15rem;min-width:12rem;overflow-y:auto;padding:.3rem;position:absolute;top:calc(100% + .35rem);z-index:4}.citation-add-field-menu button{border-radius:.4rem;color:var(--theme-muted-text);font-size:.78rem;padding:.45rem .55rem;text-align:left}.citation-add-field-menu button:hover{background:var(--theme-hover);color:var(--theme-text)}.citation-field input,.citation-field textarea{height:2.25rem;min-width:0px;border-radius:.375rem;border-width:1px;padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;outline:2px solid transparent;outline-offset:2px;background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.citation-field textarea{min-height:5rem;resize:vertical;padding-top:.5rem;padding-bottom:.5rem}.citation-empty{border-radius:.5rem;padding:1rem .75rem;text-align:center;font-size:.875rem;line-height:1.25rem;background:var(--theme-muted);color:var(--theme-muted-text)}@media(max-width:820px){.citation-manager-layout{grid-template-columns:repeat(1,minmax(0,1fr))}.citation-manager-sidebar{max-height:16rem;border-bottom-width:1px;border-right-width:0px}}.ProseMirror{min-height:var(--app-viewport-height);transition:background-color .36s ease,color .26s ease}.doc-transition>div{transition:background-color .36s ease,color .26s ease}.editor-surface{animation:fade-in .18s ease-out;cursor:text;max-width:940px;margin:0 auto;padding:96px 56px 160px;position:relative;font-size:18px;line-height:1.75;transition:color .26s ease,background-color .36s ease,font-size .26s ease,line-height .26s ease,max-width .26s ease}.editor-surface a{color:var(--theme-accent);cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.16em}.editor-surface a:hover{text-decoration-thickness:2px}.editor-surface .document-icon{background:transparent!important;color:inherit!important;display:inline-flex;height:.88em;justify-content:center;margin:0 .08em;position:relative;vertical-align:-.1em;width:.88em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.editor-surface .document-icon-glyph{background:transparent!important;display:block;height:100%;position:relative;width:100%}.editor-surface .document-icon-glyph:before{background-color:currentColor;content:"";top:0;right:0;bottom:0;left:0;-webkit-mask:var(--document-icon-url) center / contain no-repeat;mask:var(--document-icon-url) center / contain no-repeat;position:absolute}.editor-surface .document-icon-glyph:not([style*=--document-icon-url]):before{border-radius:3px;-webkit-mask:none;mask:none;opacity:.16}.editor-surface .document-icon.is-selected{outline:2px solid var(--editor-node-selected-outline);outline-offset:2px}.editor-surface em .document-icon-glyph,.editor-surface .document-icon.has-italic .document-icon-glyph{transform:skew(-10deg);transform-origin:center}.editor-surface .styled-divider{align-items:center;color:color-mix(in srgb,currentColor 72%,transparent);cursor:pointer;display:flex;height:2.6rem;margin:2rem 0;padding:.65rem 0;position:relative;width:100%}.editor-surface .styled-divider.ProseMirror-selectednode{outline:2px solid color-mix(in srgb,var(--theme-muted-text) 24%,transparent);outline-offset:7px}.styled-divider-decoration,.divider-style-preview .styled-divider-decoration{display:block;flex:1 1 auto;height:1.2rem;min-width:0;position:relative}.styled-divider-decoration:before,.divider-style-preview .styled-divider-decoration:before{background:currentColor;content:"";height:1px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.styled-divider[data-divider-style=dotted] .styled-divider-decoration:before,.divider-style-preview[data-divider-style=dotted] .styled-divider-decoration:before{background:none;border-top:2px dotted currentColor;height:0}.styled-divider[data-divider-style=diamond] .styled-divider-decoration:before,.styled-divider[data-divider-style=heraldic] .styled-divider-decoration:before,.styled-divider[data-divider-style=botanical] .styled-divider-decoration:before,.styled-divider[data-divider-style=stars] .styled-divider-decoration:before,.divider-style-preview[data-divider-style=diamond] .styled-divider-decoration:before,.divider-style-preview[data-divider-style=heraldic] .styled-divider-decoration:before,.divider-style-preview[data-divider-style=botanical] .styled-divider-decoration:before,.divider-style-preview[data-divider-style=stars] .styled-divider-decoration:before{background:linear-gradient(to right,currentColor 0 43%,transparent 43% 57%,currentColor 57% 100%)}.styled-divider-decoration:after,.divider-style-preview .styled-divider-decoration:after{align-items:center;display:none;font-family:Georgia,Times New Roman,serif;height:1.2rem;justify-content:center;left:43%;line-height:1;position:absolute;right:43%;top:0;white-space:nowrap}.styled-divider[data-divider-style=diamond] .styled-divider-decoration:after,.divider-style-preview[data-divider-style=diamond] .styled-divider-decoration:after{content:"◆";display:flex;font-size:.8em}.styled-divider[data-divider-style=heraldic] .styled-divider-decoration:after,.divider-style-preview[data-divider-style=heraldic] .styled-divider-decoration:after{content:"✦";display:flex;font-size:1.15em}.styled-divider[data-divider-style=botanical] .styled-divider-decoration:after,.divider-style-preview[data-divider-style=botanical] .styled-divider-decoration:after{content:"❦";display:flex;font-size:1.28em}.styled-divider[data-divider-style=stars] .styled-divider-decoration:after,.divider-style-preview[data-divider-style=stars] .styled-divider-decoration:after{content:"✦ · ✦";display:flex;font-size:.82em;letter-spacing:.06em}.styled-divider-terminal,.divider-style-preview .styled-divider-terminal{display:none;flex:0 0 auto;font-family:Georgia,Times New Roman,serif;font-size:.66em;letter-spacing:.02em;line-height:1;white-space:nowrap}.styled-divider[data-divider-style=heraldic] .styled-divider-terminal,.divider-style-preview[data-divider-style=heraldic] .styled-divider-terminal{display:block}.styled-divider[data-divider-style=heraldic] .styled-divider-terminal.left:before,.divider-style-preview[data-divider-style=heraldic] .styled-divider-terminal.left:before{content:"◀ ◆ •"}.styled-divider[data-divider-style=heraldic] .styled-divider-terminal.right:before,.divider-style-preview[data-divider-style=heraldic] .styled-divider-terminal.right:before{content:"• ◆ ▶"}.divider-style-toolbar{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:12px;box-shadow:var(--theme-menu-shadow);display:grid;gap:.32rem;grid-template-columns:repeat(3,minmax(0,1fr));padding:.42rem;width:330px}.divider-style-toolbar>button{align-items:stretch;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--theme-muted-text);display:flex;flex-direction:column;font-size:.66rem;font-weight:650;gap:.18rem;padding:.42rem .46rem .34rem;text-align:left}.divider-style-toolbar>button:hover{background:var(--theme-hover)}.divider-style-toolbar>button.active{background:var(--theme-active);border-color:var(--theme-active);color:var(--theme-active-text)}.divider-style-preview{align-items:center;color:currentColor;display:flex;height:1.25rem;width:100%}.editor-surface .cover-page[data-type=cover-page]{aspect-ratio:210 / 297;border:1px solid color-mix(in srgb,currentColor 18%,transparent);box-sizing:border-box;box-shadow:0 1px 2px color-mix(in srgb,currentColor 5%,transparent),0 18px 48px color-mix(in srgb,currentColor 7%,transparent);display:flex;flex-direction:column;justify-content:center;margin-bottom:5rem;min-height:760px;padding:clamp(4rem,10%,7rem) clamp(2rem,9%,5.5rem);position:relative;width:100%}.cover-page-actions{display:flex;gap:.4rem;opacity:0;position:absolute;right:1rem;top:1rem;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease;z-index:2}.cover-page:hover .cover-page-actions,.cover-page:focus-within .cover-page-actions{opacity:1;transform:translateY(0)}.cover-page-actions button{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:var(--theme-base);border:1px solid color-mix(in srgb,currentColor 13%,transparent);border-radius:999px;color:var(--theme-text);display:inline-flex;font-size:.72rem;font-weight:650;gap:.35rem;padding:.43rem .68rem;transition:background-color .14s ease,border-color .14s ease}.cover-page-actions button:hover{background:var(--theme-hover);border-color:color-mix(in srgb,currentColor 22%,transparent)}.cover-page-actions button.danger:hover{color:var(--theme-color-danger)}.cover-page-actions input{display:none}.cover-page-emblem{align-items:center;border:1.5px dashed color-mix(in srgb,currentColor 38%,transparent);border-radius:999px;color:var(--theme-text);display:inline-flex;flex:0 0 auto;height:4rem;justify-content:center;margin-bottom:2.15rem;margin-left:0;margin-right:auto;padding:0;transition:box-shadow .15s ease,transform .18s cubic-bezier(.2,.8,.2,1);width:4rem}.cover-page:has(p[data-block-variant=title][style*="text-align: center"]) .cover-page-emblem{margin-left:auto;margin-right:auto}.cover-page:has(p[data-block-variant=title][style*="text-align: right"]) .cover-page-emblem{margin-left:auto;margin-right:0}.editor-scroll-container{scroll-behavior:smooth}.empty-sidebar-create{display:grid;justify-items:start;gap:.35rem;width:100%;padding:1rem;border:1px dashed var(--theme-border, rgba(15, 23, 42, .14));border-radius:10px;text-align:left;transition:background-color .14s ease,border-color .14s ease,transform .14s ease}.empty-sidebar-create:hover{border-color:color-mix(in srgb,var(--theme-text, #0f172a) 28%,transparent);background:var(--theme-hover, rgba(15, 23, 42, .04));transform:translateY(-1px)}.empty-sidebar-create strong{color:var(--theme-text, #0f172a);font-size:.78rem}.empty-sidebar-create span{color:var(--theme-muted-text, #64748b);font-size:.68rem;line-height:1.4}.cover-page-emblem:not(:disabled):hover{box-shadow:0 0 0 5px color-mix(in srgb,currentColor 7%,transparent);transform:translateY(-1px)}.cover-page-emblem.has-icon{border-color:transparent}.cover-page-emblem-glyph{box-sizing:border-box;display:block;height:1.9rem;padding:.16rem;position:relative;width:1.9rem}.cover-page-emblem-glyph:before{border:1px dashed color-mix(in srgb,currentColor 46%,transparent);border-radius:50%;content:"";top:.42rem;right:.42rem;bottom:.42rem;left:.42rem;position:absolute}.cover-page-emblem.has-icon .cover-page-emblem-glyph:before{display:none}.cover-page-emblem-glyph img{display:block;height:100%;-o-object-fit:contain;object-fit:contain;overflow:visible;width:100%}.cover-page-content{width:100%}.editor-surface .cover-page[data-type=cover-page]>*+*{margin-top:.85em}.editor-surface .cover-page[data-type=cover-page]+*{margin-top:0}.editor-surface p.document-tag-paragraph{color:color-mix(in srgb,currentColor 58%,transparent);font-size:.9em;opacity:.86}.editor-surface .document-tag-chip{background:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 14%,transparent);border:1px solid color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 22%,transparent);border-radius:5px;color:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 82%,var(--theme-text));font-weight:650;padding:0 .18em}.editor-surface .document-tag-chip.ProseMirror-selectednode{box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 30%,transparent);outline:none}.editor-surface p[data-block-variant=supertitle]{color:color-mix(in srgb,currentColor 58%,transparent);font-size:.78rem;font-weight:700;letter-spacing:.16em;line-height:1.4;margin-bottom:1.65rem;margin-top:0;text-transform:uppercase}.editor-surface p[data-block-variant=supertitle]+p[data-block-variant=title]{margin-top:0}.editor-surface p[data-block-variant=title]{color:inherit;font-size:2.55rem;font-weight:750;line-height:1.04;margin-bottom:.18em;margin-top:0}.editor-surface p[data-block-variant=subtitle]{color:color-mix(in srgb,currentColor 64%,transparent);font-size:1.16rem;font-weight:450;line-height:1.45;margin-top:.15em}.editor-surface p[data-block-variant=title]+*{margin-top:2.35rem}.editor-surface p[data-block-variant=subtitle]+*{margin-top:2.35rem}.editor-surface .checklist{list-style:none;margin:1em 0;padding:0}.editor-surface li[data-type=checklist-item]{align-items:flex-start;display:flex;gap:.55rem;margin:.38rem 0}.checklist-tick{background:var(--theme-base);border:1.5px solid var(--theme-muted-text);border-radius:4px;flex:0 0 1.05rem;height:1.05rem;margin-top:.25em;padding:0;width:1.05rem}.is-checked>.checklist-tick{background:var(--theme-accent);border-color:var(--theme-accent)}.is-checked>.checklist-tick:after{color:var(--theme-active-text, #fff);content:"✓";display:block;font-size:.78rem;font-weight:800;line-height:.9rem}.checklist-content{flex:1;min-width:0}.is-checked>.checklist-content{opacity:.62;text-decoration:line-through}@media(max-width:720px){.editor-surface .cover-page[data-type=cover-page]{aspect-ratio:auto;margin-bottom:3rem;min-height:72svh;padding:4rem 1.5rem}.cover-page-actions{opacity:1;right:.65rem;top:.65rem;transform:none}.cover-page-actions button span{display:none}}@media(max-width:420px),(max-height:620px){.editor-surface .cover-page[data-type=cover-page]{min-height:min(66svh,31rem);padding:clamp(1.5rem,7vw,2.5rem) clamp(1rem,6vw,1.75rem)}.cover-page-emblem{height:2.75rem;margin-bottom:1.2rem;width:2.75rem}.editor-surface .cover-page[data-type=cover-page] p[data-block-variant=title]{font-size:clamp(1.5rem,9vw,2.1rem)}.editor-surface .cover-page[data-type=cover-page] p[data-block-variant=subtitle]{font-size:.95rem}.heading-outline-rail{display:none}}.cover-page-add-zone{height:42px;left:50%;max-width:940px;position:absolute;top:58px;transform:translate(-50%);width:calc(100% - 72px);z-index:8}.cover-page-add-zone:before{border-top:1px dashed color-mix(in srgb,currentColor 13%,transparent);content:"";left:0;opacity:0;position:absolute;right:0;top:20px;transition:opacity .14s ease}.cover-page-add-zone button{align-items:center;background:var(--theme-base);border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:999px;box-shadow:0 6px 18px color-mix(in srgb,currentColor 8%,transparent);color:color-mix(in srgb,currentColor 72%,transparent);display:flex;font-size:.72rem;font-weight:650;gap:.3rem;left:50%;opacity:0;padding:.42rem .68rem;position:absolute;top:0;transform:translate(-50%,-3px);transition:opacity .14s ease,transform .14s ease}.cover-page-add-zone:hover:before,.cover-page-add-zone:focus-within:before,.cover-page-add-zone:hover button,.cover-page-add-zone:focus-within button{opacity:1}.cover-page-add-zone:hover button,.cover-page-add-zone:focus-within button{transform:translate(-50%)}.icon-picker-colors{align-items:center;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);display:flex;gap:.48rem;padding:.65rem .8rem}.icon-picker-colors>span{color:var(--theme-muted-text);font-size:.68rem;font-weight:650;margin-right:.2rem;text-transform:uppercase}.icon-picker-colors button{border:2px solid transparent;border-radius:50%;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-text) 10%,transparent);height:1.35rem;padding:0;width:1.35rem}.icon-picker-colors button.active{border-color:var(--theme-base);box-shadow:0 0 0 2px var(--theme-text)}.icon-picker-cover-actions{border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);padding:.5rem .8rem}.icon-picker-cover-actions button{align-items:center;background:transparent!important;border:0!important;border-radius:6px;color:var(--theme-color-danger);display:flex;font-size:.74rem;font-weight:650;gap:.38rem;padding:.38rem .46rem}.icon-picker-cover-actions button:hover{background:var(--theme-color-danger-bg)}.ai-ghost-completion{color:color-mix(in srgb,currentColor 48%,transparent);pointer-events:none;vertical-align:baseline;white-space:pre-wrap}.ai-ghost-completion.in-heading{font-weight:inherit;line-height:inherit}.ai-outline-loading{color:color-mix(in srgb,currentColor 42%,transparent);font-size:.78em;margin-left:.55em;align-items:center;display:inline-flex;gap:.45em;pointer-events:auto}.ai-outline-stop{background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;padding:0!important;text-decoration:underline;text-underline-offset:.16em}.ai-ghost-completion>span{animation:ai-letter-float 2.8s ease-in-out infinite alternate;animation-delay:calc(var(--ai-index) * -47ms);display:inline-block;filter:blur(var(--ai-blur));opacity:var(--ai-opacity);transform:translate(var(--ai-drift-x),var(--ai-drift-y))}.ai-ghost-completion>.ai-ghost-space{min-width:.25em}.ai-editor-hint{color:var(--theme-muted-text);font-size:.9em;opacity:.52;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ai-fix-removed{color:color-mix(in srgb,currentColor 44%,transparent);text-decoration:line-through;text-decoration-thickness:1px}.ai-fix-added{color:color-mix(in srgb,currentColor 52%,transparent);pointer-events:none}.ai-fix-added.is-replacement:not(.is-punctuation){margin-left:.22em}.ai-fix-added.is-insertion:not(.is-punctuation){margin-inline:.2em}.ai-auto-fix-removed{animation:ai-auto-fix-remove 1s ease-in-out both;color:#dc2626;text-decoration:line-through;text-decoration-color:transparent;text-decoration-thickness:1px}.ai-auto-fix-added{animation:ai-auto-fix-add 1s ease-out both;color:#16a34a;display:inline-block;pointer-events:none}@keyframes ai-auto-fix-remove{0%,12%{text-decoration-color:transparent}24%,to{text-decoration-color:#dc2626}}@keyframes ai-auto-fix-add{0%,30%{opacity:0}48%,to{opacity:1}}.editor-surface p:has(.ai-fix-anchor){position:relative}.ai-fix-anchor{display:block;height:0;left:0;overflow:visible;position:absolute;top:0;width:0;z-index:15}.ai-fix-dot{align-items:center;background:transparent;border:0;border-radius:5px;color:color-mix(in srgb,currentColor 58%,transparent);display:inline-flex;height:24px;justify-content:center;left:-56px;opacity:.76;padding:3px;position:absolute;top:.5lh;transform:translateY(-50%);transition:background-color .14s ease,color .14s ease,opacity .14s ease,transform .14s ease;width:24px}.ai-fix-dot:hover,.ai-fix-anchor.menu-open .ai-fix-dot{background:color-mix(in srgb,currentColor 8%,transparent);color:color-mix(in srgb,currentColor 78%,transparent);opacity:1;transform:translateY(calc(-50% - 1px))}.ai-fix-anchor.is-expanded:not(.menu-open) .ai-fix-dot{opacity:.48}.ai-fix-dot svg{height:16px;width:16px}.ai-fix-menu{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:9px;box-shadow:0 12px 32px #0f172a29;display:flex;flex-direction:column;gap:2px;left:-56px;min-width:210px;padding:5px;position:absolute;top:calc(.5lh + 13px)}.ai-fix-menu button{border-radius:6px;color:var(--theme-text);font:500 .78rem/1.2 inherit;padding:8px 10px;text-align:left;white-space:nowrap}.ai-fix-menu button:hover{background:var(--theme-hover)}.ai-fix-menu button.primary{color:color-mix(in srgb,var(--theme-text) 88%,var(--theme-accent));font-weight:650}.sidebar-action-button.active{background:color-mix(in srgb,var(--theme-accent) 12%,transparent);color:var(--theme-accent)}.ai-collaborator-layout{position:relative}.research-card{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:13px;box-shadow:0 18px 48px #0f172a2e;color:var(--theme-text);display:flex;flex-direction:column;max-height:min(540px,calc(100% - 24px));overflow:hidden;position:absolute;width:min(370px,calc(100% - 24px));z-index:20}.research-heading-markers{top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;z-index:12}.research-heading-marker{align-items:center;background:var(--theme-accent-soft);border:1px solid color-mix(in srgb,var(--theme-accent) 38%,var(--theme-border));border-radius:999px;color:var(--theme-accent-contrast);display:inline-flex;height:22px;justify-content:center;padding:0;pointer-events:auto;position:absolute;transform:translateY(-1px);transition:background-color .15s ease,transform .15s ease;width:22px}.research-heading-marker:hover,.research-heading-marker:focus-visible{background:var(--theme-active);outline:none;transform:translateY(-2px) scale(1.06)}.research-card>header{align-items:center;border-bottom:1px solid var(--theme-border);cursor:grab;display:flex;gap:10px;justify-content:space-between;padding:10px 11px 9px 13px;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.research-card>header:active{cursor:grabbing}.research-card-heading{display:grid;gap:1px;min-width:0}.research-card-heading strong{font-size:.78rem}.research-card-heading span{color:var(--theme-muted-text);font-size:.65rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-card-actions{align-items:center;display:flex;flex:0 0 auto;gap:2px}.research-card>header button{align-items:center;border-radius:6px;color:var(--theme-muted-text);display:inline-flex;flex:0 0 auto;height:27px;justify-content:center;width:27px}.research-card>header button:hover{background:var(--theme-hover);color:var(--theme-text)}.research-card-body{display:grid;gap:12px;overflow-y:auto;padding:11px}.research-card-loading,.research-card-error{align-items:center;color:var(--theme-muted-text);display:flex;font-size:.72rem;gap:8px;min-height:54px}.research-card-loading svg{animation:research-card-spin .9s linear infinite}.research-card-progress{display:grid;gap:11px}.research-progress-commentary{color:var(--theme-text);font-size:.73rem;line-height:1.5;margin:0}.research-progress-queries,.research-progress-pages{display:grid;gap:5px}.research-progress-queries h3,.research-progress-pages h3{color:var(--theme-muted-text);font-size:.6rem;font-weight:750;letter-spacing:.06em;margin:0;text-transform:uppercase}.research-progress-queries>div{align-items:flex-start;background:var(--theme-muted);border-radius:7px;color:var(--theme-text);display:flex;font-size:.65rem;gap:6px;line-height:1.4;padding:6px 7px}.research-progress-queries svg{color:var(--theme-muted-text);flex:0 0 auto;margin-top:1px}.research-progress-pages ol{display:grid;gap:3px;list-style:none;margin:0;padding:0}.research-progress-pages li{align-items:baseline;display:grid;gap:1px;min-width:0;padding:3px 1px}.research-progress-pages a{color:var(--theme-text);font-size:.66rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-progress-pages span{color:var(--theme-muted-text);font-size:.57rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-progress-status{align-items:center;color:var(--theme-muted-text);display:flex;font-size:.68rem;font-weight:650;gap:7px}.research-progress-status.complete{color:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-text))}.research-card-error{align-items:flex-start;flex-direction:column}.research-card-timeout{align-items:center;background:color-mix(in srgb,var(--theme-muted) 72%,var(--theme-surface));border:1px solid var(--theme-border);border-radius:9px;color:var(--theme-text);display:flex;gap:9px;min-height:76px;padding:11px}.research-card-timeout svg{color:var(--theme-muted-text);flex:0 0 auto}.research-card-timeout div{display:grid;gap:2px}.research-card-timeout strong{font-size:.74rem}.research-card-timeout span{color:var(--theme-muted-text);font-size:.67rem;line-height:1.4}.research-card-refusal{align-items:flex-start;background:color-mix(in srgb,#b45309 8%,var(--theme-surface));border:1px solid color-mix(in srgb,#b45309 24%,var(--theme-border));border-radius:8px;color:var(--theme-text);display:flex;font-size:.72rem;gap:8px;line-height:1.45;padding:10px}.research-card-refusal svg{color:#b45309;flex:0 0 auto;margin-top:1px}.research-card-error button,.research-description button{background:var(--theme-accent);border-radius:7px;color:var(--theme-active-text);font-size:.68rem;font-weight:650;padding:6px 9px}.research-description{display:grid;gap:8px}.research-description label{color:var(--theme-muted-text);font-size:.71rem;line-height:1.45}.research-description input{background:var(--theme-muted);border:1px solid var(--theme-border);border-radius:8px;color:var(--theme-text);font-size:.72rem;outline:none;padding:8px 9px}.research-description button{justify-self:end}.research-description button:disabled{opacity:.4}.research-image-gallery{display:grid;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr))}.research-image-gallery>button{aspect-ratio:4 / 3;background:var(--theme-muted);border:0;border-radius:7px;overflow:hidden;padding:0;position:relative}.research-image-gallery img{height:100%;-o-object-fit:cover!important;object-fit:cover!important;transition:transform .16s ease;width:100%}.research-image-gallery>button:hover img{transform:scale(1.035)}.research-image-gallery>button>span{align-items:center;background:color-mix(in srgb,#0f172a 78%,transparent);border-radius:5px;bottom:5px;color:#fff;display:flex;font-size:.56rem;font-weight:700;gap:3px;opacity:0;padding:3px 5px;pointer-events:none;position:absolute;right:5px;transition:opacity .12s ease}.research-image-gallery>button:hover>span,.research-image-gallery>button:focus-visible>span{opacity:1}.research-answer{font-size:.75rem;line-height:1.55}.research-answer-markdown>:first-child{margin-top:0}.research-answer-markdown>:last-child{margin-bottom:0}.research-answer-markdown p{margin:0 0 .7em}.research-answer-markdown h1,.research-answer-markdown h2,.research-answer-markdown h3,.research-answer-markdown h4{font-size:.76rem;font-weight:750;margin:1em 0 .35em}.research-answer-markdown ul,.research-answer-markdown ol{margin:.45em 0 .75em;padding-left:1.2rem}.research-answer-markdown ul{list-style:disc outside}.research-answer-markdown ol{list-style:decimal outside}.research-answer-markdown li{display:list-item;padding-left:.08rem}.research-answer-markdown li+li{margin-top:.22em}.research-answer-markdown strong{font-weight:750}.research-answer-markdown mark{background:color-mix(in srgb,#facc15 35%,transparent);border-radius:3px;box-decoration-break:clone;color:inherit;font-weight:700;padding:.02em .16em;-webkit-box-decoration-break:clone}.research-answer-markdown table{border-collapse:collapse;display:block;font-size:.68rem;margin:.6em 0 .8em;max-width:100%;overflow-x:auto}.research-answer-markdown th,.research-answer-markdown td{border:1px solid var(--theme-border);padding:5px 6px;text-align:left;vertical-align:top}.research-answer-markdown th{background:var(--theme-muted);font-weight:700}.research-inline-citation,.research-answer-markdown a{background:color-mix(in srgb,var(--theme-accent) 12%,transparent);border:1px solid color-mix(in srgb,var(--theme-accent) 22%,transparent);border-radius:999px;color:var(--theme-accent);display:inline-flex;font-size:.58rem;font-weight:750;justify-content:center;line-height:1;margin:0 2px;min-width:17px;padding:3px 5px;vertical-align:.1em}.research-answer-markdown a{background:color-mix(in srgb,var(--theme-text) 9%,transparent);border-color:color-mix(in srgb,var(--theme-text) 13%,transparent);color:color-mix(in srgb,var(--theme-text) 72%,transparent);font-weight:650;padding-inline:7px;text-decoration:none}.research-results{border-top:1px solid var(--theme-border);display:grid;gap:2px;padding-top:9px}.research-results h3{color:var(--theme-muted-text);font-size:.62rem;font-weight:700;letter-spacing:.06em;margin:8px 0 4px;text-transform:uppercase}.research-source-number{color:var(--theme-accent);flex:0 0 auto;font-size:.64rem;font-weight:750}.research-results article{align-items:center;border-radius:7px;display:flex;gap:8px;justify-content:space-between;padding:6px}.research-results article:hover{background:var(--theme-hover)}.research-source-content{display:grid;gap:4px;min-width:0}.research-source-title{align-items:center;display:flex;gap:6px;min-width:0}.research-source-icon{align-items:center;background:var(--theme-muted);border-radius:4px;color:var(--theme-muted-text);display:inline-flex;flex:0 0 auto;height:18px;justify-content:center;overflow:hidden;width:18px}.research-source-icon img{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.research-source-title a{color:var(--theme-text);font-size:.69rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-source-content p{color:var(--theme-muted-text);display:-webkit-box;font-size:.64rem;line-height:1.42;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.research-source-url{color:var(--theme-muted-text);font-size:.58rem;opacity:.82;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-results article button{border:1px solid var(--theme-border);border-radius:6px;color:var(--theme-muted-text);flex:0 0 auto;font-size:.61rem;font-weight:650;padding:4px 6px}.research-results article button:hover{color:var(--theme-accent)}@keyframes research-card-spin{to{transform:rotate(360deg)}}.ai-collaborator-panel{background:var(--theme-base);border:1px solid color-mix(in srgb,var(--theme-border) 88%,transparent);border-radius:var(--ui-panel-radius);bottom:14px;box-shadow:var(--theme-panel-shadow);color:var(--theme-text);display:flex;flex-direction:column;height:min(560px,calc(100% - 28px));min-width:0;overflow:hidden;position:absolute;right:14px;width:min(380px,calc(100% - 28px));z-index:48}.ai-collaborator-tag-toast{background:var(--theme-base);border:1px solid color-mix(in srgb,var(--theme-border) 88%,transparent);border-radius:var(--ui-panel-radius);bottom:16px;box-shadow:var(--theme-panel-shadow);color:var(--theme-text);cursor:pointer;overflow:hidden;position:absolute;right:16px;width:min(340px,calc(100% - 32px));z-index:48}.ai-collaborator-tag-toast:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-accent) 22%,transparent);outline-offset:2px}.ai-collaborator-tag-toast>header{align-items:center;border-bottom:1px solid color-mix(in srgb,var(--theme-border) 72%,transparent);display:flex;gap:10px;padding:11px 12px}.ai-collaborator-tag-toast>header>div{display:grid;flex:1;gap:1px}.ai-collaborator-tag-toast>header strong{font-size:.8rem}.ai-collaborator-tag-toast>header small,.ai-collaborator-tag-toast>footer{color:var(--theme-muted-text);font-size:.62rem}.ai-collaborator-tag-toast>header button{align-items:center;border-radius:var(--ui-control-radius);color:var(--theme-muted-text);display:inline-flex;height:26px;justify-content:center;width:26px}.ai-collaborator-tag-toast>header button:hover{background:var(--theme-muted);color:var(--theme-text)}.ai-collaborator-tag-toast-body{display:grid;gap:7px;padding:10px 12px 8px}.ai-collaborator-tag-toast-comment{display:-webkit-box;font-size:.74rem;line-height:1.42;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ai-collaborator-tag-toast-comment>:first-child{margin-top:0}.ai-collaborator-tag-toast-comment>:last-child{margin-bottom:0}.ai-collaborator-tag-toast .ai-collaborator-message.tool{font-size:.68rem;padding:0}.ai-collaborator-tag-toast>footer{padding:0 12px 10px}.ai-collaborator-panel>header{align-items:center;border-bottom:1px solid var(--theme-border);display:flex;gap:11px;padding:13px 14px}.ai-collaborator-panel>header>div{display:grid;flex:1;gap:2px}.ai-collaborator-panel>header strong{font-size:.86rem;letter-spacing:-.01em}.ai-collaborator-panel>header small{color:var(--theme-muted-text);font-size:.66rem}.ai-collaborator-panel>header button{align-items:center;border-radius:var(--ui-control-radius);color:var(--theme-muted-text);display:inline-flex;height:28px;justify-content:center;width:28px}.ai-collaborator-panel>header button:hover:not(:disabled){background:var(--theme-hover);color:var(--theme-text)}.ai-collaborator-panel>header button:disabled{opacity:.28}.ai-collaborator-panel-icon{height:34px;width:34px}.ai-collaborator-panel-status{align-items:center;display:flex;gap:5px}.ai-collaborator-panel-status>span{background:var(--theme-color-idle);border-radius:999px;height:5px;width:5px}.ai-collaborator-panel-status>span[data-phase=done]{background:var(--theme-color-safe)}.ai-collaborator-panel-status>span:not([data-phase=idle]):not([data-phase=done]){animation:ai-collaborator-pulse 1s ease-in-out infinite alternate;background:var(--theme-accent)}.ai-collaborator-conversation{display:flex;flex:1 1 auto;flex-direction:column;gap:9px;min-height:82px;overflow-y:auto;padding:14px 16px 12px}.ai-collaborator-message{border-radius:10px;font-size:.78rem;line-height:1.45;max-width:88%;padding:8px 10px}.ai-collaborator-message.assistant{align-self:stretch;background:transparent;border-radius:0;color:var(--theme-text);max-width:none;padding:3px 0}.ai-collaborator-message.user{align-self:flex-end;background:var(--theme-accent);color:var(--theme-active-text);white-space:normal}.ai-collaborator-message.user .ai-collaborator-markdown p{white-space:pre-wrap}.ai-collaborator-message.tool{align-items:center;align-self:stretch;background:transparent;border:0;border-radius:0;color:var(--theme-muted-text);display:flex;font-size:.73rem;gap:8px;line-height:1.35;max-width:none;min-height:22px;padding:1px 0}.ai-collaborator-tool-icon{align-items:center;background:transparent;color:var(--theme-muted-text);display:inline-flex;flex:0 0 auto;height:20px;justify-content:center;width:20px}.ai-collaborator-message.tool.web_search .ai-collaborator-tool-icon,.ai-collaborator-message.tool.web_read .ai-collaborator-tool-icon{background:transparent;color:color-mix(in srgb,var(--theme-color-research) 74%,var(--theme-muted-text))}.ai-collaborator-message.tool.verify .ai-collaborator-tool-icon{background:transparent;color:color-mix(in srgb,var(--theme-color-safe) 74%,var(--theme-muted-text))}.ai-collaborator-message.tool.comment_read .ai-collaborator-tool-icon,.ai-collaborator-message.tool.comment_write .ai-collaborator-tool-icon{color:color-mix(in srgb,var(--theme-color-comment) 72%,var(--theme-muted-text))}.ai-collaborator-message.comment{align-self:stretch;background:transparent;border:0;border-radius:0;color:var(--theme-text);display:block;max-width:none;margin:3px 0;padding:3px 0}.ai-collaborator-message.comment .ai-collaborator-markdown{min-width:0}.ai-collaborator-work-comment{color:var(--theme-text);font-size:.78rem;line-height:1.5;padding:7px 0 5px}.ai-collaborator-markdown{min-width:0;overflow-wrap:anywhere}.ai-collaborator-markdown>:first-child{margin-top:0}.ai-collaborator-markdown>:last-child{margin-bottom:0}.ai-collaborator-markdown p{margin:0 0 .55em}.ai-collaborator-markdown ul,.ai-collaborator-markdown ol{margin:.45em 0;padding-left:1.35rem}.ai-collaborator-markdown ul{list-style:disc outside}.ai-collaborator-markdown ol{list-style:decimal outside}.ai-collaborator-markdown ul ul{list-style-type:circle}.ai-collaborator-markdown ul ul ul{list-style-type:square}.ai-collaborator-markdown li{display:list-item;padding-left:.08rem}.ai-collaborator-markdown li+li{margin-top:.2em}.ai-collaborator-markdown code{background:color-mix(in srgb,currentColor 8%,transparent);border-radius:4px;font:500 .92em/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;padding:.1em .3em}.ai-collaborator-markdown pre{background:color-mix(in srgb,var(--theme-text) 6%,var(--theme-base));border:1px solid var(--theme-border);border-radius:7px;margin:.65em 0;max-width:100%;overflow-x:auto;padding:.7em .8em;white-space:pre}.ai-collaborator-markdown pre code{background:transparent;border-radius:0;padding:0;white-space:inherit}.ai-collaborator-markdown h1,.ai-collaborator-markdown h2,.ai-collaborator-markdown h3,.ai-collaborator-markdown h4,.ai-collaborator-markdown h5,.ai-collaborator-markdown h6{color:var(--theme-text);font-weight:700;letter-spacing:-.012em;line-height:1.25;margin:.9em 0 .38em}.ai-collaborator-markdown h1{font-size:1.25em}.ai-collaborator-markdown h2{font-size:1.14em}.ai-collaborator-markdown h3{font-size:1.06em}.ai-collaborator-markdown h4,.ai-collaborator-markdown h5,.ai-collaborator-markdown h6{font-size:1em}.ai-collaborator-markdown blockquote{border-left:2px solid color-mix(in srgb,var(--theme-accent) 46%,var(--theme-border));color:var(--theme-muted-text);margin:.65em 0;padding:.08em 0 .08em .8em}.ai-collaborator-markdown blockquote>:last-child{margin-bottom:0}.ai-collaborator-markdown hr{border:0;border-top:1px solid var(--theme-border);margin:.85em 0}.ai-collaborator-markdown table{border-collapse:collapse;display:block;margin:.65em 0;max-width:100%;overflow-x:auto;width:-moz-max-content;width:max-content}.ai-collaborator-markdown th,.ai-collaborator-markdown td{border:1px solid var(--theme-border);padding:.35em .5em;text-align:left;vertical-align:top}.ai-collaborator-markdown th{background:var(--theme-muted);font-weight:700}.ai-collaborator-markdown img{border-radius:6px;display:block;height:auto;margin:.65em 0;max-width:100%}.ai-collaborator-markdown a{color:var(--theme-accent);text-decoration:underline;text-underline-offset:2px}.ai-collaborator-live-action{align-items:center;color:var(--theme-muted-text);display:flex;font-size:.72rem;gap:7px;padding:2px 0}.ai-collaborator-live-action>span{animation:ai-collaborator-pulse 1s ease-in-out infinite alternate;background:var(--theme-accent);border-radius:999px;height:6px;width:6px}.ai-collaborator-plan-shell{background:var(--theme-muted);border:1px solid var(--theme-border);border-radius:11px;margin:8px 10px 0;padding:7px 8px}.ai-collaborator-plan{display:grid;gap:1px;margin:0;max-height:112px;overflow-y:auto;padding:0}.ai-collaborator-plan li{border-radius:5px;color:var(--theme-muted-text);font-size:.7rem;line-height:1.35;padding:4px 5px}.ai-collaborator-plan-row{align-items:center;display:flex;gap:7px}.ai-collaborator-plan-row>span:first-child{align-items:center;border:1px solid color-mix(in srgb,var(--theme-muted-text) 55%,transparent);border-radius:3px;display:inline-flex;flex:0 0 auto;font-size:.58rem;height:13px;justify-content:center;width:13px}.ai-collaborator-plan li.done{color:var(--theme-muted-text)}.ai-collaborator-plan li.active{color:var(--theme-text);font-weight:650}.ai-collaborator-plan li.done .ai-collaborator-plan-row>span:first-child{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-active-text)}.ai-collaborator-react{border-left:1px solid color-mix(in srgb,var(--theme-accent) 24%,transparent);margin:7px 0 2px 3px;padding:2px 0 2px 12px}.ai-collaborator-react>span{color:var(--theme-accent);display:block;font-size:.58rem;font-weight:750;letter-spacing:.07em;margin-bottom:6px;text-transform:uppercase}.ai-collaborator-react dl{display:grid;gap:5px;margin:0}.ai-collaborator-react dl>div{display:grid;gap:1px}.ai-collaborator-react dt{color:var(--theme-muted-text);font-size:.58rem;font-weight:700;text-transform:uppercase}.ai-collaborator-react dd{color:var(--theme-text);margin:0}.ai-collaborator-work-summary{align-items:center;border-bottom:1px solid var(--theme-border);color:var(--theme-muted-text);display:flex;font-size:.74rem;font-weight:550;gap:4px;justify-content:flex-start;padding:4px 0 10px;text-align:left;width:100%}.ai-collaborator-work-summary:hover{color:var(--theme-text)}.ai-collaborator-work-summary svg{transition:transform .14s ease-out}.ai-collaborator-work-summary.expanded svg{transform:rotate(90deg)}.ai-collaborator-work-report{align-self:stretch;display:grid;width:100%}.ai-collaborator-work-details{display:grid;gap:5px;padding:9px 0 3px}.ai-collaborator-work-details .ai-collaborator-plan{max-height:none}.ai-collaborator-usage{border-top:1px solid color-mix(in srgb,var(--theme-border) 72%,transparent);color:color-mix(in srgb,var(--theme-muted-text) 82%,transparent);display:grid;font-size:.59rem;font-variant-numeric:tabular-nums;gap:3px;line-height:1.35;padding:8px 16px 0}.ai-collaborator-usage>div{align-items:center;display:flex;justify-content:space-between}.ai-collaborator-usage strong{color:var(--theme-muted-text);font-weight:650}.ai-collaborator-usage small{font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-collaborator-panel>form{align-items:flex-end;background:var(--theme-base);border:1px solid color-mix(in srgb,var(--theme-border) 92%,transparent);border-radius:var(--ui-composer-radius);box-shadow:0 1px 2px color-mix(in srgb,#0f172a 5%,transparent);display:flex;gap:7px;margin:9px 14px 14px;padding:7px 7px 7px 11px;transition:border-color .14s ease,box-shadow .14s ease}.ai-collaborator-panel>form:focus-within{border-color:color-mix(in srgb,var(--theme-accent) 58%,var(--theme-border));box-shadow:var(--theme-focus-ring)}@media(max-width:820px){.ai-collaborator-panel{bottom:8px;height:min(520px,calc(100% - 16px));right:8px;width:min(350px,calc(100% - 16px))}}.ai-collaborator-panel textarea{background:transparent;border:0;border-radius:0;color:var(--theme-text);flex:1;field-sizing:content;font:500 .78rem/1.45 inherit;max-height:112px;min-height:24px;outline:none;padding:3px 0;resize:none}.ai-collaborator-panel textarea:focus{border-color:transparent}.ai-collaborator-panel>form>button{align-items:center;background:var(--theme-accent);border-radius:var(--ui-control-radius);color:var(--theme-active-text);display:inline-flex;height:32px;justify-content:center;transition:background-color .14s ease,opacity .14s ease,transform .14s ease;width:32px}.ai-collaborator-panel>form>button:disabled{background:color-mix(in srgb,var(--theme-muted-text) 16%,transparent);color:color-mix(in srgb,var(--theme-muted-text) 62%,transparent);opacity:1}.ai-collaborator-panel>form>button:not(:disabled):hover{background:var(--theme-accent-hover);transform:translateY(-1px)}.ai-collaborator-panel>form>button.stop{background:var(--theme-color-danger)}.ai-collaborator-panel>form>button.stop:hover{background:var(--theme-color-danger-hover, var(--theme-color-danger))}.ai-collaborator-cursor{display:inline-block;height:1em;margin-right:0;max-width:0;overflow:visible;pointer-events:none;vertical-align:text-bottom;width:0;z-index:38}@keyframes ai-collaborator-pulse{0%{opacity:.35;transform:scale(.82)}to{opacity:1;transform:scale(1.08)}}@keyframes theme-builder-pulse{0%{opacity:.35;transform:scale(.82)}to{opacity:1;transform:scale(1)}}@keyframes ai-letter-float{0%{transform:translate(var(--ai-drift-x),var(--ai-drift-y))}to{transform:translate(calc(var(--ai-drift-x) * -.65),calc(var(--ai-drift-y) * -.7 - .5px))}}@media(prefers-reduced-motion:reduce){.ai-ghost-completion>span{animation:none}}.touch-undo-button{align-items:center;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:999px;box-shadow:var(--theme-shadow);color:var(--theme-text);display:inline-flex;height:38px;justify-content:center;position:fixed;right:max(16px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));width:38px;z-index:31}.workspace-shell .editor-surface>p[data-block-variant=title]:not(:first-child){margin-top:1.25em}.workspace-shell .editor-surface>p[data-block-variant=supertitle]+p[data-block-variant=title]{margin-top:0}.workspace-shell .editor-surface li>h1:first-child,.workspace-shell .editor-surface li>h2:first-child,.workspace-shell .editor-surface li>h3:first-child,.workspace-shell .editor-surface li>p[data-block-variant=title]:first-child,.workspace-shell .editor-surface li>p[data-block-variant=subtitle]:first-child{margin-top:0}.editor-flip-ghost{margin:0;overflow:hidden;pointer-events:none;position:fixed;transform-origin:top left;z-index:60}.editor-highlight-pen-sweep{border-radius:3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;mix-blend-mode:multiply;pointer-events:none;position:fixed;transform-origin:left center;z-index:60}.editor-surface mark.editor-highlight-pen-active{transition:none!important}.editor-flip-ghost.image-gallery-block .image-gallery-grid{display:flex;flex-wrap:nowrap;gap:12px;height:100%;overflow:hidden}.editor-flip-ghost.image-gallery-block .image-gallery-item{flex:1 1 0;margin:0;min-width:0;overflow:hidden}.editor-flip-ghost.image-gallery-block .image-gallery-item img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.editor-flip-ghost.image-gallery-block[data-layout=square] .image-gallery-item,.editor-flip-ghost.image-gallery-block[data-layout=custom] .image-gallery-item{aspect-ratio:var(--gallery-aspect-ratio, 1)}.editor-flip-ghost.image-gallery-block[data-layout=same-height] .image-gallery-item{height:var(--gallery-tile-height, 148px)}.editor-flip-ghost.image-gallery-block[data-scroll=true] .image-gallery-item{flex:0 0 calc((100% - 36px)/4);min-width:118px}.editor-flip-ghost.image-gallery-block[data-scroll=true][data-count="1"] .image-gallery-item{flex-basis:100%}.editor-flip-ghost.image-gallery-block[data-scroll=true][data-count="2"] .image-gallery-item{flex-basis:calc((100% - 12px)/2)}.editor-flip-ghost.image-gallery-block[data-scroll=true][data-count="3"] .image-gallery-item{flex-basis:calc((100% - 24px) / 3)}.editor-flip-ghost.image-gallery-block .image-gallery-item-actions,.editor-flip-ghost.image-gallery-block .image-gallery-side-actions{display:none}.comment-highlight{background:color-mix(in srgb,var(--highlight-orange-bg) 72%,transparent);border-bottom:2px solid color-mix(in srgb,var(--highlight-orange-text) 34%,transparent);border-radius:2px;cursor:pointer}.comment-highlight.active{background:color-mix(in srgb,var(--highlight-orange-bg) 88%,transparent);border-bottom-color:color-mix(in srgb,var(--highlight-orange-text) 58%,transparent)}.comment-line-marker{align-items:center;background:var(--theme-base);border:1px solid color-mix(in srgb,var(--highlight-orange-text) 22%,var(--theme-border));border-radius:999px;box-shadow:var(--theme-menu-shadow);cursor:pointer;display:inline-flex;height:1.45rem;justify-content:center;position:absolute;right:1.35rem;vertical-align:middle;width:1.45rem}.comment-line-marker:before{border:1.7px solid color-mix(in srgb,var(--highlight-orange-text) 78%,var(--theme-text));border-radius:.26rem .26rem .08rem;content:"";height:.58rem;width:.72rem}.comment-line-marker:hover,.comment-line-marker:focus-visible{background:color-mix(in srgb,var(--highlight-orange-bg) 62%,var(--theme-base));outline:none}.comment-line-marker.has-unread:after{align-items:center;background:var(--theme-active);border:2px solid var(--theme-base);border-radius:999px;color:var(--theme-active-text);content:attr(data-unread-count);display:flex;font-size:.62rem;font-weight:800;height:1rem;justify-content:center;line-height:1;min-width:1rem;padding:0 .16rem;position:absolute;right:-.38rem;top:-.42rem}.comment-panel{position:absolute;width:min(340px,calc(100vw - 2rem));z-index:9}.comment-panel.placement-pending{visibility:hidden}.comment-thread-card{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:var(--ui-panel-radius);box-shadow:var(--theme-panel-shadow);color:var(--theme-text);overflow:hidden}.comment-thread-header{align-items:center;border-bottom:1px solid var(--theme-border);display:flex;justify-content:space-between;min-height:54px;padding:0 .8rem 0 .95rem}.comment-thread-header>strong{color:var(--theme-text);font-size:.86rem;font-weight:700;letter-spacing:-.01em}.comment-thread-actions{align-items:center;display:flex;gap:.25rem}.comment-thread-actions button{align-items:center;border-radius:var(--ui-control-radius);color:var(--theme-muted-text);display:grid;height:1.75rem;justify-items:center;padding:0;width:1.75rem}.comment-thread-actions button:hover{background:var(--theme-hover);color:var(--theme-text)}.comment-thread-actions button[aria-label="Delete thread"]:hover{background:var(--theme-color-danger-bg);color:var(--theme-color-danger)}.comment-messages{display:grid;gap:.78rem;max-height:min(255px,calc(var(--app-viewport-height) - 14rem));overflow-y:auto;padding:.78rem .92rem .55rem;scrollbar-width:none}.comment-messages::-webkit-scrollbar{display:none}.comment-message{display:grid;gap:.58rem;grid-template-columns:2rem minmax(0,1fr)}.comment-message.resolved{opacity:.68}.comment-avatar{align-self:start}.comment-message-meta{align-items:baseline;display:flex;flex-wrap:wrap;gap:.35rem;min-width:0}.comment-message-meta strong{color:var(--theme-text);font-size:.78rem;font-weight:700}.comment-message-meta time{color:var(--theme-muted-text);font-size:.68rem;font-weight:550}.comment-message-state{color:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-muted-text));font-size:.75rem;font-weight:750}.comment-message-resolve{align-items:center;border-radius:999px;color:color-mix(in srgb,var(--theme-text) 38%,transparent);display:inline-grid;height:1.35rem;justify-items:center;margin-left:auto;padding:0;width:1.35rem}.comment-message-resolve:hover{background:color-mix(in srgb,var(--theme-text) 7%,transparent);color:color-mix(in srgb,var(--theme-text) 76%,transparent)}.comment-message.resolved .comment-message-resolve{color:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-muted-text))}.comment-message p,.comment-empty{color:var(--theme-text);font-size:.8rem;line-height:1.5;margin:.16rem 0 0;white-space:pre-wrap}.comment-mention{background:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 14%,transparent);border:1px solid color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 22%,transparent);border-radius:5px;color:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 82%,var(--theme-text));font-weight:650;padding:0 .18em}.comment-mention.ai{--theme-user-color: var(--theme-accent) !important;background:color-mix(in srgb,var(--theme-accent) 9%,transparent);color:color-mix(in srgb,var(--theme-accent) 78%,var(--theme-text))}.comment-empty{color:var(--theme-muted-text);margin:0;padding:.25rem .15rem}.comment-reactions{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.42rem;position:relative}.comment-reactions button{align-items:center;background:var(--theme-muted);border:1px solid var(--theme-border);border-radius:999px;color:var(--theme-muted-text);display:inline-flex;font-size:.78rem;gap:.22rem;min-height:1.35rem;padding:.05rem .34rem}.comment-reactions button:hover,.comment-reactions button.active{background:var(--theme-accent-soft);border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--theme-border));color:var(--theme-accent-contrast)}.comment-reactions small{font-size:.68rem;font-weight:750;line-height:1}.comment-reaction-add{position:relative}.comment-reaction-picker{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow);display:grid;gap:.16rem;grid-template-columns:repeat(5,1.65rem);padding:.34rem;position:absolute;z-index:4}.comment-reaction-picker button{border:0;display:grid;font-size:.92rem;height:1.65rem;justify-items:center;min-height:0;padding:0;width:1.65rem}.comment-reply-form{align-items:flex-end;background:var(--theme-muted);border:1px solid var(--theme-border);border-radius:var(--ui-composer-radius);box-shadow:var(--theme-subtle-shadow);display:flex;gap:7px;margin:.45rem .75rem .75rem;padding:7px 7px 7px 11px;position:relative;transition:border-color .14s ease,box-shadow .14s ease}.comment-reply-form:focus-within{border-color:color-mix(in srgb,var(--theme-accent) 58%,var(--theme-border));box-shadow:var(--theme-focus-ring)}.comment-reply-form textarea{background:transparent;border:0;color:var(--theme-text);flex:1;field-sizing:content;font:500 .78rem/1.45 inherit;max-height:112px;min-height:24px;outline:none;overflow-y:auto;padding:3px 0;resize:none;scrollbar-width:none}.comment-reply-form textarea::-webkit-scrollbar{display:none}.comment-reply-form textarea::-moz-placeholder{color:color-mix(in srgb,var(--theme-muted-text) 66%,transparent)}.comment-reply-form textarea::placeholder{color:color-mix(in srgb,var(--theme-muted-text) 66%,transparent)}.comment-reply-form>button{align-items:center;background:var(--theme-accent);border-radius:var(--ui-control-radius);color:var(--theme-active-text);display:grid;flex:0 0 auto;height:var(--ui-control-size);justify-items:center;padding:0;transition:background-color .14s ease,opacity .14s ease,transform .14s ease;width:var(--ui-control-size)}.comment-reply-form>button:not(:disabled):hover{background:var(--theme-accent-hover);color:var(--theme-active-text);transform:translateY(-1px)}.comment-reply-form>button:disabled{background:color-mix(in srgb,var(--theme-muted-text) 16%,transparent);color:color-mix(in srgb,var(--theme-muted-text) 62%,transparent);cursor:default;opacity:1}.mention-menu{animation:menu-in .13s ease-out;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow);color:var(--theme-text);max-height:15rem;overflow-y:auto;padding:4px;position:absolute;width:276px;z-index:32}.mention-menu>button,.comment-reply-form .mention-menu>button{align-items:center;border-radius:var(--ui-control-radius);color:var(--theme-text);display:flex;gap:9px;height:auto;justify-content:flex-start;padding:7px 8px;text-align:left;width:100%}.mention-menu>button:hover,.mention-menu>button.active,.comment-reply-form .mention-menu>button:hover,.comment-reply-form .mention-menu>button.active{background:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 14%,var(--theme-hover));color:var(--theme-text)}.mention-menu-avatar{align-self:center}.mention-menu>button>span:last-child{display:grid;gap:1px;min-width:0}.mention-menu strong{color:color-mix(in srgb,var(--theme-user-color, var(--theme-accent)) 58%,var(--theme-text));font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-menu small{color:var(--theme-muted-text);font-size:.61rem}.comment-reply-form .mention-menu{bottom:calc(100% + 6px);left:0;max-width:calc(100vw - 3rem);width:250px}.editor-surface h1,.editor-surface h2,.editor-surface h3{line-height:1.15;font-weight:700;letter-spacing:0;transition:color .26s ease,font-family .26s ease,font-size .26s ease,font-weight .26s ease}.editor-surface h1{font-size:1.9rem;margin-top:1.45em}.editor-surface h2{font-size:1.45rem;margin-top:1.35em}.editor-surface h3{font-size:1.18rem;margin-top:1.2em}.editor-surface>h1:first-child,.editor-surface>h2:first-child,.editor-surface>h3:first-child{margin-top:0}.editor-surface h1+*,.editor-surface h2+*,.editor-surface h3+*{margin-top:.52em}.editor-surface.has-heading-numbering h1:before,.editor-surface.has-heading-numbering h2:before,.editor-surface.has-heading-numbering h3:before{color:inherit;display:inline-block;font-weight:650;margin-right:.28em}.editor-surface.has-heading-numbering h1:before{content:attr(data-heading-number) "."}.editor-surface.has-heading-numbering h2:before{content:attr(data-heading-number)}.editor-surface.has-heading-numbering h3:before{content:attr(data-heading-number)}.heading-numbering-block{display:none}.document-structure-block{color:inherit;margin:1.15rem 0}.editor-surface .toc-block{max-width:min(100%,42rem);margin-left:0;margin-top:2rem;position:relative;text-align:left}.editor-surface .toc-block ol{list-style:none;margin:0;padding-left:0}.editor-surface .toc-block li{margin:0}.editor-surface .toc-block li.level-1{margin-top:1.22rem}.editor-surface .toc-block li.level-1:first-child{margin-top:0}.editor-surface .toc-block li.level-1+li.level-2,.editor-surface .toc-block li.level-2+li.level-3{margin-top:.26rem}.editor-surface .toc-block li.level-2+li.level-2,.editor-surface .toc-block li.level-3+li.level-3{margin-top:.16rem}.editor-surface .toc-block li.level-2{padding-left:.85rem}.editor-surface .toc-block li.level-3{padding-left:1.65rem}.editor-surface .toc-block li.empty{color:color-mix(in srgb,currentColor 52%,transparent);font-style:italic}.editor-surface .toc-block.ProseMirror-selectednode{outline:none}.editor-surface .toc-block button{align-items:baseline;color:inherit;display:block;min-width:0;text-align:left;width:100%}.editor-surface .toc-block.is-numbered button{display:grid;gap:.55rem;grid-template-columns:2.7rem minmax(0,1fr)}.editor-surface .toc-block button:hover{color:currentColor}.editor-surface .toc-block .toc-number{color:color-mix(in srgb,currentColor 48%,transparent);font-variant-numeric:tabular-nums;font-weight:460;line-height:1.35;text-align:right;white-space:nowrap}.editor-surface .toc-block .toc-title{min-width:0;overflow-wrap:anywhere}.editor-surface .toc-block li.level-1 button{font-size:.96rem;font-weight:650;line-height:1.35}.editor-surface .toc-block li.level-2 button{color:color-mix(in srgb,currentColor 82%,transparent);font-size:.86rem;font-weight:520;line-height:1.34}.editor-surface .toc-block li.level-3 button{color:color-mix(in srgb,currentColor 64%,transparent);font-size:.8rem;font-weight:470;line-height:1.32}.editor-surface .toc-block li.level-2 .toc-number,.editor-surface .toc-block li.level-3 .toc-number{color:color-mix(in srgb,currentColor 42%,transparent);font-weight:440}@media(max-width:640px){.editor-surface .toc-block.is-numbered button{gap:.45rem;grid-template-columns:2.25rem minmax(0,1fr)}.editor-surface .toc-block li.level-2{padding-left:.65rem}.editor-surface .toc-block li.level-3{padding-left:1.25rem}}.heading-outline-rail{--outline-fade-top: #000;--outline-fade-bottom: #000;align-items:flex-end;display:flex;flex-direction:column;gap:.12rem;mask-image:linear-gradient(to bottom,var(--outline-fade-top) 0,#000 24px,#000 calc(100% - 24px),var(--outline-fade-bottom) 100%);max-height:min(52vh,24rem);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:.15rem 0;pointer-events:auto;position:fixed;right:2.4rem;scrollbar-width:none;top:50%;transform:translateY(-50%);width:34px;-webkit-mask-image:linear-gradient(to bottom,var(--outline-fade-top) 0,#000 24px,#000 calc(100% - 24px),var(--outline-fade-bottom) 100%);z-index:24}.heading-outline-rail::-webkit-scrollbar{display:none}.heading-outline-rail.can-scroll-up{--outline-fade-top: transparent}.heading-outline-rail.can-scroll-down{--outline-fade-bottom: transparent}.heading-outline-rail-item{align-items:center;display:flex;flex:0 0 16px;height:16px;justify-content:flex-end;padding:0 .1rem;position:relative;width:100%}.heading-outline-rail-line{background:color-mix(in srgb,var(--theme-text) 52%,transparent);border-radius:999px;display:block;height:2px;opacity:.42;transition:background-color .14s ease,opacity .14s ease,transform .14s ease,width .14s ease;width:var(--outline-line-width)}.heading-outline-rail-item:hover .heading-outline-rail-line{opacity:.78;transform:scaleX(1.12)}.heading-outline-rail-item.active .heading-outline-rail-line{background:var(--theme-accent, var(--theme-text));opacity:.78}.heading-outline-rail-item.current .heading-outline-rail-line{opacity:.9;transform:scaleX(1.08)}.heading-outline-popover{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:8px;box-shadow:var(--theme-shadow);color:var(--theme-text);opacity:0;padding:.65rem .75rem;pointer-events:none;position:absolute;right:calc(100% + .75rem);text-align:left;top:50%;transform:translate(.25rem,calc(-50% + var(--outline-popover-offset-y, 0px))) scale(.98);transition:opacity .13s ease,transform .13s ease;width:min(240px,calc(100vw - 5.5rem))}.heading-outline-popover.is-portal{opacity:1;position:fixed;transform:none;z-index:80}.heading-outline-popover strong{align-items:baseline;display:flex;gap:.42rem;font-size:.84rem;font-weight:750;line-height:1.25}.heading-outline-number{color:var(--theme-muted-text);flex:0 0 auto;font-variant-numeric:tabular-nums;font-weight:600}.heading-outline-popover small{color:var(--theme-muted-text);display:-webkit-box;font-size:.76rem;line-height:1.38;margin-top:.32rem;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.heading-outline-rail-item:hover .heading-outline-popover{opacity:1;transform:translateY(calc(-50% + var(--outline-popover-offset-y, 0px))) scale(1)}.heading-outline-rail-empty{background:color-mix(in srgb,var(--theme-text) 52%,transparent);border-radius:999px;display:block;height:3px;opacity:.35;width:28px}.editor-surface.ProseMirror-focused{animation:editor-caret-breathe 1.9s ease-in-out infinite}@keyframes editor-caret-breathe{0%,to{caret-color:color-mix(in srgb,var(--theme-text) 42%,transparent)}50%{caret-color:var(--theme-text)}}@media(prefers-reduced-motion:reduce){.editor-surface.ProseMirror-focused{animation:none}}@media(max-width:820px)and (any-hover:none){.heading-outline-rail{display:none}}.comment-panel.docked{animation:comment-sheet-in .17s cubic-bezier(.2,.8,.2,1);bottom:0;left:50%!important;position:fixed;right:auto;top:auto!important;transform:translate(-50%);width:min(100%,560px);z-index:70}.comment-panel.docked .comment-thread-card{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;display:flex;flex-direction:column;max-height:min(72dvh,560px);padding-bottom:env(safe-area-inset-bottom,0)}.comment-panel.docked .comment-messages{flex:1 1 auto;max-height:min(48dvh,380px);min-height:0}.comment-panel.docked .comment-reply-form{flex:0 0 auto}.editor-surface ul,.editor-surface ol{padding-left:1.5rem}.editor-surface ul{list-style:disc}.editor-surface ol{list-style:decimal}.editor-surface blockquote{background:var(--editor-quote-bg);border-left:3px solid var(--editor-quote-border);color:var(--editor-quote-text);padding-left:1rem;transition:background-color .26s ease,border-color .26s ease,color .26s ease}.editor-surface pre{background:var(--editor-code-bg);border:1px solid var(--editor-code-border);border-radius:8px;color:var(--editor-code-text);font-family:Roboto Mono,monospace;font-size:.9rem;line-height:1.55;overflow-x:auto;padding:1rem;transition:background-color .26s ease,border-color .26s ease,color .26s ease,box-shadow .26s ease}.editor-surface code{background:color-mix(in srgb,var(--theme-text, currentColor) 8%,transparent);border:1px solid color-mix(in srgb,var(--theme-text, currentColor) 13%,transparent);border-radius:.32em;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-size:.86em;font-weight:500;font-family:Roboto Mono,monospace;padding:.1em .34em}.editor-surface pre code{background:transparent;border:0;border-radius:0;color:inherit;font-size:inherit;font-weight:inherit;padding:0}.editor-surface .hljs-keyword,.editor-surface .hljs-selector-tag,.editor-surface .hljs-built_in,.editor-surface .hljs-name,.editor-surface .hljs-tag{color:var(--syntax-keyword)}.editor-surface .hljs-string,.editor-surface .hljs-attr,.editor-surface .hljs-symbol,.editor-surface .hljs-bullet{color:var(--syntax-string)}.editor-surface .hljs-number,.editor-surface .hljs-literal{color:var(--syntax-number)}.editor-surface .hljs-title,.editor-surface .hljs-section,.editor-surface .hljs-selector-id,.editor-surface .hljs-selector-class{color:var(--syntax-title)}.editor-surface .hljs-comment,.editor-surface .hljs-quote{color:var(--syntax-comment);font-style:italic}.editor-surface .hljs-meta,.editor-surface .hljs-doctag,.editor-surface .hljs-regexp{color:var(--syntax-meta)}.editor-surface .hljs-operator,.editor-surface .hljs-punctuation,.editor-surface .hljs-variable,.editor-surface .hljs-template-variable{color:var(--syntax-operator)}.workspace-shell .bubble-toolbar,.workspace-shell .image-toolbar,.workspace-shell .toolbar-dropdown-menu,.workspace-shell .block-style-menu,.workspace-shell .block-style-submenu-panel,.workspace-shell .export-menu-popover,.workspace-shell .share-menu-popover,.workspace-shell .slash-menu,.workspace-shell .share-modal,.workspace-shell .snapshot-modal,.workspace-shell .pdf-preview-panel,.workspace-shell .pdf-export-progress-panel{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text);box-shadow:var(--theme-menu-shadow)}.workspace-shell .share-modal,.workspace-shell .snapshot-modal,.workspace-shell .pdf-preview-panel,.workspace-shell .pdf-export-progress-panel{box-shadow:var(--theme-panel-shadow)}.workspace-shell .bubble-toolbar,.workspace-shell .image-toolbar,.workspace-shell .toolbar-dropdown-menu,.workspace-shell .block-style-menu,.workspace-shell .block-style-submenu-panel,.workspace-shell .export-menu-popover,.workspace-shell .share-menu-popover,.workspace-shell .slash-menu,.workspace-shell .citation-picker,.workspace-shell .icon-picker{z-index:50}.workspace-shell:has(.text-selection-toolbar.visible,.image-toolbar,.toolbar-dropdown.open,.block-style-menu.open,.slash-menu,.citation-picker,.icon-picker,.ai-collaborator-panel) .ai-ghost-completion,.workspace-shell:has(.text-selection-toolbar.visible,.image-toolbar,.toolbar-dropdown.open,.block-style-menu.open,.slash-menu,.citation-picker,.icon-picker,.ai-collaborator-panel,.research-card) .ai-fix-added,.workspace-shell:has(.text-selection-toolbar.visible,.image-toolbar,.toolbar-dropdown.open,.block-style-menu.open,.slash-menu,.citation-picker,.icon-picker,.ai-collaborator-panel,.research-card) .ai-fix-anchor{display:none}.workspace-shell:has(.text-selection-toolbar.visible,.image-toolbar,.toolbar-dropdown.open,.block-style-menu.open,.slash-menu,.citation-picker,.icon-picker,.ai-collaborator-panel,.research-card) .ai-fix-removed{color:inherit;text-decoration:none}.workspace-shell .toolbar-button,.workspace-shell .toolbar-dropdown-item,.workspace-shell .block-style-menu-item,.workspace-shell .block-alignment-row button,.workspace-shell .export-menu-popover button,.workspace-shell .share-menu-popover button,.workspace-shell .share-menu summary,.workspace-shell .slash-menu button{color:var(--theme-muted-text)}.workspace-shell .toolbar-button:hover,.workspace-shell .toolbar-dropdown-item:hover,.workspace-shell .block-style-menu-item:hover,.workspace-shell .block-alignment-row button:hover,.workspace-shell .export-menu-popover button:hover,.workspace-shell .share-menu-popover button:hover,.workspace-shell .share-menu summary:hover,.workspace-shell .slash-menu button:hover,.workspace-shell .citation-picker-results button.active{background:color-mix(in srgb,var(--theme-hover) 88%,var(--theme-accent) 12%);color:var(--theme-text)}.workspace-shell .toolbar-button.active{background:var(--theme-active);color:var(--theme-active-text)}.workspace-shell .toolbar-dropdown-item.active,.workspace-shell .block-style-menu-item.active,.workspace-shell .block-alignment-row button.active,.workspace-shell .slash-menu button.active,.workspace-shell .citation-picker-results button.active{background:var(--theme-accent-soft);color:var(--theme-accent-contrast)}.workspace-shell .export-menu-popover strong,.workspace-shell .share-modal-header h2,.workspace-shell .snapshot-modal-header h2,.workspace-shell .share-block-heading h3,.workspace-shell .slash-menu strong,.workspace-shell .pdf-preview-header strong{color:var(--theme-text)}.workspace-shell .export-menu-popover small,.workspace-shell .share-modal-header p,.workspace-shell .snapshot-modal-header p,.workspace-shell .share-block-heading p,.workspace-shell .slash-menu small,.workspace-shell .pdf-preview-header span{color:var(--theme-muted-text)}.workspace-shell .share-link-card,.workspace-shell .share-create-card,.workspace-shell .share-quick-actions button,.workspace-shell .share-choice,.workspace-shell .share-link-permissions label,.workspace-shell .share-link-scope,.workspace-shell .share-empty,.workspace-shell .pdf-preview-frame,.workspace-shell .pdf-preview-message{background:var(--theme-muted);color:var(--theme-muted-text)}.workspace-shell .share-url,.workspace-shell .share-select{background:var(--theme-muted);border-color:var(--theme-border);color:var(--theme-text)}.workspace-shell .share-choice,.workspace-shell .share-link-card,.workspace-shell .share-quick-actions button,.workspace-shell .share-link-permissions label,.workspace-shell .share-link-scope{border-color:var(--theme-border)}.workspace-shell .share-quick-actions strong{color:var(--theme-text)}.workspace-shell .share-quick-actions span,.workspace-shell .share-choice span,.workspace-shell .share-link-permissions label span,.workspace-shell .share-link-scope span,.workspace-shell .share-link-scope strong{color:var(--theme-muted-text)}.workspace-shell .snapshot-link-row,.workspace-shell .share-error,.workspace-shell .pdf-preview-header,.workspace-shell .snapshot-modal-header,.workspace-shell .share-modal-header{border-color:var(--theme-border)}.workspace-shell .collaborator-pill,.workspace-shell .editor-floating-footer{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-muted-text);box-shadow:var(--theme-shadow)}.workspace-shell .doc-row.active .subtle-icon:hover,.workspace-shell .doc-row.active .subtle-icon:focus-visible{background:var(--theme-hover);color:var(--theme-text)}.workspace-shell .doc-row.active .doc-delete-button,.workspace-shell .doc-row.active .doc-delete-button:hover,.workspace-shell .doc-row.active .doc-delete-button:focus-visible{color:var(--theme-color-danger)}.workspace-shell .slash-menu button.active strong{color:inherit}.workspace-shell .collaborator-detail,.workspace-shell .collaborator-detail svg,.workspace-shell .collaborator-device-tag{color:var(--theme-muted-text)}.workspace-shell .collaborator-device-tag{background:var(--theme-muted)}.workspace-shell .collaborator-pill:hover .collaborator-detail,.workspace-shell .collaborator-pill:focus-within .collaborator-detail{border-color:var(--theme-border)}.workspace-shell .comment-thread-actions button:hover,.workspace-shell .comment-message-resolve:hover{background:var(--theme-accent-soft);color:var(--theme-accent-contrast)}.workspace-shell .shared-doc-sidebar{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.workspace-shell .shared-doc-sidebar>div{border-color:var(--theme-border)}.pending-share-shell{position:relative;min-width:0px;flex:1 1 0%;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pending-share-template{margin-left:auto;margin-right:auto;display:flex;min-height:100%;max-width:56rem;flex-direction:column;gap:1.25rem;padding:5rem 3rem;filter:blur(16px);opacity:.46;transform:scale(1.02)}.pending-share-line,.pending-share-block,.pending-share-card-grid span{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.pending-share-line{height:1.25rem;width:66.666667%}.pending-share-line.title{height:3rem;width:60%;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pending-share-line.subtitle{height:1.5rem;width:50%}.pending-share-line.wide{width:91.666667%}.pending-share-line.short{width:33.333333%}.pending-share-block{height:11rem;width:100%;border-radius:1rem;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pending-share-card-grid{margin-top:1.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.pending-share-card-grid span{height:8rem;border-radius:1rem;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pending-share-toast{position:fixed;left:50%;top:50%;z-index:30;display:grid;max-width:min(30rem,calc(100vw - 2rem));--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));gap:.25rem;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity, 1));background-color:#fffffff2;padding:1.25rem 1.5rem;text-align:center;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);animation:modal-in .16s ease-out}.pending-share-toast strong{font-size:1rem;line-height:1.5rem;font-weight:600;--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.pending-share-toast span{font-size:.875rem;line-height:1.25rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.workspace-shell .shared-doc-sidebar p{color:var(--theme-muted-text)}.editor-surface table{border-collapse:collapse;margin:1rem 0;table-layout:fixed;width:100%}.editor-surface th,.editor-surface td{background:var(--editor-table-cell-bg);border:1px solid var(--editor-table-border);min-width:4rem;padding:.55rem .7rem;position:relative;vertical-align:top;transition:background-color .26s ease,border-color .26s ease,color .26s ease}.editor-surface .editor-columns{display:grid;gap:1.5rem;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin:1.25rem 0;min-width:0;position:relative}.editor-surface .editor-column{min-width:0;padding:0;position:relative}.editor-surface .editor-columns.has-active-column>.editor-column:before{border:.5px solid color-mix(in srgb,var(--editor-table-border) 78%,transparent);content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;pointer-events:none;position:absolute}.editor-surface .editor-column>*:first-child{margin-top:0}.editor-surface .editor-column>*:last-child{margin-bottom:0}.editor-surface th{background:var(--editor-table-header-bg);font-weight:700}.editor-surface .selectedCell{background-image:linear-gradient(var(--editor-table-selected-bg),var(--editor-table-selected-bg))}.editor-surface .column-resize-handle{background:var(--editor-table-resize-bg);bottom:-1px;pointer-events:none;position:absolute;right:-2px;top:0;width:3px}.table-controls-layer{top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;z-index:35}.table-utility-toolbar{align-items:center;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:7px;box-shadow:var(--theme-menu-shadow);display:flex;gap:2px;padding:3px;pointer-events:auto;position:absolute;transform:translate(-100%,-100%)}.table-utility-toolbar button{align-items:center;border-radius:4px;color:var(--theme-muted-text);display:inline-flex;height:26px;justify-content:center;transition:background-color .14s ease,color .14s ease;width:28px}.table-utility-toolbar button:hover{background:var(--theme-hover);color:var(--theme-text)}.table-utility-toolbar button.delete:hover{background:var(--theme-color-danger);color:var(--theme-color-danger-text)}.table-utility-divider{background:var(--theme-border);height:18px;margin:0 2px;width:1px}.table-control-button{align-items:center;background:var(--theme-base);border:1px solid var(--theme-border);border-radius:999px;box-shadow:var(--theme-menu-shadow);color:var(--theme-text);display:inline-flex;height:22px;justify-content:center;opacity:.88;padding:0;pointer-events:auto;position:absolute;transform:translate(-50%,-50%) scale(.96);transition:background-color .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease,transform .14s ease;width:22px}.table-control-button:hover{background:var(--theme-active);border-color:var(--theme-active);color:var(--theme-active-text);opacity:1;transform:translate(-50%,-50%) scale(1.05)}.table-control-button.delete{height:18px;opacity:.72;width:18px}.table-control-button.delete:hover{background:var(--theme-color-danger);border-color:var(--theme-color-danger);color:var(--theme-color-danger-text)}.table-control-button.edge:before{background:var(--editor-table-resize-bg);content:"";opacity:0;position:absolute;transition:opacity .14s ease}.table-control-button.edge.column:before{height:44px;left:50%;top:50%;transform:translate(-50%,-50%);width:2px}.table-control-button.edge.row:before{height:2px;left:50%;top:50%;transform:translate(-50%,-50%);width:44px}.table-control-button.edge:hover:before{opacity:.5}.table-control-button svg{position:relative;z-index:1}.ProseMirror.resize-cursor{cursor:col-resize}.toolbar-dropdown-menu,.slash-menu,.citation-picker-results,.citation-manager-list,.citation-manager-detail,.share-modal-body,.snapshot-modal-body,.theme-list{scrollbar-color:var(--theme-muted-text) transparent;scrollbar-width:thin}.toolbar-dropdown-menu::-webkit-scrollbar,.slash-menu::-webkit-scrollbar,.citation-picker-results::-webkit-scrollbar,.citation-manager-list::-webkit-scrollbar,.citation-manager-detail::-webkit-scrollbar,.share-modal-body::-webkit-scrollbar,.snapshot-modal-body::-webkit-scrollbar,.theme-list::-webkit-scrollbar{width:10px}.toolbar-dropdown-menu::-webkit-scrollbar-thumb,.slash-menu::-webkit-scrollbar-thumb,.citation-picker-results::-webkit-scrollbar-thumb,.citation-manager-list::-webkit-scrollbar-thumb,.citation-manager-detail::-webkit-scrollbar-thumb,.share-modal-body::-webkit-scrollbar-thumb,.snapshot-modal-body::-webkit-scrollbar-thumb,.theme-list::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--theme-muted-text) 28%,transparent);border:3px solid transparent;border-radius:999px;background-clip:padding-box}.editor-surface mark{background:var(--highlight-gray-bg);border-radius:3px;color:var(--highlight-gray-text);padding:0 .12em;transition:background-color .26s ease,color .26s ease}.editor-surface mark[style*=theme-orange],.editor-surface mark[style*=--highlight-orange-bg],.editor-surface mark[style*="#fed7aa"]{background-color:var(--highlight-orange-bg)!important;color:var(--highlight-orange-text)}.editor-surface mark[style*=theme-green],.editor-surface mark[style*=--highlight-green-bg],.editor-surface mark[style*="#a7f3d0"],.editor-surface mark[style*="#bbf7d0"]{background-color:var(--highlight-green-bg)!important;color:var(--highlight-green-text)}.editor-surface mark[style*=theme-blue],.editor-surface mark[style*=--highlight-blue-bg],.editor-surface mark[style*="#bae6fd"]{background-color:var(--highlight-blue-bg)!important;color:var(--highlight-blue-text)}.editor-surface mark[style*=theme-pink],.editor-surface mark[style*=--highlight-pink-bg],.editor-surface mark[style*="#fecdd3"]{background-color:var(--highlight-pink-bg)!important;color:var(--highlight-pink-text)}.editor-surface mark[style*=theme-gray],.editor-surface mark[style*=--highlight-gray-bg],.editor-surface mark[style*="#e5e7eb"]{background-color:var(--highlight-gray-bg)!important;color:var(--highlight-gray-text)}.highlight-swatch-orange{background:var(--highlight-orange-bg)}.highlight-swatch-green{background:var(--highlight-green-bg)}.highlight-swatch-blue{background:var(--highlight-blue-bg)}.highlight-swatch-pink{background:var(--highlight-pink-bg)}.highlight-swatch-gray{background:var(--highlight-gray-bg)}.editor-surface .workspace-image{background:transparent;border:0;border-radius:10px;box-sizing:border-box;cursor:default;display:block;aspect-ratio:auto!important;height:auto!important;max-height:560px;max-width:100%;overflow:hidden;padding:0;position:relative;transition:border-color .15s ease-out,margin-left .19s cubic-bezier(.2,.8,.2,1),margin-right .19s cubic-bezier(.2,.8,.2,1),outline-color .15s ease-out,outline-offset .15s ease-out,box-shadow .15s ease-out,width .19s cubic-bezier(.2,.8,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.editor-surface .workspace-math{position:relative;color:inherit}.editor-surface .workspace-inline-math{display:inline-flex;align-items:baseline;max-width:100%;margin:0 .08em;vertical-align:-.08em}.editor-surface .workspace-block-math{display:flex;align-items:center;justify-content:center;width:100%;min-height:3.5rem;margin:1rem 0;padding:.45rem 0;text-align:center}.editor-surface .workspace-math-preview{max-width:100%;min-height:1.4em;overflow-x:auto;overflow-y:hidden;cursor:text;scrollbar-width:none;transition:opacity .14s ease,transform .18s cubic-bezier(.2,.8,.2,1)}.editor-surface .workspace-block-math .workspace-math-preview{display:flex;align-items:center;justify-content:center;min-height:2.8rem;width:100%}.editor-surface .workspace-math.is-invalid .workspace-math-preview{opacity:.62}.editor-surface .workspace-math-preview::-webkit-scrollbar{display:none}.editor-surface .workspace-math.is-empty .workspace-math-preview{color:color-mix(in srgb,currentColor 42%,transparent);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.86em}.editor-surface .workspace-math-source-editor{display:none;position:relative;z-index:8;min-width:13rem;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:6px;background:var(--theme-base);box-shadow:0 8px 22px #0f172a1f;color:var(--theme-text);font:.82rem/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:0;overflow:hidden}.editor-surface .workspace-block-math .workspace-math-source-editor{margin-inline:auto}.editor-surface .workspace-math-source,.editor-surface .workspace-math-source-highlight{position:absolute;inset:0 0 auto;box-sizing:border-box;width:100%;height:100%;margin:0;padding:.48rem .62rem;border:0;font:inherit;letter-spacing:0;line-height:inherit;-moz-tab-size:2;-o-tab-size:2;tab-size:2;text-align:left;white-space:pre-wrap;overflow-wrap:break-word}.editor-surface .workspace-math-source-highlight{color:var(--theme-text);pointer-events:none;scrollbar-width:none}.editor-surface .workspace-math-source-highlight::-webkit-scrollbar{display:none}.editor-surface .workspace-math-source{resize:none;outline:none;background:transparent;color:transparent;caret-color:var(--theme-text);-webkit-text-fill-color:transparent}.editor-surface .workspace-math-source::-moz-placeholder{color:var(--theme-muted-text);-webkit-text-fill-color:var(--theme-muted-text)}.editor-surface .workspace-math-source::placeholder{color:var(--theme-muted-text);-webkit-text-fill-color:var(--theme-muted-text)}.editor-surface .math-syntax-command{color:var(--syntax-keyword)}.editor-surface .math-syntax-number{color:var(--syntax-number)}.editor-surface .math-syntax-bracket{color:var(--syntax-title)}.editor-surface .math-syntax-operator{color:var(--syntax-operator)}.editor-surface .math-syntax-comment{color:var(--syntax-comment);font-style:italic}.editor-surface .workspace-inline-math.is-editing .workspace-math-source-editor{position:absolute;bottom:calc(100% + .35rem);left:50%;display:block;width:min(34rem,72vw);transform:translate(-50%)}.editor-surface .workspace-block-math.is-editing{flex-direction:column;gap:.55rem}.editor-surface .workspace-block-math.is-editing .workspace-math-source-editor{display:block;width:min(100%,36rem)}.editor-surface .workspace-math-ai-toggle{position:absolute;right:.35rem;top:.3rem;z-index:2;padding:.2rem .42rem;border:0;border-radius:4px;background:color-mix(in srgb,var(--theme-base) 84%,transparent);color:var(--theme-muted-text);cursor:pointer;font:600 .7rem/1.25 var(--ui-font, ui-sans-serif, system-ui, sans-serif)}.editor-surface .workspace-math-ai-toggle:hover,.editor-surface .workspace-math-ai-toggle:focus-visible{color:var(--theme-text);background:color-mix(in srgb,currentColor 8%,var(--theme-base))}.editor-surface .workspace-math-ai-form{display:none;position:absolute;inset:auto 0 0;align-items:center;gap:.35rem;padding:.38rem;border-top:1px solid color-mix(in srgb,currentColor 10%,transparent);background:var(--theme-base)}.editor-surface .workspace-math.is-ai-open .workspace-math-source-editor{height:calc(var(--math-source-height, 38px) + 2.8rem)!important}.editor-surface .workspace-math.is-ai-open .workspace-math-ai-form{display:flex}.editor-surface .workspace-math-ai-input{min-width:0;flex:1;padding:.32rem .45rem;border:0;border-radius:4px;outline:none;background:color-mix(in srgb,currentColor 6%,transparent);color:var(--theme-text);font:.75rem/1.35 var(--ui-font, ui-sans-serif, system-ui, sans-serif)}.editor-surface .workspace-math-ai-submit{padding:.32rem .5rem;border:0;border-radius:4px;background:var(--accent-color, var(--theme-accent));color:var(--theme-active-text);cursor:pointer;font:600 .72rem/1.35 var(--ui-font, ui-sans-serif, system-ui, sans-serif)}.editor-surface .workspace-math-ai-status{position:absolute;left:.45rem;bottom:-1.35rem;color:var(--theme-muted-text);font:.68rem/1.2 var(--ui-font, ui-sans-serif, system-ui, sans-serif)}.editor-surface .workspace-math-source-editor:has(.workspace-math-source:focus){border-color:color-mix(in srgb,currentColor 46%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,currentColor 10%,transparent)}.editor-surface .workspace-math.ProseMirror-selectednode .workspace-math-preview{border-radius:3px;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 18%,transparent)}.editor-surface .image-gallery-block{--gallery-tile-height: 148px;margin:1.15rem 0;max-width:100%;position:relative;transition:box-shadow .15s ease-out}.editor-surface .image-gallery-block.ProseMirror-selectednode{box-shadow:0 12px 30px color-mix(in srgb,#0f172a 10%,transparent)}.editor-surface .image-gallery-grid{display:flex;flex-wrap:nowrap;gap:12px;overflow:hidden}.editor-surface .image-gallery-block.is-empty .image-gallery-grid{align-items:center;border:1.5px dashed color-mix(in srgb,currentColor 22%,transparent);border-radius:10px;justify-content:center;min-height:10.5rem;padding:1.5rem}.editor-surface .image-gallery-empty-state{align-items:center;color:color-mix(in srgb,currentColor 58%,transparent);display:flex;flex-direction:column;gap:.65rem;justify-content:center;text-align:center}.editor-surface .image-gallery-empty-icon{display:block;height:2rem;opacity:.58;width:2rem}.editor-surface .image-gallery-empty-icon svg,.editor-surface .image-gallery-delete svg{fill:none;height:100%;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;width:100%}.editor-surface .image-gallery-empty-state p{font-size:.82rem;line-height:1.5;margin:0}.editor-surface .image-gallery-empty-state button{align-items:center;background:color-mix(in srgb,var(--theme-accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--theme-accent) 25%,transparent);border-radius:8px;color:var(--theme-accent);display:inline-flex;font:inherit;font-size:.76rem;font-weight:650;gap:.35rem;padding:.45rem .62rem}.editor-surface .image-gallery-empty-state p{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.editor-surface .image-gallery-empty-state button svg{fill:none;height:1rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1rem}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:7px;scrollbar-color:color-mix(in srgb,currentColor 22%,transparent) transparent;scrollbar-width:thin}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid::-webkit-scrollbar{background:transparent;height:6px}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid::-webkit-scrollbar-track,.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid::-webkit-scrollbar-track-piece,.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid::-webkit-scrollbar-corner{background:transparent;box-shadow:none}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid::-webkit-scrollbar-thumb{background:color-mix(in srgb,currentColor 18%,transparent);border-radius:999px}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-grid:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb,currentColor 28%,transparent)}.editor-surface .image-gallery-item{background:transparent;border-radius:7px;cursor:grab;flex:1 1 0;min-width:0;overflow:hidden;position:relative;text-decoration:none;transition:opacity .13s ease-out,transform .15s ease-out}.editor-surface .image-gallery-item:active{cursor:grabbing}.editor-surface .image-gallery-item.is-dragging{opacity:.55;transform:scale(.985)}.editor-surface .image-gallery-block[data-layout=same-height] .image-gallery-item{height:var(--gallery-tile-height)}.editor-surface .image-gallery-block[data-layout=square] .image-gallery-item,.editor-surface .image-gallery-block[data-layout=custom] .image-gallery-item{aspect-ratio:var(--gallery-aspect-ratio, 1)}.editor-surface .image-gallery-item img{border-radius:inherit;display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.editor-surface .image-gallery-block[data-layout=same-height] .image-gallery-item img{height:var(--gallery-tile-height);width:100%}.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-item{flex:0 0 calc((100% - 36px)/4);min-width:118px}.editor-surface .image-gallery-block[data-scroll=true][data-count="1"] .image-gallery-item{flex-basis:100%}.editor-surface .image-gallery-block[data-scroll=true][data-count="2"] .image-gallery-item{flex-basis:calc((100% - 12px)/2)}.editor-surface .image-gallery-block[data-scroll=true][data-count="3"] .image-gallery-item{flex-basis:calc((100% - 24px) / 3)}.editor-surface .image-gallery-item-actions{align-items:center;display:flex;gap:5px;opacity:0;position:absolute;right:6px;top:6px;transition:opacity .12s ease-out;z-index:2}.editor-surface .image-gallery-item:hover .image-gallery-item-actions,.editor-surface .image-gallery-item:focus-within .image-gallery-item-actions{opacity:1}.editor-surface .image-gallery-delete,.editor-surface .image-gallery-side-actions button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:color-mix(in srgb,var(--theme-base) 86%,transparent);border:1px solid var(--theme-border);border-radius:999px;box-shadow:var(--theme-menu-shadow);color:var(--theme-text);display:inline-flex;height:28px;justify-content:center;width:28px}.editor-surface .image-gallery-delete{cursor:pointer;padding:.38rem}.editor-surface .image-gallery-side-actions{align-items:center;display:flex;flex-direction:column;gap:6px;height:100%;justify-content:center;opacity:0;padding:12px 9px;pointer-events:none;position:absolute;right:-48px;top:0;transition:opacity .14s ease-out,transform .14s ease-out;transform:translate(-4px);width:48px;z-index:3}.editor-surface .image-gallery-block:hover .image-gallery-side-actions,.editor-surface .image-gallery-block.ProseMirror-selectednode .image-gallery-side-actions,.editor-surface .image-gallery-side-actions.is-drop-target{opacity:1;pointer-events:auto;transform:translate(0)}.editor-surface .image-gallery-side-actions button svg{fill:none;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:18px}@media(max-width:760px){.editor-surface .image-gallery-block[data-scroll=true] .image-gallery-item{flex-basis:calc((100% - 24px) / 3)}}.image-search-picker{background:var(--theme-base);border:1px solid var(--theme-border);border-radius:12px;box-shadow:0 24px 70px color-mix(in srgb,#0f172a 22%,transparent);display:grid;gap:14px;left:50%;max-height:min(620px,calc(var(--app-viewport-height) - 80px));overflow:hidden;padding:16px;position:fixed;top:72px;transform:translate(-50%);width:min(640px,calc(100vw - 32px));z-index:80}.image-search-header{align-items:center;display:flex;font-size:.9rem;font-weight:700;justify-content:space-between}.image-search-composer{display:flex;flex-wrap:wrap;gap:8px}.image-search-input{align-items:center;background:var(--theme-muted);border:1px solid var(--theme-border);border-radius:9px;display:flex;flex:1 1 auto;gap:8px;min-height:42px;padding:8px 11px}.image-search-input input{background:transparent;border:0;flex:1 1 auto;outline:0}.image-search-actions button,.image-search-primary,.image-search-secondary{align-items:center;border:1px solid var(--theme-border);border-radius:9px;display:inline-flex;font-size:.8rem;font-weight:650;gap:6px;justify-content:center;min-height:42px;padding:7px 12px}.image-search-primary{background:var(--theme-accent);border-color:var(--theme-accent);color:#fff}.image-search-secondary{background:transparent}.image-search-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));overflow:auto}.image-search-composer+.image-search-actions{margin-top:-6px}.image-search-grid button{border:1px solid var(--theme-border);border-radius:8px;display:grid;gap:5px;overflow:hidden;text-align:left}.image-search-grid img{aspect-ratio:4 / 3;-o-object-fit:cover;object-fit:cover;width:100%}.image-search-grid span{color:var(--theme-muted-text);font-size:.72rem;overflow:hidden;padding:0 7px 7px;text-overflow:ellipsis;white-space:nowrap}.image-search-empty{color:var(--theme-muted-text);font-size:.82rem;grid-column:1 / -1;padding:24px;text-align:center}.editor-surface .workspace-image[data-width="100"]{max-height:none}.editor-surface .workspace-image.has-alpha{border-color:transparent}.editor-surface .workspace-image.is-missing{background:var(--editor-image-missing-bg);min-height:9rem;width:100%}.editor-surface .workspace-image>img{border-radius:inherit;box-sizing:border-box;display:block;filter:blur(24px);height:auto!important;max-height:inherit;-o-object-fit:cover;object-fit:cover;opacity:0;position:relative;transform:scale(1.02);transition:filter .76s cubic-bezier(.2,.8,.2,1) .21s,opacity .68s cubic-bezier(.2,.8,.2,1) .21s,transform .76s cubic-bezier(.2,.8,.2,1) .21s;width:100%;will-change:filter,opacity,transform;z-index:1;-webkit-user-drag:none}.editor-surface .workspace-image.is-loaded>img{filter:blur(0);opacity:1;transform:scale(1)}.editor-surface .workspace-image-placeholder{filter:blur(38px) saturate(1.2);top:-18%;right:-18%;bottom:-18%;left:-18%;opacity:1;position:absolute;transform:scale(1.08);transition:opacity .17s ease-out .54s;will-change:filter,opacity,transform;z-index:0}.editor-surface .workspace-image.is-loading .workspace-image-placeholder{animation:workspace-image-placeholder-inhale 1.4s cubic-bezier(.2,.8,.2,1) both,workspace-image-placeholder-drift 2.6s ease-in-out 1.4s infinite alternate}.editor-surface .workspace-image.is-loaded .workspace-image-placeholder{opacity:0}.editor-surface .workspace-image.is-empty{align-items:center;background:color-mix(in srgb,var(--theme-muted) 72%,transparent);border:1.5px dashed color-mix(in srgb,currentColor 22%,transparent);border-radius:10px;display:flex;justify-content:center;min-height:11rem;overflow:hidden;position:relative}.editor-surface .workspace-image.is-empty>img,.editor-surface .workspace-image.is-empty>.workspace-image-placeholder{display:none}.editor-surface .workspace-image-empty-state{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:1rem;position:relative;z-index:1}.editor-surface .workspace-image-empty-state button{align-items:center;background:color-mix(in srgb,var(--theme-accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--theme-accent) 25%,transparent);border-radius:8px;color:var(--theme-accent);display:inline-flex;font:inherit;font-size:.78rem;font-weight:650;gap:.35rem;padding:.48rem .65rem}.editor-surface .workspace-image-empty-state svg{fill:none;height:1rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1rem}.editor-surface .workspace-image.is-empty.is-drop-target{border-color:var(--theme-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 18%,transparent)}.editor-surface .workspace-image-placeholder-block{align-items:center;background:color-mix(in srgb,var(--theme-muted) 72%,transparent);border:1.5px dashed color-mix(in srgb,currentColor 22%,transparent);border-radius:10px;display:flex;justify-content:center;margin:1.15rem 0;min-height:11rem;transition:border-color .12s ease-out,box-shadow .12s ease-out}.editor-surface .workspace-image-placeholder-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:1rem}.editor-surface .workspace-image-placeholder-actions button{align-items:center;background:color-mix(in srgb,var(--theme-accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--theme-accent) 25%,transparent);border-radius:8px;color:var(--theme-accent);display:inline-flex;font:inherit;font-size:.78rem;font-weight:650;gap:.35rem;padding:.48rem .65rem}.editor-surface .workspace-image-placeholder-actions svg{fill:none;height:1rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1rem}.editor-surface .workspace-image-placeholder-block.is-drop-target{border-color:var(--theme-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 18%,transparent)}@keyframes workspace-image-placeholder-inhale{0%,to{filter:blur(38px) saturate(1.2);transform:translate(0) scale(1.08)}50%{filter:blur(41px) saturate(1.2);transform:translate(.8px,-.8px) scale(1.1)}}@keyframes workspace-image-placeholder-drift{0%{filter:blur(38px) saturate(1.2);transform:translate(-1.1%,.9%) scale(1.08) rotate(-.4deg)}50%{filter:blur(40px) saturate(1.24);transform:translate(1.2%,-.8%) scale(1.095) rotate(.35deg)}to{filter:blur(39px) saturate(1.18);transform:translate(-.4%,-1.1%) scale(1.085) rotate(-.15deg)}}.collaboration-cursor__caret{animation:collaborator-caret-blink 1.35s steps(1,end) infinite;border-left:2px solid;border-left-color:var(--collab-color, var(--theme-accent));border-radius:2px;box-shadow:0 0 0 1px color-mix(in srgb,var(--collab-color, var(--theme-accent)) 18%,transparent);margin-left:-1px;margin-right:-1px;pointer-events:auto;position:relative;word-break:normal}.collaboration-cursor__caret:before{bottom:-10px;content:"";left:-10px;position:absolute;top:-18px;width:22px}.collaboration-cursor__label{background:var(--collab-color, var(--theme-accent));border-radius:4px;color:var(--theme-user-label-text);font-size:12px;font-weight:700;left:-2px;line-height:1;opacity:0;padding:4px 6px;pointer-events:none;position:absolute;top:-1.8em;transform:translateY(2px);transition:opacity .12s ease-out,transform .12s ease-out;white-space:nowrap}.collaboration-cursor__caret:hover .collaboration-cursor__label{opacity:1;transform:translateY(0)}.collaboration-cursor__selection{background:color-mix(in srgb,var(--collab-color, var(--theme-accent)) 28%,transparent);border-radius:2px}.collaboration-cursor__selection:has(.citation-node),.collaboration-cursor__selection:has(.bibliography-node){background:transparent!important;border-radius:3px}.collaboration-cursor__selection:has(.citation-node) .citation-node,.editor-surface .citation-node.ProseMirror-selectednode,.editor-surface .citation-node.is-selected{background:var(--editor-node-selected-bg);box-shadow:inset 0 0 0 1px var(--editor-node-selected-outline),inset 2px 0 0 var(--editor-node-selected-rail);color:var(--theme-text)}.collaboration-cursor__selection:has(.bibliography-node) .bibliography-node,.editor-surface .bibliography-node.ProseMirror-selectednode,.editor-surface .bibliography-node.is-selected{isolation:isolate;position:relative}.collaboration-cursor__selection:has(.workspace-image){background:transparent!important;border-radius:10px}.collaboration-cursor__selection:has(.workspace-image) .workspace-image{outline:3px solid var(--collab-color, var(--theme-accent));outline-offset:3px}.collaboration-cursor__selection:has(.workspace-image)+.collaboration-cursor__caret,.workspace-image+.collaboration-cursor__caret{border-left-color:transparent!important;box-shadow:none!important;height:0;overflow:hidden;width:0}.editor-surface .workspace-image.ProseMirror-selectednode{box-shadow:0 10px 28px color-mix(in srgb,#0f172a 14%,transparent);caret-color:transparent;cursor:default;outline:3px solid var(--editor-image-selected-outline);outline-offset:3px}.editor-surface .citation-node{background:var(--highlight-gray-bg);border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-size:.75rem;font-weight:500;display:inline;padding:0 .38em;transition:background-color .14s ease,box-shadow .14s ease,color .14s ease;white-space:normal;overflow-wrap:anywhere}.editor-surface .citation-node+.citation-node{margin-left:.28em}.editor-surface .citation-node.is-group-continuation{display:inline-block;width:0;max-width:0;margin:0;padding:0;overflow:hidden}.editor-surface .citation-node-muted{background:transparent;border-radius:0;color:color-mix(in srgb,currentColor 62%,transparent);font-size:inherit;font-weight:inherit;padding:0}.editor-surface .citation-node-text{background:transparent;border-radius:0;color:inherit;font-size:inherit;font-weight:inherit;padding:0}.editor-surface .citation-node-muted+.citation-node-muted,.editor-surface .citation-node-text+.citation-node-text{margin-left:.42em}.citation-appearance-select{display:grid;gap:.7rem;margin:0;padding:0;border:0}.citation-appearance-select legend{color:var(--theme-text);font-size:.9rem;font-weight:700}.citation-appearance-select>div{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.citation-appearance-select button{align-content:start;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-base);color:var(--theme-muted-text);cursor:pointer;display:grid;gap:.45rem;justify-items:start;min-height:7.25rem;padding:.75rem;text-align:left}.citation-appearance-select button.active{border-color:color-mix(in srgb,var(--accent-color, var(--theme-accent)) 48%,var(--theme-border));background:color-mix(in srgb,var(--accent-color, var(--theme-accent)) 10%,transparent);color:var(--theme-text)}.citation-appearance-select button:hover{background:var(--theme-hover);border-color:color-mix(in srgb,var(--theme-accent) 26%,var(--theme-border))}.citation-appearance-select button strong{color:var(--theme-text);font-size:.78rem;font-weight:700}.citation-appearance-select button small{color:var(--theme-muted-text);font-size:.66rem;line-height:1.35}.citation-appearance-preview{display:inline-flex;font-size:.67rem;line-height:1;white-space:nowrap}.citation-appearance-preview.chip{background:var(--theme-accent-soft);border:1px solid color-mix(in srgb,var(--theme-accent) 32%,var(--theme-border));border-radius:999px;color:var(--theme-accent-contrast);padding:.28rem .45rem}.citation-appearance-preview.muted{background:var(--theme-muted);border-radius:4px;color:var(--theme-muted-text);padding:.28rem .4rem}.citation-appearance-preview.text{color:var(--theme-text);padding:.28rem 0}.editor-surface .bibliography-node{isolation:isolate;margin-top:2rem;position:relative}.editor-surface .bibliography-node ol{padding-left:1.25rem}.editor-surface .bibliography-node .bibliography-list-plain{list-style:none;padding-left:0}.editor-surface .bibliography-node li+li{margin-top:.65rem}.editor-surface .citation-node:hover{background:var(--editor-node-selected-hover-bg)}.editor-surface .citation-node.ProseMirror-selectednode,.editor-surface .citation-node.is-selected{background:var(--editor-node-selected-bg);box-shadow:inset 0 0 0 1px var(--editor-node-selected-outline),inset 2px 0 0 var(--editor-node-selected-rail);color:var(--theme-text)}.editor-surface .bibliography-node.ProseMirror-selectednode,.editor-surface .bibliography-node.is-selected{isolation:isolate}.editor-surface .bibliography-node:before,.editor-surface .bibliography-node:after{content:"";pointer-events:none;position:absolute;transition:opacity .15s ease,transform .15s ease,background-color .15s ease}.editor-surface .bibliography-node:before{background:linear-gradient(90deg,var(--editor-node-selected-hover-bg),transparent 78%);border-radius:2px;top:-.28rem;right:-.18rem;bottom:-.34rem;left:-.55rem;opacity:0;z-index:-1}.editor-surface .bibliography-node:after{background:var(--editor-node-selected-rail);border-radius:1px;bottom:-.12rem;left:-.55rem;opacity:0;top:.08rem;transform:scaleY(.82);transform-origin:center;width:2px}.editor-surface .bibliography-node:hover:before{opacity:1}.editor-surface .bibliography-node.ProseMirror-selectednode:before,.editor-surface .bibliography-node.is-selected:before{background:linear-gradient(90deg,var(--editor-node-selected-bg),transparent 86%);box-shadow:inset 0 0 0 1px var(--editor-node-selected-outline),0 10px 28px -26px var(--editor-node-selected-shadow);opacity:1}.editor-surface .bibliography-node.ProseMirror-selectednode:after,.editor-surface .bibliography-node.is-selected:after{display:none}@media(prefers-reduced-motion:reduce){.editor-surface .citation-node,.editor-surface .bibliography-node:before,.editor-surface .bibliography-node:after{transition:none}.collaboration-cursor__caret{animation:none}}@keyframes collaborator-caret-blink{0%,62%{opacity:1}63%,to{opacity:.36}}.editor-surface p.is-editor-empty:first-child:before,.editor-surface p[data-block-variant=supertitle].is-editor-empty:before,.editor-surface p[data-block-variant=title].is-editor-empty:before,.editor-surface p[data-block-variant=subtitle].is-editor-empty:before{color:color-mix(in srgb,currentColor 48%,transparent);content:attr(data-placeholder);display:block;float:none;height:0;pointer-events:none;text-align:inherit}.editor-surface p.is-editor-empty[style*="text-align: center"]:before{content:none}.editor-surface h1+p.is-empty:before,.editor-surface h2+p.is-empty:before,.editor-surface h3+p.is-empty:before{content:none}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes doc-arrive{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes doc-depart{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(3px)}}@keyframes imported-doc-in{0%{background-color:var(--highlight-orange-bg);color:#0f172a;opacity:.35;transform:translateY(-.5rem) scale(.98)}62%{background-color:var(--highlight-orange-bg);color:#0f172a;opacity:1;transform:translateY(0) scale(1)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes imported-active-doc-in{0%{background-color:var(--highlight-orange-bg);opacity:.72;transform:translateY(-.35rem) scale(.992)}62%{background-color:var(--highlight-orange-bg);opacity:1;transform:translateY(0) scale(1)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes import-dots-drift{0%{background-position:0 0}to{background-position:14px 14px}}@keyframes dashboard-gradient-breathe{0%{background-position:0% 0%,100% 0%,50% 100%;opacity:.48;transform:scale(1)}to{background-position:12% 8%,88% 12%,50% 100%;opacity:.74;transform:scale(1.015)}}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes block-menu-diagonal-in{0%{opacity:0;transform:translate(-.45rem,-.45rem) scale(.97)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes submenu-in{0%{opacity:0;transform:translate(-.35rem,-.2rem) scale(.98)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes block-selection-in{0%{background-color:#64748b00}to{background-color:#64748b2e}}@keyframes theme-loading-sweep{0%{transform:translate(-45%)}50%{transform:translate(15%)}to{transform:translate(105%)}}@keyframes rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes pop-in{0%{opacity:0;transform:scale(.97) translateY(2px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes menu-in{0%{opacity:0;transform:scale(.98) translateY(-2px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes modal-in{0%{opacity:0;transform:scale(.98) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes version-history-in{0%{opacity:0;transform:translateY(14px) scaleX(.985) scaleY(.92)}to{opacity:1;transform:translateY(0) scaleX(1) scaleY(1)}}@keyframes comment-sheet-in{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.account-modal-backdrop{align-items:center;background:#0f172a52;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:20px;position:fixed;z-index:125}.account-modal{animation:modal-in .15s ease-out;background:#fff;border:1px solid #dce2e8;border-radius:14px;box-shadow:0 26px 80px #0f172a38;color:#172033;max-height:min(720px,calc(var(--app-viewport-height) - 40px));max-width:820px;overflow:hidden;width:100%}.account-modal>header{align-items:center;border-bottom:1px solid #e7ebf0;display:flex;justify-content:space-between;padding:18px 20px}.account-modal>header span{color:#718096;display:block;font-size:.68rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.account-modal>header h2{font-size:1.08rem;font-weight:700;margin:3px 0 0}.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:470px}.settings-tabs{background:#f8fafc;border-right:1px solid #e7ebf0;display:flex;flex-direction:column;gap:5px;padding:14px}.settings-tabs button{align-items:center;background:transparent;border:0;border-radius:9px;color:#64748b;cursor:pointer;display:flex;font-size:.8rem;font-weight:650;gap:9px;padding:10px 11px;text-align:left}.settings-tabs button:hover{background:#eef2f6;color:#334155}.settings-tabs button.active{background:#e9f8f1;color:#047857}.settings-content{max-height:620px;overflow-y:auto}.settings-content form,.ai-settings-panel{display:grid;gap:14px;padding:26px 28px}.account-section-heading strong,.account-section-heading small{display:block}.account-section-heading strong{font-size:.88rem}.account-section-heading small{color:#718096;font-size:.72rem;margin-top:3px}.settings-content form>label,.settings-field-grid label{color:#526078;display:grid;font-size:.72rem;font-weight:650;gap:6px}.account-modal input{background:#f8fafc;border:1px solid #dce2e8;border-radius:9px;color:#172033;font-size:.9rem;height:42px;outline:none;padding:0 11px}.account-modal select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid #dce2e8;border-radius:9px;color:#172033;font-size:.8rem;font-weight:650;height:38px;min-width:126px;outline:none;padding:0 32px 0 11px}.account-modal input:focus,.account-modal select:focus{background:#fff;border-color:#94a3b8;box-shadow:0 0 0 3px #10b9811a}.account-message{background:#f1f5f9;border-radius:8px;color:#526078;font-size:.72rem;line-height:1.45;margin:0;padding:9px 10px}.settings-content form>footer{display:flex;gap:8px;justify-content:flex-end;margin-top:3px}.account-settings-stack{display:grid}.account-settings-stack form+form{border-top:1px solid #e7ebf0}.settings-field-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-field-grid label{display:grid;gap:6px}.ai-setting-row{align-items:center;border-bottom:1px solid #edf0f3;display:flex;gap:24px;justify-content:space-between;padding:17px 0}.ai-setting-row:last-child{border-bottom:0}.ai-setting-row>span{min-width:0}.ai-setting-row strong,.ai-setting-row small{display:block}.ai-setting-row strong{color:#263247;font-size:.84rem}.ai-setting-row small{color:#718096;font-size:.7rem;line-height:1.45;margin-top:4px}@media(max-width:660px){.account-modal-backdrop{align-items:flex-end;padding:0}.account-modal{border-radius:16px 16px 0 0;max-height:92vh;max-width:none}.settings-layout{display:block;min-height:0}.settings-tabs{border-bottom:1px solid #e7ebf0;border-right:0;flex-direction:row;overflow-x:auto;padding:10px 12px}.settings-tabs button{flex:none}.settings-content{max-height:calc(92vh - 122px)}.settings-content form,.ai-settings-panel{padding:22px 18px}.settings-field-grid{grid-template-columns:1fr}.ai-setting-row{align-items:flex-start;flex-direction:column;gap:10px}.ai-setting-row select{width:100%}}.dynamic-tutorial-bubble{background:radial-gradient(circle at 12% 0%,color-mix(in srgb,#60a5fa 9%,transparent),transparent 10rem),var(--theme-base, rgba(255, 255, 255, .98));border:1px solid color-mix(in srgb,var(--theme-border, #d8dee8) 88%,transparent);border-radius:14px;box-shadow:0 18px 50px #0f172a29,0 2px 8px #0f172a0f;color:var(--theme-text, #172033);max-width:calc(100vw - 24px);opacity:0;padding:16px 42px 15px 17px;pointer-events:none;position:fixed;transform:translateY(4px) scale(.985);transition:opacity .15s ease,transform .18s cubic-bezier(.2,.8,.2,1);visibility:hidden;width:320px;z-index:110}.dynamic-tutorial-bubble.positioned{opacity:1;pointer-events:auto;transform:translateY(0) scale(1);visibility:visible}.dynamic-tutorial-bubble:before{background:var(--theme-base, rgba(255, 255, 255, .98));border:solid color-mix(in srgb,var(--theme-border, #d8dee8) 88%,transparent);content:"";height:10px;position:absolute;transform:rotate(45deg);width:10px}.dynamic-tutorial-bubble[data-placement=left]:before{border-width:0 0 1px 1px;left:-6px;top:calc(50% - 5px)}.dynamic-tutorial-bubble[data-placement=right]:before{border-width:1px 1px 0 0;right:-6px;top:calc(50% - 5px)}.dynamic-tutorial-bubble[data-placement=top]:before{border-width:1px 0 0 1px;left:calc(50% - 5px);top:-6px}.dynamic-tutorial-close{align-items:center;border-radius:999px;color:var(--theme-muted-text, #738096);display:inline-flex;height:28px;justify-content:center;position:absolute;right:8px;top:8px;width:28px}.dynamic-tutorial-close:hover{background:var(--theme-hover, #f1f4f7);color:var(--theme-text, #172033)}.dynamic-tutorial-eyebrow{color:color-mix(in srgb,var(--theme-muted-text, #738096) 92%,transparent);display:block;font-size:.62rem;font-weight:750;letter-spacing:.095em;margin-bottom:5px;text-transform:uppercase}.dynamic-tutorial-bubble>strong{display:block;font-size:.92rem;font-weight:720;letter-spacing:-.012em;line-height:1.25}.dynamic-tutorial-bubble>p{color:var(--theme-muted-text, #66758c);font-size:.76rem;line-height:1.52;margin:7px 0 0}.dynamic-tutorial-bubble>footer{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:12px}.dynamic-tutorial-bubble kbd{background:var(--theme-muted, #f0f3f6);border:1px solid var(--theme-border, #d8dee8);border-bottom-width:2px;border-radius:7px;color:var(--theme-text, #172033);font:650 .7rem/1.2 Roboto Mono,monospace;padding:5px 7px}.dynamic-tutorial-bubble footer>button{background:var(--theme-active, #172033);border-radius:8px;color:var(--theme-active-text, #ffffff);font-size:.7rem;font-weight:700;padding:7px 9px}.workspace-shell[data-tutorial-tip=document-themes] [data-tutorial-anchor=themes]{opacity:1;outline:2px solid color-mix(in srgb,#60a5fa 42%,transparent);outline-offset:2px;transform:scale(1)}@media(max-width:720px){.dynamic-tutorial-bubble{bottom:12px;left:12px!important;max-width:none;top:auto!important;width:calc(100vw - 24px)}.dynamic-tutorial-bubble:before{display:none}}@media(prefers-reduced-motion:reduce){.dynamic-tutorial-bubble{transition:none}}.onboarding-backdrop{align-items:center;background:#0f172a57;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:1.5rem;position:fixed;z-index:120}.onboarding-dialog{animation:modal-in .16s ease-out;background:#fff;border:1px solid #dce2e8;border-radius:8px;box-shadow:0 24px 70px #0f172a33;color:#172033;display:grid;grid-template-rows:12rem auto auto;max-height:calc(var(--app-viewport-height) - 2rem);max-width:32rem;overflow:hidden;position:relative;width:100%}.onboarding-close{align-items:center;background:transparent;border:0;color:#64748b;cursor:pointer;display:inline-flex;height:2.25rem;justify-content:center;position:absolute;right:.75rem;top:.75rem;width:2.25rem;z-index:2}.onboarding-close:hover{color:#0f172a}.onboarding-graphic{align-items:center;background:#f3f6f8;border-bottom:1px solid #e2e8f0;display:flex;justify-content:center;overflow:hidden;padding:1.5rem}.onboarding-copy{padding:1.75rem 2rem 1.25rem}.onboarding-eyebrow{color:#64748b;display:block;font-size:.72rem;font-weight:700;letter-spacing:0;margin-bottom:.55rem;text-transform:uppercase}.onboarding-copy h2{font-size:1.65rem;font-weight:700;letter-spacing:0;line-height:1.15;margin:0}.onboarding-copy p{color:#526078;font-size:.98rem;line-height:1.55;margin:.65rem 0 0;max-width:34rem}.onboarding-footer{align-items:center;display:flex;justify-content:space-between;padding:0 2rem 1.75rem}.onboarding-dots,.onboarding-actions{align-items:center;display:flex;gap:.45rem}.onboarding-dots button{background:#cbd5e1;border:0;border-radius:999px;cursor:pointer;height:.45rem;padding:0;transition:background-color .14s ease,width .14s ease;width:.45rem}.onboarding-dots button.active{background:#172033;width:1.35rem}.onboarding-back,.onboarding-next{align-items:center;border:0;cursor:pointer;display:inline-flex;font-size:.88rem;font-weight:650;gap:.35rem;height:2.5rem;justify-content:center;padding:0 1rem}.pending-join-screen .pending-share-shell{width:100%}.pending-share-actions{display:flex;gap:.5rem;justify-content:center;margin-top:1rem}.onboarding-back{background:transparent;color:#64748b}.onboarding-next{background:#172033;border-radius:6px;color:#fff}.onboarding-workspaces{display:grid;gap:.6rem;max-width:24rem;position:relative;transform:rotate(-1deg);width:100%}.onboarding-new-workspace{align-items:center;background:#172033;border-radius:6px;box-shadow:0 12px 28px #0f172a33;color:#fff;display:flex;font-size:.8rem;font-weight:650;gap:.45rem;padding:.7rem .85rem;position:absolute;right:-1.4rem;top:-1.7rem;z-index:2}.onboarding-workspace-row{align-items:center;background:#ffffffeb;border:1px solid #dce2e8;border-radius:6px;box-shadow:0 7px 18px #0f172a12;color:#334155;display:grid;font-size:.84rem;font-weight:600;gap:.7rem;grid-template-columns:auto 1fr auto;padding:.68rem .8rem}.onboarding-workspace-icon{align-items:center;border-radius:4px;display:inline-flex;height:1.75rem;justify-content:center;width:1.75rem}.onboarding-workspace-icon.tone-1{background:#dbeafe;color:#1d4ed8}.onboarding-workspace-icon.tone-2{background:#dcfce7;color:#15803d}.onboarding-workspace-icon.tone-3{background:#ffedd5;color:#c2410c}.onboarding-formatting{max-width:27rem;position:relative;width:100%}.onboarding-selection{background:#fff;border:1px solid #dce2e8;box-shadow:0 8px 24px #0f172a14;color:#334155;font-family:Georgia,serif;font-size:1.35rem;line-height:1.55;padding:2.5rem 2rem 2rem;position:relative}.onboarding-selection mark{background:#bae6fd;color:#0c4a6e;padding:0 .08em}.onboarding-bubble{align-items:center;background:#172033;border-radius:5px;color:#fff;display:flex;gap:.8rem;left:7.8rem;padding:.55rem .7rem;position:absolute;top:.3rem;transform:translateY(-50%)}.onboarding-grip{align-items:center;background:#fff;border:1px solid #dce2e8;border-radius:5px;color:#64748b;display:flex;height:2rem;justify-content:center;left:-1rem;position:absolute;top:3rem;width:2rem}.onboarding-slash-menu{align-items:center;background:#fff;border:1px solid #dce2e8;border-radius:6px;bottom:-1.9rem;box-shadow:0 14px 30px #0f172a21;display:grid;gap:.7rem;grid-template-columns:auto 1fr auto;left:2.5rem;padding:.7rem;position:absolute;width:18rem}.onboarding-slash-icon{align-items:center;background:#e2e8f0;border-radius:4px;display:flex;height:2rem;justify-content:center;width:2rem}.onboarding-slash-menu strong,.onboarding-slash-menu small{display:block}.onboarding-slash-menu strong{font-size:.78rem}.onboarding-slash-menu small{color:#64748b;font-size:.64rem;margin-top:.12rem}.onboarding-sidebar-scene{background:#fff;border:1px solid #dce2e8;box-shadow:0 9px 25px #0f172a14;display:grid;grid-template-columns:11.5rem 1fr;height:13rem;max-width:29rem;overflow:hidden;position:relative;width:100%}.onboarding-sidebar-mini{background:#172033;color:#fff;display:flex;flex-direction:column;gap:.25rem;padding:1rem .75rem}.onboarding-sidebar-mini strong{font-size:.8rem;margin:.2rem .35rem .7rem}.onboarding-sidebar-mini span{align-items:center;border-radius:4px;color:#cbd5e1;display:flex;font-size:.7rem;gap:.55rem;padding:.48rem .5rem}.onboarding-sidebar-mini span:first-of-type{background:#ffffff1a;color:#fff}.onboarding-sidebar-edge{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:5px;color:#172033;display:flex;height:2.2rem;justify-content:center;left:-1.1rem;position:absolute;top:5.4rem;width:2.2rem;z-index:2}.onboarding-page-lines{display:grid;gap:.7rem;padding:2.7rem 2rem}.onboarding-page-lines i{background:#dce2e8;display:block;height:.45rem;width:100%}.onboarding-page-lines i:nth-child(2){width:78%}.onboarding-page-lines i:nth-child(3){margin-top:.5rem;width:91%}.onboarding-page-lines i:nth-child(4){width:63%}@keyframes page-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes doc-in{0%{opacity:0;transform:translate(6px)}to{opacity:1;transform:translate(0)}}@keyframes slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@media(max-width:720px){.sidebar-reveal-button{display:none}.version-history-panel{left:0;right:0;bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.version-history-header{align-items:flex-start}.version-history-header>div:first-child{display:none}.version-history-actions{width:100%;flex-wrap:wrap}.version-history-track{min-height:6rem;padding:.5rem .75rem}.version-history-create,.version-history-item,.version-history-current{min-height:4rem;width:9rem}.workspace-sidebar-shell,.workspace-sidebar-shell.open,.workspace-sidebar-shell.with-theme-panel{width:100vw}.sidebar-hit-area{display:none}.workspace-sidebar-shell.open .sidebar-mobile-backdrop,.workspace-sidebar-shell.with-theme-panel .sidebar-mobile-backdrop{background:#0f172a2e;border:0;display:block;top:0;right:0;bottom:0;left:0;pointer-events:auto;position:absolute;opacity:1}.sidebar-mobile-backdrop{background:#0f172a2e;border:0;display:block;top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .18s ease-out}.workspace-sidebar{box-shadow:10px 0 28px #0f172a24;transition-duration:.24s,.18s;transition-timing-function:cubic-bezier(.22,.8,.24,1),ease-out}.mobile-editor-header{align-items:center;background:color-mix(in srgb,var(--theme-base) 94%,transparent);border-bottom:1px solid var(--theme-border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:grid;gap:.65rem;grid-template-columns:2.4rem minmax(0,1fr) auto;height:3.25rem;padding:0 .75rem;position:sticky;top:0;z-index:30}.mobile-editor-header>button{align-items:center;background:transparent;border:0;color:var(--theme-muted-text);display:inline-flex;height:2.4rem;justify-content:center;width:2.4rem}.mobile-editor-header.without-sidebar{grid-template-columns:minmax(0,1fr) auto}.mobile-editor-title{color:var(--theme-text);font-size:.82rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-collaborators{align-items:center;display:flex;padding-left:.3rem}.mobile-collaborator-chip,.mobile-collaborator-more{align-items:center;border:2px solid var(--theme-base);border-radius:999px;color:var(--theme-active-text);display:inline-flex;font-size:.6rem;font-weight:750;height:1.65rem;justify-content:center;margin-left:-.3rem;width:1.65rem}.mobile-collaborator-more{background:var(--theme-active)}.collaborator-list{display:none}.onboarding-backdrop{align-items:end;padding:0}.onboarding-dialog{border-bottom-left-radius:0;border-bottom-right-radius:0;grid-template-rows:15rem auto auto;max-height:calc(var(--app-viewport-height) - 1rem)}.onboarding-graphic{padding:2rem 1.5rem}.onboarding-copy{padding:1.4rem 1.25rem 1rem}.onboarding-copy h2{font-size:1.35rem}.onboarding-footer{padding:0 1.25rem 1.25rem}.onboarding-new-workspace{right:-.4rem}.onboarding-selection{font-size:1.05rem}.onboarding-bubble{left:5rem}.onboarding-slash-menu{left:1.5rem;max-width:calc(100% - 2rem)}.onboarding-sidebar-scene{grid-template-columns:9.5rem 1fr}.editor-surface .editor-columns{gap:1rem;grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}.editor-surface .editor-column{padding:0}.editor-surface{font-size:16px;line-height:1.68;padding:72px 22px 132px}.editor-surface p[data-block-variant=title]{font-size:2.1rem}.editor-surface p[data-block-variant=subtitle]{font-size:1.05rem}.editor-surface h1{font-size:1.7rem}.editor-surface h2{font-size:1.35rem}.editor-surface h3{font-size:1.1rem}.bubble-toolbar,.image-toolbar{max-width:calc(100vw - 1rem);flex-wrap:wrap}.toolbar-dropdown{position:static}.toolbar-dropdown-menu{left:.5rem;max-height:min(16rem,calc(var(--app-viewport-height) - 7rem));max-width:calc(100vw - 1rem);position:fixed;right:.5rem;top:auto;width:auto}.workspace-sidebar-shell.open,.workspace-sidebar-shell.with-theme-panel{width:100vw}.workspace-sidebar-shell.with-theme-panel .workspace-sidebar{transform:translate(-100%)}.theme-sidebar{left:0;width:min(22rem,100vw)}.collaborator-list{inset:.75rem .75rem auto auto;max-width:min(13rem,calc(100vw - 1.5rem));gap:.35rem}.collaborator-pill{max-width:100%}.editor-floating-footer{inset-inline:.75rem;bottom:.75rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem}.share-modal-backdrop,.snapshot-modal-backdrop,.citation-modal-backdrop,.pdf-preview-backdrop{align-items:end;padding:0}.share-modal,.snapshot-modal,.citation-modal,.pdf-preview-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;max-height:calc(var(--app-viewport-height) - 1rem);width:100%}.share-modal-header,.snapshot-modal-header,.citation-modal-header{padding-inline:1rem}.share-modal-body,.snapshot-modal-body{max-height:calc(var(--app-viewport-height) - 9rem);padding-inline:1rem}.share-create-link,.share-link-copy-row,.share-link-topline{grid-template-columns:1fr}.share-create-link{display:grid}.share-choice-grid,.share-link-permissions{grid-template-columns:1fr}.share-person-row{grid-template-columns:2rem minmax(0,1fr) auto}.share-person-pages{grid-column:2 / -1;justify-content:start;max-width:none;order:3}.share-request-actions{align-self:start}.share-menu-popover{max-width:calc(100vw - 2rem);min-width:12rem}.citation-manager-layout{min-height:calc(var(--app-viewport-height) - 8rem)}.citation-manager-detail{padding:1rem}.citation-editor-grid{grid-template-columns:1fr}}@media(max-width:720px)and (any-hover:hover){.workspace-sidebar-shell{width:6rem}.workspace-sidebar-shell.open,.workspace-sidebar-shell.with-theme-panel{width:18rem}.sidebar-hit-area{display:block}.workspace-sidebar-shell.open .sidebar-mobile-backdrop,.workspace-sidebar-shell.with-theme-panel .sidebar-mobile-backdrop,.mobile-editor-header{display:none}}.doc-delete-button:hover,.snapshot-delete-button:hover,.citation-manager-list-delete:hover,.toolbar-button.danger:hover,.theme-card-actions button.danger:hover,.research-card>header button.danger:hover,.comment-thread-actions button[aria-label="Delete thread"]:hover,.table-utility-toolbar button.delete:hover,.table-control-button.delete:hover,.editor-surface .image-gallery-delete:hover,.cover-page-actions button.danger:hover{background:var(--theme-color-danger-bg);border-color:color-mix(in srgb,var(--theme-color-danger) 24%,var(--theme-border));color:var(--theme-color-danger)}.toolbar-button.danger,.theme-card-actions button.danger,.research-card>header button.danger,.citation-manager-list-delete,.snapshot-delete-button,.doc-delete-button{color:var(--theme-color-danger)}.mobile-collaborator-chip.ui-user-avatar{border:1px solid color-mix(in srgb,var(--theme-user-color) 24%,var(--theme-base));border-radius:var(--ui-control-radius);color:color-mix(in srgb,var(--theme-user-color) 82%,var(--theme-text));height:24px;width:24px}.workspace-shell .toolbar-dropdown-menu,.workspace-shell .block-style-menu,.workspace-shell .block-style-submenu-panel,.workspace-shell .export-menu-popover,.workspace-shell .share-menu-popover,.workspace-shell .slash-menu,.workspace-shell .citation-picker,.workspace-shell .icon-picker,.workspace-shell .mention-menu,.workspace-shell .comment-reaction-picker{border-radius:var(--ui-menu-radius);box-shadow:var(--theme-menu-shadow)}.workspace-shell .block-style-menu,.workspace-shell .block-style-submenu-panel{border-radius:.5rem;box-shadow:var(--theme-shadow)}.workspace-shell .block-style-menu-item,.workspace-shell .block-alignment-row button{border-radius:.375rem;color:var(--theme-muted-text)}.workspace-shell .block-style-menu-item:hover,.workspace-shell .block-alignment-row button:hover{background:var(--theme-hover);color:var(--theme-text)}.workspace-shell .block-style-menu-item.active,.workspace-shell .block-alignment-row button.active{background:var(--theme-active);color:var(--theme-active-text)}.workspace-shell .block-style-submenu.has-active>.block-style-submenu-trigger{background:var(--theme-hover);color:var(--theme-text)}:root{--ui-control-radius: 10px;--ui-menu-radius: 16px;--ui-panel-radius: 22px;--ui-composer-radius: 16px;--app-canvas: #f7f6f2;--app-surface: #fcfbf8;--app-surface-raised: #ffffff;--app-muted: #f0efea;--app-hover: #ebeae4;--app-border: #dfddd5;--app-border-strong: #cbc8bd;--app-text: #242722;--app-muted-text: #6f716a;--app-faint-text: #989990;--app-accent: #42685e;--app-accent-hover: #34574e;--app-accent-soft: #e6eeea;--app-danger: #b94b45;--app-danger-soft: #f7e9e7;--app-overlay: rgb(36 39 34 / .24);--app-shadow-subtle: 0 1px 2px rgb(36 39 34 / .04);--app-shadow-menu: 0 12px 32px rgb(36 39 34 / .12), 0 2px 8px rgb(36 39 34 / .05);--app-shadow-panel: 0 24px 64px rgb(36 39 34 / .14), 0 4px 14px rgb(36 39 34 / .05);--app-focus-ring: 0 0 0 3px rgb(66 104 94 / .13)}body{background:var(--app-canvas);color:var(--app-text)}button{-webkit-tap-highlight-color:transparent}.primary-button,.secondary-button,.danger-button,.icon-button,.recent-card,.toolbar-button,.sidebar-action-button{transform:none}.primary-button{background:var(--app-accent);border-radius:var(--ui-control-radius);box-shadow:none;color:#fff}.primary-button:hover{background:var(--app-accent-hover);transform:none}.secondary-button,.icon-button{background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-muted-text);box-shadow:none}.secondary-button:hover,.icon-button:hover{background:var(--app-muted);border-color:var(--app-border-strong);color:var(--app-text);transform:none}.danger-button{background:var(--app-danger);box-shadow:none}.danger-button:hover{background:color-mix(in srgb,var(--app-danger) 86%,black);transform:none}main.page-transition:has(>.auth-panel){background:radial-gradient(circle at 50% 28%,rgb(255 255 255 / .82),transparent 38%),var(--app-canvas);color:var(--app-text)}.auth-panel{background:var(--app-surface);border-color:var(--app-border);border-radius:var(--ui-panel-radius);box-shadow:0 18px 52px #24272214;padding:1.75rem}.auth-panel .card-icon,.dashboard-shell .card-icon{background:var(--app-accent-soft);color:var(--app-accent)}.auth-panel h1,.auth-panel .signup-card-content h1{color:var(--app-text);font-size:1.55rem;font-weight:640}.auth-panel p,.auth-field,.auth-mode-button,.signup-back-button{color:var(--app-muted-text)}.auth-field input{background:var(--app-surface-raised);border-color:var(--app-border);border-radius:var(--ui-control-radius);color:var(--app-text)}.auth-field input:focus{background:var(--app-surface-raised);border-color:var(--app-accent);box-shadow:var(--app-focus-ring)}.signup-eyebrow{color:var(--app-accent)}.signup-progress span.active{background:var(--app-accent)}.dashboard-shell{background:var(--app-canvas);color:var(--app-text)}.dashboard-shell:before,.dashboard-shell:after{display:none}.dashboard-shell>section{max-width:68rem}.dashboard-shell>section>header{border-color:var(--app-border)}.dashboard-shell>section>header p:first-child{color:var(--app-accent);font-size:.72rem;letter-spacing:.16em}.dashboard-shell>section>header h1{color:var(--app-text);font-size:clamp(1.8rem,4vw,2.35rem);font-weight:620}.dashboard-shell .recent-card,.dashboard-shell .browser-shell{background:var(--app-surface);border-color:var(--app-border);border-radius:var(--ui-panel-radius);box-shadow:var(--app-shadow-subtle)}.dashboard-shell .recent-card{min-height:7.5rem;padding:1rem}.dashboard-shell .recent-card:hover{background:var(--app-surface-raised);border-color:var(--app-border-strong);box-shadow:0 8px 24px #24272212;transform:none}.dashboard-shell .browser-shell>div:first-child,.dashboard-shell .divide-y>*{border-color:var(--app-border)}.dashboard-shell .search-box{background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-muted-text)}.dashboard-shell .folder-dot{background:var(--app-accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--app-accent) 25%,transparent)}.workspace-trash{border-top:1px solid var(--app-border)}.workspace-trash-toggle,.workspace-trash-row{align-items:center;display:flex}.workspace-trash-toggle{background:transparent;border:0;color:var(--app-muted-text);font-size:.875rem;font-weight:650;gap:.5rem;min-height:3.5rem;padding:.75rem 1rem;text-align:left;transition:background-color .15s ease,color .15s ease;width:100%}.workspace-trash-toggle>svg{color:var(--app-danger)}.workspace-trash-toggle:hover,.workspace-trash-toggle.open{background:var(--app-muted);color:var(--app-text)}.workspace-trash-caret{color:var(--app-faint-text);display:inline-flex;margin-left:auto}.workspace-trash-list{border-top:1px solid var(--app-border);max-height:16rem;overflow-y:auto}.workspace-trash-row{border-bottom:1px solid var(--app-border);gap:.625rem;min-height:3.5rem;padding:.5rem 1rem;transition:background-color .15s ease}.workspace-trash-row:hover{background:var(--app-muted)}.workspace-trash-title{color:var(--app-text);font-size:.875rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-trash-expiry{color:var(--app-faint-text);font-size:.75rem;margin-left:auto;white-space:nowrap}.workspace-trash-action{align-items:center;border-radius:var(--ui-control-radius);color:var(--app-muted-text);display:inline-flex;flex:0 0 auto;height:2rem;justify-content:center;transition:background-color .15s ease,color .15s ease;width:2rem}.workspace-trash-action:hover{background:var(--app-muted);color:var(--app-text)}.workspace-trash-action.danger:hover{background:color-mix(in srgb,var(--theme-color-danger) 10%,transparent);color:var(--theme-color-danger)}.workspace-trash-empty{color:var(--app-faint-text);font-size:.875rem;padding:.875rem 1rem}.workspace-sidebar,.theme-sidebar{background:color-mix(in srgb,var(--app-surface) 96%,transparent);border-color:var(--app-border);color:var(--app-text);box-shadow:10px 0 32px #24272212}.sidebar-breadcrumb{border-color:var(--app-border);color:var(--app-faint-text)}.sidebar-breadcrumb button,.sidebar-breadcrumb h1,.sidebar-doc-actions button,.sidebar-action-button,.doc-row,.doc-row-icon{color:var(--app-muted-text)}.sidebar-breadcrumb h1{color:var(--app-text)}.sidebar-breadcrumb button:hover,.sidebar-doc-actions button:hover,.sidebar-action-button:hover{background:var(--app-hover);border-color:transparent;color:var(--app-text)}.doc-row:hover{background:var(--app-muted);color:var(--app-text)}.workspace-shell .workspace-sidebar .doc-row.active,.workspace-shell .workspace-sidebar .doc-row.active:hover{background:var(--theme-hover);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 34%,var(--theme-border));color:var(--theme-text)}.workspace-shell .doc-row.active .subtle-icon{color:var(--theme-muted-text)}.workspace-shell .doc-row.active .subtle-icon:hover{background:var(--theme-muted);color:var(--theme-text)}.workspace-shell .workspace-sidebar>div:last-child{border-color:var(--theme-border);background:color-mix(in srgb,var(--theme-base) 94%,transparent);color:var(--theme-muted-text)}.sidebar-action-row{gap:.25rem}.sidebar-action-button{height:2.5rem}.workspace-shell .sidebar-breadcrumb{border-color:var(--theme-border);color:var(--theme-muted-text)}.workspace-shell .sidebar-breadcrumb h1,.workspace-shell .workspace-documents-header>span{color:var(--theme-text)}.workspace-shell .sidebar-breadcrumb button,.workspace-shell .sidebar-doc-actions button,.workspace-shell .sidebar-action-button{color:var(--theme-muted-text)}.workspace-shell .sidebar-breadcrumb button:hover,.workspace-shell .sidebar-doc-actions button:hover,.workspace-shell .sidebar-action-button:hover,.workspace-shell .sidebar-action-button.active{background:var(--theme-hover);border-color:var(--theme-border);color:var(--theme-text)}.workspace-shell .bubble-toolbar,.workspace-shell .image-toolbar,.workspace-shell .divider-style-toolbar,.workspace-shell .table-utility-toolbar,.workspace-shell .toolbar-dropdown-menu,.workspace-shell .doc-actions-menu,.workspace-shell .slash-menu,.workspace-shell .citation-picker,.workspace-shell .icon-picker,.workspace-shell .mention-menu,.workspace-shell .export-menu-popover,.workspace-shell .share-menu-popover,.workspace-shell .comment-reaction-picker{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text);box-shadow:var(--theme-menu-shadow)}.workspace-shell .text-selection-toolbar{background:var(--theme-page, var(--theme-base))}.workspace-shell .toolbar-button,.workspace-shell .toolbar-dropdown-item,.workspace-shell .doc-actions-menu button,.workspace-shell .slash-menu button{color:var(--theme-muted-text)}.workspace-shell .toolbar-button:hover,.workspace-shell .toolbar-dropdown-item:hover,.workspace-shell .doc-actions-menu button:hover,.workspace-shell .slash-menu button:hover{background:var(--theme-hover);color:var(--theme-text);transform:none}.workspace-shell .toolbar-button.active,.workspace-shell .toolbar-dropdown-item.active,.workspace-shell .slash-menu button.active{background:var(--theme-active);color:var(--theme-active-text)}.workspace-shell .toolbar-divider{background:var(--theme-border)}.theme-sidebar-header,.theme-list-section-soim{border-color:var(--app-border)}.theme-sidebar-header span,.theme-list-section-heading,.theme-list-section-heading small,.theme-card small,.theme-empty{color:var(--app-muted-text)}.theme-list-section-heading small{background:var(--app-muted)}.theme-card{background:transparent;border-color:transparent;box-shadow:none;min-height:5rem}.theme-card:hover{background:var(--app-muted);border-color:var(--app-border);box-shadow:none;transform:none}.theme-card.active{background:var(--app-accent-soft);border-color:color-mix(in srgb,var(--app-accent) 25%,var(--app-border));box-shadow:none;outline:0}.theme-card strong{color:var(--app-text)}.theme-card-actions{background:color-mix(in srgb,var(--app-surface-raised) 92%,transparent);border-color:var(--app-border);box-shadow:var(--app-shadow-subtle)}.theme-card-actions button{color:var(--app-muted-text)}.theme-card-actions button:hover{background:var(--app-hover);color:var(--app-text)}.workspace-shell .doc-actions-menu button.danger{border-color:var(--app-border);color:var(--app-danger)}.workspace-shell .doc-actions-menu button.danger:hover{background:var(--app-danger-soft);color:var(--app-danger)}.editor-floating-footer{background:color-mix(in srgb,var(--app-surface) 90%,transparent);border-color:var(--app-border);color:var(--app-faint-text);box-shadow:var(--app-shadow-subtle)}.app-dialog-backdrop,.share-modal-backdrop,.snapshot-modal-backdrop,.citation-modal-backdrop,.account-modal-backdrop,.pdf-preview-backdrop,.pdf-export-progress-backdrop{background:var(--app-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.app-dialog,.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel,.pdf-export-progress-panel{background:var(--app-surface);border-color:var(--app-border);border-radius:var(--ui-panel-radius);box-shadow:var(--app-shadow-panel);color:var(--app-text)}.share-modal-header,.snapshot-modal-header,.citation-modal-header,.account-modal>header,.pdf-preview-header{border-color:var(--app-border)}.share-modal-header h2,.snapshot-modal-header h2,.citation-modal-header h2,.account-modal>header h2{color:var(--app-text);font-size:1.1rem;font-weight:640}.share-modal-header p,.snapshot-modal-header p,.citation-modal-header p,.share-block-heading p,.account-section-heading small{color:var(--app-muted-text)}.share-modal-body,.snapshot-modal-body,.citation-manager-detail,.settings-content{background:var(--app-surface)}.share-block,.share-create-card,.share-link-card,.share-choice,.share-person-row,.snapshot-link-row,.ai-setting-row{border-color:var(--app-border)}.share-create-card,.share-link-card,.share-choice,.snapshot-link-row{background:var(--app-muted);box-shadow:none}.share-quick-actions button{background:var(--app-surface-raised);border-color:var(--app-border);box-shadow:none}.share-quick-actions button:hover{background:var(--app-muted);border-color:var(--app-border-strong);box-shadow:none;transform:none}.share-quick-actions strong{color:var(--app-text)}.share-quick-actions span{color:var(--app-muted-text)}.share-select,.share-url,.citation-manager-search,.citation-field input,.citation-field textarea,.citation-field select,.account-modal input,.account-modal select,.app-dialog-input{background-color:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}.share-select:focus,.share-url:focus,.citation-field input:focus,.citation-field textarea:focus,.citation-field select:focus,.account-modal input:focus,.account-modal select:focus,.app-dialog-input:focus{border-color:var(--app-accent);box-shadow:var(--app-focus-ring)}.citation-manager-sidebar,.settings-tabs{background:var(--app-muted);border-color:var(--app-border)}.workspace-shell .citation-modal{background:var(--theme-base);border-color:var(--theme-border);box-shadow:var(--theme-panel-shadow);color:var(--theme-text)}.workspace-shell .citation-modal-header,.workspace-shell .citation-manager-sidebar,.workspace-shell .citation-manager-detail-header{border-color:var(--theme-border)}.workspace-shell .citation-modal-header h2,.workspace-shell .citation-manager-detail-header h3,.workspace-shell .citation-manager-list strong{color:var(--theme-text)}.workspace-shell .citation-modal-header p,.workspace-shell .citation-manager-detail-header p,.workspace-shell .citation-manager-list small,.workspace-shell .citation-field span{color:var(--theme-muted-text)}.workspace-shell .citation-manager-sidebar,.workspace-shell .citation-manager-detail{background:var(--theme-muted)}.workspace-shell .citation-manager-search,.workspace-shell .citation-field input,.workspace-shell .citation-field textarea,.workspace-shell .citation-field select,.workspace-shell .citation-author-row,.workspace-shell .citation-author-row input{background:var(--theme-base);border-color:var(--theme-border);color:var(--theme-text)}.workspace-shell .citation-field input:focus,.workspace-shell .citation-field textarea:focus,.workspace-shell .citation-field select:focus,.workspace-shell .citation-author-row input:focus{border-color:var(--theme-accent);box-shadow:var(--theme-focus-ring)}.settings-tabs button{border-radius:var(--ui-control-radius);color:var(--app-muted-text)}.settings-tabs button:hover{background:var(--app-hover);color:var(--app-text)}.settings-tabs button.active{background:var(--app-accent-soft);color:var(--app-accent-hover)}.account-modal>header span,.settings-content form>label,.settings-field-grid label,.account-message{color:var(--app-muted-text)}.account-message{background:var(--app-muted)}.ai-collaborator-panel,.ai-collaborator-tag-toast{background:var(--theme-base);border-color:var(--theme-border);box-shadow:var(--theme-panel-shadow);color:var(--theme-text)}.ai-collaborator-panel>header,.ai-collaborator-tag-toast>header{border-color:var(--theme-border)}.ai-collaborator-panel>header small,.ai-collaborator-message.tool,.ai-collaborator-live-action,.ai-collaborator-usage,.ai-collaborator-plan li{color:var(--theme-muted-text)}.ai-collaborator-message.user{background:var(--theme-muted);color:var(--theme-text);border-radius:var(--ui-menu-radius)}.ai-collaborator-plan-shell{background:var(--theme-muted);border-color:var(--theme-border)}.ai-collaborator-panel>form{background:var(--theme-muted);border-color:var(--theme-border);box-shadow:var(--theme-subtle-shadow)}.ai-collaborator-panel>form:focus-within{border-color:var(--theme-accent);box-shadow:var(--theme-focus-ring)}.ai-collaborator-panel textarea{color:var(--theme-text)}.ai-collaborator-panel>form>button{background:var(--theme-active);color:var(--theme-active-text)}.ai-collaborator-panel>form>button:not(:disabled):hover{background:var(--theme-accent-hover);transform:none}.ai-collaborator-panel>form>button.stop{background:var(--theme-color-danger);color:var(--theme-color-danger-text)}.ai-collaborator-panel-icon{--theme-user-color: var(--theme-accent) !important}.workspace-shell .editor-surface{--document-flow-gap: 1.35em;--document-list-gap: .44em;--document-list-exit-gap: 1.25em;--document-paragraph-gap: 1.35em}.workspace-shell .editor-surface :is(ul,ol){line-height:1.55}.workspace-shell .editor-surface li+li{margin-top:.12em}.workspace-shell .editor-surface>:is(p,h1,h2,h3,ul,ol,blockquote,pre,.tableWrapper,figure,.image-gallery-block,.workspace-block-math,.document-structure-block,.bibliography-node){margin-block:0!important;padding-block:.675rem}.workspace-shell .editor-surface>:is(ul,ol)>li{margin:0;padding-block:.16rem}:is(.app-dialog,.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel)>header{min-width:0;position:relative}:is(.app-dialog,.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel)>header>button:last-child{flex:0 0 auto;position:relative;z-index:2}.workspace-browser-actions{align-items:center;display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:.5rem}.workspace-browser-actions .search-box{flex:0 0 16rem;width:16rem}.workspace-browser-actions .primary-button{flex:0 0 auto;height:2.25rem;white-space:nowrap}.workspace-browser-actions .secondary-button,.workspace-browser-actions .search-box{height:2.25rem}.workspace-browser-row .icon-button{height:2rem;width:2rem}@media(max-width:767px){.workspace-browser-actions{align-items:center;flex:1 1 auto;min-width:0;width:100%}.workspace-browser-actions .search-box{flex:1 1 auto;min-width:0;width:auto}.dashboard-compact-action{justify-content:center;padding-inline:0;width:2.25rem}.dashboard-action-label{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}}.settings-signout-section{align-items:center;border-top:1px solid var(--app-border);display:flex;justify-content:space-between;gap:1rem;padding:1.25rem 1.75rem}.settings-signout-section .secondary-button{flex:0 0 auto}.workspace-documents-header{padding-bottom:.25rem;padding-left:1.375rem;padding-right:.75rem}.sidebar-doc-actions .sidebar-doc-create-button{background:transparent;color:var(--theme-accent);order:1}.sidebar-doc-actions .sidebar-doc-create-button:hover{background:var(--theme-hover);color:var(--theme-text)}.sidebar-doc-actions .sidebar-doc-upload-button{color:var(--theme-muted-text);order:0}.sidebar-document-list{padding-right:.5rem}.sidebar-trash{flex:0 0 auto;margin:10px 0rem 0rem}.sidebar-trash-toggle,.sidebar-trash-row{align-items:center;color:var(--app-muted-text);display:flex;font-size:.875rem}.sidebar-trash-toggle{border-radius:.5rem;gap:.5rem;height:2.5rem;padding:0 .625rem;text-align:left;transition:background-color .15s ease,color .15s ease;width:100%}.sidebar-trash-toggle:hover,.sidebar-trash-toggle.open{background:var(--app-muted);color:var(--app-text)}.sidebar-trash-toggle>svg{color:var(--app-danger)}.sidebar-trash-caret{color:var(--app-faint-text);font-size:.75rem;margin-left:auto}.sidebar-trash-list{margin-top:.375rem;max-height:11rem;overflow-y:auto}.sidebar-trash-row{gap:.5rem;min-height:2.5rem;padding:0 .625rem}.sidebar-trash-title{background:transparent;border:0;color:var(--app-text);cursor:pointer;font:inherit;min-width:0;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.sidebar-trash-title:hover{text-decoration:underline}.sidebar-trash-expiry{color:var(--app-faint-text);font-size:.72rem;margin-left:auto;white-space:nowrap}.sidebar-trash-action{align-items:center;border-radius:.375rem;color:var(--app-muted-text);display:inline-flex;flex:0 0 auto;height:1.75rem;justify-content:center;transition:background-color .15s ease,color .15s ease;width:1.75rem}.sidebar-trash-action:hover{background:var(--app-muted);color:var(--app-text)}.sidebar-trash-action.danger:hover{background:color-mix(in srgb,var(--theme-color-danger) 10%,transparent);color:var(--theme-color-danger)}.sidebar-trash-empty{color:var(--app-faint-text);font-size:.8rem;padding:.375rem .625rem .625rem 2rem}.doc-row-rename,.rename-input{background:transparent;border:0;border-bottom:1px solid var(--theme-border);border-radius:0;box-shadow:none;color:var(--theme-text);font-weight:550;padding-inline:0}.doc-row-rename:focus,.rename-input:focus{border-color:var(--theme-accent);box-shadow:none;outline:none}.doc-row.active .doc-row-rename{background:transparent;border-color:var(--theme-accent);color:var(--theme-text)}.doc-actions-menu{min-width:8.5rem;padding:.25rem;right:-.25rem;top:calc(100% + .25rem);box-shadow:0 8px 24px #2427221a,0 1px 4px #2427220d}.doc-actions-menu button{font-size:.78rem;gap:.5rem;height:2rem;padding-inline:.5rem}.doc-actions-menu button.danger{border-top:1px solid var(--theme-border);margin-top:.15rem;padding-top:0}.sidebar-doc-actions .sidebar-folder-create-button{color:var(--theme-muted-text);order:0}.workspace-tree{position:relative}.workspace-tree-branch,.workspace-tree-children{display:contents}.folder-row{align-items:center;border-radius:.5rem;color:var(--theme-muted-text);display:flex;gap:.15rem;height:2.5rem;padding-right:.35rem;position:relative;transition:background-color .14s ease,box-shadow .14s ease,color .14s ease}.folder-row:hover{background:var(--app-muted);color:var(--theme-text)}.folder-row.drop-active{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-base));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--theme-accent) 55%,transparent)}.folder-collapse-button,.folder-icon-button,.folder-actions>button{align-items:center;border-radius:.35rem;display:inline-flex;flex:0 0 auto;height:1.75rem;justify-content:center;transition:background-color .14s ease,color .14s ease;width:1.75rem}.folder-collapse-button:hover,.folder-icon-button:hover,.folder-actions>button:hover{background:var(--app-hover);color:var(--theme-text)}.folder-collapse-button svg{transition:transform .14s ease}.folder-collapse-button svg.expanded{transform:rotate(90deg)}.folder-color-control,.folder-actions{position:relative}.folder-row-main{align-items:center;align-self:stretch;display:flex;flex:1 1 auto;font-size:.875rem;font-weight:550;min-width:0;text-align:left}.folder-row-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-actions{margin-left:auto;opacity:0;transition:opacity .12s ease}.folder-row:hover .folder-actions,.folder-actions:focus-within{opacity:1}.folder-actions-menu,.folder-color-picker{background:var(--app-surface-raised);border:1px solid var(--app-border);border-radius:var(--ui-menu-radius);box-shadow:0 10px 28px #24272224;position:absolute;z-index:30}.folder-actions-menu{padding:.25rem;right:0;top:calc(100% + .2rem);width:8.75rem}.folder-actions-menu button{align-items:center;border-radius:.4rem;color:var(--app-muted-text);display:flex;font-size:.78rem;gap:.5rem;height:2rem;padding:0 .5rem;text-align:left;width:100%}.folder-actions-menu button:hover{background:var(--app-muted);color:var(--app-text)}.folder-actions-menu button.danger{border-top:1px solid var(--app-border);color:var(--app-danger);margin-top:.15rem}.folder-color-picker{left:-.35rem;padding:.6rem;top:calc(100% + .25rem);width:9.5rem}.folder-color-picker>span{color:var(--app-faint-text);display:block;font-size:.66rem;font-weight:700;letter-spacing:.08em;margin-bottom:.5rem;text-transform:uppercase}.folder-color-picker>div{display:grid;gap:.4rem;grid-template-columns:repeat(4,1fr)}.folder-color-picker button{border:2px solid var(--app-surface-raised);border-radius:999px;box-shadow:0 0 0 1px color-mix(in srgb,currentColor 18%,transparent);height:1.35rem;width:1.35rem}.folder-color-picker button[aria-pressed=true]{box-shadow:0 0 0 2px var(--app-surface-raised),0 0 0 3px var(--theme-accent)}.folder-row-rename{background:transparent;border:0;border-bottom:1px solid var(--theme-accent);color:var(--theme-text);flex:1 1 auto;font-size:.875rem;font-weight:550;min-width:0;outline:none}.workspace-tree-doc{padding-right:.35rem}.workspace-tree-doc[draggable=true],.folder-row[draggable=true]{cursor:grab}.workspace-tree-doc[draggable=true]:active,.folder-row[draggable=true]:active{cursor:grabbing}.workspace-tree-root-drop{border:1px dashed transparent;border-radius:.5rem;color:transparent;font-size:.72rem;height:0;margin:.15rem .5rem;overflow:hidden;text-align:center;transition:height .14s ease,padding .14s ease,color .14s ease,border-color .14s ease}.workspace-tree.root-drop-active>.workspace-tree-root-drop{border-color:color-mix(in srgb,var(--theme-accent) 50%,transparent);color:var(--theme-muted-text);height:2rem;padding:.35rem}.workspace-tree-spinner{border:2px solid color-mix(in srgb,var(--theme-muted-text) 25%,transparent);border-radius:999px;border-top-color:var(--theme-accent);height:.9rem;width:.9rem;animation:spin .7s linear infinite}.dashboard-new-folder{white-space:nowrap}.dashboard-folder-tree{position:relative}.dashboard-folder-row{align-items:center;background:color-mix(in srgb,var(--app-muted) 42%,transparent);border-bottom:1px solid var(--app-border);color:var(--app-text);display:flex;gap:.35rem;min-height:3.75rem;padding-right:.75rem;position:relative;transition:background-color .14s ease,box-shadow .14s ease}.dashboard-folder-row:hover{background:var(--app-muted)}.dashboard-folder-row.drop-active{background:color-mix(in srgb,var(--theme-accent) 9%,var(--app-surface));box-shadow:inset 3px 0 0 var(--theme-accent)}.dashboard-folder-collapse,.dashboard-folder-color>button,.dashboard-folder-actions>button{align-items:center;border-radius:var(--ui-control-radius);color:var(--app-muted-text);display:inline-flex;flex:0 0 auto;height:1.875rem;justify-content:center;transition:background-color .14s ease,color .14s ease;width:1.875rem}.dashboard-folder-collapse:hover,.dashboard-folder-color>button:hover,.dashboard-folder-actions>button:hover{background:var(--app-hover);color:var(--app-text)}.dashboard-folder-collapse svg{transition:transform .14s ease}.dashboard-folder-collapse svg.expanded{transform:rotate(90deg)}.dashboard-folder-color,.dashboard-folder-actions{position:relative}.dashboard-folder-main{align-items:flex-start;align-self:stretch;display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;min-width:0;text-align:left}.dashboard-folder-main strong{font-size:.9rem;font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-folder-main span{color:var(--app-faint-text);font-size:.72rem;margin-top:.05rem}.dashboard-folder-actions{margin-left:auto;opacity:0;transition:opacity .12s ease}.dashboard-folder-row:hover .dashboard-folder-actions,.dashboard-folder-actions:focus-within{opacity:1}.dashboard-folder-menu,.dashboard-folder-color-picker{background:var(--app-surface-raised);border:1px solid var(--app-border);border-radius:var(--ui-menu-radius);box-shadow:0 10px 28px #24272224;position:absolute;z-index:30}.dashboard-folder-menu{padding:.3rem;right:0;top:calc(100% + .25rem);width:9rem}.dashboard-folder-menu button{align-items:center;border-radius:.4rem;color:var(--app-muted-text);display:flex;font-size:.78rem;gap:.5rem;height:2rem;padding:0 .5rem;width:100%}.dashboard-folder-menu button:hover{background:var(--app-muted);color:var(--app-text)}.dashboard-folder-menu button.danger{border-top:1px solid var(--app-border);color:var(--app-danger);margin-top:.15rem}.dashboard-folder-color-picker{left:0;padding:.65rem;top:calc(100% + .25rem);width:10rem}.dashboard-folder-color-picker>span{color:var(--app-faint-text);display:block;font-size:.66rem;font-weight:700;letter-spacing:.08em;margin-bottom:.5rem;text-transform:uppercase}.dashboard-folder-color-picker>div{display:grid;gap:.45rem;grid-template-columns:repeat(4,1fr)}.dashboard-folder-color-picker button{border:2px solid var(--app-surface-raised);border-radius:999px;height:1.45rem;width:1.45rem}.dashboard-folder-color-picker button[aria-pressed=true]{box-shadow:0 0 0 2px var(--app-surface-raised),0 0 0 3px var(--theme-accent)}.dashboard-folder-rename{background:transparent;border:0;border-bottom:1px solid var(--theme-accent);color:var(--app-text);flex:1 1 auto;font-size:.9rem;font-weight:650;min-width:0;outline:none}.dashboard-folder-row[draggable=true],.dashboard-workspace-drag-row[draggable=true]{cursor:grab}.dashboard-folder-row[draggable=true]:active,.dashboard-workspace-drag-row[draggable=true]:active{cursor:grabbing}.dashboard-workspace-drag-row{border-bottom:1px solid var(--app-border)}.dashboard-workspace-drag-row>div{border:0}.editor-node-toolbar{align-items:center;background:var(--app-surface-raised);border:1px solid var(--app-border);border-radius:var(--ui-menu-radius);box-shadow:var(--app-shadow-menu);display:flex;gap:.25rem;padding:.25rem}.editor-node-toolbar .toolbar-button,.editor-node-toolbar>button{background:transparent;border:0;border-radius:var(--ui-control-radius);color:var(--app-muted-text);height:2rem;min-width:2rem}.editor-node-toolbar .toolbar-button:hover,.editor-node-toolbar>button:hover{background:var(--app-muted);color:var(--app-text)}.editor-node-toolbar .toolbar-button.active,.editor-node-toolbar>button.active{background:var(--app-accent-soft);color:var(--app-accent-hover)}.editor-node-toolbar .toolbar-button.danger,.editor-node-toolbar>button.danger,.image-toolbar .toolbar-button.danger,.citation-manager-list-delete,.citation-manager-detail-header .icon-button.danger,.table-utility-toolbar button.delete,.table-control-button.delete,.editor-surface .image-gallery-delete{color:var(--app-danger)}.editor-node-toolbar .toolbar-button.danger:hover,.editor-node-toolbar>button.danger:hover,.image-toolbar .toolbar-button.danger:hover,.citation-manager-list-delete:hover,.citation-manager-detail-header .icon-button.danger:hover,.table-utility-toolbar button.delete:hover,.table-control-button.delete:hover,.editor-surface .image-gallery-delete:hover{background:var(--app-danger-soft);border-color:transparent;color:var(--app-danger)}.editor-node-toolbar .table-utility-divider{background:var(--app-border)}.editor-surface .workspace-image,.editor-surface .image-gallery-item{border-radius:10px}@supports (corner-shape: squircle){.editor-surface .workspace-image,.editor-surface .image-gallery-item{corner-shape:squircle}}.editor-surface p[data-block-variant=title]+*,.editor-surface p[data-block-variant=subtitle]+*{margin-top:1.5rem}.editor-surface p[data-block-variant=title]+p[data-block-variant=subtitle]{margin-top:.32em}.editor-surface :is(p,h1,h2,h3,h4,h5,h6)[style*="text-align: center"],.editor-surface :is(p,h1,h2,h3,h4,h5,h6)[style*="text-align: right"]{max-width:none!important;width:100%}.editor-surface .workspace-math-source-editor{background:var(--app-surface-raised);border-color:var(--app-border);border-radius:var(--ui-menu-radius);box-shadow:var(--app-shadow-menu);color:var(--app-text)}.editor-surface .workspace-math-source,.editor-surface .workspace-math-source-highlight{padding-top:2.35rem}.editor-surface .workspace-math-ai-toggle{background:var(--app-muted);border-radius:var(--ui-control-radius);color:var(--app-muted-text);right:.4rem;top:.35rem}.editor-surface .workspace-math-ai-toggle:hover,.editor-surface .workspace-math-ai-toggle:focus-visible{background:var(--app-hover);color:var(--app-text)}.editor-surface .workspace-math-ai-form{background:var(--app-surface);border-color:var(--app-border)}.editor-surface .workspace-math-ai-input{background:var(--app-muted);border-radius:var(--ui-control-radius);color:var(--app-text)}.editor-surface .workspace-math-ai-submit{background:var(--app-accent);border-radius:var(--ui-control-radius);color:#fff}.editor-surface .workspace-inline-math:before,.editor-surface .workspace-inline-math:after{content:"";display:inline-block;height:1em;width:.12em}.share-modal-header>button,.snapshot-modal-header>button,.citation-modal-header>button,.account-modal>header>button,.theme-sidebar-header>button,.image-search-header>button{background:transparent;border-color:transparent;box-shadow:none;color:var(--app-muted-text)}.share-modal-header>button:hover,.snapshot-modal-header>button:hover,.citation-modal-header>button:hover,.account-modal>header>button:hover,.theme-sidebar-header>button:hover,.image-search-header>button:hover{background:var(--app-muted);border-color:transparent;color:var(--app-text)}.delete-icon{color:var(--app-danger, #b94b45);flex:0 0 auto}.version-history-panel{background:color-mix(in srgb,var(--theme-base) 96%,transparent);border-color:var(--theme-border);border-radius:.375rem;box-shadow:var(--theme-panel-shadow);color:var(--theme-text);z-index:65}@media(max-width:720px){.version-history-panel{border-radius:.375rem .375rem 0 0}}.version-history-header{border-color:var(--theme-border);padding-inline:1.125rem}.version-history-header strong{color:var(--theme-text)}.version-history-header span,.version-history-empty{color:var(--theme-muted-text)}.version-history-actions button{background:var(--theme-base);border-color:var(--theme-border);border-radius:var(--ui-control-radius);color:var(--theme-muted-text)}.version-history-actions button:hover{background:var(--theme-hover);border-color:var(--theme-border);color:var(--theme-text)}.version-history-actions .version-restore-button{background:var(--theme-active);border-color:var(--theme-active);color:var(--theme-active-text)}.version-history-actions .version-restore-button:hover{background:var(--theme-accent-hover);border-color:var(--theme-accent-hover);color:var(--theme-active-text)}.version-history-create,.version-history-current,.version-history-item{background:var(--theme-base);border-color:var(--theme-border);border-radius:var(--ui-menu-radius)}.version-history-create:hover,.version-history-current:hover,.version-history-item:hover{background:var(--theme-hover);border-color:var(--theme-border)}.version-history-create{border-color:var(--theme-border);color:var(--theme-muted-text)}.version-history-create:hover{background:var(--theme-hover);border-color:color-mix(in srgb,var(--theme-accent) 42%,var(--theme-border));color:var(--theme-text)}.version-history-create .version-create-icon{color:var(--theme-accent)}.version-history-current.active,.version-history-item.active{background:var(--theme-hover);border-color:color-mix(in srgb,var(--theme-accent) 48%,var(--theme-border));color:var(--theme-text)}.version-history-current.active small,.version-history-item.active small,.version-history-item.active em{color:var(--theme-muted-text)}.version-dot{background:var(--theme-border)}.version-history-current.active .version-dot,.version-history-item.active .version-dot{background:var(--theme-accent)}.version-edit-button,.version-history-item.active .version-edit-button{color:var(--theme-muted-text)}.version-edit-button:hover,.version-history-item.active .version-edit-button:hover{background:var(--theme-muted);color:var(--theme-text)}.version-history-item input{background:var(--theme-base);border-color:var(--theme-border);border-radius:var(--ui-control-radius);color:var(--theme-text)}.version-history-item input:focus{border-color:var(--theme-accent);box-shadow:var(--theme-focus-ring)}.dashboard-shell .account-modal-backdrop{background:color-mix(in srgb,var(--app-canvas) 78%,transparent);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.account-modal{background:var(--app-surface);border-color:var(--app-border);border-radius:var(--ui-panel-radius);box-shadow:0 18px 52px #2427221c,var(--app-shadow-subtle);max-width:720px}.link-dialog-backdrop,.app-dialog-backdrop,.share-modal-backdrop,.snapshot-modal-backdrop,.citation-modal-backdrop,.pdf-preview-backdrop,.account-modal-backdrop,.onboarding-backdrop{align-items:center;justify-content:center;padding:2rem;z-index:200}.link-dialog{height:min(260px,calc(var(--app-viewport-height) - 4rem));width:min(448px,calc(100vw - 4rem));overflow-y:auto}.app-dialog{height:auto;max-height:calc(var(--app-viewport-height) - 4rem);min-height:0;width:min(440px,calc(100vw - 4rem));overflow-y:auto;gap:1.25rem;padding:1.5rem}.app-dialog-header{align-items:flex-start;display:flex;gap:.875rem}.app-dialog-header>div{min-width:0}.app-dialog-header h2{font-size:1.125rem;line-height:1.35}.app-dialog-header p{margin-top:.375rem;max-width:34rem}.app-dialog-icon{align-items:center;background:color-mix(in srgb,var(--theme-color-danger) 10%,transparent);border-radius:.65rem;color:var(--theme-color-danger);display:inline-flex;flex:0 0 auto;height:2.25rem;justify-content:center;width:2.25rem}.app-dialog-actions{border-top:1px solid var(--app-border);margin:0 -1.5rem -1.5rem;padding:1rem 1.5rem 1.25rem}.app-dialog-actions button{min-height:2.5rem}.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel{flex-shrink:0}.share-modal{display:flex;flex-direction:column;height:min(780px,calc(var(--app-viewport-height) - 4rem));width:min(680px,calc(100vw - 4rem))}.snapshot-modal{display:flex;flex-direction:column;height:min(680px,calc(var(--app-viewport-height) - 4rem));width:min(680px,calc(100vw - 4rem))}.citation-modal{height:min(760px,calc(var(--app-viewport-height) - 4rem));width:min(1024px,calc(100vw - 4rem))}.account-modal{display:flex;flex-direction:column;height:min(720px,calc(var(--app-viewport-height) - 4rem));width:min(720px,calc(100vw - 4rem))}.pdf-preview-panel{height:min(780px,calc(var(--app-viewport-height) - 4rem));width:min(720px,calc(100vw - 4rem))}.onboarding-dialog{height:min(640px,calc(var(--app-viewport-height) - 4rem));width:min(640px,calc(100vw - 4rem))}.share-modal-body,.snapshot-modal-body,.settings-layout{flex:1 1 auto;min-height:0}.share-modal-body,.snapshot-modal-body,.settings-content{max-height:none}@media(max-width:720px){.link-dialog-backdrop,.app-dialog-backdrop,.share-modal-backdrop,.snapshot-modal-backdrop,.citation-modal-backdrop,.pdf-preview-backdrop,.account-modal-backdrop,.onboarding-backdrop{align-items:center;padding:.75rem}.link-dialog,.app-dialog,.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel,.onboarding-dialog{border-radius:var(--ui-panel-radius);width:calc(100vw - 1.5rem)}.link-dialog,.app-dialog{height:auto;max-height:calc(var(--app-viewport-height) - 1.5rem)}.share-modal{height:min(780px,calc(var(--app-viewport-height) - 1.5rem))}.snapshot-modal{height:min(680px,calc(var(--app-viewport-height) - 1.5rem))}.citation-modal{height:min(760px,calc(var(--app-viewport-height) - 1.5rem))}.account-modal{height:min(720px,calc(var(--app-viewport-height) - 1.5rem))}.pdf-preview-panel{height:min(780px,calc(var(--app-viewport-height) - 1.5rem))}.onboarding-dialog{grid-template-rows:minmax(0,15rem) minmax(0,1fr) auto;height:min(640px,calc(var(--app-viewport-height) - 1.5rem))}.citation-manager-layout{min-height:0}.onboarding-copy{overflow-y:auto}}.account-modal>header{background:var(--app-surface);border-color:var(--app-border);min-height:4.5rem;padding:.875rem 1rem .875rem 1.125rem}.settings-modal-heading{align-items:center;display:flex;gap:.7rem}.account-modal>header .settings-modal-icon{align-items:center;background:var(--app-accent-soft);border-radius:var(--ui-control-radius);color:var(--app-accent);display:inline-flex;height:2.25rem;justify-content:center;width:2.25rem}.account-modal>header .settings-modal-heading>div>span{color:var(--app-faint-text);font-size:.62rem;letter-spacing:.12em}.account-modal>header h2{color:var(--app-text);font-size:1.05rem;font-weight:640;margin-top:.08rem}.settings-layout{display:block;min-height:0}.settings-tabs{background:var(--app-surface);border-bottom:1px solid var(--app-border);border-color:var(--app-border);border-right:0;flex-direction:row;gap:.25rem;overflow-x:auto;padding:.625rem 1rem}.settings-tabs button{border-radius:var(--ui-control-radius);flex:0 0 auto;font-size:.76rem;font-weight:600;min-height:2.25rem;padding:.5rem .75rem}.settings-tabs button.active{background:var(--app-accent-soft);box-shadow:none;color:var(--app-accent-hover)}.dashboard-shell,.workspace-shell{height:var(--app-viewport-height);min-height:var(--app-viewport-height)}.link-dialog{height:min(260px,calc(var(--app-viewport-height) - 4rem))}.app-dialog{max-height:calc(var(--app-viewport-height) - 4rem)}.share-modal{height:min(780px,calc(var(--app-viewport-height) - 4rem));max-height:calc(var(--app-viewport-height) - 4rem)}.snapshot-modal{height:min(680px,calc(var(--app-viewport-height) - 4rem));max-height:calc(var(--app-viewport-height) - 4rem)}.citation-modal{height:min(760px,calc(var(--app-viewport-height) - 4rem));max-height:calc(var(--app-viewport-height) - 4rem)}.account-modal{height:min(720px,calc(var(--app-viewport-height) - 4rem));max-height:calc(var(--app-viewport-height) - 4rem)}.pdf-preview-panel{height:min(780px,calc(var(--app-viewport-height) - 4rem));max-height:calc(var(--app-viewport-height) - 4rem)}.onboarding-dialog{max-height:calc(var(--app-viewport-height) - 2rem)}.settings-content{max-height:min(34rem,calc(var(--app-viewport-height) - 11rem))}.doc-transition .ProseMirror{min-height:100%}@media(max-width:720px){.link-dialog,.app-dialog{max-height:calc(var(--app-viewport-height) - 1.5rem)}.share-modal{height:min(780px,calc(var(--app-viewport-height) - 1.5rem))}.snapshot-modal{height:min(680px,calc(var(--app-viewport-height) - 1.5rem))}.citation-modal{height:min(760px,calc(var(--app-viewport-height) - 1.5rem))}.account-modal{height:min(720px,calc(var(--app-viewport-height) - 1.5rem))}.pdf-preview-panel{height:min(780px,calc(var(--app-viewport-height) - 1.5rem))}.onboarding-dialog{height:min(640px,calc(var(--app-viewport-height) - 1.5rem))}}.settings-content form,.ai-settings-panel{gap:1rem;padding:1.5rem 1.75rem}.account-section-heading strong{color:var(--app-text);font-size:.9rem;font-weight:640}.account-modal input,.account-modal select{background-color:var(--app-surface-raised);border-color:var(--app-border);border-radius:var(--ui-control-radius)}.ai-setting-row{border-color:var(--app-border);padding-block:1rem}.ai-credit-balance{background:linear-gradient(135deg,var(--app-accent-soft),color-mix(in srgb,var(--app-surface-raised) 88%,var(--app-accent) 12%));border:1px solid color-mix(in srgb,var(--app-border) 70%,var(--app-accent) 30%);border-radius:var(--ui-menu-radius);display:grid;gap:.85rem;padding:1rem}.ai-credit-balance-heading{align-items:center;display:grid;gap:.65rem;grid-template-columns:auto 1fr auto}.ai-credit-balance-heading>span{align-items:center;background:var(--app-surface-raised);border-radius:var(--ui-control-radius);color:var(--app-accent);display:inline-flex;height:2rem;justify-content:center;width:2rem}.ai-credit-balance-heading strong,.ai-credit-balance-heading small{display:block}.ai-credit-balance-heading strong{color:var(--app-text);font-size:.82rem}.ai-credit-balance-heading small{color:var(--app-faint-text);font-size:.68rem;margin-top:2px}.ai-credit-balance-value{align-items:baseline;display:flex;flex-wrap:wrap;gap:.25rem .45rem}.ai-credit-balance-value strong{color:var(--app-text);font-size:1.65rem;line-height:1}.ai-credit-balance-value span{color:var(--app-faint-text);font-size:.76rem;font-weight:600}.ai-credit-balance-value small{color:var(--app-faint-text);font-size:.68rem;margin-left:auto}.ai-credit-progress{background:color-mix(in srgb,var(--app-border) 75%,transparent);border-radius:999px;height:.38rem;overflow:hidden}.ai-credit-progress>span{background:var(--app-accent);border-radius:inherit;display:block;height:100%;min-width:0;transition:width .22s ease}.ai-credit-balance-footer{color:var(--app-faint-text);display:flex;flex-wrap:wrap;font-size:.66rem;gap:.4rem 1rem;justify-content:space-between}.ai-credit-balance-loading{align-items:center;color:var(--app-faint-text);display:flex;font-size:.74rem;gap:.4rem;min-height:2.5rem}@media(max-width:660px){.account-modal{border-radius:var(--ui-panel-radius) var(--ui-panel-radius) 0 0}.settings-tabs{padding:.6rem .75rem}}.editor-floating-footer{height:2.25rem;overflow:hidden;transition:height .24s cubic-bezier(.2,.8,.2,1),right .26s cubic-bezier(.16,1,.3,1),opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),background-color .18s ease,box-shadow .18s ease}.editor-floating-footer>*{transition:opacity .11s ease}.editor-floating-footer.version-history-open{background:color-mix(in srgb,var(--theme-base) 96%,transparent);border-color:var(--theme-border);box-shadow:var(--theme-panel-shadow);height:10.5rem;padding:0;z-index:64}.editor-floating-footer.version-history-open>*{opacity:0}.version-history-panel{animation:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:transparent;border-color:transparent;bottom:1.25rem;box-shadow:none;height:10.5rem;inset-inline:2rem;transition:right .26s cubic-bezier(.16,1,.3,1)}.ai-collaborator-layout.agent-session-open .version-history-panel{right:26.5rem}.version-history-panel>*{animation:footer-menu-content-in .21s 70ms cubic-bezier(.2,.8,.2,1) both}.version-history-track{scrollbar-width:none}.version-history-track::-webkit-scrollbar{display:none}.ai-collaborator-panel>header,.ai-collaborator-panel>form{flex:0 0 auto}.ai-collaborator-conversation{min-height:0}.editor-floating-footer.collaborator-open{opacity:0;pointer-events:none;transform:translateY(10px) scaleX(.58)}.editor-floating-footer.collaborator-session-open{right:26.5rem}.ai-collaborator-panel{transition:left .26s cubic-bezier(.16,1,.3,1),right .26s cubic-bezier(.16,1,.3,1),bottom .26s cubic-bezier(.16,1,.3,1),width .26s cubic-bezier(.16,1,.3,1),height .26s cubic-bezier(.16,1,.3,1),transform .26s cubic-bezier(.16,1,.3,1),background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.ai-collaborator-panel.prompt-only{animation:collaborator-footer-in .26s cubic-bezier(.16,1,.3,1) both;background:transparent;border:0;bottom:1.25rem;box-shadow:none;height:auto;left:50%;overflow:visible;right:auto;transform:translate(-50%);width:min(40rem,calc(100% - 4rem));z-index:49}.ai-collaborator-layout.agent-prompt-open:after{animation:collaborator-prompt-backdrop-in .24s ease-out both;background:linear-gradient(to top,color-mix(in srgb,var(--theme-base) 96%,transparent) 0%,color-mix(in srgb,var(--theme-base) 72%,transparent) 48%,transparent 100%);bottom:0;content:"";height:8rem;left:0;pointer-events:none;position:absolute;right:0;z-index:47}.ai-collaborator-panel.prompt-only>header,.ai-collaborator-panel.prompt-only>.ai-collaborator-conversation,.ai-collaborator-panel.prompt-only>.ai-collaborator-plan-shell,.ai-collaborator-panel.prompt-only>.ai-collaborator-usage{display:none}.ai-collaborator-panel.prompt-only>form{align-items:center;animation:collaborator-composer-in .23s 40ms cubic-bezier(.16,1,.3,1) both;background:var(--theme-base);border-color:var(--theme-border);box-shadow:var(--theme-menu-shadow);margin:0;min-height:3.25rem;position:relative;z-index:1}.ai-collaborator-panel.prompt-only textarea{box-sizing:border-box;min-height:2rem;padding-block:.4375rem}.ai-collaborator-panel.active-session{animation:collaborator-side-panel-in .22s cubic-bezier(.16,1,.3,1) both;bottom:1.25rem;right:2rem}.ai-collaborator-window-actions{align-items:center;display:inline-flex;flex:0 0 auto;gap:.15rem}.ai-collaborator-tag-toast.manually-collapsed{bottom:4rem;right:2rem}@keyframes footer-menu-content-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes collaborator-footer-in{0%{opacity:0;transform:translate(-50%,18px) scale(.88)}to{opacity:1;transform:translate(-50%) scale(1)}}@keyframes collaborator-composer-in{0%{opacity:0;transform:translateY(9px) scaleX(.9)}to{opacity:1;transform:translateY(0) scaleX(1)}}@keyframes collaborator-prompt-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes collaborator-side-panel-in{0%{opacity:0;transform:translate(12px,8px) scale(.96)}to{opacity:1;transform:translate(0) scale(1)}}@media(max-width:720px){.editor-floating-footer.version-history-open,.version-history-panel{bottom:.75rem;height:9.5rem;inset-inline:.75rem}.version-history-panel{border-radius:.375rem}.ai-collaborator-panel.prompt-only{bottom:.75rem;width:calc(100% - 1.5rem)}.ai-collaborator-panel.active-session{bottom:.75rem;right:.75rem}.editor-floating-footer.collaborator-session-open{opacity:0;pointer-events:none;transform:translateY(8px)}.ai-collaborator-layout.agent-session-open .version-history-panel{display:none}.ai-collaborator-tag-toast.manually-collapsed{bottom:3.5rem;right:.75rem}}@media(max-width:660px){.account-modal{border-radius:var(--ui-panel-radius)}}@supports (corner-shape: squircle){:where(button,input,select,textarea,.auth-panel,.recent-card,.browser-shell,.workspace-empty-create,.workspace-sidebar,.theme-sidebar,.doc-row,.doc-actions-menu,.bubble-toolbar,.image-toolbar,.divider-style-toolbar,.table-utility-toolbar,.workspace-math-source-editor,.toolbar-dropdown-menu,.toolbar-dropdown-item,.slash-menu,.citation-picker,.icon-picker,.mention-menu,.export-menu-popover,.share-menu-popover,.comment-reaction-picker,.theme-card,.theme-card-actions,.app-dialog,.share-modal,.snapshot-modal,.citation-modal,.account-modal,.pdf-preview-panel,.share-create-card,.share-link-card,.share-choice,.snapshot-link-row,.account-message,.comment-thread-card,.comment-reply-form,.ai-collaborator-panel,.ai-collaborator-tag-toast,.ai-collaborator-message,.ai-collaborator-plan-shell,.ai-collaborator-panel>form,.editor-floating-footer,.version-history-panel){corner-shape:squircle}:where(.ui-user-avatar,.cover-page-emblem,.collaborator-dot,.color-swatch,.signup-progress span,.ai-collaborator-panel-status>span,.ai-collaborator-live-action>span){corner-shape:round}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:1ms!important}}.onboarding-dialog{border-radius:.7rem;grid-template-rows:24.75rem minmax(0,1fr) auto;height:min(43.75rem,calc(var(--app-viewport-height) - 2rem));max-width:none;width:min(52rem,calc(100vw - 2rem))}.onboarding-close{height:2.75rem;right:1rem;top:1rem;width:2.75rem}.onboarding-graphic{padding:3rem 2.5rem}.onboarding-copy{padding:2.2rem 2.65rem 1.35rem}.onboarding-eyebrow{color:#64748b;font-size:.78rem;letter-spacing:.01em;margin-bottom:.75rem}.onboarding-copy h2{font-size:2.15rem;letter-spacing:-.035em}.onboarding-copy p{font-size:1.16rem;line-height:1.55;margin-top:.85rem;max-width:42rem}.onboarding-footer{padding:0 2.65rem 2.25rem}.onboarding-workspaces{gap:.9rem;max-width:31.25rem;transform:rotate(-.55deg)}.onboarding-new-workspace{border-radius:.5rem;font-size:1rem;gap:.65rem;padding:.95rem 1.15rem;right:-1.8rem;top:-2.65rem}.onboarding-workspace-row{border-radius:.5rem;font-size:1.05rem;gap:.9rem;grid-template-columns:auto 1fr auto;min-height:4.1rem;padding:.7rem 1rem}.onboarding-workspace-row>svg{color:#475569}.onboarding-workspace-row strong{font-weight:650}.onboarding-workspace-icon{border-radius:.38rem;height:2.25rem;width:2.25rem}@media(max-width:720px){.onboarding-dialog{grid-template-rows:minmax(0,15rem) minmax(0,1fr) auto;height:min(640px,calc(var(--app-viewport-height) - 1.5rem));width:calc(100vw - 1.5rem)}.onboarding-copy{padding:1.4rem 1.25rem 1rem}.onboarding-copy h2{font-size:1.35rem;letter-spacing:0}.onboarding-copy p{font-size:.98rem;margin-top:.65rem}.onboarding-footer{padding:0 1.25rem 1.25rem}.onboarding-graphic{padding:2rem 1.5rem}.onboarding-workspaces{max-width:24rem}.onboarding-new-workspace{font-size:.8rem;padding:.7rem .85rem;right:-.4rem;top:-1.7rem}.onboarding-workspace-row{font-size:.84rem;min-height:0;padding:.68rem .8rem}.onboarding-workspace-icon{height:1.75rem;width:1.75rem}}
