.ai-section-head,.ai-editor-head,.provider-catalog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ai-section-head h3{margin-bottom:6px}.ai-section-head p,.ai-editor-head p{margin:6px 0 0;font-size:12px;color:var(--muted);line-height:1.7}.ai-state{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;padding:6px 9px;border:1px solid var(--line);border-radius:7px;color:var(--muted)}.ai-state.is-ready{background:#f0f7f3;border-color:#e0ece5;color:#377158}.ai-settings .ai-description{margin:20px 0}.ai-connection{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:20px 0}.ai-connection-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--subtle);color:#73737c}.ai-connection-info{min-width:0;flex:1}.ai-connection-info strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:550;overflow-wrap:anywhere}.ai-connection-info>span,.ai-connection-info>small{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.ai-active-tag,.model-tag{font-size:10px;font-weight:400;padding:3px 6px;border-radius:5px;color:#557060;background:#f0f5f1;white-space:nowrap}.ai-connection-actions{display:flex;gap:12px;align-items:center}.provider-key-state{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.ai-settings .icon-button,.model-dialog .icon-button{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:7px;background:transparent;color:var(--muted)}.ai-settings .icon-button:hover,.model-dialog .icon-button:hover{background:var(--subtle)}.provider-add-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:20px}.provider-add-actions button{font-size:12px}.provider-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}.provider-directory>button{position:relative;padding:17px 36px 17px 16px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fafafb}.provider-directory>button:hover{background:#f1f1f4}.provider-directory strong{display:block;font-size:13px;font-weight:550}.provider-directory span{display:block;font-size:11px;color:var(--muted);margin-top:6px;line-height:1.5}.provider-directory svg{position:absolute;right:14px;top:17px;color:var(--muted)}.ai-editor{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.ai-editor h4{font-size:15px;font-weight:550;margin:0}.ai-editor fieldset{padding:0;margin:0;border:0;min-width:0}.ai-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.ai-editor label{display:block;font-size:12px;color:#51515b;line-height:1.5}.ai-editor input:not([type=checkbox]),.ai-editor select{display:block;width:100%;min-width:0;border:1px solid #dcdce3;border-radius:9px;background:#fff;padding:11px 12px;font-size:13px;color:var(--ink);margin-top:7px}.ai-editor input::placeholder{color:#94949e}.ai-editor small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px}.ai-key-input{display:flex;align-items:center;position:relative}.ai-key-input>svg{position:absolute;left:12px;top:20px;color:#9999a4}.ai-key-input input{padding-left:36px!important}.ai-editor .ai-clear-key{display:flex;align-items:center;gap:8px}.ai-clear-key input{accent-color:var(--ink)}.provider-catalog-heading{margin:30px 0 16px;align-items:center}.provider-catalog-heading h4{display:flex;gap:8px;align-items:center}.provider-catalog-heading h4 span{color:var(--muted);font-size:11px;font-weight:400;background:var(--subtle);padding:3px 7px;border-radius:5px}.provider-catalog-heading p{font-size:11px;margin:6px 0 0;color:var(--muted)}.provider-catalog-heading button{font-size:12px;flex-shrink:0}.model-configured-list{max-height:440px;overflow:auto}.model-configured{border:1px solid var(--line);border-radius:9px;margin-bottom:7px;background:#fff}.model-configured summary{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}.model-configured summary::-webkit-details-marker{display:none}.model-configured summary>span{flex:1;min-width:0}.model-configured summary strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.model-configured summary small{margin:2px 0 0;font-size:10px;overflow-wrap:anywhere}.model-configured summary>svg:first-child{color:#6d8c78}.model-configured summary>svg:last-child{color:var(--muted);flex-shrink:0}.model-configured[open] summary>svg:last-child{transform:rotate(180deg)}.model-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:14px;border-top:1px solid var(--line);background:#fafafb}.model-properties .form-select{margin-top:7px}.model-properties button{align-self:end;font-size:11px}.ai-editor .model-properties input{font-size:12px;padding:9px 10px}.model-manual{display:flex;align-items:center;gap:8px;margin-top:10px}.ai-editor .model-manual input{margin:0;flex:1}.model-manual button{font-size:12px;flex-shrink:0}.model-no-results{padding:20px 12px;color:var(--muted);text-align:center;font-size:12px;line-height:1.7}.ai-settings .ai-field-hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:12px}.provider-limits{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.provider-limits>summary{display:flex;gap:8px;font-size:12px;color:var(--muted);cursor:pointer;list-style:none}.provider-limits>summary::-webkit-details-marker{display:none}.provider-test{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:24px}.provider-test>label{flex:1;min-width:140px}.provider-test>button{font-size:12px;margin-bottom:1px;min-height:41px}.provider-test>small{flex-basis:100%;margin:0}.ai-settings .ai-disclosure{font-size:11px;line-height:1.8;color:var(--muted);background:#f8f8fa;border-radius:9px;padding:12px 14px;margin-top:18px;overflow-wrap:anywhere}.ai-disclosure strong{font-weight:500;color:#555560}.ai-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.ai-editor-actions>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}.ai-editor-actions button{font-size:12px}.ai-editor-actions .danger-text{display:flex;align-items:center;gap:5px}.ai-footer{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;line-height:1.6;margin-top:24px}.ai-footer svg{flex-shrink:0}.ai-mode-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px;color:var(--muted);font-size:11px}.ai-mode-row>span{overflow-wrap:anywhere;min-width:0}.ai-mode-row button{font-size:11px}.ai-mode-row>div{display:flex;gap:12px;flex-wrap:wrap}.ai-settings .ai-embeddings{font-size:11px;line-height:1.7;margin-top:14px;color:var(--muted)}.ai-feedback,.ai-success{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.65;border-radius:9px;padding:12px 14px;margin:14px 0}.ai-feedback button{margin-left:auto;background:none;flex-shrink:0;color:inherit}.ai-success{color:#387250;background:#eff7f1}.ai-success svg{flex-shrink:0}.ai-spinner{animation:ai-spin 1s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}.model-dialog{position:fixed;inset:0;width:min(580px,calc(100vw - 32px));max-height:min(740px,calc(100dvh - 48px));margin:auto;border:1px solid #e3e3e8;border-radius:18px;padding:0;background:#fff;color:var(--ink);box-shadow:0 24px 90px #17172030;text-align:left;overflow:hidden}.model-dialog[open]{display:flex;flex-direction:column}.model-dialog::backdrop{background:#20202b45;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.model-dialog>header{display:flex;justify-content:space-between;gap:18px;padding:24px 24px 18px}.model-dialog h3{font-size:18px;font-weight:550;margin:0}.model-dialog header p{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.6}.model-dialog>.error{margin:12px 20px;font-size:12px}.model-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);margin:0 24px;padding:10px 12px;border-radius:9px;color:var(--muted);background:#fafafb}.model-search input{border:0;background:none;outline:none;width:100%;font-size:13px;color:var(--ink);padding:0;min-width:0}.model-search:focus-within{outline:2px solid #a0a0ad;outline-offset:2px}.model-search svg{flex-shrink:0}.model-picker-meta{display:flex;justify-content:space-between;gap:12px;padding:16px 24px;font-size:11px;color:var(--muted)}.model-picker-meta button{font-size:11px}.model-discovery-list{min-height:80px;overflow:auto;padding:0 16px 12px}.model-candidate{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:9px;cursor:pointer}.model-candidate:hover{background:#f5f5f7}.model-candidate input{accent-color:var(--ink);width:16px;height:16px;flex-shrink:0}.model-candidate>span:nth-child(2){flex:1;min-width:0}.model-candidate strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.model-candidate small{display:block;font-size:11px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.model-dialog>footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px 24px}.model-dialog>footer button{font-size:12px}.composer-model-controls{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap;flex:1}.composer-model-controls>span{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.chat-model-trigger{display:flex;gap:6px;align-items:center;max-width:280px;min-width:0;font-size:11px;padding:7px 9px;border-radius:7px;background:#f3f3f6;color:#55555e}.chat-model-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-model-trigger>svg{flex-shrink:0}.chat-model-trigger:hover{background:#e9e9ee}@media(max-width:700px){.ai-form-grid,.model-properties{grid-template-columns:1fr}.ai-connection{flex-wrap:wrap}.ai-connection-actions{margin-left:auto}.provider-catalog-heading{flex-wrap:wrap}.ai-editor-actions{align-items:flex-start;flex-wrap:wrap}.provider-key-state{font-size:10px}.chat-model-trigger{max-width:220px}}@media(max-width:500px){.ai-section-head{flex-direction:column;gap:10px}.provider-directory{grid-template-columns:1fr}.ai-connection-icon{display:none}.ai-connection-info{flex-basis:100%}.ai-connection-actions{width:100%;justify-content:space-between}.ai-editor input:not([type=checkbox]),.ai-editor select,.model-search input{font-size:16px}.provider-test{align-items:stretch;flex-direction:column}.ai-editor-actions>div{margin-left:0;justify-content:flex-start}.model-dialog>header{padding:20px 18px 16px}.model-search{margin:0 18px}.model-picker-meta{padding:14px 18px}.model-dialog>footer{padding:14px 18px}.model-candidate{gap:8px}.model-tag{display:none}.composer-model-controls>span{font-size:9px}.chat-model-trigger{max-width:180px}.model-manual{flex-wrap:wrap}.ai-editor .model-manual input{flex:1 0 100%}.model-dialog{max-height:calc(100dvh - 24px)}}@media(prefers-reduced-motion:reduce){.ai-spinner{animation:none}}@media(max-width:760px){.chat-model-trigger{min-height:44px;max-width:100%}.composer-model-controls{flex-basis:0}.composer-model-controls>span{font-size:11px}.ai-settings .icon-button,.model-dialog .icon-button{width:44px;height:44px}.ai-settings button,.model-dialog button,.provider-limits>summary{min-height:44px}.ai-editor input:not([type=checkbox]),.ai-editor select,.ai-editor .model-properties input,.model-search input{font-size:16px}.model-dialog{max-height:calc(var(--viewport-height, 100dvh) - 24px);overflow-y:auto}.model-dialog>header,.model-dialog>footer,.model-search{flex-shrink:0}.model-picker-meta{flex-wrap:wrap;align-items:center}.model-discovery-list{flex:1 0 120px}}.chat-model-popover{position:fixed;inset:auto;margin:0;padding:6px;width:296px;max-width:calc(100vw - 24px);border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 8px 32px #20212412,0 2px 6px #20212406;overflow:hidden}.chat-model-popover:popover-open{display:flex;flex-direction:column}.chat-model-popover>header{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 2px 10px;color:var(--muted);font-size:12px;flex-shrink:0}.chat-model-popover>header button{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:transparent;color:var(--muted)}.chat-model-search{display:flex;align-items:center;gap:8px;margin:4px 4px 6px;padding:8px 10px;border-radius:9px;background:var(--subtle);color:var(--muted);flex-shrink:0}.chat-model-search input{width:100%;min-width:0;border:0;padding:0;background:transparent;font-size:14px}.chat-model-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px}.chat-model-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px;border-radius:10px;background:transparent;text-align:left;font-size:14px;line-height:1.4}.chat-model-option>span{min-width:0;overflow-wrap:anywhere}.chat-model-option small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.chat-model-option:hover,.chat-model-option[aria-checked=true],.chat-model-popover>header button:hover{background:var(--subtle)}.chat-model-option:focus-visible{outline-offset:-3px}.chat-model-settings{display:flex;align-items:center;gap:8px;flex-shrink:0;background:transparent;border-top:1px solid var(--line);margin:5px 4px 0;padding:12px 9px 8px;color:var(--muted);font-size:12px;text-align:left}.chat-model-settings:hover{color:var(--ink)}.chat-model-empty,.chat-model-hint{padding:10px;font-size:12px;color:var(--muted);line-height:1.5}.chat-model-hint{flex-shrink:0;font-size:11px;padding-block:6px}.chat-model-popover .error{margin:4px;overflow-wrap:anywhere}@media(max-width:760px){.chat-model-search input{font-size:16px}.chat-model-popover>header button{width:44px;height:44px}.chat-model-settings{min-height:44px}}.web-search-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-width:40px;height:40px;padding:0 10px;border:1px solid transparent;border-radius:22px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.web-search-trigger:hover,.web-search-trigger[aria-expanded=true]{background:var(--subtle);color:var(--ink)}.web-search-trigger[data-mode=always]{background:var(--subtle);border-color:var(--line);color:var(--ink)}.web-search-trigger:disabled{opacity:.4;cursor:default}.web-search-popover{position:fixed;inset:auto;margin:0;padding:6px;width:300px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 8px 32px #20212412,0 2px 6px #20212406;overflow-y:auto}.web-search-popover-title{padding:10px 10px 7px;font-size:11px;font-weight:500;color:var(--muted)}.web-search-popover button{display:flex;align-items:center;gap:10px;width:100%;min-height:65px;padding:11px 10px;border:0;border-radius:11px;background:transparent;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.web-search-popover button>span{flex:1}.web-search-popover button strong{display:block;font-size:13px;font-weight:500}.web-search-popover button small{display:block;margin-top:4px;font-size:11px;line-height:1.45;color:var(--muted)}.web-search-popover button:hover,.web-search-popover button[aria-checked=true]{background:var(--subtle)}.web-search-popover button:disabled{opacity:.4;cursor:default}.web-search-unavailable{margin:6px 10px;font-size:11px;line-height:1.5;color:var(--muted)}.web-search-trigger:focus-visible,.web-search-popover button:focus-visible,.web-sources-trigger:focus-visible,.web-sources-panel button:focus-visible,.web-sources-panel a:focus-visible,.message-markdown .web-citation:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.web-sources-trigger{display:inline-flex;align-items:center;gap:7px;min-height:36px;margin-top:12px;padding:5px 9px;border:1px solid var(--line);border-radius:20px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.web-sources-trigger:hover{background:var(--subtle);color:var(--ink)}.web-sources-panel{position:fixed;inset:12px 12px 12px auto;margin:0;padding:0;width:360px;max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 12px 48px #20212418}.web-sources-panel[open]{display:flex;flex-direction:column}.web-sources-panel::backdrop{background:#20212420}.web-sources-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0;padding:22px 16px 18px 24px;border-bottom:1px solid var(--line)}.web-sources-panel h2{margin:0;font-size:17px;font-weight:550;line-height:1.5}.web-sources-panel header p{margin:4px 0 0;font-size:12px;color:var(--muted)}.web-sources-panel header button{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.web-sources-panel header button:hover{background:var(--subtle);color:var(--ink)}.web-sources-panel ol{list-style:none;margin:0;padding:8px 12px 20px;overflow-y:auto;overscroll-behavior:contain}.web-sources-panel li+li{border-top:1px solid var(--line)}.web-sources-panel a{display:block;margin:5px 0;padding:15px 12px;border-radius:12px;color:var(--ink);text-decoration:none}.web-sources-panel a:hover{background:var(--subtle)}.web-source-domain{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.web-source-domain>svg{margin-left:auto;flex-shrink:0}.web-source-number{min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:5px;background:var(--hover);font-size:10px;flex-shrink:0}.web-sources-panel a strong{display:block;margin-top:9px;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.message-markdown .web-citation{display:inline;padding:2px 5px;border-radius:5px;background:var(--subtle);color:var(--muted);font-size:.75em;font-weight:450;text-decoration:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}.message-markdown .web-citation:hover{background:var(--hover);color:var(--ink)}.message-markdown .web-citation sup{margin-left:3px;font-size:.75em}.stream-status[data-search=true]>svg{flex-shrink:0}@media(max-width:760px){.web-search-trigger{min-width:44px;min-height:44px}.web-sources-trigger{min-height:44px}.web-sources-panel{inset:auto 0 0;width:100%;max-width:100%;height:auto;max-height:78dvh;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom);border-bottom:0}.web-sources-panel header{padding:18px 16px 16px 22px}.web-sources-panel header button{width:44px;height:44px}}@media(max-width:380px){.web-search-trigger>span{display:none}}.record-result{margin:14px 0 10px;border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:14px;background:var(--surface)}.record-result>header{display:flex;gap:10px;align-items:center;padding:6px 12px;background:var(--subtle)}.record-result>header>span{font-size:12px;color:var(--muted)}.record-result ol{list-style:none;margin:0;padding:0 18px}.record-result li{display:flex;gap:12px;padding:0;border-bottom:1px solid var(--line)}.record-result li:last-child{border:0}.record-row-content{min-width:0;flex:1}.record-title{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left;padding:12px 0;width:100%;min-height:44px;color:var(--ink);font:inherit;font-weight:550;cursor:pointer;overflow-wrap:anywhere}.record-title svg{flex-shrink:0}.record-details{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.record-result footer{padding:4px 18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line)}.record-result footer button{display:inline-flex;gap:5px;align-items:center;background:none;border:0;padding:4px 0;font:inherit;font-size:12px;color:var(--muted);cursor:pointer}.record-result footer span,.record-snapshot{font-size:11px;color:var(--muted)}.record-snapshot{display:flex;align-items:center;gap:5px;margin-left:auto;padding:4px 0}.record-open{margin-left:auto;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;background:transparent;color:var(--muted)}.record-result header strong{min-width:0;overflow-wrap:anywhere}.record-result header img,.record-result header>svg{flex-shrink:0;object-fit:contain}.record-symbol{display:flex;color:var(--muted);align-self:flex-start;padding-top:3px}.record-title:hover,.record-open:hover{color:var(--ink);background:var(--subtle)}.record-details,.record-detail-label{font-weight:400}.chat-sources{margin-top:12px;color:var(--muted);font-size:12px}.chat-sources summary{cursor:pointer;min-height:44px;align-content:center;width:fit-content}.chat-sources summary span{margin-left:6px}.chat-sources .sources{margin-top:0}.chat-sources .sources button{min-height:44px;max-width:100%;text-align:left}.chat-sources .sources button span{overflow-wrap:anywhere}.change-entries{display:grid;gap:12px;margin:12px 0}.change-entry{padding:12px;background:var(--surface);border-radius:10px;border:1px solid var(--line)}.change-entry>strong{font-size:14px}.change-entry dl{margin:8px 0 0}.change-entry dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:5px 0;font-size:12px}.change-entry dt{color:var(--muted)}.change-entry dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.change-entry del{display:block;color:var(--muted);margin-bottom:3px}.chat-context{display:flex;gap:8px;align-items:center;align-self:center;padding:6px 12px;font-size:12px;color:var(--muted)}.chat-context button{border:0;background:none;color:inherit;cursor:pointer}.proposal-hint{font-size:12px;color:var(--muted)}@media(max-width:760px){.record-result{font-size:14px;border-radius:12px}.record-result>header{padding:4px 12px}.record-result ol{padding:0 12px}.record-result footer{padding:8px 12px}.record-title{min-height:24px}.record-result footer button{min-height:44px}.change-entry dl>div{grid-template-columns:1fr;gap:3px}.record-result li{min-height:44px}}.message{position:relative}.message-meta{position:absolute;top:100%;left:4px;display:flex;align-items:center;gap:6px;height:26px;color:var(--muted);font-size:11px;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .12s ease}.message:hover>.message-meta,.message:has(.message-copy:focus-visible)>.message-meta{opacity:1;pointer-events:auto}.message-meta time{font-variant-numeric:tabular-nums;white-space:nowrap}.message.user .message-meta{left:auto;right:12px}.message-copy{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.message-copy:hover{background:var(--hover);color:var(--ink)}.message-copy:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.message-copy-feedback{position:absolute;bottom:calc(100% + 4px);left:0;width:max-content;max-width:min(260px,75vw);padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 2px 8px #2021240a}.message.user .message-copy-feedback{left:auto;right:0}.message-copy-feedback:empty{display:none}.message-meta[data-copy-status=copied] .message-copy{color:var(--ink)}@media(prefers-reduced-motion:reduce){.message-meta{transition:none}}@media(hover:none){.message-meta{display:none}}.message-actions-anchor{display:contents}.message-menu-open,.message-menu-open *{user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important}.message-actions-trigger{position:absolute;top:6px;right:8px;display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:10px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--muted);opacity:0;pointer-events:none}.message:hover>.message-actions-anchor .message-actions-trigger,.message-actions-trigger:focus-visible,.message.actions-open .message-actions-trigger{opacity:1;pointer-events:auto}.message-actions-trigger:hover{background:var(--hover);color:var(--ink)}.message-actions-backdrop{position:fixed;inset:0;z-index:100;width:100%;height:100%;padding:0;border-radius:0;background:#1212162e;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.message-action-menu{position:fixed;z-index:102;width:min(300px,calc(100vw - 24px));overflow:hidden;border:1px solid rgb(255 255 255 / 14%);border-radius:16px;background:#2a2a2ef0;color:#fff;box-shadow:0 18px 60px #00000047;backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%);user-select:none;-webkit-user-select:none}.message-action-preview{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;position:fixed;z-index:101;max-height:min(260px,38dvh);overflow:hidden;pointer-events:none;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.message-action-preview.user{padding:16px 20px;border-radius:18px 18px 5px;background:#f3f3f5;color:var(--ink)}.message-action-preview.assistant{padding:12px 4px;background:var(--surface);color:var(--ink)}.message-action-preview p{margin:0;white-space:pre-wrap}.message-action-menu time{display:block;padding:12px 18px 10px;color:#ffffff94;font-size:12px;font-variant-numeric:tabular-nums}.message-action-menu>button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:52px;padding:12px 18px;border-top:1px solid rgb(255 255 255 / 13%);background:transparent;color:inherit;text-align:left;font-size:16px}.message-action-menu>button:hover,.message-action-menu>button:focus-visible{background:#ffffff1a}.message.actions-open{z-index:101;-webkit-touch-callout:none}.message.selecting-text,.message.selecting-text [data-message-content]{user-select:text;-webkit-user-select:text;-webkit-touch-callout:default}@media(hover:none),(max-width:760px){.message:not(.selecting-text) [data-message-content],.message:not(.selecting-text) [data-message-content] *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.message-actions-backdrop{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.message-actions-trigger{position:static;width:44px;height:44px;margin-left:auto;opacity:1;pointer-events:auto;background:transparent}}@media(min-width:761px)and (hover:hover){.message-actions-backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.message-action-menu{width:260px}}@media(prefers-reduced-motion:reduce){.message-action-menu{backdrop-filter:none;-webkit-backdrop-filter:none}}.message-markdown{min-width:0;overflow-wrap:anywhere;line-height:1.8}.message .message-markdown p{white-space:normal;margin:0 0 14px}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown h1,.message-markdown h2,.message-markdown h3,.message-markdown h4,.message-markdown h5,.message-markdown h6{font-weight:600;line-height:1.45;letter-spacing:-.025em;margin:24px 0 10px;color:var(--ink)}.message-markdown h1{font-size:24px}.message-markdown h2{font-size:21px}.message-markdown h3{font-size:18px}.message-markdown h4,.message-markdown h5,.message-markdown h6{font-size:15px}.message-markdown strong{font-weight:650}.message-markdown a{color:#396aab;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#396aab55}.message-markdown a:hover{text-decoration-color:currentColor}.message-markdown ul,.message-markdown ol{padding-left:25px;margin:10px 0 16px}.message-markdown li{padding-left:3px;margin:5px 0}.message-markdown li>ul,.message-markdown li>ol{margin:5px 0}.message .message-markdown li>p{margin:6px 0}.message-markdown blockquote{border-left:3px solid #d9d9e1;margin:16px 0;padding:3px 0 3px 16px;color:#73737d}.message .message-markdown blockquote>:last-child{margin-bottom:0}.message-markdown hr{border:0;border-top:1px solid var(--line);margin:24px 0}.message-markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.87em;background:#f0f0f4;border:1px solid #e7e7ec;border-radius:5px;padding:2px 5px;white-space:break-spaces}.markdown-code-block{border:1px solid #e3e3e9;border-radius:12px;overflow:hidden;margin:16px 0;background:#f8f8fa;max-width:100%}.markdown-code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid #e7e7ed;background:#f1f1f5;font-size:11px;color:#757580}.markdown-code-toolbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown-code-toolbar button{display:flex;align-items:center;gap:6px;font-size:11px;background:transparent;color:inherit;border-radius:5px;padding:4px 5px;flex-shrink:0}.markdown-code-toolbar button:hover{color:var(--ink);background:#e7e7ee}.message-markdown pre{margin:0;padding:16px;overflow:auto;max-width:100%;white-space:pre;line-height:1.65;tab-size:2;font-size:13px}.message-markdown pre code{font-size:inherit;white-space:pre;background:none;border:0;padding:0;border-radius:0;overflow-wrap:normal}.markdown-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:16px 0}.message-markdown table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.65}.message-markdown th,.message-markdown td{padding:10px 13px;text-align:left;border-bottom:1px solid var(--line);min-width:110px;vertical-align:top}.message-markdown th{font-weight:550;background:#f6f6f8}.message-markdown tbody tr:last-child td{border-bottom:0}.message-markdown tbody tr:nth-child(2n){background:#fbfbfc}.message-markdown .contains-task-list{list-style:none;padding-left:4px}.message-markdown .task-list-item input{margin:0 8px 0 0;accent-color:#638573;vertical-align:middle}.message-markdown .footnotes{margin-top:24px;padding-top:14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.message-markdown .footnotes h2{font-size:14px}.message-markdown sup{font-size:.75em}@media(max-width:600px){.message-markdown h1{font-size:21px}.message-markdown h2{font-size:19px}.message-markdown h3{font-size:17px}.message-markdown pre{padding:12px;font-size:12px}.message-markdown th,.message-markdown td,.markdown-code-toolbar{padding:8px 10px}}.composer-actions{display:flex;align-items:center;gap:5px}.dictation-controls .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.dictation-mic,.dictation-cancel,.dictation-confirm{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:50%;background:transparent;color:var(--ink)}.dictation-mic:hover:not(:disabled),.dictation-cancel:hover{background:#e9e9ed}.dictation-confirm{background:var(--ink);color:#fff}.dictation-confirm:hover{background:#45454e}.composer .dictation-controls{width:100%;min-width:0;gap:12px;margin:0;min-height:72px}.dictation-wave{display:flex;flex:1;min-width:0;align-items:center;justify-content:center;gap:3px;height:36px;overflow:hidden}.dictation-wave i{flex:1 1 3px;max-width:4px;min-width:2px;background:var(--ink);border-radius:3px;transition:height 90ms linear}.dictation-timer{font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted)}.dictation-status{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;color:var(--muted)}.dictation-spinner{flex-shrink:0;animation:dictation-spin 1s linear infinite}.dictation-error{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 4px 0;font-size:12px;color:#9b3434}.dictation-error span{flex:1;min-width:180px}.dictation-error button{background:transparent;padding:5px;text-decoration:underline;color:inherit}.composer textarea[hidden]{display:none}@keyframes dictation-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.chat-page .composer .dictation-controls{flex:1;min-height:44px;gap:8px}.chat-page .composer.dictation-active{padding-left:6px;align-items:center}.dictation-mic,.dictation-cancel,.dictation-confirm{width:44px;height:44px;flex-basis:44px}.chat-page .composer textarea[hidden]{display:none}}@media(prefers-reduced-motion:reduce){.dictation-wave i{transition:none}.dictation-spinner{animation:none}}:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202124;background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased;--surface: #fff;--subtle: #f7f7f8;--hover: #ededf0;--ink: #202124;--muted: #707177;--line: #e8e8eb;--accent: #202124;--focus: #007aff}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;color:inherit;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{text-decoration:none;color:inherit;cursor:pointer}h1,h2,h3,h4,p{margin:0}h1,h2{font-weight:600;letter-spacing:-.035em}h1 em{font-style:normal;color:var(--muted)}button svg,a svg{flex-shrink:0}[hidden]{display:none!important}.dot{display:inline-block;width:6px;height:6px;background:#329270;border-radius:50%;flex-shrink:0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:var(--muted)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:500;line-height:1.4;min-height:40px}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:#414247}.secondary{border:1px solid var(--line);background:var(--surface)}.secondary:hover:not(:disabled){background:var(--subtle);border-color:#d0d0d6}.text-button{background:none;padding:0;font-size:13px}.text-button:hover,.inline-link:hover{text-decoration:underline}.inline-link{background:none;text-decoration:underline;text-underline-offset:3px;padding:0}.small{font-size:12px!important}.shell{height:100dvh;display:flex;overflow:hidden}.sidebar{width:248px;background:var(--subtle);border-right:1px solid var(--line);padding:24px 14px 0;flex-shrink:0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.9px;font-weight:650;padding:0 10px;background:none;text-align:left}.brand-mark{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}.brand-image,.plugin-image{display:block;object-fit:contain;flex-shrink:0}.brand-mark .brand-image{transform:scale(1.4)}.beta{font-size:9px;letter-spacing:.7px;font-weight:500;padding:4px 6px;border:1px solid #dedee3;border-radius:5px;margin-left:auto;color:var(--muted)}.workspace{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding:20px 9px;margin:16px 0 13px;font-size:12px;font-weight:500}.workspace>div{flex:1}.workspace small{display:block;font-size:11px;margin-top:4px;color:var(--muted);font-weight:400}.workspace>svg{color:#86868d}.workspace-icon{display:grid;place-items:center;background:#e8e8ed;border-radius:8px;width:30px;height:30px;color:#61616b;font-size:13px}.sidebar nav{flex:1;overflow:auto}.sidebar nav>button,.sidebar-bottom>button{display:flex;align-items:center;gap:11px;background:none;color:#63646b;width:100%;text-align:left;padding:11px 12px;border-radius:9px;font-size:13px;margin:3px 0;min-height:42px}.sidebar nav>button.active,.sidebar-bottom>button.active{background:#e7e7eb;color:var(--ink);font-weight:550}.sidebar nav>button:hover,.sidebar-bottom>button:hover{background:var(--hover);color:var(--ink)}.nav-count{font-size:11px;margin-left:auto;background:#e9e9ed;border-radius:5px;padding:2px 6px}.nav-label{font-size:11px;color:#85858d;margin:27px 12px 9px;font-weight:500}.sidebar button>.dot{margin-left:auto;width:5px;height:5px}.sidebar nav>button.muted{font-size:12px;color:var(--muted)}.history-label{margin-top:30px}.history-empty{font-size:11px;line-height:1.6;color:#85858d;padding:3px 12px;max-width:170px}.sidebar nav>button.recent{font-size:12px;white-space:nowrap;overflow:hidden;padding:8px 12px;min-height:36px}.recent>span:last-child{overflow:hidden;text-overflow:ellipsis}.sidebar-bottom{padding-top:15px}.private-note{display:flex;align-items:center;gap:10px;margin:10px 12px 17px;color:#85858d;font-size:11px;line-height:1.6}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:12px;padding:18px 8px}.avatar{background:#e8e4ef;color:#625773;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.profile>div{flex:1;min-width:0}.profile strong{white-space:nowrap;display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.profile button{background:none;color:var(--muted);padding:9px;border-radius:8px}.profile button:hover{background:var(--hover)}.workspace-main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--surface)}.topbar{background:var(--surface);height:62px;padding:0 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);flex-shrink:0}.topbar>div{display:flex;gap:12px;align-items:center;font-size:12px;color:#85858d}.topbar strong{font-weight:500;color:#4a4a51}.sidebar-toggle{display:grid;place-items:center;background:none;color:#777780;padding:7px;border-radius:7px;margin-left:-7px}.sidebar-toggle:hover{background:var(--subtle)}.privacy-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);border:1px solid var(--line);padding:6px 10px;border-radius:7px}.chat-page{flex:1;display:flex;flex-direction:column;min-height:0}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 32px 16px;gap:18px;flex-shrink:0}.page-heading h2{font-size:19px;letter-spacing:-.4px}.page-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:5px}.chat-scroll{flex:1;overflow:auto;min-height:0}.welcome{max-width:780px;margin:0 auto;text-align:center;padding:32px 28px 22px}.welcome-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;color:#494951;margin:0 auto 22px}.welcome-symbol .brand-image{transform:scale(1.4)}.welcome h1{font-size:clamp(32px,3.4vw,46px);letter-spacing:-1.8px;margin:12px 0;line-height:1.15}.welcome>p{font-size:14px;line-height:1.7;color:var(--muted)}.empty-chat{overflow:auto}.empty-chat .chat-scroll{flex:0 0 auto;overflow:visible;margin-top:auto}.empty-chat .composer-wrap{margin-top:0;margin-bottom:auto;padding-top:0;padding-bottom:36px}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0 19px;text-align:left}.suggestions button{position:relative;text-align:left;background:#fafafb;border:1px solid var(--line);border-radius:12px;padding:16px;color:#73737c}.suggestions button:hover{background:#f3f3f6;border-color:#cfcfd6}.suggestions strong{display:block;color:#44444c;font-size:12px;font-weight:500;margin-top:12px}.suggestions span{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.suggestions button>svg:last-child{position:absolute;right:13px;top:16px;color:#8c8c95}.connected{font-size:11px;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:center;gap:5px;align-items:center;line-height:1.6}.composer-wrap{max-width:790px;width:100%;margin:0 auto;padding:16px 28px 18px;flex-shrink:0}.composer{background:#fff;border:1px solid #dcdce2;border-radius:20px;box-shadow:0 4px 18px #1d1d2410,0 1px 3px #1d1d2405;padding:18px 18px 12px;transition:border-color .16s,box-shadow .16s}.composer:focus-within{border-color:#93939e;box-shadow:0 4px 22px #1d1d2414}.composer textarea{border:0;background:none;resize:none;width:100%;font-size:14px;color:var(--ink);line-height:1.7;min-height:48px}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#83838b}.composer>div{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.composer>div>span{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);background:var(--subtle);padding:6px 9px;border-radius:7px}.send{background:var(--ink);color:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.send:disabled{background:#ededf0;color:#9999a0;opacity:1}.send:hover:not(:disabled){background:#45454e}.composer-caption{text-align:center;font-size:10px;color:#85858d;margin-top:12px;line-height:1.5}.ai-notice{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:0 3px 12px;line-height:1.5}.ai-notice>svg{flex-shrink:0}.ai-notice>span{flex:1}.ai-notice button{font-size:11px;display:flex;align-items:center;gap:3px;background:none;color:#51515b;padding:4px}.messages{max-width:790px;margin:0 auto;padding:28px}.message{margin-bottom:28px;font-size:15px;line-height:1.8}.message p{white-space:pre-wrap;overflow-wrap:anywhere}.message.user{background:#f3f3f5;padding:16px 20px;border-radius:18px 18px 5px;margin-left:60px}.message.assistant{padding:12px 4px}.sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.sources button{display:flex;align-items:center;gap:7px;font-size:11px;background:var(--subtle);color:#565661;border:1px solid var(--line);padding:7px 9px;border-radius:7px}.sources span{font-size:10px;color:var(--muted)}.proposal{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:20px}.proposal h3{font-size:15px;margin:10px 0 14px;font-weight:500}.proposal-field{margin:10px 0}.proposal-field small{font-size:11px;color:var(--muted)}.proposal pre{font-family:inherit;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;background:var(--subtle);padding:12px;border-radius:8px}.proposal button{margin:10px 10px 0 0}.thinking{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}.standard-page{padding:16px 48px 48px;overflow:auto;flex:1}.standard-page .page-heading{padding:28px 0 40px}.standard-page h1{font-size:38px;line-height:1.2;margin-top:12px}.standard-page .page-heading p{font-size:14px;margin-top:14px}.heading-icon{color:#b3b3bf;margin-right:20px}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0 16px;margin-bottom:22px;gap:12px}.section-title h3{font-size:14px;font-weight:550}.section-title>span{font-size:11px;color:var(--muted)}.plugin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:400px;gap:20px}.plugin-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 4px 12px #00000003}.card-top{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.plugin-icon{display:inline-grid;place-items:center;background:var(--subtle);color:var(--ink);width:54px;height:54px;border-radius:14px}.official{display:flex;align-items:center;gap:4px;background:var(--subtle);padding:5px 8px;border-radius:6px;color:var(--muted);font-size:10px}.plugin-card h2{font-size:25px;line-height:1.2;margin:24px 0 12px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plugin-card-copy{flex:0 0 5.4em;min-height:0;font-size:13px;line-height:1.8;overflow:auto;overflow-wrap:anywhere}.plugin-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.plugin-card p{font-size:13px;color:var(--muted);line-height:1.8;max-width:350px}.tags{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0;flex-shrink:0}.tags>span{font-size:10px;color:#72727e;background:var(--subtle);border-radius:6px;padding:6px 8px}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted);gap:10px;margin-top:auto;flex-shrink:0}.card-bottom button{flex-shrink:0;min-height:44px}.card-bottom>span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.plugin-image-tasks{transform:scale(1.45)}.more-card{border:1px dashed #dddde3;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:#fafafb;color:#9898a5}.more-card h3{font-weight:500;font-size:20px;margin:22px 0 12px;color:#676772;letter-spacing:-.4px}.more-card p{font-size:12px;color:var(--muted);line-height:1.8}.more-card small{font-size:10px;color:var(--muted);margin-top:30px}.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:40px;max-width:1000px;color:#898995}.principles h4{font-size:12px;color:#55555f;font-weight:500;margin:13px 0 8px}.principles p{font-size:11px;color:var(--muted);line-height:1.8;max-width:250px}.settings-page{max-width:1000px;width:100%;margin:0 auto}.settings-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:26px 28px;margin-bottom:20px}.settings-card h3{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:550;margin-bottom:12px}.settings-card h3 svg{color:#7a7a86}.settings-card p{font-size:13px;color:var(--muted);line-height:1.8}.toggle-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;font-size:13px;cursor:pointer}.toggle-row small{display:block;font-size:11px;color:var(--muted);margin-top:6px;line-height:1.7;max-width:500px}.toggle-row input{appearance:none;width:38px;height:23px;border-radius:20px;background:#d5d5dc;flex-shrink:0;margin:0;cursor:pointer;transition:background .18s;position:relative}.toggle-row input:before{content:"";position:absolute;width:19px;height:19px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .18s}.toggle-row input:checked{background:#252529}.toggle-row input:checked:before{transform:translate(15px)}.toggle-row input:disabled{opacity:.4;cursor:default}.permissions{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.permission-head{display:flex;justify-content:space-between;gap:12px;font-size:13px}.permission-head span{font-size:11px;color:var(--muted)}.permission-actions{display:flex;align-items:center;gap:20px;margin-top:15px;flex-wrap:wrap}.danger-text{color:#b64347;font-size:12px}.memory-row,.index-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;gap:20px;font-size:12px;color:var(--muted)}.memory-row>button:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80%;text-align:left;font-size:13px}.memory-row>button:last-child{background:none;color:var(--muted);padding:8px}.plugin-page{flex:1;min-height:0}.plugin-host{height:100%;position:relative}.plugin-host iframe{border:0;width:100%;height:100%;display:block}.loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--surface);color:var(--muted);font-size:13px;pointer-events:none}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;flex:1;color:var(--muted);padding:30px;text-align:center}.empty p{font-size:14px}.global-error,.error{background:#fff2f1;color:#a4403b;font-size:13px;padding:13px 20px;border-radius:8px;line-height:1.6}.global-error{border-radius:0;display:flex;justify-content:space-between;flex-shrink:0}.global-error button{background:none;color:inherit}.dialog{margin:auto;background:#fff;border:1px solid #ffffff88;border-radius:24px;padding:32px;max-width:480px;width:100%;box-shadow:0 24px 90px #10101830;max-height:90dvh;overflow:auto}.dialog::backdrop{background:#18182055;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.dialog h2:first-child{margin-top:0}.dialog h2{font-size:25px;margin:22px 0 14px}.dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.dialog h4{font-size:12px;margin:25px 0 16px}.requested{display:flex;gap:10px;align-items:center;font-size:13px;color:#575762;margin-bottom:14px}.dialog .small{margin-top:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:30px}.dialog-actions .destructive{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:10px;background:#a7353a;color:#fff}.dialog-actions .destructive:hover:not(:disabled){background:#87292e}@media(max-width:760px){.dialog-actions button{min-height:44px}}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{--muted: #e0e0e3;color:#fff;background-color:#252729;background-image:linear-gradient(90deg,#0e1012a3,#0e101233),url(/assets/login-leaves-DRFGc0cY.png);background-size:cover;background-position:right center;background-repeat:no-repeat;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;border-right:1px solid var(--line)}.auth-story .brand{padding:0;gap:22px;width:fit-content;max-width:100%}.auth-story .brand-mark{width:72px;height:72px}.auth-story .brand-name{font-size:clamp(30px,3vw,44px);font-weight:500;letter-spacing:.13em;line-height:1;white-space:nowrap}.auth-story .beta{margin-left:0}.auth-story h1{font-size:clamp(42px,5.2vw,74px);line-height:1.06;letter-spacing:-3.5px;margin:26px 0}.auth-story h1 em{color:#dedee3}.auth-story p{font-size:15px;line-height:1.8;color:var(--muted)}.auth-footer{font-size:11px;color:var(--muted)}.auth-form{display:grid;place-items:center;padding:48px}.auth-form>div{max-width:350px;width:100%}.auth-form h2{font-size:30px;line-height:1.2;margin:16px 0}.auth-form p{font-size:14px;color:var(--muted);margin-bottom:32px;line-height:1.6}.auth-form form{display:flex;flex-direction:column;gap:20px}.auth-form label{font-size:12px;color:#595963}.auth-form input{display:block;width:100%;padding:14px;margin-top:8px;background:#fff;border:1px solid #dcdce3;border-radius:10px;font-size:14px;color:var(--ink)}.auth-form .primary{margin-top:7px;padding:14px}.auth-form .text-button{margin-top:25px;font-size:12px;color:#666671;line-height:1.7}.boot{height:100dvh;display:flex;align-items:center;justify-content:center;gap:15px;color:var(--ink);font-size:25px}.sidebar-collapsed .sidebar{width:72px;padding-left:9px;padding-right:9px}.sidebar-collapsed .sidebar .brand{padding:0;justify-content:center}.sidebar-collapsed .sidebar :is(.brand-name,.beta,.workspace,.nav-label,.recent,.history-empty,.private-note,.profile>div,.profile .avatar,.nav-count),.sidebar-collapsed .sidebar button>.dot{display:none!important}.sidebar-collapsed .sidebar nav{padding-top:30px}.sidebar-collapsed .sidebar nav>button,.sidebar-collapsed .sidebar-bottom>button{font-size:0;justify-content:center;padding:12px;gap:0}.sidebar-collapsed .profile{justify-content:center;padding:16px 0}@media(max-width:1200px){.plugin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1080px){.sidebar{width:220px;padding-left:10px;padding-right:10px}.standard-page{padding-left:28px;padding-right:28px}.workspace{font-size:11px}.welcome{padding-top:22px}.suggestions button{padding:14px}.suggestions strong{font-size:11px}.suggestions span{font-size:10px}.auth-story{padding:40px}}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.sidebar-toggle{display:none}.topbar{height:54px;padding:0 20px}.topbar>div{font-size:11px;gap:8px}.privacy-badge{display:none}.page-heading{padding:20px 20px 10px}.page-heading .secondary{font-size:0;padding:10px;gap:0}.page-heading p{font-size:11px}.welcome{padding:26px 20px 22px}.welcome h1{font-size:34px;letter-spacing:-1.3px}.welcome>p{font-size:13px;max-width:330px;margin:auto}.welcome-symbol{margin-bottom:18px;width:46px;height:46px;border-radius:14px}.composer-wrap{padding:12px 20px 18px}.suggestions{grid-template-columns:1fr;gap:8px;margin:20px 0 16px}.suggestions button{padding:12px 34px 12px 42px}.suggestions button>svg:first-child{position:absolute;top:16px;left:14px;width:17px}.suggestions strong{margin:0;font-size:12px}.suggestions span{font-size:11px;margin-top:4px}.composer textarea{font-size:16px}.ai-notice{font-size:10px;gap:5px}.ai-notice button{font-size:10px}.standard-page{padding:0 20px 30px}.standard-page h1{font-size:30px}.standard-page .page-heading p{font-size:13px}.heading-icon{display:none}.plugin-grid{grid-template-columns:1fr}.plugin-card{padding:22px}.principles{grid-template-columns:1fr;gap:24px;margin-top:30px}.principles p{max-width:none}.settings-card,.messages{padding:20px}.message.user{margin-left:15px}.message{font-size:14px;-webkit-touch-callout:none}.auth{grid-template-columns:1fr}.auth-story{min-height:auto;padding:24px 30px;border-right:0;border-bottom:1px solid var(--line)}.auth-story>div,.auth-footer{display:none}.auth-form{padding:40px 28px}.dialog{padding:24px}.dialog h2{font-size:23px}}@media(max-width:440px){.topbar .breadcrumb-root,.topbar .breadcrumb-root+svg{display:none}.page-heading{padding:18px 16px 8px}.page-heading h2{font-size:17px}.chat-page .page-heading p{max-width:150px}.welcome{padding:22px 16px 20px}.welcome h1{font-size:29px}.welcome>.eyebrow{font-size:8px}.welcome>p{font-size:12px}.composer-wrap{padding-left:14px;padding-right:14px}.composer{padding:14px 12px 10px;border-radius:16px}.composer>div>span{font-size:10px}.ai-notice{align-items:flex-start}.ai-notice>svg{margin-top:2px}.ai-notice button{padding:0}.ai-notice button svg{display:none}.connected{font-size:10px}.standard-page{padding-left:16px;padding-right:16px}.standard-page h1{font-size:27px}.section-title{align-items:flex-start}.section-title>span{text-align:right}.permission-head{flex-direction:column;gap:6px}.settings-card{padding:18px}.toggle-row{gap:12px}}@media(prefers-reduced-motion:reduce){*,*:before{scroll-behavior:auto!important;transition:none!important}}@media(min-width:761px)and (max-height:800px){.welcome{padding-top:16px;padding-bottom:18px}.welcome-symbol{width:40px;height:40px;margin-bottom:14px;border-radius:12px}.welcome-symbol svg{width:23px;height:23px}.welcome h1{margin:8px 0 10px;font-size:40px}.suggestions{margin-top:20px;margin-bottom:14px}.suggestions button{padding:14px}.suggestions strong{margin-top:9px}.empty-chat .composer-wrap{padding-bottom:22px}}.stream-status{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;line-height:1.5;color:var(--muted)}.stream-dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:stream-pulse 1.2s ease-in-out infinite}@keyframes stream-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.stream-dot{animation:none}}.mobile-menu-toggle{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;background:transparent;border-radius:10px}.mobile-navigation{position:fixed;inset:0 auto 0 0;width:min(340px,calc(100vw - 32px));height:var(--viewport-height, 100dvh);max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--subtle);color:var(--ink)}.mobile-navigation::backdrop{background:#18182066}.mobile-navigation .sidebar{width:100%;height:100%;position:relative;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);overflow:auto}.mobile-navigation .brand{min-height:44px}.mobile-navigation .sidebar:focus{outline:none}.mobile-navigation .sidebar nav{flex-shrink:0;overflow:visible}.mobile-navigation .sidebar-bottom{margin-top:auto}.mobile-navigation .sidebar nav>button,.mobile-navigation .sidebar-bottom>button,.mobile-navigation .profile button{min-height:44px}@media(max-width:760px),(max-width:1024px)and (max-height:500px){html:has(.shell),body:has(.shell){height:100%;overflow:hidden;overscroll-behavior-y:none;background:var(--surface)}.chat-scroll,.standard-page,.mobile-navigation .sidebar{overscroll-behavior-y:contain}.shell{position:fixed;top:var(--viewport-top, 0px);left:0;width:100%;height:var(--viewport-height, 100dvh);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.workspace-main{min-height:0}.topbar{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0}.topbar>div{min-width:0;font-size:14px}.topbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .breadcrumb-root,.topbar .breadcrumb-root+svg{display:none}.primary,.secondary,.text-button,.inline-link,.danger-text,.permission-actions button,.memory-row button,.global-error button{min-height:44px}.global-error button,.page-heading .secondary{min-width:44px}.chat-page .page-heading p{max-width:none}.composer>div{gap:8px}.send{width:44px;height:44px;flex-shrink:0}.composer-wrap{padding-bottom:max(12px,env(safe-area-inset-bottom))}.composer textarea{max-height:160px}.messages{padding:20px 16px}.message,.sources button,.index-row{overflow-wrap:anywhere;min-width:0}.sources button{white-space:normal;text-align:left;min-height:44px}.ai-notice{flex-wrap:wrap;font-size:12px}.ai-notice>span{flex:1;min-width:0}.ai-notice button{min-height:44px;font-size:12px}.standard-page{padding-bottom:max(28px,env(safe-area-inset-bottom))}.dialog-actions{flex-wrap:wrap}.auth{grid-template-rows:auto 1fr}.auth-story .brand{display:flex;gap:14px}.auth-story .brand-mark,.auth-story .brand-mark .brand-image{width:48px;height:48px}.auth-story .brand-name{font-size:28px}.auth-form{padding:28px 24px max(28px,env(safe-area-inset-bottom))}.auth-form input{font-size:16px}}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.chat-topbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;border-bottom:0}.chat-topbar>.chat-model-trigger{justify-self:center;justify-content:center;gap:6px;background:transparent;color:var(--ink);font-size:16px;font-weight:550;padding:8px 12px;min-width:80px}.mobile-new-chat{display:grid;place-items:center;width:44px;height:44px;background:transparent;border-radius:10px}.chat-page>.page-heading,.chat-page .welcome,.chat-page .suggestions,.chat-page .connected,.chat-page .composer-caption,.chat-page .composer-model-controls,.chat-page .ai-notice>svg,.chat-page .ai-notice>span{display:none}.chat-page.empty-chat{overflow:hidden}.empty-chat .chat-scroll{flex:1;min-height:0;overflow:auto;margin-top:0}.chat-page .composer-wrap{margin:0 auto;padding:8px 12px max(12px,env(safe-area-inset-bottom))}.chat-page .composer{display:flex;align-items:flex-end;gap:8px;min-height:56px;padding:6px 6px 6px 18px;border:1px solid transparent;border-radius:28px;background:var(--subtle);box-shadow:none}.chat-page .composer:focus-within{border-color:#c9c9d0;box-shadow:none}.chat-page .composer textarea{display:block;flex:1;align-self:center;min-width:0;min-height:24px;max-height:128px;padding:0;margin:0;line-height:24px;font-size:16px;overflow-y:auto}.chat-page .composer>div{margin:0;flex:0 0 auto}.chat-page .ai-notice{margin:0 0 4px;justify-content:center}}@media(min-width:761px)and (min-height:501px),(min-width:1025px){.chat-page>.page-heading{display:none}.desktop-new-chat{display:grid;place-items:center;width:36px;height:36px;margin-left:auto;border-radius:10px;background:transparent;color:var(--muted)}.desktop-new-chat:hover{background:var(--subtle);color:var(--ink)}.chat-topbar .privacy-badge{margin-left:12px}.welcome{padding:24px 24px 36px}.welcome-symbol,.welcome>.eyebrow,.welcome>p,.chat-page .composer-caption,.chat-page .connected,.chat-page .composer-model-controls>span{display:none}.welcome h1{font-size:clamp(28px,2.6vw,36px);font-weight:450;letter-spacing:-1px;margin:0;line-height:1.3}.chat-page .composer-wrap{max-width:960px;padding-inline:28px;padding-bottom:24px}.empty-chat .composer-wrap{padding-bottom:100px}.chat-page .composer{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 10px 10px 24px;border-radius:32px;border-color:var(--line);box-shadow:0 4px 24px #20212408,0 1px 3px #20212404}.chat-page .composer textarea{display:block;flex:1;width:0;min-width:0;min-height:26px;max-height:128px;padding:0;margin:0;line-height:26px;font-size:16px;overflow-y:auto}.chat-page .composer textarea[hidden]{display:none}.chat-page .composer>.composer-toolbar{flex:0 0 auto;gap:10px;margin:0;align-self:flex-end}.chat-page .composer-model-controls{flex:0 1 auto}.chat-page .chat-model-trigger{max-width:168px;padding:10px 12px;border-radius:22px;background:var(--subtle);font-size:12px}.chat-page .send{width:42px;height:42px}.chat-page .composer.dictation-active{padding-left:12px}.chat-page .composer .dictation-controls{min-height:42px}.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0 0}.suggestions button{display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:20px;background:transparent}.suggestions strong{margin:0;font-size:12px;color:var(--muted);font-weight:400}.suggestions button>svg:first-child{width:15px;height:15px}.suggestions span,.suggestions button>svg:last-child{display:none}.messages{max-width:960px}}.proposal-summary{margin:18px 0}.proposal-photo{width:100%;max-height:220px;object-fit:cover;border-radius:16px;margin-bottom:16px}.proposal-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.proposal-values small{display:block;font-size:11px;color:var(--muted, #777);margin-bottom:5px}.proposal-metric{padding:13px 10px;background:#80808012;border-radius:12px}.proposal-metric span{font-size:18px;font-weight:600}.proposal-values em{font-style:normal;font-size:12px;font-weight:400;color:var(--muted, #777)}.proposal-detail{grid-column:1 / -1;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.proposal-hint{font-size:12px;color:var(--muted, #777);margin-top:16px}.proposal-summary details{margin-top:14px;font-size:12px}@media(max-width:480px){.proposal-values{grid-template-columns:repeat(2,minmax(0,1fr))}}.compact-proposal{max-width:510px;width:100%;justify-self:start}.compact-proposal h3{font-size:21px;letter-spacing:-.5px;margin-bottom:0}.proposal-metadata{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;color:var(--muted, #777);font-size:12px;margin-bottom:17px}.proposal-metadata span+span:before{content:"·";margin:0 8px;color:#b8b8bd}.proposal-note{font-size:12px;color:var(--muted, #777);line-height:1.65;margin:16px 0 0}.proposal-note>span{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;background:#f2f2f4;padding:1px 6px;border-radius:5px;margin-right:6px;color:#606069}@media(max-width:1024px)and (max-height:500px){.chat-page .composer textarea{max-height:72px}.mobile-navigation .sidebar{padding-top:12px;padding-bottom:12px}}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.chat-page .composer>.chat-image-preview,.chat-page .composer>.chat-image-notice{flex:none;width:100%}}button,a,input,textarea,select{touch-action:manipulation}button{-webkit-tap-highlight-color:transparent;transition:background-color .14s ease,opacity .14s ease,transform .14s ease}button:active:not(:disabled){transform:scale(.97)}button:disabled{cursor:default}.back-button{width:44px;height:44px;display:grid;place-items:center;padding:0;background:transparent;border-radius:12px}.pwa-status{flex:none;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 24px;margin:0;font-size:12px;background:#f4f4f5;border-bottom:1px solid var(--line)}.pwa-status>span{flex:1;min-width:140px;line-height:1.5}.pwa-status button{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:12px}.pwa-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.pwa-select{display:flex;align-items:center;gap:12px;margin:16px 0}.pwa-select select{width:auto;min-height:44px}.mobile-tabs{display:flex;flex:none;justify-content:space-around;gap:4px;padding:5px max(12px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--line);background:#fafafbf5}.mobile-tabs button{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:48px;padding:4px;background:transparent;color:#77777e;border-radius:12px;font-size:10px}.mobile-tabs button[aria-current]{background:#ececef;color:#19191b}.keyboard-visible .mobile-tabs{display:none}.offline-entry{height:100dvh;max-width:600px;margin:auto;padding:24px;text-align:center}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.pwa-status{padding:7px 12px;gap:6px;font-size:11px}.pwa-status button,.settings-card button{min-height:44px}.chat-page .composer-wrap{padding-bottom:8px}.keyboard-visible .chat-page .composer-wrap{padding-bottom:max(8px,env(safe-area-inset-bottom))}.keyboard-visible .install-suggestion{display:none}}@media(prefers-reduced-motion:no-preference){.plugin-page:not([hidden]),.settings-page:not([hidden]),.plugins-page:not([hidden]){animation:page-appear .16s ease-out}@keyframes page-appear{0%{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.workspace-main>.pwa-status:first-child{padding-top:calc(7px + env(safe-area-inset-top))}.workspace-main:has(>.pwa-status)>.topbar{height:56px;padding-top:0}}.chat-page .composer{display:block;min-height:56px;padding:6px;border-radius:26px}.chat-page .composer>.composer-line{display:flex;align-items:flex-end;justify-content:flex-start;gap:4px;width:100%;margin:0}.chat-page .composer .composer-line textarea{flex:1 1 0;width:0;min-width:0;min-height:44px;max-height:128px;align-self:center;padding:10px 4px;margin:0;font-size:16px;line-height:24px}.chat-page .composer .composer-line textarea[hidden]{display:none}.chat-page .composer .composer-actions{display:flex;flex:none;gap:2px;flex-wrap:nowrap;align-items:center}.chat-page .composer .composer-add,.chat-page .composer .dictation-mic,.chat-page .composer .send{flex:none;width:44px;height:44px;min-width:44px;border-radius:50%;display:grid;place-items:center;padding:0}.composer-add{background:transparent;color:var(--ink)}.composer-add:hover:not(:disabled){background:#e9e9ed}.chat-page .composer>.composer-files{display:flex;gap:8px;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin:0;padding:6px 6px 10px}.file-card{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:#fff}.file-card>svg{flex:none;color:var(--muted)}.file-card>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.file-card strong{font-size:13px;font-weight:500;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card small{font-size:11px;color:var(--muted)}.file-card button{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:transparent}.message-files{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.attachment-menu{position:fixed;inset:auto;margin:0;padding:6px;width:286px;max-width:calc(100vw - 24px);border:1px solid #e4e4e8;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 12px 48px #0002}.attachment-menu>button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;text-align:left;padding:12px;border-radius:15px;background:transparent;font-size:14px}.attachment-menu>button:hover{background:#f4f4f6}.attachment-menu small{color:var(--muted);font-size:10px;margin-left:auto}.chat-page .composer .dictation-controls{flex:1;min-width:0;margin:0}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.chat-page .composer{border:1px solid transparent;box-shadow:none;background:#f7f7f8}.chat-page .composer>.chat-image-preview{padding:4px 6px 10px}.file-card button{width:44px;height:44px}}.composer-files .file-card{flex:0 0 230px}.chat-page .composer:has(.chat-image-preview),.chat-page .composer:has(.chat-image-notice){flex-wrap:wrap;gap:8px}.chat-page .composer>.chat-image-preview,.chat-page .composer>.chat-image-notice{flex:0 0 100%;justify-content:flex-start;margin:0}.chat-page .composer>.chat-image-preview{padding:4px 0 6px}.chat-image-thumb{position:relative}.chat-image-thumb img{display:block;width:76px;height:76px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.chat-image-thumb button{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);cursor:pointer}.chat-image-notice{margin:8px 0;padding:10px 14px;border:1px solid var(--line);border-radius:12px;font-size:13px;line-height:1.45}.message .chat-message-image{display:block;width:auto;max-width:min(100%,360px);max-height:300px;border-radius:14px;object-fit:contain;margin:8px 0}@media(max-width:760px),(max-width:1024px)and (max-height:500px){.chat-page .composer>.chat-image-preview,.chat-page .composer>.chat-image-notice{flex:none;width:100%}.chat-image-thumb img{width:56px;height:56px}.message .chat-message-image{max-width:min(100%,260px);max-height:240px}}.form-select{display:block;width:100%;min-width:0}.form-select>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);text-align:left}.form-select>button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-select>button[aria-expanded=true]{border-color:#a8a8b0}.form-select-menu{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);box-shadow:0 14px 38px #17171d22;overflow:auto}.form-select-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left}.form-select-menu button.is-active,.form-select-menu button:hover{background:var(--subtle)}.form-select-menu button[aria-selected=true]{font-weight:550}.form-select-menu button[aria-disabled=true]{opacity:.45;cursor:default}.form-select-menu button:focus-visible,.form-select>button:focus-visible,.form-time-input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.form-time-input{font-variant-numeric:tabular-nums}@media(max-width:760px){.form-select>button,.form-select-menu button,.form-time-input{min-height:44px;font-size:16px}}.notification-settings{display:grid;gap:16px;width:100%;min-width:0}.notification-settings .settings-card{margin:0;min-width:0}.notification-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.notification-heading h3,.notification-heading p,.notification-type h4{margin:0}.notification-heading p,.notification-muted{color:var(--muted, #aaa);font-size:13px}.notification-toggle{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:48px}.notification-settings .notification-enable{padding:4px 0;margin:0;border:0;flex:none;min-height:44px;min-width:44px;justify-content:end}.notification-device{padding-top:18px;border-top:1px solid var(--line);margin-top:12px}.notification-fields{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:14px 0}.notification-fields label,.notification-field-control,.notification-field{display:grid;gap:7px;min-width:0;flex:1 1 150px}.notification-fields input:not([type=checkbox]),.notification-field input,.notification-field-control>input{min-height:44px;width:100%;box-sizing:border-box;color-scheme:light;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 12px}.notification-field{max-width:320px}.notification-type{padding:22px 0;border-top:1px solid var(--line)}.notification-type:last-child{padding-bottom:0}.notification-type-top{display:flex;justify-content:space-between;align-items:start;gap:18px}.notification-type h4{margin-top:5px;font-size:16px}.notification-type p{color:var(--muted, #aaa);font-size:14px}.notification-channels{display:flex;flex-wrap:wrap;gap:16px;margin:14px 0}.notification-channels label{display:flex;align-items:center;gap:8px;min-height:36px;padding:0;border:0;margin:0}.notification-settings .notification-fields .toggle-row{display:flex;align-items:center}.notification-inbox-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-inbox-top button{flex:none}.notification-inbox-item{padding:18px 0;border-top:1px solid var(--line)}.notification-inbox-item h4{margin:8px 0}.notification-inbox-item.is-read{opacity:.7}.notification-empty{padding:22px 0}.notification-settings button{min-height:44px;border-radius:10px;border:1px solid var(--line);padding:10px 14px;background:var(--surface)}.notification-settings button:hover:not(:disabled){background:var(--subtle)}.notification-settings button.primary{background:var(--ink);color:var(--surface)}.notification-settings button.primary:hover:not(:disabled){background:#3a3a3f}.notification-settings p{line-height:1.6}.notification-settings .settings-card>.primary{margin-top:14px}.notification-settings .pwa-actions{display:flex;gap:8px;flex-wrap:wrap}.notification-settings .pwa-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.notification-error,.notification-status{position:sticky;bottom:12px;padding:14px 18px;border-radius:16px;background:var(--ink);color:var(--surface);border:1px solid var(--ink);z-index:2}.notification-settings :focus-visible{outline:3px solid var(--focus);outline-offset:3px}.notification-status{pointer-events:none}.notification-error{position:static}@media(max-width:480px){.notification-settings .settings-card{padding:18px}.notification-fields{align-items:stretch}.notification-fields label,.notification-field-control{flex-basis:120px}.notification-settings .pwa-actions button{flex:1 1 auto}}.settings-hub.settings-page{max-width:1240px;padding:36px 40px 56px}.settings-heading{margin-bottom:32px}.settings-heading h1{margin:0 0 8px;font-size:30px;font-weight:600;letter-spacing:-1px}.settings-heading p,.settings-section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.settings-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:36px;align-items:start}.settings-sidebar{position:sticky;top:24px}.settings-search{display:flex;align-items:center;gap:8px;min-height:42px;margin-bottom:20px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--surface)}.settings-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.settings-search>svg{flex-shrink:0}.settings-search input{min-width:0;width:100%;padding:10px 0;border:0;outline:0;background:transparent;font:inherit;font-size:13px;box-shadow:none}.settings-search input:focus-visible{outline:0}.settings-search button{display:grid;place-items:center;border:0;padding:4px;background:transparent;min-width:28px}.settings-sidebar nav{display:flex;flex-direction:column;gap:4px}.settings-sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;background:transparent;text-align:left;color:var(--muted)}.settings-sidebar nav button:hover{background:var(--subtle)}.settings-sidebar nav button[aria-current=page]{color:var(--ink);background:var(--hover)}.settings-sidebar nav button>svg{flex-shrink:0}.settings-sidebar nav span{min-width:0}.settings-sidebar nav strong{display:block;color:var(--ink);font-size:13px;font-weight:550}.settings-sidebar nav small{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:var(--muted)}.settings-category-chevron{display:none}.settings-search-result{font-size:12px;color:var(--muted);line-height:1.7;padding:4px 12px}.settings-content{min-width:0;padding-left:32px;border-left:1px solid var(--line)}.settings-section-heading{margin-bottom:24px}.settings-section-heading h2{margin:0 0 7px;font-size:23px;font-weight:600;letter-spacing:-.6px;scroll-margin-top:24px}.settings-section-heading h2:focus{outline:none}.settings-hub .settings-card{padding:22px 24px;margin-bottom:16px;border-radius:14px}.settings-hub .settings-card h3{margin-top:0;font-weight:550}.settings-hub .settings-card p{line-height:1.7}.settings-hub .settings-card>:last-child{margin-bottom:0}.settings-hub .settings-card .toggle-row:last-child{padding-bottom:0}.settings-back{display:none}.settings-hub .settings-detail{margin-top:16px;color:var(--muted);font-size:12px;line-height:1.7}.settings-detail>summary{cursor:pointer;min-height:32px;color:var(--ink);font-size:13px;font-weight:500}.settings-detail[open]>summary{margin-bottom:12px}.settings-hub .settings-note{padding:12px 14px;border-radius:10px;background:var(--subtle);font-size:12px}.settings-hub .settings-empty{margin:8px 0}.settings-hub .memory-row{gap:12px}.settings-hub .memory-row>button:first-child{min-width:0;text-align:left;overflow-wrap:anywhere}.settings-hub .memory-row>button:last-child{flex-shrink:0}.settings-hub .permission-head{gap:12px;flex-wrap:wrap}.settings-hub .index-row{gap:16px;flex-wrap:wrap}.settings-hub .permission-actions{flex-wrap:wrap}.settings-data-action{display:flex;align-items:center;justify-content:space-between;gap:24px}.settings-data-action+.settings-data-action{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.settings-data-action h4{font-size:13px;font-weight:550;margin:0 0 6px}.settings-data-action p{margin:0}.settings-data-action>:last-child{flex-shrink:0}.reminder-time{border:0;padding:0;margin:20px 0;min-width:0}.reminder-time legend{font-size:13px;font-weight:500;padding:0;margin-bottom:12px}.reminder-time-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:360px}.reminder-time-options label{position:relative;cursor:pointer}.reminder-time-options input{position:absolute;opacity:0;width:1px;height:1px}.reminder-time-options span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:10px;font-size:13px}.reminder-time-options input:checked+span{background:var(--ink);color:var(--surface);border-color:var(--ink)}.reminder-time-options input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}.reminder-time:disabled{opacity:.5}.reminder-time:disabled label{cursor:default}@media(max-width:1080px){.settings-hub.settings-page{padding:24px 20px 32px}.settings-heading{margin-bottom:24px}.settings-heading h1{font-size:28px}.settings-layout{display:block}.settings-sidebar{position:static}.settings-search{min-height:48px;margin-bottom:24px;background:var(--subtle)}.settings-search input{font-size:16px}.settings-search button{min-width:32px;min-height:44px}.settings-sidebar nav{gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.settings-sidebar nav:empty{display:none}.settings-sidebar nav button{min-height:64px;padding:16px;border-radius:0}.settings-sidebar nav button+button{border-top:1px solid var(--line)}.settings-sidebar nav button[aria-current=page]{background:var(--surface)}.settings-sidebar nav button:hover{background:var(--subtle)}.settings-sidebar nav strong{font-size:15px}.settings-sidebar nav small{font-size:12px}.settings-category-chevron{display:block;margin-left:auto}.settings-content{display:none;border-left:0;padding-left:0}.settings-hub.has-category .settings-content{display:block}.settings-hub.has-category .settings-sidebar,.settings-hub.has-category .settings-heading{display:none}.settings-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:-12px 0 12px;padding:0;color:var(--muted);font-size:13px}.settings-section-heading h2{font-size:25px}.settings-hub .settings-card{padding:20px}.settings-hub .settings-detail>summary{min-height:44px;padding-top:8px}.settings-data-action{align-items:flex-start;flex-direction:column;gap:14px}.settings-data-action>:last-child{min-height:44px}}@media(max-width:380px){.settings-hub.settings-page{padding-left:12px;padding-right:12px}.settings-hub .settings-card{padding:16px}}.settings-hub .admin-select{display:inline-block;min-width:0;max-width:100%}.settings-hub .admin-field>.admin-select,.settings-hub .admin-filter-controls label>.admin-select,.settings-hub .admin-filter-more label>.admin-select{display:block;width:100%}.settings-hub .admin-select-trigger{display:flex;width:100%;min-width:0;min-height:40px;padding:9px 11px;gap:12px;justify-content:space-between!important;border:1px solid #d9d9df;border-radius:8px;background:#fff;color:#27272a;font-size:13px!important;line-height:20px;text-align:left;transition:border-color .12s,box-shadow .12s}.settings-hub .admin-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-hub .admin-select-trigger>svg{flex-shrink:0;color:#777b85}.settings-hub .admin-select-trigger:hover{border-color:#a6a8b1}.settings-hub .admin-select-trigger[aria-expanded=true]{border-color:#9397a2;box-shadow:0 0 0 3px #25252a0b}.settings-hub .admin-select-trigger:focus-visible,.settings-hub .admin-control-popup button:focus-visible,.settings-hub .admin-control-popup input:focus-visible{outline:2px solid #626c82;outline-offset:3px}.settings-hub .admin-control-popup{position:fixed;inset:auto;margin:0;padding:6px;box-sizing:border-box;border:1px solid #e0e1e6;border-radius:12px;background:#fff;color:#27272a;box-shadow:0 10px 36px #20232b24,0 2px 8px #20232b0c;overflow:auto;overscroll-behavior:contain;font-family:inherit;font-size:13px;line-height:1.5}.settings-hub .admin-select-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#444650;font-size:13px;line-height:1.4;text-align:left}.settings-hub .admin-select-menu button>span{overflow-wrap:anywhere}.settings-hub .admin-select-menu button>svg{flex-shrink:0}.settings-hub .admin-select-menu button.is-active{background:#f1f2f5;color:#202127}.settings-hub .admin-select-menu button[aria-selected=true]{color:#202127;font-weight:600}.settings-hub .admin-select-menu button[aria-disabled=true]{opacity:.4;cursor:default}.settings-hub .ai-form-grid .admin-select{display:block;width:100%}@media(max-width:760px){.settings-hub .admin-select-trigger{min-height:44px;font-size:16px!important}.settings-hub .admin-select-menu button{min-height:44px}}.settings-content{container-type:inline-size;container-name:settings-content}@container settings-content (max-width: 580px){.ai-form-grid,.model-properties,.provider-directory{grid-template-columns:1fr}.ai-section-head,.provider-test{flex-direction:column;gap:12px}.ai-connection,.provider-catalog-heading,.ai-editor-actions,.model-manual{flex-wrap:wrap}.ai-connection-info{flex-basis:100%}.ai-connection-actions{width:100%;justify-content:space-between}.ai-editor-actions>div{margin-left:0;justify-content:flex-start}.settings-data-action{flex-direction:column;align-items:flex-start;gap:12px}.ai-editor small{overflow-wrap:anywhere}.ai-editor .model-manual input{flex-basis:100%}}.settings-hub .settings-note{background:none;padding:0;border-radius:0}.settings-hub .settings-card .toggle-row:first-of-type{padding-top:8px}.settings-hub .settings-card .settings-heading-toggle{width:100%;min-height:32px;padding:0;font-size:inherit;font-weight:inherit}.settings-heading-toggle>span{display:flex;align-items:center;gap:10px}
