.update-toast{position:fixed;z-index:1000;right:1rem;bottom:1rem;left:auto;display:flex;max-width:min(26rem,calc(100vw - 2rem));align-items:flex-start;gap:1rem;padding:.875rem 1rem;border:1px solid #d4d9e2;border-radius:.75rem;background:#fff;box-shadow:0 12px 32px #0f172a2e;color:#0f172a;font-size:.875rem}@media(max-width:480px){.update-toast{right:.75rem;bottom:.75rem;left:.75rem;max-width:none;flex-direction:column;gap:.75rem}}.update-toast__text strong{display:block;font-size:.9375rem}.update-toast__text p{margin:.25rem 0 0;color:#52607a;font-size:.8125rem}.update-toast__actions{display:flex;flex-shrink:0;gap:.5rem}.update-toast__button{padding:.4375rem .875rem;border:1px solid #d4d9e2;border-radius:.5rem;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:.8125rem}.update-toast__button:hover{background:#eef1f6}.update-toast__button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.update-toast__button--primary{border-color:#2563eb;background:#2563eb;color:#fff}.update-toast__button--primary:hover{background:#1d4ed8}[data-theme=dark] .update-toast{border-color:#33415a;background:#16202f;box-shadow:0 12px 32px #00000073;color:#e6ecf5}[data-theme=dark] .update-toast__text p{color:#9aa8bf}[data-theme=dark] .update-toast__button{border-color:#33415a}[data-theme=dark] .update-toast__button:hover{background:#223047}[data-theme=dark] .update-toast__button--primary{border-color:#2563eb;background:#2563eb;color:#fff}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-italic-B5xAaiFk.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-italic-DzZdc28x.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-italic-DcOpz6Lw.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-italic-CILZdfAp.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-italic-K3WlGtc8.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-italic-0pjOp8NU.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-italic-DpCbqKDY.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;--text-2xs: .6875rem;--text-xs: .78125rem;--text-sm: .875rem;--text-md: 1rem;--text-lg: 1.1875rem;--text-xl: 1.375rem;--text-2xl: 1.75rem;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--radius-xs: .375rem;--radius-sm: .5rem;--radius-md: .625rem;--radius-lg: .875rem;--radius-xl: 1rem;--radius-pill: 999px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 4px 12px rgba(15, 23, 42, .1);--shadow-lg: 0 16px 48px rgba(15, 23, 42, .18);--shadow-paper: 0 1px 3px rgba(15, 23, 42, .12), 0 12px 32px rgba(15, 23, 42, .12);--control-h: 1.875rem;--brand-word: #2b579a;--brand-excel: #1c7048;--brand-powerpoint: #c0431f;--brand-ink: #ffffff;--accent: #2563eb;--accent-strong: #1d4ed8;--accent-soft: rgba(37, 99, 235, .12);--accent-ink: #1d4ed8;--success: #0a6b3d;--success-soft: rgba(31, 157, 97, .14);--warning: #8a4f00;--warning-soft: rgba(183, 106, 0, .14);--danger: #a3350a;--danger-soft: rgba(194, 65, 12, .14);--surface: #ffffff;--surface-solid: #ffffff;--surface-muted: #f2f5f9;--surface-strong: #e6ebf3;--chrome: #ffffff;--app-bg: #eef1f6;--canvas-bg: #e3e7ee;--border: rgba(15, 23, 42, .1);--border-strong: rgba(15, 23, 42, .18);--text: #0f172a;--text-muted: #45546a;--text-subtle: #4f5e73;--focus-ring: #1d4ed8;--transition: .18s ease}[data-theme=dark]{--brand-word: #7ba7e0;--brand-excel: #57bd8a;--brand-powerpoint: #f08a63;--brand-ink: #0f172a;--accent: #60a5fa;--accent-strong: #3b82f6;--accent-soft: rgba(96, 165, 250, .18);--accent-ink: #93c5fd;--success: #52d08d;--success-soft: rgba(82, 208, 141, .16);--warning: #f5b84b;--warning-soft: rgba(245, 184, 75, .16);--danger: #fb923c;--danger-soft: rgba(251, 146, 60, .14);--surface: #131c29;--surface-solid: #131c29;--surface-muted: #1b2534;--surface-strong: #253143;--chrome: #131c29;--app-bg: #0b1119;--canvas-bg: #0b1119;--border: rgba(148, 163, 184, .2);--border-strong: rgba(148, 163, 184, .32);--text: #edf4ff;--text-muted: #a9b8cb;--text-subtle: #9fb0c4;--focus-ring: #7cb0ff;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 4px 14px rgba(0, 0, 0, .4);--shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);--shadow-paper: 0 1px 3px rgba(0, 0, 0, .5), 0 14px 40px rgba(0, 0, 0, .45)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--text-md);color:var(--text);background:var(--app-bg);line-height:1.5;font-feature-settings:"liga" 1,"calt" 1,"cv05" 1;font-variation-settings:normal;font-synthesis-weight:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4{letter-spacing:-.015em}.status-bar,.status-pill,.formula-coordinate,.file-meta{font-variant-numeric:tabular-nums}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}a{color:inherit}::placeholder{color:var(--text-muted);opacity:1}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.app-main>*{flex:1 1 auto;min-height:0}.app-container{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.suite-header,.toolbar-shell,.mobile-toolbar-launcher,.workspace-mobile-switcher,.editor-banner,.find-replace-bar,.insert-image-panel,.formula-strip,.status-bar{flex:0 0 auto}.skip-link{position:fixed;left:var(--space-4);top:-4rem;z-index:1200;border:0;border-radius:var(--radius-pill);background:var(--accent);color:#fff;font:inherit;font-weight:700;padding:var(--space-3) var(--space-4);box-shadow:var(--shadow-md);transition:top .2s ease}[data-theme=dark] .skip-link,body.dark-mode .skip-link,[data-theme=dark] .btn-primary,body.dark-mode .btn-primary{color:#0f172a}.skip-link:focus-visible{top:var(--space-4);outline:2px solid var(--surface-solid);outline-offset:-4px;box-shadow:0 0 0 3px var(--focus-ring)}.app-loading{min-height:0;display:grid;place-items:center;padding:var(--space-5)}.app-loading__card{width:min(420px,100%);display:flex;align-items:center;gap:var(--space-4);padding:var(--space-5);border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md)}.app-loading__card strong{display:block;margin-bottom:var(--space-1)}.app-loading__card p{margin:0;color:var(--text-muted)}.app-loading__spinner{width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:var(--radius-pill);border:3px solid rgba(37,99,235,.16);border-top-color:var(--accent);animation:app-spin .9s linear infinite}.surface-loading{min-height:100%;display:grid;place-items:center;padding:var(--space-5);color:var(--text-muted);text-align:center}@keyframes app-spin{to{transform:rotate(360deg)}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:34px;padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);border:1px solid transparent;font-size:var(--text-sm);font-weight:600;text-decoration:none;transition:background var(--transition),border-color var(--transition),color var(--transition)}.btn:active:not(:disabled){transform:scale(.985)}.btn:disabled,.toolbar-btn:disabled{cursor:not-allowed;opacity:.48;transform:none}.btn-primary{color:#fff;background:var(--accent)}.btn-primary:hover:not(:disabled){background:var(--accent-strong)}.btn-secondary{color:var(--text);background:var(--surface-muted);border-color:var(--border)}.btn-secondary:hover:not(:disabled){background:var(--surface-strong);border-color:var(--border-strong)}.btn-secondary:active:not(:disabled){background:var(--surface-strong)}.btn-danger{color:var(--danger);background:var(--danger-soft);border-color:#c2410c33}.btn-icon{min-width:34px;padding-inline:var(--space-2)}.suite-header{display:flex;align-items:center;gap:var(--space-3);padding:calc(var(--space-2) + env(safe-area-inset-top,0px)) var(--space-3) var(--space-2);background:var(--chrome);border-bottom:1px solid var(--border);position:relative;z-index:20}.suite-header__leading,.suite-header__document,.header-actions{display:flex;align-items:center;gap:var(--space-2)}.app-brand__eyebrow{display:none}.suite-header__leading{min-width:0}.suite-home-link{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);min-height:var(--control-h);min-width:var(--control-h);text-decoration:none;color:var(--text-muted);padding:0 var(--space-2);font-size:var(--text-xs);font-weight:600;border-radius:var(--radius-sm);border:1px solid transparent;transition:background var(--transition),border-color var(--transition),color var(--transition)}.suite-home-link:hover{background:var(--surface-muted);border-color:var(--border);color:var(--text)}.suite-home-link:active{background:var(--surface-strong)}.suite-home-link__icon{display:inline-flex;align-items:center;justify-content:center}.app-brand{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0}.app-logo-icon{width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:var(--radius-xs);display:inline-flex;align-items:center;justify-content:center;color:var(--brand-ink);font-size:var(--text-xs);font-weight:700;letter-spacing:.02em}.app-logo-icon.word{background:var(--brand-word)}.app-logo-icon.excel{background:var(--brand-excel)}.app-logo-icon.powerpoint{background:var(--brand-powerpoint)}.app-brand__copy{display:flex;flex-direction:column;min-width:0}.app-brand__eyebrow{font-size:var(--text-2xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-subtle)}.app-title{font-size:var(--text-xs);font-weight:650;color:var(--text-muted);white-space:nowrap}.suite-header__document{flex:1 1 auto;min-width:0}.file-name-field{flex:0 1 15rem;min-width:3.5rem}.file-name{width:100%;min-height:var(--control-h);padding:0 var(--space-2);border-radius:var(--radius-sm);border:1px solid transparent;background:transparent;color:var(--text);font-size:var(--text-sm);font-weight:600;text-overflow:ellipsis;transition:border-color var(--transition),background var(--transition)}.file-name:hover{background:var(--surface-muted);border-color:var(--border)}.file-name:focus{border-color:var(--accent);background:var(--surface-solid)}.header-actions{margin-left:auto;justify-content:flex-end;flex-wrap:nowrap;min-width:0;flex:0 1 auto}.header-action-cluster{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;justify-content:flex-end;min-width:0}.header-action-cluster{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;padding-block:4px;margin-block:-4px;justify-content:flex-start;justify-content:safe flex-end}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:0 var(--space-2);border-radius:var(--radius-xs);font-size:var(--text-2xs);font-weight:650;letter-spacing:.01em;white-space:nowrap}.status-pill:before{content:"";width:7px;height:7px;margin-right:var(--space-1);flex-shrink:0;border-radius:var(--radius-pill);background:currentColor}.status-pill--success{color:var(--success);background:var(--success-soft)}.status-pill--pending{color:var(--text-muted);background:var(--surface-strong)}.status-pill--pending:before{background:none;border:2px solid currentColor}.status-pill--alert{color:var(--danger);background:var(--danger-soft)}.status-pill--alert:before{border-radius:1px;rotate:45deg}.toolbar-shell{position:relative;background:var(--chrome);border-bottom:1px solid var(--border);padding:var(--space-1) var(--space-3);z-index:15}.toolbar{display:flex;align-items:center;gap:0;flex-wrap:nowrap;min-width:0;overflow-x:clip;overflow-y:visible;overflow-clip-margin:4px}.toolbar--mirror{position:absolute;top:0;left:0;width:max-content;max-width:none;overflow:visible;visibility:hidden;pointer-events:none}.toolbar-group{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-2) var(--space-3);min-width:0;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-muted)}.toolbar-group-label{font-size:var(--text-2xs);font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-subtle)}.toolbar-group-controls{display:flex;align-items:center;gap:var(--space-1);flex-wrap:wrap}.toolbar>.toolbar-group{flex:0 0 auto;flex-direction:row;align-items:center;gap:1px;padding:0 var(--space-2);border:0;border-radius:0;background:none}.toolbar>.toolbar-group+.toolbar-group,.toolbar>.toolbar-group+.toolbar-overflow-trigger{border-left:1px solid var(--border)}.toolbar>.toolbar-group:first-child{padding-left:0}.toolbar .toolbar-group-label{display:none}.toolbar .toolbar-group-controls{gap:1px;flex-wrap:nowrap}.toolbar-btn{width:2.75rem;height:2.75rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:var(--radius-xs);border:1px solid transparent;background:transparent;color:var(--text);transition:background var(--transition),border-color var(--transition),color var(--transition)}.toolbar .toolbar-btn{width:var(--control-h);height:var(--control-h)}.toolbar-btn:hover:not(:disabled){background:var(--surface-muted)}.toolbar-btn:active:not(:disabled){background:var(--surface-strong)}.toolbar-btn.active{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent)}input[type=color]{appearance:none;-webkit-appearance:none;padding:3px;border:1px solid var(--border-strong);border-radius:var(--radius-xs);background:var(--surface-solid);cursor:pointer;transition:border-color var(--transition)}input[type=color]:hover{border-color:var(--accent)}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:1px solid rgba(15,23,42,.24);border-radius:3px}input[type=color]::-moz-color-swatch{border:1px solid rgba(15,23,42,.24);border-radius:3px}.toolbar .slide-color-input{width:var(--control-h);height:var(--control-h);max-width:var(--control-h);padding:5px;border:1px solid var(--border-strong);border-radius:var(--radius-xs);background:var(--surface-solid)}.toolbar-select{height:var(--control-h);max-width:8rem;padding:0 var(--space-1) 0 var(--space-2);border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--surface-muted);color:var(--text);font-size:var(--text-xs);transition:border-color var(--transition),background var(--transition)}.toolbar-select:hover{border-color:var(--border-strong);background:var(--surface-strong)}.toolbar-select--narrow{max-width:5rem}.toolbar-overflow-panel .toolbar-select,.mobile-toolbar-sheet .toolbar-select{height:44px;max-width:12rem;font-size:var(--text-sm)}.toolbar .btn{min-height:var(--control-h);height:var(--control-h)!important;padding-inline:var(--space-2);border-radius:var(--radius-xs);font-size:var(--text-xs)!important;font-weight:600;white-space:nowrap}.toolbar .btn-secondary{background:transparent;border-color:var(--border);color:var(--text-muted)}.toolbar .btn-secondary:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.toolbar .toolbar-group>svg{flex-shrink:0}.toolbar-overflow-trigger{display:flex;align-items:center;flex:0 0 auto;gap:1px;margin-left:auto;padding-left:var(--space-2)}.toolbar-more{gap:var(--space-1);width:auto!important;padding-inline:var(--space-2);color:var(--text-muted)}.toolbar-more[aria-expanded=true]{background:var(--surface-strong);color:var(--text)}.toolbar-more__label{font-size:var(--text-xs);font-weight:600}.toolbar-overflow-panel{position:absolute;top:calc(100% + 4px);right:var(--space-3);z-index:30;width:min(30rem,calc(100vw - var(--space-5)));max-height:min(60dvh,30rem);overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-solid);box-shadow:var(--shadow-lg)}.toolbar-overflow-panel .toolbar-group{width:100%}.header-overflow{position:static;display:flex;align-items:center;flex:0 0 auto}.header-overflow-panel{top:100%;right:var(--space-3);left:var(--space-3);z-index:40;width:auto;max-height:min(70dvh,26rem);gap:var(--space-1);margin-top:var(--space-1)}.header-overflow-panel .btn{width:100%;justify-content:flex-start;min-height:44px}.mobile-toolbar-launcher{display:none;padding:var(--space-3) var(--space-4) 0}.mobile-toolbar-toggle{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:44px;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);transition:background var(--transition),transform var(--transition)}.mobile-toolbar-toggle:active{transform:scale(.99);background:var(--surface-strong)}.mobile-toolbar-modal{position:fixed;inset:0;z-index:40;display:none;align-items:flex-end;justify-content:center;padding:var(--space-4);background:#0f172a73}.mobile-toolbar-modal.open{display:flex;animation:sheet-scrim var(--transition) both}@keyframes sheet-scrim{0%{opacity:0}}@keyframes sheet-rise{0%{transform:translateY(100%)}}.mobile-toolbar-sheet{width:min(100%,640px);max-height:min(82dvh,760px);display:flex;flex-direction:column;border-radius:var(--radius-lg);background:var(--surface-solid);box-shadow:var(--shadow-lg);overflow:hidden;overscroll-behavior:contain;animation:sheet-rise .22s ease both}.mobile-toolbar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);padding:var(--space-4) var(--space-4) var(--space-3);border-bottom:1px solid var(--border)}.mobile-toolbar-title{display:block;font-weight:700}.mobile-toolbar-subtitle{display:block;margin-top:var(--space-1);font-size:var(--text-sm);color:var(--text-muted)}.mobile-toolbar-close{width:44px;height:44px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface-muted);color:var(--text);transition:background var(--transition),transform var(--transition)}.mobile-toolbar-close:active{transform:scale(.94);background:var(--surface-strong)}.mobile-toolbar-body{padding:var(--space-4);padding-bottom:calc(var(--space-4) + env(safe-area-inset-bottom,0px));overflow:auto;display:flex;flex-direction:column;gap:var(--space-3)}.mobile-toolbar-body .toolbar-group{width:100%}.workspace{flex:1 1 auto;min-height:0;display:flex;background:var(--canvas-bg)}.workspace>*,.slides-layout>*,.spreadsheet-shell>*{min-height:0}.workspace-center{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}.workspace-mobile-switcher{display:none;gap:2px;margin:var(--space-2) var(--space-3) 0;padding:3px;border-radius:var(--radius-sm);background:var(--surface-muted);border:1px solid var(--border)}.workspace-switcher-tab{flex:1 1 0;min-height:38px;padding:var(--space-1) var(--space-2);border:1px solid transparent;border-radius:var(--radius-xs);background:transparent;color:var(--text-muted);font-weight:600;font-size:var(--text-sm);transition:border-color var(--transition),background var(--transition),color var(--transition)}.workspace-switcher-tab.active{color:var(--accent-ink);border-color:var(--accent);background:var(--accent-soft)}.panel-card{padding:var(--space-4);border-radius:var(--radius-md);background:var(--surface-solid);border:1px solid var(--border)}.notes-sidebar>.panel-card,.slide-sidebar>.panel-card{padding:0;border:0;background:none}.panel-section+.panel-section{margin-top:var(--space-4)}.panel-section h3{margin:0 0 var(--space-2);font-size:var(--text-md)}.panel-section p,.panel-note{color:var(--text-muted);font-size:var(--text-sm)}.editor-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-1) var(--space-3);background:var(--chrome);border-bottom:1px solid var(--border);font-size:var(--text-sm)}.editor-banner--success{color:var(--success)}.editor-banner--warning{color:var(--warning)}.editor-banner--error{color:var(--danger)}.editor-banner__text{font-weight:600}.editor-banner__hint{color:var(--text-muted);font-size:var(--text-sm)}.status-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-1) var(--space-4) calc(var(--space-1) + env(safe-area-inset-bottom,0px));background:var(--chrome);border-top:1px solid var(--border);color:var(--text-muted);font-size:var(--text-xs)}.status-bar__segment{display:inline-flex;align-items:center;gap:var(--space-3);min-width:0}.status-bar__segment--right{justify-content:flex-end}.status-bar__group{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0;overflow:hidden;white-space:nowrap}.status-selection,.status-sheet{color:var(--text);font-weight:600}.status-sheet-count,.status-stats{color:var(--text-muted)}.status-stats{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0;overflow:hidden;text-overflow:ellipsis}.status-stat{font-variant-numeric:tabular-nums}.status-save{white-space:nowrap}.dashboard{height:100%;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:var(--app-bg)}.dashboard-shell{width:min(1400px,calc(100% - var(--space-5)));margin:0 auto}.dashboard-topbar{position:sticky;top:0;z-index:10;flex:0 0 auto;background:var(--chrome);border-bottom:1px solid var(--border)}.dashboard-topbar__inner{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) 0}.dashboard-brand{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0;margin-right:auto}.dashboard-brand__mark{width:1.5rem;height:1.5rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-xs);background:var(--accent);color:#fff;font-size:var(--text-xs);font-weight:800}.dashboard-brand__title{font-size:var(--text-sm);font-weight:650;white-space:nowrap}.dashboard-create{display:flex;align-items:center;gap:var(--space-2);min-width:0}.dashboard-create__btn{min-height:var(--control-h);font-size:var(--text-xs);white-space:nowrap}.dashboard-create__btn{--create-brand: var(--accent)}.dashboard-create__btn[href$="/word"]{--create-brand: var(--brand-word)}.dashboard-create__btn[href$="/excel"]{--create-brand: var(--brand-excel)}.dashboard-create__btn[href$="/powerpoint"]{--create-brand: var(--brand-powerpoint)}.dashboard-create__btn svg{width:24px;height:24px;flex-shrink:0;padding:4px;border-radius:var(--radius-xs);background:var(--create-brand);color:var(--brand-ink)}.dashboard-create__btn.btn-primary{background:var(--create-brand);border-color:var(--create-brand);color:var(--brand-ink)}.dashboard-create__btn.btn-primary svg{background:var(--brand-ink);color:var(--create-brand)}.dashboard-create__btn.btn-primary:hover{background:var(--create-brand);filter:brightness(.92)}.dashboard-create__label--short{display:none}.dashboard-theme-toggle{flex-shrink:0;min-height:var(--control-h);min-width:var(--control-h)}.dashboard-section{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:var(--space-5) 0 var(--space-6)}.dashboard-section>.dashboard-shell{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}.dashboard-section-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;margin-bottom:var(--space-3)}.dashboard-section-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--space-1) var(--space-2);min-width:0}.dashboard-section-header h2{margin:0;font-size:var(--text-lg);font-weight:650}.dashboard-section-title p{margin:0;color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.dashboard-file-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.dashboard-search{min-width:0;flex:1 1 13rem;min-height:34px;padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-solid);color:var(--text);font-size:var(--text-sm)}.dashboard-sort{min-height:34px;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-solid);color:var(--text);font-size:var(--text-sm)}.recent-grid{display:grid;gap:var(--space-1);grid-template-columns:minmax(0,1fr)}.recent-card{position:relative;display:flex;align-items:center;gap:var(--space-3);min-width:0;padding:var(--space-2) var(--space-2) var(--space-2) var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-solid);transition:border-color var(--transition),background var(--transition)}.recent-card:hover{border-color:var(--border-strong);background:var(--surface-muted)}.recent-card:focus-within{border-color:var(--accent)}.file-icon{width:2.25rem;height:2.25rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);color:var(--brand-ink)}.file-icon.word{background:var(--brand-word)}.file-icon.excel{background:var(--brand-excel)}.file-icon.powerpoint{background:var(--brand-powerpoint)}.recent-card__meta{flex:1 1 auto;min-width:0}@media(min-width:641px){.recent-card__meta{display:flex;align-items:baseline;gap:var(--space-4)}.recent-card__meta>:first-child{flex:1 1 auto;min-width:0}.recent-card .file-meta{flex:0 0 auto;width:15rem;text-align:right}}.recent-card h3{margin:0;font-size:var(--text-sm);font-weight:600;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-card p{margin:0;color:var(--text-muted);font-size:var(--text-xs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-card__actions{position:relative;z-index:1;display:inline-flex;align-items:center;gap:2px;flex-shrink:0}.card-stretch-link{text-decoration:none;color:inherit;outline-offset:4px}.card-stretch-link:after{content:"";position:absolute;inset:0;border-radius:inherit}.recent-card-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--radius-xs);background:transparent;color:var(--text-muted);transition:background var(--transition),color var(--transition)}.recent-card-btn:hover{background:var(--surface-strong);color:var(--text)}.recent-card-btn--danger:hover{background:var(--danger-soft);color:var(--danger)}.dashboard-more{display:flex;justify-content:center;margin-top:var(--space-4)}.dashboard-empty{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);min-height:12rem;padding:var(--space-5) var(--space-4);color:var(--text-muted);text-align:center}.dashboard-empty svg{flex-shrink:0;color:var(--text-subtle)}.dashboard-empty p{max-width:30rem;margin:0;font-size:var(--text-sm);text-wrap:balance}.dashboard-empty strong{display:block;margin-bottom:var(--space-1);color:var(--text);font-size:var(--text-md);font-weight:650}.dashboard-undo-stack{position:fixed;left:50%;bottom:calc(var(--space-5) + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:70;display:flex;flex-direction:column;gap:var(--space-2);width:min(30rem,calc(100vw - var(--space-6)));max-height:calc(100dvh - var(--space-6));overflow-y:auto;overscroll-behavior:contain}.dashboard-undo{display:flex;align-items:center;gap:var(--space-4);flex:0 0 auto;padding:var(--space-3) var(--space-3) var(--space-3) var(--space-4);border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface-solid);box-shadow:var(--shadow-lg);font-size:var(--text-sm)}.dashboard-undo__text{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.find-replace-bar,.insert-image-panel,.formula-strip{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding:var(--space-1) var(--space-3);background:var(--chrome);border-bottom:1px solid var(--border)}.insert-image-panel{align-items:stretch}.image-import-dropzone{flex:1 1 100%;display:grid;gap:var(--space-1);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px dashed var(--accent);background:var(--accent-soft);color:var(--text);cursor:pointer;transition:border-color var(--transition),background var(--transition)}.image-import-dropzone strong{font-size:var(--text-sm)}.image-import-dropzone span{color:var(--text-muted);font-size:var(--text-sm)}.image-import-dropzone:hover,.image-import-dropzone--active{border-color:var(--accent-strong);background:#2563eb1f}.form-control,.formula-input,.notes-textarea,.dashboard-search,.dashboard-sort{transition:border-color var(--transition),background var(--transition)}.form-control,.formula-input,.notes-textarea{width:100%;min-height:40px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-muted);color:var(--text)}.form-control:focus,.formula-input:focus,.notes-textarea:focus,.dashboard-search:focus,.dashboard-sort:focus{border-color:var(--accent);background:var(--surface-solid)}.form-inline-field{flex:1 1 180px}.form-inline-field--wide{flex:2 1 240px}.word-stage{display:flex;gap:var(--space-4);min-height:100%;padding:var(--space-5);width:100%}.document-stage{flex:1;width:100%;min-width:0;display:flex;justify-content:center;align-items:flex-start;overflow:visible}.document-shell{width:min(100%,10.6in);min-width:0;flex:1 1 auto;padding:0;background:none;border:0;box-shadow:none}.document-page{position:relative;width:min(100%,8.5in);min-height:11in;margin:0 auto;padding:clamp(var(--space-4),11.8%,1in);border-radius:var(--radius-xs);background:#fff;color:#0f172a;box-shadow:var(--shadow-paper)}.document-page--drop-target{outline:3px dashed var(--accent);outline-offset:-14px}.drop-target-hint,.canvas-drop-target-hint{position:absolute;inset:var(--space-4);display:grid;place-items:center;padding:var(--space-4);border-radius:var(--radius-sm);border:2px dashed var(--accent);background:#2563eb14;color:var(--accent-ink);font-weight:700;text-align:center;pointer-events:none;z-index:2}.ProseMirror{outline:none;min-height:9in}.ProseMirror>p:only-child:has(>br.ProseMirror-trailingBreak:only-child):before{content:"Start writing, or paste something in.";position:absolute;pointer-events:none;-webkit-user-select:none;user-select:none;color:#616b7d}.ProseMirror>*+*{margin-top:.8em}.ProseMirror img{max-width:100%;height:auto;border-radius:var(--radius-sm);margin:var(--space-4) 0;border:2px solid transparent;cursor:pointer}.ProseMirror img.ProseMirror-selectednode{outline:3px solid var(--accent)}.ProseMirror table{border-collapse:collapse;width:100%;table-layout:fixed}.ProseMirror table td,.ProseMirror table th{min-width:1em;padding:var(--space-1) var(--space-2);border:1px solid rgba(15,23,42,.18);vertical-align:top}.ProseMirror table th{background:#f4f7fb}.formula-strip{display:grid;grid-template-columns:auto minmax(110px,auto) minmax(0,1fr) auto}.formula-coordinate{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:var(--control-h);padding:0 var(--space-2);border-radius:var(--radius-xs);border:1px solid var(--border);background:var(--surface-muted);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:700}.formula-helper{display:inline-flex;align-items:center;padding:0 var(--space-1);font-family:var(--font-mono);font-weight:700;color:var(--accent-ink)}.spreadsheet-shell{flex:1 1 auto;min-width:0;min-height:0;display:flex}.spreadsheet-container{flex:1;min-width:0;min-height:0;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px #0f172a0f}.spreadsheet-container .fortune-sheet-container,.spreadsheet-container .fortune-sheet-area{height:100%!important}.spreadsheet-container .fortune-stat-area{display:none!important}.spreadsheet-container .fortune-toolbar{padding:var(--space-1) var(--space-3);gap:1px;background:var(--chrome);border-bottom:1px solid var(--border)}.spreadsheet-container .fortune-toolbar-button,.spreadsheet-container .fortune-toolbar-combo{min-width:var(--control-h);height:var(--control-h);margin:0;padding:0;justify-content:center;border:1px solid transparent;border-radius:var(--radius-xs);color:var(--text);transition:background var(--transition),border-color var(--transition),color var(--transition)}.spreadsheet-container .fortune-toolbar-button:hover,.spreadsheet-container .fortune-toolbar-combo:hover{background:var(--surface-muted)}.spreadsheet-container .fortune-toolbar-button:active,.spreadsheet-container .fortune-toolbar-combo:active{background:var(--surface-strong)}.spreadsheet-container .fortune-toolbar-combo-arrow{border-radius:var(--radius-xs);transition:background var(--transition)}.spreadsheet-container .fortune-toolbar-combo-arrow:hover{background:var(--surface-strong)}.spreadsheet-container .fortune-toolbar-button[style*="rgb(231, 229, 235)"]{background:var(--accent-soft)!important;border-color:var(--accent);color:var(--accent-ink)}.spreadsheet-container .fortune-toolbar-divider{width:1px;height:var(--control-h);margin:0 calc(var(--space-2) - 1px);background:var(--border)}.spreadsheet-container .fortune-toolbar-button:focus-visible,.spreadsheet-container .fortune-toolbar-combo-button:focus-visible,.spreadsheet-container .fortune-toolbar-combo-arrow:focus-visible,.spreadsheet-container .fortune-sheettab-button:focus-visible,.spreadsheet-container .fortune-zoom-button:focus-visible,.spreadsheet-container .luckysheet-sheets-item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-1px;border-radius:var(--radius-xs)}.spreadsheet-container .fortune-toolbar-combo-button{height:100%;padding-inline:var(--space-1);font-size:var(--text-xs);font-weight:500}.spreadsheet-container .fortune-toolbar-combo-text{margin:0 2px}.spreadsheet-container .fortune-toolbar-button>svg,.spreadsheet-container .fortune-toolbar-combo-button>svg{width:19px;height:19px}.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#currency-format"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#percentage-format"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#number-decrease"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#number-increase"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#text-clip"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#filter"]){width:14px;height:14px}.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#font-color"]),.spreadsheet-container .fortune-toolbar svg:has(use[*|href="#background"]){width:17px;height:17px}.spreadsheet-container .fortune-toolbar svg,.spreadsheet-container .luckysheet-sheet-area svg{filter:brightness(.57)}.spreadsheet-container .fortune-toolbar-combo-arrow>svg{width:10px;height:18px}.spreadsheet-container .fortune-toolbar-more-container{top:calc(100% + 4px);padding:var(--space-1);gap:1px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-solid);box-shadow:var(--shadow-lg)}.spreadsheet-container .fortune-toolbar-select,.spreadsheet-container .fortune-toolbar-color-picker,.spreadsheet-container .toolbar-item-sub-menu{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-solid);box-shadow:var(--shadow-lg)}.spreadsheet-container .fortune-toolbar-select-option{font-size:var(--text-sm);border-radius:var(--radius-xs)}.spreadsheet-container .fortune-toolbar-select-option:hover{background:var(--surface-muted)}.spreadsheet-container .fortune-tooltip{top:calc(100% + 6px);padding:var(--space-1) var(--space-2);border-radius:var(--radius-xs);background:#1f2937;color:#fff;font-size:var(--text-2xs);font-weight:600;box-shadow:var(--shadow-md)}.spreadsheet-container .luckysheet-sheet-area{height:31px;padding:0 var(--space-3);gap:var(--space-1);background:var(--chrome);border-top:1px solid var(--border);color:var(--text-muted);font-size:var(--text-xs)}.spreadsheet-container .fortune-sheettab-container{max-width:100%}.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item{height:24px;line-height:24px;padding:0 var(--space-3) 0 var(--space-2);border:1px solid transparent;border-radius:var(--radius-xs);background:transparent;color:var(--text-muted);font-size:var(--text-xs);font-weight:600}.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item:hover{background:var(--surface-muted);color:var(--text)}.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item-active,.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item-active:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}.spreadsheet-container .fortune-sheettab-button,.spreadsheet-container .fortune-zoom-button{width:24px;height:24px;border-radius:var(--radius-xs);color:var(--text-muted);transition:background var(--transition),color var(--transition)}.spreadsheet-container .fortune-sheettab-button:hover,.spreadsheet-container .fortune-zoom-button:hover,.spreadsheet-container .fortune-sheettab-scroll:hover,.spreadsheet-container .fortune-zoom-ratio-item:hover{background:var(--surface-muted);color:var(--text)}.spreadsheet-container .fortune-sheettab-button>svg,.spreadsheet-container .fortune-zoom-button>svg{width:16px;height:16px}.spreadsheet-container .fortune-zoom-ratio{color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.spreadsheet-container .fortune-zoom-ratio-menu{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-solid);box-shadow:var(--shadow-lg)}.spreadsheet-container .fortune-sheettab-container .boundary{background-color:transparent}.chart-modal{position:fixed;inset:0;z-index:45;display:flex;align-items:center;justify-content:center;padding:var(--space-4);background:#0f172a85}.chart-card{width:min(720px,100%);min-height:min(360px,calc(100dvh - 2rem));max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4);border-radius:var(--radius-lg);background:var(--surface-solid);border:1px solid var(--border);box-shadow:var(--shadow-lg)}.chart-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.slides-layout{flex:1 1 auto;min-height:0;display:flex}.slide-sidebar{width:232px;flex-shrink:0;min-height:0;padding:var(--space-4);background:var(--surface);border-right:1px solid var(--border);overflow:auto}.slide-sidebar__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-3)}.slide-list{display:flex;flex-direction:column;gap:var(--space-3);scroll-snap-type:x proximity}.slide-card{position:relative;width:100%;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-solid);padding:var(--space-2);box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition)}.slide-card:hover{transform:translateY(-2px);border-color:var(--accent)}.slide-card:active{transform:translateY(0) scale(.99)}.slide-card--active{border-color:var(--accent);box-shadow:var(--shadow-md)}.slide-card__thumb{aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--radius-xs);background:linear-gradient(180deg,#fff,#f1f5f9);border:1px solid rgba(15,23,42,.08)}.slide-card__caption{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-2);color:var(--text-muted);font-size:var(--text-sm)}.presentation-stage{flex:1;min-width:0;min-height:0;padding:var(--space-5);overflow:auto;overscroll-behavior:contain}.canvas-shell{position:relative;width:min(100%,1600px);margin:0 auto;padding:0;background:none;border:0;box-shadow:none}.canvas-shell>*{margin-inline:auto}.canvas-shell--drop-target{outline:3px dashed var(--accent);outline-offset:6px}.canvas-shell canvas{display:block;border-radius:var(--radius-xs)}.canvas-shell canvas.lower-canvas{background:#fff;box-shadow:var(--shadow-paper)}.notes-sidebar{width:var(--notes-rail-w, 288px);flex-shrink:0;min-height:0;padding:var(--space-4);background:var(--surface);border-left:1px solid var(--border);overflow:auto}.notes-textarea{min-height:160px;resize:none}.slide-color-input{width:40px;height:40px;border:none;background:transparent;padding:0}.dialog-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:var(--space-4);background:#0f172a8f}.dialog-card{width:min(460px,100%);max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain;padding:var(--space-5);border-radius:var(--radius-lg);background:var(--surface-solid);border:1px solid var(--border);box-shadow:var(--shadow-lg)}.dialog-card h2{margin:0 0 var(--space-2);font-size:var(--text-lg)}.dialog-card p{margin:0 0 var(--space-4);color:var(--text-muted)}.dialog-card__actions{display:flex;justify-content:flex-end;gap:var(--space-3);flex-wrap:wrap}@media(min-width:901px){.suite-header .btn,.find-replace-bar .btn,.insert-image-panel .btn{min-height:var(--control-h);font-size:var(--text-xs)}.suite-header .btn-icon{min-width:var(--control-h)}.find-replace-bar .form-control,.formula-strip .form-control,.formula-input{min-height:var(--control-h)}}@media(max-width:1080px){.notes-sidebar{width:var(--notes-rail-w, 264px)}.slide-sidebar{width:208px}}@media(max-width:900px){.workspace-mobile-switcher{display:flex}.workspace-pane--hidden-mobile{display:none!important}.workspace{flex-direction:column}.suite-header{flex-wrap:wrap;align-items:center;row-gap:var(--space-2);padding-inline:var(--space-4)}.suite-header__document{flex:1 1 100%;width:100%;min-width:0;order:3}.header-actions{margin-left:auto;justify-content:flex-end}.toolbar-shell{display:none}.mobile-toolbar-launcher{display:block}.status-bar{flex-wrap:wrap}.word-stage,.spreadsheet-shell{flex-direction:column}.notes-sidebar{width:100%;border-left:0;border-right:0;border-top:1px solid var(--border)}.slide-sidebar{width:100%;border-right:0;border-bottom:1px solid var(--border)}.slide-list{flex-direction:row;overflow:auto;padding-bottom:var(--space-1)}.slide-card{min-width:180px;scroll-snap-align:start}.formula-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.formula-input{grid-column:1 / -1}.btn,.mobile-toolbar-toggle,.workspace-switcher-tab,.file-name,.form-control,.formula-input,.dashboard-search,.dashboard-sort{min-height:44px}.btn-icon{min-width:44px}.toolbar-btn,.mobile-toolbar-close,.recent-card-btn,.slide-color-input{width:44px;height:44px}.spreadsheet-container .fortune-toolbar-button,.spreadsheet-container .fortune-toolbar-combo{min-width:44px;height:44px}.spreadsheet-container .fortune-toolbar-combo-button,.spreadsheet-container .fortune-toolbar-combo-arrow{height:44px;margin-block:-1px}.spreadsheet-container .fortune-toolbar-combo-arrow{width:24px;justify-content:center}.spreadsheet-container .fortune-toolbar-divider{height:44px}.spreadsheet-container .fortune-sheettab-button,.spreadsheet-container .fortune-zoom-button{width:44px;height:30px}.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item{min-width:44px;height:30px;line-height:30px}.suite-home-link{min-height:44px;min-width:44px}.formula-coordinate{min-height:44px}}@media(max-width:640px){.dashboard-shell{width:min(100%,calc(100% - var(--space-4)))}.panel-card{padding:var(--space-4)}.dashboard-topbar__inner{flex-wrap:wrap;row-gap:var(--space-2)}.dashboard-create{order:3;width:100%}.dashboard-create__btn{flex:1 1 0;min-width:0}.dashboard-create__label{display:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-create__label--short{display:block}.dashboard-section{padding-top:var(--space-4)}.word-stage,.presentation-stage,.document-stage{padding:var(--space-3)}.document-shell{padding:0}.document-page{min-height:auto}.formula-strip,.find-replace-bar,.insert-image-panel,.editor-banner,.workspace-mobile-switcher{padding-inline:var(--space-4)}.find-replace-bar,.insert-image-panel{align-items:stretch}.find-replace-bar .btn,.insert-image-panel .btn,.dialog-card__actions{width:100%}.header-actions{margin-left:auto;flex:0 1 auto;flex-wrap:nowrap}.header-action-cluster{width:auto;flex:0 1 auto;flex-wrap:nowrap;justify-content:flex-start}.header-action-cluster .btn{flex:0 0 auto}.dialog-card__actions .btn{flex:1 1 100px}.suite-home-link__text,.app-brand__eyebrow{display:none}.dashboard-file-tools{width:100%}.status-bar{flex-wrap:nowrap;font-size:var(--text-xs)}.status-bar__segment{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.formula-strip{padding-block:var(--space-1);gap:var(--space-1)}}@media(max-width:460px){.dashboard-create__label--short{display:none}.dashboard-create__btn{justify-content:center}}@media(max-width:420px){.app-title{display:none}.suite-header__document{order:0;width:auto;min-width:0;flex:1 1 6rem;gap:var(--space-2)}.header-actions{order:3}.status-pill{min-width:0}.mobile-toolbar-launcher,.workspace-mobile-switcher{padding-top:var(--space-2)}}@media(max-height:560px){.suite-header{flex-wrap:nowrap;align-items:center;gap:var(--space-2);padding:calc(var(--space-1) + env(safe-area-inset-top,0px)) var(--space-3) var(--space-1)}.suite-header__leading{gap:var(--space-2);flex:0 0 auto}.suite-header__document{order:0;width:auto;min-width:0;flex:0 1 auto;gap:var(--space-2);overflow:hidden;overflow:clip;overflow-clip-margin:6px}.header-actions{order:0;width:auto;flex:0 1 auto;min-width:9rem;flex-wrap:nowrap;margin-left:auto}.header-action-cluster{width:auto;min-width:2.75rem;flex:0 1 auto;flex-wrap:nowrap;justify-content:flex-start}.header-actions .btn,.header-action-cluster .btn{flex:0 0 auto;width:auto}.header-actions>.btn{flex:0 0 auto}.app-brand__eyebrow,.suite-home-link__text{display:none}.app-logo-icon{width:2.25rem;height:2.25rem;border-radius:var(--radius-xs);font-size:var(--text-sm)}.app-title{font-size:var(--text-sm)}.mobile-toolbar-launcher{padding:var(--space-1) var(--space-3) 0}.workspace-mobile-switcher{margin-top:var(--space-1)}.formula-strip{grid-template-columns:auto minmax(90px,auto) minmax(0,1fr) auto;padding-block:var(--space-1);gap:var(--space-2)}.formula-input{grid-column:auto}.find-replace-bar,.insert-image-panel,.editor-banner{padding-block:var(--space-1)}.status-bar{padding-block:var(--space-1);font-size:var(--text-xs)}.word-stage,.document-stage{padding:var(--space-2)}.presentation-stage{padding:var(--space-1) var(--space-2)}.dashboard-topbar__inner{padding-block:var(--space-1)}.dashboard-section{padding-block:var(--space-3) var(--space-4)}.mobile-toolbar-sheet{max-height:92dvh}}@media(max-width:420px),(max-height:560px){.file-name{padding-inline:var(--space-2)}.file-name-field{min-width:5rem}.status-pill{min-width:0;flex:0 1 auto;display:block;overflow:hidden;text-overflow:ellipsis;line-height:1.9}}@media(max-width:640px),(max-height:560px){.status-pill{display:none}}@media(forced-colors:active){.toolbar-btn.active,.workspace-switcher-tab.active,.spreadsheet-container .fortune-toolbar-button[style*="rgb(231, 229, 235)"],.spreadsheet-container .luckysheet-sheet-area div.luckysheet-sheets-item-active,.btn-primary{forced-color-adjust:none;background:Highlight!important;color:HighlightText!important;border-color:Highlight!important}.toolbar-btn.active svg,.workspace-switcher-tab.active svg,.btn-primary svg{color:HighlightText!important;stroke:HighlightText!important}.slide-card--active{outline:3px solid Highlight;outline-offset:-3px}.mobile-toolbar-sheet,.app-loading__card{border:1px solid CanvasText}:focus-visible,.skip-link:focus-visible{outline:3px solid Highlight;outline-offset:2px;box-shadow:none}.btn:disabled,.toolbar-btn:disabled{color:GrayText;opacity:1}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.btn:active:not(:disabled),.slide-card:hover,.slide-card:active,.recent-card-btn:active,.mobile-toolbar-close:active,.mobile-toolbar-toggle:active{transform:none}}.print-doc{display:none}@page{size:letter;margin:.75in}@page ninja-landscape{size:letter landscape;margin:.45in}@media print{html,body,#root{height:auto;overflow:visible}body,html body.dark-mode{background:#fff;color:#111}.app,.app-main,.app-container{height:auto;min-height:0;display:block;overflow:visible}.workspace{display:block;background:#fff}.workspace-center{overflow:visible}.skip-link,.suite-header,.toolbar-shell,.toolbar-overflow-panel,.mobile-toolbar-launcher,.mobile-toolbar-modal,.workspace-mobile-switcher,.status-bar,.editor-banner,.find-replace-bar,.insert-image-panel,.formula-strip,.chart-modal,.dialog-backdrop,.drop-target-hint,.canvas-drop-target-hint{display:none}.word-find-match{background-color:transparent!important;color:inherit!important}.word-stage{display:block;min-height:0;padding:0}.document-stage{display:block}.document-shell{width:auto}.document-page{width:auto;min-height:0;margin:0;padding:0;border-radius:0;box-shadow:none}.ProseMirror{min-height:0}.ProseMirror>p:last-child:has(>br.ProseMirror-trailingBreak:only-child){display:none}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4{break-after:avoid;break-inside:avoid}.ProseMirror p,.ProseMirror li{orphans:2;widows:2}.ProseMirror img{max-height:8.5in;object-fit:contain;break-inside:avoid}.ProseMirror table{break-inside:auto}.ProseMirror tr,.ProseMirror th,.ProseMirror td{break-inside:avoid}.ProseMirror thead{display:table-header-group}.ProseMirror table th{background:transparent;border-bottom-width:2px;font-weight:700}.print-doc{display:block;background:#fff;color:#111}.app-container:has(>.print-doc)>:not(.print-doc){display:none}.print-doc--landscape{page:ninja-landscape}.print-doc__title{margin:0 0 10pt;font-size:14pt;letter-spacing:-.01em}.print-doc__sheet{break-before:page}.print-doc__sheet:first-of-type{break-before:auto}.print-doc__sheet-name{margin:0 0 6pt;font-size:10pt;font-weight:700;color:#444}.print-doc__note{margin:8pt 0 0;font-size:8pt;color:#555;break-inside:avoid}.print-table{border-collapse:collapse;table-layout:fixed;max-width:100%;font-variant-numeric:tabular-nums;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-table th,.print-table td{border:.5pt solid #9aa3b2;padding:.75pt 2pt;vertical-align:top;overflow-wrap:anywhere}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid}.print-table__corner,.print-table__colhead,.print-table__rowhead{background:#e8ebf0;color:#333;font-weight:600;text-align:center}.print-slide{break-after:page;break-inside:avoid;display:flex;flex-direction:column;align-items:center}.print-slide:last-child{break-after:auto}.print-slide--with-notes{break-inside:auto}.print-slide__image{max-width:100%;max-height:6.8in;width:auto;border:.5pt solid #b6bdc9}.print-slide--with-notes .print-slide__image{max-height:4.5in}.print-slide__notes{width:100%;margin-top:12pt;padding-top:8pt;border-top:.5pt solid #c4cad4;font-size:10pt;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.print-slide__number{margin-top:6pt;font-size:8pt;color:#555}}body.dark-mode{color:var(--text)}body.dark-mode .fortune-sheet-container,body.dark-mode .fortune-sheet-area,body.dark-mode .fortune-sheet-canvas,body.dark-mode .luckysheet-input-box{background:#fff}body.dark-mode .fortune-container,body.dark-mode .fortune-sheet-container,body.dark-mode .fortune-sheet-area,body.dark-mode .fortune-sheet-canvas,body.dark-mode .luckysheet-input-box,body.dark-mode .luckysheet-cell-sheettable{color:#0f172a}body.dark-mode .document-page,body.dark-mode .canvas-shell canvas.lower-canvas{background:#fff}body.dark-mode .fortune-toolbar,body.dark-mode .luckysheet-sheet-area,body.dark-mode #luckysheet-bottom-pager{background:var(--chrome)}body.dark-mode .fortune-toolbar{color:var(--text);border-bottom-color:var(--border)}body.dark-mode .luckysheet-sheet-area{color:var(--text-muted);border-top-color:var(--border)}body.dark-mode .luckysheet-sheet-area div.luckysheet-sheets-item{color:var(--text-muted)}body.dark-mode .luckysheet-sheet-area div.luckysheet-sheets-item-active,body.dark-mode .luckysheet-sheet-area div.luckysheet-sheets-item-active:hover{color:var(--accent-ink)}body.dark-mode .fortune-zoom-ratio,body.dark-mode .fortune-sheettab-button,body.dark-mode .fortune-zoom-button{color:var(--text-muted)}body.dark-mode .spreadsheet-container .fortune-toolbar svg,body.dark-mode .spreadsheet-container .luckysheet-sheet-area svg{filter:invert(1) hue-rotate(180deg) brightness(1.15)}body.dark-mode .fortune-toolbar-color-picker-item{filter:none}body.dark-mode .fortune-toolbar-select,body.dark-mode .fortune-toolbar-color-picker,body.dark-mode .fortune-toolbar-more-container,body.dark-mode .toolbar-item-sub-menu,body.dark-mode .fortune-zoom-ratio-menu,body.dark-mode .fortune-context-menu{background:var(--surface-solid);color:var(--text);border-color:var(--border)}body.dark-mode .fortune-toolbar-select svg,body.dark-mode .fortune-toolbar-more-container svg,body.dark-mode .toolbar-item-sub-menu svg,body.dark-mode .fortune-context-menu svg{filter:invert(1) hue-rotate(180deg)}
