/* STRIX result artifacts: shared receipts, readable local work. */
.app-workspace .bt-result-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.app-workspace .bt-result-layout.has-artifact{grid-template-columns:minmax(300px,1fr) minmax(360px,1fr)}
.app-workspace .bt-result-layout>*{min-width:0}
.app-workspace .bt-say:has(.sx-result){align-items:flex-start}
.app-workspace .bt-say .cv-b:has(.sx-result){background:transparent;padding:0;max-width:calc(100% - 38px);width:min(100%,730px);white-space:normal;border-radius:18px}
.sx-result{--sx-ink:#17263c;--sx-muted:#576b81;--sx-line:#dce6ee;--sx-accent:#007eae;color:var(--sx-ink);background:#fff;border:1px solid var(--sx-line);border-radius:18px;overflow:hidden;box-shadow:0 6px 24px #112e4810;line-height:1.5;text-align:left}
.sx-result-head{display:flex;align-items:center;gap:12px;padding:18px 20px 14px}
.sx-result-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;background:#e9f6ff;color:#0076aa;border-radius:11px;font-size:18px;font-weight:650}
.sx-result-kicker{font-size:11px;font-weight:650;letter-spacing:.035em;color:#526c83;margin:0 0 3px}
.sx-result-title{font-size:21px;font-weight:670;letter-spacing:-.025em;line-height:1.2;margin:0;color:#142a42;text-wrap:balance}
.sx-result-meta{font-size:12px;color:var(--sx-muted);margin:5px 0 0;font-variant-numeric:tabular-nums}
.sx-result-count{margin-left:auto;font-size:11px;color:#345671;background:#f1f6fa;padding:5px 8px;border-radius:6px;white-space:nowrap}
.sx-result-lead{display:block;padding:17px 20px 19px;background:#f2f8fc;border-top:1px solid #e7f0f6;border-bottom:1px solid #e0ebf3;color:#17364e;text-decoration:none}
.sx-result-lead .sx-news-title{font-size:18px;line-height:1.4;letter-spacing:-.015em;font-weight:650}
.sx-news-publisher{display:block;font-size:11px;font-weight:650;color:#47718d;margin-bottom:6px;letter-spacing:.015em}
.sx-news-title{display:block;color:#19364d;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;text-wrap:pretty}
.sx-news-date{font-size:11px;color:#62788c;display:block;margin-top:7px;font-variant-numeric:tabular-nums}
.sx-news-list{list-style:none;margin:0;padding:0 20px}
.sx-news-row{display:block;margin:0;padding:13px 0;border-bottom:1px solid #e9eff4}
.sx-news-row:last-child{border-bottom:0}
.sx-news-row .sx-news-publisher{font-size:10px;margin-bottom:3px}
.sx-news-row .sx-news-date{margin-top:4px}
.sx-result a:not(.sx-btn):hover .sx-news-title,.sx-result a.sx-news-title:hover{text-decoration:underline;text-underline-offset:3px;color:#006b97}
.sx-result-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:12px 16px;border-top:1px solid #e7eef4}
.sx-btn{font:inherit;font-size:12px;font-weight:600;line-height:1.2;min-height:40px;padding:9px 11px;border:1px solid #d4e1eb;border-radius:9px;background:#fff;color:#2d536e;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;margin:0;box-shadow:none;white-space:normal}
.sx-btn.sx-btn-primary{background:#0b2c45;color:#fff;border-color:#0b2c45}
.sx-btn:hover{background:#edf6fc;border-color:#a8cadf;color:#164a6c}
.sx-btn.sx-btn-primary:hover{background:#144664;color:#fff;border-color:#144664}
.sx-btn:active{transform:translateY(1px)}
.sx-btn:focus-visible,.sx-result a:focus-visible,.sx-artifact a:focus-visible{outline:3px solid #00b2ff;outline-offset:3px}
.sx-btn:disabled{opacity:.55;cursor:wait;transform:none}
.sx-result-note{font-size:11px;color:#687d90;line-height:1.5;padding:0 20px 14px;margin:0;overflow-wrap:anywhere}
.sx-doc-preview{font-size:13px;color:#5b7083;line-height:1.65;padding:0 20px 20px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.sx-artifact{border:1px solid #cfdee9;background:#fff;border-radius:16px;box-shadow:0 8px 30px #15354d0b;min-width:0;overflow:hidden;position:sticky;top:18px}
.sx-artifact[hidden]{display:none!important}
.sx-artifact-head{display:flex;align-items:flex-start;gap:12px;padding:20px;border-bottom:1px solid #e2ebf2;background:#f7fafc}
.sx-artifact-title{margin:2px 0 0;font-size:21px;font-weight:650;letter-spacing:-.025em;line-height:1.25;color:#17354e;overflow-wrap:anywhere}
.sx-artifact-close{margin-left:auto;min-width:38px;min-height:38px;flex-shrink:0;font-size:13px}
.sx-artifact-actions{display:flex;gap:6px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid #e2ebf2}
.sx-artifact-body{padding:20px;max-height:clamp(330px,calc(100dvh - 430px),620px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b6c9d7 transparent;font-size:14px;line-height:1.75;color:#243d52}
.sx-artifact-body pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:transparent;border:0;padding:0;color:inherit}
.sx-artifact-body .sx-news-list{padding:0}
.sx-artifact-body .sx-news-row{padding:18px 0}
.sx-artifact-body .sx-news-row:first-child{padding-top:0}
.sx-artifact-body .sx-news-title{font-size:17px;line-height:1.4;letter-spacing:-.012em;margin-bottom:8px}
.sx-artifact-body .sx-news-publisher{font-size:11px}
.sx-artifact-body a{color:#006c9e;text-underline-offset:3px;overflow-wrap:anywhere}
.sx-artifact-status{padding:0 20px;font-size:12px;color:#236182;min-height:0;line-height:1.5}
.sx-artifact-status:not(:empty){padding:10px 20px;border-top:1px solid #e6eef4;background:#f1f8fc}
.sx-result [role=status]:not(:empty){font-size:12px;color:#236182;padding:0 20px 12px}
.sx-artifact .sx-result-note{padding:0;margin:12px 0 0}
@media(min-width:1500px){.app-workspace .bt-chat-first:has(.has-artifact){grid-template-columns:210px minmax(0,1fr);gap:20px}.app-workspace .bt-main:has(.has-artifact){padding:20px}}
@media(max-width:1190px){.app-workspace .bt-result-layout.has-artifact{grid-template-columns:minmax(0,1fr)}.sx-artifact{position:static}.sx-artifact-body{max-height:65dvh}.app-workspace .bt-result-layout.has-artifact>.sx-artifact{order:-1}}
@media(max-width:640px){.sx-result-head{padding:15px 15px 12px;gap:10px}.sx-result-title{font-size:19px}.sx-result-icon{width:34px;height:34px;border-radius:9px}.sx-result-count{font-size:10px;padding:4px 6px}.sx-result-lead{padding:15px}.sx-result-lead .sx-news-title{font-size:16px}.sx-news-list{padding:0 15px}.sx-news-row{padding:11px 0}.sx-result-actions{padding:10px;gap:6px}.sx-btn{min-height:44px;font-size:12px;padding:9px 10px}.sx-result-actions .sx-btn-primary{flex:1 1 100%}.sx-result-note{padding:0 15px 13px}.sx-doc-preview{padding:0 15px 16px}.sx-artifact-head{padding:16px}.sx-artifact-actions{padding:10px 14px}.sx-artifact-body{padding:16px;max-height:60dvh}.sx-artifact-title{font-size:19px}.app-workspace .bt-say .cv-b:has(.sx-result){max-width:calc(100% - 34px)}}
@media(prefers-reduced-motion:no-preference){.sx-btn,.sx-result a{transition:background-color .16s,color .16s,border-color .16s,transform .12s}.sx-artifact{animation:sx-artifact-in .18s ease-out}@keyframes sx-artifact-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
/* Document previews use escaped blocks; exports retain the original response. */
.sx-artifact-body :is(h3,h4,h5){color:#17354e;line-height:1.35;letter-spacing:-.015em;margin:22px 0 10px;font-weight:650}
.sx-artifact-body :is(h3,h4,h5):first-child{margin-top:0}
.sx-artifact-body h3{font-size:20px}.sx-artifact-body h4{font-size:17px}.sx-artifact-body h5{font-size:15px}
.sx-artifact-body p{margin:0 0 16px}.sx-artifact-body :is(ul,ol){padding-left:22px;margin:12px 0 20px}.sx-artifact-body li{padding-left:3px;margin:6px 0}
.sx-artifact-body pre:has(code){background:#f0f5f8;border:1px solid #dce7ef;border-radius:10px;padding:14px;font-size:12px;line-height:1.6;overflow:auto}
.sx-artifact-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

.sx-artifact-body h2{font-size:22px;line-height:1.35;color:#17354e;letter-spacing:-.02em;margin:0 0 18px}.sx-artifact-body h6{font-size:14px;line-height:1.4;color:#17354e;margin:20px 0 8px}
/* Artifact follow-ups stay with their selected result and remain local to the account view. */
.sx-artifact:has(.sx-artifact-chat){display:flex;flex-direction:column;max-height:calc(100dvh - 100px);min-height:440px}
.sx-artifact:has(.sx-artifact-chat)[hidden]{display:none!important}
.sx-artifact:has(.sx-artifact-chat) .sx-artifact-head,.sx-artifact:has(.sx-artifact-chat) .sx-artifact-actions,.sx-artifact:has(.sx-artifact-chat)>.sx-artifact-status{flex-shrink:0}
.sx-artifact:has(.sx-artifact-chat)>.sx-artifact-body{flex:1 1 180px;min-height:90px;max-height:none}
.sx-artifact-chat{border-top:1px solid #dce7ef;padding:13px 18px 14px;background:#f8fbfd;flex:0 0 auto;min-width:0}
.sx-artifact-chat h3{margin:0 0 9px;font-size:13px;line-height:1.4;font-weight:650;color:#234d68;letter-spacing:0}
.sx-artifact-thread{max-height:150px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7c9d6 transparent;display:grid;gap:8px;min-width:0}
.sx-artifact-thread:empty{display:none}
.sx-artifact-reply{padding:10px 12px;background:#fff;border:1px solid #e0eaf1;border-radius:10px;color:#29465d;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.sx-artifact-reply-user{background:#eaf5fd;border-color:#d8ebf9}
.sx-artifact-reply .sx-result-kicker{display:block;margin-bottom:3px;font-size:10px}
.sx-artifact-reply :is(p,ul,ol){margin:0 0 7px}.sx-artifact-reply :is(h2,h3,h4,h5,h6){font-size:14px;line-height:1.4;margin:8px 0 5px}.sx-artifact-reply pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere}
.sx-artifact-chat form{display:flex;gap:8px;align-items:flex-end;margin:10px 0 0}
.sx-artifact-chat label{flex:1;min-width:0;margin:0;font-size:0;line-height:0}
.sx-artifact-chat textarea{display:block;width:100%;min-height:62px;max-height:130px;resize:vertical;margin:0;padding:10px 11px;border:1px solid #c9dce9;background:#fff;border-radius:10px;color:#193b54;font:inherit;font-size:13px;line-height:1.5}
.sx-artifact-chat textarea:focus{outline:2px solid #00b2ff;outline-offset:1px;border-color:#00a5ed}
.sx-artifact-chat form>.sx-btn{min-height:44px;flex-shrink:0;font-size:12px}
.sx-artifact-chat-status{font-size:11px;line-height:1.45;color:#466982;margin:7px 0 0;min-height:0}.sx-artifact-chat-status:empty{display:none}
@media(max-width:1190px){.sx-artifact:has(.sx-artifact-chat){max-height:calc(100dvh - 32px);min-height:480px}}
@media(max-width:640px){.sx-artifact-chat{padding:12px 14px}.sx-artifact-chat form{align-items:stretch}.sx-artifact-chat form>.sx-btn{max-width:80px}.sx-artifact-thread{max-height:145px}.sx-artifact:has(.sx-artifact-chat){min-height:470px}.sx-artifact:has(.sx-artifact-chat)>.sx-artifact-body{min-height:100px}}
.sx-artifact-status{margin:0}.sx-artifact-thread{max-height:120px}.sx-artifact-sources{margin:8px 0 12px;border-top:1px solid #e3edf4}.sx-artifact-sources>summary{font-size:12px;font-weight:600;color:#37647f;cursor:pointer;padding:12px 0;min-height:44px;display:list-item;list-style-position:inside}.sx-artifact-sources[open]>summary{padding-bottom:4px}.sx-artifact-sources .sx-news-row{padding:12px 0}.sx-artifact-sources>summary:focus-visible{outline:3px solid #00b2ff;outline-offset:2px}

.sx-canva{max-width:730px}.sx-canva-preview{margin:0 20px 16px;padding:24px;background:#eef5fa;border-left:4px solid #00a9ec;border-radius:8px;color:#17354e}.sx-canva-heading{font-size:22px;font-weight:650;line-height:1.3;margin:0 0 10px;overflow-wrap:anywhere}.sx-canva-subheading{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}.sx-canva-state{font-size:13px;font-weight:600;margin:0 20px 8px;color:#315e79}@media(max-width:640px){.sx-canva-preview{padding:18px;margin:0 15px 14px}.sx-canva-heading{font-size:19px}.sx-canva .sx-result-actions .sx-btn{min-height:44px}}
