:root{color-scheme:light;--minimum-app-width: 1080px;--font-sans: "Inter", sans-serif;--font-display: "Inter", sans-serif;--window-bg: #ffffff;--window-border: rgba(40, 44, 63, .08);--chrome-bg: #f5f6f8;--toolbar-bg: rgba(255, 255, 255, .96);--composer-bg: var(--window-bg);--composer-border: rgba(35, 41, 52, .16);--text: #232934;--body-text: #38414d;--muted: #747b87;--soft-text: #9198a5;--accent: #2f353d;--accent-strong: #232934;--ui-tint-weak: rgba(35, 41, 52, .05);--ui-tint: rgba(35, 41, 52, .08);--ui-tint-strong: rgba(35, 41, 52, .12);--ui-tint-border: rgba(35, 41, 52, .16);--ui-tint-heavy: rgba(35, 41, 52, .3);--shadow: 0 40px 80px rgba(36, 38, 72, .22);--soft-shadow: 0 18px 36px rgba(30, 35, 66, .08);--mint: rgba(35, 41, 52, .04);--lavender: rgba(35, 41, 52, .05);--gold: rgba(35, 41, 52, .05);--toc-active-bg: rgba(35, 41, 52, .08);--toc-active-text: #232934}:root[data-theme=dark]{color-scheme:dark;--window-bg: #171b24;--window-border: rgba(255, 255, 255, .08);--chrome-bg: #1e2430;--toolbar-bg: rgba(20, 24, 34, .96);--composer-bg: #202735;--composer-border: rgba(255, 255, 255, .13);--text: #f4f6fb;--body-text: #d7deea;--muted: #a1a8b6;--soft-text: #7f8796;--accent: #e2e7f0;--accent-strong: #f4f6fb;--ui-tint-weak: rgba(255, 255, 255, .05);--ui-tint: rgba(255, 255, 255, .08);--ui-tint-strong: rgba(255, 255, 255, .12);--ui-tint-border: rgba(255, 255, 255, .16);--ui-tint-heavy: rgba(255, 255, 255, .3);--shadow: 0 40px 80px rgba(0, 0, 0, .38);--soft-shadow: 0 18px 36px rgba(0, 0, 0, .16);--mint: rgba(255, 255, 255, .06);--lavender: rgba(255, 255, 255, .07);--gold: rgba(255, 255, 255, .07);--toc-active-bg: rgba(255, 255, 255, .1);--toc-active-text: #ffffff}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--window-bg);color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden}button,input,select{font:inherit;-webkit-app-region:no-drag}button{border:0}.app-shell{min-width:var(--minimum-app-width);height:100vh;padding:0}.editor-window{min-width:var(--minimum-app-width);width:100%;height:100vh;margin:0;overflow:visible}.shared-viewer-shell{height:100vh;height:100dvh;padding:48px 20px;overflow-y:auto;background:var(--window-bg);color:var(--text)}.shared-viewer-shell-scroll-lock{display:flex;flex-direction:column;overflow:hidden}.shared-viewer-card{position:relative;width:min(760px,100%);margin:18px auto 0;padding:28px clamp(24px,5vw,44px) 86px;border:1px solid var(--window-border);border-radius:28px;background:var(--composer-bg);box-shadow:var(--soft-shadow)}.shared-viewer-prompt-card{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;padding:0;overflow:hidden}.shared-viewer-selector-card{padding:24px 0 12px;border:0;background:transparent;box-shadow:none}.shared-viewer-title,.shared-viewer-summary,.shared-viewer-section-title{margin:0}.shared-viewer-page-header{flex:0 0 auto;width:min(760px,100%);margin:0 auto}.shared-viewer-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:.82rem;font-weight:650}.shared-viewer-breadcrumb a{color:var(--text);text-decoration:none}.shared-viewer-breadcrumb a:hover{text-decoration:underline;text-underline-offset:.18em}.shared-viewer-title{margin-top:0;color:var(--text);font-family:var(--font-display);font-size:clamp(2rem,8vw,3.4rem);font-weight:750;line-height:1.02;letter-spacing:-.045em}.shared-viewer-breadcrumb+.shared-viewer-title{margin-top:12px}.shared-viewer-copy-bar{position:static;z-index:3;display:flex;flex:0 0 auto;justify-content:flex-end;margin:0;padding:14px clamp(24px,5vw,44px);border-top:1px solid var(--window-border);border-radius:0 0 28px 28px;background:color-mix(in srgb,var(--composer-bg) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.shared-viewer-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:36px;padding:0 14px;border-radius:999px;background:var(--text);color:var(--window-bg);font-size:.82rem;font-weight:750}.shared-viewer-copy-button:hover{opacity:.88}.shared-viewer-copy-button.is-copied{background:#1f8f4d;color:#fff}.shared-viewer-summary{margin-top:14px;color:var(--muted);font-size:1rem;line-height:1.6}.shared-viewer-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.shared-viewer-tag{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--ui-tint);color:var(--muted);font-size:.74rem;font-weight:700}.shared-viewer-attachments{flex:0 0 auto;margin:0;padding:10px clamp(24px,5vw,44px) 10px;border:0;background:transparent}.shared-viewer-section-title{color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.shared-viewer-attachment-list{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:0}.shared-viewer-attachment{display:inline-flex;max-width:100%;padding:7px 10px;border-radius:999px;background:var(--toolbar-bg);color:var(--text);font-size:.82rem;font-weight:650;text-decoration:none}.shared-viewer-attachment-chip{margin:0}.shared-viewer-content{margin-top:0;font-size:1rem}.shared-viewer-scroll-area{flex:1 1 auto;min-height:0;padding:28px clamp(24px,5vw,44px) 24px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 34%,transparent) transparent}.shared-viewer-scroll-area::-webkit-scrollbar{width:6px}.shared-viewer-scroll-area::-webkit-scrollbar-track{background:transparent}.shared-viewer-scroll-area::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--muted) 34%,transparent)}.shared-prompt-selector-list{display:grid;gap:6px;margin-top:24px}.shared-prompt-selector-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border:0;background:transparent;color:var(--text);cursor:default;text-decoration:none}.shared-prompt-selector-item:hover{background:transparent}.shared-prompt-selector-title{font-size:1rem;font-weight:600;line-height:1.35;transition:color .18s ease,transform .18s ease}.shared-prompt-selector-item:hover .shared-prompt-selector-title{color:var(--accent-strong);transform:translate(2px)}.shared-prompt-selector-chevron{flex:0 0 auto;color:var(--muted);transition:color .18s ease,transform .18s ease}.shared-prompt-selector-item:hover .shared-prompt-selector-chevron{color:var(--accent-strong);transform:translate(3px)}.editor-window-frame{display:grid;grid-template-rows:68px minmax(0,1fr);height:100vh;overflow:hidden;border-radius:0;border:0;background:var(--window-bg);box-shadow:none}.window-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:68px;padding:14px 26px;background:var(--chrome-bg);border-bottom:1px solid var(--window-border);-webkit-app-region:drag}.editor-body{display:grid;grid-template-columns:0 minmax(0,1fr);min-height:0;height:100%;overflow:hidden;transition:grid-template-columns .18s ease}.editor-body.is-panel-open{grid-template-columns:248px minmax(0,1fr)}.left-panel{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;border-right:1px solid transparent;background:color-mix(in srgb,var(--chrome-bg) 72%,transparent);opacity:0;transition:opacity .16s ease,border-color .16s ease}.left-panel.is-open{opacity:1;border-right-color:var(--window-border)}.left-panel-backdrop{display:none}.left-panel-section{display:grid;gap:10px;padding:22px 18px;border-bottom:1px solid var(--window-border)}.left-panel-content{flex:1;min-height:0}.left-panel-top-actions{padding:16px 18px 0}.left-panel-action-main{display:inline-flex;align-items:center;gap:10px;min-width:0}.left-panel-label{color:var(--muted);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.left-panel-primary{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:36px;padding:0 12px;border-radius:12px;background:transparent;color:var(--text);font-size:.82rem;font-weight:500}.left-panel-primary:hover{background:var(--ui-tint)}.left-panel-discover{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:0 12px;border-radius:12px;background:transparent;color:var(--text);text-align:left;font-size:.82rem;font-weight:500}.left-panel-discover:hover{background:var(--ui-tint)}.prompt-library-list{display:grid;gap:4px}.prompt-library-list.is-draft-drop-target,.prompt-group-list.is-draft-drop-target{position:relative}.prompt-library-list.is-draft-drop-target:after,.prompt-group-list.is-draft-drop-target:after{content:"";display:block;height:2px;margin:2px 12px 0;border-radius:999px;background:var(--ui-tint-heavy)}.prompt-group{position:relative;display:grid;gap:4px}.prompt-group:before,.prompt-group:after{content:"";position:absolute;left:12px;right:12px;height:2px;border-radius:999px;background:transparent;pointer-events:none}.prompt-group:before{top:-2px}.prompt-group:after{bottom:-2px}.prompt-group.is-drop-before:before,.prompt-group.is-drop-after:after{background:var(--ui-tint-heavy)}.prompt-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:34px;padding:0 12px;border-radius:12px;background:transparent;color:var(--text);text-align:left}.prompt-group-toggle:hover{background:var(--ui-tint-weak)}.prompt-group-toggle.is-selected{background:var(--ui-tint)}.prompt-group-toggle.is-drop-target{background:var(--ui-tint-strong);box-shadow:inset 0 0 0 1px var(--ui-tint-border)}.prompt-group-rename-shell{background:var(--ui-tint);box-shadow:inset 0 0 0 1px var(--ui-tint-border)}.prompt-group-icon{color:var(--soft-text)}.prompt-group-name{overflow:hidden;color:var(--text);font-size:.82rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.prompt-group-rename-input{width:100%;min-width:0;min-height:22px;padding:0;border:0;outline:none;background:transparent;color:var(--text);font-size:.82rem;font-weight:500}.prompt-group-rename-input::selection{background:var(--ui-tint-border)}.prompt-group-chevron{color:var(--muted);transition:transform .14s ease}.prompt-group-chevron.is-open{transform:rotate(180deg)}.prompt-group-list{display:grid;gap:4px;padding-left:18px}.prompt-group-item{padding-left:14px}.prompt-group-empty{display:flex;align-items:center;width:100%;min-height:32px;padding:0 12px 0 30px;border-radius:12px;background:transparent;color:var(--muted);font-size:.78rem;text-align:left}.prompt-group-empty:hover{background:var(--ui-tint-weak);color:var(--text)}.group-context-menu{position:fixed;z-index:28;min-width:170px;padding:6px;border:1px solid var(--window-border);border-radius:12px;background:transparent;box-shadow:0 18px 36px #151c2629;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.group-context-menu-item{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 10px;border-radius:8px;background:transparent;color:var(--text);font-size:.82rem;text-align:left}.group-context-menu-item svg{flex-shrink:0}.group-context-menu-item:hover{background:var(--ui-tint)}.group-context-menu-item-danger:hover{background:#d64a4a1a;color:#c84a4a}.prompt-library-row{position:relative}.prompt-library-row:before,.prompt-library-row:after{content:"";position:absolute;left:12px;right:12px;height:2px;border-radius:999px;background:transparent;pointer-events:none}.prompt-library-row:before{top:-2px}.prompt-library-row:after{bottom:-2px}.prompt-library-row.is-drop-before:before,.prompt-library-row.is-drop-after:after{background:var(--ui-tint-heavy)}.prompt-library-item{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:34px;padding:0 36px 0 12px;border-radius:12px;background:transparent;color:inherit;text-align:left}.prompt-library-icon{color:var(--soft-text)}.prompt-library-name{overflow:hidden;color:var(--text);font-size:.82rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.prompt-library-item:hover{background:var(--ui-tint-weak)}.prompt-library-item:active{cursor:grabbing}.prompt-library-item.is-active{background:var(--ui-tint)}.prompt-library-item.is-active .prompt-library-icon{color:var(--accent)}.prompt-library-actions-button{position:absolute;top:50%;right:8px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:transparent;color:var(--muted);opacity:0;transform:translateY(-50%);transition:opacity .14s ease,background .14s ease,color .14s ease}.prompt-library-row:hover .prompt-library-actions-button,.prompt-library-actions-button:focus-visible{opacity:1}.prompt-library-actions-button:hover{background:transparent;color:var(--text)}.left-panel-title,.left-panel-meta{margin:0}.left-panel-title{color:var(--text);font-size:1rem;font-weight:600}.left-panel-meta{color:var(--muted);font-size:.92rem}.left-panel-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.left-panel-section-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:0 12px 0 0;background:transparent;text-align:left}.left-panel-section-chevron{color:var(--muted);transition:transform .14s ease}.left-panel-section-toggle:hover .left-panel-section-chevron{color:color-mix(in srgb,var(--text) 68%,var(--muted))}.left-panel-section-chevron.is-open{transform:rotate(180deg)}.left-panel-count{color:var(--muted);min-width:2ch;font-size:.78rem;font-variant-numeric:tabular-nums;text-align:right}.template-discovery-list{display:grid;gap:10px}.template-discovery-card{display:grid;gap:6px;padding:12px;border-radius:12px;background:transparent;color:inherit;text-align:left}.template-discovery-card strong{color:var(--text);font-size:.96rem}.template-discovery-card span{color:var(--muted);font-size:.88rem;line-height:1.45}.template-discovery-card:hover{background:var(--ui-tint)}.left-panel-empty{margin:0;padding:0 12px 0 0;color:var(--muted);font-size:.78rem;line-height:1.5}.left-panel-footer{position:relative;margin-top:auto;padding:12px 0 14px 14px}.left-panel-settings{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 8px;border-radius:12px;background:transparent;color:var(--text)}.left-panel-settings:hover{background:var(--ui-tint)}.settings-popover{position:absolute;left:14px;right:14px;bottom:calc(100% + 10px);display:none;min-width:0;padding:10px;border:1px solid var(--window-border);border-radius:14px;background:var(--toolbar-bg);box-shadow:0 20px 36px #2329342e}.settings-popover.is-open{display:grid;gap:8px}.settings-email{margin:0;padding:4px 6px;color:var(--muted);font-size:.75rem;line-height:1.45}.settings-popover-action{display:inline-flex;align-items:center;gap:10px;min-height:32px;padding:0 8px;border-radius:10px;background:transparent;color:var(--text);font-size:.75rem}.settings-popover-action:hover{background:var(--ui-tint)}.settings-popover-action-danger:hover{background:#d64a4a1a;color:#c84a4a}.settings-popover-action-danger:hover .settings-action-meta{color:#c84a4a}.settings-action-meta{margin-left:auto;color:var(--muted);font-size:.72rem;font-variant-numeric:tabular-nums}.settings-note{margin:-2px 0 2px;padding:0 6px;color:var(--muted);font-size:.72rem;line-height:1.45}.window-close-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:transparent;color:var(--text);font-size:1.5rem;line-height:1}.window-action-group{display:flex;align-items:center;gap:10px;margin-left:auto;-webkit-app-region:no-drag}.window-icon-button,.secondary-button,.primary-button{min-height:42px;padding:0 16px;border-radius:12px;transition:transform .14s ease,background .14s ease,box-shadow .14s ease}.window-icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;padding:0;background:transparent;color:var(--text)}.mobile-header-copy-link{display:none}.window-icon-button:hover,.secondary-button:hover,.primary-button:hover,.template-card:hover{transform:translateY(-1px)}.writer-stage{display:block;height:100%;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:28px 40px 48px}.writer-layout{display:grid;grid-template-columns:minmax(0,760px) 220px;gap:36px;align-items:start;justify-content:center}.writer-layout.is-toc-hidden{grid-template-columns:minmax(0,760px)}.writer-layout.is-toc-collapsed{grid-template-columns:minmax(0,760px) 0;gap:0}.writer-main{min-width:0;width:100%}.document-heading{margin-top:4px}.mobile-document-heading{display:none}.document-title-input{width:100%;min-height:3rem;padding:0;border:0;outline:none;resize:none;overflow:hidden;background:transparent;color:var(--text);font-family:var(--font-display);font-size:2.5rem;font-weight:700;line-height:1.2;letter-spacing:-.03em;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-app-region:no-drag}.document-title-input::placeholder{color:var(--soft-text)}.document-tags{display:grid;gap:10px;margin-top:12px}.document-tags-list{display:flex;flex-wrap:wrap;gap:10px}.document-version-wrap{position:relative}.document-tag-chip{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:0 10px 0 12px;border:1px solid var(--window-border);border-radius:999px;background:color-mix(in srgb,var(--chrome-bg) 64%,transparent);color:var(--text);font-size:.82rem}.document-version-chip{gap:8px;border-color:var(--ui-tint-border);background:var(--ui-tint-strong);color:var(--accent);font-weight:700}.document-version-chip:hover,.document-version-wrap.is-open .document-version-chip{background:var(--ui-tint-border);box-shadow:0 8px 18px var(--ui-tint-border)}.document-version-chip.is-draft{background:var(--ui-tint);color:color-mix(in srgb,var(--accent) 84%,var(--text))}.document-tag-remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:transparent;color:var(--muted)}.document-tag-remove:hover{background:var(--ui-tint);color:var(--text)}.document-tag-input-wrap{display:flex;align-items:center;flex-wrap:wrap}.document-tag-input-shell{position:relative;min-width:min(24rem,100%);flex:1 1 16rem}.document-tag-autocomplete{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;color:color-mix(in srgb,var(--soft-text) 82%,transparent);font-size:.88rem;pointer-events:none;white-space:nowrap}.document-tag-input{position:relative;z-index:1;width:100%;min-height:34px;padding:0;border:0;border-radius:0;outline:none;background:transparent;color:var(--text);font-size:.88rem}.document-tag-input::placeholder{color:var(--soft-text)}.document-tag-input:focus{box-shadow:none}.version-history-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:11;display:grid;gap:10px;min-width:260px;padding:12px;border:1px solid var(--window-border);border-radius:16px;background:var(--toolbar-bg);box-shadow:0 20px 40px #151c2624;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .14s ease,transform .14s ease}.version-history-popover.is-open{opacity:1;transform:translateY(0);pointer-events:auto}.version-history-title,.version-history-date,.version-history-empty{margin:0}.version-history-title{color:var(--text);font-size:.82rem;font-weight:700}.version-history-list{display:grid;gap:6px}.version-history-item{display:grid;gap:4px;width:100%;padding:10px 12px;border-radius:12px;background:var(--ui-tint-weak);text-align:left}.version-history-item:hover{background:var(--ui-tint)}.version-history-rename-shell{cursor:default;background:var(--ui-tint);box-shadow:inset 0 0 0 1px var(--ui-tint-border)}.version-history-row{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}.version-history-label{color:var(--text);font-size:.82rem;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.version-history-meta,.version-history-date,.version-history-empty{color:var(--muted);font-size:.76rem;line-height:1.45}.version-history-rename-input{width:100%;min-width:0;padding:0;border:0;outline:none;background:transparent;color:var(--text);font-size:.82rem;font-weight:700}.version-history-rename-input::selection{background:var(--ui-tint-border)}.version-context-menu{z-index:26}.version-preview-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:23;display:flex;align-items:center;justify-content:center;padding:24px;background:#12161e57;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.version-preview-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(820px,calc(100vw - 32px));max-height:min(86vh,760px);overflow:hidden;border:1px solid var(--window-border);border-radius:24px;background:var(--window-bg);box-shadow:var(--shadow)}.version-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 24px 18px;border-bottom:1px solid var(--window-border)}.version-preview-meta,.version-preview-title,.version-preview-date{margin:0}.version-preview-meta{color:var(--accent);font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.version-preview-title{margin-top:6px;color:var(--text);font-family:var(--font-display);font-size:1.5rem;font-weight:650}.version-preview-date{margin-top:8px;color:var(--muted);font-size:.84rem}.version-preview-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.version-preview-tag{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--muted);font-size:.74rem;font-weight:500}.version-preview-close{min-width:40px;padding:0;border-radius:999px}.version-preview-content{min-height:0;overflow-y:auto;padding:0;font-size:1rem}.version-preview-content-inner{padding:30px 32px 32px}.toolbar-shell{position:static;z-index:8;width:max-content;margin:10px 0 0;pointer-events:none}.format-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;padding:8px;border:1px solid transparent;border-radius:16px;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:auto;-webkit-app-region:no-drag}.format-toolbar-options{display:flex;align-items:center;gap:6px;min-width:0}.toolbar-share-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:0 14px;border-radius:999px;background:var(--text);color:var(--window-bg);font-size:.82rem;font-weight:700;transition:background .16s ease,color .16s ease,opacity .14s ease,transform .14s ease}.toolbar-share-pill:hover{opacity:.88;transform:translateY(-1px)}.toolbar-share-pill.is-copied,.mobile-header-copy-link.is-copied{background:#1f8f4d;color:#fff}.format-toolbar.is-floating{border-color:transparent;box-shadow:none}.toolbar-divider{width:1px;height:24px;margin:0 8px;background:#545c6b26}.toolbar-file-input{display:none}.format-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:0 10px;border-radius:10px;background:transparent;color:var(--muted);font-size:.96rem;transition:background .14s ease,color .14s ease,transform .14s ease}.format-button:disabled{opacity:.82}.format-button:hover{background:transparent;color:var(--text);transform:translateY(-1px)}.format-button-danger:hover{background:#d64a4a1a;color:#c84a4a}.format-button.is-active{background:var(--ui-tint);color:var(--accent)}.format-button.is-busy svg{animation:toolbar-spin .9s linear infinite}.toolbar-text-style{position:relative}.toolbar-text-style-trigger{justify-content:space-between;gap:8px;min-width:54px;padding:0 10px 0 12px;color:var(--text);font-size:.88rem;font-weight:700}.toolbar-text-style-label{line-height:1}.toolbar-text-style-chevron{color:var(--muted)}.toolbar-text-style-popover{left:0;right:auto;min-width:128px}.toolbar-text-style-item{justify-content:flex-start;padding:0 10px;font-size:.78rem;font-weight:700}.toolbar-text-style-item:hover{transform:none}.toolbar-text-style-item.is-active{background:var(--ui-tint);color:var(--accent)}.toolbar-actions{position:relative}.toolbar-actions-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:18;display:none;min-width:238px;padding:10px;border:1px solid var(--window-border);border-radius:14px;background:var(--toolbar-bg);box-shadow:0 20px 36px #2329342e}.toolbar-actions-popover.is-open{display:grid;gap:8px}.toolbar-actions-item{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:32px;padding:0 8px;border-radius:10px;background:transparent;color:var(--text);font-size:.75rem;text-align:left}.toolbar-actions-item:disabled{opacity:.72}.toolbar-actions-item:hover{background:var(--ui-tint-weak)}.toolbar-actions-item-danger:hover{background:#d64a4a1a;color:#c84a4a}.toolbar-actions-item-main{display:inline-flex;align-items:center;gap:10px;min-width:0}.toolbar-actions-item-trailing{color:var(--muted)}.toolbar-actions-submenu-shell{position:relative}.toolbar-actions-submenu{position:absolute;top:0;left:calc(100% + 10px);z-index:19;display:none;min-width:238px;padding:10px;border:1px solid var(--window-border);border-radius:14px;background:var(--toolbar-bg);box-shadow:0 20px 36px #2329342e}.toolbar-actions-submenu:before{content:"";position:absolute;top:0;right:100%;width:10px;height:100%}.toolbar-actions-submenu.is-open{display:grid;gap:8px}.toolbar-actions-status{display:inline-flex;align-items:center;min-height:18px;padding:0 7px;border-radius:999px;background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--muted);font-size:.68rem;font-weight:700;white-space:nowrap}.toolbar-actions-status.is-shared{background:var(--ui-tint-strong);color:var(--accent)}.prompt-composer{position:relative;display:flex;flex-direction:column;margin-top:16px;padding:18px 18px 12px;max-height:calc(100dvh - 212px);min-height:168px;overflow:visible;border:1px solid var(--composer-border);border-radius:26px;background:var(--composer-bg);box-shadow:inset 0 1px color-mix(in srgb,#ffffff 24%,transparent)}:root[data-theme=dark] .prompt-composer{box-shadow:inset 0 1px color-mix(in srgb,#ffffff 8%,transparent)}.prompt-composer .toolbar-shell{align-self:flex-start;width:100%}.prompt-attachments-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;pointer-events:auto}.prompt-composer .format-toolbar{gap:2px;padding:0}.prompt-composer .format-toolbar-options{gap:2px;overflow:visible}.prompt-composer .format-button{min-width:34px;min-height:34px;border-radius:10px}.prompt-composer .toolbar-text-style-trigger{min-width:52px}.prompt-composer .toolbar-actions-popover{top:auto;bottom:calc(100% + 10px)}.toolbar-actions-spinner{animation:toolbar-spin .9s linear infinite}.icon-bold{font-weight:800}.icon-italic{font-style:italic}.icon-underline{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}.editor-wrap{flex:1 1 auto;position:relative;min-height:0;margin-right:-10px;padding:0 10px 0 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:transparent transparent;background:transparent}.editor-wrap.is-scrolling{scrollbar-color:color-mix(in srgb,var(--muted) 44%,transparent) transparent}.editor-wrap::-webkit-scrollbar{width:6px}.editor-wrap::-webkit-scrollbar-track{background:transparent}.editor-wrap::-webkit-scrollbar-thumb{border:0;border-radius:999px;background:transparent;transition:background .5s ease}.editor-wrap.is-scrolling::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 44%,transparent)}.editor-surface{padding:0;outline:none;background:transparent;color:var(--body-text);font-size:16px;line-height:1.65;letter-spacing:-.01em;-webkit-app-region:no-drag}.prompt-composer .editor-surface{min-height:92px}.editor-surface h1,.editor-surface h2,.editor-surface h3{color:var(--text);font-family:var(--font-display)}.editor-surface h1{margin:2.75rem 0 1rem;font-size:2.5rem;font-weight:700;line-height:1.2;letter-spacing:-.03em}.editor-surface h2{margin:2.2rem 0 .85rem;font-size:1.75rem;font-weight:600;line-height:1.3;letter-spacing:-.02em}.editor-surface h3{margin:1.8rem 0 .65rem;font-size:1.25rem;font-weight:600;line-height:1.4;letter-spacing:-.01em}.window-icon-button svg,.format-button svg{display:block}@keyframes toolbar-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.editor-surface p,.editor-surface blockquote,.editor-surface ul,.editor-surface ol,.editor-surface pre{margin:0 0 1.15rem}.editor-surface ul,.editor-surface ol{padding-left:1.35em}.editor-surface li{margin-bottom:.32rem}.editor-surface strong{font-weight:600}.editor-surface em{font-style:italic}.editor-surface a{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);text-underline-offset:.18em}.editor-surface blockquote{padding-left:1rem;border-left:3px solid var(--ui-tint-border);color:var(--muted)}.editor-surface>:first-child{margin-top:0}.editor-surface pre{padding:12px 14px;border-radius:14px;background:var(--chrome-bg);overflow-x:auto}.editor-surface pre code{display:block;font-family:SF Mono,Menlo,monospace;font-size:.92em}.editor-surface .hljs-comment,.editor-surface .hljs-quote{color:#7d8898}.editor-surface .hljs-keyword,.editor-surface .hljs-selector-tag,.editor-surface .hljs-literal,.editor-surface .hljs-section,.editor-surface .hljs-link{color:#7b61ff}.editor-surface .hljs-string,.editor-surface .hljs-title,.editor-surface .hljs-name,.editor-surface .hljs-type,.editor-surface .hljs-attribute,.editor-surface .hljs-symbol,.editor-surface .hljs-bullet,.editor-surface .hljs-addition{color:#199b82}.editor-surface .hljs-number,.editor-surface .hljs-built_in,.editor-surface .hljs-builtin-name{color:#db7a2e}.editor-surface .hljs-variable,.editor-surface .hljs-template-variable,.editor-surface .hljs-regexp,.editor-surface .hljs-deletion{color:#d4557b}.editor-surface .hljs-function .hljs-title,.editor-surface .hljs-title.function_{color:#3f7ff0}:root[data-theme=dark] .editor-surface .hljs-comment,:root[data-theme=dark] .editor-surface .hljs-quote{color:#7f8796}:root[data-theme=dark] .editor-surface .hljs-keyword,:root[data-theme=dark] .editor-surface .hljs-selector-tag,:root[data-theme=dark] .editor-surface .hljs-literal,:root[data-theme=dark] .editor-surface .hljs-section,:root[data-theme=dark] .editor-surface .hljs-link{color:#9f92ff}:root[data-theme=dark] .editor-surface .hljs-string,:root[data-theme=dark] .editor-surface .hljs-title,:root[data-theme=dark] .editor-surface .hljs-name,:root[data-theme=dark] .editor-surface .hljs-type,:root[data-theme=dark] .editor-surface .hljs-attribute,:root[data-theme=dark] .editor-surface .hljs-symbol,:root[data-theme=dark] .editor-surface .hljs-bullet,:root[data-theme=dark] .editor-surface .hljs-addition{color:#52c7a8}:root[data-theme=dark] .editor-surface .hljs-number,:root[data-theme=dark] .editor-surface .hljs-built_in,:root[data-theme=dark] .editor-surface .hljs-builtin-name{color:#ffb86b}:root[data-theme=dark] .editor-surface .hljs-variable,:root[data-theme=dark] .editor-surface .hljs-template-variable,:root[data-theme=dark] .editor-surface .hljs-regexp,:root[data-theme=dark] .editor-surface .hljs-deletion{color:#ff7c9f}:root[data-theme=dark] .editor-surface .hljs-function .hljs-title,:root[data-theme=dark] .editor-surface .hljs-title.function_{color:#74a8ff}.toc-panel{position:sticky;top:24px;align-self:start;contain:paint;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}.writer-layout.is-toc-collapsed .toc-panel{width:40px;margin-left:12px;overflow:visible}.toc-card{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0;padding:14px;overflow:hidden;max-height:inherit;border:1px solid var(--window-border);border-radius:18px;background:var(--window-bg);box-shadow:0 18px 34px #23293414;isolation:isolate;transform:translateZ(0)}.writer-layout.is-toc-collapsed .toc-card{justify-items:center;padding:8px;gap:0}.toc-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.writer-layout.is-toc-collapsed .toc-header{justify-content:center}.toc-label{margin:0;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.writer-layout.is-toc-collapsed .toc-label{display:none}.toc-toggle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:transparent;color:var(--muted);transition:background .14s ease,color .14s ease}.toc-toggle:hover{background:var(--ui-tint);color:var(--text)}.toc-toggle svg{transition:transform .14s ease}.toc-toggle .is-open{transform:rotate(180deg)}.toc-list{display:grid;gap:4px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.toc-item{display:block;width:100%;padding:7px 8px;border-radius:10px;background:transparent;color:var(--muted);font-size:.84rem;line-height:1.35;text-align:left}.toc-item:hover{background:var(--ui-tint);color:var(--text)}.toc-item.is-active{background:var(--toc-active-bg);color:var(--toc-active-text)}.toc-level-2{padding-left:18px}.toc-level-3{padding-left:28px}.prompt-image-node{position:relative;display:inline-flex;align-items:flex-start;justify-content:center;padding-right:6px;margin:.15rem .28rem;vertical-align:middle;line-height:0}.prompt-image-frame{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;max-width:min(100%,32rem);border:1px solid color-mix(in srgb,var(--window-border) 78%,transparent);border-radius:20px;background:color-mix(in srgb,var(--toolbar-bg) 94%,transparent);box-shadow:var(--soft-shadow)}.prompt-image-node-desktop .prompt-image-frame{height:13.5rem;aspect-ratio:16 / 10}.prompt-image-node-mobile .prompt-image-frame{height:16rem;aspect-ratio:9 / 16}.prompt-image-node.is-selected .prompt-image-frame{outline:2px solid var(--ui-tint-heavy);outline-offset:2px}.prompt-image-element{display:block;width:100%;height:100%;object-fit:contain}.prompt-image-delete{position:absolute;top:8px;right:14px;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#11151ed1;color:#fff;opacity:0;transition:opacity .14s ease}.prompt-image-node:hover .prompt-image-frame{background:color-mix(in srgb,var(--toolbar-bg) 90%,transparent)}.prompt-image-node:hover .prompt-image-delete,.prompt-image-node.is-selected .prompt-image-delete{opacity:1}.prompt-attachment-node{display:inline-flex;align-items:center;gap:4px;max-width:min(100%,200px);min-width:0;margin:.12rem .24rem;padding:4px;border:1px solid var(--composer-border);border-radius:14px;background:color-mix(in srgb,var(--toolbar-bg) 72%,transparent);pointer-events:auto;vertical-align:middle}.prompt-attachment-link{display:inline-flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:calc(100% - 28px);overflow:hidden;color:var(--text);text-decoration:none}.prompt-attachment-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;color:var(--muted)}.prompt-attachment-icon-image{color:#3c7f5f}.prompt-attachment-icon-pdf{color:#c84a4a}.prompt-attachment-icon-video{color:#6f63d8}.prompt-attachment-icon-archive{color:#95692e}.prompt-attachment-icon-spreadsheet{color:#2f7a55}.prompt-attachment-icon-code{color:#426f9c}.prompt-attachment-icon-badge{position:absolute;right:-5px;bottom:-3px;padding:1px 3px;border-radius:4px;background:#c84a4a;color:#fff;font-size:.45rem;font-weight:800;letter-spacing:.02em;line-height:1}.prompt-attachment-copy{display:block;min-width:0;overflow:hidden;line-height:1}.prompt-attachment-name{display:flex;min-width:0;color:var(--text);font-size:.82rem;font-weight:650;white-space:nowrap}.prompt-attachment-name-start{min-width:0;overflow:hidden;text-overflow:ellipsis}.prompt-attachment-name-end{flex:0 0 auto}.prompt-attachment-delete{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;border-radius:999px;background:transparent;color:var(--muted);opacity:0;pointer-events:none;visibility:hidden;transition:background .14s ease,color .14s ease,opacity .14s ease,visibility 0s linear .14s}.prompt-attachment-node:hover .prompt-attachment-delete,.prompt-attachment-node:focus-within .prompt-attachment-delete{background:color-mix(in srgb,var(--text) 7%,transparent);opacity:1;pointer-events:auto;visibility:visible;transition-delay:0s}.prompt-attachment-delete:hover{background:#d64a4a1a;color:#c84a4a}.editor-link-preview{position:fixed;z-index:18;max-width:20rem;padding:10px;border:1px solid var(--window-border);border-radius:18px;background:var(--toolbar-bg);box-shadow:0 20px 36px #2329342e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:none}.editor-link-preview-image{display:block;max-width:min(18rem,40vw);max-height:14rem;border-radius:12px}.editor-image-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:22;display:flex;align-items:center;justify-content:center;padding:28px;background:#12161e6b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.editor-image-modal{display:flex;align-items:center;justify-content:center;max-width:min(90vw,72rem);max-height:min(90vh,72rem);padding:14px;border:1px solid var(--window-border);border-radius:24px;background:var(--toolbar-bg);box-shadow:var(--shadow)}.editor-image-modal-image{display:block;max-width:min(84vw,68rem);max-height:min(84vh,68rem);border-radius:16px}.editor-surface .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;pointer-events:none;color:var(--soft-text)}.toast{position:fixed;left:50%;bottom:28px;z-index:12;max-width:min(32rem,calc(100vw - 32px));padding:12px 16px;border-radius:14px;background:#232934eb;color:#fff;box-shadow:0 20px 40px #0000003d;opacity:0;transform:translate(-50%,14px);pointer-events:none;transition:opacity .16s ease,transform .16s ease}.toast.is-visible{opacity:1;transform:translate(-50%)}.hover-tooltip{position:fixed;z-index:40;padding:7px 10px;border:1px solid color-mix(in srgb,var(--window-border) 72%,transparent);border-radius:10px;background:color-mix(in srgb,var(--toolbar-bg) 96%,transparent);color:var(--text);font-size:.76rem;font-weight:600;line-height:1;white-space:nowrap;pointer-events:none;box-shadow:0 14px 28px #151c2629;transform:translate(-50%);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.confirm-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:24;display:flex;align-items:center;justify-content:center;padding:24px;background:#12161e52;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.confirm-modal{width:min(440px,calc(100vw - 32px));padding:24px;border:1px solid var(--window-border);border-radius:22px;background:var(--window-bg);box-shadow:var(--shadow)}.confirm-modal-title,.confirm-modal-body{margin:0}.confirm-modal-title{color:var(--text);font-family:var(--font-display);font-size:1.35rem;font-weight:650}.confirm-modal-body{margin-top:10px;color:var(--muted);font-size:.95rem;line-height:1.55}.confirm-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.confirm-modal-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:12px;background:transparent;color:var(--text)}.confirm-modal-button:hover{background:var(--ui-tint)}.confirm-modal-button.is-danger{background:#d64a4a1f;color:#c43f3f}.confirm-modal-button.is-danger:hover{background:#d64a4a2e}.explorer-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:28px;background:#12161e47;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.explorer-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1120px,calc(100vw - 56px));height:min(720px,calc(100vh - 56px));overflow:hidden;border-radius:24px;background:color-mix(in srgb,var(--toolbar-bg) 94%,transparent);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.explorer-modal-header{position:relative;padding:22px 24px 12px}.explorer-modal-subtitle,.explorer-modal-title,.explorer-preview-title,.explorer-preview-summary,.explorer-empty-message{margin:0}.explorer-modal-subtitle{color:var(--muted);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase}.explorer-modal-title{margin-top:4px;color:var(--text);font-family:var(--font-display);font-size:1.5rem;font-weight:650}.explorer-open-button,.explorer-secondary-button,.explorer-icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:12px;background:transparent;color:var(--text)}.explorer-open-button:hover,.explorer-secondary-button:hover,.explorer-icon-button:hover{background:var(--ui-tint)}.explorer-preview-actions{display:flex;align-items:center;gap:6px}.explorer-secondary-button{color:var(--muted)}.explorer-modal-body{display:grid;grid-template-columns:minmax(340px,.96fr) minmax(0,1.32fr);min-height:0;gap:14px;padding:0 24px 24px}.explorer-list-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;border-radius:22px;background:color-mix(in srgb,var(--window-bg) 92%,transparent);box-shadow:0 18px 36px #151c2614}.explorer-tabs{display:flex;align-items:center;padding:12px 14px 2px}.explorer-tab-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;padding:4px;border-radius:12px;background:color-mix(in srgb,var(--text) 7%,transparent)}.explorer-tab{display:flex;align-items:center;justify-content:center;min-height:34px;width:100%;padding:0 12px;border-radius:9px;background:transparent;color:var(--muted);font-size:.78rem;font-weight:650}.explorer-tab:hover{background:color-mix(in srgb,var(--text) 5%,transparent);color:var(--text)}.explorer-tab.is-active{background:var(--panel);color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 7%,transparent),0 4px 10px #0f172a14}.explorer-search{display:flex;align-items:center;min-height:40px;width:100%;padding:0;color:var(--muted)}.explorer-search-input{width:100%;padding:0;border:0;outline:none;background:transparent;color:var(--text);font-size:.98rem}.explorer-search-input::placeholder{color:var(--soft-text)}.explorer-list{min-height:0;overflow-y:auto;padding:14px}.explorer-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:18px;width:100%;padding:10px 14px}.explorer-group{display:grid;gap:4px;padding:10px}.explorer-list-panel:has(.explorer-tabs) .explorer-group{padding-top:2px}.explorer-group+.explorer-group{margin-top:12px}.explorer-group-label{margin:0;padding:0 8px;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.explorer-item{min-height:56px;border-radius:14px;background:transparent;color:inherit;text-align:left}.explorer-item:hover{background:var(--ui-tint-weak)}.explorer-item.is-selected{background:var(--ui-tint)}.explorer-item-name{overflow:hidden;color:var(--text);font-size:.87rem;font-weight:520;text-overflow:ellipsis;white-space:nowrap}.explorer-item-main{display:grid;gap:6px;min-width:0}.explorer-item-meta,.explorer-preview-version{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.explorer-item-version,.explorer-preview-version-chip{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;background:var(--ui-tint);color:var(--accent);font-size:.72rem;font-weight:700}.explorer-item-version-label,.explorer-preview-version-label{color:var(--muted);font-size:.76rem;font-weight:500}.explorer-item-tags,.explorer-preview-tags{display:flex;flex-wrap:wrap;gap:6px}.explorer-item-tags-inline{align-items:center;min-width:0;gap:5px}.explorer-item-tag,.explorer-preview-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 9px;border-radius:999px;background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--muted);font-size:.72rem;font-weight:500;white-space:nowrap}.explorer-item-tag{background:color-mix(in srgb,var(--text) 8%,transparent);color:var(--soft-text)}.explorer-item-tag-count{background:transparent;color:var(--muted);padding-inline:4px}.explorer-item-detail{color:var(--muted);font-size:.75rem;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}.explorer-item-bookmarks,.explorer-preview-bookmarks{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.explorer-empty-message,.explorer-preview-empty{padding:24px 18px;color:var(--muted);font-size:.92rem}.explorer-preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;border-radius:22px;background:color-mix(in srgb,var(--window-bg) 92%,transparent);box-shadow:0 18px 36px #151c2614}.explorer-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 24px 14px}.explorer-preview-title{color:var(--text);font-family:var(--font-display);font-size:1.4rem;font-weight:650}.explorer-preview-bookmarks{margin-top:10px;font-size:.82rem}.explorer-preview-tags{margin-top:12px}.explorer-preview-summary{margin-top:12px;color:var(--muted);font-size:.92rem;line-height:1.55}.explorer-preview-content{min-height:0;overflow-y:auto;padding:24px;font-size:1rem}@media(max-width:920px){.app-shell,.editor-window{min-width:0;width:100%}.editor-body,.editor-body.is-panel-open{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);position:relative}.left-panel{position:fixed;top:0;bottom:0;left:0;z-index:30;width:min(84vw,320px);max-height:none;border-right:1px solid var(--window-border);border-bottom:0;background:color-mix(in srgb,var(--chrome-bg) 96%,transparent);box-shadow:none;opacity:1;pointer-events:none;transform:translate(-105%);transition:transform .22s ease,box-shadow .22s ease}.left-panel.is-open{box-shadow:24px 0 60px #11182738;pointer-events:auto;transform:translate(0)}.left-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:block;background:color-mix(in srgb,var(--window-bg) 58%,transparent);opacity:0;pointer-events:none;transition:opacity .18s ease}.left-panel-backdrop.is-open{opacity:1;pointer-events:auto}.writer-stage{padding:0;overflow:hidden}.writer-layout{grid-template-columns:1fr;gap:0;height:100%;align-items:stretch}.writer-layout.is-toc-hidden,.writer-layout.is-toc-collapsed{grid-template-columns:1fr}.writer-main{min-height:0}.toc-panel{display:none}.explorer-modal{width:calc(100vw - 28px);height:calc(100vh - 28px)}.explorer-modal-body{grid-template-columns:1fr;grid-template-rows:minmax(220px,.8fr) minmax(0,1fr);padding:0 14px 14px}.explorer-list-panel{min-height:14rem}}@media(max-width:640px){.app-shell{padding:0}.window-bar{flex-wrap:nowrap;padding:14px 18px}.mobile-header-copy-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;margin-left:auto;padding:0 13px;border-radius:999px;background:var(--text);color:var(--window-bg);font-size:.82rem;font-weight:700}.window-action-group{width:100%;justify-content:flex-start;flex-wrap:wrap}.writer-stage{padding:0}.document-title-input{font-size:1.95rem}.desktop-document-heading{display:none}.mobile-document-heading{display:block;margin:0 0 18px}.prompt-composer{height:100%;max-height:none;min-height:0;margin-top:0;padding:12px 12px 10px;border:0;border-radius:0;box-shadow:none}:root[data-theme=dark] .prompt-composer{box-shadow:none}.prompt-composer .toolbar-shell{margin-top:12px;padding-top:10px;border-top:1px solid var(--window-border)}.prompt-composer .toolbar-share-pill{display:none}.shared-viewer-shell{padding:18px 12px}.shared-viewer-card{padding:22px 22px 78px;border-radius:22px}.shared-viewer-prompt-card{padding:0}.shared-viewer-selector-card{padding:20px 0 10px}.shared-viewer-scroll-area{padding:22px}.shared-viewer-copy-bar{margin:0;padding:12px 22px;border-radius:0 0 22px 22px}.format-toolbar{gap:0;max-width:100%;overflow:visible}.format-toolbar-options{gap:0}.toolbar-divider{display:none}.toolbar-text-style-trigger{min-width:52px}.explorer-modal-backdrop{padding:12px}.explorer-modal-header,.explorer-preview-header{padding-left:18px;padding-right:18px}.explorer-preview-content{padding:18px}.explorer-list-row{grid-template-columns:minmax(0,1fr) 104px;padding:0 14px}}
