.chat-workspace{--chat-user-surface:#edf2fb;min-width:0}.chat-workspace :is(p,dd,td,th,h2,h3,a){overflow-wrap:anywhere}.chat-new{margin-bottom:24px}.chat-new h2{margin-bottom:8px}.chat-create-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:start;gap:20px;margin-top:24px}.chat-create-form>button{margin-top:30px}.chat-portfolio-picker{min-width:0}.chat-portfolio-picker .pagination{flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px}.chat-portfolio-picker .pagination button{min-height:44px;padding:8px;font-size:12px}.chat-conversations .section-heading{flex-wrap:wrap}.chat-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.chat-topline>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px}.chat-thread{min-width:0}.chat-thread-heading{margin-bottom:20px}.chat-thread-heading h2{margin-bottom:4px;font-size:20px}.chat-thread-heading p{margin:0}.chat-messages{display:grid;gap:20px;list-style:none;margin:0;padding:0}.chat-message{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:20px;font-size:14px;line-height:1.7}.chat-user{background:var(--chat-user-surface);margin-left:40px}.chat-assistant{margin-right:0}.chat-message-byline{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px}.chat-message-byline strong{font-size:13px;font-weight:600}.chat-message-byline time{font-size:12px;color:var(--muted)}.chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.chat-message-text+:is(section,a){margin-top:20px}.chat-context-facts,.chat-facts{margin:0}.chat-facts>div{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.chat-context-facts dt,.chat-facts dt{color:var(--muted);font-size:13px;font-weight:400}.chat-context-facts dd,.chat-facts dd{margin:0;font-size:14px;font-weight:500}.chat-confirmation h3{margin:16px 0 8px}.chat-confirmation>.chat-facts>div{padding-block:12px}.chat-risk-details{margin-top:12px;border-bottom:1px solid var(--line)}.chat-risk-details>summary{padding-block:12px}.chat-confirm-note{margin:20px 0}.chat-confirmation>.small{margin:12px 0 0}.chat-audit{border-top:1px solid var(--line);margin-top:20px;padding-top:4px}.chat-audit dl{margin:4px 0 0;display:grid;gap:12px}.chat-audit dt{color:var(--muted);font-size:12px}.chat-audit dd,.chat-audit>p{margin:4px 0 0;font-size:12px;overflow-wrap:anywhere}.chat-recommendation .chat-message-text{margin-bottom:24px}.chat-recommendation>.button{margin-top:24px}.chat-recommendation>.small{margin:12px 0 0}.chat-recommendation .allocation-chart{gap:16px}.chat-recommendation .allocation-donut{width:160px;height:160px}.chat-recommendation .allocation-donut>div{width:112px;height:112px}.chat-job{margin-top:20px;padding:16px 20px}.chat-job>p{margin:12px 0 0}.chat-job>button{margin-top:16px}.chat-composer{margin-top:20px;padding:20px}.chat-consent{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.chat-consent>label{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.chat-consent input[type=checkbox]{width:20px;height:20px;min-height:20px;min-width:20px;flex-shrink:0;accent-color:var(--green)}.chat-consent>p{margin:4px 0 0}.chat-composer-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.chat-composer label{font-size:13px}.chat-composer>label{margin-top:16px}.chat-composer textarea{display:block;resize:vertical;width:100%;max-width:100%;min-height:112px;max-height:400px;border:1px solid var(--control);border-radius:var(--radius-control);background:var(--white);color:var(--ink);padding:12px;margin-top:8px;font:inherit;font-size:16px;line-height:1.7}.chat-composer textarea::placeholder{color:var(--muted);opacity:1}.chat-composer textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.chat-composer textarea:disabled{background:var(--bg)}.chat-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.chat-composer-footer>p{margin:0}.chat-composer-footer button{flex-shrink:0;min-height:48px}.chat-pending{margin:20px 0 0}.chat-pending button{margin-top:12px}.chat-context{padding:20px}.chat-context-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:0;min-height:48px;color:var(--ink);list-style:none}.chat-context-summary::-webkit-details-marker{display:none}.chat-context-summary:after{content:"+";grid-column:2;grid-row:1/span 2;color:var(--green);font-size:20px;font-weight:500}.chat-context details[open]>.chat-context-summary:after{content:"−"}.chat-context-label{font-size:16px;font-weight:600}.chat-context-preview{grid-column:1;color:var(--muted);font-size:12px;font-weight:400;overflow-wrap:anywhere}.chat-context-body{margin-top:20px}.chat-context .chat-facts{margin-top:12px}.chat-context .chat-facts>div{display:block;padding:16px 0}.chat-context dd{margin-top:4px}.chat-context-facts>div{padding:16px 0;border-bottom:1px solid var(--line)}.chat-context-body>.button{width:100%;margin-top:20px}.chat-context-note{border-top:1px solid var(--line);padding-top:20px;margin:20px 0 0}.chat-welcome{padding:28px 24px}.chat-welcome>.muted{margin-bottom:24px}.chat-starters{display:flex;flex-wrap:wrap;gap:12px}@media (max-width:1399px){.chat-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-create-form>button{margin-top:0;justify-self:start}}@media (max-width:999px){.chat-layout{grid-template-columns:minmax(0,1fr)}.chat-context{grid-row:1}.chat-context .chat-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.chat-context .chat-context-note{margin-bottom:0}}@media (max-width:600px){.chat-composer-settings,.chat-create-form{grid-template-columns:minmax(0,1fr)}.chat-create-form>button{justify-self:stretch}.chat-topline{align-items:start;flex-wrap:wrap}.chat-message{padding:16px}.chat-user{margin-left:20px}.chat-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}.chat-confirmation>.chat-facts>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px}.chat-context .chat-facts{grid-template-columns:minmax(0,1fr)}.chat-composer{padding:16px}.chat-composer-footer{align-items:stretch;flex-direction:column}.chat-composer-footer button,.chat-confirmation>button,.chat-recommendation>.button{width:100%}.chat-recommendation .allocation-chart{display:grid;justify-items:center}.chat-recommendation .allocation-legend{width:100%}.chat-workspace .pagination{flex-wrap:wrap}.chat-starters{flex-direction:column}}.chat-knowledge :is(ul,ol),.chat-knowledge-sources ol{padding-inline-start:24px;margin-block:12px}.chat-knowledge li+li,.chat-knowledge-sources li+li{margin-top:16px}.chat-knowledge-sources blockquote{margin:8px 0 16px;color:var(--ink);font-size:inherit}.chat-knowledge-sources a{display:inline-block;padding-block:10px;text-underline-offset:3px}.chat-consent-renew{flex-basis:100%}.chat-consent-renew p{margin-bottom:8px}.chat-consent-renew button{min-height:44px}