:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--t-bg:var(--tg-theme-bg-color,#fff);--t-bg-secondary:var(--tg-theme-secondary-bg-color,#f1f1f4);--t-section-bg:var(--tg-theme-section-bg-color,#fff);--t-header-bg:var(--tg-theme-header-bg-color,#f6f6f6);--t-bottom-bar-bg:var(--tg-theme-bottom-bar-bg-color,#f6f6f6);--t-text:var(--tg-theme-text-color,#000);--t-accent:var(--tg-theme-accent-text-color,#2481cc);--t-subtitle:var(--tg-theme-subtitle-text-color,#8e8e93);--t-hint:var(--tg-theme-hint-color,#8e8e93);--t-section-header:var(--tg-theme-section-header-text-color,#6d6d72);--t-separator:var(--tg-theme-section-separator-color,#00000014);--t-link:var(--tg-theme-link-color,#2481cc);--t-button:var(--tg-theme-button-color,#50a8eb);--t-button-text:var(--tg-theme-button-text-color,#fff);--t-destructive:var(--tg-theme-destructive-text-color,#ff3b30);--t-chat-bg:var(--t-bg-secondary);--t-bubble-in-bg:var(--t-section-bg);--t-bubble-out-bg:var(--t-button);--t-bubble-out-text:var(--t-button-text);--t-badge-bg:var(--t-button);--t-badge-text:var(--t-button-text);--t-scrim:#0006;--t-mark:#ffcc0073;--t-code-bg:var(--t-section-bg);--t-viewer-bg:#000;--t-name-blue:#2481cc;--t-name-green:#40a920;--t-name-violet:#955cdb;--t-name-red:#cc5049;--t-name-orange:#d67722;--t-name-pink:#c7508b;--t-name-cyan:#309eba;--t-syn-text:var(--t-text);--t-syn-key:#cf222e;--t-syn-str:#0a3069;--t-syn-com:#6e7781;--t-syn-fn:#8250df;--t-syn-num:#0550ae;--t-radius-bubble:17px;--t-radius-bubble-tip:5px;--t-radius-sheet:14px;--t-radius-alert:14px;--t-radius-button:12px;--t-radius-block:12px;--t-radius-field:18px;--t-radius-pill:999px;--t-radius-tabbar:24px;--t-radius-avatar:50%;--t-space-1:4px;--t-space-2:8px;--t-space-3:12px;--t-space-4:16px;--t-space-5:24px;--t-space-6:32px;--t-header-h:56px;--t-composer-line-h:18px;--t-tabbar-h:58px;--t-avatar-row:40px;--t-avatar-chat:32px;--t-avatar-hero:96px;--t-fab:40px;--t-font-caption:13px;--t-font-title:22px;--t-font:-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--t-mono:ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--t-bg:var(--tg-theme-bg-color,#17212b);--t-bg-secondary:var(--tg-theme-secondary-bg-color,#0e1621);--t-section-bg:var(--tg-theme-section-bg-color,#232e3c);--t-header-bg:var(--tg-theme-header-bg-color,#232e3c);--t-bottom-bar-bg:var(--tg-theme-bottom-bar-bg-color,#232e3c);--t-text:var(--tg-theme-text-color,#f5f5f5);--t-accent:var(--tg-theme-accent-text-color,#6ab3f3);--t-subtitle:var(--tg-theme-subtitle-text-color,#7f91a4);--t-hint:var(--tg-theme-hint-color,#7f91a4);--t-section-header:var(--tg-theme-section-header-text-color,#7f91a4);--t-separator:var(--tg-theme-section-separator-color,#ffffff17);--t-link:var(--tg-theme-link-color,#6ab3f3);--t-button:var(--tg-theme-button-color,#5288c1);--t-button-text:var(--tg-theme-button-text-color,#fff);--t-destructive:var(--tg-theme-destructive-text-color,#ff453a);--t-scrim:#0009;--t-mark:#ffcc0059;--t-name-blue:#6ab3f3;--t-name-green:#7bc96f;--t-name-violet:#b18cff;--t-name-red:#ff7b72;--t-name-orange:#f0a35e;--t-name-pink:#ff8fb3;--t-name-cyan:#5ec9e0;--t-syn-key:#ff7b72;--t-syn-str:#a5d6ff;--t-syn-com:#8b949e;--t-syn-fn:#d2a8ff;--t-syn-num:#79c0ff}}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--t-bg);color:var(--t-text);font-family:var(--t-font);-webkit-font-smoothing:antialiased}main.page:not(.page-chat){justify-content:center;align-items:center;gap:var(--t-space-2);min-height:100dvh;padding:var(--t-space-5);text-align:center;flex-direction:column;display:flex}p.status{font-size:calc(var(--t-space-1) * 4.25);margin:0;line-height:1.45}.login-button{margin-top:var(--t-space-3);padding:var(--t-space-3) calc(var(--t-space-1) * 7);border-radius:var(--t-radius-button);background:var(--t-button);color:var(--t-button-text);font-size:var(--t-space-4);font-weight:600;text-decoration:none;display:inline-block}.login-button:active{opacity:.85}main.page-chat{height:100dvh;max-width:calc(var(--t-space-1) * 180);flex-direction:column;margin:0 auto;display:flex}header.chat-header{background:var(--t-bg);border-bottom:calc(var(--t-space-1) * .125) solid var(--t-separator);flex:none}nav.switcher{gap:var(--t-space-2);padding:calc(var(--t-space-1) * 2.5) var(--t-space-3) calc(var(--t-space-1) * 1.5);scrollbar-width:none;display:flex;overflow-x:auto}nav.switcher::-webkit-scrollbar{display:none}button.chip{align-items:center;gap:calc(var(--t-space-1) * 1.5);border-radius:var(--t-radius-pill);padding:calc(var(--t-space-1) * 1.5) var(--t-space-3);background:var(--t-bg-secondary);color:var(--t-text);font:inherit;font-size:calc(var(--t-space-1) * 3.5);cursor:pointer;-webkit-tap-highlight-color:var(--t-bg-secondary);border:none;flex:none;line-height:1.2;display:inline-flex}button.chip-active{background:var(--t-button);color:var(--t-button-text)}button.chip-active .dot{box-shadow:0 0 0 calc(var(--t-space-1) * .5) var(--t-separator)}.dot{width:var(--t-space-2);height:var(--t-space-2);border-radius:var(--t-radius-avatar);flex:none}.dot-running{background:var(--t-name-green)}.dot-queued{background:var(--t-name-orange)}.dot-idle{background:var(--t-hint);opacity:.55}p.switcher-empty{margin:calc(var(--t-space-1) * 2.5) var(--t-space-3) calc(var(--t-space-1) * 1.5);font-size:calc(var(--t-space-1) * 3.5);color:var(--t-hint)}.chat-heading{padding:calc(var(--t-space-1) * .5) var(--t-space-4) var(--t-space-2)}h1.chat-title{font-size:calc(var(--t-space-1) * 4.25);text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:600;line-height:1.3;overflow:hidden}p.statusline{margin:calc(var(--t-space-1) * .25) 0 0;font-size:calc(var(--t-space-1) * 3.25);color:var(--t-hint);line-height:1.3}p.statusline.working{color:var(--t-name-green)}p.statusline.queued{color:var(--t-name-orange)}p.statusline.limit{color:var(--t-destructive)}div.chat{padding:var(--t-space-3) var(--t-space-4) var(--t-space-5);gap:calc(var(--t-space-1) * 2.5);overscroll-behavior:contain;flex-direction:column;flex:1;display:flex;overflow-y:auto}p.chat-note{margin:var(--t-space-1) 0;font-size:calc(var(--t-space-1) * 3.25);text-align:center;color:var(--t-hint)}p.msg{font-size:var(--t-space-4);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;margin:0;line-height:1.42}details.tool{border-radius:var(--t-radius-block);background:var(--t-bg-secondary);max-width:100%;font-size:calc(var(--t-space-1) * 3.25);align-self:flex-start}details.tool>summary{align-items:baseline;gap:var(--t-space-2);padding:calc(var(--t-space-1) * 1.25) calc(var(--t-space-1) * 2.5);cursor:pointer;color:var(--t-hint);-webkit-tap-highlight-color:var(--t-bg-secondary);list-style:none;display:flex}details.tool>summary::-webkit-details-marker{display:none}details.tool>summary:before{content:"›";font-size:var(--t-space-3)}span.tool-name{color:var(--t-text);font-weight:600}span.tool-brief{text-overflow:ellipsis;white-space:nowrap;max-width:60vw;overflow:hidden}pre.tool-args{padding:var(--t-space-2) calc(var(--t-space-1) * 2.5);border-top:calc(var(--t-space-1) * .125) solid var(--t-separator);font-size:var(--t-space-3);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:40vh;margin:0;line-height:1.4;overflow-y:auto}p.mark{margin:calc(var(--t-space-1) * .5) 0;font-size:calc(var(--t-space-1) * 3.25);text-align:center;color:var(--t-hint)}p.mark-limit,p.mark-failed{color:var(--t-destructive)}button,textarea{font:inherit;color:inherit}button{cursor:pointer}.app-shell{height:100dvh;max-width:calc(var(--t-space-5) * 30);background:var(--t-bg);flex-direction:column;margin:0 auto;display:flex}.nav-header{min-height:var(--t-header-h);align-items:center;gap:var(--t-space-3);padding:var(--t-space-2) var(--t-space-4);background:var(--t-header-bg);border-bottom:calc(var(--t-space-1) / 8) solid var(--t-separator);flex:none;display:flex}.nav-header h1{font-size:calc(var(--t-space-4) + var(--t-space-1) / 4);margin:0;font-weight:600}.nav-header button{color:var(--t-link);background:0 0;border:0;padding:0}.rooms-header{justify-content:space-between}.rooms-header .plus{font-size:var(--t-space-6);min-width:var(--t-avatar-row);min-height:var(--t-avatar-row);line-height:1}.rooms-list{flex:1;min-height:0;overflow-y:auto}.rooms-note{padding:var(--t-space-3) var(--t-space-4);color:var(--t-hint);margin:0}.rooms-note-error{color:var(--t-destructive)}.room-row{align-items:center;gap:var(--t-space-3);width:100%;padding:var(--t-space-3) var(--t-space-4);border:0;border-bottom:calc(var(--t-space-1) / 8) solid var(--t-separator);background:var(--t-bg);text-align:left;display:flex}.avatar{width:var(--t-avatar-row);height:var(--t-avatar-row);border-radius:var(--t-radius-avatar);flex:none;display:inline-block;overflow:hidden}.avatar img,.avatar svg,.avatar>span{object-fit:cover;width:100%;height:100%;display:block}.avatar-hero{width:var(--t-avatar-hero);height:var(--t-avatar-hero)}.row-main{flex:1;min-width:0}.row-title{align-items:center;gap:var(--t-space-2);font-size:calc(var(--t-space-4) + var(--t-space-1) / 4);font-weight:600;display:flex}.row-preview{text-overflow:ellipsis;white-space:nowrap;margin-top:var(--t-space-1);color:var(--t-hint);font-size:calc(var(--t-space-4) - var(--t-space-1) / 4);display:block;overflow:hidden}.row-meta{justify-content:space-between;align-self:stretch;align-items:flex-end;gap:var(--t-space-1);color:var(--t-hint);font-size:calc(var(--t-space-3) + var(--t-space-1) / 4);flex-direction:column;display:flex}.row-badges{gap:var(--t-space-1);display:flex}.badge{min-width:calc(var(--t-space-5) - var(--t-space-1));height:calc(var(--t-space-5) - var(--t-space-1));padding:0 var(--t-space-1);border-radius:var(--t-radius-pill);background:var(--t-badge-bg);color:var(--t-badge-text);font-size:var(--t-space-3);justify-content:center;align-items:center;font-weight:600;display:inline-flex}.working-dots{align-items:center;gap:calc(var(--t-space-1) / 2);height:var(--t-space-4);display:inline-flex}.working-dots i{width:var(--t-space-1);height:var(--t-space-1);border-radius:var(--t-radius-avatar);background:var(--t-hint);animation:1.4s ease-in-out infinite working-pulse}.working-dots i:nth-child(2){animation-delay:.2s}.working-dots i:nth-child(3){animation-delay:.4s}@keyframes working-pulse{0%,70%,to{opacity:.35}35%{opacity:1}}@media (prefers-reduced-motion:reduce){.working-dots i{animation:none}}.tabbar{min-height:var(--t-tabbar-h);padding-bottom:env(safe-area-inset-bottom,0px);background:var(--t-bottom-bar-bg);border-top:calc(var(--t-space-1) / 8) solid var(--t-separator);flex:none;display:flex}.tabbar button{justify-content:center;align-items:center;gap:var(--t-space-1);padding:var(--t-space-2);color:var(--t-hint);font-size:var(--t-space-3);background:0 0;border:0;flex-direction:column;flex:1;display:flex}.tabbar .active{color:var(--t-link)}.tabbar svg{width:var(--t-space-5);height:var(--t-space-5);fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linejoin:round;stroke-linecap:round}.tabbar{margin:var(--t-space-2) var(--t-space-3) var(--t-space-3);border-radius:var(--t-radius-tabbar);box-shadow:0 calc(var(--t-space-1) / 4) var(--t-space-2) var(--t-separator);border:0}.rooms-list{background:var(--t-bg-secondary)}.row-title{white-space:nowrap;min-width:0}.row-title-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.row-title .sandbox-badge,.row-title .working-dots{flex:none}.room-header .room-heading{text-align:center;min-width:0;color:var(--t-text);flex:1}.room-heading h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nav-header svg:not(.avatar svg){width:var(--t-space-5);height:var(--t-space-5);stroke:currentColor;stroke-width:2px;fill:none;stroke-linecap:round;stroke-linejoin:round;display:block}.room-body{background:var(--t-chat-bg);flex:1;min-height:0;position:relative}.room-scroll{overflow-anchor:none;overscroll-behavior:contain;height:100%;overflow-y:auto}.virtual-items{width:100%;position:relative}.virtual-row{width:100%;padding:var(--t-space-1) var(--t-space-2);position:absolute;top:0;left:0}.day-separator{padding:var(--t-space-1) 0 var(--t-space-2);justify-content:center;display:flex}.day-separator span{border-radius:var(--t-radius-pill);padding:var(--t-space-1) var(--t-space-3);color:var(--t-subtitle);background:var(--t-section-bg);font-size:var(--t-space-3)}.message-row{gap:var(--t-space-2);align-items:flex-end;display:flex}.message-row.own{justify-content:flex-end}.message-row .avatar{width:var(--t-avatar-chat);height:var(--t-avatar-chat)}.bubble{max-width:86%;padding:var(--t-space-2) var(--t-space-3);border-radius:var(--t-radius-bubble);background:var(--t-bubble-in-bg);font-size:calc(var(--t-space-4) - var(--t-space-1) / 4);overflow-wrap:anywhere;line-height:1.35}.bubble.in{border-bottom-left-radius:var(--t-radius-bubble-tip)}.bubble.out{background:var(--t-bubble-out-bg);color:var(--t-bubble-out-text);border-bottom-right-radius:var(--t-radius-bubble-tip)}.message-name{font-size:calc(var(--t-space-3) + var(--t-space-1) / 4);margin-bottom:var(--t-space-1);font-weight:600}.name-blue{color:var(--t-name-blue)}.name-green{color:var(--t-name-green)}.name-violet{color:var(--t-name-violet)}.name-red{color:var(--t-name-red)}.name-orange{color:var(--t-name-orange)}.name-pink{color:var(--t-name-pink)}.name-cyan{color:var(--t-name-cyan)}.message-text{white-space:pre-wrap}.message-time{float:right;font-size:calc(var(--t-space-3) - var(--t-space-1) / 4);opacity:.65;margin-left:var(--t-space-2);margin-top:var(--t-space-1)}.recipient{font-size:var(--t-space-3);opacity:.8;margin-top:var(--t-space-1)}blockquote{margin:0 0 var(--t-space-1);padding:var(--t-space-1) var(--t-space-2);border-left:calc(var(--t-space-1) / 2) solid currentColor;border-radius:var(--t-radius-bubble-tip);background:var(--t-separator);font-size:var(--t-space-3)}blockquote strong,blockquote span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.page-loading{top:var(--t-space-2);z-index:1;border-radius:var(--t-radius-pill);background:var(--t-section-bg);padding:var(--t-space-1) var(--t-space-3);position:absolute;left:50%;transform:translate(-50%)}.composer{background:var(--t-header-bg);padding:var(--t-space-2);padding-bottom:max(var(--t-space-2), env(safe-area-inset-bottom));border-top:calc(var(--t-space-1) / 8) solid var(--t-separator);flex:none}form.composer,.composer>form{align-items:flex-end;gap:var(--t-space-2);display:flex}.composer textarea{resize:none;min-width:0;line-height:var(--t-composer-line-h);max-height:calc(var(--t-composer-line-h) * 6 + var(--t-space-2) * 2 + var(--t-space-1) / 2);padding:var(--t-space-2) var(--t-space-3);border-radius:var(--t-radius-field);background:var(--t-section-bg);border:calc(var(--t-space-1) / 4) solid var(--t-separator);outline-color:var(--t-link);flex:1}.composer textarea::placeholder{color:var(--t-hint)}.send{width:var(--t-fab);height:var(--t-fab);border-radius:var(--t-radius-avatar);background:var(--t-button);color:var(--t-button-text);border:0;flex:none;place-items:center;display:grid}.send svg{width:var(--t-space-5);height:var(--t-space-5);stroke:currentColor;stroke-width:2.4px;fill:none;stroke-linejoin:round;stroke-linecap:round}.send:disabled{opacity:.5}.reply-draft{gap:var(--t-space-2);padding:0 var(--t-space-1) var(--t-space-2);align-items:center;display:flex}.reply-draft blockquote{min-width:0;color:var(--t-link);flex:1;margin:0}.reply-draft button{color:var(--t-hint);font-size:var(--t-space-5);background:0 0;border:0}.room-error{padding:var(--t-space-2);text-align:center;color:var(--t-destructive);background:var(--t-section-bg);font-size:var(--t-space-3);margin:0}.login-button{justify-content:center;align-items:center;gap:var(--t-space-2);padding:var(--t-space-3) var(--t-space-5);margin:0;display:inline-flex}.login-button svg{width:var(--t-space-5);height:var(--t-space-5);fill:currentColor}p.status{font-size:calc(var(--t-space-3) + var(--t-space-1) / 4);color:var(--t-hint)}.profile-header h1,.profile-title{text-align:center;flex:1}.profile-header .profile-title{color:var(--t-text)}.profile-content{background:var(--t-bg-secondary);flex:1;min-height:0;overflow-y:auto}.profile-hero{align-items:center;gap:var(--t-space-2);padding:var(--t-space-5);background:var(--t-section-bg);margin-bottom:var(--t-space-5);flex-direction:column;display:flex}.profile-hero h2{font-size:calc(var(--t-space-5) - var(--t-space-1));margin:0}.profile-hero>span:not(.avatar){color:var(--t-hint);font-size:var(--t-space-3)}.profile-tiles{width:100%;margin-top:var(--t-space-3);grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.profile-tiles button{border-radius:var(--t-radius-button);background:var(--t-bg);color:var(--t-link);border:0;flex-direction:column;align-items:center;gap:7px;padding:12px 2px;font-size:11px;display:flex}.profile-tiles svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.empty-screen{flex:1}.legacy-header{flex:none}.subtitle{color:var(--t-subtitle);font-size:.875rem;display:block}.profile-list{background:var(--t-section-bg);border-radius:var(--t-radius-block);margin:var(--t-space-4);overflow:hidden}.profile-list .room-row{width:100%}.action-row{text-align:left;width:100%;padding:var(--t-space-4);border:0;border-bottom:1px solid var(--t-separator);background:var(--t-section-bg);color:var(--t-text);justify-content:space-between;align-items:center;display:flex}.accent{color:var(--t-accent)}.destructive{color:var(--t-destructive)}.sheet{width:100%;max-width:100%;max-height:90dvh;padding:var(--t-space-4);border-radius:var(--t-radius-sheet) var(--t-radius-sheet) 0 0;background:var(--t-bg-secondary);color:var(--t-text);border:0;margin:0 auto;position:fixed;inset:auto 0 0;overflow:auto}.sheet::backdrop{background:var(--t-scrim)}.sheet-header{justify-content:space-between;align-items:center;gap:var(--t-space-3);margin-bottom:var(--t-space-4);display:flex}.sheet-header h2{margin:0;font-size:1.125rem}.form-stack{gap:var(--t-space-4);flex-direction:column;display:flex}.form-stack label{gap:var(--t-space-2);flex-direction:column;display:flex}.form-stack input,.form-stack textarea,.form-stack select{width:100%;padding:var(--t-space-3);border:1px solid var(--t-separator);border-radius:var(--t-radius-button);background:var(--t-section-bg);color:var(--t-text);font:inherit}.form-stack textarea{min-height:calc(var(--t-header-h) * 3);resize:vertical}.primary{width:100%;padding:var(--t-space-3);border-radius:var(--t-radius-button);background:var(--t-button);color:var(--t-button-text);font:inherit;border:0}.primary:disabled{opacity:.5}.form-error{color:var(--t-destructive);padding:var(--t-space-3)}.photo-choice{cursor:pointer;align-items:center;gap:var(--t-space-2);color:var(--t-accent);flex-direction:column;display:flex}.photo-choice input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.photo-choice-group{align-items:center;gap:var(--t-space-3);flex-direction:column;width:100%;display:flex}.photo-button{justify-content:center;align-items:center;gap:var(--t-space-2);width:100%;padding:var(--t-space-3) var(--t-space-4);border-radius:var(--t-radius-button);background:var(--t-bg-secondary);color:var(--t-link);font:inherit;border:0;display:flex}.sheet .photo-button{background:var(--t-section-bg)}.photo-button svg{width:var(--t-space-5);height:var(--t-space-5);stroke:currentColor;stroke-width:1.8px;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.photo-button:disabled{opacity:.5}.profile-hero .photo-button{margin-top:var(--t-space-2)}.photo-choice-group .photo-skip{padding:var(--t-space-2) var(--t-space-4);border-radius:var(--t-radius-button);color:var(--t-link);background:0 0;border:0}.profile-name{color:var(--t-text);background:0 0;border:0}.role-description{gap:var(--t-space-2);width:100%;padding:var(--t-space-4);text-align:left;background:var(--t-section-bg);color:var(--t-text);white-space:pre-wrap;overflow-wrap:anywhere;border:0;flex-direction:column;display:flex}.queue-row{align-items:center;gap:var(--t-space-3);width:100%;padding:var(--t-space-4);border:0;border-bottom:1px solid var(--t-separator);color:var(--t-text);background:var(--t-section-bg);text-align:left;display:flex}.queue-row time{color:var(--t-subtitle);flex:none;font-size:.8125rem}.queue-row>span:first-of-type{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.entry-text{white-space:pre-wrap;overflow-wrap:anywhere}.model-group h3{margin:var(--t-space-4);color:var(--t-section-header);font-size:.875rem;font-weight:400}.model-group .profile-list{margin:var(--t-space-2) 0}.screen-Z5 .chat{background:var(--t-chat-bg);padding:var(--t-space-3)}.profile-title .statusline{justify-content:center;align-items:center;gap:var(--t-space-2);margin:0;display:flex}.code-edge{border-radius:var(--t-radius-block);background:var(--t-code-bg);max-width:100%;position:relative;overflow:hidden}.code-lines{max-width:100%;padding:var(--t-space-3);padding-right:var(--t-space-5);white-space:pre;color:var(--t-syn-text);font-family:var(--t-mono);margin:0;overflow-x:auto}.code-header{align-items:center;gap:var(--t-space-2);padding:0 var(--t-space-2) 0 var(--t-space-3);color:var(--t-hint);font-size:.75rem;display:flex}.code-language{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.code-header button{min-width:36px;min-height:40px;color:var(--t-link);background:0 0;border:0;flex:none;place-items:center;display:grid}.code-header svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.sheet:has(.expanded-code){overflow:hidden}.expanded-code .code-lines{max-height:calc(90dvh - var(--t-space-4) * 9);overflow:auto}.attachment-previews{gap:var(--t-space-2);padding:var(--t-space-2);display:flex;overflow-x:auto}.attachment-previews:empty{display:none}.attachment-previews>div{flex-shrink:0;position:relative}.attachment-previews img{width:var(--t-avatar-hero);height:var(--t-avatar-hero);object-fit:cover;border-radius:var(--t-radius-block)}.attachment-previews button{color:var(--t-text);background:var(--t-bg);border-radius:var(--t-radius-pill);position:absolute;top:0;right:0}.image-thumb{background:0 0;border:0;max-width:100%;padding:0;display:block}.image-thumb img{border-radius:var(--t-radius-block);max-width:100%;max-height:50vh;display:block}.image-viewer{box-sizing:border-box;width:100%;max-width:none;height:100%;max-height:none;padding:var(--t-space-4);background:var(--t-viewer-bg);color:var(--t-button-text);border:0;margin:0;inset:0}.image-viewer[open]{flex-direction:column;display:flex}.image-viewer header{flex-shrink:0;justify-content:space-between;display:flex}.image-viewer button{color:inherit;background:0 0}.image-viewer>img{object-fit:contain;flex:1;width:100%;min-height:0}.sheet-header>button,.image-viewer button,.attach{padding:var(--t-space-2);color:var(--t-link);min-width:calc(var(--t-space-6) + var(--t-space-3));min-height:calc(var(--t-space-6) + var(--t-space-3));background:0 0;border:0}.attach{flex:none}.attach svg{width:var(--t-space-5);height:var(--t-space-5);stroke:currentColor;stroke-width:2px;fill:none;display:block}.image-viewer button{color:var(--t-button-text)}.file-choice{padding:var(--t-space-3);border-radius:var(--t-radius-button);background:var(--t-section-bg);color:var(--t-link);cursor:pointer;position:relative}.file-choice input{opacity:0;width:1px;height:1px;position:absolute}.attachment-previews{flex-shrink:0}.attachment-previews img{display:block}.attachment-previews button{border:0}.backlog-compose textarea{min-height:calc(var(--t-header-h) * 1.5)}.restart-toggle{gap:var(--t-space-4)}.toggle-track{background:var(--t-subtitle);border-radius:20px;flex:none;align-items:center;width:44px;height:26px;padding:3px;transition:background .2s;display:flex}.toggle-track>span{background:var(--t-section-bg);border-radius:50%;width:20px;height:20px;transition:transform .2s}.restart-toggle[aria-checked=true] .toggle-track{background:var(--t-link)}.restart-toggle[aria-checked=true] .toggle-track>span{transform:translate(18px)}.search-content{flex-direction:column;flex:1;min-height:0;display:flex}.search-controls{gap:10px;padding:10px 16px;display:flex}.search-controls input{background:var(--t-bg-secondary);min-width:0;color:var(--t-text);font:inherit;border:0;border-radius:12px;flex:1;padding:12px}.scope-chip{background:var(--t-bg-secondary);max-width:38%;color:var(--t-text);border:0;border-radius:18px;padding:8px}.search-results{flex:1;overflow-y:auto}.search-results h2{color:var(--t-hint);margin:0;padding:12px 18px 4px;font-size:14px}.search-hit{text-align:left;border:0;border-bottom:1px solid var(--t-separator);width:100%;color:inherit;font:inherit;background:0 0;padding:16px 18px;line-height:1.4;display:block}.hit-meta{color:var(--t-hint);justify-content:space-between;gap:12px;margin-bottom:6px;font-size:13px;display:flex}mark{background:var(--t-mark);color:inherit;border-radius:calc(var(--t-space-1) / 2)}.search-sentinel{height:1px}.message-highlight .bubble,.history-highlight{outline:2px solid var(--t-link);outline-offset:3px}.history-page{flex:1;padding:18px;overflow-y:auto}.history-page article{background:var(--t-bg-secondary);border-radius:15px;margin:16px 0;padding:12px}.history-page button{appearance:none;color:var(--t-link);font:inherit;cursor:pointer;background:0 0;border:0;min-height:44px;padding:10px 0}.history-page button:disabled{opacity:.5;cursor:default}.screen-Z2{position:relative}.mention-fab{z-index:4;width:auto;height:auto;min-height:44px;right:18px;bottom:calc(90px + env(safe-area-inset-bottom));color:#222;background:#fff;border:1px solid #ddd;border-radius:28px;align-items:center;gap:5px;padding:12px 15px;font:600 23px/1 system-ui;display:flex;position:absolute;box-shadow:0 2px 9px #0002}.mention-fab span{font-size:13px}.settings-content{flex:1;min-height:0;padding:8px 18px 24px;overflow-y:auto}.settings-agent{border-bottom:1px solid var(--t-separator);padding:8px 0 20px}.settings-agent h2{font-size:17px}.settings-agent dl{grid-template-columns:1fr 2fr;gap:12px;font-size:15px;display:grid}.settings-agent dt{color:var(--t-hint)}.settings-agent dd{overflow-wrap:anywhere;margin:0}.job-progress{color:var(--t-hint);margin:5px 0 0;font-size:13px;font-weight:400;line-height:1.3;display:block}.job-progress.small{font-size:12px}.settings-lock{fill:none;stroke:currentColor;stroke-width:1.6px;vertical-align:-1px;width:17px;height:17px;margin-left:8px}.search-controls{background:var(--t-header-bg);align-items:center}.search-cancel{color:var(--t-link);font:inherit;background:0 0;border:0}.scope-line{background:var(--t-header-bg);padding:0 16px 10px}.scope-line .scope-chip{max-width:100%}.project-sheet{padding:var(--t-space-4)}.project-choice{justify-content:space-between;align-items:center;gap:var(--t-space-3);width:100%;padding:var(--t-space-4);border:1px solid var(--t-separator);border-radius:var(--t-radius-button);background:var(--t-bg-secondary);color:var(--t-text);text-align:left;display:flex}.project-choice>span[aria-hidden]{color:var(--t-hint)}.candidate-list{gap:var(--t-space-2);max-height:50dvh;display:grid;overflow:auto}.project-choice.candidate{gap:var(--t-space-1);display:grid}.candidate strong,.project-repo{overflow-wrap:anywhere}.candidate span,.candidate time{color:var(--t-subtitle);font-size:var(--t-font-caption)}.project-visibility{gap:var(--t-space-4);border:0;padding:0;display:flex}.project-visibility label{align-items:center;gap:var(--t-space-2);flex-direction:row;display:flex}.project-visibility input{width:auto}.project-progress{justify-content:center;align-items:center;gap:var(--t-space-3);padding:var(--t-space-6);display:flex}.sandbox-badge{color:var(--t-subtitle);border:1px solid var(--t-separator);border-radius:var(--t-radius-button);padding:var(--t-space-1) var(--t-space-2);font-size:var(--t-font-caption);margin-inline-start:var(--t-space-2);font-weight:400}.room-row.project-added{background:var(--t-mark)}.project-sheet>button:not(.project-choice):not(.primary),.github-confirm button{padding:var(--t-space-3);border-radius:var(--t-radius-button);background:var(--t-section-bg);color:var(--t-link);border:0}.github-confirm button.danger{color:var(--t-destructive)}.github-settings .primary{width:auto;padding-inline:var(--t-space-5)}.github-device{gap:var(--t-space-3);padding:var(--t-space-4);background:var(--t-bg-secondary);border-radius:var(--t-radius-button);display:grid}.github-device code{font-size:var(--t-font-title);letter-spacing:var(--t-space-1)}.github-device a{color:var(--t-link)}.github-account{font-weight:600}.mail-entry{border-left:3px solid var(--t-hint);background:var(--t-bg-secondary);border-radius:.4rem;margin:.7rem 0;padding:.65rem .8rem}.mail-entry>span,.mail-entry>time{color:var(--t-hint);font-size:.75rem;display:block}.mail-entry>time{margin-top:.35rem}.project-choice[aria-pressed=true]{border-color:var(--t-link);background:var(--t-mark)}.project-sheet .wizard-actions{gap:var(--t-space-3);align-items:center;display:flex}.project-sheet .wizard-actions>button{min-height:var(--t-header-h);padding:var(--t-space-3);border-radius:var(--t-radius-button);color:var(--t-link);background:var(--t-bg-secondary);border:0;flex:1}.project-sheet .wizard-actions>.primary{color:var(--t-button-text);background:var(--t-button)}.project-sheet .wizard-actions>button:disabled{opacity:.45}.project-sheet .model-columns{gap:var(--t-space-3);grid-template-columns:repeat(auto-fit,minmax(130px,1fr));display:grid}.project-sheet fieldset:not(.project-visibility){padding:var(--t-space-2);border:1px solid var(--t-separator);border-radius:var(--t-radius-button);min-width:0;margin:0}.project-sheet fieldset:not(.project-visibility) legend{padding:0 var(--t-space-1);color:var(--t-section-header);font-size:.875rem}.project-sheet fieldset:not(.project-visibility) button{width:100%;padding:var(--t-space-3);margin:var(--t-space-1) 0;border-radius:var(--t-radius-button);background:var(--t-bg-secondary);color:var(--t-text);text-align:left;border:1px solid #0000}.project-sheet fieldset button[aria-pressed=true]{border-color:var(--t-link);color:var(--t-link)}.project-sheet dt{color:var(--t-section-header);margin-top:var(--t-space-3);font-size:.875rem}.project-sheet dd{margin:var(--t-space-1) 0 0;overflow-wrap:anywhere}.quota-block{margin:var(--t-space-4)}.quota-block h3{margin:var(--t-space-4) var(--t-space-4) var(--t-space-2);color:var(--t-section-header);font-size:.875rem;font-weight:500}.quota-card{margin:var(--t-space-2) 0;padding:0 var(--t-space-4);border-radius:var(--t-radius-block);background:var(--t-section-bg)}.quota-window{gap:var(--t-space-2);padding:var(--t-space-4) 0;flex-direction:column;display:flex}.quota-weeks .quota-window+.quota-window{border-top:1px solid var(--t-separator)}.quota-label{justify-content:space-between;gap:var(--t-space-2);font-size:.875rem;display:flex}.quota-label>:last-child{color:var(--t-hint);white-space:nowrap}.quota-track{border-radius:var(--t-radius-pill);background:var(--t-bg-secondary);height:5px;overflow:hidden}.quota-fill{border-radius:inherit;background:var(--t-button);height:100%;transition:width .35s;display:block}.quota-fill.exhausted{background:var(--t-destructive)}.quota-block p{margin:0;font-size:.75rem}.quota-block .quota-updated{margin:var(--t-space-3) var(--t-space-4)}@media (prefers-reduced-motion:reduce){.quota-fill{transition:none}}.profile-photo{background:0 0;border:0;border-radius:50%;padding:0}.profile-photo:disabled{opacity:1}.sheet:has(.avatar-gallery){border-radius:0;height:100dvh;max-height:100dvh}.avatar-gallery{flex-direction:column;gap:16px;padding:16px;display:flex}.gallery-picture{touch-action:pan-y;place-items:center;display:grid;position:relative}.gallery-picture>img{object-fit:contain;width:100%;height:min(48dvh,480px)}.gallery-picture button{background:var(--t-section-bg);width:40px;height:40px;color:var(--t-link);border:0;border-radius:50%;padding:0;font-size:30px;position:absolute;top:45%}.gallery-prev{left:0}.gallery-next{right:0}.gallery-dots,.gallery-thumbs{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.gallery-dots button{color:var(--t-hint);background:0 0;border:0;padding:4px;font-size:12px}.gallery-dots [aria-current=true]{color:var(--t-link)}.gallery-thumbs button{border:0;border-radius:6px;padding:0;overflow:hidden}.gallery-thumbs img{object-fit:cover;width:48px;height:48px;display:block}.queue-by{color:var(--t-subtitle);white-space:nowrap;flex:none;font-size:.8125rem}.data-status,.start-times{color:var(--tg-theme-hint-color,#767676);margin:.5rem 1rem;font-size:.8rem}.data-status button{color:var(--tg-theme-link-color,#2481cc);background:0 0;border:0;margin-inline-start:.65rem;padding:.35rem}.room-subtitle{color:var(--muted);white-space:normal;font-size:.75rem;font-weight:400;display:block}
