.widget-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;margin-bottom:10px}.widget-toolbar .section-label{margin:0;padding:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.component-controls{display:flex;align-items:center;gap:2px;flex-shrink:0}.surface-icon{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:5px;padding:4px;color:var(--muted);background:transparent;cursor:pointer}.surface-icon:hover,.surface-icon:focus-visible{color:var(--ink);background:var(--wash)}.surface-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}.component-options{position:absolute;inset-inline-end:0;top:calc(100% + 5px);z-index:12;width:240px;max-height:60dvh;overflow:auto;padding:16px;background:var(--surface);color:var(--ink);border:1px solid var(--tint);border-radius:8px;box-shadow:0 12px 40px #251b3018}.component-options label{display:grid;gap:7px;margin-bottom:14px;font:13px var(--font);color:var(--muted)}.component-options select{width:100%;font:14px var(--font);border:1px solid var(--tint);background:var(--surface);color:var(--ink);border-radius:5px;padding:6px}.component-options input[type=range]{width:100%;accent-color:var(--accent)}.widget.widget-floating{position:fixed;z-index:4;margin:0!important;max-width:none;padding:12px;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 8px 30px #251b3012;background:var(--surface);color:var(--ink);border:1px solid var(--tint)}.widget-floating .widget-toolbar{margin-bottom:8px;flex-shrink:0}.widget-floating iframe{flex:1;min-height:0;height:0!important;border-radius:2px}.widget-handle{min-width:0;flex:1;text-align:start;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:transparent;color:var(--muted);font:13px var(--font);cursor:grab;touch-action:none}.widget-handle:active{cursor:grabbing}.widget-handle:focus-visible{outline:1px solid var(--accent);outline-offset:2px}.widget-adjusting{-webkit-user-select:none;user-select:none;z-index:6!important}.widget-adjusting iframe{pointer-events:none}.widget-resize{position:absolute;bottom:0;right:0;width:22px;height:22px;border:0;padding:2px;border-radius:0 0 7px;background:var(--surface);color:var(--muted);cursor:nwse-resize;touch-action:none}.widget-resize svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1}.widget-failure{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:14px}.widget-failure .quiet{flex-shrink:0}.scene-overlay .widget-toolbar,.agent-presence .widget-toolbar{display:none}.surface-list{display:flex;flex-direction:column}.surface-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--tint);padding:12px 0;position:relative}.surface-row:last-child{border:0}.surface-open{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:start;border:0;color:var(--ink);background:transparent;padding:0;cursor:pointer;font:16px var(--font)}.surface-open span{overflow-wrap:anywhere}.surface-open small{font-size:12px;color:var(--muted)}.surface-dialog{overflow:visible}.surface-dialog .surface-list{max-height:65dvh;overflow-y:auto}@media(hover:hover){.widget-toolbar .component-controls{opacity:.55}.widget:hover .component-controls,.widget:focus-within .component-controls{opacity:1}}@media(max-width:650px){.widget-toolbar{margin-bottom:8px}.surface-icon{width:34px;height:34px}.component-options{max-width:calc(100vw - 48px)}}.message-body{min-width:0;max-width:100%}.markdown-body{min-width:0;overflow-wrap:anywhere;white-space:normal;line-height:1.7}.markdown-body>:first-child{margin-top:0}.markdown-body>:last-child{margin-bottom:0}.markdown-body p{margin:.55em 0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{line-height:1.4;margin:1.25em 0 .5em;font-weight:600}.markdown-body h1{font-size:1.5em}.markdown-body h2{font-size:1.3em}.markdown-body h3{font-size:1.12em}.markdown-body ul,.markdown-body ol{padding-inline-start:1.6em;margin:.7em 0}.markdown-body li+li{margin-top:.22em}.markdown-body li>p{margin:.25em 0}.markdown-body a{color:var(--accent, #485ec6);text-decoration:underline;text-underline-offset:.15em}.markdown-body code{font:.88em/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--wash);padding:.13em .33em;border-radius:3px;white-space:break-spaces}.markdown-body pre{max-width:100%;overflow:auto;background:var(--wash);border:1px solid var(--tint);border-radius:6px;padding:14px 16px;margin:.9em 0;line-height:1.5}.markdown-body pre code{padding:0;background:transparent;white-space:pre;overflow-wrap:normal}.markdown-body blockquote{margin:.9em 0;padding:.1em 1em;border-inline-start:2px solid var(--tint);color:var(--muted, #687080)}.markdown-body hr{border:0;border-top:1px solid var(--tint);margin:1.3em 0}.markdown-body img{max-width:100%;max-height:440px;object-fit:contain;border-radius:8px}.markdown-table-scroll{max-width:100%;overflow-x:auto;margin:.9em 0}.markdown-body table{border-collapse:collapse;width:max-content;max-width:100%;font-size:.94em}.markdown-body th,.markdown-body td{border:1px solid var(--tint);padding:7px 11px;text-align:start;min-width:70px}.markdown-body th{background:var(--wash);font-weight:600}.markdown-body input[type=checkbox]{margin-inline-end:.5em;accent-color:var(--accent, #485ec6)}.message-reasoning{margin-bottom:12px;color:var(--muted, #687080);border-inline-start:1px solid var(--tint);padding-inline-start:13px;font-size:.93em}.message-reasoning summary{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:.9em;padding:4px 0}.message-reasoning[open] summary{margin-bottom:10px}.file-preview{min-width:0;max-width:100%}.file-preview-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px}.file-preview-header>strong{overflow-wrap:anywhere;min-width:0}.file-preview-header>div{display:flex;align-items:center;gap:12px;flex-shrink:0}.file-download{color:var(--accent, #485ec6);font-size:13px;text-decoration:none}.file-text-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto;padding:16px;border-radius:6px;background:var(--wash);font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.file-html-preview{display:block;width:100%;height:62vh;min-height:280px;border:1px solid var(--tint);border-radius:6px;background:#fff;color-scheme:light}.file-image-preview{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain;border-radius:8px}.file-preview-note{font-size:12px;color:var(--muted, #687080);margin-top:12px}.spreadsheet-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:10px}.spreadsheet-tabs button{border:1px solid var(--tint);border-radius:5px;padding:6px 12px;background:transparent;white-space:nowrap;color:inherit}.spreadsheet-tabs button[aria-selected=true]{border-color:var(--accent, #485ec6);color:var(--accent, #485ec6)}.spreadsheet-table-scroll{overflow:auto;max-height:60vh;border:1px solid var(--tint);border-radius:6px}.spreadsheet-table-scroll table{border-collapse:separate;border-spacing:0;font-size:12px;min-width:100%}.spreadsheet-table-scroll th,.spreadsheet-table-scroll td{border-bottom:1px solid var(--tint);border-inline-end:1px solid var(--tint);padding:6px 9px;max-width:300px;min-width:60px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top;text-align:start}.spreadsheet-table-scroll th{background:var(--wash);color:var(--ink);font-weight:500}.spreadsheet-table-scroll thead th{position:sticky;top:0;z-index:1}.spreadsheet-table-scroll th:first-child{min-width:35px;text-align:center}@media(max-width:640px){.file-preview-header{align-items:flex-start;gap:8px}.markdown-body pre{padding:11px}}.user-help{margin-bottom:12px;padding:16px 18px;border:1px solid var(--tint);border-radius:12px;background:var(--surface);max-height:42vh;overflow-y:auto}.help-heading{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--muted)}.help-reason,.help-hint{margin:8px 0;font-size:13px;color:var(--muted);line-height:1.65}.user-help fieldset{border:0;padding:0;margin:0 0 14px;min-width:0}.user-help legend{font-size:17px;line-height:1.65;margin-bottom:10px}.help-choices{display:flex;flex-wrap:wrap;gap:8px}.help-choices button{border:1px solid var(--tint);border-radius:8px;padding:9px 13px;background:transparent;color:inherit;text-align:start}.help-choices button:hover,.help-choices button[aria-pressed=true]{border-color:var(--accent);background:var(--wash)}.help-choices small{display:block;margin-top:3px;color:var(--muted)}.user-help textarea{width:100%;box-sizing:border-box;margin-top:10px;padding:10px;min-height:58px;border:1px solid var(--tint);border-radius:8px;background:transparent;color:inherit;font:inherit}.help-receipt{max-width:100%;margin:8px 0 18px;color:var(--muted);font-size:14px}.help-receipt summary{display:flex;align-items:baseline;gap:9px;cursor:pointer;list-style:none}.help-receipt summary::-webkit-details-marker{display:none}.help-receipt summary>span:not(.help-receipt-preview){flex-shrink:0}.help-receipt-preview{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--ink)}.help-receipt dl{border-inline-start:1px solid var(--tint);margin:12px 0 0 5px;padding-inline-start:20px}.help-receipt dl>div+div{margin-top:14px}.help-receipt dt{font-size:13px;line-height:1.65}.help-receipt dd{margin:4px 0 0;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.help-response-files{margin-bottom:18px}.voice-control{position:relative;display:flex;align-items:center}.composer-wrap{position:relative}.voice-start{display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:var(--muted);border-radius:50%}.voice-start:hover{color:var(--ink);background:var(--wash)}.voice-start svg,.voice-end svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.voice-control.active{position:absolute;inset-inline:0;bottom:calc(100% + 14px)}.voice-call{width:100%;padding:18px 22px 12px;border:1px solid var(--tint);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 8px 30px #00000008;display:grid;grid-template-columns:1fr auto;gap:10px 16px}.voice-call-copy{display:flex;align-items:center;gap:14px;font-size:15px}.voice-call-actions{display:flex;align-items:center;gap:14px;grid-column:2;grid-row:1 / span 2}.voice-call-actions button{border:0;font:inherit;font-size:13px;background:transparent;color:var(--muted)}.voice-call-actions .voice-end{width:38px;height:38px;display:grid;place-items:center;background:#884e4b;border-radius:50%;color:#fff}.voice-call small{grid-column:1 / -1;color:var(--muted);font-size:10px;letter-spacing:.02em}.voice-transcript{margin:0;max-height:58px;overflow:auto;color:var(--muted);font-size:13px;line-height:1.7}.voice-wave{height:23px;width:25px;display:flex;align-items:center;gap:3px;color:var(--accent)}.voice-wave i{width:2px;height:5px;background:currentColor;border-radius:1px}.voice-wave.hearing i,.voice-wave.speaking i{animation:voice-pulse .9s ease-in-out infinite alternate}.voice-wave i:nth-child(2),.voice-wave i:nth-child(4){animation-delay:-.3s;height:11px}.voice-wave i:nth-child(3){animation-delay:-.6s;height:19px}.voice-wave.muted{opacity:.35}.voice-problem{position:absolute;z-index:15;bottom:calc(100% + 12px);inset-inline-end:0;width:min(320px,75vw);display:flex;align-items:start;gap:16px;padding:16px;border:1px solid var(--tint);border-radius:8px;background:var(--surface);color:var(--ink);font-size:13px;line-height:1.7;box-shadow:0 6px 24px #00000009}.voice-problem button{border:0;background:transparent;color:var(--muted);font-size:18px}@keyframes voice-pulse{0%{transform:scaleY(.35)}to{transform:scaleY(1.15)}}@media(prefers-reduced-motion:reduce){.voice-wave i{animation:none!important}}html[data-reduce-motion=true] .voice-wave i{animation:none!important}@media(max-width:600px){.voice-call{padding:14px}.voice-call-actions{gap:8px}}.run-trace{color:var(--muted);font-size:12px;margin:10px 0 14px;max-width:100%}.run-trace>summary{cursor:pointer;display:flex;align-items:center;gap:7px;list-style:none;width:fit-content;padding:4px 0}.run-trace>summary::-webkit-details-marker{display:none}.run-trace>summary:after{content:"⌄";display:inline-block;margin-inline-start:3px;transition:transform .18s}.run-trace[open]>summary:after{transform:rotate(180deg)}.trace-indicator{width:5px;height:5px;border:1px solid currentColor;border-radius:50%;opacity:.65}.trace-indicator.active{background:var(--accent);border-color:var(--accent)}.trace-live{font-size:12px}.trace-timeline{margin-top:10px;padding-inline-start:13px;border-inline-start:1px solid color-mix(in srgb,var(--muted) 22%,transparent)}.trace-entry{position:relative;padding:0 0 18px 6px;min-width:0}.trace-entry:before{position:absolute;content:"";width:5px;height:5px;border-radius:50%;background:var(--muted);opacity:.35;inset-inline-start:-16px;top:6px}.trace-entry>header{display:flex;gap:10px;font-size:12px;letter-spacing:.03em;padding-bottom:8px}.trace-entry section+section{margin-top:14px}.trace-entry h4{font-weight:500;font-size:12px;margin:0 0 6px}.trace-entry .markdown-body{font-size:13px;line-height:1.75}.trace-field pre,.trace-original pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px 12px;max-height:380px;overflow:auto;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;border-radius:6px;background:var(--wash);color:inherit}.trace-link{appearance:none;border:0;background:none;font:inherit;color:var(--accent);padding:6px 0;cursor:pointer;text-align:start}.trace-link:disabled{opacity:.5;cursor:default}.trace-link:focus-visible,.run-trace summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.trace-original{margin-top:9px}.trace-original summary{cursor:pointer;margin-bottom:8px}.trace-error{overflow-wrap:anywhere;color:var(--muted)}.trace-error code{font-size:12px}.trace-empty{margin:9px 0}.task-trace{margin-block:28px 12px;font-size:13px}.task-trace>summary{max-width:100%;align-items:baseline}.task-trace-kind{flex-shrink:0}.task-trace-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.task-trace>summary:after,.task-trace .trace-indicator{flex-shrink:0}.trace-source{font-size:12px;margin:0 0 16px 6px}.trace-state{white-space:nowrap;font-size:12px}.task-trace[open] .task-trace-title{white-space:normal;overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.run-trace>summary:after{transition:none}}.agent-activity,.agent-receipt{margin:14px 0 22px;color:var(--muted);font-size:13px}.agent-activity>summary,.agent-receipt>summary{cursor:pointer;padding:7px 0}.agent-activity>summary:focus-visible,.agent-receipt>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.agent-job{position:relative;padding-inline-end:56px;border-inline-start:1px solid color-mix(in srgb,var(--muted) 20%,transparent);padding-inline-start:14px}.agent-job>.run-trace{margin-block:9px}.agent-stop{position:absolute;inset-inline-end:0;top:0;font-size:12px}.agent-receipt .run-trace{margin:10px 0 10px 12px}:root{font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Palatino,Songti SC,Songti TC,"Noto Serif CJK SC","Noto Serif CJK TC",Yu Mincho,"Noto Serif CJK KR",Noto Naskh Arabic,Georgia,serif;font-size:16px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--canvas:#f8f6f2;--surface:#fcfaf7;--wash:#f0eaf0;--tint:#e0d9df;--ink:#38333b;--muted:#79707c;--accent:#7f687f;--on-accent:#fff;--topbar-height:64px;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.4}:where(button,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.app{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--canvas)}.topbar{height:var(--topbar-height);padding:0 28px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;z-index:5}.brand{display:inline-flex;align-items:center;gap:7px;background:none;color:var(--ink);padding:5px 0}.brand-wordmark{font-size:18px;font-weight:400;letter-spacing:.2em;line-height:1;text-transform:uppercase}.brand .brand-mark{width:31px;height:31px;fill:none;stroke:none;color:var(--accent)}.topbar nav{display:flex;align-items:center;gap:7px}.topbar .workspace-return{white-space:nowrap}.icon-button{background:transparent;color:var(--muted);width:38px;height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:23px;flex-shrink:0}.icon-button:hover{color:var(--ink);background:var(--wash)}.agent-presence{--display-presence-size:min(var(--presence-size,84px),24dvh);height:calc(var(--display-presence-size) + 24px);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;padding-bottom:10px;transition:height .35s ease,padding .35s ease}.orb-scene{position:relative;width:var(--display-presence-size);height:var(--display-presence-size);display:grid;place-items:center;isolation:isolate;flex-shrink:0;transition:width .35s ease,height .35s ease}.presence-art,.presence-state{width:100%;height:100%;overflow:visible;grid-area:1 / 1;color:var(--accent)}.presence-signature{transform-origin:48px 48px;transition:opacity .35s,transform .35s}.presence-state{color:var(--accent)}.presence-state>g{opacity:0;transform-origin:48px 48px;transition:opacity .3s}.presence-state path{stroke:currentColor;stroke-width:3;stroke-linecap:round}.presence-trace path{stroke-width:2}.presence-wait circle{fill:currentColor}.thinking .presence-signature{opacity:.15;transform:scale(.82)}.thinking .presence-trace{opacity:1;animation:presence-turn 3.4s linear infinite}.executing .presence-signature{opacity:.12;transform:scale(.85)}.executing .presence-work{opacity:1}.presence-work path{stroke-dasharray:15 25;animation:presence-work 1.5s ease-in-out infinite}.responding .presence-signature{opacity:.1}.responding .presence-voice{opacity:1}.presence-voice .voice-bar{transform-origin:48px 48px;animation:presence-voice .75s ease-in-out infinite alternate;stroke-width:4}.presence-voice .bar-1,.presence-voice .bar-3{animation-delay:-.22s}.presence-voice .bar-2{animation-delay:-.45s}.stopped .presence-signature,.waiting .presence-signature{opacity:.12;transform:scale(.84)}.stopped .presence-pause,.waiting .presence-wait{opacity:1}.presence-label{font-size:12px;line-height:1.5;font-weight:400;letter-spacing:.01em;color:var(--muted);margin-top:-3px;min-height:18px}.app[data-reading=true] .agent-presence,.agent-presence[data-compact=true]{--display-presence-size:32px;height:48px;flex-direction:row;gap:8px;padding-bottom:5px}.app[data-reading=true] .presence-label,.agent-presence[data-compact=true] .presence-label{margin:0;font-size:11px}.custom-presence{width:var(--display-presence-size);height:var(--display-presence-size);flex-shrink:0;transition:width .35s ease,height .35s ease}.agent-presence .widget{width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;border-radius:0;overflow:hidden}.agent-presence .section-label{display:none}.agent-presence iframe{width:100%;height:100%!important;border-radius:0}@keyframes presence-turn{to{transform:rotate(360deg)}}@keyframes presence-work{50%{stroke-dashoffset:-25}}@keyframes presence-voice{to{transform:scaleY(.4)}}.scroll-area{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--tint) transparent}.conversation{width:100%;max-width:790px;margin:0 auto;padding:18px 30px 28px}.message{width:fit-content;max-width:91%;margin:0 0 25px;font-size:17px;line-height:1.85;overflow-wrap:anywhere}.message.assistant{max-width:96%;padding:6px 0;background:transparent}.message.user{margin-inline-start:auto;padding:11px 16px;color:var(--ink);background:var(--wash);border:1px solid var(--tint);border-radius:5px}.message.greeting{margin-bottom:28px}.message-note{display:block;font-size:11px;color:var(--muted);margin-top:5px}.user-text{white-space:pre-wrap}.message .markdown-body{font-size:inherit;line-height:inherit}.composer-area{position:relative;z-index:6;flex-shrink:0;padding:12px 24px max(24px,env(safe-area-inset-bottom))}.composer-wrap{max-width:750px;margin:auto}.composer{display:flex;align-items:flex-end;gap:12px;padding:10px 11px 10px 12px;border:1px solid var(--tint);background:var(--surface);border-radius:6px;transition:border-color .15s}.composer:focus-within{border-color:var(--accent)}textarea{width:100%;border:0;resize:none;color:var(--ink);background:none;font-size:17px;line-height:1.65;padding:7px 0;min-height:39px;max-height:140px}.composer textarea{outline:none}textarea::placeholder,.dialog input::placeholder{color:var(--muted);opacity:.8}.send-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.send{width:36px;height:36px;display:grid;place-items:center;border-radius:5px;color:var(--on-accent);background:var(--accent)}.send:disabled{opacity:1;background:var(--wash);color:var(--muted)}.send.stop{background:var(--wash);color:var(--accent)}.send.stop svg{width:16px;fill:currentColor;stroke:none}.interrupt{background:none;color:var(--muted);font-size:12px;padding:8px 0}.activity{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);padding:0 12px 10px}.activity small{margin-inline-start:auto}.typing{display:flex;gap:3px}.typing i{display:block;width:3px;height:3px;border-radius:50%;background:var(--accent);animation:typing 1.3s ease-in-out infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes typing{50%{opacity:.35}}.notice{color:var(--ink);font-size:13px;line-height:1.6;background:var(--wash);border:1px solid var(--tint);border-radius:9px;padding:11px 14px;margin:10px 0;overflow-wrap:anywhere}.quiet{background:transparent;color:var(--muted);font-size:13px;border-radius:7px;padding:10px 12px}.quiet:hover{background:var(--wash);color:var(--ink)}.primary{background:var(--accent);color:var(--on-accent);padding:12px 16px;border-radius:9px;font-size:14px}.wide{width:100%}.widget,.tasks{background:var(--surface);border:1px solid var(--tint);border-radius:12px;padding:16px;margin:20px 0}.section-label{font-size:12px;color:var(--muted);margin-bottom:8px}.widget iframe{width:100%;border:0;display:block;border-radius:7px}.task{display:flex;gap:16px;align-items:center;padding:8px 0}.task>div{flex:1}.task strong{font-size:14px;font-weight:500;display:block}.task span{font-size:12px;color:var(--muted);display:block;margin-top:4px}.overlay{position:fixed;inset:0;background:#28203224;z-index:30;display:flex}.overlay.centered{align-items:center;justify-content:center;padding:20px}.dialog{width:410px;max-height:90dvh;overflow:auto;background:var(--surface);border:1px solid var(--tint);border-radius:15px;padding:28px;box-shadow:0 16px 64px #251b301a}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.dialog h2,.drawer h2{font-size:20px;font-weight:500;margin:0;color:var(--ink);letter-spacing:-.02em}.dialog label{display:block;font-size:13px;color:var(--muted);margin:18px 0 9px}.dialog input:not([type=checkbox]),.dialog select{width:100%;border:1px solid var(--tint);border-radius:8px;background:var(--canvas);color:var(--ink);padding:12px 13px}.dialog>.primary{margin-top:24px}.field-hint{font-size:12px;color:var(--muted);line-height:1.65;margin:10px 0 18px}.toggle-row{display:flex!important;align-items:center;justify-content:space-between;padding-bottom:14px}.toggle-row input{appearance:none;width:34px;height:20px;border-radius:12px;background:var(--tint);position:relative;cursor:pointer;transition:background .2s}.toggle-row input:before{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--surface);transition:transform .2s}.toggle-row input:checked{background:var(--accent)}.toggle-row input:checked:before{transform:translate(14px)}.logout{margin-top:24px}.drawer{width:320px;max-width:88vw;background:var(--surface);padding:26px 22px;display:flex;flex-direction:column;border-inline-end:1px solid var(--tint)}.session-list{flex:1;overflow:auto;margin:20px -6px}.session{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px;text-align:start;background:none;color:var(--ink);border-radius:7px;font-size:14px}.session.selected,.session:hover{background:var(--wash)}.session span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session small{color:var(--muted)}.toast{position:fixed;bottom:calc(var(--composer-height,100px) + 12px);left:50%;transform:translate(-50%);background:var(--surface);color:var(--ink);border:1px solid var(--tint);border-radius:9px;padding:11px 17px;font-size:12px;box-shadow:0 5px 20px #251b3010;z-index:50;max-width:90vw;text-align:center}.empty-note{font-size:13px;color:var(--muted)}.menu-dialog{width:320px}.menu-items{display:grid;gap:3px}.menu-items>button{display:flex;align-items:center;gap:14px;padding:13px;text-align:start;border-radius:7px;color:var(--ink);background:none;font-size:14px}.menu-items>button:hover{background:var(--wash)}.menu-items>button:last-child{border-top:1px solid var(--tint);border-radius:0 0 7px 7px;margin-top:10px}.menu-glyph{width:21px;color:var(--muted);font-size:13px}.menu-items svg{color:var(--muted)}.developer-panel{position:fixed;z-index:25;width:328px;max-width:calc(100vw - 16px);background:var(--surface);border:1px solid var(--tint);border-radius:12px;box-shadow:0 10px 36px #251b3014;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.developer-panel>header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px 9px 18px;border-bottom:1px solid var(--tint);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.developer-panel header>span{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.developer-panel header i{width:4px;height:4px;border-radius:50%;background:var(--accent)}.developer-panel header .icon-button{width:26px;height:26px;font-size:20px}.dev-content{padding:16px 18px;max-height:65dvh;overflow:auto}.dev-scope{display:flex;gap:4px;border-bottom:1px solid var(--tint)}.dev-scope button{width:50%;padding:7px;font-size:11px;background:none;color:var(--muted);border-bottom:1px solid transparent;margin-bottom:-1px}.dev-scope button.active{color:var(--ink);border-bottom-color:var(--accent)}.dev-model{font-size:11px;color:var(--ink);margin:18px 0;display:flex;justify-content:space-between;gap:10px;overflow-wrap:anywhere}.dev-model span{font-size:10px;color:var(--muted)}.dev-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px}.dev-grid span,.dev-cost>span{font-family:inherit;display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.dev-grid strong{color:var(--ink);font-size:clamp(15px,2vw,22px);font-weight:400;letter-spacing:-.5px;overflow-wrap:anywhere}.dev-cost{border-top:1px solid var(--tint);padding-top:16px;margin-top:18px}.dev-cost strong{font-size:12px;font-weight:500;color:var(--ink)}.dev-note{font-size:10px;color:var(--muted);line-height:1.7;margin:16px 0}.developer-panel summary{font-size:11px;color:var(--muted);cursor:pointer;padding-bottom:12px}.request-list>div{font-size:10px;color:var(--muted);padding:8px 0;border-top:1px solid var(--tint)}.request-list span{display:block;margin-bottom:3px}.pricing-link{font-family:inherit;font-size:10px;color:var(--muted);text-underline-offset:3px}.recovery-panel{top:80px;inset-inline-end:16px;padding:20px}.recovery-shell{margin:15vh auto;max-width:480px;padding:30px;border:1px solid var(--tint);border-radius:14px;background:var(--surface)}.resetting svg{animation:presence-turn 1s linear infinite}.file-list{display:grid;gap:10px;max-height:55dvh;overflow:auto}.attachment-tray,.output-files{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}.attachment{display:flex;align-items:center;border:1px solid var(--tint);background:var(--surface);border-radius:10px;overflow:hidden;max-width:100%}.attachment-open{display:flex;align-items:center;gap:10px;padding:10px 12px;background:none;color:var(--ink);text-align:start;min-width:0}.attachment-open>span:last-child{min-width:0}.attachment strong{display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.attachment small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.file-type{font-size:9px;font-weight:600;letter-spacing:.04em;color:var(--accent);background:var(--wash);padding:9px 6px;border-radius:5px;min-width:36px;text-align:center}.message .attachment{margin-top:9px}.attach-button{margin-bottom:1px;width:34px}.attach-button svg{width:19px}.preview-overlay{z-index:45}.preview-dialog{width:min(1000px,95vw);max-height:90dvh;overflow:auto;background:var(--surface);border:1px solid var(--tint);border-radius:14px;box-shadow:0 16px 64px #251b301a}.preview-dialog .file-preview{margin:0;border:0;padding:24px}.workspace-layout{flex:1;display:flex;min-height:0;overflow:hidden}.reading-pane{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0}.surface-sidebar{flex:0 0 234px;max-width:27vw;min-width:0;overflow:auto;padding:12px 18px 20px;scrollbar-width:thin}.surface-sidebar[data-side=start]{border-inline-end:1px solid var(--tint)}.surface-sidebar[data-side=end]{border-inline-start:1px solid var(--tint)}.surface-sidebar .widget{margin:0 0 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.surface-sidebar .section-label{padding:0 0 8px;font-size:11px;letter-spacing:.02em}.surface-sidebar iframe{border-radius:0}.scene-overlay{position:fixed;inset:var(--topbar-height) 0 var(--composer-height,120px);pointer-events:none;z-index:3;overflow:hidden}.scene-overlay .widget{height:100%;margin:0;border:0;border-radius:0;padding:0;background:transparent}.scene-overlay .section-label{display:none}.scene-overlay iframe{height:100%!important;pointer-events:none}.scroll-area.has-workspace{overflow:hidden}.workspace-panel{margin:0 auto}.has-workspace .workspace-panel{width:100%;height:100%;display:flex;flex-direction:column;padding:0 24px 16px}.has-workspace .workspace-panel .widget{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:0;border:0;background:transparent}.has-workspace .workspace-panel iframe{flex:1;height:100%!important;min-height:0;width:100%}.has-workspace .workspace-panel .section-label{padding:10px 0}.agent-banner{width:min(1000px,95%);margin:0 auto}.agent-banner .widget{border-inline-start:3px solid var(--accent)}.agent-banner iframe{min-height:80px}html[data-font=humanist]{font-family:Avenir Next,Nunito,Hiragino Maru Gothic ProN,PingFang SC,sans-serif}html[data-font=serif]{font-family:New York,Georgia,Songti SC,Yu Mincho,serif}html[data-font=mono]{font-family:ui-monospace,SFMono-Regular,Menlo,PingFang SC,monospace}html[data-palette=rose]{--canvas:#fcf8fa;--ink:#503c46;--muted:#886b79;--accent:#97637d;--wash:#f5e9ef;--tint:#eadbe3;--surface:#fffbfc}html[data-palette=ocean]{--canvas:#f7fafc;--ink:#354955;--muted:#657e8b;--accent:#51788f;--wash:#eaf2f7;--tint:#dce7ed;--surface:#fbfdff}html[data-palette=forest]{--canvas:#f8fbf9;--ink:#384d47;--muted:#698178;--accent:#557b68;--wash:#eaf3ee;--tint:#dbe6df;--surface:#fcfefd}[dir=rtl] .developer-panel{font-family:Noto Naskh Arabic,serif}@media(max-width:900px){.surface-sidebar{flex-basis:190px;padding-inline:12px}.conversation{padding-inline:24px}}@media(max-width:600px){:root{--topbar-height:58px}.topbar{padding-inline:18px}.brand-wordmark{font-size:17px}.topbar nav{gap:3px}.icon-button{width:34px;height:34px}.agent-presence{--display-presence-size:min(var(--presence-size,84px),18dvh)}.presence-label{font-size:11px}.conversation{padding:18px}.message{max-width:94%;font-size:17px;line-height:1.8}.message.assistant{padding:5px 0}.composer-area{padding:10px 14px max(16px,env(safe-area-inset-bottom))}.composer{gap:6px;padding-inline-start:10px}.dialog{padding:24px}.attachment strong{max-width:180px}.workspace-layout{flex-direction:column}.surface-sidebar{flex:0 1 auto;width:100%;max-width:none;max-height:16dvh;padding:10px 18px;border-inline:0}.surface-sidebar[data-side=start]{border-bottom:1px solid var(--tint)}.surface-sidebar[data-side=end]{border-top:1px solid var(--tint)}.surface-sidebar .widget{margin-bottom:0}.has-workspace .workspace-panel{padding-inline:14px}}@media(max-height:650px){:root{--topbar-height:56px}.agent-presence{--display-presence-size:min(var(--presence-size,84px),64px)}.composer-area{padding-bottom:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *:before,html[data-reduce-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}:root .account-credit{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:0 0 1rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem}:root .account-credit small{grid-column:1 / -1;opacity:.65}
