:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-top:#0f0f13;--surface:#171a24;--surface-strong:#202334;--surface-soft:#1b1f2d;--surface-panel:#151822;--surface-input:#1d2130;--text-main:#e2e8f0;--text-secondary:#c2cfde;--text-muted:#8b99ad;--line:#2a2d3f;--line-soft:#94a3b81f;--line-strong:#94a3b838;--accent-light:#6366f129;--warning:#fb923c;--danger:#ef4444;--shadow-lg:0 8px 28px #00000057;--shadow-md:0 4px 18px #0000003d;--radius-xl:14px;--radius-lg:12px;--radius-md:10px;--radius-sm:8px;--font-ui:"Aptos", "Segoe UI Variable", "Segoe UI", "Trebuchet MS", sans-serif}:root[data-theme=ocean]{--bg-top:#07111b;--surface:#0b1826;--surface-strong:#102235;--surface-soft:#0f2030;--surface-panel:#091521;--surface-input:#102131;--text-main:#e4f1ff;--text-secondary:#bfd1e3;--text-muted:#7e94ab;--line:#203348;--line-soft:#94a3b824;--line-strong:#7da7d042;--accent-light:#38bdf82e}:root[data-theme=forest]{--bg-top:#0c120d;--surface:#151d16;--surface-strong:#1c281d;--surface-soft:#182219;--surface-panel:#111811;--surface-input:#1b251c;--text-main:#e7f0e9;--text-secondary:#c5d5c8;--text-muted:#8d9f90;--line:#2b3a2d;--line-soft:#94a3b81f;--line-strong:#86c5943d;--accent-light:#34d39929}:root[data-theme=ember]{--bg-top:#160e0b;--surface:#211613;--surface-strong:#2b1d18;--surface-soft:#241914;--surface-panel:#1b120f;--surface-input:#281b16;--text-main:#f3e7df;--text-secondary:#dcc8bb;--text-muted:#a99488;--line:#433028;--line-soft:#dcb8a724;--line-strong:#ecae8c3d;--accent-light:#fb923c2e}:root[data-theme=editorial]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-top:#f7f3ec;--surface:#fffdf8;--surface-strong:#fffaf3;--surface-soft:#f2eadf;--surface-panel:#f5efe6;--surface-input:#fffdf8;--text-main:#3b2418;--text-secondary:#7b5a49;--text-muted:#a48674;--line:#e6dacb;--line-soft:#8c674e2e;--line-strong:#8c674e4d;--accent-light:#b78b6026;--warning:#b7773e;--danger:#b94c45;--shadow-lg:0 18px 48px #4a2d1c14;--shadow-md:0 10px 28px #4a2d1c12;--radius-xl:3px;--radius-lg:3px;--radius-md:2px;--radius-sm:2px;--font-ui:Georgia, "Times New Roman", Times, serif;--editorial-ink:#3b2418;--editorial-brown:#8f674f;--editorial-muted:#a48674;--editorial-paper:#fffdf8;--editorial-wash:#f5efe6;--editorial-panel:#eee7dc;--editorial-line:#e6dacb;--editorial-accent:#3b1f12}:root[data-theme=brutalist]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-top:#eee9df;--surface:#fffdf6;--surface-strong:#fffdf6;--surface-soft:#f4f0e6;--surface-panel:#fffdf6;--surface-input:#fffdf6;--text-main:#050505;--text-secondary:#151515;--text-muted:#77736a;--line:#050505;--line-soft:#050505;--line-strong:#050505;--accent-light:#ffe12b;--warning:#ffe12b;--danger:#d60000;--shadow-lg:6px 6px 0 #050505;--shadow-md:4px 4px 0 #050505;--radius-xl:0;--radius-lg:0;--radius-md:0;--radius-sm:0;--font-ui:"Courier New", "Roboto Mono", "IBM Plex Mono", monospace;--brutalist-yellow:#ffe12b;--brutalist-paper:#fffdf6;--brutalist-cream:#eee9df;--brutalist-ink:#050505}*{box-sizing:border-box}[hidden]{display:none!important}html,body{min-height:100%;margin:0}body{font-family:var(--font-ui);color:var(--text-main);background:var(--bg-top);overflow:hidden}button,input,select,textarea{font:inherit}*{scrollbar-width:thin;scrollbar-color:#94a3b847 transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#94a3b847 padding-box padding-box;border:2px solid #0000;border-radius:4px}::-webkit-scrollbar-button{display:none}.app-shell{grid-template-columns:minmax(0, 1fr) minmax(329px, var(--sidebar-width,377px));gap:18px;height:100dvh;min-height:100vh;padding:24px;transition:grid-template-columns .28s,gap .28s;display:grid;position:relative}.app-shell.is-sidebar-hidden{grid-template-columns:minmax(0,1fr) 0;gap:0}.panel{background:var(--surface-panel);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:var(--radius-xl)}.chat-panel{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.sidebar-rail{min-width:0;height:100%;min-height:0;max-width:var(--sidebar-width,377px);opacity:1;flex-direction:column;gap:14px;transition:opacity .28s,transform .28s,max-width .28s;display:flex;overflow:hidden;transform:translate(0)}.sidebar-resize-handle{z-index:20;top:24px;bottom:24px;right:calc(24px + var(--sidebar-width,377px) + 4px);cursor:col-resize;background:0 0;border:0;border-radius:999px;width:10px;padding:0;position:absolute}.sidebar-resize-handle:before{content:"";opacity:.42;background:#34d3993d;border-radius:999px;width:2px;transition:opacity .18s,background .18s,box-shadow .18s;position:absolute;top:18px;bottom:18px;left:4px}.sidebar-resize-handle:hover:before,.sidebar-resize-handle:focus-visible:before,.app-shell.is-sidebar-resizing .sidebar-resize-handle:before{opacity:1;background:#34d399;box-shadow:0 0 14px #34d3996b}.sidebar-resize-handle:focus-visible{outline-offset:4px;outline:2px solid #34d399b8}.sidebar-rail.is-history-only{justify-content:flex-start}.sidebar-rail.is-history-only .chat-drawer{flex:none}.freechat-settings-panel{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;padding:14px;transition:flex-basis .22s,max-height .22s;display:flex;overflow:hidden}.freechat-settings-panel.is-collapsed{flex:none;max-height:64px}.textflow-side-stack{flex-direction:column;flex:1;gap:14px;width:100%;min-height:0;display:flex}.textflow-node-palette{flex-direction:column;flex:1;min-height:0;padding:14px;display:flex;overflow:hidden}.textflow-node-palette-header{border-bottom:1px solid var(--line-soft);gap:4px;padding-bottom:10px;display:grid}.textflow-node-palette-header h3{color:#fb923c;margin:0;font-size:1rem}.textflow-node-palette-header p{color:var(--text-muted);margin:0;font-size:.8rem;line-height:1.4}.textflow-node-palette-list{gap:8px;min-height:0;padding-top:10px;display:grid;overflow:auto}.textflow-node-palette-btn{border:1px solid var(--line);border-radius:var(--radius-sm);background:linear-gradient(135deg, #34d3990a, transparent 48%), var(--surface-strong);width:100%;color:var(--text-main);text-align:left;cursor:pointer;gap:3px;padding:10px 11px;transition:border-color .18s,box-shadow .18s,color .18s,background .18s,transform .18s,opacity .18s;display:grid}.textflow-node-palette-btn:hover{border-color:#34d3998f;transform:translateY(-1px);box-shadow:0 0 0 2px #34d3991a}.textflow-node-palette-btn:disabled{cursor:not-allowed;opacity:.55}.textflow-node-palette-btn strong{color:#eaf2ff;font-size:.82rem;line-height:1.2}.textflow-node-palette-btn span{color:var(--text-muted);font-size:.68rem;line-height:1.25}.freechat-settings-header{border-bottom:1px solid var(--line-soft);gap:4px;padding-bottom:10px;display:grid}.freechat-settings-header-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.freechat-settings-header-actions{align-items:center;gap:6px;display:inline-flex}.freechat-settings-header h3{color:#fb923c;margin:0;font-size:1rem}.freechat-settings-header p{color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.4}.freechat-memory-indicator{width:fit-content;color:var(--text-muted);font:inherit;text-align:left;cursor:pointer;background:#94a3b814;border:1px solid #94a3b833;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:.76rem;font-weight:700;line-height:1;display:inline-flex}.freechat-memory-indicator .freechat-memory-caret{color:currentColor;opacity:.72;font-weight:900;line-height:1;transition:transform .18s}.freechat-memory-indicator .dot{background:#64748b;border-radius:999px;width:8px;min-width:8px;height:8px;box-shadow:0 0 0 4px #94a3b81a}.freechat-memory-indicator.is-active{color:#86efac;background:#22c55e14;border-color:#22c55e38}.freechat-memory-indicator.is-active .dot{background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.freechat-settings-body{gap:12px;min-width:0;min-height:0;padding-top:12px;display:grid;overflow:hidden auto}.freechat-settings-panel.is-collapsed .freechat-settings-header{border-bottom-color:#0000;gap:0;padding-bottom:0}.freechat-settings-panel.is-collapsed .freechat-settings-header-top,.freechat-settings-panel.is-collapsed .freechat-settings-header p,.freechat-settings-panel.is-collapsed .freechat-settings-body{display:none}.freechat-settings-panel.is-collapsed .freechat-memory-caret{transform:rotate(180deg)}.freechat-settings-field{min-width:0;color:var(--text-main);gap:8px;font-size:.82rem;font-weight:600;display:grid}.freechat-settings-field small{color:var(--text-muted);font-size:.76rem;font-weight:500;line-height:1.4}.freechat-settings-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.freechat-toggle-btn{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-soft);min-height:34px;color:var(--text-muted);cursor:pointer;justify-content:center;align-items:center;padding:0 12px;font-size:.8rem;font-weight:700;transition:border-color .16s,color .16s,box-shadow .16s,background .16s;display:inline-flex}.freechat-toggle-btn:hover{color:#ffd2ad;border-color:#fb923ca3;box-shadow:0 0 0 3px #fb923c1f}.freechat-toggle-btn.is-active{color:#dcfce7;background:#22c55e1a;border-color:#22c55eb8;box-shadow:0 0 0 3px #22c55e24}.freechat-system-prompt{resize:vertical;width:100%;min-height:112px;max-height:220px;padding:12px 13px;line-height:1.5}.freechat-temperature-slider{accent-color:#fb923c;cursor:pointer;width:100%}.freechat-reset-btn{white-space:nowrap;flex:none;height:32px;padding:0 10px;font-size:.74rem}.freechat-settings-toggle{flex:none}.advisor-panel{flex-direction:column;flex:1.15;gap:10px;width:100%;min-width:0;min-height:300px;padding:14px;transition:flex-basis .22s,max-height .22s;display:flex;overflow:hidden}.advisor-panel.is-collapsed{flex:none;min-height:0;max-height:66px}.advisor-header{border-bottom:1px solid var(--line-soft);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:4px;padding-bottom:9px;display:flex}.advisor-header h3,.advisor-history-header h4{color:#34d399;margin:0}.advisor-header h3{font-size:1rem}.advisor-header p,.advisor-history-header p{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.35}.advisor-panel-toggle{flex:none}.advisor-panel.is-collapsed .advisor-settings,.advisor-panel.is-collapsed .advisor-messages,.advisor-panel.is-collapsed .advisor-composer,.advisor-panel.is-collapsed .advisor-history{display:none}.advisor-panel.is-collapsed .advisor-header{border-bottom-color:#0000;padding-bottom:0}.advisor-panel.is-collapsed .advisor-header p{display:none}.advisor-panel.is-collapsed .advisor-panel-toggle{transform:rotate(180deg)}.advisor-controls{gap:8px;display:grid}.advisor-settings{border-radius:var(--radius-md);background:#1f23346b;border:1px solid #94a3b824;gap:8px;padding:8px;display:grid}.advisor-settings-toggle{width:100%;color:var(--text-main);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;display:grid}.advisor-settings-toggle span:first-child{color:#fb923c;letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:900}.advisor-settings-toggle strong{min-width:0;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800;overflow:hidden}.advisor-settings-caret{color:var(--text-muted);font-weight:900;line-height:1}.advisor-settings-toggle:hover strong,.advisor-settings-toggle:hover .advisor-settings-caret{color:#86efac}.advisor-settings-body{gap:8px;display:grid}.advisor-settings.is-collapsed{gap:0;padding-block:7px}.advisor-settings.is-collapsed .advisor-settings-body{display:none}.advisor-settings.is-collapsed .advisor-settings-caret{transform:rotate(180deg)}.advisor-field{min-width:0;color:var(--text-main);gap:5px;font-size:.72rem;font-weight:800;display:grid}.advisor-context-pill{color:#a7f3d0;background:#34d39914;border:1px solid #34d39938;border-radius:999px;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:6px 10px;font-size:.7rem;font-weight:800;line-height:1;display:inline-flex}.advisor-context-pill .dot{background:#22c55e;border-radius:999px;width:7px;min-width:7px;height:7px;box-shadow:0 0 0 4px #22c55e1f}.advisor-messages{border-radius:var(--radius-md);background:#0a111e94;border:1px solid #34d3991f;flex-direction:column;flex:1;gap:8px;min-height:110px;padding:8px;display:flex;overflow:auto}.advisor-empty{color:var(--text-muted);text-align:center;margin:auto;font-size:.78rem}.advisor-message{border-radius:var(--radius-sm);color:var(--text-main);background:linear-gradient(135deg,#34d39914,#0000 54%),#0f172ac7;border:1px solid #34d3992e;gap:4px;padding:8px 9px;display:grid}.advisor-message--user{color:var(--text-main);background:#1f2334bd;border-color:#94a3b833}.advisor-message--assistant{color:#fb923c;border-color:#34d39938}.advisor-message--assistant .advisor-message-text{color:#fb923c}.advisor-message--user .advisor-message-text{color:var(--text-main)}.advisor-message.is-error{color:#fecaca;border-color:#f8717157}.advisor-message-text{white-space:pre-wrap;word-break:break-word;font-size:.78rem;line-height:1.45}.advisor-message small{color:var(--text-muted);font-size:.64rem;line-height:1.3}.advisor-composer{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.advisor-input{resize:vertical;min-height:64px;max-height:140px;padding:10px 11px;line-height:1.45}.advisor-send-btn{height:42px;padding-inline:12px}.advisor-history{border-top:1px solid var(--line-soft);gap:8px;min-height:0;padding-top:8px;display:grid}.advisor-history.is-collapsed{gap:0}.advisor-history-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.advisor-history-actions{align-items:center;gap:6px;display:inline-flex}.advisor-history-toggle{color:#a7f3d0;min-width:34px;padding-inline:9px;line-height:1}.advisor-history.is-collapsed .advisor-history-list{display:none}.advisor-history-header h4{font-size:.86rem}.advisor-history-list{max-height:148px;padding-top:0;overflow:auto}.app-shell.is-sidebar-hidden .sidebar-rail{opacity:0;pointer-events:none;max-width:0;transform:translate(32px)}.rules-panel,.history-panel{flex-direction:column;min-height:0;padding:14px;display:flex}.rules-panel{flex:.85;transition:flex-basis .22s,max-height .22s;overflow:hidden}.rules-panel.is-collapsed{flex:none;max-height:66px}.rules-panel.is-collapsed .rules-form,.rules-panel.is-collapsed .rules-list{display:none}.rules-panel.is-collapsed .rules-header{border-bottom-color:#0000;padding-bottom:0}.rules-panel.is-collapsed .rules-header p{display:none}.rules-panel.is-collapsed .drawer-toggle-btn{transform:rotate(180deg)}.chat-header{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:7px 20px;display:grid}.chat-title{grid-column:1;gap:2px;width:100%;min-width:0;display:grid}.chat-title h2{align-items:center;gap:8px;min-height:28px;margin:0;display:inline-flex}.chat-title-brand{color:#fb923c;letter-spacing:.01em;font-size:1.06rem;font-weight:800;line-height:1}.plan-status-badge{color:#4ade80;letter-spacing:.08em;text-transform:uppercase;background:#22c55e1a;border:1px solid #22c55e61;border-radius:999px;justify-content:center;align-items:center;min-height:20px;padding:0 8px;font-size:.68rem;font-weight:900;line-height:1;display:inline-flex}.chat-title p{color:var(--text-muted);margin:0;font-size:.83rem}.header-badges,.language-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.header-badges{grid-column:2;justify-content:center;justify-self:center;width:auto;min-width:0}.language-toolbar{flex:0 auto}.badge{border-radius:var(--radius-sm);background:var(--surface-strong);border:1px solid var(--line);align-items:center;gap:8px;height:42px;padding:0 12px;font-size:.83rem;font-weight:600;line-height:1;display:inline-flex}.badge-button{cursor:pointer;transition:transform .18s,border-color .18s,color .18s,box-shadow .18s}.badge-button:hover,.ghost-btn:hover,.send-btn:hover,.copy-btn:hover,.speak-btn:hover,.model-picker-toggle:hover,.model-option-btn:hover,.history-item:hover,.rule-delete:hover,.history-delete:hover,.message-delete:hover,.primary-btn:hover{transform:translateY(-1px)}.badge-button:hover,.ghost-btn:hover,.resend-btn:hover,.speak-btn:hover,.primary-btn:hover{color:#ffd2ad;border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c1f}.dot{background:#22c55e;border-radius:50%;width:8px;height:8px}.ghost-btn,.send-btn,.copy-btn,.speak-btn,.primary-btn,.model-picker-toggle,.model-option-btn,.history-item,.header-select,.control{transition:border-color .18s,box-shadow .18s,color .18s,background .18s,transform .18s,opacity .18s}.ghost-btn,.primary-btn{border-radius:var(--radius-sm);background:var(--surface-strong);height:42px;color:var(--text-main);border:1px solid var(--line);cursor:pointer;justify-content:center;align-items:center;padding:0 12px;font-size:.83rem;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.primary-btn{padding-inline:16px;font-weight:700}.header-select{border:1px solid var(--line);background:var(--surface-strong);width:152px;min-width:142px;height:42px;color:var(--text-main);border-radius:var(--radius-sm);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%23cfe2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:calc(100% - 16px);background-repeat:no-repeat;background-size:12px 12px;outline:none;flex:0 0 152px;padding:0 42px 0 13px;font-size:.92rem;font-weight:600}.header-language-menu{flex:none;position:relative}.composer-style-select.header-language-toggle{background:linear-gradient(45deg, transparent 50%, #94a3b8 50%) calc(100% - 17px) 18px / 6px 6px no-repeat, var(--surface-strong);justify-content:flex-start;width:152px;min-width:142px;min-height:42px;padding:0 34px 0 13px;font-size:.92rem;font-weight:600}.header-language-toggle span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.composer-mode-menu-panel.header-language-menu-panel{width:max-content;min-width:100%;max-height:min(60vh,440px);top:calc(100% + 8px);bottom:auto;overflow-y:auto}.composer-mode-option.header-language-option{white-space:nowrap;min-width:100%}.control{border:1px solid var(--line);background:var(--surface-strong);width:100%;color:var(--text-main);border-radius:var(--radius-sm);outline:none;padding:12px 14px}.header-select:focus,.control:focus,textarea:focus,.model-picker-toggle:focus-visible,.primary-btn:focus-visible,.drawer-toggle-btn:focus-visible{border-color:#fb923cb8;outline:none;box-shadow:0 0 0 3px #fb923c24}.swap-btn{width:42px;height:42px;padding:0}.rules-header,.history-header{border-bottom:1px solid var(--line-soft);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.rules-header h3,.history-header h3{color:#fb923c;margin:0;font-size:1rem}.rules-header p,.history-header p{color:var(--text-muted);margin:4px 0 0;font-size:.84rem}.history-header-actions{align-items:center;gap:8px;display:flex}.drawer-toggle-btn{width:auto;min-width:0;height:auto;color:var(--text-muted);cursor:pointer;background:0 0;border:0;padding:2px 4px;font-size:1.05rem;font-weight:700;line-height:1}.drawer-toggle-btn:hover,.rules-header:hover .drawer-toggle-btn,.history-header:hover .drawer-toggle-btn{color:#ffd2ad;text-shadow:0 0 10px #fb923c38}.chat-drawer{flex:none;height:min(46vh,420px);max-height:min(46vh,420px);transition:height .28s,max-height .28s;overflow:hidden}.chat-drawer.is-collapsed{height:78px;max-height:78px;box-shadow:var(--shadow-md)}.chat-drawer.is-collapsed .drawer-toggle-btn{transform:rotate(180deg)}.chat-drawer.is-collapsed .history-body{opacity:0;pointer-events:none}.chat-drawer.is-collapsed .history-header{border-bottom-color:#0000;padding-bottom:0}.chat-drawer.is-collapsed .history-header p{display:none}.history-body,.rules-list,.history-list,.chat-stream{min-height:0;overflow:auto}.history-body{flex-direction:column;flex:1;display:flex}.history-list{flex-direction:column;gap:6px;padding-top:10px;display:flex}.history-entry{width:100%;position:relative}.history-item{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);width:100%;color:var(--text-main);text-align:left;cursor:pointer;padding:7px 30px 7px 10px}.history-item.is-editing{cursor:default}.history-item.is-active{background:var(--accent-light);border-color:#6366f157;box-shadow:0 4px 16px #6366f114}.history-item strong,.history-item span,.history-item small{display:block}.history-item strong{word-break:break-word;margin-bottom:2px;font-size:.64rem;line-height:1.18}.history-title-trigger{cursor:text}.history-item span{color:var(--text-muted);font-size:.55rem;line-height:1.2}.history-item small{color:#ecf5ff8c;margin-top:3px;font-size:.51rem}.history-rename-input{border-radius:calc(var(--radius-sm) - 4px);width:100%;color:var(--text-main);font:inherit;background:#121524e6;border:1px solid #fb923c57;outline:none;margin:0 0 4px;padding:5px 8px;font-size:.64rem;font-weight:700;line-height:1.18}.history-rename-input:focus{border-color:#fb923cb8;box-shadow:0 0 0 1px #fb923c24}.history-delete,.rule-delete,.message-delete,.model-option-delete{color:#ff9cb0c7;cursor:pointer;background:0 0;border:0}.history-delete{width:18px;height:18px;padding:0;font-size:.82rem;font-weight:700;position:absolute;top:6px;right:7px}.rule-delete,.message-delete,.model-option-delete{padding:0;line-height:1}.history-empty,.rules-empty,.model-list-empty{border:1px dashed var(--line-strong);border-radius:var(--radius-md);color:var(--text-muted);text-align:center;padding:18px 14px;line-height:1.5}.rules-form,.rule-card,.model-picker-body,.toggle-row,.original-shell{border:1px solid var(--line);background:var(--surface-strong)}.rules-form,.rule-card{border-radius:var(--radius-md);gap:9px;display:grid}.rules-form{padding:12px}.rules-pair-row,.model-picker-add{grid-template-columns:1fr 1fr;gap:8px;display:grid}.model-picker-add{grid-template-columns:minmax(0,1fr) auto;align-items:center}.rule-add-btn,.model-add-btn{width:100%;min-height:40px}.rules-list{flex-direction:column;gap:10px;padding-top:14px;display:flex}.rule-card{padding:12px}.rule-card-top,.translation-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.rule-pair-badge,.original-badge,.translation-badge{text-transform:uppercase;letter-spacing:.14em}.rule-pair-badge{background:var(--surface-panel);border:1px solid var(--line);color:var(--text-muted);border-radius:6px;align-items:center;padding:5px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.rule-values{gap:6px;display:grid}.rule-source,.rule-target{word-break:break-word;margin:0;font-size:.92rem;line-height:1.45}.rule-arrow{color:#ffb24a;font-weight:700}.settings-overlay{z-index:20;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.settings-backdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#05070dbd;position:absolute;inset:0}.settings-modal{z-index:1;width:min(100%,520px);max-height:min(88vh,760px);padding:20px;position:relative;overflow:auto}.quick-switch-modal{width:min(100%,440px)}.help-modal{width:min(100%,760px)}.usage-modal{width:min(100%,780px)}.settings-modal-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.settings-modal-header h3{margin:0;font-size:1.05rem}.settings-close-btn{width:40px;min-width:40px;padding:0;font-size:1.05rem}.settings-card{box-shadow:none;background:0 0;border:0;gap:14px;padding:0;display:grid}.usage-modal-header{margin-bottom:14px}.usage-header-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.usage-modal-subtitle{color:var(--text-muted);margin:4px 0 0;font-size:.82rem}.usage-reset-btn{height:38px;padding-inline:12px;font-size:.8rem}.usage-modal-body{gap:14px;display:grid}.usage-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.usage-summary-card{border:1px solid var(--line);border-radius:var(--radius-md);background:#111726c2;gap:6px;padding:14px;display:grid}.usage-summary-card--accent{background:#261a11b8;border-color:#fb923c66}.usage-summary-label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.76rem;font-weight:700}.usage-summary-value{font-size:1.12rem;line-height:1.1}.usage-rows{gap:10px;max-height:min(52vh,460px);padding-right:4px;display:grid;overflow-y:auto}.usage-row{border:1px solid var(--line);border-radius:var(--radius-md);background:#111726c2;gap:10px;padding:14px;display:grid}.usage-row-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.usage-row-title{gap:4px;min-width:0;display:grid}.usage-row-title strong{word-break:break-word;font-size:.95rem;line-height:1.35}.usage-row-title span,.usage-row-meta{color:var(--text-muted);font-size:.82rem;line-height:1.45}.usage-row-stats{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.usage-chip{border:1px solid var(--line);min-height:30px;color:var(--text-secondary);white-space:nowrap;background:#1d2130bd;border-radius:999px;align-items:center;padding:0 10px;font-size:.78rem;font-weight:600;display:inline-flex}.usage-chip--accent{color:#ffd2ad;background:#261a11ad;border-color:#fb923c66}.usage-state{border:1px solid var(--line);border-radius:var(--radius-md);color:var(--text-secondary);background:#111726c2;padding:16px;line-height:1.5}.usage-state--error{color:#fecaca;background:#2d1118b8;border-color:#ef44445c}@media (max-width:720px){.usage-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-row-stats{justify-content:flex-start}}@media (max-width:520px){.usage-summary-grid{grid-template-columns:1fr}.usage-modal{padding:16px}.usage-header-actions{justify-content:flex-end;width:100%}}.help-modal-body{gap:14px;display:grid}.help-section-card{border:1px solid var(--line);border-radius:var(--radius-md);background:#111726c2;gap:10px;padding:14px;display:grid}.help-section-card--gemini{background:#0e1c16d1;border-color:#4ade805c;box-shadow:0 0 0 1px #22c55e0f}.help-section-card h4{color:var(--text-main);margin:0;font-size:.98rem}.help-helper-heading{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.help-helper-logo{color:#4ade80;filter:drop-shadow(0 0 8px #4ade8038);justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.help-helper-logo-svg{width:100%;height:100%}.help-helper-label{color:#4ade80;letter-spacing:.04em;font-size:.98rem;font-weight:800}.help-helper-hint{color:#f8fafc;letter-spacing:.02em;opacity:.84;font-size:.76rem;font-weight:500}.help-helper-open-hint{font-size:.9rem;color:#e6edf8!important}.help-section-card p{color:var(--text-secondary);margin:0;line-height:1.55}.help-step-list{color:var(--text-secondary);gap:8px;margin:0;padding-left:1.2rem;line-height:1.55;display:grid}.help-provider-links{gap:10px;display:grid}.help-provider-link{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--text-secondary);background:#181f33e0;gap:4px;padding:11px 12px;text-decoration:none;transition:border-color .16s,color .16s,box-shadow .16s;display:grid}.help-provider-link strong{color:var(--text-main);font-size:.92rem}.help-provider-link span{font-size:.84rem;line-height:1.45}.help-provider-link:hover{color:#ffd2ad;border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c1f}.help-connect-link{color:#bbf7d0;background:radial-gradient(circle at 14% 12%,#34d3992e,#0000 42%),#0c2122b8;border-color:#34d39957}.help-connect-link:hover{color:#dcfce7;border-color:#34d399b8;box-shadow:0 0 0 2px #34d39924}.help-inline-link{width:fit-content;display:inline-flex}.help-note{font-size:.82rem;color:var(--text-muted)!important}.help-contact-row{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--text-secondary);background:#181f33e0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.help-contact-row a{color:#f8fafc;text-decoration:none}.help-contact-row a:hover{color:#ffd2ad}.field{gap:8px;display:grid}.field label{font-size:.92rem;font-weight:700}.settings-help{color:var(--text-muted);margin:0;font-size:.84rem;line-height:1.45}.toggle-copy{gap:4px;display:grid}.toggle-copy strong{font-size:.92rem}.toggle-copy span{color:var(--text-muted);font-size:.82rem;line-height:1.35}.toggle-row{border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.auth-page,.settings-page-shell,.account-page-shell,.legal-page-shell{height:100dvh;min-height:100vh;padding:24px;overflow:auto}.auth-page{justify-content:center;align-items:flex-start;width:min(100%,1400px);margin:0 auto;display:flex}.settings-page-shell,.account-page-shell{justify-content:center;align-items:flex-start;display:flex}.auth-card,.settings-page-card,.account-page-card{align-self:flex-start;width:min(100%,600px);margin-inline:auto;padding:22px}.auth-card{place-self:center end;gap:20px;width:100%;max-width:420px;display:grid}.auth-card--embedded{border:1px solid var(--line);border-radius:calc(var(--radius-xl) + 2px);width:min(100%,390px);max-width:390px;box-shadow:var(--shadow-md);background:#141824eb;place-self:start end;margin-top:0;padding:22px}.auth-copy{gap:10px;display:grid}.auth-brand{letter-spacing:.12em;text-transform:uppercase;align-items:baseline;gap:0;font-size:.92rem;font-weight:800;text-decoration:none;display:inline-flex}.auth-brand-accent{color:#4ade80}.auth-brand-text{color:#fb923c}.auth-copy h2{margin:0;font-size:1.35rem}.auth-login-title{color:#4ade80}.auth-copy h1,.settings-page-top h1,.account-page-top h1{margin:0;font-size:1.35rem}.auth-copy p,.settings-page-top p,.account-page-top p,.settings-hint,.settings-hint-box{color:var(--text-muted);margin:0;line-height:1.55}.auth-eyebrow{color:#fb923c;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;font-weight:700}.auth-actions,.settings-page-actions,.account-page-actions,.account-signout-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auth-error,.settings-status-error{color:#fda4af}.settings-status-success{color:#86efac}.auth-google-btn{min-width:200px}.auth-google-btn:hover,.auth-google-btn:focus-visible{color:#d7ffe6;border-color:#4ade80b8;box-shadow:0 0 0 3px #4ade801f}.auth-hero{background:radial-gradient(circle at 6% 0,#34d3992e,#0000 32%),radial-gradient(circle at 92% 6%,#fb923c26,#0000 32%),linear-gradient(135deg,#0e1422f5,#070b14fa);border-color:#94a3b82e;align-self:flex-start;width:100%;padding:clamp(18px,2.2vw,30px);position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a,0 24px 70px #00000047}.auth-hero:before{content:"";pointer-events:none;background-image:linear-gradient(#94a3b80e 1px,#0000 1px),linear-gradient(90deg,#94a3b80b 1px,#0000 1px);background-size:54px 54px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000000c2,#0000 72%);mask-image:linear-gradient(#000000c2,#0000 72%)}.auth-hero-layout{z-index:1;grid-template-columns:1fr;align-items:start;gap:22px;display:grid;position:relative}.auth-hero-content{gap:clamp(22px,3vw,34px);display:grid}.auth-topbar{border-radius:var(--radius-lg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#090f1bad;border:1px solid #94a3b81f;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 12px;display:grid;box-shadow:inset 0 1px #ffffff08}.auth-topbar .auth-brand{padding-inline:6px}.auth-theme-switcher{border-radius:var(--radius-md);background:#0f172a75;border:1px solid #94a3b824;justify-self:center;align-items:center;gap:6px;min-width:0;padding:4px;display:inline-flex}.auth-theme-switcher-label{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;padding:0 6px 0 4px;font-size:.7rem;font-weight:900}.auth-theme-option{border-radius:var(--radius-sm);min-height:30px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;padding:0 12px;font-size:.76rem;font-weight:900;transition:border-color .16s,background .16s,color .16s,transform .16s}.auth-theme-option:hover,.auth-theme-option:focus-visible{color:#ffd2ad;border-color:#fb923c6b;transform:translateY(-1px)}.auth-theme-option.is-active{color:#fff7ed;background:#fb923c1f;border-color:#fb923c9e}.auth-topbar-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:max-content;display:inline-flex}.auth-topbar-auth-btn{border-radius:var(--radius-sm);min-height:34px;color:var(--text-main);font:inherit;cursor:pointer;background:#181f33d1;border:1px solid #94a3b82e;justify-content:center;align-items:center;padding:0 14px;font-size:.8rem;font-weight:900;transition:border-color .16s,color .16s,box-shadow .16s,background .16s,transform .16s;display:inline-flex}.auth-topbar-auth-btn--signup{color:#ffd2ad;background:#fb923c1f;border-color:#fb923c75}.auth-topbar-auth-btn:hover,.auth-topbar-auth-btn:focus-visible{color:#ffd2ad;border-color:#fb923c9e;transform:translateY(-1px);box-shadow:0 0 0 3px #fb923c1f}.auth-topbar-auth-btn:disabled{cursor:wait;opacity:.68;box-shadow:none;transform:none}.auth-topbar-error{color:#fda4af;grid-column:1/-1;justify-self:end;margin:0;font-size:.78rem}.auth-sign-in-link{border-radius:var(--radius-sm);min-height:36px;color:var(--text-main);background:#181f33d1;border:1px solid #94a3b82e;justify-content:center;align-items:center;padding:0 16px;font-size:.84rem;font-weight:900;text-decoration:none;transition:border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex}.auth-sign-in-link:hover,.auth-sign-in-link:focus-visible{color:#ffd2ad;border-color:#fb923c9e;transform:translateY(-1px);box-shadow:0 0 0 3px #fb923c1f}.auth-landing-hero{grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);align-items:stretch;gap:clamp(18px,2.5vw,28px);display:grid}.auth-hero-top{grid-template-columns:minmax(0,1.05fr) minmax(280px,400px) minmax(320px,390px);align-items:start;gap:18px;display:grid}.auth-hero-copy{border-radius:calc(var(--radius-xl) + 8px);background:radial-gradient(circle at 18% 0,#34d39921,#0000 36%),linear-gradient(#ffffff09,#0000 46%),#090f1b9e;border:1px solid #94a3b824;grid-area:1/1;align-content:start;gap:18px;min-width:0;height:100%;padding:clamp(18px,2.6vw,30px);display:grid}.auth-hero-copy h1{letter-spacing:-.075em;text-wrap:balance;max-width:10ch;margin:0;font-size:clamp(3.05rem,6.5vw,6.6rem);line-height:.93}.auth-hero-copy p{max-width:58ch;color:var(--text-secondary);margin:0;font-size:clamp(1rem,1.15vw,1.1rem);line-height:1.65}.auth-hero-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auth-hero-primary{min-height:46px;padding-inline:18px;text-decoration:none}.auth-hero-secondary{border-radius:var(--radius-md);color:#dbeafe;background:#181f33b8;border:1px solid #94a3b82e;justify-content:center;align-items:center;min-height:46px;padding:0 16px;font-size:.9rem;font-weight:900;text-decoration:none;transition:border-color .16s,color .16s,transform .16s;display:inline-flex}.auth-hero-secondary:hover,.auth-hero-secondary:focus-visible{color:#bbf7d0;border-color:#34d3996b;transform:translateY(-1px)}.auth-trust-note{color:#bbf7d0;font-size:.86rem;font-weight:800}.auth-hero-benefits{gap:10px;display:grid}.auth-hero-proof-grid{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.auth-hero-benefit{border-radius:var(--radius-md);background:#0f172a94;border:1px solid #94a3b81f;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;display:grid}.auth-hero-proof-grid .auth-hero-benefit{min-height:100%}.auth-hero-benefit strong{color:var(--text-main);font-size:.92rem;display:block}.auth-hero-benefit p{margin-top:3px;font-size:.86rem;line-height:1.5}.auth-check-dot{background:#22c55e;border-radius:999px;width:10px;height:10px;margin-top:5px;box-shadow:0 0 0 4px #22c55e24}.auth-byok-note{border-radius:0 var(--radius-md) var(--radius-md) 0;color:#fed7aa;background:#fb923c14;border-left:3px solid #fb923cb8;align-items:center;margin:0;padding:12px 14px;font-size:.92rem;font-weight:700;display:flex}.auth-hero-demo{align-self:start;min-width:0;height:auto}.auth-hero-badges{flex-wrap:wrap;grid-area:2/1/auto/3;align-self:end;align-items:center;gap:10px;margin-top:0;padding-bottom:4px;display:flex}.auth-hero-badge{color:#ffd2ad;background:#fb923c14;border:1px solid #fb923c47;border-radius:999px;align-items:center;padding:7px 12px;font-size:.83rem;font-weight:600;display:inline-flex}.auth-hero-visual{grid-area:1/2/span 2;justify-content:center;align-self:start;align-items:center;min-height:0;margin-top:8px;padding:0;display:flex}.auth-hero-canvas-shell{background:radial-gradient(circle at 50% 18%,#34d39914,#0000 48%),radial-gradient(circle at 50% 78%,#fb923c14,#0000 42%),#11172675;border:1px solid #94a3b81f;border-radius:22px;justify-content:center;align-items:center;width:min(100%,380px);min-height:238px;padding:14px 10px 8px;display:flex;box-shadow:inset 0 1px #ffffff08,0 12px 40px #0000002e}.auth-hero-canvas{width:min(100%,340px);height:auto;display:block}.auth-feature-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.auth-card--embedded{grid-area:1/3/span 2}.auth-benefits-shell,.auth-problem-card,.auth-public-demo,.auth-product-tour{grid-column:1/-1}.auth-public-demo{border-radius:calc(var(--radius-xl) + 2px);background:radial-gradient(circle at 8% 0,#34d39921,#0000 32%),radial-gradient(circle at 88% 16%,#fb923c1f,#0000 30%),linear-gradient(135deg,#0f1523db,#0a0f1af0);border:1px solid #34d39938;grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr);gap:18px;padding:18px;display:grid;box-shadow:inset 0 1px #ffffff08,0 18px 46px #0000003d}.auth-landing-hero .auth-hero-demo,.auth-public-demo--hero{grid-area:auto}.auth-public-demo--hero{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:1fr;gap:0;padding:0;display:grid}.auth-public-demo-copy{align-content:start;gap:10px;min-width:0;padding:4px;display:grid}.auth-public-demo-copy h2{max-width:15ch;margin:0;font-size:clamp(1.24rem,2vw,1.76rem);line-height:1.12}.auth-public-demo-copy p{color:var(--text-secondary);margin:0;font-size:.94rem;line-height:1.6}.auth-demo-cta-link{color:#bbf7d0;width:fit-content;margin-top:4px;font-size:.86rem;font-weight:800;line-height:1.4;text-decoration:none;display:inline-flex}.auth-demo-cta-link:hover{color:#fed7aa}.auth-public-demo-panel{border-radius:var(--radius-lg);background:linear-gradient(#ffffff09,#0000 52%),#090f1bc7;border:1px solid #94a3b829;gap:12px;min-width:0;padding:14px;display:grid}.auth-public-demo--hero .auth-public-demo-panel{border-radius:calc(var(--radius-xl) + 8px);border-color:#34d39947;height:clamp(620px,50vw,680px);min-height:0;box-shadow:inset 0 1px #ffffff0a,0 26px 64px #00000052,0 0 0 1px #34d3990a}.auth-demo-controls{gap:10px;display:grid}.auth-demo-mode-toggle{align-items:end;gap:8px;min-width:0;display:flex}.auth-demo-mode-toggle button,.auth-demo-meter-row button{color:var(--text-muted);font:inherit;cursor:pointer;font-weight:800}.auth-demo-mode-toggle button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);text-align:left;justify-content:center;align-items:center;gap:8px;min-width:104px;min-height:40px;padding:0 13px;font-size:.82rem;transition:border-color .16s,color .16s,box-shadow .16s,background .16s,transform .16s;display:inline-flex}.auth-demo-mode-toggle button:before{content:"";width:8px;height:8px;box-shadow:none;background:#94a3b842;border-radius:999px}.auth-demo-mode-toggle button:hover{color:#ffd2ad;border-color:#fb923c80;transform:translateY(-1px)}.auth-demo-mode-toggle button.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.auth-demo-mode-toggle button.is-active:before{background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}.auth-demo-select-row{grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr);gap:10px;display:grid}.auth-demo-select-row label,.auth-demo-textarea-field{min-width:0;color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;gap:6px;font-size:.74rem;font-weight:900;display:grid}.auth-demo-select-row label.is-muted{opacity:.58}.auth-demo-select-row select,.auth-demo-textarea-field textarea{border-radius:var(--radius-sm);width:100%;min-width:0;color:var(--text-main);font:inherit;background:#0f172ad1;border:1px solid #94a3b82e;outline:none}.auth-demo-select-row select{min-height:40px;padding:0 12px}.auth-demo-textarea-field textarea{resize:vertical;min-height:150px;padding:12px;line-height:1.55}.auth-demo-textarea-field textarea::placeholder{color:var(--text-muted)}.auth-demo-select-row select:focus,.auth-demo-textarea-field textarea:focus{border-color:#34d3996b;box-shadow:0 0 0 2px #34d3991a}.auth-demo-meter-row{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.78rem;font-weight:800;display:flex}.auth-demo-meter-row span{border-radius:var(--radius-sm);background:#0f172ab8;border:1px solid #94a3b824;padding:7px 10px}.auth-demo-meter-row span.is-danger{color:#fecaca;background:#7f1d1d3d;border-color:#ef444461}.auth-demo-meter-row button{border-radius:var(--radius-sm);color:#bbf7d0;background:#34d3991a;border:0;min-height:31px;padding:0 10px}.auth-demo-submit{background:linear-gradient(135deg, #34d39938, #fb923c2e), var(--surface-strong);border-color:#34d39961;width:100%;min-height:44px}.auth-demo-result{border-radius:var(--radius-md);background:linear-gradient(#14532d29,#0000 68%),#080d18d6;border:1px solid #34d39938;gap:10px;padding:13px;display:grid}.auth-demo-result.is-error{background:linear-gradient(#7f1d1d2e,#0000 68%),#080d18d6;border-color:#ef44445c}.auth-demo-result p{color:var(--text-secondary);white-space:pre-wrap;margin:0;line-height:1.58}.auth-demo-result-meta{color:#bbf7d0;letter-spacing:.08em;text-transform:uppercase;flex-wrap:wrap;align-items:center;gap:8px;font-size:.74rem;font-weight:900;display:flex}.auth-demo-result-meta span{background:#14532d24;border:1px solid #34d3992e;border-radius:999px;padding:5px 8px}.auth-demo-changes{gap:7px;display:grid}.auth-demo-changes div{border-radius:var(--radius-sm);color:var(--text-muted);background:#0f172a94;border:1px solid #94a3b81f;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:8px;font-size:.8rem;display:grid}.auth-demo-changes div:before{content:"->";color:#fb923c;grid-area:1/2;font-weight:900}.auth-demo-changes span,.auth-demo-changes strong{overflow-wrap:anywhere;min-width:0}.auth-demo-changes strong{color:#e2e8f0}.auth-public-demo-panel--chat{background:radial-gradient(circle at 18% 0,#34d3991a,#0000 32%),#090f1bdb;grid-template-rows:auto auto minmax(0,1fr) auto;gap:0;padding:0;overflow:hidden}.auth-demo-toolbar{z-index:4;background:linear-gradient(90deg,#34d3990f,#0000 44%),#111726a3;border-bottom:1px solid #94a3b824;grid-template-columns:minmax(188px,1fr) auto minmax(132px,.56fr);align-items:end;gap:10px;padding:12px;display:grid;position:relative}.auth-demo-openrouter-note{color:#a8b7d8;background:linear-gradient(90deg,#fb923c14,#0000 54%),#090f1b57;border-bottom:1px solid #94a3b81f;margin:0;padding:9px 14px;font-size:.78rem;font-weight:700;line-height:1.45}.auth-demo-control-field{min-width:0;color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;gap:6px;font-size:.68rem;font-weight:900;display:grid}.auth-demo-control-field select{appearance:none;border-radius:var(--radius-sm);width:100%;min-width:0;min-height:40px;color:var(--text-main);font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer;background:linear-gradient(45deg,#0000 50%,#94a3b8 50%) calc(100% - 18px) 17px/6px 6px no-repeat,linear-gradient(135deg,#34d3990f,#0000 42%),#181f33e0;border:1px solid #94a3b833;outline:none;padding:0 36px 0 14px;font-size:.82rem;font-weight:800;transition:border-color .16s,color .16s,box-shadow .16s,background-color .16s;box-shadow:inset 0 1px #ffffff08,0 10px 22px #0000001f}.auth-demo-control-field select:hover{color:#fff7ed;border-color:#fb923c75}.auth-demo-control-field select:focus{border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c24,0 10px 22px #0000001f}.auth-demo-control-field--compact{min-width:132px}.auth-demo-menu-field{position:relative}.auth-demo-menu-trigger{border-radius:var(--radius-sm);background:linear-gradient(135deg, #34d3990f, transparent 42%), var(--surface-soft);width:100%;min-width:0;min-height:40px;color:var(--text-main);font:inherit;text-align:left;cursor:pointer;border:1px solid #94a3b833;justify-content:space-between;align-items:center;gap:12px;padding:0 38px 0 14px;font-size:.82rem;font-weight:800;transition:border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex;position:relative;box-shadow:inset 0 1px #ffffff08,0 10px 22px #0000001f}.auth-demo-menu-trigger:after{content:"";pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%23cfe2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:12px 12px;width:12px;height:12px;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.auth-demo-menu-trigger:hover,.auth-demo-menu-field.is-open .auth-demo-menu-trigger{color:#fff7ed;border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c24,0 10px 22px #0000001f}.auth-demo-menu-trigger-main{flex:1;gap:2px;min-width:0;display:grid}.auth-demo-menu-provider{color:#fb923c;letter-spacing:.08em;text-transform:uppercase;font-size:.66rem;font-weight:900}.auth-demo-menu-value,.auth-demo-model-option-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auth-demo-model-trigger{min-height:42px}.auth-demo-model-menu,.auth-demo-style-menu{z-index:20;border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background:#111726fa;position:absolute;top:calc(100% + 8px)}.auth-demo-model-menu[hidden],.auth-demo-style-menu[hidden]{display:none}.auth-demo-model-menu{grid-template-columns:126px minmax(250px,330px);gap:8px;width:min(472px,100vw - 72px);max-height:286px;padding:8px;display:grid;left:0}.auth-demo-provider-list,.auth-demo-model-option-list{min-height:0;overflow:auto}.auth-demo-provider-list{border-right:1px solid #94a3b824;align-content:start;gap:6px;padding-right:6px;display:grid}.auth-demo-provider-list button,.auth-demo-model-option,.auth-demo-style-option{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text-main);cursor:pointer;font:inherit;text-align:left;font-weight:800;transition:border-color .16s,color .16s,box-shadow .16s,background .16s,transform .16s}.auth-demo-provider-list button{min-height:44px;padding:0 12px}.auth-demo-provider-list button:hover,.auth-demo-model-option:hover,.auth-demo-style-option:hover{color:#ffd2ad;border-color:#fb923c80;transform:translateY(-1px)}.auth-demo-provider-list button.is-active,.auth-demo-model-option.is-active,.auth-demo-style-option.is-active{color:#ffd2ad;background:linear-gradient(135deg,#fb923c1f,#0000 44%),#1f263cf5;border-color:#fb923cc2;box-shadow:inset 0 0 0 1px #fb923c0f,0 0 0 2px #fb923c14}.auth-demo-model-option-list,.auth-demo-style-menu{align-content:start;gap:6px;display:grid}.auth-demo-model-option{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:0 10px 0 12px;display:grid}.auth-demo-model-option-text{gap:2px;font-size:.84rem;display:grid}.auth-demo-model-option-name,.auth-demo-model-option-id{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auth-demo-model-option-name{color:var(--text-main)}.auth-demo-model-option-id{color:var(--text-muted);font-size:.68rem;font-weight:700}.auth-demo-model-option.is-active .auth-demo-model-option-name{color:#ffd2ad}.auth-demo-style-menu{background:var(--surface-panel);gap:6px;width:max-content;min-width:min(230px,100vw - 72px);padding:8px;left:0}.auth-demo-style-option{min-width:176px;min-height:34px;padding:0 12px;font-size:.82rem;font-weight:700}.auth-demo-style-option:hover{color:#ffd2ad;border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c1f}.auth-demo-style-option.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.auth-demo-chat-stream{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#34d3998a #0f172a75;scrollbar-width:thin;background:radial-gradient(circle at 82% 8%,#fb923c14,#0000 34%),#070c168f;min-height:0;padding:12px;display:block;position:relative;overflow:auto}.auth-demo-chat-stream:focus-visible{outline-offset:-4px;outline:2px solid #34d3996b}.auth-demo-chat-stream::-webkit-scrollbar{width:10px}.auth-demo-chat-stream::-webkit-scrollbar-track{background:#0f172a75;border-radius:999px}.auth-demo-chat-stream::-webkit-scrollbar-thumb{background:#34d39994;border:2px solid #0f172a75;border-radius:999px}.auth-demo-chat-stream::-webkit-scrollbar-thumb:hover{background:#fb923ca8}.auth-demo-message-card{border-radius:var(--radius-lg);width:100%;min-height:max-content;box-shadow:var(--shadow-md);background:#111726e0;border:1px solid #94a3b82e;display:block;overflow:visible}.auth-demo-message-card[data-status=error]{border-color:#ef444457}.auth-demo-message-card .translation-shell{padding:12px}.auth-demo-message-card .original-shell{background:#1f263cdb}.auth-demo-message-card .original-toggle,.auth-demo-message-card .stylizer-changes-toggle{cursor:pointer}.auth-demo-message-card .original-shell[data-collapsed=true],.auth-demo-message-card .stylizer-changes-shell[data-collapsed=true]{background:linear-gradient(135deg,#fb923c0f,#0000 44%),#111726b8}.auth-demo-message-card .original-text{font-size:.88rem}.auth-demo-message-card .translation-output{color:#fb923c;font-size:.92rem}.auth-demo-message-card[data-status=error] .translation-output{color:#fca5a5}.auth-demo-status-pill{border-radius:var(--radius-sm);color:#bbf7d0;background:#14532d29;border:1px solid #22c55e3d;align-items:center;gap:7px;min-height:28px;padding:0 10px;font-size:.72rem;font-weight:900;display:inline-flex}.auth-demo-status-pill:before{content:"";background:#22c55e;border-radius:999px;width:7px;height:7px}.auth-demo-status-pill[data-status=pending]:before{background:#fb923c;box-shadow:0 0 0 4px #fb923c24}.auth-demo-status-pill[data-status=error]{color:#fecaca;background:#7f1d1d2e;border-color:#ef44444d}.auth-demo-status-pill[data-status=error]:before{background:#ef4444}.auth-demo-empty-state{min-height:100%;color:var(--text-secondary);text-align:center;place-content:center;align-self:stretch;gap:12px;padding:22px;display:grid}.auth-demo-empty-state h3{color:var(--text-main);letter-spacing:-.04em;margin:0;font-size:clamp(1.35rem,3vw,1.9rem);font-weight:900}.auth-demo-empty-state p{max-width:58ch;color:var(--muted);margin:0 auto;font-size:clamp(.98rem,2vw,1.08rem);line-height:1.58}.auth-demo-composer{background:#111726d6;border-top:1px solid #94a3b824;gap:9px;padding:12px;display:grid}.auth-demo-composer-shell{border-radius:var(--radius-md);background:#0f172ad1;border:1px solid #94a3b82e;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;padding:10px;display:grid}.auth-demo-composer-shell:focus-within{border-color:#34d3996b;box-shadow:0 0 0 2px #34d3991a}.auth-demo-composer-shell textarea{resize:none;width:100%;min-height:72px;max-height:160px;color:var(--text-main);font:inherit;background:0 0;border:0;outline:none;padding:0;line-height:1.55}.auth-demo-composer-shell textarea::placeholder{color:var(--text-muted)}.auth-demo-send-btn{border-radius:14px;align-self:end;width:46px;height:46px}.auth-demo-send-btn svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.auth-demo-composer .auth-demo-meter-row{padding:0 2px}.auth-benefits-shell{border-radius:calc(var(--radius-xl) + 2px);background:radial-gradient(circle at 12% 18%,#34d39914,#0000 32%),linear-gradient(135deg,#0f1523bd,#0c111dd1);border:1px solid #94a3b829;gap:18px;padding:18px;display:grid;box-shadow:inset 0 1px #ffffff05,0 16px 42px #0003}.auth-benefits-shell .auth-feature-grid{margin-bottom:0}.auth-problem-card{border-radius:var(--radius-lg);background:linear-gradient(135deg,#fb923c14,#0000 42%),#0f1523b8;border:1px solid #fb923c2e;gap:9px;padding:18px;display:grid}.auth-problem-card h2,.auth-section-heading h2,.auth-preview-copy h3{margin:0}.auth-problem-card h2{font-size:1.05rem}.auth-problem-card p{max-width:88ch;color:var(--text-secondary);margin:0;font-size:.94rem;line-height:1.58}.auth-story-section{border-radius:calc(var(--radius-xl) + 4px);background:radial-gradient(circle at 100% 0,#34d39912,#0000 30%),linear-gradient(135deg,#0f1523bd,#080d18e6);border:1px solid #94a3b824;gap:18px;padding:clamp(18px,2.4vw,28px);display:grid;box-shadow:inset 0 1px #ffffff06}.auth-problem-section{background:radial-gradient(circle at 6% 12%,#fb923c1f,#0000 30%),linear-gradient(135deg,#1f1712a3,#090f1be6);border-color:#fb923c38}.auth-story-section h2,.auth-final-card h2{letter-spacing:-.045em;text-wrap:balance;margin:0;font-size:clamp(1.65rem,3vw,2.7rem);line-height:1.04}.auth-story-section p{max-width:90ch;color:var(--text-secondary);margin:0;font-size:1rem;line-height:1.68}.auth-feature-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:#181f33e0;gap:8px;min-height:172px;padding:16px;display:grid}.auth-feature-grid--landing{margin-bottom:0}.auth-feature-kicker{color:#4ade80;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.auth-feature-card h2,.auth-feature-card h3{margin:0;font-size:1rem;line-height:1.28}.auth-feature-card p{color:var(--text-muted);margin:0;font-size:.9rem;line-height:1.55}.auth-product-tour{border-radius:calc(var(--radius-xl) + 4px);background:radial-gradient(circle at 80% 0,#fb923c17,#0000 32%),linear-gradient(135deg,#0f1523b8,#080d18eb);border:1px solid #94a3b824;gap:18px;padding:clamp(18px,2.4vw,28px);display:grid;box-shadow:inset 0 1px #ffffff06}.auth-comparison-wrap{border-radius:var(--radius-lg);background:#090f1bbd;border:1px solid #94a3b824;overflow:auto}.auth-comparison-table{border-collapse:collapse;width:100%;min-width:760px}.auth-comparison-table th,.auth-comparison-table td{color:var(--text-secondary);text-align:left;border-bottom:1px solid #94a3b81a;padding:14px 16px;font-size:.9rem}.auth-comparison-table thead th{color:var(--text-main);letter-spacing:.08em;text-transform:uppercase;background:#181f33db;font-size:.76rem;font-weight:900}.auth-comparison-table tbody th{color:var(--text-main);font-weight:900}.auth-comparison-table tr:last-child th,.auth-comparison-table tr:last-child td{border-bottom:0}.auth-table-win{color:#bbf7d0;background:#14532d1f;font-weight:900}.auth-step-grid,.auth-faq-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.auth-step-card,.auth-faq-card{border-radius:var(--radius-lg);background:#181f33c7;border:1px solid #94a3b824;align-content:start;gap:10px;min-width:0;padding:16px;display:grid}.auth-step-card span{color:#bbf7d0;background:#14532d24;border:1px solid #34d3993d;border-radius:999px;width:fit-content;padding:5px 8px;font-size:.72rem;font-weight:900}.auth-step-card h3,.auth-faq-card h3{margin:0;font-size:1rem;line-height:1.3}.auth-step-card p,.auth-faq-card p{font-size:.9rem;line-height:1.58}.auth-workflow-list{gap:10px;display:grid}.auth-workflow-row{border-radius:var(--radius-md);background:#0f172a99;border:1px solid #94a3b81f;grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr) minmax(150px,.56fr);align-items:center;gap:14px;padding:14px;display:grid}.auth-workflow-row strong{color:var(--text-main)}.auth-workflow-row span{color:var(--text-secondary);line-height:1.5}.auth-workflow-row em{color:#fed7aa;justify-self:end;font-size:.84rem;font-style:normal;font-weight:900}.auth-byok-section{background:radial-gradient(circle at 82% 20%,#34d39924,#0000 32%),linear-gradient(135deg,#0e1f1bc2,#080d18f0);border-color:#34d39938;grid-template-columns:minmax(0,1fr) minmax(260px,.48fr);align-items:center}.auth-byok-steps{counter-reset:byok-step;gap:10px;margin:0;padding:0;list-style:none;display:grid}.auth-byok-steps li{border-radius:var(--radius-md);min-height:52px;color:var(--text-secondary);background:#0f172aad;border:1px solid #34d3992e;padding:14px 14px 14px 52px;line-height:1.45;position:relative}.auth-byok-steps li:before{counter-increment:byok-step;content:counter(byok-step);color:#bbf7d0;background:#22c55e29;border-radius:999px;place-items:center;width:26px;height:26px;font-size:.78rem;font-weight:900;display:grid;position:absolute;top:12px;left:14px}.auth-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-learn-more-section{border-radius:calc(var(--radius-xl) + 4px);background:radial-gradient(circle at 10% 20%,#34d3991f,#0000 28%),radial-gradient(circle at 92% 12%,#fb923c1a,#0000 32%),linear-gradient(135deg,#0e1f1bb8,#080d18eb);border:1px solid #34d3992e;gap:18px;padding:clamp(18px,2.4vw,28px);display:grid}.auth-learn-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.auth-learn-more-card{border-radius:var(--radius-lg);min-height:160px;color:inherit;background:linear-gradient(135deg,#181f33e0,#0c111df0);border:1px solid #94a3b829;gap:8px;padding:18px;text-decoration:none;transition:border-color .16s,transform .16s,box-shadow .16s;display:grid}.auth-learn-more-card:hover,.auth-learn-more-card:focus-visible{border-color:#fb923c8f;transform:translateY(-2px);box-shadow:0 18px 42px #0000003d}.auth-learn-more-card span{color:var(--text-main);font-size:1.04rem;font-weight:900;line-height:1.25}.auth-learn-more-card p{color:var(--text-secondary);margin:0;line-height:1.58}.auth-learn-more-card strong{color:#fed7aa;align-self:end;width:fit-content;font-size:.82rem}.auth-final-card{border-radius:calc(var(--radius-xl) + 6px);background:radial-gradient(circle at 80% 12%,#fb923c2e,#0000 32%),radial-gradient(circle at 10% 80%,#34d3991c,#0000 28%),linear-gradient(135deg,#1f1712cc,#080d18f5);border:1px solid #fb923c47;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:clamp(20px,2.8vw,32px);display:grid;box-shadow:inset 0 1px #ffffff09,0 22px 60px #00000047}.auth-final-card .auth-copy{max-width:780px}.auth-final-card .legal-consent-note{color:var(--text-muted);grid-column:1/-1;margin:0;font-size:.82rem}.auth-final-card .auth-google-btn{justify-self:end}.auth-section-heading{gap:8px;max-width:760px;display:grid}.auth-section-heading h2{font-size:clamp(1.34rem,2vw,1.85rem);line-height:1.12}.auth-section-heading p,.auth-preview-copy p{color:var(--text-secondary);margin:0;line-height:1.6}.auth-preview-stack{gap:16px;display:grid}.auth-preview-card{border-radius:calc(var(--radius-xl) + 2px);box-shadow:var(--shadow-md);background:radial-gradient(circle at 16% 12%,#34d3991a,#0000 30%),linear-gradient(135deg,#181f33e0,#0c111deb);border:1px solid #94a3b829;gap:18px;padding:18px;display:grid}.auth-preview-card--compare{grid-template-columns:minmax(220px,340px) minmax(0,1fr);align-items:center}.auth-preview-card--flow{background:radial-gradient(circle at 72% 28%,#34d39921,#0000 32%),radial-gradient(circle at 24% 82%,#fb923c1a,#0000 36%),linear-gradient(135deg,#181f33e6,#080d18f0);border-color:#34d39933;grid-template-columns:minmax(240px,340px) minmax(0,1fr);align-items:center}.auth-preview-card--chat{grid-template-columns:minmax(220px,320px) minmax(0,1fr);align-items:center}.auth-preview-copy{gap:10px;display:grid}.auth-preview-copy h3{font-size:clamp(1.08rem,1.5vw,1.35rem);line-height:1.22}.auth-preview-window,.auth-chat-preview,.auth-flow-preview,.auth-demo-preview{background:#090d17c2;border:1px solid #94a3b829;border-radius:18px;overflow:hidden}.auth-demo-preview{background:radial-gradient(circle at 76% 18%,#34d3991f,#0000 28%),radial-gradient(circle at 18% 86%,#fb923c1f,#0000 34%),#090d17db;gap:0;display:grid}.auth-demo-preview-bar,.auth-demo-preview-footer{flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.auth-demo-preview-bar{border-bottom:1px solid #94a3b81f}.auth-demo-preview-footer{border-top:1px solid #94a3b81f}.auth-demo-preview-bar span,.auth-demo-preview-footer span{color:var(--text-secondary);background:#1f263ce0;border:1px solid #94a3b824;border-radius:10px;padding:7px 10px;font-size:.76rem;font-weight:700}.auth-demo-preview-chip--success{border-color:#4ade807a;color:#86efac!important}.auth-demo-preview-chip--accent{border-color:#fb923c7a;color:#ffd2ad!important}.auth-demo-preview-frame{background:linear-gradient(#11182729,#070c1666),#070c16eb;padding:12px;position:relative}.auth-demo-preview-frame:after{content:"";pointer-events:none;border-radius:16px;position:absolute;inset:12px;box-shadow:inset 0 0 0 1px #ffffff08}.auth-demo-video{aspect-ratio:16/9;object-fit:cover;background:#050913;border:1px solid #94a3b824;border-radius:16px;width:100%;display:block;box-shadow:0 20px 44px #00000047}.auth-flow-preview{background:linear-gradient(#34d3990d 1px,#0000 1px) 0 0/34px 34px,linear-gradient(90deg,#34d3990d 1px,#0000 1px) 0 0/34px 34px,radial-gradient(circle at 20% 42%,#34d3991a,#0000 34%),#070c16eb;min-height:360px}.auth-flow-toolbar{border-bottom:1px solid #94a3b81f;align-items:center;gap:8px;padding:10px;display:flex}.auth-flow-toolbar span{color:var(--text-secondary);background:#1f263ce0;border:1px solid #94a3b824;border-radius:10px;padding:7px 10px;font-size:.76rem;font-weight:700}.auth-flow-toolbar span:nth-child(2){color:#86efac;border-color:#34d39980}.auth-flow-canvas{min-height:304px;position:relative;overflow:hidden}.auth-flow-line{transform-origin:0;background:linear-gradient(90deg,#34d39947,#34d399e6);height:2px;position:absolute;box-shadow:0 0 12px #34d39929}.auth-flow-line--one{width:158px;top:118px;left:118px;transform:rotate(11deg)}.auth-flow-line--two{width:170px;top:143px;left:302px;transform:rotate(-4deg)}.auth-flow-line--three{width:138px;top:178px;left:490px;transform:rotate(12deg)}.auth-flow-node{background:linear-gradient(#34d39912,#0000),#121826f2;border:1px solid #34d39952;border-radius:14px;gap:6px;width:142px;min-height:86px;padding:12px;display:grid;position:absolute;box-shadow:0 14px 34px #0000003d}.auth-flow-node span{color:#fb923c;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:900}.auth-flow-node p{color:var(--text-secondary);margin:0;font-size:.76rem;line-height:1.35}.auth-flow-node--input{top:62px;left:28px}.auth-flow-node--translate{top:102px;left:246px}.auth-flow-node--style{top:88px;left:454px}.auth-flow-node--judge{top:146px;left:642px}.auth-flow-palette{background:#0f1421eb;border:1px solid #94a3b824;border-radius:14px;gap:7px;width:118px;padding:11px;display:grid;position:absolute;top:18px;right:18px}.auth-flow-palette strong{color:#fb923c;font-size:.82rem}.auth-flow-palette span{color:var(--text-secondary);background:#1f263ce6;border-radius:9px;padding:7px 8px;font-size:.72rem;font-weight:700}.auth-preview-window{gap:0;display:grid}.auth-preview-topbar,.auth-preview-composer{color:var(--text-secondary);border-bottom:1px solid #94a3b81f;align-items:center;gap:8px;padding:10px;font-size:.78rem;display:flex}.auth-preview-composer{border-top:1px solid #94a3b81f;border-bottom:0}.auth-preview-topbar span,.auth-preview-chip,.auth-preview-model,.auth-preview-input,.auth-mini-select{background:#1f263ce0;border:1px solid #94a3b824;border-radius:10px}.auth-preview-topbar span,.auth-preview-chip,.auth-preview-model,.auth-mini-select{padding:7px 10px}.auth-preview-chip--green{color:#86efac;border-color:#4ade807a}.auth-preview-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;display:grid}.auth-preview-pane{background:#141a2be0;border:1px solid #94a3b81f;border-radius:14px;gap:10px;min-height:240px;padding:12px;display:grid}.auth-preview-pane-label{color:#fb923c;letter-spacing:.14em;text-transform:uppercase;font-size:.68rem;font-weight:800}.auth-changes-box{color:var(--text-secondary);grid-template-columns:minmax(0,auto) auto minmax(0,1fr);align-items:center;gap:8px;font-size:.73rem;display:grid}.auth-changes-box span,.auth-changes-box strong{white-space:nowrap;text-overflow:ellipsis;border-radius:7px;min-width:0;padding:5px 7px;overflow:hidden}.auth-changes-box span{background:#94a3b821}.auth-changes-box strong{color:#34d399;background:#10b98129;font-weight:600}.auth-changes-box .auth-arrow{color:var(--text-muted);background:0 0;padding:0}.auth-original-box{background:#1f263ceb;border-radius:12px;gap:8px;padding:11px;display:grid}.auth-original-box strong{color:#b9c8ff;letter-spacing:.14em;text-transform:uppercase;font-size:.7rem}.auth-preview-pane p,.auth-original-box p,.auth-chat-bubble p{color:var(--text-primary);margin:0;font-size:.82rem;line-height:1.55}.auth-preview-composer{align-items:stretch}.auth-preview-model{color:var(--text-primary);font-weight:700}.auth-preview-input{color:var(--text-muted);flex:1;padding:8px 10px}.auth-chat-preview{grid-template-columns:minmax(0,1fr) 220px;gap:12px;padding:14px;display:grid}.auth-chat-thread{gap:12px;display:grid}.auth-chat-bubble{background:#101624e6;border:1px solid #94a3b824;border-radius:14px;gap:8px;padding:13px;display:grid}.auth-chat-bubble--answer{background:#181f33eb}.auth-chat-bubble span{color:#9fb6e8;font-size:.76rem}.auth-chat-settings{background:#141824eb;border:1px solid #94a3b824;border-radius:14px;align-content:start;gap:12px;padding:13px;display:grid}.auth-chat-settings div{gap:6px;display:grid}.auth-chat-settings strong{color:#fb923c}.auth-chat-settings span{color:var(--text-muted);font-size:.78rem}.auth-mini-slider{background:linear-gradient(90deg,#fb923c 0 58%,#94a3b859 58%),#94a3b833;border-radius:999px;height:7px}.auth-history-card{background:#1f263cc2;border:1px solid #94a3b824;border-radius:12px;padding:10px}.auth-checklist{border:1px solid var(--line);border-radius:var(--radius-lg);background:#181f33e0;gap:10px;padding:14px;display:grid}.auth-checklist-item{color:var(--text-secondary);align-items:center;gap:10px;line-height:1.45;display:flex}.auth-check-dot{background:#4ade80;border-radius:999px;flex-shrink:0;width:8px;height:8px;box-shadow:0 0 0 4px #4ade8014}.auth-card .auth-actions{justify-items:start;gap:10px;display:grid}.auth-card--embedded .auth-actions{justify-items:stretch}@media (max-width:1180px){.auth-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-preview-card--compare,.auth-preview-card--flow,.auth-preview-card--chat{grid-template-columns:1fr}}.settings-page-card,.account-page-card{gap:14px;display:grid}.settings-page-top,.account-page-top{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.settings-page-top{grid-template-columns:1fr}.settings-page-top p{max-width:68ch}.settings-page-actions{justify-content:flex-start}.settings-section-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);gap:14px;padding:18px;display:grid}.settings-section-card--compact{justify-self:start;width:min(100%,360px)}.settings-section-card--provider{width:min(100%,360px)}.account-extension-card{grid-column:1/-1}.account-extension-card__top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.account-extension-card__top p{max-width:62ch;color:var(--text-muted);margin:6px 0 0;line-height:1.45}.account-extension-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.account-extension-state{width:fit-content;max-width:100%;color:var(--text-muted);background:#94a3b812;border:1px solid #94a3b829;border-radius:999px;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:.8rem;font-weight:700;line-height:1.25;display:inline-flex}.account-extension-state span{background:#64748b;border-radius:999px;flex:0 0 8px;width:8px;height:8px;box-shadow:0 0 0 4px #94a3b81a}.account-extension-state.is-installed,.account-extension-state.is-connected{color:#bbf7d0;background:#22c55e14;border-color:#22c55e38}.account-extension-state.is-installed span,.account-extension-state.is-connected span{background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.account-extension-state.is-missing{color:#fed7aa;background:#fb923c14;border-color:#fb923c3d}.account-extension-state.is-missing span{background:#fb923c;box-shadow:0 0 0 4px #fb923c1f}.account-extension-token-box{border-radius:var(--radius-sm);background:#10b98114;border:1px solid #22c55e47;gap:8px;padding:12px;display:grid}.account-extension-token-box span{color:#bbf7d0;font-size:.86rem;font-weight:800}.account-extension-token-box textarea{resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);color:#f8fafc;width:100%;min-height:74px;font:inherit;padding:10px 12px;font-size:.88rem}.account-extension-token-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.account-extension-token-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);gap:3px;padding:10px 12px;display:grid}.account-extension-token-list strong{color:#f8fafc;font-size:.92rem}.account-extension-token-list span{color:var(--text-muted);font-size:.82rem}.billing-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px;display:grid}.billing-page-card{gap:18px}.billing-page-top p{max-width:68ch}.billing-plan-card,.billing-status-card{align-content:start}.billing-plan-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.billing-plan-header strong{color:#f8fafc;font-size:1.2rem}.billing-feature-list{color:var(--text-secondary);gap:10px;margin:0;padding-left:18px;line-height:1.45;display:grid}.billing-banner{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--text-secondary);background:#1d213094;margin:0;padding:12px 14px}.billing-banner--success{color:#bbf7d0;border-color:#22c55e59}.billing-banner--error{color:#fecaca;border-color:#f871716b}.legal-consent-note,.billing-legal-note,.legal-link-row{color:var(--text-muted);font-size:.78rem;line-height:1.55}.legal-consent-note,.billing-legal-note{margin:-8px 0 0}.legal-consent-note a,.billing-legal-note a,.legal-link-row a,.legal-section-card a{color:#93c5fd;font-weight:700;text-decoration:none}.legal-consent-note a:hover,.billing-legal-note a:hover,.legal-link-row a:hover,.legal-section-card a:hover{color:#bfdbfe;text-decoration:underline}.legal-link-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.auth-legal-links{grid-column:1/-1;justify-content:center}.legal-page-shell{justify-content:center;align-items:flex-start;display:flex}.legal-page-card{gap:18px;width:min(100%,980px);padding:28px;display:grid}.legal-page-top{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.legal-page-top h1,.legal-page-top p{margin:0}.legal-page-top h1{letter-spacing:-.04em;margin-top:6px;font-size:clamp(1.8rem,4vw,3rem);line-height:1}.legal-page-top p{color:var(--text-muted);margin-top:8px}.legal-page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legal-intro-card{border-radius:var(--radius-lg);background:radial-gradient(circle at 8% 20%,#19f5d021,#0000 30%),#181f33bd;border:1px solid #fb923c3d;padding:18px}.legal-intro-card p{max-width:76ch;color:var(--text-secondary);margin:0;line-height:1.7}.legal-section-list{gap:12px;display:grid}.legal-section-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:#11182794;gap:10px;padding:18px;display:grid}.legal-section-card h2,.legal-section-card p,.legal-section-card ul{margin:0}.legal-section-card h2{color:#fff7ed;letter-spacing:-.01em;font-size:1.05rem}.legal-section-card p,.legal-section-card li{color:var(--text-secondary);line-height:1.65}.legal-section-card ul{gap:7px;padding-left:20px;display:grid}.seo-page-shell{--text-main:#e2e8f0;--text-secondary:#c2cfde;--text-muted:#8b99ad;--line:#2a2d3f;--shadow-lg:0 8px 28px #00000057;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;height:100dvh;min-height:100vh;color:var(--text-main);-webkit-overflow-scrolling:touch;background:radial-gradient(circle at 10% 0,#34d3991f,#0000 28%),radial-gradient(circle at 90% 10%,#fb923c1a,#0000 30%),#080d18;padding:24px;overflow:auto}.seo-page-card{border-radius:calc(var(--radius-xl) + 6px);width:min(100%,1080px);box-shadow:var(--shadow-lg);background:linear-gradient(135deg,#0f1523e6,#080d18f5);border:1px solid #94a3b826;gap:18px;margin:0 auto;padding:clamp(18px,3vw,32px);display:grid}.seo-page-nav{border-radius:var(--radius-lg);background:#0f172aad;border:1px solid #94a3b81f;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.seo-page-nav div{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.seo-page-brand{flex:none}.seo-hero,.seo-section,.seo-cta-card{border-radius:calc(var(--radius-xl) + 2px);background:radial-gradient(circle at 100% 0,#34d39912,#0000 30%),#0f1523b8;border:1px solid #94a3b824;gap:14px;padding:clamp(18px,2.4vw,28px);display:grid}.seo-hero{background:radial-gradient(circle at 10% 18%,#34d39929,#0000 34%),radial-gradient(circle at 86% 16%,#fb923c21,#0000 30%),linear-gradient(135deg,#0e1f1bcc,#080d18f2);border-color:#34d39933;align-content:center;min-height:320px}.seo-hero h1,.seo-section h2,.seo-cta-card h2{color:var(--text-main);letter-spacing:-.045em;text-wrap:balance;margin:0}.seo-hero h1{max-width:920px;font-size:clamp(2.5rem,7vw,5.6rem);line-height:.95}.seo-section h2,.seo-cta-card h2{font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.05}.seo-section h3,.seo-faq-grid h3,.seo-example-card span{color:var(--text-main);margin:0;font-size:1rem;line-height:1.3}.seo-hero p,.seo-section p,.seo-cta-card p,.seo-feature-grid p,.seo-faq-grid p,.seo-example-card p{color:var(--text-secondary);margin:0;font-size:1rem;line-height:1.68}.seo-hero p{max-width:82ch;font-size:clamp(1rem,1.5vw,1.18rem)}.seo-feature-grid,.seo-example-grid,.seo-faq-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.seo-feature-grid article,.seo-faq-grid article,.seo-example-card{border-radius:var(--radius-lg);background:#181f33c2;border:1px solid #94a3b821;align-content:start;gap:9px;padding:16px;display:grid}.seo-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-example-card span{color:#fda4af;letter-spacing:.12em;text-transform:uppercase;font-size:.74rem;font-weight:900}.seo-example-card--after{background:radial-gradient(circle at 100% 0,#34d3991f,#0000 28%),#11201ec7;border-color:#34d39947}.seo-example-card--after span{color:#86efac}.seo-flow-list{counter-reset:seo-flow;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.seo-flow-list li{border-radius:var(--radius-lg);min-height:92px;color:var(--text-main);background:#0f172abd;border:1px solid #34d39933;align-content:center;padding:14px;font-weight:900;line-height:1.28;display:grid;position:relative}.seo-flow-list li:before{counter-increment:seo-flow;content:counter(seo-flow, decimal-leading-zero);color:#86efac;margin-bottom:10px;font-size:.72rem;display:block}.seo-benefit-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.seo-benefit-list li{border-radius:var(--radius-md);color:var(--text-secondary);background:#181f33b8;border:1px solid #94a3b821;padding:13px 14px 13px 34px;line-height:1.5;position:relative}.seo-benefit-list li:before{content:"";background:#4ade80;border-radius:999px;width:8px;height:8px;position:absolute;top:19px;left:14px;box-shadow:0 0 0 4px #4ade8014}.seo-cta-card{background:radial-gradient(circle at 86% 12%,#fb923c2e,#0000 30%),radial-gradient(circle at 12% 80%,#34d3991f,#0000 28%),linear-gradient(135deg,#1f1712c7,#080d18f5);border-color:#fb923c47;grid-template-columns:minmax(0,1fr) auto;align-items:center}.account-card-link{width:fit-content}.settings-section-card h2{color:#fb923c;margin:0;font-size:1rem}.settings-hint-box{border:1px solid var(--line);border-radius:var(--radius-sm);background:#1d213094;padding:12px 14px}.settings-status{margin:0;font-size:.88rem;line-height:1.45}.settings-key-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.openrouter-connect-card{border-radius:var(--radius-md);background:radial-gradient(circle at 12% 0,#34d39924,#0000 36%),#0c21228a;border:1px solid #34d39947;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.openrouter-connect-card strong{color:#86efac;margin-bottom:5px;display:block}.openrouter-connect-card p{color:var(--text-secondary);margin:0 0 8px;line-height:1.5}.openrouter-connect-card p:last-child{margin-bottom:0}.openrouter-connect-btn{color:#dcfce7;white-space:nowrap;background:#14532d9e;border-color:#34d3996b}.openrouter-connect-btn:hover{color:#f0fdf4;border-color:#34d399c7;box-shadow:0 0 0 3px #34d39924}.danger-btn{color:#f5c2c7}.danger-btn:hover{color:#ffd2ad}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.account-interface-field{width:min(100%,264px)}.account-inline-title{color:#fb923c;margin:0 0 4px;font-size:1rem}.account-interface-field .control{width:100%;max-width:264px}.account-interface-field .settings-help{max-width:24ch}.account-meta-list,.account-provider-list{margin:0;padding:0;list-style:none}.account-meta-list{gap:12px;display:grid}.account-meta-list div{gap:4px;display:grid}.account-meta-list dt{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700}.account-meta-list dd{word-break:break-word;margin:0}.account-billing-meta{gap:8px;padding-top:2px}.account-billing-meta dt{font-size:.68rem}.account-provider-list{gap:8px;width:min(100%,320px);max-height:152px;padding-right:4px;display:grid;overflow-y:auto}.account-provider-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);gap:3px;padding:10px 12px;display:grid}.account-provider-list strong{font-size:.94rem;line-height:1.25}.account-provider-list span{color:var(--text-muted);font-size:.82rem;line-height:1.3}.profile-name-form{border-top:1px solid var(--line);gap:10px;margin-top:14px;padding-top:14px;display:grid}.profile-name-current{gap:4px;display:grid}.profile-name-current span,.profile-name-hint,.profile-name-status{color:var(--text-muted);margin:0;font-size:.84rem;line-height:1.45}.profile-name-current strong{color:var(--text-main);font-size:.95rem}.profile-name-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.profile-name-status{color:#86efac}.profile-name-status-error{color:#fca5a5}.switch{background:#5d39187a;border-radius:999px;flex-shrink:0;width:50px;height:30px;position:relative}.switch input{opacity:0;cursor:pointer;position:absolute;inset:0}.switch span{background:#f8fafc;border-radius:50%;width:24px;transition:transform .18s;position:absolute;inset:3px auto 3px 3px;box-shadow:0 4px 10px #00000040}.switch input:checked+span{transform:translate(20px)}.switch:has(input:checked){background:#fb923cb3;box-shadow:0 0 0 2px #fb923c1f}.model-picker{gap:10px;display:grid}.model-picker-toggle{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);width:100%;color:var(--text-main);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.model-picker.is-open .model-picker-toggle{border-color:#fb923c99;box-shadow:0 0 0 2px #fb923c1a}.model-picker-value{word-break:break-word;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:.94rem;line-height:1.35;display:inline-flex}.model-picker-chevron{color:var(--text-muted);flex-shrink:0;font-size:1rem;line-height:1;transition:transform .18s,color .18s}.model-picker.is-open .model-picker-chevron{color:#ffd2ad;transform:rotate(180deg)}.model-list{gap:8px;max-height:228px;display:grid;overflow:auto}.model-option{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.model-option-btn{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-strong);width:100%;color:var(--text-main);text-align:left;cursor:pointer;word-break:break-word;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.model-option-btn span:first-child{word-break:break-word;min-width:0}.model-capability-badges{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.model-capability-badges.is-compact{gap:4px}.model-capability-badge{color:#94a3b8c2;letter-spacing:.08em;text-transform:uppercase;opacity:.92;background:#0f172a6b;border:1px solid #94a3b842;border-radius:999px;justify-content:center;align-items:center;min-width:18px;min-height:18px;padding:0 6px;font-size:.62rem;font-weight:700;line-height:1;display:inline-flex}.model-capability-badges.is-compact .model-capability-badge{min-width:16px;min-height:16px;padding:0 5px;font-size:.56rem}.model-capability-badge.is-active{color:#dcfce7;opacity:1;background:#22c55e1f;border-color:#22c55ea8;box-shadow:0 0 0 1px #22c55e1a}.model-option-btn.is-active{color:#fff7ed;border-color:#fb923ca3;box-shadow:0 0 0 2px #fb923c1f}.quick-switch-actions{justify-content:flex-end;padding-top:4px;display:flex}.chat-stream{flex-direction:column;flex:1;align-items:center;gap:16px;padding:22px 24px 8px;display:flex;position:relative}.empty-state{text-align:center;max-width:720px;margin:auto;padding:24px}.empty-state h3{margin:0 0 10px;font-size:1.6rem}.empty-state p{color:var(--text-muted);margin:0;line-height:1.55}.empty-state-actions,.welcome-empty-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.empty-state-actions{margin-top:18px}.pro-lock-card{flex:1;place-items:center;padding:28px 24px;display:grid}.pro-lock-card-inner{border-radius:var(--radius-lg);width:min(100%,760px);box-shadow:var(--shadow-lg);background:radial-gradient(circle at 20% 0,#34d39924,#0000 34%),linear-gradient(145deg,#0f172af2,#111827eb);border:1px solid #34d39940;padding:clamp(24px,4vw,44px)}.pro-lock-eyebrow{color:var(--accent-green);letter-spacing:.18em;text-transform:uppercase;margin-bottom:12px;font-size:.76rem;font-weight:900;display:inline-flex}.pro-lock-card h3{color:var(--text-main);margin:0 0 12px;font-size:clamp(1.8rem,4vw,3rem)}.pro-lock-card p{max-width:620px;color:var(--text-muted);margin:0;font-size:1rem;line-height:1.65}.pro-lock-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.message-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);width:min(100%,860px);box-shadow:var(--shadow-md);flex:none;margin-inline:auto;overflow:hidden}.message-card[data-status=error]{border-color:#ef44444d}.message-card.is-compare-pinned{border-color:#19f5d080;box-shadow:0 0 0 1px #19f5d02e,0 16px 46px #19f5d014}.compare-toggle-btn{gap:8px}.compare-toggle-btn:before{content:"";background:#94a3b842;border-radius:999px;width:8px;height:8px}.compare-toggle-btn.is-active{color:#dcfce7;background:#22c55e1f;border-color:#22c55eb8;box-shadow:0 0 0 3px #22c55e24}.compare-toggle-btn.is-active:before{background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}.compare-workspace{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:0;padding:12px;display:grid}.compare-pane{border:1px solid var(--line);border-radius:var(--radius-lg);background:radial-gradient(circle at 12% 0,#19f5d014,#0000 28%),#0c1020b8;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.compare-pane-header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.compare-pane-header span{color:#fb923c;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800}.compare-pane-header small{color:var(--text-muted);text-align:right;font-size:.72rem}.chat-stream--compare{align-items:stretch;gap:12px;padding:12px}.chat-stream--compare .message-card{width:100%;box-shadow:none;margin-inline:0}.chat-stream--compare-fallback{display:none}.message-pin-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.message-pin-btn{color:#ffd2ad;cursor:pointer;background:#fb923c14;border:1px solid #fb923c47;border-radius:999px;height:28px;padding:0 9px;font-size:.72rem;font-weight:800;transition:border-color .18s,box-shadow .18s,transform .18s}.message-pin-btn:hover{border-color:#fb923cb8;transform:translateY(-1px);box-shadow:0 0 0 2px #fb923c1f}.message-pin-btn.is-active{color:#adfff0;background:#19f5d01f;border-color:#19f5d09e;box-shadow:0 0 0 2px #19f5d01f}.translation-shell{gap:12px;padding:12px;display:grid}.translation-heading{flex:1;min-width:0}.translation-badge{color:#fb923c;align-items:center;gap:8px;font-size:.78rem;font-weight:800;display:inline-flex}.translation-badge:before{content:"";background:#22c55e;border-radius:50%;width:8px;height:8px}.translation-subline{color:var(--text-muted);margin-top:6px;font-size:.74rem;line-height:1.4}.message-delete{font-size:1rem;font-weight:700}.original-shell{border-radius:var(--radius-md);padding:12px 14px}.original-shell-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.original-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.original-badge{color:#c7d5f4c7;font-size:.7rem;font-weight:700;display:block}.original-action-btn,.original-toggle{border:1px solid var(--line);color:var(--text-secondary);background:#111726c7;border-radius:10px;min-height:30px;padding:0 11px;font-size:.76rem;transition:border-color .16s,color .16s,box-shadow .16s,background .16s}.original-action-btn{align-items:center;gap:7px;display:inline-flex}.original-action-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.original-action-btn.is-active,.original-action-btn:hover,.original-toggle:hover{color:#ffd2ad;border-color:#fb923cad;box-shadow:0 0 0 2px #fb923c1f}.original-action-btn:disabled,.original-toggle:disabled{opacity:.54;cursor:not-allowed;box-shadow:none;color:var(--text-muted)}.original-text,.translation-output{white-space:pre-wrap;word-break:break-word;margin:0;line-height:1.52}.original-text{color:#f3f7ff;margin-top:10px;font-size:.9rem}.original-editor{resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);color:#f3f7ff;background:#111726b8;width:100%;min-height:104px;margin-top:10px;padding:12px 14px;line-height:1.55}.stylizer-changes-shell{border-radius:var(--radius-md);background:#0f172ab3;border:1px solid #22c55e38;gap:10px;padding:12px 14px;display:grid}.stylizer-changes-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.stylizer-changes-badge{letter-spacing:.18em;text-transform:uppercase;color:#a5b4fc;font-size:.68rem;font-weight:700;display:inline-block}.stylizer-changes-toggle{border:1px solid var(--line);color:var(--text-secondary);background:#111726c7;border-radius:10px;min-height:30px;padding:0 11px;font-size:.76rem;transition:border-color .16s,color .16s,box-shadow .16s}.stylizer-changes-toggle:hover{color:#7df2a8;border-color:#22c55ead;box-shadow:0 0 0 2px #22c55e24}.stylizer-changes-list{gap:8px;display:grid}.stylizer-changes-empty-note{color:#dcfce7;margin:0;font-size:.9rem;line-height:1.5}.stylizer-change-line{flex-wrap:wrap;align-items:baseline;gap:8px;margin:0;font-size:.88rem;line-height:1.5;display:flex}.stylizer-change-from,.stylizer-change-to{border-radius:6px;align-items:center;padding:2px 6px;display:inline-flex}.stylizer-change-from{color:#cbd5e1;background:#94a3b824;text-decoration:line-through}.stylizer-change-arrow{color:#94a3b8;font-weight:700}.stylizer-change-to{color:#34d399;background:#34d3991f}.message-sources-shell{border-radius:var(--radius-md);background:#0f172a8f;border:1px solid #3b82f62e;gap:10px;padding:12px 14px;display:grid}.message-sources-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.message-sources-badge{letter-spacing:.18em;text-transform:uppercase;color:#a5b4fc;font-size:.68rem;font-weight:700;display:inline-block}.message-sources-toggle{border:1px solid var(--line);color:var(--text-secondary);background:#111726c7;border-radius:10px;min-height:30px;padding:0 11px;font-size:.76rem;transition:border-color .16s,color .16s,box-shadow .16s}.message-sources-toggle:hover{color:#7df2a8;border-color:#22c55ead;box-shadow:0 0 0 2px #22c55e24}.message-sources-list{gap:8px;display:grid}.message-source-link{border:1px solid var(--line);min-width:0;color:var(--text-secondary);background:#111726b8;border-radius:10px;align-items:flex-start;gap:8px;padding:8px 10px;text-decoration:none;transition:border-color .16s,color .16s,box-shadow .16s,transform .16s;display:flex}.message-source-link:hover{color:#dbeafe;border-color:#3b82f68f;transform:translateY(-1px);box-shadow:0 0 0 2px #3b82f61f}.message-source-index{color:#93c5fd;flex:none;font-weight:700}.message-source-title{word-break:break-word;min-width:0;line-height:1.4}.message-attachments{gap:10px;margin-bottom:10px;display:grid}.message-attachment-chip{border:1px solid var(--line);width:fit-content;min-width:0;max-width:100%;color:var(--text-secondary);background:#111726b8;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:.78rem;line-height:1.35;display:inline-flex}.message-attachment-chip strong{color:var(--text-main);font-weight:700}.message-attachment-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.message-image-preview{gap:8px;display:grid}.message-image-preview img{object-fit:cover;background:#0003;border:1px solid #ffffff14;border-radius:12px;max-width:min(100%,360px);max-height:220px;display:block}.message-image-preview figcaption{color:var(--text-muted);font-size:.74rem;line-height:1.35}.translation-output{color:#fb923c;font-size:.9rem}.message-card[data-status=error] .translation-output{color:#ef4444}.billing-required-card{border-radius:var(--radius-md);background:radial-gradient(circle at 12% 8%,#fb923c3d,#0000 34%),linear-gradient(135deg,#111726f0,#1e293bbd);border:1px solid #fb923c52;gap:14px;padding:16px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0f}.billing-required-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#22c55e47,#0000 64%);height:120px;position:absolute;inset:auto -18% -42% 52%}.billing-required-eyebrow{color:#fb923c;letter-spacing:.22em;text-transform:uppercase;margin-bottom:8px;font-size:.68rem;font-weight:800;display:inline-flex}.billing-required-card h3,.billing-required-card p{z-index:1;margin:0;position:relative}.billing-required-card h3{color:#fff7ed;letter-spacing:-.02em;font-size:1.15rem}.billing-required-card p{max-width:58ch;color:var(--text-secondary);line-height:1.55}.billing-required-actions{z-index:1;flex-wrap:wrap;gap:10px;display:flex;position:relative}.billing-required-primary{color:#07110b;background:radial-gradient(circle at 20% 18%,#ffffff2e,#0000 28%),linear-gradient(135deg,#22c55e,#fb923c);border-color:#22c55e94;box-shadow:0 14px 36px #22c55e2e}.message-footer,.message-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.message-footer{justify-content:space-between;gap:12px;padding-top:2px}.delivery-note{min-height:18px;color:var(--text-muted);align-items:center;margin-right:auto;font-size:.74rem;display:inline-flex}.delivery-note.is-typing{color:#f4b067}.typing-indicator{align-items:center;gap:5px;display:inline-flex}.typing-indicator-dot{opacity:.24;background:#fb923c;border-radius:999px;width:6px;height:6px;animation:1.1s ease-in-out infinite typingPulse}.typing-indicator-dot:nth-child(2){animation-delay:.16s}.typing-indicator-dot:nth-child(3){animation-delay:.32s}.copy-btn,.speak-btn{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-strong);min-width:42px;color:var(--text-main);cursor:pointer;padding:8px 12px;font-size:.82rem;font-weight:700}.copy-btn:hover{color:#7df2a8;border-color:#22c55ead;box-shadow:0 0 0 2px #22c55e24}.speak-btn{justify-content:center;align-items:center;padding-inline:11px;font-size:.92rem;line-height:1;display:inline-flex}.speak-btn svg,.send-btn svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.speak-btn svg{stroke-width:1.9px;width:18px;height:18px}.speak-btn.is-playing{color:#ffd2ad;border-color:#fb923cad;box-shadow:0 0 0 3px #fb923c1f}.loading-line{min-height:1.4em;position:relative;overflow:hidden}.loading-line:before{content:"";background:#6366f129 0 0/220% 100%;border-radius:6px;animation:1.4s linear infinite shimmer;position:absolute;inset:0}.composer{border-top:1px solid var(--line-soft);background:var(--surface-panel);padding:12px 18px 18px}.composer-options{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.composer-mobile-menu-layer{display:none}.composer-mode-menu{position:relative}.composer-style-field{align-items:center;gap:8px;min-height:34px;padding-left:2px;display:inline-flex;position:relative}.composer-style-label{color:#fb923c;letter-spacing:.02em;font-size:.82rem;font-weight:700}.composer-model-field{min-width:min(100%,356px)}.composer-style-select{background:var(--surface-soft);text-align:left;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%23cfe2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:calc(100% - 14px);background-repeat:no-repeat;background-size:12px 12px;justify-content:space-between;width:220px;min-height:34px;padding:0 36px 0 12px;font-size:.82rem;font-weight:700;line-height:1}.composer-model-toggle{align-items:center;gap:12px;width:min(100%,356px);min-height:38px;padding-right:40px;display:inline-flex}.composer-model-toggle-main{flex:1;gap:0;min-width:0;display:grid}.composer-model-toggle-provider,.composer-model-toggle-model{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.composer-model-toggle-provider{color:#fb923c;letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:800}.composer-model-toggle-model{color:var(--text-main);padding-bottom:1px;font-size:.82rem;font-weight:700;line-height:1.2}.composer-model-menu-panel{z-index:7;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-panel);width:min(560px,100vw - 44px);box-shadow:var(--shadow-md);grid-template-columns:minmax(132px,156px) minmax(0,1fr);gap:8px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0}.composer-model-provider-list,.composer-model-option-list{align-content:start;gap:6px;min-height:0;max-height:min(44vh,320px);padding-right:2px;display:grid;overflow-y:auto}.composer-model-provider-option,.composer-model-option{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);min-height:38px;color:var(--text-main);cursor:pointer;transition:border-color .18s,box-shadow .18s,color .18s,background .18s,transform .18s}.composer-model-provider-option{text-align:left;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:.8rem;font-weight:700;display:flex}.composer-model-provider-option span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.composer-model-option{text-align:left;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:0 12px;display:inline-flex}.composer-model-provider-option:hover,.composer-model-option:hover{color:#ffd2ad;border-color:#fb923cad;transform:translateY(-1px);box-shadow:0 0 0 2px #fb923c1f}.composer-model-provider-option.is-active,.composer-model-option.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.composer-model-provider-option.is-locked,.composer-model-option.is-locked,.composer-mode-option.is-locked{opacity:.48;filter:grayscale(.55);cursor:pointer;border-style:dashed}.composer-model-provider-option.is-locked:after,.composer-mode-option.is-locked:after{content:"Pro";color:var(--accent-green);letter-spacing:.08em;text-transform:uppercase;border:1px solid #34d39973;border-radius:999px;margin-left:8px;padding:2px 7px;font-size:.64rem;font-weight:900}.composer-model-provider-option.is-locked:hover,.composer-model-option.is-locked:hover,.composer-mode-option.is-locked:hover{opacity:.72;color:var(--text-main);border-color:#34d39973;box-shadow:0 0 0 2px #34d3991a}.composer-model-option-text{flex:1;min-width:0;display:grid}.composer-model-option-text span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.8rem;font-weight:700;overflow:hidden}.composer-model-provider-stack,.composer-model-provider-group{gap:8px;display:grid}.composer-model-option-list-nested{border-left:2px solid #fb923c94;max-height:min(34vh,260px);margin:-1px 4px 6px 14px;padding:8px 0 8px 10px;overflow-y:auto}.composer-style-menu-panel{z-index:6;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-panel);min-width:100%;box-shadow:var(--shadow-md);gap:6px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0}.composer-style-option{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);min-height:34px;color:var(--text-main);text-align:left;cursor:pointer;padding:0 12px;font-size:.82rem;font-weight:700;transition:border-color .18s,box-shadow .18s,color .18s,background .18s,transform .18s}.composer-style-option:hover{color:#ffd2ad;border-color:#fb923cad;transform:translateY(-1px);box-shadow:0 0 0 2px #fb923c1f}.composer-style-option.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.composer-mode-toggle{text-align:left;cursor:pointer;justify-content:space-between;width:188px}.composer-mode-menu-panel{z-index:6;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-panel);min-width:100%;box-shadow:var(--shadow-md);gap:6px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0}.composer-mode-option{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);min-height:34px;color:var(--text-main);text-align:left;cursor:pointer;padding:0 12px;font-size:.82rem;font-weight:700;transition:border-color .18s,box-shadow .18s,color .18s,background .18s,transform .18s}.composer-mode-option:hover{color:#ffd2ad;border-color:#fb923cad;transform:translateY(-1px);box-shadow:0 0 0 2px #fb923c1f}.composer-mode-option.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.mode-select:hover,.composer-style-select:hover,.composer-model-toggle:hover{color:#ffd2ad;cursor:pointer;border-color:#fb923cad;transform:translateY(-1px);box-shadow:0 0 0 2px #fb923c1f}.mode-select{flex:0 0 196px;width:196px}.composer-attachments{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.composer-attachment{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-soft);max-width:min(100%,360px);min-height:34px;color:var(--text-main);align-items:center;gap:8px;padding:0 10px;font-size:.8rem;display:inline-flex}.composer-attachment:before{content:attr(data-kind);color:#ffd2ad;letter-spacing:.05em;text-transform:uppercase;background:#fb923c1f;border-radius:999px;justify-content:center;align-items:center;min-width:34px;height:22px;padding:0 6px;font-size:.68rem;font-weight:700;display:inline-flex}.composer-attachment-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.composer-attachment-remove{color:#ff9cb0c7;cursor:pointer;background:0 0;border:0;padding:0;font-size:.92rem;font-weight:700;line-height:1;transition:color .18s,transform .18s}.composer-attachment-remove:hover{color:#ffb6c4fa;transform:translateY(-1px)}.natural-translation-btn{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);min-height:34px;color:var(--text-muted);cursor:pointer;align-items:center;gap:8px;padding:0 13px;font-size:.82rem;font-weight:700;display:inline-flex}.natural-translation-btn:before{content:"";background:#94a3b842;border-radius:999px;width:8px;height:8px}.natural-translation-btn.is-active{color:#ffd2ad;background:#fb923c14;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c24}.natural-translation-btn.is-active:before{background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}.show-changes-btn.is-active{color:#dcfce7;background:#22c55e1f;border-color:#22c55eb8;box-shadow:0 0 0 3px #22c55e24}.show-changes-btn.is-active:before{background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}.composer-shell{align-items:center;gap:8px;display:flex}.composer-input-wrap{border-radius:var(--radius-md);background:var(--surface-input);border:1px solid var(--line);flex:1;align-items:center;min-height:50px;padding:0 10px;display:flex}.composer-input-wrap.is-dragover{background:#21180efa;border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c29}.composer-input-wrap:focus-within{border-color:#fb923cc7;box-shadow:0 0 0 3px #fb923c29}.composer textarea{resize:none;width:100%;height:34px;min-height:34px;max-height:220px;color:var(--text-main);background:0 0;border:0;outline:none;flex:1;padding:10px 8px;font-size:.9rem;line-height:1.45;overflow-y:auto}.composer textarea::placeholder{color:var(--text-muted)}.composer textarea:focus,.composer textarea:focus-visible{box-shadow:none;border-color:#0000}.textflow-workspace{border-top:1px solid var(--line);background:radial-gradient(circle at 18% 12%, #34d39914, transparent 28%), radial-gradient(circle at 82% 18%, #fb923c14, transparent 26%), var(--surface-panel);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.textflow-toolbar{border-bottom:1px solid var(--line);background:#111520e0;flex:none;align-items:center;gap:10px;padding:12px 14px;display:flex;overflow:visible}.textflow-toolbar-main{gap:2px;min-width:160px;margin-right:auto;display:grid}.textflow-toolbar-main strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.textflow-kicker{color:#fb923c;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800}.textflow-mode-menu{flex:none}.textflow-mode-toggle{width:auto;min-width:0;inline-size:max-content;background:linear-gradient(45deg, transparent 50%, #94a3b8 50%) calc(100% - 17px) 18px / 6px 6px no-repeat, var(--surface-soft);min-height:42px;padding-right:34px}.textflow-mode-menu-panel{width:max-content;min-width:100%;top:calc(100% + 8px);bottom:auto}.primary-flow-btn{color:#d7ffe6;border-color:#4ade807a;box-shadow:0 0 0 1px #4ade8014}.textflow-zoom-controls{border:1px solid var(--line);border-radius:var(--radius-md);background:#181f33d1;align-items:center;gap:6px;padding:4px;display:inline-flex}.textflow-zoom-controls .ghost-btn{min-height:30px;padding:5px 10px}.textflow-zoom-controls span{min-width:44px;color:var(--text-muted);text-align:center;font-size:.78rem}.textflow-canvas{cursor:grab;background-color:#0a0e1899;background-image:linear-gradient(#94a3b80e 1px,#0000 1px),linear-gradient(90deg,#94a3b80e 1px,#0000 1px);background-size:34px 34px;flex:1;min-height:0;position:relative;overflow:hidden}.textflow-canvas:active{cursor:grabbing}.textflow-world{transform-origin:0 0;width:4000px;height:5200px;position:absolute;inset:0}.textflow-edges{pointer-events:none;position:absolute;inset:0;overflow:visible}.textflow-edge{fill:none;stroke:#34d39999;stroke-width:3px;stroke-linecap:round;filter:drop-shadow(0 0 7px #34d3992e)}.textflow-node{z-index:1;border:1px solid var(--line);border-radius:var(--radius-xl);min-width:280px;max-width:1400px;min-height:260px;max-height:2600px;box-shadow:var(--shadow-md);cursor:default;background:#141824f5;grid-template-rows:auto minmax(0,1fr);display:grid;position:absolute;top:0;left:0;overflow:hidden}.textflow-node.is-selected{z-index:10;outline-offset:3px;border-color:#34d399cc;outline:2px solid #34d399b8;box-shadow:0 0 0 1px #34d3993d,0 0 34px #34d3992e,0 16px 42px #00000057}.textflow-node.is-selected .textflow-node-header{background:linear-gradient(90deg,#34d39929,#fb923c1f),#1f263ce0}.textflow-node.is-done{border-color:#4ade8057}.textflow-node.is-error{border-color:#ef444480}.textflow-node.is-outdated{border-color:#fb923c6b}.textflow-node.is-prompt{border-color:#34d39957}.textflow-node.is-output{border-color:#fb923c61}.textflow-node-header{border-bottom:1px solid var(--line-soft);cursor:grab;background:linear-gradient(90deg,#fb923c1a,#0000),#1f263cc7;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:10px 12px;display:flex;position:relative}.textflow-node-header:active{cursor:grabbing}.textflow-node-kind-menu{min-width:0;position:relative}.textflow-node-kind-toggle{border-radius:var(--radius-sm);color:#fb923c;min-width:0;max-width:min(260px,100%);min-height:32px;font:inherit;cursor:pointer;background:linear-gradient(45deg,#0000 50%,#fb923ce6 50%) calc(100% - 14px) 12px/6px 6px no-repeat,#121726e6;border:1px solid #fb923c57;padding:0 30px 0 12px;box-shadow:inset 0 1px #ffffff08}.textflow-node-kind-toggle span{color:#fb923c;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.82rem;font-weight:800;display:block;overflow:hidden}.textflow-node-kind-toggle:hover{background:linear-gradient(45deg,#0000 50%,#fb923cf5 50%) calc(100% - 14px) 12px/6px 6px no-repeat,#1c1a1ff5;border-color:#fb923cad;box-shadow:inset 0 1px #ffffff0a,0 0 0 2px #fb923c1f}.textflow-node-kind-toggle:hover span{color:#ffd2ad}.textflow-node-kind-toggle:focus-visible{border-color:#fb923cb8;outline:none;box-shadow:inset 0 1px #ffffff0a,0 0 0 3px #fb923c24}.composer-mode-menu-panel.textflow-node-kind-panel{min-width:220px;position:fixed;inset:auto}.composer-mode-option.textflow-node-kind-option{text-align:left;justify-items:start;gap:2px;min-width:100%;display:grid}.textflow-node-kind-option small{color:var(--text-muted);font-size:.68rem;font-weight:600}.textflow-node-port{z-index:2;pointer-events:none;background:#22c55e29;border:1px solid #4ade8057;border-radius:999px;width:15px;height:15px;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 3px #0d121eeb,0 0 0 1px #4ade801f}.textflow-node-port.is-input{top:6px}.textflow-node-port.is-output{bottom:6px}.textflow-node-port.is-active{background:#22c55e;border-color:#4ade80cc;box-shadow:inset 0 0 0 3px #0d121ee0,0 0 0 1px #4ade804d,0 0 14px #22c55e8c}.textflow-node-status{border:1px solid var(--line);color:var(--text-muted);text-transform:uppercase;border-radius:999px;flex-shrink:0;padding:3px 7px;font-size:.68rem;font-weight:700}.textflow-node-header-actions{flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.textflow-node-delete-btn{color:#fda4af;background:#7f1d1d29;border:1px solid #fda4af4d;border-radius:999px;justify-content:center;align-items:center;width:25px;height:25px;padding:0;font-size:.82rem;font-weight:900;line-height:1;display:inline-flex}.textflow-node-delete-btn:hover{color:#ffe4e6;background:#7f1d1d42;border-color:#fda4af9e}.textflow-node-status.is-done{color:#86efac;border-color:#4ade8061}.textflow-node-status.is-running{color:#bfdbfe;border-color:#60a5fa66}.textflow-node-status.is-error{color:#fda4af;border-color:#ef444466}.textflow-node-status.is-outdated{color:#fed7aa;border-color:#fb923c66}.textflow-node-body{flex-direction:column;gap:10px;min-height:0;padding:12px 12px 20px;display:flex;overflow:auto}.textflow-resize-handle{cursor:nwse-resize;opacity:.8;background:linear-gradient(135deg,#0000 0 46%,#fb923ca6 47% 53%,#0000 54%),linear-gradient(135deg,#0000 0 62%,#34d3999e 63% 69%,#0000 70%);border:0;width:18px;height:18px;padding:0;position:absolute;bottom:6px;right:6px}.textflow-resize-handle:hover{opacity:1}.textflow-field{gap:6px;display:grid}.textflow-operation-row{grid-template-columns:minmax(0,1fr);align-items:end;gap:8px;display:grid}.textflow-operation-row.has-style{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}.textflow-operation-style-label{color:#fb923c;letter-spacing:.02em;align-items:center;min-height:48px;padding:0 2px 1px;font-size:.82rem;font-weight:800;display:inline-flex}.textflow-operation-style-menu{align-self:end}.textflow-select-menu{width:100%;min-width:0}.textflow-provider-model-picker{gap:6px;min-width:0;display:grid}.textflow-model-preset-row{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);align-items:start;gap:8px;display:grid}.composer-style-select.textflow-model-toggle{align-items:center;display:inline-flex}.composer-model-menu-panel.textflow-provider-model-panel{grid-template-columns:minmax(132px,156px) minmax(0,1fr);min-width:min(560px,100vw - 24px);position:fixed;inset:auto}.textflow-provider-model-panel[hidden]{display:none}.composer-style-select.textflow-select-toggle{background:linear-gradient(45deg, transparent 50%, #94a3b8 50%) calc(100% - 18px) 20px / 6px 6px no-repeat, var(--surface-soft);justify-content:flex-start;width:100%;min-width:0;min-height:48px;padding:0 36px 0 14px;font-size:.92rem;font-weight:600}.textflow-select-toggle span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.composer-mode-menu-panel.textflow-select-menu-panel{min-width:0;max-height:min(34vh,280px);position:fixed;inset:auto;overflow-y:auto}.textflow-floating-panel{z-index:60}.composer-mode-option.textflow-select-option{white-space:nowrap;min-width:100%}.textflow-select-toggle:disabled,.textflow-select-option:disabled{cursor:not-allowed;opacity:.56}.textflow-grow-field{flex-direction:column;flex:160px;min-height:118px;display:flex}.textflow-field span,.textflow-source-line span,.textflow-node-bubble-top span{color:var(--text-secondary);font-size:.78rem;font-weight:700}.textflow-node-bubble{border:1px solid var(--line);border-radius:var(--radius-md);background:linear-gradient(180deg, #ffffff05, transparent), var(--surface-strong);flex-direction:column;gap:8px;min-height:0;padding:12px;display:flex}.textflow-node-bubble.textflow-grow-field{resize:vertical;flex:210px;min-height:150px;overflow:auto}.textflow-node-bubble.textflow-grow-field.is-original{flex:220px;min-height:180px}.textflow-node-bubble.textflow-grow-field.is-result,.textflow-node-bubble.textflow-grow-field.is-prompt{flex:220px;min-height:190px}.textflow-node-bubble.is-result{background:linear-gradient(180deg, #34d39914, transparent 56%), var(--surface-strong);border-color:#34d3994d}.textflow-node-bubble.is-prompt{background:linear-gradient(180deg, #34d3990f, transparent 54%), var(--surface-strong);border-color:#34d39938}.textflow-node-bubble .textflow-textarea{border-radius:var(--radius-md);color:#f3f7ff;background:#111520bd;border:1px solid #94a3b829;padding:12px;line-height:1.52;box-shadow:inset 0 1px #ffffff05}.textflow-node-bubble.is-result .textflow-textarea{color:#fb923c;background:linear-gradient(#14532d1f,#0000 62%),#0f121cbd;border-color:#34d39933}.textflow-node-bubble.is-prompt .textflow-textarea{border-color:#34d39929}.textflow-node-bubble[data-collapsed=true]{resize:none;gap:0;min-height:0;max-height:52px;padding:8px 10px;overflow:hidden;flex:none!important;height:auto!important}.textflow-node-bubble-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.textflow-system-prompt-panel{border-radius:var(--radius-md);background:linear-gradient(#94a3b80d,#0000 56%),#0d121eb3;border:1px solid #94a3b824;gap:8px;padding:10px;display:grid}.textflow-system-prompt-panel[data-collapsed=true]{padding-block:8px}.textflow-system-prompt-panel .control{width:100%;min-width:0}.textflow-sources-panel{border-radius:var(--radius-md);background:linear-gradient(#34d3990d,#0000 58%),#0d121eb8;border:1px solid #34d3992e;gap:8px;padding:10px;display:grid}.textflow-sources-panel[data-collapsed=true]{gap:0;padding-block:8px}.textflow-sources-panel-actions{align-items:center;gap:8px;display:inline-flex}.textflow-sources-panel small{color:var(--text-muted);font-size:.72rem;font-weight:700}.textflow-source-list{gap:7px;display:grid}.textflow-source-empty{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.45}.textflow-source-connector{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.textflow-source-connector .control{width:100%;min-width:0}.textflow-input-mode-toggle{background:#0a0f1b9e;border:1px solid #94a3b829;border-radius:999px;align-self:flex-start;gap:7px;padding:4px;display:inline-flex}.textflow-input-mode-btn{min-height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;padding:0 12px;font-weight:800}.textflow-input-mode-btn:hover,.textflow-input-mode-btn.is-active{color:#86efac;background:#22c55e1f;border-color:#22c55ea8}.textflow-node-bubble-toggle{border:1px solid var(--line);min-height:28px;color:var(--text-secondary);background:#111726c7;border-radius:999px;padding:0 10px;font-size:.72rem;font-weight:700}.textflow-node-bubble-toggle:hover{color:#86efac;border-color:#22c55e94}.textflow-show-changes-btn{white-space:nowrap;align-self:end;min-height:48px}.textflow-native-btn{align-self:flex-start;width:max-content;min-height:34px}.textflow-field .control,.textflow-field input,.textflow-field select,.textflow-field textarea{width:100%;min-width:0}.textflow-textarea,.textflow-small-textarea{resize:none}.textflow-node-bubble.textflow-grow-field .textflow-textarea{resize:vertical}.textflow-textarea{min-height:116px}.textflow-grow-field .textflow-textarea{flex:auto;height:100%;min-height:0}.textflow-readonly-textarea{color:var(--text-secondary)}.textflow-changes-shell{resize:vertical;flex:210px;min-height:132px;padding:10px;overflow:auto}.textflow-changes-shell[data-collapsed=true]{resize:none;flex:none;min-height:0;overflow:visible}.textflow-small-textarea{min-height:78px}.textflow-system-prompt-textarea{min-height:96px}.textflow-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.textflow-source-line,.textflow-node-actions{align-items:center;gap:8px;display:flex}.textflow-source-line{border:1px solid var(--line-soft);border-radius:var(--radius-md);background:#111520b8;justify-content:space-between;padding:8px 10px}.textflow-source-line .ghost-btn,.textflow-node-actions .ghost-btn{min-height:30px;padding:5px 10px;font-size:.78rem}.textflow-output-controls{align-items:end}.textflow-output-note{color:var(--text-muted);margin:-2px 0 2px;font-size:.76rem;line-height:1.45}.textflow-output-download-btn{color:#ffd2ad;border-color:#fb923c6b}.textflow-node-add-action{color:#86efac;background:#22c55e1a;border-color:#4ade8066}.textflow-node-add-action:hover{color:#bbf7d0;background:#22c55e2e;border-color:#4ade80b8}.textflow-node-actions{flex-wrap:wrap;flex:none}.textflow-node-meta{color:var(--text-muted);flex:none;gap:4px;font-size:.73rem;line-height:1.4;display:grid}.danger-lite{color:#fda4af;margin-left:auto}.textflow-node-error{color:#fda4af;margin:0;font-size:.8rem;line-height:1.4}.textflow-hint{border-top:1px solid var(--line);color:var(--text-muted);background:#111520e6;flex-wrap:wrap;flex:none;gap:12px;padding:9px 14px;font-size:.76rem;display:flex}.status-line{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.send-btn{border-radius:var(--radius-sm);color:#fff7ef;cursor:pointer;background:#fb923c;border:1px solid #0000;width:50px;height:50px;padding:0}.send-btn svg{stroke-width:2px;width:22px;height:22px}.send-btn:hover{color:#fff;background:#ff9f4a;border-color:#fb923cd1;box-shadow:0 0 0 3px #fb923c29}.ghost-btn:disabled,.primary-btn:disabled,.send-btn:disabled,.copy-btn:disabled,.speak-btn:disabled,.history-item:disabled,.history-delete:disabled,.model-option-delete:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:root[data-theme=editorial] body{background:linear-gradient(90deg, #8f674f09 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(#8f674f07 1px, transparent 1px) 0 0 / 56px 56px, radial-gradient(circle at 50% 0%, #b78b6014, transparent 38%), var(--bg-top)}:root[data-theme=editorial] *{scrollbar-color:#b99c83 transparent}:root[data-theme=editorial] ::-webkit-scrollbar-thumb{border:2px solid var(--editorial-wash);background:#b99c83;border-radius:999px}:root[data-theme=editorial] ::-webkit-scrollbar-track{background:0 0}:root[data-theme=editorial] .app-shell{background:0 0}:root[data-theme=editorial] .panel,:root[data-theme=editorial] .settings-modal,:root[data-theme=editorial] .settings-section-card,:root[data-theme=editorial] .account-extension-card,:root[data-theme=editorial] .billing-plan-card,:root[data-theme=editorial] .billing-status-card,:root[data-theme=editorial] .legal-section-card,:root[data-theme=editorial] .legal-intro-card,:root[data-theme=editorial] .message-card,:root[data-theme=editorial] .compare-pane,:root[data-theme=editorial] .composer-model-menu-panel,:root[data-theme=editorial] .composer-style-menu-panel,:root[data-theme=editorial] .composer-mode-menu-panel,:root[data-theme=editorial] .quick-switch-modal,:root[data-theme=editorial] .help-modal,:root[data-theme=editorial] .usage-modal{border:1px solid var(--editorial-line);border-radius:var(--radius-lg);background:var(--editorial-paper);color:var(--editorial-ink);box-shadow:var(--shadow-md)}:root[data-theme=editorial] .chat-panel,:root[data-theme=editorial] .chat-stream,:root[data-theme=editorial] .composer,:root[data-theme=editorial] .rules-panel,:root[data-theme=editorial] .history-panel,:root[data-theme=editorial] .freechat-settings-panel{background:var(--editorial-paper)}:root[data-theme=editorial] .sidebar-rail,:root[data-theme=editorial] .advisor-panel,:root[data-theme=editorial] .textflow-node-palette{background:var(--editorial-panel)}:root[data-theme=editorial] .chat-header,:root[data-theme=editorial] .composer,:root[data-theme=editorial] .rules-header,:root[data-theme=editorial] .history-header,:root[data-theme=editorial] .advisor-header,:root[data-theme=editorial] .freechat-settings-header,:root[data-theme=editorial] .textflow-node-palette-header,:root[data-theme=editorial] .settings-modal-header{border-color:var(--editorial-line)}:root[data-theme=editorial] .chat-title-brand,:root[data-theme=editorial] .auth-brand{color:var(--editorial-accent);letter-spacing:-.04em;font-family:Georgia,Times New Roman,Times,serif;font-style:italic}:root[data-theme=editorial] .translation-badge,:root[data-theme=editorial] .textflow-kicker,:root[data-theme=editorial] .advisor-history-header h4,:root[data-theme=editorial] .textflow-node-palette-header h3,:root[data-theme=editorial] .settings-section-card h2,:root[data-theme=editorial] .account-inline-title,:root[data-theme=editorial] .composer-style-label,:root[data-theme=editorial] .composer-model-toggle-provider,:root[data-theme=editorial] .auth-feature-kicker{color:var(--editorial-brown);letter-spacing:.04em;font-family:Georgia,Times New Roman,Times,serif;font-style:italic}:root[data-theme=editorial] .control,:root[data-theme=editorial] .header-select,:root[data-theme=editorial] .ghost-btn,:root[data-theme=editorial] .copy-btn,:root[data-theme=editorial] .speak-btn,:root[data-theme=editorial] .model-picker-toggle,:root[data-theme=editorial] .model-option-btn,:root[data-theme=editorial] .history-item,:root[data-theme=editorial] .rule-card,:root[data-theme=editorial] .rules-form,:root[data-theme=editorial] .model-picker-body,:root[data-theme=editorial] .toggle-row,:root[data-theme=editorial] .original-shell,:root[data-theme=editorial] .original-editor,:root[data-theme=editorial] .advisor-settings,:root[data-theme=editorial] .advisor-messages,:root[data-theme=editorial] .advisor-message,:root[data-theme=editorial] .advisor-input,:root[data-theme=editorial] .composer-style-select,:root[data-theme=editorial] .composer-model-provider-option,:root[data-theme=editorial] .composer-model-option,:root[data-theme=editorial] .composer-style-option,:root[data-theme=editorial] .composer-mode-option,:root[data-theme=editorial] .composer-input-wrap,:root[data-theme=editorial] .composer textarea,:root[data-theme=editorial] .textflow-node-palette-btn,:root[data-theme=editorial] .textflow-node-bubble,:root[data-theme=editorial] .textflow-node-bubble .textflow-textarea,:root[data-theme=editorial] .settings-hint-box,:root[data-theme=editorial] .account-provider-list li,:root[data-theme=editorial] .account-extension-token-box,:root[data-theme=editorial] .account-extension-token-list li,:root[data-theme=editorial] .billing-banner,:root[data-theme=editorial] .usage-summary-card,:root[data-theme=editorial] .openrouter-connect-card,:root[data-theme=editorial] .help-section-card,:root[data-theme=editorial] .help-provider-link,:root[data-theme=editorial] .help-contact-row,:root[data-theme=editorial] .usage-row,:root[data-theme=editorial] .usage-state,:root[data-theme=editorial] .usage-chip{border:1px solid var(--editorial-line);border-radius:var(--radius-sm);background:var(--editorial-paper);color:var(--editorial-ink);box-shadow:none}:root[data-theme=editorial] .composer-model-provider-option.is-active,:root[data-theme=editorial] .composer-model-option.is-active,:root[data-theme=editorial] .composer-style-option.is-active,:root[data-theme=editorial] .composer-mode-option.is-active,:root[data-theme=editorial] .model-option-btn.is-active,:root[data-theme=editorial] .history-item.is-active,:root[data-theme=editorial] .compare-toggle-btn.is-active,:root[data-theme=editorial] .freechat-toggle-btn.is-active{color:var(--editorial-accent);background:#eee5da;border-color:#d8c8b6;box-shadow:inset 0 0 0 1px #8f674f14}:root[data-theme=editorial] .ghost-btn:hover,:root[data-theme=editorial] .copy-btn:hover,:root[data-theme=editorial] .speak-btn:hover,:root[data-theme=editorial] .model-picker-toggle:hover,:root[data-theme=editorial] .model-option-btn:hover,:root[data-theme=editorial] .history-item:hover,:root[data-theme=editorial] .composer-style-select:hover,:root[data-theme=editorial] .composer-model-toggle:hover,:root[data-theme=editorial] .composer-model-provider-option:hover,:root[data-theme=editorial] .composer-model-option:hover,:root[data-theme=editorial] .composer-style-option:hover,:root[data-theme=editorial] .composer-mode-option:hover,:root[data-theme=editorial] .help-provider-link:hover,:root[data-theme=editorial] .help-connect-link:hover{color:var(--editorial-accent);background:#f3e8dc;border-color:#cdb69f;transform:translateY(-1px);box-shadow:0 6px 16px #4a2d1c0f}:root[data-theme=editorial] .primary-btn,:root[data-theme=editorial] .send-btn,:root[data-theme=editorial] .advisor-send-btn,:root[data-theme=editorial] .openrouter-connect-btn{border:1px solid var(--editorial-accent);border-radius:var(--radius-sm);background:var(--editorial-accent);color:#fffaf3;box-shadow:none;font-weight:700}:root[data-theme=editorial] .primary-btn:hover,:root[data-theme=editorial] .send-btn:hover,:root[data-theme=editorial] .advisor-send-btn:hover,:root[data-theme=editorial] .openrouter-connect-btn:hover{border-color:var(--editorial-accent);color:#fffaf3;background:#52301f;box-shadow:0 8px 20px #4a2d1c1f}:root[data-theme=editorial] .plan-status-badge,:root[data-theme=editorial] .badge,:root[data-theme=editorial] .rule-pair-badge,:root[data-theme=editorial] .freechat-memory-indicator,:root[data-theme=editorial] .advisor-context-pill,:root[data-theme=editorial] .account-extension-state,:root[data-theme=editorial] .usage-chip--accent{color:var(--editorial-accent);box-shadow:none;background:#f3e8dc;border:1px solid #cdb69f;border-radius:999px}:root[data-theme=editorial] .model-capability-badge{color:var(--editorial-brown);box-shadow:none;background:#f3eadf;border-color:#e3d5c5}:root[data-theme=editorial] .model-capability-badge.is-active{color:#8f674f;box-shadow:none;background:#f7ead8;border-color:#d9c4ae}:root[data-theme=editorial] .model-capability-f.is-active{color:#7470b8;background:#ececff}:root[data-theme=editorial] .model-capability-img.is-active{color:#bd7a31;background:#fff1d9}:root[data-theme=editorial] .message-card{background:var(--editorial-paper)}:root[data-theme=editorial] .message-card.is-compare-pinned{border-color:#cdb69f;box-shadow:0 16px 34px #4a2d1c14}:root[data-theme=editorial] .translation-top{border-bottom:1px solid var(--editorial-line);color:var(--editorial-brown);background:#fffdfa;padding:11px 14px}:root[data-theme=editorial] .translation-top .translation-subline,:root[data-theme=editorial] .translation-top .message-delete,:root[data-theme=editorial] .original-badge,:root[data-theme=editorial] .delivery-note,:root[data-theme=editorial] .textflow-node-meta,:root[data-theme=editorial] .textflow-output-note,:root[data-theme=editorial] .help-note,:root[data-theme=editorial] .usage-modal-subtitle,:root[data-theme=editorial] .usage-row-title span,:root[data-theme=editorial] .usage-row-meta{color:var(--editorial-muted)}:root[data-theme=editorial] .translation-output,:root[data-theme=editorial] .original-text,:root[data-theme=editorial] .advisor-message--assistant,:root[data-theme=editorial] .advisor-message--assistant .advisor-message-text,:root[data-theme=editorial] .stylizer-change-to,:root[data-theme=editorial] .message-source-index,:root[data-theme=editorial] .help-section-card h4,:root[data-theme=editorial] .help-section-card p,:root[data-theme=editorial] .help-step-list,:root[data-theme=editorial] .help-provider-link strong,:root[data-theme=editorial] .help-provider-link span,:root[data-theme=editorial] .help-contact-row,:root[data-theme=editorial] .usage-summary-value,:root[data-theme=editorial] .usage-row-title strong{color:var(--editorial-ink)}:root[data-theme=editorial] .original-action-btn,:root[data-theme=editorial] .original-toggle,:root[data-theme=editorial] .stylizer-changes-toggle,:root[data-theme=editorial] .message-sources-toggle,:root[data-theme=editorial] .message-source-link,:root[data-theme=editorial] .message-attachment-chip{border:1px solid var(--editorial-line);border-radius:var(--radius-sm);color:var(--editorial-brown);background:#fffaf3}:root[data-theme=editorial] .stylizer-changes-shell,:root[data-theme=editorial] .message-sources-shell{border:1px solid var(--editorial-line);border-radius:var(--radius-sm);background:#fffaf3}:root[data-theme=editorial] .stylizer-change-from,:root[data-theme=editorial] .stylizer-change-to{border-radius:var(--radius-sm);color:var(--editorial-ink);background:#f3e8dc}:root[data-theme=editorial] .natural-translation-btn.is-active,:root[data-theme=editorial] .show-changes-btn.is-active,:root[data-theme=editorial] .natural-translation-btn.show-changes-btn.is-active,:root[data-theme=editorial] .natural-translation-btn.show-changes-btn.textflow-show-changes-btn.is-active{color:var(--editorial-accent);box-shadow:none;background:#f3e8dc;border-color:#cdb69f}:root[data-theme=editorial] .dot,:root[data-theme=editorial] .translation-badge:before,:root[data-theme=editorial] .compare-toggle-btn:before,:root[data-theme=editorial] .natural-translation-btn.is-active:before,:root[data-theme=editorial] .show-changes-btn.is-active:before,:root[data-theme=editorial] .freechat-memory-indicator .dot,:root[data-theme=editorial] .advisor-context-pill .dot,:root[data-theme=editorial] .account-extension-state span{background:#b88957;box-shadow:0 0 0 3px #b8895724}:root[data-theme=editorial] .settings-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#f7f3ecb8}:root[data-theme=editorial] .help-section-card--gemini,:root[data-theme=editorial] .help-connect-link,:root[data-theme=editorial] .openrouter-connect-card,:root[data-theme=editorial] .billing-banner--success,:root[data-theme=editorial] .account-extension-state.is-installed,:root[data-theme=editorial] .account-extension-state.is-connected{color:var(--editorial-accent);background:#f3e8dc;border-color:#d7c5b1}:root[data-theme=editorial] .help-helper-logo,:root[data-theme=editorial] .help-helper-label,:root[data-theme=editorial] .help-helper-hint,:root[data-theme=editorial] .help-helper-open-hint{filter:none;color:var(--editorial-brown)!important}:root[data-theme=editorial] .usage-state--error,:root[data-theme=editorial] .billing-banner--error,:root[data-theme=editorial] .message-card[data-status=error],:root[data-theme=editorial] .advisor-message.is-error{color:var(--danger);background:#fff4f1;border-color:#b94c4561}:root[data-theme=editorial] a,:root[data-theme=editorial] .legal-consent-note a,:root[data-theme=editorial] .billing-legal-note a,:root[data-theme=editorial] .legal-link-row a,:root[data-theme=editorial] .legal-section-card a{color:var(--editorial-accent);text-decoration-color:#8f674f6b}:root[data-theme=editorial] .textflow-workspace{border-top-color:var(--editorial-line);background:var(--editorial-paper);color:var(--editorial-ink)}:root[data-theme=editorial] .textflow-toolbar{border-bottom-color:var(--editorial-line);background:var(--editorial-wash);color:var(--editorial-ink)}:root[data-theme=editorial] .textflow-canvas{background-color:#f4eee5;background-image:linear-gradient(#8f674f0b 1px,#0000 1px),linear-gradient(90deg,#8f674f0b 1px,#0000 1px)}:root[data-theme=editorial] .textflow-edge{stroke:#b889579e;filter:none}:root[data-theme=editorial] .textflow-node{border:1px solid var(--editorial-line);border-radius:var(--radius-md);background:var(--editorial-paper);color:var(--editorial-ink);box-shadow:0 18px 36px #4a2d1c14}:root[data-theme=editorial] .textflow-node.is-selected{border-color:#cdb69f;outline:2px solid #b889575c;box-shadow:0 18px 38px #4a2d1c1a}:root[data-theme=editorial] .textflow-node.is-done,:root[data-theme=editorial] .textflow-node.is-prompt{border-color:#d8c8b6}:root[data-theme=editorial] .textflow-node.is-error{border-color:#b94c456b}:root[data-theme=editorial] .textflow-node.is-outdated,:root[data-theme=editorial] .textflow-node.is-output{border-color:#d8c8b6}:root[data-theme=editorial] .textflow-node-header,:root[data-theme=editorial] .textflow-node.is-selected .textflow-node-header{border-bottom-color:var(--editorial-line);color:var(--editorial-brown);background:#f3e8dc}:root[data-theme=editorial] .textflow-node-kind-toggle,:root[data-theme=editorial] .textflow-node-kind-toggle:hover,:root[data-theme=editorial] .textflow-node-kind-toggle:focus-visible{border-radius:var(--radius-sm);color:var(--editorial-brown);box-shadow:none;background:linear-gradient(45deg,#0000 50%,#8f674fcc 50%) calc(100% - 14px) 12px/6px 6px no-repeat,#fffaf3;border-color:#d8c8b6}:root[data-theme=editorial] .textflow-node-kind-toggle span,:root[data-theme=editorial] .textflow-node-kind-toggle:hover span,:root[data-theme=editorial] .textflow-node-palette-btn strong,:root[data-theme=editorial] .textflow-node-palette-btn span,:root[data-theme=editorial] .textflow-field span,:root[data-theme=editorial] .textflow-source-line span,:root[data-theme=editorial] .textflow-node-bubble-top span,:root[data-theme=editorial] .textflow-source-empty,:root[data-theme=editorial] .textflow-sources-panel small{color:var(--editorial-brown)}:root[data-theme=editorial] .textflow-node-port,:root[data-theme=editorial] .textflow-node-port.is-active{box-shadow:inset 0 0 0 3px var(--editorial-paper);background:#c9a27d;border-color:#d8c8b6}:root[data-theme=editorial] .textflow-node-status,:root[data-theme=editorial] .textflow-node-status.is-done,:root[data-theme=editorial] .textflow-node-status.is-running,:root[data-theme=editorial] .textflow-node-status.is-error,:root[data-theme=editorial] .textflow-node-status.is-outdated{color:var(--editorial-brown);background:#fffaf3;border-color:#d8c8b6}:root[data-theme=editorial] .textflow-node-delete-btn,:root[data-theme=editorial] .textflow-node-delete-btn:hover,:root[data-theme=editorial] .textflow-system-prompt-panel,:root[data-theme=editorial] .textflow-sources-panel,:root[data-theme=editorial] .textflow-source-line,:root[data-theme=editorial] .textflow-input-mode-toggle,:root[data-theme=editorial] .textflow-changes-shell,:root[data-theme=editorial] .textflow-field .control,:root[data-theme=editorial] .textflow-field input,:root[data-theme=editorial] .textflow-field select,:root[data-theme=editorial] .textflow-field textarea,:root[data-theme=editorial] .textflow-source-connector .control,:root[data-theme=editorial] .textflow-input-mode-btn,:root[data-theme=editorial] .textflow-node-bubble-toggle,:root[data-theme=editorial] .textflow-show-changes-btn,:root[data-theme=editorial] .textflow-native-btn,:root[data-theme=editorial] .textflow-output-download-btn,:root[data-theme=editorial] .textflow-node-add-action,:root[data-theme=editorial] .textflow-node-actions .ghost-btn,:root[data-theme=editorial] .textflow-source-line .ghost-btn{border-color:var(--editorial-line);border-radius:var(--radius-sm);background:var(--editorial-paper);color:var(--editorial-ink);box-shadow:none}:root[data-theme=editorial] .textflow-node-bubble.is-result,:root[data-theme=editorial] .textflow-node-bubble.is-prompt,:root[data-theme=editorial] .textflow-node-bubble .textflow-textarea,:root[data-theme=editorial] .textflow-node-bubble.is-result .textflow-textarea,:root[data-theme=editorial] .textflow-node-bubble.is-prompt .textflow-textarea{border-color:var(--editorial-line);color:var(--editorial-ink);background:#fffaf3}:root[data-theme=editorial] .textflow-input-mode-btn:hover,:root[data-theme=editorial] .textflow-input-mode-btn.is-active,:root[data-theme=editorial] .textflow-show-changes-btn:hover,:root[data-theme=editorial] .textflow-show-changes-btn.is-active,:root[data-theme=editorial] .textflow-native-btn:hover,:root[data-theme=editorial] .textflow-native-btn.is-active,:root[data-theme=editorial] .textflow-node-add-action:hover{color:var(--editorial-accent);background:#f3e8dc;border-color:#cdb69f}:root[data-theme=editorial] .textflow-zoom-controls,:root[data-theme=editorial] .textflow-hint{border-color:var(--editorial-line);background:var(--editorial-paper);color:var(--editorial-brown)}:root[data-theme=editorial] .auth-page{background:0 0}:root[data-theme=editorial] .auth-hero{border-color:var(--editorial-line);background:radial-gradient(circle at 8% 0,#b78b601f,#0000 34%),linear-gradient(#fffdf8f0,#f7f3ecf5);box-shadow:0 22px 54px #4a2d1c14}:root[data-theme=editorial] .auth-hero:before{background-image:linear-gradient(#8f674f0b 1px,#0000 1px),linear-gradient(90deg,#8f674f09 1px,#0000 1px);-webkit-mask-image:linear-gradient(#0000006b,#0000 78%);mask-image:linear-gradient(#0000006b,#0000 78%)}:root[data-theme=editorial] .auth-topbar,:root[data-theme=editorial] .auth-hero-copy,:root[data-theme=editorial] .auth-hero-benefit,:root[data-theme=editorial] .auth-story-section,:root[data-theme=editorial] .auth-problem-section,:root[data-theme=editorial] .auth-product-tour,:root[data-theme=editorial] .auth-learn-more-section,:root[data-theme=editorial] .auth-learn-more-card,:root[data-theme=editorial] .auth-feature-card,:root[data-theme=editorial] .auth-comparison-wrap,:root[data-theme=editorial] .auth-step-card,:root[data-theme=editorial] .auth-faq-card,:root[data-theme=editorial] .auth-workflow-row,:root[data-theme=editorial] .auth-byok-steps li,:root[data-theme=editorial] .auth-final-card,:root[data-theme=editorial] .auth-preview-card,:root[data-theme=editorial] .auth-public-demo,:root[data-theme=editorial] .auth-public-demo-panel,:root[data-theme=editorial] .auth-demo-message-card{border-color:var(--editorial-line);color:var(--editorial-ink);background:#fffdf8e0;box-shadow:0 12px 28px #4a2d1c0f}:root[data-theme=editorial] .auth-topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf8eb}:root[data-theme=editorial] .auth-brand-accent,:root[data-theme=editorial] .auth-brand-text{color:var(--editorial-accent)}:root[data-theme=editorial] .auth-sign-in-link,:root[data-theme=editorial] .auth-theme-switcher,:root[data-theme=editorial] .auth-theme-option,:root[data-theme=editorial] .auth-topbar-auth-btn,:root[data-theme=editorial] .auth-hero-secondary,:root[data-theme=editorial] .auth-demo-cta-link{border:1px solid var(--editorial-line);border-radius:var(--radius-sm);color:var(--editorial-accent);box-shadow:none;background:#fffaf3}:root[data-theme=editorial] .auth-sign-in-link:hover,:root[data-theme=editorial] .auth-sign-in-link:focus-visible,:root[data-theme=editorial] .auth-theme-option:hover,:root[data-theme=editorial] .auth-theme-option:focus-visible,:root[data-theme=editorial] .auth-topbar-auth-btn:hover,:root[data-theme=editorial] .auth-topbar-auth-btn:focus-visible,:root[data-theme=editorial] .auth-hero-secondary:hover,:root[data-theme=editorial] .auth-hero-secondary:focus-visible,:root[data-theme=editorial] .auth-demo-cta-link:hover{color:var(--editorial-accent);background:#f3e8dc;border-color:#cdb69f;box-shadow:0 8px 18px #4a2d1c14}:root[data-theme=editorial] .auth-theme-switcher{background:#f5efe6d1}:root[data-theme=editorial] .auth-theme-option.is-active,:root[data-theme=editorial] .auth-topbar-auth-btn--signup{color:var(--editorial-accent);background:#f3e8dc;border-color:#cdb69f}:root[data-theme=editorial] .auth-theme-switcher-label{color:var(--editorial-brown)}:root[data-theme=editorial] .auth-hero-copy{background:radial-gradient(circle at 16% 4%,#b78b601f,#0000 34%),#fffdf8}:root[data-theme=editorial] .auth-hero-copy h1,:root[data-theme=editorial] .auth-hero-copy p,:root[data-theme=editorial] .auth-trust-note,:root[data-theme=editorial] .auth-section-heading h2,:root[data-theme=editorial] .auth-section-heading p,:root[data-theme=editorial] .auth-story-section h2,:root[data-theme=editorial] .auth-story-section p,:root[data-theme=editorial] .auth-feature-card h2,:root[data-theme=editorial] .auth-feature-card h3,:root[data-theme=editorial] .auth-feature-card p,:root[data-theme=editorial] .auth-hero-benefit strong,:root[data-theme=editorial] .auth-hero-benefit p,:root[data-theme=editorial] .auth-preview-copy h3,:root[data-theme=editorial] .auth-preview-copy p,:root[data-theme=editorial] .auth-final-card h2,:root[data-theme=editorial] .auth-final-card p,:root[data-theme=editorial] .auth-copy p,:root[data-theme=editorial] .auth-learn-more-card span,:root[data-theme=editorial] .auth-learn-more-card p{color:var(--editorial-ink)}:root[data-theme=editorial] .auth-hero-copy h1,:root[data-theme=editorial] .auth-story-section h2,:root[data-theme=editorial] .auth-final-card h2{letter-spacing:-.055em}:root[data-theme=editorial] .auth-trust-note,:root[data-theme=editorial] .auth-byok-note,:root[data-theme=editorial] .auth-workflow-row em,:root[data-theme=editorial] .auth-table-win{color:var(--editorial-accent)}:root[data-theme=editorial] .auth-check-dot,:root[data-theme=editorial] .auth-step-card span,:root[data-theme=editorial] .auth-byok-steps li:before{color:var(--editorial-accent);background:#f3e8dc;box-shadow:0 0 0 3px #b78b601f}:root[data-theme=editorial] .auth-byok-note,:root[data-theme=editorial] .auth-table-win{background:#f3e8dc;border-color:#cdb69f}:root[data-theme=editorial] .auth-public-demo--hero{box-shadow:none;background:0 0}:root[data-theme=editorial] .auth-public-demo-panel--chat{background:#fffdf8;border-color:#cdb69f;box-shadow:0 18px 38px #4a2d1c14}:root[data-theme=editorial] .auth-demo-toolbar,:root[data-theme=editorial] .auth-demo-openrouter-note,:root[data-theme=editorial] .auth-demo-composer{border-color:var(--editorial-line);color:var(--editorial-brown);background:#f5efe6}:root[data-theme=editorial] .auth-demo-openrouter-note{color:var(--editorial-ink)}:root[data-theme=editorial] .auth-demo-chat-stream{scrollbar-color:#b99c83 #f5efe6;background:radial-gradient(circle at 84% 12%,#b78b6014,#0000 34%),#fffdf8}:root[data-theme=editorial] .auth-demo-chat-stream:focus-visible{outline-color:#b78b6057}:root[data-theme=editorial] .auth-demo-chat-stream::-webkit-scrollbar-track{background:#f5efe6}:root[data-theme=editorial] .auth-demo-chat-stream::-webkit-scrollbar-thumb{background:#b99c83;border-color:#f5efe6}:root[data-theme=editorial] .auth-demo-control-field,:root[data-theme=editorial] .auth-demo-select-row label,:root[data-theme=editorial] .auth-demo-textarea-field,:root[data-theme=editorial] .auth-demo-empty-state,:root[data-theme=editorial] .auth-demo-empty-state h3,:root[data-theme=editorial] .auth-demo-empty-state p{color:var(--editorial-ink)}:root[data-theme=editorial] .auth-demo-control-field select,:root[data-theme=editorial] .auth-demo-menu-trigger,:root[data-theme=editorial] .auth-demo-model-menu,:root[data-theme=editorial] .auth-demo-style-menu,:root[data-theme=editorial] .auth-demo-provider-list button,:root[data-theme=editorial] .auth-demo-model-option,:root[data-theme=editorial] .auth-demo-style-option,:root[data-theme=editorial] .auth-demo-composer-shell,:root[data-theme=editorial] .auth-demo-composer-shell textarea,:root[data-theme=editorial] .auth-demo-meter-row span,:root[data-theme=editorial] .auth-demo-meter-row button,:root[data-theme=editorial] .auth-demo-result,:root[data-theme=editorial] .auth-demo-changes div{border-color:var(--editorial-line);color:var(--editorial-ink);box-shadow:none;background:#fffdf8}:root[data-theme=editorial] .auth-demo-menu-trigger:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%238f674f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}:root[data-theme=editorial] .auth-demo-control-field select:hover,:root[data-theme=editorial] .auth-demo-control-field select:focus,:root[data-theme=editorial] .auth-demo-menu-trigger:hover,:root[data-theme=editorial] .auth-demo-menu-field.is-open .auth-demo-menu-trigger,:root[data-theme=editorial] .auth-demo-provider-list button:hover,:root[data-theme=editorial] .auth-demo-model-option:hover,:root[data-theme=editorial] .auth-demo-style-option:hover{color:var(--editorial-accent);background:#f3e8dc;border-color:#cdb69f;box-shadow:0 6px 16px #4a2d1c0f}:root[data-theme=editorial] .auth-demo-menu-provider,:root[data-theme=editorial] .auth-demo-model-option-name,:root[data-theme=editorial] .auth-demo-model-option-id,:root[data-theme=editorial] .auth-demo-model-option.is-active .auth-demo-model-option-name,:root[data-theme=editorial] .auth-demo-changes strong,:root[data-theme=editorial] .auth-demo-result p{color:var(--editorial-ink)}:root[data-theme=editorial] .auth-demo-mode-toggle button,:root[data-theme=editorial] .auth-demo-provider-list button.is-active,:root[data-theme=editorial] .auth-demo-model-option.is-active,:root[data-theme=editorial] .auth-demo-style-option.is-active{border-color:var(--editorial-line);color:var(--editorial-brown);box-shadow:none;background:#fffaf3}:root[data-theme=editorial] .auth-demo-mode-toggle button.is-active,:root[data-theme=editorial] .auth-demo-meter-row button,:root[data-theme=editorial] .auth-demo-status-pill{color:var(--editorial-accent);box-shadow:none;background:#f3e8dc;border-color:#cdb69f}:root[data-theme=editorial] .auth-demo-mode-toggle button:before,:root[data-theme=editorial] .auth-demo-mode-toggle button.is-active:before,:root[data-theme=editorial] .auth-demo-status-pill:before{background:#b88957;box-shadow:0 0 0 3px #b8895724}:root[data-theme=editorial] .auth-demo-message-card .translation-shell,:root[data-theme=editorial] .auth-demo-message-card .original-shell,:root[data-theme=editorial] .auth-demo-message-card .original-shell[data-collapsed=true],:root[data-theme=editorial] .auth-demo-message-card .stylizer-changes-shell[data-collapsed=true]{background:#fffdf8}:root[data-theme=editorial] .auth-demo-message-card .translation-output{color:var(--editorial-accent)}:root[data-theme=editorial] .auth-comparison-table th,:root[data-theme=editorial] .auth-comparison-table td{border-color:var(--editorial-line);color:var(--editorial-ink)}:root[data-theme=editorial] .auth-comparison-table thead th{color:var(--editorial-accent);background:#f3e8dc}:root[data-theme=editorial] .auth-preview-window,:root[data-theme=editorial] .auth-chat-preview,:root[data-theme=editorial] .auth-flow-preview,:root[data-theme=editorial] .auth-demo-preview,:root[data-theme=editorial] .auth-demo-preview-frame,:root[data-theme=editorial] .auth-preview-pane,:root[data-theme=editorial] .auth-original-box,:root[data-theme=editorial] .auth-chat-bubble,:root[data-theme=editorial] .auth-chat-settings,:root[data-theme=editorial] .auth-history-card,:root[data-theme=editorial] .auth-checklist,:root[data-theme=editorial] .auth-flow-node,:root[data-theme=editorial] .auth-flow-palette{border-color:var(--editorial-line);color:var(--editorial-ink);box-shadow:none;background:#fffdf8}:root[data-theme=editorial] .auth-demo-preview-bar,:root[data-theme=editorial] .auth-demo-preview-footer,:root[data-theme=editorial] .auth-preview-topbar,:root[data-theme=editorial] .auth-preview-composer,:root[data-theme=editorial] .auth-flow-toolbar{border-color:var(--editorial-line);color:var(--editorial-brown);background:#f5efe6}:root[data-theme=editorial] .auth-demo-preview-bar span,:root[data-theme=editorial] .auth-demo-preview-footer span,:root[data-theme=editorial] .auth-preview-topbar span,:root[data-theme=editorial] .auth-preview-chip,:root[data-theme=editorial] .auth-preview-model,:root[data-theme=editorial] .auth-preview-input,:root[data-theme=editorial] .auth-mini-select,:root[data-theme=editorial] .auth-flow-toolbar span,:root[data-theme=editorial] .auth-flow-palette span{border-color:var(--editorial-line);color:var(--editorial-brown);background:#fffaf3}:root[data-theme=editorial] .auth-demo-preview-chip--success,:root[data-theme=editorial] .auth-preview-chip--green,:root[data-theme=editorial] .auth-flow-toolbar span:nth-child(2),:root[data-theme=editorial] .auth-changes-box strong{background:#f3e8dc;border-color:#d7c5b1;color:var(--editorial-accent)!important}:root[data-theme=editorial] .auth-demo-preview-chip--accent,:root[data-theme=editorial] .auth-flow-node span,:root[data-theme=editorial] .auth-flow-palette strong,:root[data-theme=editorial] .auth-preview-pane-label,:root[data-theme=editorial] .auth-chat-settings strong{color:var(--editorial-accent)!important}:root[data-theme=editorial] .auth-demo-video{background:#f5efe6;border-color:#d8c8b6;box-shadow:0 16px 30px #4a2d1c14}:root[data-theme=editorial] .auth-flow-line{box-shadow:none;background:linear-gradient(90deg,#b8895738,#b88957b3)}:root[data-theme=editorial] .auth-workflow-row span,:root[data-theme=editorial] .auth-byok-steps li,:root[data-theme=editorial] .auth-final-card .legal-consent-note,:root[data-theme=editorial] .auth-legal-links a,:root[data-theme=editorial] .auth-checklist-item,:root[data-theme=editorial] .auth-preview-pane p,:root[data-theme=editorial] .auth-original-box p,:root[data-theme=editorial] .auth-chat-bubble p,:root[data-theme=editorial] .auth-chat-bubble span,:root[data-theme=editorial] .auth-chat-settings span,:root[data-theme=editorial] .auth-history-card{color:var(--editorial-brown)}:root[data-theme=brutalist] body{background:linear-gradient(90deg, #05050509 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(#05050508 1px, transparent 1px) 0 0 / 24px 24px, var(--brutalist-cream)}:root[data-theme=brutalist] *{scrollbar-color:var(--brutalist-ink) transparent}:root[data-theme=brutalist] ::-webkit-scrollbar-thumb{background:var(--brutalist-ink);border:0;border-radius:0}:root[data-theme=brutalist] ::-webkit-scrollbar-track{background:0 0}:root[data-theme=brutalist] .panel,:root[data-theme=brutalist] .settings-modal,:root[data-theme=brutalist] .settings-section-card,:root[data-theme=brutalist] .account-extension-card,:root[data-theme=brutalist] .billing-plan-card,:root[data-theme=brutalist] .billing-status-card,:root[data-theme=brutalist] .legal-section-card,:root[data-theme=brutalist] .legal-intro-card,:root[data-theme=brutalist] .message-card,:root[data-theme=brutalist] .compare-pane,:root[data-theme=brutalist] .composer-model-menu-panel,:root[data-theme=brutalist] .composer-style-menu-panel,:root[data-theme=brutalist] .composer-mode-menu-panel,:root[data-theme=brutalist] .quick-switch-modal,:root[data-theme=brutalist] .help-modal,:root[data-theme=brutalist] .usage-modal{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);box-shadow:var(--shadow-md);border-radius:0}:root[data-theme=brutalist] .app-shell{background:0 0}:root[data-theme=brutalist] .chat-panel,:root[data-theme=brutalist] .sidebar-rail,:root[data-theme=brutalist] .chat-stream,:root[data-theme=brutalist] .composer,:root[data-theme=brutalist] .rules-panel,:root[data-theme=brutalist] .history-panel,:root[data-theme=brutalist] .advisor-panel,:root[data-theme=brutalist] .freechat-settings-panel,:root[data-theme=brutalist] .textflow-node-palette{background:var(--brutalist-paper)}:root[data-theme=brutalist] .chat-header,:root[data-theme=brutalist] .composer,:root[data-theme=brutalist] .rules-header,:root[data-theme=brutalist] .history-header,:root[data-theme=brutalist] .advisor-header,:root[data-theme=brutalist] .freechat-settings-header,:root[data-theme=brutalist] .textflow-node-palette-header,:root[data-theme=brutalist] .settings-modal-header{border-color:var(--brutalist-ink)}:root[data-theme=brutalist] .chat-title-brand,:root[data-theme=brutalist] .rules-header h3,:root[data-theme=brutalist] .history-header h3,:root[data-theme=brutalist] .advisor-header h3,:root[data-theme=brutalist] .advisor-history-header h4,:root[data-theme=brutalist] .freechat-settings-header h3,:root[data-theme=brutalist] .textflow-node-palette-header h3,:root[data-theme=brutalist] .textflow-node-palette-btn strong,:root[data-theme=brutalist] .settings-section-card h2,:root[data-theme=brutalist] .account-inline-title,:root[data-theme=brutalist] .composer-style-label,:root[data-theme=brutalist] .composer-model-toggle-provider,:root[data-theme=brutalist] .auth-brand,:root[data-theme=brutalist] .auth-feature-kicker{color:var(--brutalist-ink);font-family:"Arial Black", Impact, var(--font-ui);letter-spacing:.04em}:root[data-theme=brutalist] .textflow-node-palette-header p,:root[data-theme=brutalist] .textflow-node-palette-btn span,:root[data-theme=brutalist] .textflow-node-palette-btn:hover strong,:root[data-theme=brutalist] .textflow-node-palette-btn:disabled strong,:root[data-theme=brutalist] .textflow-node-palette-btn:hover span,:root[data-theme=brutalist] .textflow-node-palette-btn:disabled span{color:var(--brutalist-ink)}:root[data-theme=brutalist] .plan-status-badge,:root[data-theme=brutalist] .badge,:root[data-theme=brutalist] .rule-pair-badge,:root[data-theme=brutalist] .freechat-memory-indicator,:root[data-theme=brutalist] .advisor-context-pill,:root[data-theme=brutalist] .account-extension-state{border:2px solid var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .control,:root[data-theme=brutalist] .header-select,:root[data-theme=brutalist] .ghost-btn,:root[data-theme=brutalist] .primary-btn,:root[data-theme=brutalist] .copy-btn,:root[data-theme=brutalist] .speak-btn,:root[data-theme=brutalist] .model-picker-toggle,:root[data-theme=brutalist] .model-option-btn,:root[data-theme=brutalist] .history-item,:root[data-theme=brutalist] .rule-card,:root[data-theme=brutalist] .rules-form,:root[data-theme=brutalist] .model-picker-body,:root[data-theme=brutalist] .toggle-row,:root[data-theme=brutalist] .original-shell,:root[data-theme=brutalist] .original-editor,:root[data-theme=brutalist] .advisor-settings,:root[data-theme=brutalist] .advisor-messages,:root[data-theme=brutalist] .advisor-message,:root[data-theme=brutalist] .advisor-input,:root[data-theme=brutalist] .composer-style-select,:root[data-theme=brutalist] .composer-model-provider-option,:root[data-theme=brutalist] .composer-model-option,:root[data-theme=brutalist] .composer-style-option,:root[data-theme=brutalist] .composer-mode-option,:root[data-theme=brutalist] .composer-input-wrap,:root[data-theme=brutalist] .composer textarea,:root[data-theme=brutalist] .textflow-node-palette-btn,:root[data-theme=brutalist] .textflow-node-bubble,:root[data-theme=brutalist] .textflow-node-bubble .textflow-textarea,:root[data-theme=brutalist] .settings-hint-box,:root[data-theme=brutalist] .account-provider-list li,:root[data-theme=brutalist] .account-extension-token-box,:root[data-theme=brutalist] .account-extension-token-list li,:root[data-theme=brutalist] .billing-banner,:root[data-theme=brutalist] .usage-summary-card,:root[data-theme=brutalist] .openrouter-connect-card,:root[data-theme=brutalist] .help-section-card,:root[data-theme=brutalist] .help-section-card--gemini,:root[data-theme=brutalist] .help-provider-link,:root[data-theme=brutalist] .help-connect-link,:root[data-theme=brutalist] .help-contact-row,:root[data-theme=brutalist] .usage-row,:root[data-theme=brutalist] .usage-state,:root[data-theme=brutalist] .usage-chip{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .help-section-card h4,:root[data-theme=brutalist] .help-section-card p,:root[data-theme=brutalist] .help-step-list,:root[data-theme=brutalist] .help-provider-link strong,:root[data-theme=brutalist] .help-provider-link span,:root[data-theme=brutalist] .help-contact-row,:root[data-theme=brutalist] .help-contact-row a,:root[data-theme=brutalist] .help-note,:root[data-theme=brutalist] .help-helper-label,:root[data-theme=brutalist] .help-helper-hint,:root[data-theme=brutalist] .help-helper-open-hint,:root[data-theme=brutalist] .usage-modal-subtitle,:root[data-theme=brutalist] .usage-summary-label,:root[data-theme=brutalist] .usage-summary-value,:root[data-theme=brutalist] .usage-row-title strong,:root[data-theme=brutalist] .usage-row-title span,:root[data-theme=brutalist] .usage-row-meta{color:var(--brutalist-ink)!important}:root[data-theme=brutalist] .help-helper-logo{color:var(--brutalist-ink);filter:none}:root[data-theme=brutalist] .help-provider-link:hover,:root[data-theme=brutalist] .help-connect-link:hover,:root[data-theme=brutalist] .help-contact-row a:hover{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .usage-chip--accent{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink)}:root[data-theme=brutalist] .usage-state--error{border-color:var(--danger);background:var(--brutalist-paper);color:var(--danger)}:root[data-theme=brutalist] .primary-btn,:root[data-theme=brutalist] .send-btn,:root[data-theme=brutalist] .advisor-send-btn,:root[data-theme=brutalist] .copy-btn,:root[data-theme=brutalist] .openrouter-connect-btn{border:2px solid var(--brutalist-ink);background:var(--brutalist-ink);color:var(--brutalist-yellow);box-shadow:none;border-radius:0;font-weight:900}:root[data-theme=brutalist] .ghost-btn:hover,:root[data-theme=brutalist] .primary-btn:hover,:root[data-theme=brutalist] .send-btn:hover,:root[data-theme=brutalist] .copy-btn:hover,:root[data-theme=brutalist] .speak-btn:hover,:root[data-theme=brutalist] .model-picker-toggle:hover,:root[data-theme=brutalist] .model-option-btn:hover,:root[data-theme=brutalist] .history-item:hover,:root[data-theme=brutalist] .composer-style-select:hover,:root[data-theme=brutalist] .composer-model-toggle:hover,:root[data-theme=brutalist] .composer-model-provider-option:hover,:root[data-theme=brutalist] .composer-model-option:hover,:root[data-theme=brutalist] .composer-style-option:hover,:root[data-theme=brutalist] .composer-mode-option:hover{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink);transform:translate(-1px,-1px)}:root[data-theme=brutalist] .composer-model-provider-option.is-active,:root[data-theme=brutalist] .composer-model-option.is-active,:root[data-theme=brutalist] .composer-style-option.is-active,:root[data-theme=brutalist] .composer-mode-option.is-active,:root[data-theme=brutalist] .history-item.is-active,:root[data-theme=brutalist] .compare-toggle-btn.is-active,:root[data-theme=brutalist] .freechat-toggle-btn.is-active{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:inset 0 0 0 2px var(--brutalist-ink)}:root[data-theme=brutalist] .message-card{background:var(--brutalist-paper)}:root[data-theme=brutalist] .message-card.is-compare-pinned{border-color:var(--brutalist-ink);box-shadow:5px 5px 0 var(--brutalist-yellow), 8px 8px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .translation-top{border:2px solid var(--brutalist-ink);background:var(--brutalist-ink);color:var(--brutalist-paper);padding:10px 12px}:root[data-theme=brutalist] .translation-badge,:root[data-theme=brutalist] .translation-output,:root[data-theme=brutalist] .advisor-message--assistant,:root[data-theme=brutalist] .advisor-message--assistant .advisor-message-text,:root[data-theme=brutalist] .stylizer-change-to,:root[data-theme=brutalist] .message-source-index{color:var(--brutalist-ink)}:root[data-theme=brutalist] .translation-top .translation-badge{color:var(--brutalist-yellow)}:root[data-theme=brutalist] .translation-top .translation-subline,:root[data-theme=brutalist] .translation-top .message-delete{color:var(--brutalist-paper)}:root[data-theme=brutalist] .original-text,:root[data-theme=brutalist] .original-editor,:root[data-theme=brutalist] .composer textarea,:root[data-theme=brutalist] .account-extension-token-box textarea,:root[data-theme=brutalist] .textflow-node-bubble .textflow-textarea{color:var(--brutalist-ink)}:root[data-theme=brutalist] .original-action-btn,:root[data-theme=brutalist] .original-toggle,:root[data-theme=brutalist] .stylizer-changes-toggle,:root[data-theme=brutalist] .message-sources-toggle,:root[data-theme=brutalist] .message-source-link,:root[data-theme=brutalist] .message-attachment-chip{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .stylizer-changes-shell,:root[data-theme=brutalist] .message-sources-shell{border:2px solid var(--brutalist-ink);background:#f5f1e8;border-radius:0}:root[data-theme=brutalist] .stylizer-change-from,:root[data-theme=brutalist] .stylizer-change-to{border:1px solid var(--brutalist-ink);background:var(--brutalist-yellow);border-radius:0}:root[data-theme=brutalist] .dot,:root[data-theme=brutalist] .translation-badge:before,:root[data-theme=brutalist] .compare-toggle-btn:before,:root[data-theme=brutalist] .freechat-memory-indicator .dot,:root[data-theme=brutalist] .advisor-context-pill .dot,:root[data-theme=brutalist] .account-extension-state span{background:var(--brutalist-yellow);box-shadow:0 0 0 1px var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .settings-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#eee9dfc7}:root[data-theme=brutalist] .billing-banner--success,:root[data-theme=brutalist] .account-extension-state.is-installed,:root[data-theme=brutalist] .account-extension-state.is-connected,:root[data-theme=brutalist] .openrouter-connect-card{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink)}:root[data-theme=brutalist] .billing-banner--error,:root[data-theme=brutalist] .message-card[data-status=error],:root[data-theme=brutalist] .advisor-message.is-error{border-color:var(--danger);color:var(--danger)}:root[data-theme=brutalist] a,:root[data-theme=brutalist] .legal-consent-note a,:root[data-theme=brutalist] .billing-legal-note a,:root[data-theme=brutalist] .legal-link-row a,:root[data-theme=brutalist] .legal-section-card a{color:var(--brutalist-ink);text-decoration:underline;text-decoration-thickness:2px}:root[data-theme=brutalist] .auth-theme-switcher,:root[data-theme=brutalist] .auth-theme-option,:root[data-theme=brutalist] .auth-topbar-auth-btn{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-theme-option:hover,:root[data-theme=brutalist] .auth-theme-option:focus-visible,:root[data-theme=brutalist] .auth-theme-option.is-active,:root[data-theme=brutalist] .auth-topbar-auth-btn:hover,:root[data-theme=brutalist] .auth-topbar-auth-btn:focus-visible,:root[data-theme=brutalist] .auth-topbar-auth-btn--signup{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .auth-theme-switcher-label{color:var(--brutalist-ink);font-family:var(--font-ui);letter-spacing:.08em}:root[data-theme=brutalist] .model-capability-badge{background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-color:#22c55e}:root[data-theme=brutalist] .model-capability-badge.is-active{color:var(--brutalist-ink);box-shadow:none;background:#d9ffe8;border-color:#22c55e}:root[data-theme=brutalist] .textflow-workspace{border-top:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-toolbar{border-bottom:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-toolbar-main strong,:root[data-theme=brutalist] .textflow-kicker{color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-canvas{background-color:#d8d4c9;background-image:linear-gradient(#05050514 1px,#0000 1px),linear-gradient(90deg,#05050514 1px,#0000 1px)}:root[data-theme=brutalist] .textflow-edge{stroke:var(--brutalist-ink);filter:none}:root[data-theme=brutalist] .textflow-node{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:6px 6px 0 var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .textflow-node.is-selected{outline:3px solid var(--brutalist-yellow);border-color:var(--brutalist-ink);box-shadow:6px 6px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-node.is-done,:root[data-theme=brutalist] .textflow-node.is-error,:root[data-theme=brutalist] .textflow-node.is-outdated,:root[data-theme=brutalist] .textflow-node.is-prompt,:root[data-theme=brutalist] .textflow-node.is-output{border-color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-node-header,:root[data-theme=brutalist] .textflow-node.is-selected .textflow-node-header{border-bottom:2px solid var(--brutalist-ink);background:var(--brutalist-ink);color:var(--brutalist-yellow)}:root[data-theme=brutalist] .textflow-node-kind-toggle,:root[data-theme=brutalist] .textflow-node-kind-toggle:hover,:root[data-theme=brutalist] .textflow-node-kind-toggle:focus-visible{border:2px solid var(--brutalist-yellow);background:linear-gradient(45deg, transparent 50%, var(--brutalist-yellow) 50%) calc(100% - 14px) 12px / 6px 6px no-repeat, var(--brutalist-ink);color:var(--brutalist-yellow);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .textflow-node-kind-toggle span,:root[data-theme=brutalist] .textflow-node-kind-toggle:hover span{color:var(--brutalist-yellow)}:root[data-theme=brutalist] .textflow-node-port{border:2px solid var(--brutalist-ink);background:var(--brutalist-yellow);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .textflow-node-port.is-active{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);box-shadow:none}:root[data-theme=brutalist] .textflow-node-status{border:1px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .textflow-node-status.is-done,:root[data-theme=brutalist] .textflow-node-status.is-running,:root[data-theme=brutalist] .textflow-node-status.is-error,:root[data-theme=brutalist] .textflow-node-status.is-outdated{border-color:var(--brutalist-ink);color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-node-delete-btn,:root[data-theme=brutalist] .textflow-node-delete-btn:hover{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--danger);border-radius:0}:root[data-theme=brutalist] .textflow-node-body{background:var(--brutalist-paper)}:root[data-theme=brutalist] .textflow-resize-handle{background:linear-gradient(135deg, transparent 0 45%, var(--brutalist-ink) 46% 54%, transparent 55%), linear-gradient(135deg, transparent 0 62%, var(--brutalist-ink) 63% 71%, transparent 72%)}:root[data-theme=brutalist] .textflow-operation-style-label,:root[data-theme=brutalist] .textflow-field span,:root[data-theme=brutalist] .textflow-source-line span,:root[data-theme=brutalist] .textflow-node-bubble-top span,:root[data-theme=brutalist] .textflow-output-note,:root[data-theme=brutalist] .textflow-node-meta,:root[data-theme=brutalist] .textflow-source-empty,:root[data-theme=brutalist] .textflow-sources-panel small,:root[data-theme=brutalist] .textflow-hint{color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-system-prompt-panel,:root[data-theme=brutalist] .textflow-sources-panel,:root[data-theme=brutalist] .textflow-source-line,:root[data-theme=brutalist] .textflow-input-mode-toggle,:root[data-theme=brutalist] .textflow-changes-shell{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .textflow-node-bubble.is-result,:root[data-theme=brutalist] .textflow-node-bubble.is-prompt{border-color:var(--brutalist-ink);background:var(--brutalist-paper)}:root[data-theme=brutalist] .textflow-node-bubble .textflow-textarea,:root[data-theme=brutalist] .textflow-node-bubble.is-result .textflow-textarea,:root[data-theme=brutalist] .textflow-node-bubble.is-prompt .textflow-textarea,:root[data-theme=brutalist] .textflow-field .control,:root[data-theme=brutalist] .textflow-field input,:root[data-theme=brutalist] .textflow-field select,:root[data-theme=brutalist] .textflow-field textarea,:root[data-theme=brutalist] .textflow-source-connector .control{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .textflow-readonly-textarea{color:var(--brutalist-ink);background:#f4f0e6}:root[data-theme=brutalist] .textflow-input-mode-btn,:root[data-theme=brutalist] .textflow-node-bubble-toggle,:root[data-theme=brutalist] .textflow-show-changes-btn,:root[data-theme=brutalist] .textflow-native-btn,:root[data-theme=brutalist] .textflow-output-download-btn,:root[data-theme=brutalist] .textflow-node-add-action,:root[data-theme=brutalist] .textflow-node-actions .ghost-btn,:root[data-theme=brutalist] .textflow-source-line .ghost-btn{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .textflow-input-mode-btn:hover,:root[data-theme=brutalist] .textflow-input-mode-btn.is-active,:root[data-theme=brutalist] .textflow-show-changes-btn:hover,:root[data-theme=brutalist] .textflow-show-changes-btn.is-active,:root[data-theme=brutalist] .textflow-native-btn:hover,:root[data-theme=brutalist] .textflow-native-btn.is-active,:root[data-theme=brutalist] .textflow-node-add-action:hover{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink)}:root[data-theme=brutalist] .show-changes-btn.is-active,:root[data-theme=brutalist] .natural-translation-btn.show-changes-btn.is-active,:root[data-theme=brutalist] .natural-translation-btn.show-changes-btn.textflow-show-changes-btn.is-active{border-color:var(--brutalist-ink);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink);background:#d9ffe8}:root[data-theme=brutalist] .show-changes-btn.is-active:before,:root[data-theme=brutalist] .natural-translation-btn.show-changes-btn.is-active:before{box-shadow:0 0 0 2px var(--brutalist-ink);background:#22c55e}:root[data-theme=brutalist] .natural-translation-btn.is-active{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .natural-translation-btn.is-active:before{box-shadow:0 0 0 2px var(--brutalist-ink);background:#22c55e}:root[data-theme=brutalist] .textflow-zoom-controls{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);border-radius:0}:root[data-theme=brutalist] .textflow-zoom-controls span{color:var(--brutalist-ink)}:root[data-theme=brutalist] .textflow-hint{border-top:2px solid var(--brutalist-ink);background:var(--brutalist-paper)}:root[data-theme=brutalist] .auth-hero{border:2px solid var(--brutalist-ink);background:linear-gradient(90deg, #05050509 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(#05050508 1px, transparent 1px) 0 0 / 24px 24px, var(--brutalist-paper);box-shadow:6px 6px 0 var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .auth-hero:before{display:none}:root[data-theme=brutalist] .auth-topbar,:root[data-theme=brutalist] .auth-hero-copy,:root[data-theme=brutalist] .auth-hero-benefit,:root[data-theme=brutalist] .auth-story-section,:root[data-theme=brutalist] .auth-problem-section,:root[data-theme=brutalist] .auth-product-tour,:root[data-theme=brutalist] .auth-learn-more-section,:root[data-theme=brutalist] .auth-learn-more-card,:root[data-theme=brutalist] .auth-feature-card,:root[data-theme=brutalist] .auth-comparison-wrap,:root[data-theme=brutalist] .auth-step-card,:root[data-theme=brutalist] .auth-faq-card,:root[data-theme=brutalist] .auth-workflow-row,:root[data-theme=brutalist] .auth-byok-steps li,:root[data-theme=brutalist] .auth-final-card,:root[data-theme=brutalist] .auth-preview-card,:root[data-theme=brutalist] .auth-public-demo,:root[data-theme=brutalist] .auth-public-demo-panel,:root[data-theme=brutalist] .auth-demo-message-card{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-topbar{-webkit-backdrop-filter:none;backdrop-filter:none}:root[data-theme=brutalist] .auth-brand-accent,:root[data-theme=brutalist] .auth-brand-text,:root[data-theme=brutalist] .auth-hero-copy h1,:root[data-theme=brutalist] .auth-hero-copy p,:root[data-theme=brutalist] .auth-trust-note,:root[data-theme=brutalist] .auth-section-heading h2,:root[data-theme=brutalist] .auth-section-heading p,:root[data-theme=brutalist] .auth-story-section h2,:root[data-theme=brutalist] .auth-story-section p,:root[data-theme=brutalist] .auth-feature-card h2,:root[data-theme=brutalist] .auth-feature-card h3,:root[data-theme=brutalist] .auth-feature-card p,:root[data-theme=brutalist] .auth-hero-benefit strong,:root[data-theme=brutalist] .auth-hero-benefit p,:root[data-theme=brutalist] .auth-preview-copy h3,:root[data-theme=brutalist] .auth-preview-copy p,:root[data-theme=brutalist] .auth-final-card h2,:root[data-theme=brutalist] .auth-final-card p,:root[data-theme=brutalist] .auth-copy p,:root[data-theme=brutalist] .auth-workflow-row span,:root[data-theme=brutalist] .auth-byok-steps li,:root[data-theme=brutalist] .auth-final-card .legal-consent-note,:root[data-theme=brutalist] .auth-checklist-item,:root[data-theme=brutalist] .auth-learn-more-card span,:root[data-theme=brutalist] .auth-learn-more-card p,:root[data-theme=brutalist] .auth-learn-more-card strong{color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-sign-in-link,:root[data-theme=brutalist] .auth-hero-secondary,:root[data-theme=brutalist] .auth-demo-cta-link,:root[data-theme=brutalist] .auth-google-btn{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-sign-in-link:hover,:root[data-theme=brutalist] .auth-sign-in-link:focus-visible,:root[data-theme=brutalist] .auth-hero-secondary:hover,:root[data-theme=brutalist] .auth-hero-secondary:focus-visible,:root[data-theme=brutalist] .auth-demo-cta-link:hover,:root[data-theme=brutalist] .auth-google-btn:hover,:root[data-theme=brutalist] .auth-google-btn:focus-visible{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:3px 3px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .auth-check-dot,:root[data-theme=brutalist] .auth-step-card span,:root[data-theme=brutalist] .auth-byok-steps li:before,:root[data-theme=brutalist] .auth-table-win{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:none}:root[data-theme=brutalist] .auth-byok-note{border:2px solid var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .auth-public-demo--hero{box-shadow:none;background:0 0;border:0}:root[data-theme=brutalist] .auth-public-demo-panel--chat{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);box-shadow:6px 6px 0 var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-toolbar,:root[data-theme=brutalist] .auth-demo-openrouter-note,:root[data-theme=brutalist] .auth-demo-composer{border-color:var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-openrouter-note{border-bottom:2px solid var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-chat-stream{background:var(--brutalist-paper);scrollbar-color:var(--brutalist-ink) transparent}:root[data-theme=brutalist] .auth-demo-chat-stream:focus-visible{outline-color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-chat-stream::-webkit-scrollbar-track{background:0 0}:root[data-theme=brutalist] .auth-demo-chat-stream::-webkit-scrollbar-thumb{background:var(--brutalist-ink);border:0;border-radius:0}:root[data-theme=brutalist] .auth-demo-control-field,:root[data-theme=brutalist] .auth-demo-select-row label,:root[data-theme=brutalist] .auth-demo-textarea-field,:root[data-theme=brutalist] .auth-demo-empty-state,:root[data-theme=brutalist] .auth-demo-empty-state h3,:root[data-theme=brutalist] .auth-demo-empty-state p{color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-control-field select,:root[data-theme=brutalist] .auth-demo-menu-trigger,:root[data-theme=brutalist] .auth-demo-model-menu,:root[data-theme=brutalist] .auth-demo-style-menu,:root[data-theme=brutalist] .auth-demo-provider-list button,:root[data-theme=brutalist] .auth-demo-model-option,:root[data-theme=brutalist] .auth-demo-style-option,:root[data-theme=brutalist] .auth-demo-composer-shell,:root[data-theme=brutalist] .auth-demo-composer-shell textarea,:root[data-theme=brutalist] .auth-demo-meter-row span,:root[data-theme=brutalist] .auth-demo-meter-row button,:root[data-theme=brutalist] .auth-demo-result,:root[data-theme=brutalist] .auth-demo-changes div{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-demo-menu-trigger:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%23050505' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}:root[data-theme=brutalist] .auth-demo-control-field select:hover,:root[data-theme=brutalist] .auth-demo-control-field select:focus,:root[data-theme=brutalist] .auth-demo-menu-trigger:hover,:root[data-theme=brutalist] .auth-demo-menu-field.is-open .auth-demo-menu-trigger,:root[data-theme=brutalist] .auth-demo-provider-list button:hover,:root[data-theme=brutalist] .auth-demo-model-option:hover,:root[data-theme=brutalist] .auth-demo-style-option:hover,:root[data-theme=brutalist] .auth-demo-provider-list button.is-active,:root[data-theme=brutalist] .auth-demo-model-option.is-active,:root[data-theme=brutalist] .auth-demo-style-option.is-active,:root[data-theme=brutalist] .auth-demo-mode-toggle button.is-active,:root[data-theme=brutalist] .auth-demo-meter-row button,:root[data-theme=brutalist] .auth-demo-status-pill{border-color:var(--brutalist-ink);background:var(--brutalist-yellow);color:var(--brutalist-ink);box-shadow:none}:root[data-theme=brutalist] .auth-demo-mode-toggle button{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-demo-mode-toggle button:before,:root[data-theme=brutalist] .auth-demo-mode-toggle button.is-active:before,:root[data-theme=brutalist] .auth-demo-status-pill:before{box-shadow:0 0 0 2px var(--brutalist-ink);background:#22c55e}:root[data-theme=brutalist] .auth-demo-menu-provider,:root[data-theme=brutalist] .auth-demo-model-option-name,:root[data-theme=brutalist] .auth-demo-model-option-id,:root[data-theme=brutalist] .auth-demo-model-option.is-active .auth-demo-model-option-name,:root[data-theme=brutalist] .auth-demo-changes strong,:root[data-theme=brutalist] .auth-demo-result p,:root[data-theme=brutalist] .auth-demo-message-card .translation-output{color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-message-card .translation-shell,:root[data-theme=brutalist] .auth-demo-message-card .original-shell,:root[data-theme=brutalist] .auth-demo-message-card .original-shell[data-collapsed=true],:root[data-theme=brutalist] .auth-demo-message-card .stylizer-changes-shell[data-collapsed=true]{background:var(--brutalist-paper)}:root[data-theme=brutalist] .auth-comparison-table th,:root[data-theme=brutalist] .auth-comparison-table td{border-color:var(--brutalist-ink);color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-comparison-table thead th{background:var(--brutalist-yellow);color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-preview-window,:root[data-theme=brutalist] .auth-chat-preview,:root[data-theme=brutalist] .auth-flow-preview,:root[data-theme=brutalist] .auth-demo-preview,:root[data-theme=brutalist] .auth-demo-preview-frame,:root[data-theme=brutalist] .auth-preview-pane,:root[data-theme=brutalist] .auth-original-box,:root[data-theme=brutalist] .auth-chat-bubble,:root[data-theme=brutalist] .auth-chat-settings,:root[data-theme=brutalist] .auth-history-card,:root[data-theme=brutalist] .auth-checklist,:root[data-theme=brutalist] .auth-flow-node,:root[data-theme=brutalist] .auth-flow-palette{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);box-shadow:none;border-radius:0}:root[data-theme=brutalist] .auth-demo-preview-bar,:root[data-theme=brutalist] .auth-demo-preview-footer,:root[data-theme=brutalist] .auth-preview-topbar,:root[data-theme=brutalist] .auth-preview-composer,:root[data-theme=brutalist] .auth-flow-toolbar{border-color:var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink)}:root[data-theme=brutalist] .auth-demo-preview-bar span,:root[data-theme=brutalist] .auth-demo-preview-footer span,:root[data-theme=brutalist] .auth-preview-topbar span,:root[data-theme=brutalist] .auth-preview-chip,:root[data-theme=brutalist] .auth-preview-model,:root[data-theme=brutalist] .auth-preview-input,:root[data-theme=brutalist] .auth-mini-select,:root[data-theme=brutalist] .auth-flow-toolbar span,:root[data-theme=brutalist] .auth-flow-palette span,:root[data-theme=brutalist] .auth-changes-box span,:root[data-theme=brutalist] .auth-changes-box strong{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);color:var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .auth-demo-preview-chip--success,:root[data-theme=brutalist] .auth-preview-chip--green,:root[data-theme=brutalist] .auth-flow-toolbar span:nth-child(2),:root[data-theme=brutalist] .auth-changes-box strong{background:var(--brutalist-yellow);color:var(--brutalist-ink)!important}:root[data-theme=brutalist] .auth-demo-preview-chip--accent,:root[data-theme=brutalist] .auth-flow-node span,:root[data-theme=brutalist] .auth-flow-palette strong,:root[data-theme=brutalist] .auth-preview-pane-label,:root[data-theme=brutalist] .auth-chat-settings strong,:root[data-theme=brutalist] .auth-workflow-row em{color:var(--brutalist-ink)!important}:root[data-theme=brutalist] .auth-demo-video{border:2px solid var(--brutalist-ink);background:var(--brutalist-paper);box-shadow:4px 4px 0 var(--brutalist-ink);border-radius:0}:root[data-theme=brutalist] .auth-flow-line{background:var(--brutalist-ink);box-shadow:none}:root[data-theme=brutalist] .auth-preview-pane p,:root[data-theme=brutalist] .auth-original-box p,:root[data-theme=brutalist] .auth-chat-bubble p,:root[data-theme=brutalist] .auth-chat-bubble span,:root[data-theme=brutalist] .auth-chat-settings span,:root[data-theme=brutalist] .auth-history-card,:root[data-theme=brutalist] .auth-legal-links a{color:var(--brutalist-ink)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-20% 0}}@keyframes typingPulse{0%,80%,to{opacity:.24;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media (max-width:1180px){.auth-landing-hero{grid-template-columns:1fr}.auth-public-demo--hero .auth-public-demo-panel{height:640px}.auth-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-flow-list,.seo-flow-list--wide{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-hero-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-hero-top{grid-template-columns:minmax(0,1fr) minmax(320px,390px)}.auth-hero-visual{grid-area:2/1;justify-self:start}.auth-hero-badges{grid-area:3/1}.auth-card--embedded{grid-area:1/2/span 3}.auth-problem-card,.auth-feature-grid,.auth-product-tour{grid-row:auto}.chat-header{flex-direction:column;align-items:stretch;gap:8px;display:flex}.header-badges{justify-content:center;width:100%}}@media (max-width:980px){body{overflow:auto}.compare-toggle-btn,.compare-workspace{display:none}.chat-stream--compare-fallback{display:flex}.auth-page{align-items:stretch}.auth-card{justify-self:stretch;max-width:none}.auth-topbar{border-radius:var(--radius-lg)}.auth-public-demo--hero .auth-public-demo-panel{height:620px}.auth-byok-section,.auth-final-card{grid-template-columns:1fr}.auth-final-card .auth-google-btn{justify-self:start}.auth-workflow-row{grid-template-columns:1fr;align-items:start}.auth-workflow-row em{justify-self:start}.auth-step-grid,.auth-faq-grid,.auth-learn-more-grid,.seo-feature-grid,.seo-faq-grid,.seo-benefit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-cta-card,.auth-hero-proof-grid,.auth-hero-top{grid-template-columns:1fr}.auth-hero-copy h1{max-width:20ch}.auth-copy p,.auth-hero-copy p{max-width:none}.auth-hero-badges,.auth-hero-visual,.auth-card--embedded,.auth-benefits-shell,.auth-problem-card,.auth-public-demo,.auth-feature-grid,.auth-product-tour{grid-area:auto/1}.auth-hero-visual{grid-row:auto;justify-self:center;min-height:0;margin-top:0;padding-top:0}.auth-hero-badges{align-self:start;padding-bottom:0}.auth-hero-canvas-shell{width:min(100%,360px);min-height:220px}.auth-card--embedded{grid-row:auto;justify-self:stretch;width:100%;max-width:none}.auth-public-demo{grid-template-columns:1fr}.auth-public-demo-copy h2{max-width:24ch}.auth-demo-toolbar{grid-template-columns:minmax(0,1fr) minmax(210px,.8fr)}.auth-demo-model-menu{width:min(508px,100vw - 48px)}.auth-demo-control-field--compact{grid-column:2}.auth-demo-mode-toggle{width:100%}.auth-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-preview-columns,.auth-chat-preview{grid-template-columns:1fr}.auth-flow-preview{overflow:auto}.auth-flow-canvas{min-width:820px}.auth-chat-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:1fr;height:auto;min-height:100dvh}.sidebar-resize-handle{display:none}.app-shell.is-sidebar-hidden{grid-template-columns:1fr;gap:18px}.chat-panel{min-height:72vh}.sidebar-rail{min-height:520px}.chat-drawer,.chat-drawer.is-collapsed{max-height:none}.app-shell.is-sidebar-hidden .sidebar-rail{display:none}}@media (max-width:720px){body{overflow:hidden}.app-shell{gap:0;height:100dvh;min-height:0;padding:0;overflow:hidden}.auth-hero,.auth-card,.auth-card--embedded,.auth-public-demo{padding:18px}.auth-hero{padding:14px}.auth-topbar{grid-template-columns:1fr;justify-items:stretch;padding:8px}.auth-topbar .auth-brand{justify-self:center;font-size:.78rem}.auth-theme-switcher{justify-content:center;justify-self:stretch;width:100%;overflow-x:auto}.auth-theme-option{flex:1 0 auto;padding-inline:10px}.auth-topbar-actions{justify-content:stretch;width:100%;min-width:0}.auth-topbar-auth-btn{flex:1 1 0}.auth-topbar-error{text-align:center;justify-self:stretch}.auth-sign-in-link{min-height:34px;padding-inline:12px}.auth-hero-copy{padding:18px}.auth-hero-copy h1{font-size:clamp(2.8rem,15vw,4.25rem)}.auth-hero-actions{align-items:stretch}.auth-hero-primary,.auth-hero-secondary{width:100%}.auth-hero-benefit{padding:11px}.auth-hero-proof-grid{gap:10px}.auth-public-demo--hero{padding:0}.auth-public-demo--hero .auth-public-demo-panel{height:600px}.auth-feature-grid,.auth-step-grid,.auth-faq-grid,.auth-learn-more-grid,.seo-feature-grid,.seo-example-grid,.seo-faq-grid,.seo-flow-list,.seo-flow-list--wide,.seo-benefit-list{grid-template-columns:1fr}.auth-learn-more-section,.seo-page-card,.seo-hero,.seo-section,.seo-cta-card{padding:16px}.seo-page-shell{padding:14px}.seo-page-nav{flex-direction:column;align-items:stretch}.seo-page-nav div{justify-content:stretch}.seo-page-nav .ghost-btn,.seo-page-nav .primary-btn,.seo-cta-card .primary-btn{justify-content:center;width:100%}.auth-story-section,.auth-product-tour,.auth-final-card{padding:16px}.auth-final-card .auth-google-btn{justify-self:stretch;width:100%}.auth-product-tour{gap:14px}.auth-preview-card,.auth-benefits-shell,.auth-problem-card,.auth-public-demo-panel{padding:14px}.auth-demo-select-row,.auth-demo-toolbar{grid-template-columns:1fr}.auth-demo-control-field--compact{grid-column:auto}.auth-demo-model-menu,.auth-demo-style-menu{width:100%;min-width:0}.auth-demo-model-menu{grid-template-columns:1fr;max-height:360px}.auth-demo-provider-list{border-bottom:1px solid #94a3b824;border-right:0;padding-bottom:8px;padding-right:0}.auth-demo-mode-toggle{width:100%}.auth-demo-changes div{grid-template-columns:1fr}.auth-demo-changes div:before{grid-area:2/1}.auth-preview-window,.auth-demo-preview,.auth-flow-preview,.auth-chat-preview{border-radius:14px}.auth-preview-topbar,.auth-preview-composer{flex-wrap:wrap}.auth-preview-columns{gap:8px;padding:8px}.auth-preview-pane{min-height:auto}.auth-changes-box{grid-template-columns:1fr}.auth-changes-box .auth-arrow{display:none}.auth-chat-preview,.auth-chat-settings{grid-template-columns:1fr}.panel{border-radius:0}.chat-panel{border:0;height:100dvh;min-height:0}.sidebar-rail,.app-shell.is-sidebar-hidden .sidebar-rail{display:none}.chat-header{z-index:30;padding:calc(8px + env(safe-area-inset-top)) 10px 8px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#151822f5;flex:none;grid-template-columns:1fr;gap:7px;display:grid;position:relative}.chat-title{justify-content:space-between;align-items:center;min-height:22px;display:flex}.chat-title h2{min-height:0}.chat-title-brand{font-size:.98rem}.chat-title p{display:none}.header-badges,.language-toolbar,.composer-options{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-flow:row;align-items:center;gap:6px;width:100%;min-width:0;display:flex;overflow:auto hidden}.header-badges::-webkit-scrollbar{display:none}.language-toolbar::-webkit-scrollbar{display:none}.composer-options::-webkit-scrollbar{display:none}.header-badges{justify-content:flex-start;justify-self:stretch}.language-toolbar{flex:none;width:auto}.header-badges>.ghost-btn,.language-toolbar .ghost-btn,.composer-style-select.header-language-toggle,.swap-btn{flex:none;height:36px;min-height:36px;font-size:.78rem}.header-badges>.ghost-btn{padding-inline:10px}.header-badges>button:last-child{display:none}.composer-style-select.header-language-toggle{background-position:calc(100% - 12px) 15px,0 0;width:120px;min-width:120px;padding:0 28px 0 10px}.swap-btn{width:34px;min-width:34px}.chat-stream{z-index:1;align-items:stretch;gap:10px;padding:10px 10px 8px;position:relative}.empty-state{max-width:none;padding:18px 12px}.empty-state h3{font-size:1.2rem}.message-card{width:100%;box-shadow:none;border-radius:12px}.translation-shell{gap:10px;padding:10px}.translation-badge{font-size:.72rem}.translation-subline{font-size:.68rem}.original-shell{padding:10px}.original-shell-top,.stylizer-changes-top,.message-sources-top,.message-footer{align-items:flex-start;gap:8px}.original-actions,.message-actions,.billing-required-actions{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;max-width:100%;overflow-x:auto}.original-actions::-webkit-scrollbar{display:none}.message-actions::-webkit-scrollbar{display:none}.billing-required-actions::-webkit-scrollbar{display:none}.original-action-btn,.original-toggle,.copy-btn,.speak-btn,.resend-btn{flex:none}.original-text,.translation-output{font-size:.88rem;line-height:1.5}.composer{z-index:40;padding:8px 10px calc(10px + env(safe-area-inset-bottom));flex:none;position:relative;box-shadow:0 -12px 32px #0003}.composer-options{z-index:41;margin-bottom:6px;padding-bottom:2px;position:relative}.composer-options.is-menu-open{overflow-y:visible}.composer-options .composer-menu-panel-inline{display:none}.composer-mobile-menu-layer{z-index:120;pointer-events:none;padding:0 10px 8px;display:block;position:absolute;bottom:100%;left:0;right:0}.composer-mobile-menu-layer:empty,.composer-style-label{display:none}.composer-style-field,.composer-mode-menu,.natural-translation-btn{flex:none}.composer-model-field{width:216px;min-width:216px}.composer-model-toggle{width:216px;min-height:36px}.composer-style-select,.composer-mode-toggle{white-space:nowrap;width:auto;min-width:126px;min-height:36px}.natural-translation-btn{white-space:nowrap;min-height:36px}.composer-mobile-menu-layer .composer-model-menu-panel,.composer-mobile-menu-layer .composer-style-menu-panel,.composer-mobile-menu-layer .composer-mode-menu-panel{z-index:1;pointer-events:auto;overscroll-behavior:contain;width:100%;min-width:0;max-height:min(62vh,460px);position:relative;bottom:auto;left:auto;right:auto;overflow:auto}.composer-mobile-menu-layer .composer-model-menu-panel{grid-template-columns:1fr}.composer-mobile-menu-layer .composer-model-provider-stack{gap:9px}.composer-mobile-menu-layer .composer-model-provider-group.is-active{border-radius:var(--radius-sm)}.composer-mobile-menu-layer .composer-model-provider-option{width:100%;min-height:46px;font-size:.92rem}.composer-mobile-menu-layer .composer-model-option-list-nested{gap:7px;max-height:min(36vh,300px);padding-left:12px}.composer-mobile-menu-layer .composer-model-option-list-nested .composer-model-option{background:#1f2334f5;min-height:42px}.composer-shell{gap:6px}.composer-input-wrap{min-height:44px;padding:0 8px}.composer textarea{height:30px;min-height:30px;max-height:128px;padding:7px 6px;font-size:16px}input,select,textarea,.control,.header-language-toggle,.original-editor,.freechat-system-prompt,.history-rename-input{font-size:16px}.send-btn{width:44px;min-width:44px;height:44px}.send-btn svg{width:20px;height:20px}.history-header,.rules-header,.history-header-actions{flex-direction:column;align-items:stretch}.chat-drawer,.rules-panel,.history-panel{max-height:none}.model-add-btn{width:100%}.rules-pair-row,.model-picker-add{grid-template-columns:1fr}.auth-page,.settings-page-shell,.account-page-shell,.legal-page-shell{height:auto;min-height:100dvh;padding:14px}.legal-page-card{padding:18px}.legal-page-top{display:grid}.legal-page-actions{align-items:stretch}.legal-page-actions .ghost-btn{flex:auto;justify-content:center}.settings-page-top,.account-page-top,.account-grid{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.billing-grid{grid-template-columns:1fr}.toggle-row{align-items:flex-start}.settings-key-row{flex-direction:column;align-items:stretch}.auth-card .auth-actions,.auth-google-btn{width:100%}}
