.catalog-section{border-bottom:1px solid #e4e4e7;padding:31px 0 25px}.section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}h3{color:var(--ink);margin:0;font-size:14px;font-weight:600}.count-badge{text-align:center;background:var(--surface-soft);min-width:21px;color:var(--ink);border-radius:5px;padding:3px 5px;font-size:11px}.tool-list{max-height:310px;margin:14px 0 0;padding:0;list-style:none;overflow-y:auto}.tool-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;margin-bottom:10px;padding:14px;box-shadow:0 2px 5px #24293602}.tool-top{justify-content:space-between;align-items:center;gap:7px;display:flex}.tool-name{color:var(--ink);overflow-wrap:anywhere;font-family:Cascadia Code,monospace;font-size:13px}.tool-mode{background:var(--surface-soft);color:var(--ink);border-radius:4px;flex-shrink:0;padding:3px 5px;font-size:13px}.tool-mode.unavailable{color:var(--muted);background:var(--surface-soft)}.tool-description{color:var(--ink);-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:10px 0;font-size:13px;line-height:1.8;display:-webkit-box;overflow:hidden}.tool-fields{flex-wrap:wrap;gap:4px;margin-top:9px;display:flex}.tool-field{background:var(--surface-soft);color:var(--ink);overflow-wrap:anywhere;border-radius:4px;padding:3px 5px;font-size:13px}.activity-section{padding-top:25px}.activity-summary{color:var(--ink);margin:13px 0;font-size:14px}.activity-summary:empty{display:none}.panel-empty{color:var(--ink);margin:16px 0;font-size:13px;line-height:2}.activity-list{margin:15px 0 0;padding:0;list-style:none}.activity-item{border-left:1px solid #e4e4e7;margin-left:4px;padding:0 0 19px 18px;position:relative}.activity-item:before{content:"";background:var(--surface-soft);border:2px solid #fafafa;border-radius:50%;width:7px;height:7px;position:absolute;top:3px;left:-4px}.activity-item[data-phase=started]:before{background:var(--surface-soft);box-shadow:0 0 0 3px #eff6ff}.activity-item[data-phase=succeeded]:before,.activity-item[data-phase=failed]:before{background:var(--surface-soft)}.activity-item:last-child{border-left-color:#0000;padding-bottom:0}.activity-name{color:var(--ink);overflow-wrap:anywhere;font-family:Cascadia Code,monospace;font-size:13px;display:block}.activity-detail{color:var(--ink);justify-content:space-between;gap:5px;margin-top:7px;font-size:14px;display:flex}.activity-item[data-phase=failed] .activity-phase{color:var(--ink)}.panel-preview{background:var(--surface-soft);border:1px solid var(--line);text-align:left;width:100%;color:var(--ink);border-radius:12px;align-items:center;gap:11px;margin-top:auto;padding:14px 12px;font-size:13px;display:flex}.panel-preview>span:nth-child(2){flex:1}.panel-preview small{color:var(--muted);margin-top:4px;font-size:13px;display:block}.panel-preview>svg{width:14px;color:var(--muted)}.preview-icon{background:var(--surface-soft);width:34px;height:34px;color:var(--accent);border-radius:10px;flex-shrink:0;place-items:center;display:inline-grid}.preview-icon svg{width:18px;height:18px}.preview-page{background:var(--canvas);width:100%;max-width:1240px;height:100%;margin:0 auto;padding:36px 42px 40px;overflow-y:auto}.preview-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:32px;display:flex}.page-kicker{color:var(--muted);letter-spacing:.7px;margin:0 0 12px;font-size:13px}.preview-heading h1{letter-spacing:-.5px;color:var(--ink);font-family:VirtaDisplay,Georgia,serif;font-size:34px;font-weight:500}.preview-heading>div>p:last-child{color:var(--muted);margin:15px 0 0;font-size:16px;line-height:1.8}.preview-badge{background:var(--surface-soft);color:var(--muted);white-space:nowrap;border:0;border-radius:20px;margin-top:28px;padding:7px 12px;font-size:13px}.preview-toolbar{border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:26px;padding-bottom:16px;font-size:13px;display:flex}.preview-tab{color:var(--ink);position:relative}.preview-tab:after{content:"";background:var(--accent);border-radius:2px;height:2px;position:absolute;bottom:-22px;left:0;right:0}.preview-toolbar .outline-action{margin-left:auto}.task-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px;display:grid}.preview-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;min-width:0;padding:24px;box-shadow:0 5px 16px #28313b04}.card-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-heading h2,.provider-card h2{color:var(--ink);margin:0;font-size:16px;font-weight:500}.card-heading>svg{width:17px;height:17px;color:var(--muted)}.subtle-label{color:var(--muted);font-size:13px}.result-card{min-height:485px}.result-columns{color:var(--muted);border-top:1px solid #f0f2f7;border-bottom:1px solid #f0f2f7;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:25px;padding:12px 0;font-size:14px;display:grid}.result-columns span:last-child{text-align:right}.preview-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:30px 10px;display:flex}.empty-icon{width:48px;height:48px;color:var(--muted);background:var(--surface-soft);border-radius:15px;place-items:center;margin-bottom:18px;display:inline-grid}.empty-icon svg{stroke-width:1.4px;width:22px;height:22px}.preview-empty h3{color:var(--ink);letter-spacing:0;margin:0;font-size:16px;font-weight:400}.preview-empty p{color:var(--muted);margin:9px 0 0;font-size:14px;line-height:1.8}.skeleton-stack{gap:9px;width:min(100%,250px);margin-top:30px;display:grid}.skeleton-stack span,.confirmation-placeholder span{background:var(--surface-soft);border-radius:4px;height:7px;display:block}.skeleton-stack span:nth-child(2){width:78%}.skeleton-stack span:nth-child(3){width:55%}.detail-stack{align-content:start;gap:20px;min-width:0;display:grid}.detail-fields{margin:22px 0 0;font-size:13px}.detail-fields>div{border-bottom:1px solid #f3f4f8;justify-content:space-between;gap:15px;padding:11px 0;display:flex}.detail-fields>div:last-child{border:0}.detail-fields dt{color:var(--muted)}.detail-fields dd{color:var(--muted);margin:0}.card-copy{color:var(--muted);margin:18px 0;font-size:14px;line-height:1.9}.confirmation-placeholder{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;gap:10px;padding:17px;display:grid}.confirmation-placeholder span:last-child{width:65%}.preview-actions{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.outline-action,.solid-action{color:var(--muted);background:var(--surface-soft);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 14px;font-size:14px;display:inline-flex}.solid-action{color:var(--muted);background:var(--surface-soft)}.preview-page button:disabled,.preview-page input:disabled,.preview-page select:disabled{opacity:.65}.preview-field{color:var(--muted);margin-top:24px;font-size:14px;display:block}.preview-field input,.preview-field select{background:var(--surface-soft);border:1px solid var(--line);width:100%;min-width:0;color:var(--muted);border-radius:9px;margin-top:10px;padding:11px 10px;font-size:13px;display:block}.provider-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.provider-card>h2{margin-top:20px}.provider-card>p{color:var(--muted);margin:9px 0 0;font-size:14px}.result-badge{background:var(--surface-soft);color:var(--muted);border-radius:20px;padding:8px 12px;font-size:13px}.result-group{margin-top:24px}.result-group-heading{color:var(--ink);justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.result-group-heading strong{overflow-wrap:anywhere;font-family:Cascadia Code,monospace;font-weight:500}.result-group-heading span{color:var(--muted);white-space:nowrap;font-size:13px}.candidate-columns{color:var(--muted);border-bottom:1px solid #edf0f5;gap:12px;padding:17px 12px 12px;font-size:13px;display:grid}.candidate-row{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:9px;align-items:start;gap:12px;margin-top:5px;padding:13px 12px;font-size:14px;line-height:1.8;display:grid}.candidate-row:hover,.candidate-row[aria-pressed=true]{background:var(--surface-soft)}.candidate-number{color:var(--muted)}.candidate-cell{overflow-wrap:anywhere;min-width:0}.candidate-cell:last-child{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.result-source{color:var(--muted);margin:20px 0 0;font-size:13px}#result-detail .detail-fields>div{flex-direction:column;gap:8px}#result-detail dd{color:var(--ink);overflow-wrap:anywhere;font-size:16px;line-height:1.8}#result-detail:focus{outline:none}.result-source:empty{display:none}@media (max-width:1080px){.task-layout{grid-template-columns:minmax(0,1fr)}.provider-grid{grid-template-columns:1fr}}@media (max-width:760px){.preview-page{padding:24px 20px}.preview-heading{gap:10px}.preview-heading h1{font-size:28px}.preview-card{padding:20px}.candidate-columns,.candidate-row{gap:6px;padding-inline:4px}}.settings-header{margin-bottom:32px}.settings-layout{grid-template-columns:188px minmax(0,1fr);gap:40px;display:grid}.settings-nav{align-self:start;gap:2px;display:grid;position:sticky;top:0}.settings-nav button{width:100%;min-height:var(--row-height);text-align:left;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:5px 10px;font-size:14px;line-height:20px;display:flex}.settings-nav button:hover,.settings-nav button[aria-current=page]{background:var(--accent-soft);color:var(--ink)}.settings-content{min-width:0}.settings-panel>h2,.settings-panel .preview-heading h2{color:var(--ink);margin:0;font-size:24px;font-weight:500}.settings-panel h2:focus{outline:none}.settings-description{color:var(--muted);margin:10px 0 28px;font-size:15px;line-height:1.8}.settings-content .preview-heading{margin-bottom:24px}.settings-content .preview-heading .page-kicker{display:none}.settings-content .preview-badge{margin-top:0}.settings-group{border-bottom:1px solid var(--line);padding:14px 0}.settings-row{justify-content:space-between;align-items:center;gap:28px;display:flex}.settings-row h3{color:var(--ink);margin:0;font-size:15px;font-weight:500}.settings-row p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.6}.settings-row .mode-field label{display:none}.settings-row select,.settings-content .preview-field select,.settings-content .preview-field input{border:1px solid var(--line);background:var(--surface);color:var(--ink);min-width:140px;font:inherit;border-radius:9px;padding:10px 12px}.settings-content .connection-card{box-shadow:none;background:0 0;border:0;padding:24px 0}.settings-content .provider-grid{grid-template-columns:minmax(0,1fr);gap:0}.settings-content .provider-card{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;padding:16px 0}.settings-content .provider-card>.preview-icon{display:none}.settings-content .provider-card>h2{margin-top:0;font-size:16px}.settings-content .preview-field{grid-template-columns:minmax(80px,1fr) minmax(140px,280px);align-items:center;gap:16px;margin-top:18px;display:grid}.settings-content .tool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:none;display:grid}.settings-content .tool-card{margin-bottom:0}.settings-content .catalog-section{border:0;padding-top:12px}@media (max-width:1080px){.settings-layout{grid-template-columns:164px minmax(0,1fr);gap:24px}.settings-content .tool-list{grid-template-columns:1fr}}@media (max-width:760px){.settings-layout{grid-template-columns:minmax(0,1fr);gap:24px}.settings-nav{padding-bottom:8px;display:flex;position:static;overflow-x:auto}.settings-row{flex-wrap:wrap;gap:16px}.settings-content .preview-field{grid-template-columns:minmax(0,1fr);gap:10px}.activity-entry{padding-inline:8px;font-size:12px}}.settings-nav svg{width:16px;height:16px}@media (pointer:coarse){.settings-nav button{min-height:40px;padding-block:10px}}.settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0;display:grid}.settings-fields.single{grid-template-columns:1fr}.settings-fields label{color:var(--ink);gap:10px;font-size:14px;display:grid}.settings-fields input,.settings-fields select{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:9px;padding:11px 12px}.settings-fields input:focus,.settings-fields select:focus{border-color:var(--muted)}.settings-form{margin-top:28px}.settings-form-footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:10px;padding-top:18px;display:flex}.settings-form-footer p{color:var(--muted);flex:1;font-size:12px}.integration-status{color:var(--muted);font-size:12px;font-weight:400}.settings-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:240px;padding:36px 24px;display:flex}.settings-empty>svg{width:28px;height:28px;color:var(--muted);margin-bottom:14px}.settings-empty h3{margin:8px 0;font-size:17px;font-weight:500}.settings-empty p{color:var(--muted);max-width:380px;font-size:14px;line-height:1.8}.settings-empty.compact{min-height:160px;padding-block:24px}.settings-dialog{border:1px solid var(--line);background:var(--surface);width:min(520px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:18px;padding:28px;overflow:auto;box-shadow:0 24px 80px #0002}.settings-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0005}.settings-dialog h2{margin:8px 0 14px;font-size:22px;font-weight:500}.settings-dialog>p{color:var(--muted);line-height:1.8}.dialog-dismiss{justify-content:flex-end;margin:-12px -12px 0 0;display:flex}@media (max-width:680px){.settings-fields{grid-template-columns:1fr}.settings-form-footer{flex-wrap:wrap}.settings-form-footer p{flex-basis:100%}.settings-dialog{padding:22px}}#settings-view{border:1px solid var(--line);width:min(980px,100vw - 48px);max-width:none;height:min(760px,100dvh - 64px);max-height:none;color:var(--ink);background:var(--surface);border-radius:18px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 90px #0002}#settings-view .settings-shell{flex-direction:column;height:100%;min-height:0;padding:30px;display:flex}#settings-view .settings-shell>.settings-header,#settings-view .settings-shell>.run-strip{flex-shrink:0}#settings-view .settings-content{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;min-height:0;padding-right:14px;overflow-y:auto}#settings-view::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0004}.settings-close{position:absolute;top:16px;right:16px}#settings-view .settings-header{margin-bottom:28px}#settings-view .settings-header h1{font-size:22px}#settings-view .settings-header p{display:none}#settings-view .settings-layout{flex:1;grid-template-columns:164px minmax(0,1fr);align-items:stretch;gap:32px;min-height:0}#settings-view .settings-panel>h2{font-size:21px}.history-dialog{background:var(--surface);width:min(620px,100vw - 32px);max-height:min(680px,100dvh - 64px);color:var(--ink);border:1px solid #dedede;border-radius:16px;margin:auto;padding:18px 16px 12px;overflow-y:auto;box-shadow:0 24px 72px #00000026}.history-dialog:not([open]){display:none}.history-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000002b}.history-dialog header{justify-content:space-between;align-items:center;gap:12px;margin:0 2px 12px;display:flex}#history-search h2{margin:0;font-size:14px;font-weight:600;line-height:20px}.history-dialog p{color:var(--muted);margin:5px 0 0;font-size:13px}.history-dialog #history-search-form{border:1px solid var(--line);background:#f7f7f7;border-radius:11px;align-items:center;gap:10px;padding:6px 10px;display:flex}.history-dialog input{background:0 0;border:0;outline:none;flex:1;min-width:0;padding:8px 0;font-size:15px}.history-dialog #history-search-form:focus-within{border-color:#b4b4b4}#history-search-status{margin:18px 8px;font-size:13px}#history-search-status:empty{margin:4px}#history-search-results{gap:2px;padding:6px 0;display:grid}.history-hit{text-align:left;color:var(--ink);background:0 0;border:0;border-radius:10px;gap:6px;padding:12px;display:grid}.history-hit:hover,.history-hit:focus-visible{background:var(--surface-soft)}.history-hit-title{font-size:14px;font-weight:500}.history-hit-snippet{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.6}.history-hit mark{color:var(--ink);background:#e3e3dd;border-radius:3px}.chat-search{min-width:0;color:var(--muted);background:0 0;border-radius:8px;flex:1;align-items:center;gap:8px;padding:7px 9px;display:flex}.chat-search svg{flex-shrink:0;width:16px;height:16px}.chat-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:none;font-size:13px}.chat-search:focus-within{outline:2px solid var(--line)}.search-empty{color:var(--muted);padding:8px 20px;font-size:13px}.rename-chat{opacity:.55}.rename-chat:hover,.rename-chat:focus-visible{opacity:1}.message-source{background:var(--surface-soft);color:var(--muted);border:0;border-radius:8px;padding:5px 10px;font-size:12px}.message-source:hover{color:var(--ink)}.message:has(.message-body:empty) .message-copy{display:none}.user .message-actions{justify-content:flex-end}@media (max-width:760px){#settings-view{border-radius:14px;width:calc(100vw - 20px);height:calc(100dvh - 32px);padding:0}#settings-view .settings-shell{padding:24px 18px}#settings-view .settings-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:20px}}@media (prefers-reduced-motion:no-preference){#settings-view[open],.settings-dialog[open]{animation:.18s ease-out settings-enter}@keyframes settings-enter{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:none}}}.message-body.rich-reply{white-space:normal}.rich-reply>:first-child{margin-top:0}.rich-reply>:last-child{margin-bottom:0}.rich-reply p{margin:0 0 16px}.rich-reply :is(h1,h2,h3,h4,h5,h6){color:var(--ink);margin:26px 0 12px;font-weight:600;line-height:1.5}.rich-reply h1{font-size:23px}.rich-reply h2{font-size:20px}.rich-reply h3{font-size:18px}.rich-reply :is(h4,h5,h6){font-size:16px}.rich-reply :is(ul,ol){margin:12px 0 20px;padding-left:26px}.rich-reply li,.rich-reply li p{margin:6px 0}.rich-reply blockquote{border-left:3px solid var(--line);color:var(--muted);margin:20px 0;padding:2px 18px}.rich-reply hr{border:0;border-top:1px solid var(--line);margin:24px 0}.rich-reply a{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.rich-reply code{background:var(--surface-soft);border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em}.reply-code{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;margin:18px 0}.reply-code-actions{border-bottom:1px solid var(--line);justify-content:flex-end;padding:4px 8px;display:flex}.reply-code pre{white-space:pre;max-height:480px;margin:0;padding:14px 18px;overflow:auto}.reply-code code{background:0 0;padding:0}.reply-table{border:1px solid var(--line);border-radius:10px;margin:18px 0;overflow-x:auto}.reply-table table{border-collapse:collapse;width:100%;font-size:14px}.reply-table :is(th,td){border-bottom:1px solid var(--line);text-align:left;min-width:100px;padding:10px 14px}.reply-table th{background:var(--surface-soft);font-weight:500}.reply-table tr:last-child td{border-bottom:0}.conversation-controls{position:relative}.jump-latest{background:var(--surface);height:32px;color:var(--muted);border:1px solid var(--line);white-space:nowrap;z-index:1;border-radius:20px;align-items:center;gap:6px;padding:0 12px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #0000000a}.jump-latest:active:not(:disabled){transform:translate(-50%)scale(.97)}.jump-latest:hover{color:var(--ink)}.scroll-rail{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;opacity:.58;background:0 0;border-radius:12px;width:18px;transition:opacity .18s;position:absolute;inset:12px -18px 12px auto}.scroll-rail:hover,.scroll-rail:focus-visible,.scroll-rail[data-dragging=true]{opacity:1}.scroll-rail:focus-visible{outline-offset:2px;outline:2px solid #c5c5c5}.scroll-rail:before{content:"";pointer-events:none;background:repeating-linear-gradient(#e1e1e1 0 2px,#0000 2px 8px);border-radius:2px;width:2px;position:absolute;top:5px;bottom:5px;left:50%;transform:translate(-50%)}.scroll-grain{top:calc(var(--grain-position,0) * 100%);pointer-events:none;background:#b8b8b8;border-radius:1px;width:6px;height:1px;transition:width .16s,height .16s,background .16s,border-color .16s;position:absolute;left:50%;transform:translate(-50%,-50%)}.scroll-grain[data-state=visible]{background:#858585;width:9px;height:2px}.scroll-grain[data-state=current]{z-index:1;background:#fff;border:1.5px solid #292929;border-radius:4px;width:13px;height:8px;box-shadow:0 1px 5px #0000001c}.scroll-rail:hover:before,.scroll-rail[data-dragging=true]:before{background:repeating-linear-gradient(#c7c7c7 0 2px,#0000 2px 8px)}@media (max-width:760px){.scroll-rail{width:16px;right:-12px}}@media (forced-colors:active){.scroll-grain{background:graytext}.scroll-grain[data-state=visible],.scroll-grain[data-state=current]{background:highlight}}@media (prefers-reduced-motion:reduce){.scroll-rail,.scroll-grain{transition:none}}.result-search{border:1px solid var(--line);color:var(--muted);border-radius:9px;align-items:center;gap:10px;margin:18px 0;padding:10px 12px;display:flex}.result-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:none;font-size:14px}.result-search:focus-within{outline:2px solid var(--line)}.results-panel.results-reader{width:min(760px,100%)}.results-panel.results-reader .task-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;display:grid}.results-reader .preview-card{box-shadow:none;border:0;padding:0}.results-reader .detail-stack{border-left:1px solid var(--line);min-width:0;padding-left:22px}.results-reader .detail-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;line-height:1.8;overflow:auto}.detail-navigation{color:var(--muted);align-items:center;gap:8px;margin:14px 0;font-size:12px;display:flex}.detail-navigation>span{margin-right:auto}.detail-step{background:var(--surface-soft);color:var(--muted);border:0;border-radius:7px;padding:5px 8px;font-size:12px}.detail-actions{align-items:center;gap:8px;margin-top:20px;display:flex}@media (max-width:820px){.results-panel.results-reader .task-layout{grid-template-columns:minmax(0,1fr)}.results-reader .detail-stack{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}}.workspace-menu{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;width:220px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:0;padding:6px;position:fixed;overflow:auto;box-shadow:0 10px 32px #00000014}.workspace-menu:popover-open{gap:2px;display:grid}.workspace-menu:not(:popover-open){display:none}.workspace-menu button{color:var(--ink);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:9px 10px;font-size:14px;display:flex}.workspace-menu button:hover:not(:disabled),.workspace-menu button:focus-visible{background:var(--surface-soft)}.workspace-menu hr{border:0;border-top:1px solid var(--line);margin:5px 4px}.workspace-menu .menu-danger{color:var(--danger)}.workspace-menu small{color:var(--muted);margin-top:5px;font-size:12px;font-weight:400;line-height:1.6;display:block}.connection-state{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:5px 8px;font-size:12px;display:inline-flex}.connection-state:hover:not(:disabled){background:var(--surface-soft)}.connection-dot{background:var(--muted);border-radius:50%;width:5px;height:5px}.connection-state[data-connection=failed]{color:var(--danger)}.connection-state[data-connection=failed] .connection-dot{background:currentColor}.connection-state[data-connection=ready] .connection-dot{background:var(--ink)}.error-actions{align-items:center;gap:8px;margin-top:4px;display:flex}.error-actions .text-button{padding:4px 8px;font-size:12px}.delete-dialog-actions{justify-content:flex-end;gap:10px;margin-top:28px;display:flex}.connection-form #check-connection{grid-column:2;justify-self:start}@media (max-width:760px){.connection-state{padding:7px}.connection-state #connection-label{display:none}.connection-form #check-connection{grid-column:1}}@media (pointer:coarse){.workspace-menu button{min-height:40px}}@media (prefers-reduced-motion:no-preference){.workspace-menu:popover-open{animation:.15s ease-out menu-enter}@keyframes menu-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}.global-notice{inset:max(10px, env(safe-area-inset-top)) auto auto 50%;border:1px solid var(--line);width:min(360px,100vw - 32px);height:auto;color:var(--ink);background:var(--surface);opacity:0;transition:opacity .18s ease, transform .18s var(--ease), display .18s allow-discrete, overlay .18s allow-discrete;border-radius:10px;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:8px;margin:0;padding:8px 8px 8px 12px;display:grid;position:fixed;transform:translate(-50%,-7px)scale(.98);box-shadow:0 4px 16px #00000012}.global-notice[hidden]{display:none}.global-notice[data-motion=shown]{opacity:1;transform:translate(-50%)scale(1)}.global-notice[data-motion=leaving]{opacity:0;transform:translate(-50%,-5px)scale(.98)}.notice-mark{color:var(--danger);align-items:center;display:flex}.notice-mark svg{width:18px;height:18px;display:block}.global-notice[data-tone=info] .notice-mark{color:var(--muted)}.global-notice-body{min-width:0}.global-notice .error,.global-notice .notice-note{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:400;line-height:20px}.global-notice-close{width:28px;height:28px;min-height:0;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.global-notice-close svg{pointer-events:none;width:16px;height:16px;display:block}.global-notice-close:hover{background:var(--surface-soft);color:var(--ink)}.global-notice-close:focus-visible{outline-offset:-2px}.global-notice .error-actions{flex-wrap:wrap;gap:6px;margin-top:6px}.global-notice .error-actions .text-button{background:var(--surface-soft);border-radius:6px;min-height:26px;padding:3px 7px;font-size:12px}@media (pointer:coarse){.global-notice{grid-template-columns:18px minmax(0,1fr) 40px;padding-block:4px}.global-notice-close{width:40px;height:40px}}@media (max-width:760px){.global-notice{inset:max(8px, env(safe-area-inset-top)) 16px auto;width:auto;transform:translateY(-7px)scale(.98)}.global-notice[data-motion=shown]{transform:translateY(0)scale(1)}.global-notice[data-motion=leaving]{transform:translateY(-5px)scale(.98)}}.app .workspace{grid-template-rows:minmax(0,1fr);position:relative}.app .workspace-bar{z-index:4;pointer-events:none;height:40px;min-height:40px;padding:0;position:absolute;inset:8px 44px auto 16px}.app .workspace-bar-start{background:var(--surface);border-radius:10px;flex:0 auto;min-width:0;max-width:calc(100% - 48px);padding-right:8px}.app .workspace-bar button{pointer-events:auto}.app .workspace-bar #conversation-title{max-width:min(48vw,520px);font-size:13px}#conversation-view{background:var(--surface);grid-template:"surface"minmax(0,1fr)"dock"/minmax(0,1fr);padding:0 28px;display:grid;position:relative;overflow:hidden}#conversation-view .conversation-pane{grid-area:surface;grid-template-rows:minmax(0,1fr) auto;justify-self:stretch;width:100%;min-width:0;height:100%;min-height:0;padding:0;display:grid}#conversation-view .reading-frame{display:flex}#conversation-view #conversation{padding-top:56px;scroll-padding-top:56px}.talk-heading,.source-heading{justify-content:space-between;align-items:center;padding:12px 8px;display:flex}.talk-heading h2,.source-heading h2{color:var(--muted);margin:0;font-size:13px;font-weight:400}.surface-empty{color:var(--muted);text-align:center;margin:48px 0;font-size:14px}#conversation-view #empty{height:100%;color:var(--muted);justify-content:center;align-items:center;display:flex}#conversation-view .messages{padding:20px 0}#conversation-view .message-body{font-size:16px;line-height:1.8}#conversation-view .conversation-controls{max-width:100%;min-height:0}.message-display{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin:16px 0 10px;overflow:hidden}.message-display>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.message-display h3{margin:0;font-size:13px;font-weight:500}.message-display .display-body{padding:16px 20px}.display-expand{width:auto;padding:0 8px;font-size:12px}.voice-stage{z-index:2;overscroll-behavior:contain;flex-direction:column;grid-area:surface;justify-content:flex-start;align-items:center;gap:28px;width:100%;min-height:0;padding:clamp(64px,10dvh,108px) 36px 28px;display:flex;overflow-y:auto}.voice-presence{color:#4b4b4b;width:96px;height:96px;transition:opacity .4s, width .45s var(--ease),height .45s var(--ease);background:radial-gradient(circle at 38% 32%,#fff 6%,#f5f5f5 55%,#ededed);border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.presence-ring{border:1px solid #77777732;border-radius:45% 55% 56% 44%;position:absolute;inset:14%;transform:rotate(35deg)}.presence-ring:nth-child(2){border-color:#77777725;inset:10% 18%;transform:rotate(100deg)}.presence-ring:nth-child(3){border-color:#77777720;inset:20% 8%;transform:rotate(155deg)}.presence-mark{opacity:.75;width:28px;height:28px;transition:width .45s var(--ease),height .45s var(--ease)}.voice-caption-stack{text-align:center;gap:10px;width:min(680px,100%);display:grid}.voice-stage-input,.voice-stage-reply,.voice-stage-question{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:22px;font-weight:400;line-height:1.8}.voice-stage-input{color:#626262}.voice-stage-context{color:var(--muted);margin:0;font-size:12px;line-height:1.5}#conversation-view[data-preview=true] :is(.voice-stage-input,.voice-stage-reply,.voice-stage-question):not([hidden]){-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#conversation-view:not([data-surface=voice]) .voice-stage{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border-radius:20px;flex-direction:row;justify-content:center;place-self:end center;gap:12px;width:-moz-fit-content;width:fit-content;max-width:min(620px,100% - 48px);min-height:56px;max-height:100px;margin-bottom:4px;padding:12px 20px;overflow:hidden}#conversation-view:not([data-surface=voice]) .voice-presence{width:32px;height:32px}#conversation-view:not([data-surface=voice]) .presence-mark{width:16px;height:16px}#conversation-view:not([data-surface=voice]) .voice-caption-stack{text-align:left;gap:4px;width:auto;min-width:0}#conversation-view:not([data-surface=voice]) .voice-stage :is(.voice-stage-input,.voice-stage-reply,.voice-stage-question){-webkit-line-clamp:2;font-size:14px;line-height:1.6}#conversation-view:not([data-surface=voice]):has(>.voice-stage:not([hidden])) :is(.work-reading,.conversation,.voice-visuals){padding-bottom:104px;scroll-padding-bottom:104px}#workspace-shell[data-voice=muted] .voice-presence{opacity:.4}#workspace-shell[data-voice=waiting] .presence-mark{opacity:.35}#conversation-view .voice-dock{width:100%;max-width:720px;padding:12px 0 max(22px,env(safe-area-inset-bottom));grid-area:dock;justify-self:center;container:scene-controls/inline-size}.voice-controls{width:-moz-fit-content;width:fit-content;max-width:100%;min-height:66px;transition:border-color .3s,box-shadow .4s var(--ease);background:#ffffffed;border:1px solid #e7e7e7;border-radius:32px;justify-content:center;align-items:center;gap:10px;margin-inline:auto;padding:8px;display:flex;position:relative;box-shadow:0 8px 32px #00000008,0 1px 3px #00000004}.voice-controls[data-microphone=on]{border-color:#d0d0d0}.voice-control,#conversation-view #microphone{color:#555;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:0;display:inline-flex}.voice-controls .voice-control:not(#voice-mute,#finish)>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.voice-controls button:focus-visible{outline-offset:2px}.voice-control svg,#conversation-view #microphone svg{width:19px;height:19px}.voice-control:hover:not(:disabled){background:#e9e9e9}#typing-toggle{background:0 0;position:relative}#typing-toggle[aria-expanded=true]{background:#f1f1f1}#typing-toggle[data-draft=true]:after{content:"";background:var(--ink);border-radius:50%;width:4px;height:4px;position:absolute;top:9px;right:12px}#conversation-view #microphone{background:var(--ink);color:#fff;border-radius:24px;gap:8px;width:auto;min-width:136px;height:48px;min-height:48px;padding:0 18px;font-size:13px;box-shadow:0 3px 10px #0000000b}#conversation-view #microphone:hover:not(:disabled){background:#404040;box-shadow:0 6px 20px #00000012}.voice-actions,.voice-call,#response-controls{align-items:center;gap:8px;display:flex}.voice-actions{justify-content:center;min-width:136px}#voice-mute{border-radius:24px;gap:8px;width:auto;min-width:112px;height:48px;min-height:48px;padding:0 16px;font-size:13px}#finish{background:var(--ink);color:#fff;border-radius:24px;gap:8px;width:auto;min-width:112px;height:48px;min-height:48px;padding:0 16px;font-size:13px}#finish:hover{background:#404040}#voice-mute[aria-pressed=true]{background:#e8e8e8;box-shadow:inset 0 0 0 1px #d7d7d7}#voice-mute[aria-pressed=false]{background:var(--ink);color:#fff}#voice-mute[aria-pressed=false]:hover{background:#404040}#voice-mute[aria-pressed=false] .mute-on,#voice-mute[aria-pressed=true] .mute-off{display:none}.end-control{color:#8b4b46}.end-control:hover:not(:disabled){background:#f2e5e2}:is(#voice-start-slot:has(#microphone[hidden]),#response-controls:not(:has(>button:not([hidden])))){display:none}#conversation-view .composer{max-width:var(--composer-width);border-radius:20px;flex-direction:row;align-items:flex-end;gap:12px;margin:0 auto 10px;padding:12px 16px;display:flex;box-shadow:0 8px 30px #00000005}#conversation-view .composer textarea{flex:1;min-width:0}#conversation-view .composer-actions{flex:none}.voice-recovery{justify-content:center;gap:8px;display:flex}.voice-recovery:has(>button:not([hidden])){margin-top:10px}.browse-control{min-width:84px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:22px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:inline-flex}.browse-control>svg{width:16px;height:16px}.browse-control .browse-chevron{width:12px;height:12px;transition:transform .25s var(--ease)}.browse-control[aria-expanded=true] .browse-chevron{transform:rotate(180deg)}.browse-control:hover,.browse-control[aria-expanded=true],.browse-control[data-selected=true]{color:var(--ink);background:#f3f3f3}.browse-control:focus-visible{outline-offset:2px}.browse-menu{background:var(--surface);width:240px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);opacity:0;transition:opacity .22s,transform .25s var(--ease),display .25s allow-discrete,overlay .25s allow-discrete;border:1px solid #e8e8e8;border-radius:18px;margin:0;padding:8px;position:fixed;inset:auto;overflow-y:auto;transform:translateY(8px);box-shadow:0 16px 60px #00000012}.browse-menu:popover-open{opacity:1;transform:none}.browse-menu:not(:popover-open){display:none}.browse-views,.browse-context{gap:2px;display:grid}.browse-views:not(:has(>button:not([hidden]))){display:none}.browse-views:has(>button:not([hidden]))+.browse-context{border-top:1px solid #ededed;margin-top:6px;padding-top:6px}.browse-item{color:#606060;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;font-size:13px;display:flex}.browse-item>span{flex:1}.browse-item svg{width:16px;height:16px}.browse-item:hover,.browse-item[aria-pressed=true]{color:var(--ink);background:#f4f4f4}.browse-item:focus-visible{outline-offset:-2px}.browse-item:not([aria-pressed=true]) .browse-check{display:none}@starting-style{.browse-menu:popover-open{opacity:0;transform:translateY(8px)}}.work-canvas,.voice-visuals{background:#fff;grid-area:surface;justify-self:stretch;width:100%;min-width:0;min-height:0}.work-canvas{grid-template-rows:minmax(0,1fr);display:grid;overflow:hidden}.work-heading{justify-content:space-between;align-items:center;gap:12px;max-width:860px;margin-inline:auto;padding:0 0 16px;display:flex}.work-heading h2{overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:500}.work-navigation{flex-shrink:0;align-items:center;gap:4px;display:flex}.work-navigation button{width:32px;height:32px}#work-caption{width:auto;color:var(--muted);white-space:nowrap;margin-right:6px;font-size:11px}.work-reading{overscroll-behavior:contain;min-height:0;padding:56px 32px 32px;scroll-padding-top:56px;overflow-y:auto}.work-reading:focus{outline:none}.work-answer{max-width:860px;margin-inline:auto}.work-empty{color:var(--muted)}.voice-visuals{overscroll-behavior:contain;padding:52px 12px 16px;scroll-padding-top:52px;overflow-y:auto}#conversation-view .voice-visuals .results-panel{border:0;width:100%;max-width:1000px;margin-inline:auto;padding:0}#conversation-view .voice-visuals .preview-card{box-shadow:none;border:0;border-radius:0;padding:16px 0}#conversation-view .voice-visuals .task-layout{gap:28px}.current-work{border:1px solid var(--line);width:min(400px,100vw - 32px);max-height:calc(100dvh - 168px);color:var(--ink);background:#fff;border-radius:18px;margin:0;padding:20px;position:fixed;inset:auto 24px 112px auto;overflow-y:auto;box-shadow:0 16px 60px #00000012}.app .context-panel{max-height:calc(100dvh - 168px);inset:auto 24px 112px auto}.current-work:not(:popover-open){display:none}.current-work>header{justify-content:space-between;align-items:center;display:flex}.current-work h2{margin:0;font-size:13px;font-weight:500}#work-goal{overflow-wrap:anywhere;margin:12px 0 6px;font-size:16px;line-height:1.7}#work-version{color:var(--muted);font-size:11px}#work-conditions{gap:8px;margin-top:16px;display:grid}.work-condition{color:#606060;overflow-wrap:anywhere;border-top:1px solid #efefef;padding-top:8px;font-size:13px}#work-question{margin:12px 0 0;font-size:13px;line-height:1.7}@media (prefers-reduced-motion:no-preference){.voice-actions .voice-control:not([hidden]){animation:surface-enter .22s var(--ease)}.presence-ring{animation:24s linear infinite paused presence-drift}.presence-ring:nth-child(2){animation-name:presence-drift-two;animation-duration:30s;animation-direction:reverse}.presence-ring:nth-child(3){animation-name:presence-drift-three;animation-duration:38s}#workspace-shell:is([data-voice=listening],[data-voice=speaking],[data-voice=waiting]) .presence-ring{animation-play-state:running}#workspace-shell[data-voice=listening] .voice-presence{animation:3.8s ease-in-out infinite presence-breathe}#workspace-shell[data-voice=speaking] .voice-presence{animation:2.2s ease-in-out infinite presence-breathe}#workspace-shell[data-voice=waiting] .voice-presence{animation:4.6s ease-in-out infinite presence-breathe}#workspace-shell[data-voice=muted] .presence-ring,#conversation-view[data-background=true] :is(.presence-ring,.voice-presence){animation-play-state:paused}#conversation-view :is(.voice-stage,.work-canvas,.voice-visuals,.conversation-pane):not([hidden]),#composer:not([hidden]){animation:surface-enter .38s var(--ease)}.current-work:popover-open{animation:surface-enter .38s var(--ease)}@keyframes presence-drift{to{transform:rotate(395deg)}}@keyframes presence-drift-two{to{transform:rotate(460deg)}}@keyframes presence-drift-three{to{transform:rotate(515deg)}}@keyframes presence-breathe{50%{transform:scale(1.035)}}@keyframes surface-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}@media (max-width:760px){.app .workspace-bar{left:12px;right:28px}#conversation-view{padding:0 12px}.voice-stage{gap:22px;padding:64px 12px 16px}:is(.voice-stage-reply,.voice-stage-input,.voice-stage-question){font-size:19px}#conversation-view:not([data-surface=voice]) .voice-stage{max-width:calc(100% - 24px);padding:10px 12px}#conversation-view .voice-dock{padding-bottom:max(14px,env(safe-area-inset-bottom))}.work-heading{gap:8px;padding:0 0 12px}.work-heading h2{font-size:15px}.work-reading{padding:56px 18px 24px}#work-caption{font-size:10px}.current-work,.app .context-panel{max-height:calc(100dvh - 208px);inset:auto 16px 152px auto}}@container scene-controls (width<=440px){.voice-controls{gap:6px;min-height:60px;padding:6px}.voice-actions,.voice-call,#response-controls{gap:6px}#voice-mute,#finish{gap:6px;min-width:0;height:44px;min-height:44px;padding:0 8px;font-size:12px}.browse-control{gap:4px;min-width:60px;padding:0 6px}.browse-control>svg:first-child{display:none}}@media (max-height:540px){.voice-stage{gap:12px;padding-top:56px}.voice-presence{width:56px;height:56px}.voice-caption-stack{gap:6px}#conversation-view .voice-dock{padding-top:6px;padding-bottom:max(8px,env(safe-area-inset-bottom))}}@font-face{font-family:VirtaReading;src:url(/fonts/reading.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:VirtaReading;src:url(/fonts/medium.woff2)format("woff2");font-weight:500 700;font-display:swap}@font-face{font-family:VirtaDisplay;src:url(/fonts/display.woff2)format("woff2");font-weight:400 600;font-display:swap}:root{color:var(--ink);background:var(--canvas);font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;--header-height:56px;--control-size:32px;--icon-size:18px;--page-gutter:16px;--row-height:30px;--sidebar-width:260px;--composer-width:720px;--canvas:#fff;--surface:#fff;--surface-soft:#f3f3f3;--ink:#202020;--muted:#737373;--accent:#202020;--line:#e5e5e5;--accent-soft:#ececec;--danger:#a53d38;--ease:cubic-bezier(.22,.8,.24,1);font-family:VirtaReading,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;font-size:14px}*,:before,:after{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .18s, color .18s, transform .22s var(--ease), box-shadow .22s}button:disabled{cursor:default;opacity:.42}button:active:not(:disabled){transform:scale(.97)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}.sidebar :where(button,summary):focus-visible{outline:none;box-shadow:inset 0 0 0 1px #8f8f8f}button svg,a svg,summary svg,i[data-lucide]{width:var(--icon-size);height:var(--icon-size);flex-shrink:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app{grid-template-columns:var(--sidebar-width) minmax(0,1fr);height:100dvh;min-height:0;transition:grid-template-columns .3s var(--ease);display:grid}.app[data-sidebar=closed]{grid-template-columns:0 minmax(0,1fr)}.sidebar{width:var(--sidebar-width);min-height:0;transition:transform .3s var(--ease), visibility .3s;z-index:8;background:#f8f8f8;border-right:1px solid #eee;flex-direction:column;padding:0 12px 12px;display:flex;overflow-y:auto}.app[data-sidebar=closed] .sidebar{visibility:hidden;transform:translate(-100%)}.brand{height:var(--header-height);min-height:var(--header-height);padding:0 var(--page-gutter);flex-shrink:0;align-items:center;gap:8px;margin:0 -12px;display:flex}.brand-mark{color:var(--accent);width:var(--control-size);height:var(--control-size);flex-shrink:0;place-items:center;display:grid}.brand-mark svg{width:24px;height:24px}.brand-word{letter-spacing:1.2px;font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:600;line-height:24px}.nav-label{color:var(--muted);margin:18px 10px 8px;font-size:12px;line-height:18px}.chat-list{align-content:start;gap:2px;min-height:0;display:grid;overflow-y:auto}.chat-item{width:100%;min-height:var(--row-height);color:#4b4b4b;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:5px 10px;font-size:14px;line-height:20px;overflow:hidden}.chat-item:hover:not(:disabled){background:#eee}.chat-item[aria-current=page]{color:#202020;background:#e8e8e8;font-weight:500}.sidebar-space{flex:1;min-height:24px}.nav-item{width:100%;min-height:36px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;margin:0;padding:8px 10px;font-size:14px;line-height:20px;display:flex}.nav-item:hover:not(:disabled),.nav-item.active{background:var(--accent-soft)}.nav-preview{color:var(--muted);margin-left:auto;font-size:12px}.history-heading{flex-shrink:0;min-height:40px;margin:4px 0 8px;padding:0 4px 0 0}.history-heading .nav-label{margin:0 10px}.sidebar-footer{border-top:1px solid var(--line);padding-top:12px}.session-actions{align-items:center;gap:3px;display:flex}.session-actions .text-button{padding-inline:10px;font-size:13px}.connection-card{margin-bottom:30px}.connection-form{grid-template-columns:110px minmax(0,480px);align-items:center;gap:16px;margin-top:24px;display:grid}.connection-form label{color:var(--muted);font-size:15px}.connection-form input{border:1.5px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:10px;padding:12px 14px}.connection-capabilities{color:var(--muted);grid-column:2;margin:0;font-size:14px}#connection-error{display:none}.settings-section-heading{justify-content:space-between;align-items:center;margin:20px 0 18px;display:flex}.settings-section-heading h2{margin:0;font-size:18px;font-weight:500}.settings-section-heading .preview-badge{margin:0}.workspace{grid-template-rows:var(--header-height) minmax(0,1fr);background:var(--canvas);min-width:0;min-height:0;display:grid;overflow:hidden}.workspace-bar{height:var(--header-height);min-height:var(--header-height);padding:0 var(--page-gutter);justify-content:space-between;align-items:center;gap:12px;display:flex}.workspace-bar-start,.workspace-bar-end{min-height:var(--control-size);align-items:center;gap:8px;display:flex}.workspace-bar-start{flex:1;min-width:0}.workspace-bar-end{flex-shrink:0}.workspace-section{color:var(--muted);font-size:14px;line-height:24px}#conversation-title{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:min(36vw,440px);font-size:16px;line-height:24px;overflow:hidden}.icon-button,.text-button,.activity-toggle{min-height:var(--control-size);background:var(--surface-soft);color:var(--ink);border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:6px 10px;line-height:20px;display:inline-flex}.icon-button,.activity-toggle{width:var(--control-size);height:var(--control-size);flex-shrink:0;padding:7px}.text-button{font-size:14px}.quiet,.activity-toggle{color:var(--muted);background:0 0}.account-trigger{background:var(--surface-soft);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);border-radius:18px;padding:6px 13px;font-size:13px}.account-trigger:hover:not(:disabled){background:var(--accent-soft);color:var(--ink)}.icon-button:hover:not(:disabled),.text-button:hover:not(:disabled),.activity-toggle:hover{background:#eaeaea}.icon-button.primary{background:var(--ink);color:var(--surface);width:var(--control-size);height:var(--control-size);min-height:var(--control-size);border-radius:50%}.icon-button.primary:hover:not(:disabled){background:var(--accent)}.conversation-view{view-transition-name:conversation;height:100%;min-height:0}h1{color:var(--muted);margin:0;font-size:15px;font-weight:400}h1:focus{outline:none}.status{display:none!important}.status:before{content:"";background:#888;border-radius:50%;width:6px;height:6px}.status[data-state=Listening]:before,.status[data-state=Playing]:before{background:var(--accent)}.status[data-state=Failed]{color:var(--danger)}.status[data-state=Failed]:before{background:var(--danger)}.messages{max-width:760px;margin:auto;padding:24px 0 12px;list-style:none}.messages:empty{display:none}.exchange{animation:rise-in .3s var(--ease);margin:0 0 36px}.message{align-items:flex-start;gap:14px;margin-bottom:24px;display:flex}.message>div{width:100%;min-width:0}.avatar{width:28px;height:28px;color:var(--muted);background:#eee;border-radius:50%;flex-shrink:0;place-items:center;font-size:12px;display:grid}.assistant .avatar{background:var(--accent);color:#fff}.message-label{color:var(--muted);font-size:13px;font-weight:500}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:16px;line-height:1.8}.user{flex-direction:row-reverse;max-width:86%;margin-left:auto}.user>div{width:auto}.user .message-label{text-align:right;display:block}.user .message-body{background:#f3f3f3;border-radius:18px 5px 18px 18px;padding:11px 15px;font-size:15px}.message-note{color:var(--muted);overflow-wrap:anywhere;margin:8px 0;font-size:13px;line-height:1.7}.recovery-actions{flex-wrap:wrap;gap:6px;display:flex}.recovery-actions:has(button:not([hidden])){margin:8px 0}.danger:not(:disabled){color:var(--danger);background:#f1e5de}.session-actions .danger:not(:disabled){color:var(--muted);background:0 0}.session-actions .danger:hover:not(:disabled){color:var(--danger);background:#f1e5de}.app:has(#context-drawer:popover-open) .activity-entry{background:var(--accent-soft)}.workspace:not([data-page-active=conversation]) .activity-entry{display:none}.mode-summary{color:var(--muted);font-size:13px}.composer:focus-within{border-color:#bdbdbd;box-shadow:0 2px 12px #00000008}.input-state{display:none}.error{color:var(--danger);overflow-wrap:anywhere;margin:8px 4px 0;font-size:14px;line-height:1.6}.error:empty{display:none}.context-panel{background:var(--surface);border:1px solid var(--line);opacity:0;width:min(440px,100vw - 32px);max-height:calc(100dvh - 96px);transition:opacity .25s, transform .25s var(--ease), display .25s allow-discrete, overlay .25s allow-discrete;border-radius:22px;margin:0;padding:24px;position:fixed;inset:76px 20px 20px auto;overflow-y:auto;transform:translate(20px);box-shadow:0 22px 80px #0000001a}.context-panel:popover-open{opacity:1;flex-direction:column;display:flex;transform:translate(0)}.context-panel:not(:popover-open){display:none}.context-panel::backdrop{background:#0000000a}.context-heading h2{justify-content:space-between;align-items:center;margin:0;font-size:18px;font-weight:500;display:flex}@starting-style{.context-panel:popover-open{opacity:0;transform:translate(20px)}}.sidebar-backdrop{display:none}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}::view-transition-old(conversation){animation:.15s both fade-out}::view-transition-new(conversation){animation:rise-in .25s var(--ease) both}@keyframes fade-out{to{opacity:0}}.conversation-pane{flex-direction:column;height:100%;min-height:0;padding:0 28px 20px;display:flex}.reading-frame{flex:1;min-height:0;display:flex;position:relative}.conversation{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;overflow-y:auto}.conversation:has(+.scroll-rail){scrollbar-width:none;padding-inline:12px}.conversation:has(+.scroll-rail)::-webkit-scrollbar{display:none}#empty{display:none}.conversation-controls,.input-area{width:100%;max-width:var(--composer-width);flex-shrink:0;align-self:center}.composer{background:var(--surface);border:1px solid #ddd;border-radius:20px;flex-direction:column;gap:6px;padding:12px 14px;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 2px 10px #00000005}.composer textarea{resize:none;width:100%;min-height:var(--control-size);max-height:160px;color:var(--ink);background:0 0;border:0;outline:0;padding:4px 2px;font-size:16px;line-height:24px;display:block}.composer-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.composer-context,.composer-buttons{align-items:center;gap:6px;display:flex}.composer-context{flex-wrap:wrap;min-width:0}.composer-buttons{margin-left:auto}.mode-summary,#voice-caption{color:var(--muted);font-size:12px}.mic-button{width:var(--control-size);height:var(--control-size);background:var(--ink);color:#fff;border:0;border-radius:50%;place-items:center;padding:7px;display:inline-grid}.mic-button:hover:not(:disabled){background:#424242}.finish-button{background:var(--accent-soft);border-radius:10px}.workspace:has(#activity-list:empty) .activity-entry{display:none}.workspace[data-voice=idle][data-page-active=conversation] .status[data-state=Ready]{display:none}.results-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;width:min(760px,100%);margin:0 auto 24px;padding:16px 18px}.results-panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.results-panel-heading h2{margin:0;font-size:14px;font-weight:500}.results-panel .task-layout{grid-template-columns:minmax(0,1fr)}.results-panel .result-card{min-height:0}.results-panel .preview-card{border-radius:12px;padding:16px}.current-results .preview-toolbar{border:0;gap:8px;margin-bottom:8px;padding-bottom:8px;font-size:12px}.current-results .result-search{margin:8px 0 12px;padding:7px 9px}.current-results .outline-action{padding:4px 8px;font-size:12px}.current-results #result-list{max-height:280px;overflow-y:auto}.current-results .task-layout{align-items:start}.current-results:has(.detail-stack[hidden]) .task-layout{grid-template-columns:minmax(0,1fr)}.current-results .preview-card{background:0 0}@media (prefers-reduced-motion:no-preference){.current-results{animation:result-enter .24s var(--ease)}@keyframes result-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}.settings-page{max-width:1060px}.settings-page .preview-heading h1{font-size:28px}.chat-item svg,.nav-item svg{width:16px;height:16px}.composer .icon-button{width:var(--control-size);height:var(--control-size);min-height:var(--control-size);border-radius:50%;padding:7px}.composer .text-button{min-height:var(--control-size);padding:6px 10px;font-size:13px}.composer button svg{width:var(--icon-size);height:var(--icon-size)}@media (max-width:760px){.app,.app[data-sidebar=closed]{grid-template-columns:minmax(0,1fr);min-height:0}.sidebar{visibility:hidden;width:min(300px,100vw - 48px);position:fixed;inset:0 auto 0 0;transform:translate(-100%);box-shadow:10px 0 48px #00000018}.app[data-sidebar=open] .sidebar{visibility:visible;transform:translate(0)}.sidebar-backdrop:not([hidden]){z-index:7;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000026;border:0;display:block;position:fixed;inset:0}.workspace-bar{gap:8px}.workspace-bar-end{gap:4px}.workspace-bar .toolbar-label,.workspace-bar .status{display:none}.workspace-bar-end .text-button{width:var(--control-size);height:var(--control-size);padding:7px}.conversation-pane{padding:0 var(--page-gutter) max(12px,env(safe-area-inset-bottom))}.connection-form{grid-template-columns:minmax(0,1fr);gap:12px}.connection-capabilities,#connection-error{grid-column:1}.message-body,.user .message-body{font-size:16px;line-height:1.8}.user{max-width:94%}.results-panel{padding:12px}}@media (pointer:coarse){:root{--control-size:40px;--row-height:40px}.chat-item,.nav-item{padding-block:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.message-actions{flex-wrap:wrap;align-items:center;gap:2px;margin-top:0;display:flex}.message-actions:empty,.message-note:empty{display:none}.message-audio{align-items:center;display:inline-flex}.message-audio-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.message-audio[data-state=playing] .message-audio-button,.message-audio[data-state=started] .message-audio-button{color:var(--ink)}.message-audio[data-state=failed] .message-audio-button{color:var(--danger)}.message-action{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:7px;flex:0 0 28px;place-items:center;padding:0;display:inline-grid}.message-action svg{aspect-ratio:1;fill:none;flex-shrink:0;width:16px;min-width:16px;height:16px;min-height:16px;display:block}.message-action:hover:not(:disabled),.message-action:focus-visible{background:var(--surface-soft);color:var(--ink)}.assistant .message-body{margin-bottom:0}.message>div>.message-note{margin:4px 0 0}.assistant .rich-reply>:last-child{margin-bottom:0}.run-strip{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:10px;padding:9px 12px;display:flex}.run-strip>div{flex:1;gap:2px;min-width:0;display:grid}.run-strip strong{white-space:nowrap;text-overflow:ellipsis;max-width:180px;font-size:12px;font-weight:500;overflow:hidden}.run-strip span{color:var(--muted);font-size:11px}.run-strip button{white-space:nowrap;padding:4px 6px;font-size:12px}.run-strip[data-run-strip=global]{z-index:10;max-width:calc(100vw - 32px);position:fixed;bottom:20px;right:20px;box-shadow:0 6px 24px #0000000d}#settings-view .run-strip{margin-bottom:20px}@media (pointer:coarse){.message-action{flex-basis:40px;width:40px;height:40px}}@media (max-width:760px){.run-strip[data-run-strip=global]{bottom:12px;right:12px}.run-strip strong{max-width:120px}}.rich-reply>:last-child :is(p,ul,ol,blockquote):last-child,.rich-reply li:last-child{margin-bottom:0}.settings-dialog .run-strip{margin:14px 0}.history-heading{justify-content:space-between;align-items:center;display:flex}.history-pages{gap:6px;display:flex}.history-pages button{padding:4px 8px;font-size:12px}#history-more{margin:4px 8px;font-size:12px}.app[hidden],.account-entry[hidden]{display:none}.account-entry{color:#262626;background:#fff;border:1px solid #dedede;border-radius:20px;width:min(420px,100vw - 32px);padding:38px 30px 24px}.account-entry:not([open]){display:none}.account-entry::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000038}.account-close{position:absolute;top:10px;right:10px}.account-form{flex-direction:column;gap:12px;width:min(100%,360px);display:flex}.account-form h1{letter-spacing:-.035em;margin:0;font-size:30px;font-weight:600}.account-intro{color:var(--muted,#767676);margin:0 0 18px}.account-form label{margin-top:8px;font-size:14px}.account-form input{width:100%;min-height:48px;font:inherit;background:0 0;border:1px solid #d9d9d9;border-radius:12px;padding:12px 14px;font-size:14px}.account-form input:focus-visible{outline-offset:2px;outline:2px solid #888}#account-submit{color:#fff;min-height:46px;font:inherit;cursor:pointer;background:#262626;border:0;border-radius:12px}#account-submit:disabled{opacity:.55;cursor:wait}.account-trigger{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.sidebar>.history-heading{min-height:32px;margin:2px 0 3px}.history-actions{align-items:center;gap:2px;display:flex}.history-heading .icon-button{border-radius:6px;width:24px;height:24px;min-height:24px;padding:5px}.history-heading .icon-button svg{width:14px;height:14px}.history-actions .icon-button{flex:0 0 24px}.chat-row{border-radius:7px;min-width:0;position:relative}.chat-row:hover,.chat-row:focus-within{background:#00000003}.chat-row:has([aria-current=page]){background:#00000007}.chat-row .chat-item{background:0 0;padding-right:58px}.chat-row-actions{opacity:0;pointer-events:none;display:flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.chat-row:hover .chat-row-actions,.chat-row:focus-within .chat-row-actions{opacity:1;pointer-events:auto}.chat-row-action{color:#737373;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:24px;height:24px;padding:4px;display:inline-flex}.chat-row-action svg{flex:0 0 16px;width:16px;height:16px}.chat-row-action:hover:not(:disabled),.chat-row-action:focus-visible{color:var(--ink);background:0 0}.group-section{border-bottom:1px solid var(--line);margin:0 0 8px;padding-bottom:8px}.group-section>.history-heading{min-height:30px;margin:0 2px 4px}.group-section>.history-heading .nav-label{letter-spacing:.04em;margin:0 8px;font-size:11px;font-weight:600}.group-section>#group-list{gap:1px;display:grid}.sidebar>.chat-list{gap:1px}.chat-group{margin:0}.chat-group summary{min-height:var(--row-height);color:#4b4b4b;cursor:pointer;border-radius:6px;align-items:center;padding:5px 10px;font-size:14px;font-weight:400;line-height:20px;list-style:none;display:flex;position:relative}.chat-group summary::-webkit-details-marker{display:none}.chat-group summary:hover,.chat-group summary:focus-visible,.chat-group[data-selected=true] summary{color:var(--ink);background:#e8e8e8}.chat-group summary>.group-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.group-actions{opacity:0;pointer-events:none;gap:1px;display:inline-flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.chat-group summary:hover .group-actions,.chat-group summary:focus-within .group-actions{opacity:1}.group-actions .chat-row-action{width:24px;height:24px;padding:4px}.group-actions button{pointer-events:auto}.group-conversation{width:100%;min-height:var(--row-height);color:#4b4b4b;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:6px;margin:1px 0;padding:5px 10px 5px 24px;font-size:14px;line-height:20px;display:block;overflow:hidden}.group-conversation:hover,.group-conversation:focus-visible{background:var(--surface-soft);color:var(--ink)}.group-conversation[aria-current=page]{color:var(--ink);background:#e8e8e8;font-weight:500}.group-empty{color:var(--muted);margin:4px 0 6px 24px;font-size:12px;line-height:20px}.group-section>#group-error{display:none}.account-trigger:has(.account-avatar:not([hidden])){box-shadow:none;background:0 0;align-items:center;gap:7px;padding:3px 7px 3px 3px;display:inline-flex}.account-avatar{color:#575757;background:#e9e9e9;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:600;display:inline-flex}.account-menu-name{overflow-wrap:anywhere;margin:5px 10px 9px;font-size:13px;font-weight:600}.account-menu .message-note{margin:2px 10px}.compact-dialog{width:min(380px,100vw - 32px);padding:20px}.compact-dialog-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.compact-dialog-heading h2{margin:0;font-size:15px;font-weight:600}.compact-dialog-heading .icon-button{width:28px;height:28px;min-height:28px}.compact-dialog .settings-description{margin:0 0 16px;font-size:13px}.compact-dialog .settings-description:empty{display:none}@media (hover:none),(pointer:coarse){.chat-row-actions,.group-actions{opacity:1;pointer-events:auto}.chat-row-action{width:30px;height:30px}.chat-row .chat-item{padding-right:70px}.group-actions .chat-row-action{width:30px;height:30px}}
