@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500&display=swap";:root{font-family:Inter,system-ui,sans-serif;color-scheme:dark;color:#eeeae2;background:#111311;font-synthesis:none;--app-height: 100dvh;--bg: #111311;--surface: #171a17;--surface-2: #1d201d;--surface-3: #262a26;--border: #2d312d;--border-soft: #242824;--text: #eeeae2;--muted: #969b94;--muted-2: #747b73;--accent: #c8f875;--accent-hover: #d9ff99;--accent-dark: #203116;--accent-ink: #17200f;--accent-link: #bff46c;--accent-link-hover: #dcff9d;--answer-text: #e2e5de;--coral: #f0845c;--good: #74d497;--sidebar: 292px;--sidebar-bg: #151715;--topbar-bg: rgba(17,19,17,.94);--composer-bg: #262a26;--composer-border: #353a35;--composer-hover: #333833;--raised-bg: #202320;--scroll-thumb: rgba(211,217,207,.28);--scroll-thumb-hover: rgba(225,231,220,.5);--focus-ring: rgba(185,239,103,.12);--soft-shadow: 0 14px 42px rgba(0,0,0,.2);--toggle-track: #101210;--toggle-selected: #c8f875;--toggle-selected-shadow: 0 6px 18px rgba(166,222,78,.18);--thinking-highlight: #eef0eb;--field-bg: #222522;--field-border: #454a45;--menu-bg: #292c29;--menu-text: #d9dbd6;--danger-soft: #33292a;--modal-bg: #292c29;--modal-border: #383c38;--modal-hover: #353935}:root[data-theme=light],:root[data-theme=system-light]{color-scheme:light;color:#202620;background:#f5f7f2;--bg: #f5f7f2;--surface: #ffffff;--surface-2: #edf1e9;--surface-3: #ffffff;--border: #d9dfd5;--border-soft: #e5e9e2;--text: #202620;--muted: #59635a;--muted-2: #778177;--accent: #a8e23f;--accent-hover: #95d02a;--accent-dark: #e9f7d2;--accent-ink: #183006;--accent-link: #4f7f0d;--accent-link-hover: #355f00;--answer-text: #3b453c;--coral: #bb6344;--good: #228454;--sidebar-bg: #fafbf8;--topbar-bg: rgba(250,251,248,.92);--composer-bg: #ffffff;--composer-border: #cfd7cb;--composer-hover: #eef1ea;--raised-bg: #edf1ea;--scroll-thumb: rgba(72,80,73,.2);--scroll-thumb-hover: rgba(72,80,73,.38);--focus-ring: rgba(130,190,38,.17);--soft-shadow: 0 14px 38px rgba(40,55,35,.11);--toggle-track: #eef2eb;--toggle-selected: #b6ed55;--toggle-selected-shadow: 0 7px 18px rgba(89,135,25,.19);--thinking-highlight: #263127;--field-bg: #ffffff;--field-border: #cfd7cb;--menu-bg: #ffffff;--menu-text: #273028;--danger-soft: #f7e8e3;--modal-bg: #ffffff;--modal-border: #d5ddd2;--modal-hover: #edf1e9}*{box-sizing:border-box}button,textarea,input{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer;touch-action:manipulation}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{min-height:100%}body{margin:0;min-width:320px;min-height:100dvh;overflow:hidden;background:var(--bg);-webkit-font-smoothing:antialiased}*{scrollbar-width:thin;scrollbar-color:transparent transparent}*:hover{scrollbar-color:var(--scroll-thumb) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{min-height:38px;border:2px solid transparent;border-radius:999px;background:transparent;background-clip:padding-box}*:hover::-webkit-scrollbar-thumb{background-color:var(--scroll-thumb)}*::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-thumb-hover)}.app-shell{min-height:var(--app-height, 100dvh);display:flex;background:var(--bg)}.sidebar{position:relative;width:var(--sidebar);height:var(--app-height, 100dvh);flex:0 0 var(--sidebar);display:flex;flex-direction:column;padding:18px 14px 14px;border-right:1px solid var(--border);background:var(--sidebar-bg);z-index:20}@media(min-width:721px){.app-shell.shell-collapsed .sidebar{flex-basis:0;width:0;padding-inline:0;overflow:hidden;border-right-width:0}}.sidebar-resizer{position:absolute;top:0;right:-5px;bottom:0;z-index:22;width:11px;display:grid;place-items:center;cursor:col-resize;touch-action:none}.sidebar-resizer span{width:3px;height:42px;border-radius:3px;background:transparent;transition:background .14s ease}.sidebar-resizer:hover span,.sidebar-resizer:active span{background:var(--muted-2)}.app-shell.shell-collapsed .sidebar-resizer{display:none}.expand-button{flex:0 0 auto}.sidebar-top{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 8px}.brand{display:flex;align-items:center;gap:9px;min-width:0}.brand-mark{width:34px;height:34px;color:var(--accent);display:grid;place-items:center;font-size:29px}.brand-word{font-weight:700;letter-spacing:.09em;font-size:14px}.version-wrap{position:relative;display:inline-flex}.version-badge{color:var(--muted-2);font-size:9px;letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--border);border-radius:100px;padding:3px 7px;cursor:pointer;transition:color .14s ease,border-color .14s ease,background .14s ease}.version-badge:hover{color:var(--text);border-color:var(--muted-2);background:var(--surface-2)}.version-badge:active{transform:scale(.95)}.version-about{position:absolute;top:calc(100% + 8px);left:0;z-index:40;width:232px;max-width:calc(100vw - 28px);padding:12px 13px;border:1px solid var(--border);border-radius:12px;background:var(--surface-3);box-shadow:0 18px 44px #00000057;animation:hover-card-in .12s ease-out}.version-about strong{display:block;margin-bottom:6px;font-size:11px}.version-about p{margin:0 0 6px;color:var(--muted);font-size:10px;line-height:1.55}.version-about p:last-child{margin-bottom:0;color:var(--accent)}.garo-quote{max-width:620px;margin:10px auto 27px;text-align:center}.garo-quote blockquote{margin:0;color:var(--muted);font-family:Newsreader,Georgia,serif;font-size:15px;line-height:1.6;font-style:italic}.garo-quote figcaption{margin-top:8px;color:var(--muted-2);font-size:10px;letter-spacing:.02em}.icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;color:var(--muted);font-size:19px}.icon-button:hover{background:var(--surface-3);color:var(--text)}.icon-button.small{width:28px;height:28px;font-size:15px}.mobile-close,.mobile-brand,.menu-button,.scrim{display:none}.sidebar-mode-switcher{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:17px 0 10px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--toggle-track);box-shadow:inset 0 1px #ffffff09;isolation:isolate}.sidebar-mode-switcher:before{content:"";position:absolute;z-index:0;top:4px;left:4px;width:calc((100% - 16px) / 3);height:calc(100% - 8px);border-radius:8px;background:var(--toggle-selected);box-shadow:var(--toggle-selected-shadow);transform:translate(0);transition:transform .28s cubic-bezier(.22,.8,.24,1),background .18s ease,box-shadow .18s ease}.sidebar-mode-switcher[data-active-mode=work]:before{transform:translate(calc(100% + 4px))}.sidebar-mode-switcher[data-active-mode=code]:before{transform:translate(calc(200% + 8px))}.sidebar-mode-switcher button{position:relative;z-index:1;min-width:0;height:39px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:10px;font-weight:650;transition:color .18s ease,transform .15s ease}.sidebar-mode-switcher button svg{font-size:15px}.sidebar-mode-switcher button:hover{color:var(--text)}.sidebar-mode-switcher button:active{transform:scale(.96)}.sidebar-mode-switcher button.active{color:var(--accent-ink)}.new-task{height:42px;margin:0 0 12px;padding:0 12px;display:flex;align-items:center;gap:10px;border-radius:10px;background:var(--surface-3);font-weight:600;text-align:left}.new-task:hover{background:var(--composer-hover)}.chat-nav-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:2px 1px 16px;scrollbar-width:thin}.chat-sidebar-section{margin:12px 0 20px}.chat-sidebar-section h2{margin:0 10px 8px;color:var(--text);font-size:11px;line-height:1.2;font-weight:650;letter-spacing:0;text-transform:none}.chat-section-heading{display:flex;align-items:center;justify-content:space-between;padding-right:5px}.chat-section-heading h2{margin-bottom:8px}.section-action{width:28px;height:28px;margin-top:-5px;display:grid;place-items:center;border-radius:7px;color:var(--muted);font-size:14px}.section-action:hover{color:var(--text);background:var(--surface-2)}.thread-list,.chat-project-list,.project-thread-list{display:grid;gap:2px}.thread-row{min-width:0;height:34px;display:grid;grid-template-columns:minmax(0,1fr) 26px 26px;align-items:center;border-radius:8px;color:var(--muted)}.thread-row:hover,.thread-row.selected{color:var(--text);background:var(--surface-2)}.thread-open{min-width:0;height:100%;padding:0 5px 0 10px;display:flex;align-items:center;gap:8px;text-align:left;color:inherit}.thread-open svg{flex:0 0 auto;color:var(--muted)}.thread-open span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.thread-pin{width:27px;height:27px;display:grid;place-items:center;border-radius:7px;color:var(--muted-2);opacity:0}.thread-row:hover .thread-pin,.thread-row:focus-within .thread-pin,.thread-row.selected .thread-pin{opacity:1}.thread-pin{width:25px;height:27px}.thread-pin:hover{color:var(--accent);background:#292d29}.thread-delete:hover{color:var(--coral);background:var(--danger-soft)}.thread-row.nested{margin-left:17px;width:calc(100% - 17px)}.thread-row.nested .thread-open{padding-left:7px}.thread-context-menu{position:fixed;z-index:80;width:168px;padding:6px;border:1px solid var(--modal-border);border-radius:11px;background:var(--modal-bg);color:var(--text);box-shadow:0 18px 46px #0000004d;animation:context-menu-in .12s ease-out}@keyframes context-menu-in{0%{opacity:0;transform:translateY(-3px) scale(.98)}}.thread-context-menu button{width:100%;min-height:38px;padding:0 10px;display:flex;align-items:center;gap:9px;border-radius:8px;color:var(--text);font-size:11px;font-weight:550;text-align:left}.thread-context-menu button:hover,.thread-context-menu button:focus-visible{background:var(--surface-2)}.thread-context-menu button svg{color:var(--muted);font-size:16px}.project-modal.delete-thread-modal,.project-modal.delete-project-modal{width:min(380px,calc(100vw - 28px));border-radius:14px}.delete-thread-modal .project-modal-header,.delete-project-modal .project-modal-header{height:auto;min-height:0;padding:18px 18px 10px;align-items:flex-start}.delete-thread-modal .project-modal-header>div,.delete-project-modal .project-modal-header>div{min-width:0;display:grid;gap:7px}.delete-thread-modal .project-modal-header h2,.delete-project-modal .project-modal-header h2{font-size:17px;line-height:1.15}.delete-thread-modal .project-modal-header p,.delete-project-modal .project-modal-header p{max-width:292px;margin:0;color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.45}.delete-thread-modal .project-modal-header>button,.delete-project-modal .project-modal-header>button{width:28px;height:28px;margin:-4px -4px 0 8px}.delete-thread-modal .project-modal-actions,.delete-project-modal .project-modal-actions{gap:7px;margin-top:0;padding:8px 14px 14px}.delete-thread-modal .project-modal-actions button,.delete-project-modal .project-modal-actions button{height:34px;padding:0 12px;border-radius:8px;font-size:10px}.delete-thread-modal .modal-delete,.delete-project-modal .modal-delete{background:var(--coral);color:#24100a;font-size:11px;font-weight:750}.delete-thread-modal .modal-delete:hover,.delete-project-modal .modal-delete:hover{filter:brightness(1.08)}.daily-limit-modal{position:relative;width:min(360px,calc(100vw - 28px));padding:22px;border-radius:15px}.limit-close{position:absolute;top:10px;right:10px;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--muted-2);font-size:15px}.limit-close:hover{color:var(--text);background:var(--modal-hover)}.limit-copy{padding-right:21px;display:grid;gap:7px}.limit-kicker{color:var(--accent);font-size:9px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.limit-copy h2{margin:0;font-size:19px;line-height:1.15;letter-spacing:-.025em}.limit-copy p{margin:0;color:var(--text);font-size:12px;line-height:1.5}.limit-copy small{color:var(--muted);font-size:11px;line-height:1.55}.limit-actions{margin-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.limit-actions a{min-width:0;height:36px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:11px;font-weight:750;text-decoration:none}.limit-actions a svg{flex:0 0 auto;font-size:15px}.limit-call{padding:0 13px;background:var(--accent);color:var(--accent-ink)}.limit-call:hover{background:var(--accent-hover)}.limit-whatsapp{padding:0 13px;border:1px solid var(--border);color:var(--text)}.limit-whatsapp:hover{border-color:var(--field-border);background:var(--modal-hover)}.limit-whatsapp svg{color:#25d366}.limit-contacts{margin-top:12px;display:grid;gap:5px}.limit-contacts p{margin:0;min-width:0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.limit-contacts svg{flex:0 0 auto;font-size:13px;color:var(--muted-2)}.tester-access-modal{width:min(460px,calc(100vw - 28px));border-radius:15px}.tester-access-modal .project-modal-header{height:auto;min-height:84px;padding-top:22px;padding-bottom:13px;align-items:flex-start}.tester-access-modal .project-modal-header>div{display:grid;gap:6px}.tester-access-modal .project-modal-header h2{font-size:18px}.tester-access-modal .project-modal-header p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}.tester-access-body{padding:0 22px;display:grid;gap:7px}.tester-access-body label{color:var(--muted);font-size:10px;font-weight:650}.tester-access-body input{width:100%;height:42px;padding:0 12px;border:1px solid var(--field-border);border-radius:10px;outline:none;background:var(--field-bg);color:var(--text);font-size:12px}.tester-access-body input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.tester-allowances{margin-top:8px;padding:12px;display:grid;gap:9px;border:1px solid var(--border-soft);border-radius:11px;background:var(--surface-2)}.tester-allowances>p{margin:0;color:var(--text);font-size:10px;font-weight:750}.tester-allowances dl{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tester-allowances dl div{min-width:0;padding:8px;display:grid;gap:3px;border-radius:8px;background:var(--surface-3)}.tester-allowances dt{color:var(--muted);font-size:8px;font-weight:650}.tester-allowances dd{margin:0;color:var(--text);font-size:10px;font-weight:750;white-space:nowrap}.tester-allowances small{color:var(--muted-2);font-size:8px;line-height:1.4}.tester-access-notice{margin:4px 0 0;color:var(--good);font-size:10px;line-height:1.45}.tester-access-actions{margin-top:17px;padding:0 22px 20px;gap:8px}.tester-access-actions button{height:36px;padding-inline:12px;font-size:10px}.tester-access-actions .modal-create{min-width:142px}@media(max-width:520px){.tester-allowances dl{grid-template-columns:repeat(2,minmax(0,1fr))}}.chat-project-group{min-width:0}.chat-project-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 26px 26px;align-items:center}.chat-project{width:100%;height:34px;padding:0 10px;display:flex;align-items:center;gap:9px;border-radius:8px;color:var(--muted);text-align:left}.chat-project-row:hover .chat-project,.chat-project-row.selected .chat-project{color:var(--text);background:var(--surface-2)}.chat-project-row.selected .chat-project>svg{color:var(--accent)}.chat-project svg{flex:0 0 auto;font-size:15px}.chat-project span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.project-row-action{width:25px;height:27px;display:grid;place-items:center;border-radius:7px;color:var(--muted-2);opacity:0}.chat-project-row:hover .project-row-action,.chat-project-row:focus-within .project-row-action{opacity:1}.project-row-action:hover{color:var(--text);background:var(--surface-2)}.project-row-action svg{font-size:15px}.project-action-menu{position:fixed;z-index:70;width:168px;padding:5px;border:1px solid var(--modal-border);border-radius:10px;background:var(--modal-bg);box-shadow:0 16px 36px #00000047;animation:hover-card-in .12s ease-out}.project-action-menu button{width:100%;height:34px;padding:0 8px;display:flex;align-items:center;gap:9px;border-radius:7px;color:var(--text);font-size:11px;text-align:left}.project-action-menu button:hover{background:var(--surface-2)}.project-action-menu button svg{color:var(--muted);font-size:16px}.project-action-menu .project-remove-action{color:var(--coral)}.project-action-menu .project-remove-action svg{color:currentColor}.project-thread-list{margin:2px 0 5px}.project-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;align-items:center;gap:5px;margin:1px 4px 7px}.project-create-form input{min-width:0;height:34px;padding:0 9px;color:#171a16;background:#fff;border:1px solid #cfd8ca;border-radius:8px;font-size:11px}.project-create-form input::placeholder{color:#6f766c}.project-create-form input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}.project-create-form button[type=submit]{height:32px;padding:0 9px;border-radius:7px;background:var(--accent);color:#16200e;font-size:10px;font-weight:700}.project-create-form button[type=submit]:disabled{opacity:.4;cursor:default}.project-create-form button[type=button]{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:var(--muted)}.project-create-form button[type=button]:hover{color:var(--text);background:var(--surface-2)}.thread-hover-card{position:fixed;left:calc(var(--sidebar) + 8px);z-index:35;width:304px;min-height:154px;padding:14px 15px;border:1px solid #3a3e3a;border-radius:13px;background:#252825;color:#f1f3ed;box-shadow:0 18px 45px #00000057;pointer-events:none;animation:hover-card-in .12s ease-out}@keyframes hover-card-in{0%{opacity:0;transform:translate(-4px) scale(.985)}}.hover-card-title{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:10px}.hover-card-title strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#f1f3ed;font-size:13px;font-weight:650}.hover-card-title span{color:#a2a69f;font-size:10px}.hover-card-conversation{display:grid;gap:8px;margin:12px 0 11px;padding:11px 0;border-top:1px solid #393d39;border-bottom:1px solid #393d39}.hover-card-message{min-width:0;margin:0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px}.hover-card-message b{color:#b9ef67;font-size:9px;font-weight:700;line-height:1.45}.hover-card-message span{min-width:0;overflow:hidden;color:#dfe2dc;font-size:10px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hover-card-detail{min-width:0;display:flex;align-items:center;gap:9px;margin-top:7px;color:#d8dad5;font-size:11px}.hover-card-detail svg{flex:0 0 auto;color:#9da29b;font-size:15px}.hover-card-detail span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.project-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:22px;background:#040504b3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.project-modal{width:min(650px,calc(100vw - 36px));overflow:hidden;border:1px solid var(--modal-border);border-radius:18px;background:var(--modal-bg);box-shadow:0 28px 90px #00000057}.project-modal-header{height:67px;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.project-modal-header h2{margin:0;font-size:21px;line-height:1;letter-spacing:-.025em}.project-modal-header button{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:var(--muted);font-size:17px}.project-modal-header button:hover{color:var(--text);background:var(--modal-hover)}.project-modal form{padding:0 24px 24px}.project-name-field{height:49px;display:flex;align-items:center;gap:12px;padding:0 15px;border:1px solid #cfd8ca;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #1c2a170a}.project-name-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.project-name-field svg{flex:0 0 auto;color:#566051;font-size:18px}.project-name-field input{min-width:0;width:100%;color:#171a16;background:transparent;border:0;outline:none;font-size:14px}.project-name-field input::placeholder,.repository-field input::placeholder{color:#6f766c}.source-heading{margin:20px 0 11px;display:flex;align-items:baseline;justify-content:space-between;gap:16px}.source-heading strong{font-size:13px}.source-heading span{color:#8f948e;font-size:10px;text-align:right}.local-folder-picker{width:100%;min-height:120px;padding:23px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #3d413d;border-radius:12px;background:#2c2f2c;color:#dfe1dc;text-align:center}.local-folder-picker:hover{border-color:#555b54;background:#303330}.local-folder-picker>svg{color:#aeb3ac;font-size:25px}.local-folder-picker strong{font-size:13px;font-weight:500}.local-folder-picker span{color:#8e938d;font-size:10px}.tester-sandbox-option{min-height:88px;padding:16px 18px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:13px;border:1px solid var(--accent);border-radius:12px;background:#2a3027;box-shadow:inset 0 0 0 1px #b9ef6714}.tester-sandbox-option>svg{color:var(--accent);font-size:28px}.tester-sandbox-option>div{min-width:0;display:grid;gap:5px}.tester-sandbox-option strong{color:var(--text);font-size:13px}.tester-sandbox-option span{color:var(--muted);font-size:10px;line-height:1.5}.source-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.source-options>button{min-width:0;min-height:72px;padding:13px;display:grid;grid-template-columns:31px 1fr;align-items:center;gap:10px;border:1px solid #414541;border-radius:11px;background:#262926;color:#aeb3ac;text-align:left}.source-options>button:hover{border-color:#5b615a;color:var(--text)}.source-options>button.selected{border-color:var(--accent);background:#2a3027;color:var(--text);box-shadow:inset 0 0 0 1px #b9ef6714}.source-options>button>svg{font-size:24px;color:#aeb3ac}.source-options>button.selected>svg{color:var(--accent)}.source-options>button span{min-width:0;display:grid;gap:4px}.source-options>button strong{font-size:12px}.source-options>button small{color:#8c918b;font-size:9px;line-height:1.35}.repository-field{display:grid;gap:7px;margin-top:14px}.repository-field>span{color:#cdd0ca;font-size:11px;font-weight:600}.repository-field input{height:43px;padding:0 13px;border:1px solid #cfd8ca;border-radius:10px;background:#fff;color:#171a16;outline:none;font-size:12px}.repository-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.pairing-message{min-height:69px;margin-top:14px;padding:12px 14px;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:10px;border:1px solid #414541;border-radius:10px;background:#252825}.pairing-message>svg{color:#aeb3ac;font-size:23px}.pairing-message div{display:grid;gap:4px}.pairing-message strong{font-size:11px}.pairing-message span{color:#929791;font-size:9px;line-height:1.4}.project-modal-error{margin:11px 1px 0;color:#f0aa90;font-size:10px}.project-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px}.project-modal-actions button{height:40px;padding:0 18px;border-radius:9px;font-size:12px}.modal-cancel{color:var(--muted)}.modal-cancel:hover{color:var(--text);background:var(--modal-hover)}.modal-create{min-width:128px;display:flex;justify-content:center;align-items:center;gap:7px;background:var(--accent);color:var(--accent-ink);font-weight:700}.modal-create:hover{background:var(--accent-hover)}.modal-create:disabled{opacity:.38;cursor:default}.rename-thread-modal{width:min(520px,calc(100vw - 36px))}.rename-thread-modal .project-modal-header{height:auto;min-height:84px;padding-top:24px;padding-bottom:14px;align-items:flex-start}.rename-thread-modal .project-modal-header>div{min-width:0;display:grid;gap:7px}.rename-thread-modal .project-modal-header p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.rename-thread-input{display:block;width:100%;height:46px;padding:0 13px;border:1px solid var(--field-border);border-radius:11px;background:var(--field-bg);color:var(--text);outline:none;font-size:14px}.rename-thread-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.rename-thread-modal .project-modal-actions{margin-top:18px}.rename-save{min-width:78px}.empty-history{margin:8px 10px;color:var(--muted-2);font-size:10px;line-height:1.5}.sidebar-footer{margin-top:auto;display:grid;gap:6px;padding-top:12px;border-top:1px solid var(--border-soft)}.memory-entry{position:relative;width:100%;min-height:42px;padding:6px 8px;display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:10px;border-radius:9px;color:var(--muted);text-align:left;transition:color .18s ease,background .18s ease,transform .18s ease}.memory-entry:hover{background:var(--surface-2);color:var(--text);transform:translateY(-1px)}.memory-entry>svg{justify-self:center;color:var(--accent);font-size:19px;filter:drop-shadow(0 0 7px rgba(185,239,103,.22));animation:memory-breathe 4.8s ease-in-out infinite}@keyframes memory-breathe{0%,to{transform:scale(1);filter:drop-shadow(0 0 5px rgba(185,239,103,.16))}50%{transform:scale(1.08);filter:drop-shadow(0 0 10px rgba(185,239,103,.38))}}.memory-entry span{min-width:0;display:grid;gap:2px}.memory-entry strong{font-size:11px;font-weight:600}.memory-entry small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted-2);font-size:9px}.memory-modal{width:min(560px,calc(100vw - 36px))}.memory-body{padding:0 24px}.memory-list{max-height:42vh;margin:12px 0 0;padding:0;overflow-y:auto;display:grid;gap:6px;list-style:none;scrollbar-width:thin}.memory-list li{min-width:0;padding:10px 6px 10px 13px;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:11px;line-height:1.55}.memory-list li>span{min-width:0;overflow-wrap:anywhere}.memory-list li>button{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--muted-2);font-size:15px}.memory-list li>button:hover{color:var(--coral);background:var(--danger-soft)}.memory-empty{margin:16px 2px 4px;color:var(--muted-2);font-size:11px;line-height:1.6}.memory-actions{justify-content:space-between;padding:0 24px 22px;margin-top:20px}.memory-actions .modal-cancel:disabled{opacity:.35;cursor:default}.memory-toast{position:fixed;right:22px;bottom:22px;z-index:55;width:min(360px,calc(100vw - 32px));display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:11px;padding:12px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--soft-shadow);animation:toast-in .22s ease-out}.memory-toast>svg{justify-self:center;color:var(--accent);font-size:21px}.memory-toast div{min-width:0;display:grid;gap:3px}.memory-toast strong{font-size:11px}.memory-toast span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:10px}.memory-toast>button{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;color:var(--muted-2);font-size:14px}.memory-toast>button:hover{color:var(--text);background:var(--surface-2)}.profile{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:6px;border-radius:9px}.profile:hover{background:var(--surface-2)}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--accent-dark);color:var(--accent);font-weight:700}.profile div{display:grid;gap:2px}.profile strong{font-size:12px}.profile small{color:var(--muted-2);font-size:10px}.profile svg{color:var(--muted-2)}.sign-in-profile{width:100%;color:var(--text);text-align:left}.signed-in-profile{min-width:0}.signed-in-profile>div{min-width:0}.signed-in-profile strong,.signed-in-profile small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.profile-actions{display:flex;align-items:center;gap:2px}.avatar-image{object-fit:cover;border:1px solid #495148}.profile-action{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--muted);font-size:16px}.profile-action:hover{color:var(--text);background:var(--surface-2)}.auth-screen{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;padding:22px 28px 28px;background:radial-gradient(circle at 50% 43%,rgba(185,239,103,.055),transparent 32%),var(--bg)}.auth-brand{display:flex;align-items:center;justify-content:space-between;gap:16px}.auth-card{align-self:center;justify-self:center;width:min(410px,calc(100vw - 36px));margin-top:-58px;padding:38px 36px 34px;text-align:center;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 28px 80px #0000002e}.auth-mark{width:96px;height:96px;margin:0 auto 22px;display:grid;place-items:center;color:var(--accent);font-size:80px}.auth-card h1{margin:0;color:var(--text);font-family:Newsreader,Georgia,serif;font-size:35px;font-weight:500;letter-spacing:-.035em}.auth-card>p{margin:12px auto 24px;color:var(--muted);font-size:12px;line-height:1.6}.google-sign-in{width:100%;height:48px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:11px;background:#f2f2ef;color:#1d201c;font-size:13px;font-weight:650}.google-sign-in:hover{background:#fff;transform:translateY(-1px)}.google-sign-in .google-logo{width:19px;height:19px}.auth-card .auth-error{margin:13px 0 0;color:#efa489;font-size:10px}.auth-card>small{display:block;margin-top:20px;color:var(--muted-2);font-size:9px;line-height:1.55}.auth-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);background:var(--bg);font-size:12px}.home-view{--home-max: 1240px;position:relative;height:100dvh;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;background:radial-gradient(circle at 80% 12%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 28%),var(--bg);color:var(--text)}.home-header{position:sticky;z-index:20;top:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;padding:0 max(28px,calc((100vw - var(--home-max)) / 2));border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent);background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.home-brand{display:inline-flex;width:max-content;align-items:center;gap:10px;color:var(--text);font-size:15px;font-weight:700;letter-spacing:.12em;text-decoration:none}.home-brand img{width:29px;height:29px;object-fit:contain}.home-nav{display:flex;gap:30px}.home-nav a,.home-footer a{color:var(--muted);font-size:13px;text-decoration:none;transition:color .16s ease}.home-nav a:hover,.home-footer a:hover{color:var(--accent-link)}.home-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.home-header .theme-toggle{min-height:38px}.home-chat-button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:12px;padding:0 22px;border:1px solid var(--accent);border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:14px;font-weight:700;text-decoration:none;transition:transform .16s ease,background .16s ease}.home-chat-button:hover{background:var(--accent-hover);transform:translateY(-2px)}.home-chat-button--small{min-height:42px;padding:0 18px;font-size:13px}.home-rail{position:fixed;z-index:15;top:50%;left:max(24px,calc((100vw - 1430px)/2));display:flex;flex-direction:column;transform:translateY(-44%)}.home-rail a{position:relative;display:flex;min-height:42px;align-items:center;gap:11px;color:var(--muted-2);font-size:9px;font-weight:600;letter-spacing:.04em;text-decoration:none;transition:color .16s ease}.home-rail a:not(:last-child):after{position:absolute;top:26px;bottom:-10px;left:4px;width:1px;background:var(--border);content:""}.home-rail-dot{position:relative;z-index:1;width:9px;height:9px;flex:0 0 auto;border:1px solid var(--muted-2);border-radius:50%;background:var(--bg)}.home-rail a:hover,.home-rail a.is-active{color:var(--text)}.home-rail a.is-active .home-rail-dot{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 13%,transparent)}.home-section,.home-footer{width:min(var(--home-max),calc(100% - 260px));margin:0 auto}.home-section{scroll-margin-top:76px;border-bottom:1px solid var(--border-soft)}.home-hero{display:grid;min-height:calc(100dvh - 76px);grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);align-items:center;gap:64px;padding:58px 0 54px}.home-eyebrow,.home-section-kicker{margin:0 0 24px;color:var(--accent-link);font-family:DM Mono,monospace;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase}.home-greeting{margin:0 0 15px;color:var(--accent-link);font-family:Newsreader,Georgia,serif;font-size:clamp(30px,3.5vw,48px);letter-spacing:-.035em}.home-hero h1{max-width:790px;margin:0;font-size:clamp(50px,5.4vw,76px);font-weight:500;letter-spacing:-.058em;line-height:.95}.home-full-form{max-width:660px;margin:18px 0 0;color:var(--accent-link);font-family:DM Mono,monospace;font-size:10px;font-weight:500;letter-spacing:.075em;line-height:1.55;text-transform:uppercase}.home-hero-subline{margin:20px 0 0;color:var(--text);font-size:clamp(17px,1.5vw,20px);font-weight:500}.home-hero-lede{max-width:660px;margin:14px 0 0;color:var(--muted);font-size:clamp(14px,1.05vw,16px);line-height:1.55}.home-hero-lede strong{color:var(--text);font-weight:600}.home-hero-actions{display:flex;align-items:center;gap:28px;margin-top:26px}.home-text-link{display:inline-flex;align-items:center;gap:9px;color:var(--text);font-size:14px;text-decoration:none}.home-text-link:hover{color:var(--accent-link)}.home-hero-mark{display:grid;justify-items:center;align-self:stretch;align-content:center}.home-hero-mark img{width:min(34vw,420px);transform:scaleX(-1);transform-origin:50% 92%;filter:drop-shadow(0 30px 55px color-mix(in srgb,var(--accent) 12%,transparent));animation:home-hand-wave 5.6s ease-in-out infinite}@keyframes home-hand-wave{0%,14%,67%,81%{transform:translate3d(-3px,-4px,0) rotate(7deg) scaleX(-1)}7%,74%{transform:translate3d(1px,-2px,0) rotate(-6deg) scaleX(-1)}21%,86%{transform:translate3d(-2px,-4px,0) rotate(6deg) scaleX(-1)}28%,60%,92%,to{transform:translateZ(0) rotate(0) scaleX(-1)}}.home-overview{padding:118px 0}.home-overview-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:100px}.home-overview h2,.home-section-heading h2,.home-subsection>h2,.home-garo h2{margin:0;font-size:clamp(34px,3.8vw,56px);font-weight:500;letter-spacing:-.045em;line-height:1.05}.home-overview-grid>div{max-width:560px}.home-overview-grid p,.home-section-heading>p{margin:0 0 18px;color:var(--muted);font-size:16px;line-height:1.75}.home-capabilities,.home-research{padding:118px 0}.home-section-heading{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:80px;margin-bottom:68px}.home-section-heading .home-section-kicker{margin-bottom:22px}.home-section-heading>p{max-width:480px;margin:0}.home-garo{padding:118px 0}.home-garo-intro{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:90px}.home-garo-intro>div>p:not(.home-section-kicker){max-width:650px;margin:30px 0 0;color:var(--muted);font-size:16px;line-height:1.75}.garo-status{display:flex;width:max-content;max-width:100%;align-items:center;gap:10px;margin-top:30px;padding:11px 15px;border:1px solid var(--border);border-radius:999px;color:var(--text);font-family:DM Mono,monospace;font-size:10px;letter-spacing:.04em}.garo-status span{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent)}.garo-map-figure{position:relative;display:grid;min-height:540px;place-items:center;margin:0;padding:24px;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 24%,#20261f);border-radius:26px;background:#101510}.garo-map-figure:before{position:absolute;top:24px;right:24px;bottom:24px;left:24px;border:1px solid color-mix(in srgb,var(--accent) 18%,transparent);border-radius:18px;content:""}.garo-map-art{position:relative;z-index:1;display:block;width:100%;height:440px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(0,0,0,.16))}@media(prefers-reduced-motion:reduce){.home-hero-mark img{animation:none;transform:scaleX(-1)}}.garo-pipeline{display:grid;grid-template-columns:repeat(4,1fr);margin-top:68px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.garo-pipeline article{min-height:250px;padding:30px 25px;border-right:1px solid var(--border)}.garo-pipeline article:last-child{border-right:0}.garo-pipeline-number{color:var(--muted-2);font-family:DM Mono,monospace;font-size:10px}.garo-pipeline svg{display:block;width:26px;height:26px;margin-top:38px;color:var(--accent-link)}.garo-pipeline h3{margin:24px 0 11px;font-size:16px}.garo-pipeline p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.garo-possibilities{display:grid;grid-template-columns:34px 230px 1fr;align-items:center;gap:24px;padding:34px 0 0}.garo-possibilities svg{width:26px;height:26px;color:var(--accent-link)}.garo-possibilities strong{font-size:14px}.garo-possibilities p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.capability-list{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.capability-list article{min-height:240px;padding:34px 26px;border-right:1px solid var(--border)}.capability-list article:last-child{border-right:0}.capability-list svg{width:27px;height:27px;color:var(--accent-link)}.capability-list h3{margin:70px 0 12px;font-size:19px;font-weight:600}.capability-list p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.research-list{border-top:1px solid var(--border)}.research-list a{display:grid;grid-template-columns:54px 42px 1fr 32px;align-items:center;gap:22px;min-height:112px;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none;transition:background .16s ease,padding .16s ease}.research-list a:hover{padding:0 16px;background:color-mix(in srgb,var(--surface) 72%,transparent)}.research-number{color:var(--muted-2);font-family:DM Mono,monospace;font-size:11px}.research-list svg{width:25px;height:25px;color:var(--accent-link)}.research-list>a>svg:last-child{color:var(--muted)}.research-copy{display:flex;flex-direction:column;gap:8px}.research-copy strong{font-size:18px;font-weight:600}.research-copy small{color:var(--muted);font-size:13px;line-height:1.45}.home-projects-founders{display:grid;grid-template-columns:1fr 1fr}.home-subsection{padding:118px 64px 118px 0;scroll-margin-top:76px}.home-subsection+.home-subsection{padding-right:0;padding-left:64px;border-left:1px solid var(--border)}.project-list,.founder-list{margin-top:56px;border-top:1px solid var(--border)}.project-list article,.founder-list article{display:grid;min-height:102px;align-items:center;border-bottom:1px solid var(--border)}.project-list article{grid-template-columns:54px 1fr}.project-list article>span{color:var(--muted-2);font-family:DM Mono,monospace;font-size:11px}.project-list h3,.founder-list h3{margin:0 0 8px;font-size:17px;font-weight:600}.project-list p,.founder-list p{margin:0;color:var(--muted);font-size:12px}.project-list p{display:flex;align-items:center;gap:6px}.project-list svg{color:var(--accent-link)}.founder-list article{grid-template-columns:1fr auto}.founder-list h3{margin:0}.founder-list p{color:var(--accent-link);font-family:DM Mono,monospace;text-transform:uppercase}.home-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:116px}.home-footer p{margin:0;color:var(--muted-2);font-size:12px;text-align:center}.home-footer>a:last-child{justify-self:end}@media(max-width:1100px){.home-header{grid-template-columns:1fr auto}.home-nav,.home-rail{display:none}.home-section,.home-footer{width:min(var(--home-max),calc(100% - 64px))}.home-hero{grid-template-columns:1fr .55fr}.capability-list{grid-template-columns:repeat(3,1fr)}.capability-list article:nth-child(3){border-right:0}.capability-list article:nth-child(n+4){border-top:1px solid var(--border)}.home-garo-intro{gap:40px}.garo-pipeline{grid-template-columns:repeat(2,1fr)}.garo-pipeline article:nth-child(2){border-right:0}.garo-pipeline article:nth-child(n+3){border-top:1px solid var(--border)}}@media(max-width:720px){.home-header{min-height:66px;padding:0 18px}.home-header .theme-toggle span{display:none}.home-header .theme-toggle{width:40px;padding:0}.home-chat-button--small{width:42px;padding:0;font-size:0}.home-section,.home-footer{width:calc(100% - 40px)}.home-hero{min-height:auto;grid-template-columns:1fr;gap:40px;padding:76px 0 70px}.home-hero h1{font-size:clamp(45px,13vw,66px)}.home-hero-lede{margin-top:28px;font-size:16px}.home-hero-actions{align-items:flex-start;flex-direction:column;gap:22px}.home-hero-mark{display:none}.home-overview,.home-garo,.home-capabilities,.home-research{padding:78px 0}.home-overview-grid,.home-section-heading{grid-template-columns:1fr;gap:34px}.home-section-heading{margin-bottom:44px}.capability-list{grid-template-columns:1fr}.capability-list article{min-height:auto;padding:27px 4px;border-right:0;border-top:1px solid var(--border)}.capability-list article:first-child{border-top:0}.capability-list h3{margin:22px 0 8px}.home-garo-intro{grid-template-columns:1fr;gap:28px}.garo-map-figure{min-height:0;padding:18px;border-radius:20px}.garo-map-figure:before{top:18px;right:18px;bottom:18px;left:18px}.garo-map-art{height:min(78vw,390px)}.garo-pipeline{grid-template-columns:1fr;margin-top:44px}.garo-pipeline article{min-height:auto;padding:27px 4px;border-right:0;border-top:1px solid var(--border)}.garo-pipeline article:first-child{border-top:0}.garo-pipeline svg{margin-top:24px}.garo-possibilities{grid-template-columns:30px 1fr}.garo-possibilities p{grid-column:1 / -1}.research-list a{grid-template-columns:32px 30px 1fr 20px;gap:12px;min-height:126px}.research-copy small{font-size:12px}.home-projects-founders{grid-template-columns:1fr}.home-subsection,.home-subsection+.home-subsection{padding:78px 0;border-left:0}.home-subsection+.home-subsection{border-top:1px solid var(--border)}.home-footer{grid-template-columns:1fr;justify-items:start;gap:18px;padding:34px 0}.home-footer p{text-align:left}.home-footer>a:last-child{justify-self:start}}.main-shell{flex:1;min-width:0;height:var(--app-height, 100dvh);display:flex;flex-direction:column;position:relative}.topbar{min-height:64px;padding:0 18px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--border-soft);background:var(--topbar-bg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.workspace-title{flex:1;min-width:0;display:flex;align-items:center;gap:10px}.workspace-title-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-dark)}.workspace-title-icon.work-title-hand{width:34px;height:34px;border-radius:0;background:transparent;font-size:28px}.workspace-title>div{min-width:0;display:grid;gap:2px}.workspace-title strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.workspace-title>div span{color:var(--muted-2);font-size:9px}.mode-switcher{display:flex;align-items:center;gap:3px;border:1px solid var(--border);background:var(--sidebar-bg);padding:4px;border-radius:11px}.mode-switcher button{height:34px;padding:0 15px;border-radius:7px;color:var(--muted);display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.mode-switcher button:hover{color:var(--text)}.mode-switcher svg{font-size:16px}.topbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.theme-toggle{min-width:36px;height:32px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--border);border-radius:9px;color:var(--muted);background:var(--surface);font-size:9px;line-height:1;transition:color .14s ease,border-color .14s ease,background .14s ease,transform .14s ease}.theme-toggle svg{flex:0 0 auto;font-size:15px}.theme-toggle:hover{color:var(--text);border-color:var(--muted-2);background:var(--surface-2)}.theme-toggle:active{transform:scale(.96)}.auth-brand .theme-toggle{min-width:70px}.content-shell{flex:1;min-height:0;overflow:hidden}.empty-view{height:100%;max-width:820px;margin:0 auto;padding:8vh 26px 40px;display:flex;flex-direction:column;justify-content:center}.empty-heading{display:flex;align-items:center;justify-content:center;gap:14px}.empty-heading h1{margin:0;text-align:center;font-family:Newsreader,Georgia,serif;font-size:clamp(38px,4.2vw,56px);letter-spacing:-.035em;font-weight:500;color:var(--text)}.empty-view>p{color:var(--muted);text-align:center;margin:10px auto 27px;font-size:13px;line-height:1.6}.greeting{display:flex;align-items:center;justify-content:center;gap:14px}.greeting-mark{color:var(--accent);font-size:50px;display:grid;filter:drop-shadow(0 5px 13px rgba(185,239,103,.12))}.greeting h1{font-family:Newsreader,Georgia,serif;font-size:clamp(38px,4.2vw,58px);letter-spacing:-.035em;font-weight:500;margin:0;color:var(--text)}.composer{position:relative;width:100%;min-height:148px;padding:16px 17px 13px;background:var(--composer-bg);border:1px solid var(--composer-border);border-radius:22px;box-shadow:var(--soft-shadow);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring),var(--soft-shadow)}.chat-limit-note{display:block;width:100%;margin:8px 0 0;padding:0;color:var(--muted-2);text-align:center;font-size:9px;line-height:1.4}.chat-limit-note span{margin:0 3px}.chat-limit-note:hover,.chat-limit-note:focus-visible{color:var(--text);text-decoration:underline}.composer textarea{display:block;width:100%;resize:none;overflow-y:auto;color:var(--text);background:transparent;border:0;outline:none;font-size:16px;line-height:1.5;min-height:56px;max-height:180px;-webkit-overflow-scrolling:touch}.composer textarea::placeholder{color:var(--muted-2)}.dictation-indicator{display:flex;align-items:center;gap:8px;margin:0 0 7px;color:#f18073;font-size:10px;font-weight:650}.dictation-wave{width:30px;height:18px;display:flex;align-items:center;justify-content:center;gap:3px}.dictation-wave i{width:3px;height:7px;border-radius:4px;background:currentColor;animation:dictation-wave .76s ease-in-out infinite alternate}.dictation-wave i:nth-child(2){height:13px;animation-delay:-.52s}.dictation-wave i:nth-child(3){height:17px;animation-delay:-.26s}.dictation-wave i:nth-child(4){height:12px;animation-delay:-.41s}.dictation-wave i:nth-child(5){height:7px;animation-delay:-.13s}@keyframes dictation-wave{to{transform:scaleY(.38);opacity:.56}}.composer-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.composer-controls>div,.composer-right{display:flex;align-items:center;gap:8px}.composer-left{min-width:0}.composer-tool{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:var(--muted);font-size:19px;touch-action:manipulation}.composer-tool:hover{background:var(--composer-hover);color:var(--text)}.composer-tool.active{background:var(--raised-bg);color:var(--text)}.composer-add{position:relative}.composer-add-menu{position:absolute;left:0;bottom:43px;z-index:12;width:270px;padding:8px;border:1px solid var(--field-border);border-radius:14px;background:var(--menu-bg);box-shadow:var(--soft-shadow)}.composer-add-menu>strong{display:block;padding:4px 8px 8px;color:var(--muted);font-size:10px;font-weight:500}.composer-add-menu button{width:100%;min-height:47px;padding:7px 9px;display:grid;grid-template-columns:27px 1fr;align-items:center;gap:8px;border-radius:9px;color:var(--menu-text);text-align:left}.composer-add-menu button:hover{background:var(--surface-2)}.composer-add-menu button>svg{color:var(--muted);font-size:18px}.composer-add-menu button span{display:grid;gap:3px}.composer-add-menu button b{font-size:11px;font-weight:500}.composer-add-menu button small{color:var(--muted-2);font-size:9px}.voice-button:hover{color:var(--accent-link)}.microphone-button.transcribing{color:#fff;background:#d84a3f;animation:dictation-pulse 1.25s ease-in-out infinite}.microphone-button.transcribing:hover{background:#ec5d50;color:#fff}@keyframes dictation-pulse{50%{box-shadow:0 0 0 5px #d84a3f2e}}.model-select{position:relative}.topbar-model{display:none}.model-picker{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;padding:8px;border-radius:8px}.model-picker:hover{color:var(--text);background:var(--composer-hover)}.model-picker.active{color:var(--text);background:var(--raised-bg)}.model-picker>svg{font-size:11px}.model-menu{position:absolute;left:0;bottom:43px;z-index:12;width:210px;padding:8px;border:1px solid var(--field-border);border-radius:14px;background:var(--menu-bg);box-shadow:var(--soft-shadow)}.model-menu>strong{display:block;padding:4px 8px 8px;color:var(--muted);font-size:10px;font-weight:500}.model-menu button{width:100%;min-height:42px;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:9px;color:var(--menu-text);text-align:left}.model-menu button:hover{background:var(--surface-2)}.model-menu button span{display:grid;gap:3px}.model-menu button b{font-size:11px;font-weight:500}.model-menu button small{color:var(--muted-2);font-size:9px}.model-menu button>svg{color:var(--accent);font-size:13px}.composer-right .model-menu{left:auto;right:0}.composer-mark{width:26px;display:grid;place-items:center;font-size:22px;opacity:.9}.composer-compact .composer-mark{width:22px;font-size:19px}.send-button{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);font-size:18px;touch-action:manipulation}.send-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.send-button:disabled{opacity:.38;cursor:default;transform:none;filter:none}.stop-button{background:#f5f5f2;color:#222421}.stop-button svg{width:11px;height:11px}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.composer-compact{min-height:78px;border-radius:18px;padding:12px 13px 10px;box-shadow:none}.composer-compact textarea{min-height:26px;max-height:52px;font-size:13px}.composer-compact .composer-controls{margin-top:4px}.attachment-tray{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:0 0 10px;scrollbar-width:thin}.attachment-preview{position:relative;flex:0 0 auto;width:172px;height:54px;display:grid;grid-template-columns:43px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:5px;border:1px solid #414641;border-radius:11px;background:#1d201d}.attachment-image{width:150px;height:76px;grid-template-columns:62px minmax(0,1fr) 24px}.attachment-preview img{width:100%;height:100%;object-fit:cover;border-radius:8px}.attachment-file-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:#303530;color:var(--accent);font-size:20px}.attachment-preview>div{min-width:0;display:grid;gap:3px}.attachment-preview strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px}.attachment-preview small{color:var(--muted-2);font-size:8px}.attachment-preview>button{position:absolute;top:-7px;right:-7px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#f4f4f1;color:#20221f;box-shadow:0 3px 10px #00000059;font-size:12px}.attachment-error{margin:3px 0 0;color:#efaa90;font-size:9px}.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:21px}.suggestions button{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);border-radius:10px;font-size:11px}.suggestions button:hover{color:var(--text);background:var(--surface-3);border-color:#424842}.suggestions svg{color:var(--accent);font-size:16px}.conversation-workspace{height:100%;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden}.conversation-workspace.entity-open{grid-template-columns:minmax(520px,1fr) minmax(360px,430px)}.conversation-view{min-width:0;min-height:0;height:100%;width:100%;max-width:920px;margin:0 auto;padding:0 24px 18px;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.entity-open .conversation-view{max-width:820px}.conversation-thread{min-height:0;overflow-y:auto;padding:44px 8px 28px;display:flex;flex-direction:column;gap:28px;scrollbar-width:thin;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}.message{display:flex;align-items:flex-start;gap:12px;color:var(--answer-text);font-size:14px;line-height:1.7}.message-user{align-self:flex-end;max-width:min(78%,650px);padding:11px 15px;border-radius:18px 18px 5px;background:var(--raised-bg);color:var(--text)}.message-assistant{align-self:stretch;max-width:760px}.message-safety .message-body{padding:2px 0 2px 15px;border-left:2px solid var(--accent)}.message-safety .message-text p{margin-bottom:10px}.message-safety .message-text ul{gap:3px;margin:6px 0 12px}.assistant-mark{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;color:var(--accent);font-size:31px}.message-body{min-width:0;padding-top:3px}.message-body>strong{display:block;margin-bottom:6px;font-size:11px;color:var(--muted)}.message-body>strong em{font-style:normal;color:var(--muted-2)}.message-body>strong em:before{content:"·";margin:0 6px}.message-text{overflow-wrap:anywhere}.message-text p{margin:0 0 12px;white-space:pre-wrap}.message-text p:last-child{margin-bottom:0}.message-text ul{margin:8px 0 13px;padding-left:21px;display:grid;gap:5px}.message-text h2,.message-text h3{margin:16px 0 7px;color:var(--text);line-height:1.35}.message-text h2{font-size:18px}.message-text h3{font-size:15px}.message-text a,.entity-link{color:var(--accent-link);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent-link) 45%,transparent);text-underline-offset:3px}.entity-link{display:inline;padding:0;font:inherit;text-align:inherit}.entity-link:hover,.message-text a:hover{color:var(--accent-link-hover);text-decoration-color:currentColor}.inline-citation{width:18px;height:18px;margin:0 2px;display:inline-grid;place-items:center;border:1px solid #45503e;border-radius:50%;background:#22291e;color:var(--accent)!important;font-size:9px;font-weight:700;line-height:1;text-decoration:none!important;vertical-align:text-top}.message-sources{margin-top:18px;display:grid;gap:9px}.message-sources>strong{color:var(--muted);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.source-links{display:flex;flex-wrap:wrap;gap:8px}.source-links a{min-width:0;max-width:235px;min-height:48px;padding:7px 10px;display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none}.source-links a:hover{border-color:#4b5348;background:var(--surface-2)}.source-links a>span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--accent-dark);color:var(--accent);font-size:9px;font-weight:700}.source-links a>div{min-width:0;display:grid;gap:2px}.source-links b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:600}.source-links small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted-2);font-size:8px}.message-artifacts{margin-top:18px;display:grid;gap:9px}.message-artifacts>strong{color:var(--muted);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.artifact-card{min-width:0;max-width:610px;padding:12px;display:grid;grid-template-columns:40px minmax(0,1fr) auto 34px;align-items:center;gap:10px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);box-shadow:0 13px 34px #0000002e}.artifact-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#30251f;color:#f0a780;font-size:21px}.artifact-csv .artifact-icon{background:#1e2a1c;color:#a9d97e}.artifact-xls .artifact-icon{background:#1b2a20;color:#8fd6a4}.artifact-doc .artifact-icon{background:#1c2430;color:#96b6e0}.artifact-ppt .artifact-icon{background:#2e2119;color:#e8a071}.artifact-md .artifact-icon{background:#212a2f;color:#a3bccb}.artifact-card>div{min-width:0;display:grid;gap:3px}.artifact-card b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.artifact-card small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted-2);font-size:9px}.artifact-card>button{min-height:32px;padding:0 10px;display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:9px;color:var(--text);font-size:10px}.artifact-card>button:hover{background:var(--surface-2);border-color:var(--muted-2)}.artifact-card>button svg{font-size:14px}.artifact-card>.artifact-download{width:34px;padding:0;justify-content:center}.message-table-wrap{width:100%;margin:18px 0 20px;overflow-x:auto;border-block:1px solid var(--border);-webkit-overflow-scrolling:touch}.message-table-wrap table{width:100%;min-width:620px;border-collapse:collapse;table-layout:fixed}.message-table-wrap th,.message-table-wrap td{padding:12px 14px;border-bottom:1px solid var(--border-soft);text-align:left;vertical-align:top;overflow-wrap:anywhere}.message-table-wrap th{color:var(--text);font-size:10px;font-weight:650;line-height:1.4}.message-table-wrap td{color:var(--muted);font-size:11px;line-height:1.55}.message-table-wrap tbody tr:last-child td{border-bottom:0}.work-conversation .conversation-view{max-width:1044px;padding-left:58px;padding-right:32px}.work-conversation .conversation-thread{padding-top:34px;gap:23px}.work-conversation .message-assistant{max-width:900px}.work-conversation .message-body{width:100%}.work-conversation .message-body>strong{display:none}.work-conversation .message-user{max-width:min(82%,760px)}.sidebar-work .sidebar-mode-switcher button{font-size:11px}.sidebar-work .chat-sidebar-section h2,.sidebar-work .thread-open span,.sidebar-work .chat-project span{font-size:12px}.work-plan{width:100%;margin:6px 0 18px;color:var(--text)}.work-plan ol{margin:0;padding:0;list-style:none}.work-plan-step{position:relative;min-height:70px;margin-left:12px;padding:12px 0 12px 31px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border-left:1px solid var(--border)}.work-plan-step:last-child{border-left-color:transparent}.work-plan-step.active{margin-block:2px;padding-right:10px;border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--accent) 7%,transparent)}.work-step-icon{position:absolute;width:24px;height:24px;margin-left:-43px;display:grid;place-items:center;border-radius:50%;background:var(--bg);color:var(--muted-2);font-size:20px}.work-plan-step.complete .work-step-icon{color:var(--good)}.work-plan-step.active .work-step-icon{color:var(--accent)}.work-plan-step>div{min-width:0;display:grid;gap:4px}.work-plan-step strong{color:var(--text);font-size:13px;font-weight:600;line-height:1.35}.work-plan-step small{color:var(--muted-2);font-size:11px;line-height:1.35}.work-step-status{display:flex;align-items:center;gap:7px;color:var(--muted)!important}.work-step-status>span{width:18px;height:18px;flex:0 0 auto;font-size:17px}.work-plan-stop{min-height:34px;padding:0 11px;display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:9px;color:var(--muted);font-size:10px}.work-plan-stop:hover{color:var(--text);background:var(--surface-2)}.work-plan-stop svg{font-size:11px}.work-plan-collapse{margin:0 0 4px auto;padding:5px 7px;display:block;color:var(--muted-2);font-size:9px}.work-plan-summary{width:100%;min-height:44px;margin:5px 0 16px;padding:0 12px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;border-block:1px solid var(--border-soft);color:var(--text);text-align:left;font-size:11px}.work-plan-summary>svg{color:var(--good);font-size:18px}.work-plan-expand{color:var(--muted-2);font-size:9px}.work-loading-state{width:100%;display:flex;align-items:flex-start;gap:12px}.work-pending-artifact{width:100%;min-height:96px;margin:22px 0 4px;padding:14px 12px;display:grid;grid-template-columns:40px minmax(0,1fr) 28px;align-items:center;gap:11px;border:1px solid var(--border-soft);border-radius:12px;background:color-mix(in srgb,var(--surface) 56%,transparent);color:var(--text)}.work-pending-artifact>div{min-width:0;display:grid;gap:2px}.work-pending-artifact b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.work-pending-artifact small{color:var(--muted);font-size:9px}.work-pending-artifact div>span{margin-top:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted-2);font-size:9px}.work-pending-artifact>svg{justify-self:center;color:var(--muted-2);font-size:17px}.work-conversation .artifact-card{max-width:none;border-color:var(--border);border-radius:12px;background:transparent;box-shadow:none}.work-conversation .artifact-pdf .artifact-icon,.work-pending-artifact.artifact-pdf .artifact-icon{background:#3a211e;color:#ff8e80}.work-conversation .artifact-csv .artifact-icon{background:#21301d;color:#b6e389}.work-conversation .artifact-xls .artifact-icon{background:#1c3325;color:#a2e6b6}.work-conversation .artifact-doc .artifact-icon{background:#1e2a3a;color:#a8c6ef}.work-conversation .artifact-ppt .artifact-icon{background:#37271d;color:#f0ad7c}.work-conversation .artifact-md .artifact-icon{background:#223038;color:#a9c6d6}.work-conversation .message-table-wrap th{padding-block:14px;font-size:11px}.work-conversation .message-table-wrap th:first-child,.work-conversation .message-table-wrap td:first-child{width:16%}.work-conversation .message-table-wrap th:not(:first-child),.work-conversation .message-table-wrap td:not(:first-child){width:28%}.work-conversation .message-table-wrap td{padding-block:18px;font-size:13px;line-height:1.6}:root[data-theme=light] .artifact-pdf .artifact-icon,:root[data-theme=system-light] .artifact-pdf .artifact-icon{background:#e33b32;color:#fff}:root[data-theme=light] .artifact-csv .artifact-icon,:root[data-theme=system-light] .artifact-csv .artifact-icon{background:#3f8f2f;color:#fff}:root[data-theme=light] .artifact-xls .artifact-icon,:root[data-theme=system-light] .artifact-xls .artifact-icon{background:#1d7145;color:#fff}:root[data-theme=light] .artifact-doc .artifact-icon,:root[data-theme=system-light] .artifact-doc .artifact-icon{background:#2b5797;color:#fff}:root[data-theme=light] .artifact-ppt .artifact-icon,:root[data-theme=system-light] .artifact-ppt .artifact-icon{background:#c0451f;color:#fff}:root[data-theme=light] .artifact-md .artifact-icon,:root[data-theme=system-light] .artifact-md .artifact-icon{background:#405a68;color:#fff}.code-block{margin:13px 0;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:#0d0f0d}.code-block-head{min-height:33px;padding:0 8px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border-soft);background:#141714;color:var(--muted-2);font-family:DM Mono,Consolas,monospace;font-size:10px}.code-block-head button{min-height:25px;padding:0 8px;display:flex;align-items:center;gap:5px;border-radius:7px;color:var(--muted);font-family:Inter,system-ui,sans-serif;font-size:10px}.code-block-head button:hover{color:var(--text);background:#22271f}.code-block-head button svg{font-size:13px}.code-block .message-code{margin:0;border:0;border-radius:0}.message-code{max-width:100%;margin:12px 0;padding:14px 16px;overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:#0d0f0d;color:#d8ddd5;font-family:DM Mono,Consolas,monospace;font-size:12px;line-height:1.65}.inline-code{padding:2px 5px;border:1px solid var(--border);border-radius:5px;background:#1a1d19;color:#dbe3d4;font-family:DM Mono,Consolas,monospace;font-size:.88em}.message-text ol{margin:8px 0 13px;padding-left:23px;display:grid;gap:5px}.stream-caret{display:inline-block;width:7px;height:15px;margin-left:2px;vertical-align:text-bottom;border-radius:2px;background:var(--accent);animation:caret-blink 1.05s steps(2,start) infinite}@keyframes caret-blink{50%{opacity:0}}.message-actions{display:flex;gap:3px;margin:10px 0 -4px -7px;opacity:0;transition:opacity .14s ease}.message-assistant:hover .message-actions,.message-actions:focus-within{opacity:1}.message-actions button{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;color:var(--muted-2);font-size:15px}.message-actions button:hover{color:var(--text);background:var(--surface-2)}.message-activity{padding-left:0}.thinking-line{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.thinking-elapsed{margin-right:-6px;color:var(--muted-2);font-size:11px;font-variant-numeric:tabular-nums;animation:thinking-word-in .45s ease}.thinking-hand{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;color:var(--accent);font-size:31px}.thinking-word{background:linear-gradient(90deg,var(--muted) 30%,var(--thinking-highlight) 50%,var(--muted) 70%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:thinking-word-in .45s ease,thinking-shimmer 2.2s linear infinite}@keyframes thinking-word-in{0%{opacity:0}to{opacity:1}}@keyframes thinking-shimmer{0%{background-position:180% 0}to{background-position:-180% 0}}.conversation-error{margin:-12px 0 0 42px;color:#e8a891;font-size:11px}.conversation-compose-stack>.composer{min-height:92px;padding:13px 15px 10px;border-radius:20px;box-shadow:0 14px 36px #00000038}.conversation-compose-stack>.composer textarea{min-height:30px;max-height:110px;font-size:14px}.conversation-compose-stack>.composer .composer-controls{margin-top:4px}.conversation-compose-stack{min-width:0;position:relative}.queued-prompt{min-width:0;height:47px;margin:0 16px -7px;padding:0 9px 6px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto 30px 30px;align-items:center;gap:5px;border:1px solid #3a3e3a;border-bottom:0;border-radius:15px 15px 0 0;background:#2a2d2a;color:#e3e4df}.queued-prompt-main{min-width:0;display:flex;align-items:center;gap:9px;font-size:11px}.queued-prompt-main>svg{flex:0 0 auto;color:#9ca199}.queued-prompt-main span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.steer-button{height:30px;padding:0 8px;display:flex;align-items:center;gap:5px;border-radius:8px;color:#b7bbb5;font-size:10px}.steer-button:hover{background:#373a37;color:var(--text)}.queue-icon-button{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#9fa39d;font-size:15px}.queue-icon-button:hover{color:var(--text);background:#373a37}.queue-dots{margin-top:-5px;letter-spacing:1px}.queue-menu-wrap{position:relative}.queue-menu{position:absolute;right:0;bottom:35px;z-index:14;width:165px;padding:6px;border:1px solid #424642;border-radius:11px;background:#292c29;box-shadow:0 16px 42px #00000073}.queue-menu button{width:100%;height:35px;padding:0 10px;border-radius:7px;color:#d9dbd6;text-align:left;font-size:10px}.queue-menu button:hover{background:#373a37}.message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}.message-attachment img{display:block;width:min(260px,42vw);max-height:230px;object-fit:cover;border:1px solid #3a3e3a;border-radius:12px}.message-attachment audio{width:min(320px,65vw);height:36px}.message-attachment .attachment-preview{width:180px}.entity-panel{position:relative;min-width:0;height:100%;overflow-y:auto;scrollbar-width:thin;border-left:1px solid var(--border);background:#111410;box-shadow:-18px 0 48px #0000002e}.entity-close{position:absolute;top:14px;right:14px;z-index:3;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#141613db;color:#f0f1ed;box-shadow:0 6px 18px #00000038;font-size:18px}.entity-close:hover{background:#292d28}.entity-image{display:block;width:100%;aspect-ratio:1.18;object-fit:contain;object-position:center;background:#e4e4e0}.entity-copy{padding:26px 25px 92px}.entity-eyebrow{display:block;margin-bottom:8px;color:var(--accent);font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.entity-copy h2{margin:0 0 14px;color:#f2f2ee;font-family:Newsreader,Georgia,serif;font-size:27px;font-weight:500;line-height:1.15}.entity-copy p{margin:0 0 14px;color:#cdd0ca;font-size:12px;line-height:1.7}.entity-copy a{display:inline-flex;align-items:center;gap:6px;margin-top:5px;color:var(--accent);font-size:10px;text-decoration:none}.entity-copy a:hover{text-decoration:underline}.entity-loading{min-height:60vh;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--muted);font-size:11px}.entity-loading svg{color:var(--accent);font-size:24px}.entity-follow-up{position:sticky;left:100%;bottom:18px;width:max-content;min-height:46px;margin:0 18px 18px auto;padding:0 18px;display:flex;align-items:center;gap:8px;border-radius:24px;background:#f1f2ed;color:#171a16;font-size:11px;font-weight:650;box-shadow:0 12px 35px #00000057}.entity-follow-up:hover{transform:translateY(-1px);background:#fff}.app-preview{max-width:610px;margin-top:16px;padding:10px;display:grid;grid-template-columns:36px minmax(0,1fr) auto 34px;align-items:center;gap:10px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.app-preview-current{box-shadow:0 12px 34px #0000001f}.app-preview-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--surface-3);color:var(--accent);font-size:19px}.app-preview>div{min-width:0;display:grid;gap:3px}.app-preview b,.app-preview small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-preview b{font-size:12px}.app-preview small{color:var(--muted-2);font-size:10px}.app-preview button,.app-workspace-header button,.app-workspace-tabs button,.app-workspace-code footer button{border:1px solid transparent;color:var(--text)}.app-preview button:hover,.app-workspace-header button:hover,.app-workspace-tabs button:hover,.app-workspace-code footer button:hover{background:var(--surface-3)}.app-preview-open{min-height:34px;padding:0 11px;display:flex;align-items:center;gap:6px;border-color:var(--border)!important;border-radius:9px;font-size:10px;font-weight:650}.app-preview-download{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;font-size:16px}.conversation-workspace.app-workspace-open{position:relative;grid-template-columns:minmax(390px,1fr) var(--app-panel-width)}.app-workspace-open .conversation-view{max-width:820px}.app-workspace-panel{position:relative;min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:55px 43px minmax(0,1fr);overflow:hidden;border-left:1px solid var(--border);background:var(--bg)}.app-workspace-resizer{position:absolute;z-index:3;inset:0 auto 0 -6px;width:12px;cursor:col-resize;touch-action:none}.app-workspace-resizer span{position:absolute;inset:0 auto 0 5px;width:2px;background:transparent;transition:background .15s ease}.app-workspace-resizer:hover span,.app-workspace-resizer:active span{background:var(--accent)}.app-workspace-header{padding:0 11px 0 16px;display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--border-soft)}.app-workspace-header>div{flex:1;min-width:0;display:grid;gap:2px}.app-workspace-header strong,.app-workspace-header small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-workspace-header strong{font-size:12px}.app-workspace-header small{color:var(--muted-2);font-size:9px}.app-workspace-header button{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;font-size:16px}.app-workspace-tabs{padding:0 12px;display:flex;align-items:end;gap:4px;border-bottom:1px solid var(--border-soft)}.app-workspace-tabs button{position:relative;min-height:39px;padding:0 11px;display:flex;align-items:center;gap:6px;border-radius:8px 8px 0 0;color:var(--muted);font-size:10px;font-weight:650}.app-workspace-tabs button.selected{color:var(--text)}.app-workspace-tabs button.selected:after{content:"";position:absolute;inset:auto 8px -1px;height:2px;border-radius:2px 2px 0 0;background:var(--accent)}.app-code-dirty{width:5px;height:5px;border-radius:50%;background:var(--accent)}.app-workspace-preview{min-height:0;padding:10px;display:flex;flex-direction:column;gap:8px;background:var(--surface-2)}.app-run-error{flex:none;padding:8px 10px;display:flex;align-items:flex-start;gap:8px;border:1px solid #6c3a34;border-radius:9px;background:var(--danger-soft);color:var(--text);font-size:10px;line-height:1.45}.app-run-error svg{flex:none;margin-top:1px;color:var(--coral);font-size:13px}.app-workspace-preview iframe{width:100%;flex:1;min-height:0;display:block;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 10px 30px #0000001a}.app-workspace-code{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#101211}.app-workspace-code textarea{width:100%;height:100%;min-height:0;padding:16px;resize:none;border:0;outline:0;background:#101211;color:#e7ebe5;font:12px/1.58 SFMono-Regular,Consolas,Liberation Mono,monospace;-moz-tab-size:2;tab-size:2}.app-workspace-code footer{min-height:52px;padding:8px 10px;display:flex;align-items:center;gap:7px;border-top:1px solid #2b2e2b;background:#171917}.app-workspace-code footer span{flex:1;color:#9da39b;font-size:9px}.app-workspace-code footer .app-code-error{color:#ff9c9c}.app-workspace-code footer button{min-height:32px;padding:0 10px;border-radius:8px;color:#f1f4ef;font-size:9px;font-weight:650}.app-workspace-code footer .app-code-apply{display:flex;align-items:center;gap:5px;background:var(--accent);color:#11150f}.app-workspace-code footer .app-code-apply:disabled{opacity:.42;cursor:default}@media(max-width:1050px){.conversation-workspace.app-workspace-open{grid-template-columns:minmax(0,1fr)}.app-workspace-panel{position:absolute;z-index:18;inset:0 0 0 auto;width:min(100%,var(--app-panel-width));box-shadow:-18px 0 50px #00000029}}@media(max-width:720px){.app-preview{grid-template-columns:34px minmax(0,1fr) 34px}.app-preview-open{grid-column:1 / -1;justify-content:center}.app-workspace-panel{position:fixed;z-index:45;top:58px;right:0;bottom:0;left:0;width:100%;height:calc(var(--app-height, 100dvh) - 58px);border-left:0;box-shadow:none}.app-workspace-resizer{display:none}.app-workspace-code textarea{padding:13px;font-size:16px}}@media(max-width:1180px)and (min-width:721px){.conversation-workspace.entity-open{grid-template-columns:minmax(0,1fr)}.entity-panel{position:fixed;top:64px;right:0;z-index:35;width:min(430px,calc(100vw - var(--sidebar)));height:calc(var(--app-height, 100dvh) - 64px)}}.eyebrow{color:var(--accent);font-size:9px;font-weight:700;letter-spacing:.13em;display:block;margin-bottom:8px}.living-hand{position:relative;display:block;width:1em;height:1em;line-height:0;overflow:visible;perspective:9em;transform-origin:50% 82%;transform-style:preserve-3d;isolation:isolate}.living-hand--lime{filter:saturate(1.3) brightness(1.12) contrast(1.04) drop-shadow(0 2px 4px rgba(143,208,49,.3))}:root[data-theme=light] .living-hand--lime,:root[data-theme=system-light] .living-hand--lime{filter:saturate(1.65) brightness(.82) contrast(1.15) drop-shadow(0 2px 5px rgba(79,130,15,.3))}.living-hand--working{--motion-swing: 1;animation:hand-working var(--motion-duration) cubic-bezier(.42,0,.24,1) infinite}@keyframes hand-working{0%,to{transform:rotateY(calc(-3deg * var(--motion-swing))) rotate(calc(-3deg * var(--motion-swing))) translateY(calc(1px * var(--motion-swing))) scale(1)}18%{transform:rotateY(calc(-12deg * var(--motion-swing))) rotate(calc(-8deg * var(--motion-swing))) translateY(calc(-2px * var(--motion-swing))) scale(calc(1 + .025 * var(--motion-swing)))}38%{transform:rotateY(calc(9deg * var(--motion-swing))) rotate(calc(7deg * var(--motion-swing))) translateY(0) scale(calc(1 - .01 * var(--motion-swing)))}58%{transform:rotateY(calc(-8deg * var(--motion-swing))) rotate(calc(-5deg * var(--motion-swing))) translateY(calc(-2px * var(--motion-swing))) scale(calc(1 + .02 * var(--motion-swing)))}76%{transform:rotateY(calc(7deg * var(--motion-swing))) rotate(calc(5deg * var(--motion-swing))) translateY(0) scale(1)}}.living-hand--twist{animation:hand-performance-twist var(--motion-duration) cubic-bezier(.4,0,.2,1) both}.living-hand--wave{animation:hand-performance-wave var(--motion-duration) cubic-bezier(.37,0,.2,1) both}@keyframes hand-performance-twist{0%,10%,to{transform:rotateY(0) rotate(0) translate(0)}31%{transform:rotateY(-34deg) rotate(-5deg) translate(-4%)}52%{transform:rotateY(9deg) rotate(2deg) translate(1%)}75%{transform:rotateY(30deg) rotate(5deg) translate(4%)}88%{transform:rotateY(-4deg) rotate(-1deg) translate(0)}}@keyframes hand-performance-wave{0%,9%,to{transform:rotate(0) rotateY(0)}23%{transform:rotate(-11deg) rotateY(-8deg)}42%{transform:rotate(9deg) rotateY(7deg)}61%{transform:rotate(-8deg) rotateY(-5deg)}79%{transform:rotate(6deg) rotateY(4deg)}91%{transform:rotate(-2deg) rotateY(0)}}.living-hand__pose{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;opacity:0;-webkit-user-select:none;user-select:none;pointer-events:none;backface-visibility:hidden;transform-origin:50% 82%;will-change:opacity,transform}.living-hand__pose--open{opacity:1}@keyframes toast-in{0%{transform:translateY(12px);opacity:0}}.voice-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:32px 20px calc(32px + env(safe-area-inset-bottom));background:var(--bg);animation:voice-in .22s ease-out}@keyframes voice-in{0%{opacity:0}to{opacity:1}}.voice-close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;color:var(--muted);background:transparent;cursor:pointer}.voice-close:hover{color:var(--text);background:var(--surface-2)}.voice-stage{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.voice-orb{position:relative;display:grid;place-items:center;width:148px;height:148px;margin-bottom:14px;--voice-level: 0}.voice-orb:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid transparent;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 30%,transparent) 0%,transparent 70%);transform:scale(calc(.76 + (var(--voice-level) * .36)));transition:transform .08s ease-out,opacity .14s ease;opacity:0}.voice-orb--open:before{opacity:.3}.voice-orb--hearing:before{border-color:color-mix(in srgb,var(--accent) 62%,transparent);animation:voice-hearing-wave .72s ease-out infinite}.voice-orb--speaking:before{opacity:.72}.voice-orb:after{content:"";position:absolute;top:14px;right:14px;bottom:14px;left:14px;border:2px solid color-mix(in srgb,var(--accent) 42%,transparent);border-radius:50%;transform:scale(calc(.88 + (var(--voice-level) * .28)));transition:transform .08s ease-out,opacity .14s ease,border-color .14s ease,box-shadow .14s ease;opacity:.55}.voice-orb--hearing:after{border-color:color-mix(in srgb,var(--accent) 88%,white 12%);box-shadow:0 0 calc(12px + (var(--voice-level) * 24px)) color-mix(in srgb,var(--accent) 34%,transparent);opacity:calc(.78 + (var(--voice-level) * .2))}.voice-orb--speaking:not(.voice-orb--hearing):before{animation:voice-speaking-breathe 1.8s ease-in-out infinite}.voice-orb--speaking:after{opacity:.9}@keyframes voice-hearing-wave{0%{transform:scale(calc(.76 + (var(--voice-level) * .16)));opacity:.92}to{transform:scale(calc(1.08 + (var(--voice-level) * .28)));opacity:.08}}@keyframes voice-speaking-breathe{0%,to{transform:scale(.82)}50%{transform:scale(.94)}}.voice-orb .living-hand{width:74px;height:74px}.voice-status{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.01em;color:var(--text)}.voice-clock,.voice-footnote{margin:0;font-size:.82rem;color:var(--muted-2)}.voice-footnote{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom))}.voice-error{max-width:34ch;margin:2px 0 0;font-size:.88rem;color:var(--coral)}.voice-transcript{display:flex;flex-direction:column;gap:12px;width:min(560px,100%);max-height:32vh;padding:0 4px;overflow-y:auto;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 22px);mask-image:linear-gradient(to bottom,transparent,#000 22px)}.voice-line{margin:0;font-size:.95rem;line-height:1.55;color:var(--answer-text)}.voice-line span{display:block;margin-bottom:2px;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted-2)}.voice-line--user{color:var(--muted)}.voice-controls{display:flex;align-items:center;gap:12px}.voice-tool{display:grid;place-items:center;width:54px;height:54px;font-size:1.25rem;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:50%;cursor:pointer;transition:background .15s ease,color .15s ease}.voice-tool:hover:not(:disabled){background:var(--surface-3)}.voice-tool:disabled{opacity:.45;cursor:default}.voice-tool--on{color:var(--accent-ink);background:var(--accent);border-color:transparent}.voice-end,.voice-again{display:inline-flex;align-items:center;gap:8px;height:54px;padding:0 26px;font-family:inherit;font-size:.95rem;font-weight:600;color:#fff;background:#c4483a;border:0;border-radius:27px;cursor:pointer}.voice-end:hover{background:#d1503f}.voice-again{color:var(--accent-ink);background:var(--accent)}.voice-again:hover{background:var(--accent-hover)}.voice-stage--limit{max-width:40ch;gap:6px}.voice-stage--limit h2{margin:4px 0 0;font-size:1.5rem;letter-spacing:-.02em}.voice-stage--limit p{margin:0;color:var(--muted)}.voice-stage--limit small{margin-top:6px;color:var(--muted-2)}.voice-stage--limit .limit-actions{margin-top:18px}.voice-stage--limit .limit-contacts p{justify-content:center}@media(prefers-reduced-motion:reduce){.voice-overlay{animation:none}.voice-orb:before,.voice-orb:after{transition:none;animation:none}}@media(max-width:640px){.voice-orb{width:124px;height:124px}.voice-transcript{max-height:26vh}}@media(max-width:900px){:root{--sidebar: 254px}}@media(max-width:720px){html,body,#root{width:100%;height:var(--app-height, 100dvh);min-height:var(--app-height, 100dvh);overscroll-behavior:none}html,body{overflow:hidden}body{position:fixed;top:0;right:0;bottom:0;left:0}.app-shell,.main-shell{min-height:var(--app-height, 100dvh);height:var(--app-height, 100dvh);max-height:var(--app-height, 100dvh)}.main-shell{overflow:hidden}.sidebar{position:fixed;left:0;top:0;height:var(--app-height, 100dvh);transform:translate(-105%);transition:transform .22s ease;width:min(86vw,300px);flex-basis:auto;box-shadow:20px 0 60px #00000073}.sidebar.sidebar-open{transform:translate(0)}.thread-pin{opacity:1}.thread-hover-card,.sidebar-resizer{display:none}.message-actions{opacity:1}.memory-body,.memory-actions{padding-inline:18px}.memory-toast{left:16px;right:16px;bottom:16px}.project-modal-backdrop{padding:12px;place-items:end center}.project-modal{width:100%;max-height:calc(var(--app-height, 100dvh) - 24px);overflow-y:auto;border-radius:17px}.project-modal-header{height:60px;padding:0 18px}.project-modal-header h2{font-size:19px}.project-modal form{padding:0 18px 18px}.rename-thread-modal .project-modal-header{padding:21px 18px 13px}.rename-thread-input{height:48px;font-size:16px}.source-heading{display:grid;gap:4px}.source-heading span{text-align:left}.source-options{grid-template-columns:1fr}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:19;background:#00000085}.mobile-close,.mobile-brand,.menu-button{display:grid}.topbar{position:sticky;top:0;z-index:10;height:58px;min-height:58px;padding:0 12px;display:grid;grid-template-columns:38px 1fr 38px}.expand-button{display:none}.mobile-brand{justify-content:center}.mobile-brand .version-badge{display:none}.mobile-brand .brand-mark{width:30px;height:30px;font-size:23px}.mobile-brand .brand-word{font-size:12px}.mode-switcher,.workspace-title,.theme-toggle span{display:none}.theme-toggle,.auth-brand .theme-toggle{width:34px;min-width:34px;height:34px;padding:0;gap:0}.topbar-actions{justify-content:flex-end}.topbar-model{display:grid;justify-items:center}.topbar-model .model-picker{font-size:12px}.topbar-model .model-menu{top:38px;bottom:auto;left:50%;transform:translate(-50%)}.conversation-compose-stack .model-select{display:none}.content-shell{min-height:0;overflow:hidden;padding-bottom:0}.empty-view{height:calc(var(--app-height, 100dvh) - 58px);min-height:calc(var(--app-height, 100dvh) - 58px);padding:0 17px max(12px,env(safe-area-inset-bottom));justify-content:flex-start}.empty-heading{margin-top:auto;gap:9px}.empty-heading h1{font-size:34px}.empty-view>p{font-size:11px;margin:9px auto 0}.empty-view .garo-quote{margin:9px auto 0}.empty-view>.composer{margin-top:auto}.empty-view>.chat-limit-note{margin-bottom:0}.greeting{gap:9px}.greeting-mark{font-size:42px}.greeting h1{font-size:34px}.composer{min-height:132px;border-radius:20px;padding:14px 14px 11px}.composer-compact{min-height:76px;padding:10px 11px 8px;border-radius:17px}.composer-compact textarea{min-height:24px}.composer textarea,.composer-compact textarea,.conversation-compose-stack>.composer textarea{font-size:16px!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}.composer textarea{min-height:48px}.model-picker{max-width:130px;white-space:nowrap;overflow:hidden}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.suggestions button{min-height:55px;align-items:flex-start;text-align:left;line-height:1.35}.conversation-view{height:calc(var(--app-height, 100dvh) - 58px);padding:0 12px max(10px,env(safe-area-inset-bottom))}.conversation-workspace{height:calc(var(--app-height, 100dvh) - 58px);overflow:hidden}.conversation-workspace.entity-open{grid-template-columns:1fr}.entity-panel{position:fixed;top:58px;right:0;bottom:0;left:0;z-index:35;height:calc(var(--app-height, 100dvh) - 58px);border-left:0;border-top:1px solid var(--border);box-shadow:0 -22px 60px #0006}.entity-image{max-height:44dvh;aspect-ratio:1.2}.entity-copy{padding:22px 19px 90px}.entity-copy h2{font-size:24px}.conversation-thread{padding:27px 4px 20px;gap:22px;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.message{font-size:13px}.message-user{max-width:85%}.assistant-mark{width:34px;height:34px;font-size:27px}.message-activity{padding-left:0}.thinking-hand{width:34px;height:34px;font-size:27px}.conversation-compose-stack{padding-bottom:env(safe-area-inset-bottom)}:root[data-keyboard=open] .conversation-view{padding-bottom:6px}:root[data-keyboard=open] .conversation-compose-stack{padding-bottom:0}.conversation-compose-stack>.composer{min-height:78px;padding:10px 11px 8px}.work-conversation .conversation-view{padding-inline:12px}.work-conversation .conversation-thread{padding-top:22px;gap:20px}.work-conversation .message-user{max-width:90%}.work-plan{margin-top:2px}.work-plan-step{min-height:58px;margin-left:10px;padding-left:27px;grid-template-columns:minmax(0,1fr);gap:7px}.work-step-icon{margin-left:-38px}.work-plan-step.active{padding-right:8px}.work-plan-stop{width:fit-content;min-height:30px;margin-top:2px}.message-table-wrap{margin-inline:-38px 0;width:calc(100% + 38px)}.message-table-wrap table{min-width:660px}.work-pending-artifact{grid-template-columns:36px minmax(0,1fr) 24px}.work-pending-artifact .artifact-icon{width:36px;height:36px}.queued-prompt{margin-inline:7px;grid-template-columns:minmax(0,1fr) auto 28px}.queued-prompt>.queue-icon-button{display:none}.steer-button{padding-inline:6px}.composer-add-menu{width:min(270px,calc(100vw - 48px))}.attachment-image{width:135px}.conversation-error{margin-left:39px}.artifact-card{grid-template-columns:38px minmax(0,1fr) 34px}.artifact-card>button:not(.artifact-download){display:none}.source-links a{max-width:100%;flex:1 1 180px}.auth-screen{padding:18px}.auth-brand .version-badge{display:none}.auth-card{margin-top:-35px;padding:30px 23px 27px;border-radius:18px}.auth-card h1{font-size:30px}}@media(max-width:420px){.suggestions{grid-template-columns:1fr}.suggestions button{min-height:43px;align-items:center}.greeting h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}.living-hand,.living-hand__part,.living-hand__pose{animation:none!important;transform:none!important}}.about-facts{margin:20px 0 0;display:grid;gap:1px;border-radius:10px;overflow:hidden;background:var(--border)}.about-facts>div{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px;padding:10px 12px;background:var(--surface)}.about-facts dt{color:var(--muted-2);font-size:10px}.about-facts dd{margin:0;color:var(--text);font-size:11px;line-height:1.5}.memory-views{display:flex;align-items:center;gap:4px;margin:14px 0 10px}.memory-views button{height:28px;padding:0 12px;border-radius:8px;color:var(--muted);font-size:11px;font-weight:600}.memory-views button:hover{color:var(--text);background:var(--surface-2)}.memory-views button.active{color:var(--on-accent);background:var(--accent)}.memory-legend{margin-left:auto;display:flex;align-items:center;gap:7px;color:var(--muted-2);font-size:9px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto}.dot.manual{background:var(--accent)}.dot.auto{background:var(--muted-2)}.memory-legend .dot{margin-left:5px}.memory-graph-wrap{display:grid;gap:10px}.memory-graph-stage{position:relative}.memory-graph{width:100%;height:auto;display:block;border:1px solid var(--border);border-radius:14px;background:var(--surface);touch-action:none;cursor:grab}.memory-graph:active{cursor:grabbing}.memory-edge{stroke:var(--border);transition:stroke .18s ease,opacity .18s ease}.memory-edge.lit{stroke:var(--accent);opacity:.9}.memory-edge.dim{opacity:.22}.memory-node{cursor:grab}.memory-node:active{cursor:grabbing}.memory-node-hit{fill:transparent}.memory-node-dot{transition:fill .18s ease}.memory-node.auto .memory-node-dot{fill:var(--muted-2)}.memory-node.manual .memory-node-dot{fill:var(--accent)}.memory-node-label{fill:var(--muted);text-anchor:middle;pointer-events:none;transition:fill .18s ease,opacity .18s ease}.memory-node:hover .memory-node-dot{fill:var(--accent)}.memory-node:hover .memory-node-label{fill:var(--text)}.memory-node.selected .memory-node-dot{fill:var(--accent);stroke:var(--text);stroke-width:1.5}.memory-node.selected .memory-node-label{fill:var(--text)}.memory-node.dim{opacity:.28}.memory-node:focus,.memory-node:focus-visible{outline:none}.memory-node:focus-visible .memory-node-dot{stroke:var(--accent);stroke-width:1.5}.memory-graph-tools{position:absolute;right:10px;bottom:10px;display:flex;gap:4px}.memory-graph-tools button{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);font-size:13px;line-height:1}.memory-graph-tools button:hover{color:var(--text);border-color:var(--muted-2)}.memory-selected{margin:0;padding:12px 13px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.memory-selected blockquote{margin:0 0 9px;color:var(--text);font-size:12px;line-height:1.6}.memory-selected figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted-2);font-size:10px}.memory-selected figcaption button{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.memory-selected figcaption button:hover{color:var(--coral)}.memory-hint{margin:0;color:var(--muted-2);font-size:10px;text-align:center}.memory-list li{display:grid;grid-template-columns:7px minmax(0,1fr) 28px;align-items:center;gap:9px}@media(max-width:720px){.memory-legend{display:none}}.memory-intro{display:grid;gap:10px;padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.memory-intro p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.memory-chat-link{justify-self:start;display:flex;align-items:center;gap:7px;min-height:32px;padding:0 12px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:650}.memory-chat-link:hover{filter:brightness(1.06)}.memory-chat-link svg{font-size:14px}.memory-popup-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;padding:22px;background:#0405049e;border-radius:18px}.memory-popup{width:min(400px,100%);padding:15px 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-3);box-shadow:0 20px 50px #0000006b}.memory-popup header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.memory-popup-kind{color:var(--muted-2);font-size:9px;letter-spacing:.07em;text-transform:uppercase}.memory-popup header button{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;color:var(--muted)}.memory-popup header button:hover{color:var(--text);background:var(--surface-2)}.memory-popup>p{margin:0 0 14px;color:var(--text);font-size:13px;line-height:1.6}.memory-popup footer{display:grid;gap:10px}.memory-popup footer>span{color:var(--muted-2);font-size:10px}.memory-popup-actions{display:flex;gap:8px}.memory-popup-actions button{display:flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:8px;border:1px solid var(--border);font-size:10px}.memory-popup-chat{color:var(--text)}.memory-popup-chat:hover{border-color:var(--accent);color:var(--accent)}.memory-popup-delete{color:var(--muted)}.memory-popup-delete:hover{border-color:var(--coral);color:var(--coral)}.memory-stage{position:relative;display:grid}.memory-stage-pane{grid-area:1 / 1;display:grid;gap:10px;transition:opacity .26s ease,transform .26s ease,filter .26s ease}.memory-stage.stage-graph .memory-chat,.memory-stage.stage-chat .memory-graph-wrap{opacity:0;pointer-events:none;transform:scale(.97);filter:blur(3px)}.memory-stage.stage-graph .memory-graph-wrap,.memory-stage.stage-chat .memory-chat{opacity:1;transform:none;filter:none}.memory-chat{grid-template-rows:minmax(0,1fr) auto;min-height:300px}.memory-chat-thread{min-height:0;overflow-y:auto;max-height:300px;padding:14px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.memory-chat-line{max-width:86%;padding:9px 12px;border-radius:14px;font-size:12px;line-height:1.6;white-space:pre-wrap;animation:memory-line-in .2s ease-out}@keyframes memory-line-in{0%{opacity:0;transform:translateY(5px)}}.memory-chat-line.user{align-self:flex-end;background:var(--raised-bg);color:var(--text);border-bottom-right-radius:5px}.memory-chat-line.assistant{align-self:flex-start;background:var(--surface-2);color:var(--text);border-bottom-left-radius:5px}.memory-chat-line.thinking{display:flex;gap:4px;align-items:center;padding:12px}.memory-chat-line.thinking i{width:5px;height:5px;border-radius:50%;background:var(--muted-2);animation:memory-think 1.05s ease-in-out infinite}.memory-chat-line.thinking i:nth-child(2){animation-delay:.16s}.memory-chat-line.thinking i:nth-child(3){animation-delay:.32s}@keyframes memory-think{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.memory-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px}.memory-chat-form input{min-width:0;height:40px;padding:0 13px;border-radius:11px;font-size:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none}.memory-chat-form input:focus{border-color:var(--accent)}.memory-chat-form button{width:36px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--accent);color:var(--on-accent);font-size:15px}.memory-chat-form button:disabled{opacity:.4;cursor:default}.memory-orb{position:absolute;top:12px;right:12px;z-index:6;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--border);background:var(--surface-3);color:var(--accent);font-size:18px;box-shadow:0 8px 22px #0000004d;transition:transform .2s ease,border-color .2s ease,color .2s ease}.memory-orb:hover{transform:scale(1.07);border-color:var(--accent)}.memory-orb:active{transform:scale(.95)}.memory-orb-pulse{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:50%;border:1px solid var(--accent);opacity:.5;animation:memory-orb-breathe 2.8s ease-out infinite}@keyframes memory-orb-breathe{0%{transform:scale(1);opacity:.5}70%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.memory-orb-badge{position:absolute;top:2px;right:2px;width:8px;height:8px;border-radius:50%;background:var(--accent);border:2px solid var(--surface-3)}.memory-popup-confirm{display:grid;gap:9px}.memory-popup-confirm strong{font-size:12px;color:var(--text)}@media(prefers-reduced-motion:reduce){.memory-orb-pulse,.memory-chat-line.thinking i{animation:none!important}}
