.rich-text{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-size:14.5px;line-height:1.6}.rich-text>*,.rich-text .rt-item>*,.rich-text blockquote>*{margin:0 0 12px}.rich-text>:first-child,.rich-text .rt-item>:first-child,.rich-text blockquote>:first-child{margin-top:0}.rich-text>:last-child,.rich-text .rt-item>:last-child,.rich-text blockquote>:last-child{margin-bottom:0}.rich-text p,.rich-text ul,.rich-text ol,.rich-text blockquote,.rich-text .rt-heading{max-width:72ch}.rich-text strong{font-weight:600}.rich-text del{color:var(--muted)}.rich-text a{color:var(--accent-ink);text-underline-offset:3px;border-radius:2px;text-decoration:underline;text-decoration-thickness:1px}.rich-text a:hover{color:var(--ink)}.rich-text code{background:var(--field-2);font-family:var(--mono);border-radius:4px;padding:1px 5px;font-size:.9em}.rich-text .rt-heading{font-family:var(--display);letter-spacing:-.015em;margin:20px 0 8px;font-weight:600;line-height:1.3}.rich-text .rt-h1{font-size:18px;font-weight:700}.rich-text .rt-h2{font-size:16px;font-weight:700}.rich-text .rt-h3{font-family:var(--body);letter-spacing:0;font-size:14.5px}.rich-text .rt-h4{font-family:var(--body);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-size:11.5px}.rich-text ul,.rich-text ol{padding-left:22px}.rich-text ul{list-style:outside}.rich-text ul ul{list-style:circle}.rich-text li{margin:5px 0;padding-left:2px}.rich-text li::marker{color:var(--muted);font-variant-numeric:tabular-nums}.rich-text .rt-item>*{margin-bottom:6px}.rich-text .rt-tasks{padding-left:2px;list-style:none}.rich-text .rt-task{align-items:flex-start;gap:9px;padding-left:0;display:flex}.rich-text .rt-task>input{width:15px;height:15px;accent-color:var(--accent);flex:none;margin:4px 0 0}.rich-text .rt-task>.rt-item{flex:1;min-width:0}.rich-text blockquote{border-left:2px solid var(--line);color:var(--muted);padding:2px 0 2px 14px}.rich-text hr{border:0;border-top:1px solid var(--line);height:0;margin:18px 0}.rich-text .rt-rest{white-space:pre-wrap}.rich-text .rt-table{border:1px solid var(--line);overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;border-radius:10px;width:fit-content;max-width:100%;margin-block:14px;overflow-x:auto}.rich-text table{border-collapse:collapse;overflow-wrap:normal;min-width:100%;font-size:13.5px;line-height:1.45}.rich-text th{background:var(--field-2);letter-spacing:.08em;text-align:left;text-transform:uppercase;color:var(--muted);white-space:nowrap;padding:9px 14px;font-size:11px;font-weight:600}.rich-text td{border-top:1px solid var(--line);vertical-align:top;padding:10px 14px}.rich-text td:first-child{font-weight:500}.rich-text .al-left{text-align:left}.rich-text .al-right{text-align:right}.rich-text .al-center{text-align:center}.rich-text td code{white-space:nowrap}.rich-text td.is-num{font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12.5px}.rich-text .rt-code{border:1px solid var(--line);background:var(--paper);border-radius:10px;max-width:100%;margin-block:14px;overflow:hidden}.rt-code-bar{border-bottom:1px solid var(--line);background:var(--field-2);min-height:34px;font-family:var(--mono);letter-spacing:.04em;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:0 6px 0 14px;font-size:11px;display:flex}.rich-text pre{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;tab-size:2;margin:0;padding:12px 14px;font-size:12.5px;line-height:1.65;overflow-x:auto}.rich-text pre code{font-size:inherit;white-space:pre;overflow-wrap:normal;background:0 0;border-radius:0;padding:0}.rt-copy,.msg-copy{min-height:26px;color:var(--muted);font-family:var(--body);letter-spacing:0;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:0 8px;font-size:11.5px;line-height:1;display:inline-flex}.rich-text .rt-copy{font-family:var(--body)}.rich-text pre:focus-visible,.rich-text .rt-table:focus-visible{outline-offset:-3px}.rt-copy:hover,.msg-copy:hover{background:var(--surface);color:var(--ink)}.rt-copy .icon,.msg-copy .icon{stroke-width:1.8px;flex-basis:13px;width:13px;height:13px}.rt-copy[data-state=done],.msg-copy[data-state=done]{color:var(--ok)}.rt-copy[data-state=failed],.msg-copy[data-state=failed]{color:var(--accent-ink)}.rich-text u{text-underline-offset:3px;text-decoration-thickness:1px}.rich-text.is-emoji{font-size:34px;line-height:1.2}.rich-text.is-user{font-size:inherit;line-height:inherit}.rich-text.is-user>*,.rich-text.is-user .rt-item>*{margin-bottom:6px}.rich-text.is-user>:last-child{margin-bottom:0}.rich-text.is-user p,.rich-text.is-user ul,.rich-text.is-user ol,.rich-text.is-user blockquote{max-width:none}.rich-text.is-user .rt-code,.rich-text.is-user .rt-table{background:var(--surface)}.rich-text .hljs-keyword,.rich-text .hljs-selector-tag,.rich-text .hljs-tag,.rich-text .hljs-name,.rich-text .hljs-doctag{color:#a83b1d}.rich-text .hljs-string,.rich-text .hljs-regexp,.rich-text .hljs-addition,.rich-text .hljs-template-tag{color:#2f7a4b}.rich-text .hljs-number,.rich-text .hljs-literal,.rich-text .hljs-symbol,.rich-text .hljs-bullet{color:#8a5300}.rich-text .hljs-title,.rich-text .hljs-section,.rich-text .hljs-selector-id{color:#2b5c90}.rich-text .hljs-attr,.rich-text .hljs-attribute,.rich-text .hljs-property,.rich-text .hljs-selector-class,.rich-text .hljs-variable,.rich-text .hljs-template-variable{color:#74479a}.rich-text .hljs-built_in,.rich-text .hljs-type,.rich-text .hljs-class .hljs-title{color:#1a7266}.rich-text .hljs-comment,.rich-text .hljs-quote,.rich-text .hljs-meta{color:var(--muted);font-style:italic}.rich-text .hljs-deletion{color:#a83b1d;background:#fdebe4}.rich-text .hljs-addition{background:#eaf4ec}.rich-text .hljs-emphasis{font-style:italic}.rich-text .hljs-strong{font-weight:600}.rt-figure{max-width:100%;margin:14px 0}.rt-figure.is-waiting{border:1px dashed var(--line);min-height:64px;color:var(--muted);border-radius:10px;align-items:center;gap:10px;padding:0 16px;font-size:12.5px;display:flex}.rt-diagram{border:1px solid var(--line);background:var(--paper);scrollbar-width:thin;border-radius:12px;padding:16px;overflow-x:auto}.rt-diagram svg{max-width:none;height:auto;margin:0 auto;display:block}.rt-illustration{border-radius:12px;max-width:min(100%,640px);height:auto;display:block}.rt-illustration.is-fluid{width:100%}@media (width<=560px){.rich-text th,.rich-text td{padding-inline:11px}.rich-text ul,.rich-text ol{padding-left:19px}.rt-copy,.msg-copy{min-height:32px}}.message-files{flex-direction:column;gap:8px;max-width:100%;margin-top:10px;display:flex}.message-files.is-mine{align-items:flex-end;margin-top:6px}.file-images{flex-wrap:wrap;gap:8px;display:flex}.message-files.is-mine .file-images{justify-content:flex-end}.file-image{border:1px solid var(--line);background:var(--field-2);cursor:zoom-in;border-radius:10px;padding:0;display:block;overflow:hidden}.file-image img{object-fit:cover;width:180px;height:140px;display:block}.file-images.is-single .file-image img{width:auto;max-width:480px;height:auto;max-height:360px}.file-image:hover{border-color:var(--ink)}.file-card{border:1px solid var(--line);background:var(--surface);width:min(340px,100%);color:var(--ink);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;display:flex}a.file-card:hover{border-color:var(--ink)}.file-card>.icon{width:20px;height:20px;color:var(--muted);flex:none}.file-card>.icon:first-child{color:var(--accent-ink)}.file-card.is-missing{color:var(--muted);border-style:dashed}.file-card-text{flex-direction:column;flex:1;min-width:0;line-height:1.35;display:flex}.file-card-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.file-card-text small{font-family:var(--mono);color:var(--muted);font-size:11px}.file-viewer{background:var(--surface);width:min(1100px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);box-shadow:var(--paper-shadow);border:0;border-radius:12px;padding:0}.file-viewer::backdrop{background:#1d1b18cc}.file-viewer-bar{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 12px 10px 16px;font-size:13px;display:flex}.file-viewer-bar>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.file-viewer-bar a,.file-viewer-bar button{color:var(--ink);background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:6px 8px;font-size:12.5px;text-decoration:none;display:inline-flex}.file-viewer-bar a:hover,.file-viewer-bar button:hover{background:var(--field-2)}.file-viewer-bar .icon{width:16px;height:16px}.file-viewer img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 82px);margin:0 auto;display:block}.composer-files{flex-wrap:wrap;gap:8px;margin:0;padding:12px 12px 0;list-style:none;display:flex}.composer-file{border:1px solid var(--line);background:var(--paper);border-radius:10px;align-items:center;gap:10px;width:220px;max-width:100%;padding:6px;display:flex}.composer-file>img,.composer-file-icon{object-fit:cover;border-radius:7px;flex:none;width:40px;height:40px}.composer-file-icon{background:var(--field-3);color:var(--accent-ink);place-items:center;display:grid}.composer-file-icon .icon{width:18px;height:18px}.composer-file[data-status=uploading]{opacity:.7}.composer-file[data-status=failed]{border-color:var(--accent)}.composer-file[data-status=failed] small{color:var(--accent-ink)}.composer-file>button{width:26px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.composer-file>button:hover{background:var(--field-2);color:var(--ink)}.composer-file>button .icon{width:14px;height:14px}.chat-studio{position:relative}.chat-drop{z-index:5;border:2px dashed var(--accent);color:var(--accent-ink);font-family:var(--display);pointer-events:none;background:#fffffff0;border-radius:14px;place-items:center;font-size:18px;font-weight:600;display:grid;position:absolute;inset:8px}.file-badge{background:var(--field-2);min-width:34px;color:var(--muted);font-family:var(--mono);letter-spacing:.02em;text-align:center;border-radius:5px;flex:none;padding:3px 5px;font-size:10px;font-weight:600}.file-badge[data-kind=pdf]{color:#a3321a;background:#fbe3dc}.file-badge[data-kind=table]{background:var(--ok-field);color:var(--ok)}.file-badge[data-kind=video],.file-badge[data-kind=audio]{color:#4f4580;background:#e6e3f1}.file-preview,.file-media{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:min(340px,100%);overflow:hidden}.file-preview:hover{border-color:var(--ink)}.file-preview-open{border:0;border-bottom:1px solid var(--line);background:var(--field-2);cursor:zoom-in;text-align:left;width:100%;padding:0;display:block}.file-picture{height:168px;color:var(--muted);place-items:center;display:grid;position:relative;overflow:hidden}.file-picture>.icon{width:28px;height:28px}.file-picture.is-page{align-items:start;padding:14px 22px 0}.file-picture.is-page img{background:#fff;border-radius:3px 3px 0 0;width:100%;box-shadow:0 1px 2px #30251b1f,0 6px 16px #30251b14}.file-picture.is-text{background:var(--surface);place-items:start stretch;padding:10px 12px}.file-picture.is-text pre{color:var(--ink);white-space:pre-wrap;word-break:break-word;margin:0;font-size:11px;line-height:1.5;overflow:hidden}.file-picture:after{content:"";background:linear-gradient(transparent, var(--field-2));pointer-events:none;height:36px;position:absolute;inset:auto 0 0}.file-picture.is-text:after{background:linear-gradient(#fff0, var(--surface))}.file-picture-wait{background:linear-gradient(90deg, var(--field-2), #fff, var(--field-2));background-size:200% 100%;border-radius:4px;width:44%;height:70%;animation:1.2s ease-in-out infinite file-wait}.file-picture.is-text .file-picture-wait{width:100%;height:100%}@keyframes file-wait{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.file-picture-wait{animation:none}}.file-preview-bar{align-items:center;gap:10px;padding:8px 8px 8px 10px;display:flex}.file-preview-bar>a{width:32px;height:32px;color:var(--muted);border-radius:7px;flex:none;place-items:center;display:grid}.file-preview-bar>a:hover{background:var(--field-2);color:var(--ink)}.file-preview-bar .icon{width:18px;height:18px}.file-media.is-video{width:min(480px,100%)}.file-media video{background:#000;width:100%;max-height:360px;display:block}.file-media audio{width:calc(100% - 16px);margin:10px 8px 0;display:block}.file-table{border-collapse:collapse;font-size:12.5px}.file-table th,.file-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere;max-width:320px;padding:5px 10px}.file-table th{background:var(--field-2);font-weight:600;position:sticky;top:0}.file-table.is-small{table-layout:fixed;width:100%;font-size:10.5px}.file-table.is-small th,.file-table.is-small td{text-overflow:ellipsis;white-space:nowrap;padding:3px 5px;overflow:hidden}.file-table.is-small th{position:static}.file-viewer-body{overscroll-behavior:contain;max-height:calc(100dvh - 82px);overflow:auto}.file-viewer.is-pdf .file-viewer-body{background:var(--field-2)}.pdf-pages{flex-direction:column;gap:14px;width:min(900px,100%);margin:0 auto;padding:16px;display:flex}.pdf-page{background:#fff;width:100%;box-shadow:0 1px 2px #30251b1f,0 8px 22px #30251b14}.pdf-page canvas{width:100%;height:100%;display:block}.file-code{white-space:pre-wrap;word-break:break-word;margin:0;padding:16px;font-size:12.5px;line-height:1.55}.file-markdown{max-width:760px;margin:0 auto;padding:20px}.file-table-wrap{overflow:auto}.file-viewer-note{color:var(--muted);text-align:center;margin:0;padding:14px 16px;font-size:13px}@media (width<=900px){.file-viewer{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.file-viewer-body,.file-viewer img{max-height:calc(100dvh - 50px)}.file-viewer-label{display:none}.pdf-pages{gap:10px;padding:10px}.file-image img{width:140px;height:110px}.file-images.is-single .file-image img{max-width:calc(100vw - 96px)}.composer-file{width:100%}}.link-cards{flex-direction:column;gap:8px;max-width:100%;margin-top:8px;display:flex}.link-cards.is-mine{align-items:flex-end;margin-top:6px}.link-card{border:1px solid var(--line);border-left:3px solid var(--dash);background:var(--surface);width:min(460px,100%);color:var(--ink);transition:border-color .12s var(--ease-out);border-radius:10px;align-items:flex-start;gap:12px;padding:10px 12px;text-decoration:none;display:flex}.link-card:hover{border-color:var(--ink);border-left-color:var(--accent)}.link-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.link-card-text{flex-direction:column;flex:1;gap:2px;min-width:0;line-height:1.35;display:flex}.link-card-site{min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:11.5px;display:flex}.link-card-site img{object-fit:contain;border-radius:3px;flex:none;width:16px;height:16px}.link-card-site span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.link-card strong,.link-hover strong{-webkit-line-clamp:2;color:var(--accent-ink);-webkit-box-orient:vertical;font-size:13.5px;font-weight:600;display:-webkit-box;overflow:hidden}.link-card-about{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;font-size:12.5px;display:-webkit-box;overflow:hidden}.link-card-image{object-fit:cover;background:var(--field-2);border-radius:7px;flex:none;width:72px;height:72px}.link-card.is-large{flex-direction:column;gap:10px}.link-card.is-large .link-card-text{width:100%}.link-card.is-large .link-card-image{aspect-ratio:auto;width:100%;height:auto;max-height:260px}.link-card.is-image .link-card-image{object-fit:contain;max-height:360px}.link-hover{z-index:60;border:1px solid var(--line);background:var(--surface);width:340px;box-shadow:var(--paper-shadow);pointer-events:none;animation:link-hover-in .14s var(--ease-out);border-radius:12px;flex-direction:column;gap:6px;padding:12px;line-height:1.35;display:flex;position:fixed}.link-hover-image{object-fit:cover;background:var(--field-2);border-radius:8px;width:100%;max-height:170px}@keyframes link-hover-in{0%{opacity:0;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.link-hover{animation:none}}.built-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;width:min(460px,100%);overflow:hidden;box-shadow:0 1px 2px #30251b0a}.built-card-window{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:block}.built-card-window:disabled{cursor:default}.built-card-chrome{border-bottom:1px solid var(--line);background:var(--field-2);align-items:center;gap:5px;padding:8px 12px;display:flex}.built-card-chrome i{background:var(--dash);border-radius:50%;width:8px;height:8px}.built-card-chrome span{min-width:0;color:var(--muted);font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;margin-left:8px;font-size:10.5px;overflow:hidden}.built-card-body{background:linear-gradient(135deg, var(--field-3), var(--surface) 70%);align-items:center;gap:14px;padding:16px 14px;display:flex}.built-card-window:not(:disabled):hover .built-card-body{background:linear-gradient(135deg, var(--field), var(--surface) 75%)}.built-card-mark{background:var(--surface);width:44px;height:44px;color:var(--accent-ink);border-radius:11px;flex:none;place-items:center;display:grid;box-shadow:0 1px 2px #30251b14,0 4px 12px #30251b0f}.built-card-mark .icon{width:22px;height:22px}.built-card-text{flex-direction:column;gap:2px;min-width:0;line-height:1.35;display:flex}.built-card-text strong{font-family:var(--display);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650;overflow:hidden}.built-card-text small{color:var(--muted);font-size:12px}.built-card-state{color:var(--muted);align-items:center;gap:6px;margin-top:2px;font-size:11.5px;display:inline-flex}.built-card-state:before{content:"";background:var(--dash);border-radius:50%;width:7px;height:7px}.built-card-state.is-on{color:var(--ok)}.built-card-state.is-on:before{background:var(--ok-dot)}.built-card-actions{border-top:1px solid var(--line);align-items:center;gap:8px;padding:10px 12px;display:flex}.built-card-actions>*{border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:0 14px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.built-card-primary{background:var(--ink);color:var(--paper);cursor:pointer;border:0}.built-card-primary:disabled{opacity:.5;cursor:default}.built-card-actions a{border:1px solid var(--line);color:var(--ink)}.built-card-actions a:hover{border-color:var(--ink)}.built-card-actions .icon{width:15px;height:15px}.built-viewer{background:var(--paper);border:0;flex-direction:column;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;display:none}.built-viewer[open]{display:flex}.built-viewer::backdrop{background:#1d1b18cc}.built-viewer-bar{padding:8px 10px 8px 16px;padding-top:max(8px, env(safe-area-inset-top));border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:6px;display:flex}.built-viewer-title{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.built-viewer-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.built-viewer-title small{color:var(--muted);font-size:11.5px}.built-viewer-bar>button,.built-viewer-bar>a{width:36px;height:36px;color:var(--ink);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.built-viewer-bar>button:hover,.built-viewer-bar>a:hover{background:var(--field-2)}.built-viewer-bar .icon{width:17px;height:17px}.built-viewer-size{background:var(--field-2);border-radius:9px;padding:2px;display:flex}.built-viewer-size button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:6px 12px;font-size:12.5px;font-weight:600}.built-viewer-size button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #30251b1f}.built-viewer-stage{background:var(--field-2);flex:1;justify-content:center;min-height:0;display:flex}.built-viewer-stage iframe{background:#fff;border:0;width:100%;height:100%}.built-viewer-stage.is-phone{padding:20px}.built-viewer-stage.is-phone iframe{width:390px;max-width:100%;box-shadow:0 0 0 8px var(--ink), 0 20px 50px #30251b40;border-radius:22px}@media (width<=700px){.built-viewer-size{display:none}}.rich-composer{border:1px solid var(--line);background:var(--surface);box-shadow:var(--paper-shadow);transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;flex-direction:column;display:flex;position:relative}.rich-composer:focus-within{border-color:var(--ink);box-shadow:var(--paper-shadow), 0 0 0 1px var(--ink)}.rich-composer.is-editing{box-shadow:none}.format-bar{scrollbar-width:none;align-items:center;gap:2px;min-height:40px;padding:6px 8px 0;display:flex;overflow-x:auto}.format-button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.format-button:hover{background:var(--field-2);color:var(--ink)}.format-button[aria-pressed=true]{background:var(--field-3);color:var(--accent-ink)}.format-button .icon{stroke-width:1.8px;width:17px;height:17px}.format-button:first-child .icon{stroke-width:2.4px}.format-divider{background:var(--line);flex:none;width:1px;height:18px;margin:0 5px}.composer-editor{min-width:0}.composer-text{overscroll-behavior:contain;min-height:48px;max-height:260px;color:var(--ink);overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:var(--line) transparent;outline:none;padding:12px 16px 6px;font-size:14.5px;line-height:1.55;overflow-y:auto}.composer-text:focus-visible{outline:none}.rich-composer.is-small .composer-text{min-height:40px;padding:10px 12px 4px;font-size:13.5px}.composer-text>*+*{margin-top:6px}.composer-text p{margin:0}.composer-text p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--muted);pointer-events:none}.composer-text strong{font-weight:600}.composer-text ul,.composer-text ol{margin:0;padding-left:22px}.composer-text ul{list-style:outside}.composer-text li{margin:2px 0}.composer-text li::marker{color:var(--muted)}.composer-text li>p{margin:0}.composer-text blockquote{border-left:3px solid var(--line);color:var(--muted);margin:0;padding:0 0 0 12px}.composer-text code{background:var(--field-2);font-family:var(--mono);border-radius:4px;padding:1px 5px;font-size:.88em}.composer-text pre{border:1px solid var(--line);background:var(--paper);font-family:var(--mono);white-space:pre-wrap;border-radius:8px;margin:0;padding:10px 12px;font-size:12.5px;line-height:1.6}.composer-text pre code{font-size:inherit;background:0 0;padding:0}.composer-text a{color:var(--accent-ink);text-underline-offset:3px;text-decoration:underline}.composer-mention,.rt-mention{background:var(--field-3);color:var(--accent-ink);border-radius:4px;padding:0 3px;font-weight:500}.composer-mention.is-tool,.rt-mention.is-tool{vertical-align:-.2em;white-space:nowrap;align-items:center;gap:4px;max-width:24ch;padding:0 4px 0 3px;line-height:1.35;display:inline-flex}.composer-mention.is-tool img,.rt-mention.is-tool img{object-fit:contain;border-radius:3px;flex:none;width:1em;height:1em}.composer-mention.is-tool .icon,.rt-mention.is-tool .icon{flex:none;width:1em;height:1em}.composer-mention.is-tool span,.rt-mention.is-tool span{text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;min-width:0;overflow:hidden}@media (width<=900px){.composer-mention.is-tool,.rt-mention.is-tool{max-width:18ch}}.composer-actions{align-items:center;gap:2px;padding:4px 8px 8px;display:flex}.rich-composer.is-small .composer-actions{padding:2px 6px 6px}.composer-tool{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.composer-tool:hover{background:var(--field-2);color:var(--ink)}.composer-tool .icon{width:18px;height:18px}.composer-tool.is-attach{background:var(--field-2);color:var(--ink);border-radius:50%}.composer-tool.is-attach:hover{background:var(--field-3);color:var(--accent-ink)}.composer-tool.is-format[aria-pressed=true]{color:var(--ink)}.composer-actions .composer-note{margin-left:8px}.composer-text-button{border:1px solid var(--line);background:var(--surface);height:30px;color:var(--ink);border-radius:7px;padding:0 12px;font-size:12.5px;font-weight:600}.composer-text-button+.composer-text-button,.composer-text-button+.composer-send{margin-left:6px}.composer-text-button.is-primary{background:var(--accent);color:var(--on-accent);border-color:#0000}.composer-text-button:disabled{opacity:.5}.composer-menu{z-index:30;border:1px solid var(--line);background:var(--surface);width:min(320px,100% - 16px);max-height:300px;box-shadow:var(--paper-shadow);border-radius:10px;margin:0;padding:6px;list-style:none;position:absolute;bottom:calc(100% + 6px);left:8px;overflow-y:auto}.composer-menu button{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:6px 8px;font-size:13.5px;display:flex}.composer-menu li[aria-selected=true] button,.composer-menu button:hover{background:var(--field-2)}.composer-menu small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:12px;overflow:hidden}.menu-avatar{background:var(--avatar);border-radius:6px;flex:none;place-items:center;width:22px;height:22px;font-size:10px;font-weight:600;display:grid}.menu-avatar.is-agent{background:var(--accent);color:var(--on-accent);font-family:var(--display);font-size:11px;font-weight:700}.menu-emoji{text-align:center;flex:none;width:22px;font-size:18px;line-height:1}.composer-menu-group{color:var(--muted);letter-spacing:.02em;padding:8px 8px 3px;font-size:11px;font-weight:600}.composer-menu-group:first-child{padding-top:3px}.menu-avatar.is-tool{background:var(--field-2);color:var(--muted);overflow:hidden}.menu-avatar.is-tool img{object-fit:contain;width:16px;height:16px}.menu-avatar.is-tool svg{width:14px;height:14px}.menu-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.composer-menu small{flex:none;max-width:45%}@media (hover:none) and (pointer:coarse){.composer-menu{max-height:min(340px,45dvh)}.composer-menu button{min-height:40px}}.link-editor{z-index:30;border:1px solid var(--line);background:var(--surface);width:min(360px,100% - 16px);box-shadow:var(--paper-shadow);border-radius:12px;gap:10px;padding:14px;display:grid;position:absolute;bottom:calc(100% + 6px);left:8px}.link-editor label{color:var(--muted);gap:4px;font-size:12px;font-weight:600;display:grid}.link-editor input{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--ink);border-radius:7px;padding:0 10px;font-size:13.5px}.link-editor input:focus-visible{outline:2px solid var(--ink);outline-offset:-1px}.link-editor-actions{justify-content:flex-end;gap:6px;display:flex}.link-editor-actions button{border:1px solid var(--line);background:var(--surface);height:30px;color:var(--ink);border-radius:7px;padding:0 12px;font-size:12.5px;font-weight:600}.link-editor-actions .is-primary{background:var(--ink);color:var(--paper);border-color:#0000}.emoji-anchor{display:contents;position:relative}.emoji-popover{left:var(--emoji-left);top:var(--emoji-top);z-index:80;position:fixed}.emoji-picker{border:1px solid var(--line);background:var(--surface);width:352px;max-width:calc(100vw - 32px);height:380px;box-shadow:var(--paper-shadow);isolation:isolate;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.emoji-search{border:1px solid var(--line);background:var(--paper);height:36px;color:var(--ink);border-radius:8px;flex:none;margin:10px 10px 6px;padding:0 12px;font-size:13.5px}.emoji-search:focus-visible{outline:2px solid var(--ink);outline-offset:-1px}.emoji-recent{flex:none;padding:2px 10px 4px}.emoji-recent>span,.emoji-category{background:var(--surface);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 4px 4px;font-size:11px;font-weight:600;display:block}.emoji-recent>div{flex-wrap:wrap;display:flex}.emoji-recent button,.emoji-cell{background:0 0;border:0;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;font-size:22px;line-height:1;display:grid}.emoji-recent button:hover,.emoji-cell[data-active]{background:var(--field-2)}.emoji-viewport{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;outline:none;flex:1;min-height:0;position:relative;overflow-y:auto}.emoji-list{-webkit-user-select:none;user-select:none;padding:0 10px 8px}.emoji-category{padding-inline:4px}.emoji-note{color:var(--muted);place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.emoji-footer{border-top:1px solid var(--line);background:var(--paper);flex:none;align-items:center;gap:8px;min-height:46px;padding:6px 10px;display:flex}.emoji-preview{font-size:24px;line-height:1}.emoji-name{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;overflow:hidden}.emoji-name:first-letter{text-transform:uppercase}.emoji-skin{background:0 0;border:0;border-radius:8px;flex:none;width:32px;height:32px;padding:0;font-size:18px}.emoji-skin:hover{background:var(--field-2)}.composer-tool.is-gif span{letter-spacing:.04em;border:1.5px solid;border-radius:4px;padding:1px 4px;font-size:9.5px;font-weight:750;line-height:1.3}.gif-picker{border:1px solid var(--line);background:var(--surface);width:360px;max-width:calc(100vw - 32px);height:420px;box-shadow:var(--paper-shadow);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.gif-search{border:1px solid var(--line);background:var(--paper);height:36px;color:var(--muted);border-radius:8px;flex:none;align-items:center;gap:8px;margin:10px 10px 6px;padding:0 12px;display:flex}.gif-search:focus-within{outline:2px solid var(--ink);outline-offset:-1px}.gif-search .icon{flex:none;width:15px;height:15px}.gif-search input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:0;font-size:13.5px}.gif-chips{scrollbar-width:none;flex:none;gap:6px;padding:2px 10px 8px;display:flex;overflow-x:auto}.gif-chips button{border:1px solid var(--line);background:var(--surface);height:28px;color:var(--ink);border-radius:999px;flex:none;padding:0 11px;font-size:12.5px}.gif-chips button:hover{border-color:var(--ink)}.gif-grid{overscroll-behavior:contain;columns:2;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;column-gap:6px;min-height:0;padding:0 10px 8px;position:relative;overflow-y:auto}.gif-cell{background:var(--field-2);break-inside:avoid;border:0;border-radius:8px;width:100%;min-height:60px;margin:0 0 6px;padding:0;display:block;overflow:hidden}.gif-cell img{object-fit:cover;width:100%;height:100%;display:block}.gif-cell:hover,.gif-cell:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.gif-credit{border-top:1px solid var(--line);background:var(--paper);letter-spacing:.04em;color:var(--muted);text-align:right;flex:none;margin:0;padding:7px 12px;font-size:11px;font-weight:650}@media (width<=900px){.composer-text{font-size:16px}.composer-tool{width:40px;height:40px}.composer-actions .composer-note{display:none}.format-button{width:36px;height:36px}.emoji-popover{top:auto;left:12px;right:12px;bottom:max(90px, calc(env(safe-area-inset-bottom) + 76px))}.emoji-picker{width:auto;max-width:none}.gif-picker{width:auto;max-width:none;height:min(420px,60dvh)}}.rail-divider{background:var(--line);flex:none;width:22px;height:1px;margin:2px 0}.rail-agent.auto-rail{color:var(--muted);position:relative;overflow:visible}.rail-agent.auto-rail:hover{color:var(--ink)}.rail-agent.auto-rail[aria-current]{color:var(--on-accent)}.auto-rail .icon{width:19px;height:19px}.auto-rail-badge{background:var(--accent);min-width:18px;height:18px;color:var(--on-accent);font-family:var(--mono);text-align:center;box-shadow:0 0 0 2px var(--field);border-radius:99px;padding:0 5px;font-size:10.5px;font-weight:700;line-height:18px;position:absolute;top:-6px;right:-7px}.auto-rail[aria-current] .auto-rail-badge{display:none}.settings-back.auto-back{margin-bottom:10px}.auto-new{border:1px solid var(--ink);background:var(--surface);width:100%;min-height:38px;color:var(--ink);transition:background .15s var(--ease-out), color .15s var(--ease-out);border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:8px;padding:0 12px;font-size:13.5px;font-weight:600;display:flex}.auto-new:hover,.auto-new[aria-current]{background:var(--ink);color:#fff}.auto-new .icon{width:15px;height:15px}.auto-entry .shell-label{flex:1}.auto-entry-next{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;font-size:11px}.auto-entry.is-paused .shell-label{color:var(--muted)}.auto-mark{flex:none;place-items:center;width:15px;height:15px;display:grid}.auto-mark:before{content:"";background:var(--ok-dot);border-radius:50%;width:7px;height:7px}.auto-mark[data-mark=paused]:before,.auto-mark[data-mark=failed]:before{content:none}.auto-mark[data-mark=paused] .icon{stroke-width:2.6px;width:12px;height:12px;color:var(--muted)}.auto-mark[data-mark=running]:before{background:var(--accent);animation:1.2s infinite haien-pulse;box-shadow:0 0 0 3px #f0532424}.auto-mark[data-mark=failed]{background:var(--warn-field);color:var(--warn);box-shadow:inset 0 0 0 1px var(--warn-line);border-radius:50%;font-size:10px;font-weight:800;line-height:1}.auto-fold{width:100%;color:var(--muted);background:0 0;border:0;justify-content:space-between;align-items:center;padding:0 2px 0 0;display:flex}.auto-fold .icon{width:13px;height:13px;transition:transform .15s var(--ease-out);margin-bottom:6px}.auto-fold[aria-expanded=true] .icon{transform:rotate(90deg)}.auto-fold:hover{color:var(--ink)}.auto-text-button{min-height:32px;color:var(--accent-ink);background:0 0;border:0;align-items:center;gap:6px;padding:0 2px;font-size:13px;font-weight:600;display:inline-flex}.auto-text-button:hover:not(:disabled){color:var(--ink)}.auto-text-button .icon{width:14px;height:14px}.auto-text-button.is-quiet{color:var(--muted);font-weight:500}.auto-text-button[aria-pressed=true]{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.auto-face{background:var(--avatar);width:34px;height:34px;color:var(--ink);border-radius:10px;flex:none;place-items:center;font-size:12px;font-weight:600;line-height:1;display:grid}.auto-face.is-agent{background:var(--accent);color:var(--on-accent);font-family:var(--display);font-size:14px;font-weight:700}.auto-face.is-small{border-radius:7px;width:24px;height:24px;font-size:10px}.auto-glyph{background:var(--field-3);width:34px;height:34px;color:var(--accent-ink);border-radius:10px;flex:none;place-items:center;display:grid}.auto-glyph .icon{stroke-width:2px;width:17px;height:17px}.auto-need,.auto-source{border:1px solid var(--line);background:var(--surface);max-width:100%;color:var(--ink);white-space:nowrap;border-radius:99px;align-items:center;gap:6px;padding:3px 9px 3px 4px;font-size:12px;line-height:1.4;display:inline-flex}.auto-need .integration-logo,.auto-source .integration-logo,.auto-uses .integration-logo{border-radius:5px;width:18px;height:18px;padding:2px}.auto-need .integration-glyph,.auto-source .integration-glyph,.auto-uses .integration-glyph{border-radius:5px;width:18px;height:18px;font-size:8px}.auto-uses .integration-logo,.auto-uses .integration-glyph{width:20px;height:20px}.auto-cost{color:var(--ink);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 10px;font-size:12.5px;display:inline-flex}.auto-cost.is-waiting,.auto-cost-basis{color:var(--muted)}.auto-meter{align-items:flex-end;gap:2px;height:12px;display:inline-flex}.auto-meter i{background:var(--line);border-radius:1px;width:4px}.auto-meter i:first-child{height:5px}.auto-meter i:nth-child(2){height:7px}.auto-meter i:nth-child(3){height:9px}.auto-meter i:nth-child(4){height:12px}.auto-meter i.is-on{background:var(--ok-dot)}.auto-meter[data-level="3"] i.is-on{background:var(--warn-dot)}.auto-meter[data-level="4"] i.is-on{background:var(--accent)}.auto-page{background:var(--paper);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:44px clamp(16px,4vw,48px) 72px;overflow-y:auto}.auto-inner{width:min(1040px,100%);margin:0 auto}.auto-page.is-editor .auto-inner{width:min(1000px,100%)}.auto-head{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:end;gap:48px;margin-bottom:36px;display:grid}.auto-head .eyebrow{margin-bottom:10px}.auto-head h2{letter-spacing:-.03em;text-wrap:balance;margin:0;font-size:clamp(1.8rem,2.8vw,2.5rem);font-weight:700;line-height:1.1}.auto-head h2 span{color:var(--accent-ink)}.auto-head h2:focus-visible{outline:none}.auto-head>p{color:var(--muted);margin:0;font-size:14.5px;line-height:1.65}.auto-block{margin-bottom:36px}.auto-block-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.auto-block-head .auto-text-button .icon{width:13px;height:13px}.auto-block-title{font-family:var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;font-size:11px;font-weight:650;line-height:1.6}.auto-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.auto-rows{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden;box-shadow:0 1px 2px #30251b08}.auto-rows li+li{border-top:1px solid var(--line)}.auto-row{width:100%;min-height:56px;color:var(--ink);text-align:left;transition:background .12s var(--ease-out);background:0 0;border:0;align-items:center;gap:14px;padding:12px 16px;display:flex}.auto-row:hover{background:var(--paper)}.auto-row-time{width:96px;font-family:var(--mono);color:var(--accent-ink);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.auto-row-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.auto-row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.auto-row-summary{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.auto-row-summary.is-warn{color:var(--warn)}.auto-row-when{font-family:var(--mono);color:var(--muted);flex:none;align-items:center;gap:8px;font-size:11.5px;display:inline-flex}.auto-row.is-unread .auto-row-name{font-weight:750}.auto-dot{background:var(--accent);border-radius:50%;flex:none;width:8px;height:8px}.auto-quiet-note{border:1px dashed var(--dash);border-radius:var(--corner);color:var(--muted);margin:0;padding:18px 16px;font-size:13px;line-height:1.5}.auto-rows.is-loading li{padding:22px 16px}.auto-skeleton{background:linear-gradient(90deg, var(--field-2), var(--paper), var(--field-2));background-size:200% 100%;border-radius:6px;width:70%;height:12px;animation:1.4s ease-in-out infinite auto-shimmer;display:block}.auto-rows.is-loading li:nth-child(2n) .auto-skeleton{width:52%}@keyframes auto-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.auto-templates{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.auto-template{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);min-width:0;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);flex-direction:column;gap:6px;padding:18px;display:flex}.auto-template:hover{border-color:var(--dash);box-shadow:var(--paper-shadow)}.auto-template .eyebrow{color:var(--accent-ink);font-size:10.5px}.auto-template-title{font-family:var(--display);letter-spacing:-.015em;font-size:16px;font-weight:700;line-height:1.3}.auto-template-about{color:var(--muted);flex:1;margin:0;font-size:13px;line-height:1.55}.auto-needs{flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0;font-size:12px;display:flex}.auto-needs>span:first-child{color:var(--muted);margin-right:2px}.auto-template-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:12px;display:flex}.auto-template-foot .secondary-button{flex:none;min-height:34px;padding:0 14px;font-size:13px}.auto-ready{min-width:0;color:var(--ok);align-items:center;gap:5px;font-size:12px;line-height:1.4;display:inline-flex}.auto-ready .icon{stroke-width:2.4px;width:13px;height:13px}.auto-unready{color:var(--warn);font-size:12px}.auto-fresh{margin-bottom:40px}.auto-examples{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:0;list-style:none;display:grid}.auto-example{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);width:100%;height:100%;color:var(--ink);text-align:left;box-shadow:var(--paper-shadow);transition:transform .18s var(--ease-out), border-color .15s var(--ease-out);flex-direction:column;gap:8px;padding:20px;display:flex}.auto-example:hover:not(:disabled){border-color:var(--ink);transform:translateY(-2px)}.auto-example-when{font-family:var(--mono);color:var(--accent-ink);align-items:center;gap:7px;font-size:11.5px;display:inline-flex}.auto-example-when .icon{width:15px;height:15px}.auto-example strong{font-family:var(--display);letter-spacing:-.02em;font-size:17px;font-weight:700;line-height:1.3}.auto-example-who{color:var(--muted);margin-top:auto;padding-top:6px;font-size:12.5px}.primary-button.auto-big{border-radius:12px;min-height:48px;padding:0 22px;font-size:15px}.auto-big .icon{width:17px;height:17px}.auto-hint{background:var(--field-2);max-width:640px;color:var(--muted);border-radius:12px;align-items:flex-start;gap:10px;margin:8px 0 0;padding:14px 16px;font-size:13.5px;line-height:1.55;display:flex}.auto-hint .icon{width:17px;height:17px;color:var(--accent-ink);margin-top:1px}.auto-hint em{color:var(--ink)}.auto-editor{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"form side""danger side";align-items:start;gap:32px 40px;display:grid}.auto-form{flex-direction:column;grid-area:form;gap:32px;min-width:0;display:flex}.auto-side{flex-direction:column;grid-area:side;gap:14px;min-width:0;display:flex;position:sticky;top:24px}.agent-remove.auto-danger{grid-area:danger;max-width:none;margin-top:8px}.auto-danger-actions{flex-wrap:wrap;gap:10px;display:flex}.auto-field{min-width:0;margin:0}.auto-label{font-family:var(--body);letter-spacing:0;color:var(--ink);margin:0;font-size:14.5px;font-weight:650;line-height:1.4;display:block}.auto-help{color:var(--muted);margin:3px 0 12px;font-size:12.5px;line-height:1.5}.auto-help em{color:var(--ink)}.auto-field>.auto-help:last-child{margin:10px 0 0}.auto-field>.auto-text-button{margin-top:10px}.auto-field.is-row{border-top:1px solid var(--line);grid-template-columns:200px minmax(0,1fr);align-items:center;gap:24px;padding-top:22px;display:grid}.auto-field.is-row .auto-help{margin-bottom:0}.auto-field.is-row+.auto-field.is-row{border-top:0;padding-top:0}.auto-field.is-row>.settings-switch{justify-self:start}.auto-textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-height:96px;color:var(--ink);resize:none;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;padding:14px 16px;font-size:14.5px;line-height:1.6;display:block;overflow:hidden}.auto-textarea:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px #2423210f}.auto-textarea::placeholder{color:var(--muted);opacity:.8}.auto-textarea.is-small{min-height:72px;font-size:13.5px}.auto-input{border:1px solid var(--line);background:var(--paper);width:100%;min-height:40px;color:var(--ink);border-radius:9px;padding:0 12px;font-size:14px}.auto-input:focus{border-color:var(--ink);outline:none}.auto-suggestions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.auto-suggestions>span{color:var(--muted);margin-right:2px;font-size:11.5px}.auto-suggestion{border:1px solid var(--line);background:var(--surface);min-height:30px;color:var(--ink);border-radius:99px;padding:0 12px;font-size:12.5px}.auto-suggestion:hover{border-color:var(--ink)}.auto-segment{background:var(--field-2);border-radius:10px;flex-wrap:wrap;gap:2px;max-width:100%;padding:3px;display:inline-flex}.auto-segment-item{min-width:0;display:block;position:relative}.auto-segment-item input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.auto-segment-item span{min-height:34px;color:var(--muted);white-space:nowrap;transition:background .15s var(--ease-out), color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:7px;align-content:center;justify-items:center;padding:0 14px;font-size:13px;display:grid}.auto-segment-item span:after{content:attr(data-label);visibility:hidden;pointer-events:none;height:0;font-weight:600;overflow:hidden}.auto-segment-item input:hover+span{color:var(--ink)}.auto-segment-item input:checked+span{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px 2px #30251b14,0 0 0 1px #30251b0a}.auto-segment-item input:focus-visible+span{outline:2px solid var(--accent);outline-offset:1px}.auto-when{flex-direction:column;gap:12px;margin-top:14px;display:flex}.auto-when:empty{display:none}.auto-days-row{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.auto-days{gap:4px;display:flex}.auto-day{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--muted);transition:background .12s var(--ease-out), color .12s var(--ease-out), border-color .12s var(--ease-out);border-radius:9px;flex:none;padding:0;font-size:12.5px;font-weight:600}.auto-day:hover{border-color:var(--ink);color:var(--ink)}.auto-day[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:#fff}.auto-shortcuts{gap:14px;display:flex}.auto-times{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.auto-kl{color:var(--muted);font-size:13px}.auto-time{border:1px solid var(--line);background:var(--surface);border-radius:9px;align-items:center;display:inline-flex}.auto-time:focus-within{border-color:var(--ink)}.auto-time input{min-height:38px;color:var(--ink);font-family:var(--mono);background:0 0;border:0;border-radius:9px;padding:0 10px;font-size:14px}.auto-time input:focus-visible{outline:none}.auto-time-remove{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-right:4px;padding:0;display:grid}.auto-time-remove:hover{background:var(--field-2);color:var(--ink)}.auto-time-remove .icon{width:13px;height:13px}.auto-inline{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px;display:inline-flex}.auto-inline select,.auto-helper select{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--ink);border-radius:9px;padding:0 10px;font-size:14px}.auto-explain{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:12px;padding:16px;display:grid}.auto-explain p{color:var(--muted);margin:0;font-size:13.5px;line-height:1.6}.auto-explain strong{color:var(--ink)}.auto-explain .auto-toggle{border-top:1px solid var(--line);padding:12px 0 0}.auto-advanced{margin-top:12px}.auto-advanced summary{min-height:32px;color:var(--muted);cursor:pointer;border-radius:4px;align-items:center;gap:6px;font-size:13px;list-style:none;display:inline-flex}.auto-advanced summary::-webkit-details-marker{display:none}.auto-advanced summary:hover{color:var(--ink)}.auto-advanced summary .icon{stroke-width:2.4px;width:12px;height:12px;transition:transform .15s var(--ease-out)}.auto-advanced[open] summary .icon{transform:rotate(90deg)}.auto-check{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;margin-top:8px;padding:12px 14px;display:flex}.auto-check input{width:16px;height:16px;accent-color:var(--accent);flex:none;margin:3px 0 0}.auto-check span{gap:2px;display:grid}.auto-check strong{font-size:13.5px;font-weight:600}.auto-check small{color:var(--muted);font-size:12.5px;line-height:1.5}.auto-check.is-off{cursor:default}.auto-check.is-off strong{color:var(--muted)}.auto-hook{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:10px;margin-top:14px;padding:14px 16px;display:grid}.modal .auto-hook{margin-top:0}.auto-hook>input{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:40px;color:var(--ink);font-family:var(--mono);border-radius:9px;padding:0 12px;font-size:12.5px}.auto-hook-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.auto-hook-actions .auto-help,.auto-hook>.auto-help{margin:0}.auto-copy{gap:6px}.auto-copy .icon{width:14px;height:14px}.auto-problem-line{color:var(--warn);margin:0;font-size:12.5px}.auto-agents{flex-wrap:wrap;gap:8px;display:flex}.auto-agent{min-width:0;display:block;position:relative}.auto-agent>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.auto-agent-body{border:1px solid var(--line);background:var(--surface);min-height:48px;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;align-items:center;gap:10px;padding:6px 14px 6px 6px;display:flex}.auto-agent>input:hover+.auto-agent-body{border-color:var(--ink)}.auto-agent>input:checked+.auto-agent-body{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.auto-agent>input:focus-visible+.auto-agent-body{outline:3px solid var(--accent);outline-offset:2px}.auto-agent-name{font-size:13.5px;font-weight:600}.auto-agent-ready{background:var(--ok-field);width:18px;height:18px;color:var(--ok);border-radius:50%;flex:none;place-items:center;display:grid}.auto-agent-ready .icon{stroke-width:2.6px;width:11px;height:11px}.auto-tools{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0;font-size:12px;display:flex}.auto-notice{border:1px solid var(--warn-line);background:var(--warn-field);color:var(--warn);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:12px 0 0;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.auto-notice p{flex:220px;margin:0}.auto-notice .icon{flex:none;width:16px;height:16px}.auto-notice.is-calm{border-color:var(--line);background:var(--field-2);color:var(--muted)}.auto-helper{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:8px;margin-top:12px;padding:12px;display:grid}.auto-helper-top{align-items:center;gap:10px;display:flex}.auto-helper-top select{flex:1;min-width:0}.auto-helper .auto-tools{margin-top:0}.auto-pick{gap:8px;margin-top:12px;display:grid}.auto-helper .auto-pick{margin-top:0}.auto-pick-head{color:var(--muted);align-items:baseline;gap:8px;margin:0;font-size:12px;display:flex}.auto-pick-head small{font-variant-numeric:tabular-nums;font-size:12px}.auto-uses-list{flex-wrap:wrap;gap:6px;display:flex}.auto-use{border:1px solid var(--line);max-width:100%;min-height:32px;color:var(--muted);font:inherit;cursor:pointer;transition:border-color .15s var(--ease-out), background .15s var(--ease-out), color .15s var(--ease-out);background:0 0;border-radius:99px;align-items:center;gap:6px;padding:3px 8px 3px 4px;font-size:12.5px;line-height:1.3;display:inline-flex}.auto-use:hover{border-color:var(--ink);color:var(--ink)}.auto-use:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.auto-use .integration-logo,.auto-use .integration-glyph,.auto-use-skill{border-radius:6px;flex:none;width:22px;height:22px}.auto-use .integration-logo{padding:2px}.auto-use .integration-glyph{font-size:9px}.auto-use:not([aria-pressed=true]) .integration-logo,.auto-use:not([aria-pressed=true]) .integration-glyph,.auto-use:not([aria-pressed=true]) .auto-use-skill{opacity:.55;filter:grayscale()}.auto-use-skill{background:var(--field-3);color:var(--accent-ink);place-items:center;display:grid}.auto-use-skill .icon{width:13px;height:13px}.auto-use-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-use-mark{flex:none;place-items:center;width:14px;height:14px;display:grid}.auto-use-mark:empty{width:0}.auto-use-mark .icon{stroke-width:2.4px;width:13px;height:13px}.auto-use[aria-pressed=true]{border-color:var(--ink);background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.auto-use.is-more{border-style:dashed;border-color:var(--dash);padding:3px 12px}.auto-formats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.auto-format{min-width:0;display:block;position:relative}.auto-format>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.auto-format-body{border:1px solid var(--line);background:var(--surface);height:100%;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;flex-direction:column;gap:3px;padding:10px 10px 12px;display:flex}.auto-format>input:hover+.auto-format-body{border-color:var(--ink)}.auto-format>input:checked+.auto-format-body{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.auto-format>input:focus-visible+.auto-format-body{outline:3px solid var(--accent);outline-offset:2px}.auto-format-body strong{margin-top:8px;font-size:13px;font-weight:650;line-height:1.3}.auto-format-body small{color:var(--muted);font-size:11.5px;line-height:1.45}.auto-sketch{background:var(--paper);height:54px;box-shadow:inset 0 0 0 1px var(--line);border-radius:8px;gap:3px;padding:8px;display:grid}.auto-sketch i{background:var(--line);border-radius:2px;min-height:3px;display:block}.auto-format>input:checked+.auto-format-body .auto-sketch{background:var(--field-3);box-shadow:inset 0 0 0 1px #f4a58a}.auto-sketch[data-format=auto]{grid-template-rows:5px 4px 1fr;grid-template-columns:1fr 1fr}.auto-sketch[data-format=auto] i:first-child{background:var(--ink);opacity:.7;grid-column:1/-1;width:65%}.auto-sketch[data-format=auto] i:nth-child(2){grid-column:1/-1;width:85%}.auto-sketch[data-format=auto] i:nth-child(3){background:var(--accent);opacity:.75}.auto-sketch[data-format=auto] i:nth-child(4){background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.auto-sketch[data-format=text]{grid-template-rows:repeat(4,4px);align-content:center;gap:5px}.auto-sketch[data-format=text] i:nth-child(4){width:60%}.auto-sketch[data-format=report]{grid-template-rows:5px 1fr 5px;grid-template-columns:repeat(3,1fr)}.auto-sketch[data-format=report] i:first-child{background:var(--ink);opacity:.75;grid-column:1/-1;width:70%}.auto-sketch[data-format=report] i:nth-child(2),.auto-sketch[data-format=report] i:nth-child(3),.auto-sketch[data-format=report] i:nth-child(4){background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.auto-sketch[data-format=report] i:nth-child(5){background:var(--accent);opacity:.8;grid-column:1/3}.auto-sketch[data-format=report] i:nth-child(6){background:#f4a58a}.auto-sketch[data-format=table]{grid-template-rows:repeat(2,1fr);grid-template-columns:1.4fr 1fr 1fr;gap:2px}.auto-sketch[data-format=table] i{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:1px}.auto-sketch[data-format=table] i:nth-child(-n+3){background:var(--field-2)}.auto-sketch[data-format=creation]{grid-template-rows:5px 1fr 1fr;grid-template-columns:1fr 1fr}.auto-sketch[data-format=creation] i:first-child{background:var(--dash);grid-column:1/-1}.auto-sketch[data-format=creation] i:nth-child(2){background:var(--field-3);grid-row:2/4;box-shadow:inset 0 0 0 1px #f4a58a}.auto-sketch[data-format=creation] i:nth-child(3){background:var(--accent);opacity:.75}.auto-sketch[data-format=text] i:nth-child(n+5),.auto-sketch[data-format=creation] i:nth-child(n+5),.auto-sketch[data-format=auto] i:nth-child(n+5){display:none}.auto-style{gap:6px;margin-top:14px;font-size:13px;font-weight:600;display:grid}.auto-people{gap:10px;margin-top:12px;display:grid}.auto-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.auto-chip{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--ink);border-radius:99px;align-items:center;gap:4px;padding:0 4px 0 11px;font-size:13px;display:inline-flex;position:relative}.auto-chip small{color:var(--muted);font-size:12px}.auto-chip-hash{font-family:var(--mono);color:var(--accent-ink)}.auto-chip button{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.auto-chip button:hover{background:var(--field-2);color:var(--ink)}.auto-chip button .icon{width:12px;height:12px}.auto-chip.is-add{border-style:dashed;border-color:var(--dash);color:var(--muted);cursor:pointer;gap:6px;padding:0 12px 0 9px}.auto-chip.is-add:hover,.auto-chip.is-add:focus-within{border-color:var(--ink);color:var(--ink)}.auto-chip.is-add .icon{width:13px;height:13px}.auto-chip.is-add select{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;font-size:16px;position:absolute;inset:0}.auto-deliver{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.auto-toggle{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:14px 16px;display:flex}.auto-deliver .auto-toggle+.auto-toggle{border-top:1px solid var(--line)}.auto-toggle>div{flex:200px;min-width:0}.auto-toggle strong{font-size:13.5px;font-weight:600}.auto-toggle p{color:var(--muted);margin:2px 0 0;font-size:12.5px;line-height:1.5}.auto-toggle>.auto-chips,.auto-toggle>.auto-input{flex-basis:100%}.auto-toggle.is-fixed{justify-content:flex-start}.auto-toggle.is-off strong{color:var(--muted)}.auto-tick{background:var(--accent);width:20px;height:20px;color:var(--on-accent);border-radius:6px;flex:none;place-items:center;display:grid}.auto-tick .icon{stroke-width:3px;width:12px;height:12px}.auto-level{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.auto-understood{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);box-shadow:var(--paper-shadow);overflow:hidden}.auto-understood>header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 18px;display:flex}.auto-understood h3{font-family:var(--body);letter-spacing:0;margin:0;font-size:13.5px;font-weight:650}.auto-understood header p{color:var(--muted);margin:0;font-size:11.5px}.auto-understood .auto-face{border-radius:8px;width:28px;height:28px;font-size:12px}.auto-sentence{margin:0;padding:16px 18px;font-size:13.5px;line-height:1.6}.auto-sentence strong{font-weight:650}.auto-facts{margin:0;display:grid}.auto-facts>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.auto-facts dt{color:var(--muted);flex:none;font-size:12.5px}.auto-facts dd{text-align:right;overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px}.auto-facts.is-compact>div{padding:7px 0}.auto-facts>.is-stacked{flex-direction:column;align-items:flex-start;gap:4px}.auto-facts>.is-stacked dd{text-align:left}.auto-facts>.is-stacked .auto-cost{justify-content:flex-start}.auto-understood .auto-facts{border-top:1px solid var(--line);background:var(--paper);padding:4px 18px 6px}.auto-understood .auto-facts>div:first-child{border-top:0}.auto-uses{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:inline-flex}.auto-understood-note{background:var(--paper);color:var(--muted);margin:0;padding:0 18px 14px;font-size:12px;line-height:1.5}.auto-name{gap:6px;font-size:13.5px;font-weight:600;display:grid}.auto-name input{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);border-radius:10px;padding:0 14px;font-size:14px;font-weight:400}.auto-name input:focus{border-color:var(--ink);outline:none}.auto-problems{border:1px solid var(--warn-line);background:var(--warn-field);color:var(--warn);border-radius:10px;gap:6px;margin:0;padding:10px 12px;font-size:12.5px;line-height:1.45;list-style:none;display:grid}.auto-problems li,.auto-problems.is-single{gap:8px;display:flex}.auto-problems .icon{flex:none;width:14px;height:14px;margin-top:1px}.auto-actions{gap:8px;display:grid}.auto-actions .primary-button{border-radius:10px;min-height:46px}.auto-actions .secondary-button{border-radius:10px;min-height:44px}.auto-actions .auto-text-button{justify-self:center}.auto-unsaved{text-align:center;color:var(--accent-ink);margin:0;font-size:12.5px}.auto-fine{text-align:center;color:var(--muted);margin:0;font-size:12px;line-height:1.5}.auto-fine code{background:var(--field-2);color:var(--ink);border-radius:4px;padding:1px 5px;font-size:11.5px}.auto-title{font-family:var(--display)}.auto-pill{border:1px solid var(--line);color:var(--ok);white-space:nowrap;border-radius:99px;flex:none;align-items:center;gap:7px;padding:5px 11px;font-size:12px;font-weight:600;display:inline-flex}.auto-pill i{background:var(--ok-dot);border-radius:50%;width:6px;height:6px}.auto-pill.is-paused{color:var(--muted)}.auto-pill.is-paused i{background:var(--dash)}.auto-pill.is-running{color:var(--accent-ink)}.auto-pill.is-running i{background:var(--accent);animation:1.2s infinite haien-pulse}.auto-pill.is-failed{border-color:var(--warn-line);background:var(--warn-field);color:var(--warn)}.auto-pill.is-failed i{background:var(--warn-dot)}.auto-pill-inline{display:none}.auto-heading-actions{flex:none;align-items:center;gap:8px;display:flex}.line-button.auto-act{gap:6px;font-weight:600}.auto-act .icon{width:13px;height:13px}.channel-heading:has(.auto-note){flex-wrap:wrap}.auto-note{background:var(--warn-field);color:var(--warn);border-radius:10px;flex-basis:100%;align-items:center;gap:8px;margin:0;padding:9px 12px;font-size:12.5px;line-height:1.5;display:flex}.auto-note .icon{flex:none;width:15px;height:15px}.auto-more{flex:none;position:relative}.shell-icon-button.auto-more-toggle{width:34px;height:34px}.auto-more-toggle[aria-expanded=true]{background:var(--field-2);color:var(--ink)}.auto-more-scrim{display:none}.auto-more-menu{z-index:30;border:1px solid var(--line);background:var(--surface);min-width:240px;box-shadow:var(--paper-shadow);animation:auto-pop .14s var(--ease-out);border-radius:12px;flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.auto-more-menu .sheet-grip{display:none}.auto-more-menu button{min-height:38px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:13.5px;display:flex}.auto-more-menu button:hover{background:var(--field-2)}.auto-more-menu button .icon{width:16px;height:16px;color:var(--muted)}.auto-more-menu button span{flex:1}.auto-more-menu small{color:var(--muted);font-size:12px}.auto-more-menu .is-danger,.auto-more-menu .is-danger .icon{color:var(--accent-ink)}.auto-more-menu .is-narrow{display:none}@keyframes auto-pop{0%{opacity:0;transform:translateY(-4px)}}.auto-above{padding:0 var(--gutter);flex:none;gap:8px;display:grid}.auto-proposal{border:1px solid var(--accent);border-radius:var(--corner);background:var(--surface);max-width:760px;box-shadow:var(--paper-shadow);animation:haien-rise .2s var(--ease-out) both;gap:10px;padding:14px 16px;display:grid}.auto-proposal-head{align-items:flex-start;gap:10px;display:flex}.auto-proposal-head p{gap:2px;margin:0;font-size:13.5px;display:grid}.auto-proposal-head span{color:var(--muted);font-size:12.5px}.auto-proposal .auto-help{margin:0}.auto-changes{gap:4px;margin:0;padding-left:20px;font-size:13px;line-height:1.5;display:grid}.auto-changes li::marker{color:var(--accent)}.auto-proposal-actions,.auto-offer-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.auto-hints{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.auto-hints-away{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.auto-hints-away:hover{background:var(--field-2);color:var(--ink)}.auto-hints-away .icon{width:13px;height:13px}.auto-meta{min-height:0;padding:28px var(--gutter);flex:1;overflow-y:auto}.auto-meta .auto-facts{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);max-width:560px;padding:4px 18px}.auto-meta .auto-facts>div:first-child{border-top:0}.auto-meta .settings-note{align-items:center;gap:8px;margin-top:16px;display:flex}.auto-meta .settings-note .icon{width:14px;height:14px}.auto-gone{padding:0 var(--gutter) 40px}.auto-history{margin:0;padding:0;list-style:none;display:grid}.auto-history li{border-top:1px solid var(--line);gap:2px;padding:10px 0;font-size:13.5px;display:grid}.auto-history li:first-child{border-top:0}.auto-history small{color:var(--muted);font-size:12px}.auto-history-start{margin:12px 0 0}.auto-usage{gap:12px;display:grid}.auto-usage>.auto-cost{justify-content:flex-start;font-size:14px}.auto-share{gap:6px;max-height:320px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.auto-share-item{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--ink);text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:14px;display:flex}.auto-share-item:hover:not(:disabled){border-color:var(--ink)}.auto-share-item small{color:var(--muted);font-size:12px}.auto-remove-confirm{margin-top:4px}.auto-run{max-width:760px;margin-top:10px}.auto-run.is-working{margin-top:0}.auto-run>.auto-run-quiet{margin:0 0 8px}.auto-report{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);box-shadow:var(--paper-shadow);overflow:hidden}.auto-report:focus{outline:none}.auto-report:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.auto-report-head{border-bottom:1px solid var(--line);background:var(--paper);padding:22px 24px 20px}.auto-report-top{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.auto-report-title{min-width:0}.auto-report .auto-report-title .rich-text{font-family:var(--display);letter-spacing:-.025em;text-wrap:balance;margin:0;font-size:1.45rem;font-weight:700;line-height:1.2}.auto-report-title .rich-text p{max-width:none;margin:0}.auto-report-title em,.auto-report-title strong{font-style:normal;font-weight:inherit;color:var(--accent-ink)}.auto-report-number{font-family:var(--mono);color:var(--muted);flex:none;margin-top:6px;font-size:11px}.auto-report .rich-text.auto-report-lead{max-width:64ch;margin-top:12px;font-size:14px;line-height:1.6}.auto-report-body{padding:18px 24px 20px}.chat-line .auto-report-body .rich-text{margin-top:0;font-size:14px}.auto-report .chart,.auto-report .chart.is-kpi{max-width:none}.auto-report-body>.rich-text>.chart.is-kpi:first-child:not(:has(.chart-head)){margin:-18px -24px 18px}.auto-report-body>.rich-text>.chart.is-kpi:first-child:not(:has(.chart-head)) .kpi-row{border-width:0 0 1px;border-radius:0}.auto-report-files{padding:0 24px 16px}.auto-report-foot{border-top:1px solid var(--line);background:var(--paper);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 24px;display:flex}.auto-sources{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.auto-sources>span:first-child{color:var(--muted);margin-right:2px;font-size:11.5px}.auto-report-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.auto-report-actions .line-button{gap:6px}.auto-report-actions .line-button:not(.is-primary):not(.is-quiet){background:var(--surface)}.auto-report-actions .icon{width:14px;height:14px}.auto-run-row{border:1px solid var(--line);background:var(--surface);width:100%;max-width:760px;color:var(--ink);text-align:left;transition:border-color .15s var(--ease-out);border-radius:12px;align-items:center;gap:14px;margin-top:8px;padding:12px 16px;font-size:13.5px;display:flex}.auto-run-row:hover{border-color:var(--ink)}.auto-run-row strong{flex:none;font-weight:600}.auto-run-row>span:nth-child(2){min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.auto-run-open{color:var(--accent-ink);flex:none;font-size:12.5px;font-weight:600}.auto-run-quiet{color:var(--muted);align-items:center;gap:8px;margin:4px 0 0;font-size:13px;display:flex}.auto-run-quiet .icon{width:14px;height:14px}.auto-run-failed{border:1px solid var(--warn-line);background:var(--warn-field);max-width:760px;color:var(--warn);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:8px;padding:10px 12px;font-size:13px;line-height:1.5;display:flex}.auto-run-failed p{flex:200px;margin:0}.auto-run-failed .icon{flex:none;width:16px;height:16px}.auto-offer{border:1px solid var(--accent);border-radius:var(--corner);background:var(--surface);box-shadow:var(--paper-shadow);animation:haien-rise .2s var(--ease-out) both;gap:12px;margin-top:20px;padding:16px 18px;display:grid}.auto-offer-head{align-items:center;gap:12px;display:flex}.auto-offer-head .eyebrow{color:var(--accent-ink);font-size:10.5px}.auto-offer-name{font-family:var(--display);letter-spacing:-.02em;overflow-wrap:anywhere;font-size:17px;font-weight:700;line-height:1.3;display:block}.auto-offer .auto-facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.auto-offer-text{gap:4px;display:grid}.auto-offer-text p{white-space:pre-line;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13.5px;line-height:1.55;display:-webkit-box;overflow:hidden}.auto-offer-text.is-open p{display:block}.auto-offer-text .auto-text-button{justify-self:start}.auto-offer-actions .primary-button,.auto-offer-actions .secondary-button{min-height:40px}.auto-offer.is-saved{border-color:var(--ok-line);background:var(--ok-field);box-shadow:none;flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auto-offer.is-saved p{flex:1;margin:0;font-size:13.5px}.auto-offer.is-saved .auto-tick{background:var(--ok-dot);color:#fff}.auto-schedule .icon{stroke-width:1.8px;width:13px;height:13px}.auto-print-sheet{display:none}@media print{html.auto-printing,html.auto-printing body{background:#fff;height:auto;overflow:visible}html.auto-printing #root{display:none}html.auto-printing .auto-print-sheet{display:block}.auto-print-head{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;font-size:10.5px}.auto-print-sheet .auto-report{box-shadow:none;border:0;border-radius:0;overflow:visible}.auto-print-sheet .auto-report-actions{display:none}.auto-print-sheet .auto-report-head,.auto-print-sheet .auto-report-foot,.auto-print-sheet .kpi-row{-webkit-print-color-adjust:exact;print-color-adjust:exact}.auto-print-sheet .rt-table{width:auto;overflow:visible}.auto-print-sheet .rt-table,.auto-print-sheet .chart,.auto-print-sheet .rt-figure{break-inside:avoid}}@media (width<=1100px){.auto-formats{grid-template-columns:repeat(3,minmax(0,1fr))}.auto-editor{grid-template-columns:minmax(0,1fr) 300px;gap:32px}}@media (width<=900px){.auto-page{padding:24px 16px 48px}.auto-head{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:24px}.auto-head h2{font-size:1.8rem}.auto-overview{grid-template-columns:minmax(0,1fr);gap:0}.auto-examples{grid-template-columns:minmax(0,1fr)}.primary-button.auto-big{width:100%}.auto-editor{grid-template-columns:minmax(0,1fr);grid-template-areas:"form""side""danger";gap:28px}.auto-side{position:static}.auto-field.is-row{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}.auto-field.is-row>.auto-level{grid-column:1/-1}.auto-formats{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-segment.is-kinds{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.auto-segment.is-kinds .auto-segment-item span{padding:0 6px}.auto-textarea,.auto-input,.auto-name input,.auto-time input,.auto-inline select,.auto-helper select,.auto-hook>input{font-size:16px}.auto-row-time{width:84px}.auto-proposal{gap:8px;padding:10px 12px}.auto-proposal-head span{display:none}.auto-proposal-head p{align-self:center}.channel-heading .auto-glyph,.auto-pill,.line-button.auto-act.is-wide{display:none}.auto-pill-inline{color:var(--ok);font-weight:600;display:inline}.auto-pill-inline.is-paused{color:var(--muted)}.auto-pill-inline.is-running{color:var(--accent-ink)}.auto-pill-inline.is-failed{color:var(--warn)}.auto-heading-actions{gap:2px}.auto-more-menu .is-narrow{display:flex}.auto-more-scrim{z-index:74;height:var(--app-height,100dvh);animation:sheet-fade .2s var(--ease-out);background:#2423214d;display:block;position:fixed;inset:0 0 auto}.auto-more-menu{z-index:75;min-width:0;padding:8px 12px max(12px, env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;animation:.32s cubic-bezier(.16,1,.3,1) sheet-rise;position:fixed;inset:auto 0 0;box-shadow:0 -12px 40px -16px #30251b52}.auto-more-menu .sheet-grip{display:block}.auto-more-menu button{gap:14px;min-height:52px;padding:0 12px;font-size:16px}.auto-more-menu button .icon{width:21px;height:21px}.auto-report-head{padding:18px 16px 16px}.auto-report-body{padding:14px 16px 16px}.auto-report-body>.rich-text>.chart.is-kpi:first-child:not(:has(.chart-head)){margin:-14px -16px 14px}.auto-report-files{padding:0 16px 14px}.auto-report-foot{padding:12px 16px}.auto-report-actions{margin-left:0}.auto-report .auto-report-title .rich-text{font-size:1.25rem}.auto-report .rich-text.auto-report-lead,.chat-line .auto-report-body .rich-text{font-size:15px}}@media (width<=560px){.agent-choices.auto-audience,.auto-offer .auto-facts{grid-template-columns:minmax(0,1fr)}.auto-act span{display:none}.line-button.auto-act{width:40px;padding:0}.auto-act .icon{width:15px;height:15px}}@media (pointer:coarse){.auto-new,.auto-fold,.auto-text-button,.auto-advanced summary,.settings-back.auto-back{min-height:44px}.auto-day{width:44px;height:44px}.auto-days{gap:3px}.auto-segment-item span{min-height:44px}.auto-suggestion{min-height:44px;padding:0 14px}.auto-chip{min-height:44px;padding-right:0}.auto-chip button{width:44px;height:44px}.auto-chip.is-add{padding-right:14px}.auto-use{min-height:44px;padding-right:12px}.auto-time input,.auto-inline select,.auto-helper select,.auto-input,.auto-hook>input,.auto-name input{min-height:44px}.auto-time-remove{width:44px;height:44px;margin-right:0}.auto-agent-body{min-height:52px}.shell-icon-button.auto-more-toggle,.auto-helper .shell-icon-button{width:44px;height:44px}.auto-more-menu button{min-height:48px}.line-button.auto-act{min-height:44px}.auto-row{min-height:60px}.auto-run-row{min-height:52px}.auto-hints-away{width:44px;height:44px}.auto-share-item{min-height:52px}.auto-template-foot .secondary-button,.auto-offer-actions .primary-button,.auto-offer-actions .secondary-button,.auto-report-actions .line-button,.auto-run-failed .line-button,.auto-proposal-actions .line-button,.auto-hook-actions .line-button{min-height:44px}.msg-copy.auto-schedule{min-height:44px;margin-block:-8px;padding:0 10px}.auto-page .settings-switch{width:52px;height:32px;position:relative}.auto-page .settings-switch:after{content:"";position:absolute;inset:-6px}.auto-page .settings-switch span{width:28px;height:28px}.auto-page .settings-switch[aria-checked=true] span{transform:translate(20px)}}@media (width<=560px) and (pointer:coarse){.line-button.auto-act{width:44px;padding:0}}@media (prefers-reduced-motion:reduce){.auto-mark[data-mark=running]:before,.auto-pill.is-running i,.auto-skeleton,.auto-more-menu,.auto-more-scrim,.auto-proposal,.auto-offer{animation:none}.auto-new,.auto-fold .icon,.auto-row,.auto-template,.auto-example,.auto-textarea,.auto-segment-item span,.auto-day,.auto-advanced summary .icon,.auto-agent-body,.auto-format-body,.auto-run-row,.auto-use{transition:none}.auto-example:hover:not(:disabled){transform:none}}.creations{flex:1;min-height:0;padding:32px clamp(16px,4vw,48px) 48px;overflow-y:auto}.creations-head{max-width:760px;margin-bottom:24px}.creations-head h2{margin:4px 0 8px;font-size:clamp(22px,3vw,28px)}.creations-head p:last-child{color:var(--muted);margin:0}.creations-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.creation{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 2px #30251b0a}.creation:hover{border-color:var(--dash)}.creation-window{cursor:pointer;text-align:left;background:0 0;border:0;padding:0;display:block}.creation-window .built-card-chrome{border-bottom:1px solid var(--line)}.creation-face{background:linear-gradient(135deg, var(--field-3), var(--surface) 75%);height:120px;color:var(--accent-ink);place-items:center;display:grid}.creation-window:hover .creation-face{background:linear-gradient(135deg, var(--field), var(--surface) 80%)}.creation-face .icon{width:34px;height:34px}.creation-text{flex-direction:column;flex:1;gap:3px;padding:14px 14px 4px;line-height:1.35;display:flex}.creation-text strong{font-family:var(--display);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650;overflow:hidden}.creation-text small{color:var(--muted);font-size:12px}.creation-kept{font-size:11.5px!important}.creation-actions{align-items:center;gap:6px;padding:10px 12px 12px;display:flex}.creation-actions .built-card-primary{border-radius:8px;min-height:36px;padding:0 16px;font-size:13px;font-weight:600}.creation-icon{border:1px solid var(--line);width:36px;height:36px;color:var(--ink);background:0 0;border-radius:8px;place-items:center;display:grid}.creation-icon:hover{border-color:var(--ink)}.creation-icon .icon{width:16px;height:16px}.creation-actions .creation-icon:last-child,.creation-confirm{margin-left:auto}.creation-confirm{gap:6px;display:flex}.creation-remove,.creation-cancel{border-radius:8px;min-height:36px;padding:0 12px;font-size:12.5px;font-weight:600}.creation-remove{background:var(--accent-ink);color:#fff;border:0}.creation-cancel{border:1px solid var(--line);color:var(--ink);background:0 0}.creation-problem{color:var(--accent-ink);margin:0;padding:0 14px 12px;font-size:12.5px}.creations-empty{border:1px dashed var(--dash);border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;max-width:520px;padding:28px;display:flex}.creations-empty .creation-face{border-radius:14px;width:64px;height:64px}.creations-empty .creation-face .icon{width:26px;height:26px}.creations-empty h3{margin:8px 0 0;font-size:18px}.creations-empty p{color:var(--muted);margin:0}.creations-ideas{flex-direction:column;gap:8px;width:100%;margin-top:8px;display:flex}.creations-ideas button{border:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:left;border-radius:10px;padding:10px 14px;font-size:13px}.creations-ideas button:hover{border-color:var(--ink)}.built-card-state em{color:var(--muted);font-style:normal}.built-card-icon{justify-content:center;width:36px;margin-left:auto;padding:0!important}.built-card.is-gone{color:var(--muted);border-style:dashed;align-items:center;gap:12px;padding:12px 14px;display:flex}.built-card.is-gone .built-card-mark{width:36px;height:36px;box-shadow:none;background:var(--field-2);color:var(--muted)}@media (width<=700px){.creations{padding:20px 16px 32px}.creations-list{grid-template-columns:1fr}.creation-face{height:96px}}.files-view{flex:1;min-height:0;padding:32px clamp(16px,4vw,48px) 48px;overflow-y:auto}.files-view>*{max-width:920px}.files-head{margin-bottom:20px}.files-head h2{margin:4px 0 8px;font-size:clamp(22px,3vw,28px)}.files-head p:last-child{color:var(--muted);margin:0}.files-search{border:1px solid var(--line);background:var(--paper);height:44px;color:var(--muted);border-radius:10px;align-items:center;gap:10px;padding:0 14px;display:flex}.files-search:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px var(--field-2)}.files-search .icon{flex:none;width:17px;height:17px}.files-search input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:0;font-size:15px}.files-filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:14px 0 12px;display:flex}.files-who{flex-wrap:wrap;gap:6px;display:flex}.files-who button{border:1px solid var(--line);background:var(--surface);height:32px;color:var(--ink);border-radius:8px;padding:0 13px;font-size:13px;font-weight:550}.files-who button:hover{border-color:var(--ink)}.files-who button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--paper)}.files-kind select{border:1px solid var(--line);background:var(--surface);height:32px;color:var(--ink);border-radius:8px;padding:0 30px 0 12px;font-size:13px}.files-list{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0;padding:0;list-style:none;overflow:hidden}.file-row{align-items:center;gap:4px;padding-right:10px;display:flex;position:relative}.file-row+.file-row{border-top:1px solid var(--line)}.file-row:hover{background:var(--paper)}.file-row-main{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:14px;padding:12px 6px 12px 14px;display:flex}.file-row-text{flex-direction:column;gap:2px;min-width:0;line-height:1.35;display:flex}.file-row-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:650;overflow:hidden}.file-row-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.file-row-actions{flex:none;gap:2px;display:flex}.file-action{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.file-action:hover{background:var(--field-2);color:var(--ink)}.file-action .icon{width:17px;height:17px}.file-action.is-ask{color:var(--accent-ink)}@media (hover:hover){.file-row-actions{opacity:0;transition:opacity .12s var(--ease-out)}.file-row:hover .file-row-actions,.file-row:focus-within .file-row-actions{opacity:1}}.file-tile{background:var(--field-2);width:42px;height:42px;color:var(--muted);font-family:var(--display);letter-spacing:-.02em;border-radius:10px;flex:none;place-items:center;font-size:17px;font-weight:750;display:grid;overflow:hidden}.file-tile .icon{width:19px;height:19px}.file-tile[data-kind=kalkylark]{color:#fff;background:#1f7a4d}.file-tile[data-kind=dokument]{color:#fff;background:#2b5ea7}.file-tile[data-kind=presentationer]{color:#fff;background:#c4501b}.file-tile[data-kind=pdf]{color:#fff;letter-spacing:.02em;background:#c8333b;font-size:11.5px}.file-tile[data-kind=media]{color:#4f4580;background:#e6e3f1}.file-tile-end{font-family:var(--mono);letter-spacing:.02em;font-size:10.5px;font-weight:650}.file-tile.is-picture{background:var(--field-2)}.file-tile.is-picture img{object-fit:cover;width:100%;height:100%}.files-more{margin-top:14px}.files-empty{border:1px dashed var(--dash);border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;padding:28px;display:flex}.files-empty .file-tile{background:var(--field-3);width:56px;height:56px;color:var(--accent-ink);border-radius:14px}.files-empty .file-tile .icon{width:24px;height:24px}.files-empty h3{margin:8px 0 0;font-size:18px}.files-empty p{max-width:520px;color:var(--muted);margin:0}@media (width<=900px){.files-view{padding:20px 16px 32px}.files-head h2{font-size:22px}.file-row{padding-right:4px}.file-row-main{gap:12px;padding-left:12px}.file-row-actions a.file-action{display:none}}@media (pointer:coarse){.file-action{width:44px;height:44px}.files-who button,.files-kind select{height:40px}}.app-topbar{background:var(--field);border-bottom:1px solid var(--line);flex:none;grid-template-columns:68px minmax(0,1fr) 68px;align-items:center;height:46px;padding:0 12px 0 0;display:grid}.app-topbar .top-search{grid-column:2;justify-self:center;width:min(640px,100%)}.top-search{position:relative}.top-search-field{height:32px;color:var(--muted);transition:background .15s var(--ease-out), box-shadow .15s var(--ease-out);background:#ffffffa6;border:1px solid #30251b1f;border-radius:9px;align-items:center;gap:9px;padding:0 10px 0 12px;display:flex}.top-search-field:hover{background:#ffffffd9}.top-search-field:focus-within,.top-search-field.is-open{background:var(--surface);border-color:var(--ink);box-shadow:0 0 0 3px #30251b14}.top-search-field .icon{flex:none;width:15px;height:15px}.top-search-field input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:0;font-size:13.5px}.top-search-field input::placeholder{color:var(--muted)}.top-search-field input::-webkit-search-cancel-button{display:none}.top-search kbd,.top-search-menu kbd{border:1px solid var(--line);background:var(--paper);color:var(--muted);font-family:var(--mono);border-radius:5px;flex:none;padding:1px 6px;font-size:10.5px}.top-search-menu{z-index:90;border:1px solid var(--line);background:var(--surface);max-height:min(520px,100dvh - 80px);box-shadow:var(--paper-shadow);scrollbar-width:thin;animation:top-search-in .14s var(--ease-out);border-radius:12px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}@keyframes top-search-in{0%{opacity:0;transform:translateY(-4px)}}.top-search-menu ul{margin:0;padding:0;list-style:none}.top-search-group{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:10px 10px 4px;font-size:10.5px;font-weight:650}.top-search-menu button,.search-places button{width:100%;min-height:42px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:6px 10px;display:flex}.top-search-menu [aria-selected=true]>button{background:var(--field-2)}.top-search-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.top-search-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.top-search-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.top-search-badge{background:var(--field-2);min-width:20px;color:var(--ink);text-align:center;border-radius:99px;flex:none;padding:1px 6px;font-size:11px;font-weight:700}.top-search-badge.is-mention{background:var(--accent);color:var(--on-accent)}.search-face{background:var(--field-2);width:28px;height:28px;color:var(--muted);border-radius:8px;flex:none;place-items:center;font-size:13px;font-weight:650;display:grid;overflow:hidden}.search-face .icon{width:14px;height:14px}.search-face.is-person{border-radius:50%;font-size:10px}.search-face.is-all{background:var(--ink);color:var(--paper)}.top-search-menu .file-tile{border-radius:8px;width:28px;height:28px;font-size:12px}.top-search-menu .file-tile[data-kind=pdf]{font-size:8px}.search-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;gap:4px;max-width:760px;margin:16px 0 0;display:flex;overflow-x:auto}.search-tabs button{height:38px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:7px;margin-bottom:-1px;padding:0 12px;font-size:13.5px;font-weight:600;display:flex}.search-tabs button:hover{color:var(--ink)}.search-tabs button[aria-selected=true]{border-bottom-color:var(--ink);color:var(--ink)}.search-count{background:var(--field-2);text-align:center;border-radius:99px;min-width:20px;padding:1px 6px;font-size:11px;font-weight:650}.search-hint{max-width:560px;color:var(--muted);margin:18px 0 0;line-height:1.55}.search-files{max-width:760px;margin-top:18px}.search-places{gap:4px;max-width:760px;margin:18px 0 0;padding:0;list-style:none;display:grid}.search-places button{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-height:52px;padding:8px 12px}.search-places button:hover{border-color:var(--ink)}.search-places button>.icon{width:15px;height:15px;color:var(--muted)}.search-places .search-face{width:34px;height:34px}@media (width<=900px){.app-topbar{display:none}}@media (prefers-reduced-motion:reduce){.top-search-menu{animation:none}}.memory-part{max-width:760px;margin:0 0 48px}.memory-part-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px 14px;padding-bottom:12px;display:flex}.memory-part-head h3{margin:0;font-size:20px;font-weight:700}.memory-badge{background:var(--field-3);color:var(--accent-ink);border-radius:99px;align-items:center;gap:6px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.memory-badge .icon{width:13px;height:13px}.memory-title{font-family:var(--display);letter-spacing:-.01em;margin:28px 0 8px;font-size:15px;font-weight:700}.memory .settings-note{max-width:640px}.memory-rows{margin-bottom:12px}.memory-row{align-items:flex-start}.memory-row .secondary-button{flex:none;min-height:34px;padding:0 14px;font-size:13px}.memory-text{overflow-wrap:anywhere;line-height:1.55}.memory-more{margin:0 0 16px}.memory-new{flex-wrap:wrap;gap:8px;max-width:760px;display:flex}.memory-new label{flex:260px;min-width:0;display:flex}.memory-new input{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--ink);border-radius:10px;padding:8px 12px;font-size:14px}.memory-new input:focus-visible{outline:2px solid var(--ink);outline-offset:-1px}.memory-new button{border-radius:10px;min-height:42px;padding:0 18px}.memory-name{margin:0;font-size:14.5px;font-weight:400}.memory-about .agent-field textarea{min-height:76px}.memory-profile{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:0;margin:0 0 12px;display:grid;overflow:hidden}.memory-profile>div{grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:16px;padding:12px 20px;display:grid}.memory-profile>div+div{border-top:1px solid var(--line)}.memory-profile dt{color:var(--muted);font-size:12.5px;line-height:1.55}.memory-profile dd{overflow-wrap:anywhere;white-space:pre-line;margin:0;line-height:1.55}.memory-team{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.memory-team li{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-direction:column;gap:1px;padding:8px 12px;display:flex}.memory-team strong{font-size:13.5px;font-weight:600}.memory-team span{color:var(--muted);font-size:12px}.memory-danger{border:1px solid var(--warn-line);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:24px;margin-top:32px;padding:18px 20px;display:flex}.memory-danger strong{font-weight:600}.memory-danger p{max-width:520px;color:var(--muted);margin:4px 0 0;font-size:12.5px;line-height:1.6}.memory-danger .secondary-button{flex:none}@media (width<=600px){.memory-row{flex-wrap:wrap}.memory-row .secondary-button,.memory-danger .secondary-button,.memory-more{min-height:44px}.memory-new input{min-height:44px;font-size:16px}.memory-new button{flex:1;min-height:44px}.memory-profile>div{grid-template-columns:minmax(0,1fr);gap:2px;padding:12px 16px}.memory-danger{flex-direction:column;gap:14px}.memory-danger .secondary-button{width:100%}}@media (width<=900px){.memory-about .agent-field input,.memory-about .agent-field textarea{font-size:16px}}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/manrope.woff2)format("woff2")}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/geist.woff2)format("woff2")}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/geist-mono.woff2)format("woff2")}@font-face{font-family:Instrument Serif;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/instrument-serif.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#242321;--muted:#625e57;--paper:#faf8f5;--surface:#fff;--accent:#f05324;--accent-ink:#a83b1d;--on-accent:#251910;--field:#f9e4d5;--field-2:#f2eee7;--field-3:#ffede0;--line:#ddd5cb;--dash:#b8b0a5;--avatar:#d9d2c7;--tint-0:#d9d2c7;--tint-1:#cfd8cf;--tint-2:#e3d3c0;--tint-3:#d8d3e2;--tint-4:#ead0c6;--tint-5:#cddcde;--ok:#2f7a4b;--ok-dot:#3f9a5f;--ok-field:#eef6ef;--ok-line:#cfe3d3;--warn:#94591a;--warn-dot:#e0a12f;--warn-field:#fdf3e2;--warn-line:#ecd6ae;--corner:14px;--paper-shadow:0 2px 3px #30251b06, 0 12px 28px #30251b08, 0 32px 65px -26px #30251b26;--ease-out:cubic-bezier(0, 0, .2, 1);--display:Manrope, "Helvetica Neue", Arial, sans-serif;--body:Geist, "Helvetica Neue", Arial, sans-serif;--mono:"Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;--sage:var(--field-2);--text:var(--ink);--text-muted:var(--muted);--border:var(--line);--color-accent:var(--accent)}body{background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}h1,h2,h3{font-family:var(--display);letter-spacing:-.02em;font-weight:600}code,kbd,samp,pre{font-family:var(--mono)}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}html,body{overscroll-behavior:none}body{-webkit-tap-highlight-color:transparent}button,a,summary,label{touch-action:manipulation}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.icon{flex:none;width:18px;height:18px}.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}.mono{font-family:var(--mono);font-size:12px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;font-size:11px;font-weight:600;line-height:1.6}.primary-button{border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:38px;padding:0 16px;font-weight:600;display:inline-flex}.primary-button:hover:not(:disabled){background:#35312e}.login,.session-loading{place-items:center;height:100%;padding:16px;display:grid}.login form{background:var(--surface);border:1px solid var(--line);border-radius:var(--corner);width:min(360px,100%);box-shadow:var(--paper-shadow);gap:14px;padding:32px;display:grid}.login h1{margin:0 0 8px;font-size:28px}.login p{margin:0}.login a{color:var(--accent-ink)}.session-loading{color:var(--muted);align-content:center;gap:14px}.session-loading p{margin:0}.frame{height:var(--app-height,100dvh);flex-direction:column;display:flex}.frame>.app-shell{flex:1;min-height:0}.superadmin{background:var(--ink);color:var(--paper);text-align:center;flex:none;margin:0;padding:8px 16px;font-size:13px}.settings-workspace{flex:1;max-width:976px;min-height:0;padding:40px 48px 60px;font-size:14px;overflow-y:auto}.settings-workspace h2,.settings-workspace h3{font-family:var(--display);letter-spacing:-.02em}.settings-page-head{margin-bottom:32px}.settings-page-head>.eyebrow{margin:0 0 14px}.settings-page-head>div{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:end;gap:40px;display:grid}.settings-page-head h2{letter-spacing:-.03em;text-wrap:balance;margin:0;font-size:clamp(1.7rem,2.4vw,2.2rem);font-weight:700;line-height:1.15}.settings-page-head p{color:var(--muted);margin:0;font-size:14.5px;line-height:1.65}.settings-group-label{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-size:11px;font-weight:600;line-height:1.6}.settings-message{border:1px solid var(--ok-line);background:var(--ok-field);color:var(--ok);overflow-wrap:anywhere;border-radius:10px;margin:0 0 20px;padding:12px 16px;font-size:13px;line-height:1.6}.settings-message p{margin:0}.settings-message-error{border-color:var(--warn-line);background:var(--warn-field);color:var(--warn)}.settings-rows{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0 0 28px;padding:0;list-style:none;overflow:hidden}.settings-row{align-items:center;gap:16px;min-width:0;padding:14px 20px;display:flex}.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row.is-pending .settings-row-text strong{color:var(--muted);font-weight:500}.settings-row-glyph{background:var(--field-3);width:40px;height:40px;color:var(--accent-ink);font-family:var(--mono);border-radius:10px;flex:none;place-items:center;font-size:13px;font-weight:600;line-height:1;display:grid}.settings-row-avatar{background:var(--avatar);color:var(--ink);font-family:var(--body);border-radius:50%;font-size:12px}.settings-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-row-text strong{overflow-wrap:anywhere;font-weight:600}.settings-row-text small{color:var(--muted);overflow-wrap:anywhere;font-size:12.5px;line-height:1.5}.settings-row-meta{max-width:38%;color:var(--muted);text-align:right;flex:none;font-size:11.5px;line-height:1.5}.you{font-family:var(--mono);color:var(--muted);margin-left:8px;font-size:11px;font-weight:400}.row-actions{text-align:right;white-space:nowrap;flex:none;min-width:72px}.row-actions button{border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:6px 12px;font-size:12.5px}.row-actions button+button{margin-left:8px}.settings-workspace .link{color:var(--accent-ink);background:0 0;border:0;padding:0;font-size:12.5px;text-decoration:underline}.settings-workspace .destroy{background:var(--accent-ink);color:#fff;border:0;font-weight:600}.invite{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;padding:20px;display:grid}.invite h3{grid-column:1/-1;margin:0;font-size:16px}.invite label{color:var(--muted);gap:6px;font-size:12.5px;display:grid}.invite input,.invite select{border:1px solid var(--line);background:var(--paper);min-height:38px;color:var(--ink);border-radius:8px;padding:8px 11px}@media (width<=900px){.settings-workspace{padding:24px 16px 40px}.settings-page-head>div{grid-template-columns:minmax(0,1fr);gap:12px}.settings-row{flex-wrap:wrap;padding:14px 16px}.settings-row-meta{text-align:left;max-width:none}.invite{grid-template-columns:1fr}.invite input,.invite select{font-size:16px}}.company-form{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:16px;padding:24px;display:grid}.company-form label{color:var(--muted);gap:6px;font-size:12.5px;display:grid}.company-form input,.company-form textarea{border:1px solid var(--line);background:var(--paper);color:var(--ink);resize:vertical;border-radius:8px;padding:9px 11px;font-size:14px;line-height:1.5}.company-form input[readonly],.company-form textarea[readonly]{background:var(--surface);resize:none;border-color:#0000;padding-inline:0}.company-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.hint{color:var(--muted);font-size:12.5px}.chat-empty-actions{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}@media (width<=900px){.company-form input,.company-form textarea{font-size:16px}}.app-shell{grid-template-columns:auto minmax(0,1fr);min-height:420px;display:grid;overflow:hidden}.app-sidebar{min-height:0;color:var(--ink);display:flex}.app-sidebar :focus-visible{outline:2px solid var(--ink);outline-offset:2px}.app-sidebar .rail-agent:focus-visible,.app-sidebar .rail-user:focus-visible{outline-offset:5px}.app-sidebar .shell-item:focus-visible{outline-offset:-2px}.agent-rail{width:68px;min-height:0;padding:max(14px, env(safe-area-inset-top)) 0 max(14px, env(safe-area-inset-bottom));background:var(--field);border-right:1px solid var(--line);flex-direction:column;flex:none;align-items:center;gap:10px;display:flex}.rail-home{flex:none;place-items:center;width:40px;height:40px;display:grid}.rail-home img{width:30px;height:auto}.rail-agents{scrollbar-width:none;flex-direction:column;flex:1;align-items:center;gap:10px;width:100%;min-height:0;padding:4px 0;display:flex;overflow-y:auto}.rail-agent{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--ink);font-family:var(--display);transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;flex:none;place-items:center;padding:0;font-size:15px;font-weight:700;line-height:1;display:grid}.rail-agent:hover{border-color:var(--ink)}.rail-agent[aria-current]{background:var(--accent);border-color:var(--accent);color:var(--on-accent);box-shadow:0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink)}.rail-account{flex:none;position:relative}.rail-user{background:var(--avatar);width:32px;height:32px;color:var(--ink);border:0;border-radius:50%;place-items:center;padding:0;font-size:11px;font-weight:600;line-height:1;display:grid}.rail-user:hover,.rail-user[aria-expanded=true]{box-shadow:0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink)}.account-menu{z-index:70;background:var(--surface);border:1px solid var(--line);border-radius:var(--corner);width:240px;box-shadow:var(--paper-shadow);flex-direction:column;gap:2px;padding:14px;display:flex;position:absolute;bottom:0;left:calc(100% + 14px)}.account-menu strong{overflow-wrap:anywhere;font-weight:600}.account-menu>span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.account-menu button{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:9px;margin-top:10px;padding:8px 10px;font-size:13px;display:flex}.account-menu button:hover{border-color:var(--ink)}.account-menu .icon{width:16px;height:16px}.shell-sidebar{background:var(--field-2);border-right:1px solid var(--line);flex-direction:column;flex:none;width:264px;min-height:0;display:flex}.shell-header{padding:max(18px, calc(env(safe-area-inset-top) + 8px)) 12px 14px 18px;border-bottom:1px solid var(--line);align-items:flex-start;gap:4px;display:flex}.shell-identity{flex:1;min-width:0}.shell-identity h2{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:700;line-height:1.25;overflow:hidden}.shell-status{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;margin:3px 0 0;font-size:12px;display:flex;overflow:hidden}.shell-status>span{background:var(--ok-dot);border-radius:50%;flex:none;width:6px;height:6px}.shell-icon-button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.shell-icon-button:hover{background:var(--surface);color:var(--ink)}.shell-icon-button .icon{width:16px;height:16px}.app-shell .close-menu,.app-shell .open-menu,.shell-header .narrow-only{display:none}.shell-scroll{scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex-direction:column;flex:1;gap:20px;min-height:0;padding:14px 10px 20px;display:flex;overflow-y:auto}.shell-section{flex-direction:column;gap:2px;display:flex}.shell-eyebrow-row{justify-content:space-between;align-items:center;padding-right:2px;display:flex}.shell-eyebrow{font-family:var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0;padding:0 8px 6px;font-size:10px;font-weight:650;line-height:1.6}.shell-add{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;margin-bottom:6px;padding:0;display:grid}.shell-add:hover{background:var(--surface);color:var(--ink)}.shell-add .icon{width:14px;height:14px}.shell-list{flex-direction:column;gap:2px;display:flex}.shell-item{width:100%;min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:7px 8px;font-size:14px;line-height:1.4;display:flex}.shell-item:hover{background:var(--surface)}.shell-item[aria-current]{background:var(--surface);font-weight:600;box-shadow:0 1px 2px #30251b12}.shell-item>.icon{width:15px;height:15px;color:var(--muted)}.shell-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sidebar-note{color:var(--muted);margin:0;padding:4px 8px;font-size:12px;line-height:1.5}.shell-team{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.shell-team li{align-items:center;gap:9px;min-width:0;padding:6px 8px;font-size:14px;display:flex}.shell-team small{font-family:var(--mono);color:var(--muted);margin-left:auto;font-size:11px}.shell-avatar{background:var(--avatar);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:9px;font-weight:600;display:grid;position:relative}.shell-avatar.is-here:after{content:"";background:var(--ok-dot);width:8px;height:8px;box-shadow:0 0 0 2px var(--field-2);border-radius:50%;position:absolute;bottom:-2px;right:-2px}.shell-item:hover .shell-avatar.is-here:after,.shell-item[aria-current] .shell-avatar.is-here:after{box-shadow:0 0 0 2px var(--surface)}.presence-dot{background:var(--ok-dot);vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.shell-avatar.is-group,.shell-item .shell-avatar.is-group{background:0 0;border-radius:0;width:21px;height:19px}.group-face{background:var(--avatar);width:13px;height:13px;box-shadow:0 0 0 1.5px var(--field-2);border-radius:50%;place-items:center;font-size:5.5px;font-weight:700;display:grid;position:absolute;overflow:hidden}.group-face:first-child{top:0;left:0}.group-face:nth-child(2){bottom:0;right:0}.group-face img{object-fit:cover;width:100%;height:100%}.shell-item:hover .group-face,.shell-item[aria-current] .group-face{box-shadow:0 0 0 1.5px var(--surface)}.shell-avatar.is-add{border:1px dashed var(--dash);color:var(--muted);background:0 0;font-size:13px;font-weight:400}.shell-invite{color:var(--muted)}.shell-invite:hover{color:var(--ink)}.shell-footer{padding:8px 10px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--line);flex:none}.app-main{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.workspace-topbar{border-bottom:1px solid var(--line);background:var(--surface);flex:none;align-items:center;gap:8px;height:56px;padding:0 14px 0 8px;display:none}.workspace-topbar h1{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:700;overflow:hidden}@media (width<=900px){.app-shell{flex-direction:column;min-height:0;display:flex}.app-main{flex:1}.app-sidebar{z-index:50;width:min(332px,90vw);height:var(--app-height,100dvh);transition:transform .24s cubic-bezier(.16,1,.3,1);position:fixed;inset:0 auto auto 0;transform:translate(-105%)}.app-sidebar.is-open{box-shadow:var(--paper-shadow);transform:translate(0)}.shell-sidebar{flex:1;width:auto;min-width:0}.sidebar-scrim{z-index:40;background:#24232173;position:fixed;inset:0}.app-shell .close-menu,.app-shell .open-menu,.shell-header .narrow-only{place-items:center;display:inline-grid}.workspace-topbar{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left));display:flex}.app-main.is-channel>.workspace-topbar{display:none}.topbar-action{margin-left:auto}.workspace-topbar .shell-icon-button,.channel-heading .open-menu{width:44px;height:44px;color:var(--ink)}.workspace-topbar .icon,.channel-heading .open-menu .icon{width:20px;height:20px}.account-menu{width:min(240px,90vw - 96px)}}@media (pointer:coarse){.shell-item{min-height:44px;font-size:15px}.shell-team li{min-height:40px;font-size:15px}.shell-add{width:36px;height:36px;margin:-6px -6px 0 0}.shell-add .icon{width:16px;height:16px}.shell-icon-button{width:40px;height:40px}.shell-icon-button .icon{width:18px;height:18px}.rail-agent{width:44px;height:44px}.rail-user{width:38px;height:38px}.account-menu button{min-height:44px}}@media (prefers-reduced-motion:reduce){.app-sidebar,.rail-agent{transition:none}}.chat-studio{--gutter:28px;background:var(--surface);min-width:0;min-height:0;color:var(--ink);flex-direction:column;flex:1;display:flex}.chat-column{width:min(760px, 100% - 2 * var(--gutter));margin-inline:auto}.private-chat-heading{padding:14px var(--gutter);border-bottom:1px solid var(--line);flex:none;align-items:center;gap:14px;display:flex}.chat-heading-text{flex:1;min-width:0}.chat-heading-title{flex-wrap:wrap;align-items:center;gap:2px 8px;display:flex}.private-chat-heading h2{font-family:var(--display);letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:700;line-height:1.25}.private-chat-heading p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12.5px;line-height:1.5;overflow:hidden}.private-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:5px;font-size:11px;font-weight:600;display:inline-flex}.private-label .icon{stroke-width:2.2px;width:11px;height:11px}.conversation-remove{flex:none;gap:7px;font-size:13px}.conversation-remove .icon{width:15px;height:15px}.workspace-topbar .conversation-remove{min-height:44px;padding:0 12px}.workspace-topbar .conversation-remove.is-quiet{width:44px;color:var(--ink);padding:0}.msg-avatar{background:var(--avatar);width:36px;height:36px;color:var(--ink);border-radius:10px;flex:none;place-items:center;font-size:12px;font-weight:600;line-height:1;display:grid}.msg-avatar.is-agent{background:var(--accent);color:var(--on-accent);font-family:var(--display);font-size:15px;font-weight:700}.msg-avatar.is-agent.is-quiet{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.colleague-message>.msg-avatar{border-radius:9px;width:32px;height:32px;font-size:13px}.chat-transcript{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:36px 0 8px;overflow-y:auto}.chat-transcript>.chat-column{flex-direction:column;min-height:100%;display:flex}.chat-turns{flex-direction:column;gap:28px;margin:0;padding:0;list-style:none;display:flex}.chat-turn{animation:haien-rise .18s var(--ease-out) both}@keyframes haien-rise{0%{opacity:0;transform:translateY(4px)}}.chat-message{overflow-wrap:anywhere;font-size:14.5px;line-height:1.6}.user-turn{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.user-message{background:var(--field-2);border-radius:14px 14px 4px;max-width:78%;padding:11px 16px;line-height:1.55}.user-turn-meta{font-family:var(--mono);color:var(--muted);font-size:11.5px}.colleague-message{gap:14px;min-width:0;display:flex}.msg-body{flex:1;min-width:0}.msg-meta{flex-wrap:wrap;align-items:center;gap:2px 8px;min-height:28px;line-height:1.4;display:flex}.msg-meta strong{font-weight:600}.msg-meta time,.run-elapsed{font-family:var(--mono);color:var(--muted);font-variant-numeric:tabular-nums;font-size:11.5px}.agent-badge{background:var(--field-3);color:var(--accent-ink);letter-spacing:.08em;text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.msg-actions{align-items:center;gap:4px;margin-left:auto;display:inline-flex}.msg-body>.rich-text{margin-top:4px}.work-steps+.rich-text{margin-top:10px}.msg-copy{opacity:0;transition:opacity .12s var(--ease-out)}.colleague-message:hover .msg-copy,.colleague-message:focus-within .msg-copy,.msg-copy:not([data-state=idle]){opacity:1}@media (hover:none){.msg-copy{opacity:1}}.run-state{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.run-state:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;animation:1.2s infinite haien-pulse}.chat-status{color:var(--muted);align-items:center;gap:8px;margin:4px 0 0;font-size:12.5px;line-height:1.55;display:flex}.typing-dots{align-items:center;gap:3px;display:inline-flex}.typing-dots>i{background:var(--accent);border-radius:50%;width:5px;height:5px;animation:1.2s infinite haien-pulse}.typing-dots>i:nth-child(2){animation-delay:.2s}.typing-dots>i:nth-child(3){animation-delay:.4s}@keyframes haien-pulse{0%,to{opacity:.35}50%{opacity:1}}.work-steps{color:var(--muted);margin-top:6px;font-size:12.5px}.work-steps summary{cursor:pointer;border-radius:4px;align-items:center;gap:8px;list-style:none;display:inline-flex}.work-steps summary::-webkit-details-marker{display:none}.work-steps summary:hover{color:var(--ink)}.work-steps summary .icon{stroke-width:2.4px;width:12px;height:12px;transition:transform .15s var(--ease-out)}.work-steps[open] summary .icon{transform:rotate(90deg)}.work-step-list{border-left:1.5px solid var(--line);color:var(--muted);flex-direction:column;gap:7px;margin:8px 0 0 5px;padding:0 0 0 14px;font-size:12.5px;line-height:1.45;list-style:none;display:flex}.work-step-list li{align-items:baseline;gap:8px;display:flex}.work-step-list li[data-status=running]{color:var(--ink)}.work-step-index{width:18px;font-family:var(--mono);color:var(--accent-ink);flex:none;font-size:11px}.work-step-status{font-family:var(--mono);font-size:11px}.work-step-list li[data-status=failed] .work-step-status{color:var(--accent-ink)}.chat-composer{flex:none;padding:10px 0 22px}.chat-admission{background:var(--field-3);color:var(--accent-ink);border-radius:8px;margin:0 0 10px;padding:10px 14px;font-size:12.5px;line-height:1.55}.composer-spacer{flex:1;min-width:0}.composer-note{color:var(--muted);font-size:11.5px;line-height:1.5}.composer-note kbd{background:var(--field-2);font-family:var(--mono);border-radius:4px;padding:1px 5px;font-size:11px}.composer-send{background:var(--accent);min-width:32px;height:32px;color:var(--on-accent);border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0;font-size:12.5px;font-weight:600;line-height:1;display:inline-flex}.composer-send:hover:not(:disabled){filter:brightness(.96)}.composer-send.has-label{padding:0 12px}.composer-send.is-stop{background:var(--ink);color:var(--paper)}.composer-send:disabled{background:var(--field-2);color:var(--muted);opacity:1}.composer-send .icon{stroke-width:2.4px;width:16px;height:16px}.chat-empty{margin-top:auto;padding-bottom:8px}.chat-empty:has(.prompt-suggestions){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:end;column-gap:40px;width:min(720px,100%);display:grid}.chat-empty>*{grid-column:1}.chat-empty>.prompt-suggestions{grid-area:1/2/span 3}.chat-empty .eyebrow{margin:0 0 12px;display:block}.chat-empty h3{font-family:var(--display);letter-spacing:-.03em;overflow-wrap:anywhere;margin:0 0 14px;font-size:clamp(1.8rem,2.6vw,2.4rem);font-weight:600;line-height:1.1}.chat-empty h3 span{color:var(--accent-ink)}.chat-empty>p:not(.eyebrow){max-width:400px;margin:0;font-size:15px;line-height:1.65}.prompt-suggestions{flex-direction:column;gap:8px;display:flex}.prompt-suggestions .eyebrow{margin-bottom:4px}.prompt-suggestions button{border:1px solid var(--line);background:var(--paper);text-align:left;border-radius:10px;padding:13px 16px;font-size:13.5px;line-height:1.45}.prompt-suggestions button:hover{border-color:var(--ink)}@media (width<=900px){.chat-studio{--gutter:16px}.private-chat-heading{display:none}.chat-empty:has(.prompt-suggestions){grid-template-columns:minmax(0,1fr);row-gap:28px}.chat-empty>.prompt-suggestions{grid-area:auto/1}.chat-transcript{padding-top:20px}.user-message{max-width:88%}.composer-send{min-width:40px;height:40px}.composer-note{display:none}.chat-composer{padding-bottom:max(12px, env(safe-area-inset-bottom))}.chat-message,.chat-studio .rich-text{font-size:16px;line-height:1.55}}@media (width<=560px){.colleague-message{gap:10px}.chat-empty h3{font-size:1.7rem}}@media (prefers-reduced-motion:reduce){.chat-turn,.typing-dots>i,.run-state:before{animation:none}.msg-copy,.work-steps summary .icon{transition:none}}.voice-start{flex:none;gap:7px;font-size:13px}.voice-start .icon{width:15px;height:15px}.voice-bar{border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:center;gap:12px;margin:0 0 10px;padding:10px 10px 10px 12px;display:flex}.voice-bar.is-speaking{border-color:var(--accent)}.voice-face{flex:none;place-items:center;width:44px;height:44px;display:grid}.voice-face .voice-avatar{width:44px;height:44px}.voice-text{flex:1;gap:2px;min-width:0;display:grid}.voice-text strong{font-size:14px;font-weight:650}.voice-text span{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.voice-button{border:1px solid var(--line);background:var(--paper);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:50%;flex:none;place-items:center;display:grid}.voice-button .icon{width:20px;height:20px}.voice-button.is-on{background:var(--warn-field);border-color:var(--warn-line)}.voice-button.is-end{background:var(--ink);border-color:var(--ink);color:var(--paper)}.tint-0{background:var(--tint-0)}.tint-1{background:var(--tint-1)}.tint-2{background:var(--tint-2)}.tint-3{background:var(--tint-3)}.tint-4{background:var(--tint-4)}.tint-5{background:var(--tint-5)}.shell-hash{width:15px;font-family:var(--mono);color:var(--accent-ink);text-align:center;flex:none;font-size:14px;line-height:1}.shell-item.is-unread{font-weight:650}.shell-badge{background:var(--surface);min-width:20px;color:var(--muted);font-family:var(--mono);text-align:center;box-shadow:inset 0 0 0 1px var(--line);border-radius:99px;flex:none;margin-left:auto;padding:1px 6px;font-size:11px;font-weight:600;line-height:1.5}.shell-badge.is-mention{background:var(--accent);color:var(--on-accent);box-shadow:none}.shell-item .shell-avatar{width:18px;height:18px;font-size:8px}.shell-header .shell-icon-button[aria-current]{background:var(--surface);color:var(--ink)}.channel-studio{--gutter:28px;background:var(--surface);min-width:0;min-height:0;color:var(--ink);flex:1;display:flex}.channel-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.channel-heading{padding:14px var(--gutter);border-bottom:1px solid var(--line);flex:none;align-items:center;gap:14px;display:flex}.channel-heading h2{font-family:var(--display);letter-spacing:-.02em;overflow-wrap:anywhere;align-items:center;gap:6px;margin:0;font-size:17px;font-weight:700;line-height:1.25;display:flex}.channel-heading p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12.5px;line-height:1.5;overflow:hidden}.channel-hash{font-family:var(--mono);color:var(--accent-ink);font-weight:500}.channel-people{border:1px solid var(--line);background:var(--surface);font-family:var(--mono);color:var(--muted);border-radius:99px;flex:none;align-items:center;gap:8px;padding:4px 10px 4px 6px;font-size:12px;display:inline-flex}.channel-people:hover,.channel-people[aria-expanded=true]{border-color:var(--ink);color:var(--ink)}.channel-people-stack{display:flex}.channel-people-stack .line-avatar{border:2px solid var(--surface);border-radius:50%}.channel-people-stack .line-avatar+.line-avatar{margin-left:-5px}.channel-transcript{min-height:0;padding:20px calc(var(--gutter) - 8px) 8px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex-direction:column;flex:1;display:flex;overflow-y:auto}.chat-lines{flex-direction:column;margin-top:auto;display:flex}.channel-loading{color:var(--muted);margin:auto;font-size:13px}.channel-problem{margin:0 8px 12px}.channel-older{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:99px;align-self:center;margin-bottom:12px;padding:6px 12px;font-size:12.5px}.channel-older:hover{border-color:var(--ink);color:var(--ink)}.channel-empty{padding:0 8px 8px}.channel-empty .line-button{min-height:38px}.day-divider{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:14px;margin:18px 8px 10px;font-size:11.5px;display:flex}.day-divider:before,.day-divider:after{content:"";background:var(--line);flex:1;height:1px}.day-divider:first-child{margin-top:4px}.chat-line{border-radius:10px;gap:14px;padding:6px 8px;display:flex;position:relative}.chat-line:not(.is-compact){margin-top:10px}.chat-line.is-compact{padding-block:2px}.chat-line:hover,.chat-line:focus-within{background:var(--paper)}.chat-line.is-pending{opacity:.6}.line-avatar{width:36px;height:36px;color:var(--ink);border-radius:10px;flex:none;place-items:center;font-size:12px;font-weight:600;line-height:1;display:grid}.line-avatar.is-small{border-radius:6px;width:22px;height:22px;font-size:9px}.line-gutter-time{width:36px;font-family:var(--mono);color:var(--muted);text-align:right;opacity:0;flex:none;padding-top:3px;font-size:10.5px}.chat-line:hover .line-gutter-time,.chat-line:focus-within .line-gutter-time{opacity:1}.line-body{flex:1;min-width:0}.line-meta{flex-wrap:wrap;align-items:baseline;gap:0 8px;line-height:1.4;display:flex}.line-meta time,.line-meta .agent-badge,.line-meta .line-edited{white-space:nowrap}.line-meta strong{font-weight:600}.line-meta time{font-family:var(--mono);color:var(--muted);font-variant-numeric:tabular-nums;font-size:11.5px}.line-body .rich-text{margin-top:2px;font-size:14.5px;line-height:1.55}.chat-line.is-compact .rich-text{margin-top:0}.line-edited{color:var(--muted);font-size:11px;display:block}.line-deleted{color:var(--muted);margin:2px 0 0;font-size:13.5px;font-style:italic}.line-problem{color:var(--accent-ink);margin:6px 0 0;font-size:12.5px}.line-actions{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:2px;padding:2px;display:none;position:absolute;top:-14px;right:10px;box-shadow:0 1px 2px #30251b14}.chat-line:hover .line-actions,.chat-line:focus-within .line-actions{display:flex}.line-actions button{min-width:26px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0 8px;font-size:12px;display:inline-grid}.line-actions button:hover{background:var(--field-2);color:var(--ink)}.line-actions .icon{width:14px;height:14px}@media (hover:none){.line-actions{display:none!important}.chat-line:hover,.chat-line:focus-within,.channel-panel .chat-line:hover,.channel-panel .chat-line:focus-within{background:0 0}.chat-line.is-picked,.channel-panel .chat-line.is-picked{background:var(--field-2)}.chat-line.is-picked .line-gutter-time{opacity:1}}.line-actions .line-quick{padding:0 5px;font-size:15px;line-height:1}.line-reactions{flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;display:flex}.reaction{border:1px solid var(--line);background:var(--surface);height:26px;color:var(--ink);transition:border-color .12s var(--ease-out), background .12s var(--ease-out);border-radius:99px;align-items:center;gap:5px;padding:0 9px;font-size:12px;line-height:1;display:inline-flex}.reaction:hover:not(:disabled){border-color:var(--ink)}.reaction:disabled{cursor:default;opacity:1}.reaction[aria-pressed=true]{background:var(--field-3);color:var(--accent-ink);border-color:#f4a58a}.reaction-emoji{font-size:15px}.reaction-count{font-variant-numeric:tabular-nums;font-weight:600}.reaction.is-add{color:var(--muted);opacity:0;gap:2px;padding:0 7px}.reaction.is-add .icon{width:14px;height:14px}.chat-line:hover .reaction.is-add,.chat-line:focus-within .reaction.is-add,.reaction.is-add[aria-expanded=true]{opacity:1}@media (hover:none){.reaction.is-add{opacity:1}}.line-replies{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;margin-top:6px;padding:4px 10px 4px 4px;font-size:12.5px;display:inline-flex}.line-replies strong{color:var(--accent-ink);font-weight:600}.line-replies:hover{border-color:var(--line);background:var(--surface)}.line-reply-people{gap:2px;display:flex}.line-edit{margin-top:4px}@media (pointer:coarse){.line-reactions{gap:6px}.reaction{height:32px;padding:0 11px}.reaction.is-add{padding:0 9px}.line-replies{min-height:38px}.line-button{min-height:44px;padding:0 16px;font-size:14px}}.sheet-scrim{z-index:75;height:var(--app-height,100dvh);animation:sheet-fade .2s var(--ease-out);background:#2423214d;flex-direction:column;justify-content:flex-end;display:flex;position:fixed;inset:0 0 auto}.action-sheet{width:min(100%,520px);padding:8px 12px max(12px, env(safe-area-inset-bottom));background:var(--surface);border-radius:22px 22px 0 0;outline:none;flex-direction:column;align-self:center;animation:.32s cubic-bezier(.16,1,.3,1) sheet-rise;display:flex;box-shadow:0 -12px 40px -16px #30251b52}.sheet-grip{background:var(--line);border-radius:99px;align-self:center;width:38px;height:5px;margin:0 0 12px}.sheet-reactions{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:4px;padding:0 2px 14px;display:flex}.sheet-reactions>button,.sheet-more{background:var(--field-2);width:46px;height:46px;transition:transform .12s var(--ease-out), background .12s var(--ease-out);border:0;border-radius:50%;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.sheet-reactions>button:active,.sheet-more:active{background:var(--field-3);transform:scale(.9)}.sheet-more{color:var(--muted)}.sheet-more .icon{width:22px;height:22px}.sheet-actions{flex-direction:column;padding-top:6px;display:flex}.sheet-actions button{min-height:52px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:14px;padding:0 12px;font-size:16px;display:flex}.sheet-actions button:active{background:var(--field-2)}.sheet-actions .icon{width:21px;height:21px;color:var(--muted)}.sheet-actions .is-danger,.sheet-actions .is-danger .icon{color:var(--accent-ink)}@keyframes sheet-rise{0%{transform:translateY(100%)}}@keyframes sheet-fade{0%{opacity:0}}@keyframes panel-push{0%{transform:translate(100%)}}.line-confirm{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.line-confirm span{font-size:13px}.line-button{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;min-height:32px;padding:0 12px;font-size:12.5px;font-weight:500;display:inline-flex}.line-button:hover:not(:disabled){border-color:var(--ink)}.line-button.is-primary{border-color:var(--ink);background:var(--ink);color:#fff}.line-button.is-danger{border-color:var(--accent-ink);color:var(--accent-ink)}.line-button.is-danger:hover{background:var(--accent-ink);color:#fff}.channel-composer{padding:10px var(--gutter) 22px;flex:none}.channel-composer.is-small{padding:10px 18px 18px}.channel-join{margin:10px var(--gutter) 22px;border:1px solid var(--line);background:var(--paper);border-radius:12px;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.channel-join p{color:var(--muted);margin:0}.channel-panel{border-left:1px solid var(--line);background:var(--paper);flex-direction:column;flex:none;width:340px;min-height:0;display:flex}.channel-panel>header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:14px 14px 14px 18px;display:flex}.channel-panel>header>div{flex:1;min-width:0}.panel-back{display:none}.channel-panel h3{font-family:var(--body);letter-spacing:0;margin:0;font-size:14px;font-weight:600}.channel-panel>header p{color:var(--muted);margin:0;font-size:12px}.channel-panel-scroll{scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:10px 10px 16px;overflow-y:auto}.channel-panel .chat-line{gap:10px}.channel-panel .chat-line:hover,.channel-panel .chat-line:focus-within{background:var(--surface)}.channel-panel .line-avatar:not(.is-small){border-radius:8px;width:28px;height:28px;font-size:10px}.channel-panel .line-gutter-time{width:28px}.channel-panel .line-body .rich-text{font-size:13.5px}.channel-panel .day-divider{margin-inline:8px}.thread-count{color:var(--muted);align-items:center;gap:10px;margin:12px 8px 4px;font-size:11px;display:flex}.thread-count:after{content:"";background:var(--line);flex:1;height:1px}.panel-message{background:var(--ok-field);color:var(--ok);border-radius:8px;margin:4px 8px 12px;padding:8px 12px;font-size:12.5px}.panel-form{gap:12px;margin:4px 8px 20px;display:grid}.panel-form label,.modal-form label{color:var(--muted);gap:6px;font-size:12.5px;display:grid}.panel-form input,.panel-form textarea,.modal-form input:not([type=checkbox]),.people-picker input[type=search]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:38px;color:var(--ink);resize:vertical;border-radius:8px;padding:8px 11px;font-size:14px;line-height:1.5}.panel-form .line-button{justify-self:start}.name-field{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;display:flex}.name-field>span{font-family:var(--mono);color:var(--accent-ink);padding-left:11px}.name-field input{background:0 0!important;border:0!important}.name-field:focus-within{border-color:var(--ink)}.name-field input:focus-visible{outline:none}.panel-label{font-family:var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:18px 8px 6px;font-size:10px;font-weight:650}.panel-people{margin:0;padding:0;list-style:none}.panel-people li{align-items:center;gap:9px;padding:6px 8px;font-size:13.5px;display:flex}.panel-people small{font-family:var(--mono);color:var(--muted);margin-left:auto;font-size:11px}.channel-panel .people-picker,.channel-panel>.channel-panel-scroll>.line-button{margin:0 8px 10px}.panel-note{color:var(--muted);margin:12px 8px;font-size:12.5px}.panel-leave{margin:24px 8px 0;display:flex}.people-picker ul{border:1px solid var(--line);background:var(--surface);border-radius:10px;max-height:240px;margin:0;padding:4px;list-style:none;overflow-y:auto}.people-picker input[type=search]{margin-bottom:8px}.people-picker label{cursor:pointer;border-radius:6px;grid-template-columns:none;align-items:center;gap:9px;padding:7px 8px;color:var(--ink)!important;font-size:13.5px!important;display:flex!important}.people-picker label:hover{background:var(--paper)}.people-picker small{font-family:var(--mono);color:var(--muted);margin-left:auto;font-size:11px}.people-picker input[type=checkbox]{width:16px;height:16px;accent-color:var(--ink);margin:0}.people-none{color:var(--muted);padding:10px;font-size:12.5px}.modal-scrim{z-index:80;background:#24232173;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{border-radius:var(--corner);background:var(--surface);width:min(480px,100%);max-height:calc(100dvh - 32px);box-shadow:var(--paper-shadow);padding:22px 24px 24px;overflow-y:auto}.modal>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.modal h2{margin:0;font-size:20px;font-weight:700}.modal-lead{color:var(--muted);margin:0;font-size:13.5px;line-height:1.6}.modal-form{gap:14px;display:grid}.modal-form fieldset{border:0;gap:6px;margin:0;padding:0;display:grid}.modal-form legend{color:var(--muted);margin-bottom:6px;padding:0;font-size:12.5px}.modal-form label.check{color:var(--ink);cursor:pointer;align-items:flex-start;gap:10px;display:flex}.modal-form label.check input{width:16px;height:16px;accent-color:var(--ink);margin:2px 0 0}.modal-form label.check span{gap:2px;display:grid}.modal-form label.check strong{font-size:13.5px;font-weight:600}.modal-form small{color:var(--muted);font-size:12px}.modal-error{background:var(--warn-field);color:var(--warn);border-radius:8px;margin:0;padding:8px 12px;font-size:12.5px}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.modal-join{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.modal-join h3{font-size:14px;font-weight:600;font-family:var(--body);letter-spacing:0;margin:0 0 10px}.modal-join ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.modal-join li{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.modal-join li>span{min-width:0;display:grid}.modal-join small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.search-view{min-height:0;padding:28px var(--gutter,28px);flex:1;overflow-y:auto}.search-field{border:1px solid var(--line);background:var(--surface);max-width:760px;box-shadow:var(--paper-shadow);border-radius:12px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-field:focus-within{border-color:var(--ink)}.search-field .icon{color:var(--muted)}.search-field input{background:0 0;border:0;flex:1;min-width:0;min-height:48px;font-size:15px}.search-field input:focus-visible{outline:none}.search-results{gap:6px;max-width:760px;margin:18px 0 0;padding:0;list-style:none;display:grid}.search-results button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:10px;gap:2px;width:100%;padding:12px 14px;display:grid}.search-results button:hover{border-color:var(--ink)}.search-where{color:var(--muted);font-size:11.5px}.search-results strong{font-size:13.5px;font-weight:600}.search-text{overflow-wrap:anywhere;white-space:pre-wrap;font-size:13.5px;line-height:1.5}.search-none{color:var(--muted);padding:12px 2px}@media (width<=900px){.channel-studio{--gutter:16px}.channel-heading{min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left));gap:6px}.channel-heading h2{font-size:17px}.channel-heading p{margin-top:0;font-size:12.5px}.channel-heading .private-label{display:none}.channel-people{min-height:36px}.line-body .rich-text,.channel-panel .line-body .rich-text{font-size:16px;line-height:1.5}.channel-composer,.channel-composer.is-small{padding:8px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left))}.channel-join{margin-bottom:max(16px, env(safe-area-inset-bottom))}.channel-panel{z-index:60;width:auto;height:var(--app-height,100dvh);background:var(--surface);border-left:0;animation:.3s cubic-bezier(.16,1,.3,1) panel-push;position:fixed;inset:0 0 auto}.channel-panel>header{min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 6px;justify-content:flex-start}.channel-panel h3{font-size:17px;font-family:var(--display);letter-spacing:-.02em;font-weight:700}.channel-panel .panel-back{width:44px;height:44px;color:var(--ink);display:inline-grid}.channel-panel .panel-back .icon{width:20px;height:20px}.channel-panel .panel-close{display:none}.channel-panel .chat-line:hover,.channel-panel .chat-line:focus-within{background:0 0}.channel-panel-scroll{padding-inline:8px}.modal-scrim{height:var(--app-height,100dvh);place-items:end stretch;padding:0;inset:0 0 auto}.modal{width:100%;max-height:calc(var(--app-height,100dvh) - 32px);padding:20px 18px max(18px, env(safe-area-inset-bottom));border-radius:22px 22px 0 0;animation:.32s cubic-bezier(.16,1,.3,1) sheet-rise}.modal-actions{bottom:calc(-1 * max(18px, env(safe-area-inset-bottom)));z-index:1;margin:0 -18px calc(-1 * max(18px, env(safe-area-inset-bottom)));padding:12px 18px max(18px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);position:sticky}.modal-actions .line-button,.modal-actions .primary-button{flex:1;min-height:46px}.panel-form input,.panel-form textarea,.modal-form input:not([type=checkbox]),.search-field input{font-size:16px}.search-view{padding:16px}}@media (prefers-reduced-motion:reduce){.chat-line{transition:none}.sheet-scrim,.action-sheet,.modal,.channel-panel{animation:none}}.line-avatar.is-agent{background:var(--accent);color:var(--on-accent);font-family:var(--display);font-weight:700}.chat-line.is-agent .line-body>.rich-text,.chat-line.is-agent .work-steps{margin-top:4px}.chat-line.is-agent .work-steps+.rich-text{margin-top:8px}.chat-line.is-agent .chat-status{margin-top:4px}.line-for{color:var(--muted);font-size:12px}.line-edited.is-inline{display:inline}.line-stop{margin-top:8px}.panel-people li .panel-remove{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:6px;flex:none;margin-left:auto;padding:2px 8px;font-size:11.5px}.panel-people li small+.panel-remove{margin-left:10px}.panel-people li .panel-remove:hover{border-color:var(--ink);color:var(--ink)}.direct-chosen{flex-wrap:wrap;gap:6px;display:flex}.direct-chosen button{border:1px solid var(--line);background:var(--field-2);height:30px;color:var(--ink);border-radius:99px;align-items:center;gap:6px;padding:0 8px 0 4px;font-size:13px;font-weight:550;display:inline-flex}.direct-chosen button:hover{border-color:var(--ink)}.direct-chosen .icon{width:12px;height:12px;color:var(--muted)}.has-photo{background:var(--field-2);overflow:hidden}.has-photo>img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.status-mark{flex:none;margin-left:4px;font-size:13px;font-weight:400;line-height:1}.shell-item .status-mark{font-size:12px}.shell-item .shell-label+.status-mark{margin-left:-2px}.rail-user{overflow:hidden}.rail-user-face{width:100%;height:100%;font-size:inherit;font-weight:inherit;border-radius:50%;place-items:center;display:grid}.account-menu strong{align-items:center;gap:2px;display:flex}.line-face,.heading-face{background:0 0;border:0;border-radius:10px;flex:none;align-self:flex-start;padding:0}.heading-face{align-self:center}.line-name{color:var(--ink);text-align:left;background:0 0;border:0;padding:0;font-weight:600}.line-name:hover,.heading-person:hover{text-underline-offset:3px;text-decoration:underline}.line-meta .status-mark{margin-left:-4px}.heading-person{font:inherit;color:inherit;letter-spacing:inherit;text-align:left;background:0 0;border:0;padding:0}.panel-people .panel-person{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:9px;min-width:0;padding:0;display:flex}.panel-people .panel-person>span{min-width:0;display:grid}.panel-people .panel-person-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;display:flex;overflow:hidden}.panel-people .panel-person small{font-family:var(--body);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.panel-people .panel-person:hover .panel-person-name{text-underline-offset:3px;text-decoration:underline}.panel-people li{border-radius:8px}.panel-people li:hover{background:var(--surface)}.direct-intro{text-align:left;background:0 0;border:0;align-items:center;gap:14px;margin-bottom:22px;padding:0;display:flex}.direct-intro-face{border-radius:20px;flex:none;place-items:center;width:72px;height:72px;font-size:22px;font-weight:600;display:grid}.direct-intro>span{gap:1px;display:grid}.direct-intro strong{font-family:var(--display);letter-spacing:-.02em;font-size:18px;font-weight:700}.direct-intro small{color:var(--muted);font-size:13.5px}.direct-intro em{color:var(--accent-ink);margin-top:4px;font-size:12.5px;font-style:normal}.direct-intro:hover em{text-underline-offset:3px;text-decoration:underline}.profile-scrim{z-index:72;animation:sheet-fade .2s var(--ease-out);background:#2423212e;justify-content:flex-end;display:flex;position:fixed;inset:0}.profile-panel{background:var(--surface);outline:none;flex-direction:column;width:min(400px,100%);height:100%;animation:.32s cubic-bezier(.16,1,.3,1) panel-push;display:flex;box-shadow:-18px 0 50px -24px #30251b5c}.profile-bar{flex:none;align-items:center;gap:8px;padding:12px 12px 12px 20px;display:flex}.profile-bar h3{font-family:var(--body);letter-spacing:0;color:var(--muted);flex:1;margin:0;font-size:13px;font-weight:600}.profile-bar .panel-back{display:none}.profile-scroll{scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:0 24px 28px;overflow-y:auto}.profile-hero{flex-direction:column;align-items:flex-start;padding-top:52px;display:flex;position:relative}.profile-band{opacity:.75;height:104px;position:absolute;inset:0 -24px auto}.profile-band.is-agent{background:var(--field-3)}.profile-face{border:4px solid var(--surface);width:112px;height:112px;font-family:var(--display);letter-spacing:-.02em;color:var(--ink);border-radius:30px;place-items:center;font-size:34px;font-weight:700;display:grid;position:relative;box-shadow:0 8px 24px -14px #30251b66}.profile-face.is-agent{background:var(--accent);color:var(--on-accent)}.profile-hero h2{letter-spacing:-.03em;overflow-wrap:anywhere;margin:16px 0 0;font-size:26px;font-weight:700;line-height:1.15}.profile-title{color:var(--muted);align-items:center;gap:8px;margin:4px 0 0;font-size:15px;display:flex}.profile-now{flex-wrap:wrap;gap:8px;margin-top:14px;font-size:13px;display:flex}.profile-now>span{background:var(--field-2);border-radius:99px;align-items:center;gap:6px;min-height:28px;padding:3px 11px;display:inline-flex}.profile-here{color:var(--ok)}.profile-here .presence-dot{margin:0}.profile-status>span{font-size:15px;line-height:1}.profile-actions{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.profile-actions .primary-button{min-height:40px}.profile-actions .icon{width:17px;height:17px}.profile-empty{border:1px dashed var(--dash);color:var(--muted);border-radius:12px;margin:22px 0 0;padding:12px 14px;font-size:13.5px;line-height:1.55}.profile-empty.is-quiet{margin-top:12px}.profile-section{border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.profile-section h4{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-size:10.5px;font-weight:650}.profile-about{white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:14.5px;line-height:1.6}.profile-facts{gap:10px;margin:0;padding:0;list-style:none;display:grid}.profile-facts li{align-items:center;gap:12px;min-width:0;font-size:14px;display:flex}.profile-facts .icon{width:17px;height:17px;color:var(--muted)}.profile-facts a{color:var(--ink);overflow-wrap:anywhere;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:3px}.profile-facts a:hover{text-decoration-color:currentColor}.profile-asks{gap:6px;margin:0;padding:0;list-style:none;display:grid}.profile-asks li{background:var(--paper);border-radius:10px;padding:8px 12px;font-size:13.5px;line-height:1.5}.profile-form{gap:16px;padding-top:6px;display:grid}.profile-form label{color:var(--muted);gap:6px;font-size:12.5px;display:grid}.profile-form input,.profile-form textarea,.profile-form select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);border-radius:9px;padding:8px 11px;font-size:14px}.profile-form textarea{resize:vertical;line-height:1.55}.profile-form input:focus,.profile-form textarea:focus,.profile-form select:focus{border-color:var(--ink);outline:none}.profile-photo{align-items:center;gap:18px;display:flex}.profile-photo .profile-face{width:88px;height:88px;box-shadow:none;border:0;border-radius:24px;flex:none;font-size:26px}.profile-photo>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.profile-photo .line-button{gap:7px}.profile-photo .line-button .icon{width:16px;height:16px}.profile-photo small{color:var(--muted);flex-basis:100%;font-size:12px;line-height:1.5}.line-button.is-quiet{color:var(--muted);background:0 0;border-color:#0000}.line-button.is-quiet:hover:not(:disabled){border-color:var(--line);color:var(--ink)}.profile-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.profile-status-field{border:0;border-top:1px solid var(--line);gap:10px;margin:4px 0 0;padding:16px 0 0;display:grid}.profile-status-field legend{float:left;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:2px;padding:0;font-size:10.5px;font-weight:650}.status-input{border:1px solid var(--line);border-radius:10px;align-items:center;gap:4px;padding:3px 4px 3px 3px;display:flex}.status-input:focus-within{border-color:var(--ink)}.profile-form .status-input input{border:0;min-height:34px;padding:4px 6px}.status-emoji{background:var(--field-2);width:34px;height:34px;color:var(--muted);border:0;border-radius:8px;flex:none;place-items:center;padding:0;font-size:18px;line-height:1;display:grid}.status-emoji:hover{background:var(--field-3)}.status-presets{flex-wrap:wrap;gap:6px;display:flex}.status-presets button{border:1px solid var(--line);background:var(--surface);border-radius:99px;align-items:center;gap:6px;min-height:32px;padding:0 11px;font-size:13px;display:inline-flex}.status-presets button:hover{border-color:var(--ink)}.status-presets button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:#fff}.profile-form .status-clear{align-items:center;gap:10px;display:flex}.profile-form .status-clear select{width:auto;min-height:34px;padding:4px 8px}.profile-form-actions{border-top:1px solid var(--line);background:var(--surface);justify-content:flex-end;gap:8px;margin:4px -24px -28px;padding:14px 24px 22px;display:flex;position:sticky;bottom:-28px}@media (width<=900px){.profile-scrim{height:var(--app-height,100dvh);background:0 0;inset:0 0 auto}.profile-panel{width:100%;box-shadow:none}.profile-bar{min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 6px}.profile-bar h3{font-family:var(--display);letter-spacing:-.02em;color:var(--ink);font-size:17px;font-weight:700}.profile-bar .panel-back{width:44px;height:44px;color:var(--ink);display:inline-grid}.profile-bar .panel-back .icon{width:20px;height:20px}.profile-bar .panel-close{display:none}.profile-scroll{padding:0 max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left))}.profile-band{inset-inline:-18px}.profile-actions{align-self:stretch}.profile-actions .primary-button{flex:1;min-height:46px}.profile-form input,.profile-form textarea,.profile-form select{font-size:16px}.profile-form-actions{bottom:calc(-1 * max(24px, env(safe-area-inset-bottom)));margin:4px -18px calc(-1 * max(24px, env(safe-area-inset-bottom)));padding:12px 18px max(18px, env(safe-area-inset-bottom))}.profile-form-actions .line-button,.profile-form-actions .primary-button{flex:1;min-height:46px}.status-presets button{min-height:38px}}@media (width<=420px){.profile-pair{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.profile-scrim,.profile-panel{animation:none}}.rt-mention.is-link{font:inherit;font-weight:500;line-height:inherit;cursor:pointer;border:0}.rt-mention.is-link:hover{background:var(--field)}.welcome-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:460px;margin-top:8px;padding:12px 14px;display:flex}.welcome-who{text-align:left;background:0 0;border:0;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.welcome-face{border-radius:14px;flex:none;place-items:center;width:48px;height:48px;font-size:15px;font-weight:600;display:grid}.welcome-who>span{min-width:0;display:grid}.welcome-who strong{font-family:var(--display);letter-spacing:-.01em;align-items:center;font-size:15px;font-weight:700;display:flex}.welcome-who small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.welcome-who:hover strong{text-underline-offset:3px;text-decoration:underline}.welcome-actions{gap:8px;display:flex}.welcome-wave{gap:6px}.welcome-wave[aria-pressed=true]{border-color:var(--ink);background:var(--field-2)}.rail-agent{overflow:hidden}.rail-agent-face{border-radius:inherit;place-items:center;width:100%;height:100%;display:grid}.msg-avatar.has-photo{border:0}.agent-picture-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.agent-picture-actions .secondary-button{gap:7px;min-height:36px;font-size:13px}.agent-picture-actions .secondary-button .icon{width:16px;height:16px}.secondary-button.is-quiet{color:var(--muted);background:0 0;border-color:#0000}@media (width<=900px){.welcome-card{max-width:none}.welcome-actions,.welcome-actions .line-button{flex:1}.agent-picture-actions .secondary-button{min-height:44px}}.integrations{max-width:1040px}.integration-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:0 0 32px;padding:0;list-style:none;display:grid}.integration-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:12px;min-width:0;padding:18px;display:flex}.integration-card.is-available{background:var(--paper);flex-direction:row;align-items:center;gap:14px}.integration-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.integration-glyph{border-radius:8px;width:32px;height:32px;font-size:12px}.integration-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.integration-text strong{overflow-wrap:anywhere;font-weight:600}.integration-text small{color:var(--muted);overflow-wrap:anywhere;font-size:12.5px;line-height:1.5}.is-available .integration-text small{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.integration-status{white-space:nowrap;align-items:center;gap:5px;font-size:11.5px;font-weight:600;display:inline-flex}.integration-status i{border-radius:50%;width:6px;height:6px}.integration-status.is-ok{color:var(--ok)}.integration-status.is-ok i{background:var(--ok-dot)}.integration-status.is-warn{color:var(--warn)}.integration-status.is-warn i{background:var(--warn-dot)}.integration-status.is-off{color:var(--muted)}.integration-status.is-off i{background:var(--dash)}.integration-actions{align-items:center;gap:8px;margin-top:auto;display:flex}.integration-actions button{border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:6px 10px;font-size:12.5px}.integration-actions .link,.integration-actions .destroy{border:0}.integration-actions .link{color:var(--muted);padding:6px 4px;text-decoration:none}.integration-actions .link:hover{color:var(--ink)}.integration-primary,.integration-actions .integration-primary{background:var(--accent);color:var(--on-accent);border:0;font-weight:600}.integration-connect{border:1px solid var(--ink);background:0 0;border-radius:6px;flex:none;padding:6px 12px;font-size:12.5px;font-weight:600}.integration-connect:hover:not(:disabled){background:var(--ink);color:#fff}.integration-later{max-width:90px;color:var(--muted);text-align:right;flex:none;font-size:11.5px;line-height:1.4}.integration-empty{color:var(--muted);margin:0 0 32px}.integration-search{z-index:1;background:var(--paper);gap:12px;margin:8px -12px 20px;padding:12px;display:grid;position:sticky;top:-40px}.integration-query{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--muted);border-radius:10px;align-items:center;gap:10px;padding:0 14px;display:flex}.integration-query:focus-within{border-color:var(--ink)}.integration-query input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.integration-filter{flex-wrap:wrap;gap:6px;display:flex}.integration-filter button{border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:12.5px;display:inline-flex}.integration-filter button span{font-family:var(--mono);color:var(--muted);font-size:11px}.integration-filter button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:#fff}.integration-filter button[aria-pressed=true] span{color:#d9d2c7}.integration-own{border:1.5px dashed var(--dash);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin:0 0 28px;padding:16px 20px;display:flex}.integration-own div{flex-direction:column;gap:2px;display:flex}.integration-own small{color:var(--muted);font-size:12.5px;line-height:1.5}.integration-waiting{border-color:var(--warn-line);background:var(--warn-field);color:var(--warn);justify-content:space-between;align-items:center;gap:16px;display:flex}.integration-waiting span{white-space:nowrap;gap:14px;display:flex}.integration-waiting a{color:inherit;font-weight:600}.integration-paste-row{align-items:center;gap:10px;display:flex}.integration-paste-row input{border:1px solid var(--warn-line);background:var(--surface);min-width:0;min-height:38px;color:var(--ink);font-family:var(--mono);border-radius:8px;flex:1;padding:8px 11px;font-size:12.5px}.integration-overlay{z-index:20;background:#24232166;grid-template-columns:minmax(0,480px);place-content:center;padding:16px;display:grid;position:fixed;inset:0}.integration-dialog{border-radius:var(--corner);background:var(--surface);min-width:0;max-height:calc(100dvh - 32px);box-shadow:var(--paper-shadow);padding:22px 24px 24px;overflow-y:auto}.integration-dialog header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.integration-dialog h3{margin:0;font-size:18px}.integration-form{gap:14px;display:grid}.integration-form p{color:var(--muted);margin:0;line-height:1.6}.integration-form label{color:var(--muted);gap:6px;font-size:12.5px;display:grid}.integration-form input,.integration-form select{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:38px;color:var(--ink);border-radius:8px;padding:8px 11px}.integration-form-actions{justify-content:flex-end;gap:10px;margin-top:6px;display:flex}.integration-form-actions>button:not(.primary-button){border:1px solid var(--line);background:var(--surface);border-radius:8px;min-height:38px;padding:0 14px}@media (width<=900px){.integration-search{margin:8px -16px 20px;padding:12px 16px;top:-24px}.integration-own,.integration-waiting{flex-direction:column;align-items:flex-start}.integration-paste-row{flex-wrap:wrap}.integration-paste-row input{flex-basis:100%;font-size:16px}.integration-query input,.integration-form input,.integration-form select{font-size:16px}}.integration-dialog .shell-icon-button:hover{background:var(--field-2)}.integration-paste-row .integration-primary{border-radius:8px;min-height:38px;padding:0 16px}.integration-steps{gap:10px;margin:2px 0;padding:0;list-style:none;display:grid}.integration-steps li{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;display:grid}.integration-steps li>span{border:1px solid var(--line);background:var(--surface);width:24px;height:24px;color:var(--muted);border-radius:50%;place-items:center;font-size:12px;font-weight:600;display:grid}.integration-steps li p{color:var(--ink);margin:2px 0 0;line-height:1.55}.integration-steps li[data-state=now]>span{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.integration-note{font-size:12.5px}.integration-note a{color:var(--accent-ink)}.integration-dialog-error{border:1px solid var(--warn-line);background:var(--warn-field);color:var(--warn);border-radius:8px;margin:0 0 12px;padding:10px 12px;font-size:13px;line-height:1.5}.integration-pending{color:var(--muted);align-items:center;gap:10px;display:flex}.integration-pending span{border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;flex:none;width:14px;height:14px;animation:.8s linear infinite integration-spin}@keyframes integration-spin{to{transform:rotate(360deg)}}.integration-paste{border:1px solid var(--line);background:var(--paper);border-radius:10px;gap:8px;padding:14px;display:grid}.integration-paste p{font-size:12.5px}.integration-addressbar{border:1.5px solid var(--accent);background:var(--surface);min-width:0;font-family:var(--mono);color:var(--ink);border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.integration-addressbar .icon{width:13px;height:13px;color:var(--muted)}.integration-addressbar span{text-overflow:ellipsis;white-space:nowrap;background:#b4d5fe;overflow:hidden}.integration-paste-row input{border-color:var(--line)}.integration-form-actions>a{color:var(--accent-ink);align-self:center;margin-right:auto;font-size:13px}.integration-done{justify-items:start;gap:12px;display:grid}.integration-done>span{background:var(--ok-field);width:36px;height:36px;color:var(--ok);border-radius:50%;place-items:center;display:grid}.integration-done p{margin:0;line-height:1.6}.integration-done .integration-form-actions{justify-self:stretch}@media (prefers-reduced-motion:reduce){.integration-pending span{animation-duration:2.4s}}.integration-logo{border:1px solid var(--line);background:#fff;border-radius:8px;flex:none;place-items:center;width:32px;height:32px;padding:5px;display:grid}.integration-logo img{object-fit:contain;width:100%;height:100%}.integration-logo.is-large,.integration-glyph.is-large{border-radius:12px;width:56px;height:56px;font-size:18px}.integration-logo.is-large{padding:9px}.integration-card-open{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:14px;padding:0;display:flex}.integration-card:not(.is-available) .integration-card-open{flex-direction:column;align-items:stretch;gap:12px}.integration-card-open:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:8px}.integration-card-open .integration-text strong{-webkit-text-decoration:underline #0000;text-decoration:underline #0000;transition:text-decoration-color .15s}.integration-card-open:hover .integration-text strong{text-decoration-color:currentColor}.integration-others{color:var(--accent-ink)!important}.integration-later{max-width:110px}.integration-page{gap:24px;max-width:720px;display:grid}.integration-back{color:var(--muted);background:0 0;border:0;justify-self:start;align-items:center;gap:6px;padding:6px 0;font-size:13px;display:inline-flex}.integration-back:hover{color:var(--ink)}.integration-page-head{align-items:flex-start;gap:18px;display:flex}.integration-page-head h2{margin:2px 0 6px;font-size:26px}.integration-page-head p:not(.eyebrow){color:var(--muted);margin:0 0 8px;line-height:1.6}.integration-page-head a{color:var(--accent-ink);font-size:13.5px;font-weight:600}.integration-page-action{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.integration-page-action>span:first-child{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.integration-page-action .integration-actions{margin-top:0}.integration-page-action .integration-later{text-align:left;max-width:none}.integration-page section{gap:8px;display:grid}.integration-page h3{margin:0;font-size:15px}.integration-doc{color:var(--ink);line-height:1.65}.integration-who{gap:8px;margin:0;padding:0;list-style:none;display:grid}.integration-who li{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:12px 14px;display:flex}.integration-who small{color:var(--muted);flex-basis:100%;font-size:12.5px}@media (width<=900px){.integration-page{gap:20px}.integration-page-head{gap:14px}.integration-page-head h2{font-size:22px}.integration-page-action{flex-direction:column;align-items:stretch}.integration-page-action .primary-button{width:100%}}.approval-link{gap:8px;display:grid}.approval-link input{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:38px;color:var(--ink);font-family:var(--mono);border-radius:8px;padding:8px 11px;font-size:12px}.approval-link .integration-form-actions{margin-top:0}.approval-help{gap:10px;display:grid}.approval-help summary{color:var(--accent-ink);cursor:pointer;font-size:13px;font-weight:600}.approval-help p{margin:0;font-size:12.5px;line-height:1.5}.account-add{border:1.5px dashed var(--dash);color:var(--accent-ink);background:0 0;border-radius:10px;justify-self:start;padding:9px 14px;font-size:13px;font-weight:600}.account-add:hover:not(:disabled){border-color:var(--accent)}.account-rows{gap:8px;display:grid}.account-rows .integration-page-action{padding:12px 16px}.account-request .key-head .integration-logo{margin-top:1px}.account-request-logos{flex:none;gap:4px;display:flex}.account-request-row .primary-button{flex:1 1 0}.account-request-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-request-row input{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:38px;color:var(--ink);border-radius:8px;flex:200px;padding:8px 11px}.account-request .link{color:var(--muted);background:0 0;border:0;padding:6px 4px;font-size:12.5px;text-decoration:underline}.account-request .link:hover{color:var(--ink)}.account-request .integration-pending{flex-wrap:wrap;margin:0;font-size:13px}.account-request .integration-pending a{color:var(--accent-ink);font-weight:600}.at-name-line{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 0;font-size:13px;display:flex}.at-name-line code{background:var(--field-2);color:var(--ink);font-family:var(--mono);border-radius:6px;padding:2px 7px;font-size:13px}.at-name-line span{min-width:0}.at-name-line label{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--ink);border-radius:7px;align-items:center;gap:2px;padding:0 8px;display:inline-flex}.at-name-line input{width:14ch;color:var(--ink);background:0 0;border:0;outline:none;font-size:14px}.at-name-line .secondary-button{min-height:34px;font-size:13px}.at-name-error{color:var(--warn);flex-basis:100%}.at-name-line.is-compact{margin-top:4px;font-size:12px}.at-name-line.is-compact code{padding:1px 6px;font-size:12px}.integration-page-action .at-name-line{flex-basis:100%;margin:0}.integration-text .at-name-chip{background:var(--field-2);color:var(--ink);font-family:var(--mono);border-radius:6px;align-self:flex-start;padding:1px 6px;font-size:12px}@media (width<=900px){.at-name-line input{font-size:16px}.account-request-row .primary-button{flex:40%}.approval-link input{font-size:16px}}.settings-frame{flex:1;min-height:0;display:flex}.settings-frame>.settings-workspace{flex:1}.app-shell.is-settings .shell-sidebar{display:none}.settings-nav{background:var(--paper);border-right:1px solid var(--line);flex-direction:column;flex:none;gap:2px;width:220px;min-height:0;padding:24px 14px;display:flex;overflow-y:auto}.settings-nav-head{padding:0 10px 14px}.settings-back{width:100%;min-height:36px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;margin-bottom:14px;padding:6px 10px;font-size:13.5px;font-weight:500;display:flex}.settings-back:hover{background:var(--surface)}.settings-back .icon{width:16px;height:16px}.settings-nav-head h2{letter-spacing:-.02em;margin:0;font-size:17px;font-weight:700;line-height:1.3}.settings-nav-head p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12px;overflow:hidden}.settings-nav-list{flex-direction:column;gap:2px;display:flex}.settings-nav-item{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;padding:9px 10px;font-size:14px;line-height:1.4;display:block}.settings-nav-item:hover{background:var(--surface)}.settings-nav-item[aria-current]{background:var(--surface);font-weight:600;box-shadow:0 1px 2px #30251b12}.settings-nav-group{font-family:var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:18px 0 0;padding:0 10px 6px;font-size:11px;font-weight:600;line-height:1.6}.settings-nav-toggle{display:none}.settings-note{color:var(--muted);margin:0 0 16px;font-size:12.5px;line-height:1.6}.secondary-button{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:0 16px;font-weight:600;display:inline-flex}.secondary-button:hover:not(:disabled){border-color:var(--ink)}.settings-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.settings-actions button{border-radius:10px;min-height:44px;padding:10px 20px}.settings-actions p{color:var(--accent-ink);margin:0 0 0 4px;font-size:12.5px}.settings-switch{background:var(--avatar);width:40px;height:22px;transition:background .2s var(--ease-out);border:0;border-radius:99px;flex:none;align-items:center;padding:2px;display:flex}.settings-switch span{width:18px;height:18px;transition:transform .2s var(--ease-out);background:#fff;border-radius:50%;box-shadow:0 1px 2px #30251b33}.settings-switch[aria-checked=true]{background:var(--accent)}.settings-switch[aria-checked=true] span{transform:translate(18px)}.settings-toggle-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,280px) auto;align-items:start;gap:24px;padding:24px 0;display:grid}.settings-toggle-row strong{font-weight:600}.settings-toggle-row p{color:var(--muted);margin:3px 0 0;font-size:12.5px;line-height:1.5}.level-card-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.level-card{cursor:pointer;min-width:0;display:block;position:relative}.level-card>input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.level-card>input:disabled{cursor:default}.level-card-body{border:1px solid var(--line);background:var(--surface);height:100%;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;flex-direction:column;padding:20px;display:flex}.level-card>input:enabled:hover+.level-card-body{border-color:var(--ink)}.level-card>input:checked+.level-card-body{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink), var(--paper-shadow)}.level-card>input:focus-visible+.level-card-body{outline:3px solid var(--accent);outline-offset:3px}.level-card-top{justify-content:space-between;align-items:center;gap:8px;min-height:22px;display:flex}.level-badge{background:var(--field-3);color:var(--accent-ink);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:700;line-height:1.5}.level-index{font-family:var(--mono);color:var(--muted);font-size:10.5px;line-height:1.5}.level-dot{border:1.5px solid var(--dash);background:var(--surface);border-radius:50%;flex:none;width:16px;height:16px}input:checked+* .level-dot{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px var(--surface)}.level-name{font-family:var(--display);letter-spacing:-.025em;margin-top:14px;font-size:22px;font-weight:700;line-height:1.2}.level-about{flex-direction:column;flex:1;display:flex}.level-description{min-height:78px;color:var(--muted);margin-top:6px;font-size:13px;line-height:1.5}.level-meters{gap:6px;margin-top:14px;display:grid}.level-meter{color:var(--muted);grid-template-columns:34px 1fr;align-items:center;gap:10px;font-size:11px;line-height:1.4;display:grid}.level-dots{gap:3px;display:flex}.level-dots i{background:var(--line);border-radius:50%;width:7px;height:7px}.level-dots i.is-on{background:var(--accent)}.level-fit{border-top:1px solid var(--line);color:var(--muted);margin-top:14px;padding-top:12px;font-size:12px;line-height:1.5}.level-tech{font-family:var(--mono);color:var(--muted);overflow-wrap:anywhere;margin-top:10px;font-size:11px;line-height:1.5}.level-tech-toggle{justify-content:flex-end;margin:10px 0 28px;display:flex}.level-tech-toggle .link{color:var(--muted);text-underline-offset:3px;font-size:12px}.level-tech-toggle .link:hover{color:var(--ink)}@media (width<=900px){.settings-frame{flex-direction:column}.settings-frame>.settings-workspace{max-width:none}.app-shell.is-settings .shell-sidebar{display:flex}.settings-nav{border-right:0;border-bottom:1px solid var(--line);width:auto;padding:10px 16px;overflow:visible}.settings-nav-head{display:none}.settings-back{min-height:44px;margin-bottom:6px}.settings-nav-toggle{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;font-weight:600;display:flex}.settings-nav-toggle .icon{width:16px;height:16px;transition:transform .15s var(--ease-out);transform:rotate(90deg)}.settings-nav-toggle[aria-expanded=true] .icon{transform:rotate(-90deg)}.settings-nav-list{padding-top:8px;display:none}.settings-nav-list.is-open{display:flex}.settings-nav-group{margin-top:12px}.level-description{min-height:0}.settings-toggle-row{grid-template-columns:minmax(0,1fr) auto}}@media (prefers-reduced-motion:reduce){.level-card-body,.settings-switch,.settings-switch span,.settings-nav-toggle .icon{transition:none}}.billing-current{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:18px 20px;display:flex}.billing-current strong{font-family:var(--display);letter-spacing:-.025em;margin-top:4px;font-size:22px;line-height:1.2;display:block}.billing-current-status{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.5;display:block}.billing-plans{margin-bottom:16px}.billing-plan.is-mine{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink), var(--paper-shadow)}.billing-price{font-family:var(--display);margin-top:6px;font-size:20px;font-weight:700;line-height:1.3}.billing-price small{font-family:var(--body);color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}.billing-plan .level-description{flex:1;min-height:0}.billing-plan button{width:100%;margin-top:16px}.billing-per-month{color:var(--muted);margin-top:2px;font-size:12.5px}.billing-features{border-top:1px solid var(--line);flex:1;gap:7px;margin:14px 0 0;padding:14px 0 0;font-size:13px;line-height:1.45;list-style:none;display:grid}.billing-features li{padding-left:20px;position:relative}.billing-features li:before{content:"";border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);width:9px;height:5px;position:absolute;top:.35em;left:2px;transform:rotate(-45deg)}.billing-interval{border:1px solid var(--line);background:var(--surface);border-radius:999px;gap:4px;margin-bottom:16px;padding:4px;display:inline-flex}.billing-interval button{min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 16px;font-size:13.5px;font-weight:600}.billing-interval button[aria-checked=true]{background:var(--ink);color:#fff}.billing-interval button span{opacity:.85;margin-left:6px;font-size:12px;font-weight:400}.billing-note{margin-top:4px}.seat-actions{flex-wrap:wrap;gap:8px;display:flex;margin-top:10px!important}.rail-add{border-style:dashed;border-color:var(--dash);color:var(--muted);background:0 0}.rail-add .icon{width:16px;height:16px}.rail-add:hover{color:var(--ink)}.rail-add[aria-current]{border-style:solid;border-color:var(--accent);color:var(--accent-ink);box-shadow:none;background:0 0}.settings-agent{align-items:center;margin-top:2px;display:flex;position:relative}.settings-agent select{width:100%;min-height:28px;color:var(--muted);appearance:none;cursor:pointer;text-overflow:ellipsis;background:0 0;border:0;padding:2px 22px 2px 0;font-size:12.5px}.settings-agent select:hover{color:var(--ink)}.settings-agent .icon{width:13px;height:13px;color:var(--muted);pointer-events:none;position:absolute;right:2px;transform:rotate(90deg)}.agent-fields{border:0;gap:24px;min-width:0;max-width:640px;margin:0 0 8px;padding:0;display:grid}.agent-field{gap:7px;font-size:13.5px;font-weight:600;display:grid}.agent-field>input,.agent-field textarea,.agent-suggestions input{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:10px;padding:10px 12px;font-size:14.5px;font-weight:400;line-height:1.55}.agent-field textarea{resize:vertical;min-height:220px;font-size:13.5px;line-height:1.6}.agent-field small{color:var(--muted);font-size:12.5px;font-weight:400;line-height:1.5}.agent-fields :disabled{background:var(--paper);color:var(--muted)}.agent-name{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:12px;padding:0 14px 0 10px;display:flex}.agent-name:focus-within{outline:3px solid var(--accent);outline-offset:3px}.agent-name:has(input:disabled){background:var(--paper)}.agent-name input{min-width:0;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:12px 0;font-size:15px;font-weight:400}.agent-initial{background:var(--accent);width:30px;height:30px;color:var(--on-accent);font-family:var(--display);border-radius:9px;flex:none;place-items:center;font-weight:700;line-height:1;display:grid}.agent-choice-group{border:0;min-width:0;margin:0;padding:0}.agent-choice-group legend{margin-bottom:8px;padding:0;font-size:13.5px;font-weight:600}.agent-choices{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.agent-choice{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;display:flex}.agent-choice:hover{border-color:var(--ink)}.agent-choice:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.agent-choice:has(input:disabled){cursor:default}.agent-choice input{width:16px;height:16px;accent-color:var(--accent);flex:none;margin:3px 0 0}.agent-choice span{gap:2px;display:grid}.agent-choice strong{font-weight:600}.agent-choice small{color:var(--muted);font-size:12.5px;line-height:1.5}.agent-suggestions{gap:8px;display:grid}.agent-people{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.agent-people label{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;align-items:center;gap:10px;min-height:40px;padding:6px 10px;display:flex}.agent-people label:has(input:checked){border-color:var(--ink)}.agent-people input{accent-color:var(--accent)}.agent-tools{margin-bottom:8px}.agent-section-title,.agent-step h3{margin:32px 0 12px;font-size:16px;font-weight:700}.agent-step h3:first-child{margin-top:0}.agent-step .agent-choice-group{margin-top:28px}.agent-wizard{max-width:1040px}.agent-wizard h2[tabindex="-1"]:focus-visible{outline:none}.agent-steps{color:var(--muted);flex-wrap:wrap;gap:8px 28px;margin:-8px 0 32px;padding:0;font-size:13px;font-weight:600;list-style:none;display:flex}.agent-steps li{gap:1px;display:grid}.agent-steps li span{letter-spacing:.08em;text-transform:uppercase;font-size:11px}.agent-steps li.is-done,.agent-steps li.is-current{color:var(--ink)}.agent-steps li.is-current span{color:var(--accent-ink)}.agent-roles{border:0;min-width:0;margin:0 0 32px;padding:0}.agent-role-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.agent-role{cursor:pointer;min-width:0;display:block;position:relative}.agent-role>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.agent-role-body{border:1px solid var(--line);background:var(--surface);height:100%;min-height:150px;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;flex-direction:column;gap:6px;padding:18px;display:flex}.agent-role-body strong{font-family:var(--display);letter-spacing:-.02em;font-size:1.2rem;font-weight:700;line-height:1.2}.agent-role-body>span:last-child{color:var(--muted);font-size:13px;line-height:1.5}.agent-role.is-own .agent-role-body{border-style:dashed;border-color:var(--dash);background:0 0}.agent-role>input:hover+.agent-role-body{border-color:var(--ink)}.agent-role>input:checked+.agent-role-body{border-style:solid;border-color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--ink), var(--paper-shadow)}.agent-role>input:focus-visible+.agent-role-body{outline:3px solid var(--accent);outline-offset:3px}.agent-actions{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}.agent-actions .link{color:var(--muted);margin-left:4px}.agent-wizard-tools{flex-direction:column;flex:1;min-height:0;display:flex}.agent-wizard-tools>.settings-workspace{flex:1}.agent-wizard-bar{border-bottom:1px solid var(--line);background:var(--ok-field);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 48px;font-size:13.5px;display:flex}.agent-wizard-bar p{margin:0}.agent-remove{border:1px solid var(--warn-line);border-radius:12px;max-width:640px;margin-top:48px;padding:20px}.agent-remove h3{margin:0 0 6px;font-size:15px}.agent-remove p{color:var(--muted);margin:0 0 14px;font-size:13px;line-height:1.6}.agent-remove-confirm{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.agent-remove-confirm label{color:var(--muted);flex:220px;gap:6px;font-size:12.5px;display:grid}.agent-remove-confirm input{border:1px solid var(--line);background:var(--paper);min-height:38px;color:var(--ink);border-radius:8px;padding:8px 11px}.agent-remove-confirm .destroy{border-radius:8px;min-height:38px;padding:0 16px}.agent-remove-confirm .destroy:disabled{opacity:.45}@media (width<=900px){.agent-field>input,.agent-field textarea,.agent-suggestions input,.agent-name input,.agent-remove-confirm input{font-size:16px}.agent-wizard-bar{padding:12px 16px}}@media (prefers-reduced-motion:reduce){.agent-role-body{transition:none}}.agent-look{border:1px solid var(--line);border-radius:var(--corner);background:var(--surface);grid-template-columns:252px minmax(0,1fr);gap:28px;margin:0 0 28px;padding:18px;display:grid}.agent-look-stage{background:radial-gradient(120% 90% at 50% 0%, var(--surface) 0%, var(--paper) 72%);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;align-self:start;justify-items:center;gap:16px;padding:26px 14px 16px;display:grid;position:sticky;top:16px}.agent-look-hero{border-radius:34px;width:128px;height:128px}.agent-look-try{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.agent-look-try button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:5px 11px;font-size:12.5px}.agent-look-try button:hover{border-color:var(--ink);color:var(--ink)}.agent-look-try button[aria-pressed=true]{border-color:var(--ink);color:var(--ink);font-weight:600}.agent-look-places{border-top:1px dashed var(--line);justify-content:center;align-items:flex-end;gap:16px;width:100%;margin:2px 0 0;padding:14px 0 0;list-style:none;display:flex}.agent-look-places li{color:var(--muted);justify-items:center;gap:6px;font-size:11px;display:grid}.agent-look-place.is-40{border-radius:12px;width:40px;height:40px}.agent-look-place.is-36{border-radius:10px;width:36px;height:36px}.agent-look-place.is-22{border-radius:6px;width:22px;height:22px}.agent-look-place.is-18{border-radius:50%;width:18px;height:18px}.agent-look-choices{align-content:start;gap:22px;min-width:0;display:grid}.agent-look-head h3{font-family:var(--body);letter-spacing:0;margin:0;font-size:14px;font-weight:600}.agent-look-head p{max-width:560px;color:var(--muted);margin:2px 0 0;font-size:13px;line-height:1.55}.agent-look-head .agent-look-saved{color:var(--ok);align-items:center;gap:5px;font-weight:600;display:inline-flex}.agent-look-saved .icon{width:14px;height:14px}.agent-look-group{border:0;min-width:0;margin:0;padding:0}.agent-look-group legend{margin-bottom:10px;padding:0;font-size:13.5px;font-weight:600}.agent-look-card,.agent-look-colour,.agent-look-shape{cursor:pointer;display:block;position:relative}.agent-look-card>input,.agent-look-colour>input,.agent-look-shape>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.agent-look-group:disabled label{cursor:default}.agent-look input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}.agent-look-personalities{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;display:grid}.agent-look-card>span{border:1px solid var(--line);background:var(--surface);text-align:center;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);border-radius:12px;justify-items:center;gap:1px;padding:12px 6px 10px;display:grid}.agent-look-card-face{border-radius:12px;width:44px;height:44px;margin-bottom:7px}.agent-look-card strong{font-family:var(--display);letter-spacing:-.01em;font-size:14px;font-weight:700}.agent-look-card small{color:var(--muted);font-size:12px}.agent-look-card>input:enabled:hover+span,.agent-look-shape>input:enabled:hover+span{border-color:var(--ink)}.agent-look-card>input:checked+span,.agent-look-shape>input:checked+span{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.agent-look-colours{flex-wrap:wrap;gap:10px;display:flex}.agent-look-colour>span{border-radius:50%;width:34px;height:34px;display:block;box-shadow:0 1px 2px #30251b2e}.agent-look-colour>span.is-light{box-shadow:inset 0 0 0 1px #3b2a1d24,0 1px 2px #30251b2e}.agent-look-colour>input:checked+span{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--ink)}.agent-look-shapes{flex-wrap:wrap;gap:8px;display:flex}.agent-look-shape>span{border:1px solid var(--line);background:var(--surface);border-radius:13px;place-items:center;padding:5px;display:grid}.agent-look-shape-face{border-radius:10px;width:44px;height:44px}.agent-look-photo h4{margin:0;font-size:13.5px;font-weight:600}.agent-look-photo p{max-width:560px;color:var(--muted);margin:2px 0 0;font-size:13px;line-height:1.55}.agent-role-face{border-radius:12px;width:44px;height:44px;margin-bottom:8px}@media (width<=900px){.agent-look{grid-template-columns:minmax(0,1fr);gap:20px;padding:14px}.agent-look-stage{position:static}.agent-look-try button{min-height:40px;padding:0 14px}.agent-look-personalities{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-look-colour>span{width:40px;height:40px}}@media (width<=420px){.agent-look-personalities{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.agent-look-card>span{transition:none}}.credits{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:20px;margin-top:28px;padding:24px;display:grid}.credits .eyebrow{margin:0 0 6px}.credits h3{margin:0;font-size:1.15rem;font-weight:600}.credits h3 strong{letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-right:6px;font-size:2rem;font-weight:700}.credits-summary .hint{margin:6px 0 0;line-height:1.5}.credits .settings-message{margin:0}.credits-figure{font-variant-numeric:tabular-nums;white-space:nowrap}.credits-plan{gap:8px;display:grid}.credits-plan .hint{margin:0}.credits-plan-top{justify-content:space-between;gap:12px;font-size:13.5px;display:flex}.credits-track,.credits-bar{background:var(--field);border-radius:4px;height:8px;display:block;overflow:hidden}.credits-track>span,.credits-bar>span{background:var(--accent);border-radius:4px;height:100%;display:block}.credits-lots{border-top:1px solid var(--line);gap:0;margin:0;padding:0;list-style:none;display:grid}.credits-lots li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 0;display:grid}.credits-lots .hint{grid-column:1/-1}.credits-lot-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.credits-months h4{margin:0 0 10px;font-size:13.5px;font-weight:600}.credits-months ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.credits-months li{grid-template-columns:4.5em minmax(0,1fr) 5.5em;align-items:center;gap:12px;font-size:13px;display:grid}.credits-months .credits-figure{text-align:right;color:var(--muted)}.credits-explain summary{cursor:pointer;align-items:center;min-height:44px;font-size:13.5px;font-weight:600;display:flex}.credits-explain dl{gap:6px;margin:4px 0 12px;display:grid}.credits-explain dl>div{justify-content:space-between;gap:12px;font-size:13.5px;display:flex}.credits-explain dt{color:var(--muted)}.credits-explain dd{white-space:nowrap;margin:0}.credits-explain .hint{margin:0;line-height:1.55}@media (width<=900px){.credits{padding:18px 16px}.credits h3 strong{font-size:1.7rem}}.credits-topup h4{margin:0 0 4px;font-size:13.5px;font-weight:600}.credits-topup .hint{margin:0 0 12px}.credits-packs{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.credits-packs button{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;min-height:60px;padding:10px 14px}.credits-packs button span{font-size:12.5px;font-weight:400}.key-list{gap:10px;max-width:760px;margin:0;padding:0;list-style:none;display:grid}.key-row{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:12px;padding:16px 18px;display:grid}.key-row.is-waiting{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.key-head{align-items:flex-start;gap:12px;min-width:0;display:flex}.key-glyph{background:var(--field-3);width:32px;height:32px;color:var(--accent-ink);border-radius:8px;flex:none;place-items:center;display:grid}.key-glyph .icon{width:17px;height:17px}.key-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.key-text strong{font-weight:600}.key-text code{background:var(--field-2);max-width:100%;font-family:var(--mono);overflow-wrap:anywhere;border-radius:5px;align-self:flex-start;padding:1px 6px;font-size:13px;font-weight:500}.key-text small{color:var(--muted);overflow-wrap:anywhere;font-size:12.5px;line-height:1.5}.key-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.key-actions .secondary-button{min-height:36px;font-size:13px}.key-value{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.key-value label{flex:220px;min-width:0;display:flex}.key-value input{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--ink);font-family:var(--mono);border-radius:10px;padding:8px 12px;font-size:14px}.key-value input:focus-visible{outline:2px solid var(--ink);outline-offset:-1px}.key-value button{border-radius:10px;min-height:44px;padding:0 18px}.key-new{max-width:640px}.key-tip{max-width:640px;margin-top:28px}.key-tip code,.key-list code{font-family:var(--mono)}.key-request{border:1px solid var(--accent);border-radius:var(--corner);background:var(--surface);box-shadow:var(--paper-shadow);gap:12px;margin-top:20px;padding:16px 18px;display:grid}.key-fine{color:var(--muted);align-items:flex-start;gap:6px;margin:0;font-size:12.5px;line-height:1.5;display:flex}.key-fine .icon{flex:none;width:14px;height:14px;margin-top:2px}.key-error{color:var(--warn);margin:0;font-size:13px}@media (width<=600px){.key-value button{flex:1}.key-actions .secondary-button,.key-actions .link{min-height:44px}}.skills-page{max-width:880px}.skills-activity ol{gap:2px;margin:0;padding:0;list-style:none;display:grid}.skills-activity li{grid-template-columns:auto 1fr auto;align-items:baseline;gap:10px;padding:7px 0;font-size:13.5px;line-height:1.5;display:grid}.skills-activity li+li{border-top:1px solid var(--line)}.skills-activity time{color:var(--muted);white-space:nowrap;font-size:12px}.skills-activity-dot{background:var(--dash);border-radius:50%;width:7px;height:7px;transform:translateY(-1px)}.skills-activity li.is-new .skills-activity-dot{background:var(--accent);box-shadow:0 0 0 4px var(--field-3)}.skills-activity .link,.learned-note .link{color:var(--accent-ink);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.skill-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.skill-row{border:1px solid var(--line);background:var(--surface);transition:border-color .6s var(--ease-out), box-shadow .6s var(--ease-out);border-radius:12px}.skill-row.is-fresh{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.skill-row.is-off .skill-text strong,.skill-row.is-off .skill-glyph{opacity:.55}.skill-head{width:100%;min-height:64px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.skill-head:hover{background:var(--paper)}.skill-head>.icon{width:16px;height:16px;color:var(--muted);transition:transform .15s var(--ease-out);flex:none;margin-top:8px}.skill-head[aria-expanded=true]>.icon{transform:rotate(90deg)}.skill-glyph{background:var(--field-3);width:32px;height:32px;color:var(--accent-ink);border-radius:8px;flex:none;place-items:center;display:grid}.skill-glyph .icon{width:17px;height:17px}.skill-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.skill-text strong{overflow-wrap:anywhere;font-weight:600}.skill-text small{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.5}.skill-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:4px;font-size:12px;display:flex}.skill-badge{background:var(--field-3);color:var(--accent-ink);letter-spacing:.08em;text-transform:uppercase;border-radius:4px;padding:2px 7px;font-size:10px;font-weight:700}.skill-badge.is-live{background:var(--accent);color:var(--on-accent)}.skill-badge.is-muted{background:var(--field-2);color:var(--muted)}.skill-need{background:var(--ok-field);color:var(--ok);font-family:var(--mono);border-radius:5px;padding:1px 6px;font-size:11.5px}.skill-need.is-missing{background:var(--warn-field);color:var(--warn)}.skill-detail{gap:14px;padding:0 18px 18px 62px;display:grid}.skill-body{border:1px solid var(--line);background:var(--paper);border-radius:10px;max-height:520px;padding:14px 16px;font-size:14px;position:relative;overflow-y:auto}.skill-actions{flex-wrap:wrap;gap:8px;display:flex}.skill-actions .secondary-button{gap:7px;min-height:38px;font-size:13px}.skill-actions .icon{width:15px;height:15px}.skill-history-title{margin:6px 0 0;font-size:14px;font-weight:700}.skill-history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.skill-history-line{flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px;line-height:1.5;display:flex}.skill-history-line time{color:var(--muted);font-size:12px}.skill-history-line .link{margin-left:auto;font-size:12.5px}.skill-diff{margin:6px 0 0}.skill-diff figcaption{font-family:var(--mono);color:var(--muted);margin:0 0 4px;font-size:11.5px}.skill-diff pre{border:1px solid var(--line);background:var(--surface);max-height:360px;font-family:var(--mono);border-radius:8px;margin:0;padding:8px 0;font-size:12px;line-height:1.55;overflow:auto}.skill-diff pre span{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 10px;display:block}.skill-diff .is-add{background:var(--ok-field);color:var(--ok)}.skill-diff .is-del{background:var(--warn-field);color:var(--warn);-webkit-text-decoration:line-through #94591a55;text-decoration:line-through #94591a55}.skill-diff .is-gap{color:var(--muted)}.skills-empty{border:1.5px dashed var(--dash);border-radius:12px;justify-items:start;gap:14px;padding:20px;display:grid}.skills-empty p{color:var(--muted);margin:0;line-height:1.6}.skills-shipped{margin-top:24px}.learned-note{color:var(--muted);align-items:flex-start;gap:7px;margin:10px 0 0;font-size:13px;line-height:1.5;display:flex}.learned-note .icon{width:15px;height:15px;color:var(--accent-ink);flex:none;margin-top:2px}@media (width<=600px){.skill-head{padding:14px}.skill-detail{padding:0 14px 14px}.skill-body{max-height:none;overflow:visible}.skill-actions .secondary-button{flex:auto;min-height:44px}.skill-history-line .link{min-height:32px;margin-left:0}}@media (prefers-reduced-motion:reduce){.skill-row,.skill-head>.icon{transition:none}}.app-tip{border-bottom:1px solid var(--line);background:var(--field-3);flex:none;align-items:center;gap:10px;padding:8px 10px 8px 16px;font-size:13.5px;display:flex}.app-tip p{flex:1;min-width:0;margin:0}.app-tip .line-button{flex:none}.app-tip-away{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.app-tip-away:hover{background:var(--surface);color:var(--ink)}.app-tip-away .icon{width:16px;height:16px}.account-menu button span{text-align:left;display:grid}.account-menu button small{color:var(--muted);font-size:12px}.pause-choices{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.account-menu .pause-choices button{margin:0;padding:6px 9px;font-size:12.5px}.shell-item.is-muted:not(.is-unread) .shell-label,.shell-item.is-muted:not(.is-unread) .shell-hash{opacity:.55}.channel-bell{width:34px;height:34px;color:var(--muted)}.channel-bell.is-silent{color:var(--dash)}.channel-bell:hover{background:var(--field-2)}.notify-choice fieldset{gap:14px}.notify-choice>.check{border-top:1px solid var(--line);padding-top:14px}.notify-choice small{color:var(--muted);font-size:12.5px;line-height:1.45}.notify-choice-actions{justify-content:space-between}.notify-section{border-top:1px solid var(--line);padding:26px 0}.notify-section:first-of-type{border-top:0;padding-top:0}.notify-section>h3{margin:0 0 14px;font-size:17px;font-weight:700;line-height:1.3}.notify-section .settings-toggle-row:last-child{padding-bottom:0}.notify-device{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;padding:14px 16px;display:flex}.notify-device+.notify-device,.notify-device+.settings-note,.notify-howto+.settings-note{margin-top:10px}.notify-device p{align-items:center;gap:10px;margin:0;display:flex}.notify-state{background:var(--dash);border-radius:50%;flex:none;width:10px;height:10px}.notify-state.is-on{background:var(--ok-dot)}.notify-buttons{flex-wrap:wrap;gap:8px;display:flex}.notify-howto{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:14px 16px;line-height:1.55}.notify-howto p{margin:0 0 6px}.notify-howto ol{margin:0;padding-left:20px}.notify-levels{gap:8px;margin-bottom:8px;display:grid}.notify-level{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.notify-level:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.notify-level input{width:16px;height:16px;accent-color:var(--accent);flex:none;margin:2px 0 0}.notify-level span{gap:2px;display:grid}.notify-level strong{font-weight:600}.notify-level small{color:var(--muted);font-size:12.5px;line-height:1.5}.notify-words{gap:8px;max-width:560px;display:flex}.notify-words input{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:38px;font:inherit;border-radius:8px;flex:1;padding:0 12px}.notify-words input:focus{border-color:var(--ink);outline:none}.notify-schedule{flex-wrap:wrap;align-items:end;gap:14px;margin:0 0 18px;display:flex}.notify-days{flex-wrap:wrap;gap:6px;display:flex}.notify-days button{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:44px;min-height:36px;padding:0 8px;font-size:13px}.notify-days button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:#fff}.notify-schedule label{color:var(--muted);gap:4px;font-size:12.5px;display:grid}.notify-schedule input{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);font:inherit;border-radius:8px;padding:0 10px}.notify-pause{border-top:1px solid var(--line);gap:10px;padding-top:18px;display:grid}.notify-pause p{margin:0}.notify-pause>.line-button{justify-self:start}.notify-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.notify-list li{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.notify-list li>span{gap:2px;min-width:0;display:grid}.notify-list strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.notify-list em{background:var(--field-3);color:var(--accent-ink);letter-spacing:.08em;text-transform:uppercase;border-radius:4px;margin-left:8px;padding:2px 6px;font-size:10px;font-style:normal;font-weight:700}.notify-list small{color:var(--muted);font-size:12px}@media (width<=900px){.app-tip{padding:6px 6px 6px 14px;font-size:13px}.app-tip .line-button{min-height:36px;padding:0 12px;font-size:13px}.app-tip-away,.channel-bell{width:40px;height:40px}.notify-words{flex-direction:column}.notify-words input,.notify-days button,.notify-schedule input{min-height:44px}.account-menu .pause-choices button{min-height:40px}}.has-figure{background:var(--figure-tile);box-shadow:inset 0 0 0 1px var(--figure-edge);color:#0000;-webkit-tap-highlight-color:transparent;place-items:center;display:grid;position:relative;overflow:visible}.has-figure[data-bare]{box-shadow:none;background:0 0}.has-figure>.figure-art{pointer-events:none;width:100%;height:100%;display:block;overflow:visible}.rail-agent:has(>.has-figure){background:var(--surface);border-color:#0000}.rail-agent[aria-current]:has(>.has-figure){background:var(--surface);border-color:#0000}.rail-agent>.has-figure{border-radius:11px}.profile-face.has-figure{box-shadow:inset 0 0 0 1px var(--figure-edge), 0 1px 2px #30251b14}@property --figure-spin{syntax:"<angle>";inherits:false;initial-value:0deg}.is-agent.has-photo{display:grid;position:relative}.has-photo[data-state]>img{transition:filter .3s var(--ease-out), opacity .3s var(--ease-out)}.has-photo[data-state=sleeping]>img{filter:grayscale(.85);opacity:.8}.photo-state{z-index:1;pointer-events:none;position:absolute}.photo-state.is-thinking{background:var(--surface);border-radius:999px;gap:2px;padding:2px 3px;display:flex;bottom:2px;right:2px;box-shadow:0 0 0 1px #30251b1f}.photo-state.is-thinking>i{background:var(--accent);border-radius:50%;width:4px;height:4px;animation:1.2s infinite haien-pulse}.photo-state.is-thinking>i:nth-child(2){animation-delay:.2s}.photo-state.is-thinking>i:nth-child(3){animation-delay:.4s}.photo-state.is-working,.photo-state.is-done{border-radius:inherit;padding:3px;inset:0;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.photo-state.is-working{background:conic-gradient(from var(--figure-spin), transparent 0 30%, var(--accent) 100%);animation:1.25s linear infinite figure-spin}.photo-state.is-done{background:var(--accent);animation:figure-done 1.2s var(--ease-out) forwards}.agent-look-hero .photo-state.is-thinking,.profile-face .photo-state.is-thinking{gap:4px;padding:5px 7px;bottom:6px;right:6px}.agent-look-hero .photo-state.is-thinking>i,.profile-face .photo-state.is-thinking>i{width:8px;height:8px}.photo-state.is-attention{background:var(--accent);width:8px;height:8px;box-shadow:0 0 0 1.5px var(--surface);border-radius:50%;top:2px;right:2px}@keyframes figure-spin{to{--figure-spin:360deg}}@keyframes figure-done{0%{opacity:0}15%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.photo-state.is-thinking>i,.photo-state.is-working,.photo-state.is-done{animation:none}.photo-state.is-done{opacity:0}}.chat-empty-figure{border-radius:24px;width:88px;height:88px;margin-bottom:18px}@media (width<=900px){.chat-empty-figure{border-radius:20px;width:72px;height:72px;margin-bottom:14px}}.chat-empty-figure{justify-self:start;display:grid}@media (width>=901px){.chat-empty:has(>.chat-empty-figure)>.prompt-suggestions{grid-row:1/span 4}}.topbar-face{border-radius:9px;flex:none;width:30px;height:30px;margin-right:2px}.motion-choice{color:var(--muted);gap:6px;margin-top:12px;font-size:12.5px;display:grid}.motion-choice>div{border:1px solid var(--line);background:var(--paper);border-radius:9px;gap:2px;padding:2px;display:flex}.account-menu .motion-choice button{color:var(--muted);background:0 0;border:0;border-radius:7px;flex:1;justify-content:center;margin:0;padding:5px 0;font-size:12.5px}.account-menu .motion-choice button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line);font-weight:600}@media (width<=900px){.account-menu .motion-choice button{min-height:40px}}html[data-desktop] .app-topbar{cursor:default;-webkit-user-select:none;user-select:none;order:-1;grid-template-columns:80px minmax(0,1fr) 80px}html[data-desktop=windows] .app-topbar{grid-template-columns:148px minmax(0,1fr) 148px}.desktop-titlebar{display:none}html[data-desktop] .desktop-titlebar{background:var(--field);border-bottom:1px solid var(--line);-webkit-user-select:none;user-select:none;flex:none;order:-2;height:46px;display:block}html[data-desktop] .frame:has(>.app-topbar)>.desktop-titlebar{display:none}@media (width<=900px){html[data-desktop] .frame:has(>.app-topbar)>.desktop-titlebar{display:block}html[data-desktop] .app-sidebar{height:calc(var(--app-height,100dvh) - 46px);top:46px}html[data-desktop] .sidebar-scrim{top:46px}html[data-desktop] .channel-panel,html[data-desktop] .profile-scrim,html[data-desktop] .modal-scrim{height:calc(var(--app-height,100dvh) - 46px);top:46px}html[data-desktop] .modal{max-height:calc(var(--app-height,100dvh) - 78px)}}
