/* Shared native/browser conversation surface. No remote fonts or assets. */
.chat-response-toolbar{--chat-accent:var(--brand,#d4ff3f);--chat-border:var(--line-soft,rgba(125,167,140,.2));display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 30px 14px;border-bottom:1px solid var(--chat-border);flex-shrink:0}
.chat-depth-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.chat-control-picker{position:relative;flex:none;min-width:0}
.chat-control-picker>summary{display:flex;align-items:center;gap:8px;box-sizing:border-box;min-height:36px;max-width:260px;padding:0 12px;border:1px solid rgba(128,157,137,.2);border-radius:999px;background:#191e1b;color:#d8e2db;font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;cursor:pointer;list-style:none;white-space:nowrap;user-select:none;transition:border-color .16s,background .16s,color .16s}
.chat-control-picker>summary::-webkit-details-marker{display:none}
.chat-control-picker>summary:hover,.chat-control-picker[open]>summary{border-color:var(--brand-border);background:var(--brand-quiet)}
.chat-model-picker[data-busy="true"]>summary{opacity:.55;pointer-events:none}
.chat-control-icon,.chat-control-chevron,.chat-option-icon,.chat-memory-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.chat-control-icon,.chat-model-icon{color:var(--brand-icon,#c1d972)}
.chat-model-icon{font-size:15px;line-height:1;flex:none}
.chat-control-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
.chat-control-chevron{width:13px;height:13px;color:#829188;transition:transform .16s}
.chat-control-picker[open]>summary .chat-control-chevron{transform:rotate(180deg)}
.chat-picker-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:30;display:none;gap:4px;box-sizing:border-box;width:min(270px,calc(100vw - 32px));max-height:min(340px,calc(100dvh - 100px));overflow:auto;padding:6px;border:1px solid #343c36;border-radius:18px;background:#1c211e;color:#e6ece8;box-shadow:0 16px 44px rgba(0,0,0,.4);animation:chat-menu-in .14s ease-out}
.chat-control-picker[open]>.chat-picker-menu{display:grid}
.chat-model-picker .chat-picker-menu{right:0;left:auto;width:min(300px,calc(100vw - 32px))}
.chat-picker-option{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:9px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .14s,border-color .14s}
.chat-picker-option:hover,.chat-picker-option[aria-pressed=true]{border-color:var(--brand-border-subtle);background:var(--brand-quiet)}
.chat-option-copy{display:grid;gap:3px;flex:1;min-width:0}
.chat-option-copy strong{overflow:hidden;color:#edf3ef;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.chat-option-copy small,.chat-picker-status{color:#8f9d94;font-size:10px;line-height:1.35}
.chat-option-check{width:16px;color:var(--brand);font-size:13px;text-align:center;opacity:0}
.chat-picker-option[aria-pressed=true] .chat-option-check{opacity:1}
.chat-picker-status{display:block;padding:8px 10px 6px}
.chat-picker-manage{margin-top:2px;padding:9px 10px;border:0;border-top:1px solid #343c36;border-radius:0 0 12px 12px;background:transparent;color:#b3c1b8;font-family:inherit;font-size:11px;font-weight:500;text-align:left;cursor:pointer}
.chat-picker-manage:hover{color:#e6f5e9}
.chat-memory-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.chat-memory-shortcut{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--brand-border-subtle);background:var(--brand-quiet);font:inherit;font-size:11px;color:var(--brand-text);cursor:pointer;white-space:nowrap;transition:border-color .16s,background .16s,color .16s}
.chat-memory-icon{color:var(--brand-icon,#c1d972)}
.chat-memory-shortcut:hover{border-color:var(--brand-border-hover);background:var(--brand-surface);color:#e6ffeb}
.chat-memory-shortcut:disabled{opacity:.45;cursor:default}
.chat-context-status{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#8fa097;font-size:10px;line-height:1;font-variant-numeric:tabular-nums}
.chat-context-track{display:block;width:36px;height:4px;overflow:hidden;border-radius:999px;background:#343d37}
.chat-context-fill{display:block;width:0;height:100%;border-radius:inherit;background:var(--brand);transition:width .24s ease}
.chat-context-value{min-width:21px;color:#aab7af;font-size:10px;text-align:right}
.chat-control-picker>summary:focus-visible,.chat-picker-option:focus-visible,.chat-picker-manage:focus-visible,.chat-memory-shortcut:focus-visible,.chat-memory-dialog button:focus-visible,.chat-memory-dialog textarea:focus-visible,.chat-answer-sources summary:focus-visible,.chat-memory-recall summary:focus-visible{outline:2px solid var(--brand-focus,#d3e78e);outline-offset:2px}
.chat-answer-body{overflow-wrap:anywhere;line-height:1.75}
.chat-wait-state{display:flex;align-items:center;gap:9px;min-height:24px;color:#a6bfaf;font-size:12px;line-height:1.5}
.chat-wait-indicator{width:7px;height:7px;flex:none;border-radius:50%;background:var(--brand-focus,#d3e78e);box-shadow:0 0 0 4px var(--brand-quiet,rgba(212,255,63,.055))}
.chat-wait-label{overflow-wrap:anywhere}
.chat-answer-body>:first-child{margin-top:0}.chat-answer-body>:last-child{margin-bottom:0}
.chat-answer-body p{margin:0 0 1em}.chat-answer-body h1,.chat-answer-body h2,.chat-answer-body h3{line-height:1.3;margin:1.4em 0 .6em}
.chat-answer-body pre{max-width:100%;overflow:auto;border-radius:12px;padding:16px;background:rgba(0,0,0,.2)}
.chat-research{border-top:0;padding:14px 0 0;min-width:0}
.chat-research-label{font-size:12px;letter-spacing:.015em;color:#a6bfaf;display:flex;align-items:center;gap:8px}
.chat-research-label.research-active:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--brand-focus,#d3e78e);box-shadow:0 0 0 4px var(--brand-quiet,rgba(212,255,63,.055));animation:chat-source-pulse 1.5s ease-in-out infinite}
.chat-research>p{font-size:11px;color:#8da598;overflow-wrap:anywhere;margin:8px 0}
.chat-source-cards{display:flex;overflow-x:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:#4f5636 transparent;gap:8px;padding:10px 0 6px;overscroll-behavior-x:contain}
.chat-source-card{display:flex;flex-direction:column;gap:8px;flex:0 0 205px;min-width:0;padding:12px;border:1px solid var(--brand-border-subtle);border-radius:13px;background:linear-gradient(135deg,var(--brand-quiet),rgba(28,40,33,.1));text-decoration:none;transition:background .18s,border-color .18s}
.chat-source-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.45;font-weight:500}
.chat-source-card small{font-size:10px;color:#8da598;overflow-wrap:anywhere}
.chat-source-card:hover{border-color:var(--brand-border-hover);background:var(--brand-surface)}
.chat-source-card small:before{content:'↗';display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:50%;background:var(--brand-quiet);color:var(--brand-icon)}
.chat-skill-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.chat-skill-chips span{border:1px solid rgba(166,137,225,.25);border-radius:9px;padding:5px 9px;color:#c0aeea;background:rgba(110,77,158,.12);font-size:11px}
.chat-answer-sources{margin:16px 0 0;font-size:12px;color:#a6bfaf}.chat-answer-sources summary{cursor:pointer;padding:8px 0}
.chat-bibliography{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.chat-bibliography a{display:block;max-width:260px;padding:6px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid var(--brand-border-subtle);border-radius:10px;background:var(--brand-quiet);text-decoration:none}
.chat-memory-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:24px;border:1px solid #39483e;border-radius:20px;background:#1b211d;color:#dce5df;font:14px/1.6 system-ui,sans-serif;box-shadow:0 24px 90px rgba(0,0,0,.5)}
.chat-memory-dialog::backdrop{background:rgba(0,0,0,.52);backdrop-filter:blur(6px)}
.chat-memory-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}
.chat-memory-dialog h2{font-size:22px;letter-spacing:-.03em;margin:0}
.chat-memory-help{font-size:12px;color:#a0b2a7;line-height:1.6}
.chat-memory-dialog button{font:inherit;font-size:12px;padding:8px 12px;border:1px solid #39483e;border-radius:10px;background:#252e28;color:inherit;cursor:pointer}
.chat-memory-dialog button:disabled{opacity:.5;cursor:default}
.chat-memory-tabs{display:flex;gap:6px;padding:4px;border:1px solid #39483e;border-radius:13px;margin:20px 0;background:#151b17}
.chat-memory-tabs button{flex:1;border:0;background:transparent}.chat-memory-tabs button[aria-selected=true]{background:var(--brand-surface);color:var(--brand-text)}
.chat-memory-dialog label{display:grid;gap:8px;font-size:12px;color:#bdcec3}
.chat-memory-dialog textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:130px;max-height:280px;border:1px solid #39483e;border-radius:12px;padding:12px;background:#151b17;color:#e0e9e3;font-family:inherit;font-size:13px;line-height:1.6}
.chat-memory-count{display:block;color:#8fa497;text-align:right;font-size:10px;margin:5px 0;font-variant-numeric:tabular-nums}
.chat-memory-actions{display:flex;gap:8px;margin:12px 0 20px}.chat-memory-actions button:first-child{background:var(--brand-surface);color:var(--brand-text);border-color:#57603a}
.chat-memory-stats{font-size:11px;color:#a5bdad;padding-top:16px;border-top:1px solid #39483e}
.chat-memory-recall summary{cursor:pointer;font-size:12px;padding:8px 0}
.chat-memory-digest{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.6;max-height:220px;overflow:auto;padding:14px;border-radius:12px;border:1px solid #39483e;background:#151b17}
.chat-memory-status{font-size:12px;color:#b3d8bf;margin-bottom:0;min-height:1.6em}
@keyframes chat-source-pulse{50%{opacity:.4}}
@media(max-width:650px){.chat-response-toolbar{padding:0 18px 12px;align-items:flex-start;gap:8px}.chat-memory-shortcut{font-size:11px;padding:8px 10px}.chat-memory-dialog{padding:20px}}
@media(max-width:420px){.chat-response-toolbar{flex-wrap:wrap}.chat-memory-controls{width:100%;max-width:none;display:flex;justify-content:space-between;align-items:center}.chat-context-status{max-width:none}.chat-source-card{flex-basis:180px}}
@keyframes chat-menu-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.chat-control-picker>summary,.chat-control-chevron,.chat-context-fill,.chat-picker-menu,.chat-source-card{transition:none;animation:none}.chat-research-label.research-active:before{animation:none}}

/* The integrated client keeps per-turn controls in the composer where they are used. */
.chat-response-toolbar--composer{position:relative;z-index:5;width:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;padding:9px 0 0;margin-top:7px;border-top:1px solid var(--line);border-bottom:0;gap:10px}
.chat-response-toolbar--composer .chat-depth-controls{gap:7px;flex-wrap:nowrap}
.chat-response-toolbar--composer .chat-control-picker>summary{min-height:34px;padding-inline:10px;font-size:11px}
.chat-response-toolbar--composer .chat-response-picker>summary{min-width:108px}
.chat-response-toolbar--composer .chat-model-picker>summary{max-width:205px}
.chat-response-toolbar--composer .chat-memory-controls{gap:9px;flex:none}
.chat-response-toolbar--composer .chat-context-status{max-width:75px}
.chat-response-toolbar--composer .chat-picker-menu{top:auto;bottom:calc(100% + 8px)}
.chat-response-toolbar--composer .chat-picker-manage{border-radius:0 0 12px 12px}

/* Memory uses the application palette and shape tokens instead of a second mini-theme. */
.chat-memory-dialog{width:min(660px,calc(100vw - 32px));border-color:var(--line,#39483e);border-radius:var(--radius-lg,20px);background:var(--panel,#1b211d);color:var(--text,#dce5df);font-family:inherit;font-size:14px;line-height:1.6}
.chat-memory-dialog button{border-color:var(--line,#39483e);border-radius:var(--radius-sm,12px);background:var(--panel2,#252e28)}
.chat-memory-tabs{border-color:var(--line,#39483e);border-radius:var(--radius-md,16px);background:var(--bg,#151b17)}
.chat-memory-tabs button[aria-selected=true]{background:var(--brand-surface);color:var(--brand-text)}
.chat-memory-dialog textarea{border-color:var(--line,#39483e);border-radius:var(--radius-sm,12px);background:var(--bg,#151b17);color:var(--text,#e0e9e3)}
.chat-memory-actions button:first-child{background:var(--brand-surface);color:var(--brand-text);border-color:var(--brand-border)}
.chat-memory-digest{border-color:var(--line,#39483e);border-radius:var(--radius-sm,12px);background:var(--bg,#151b17)}
.chat-memory-source-list{display:grid;gap:8px;margin:12px 0}
.chat-memory-source{padding:12px 14px;border:1px solid var(--line,#39483e);border-radius:var(--radius-sm,12px);background:var(--bg,#151b17)}
.chat-memory-source a{color:var(--text,#e0e9e3);font-size:12px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.chat-memory-source a:hover{color:var(--brand,#d3e78e)}
.chat-memory-source small,.chat-memory-source p{display:block;margin:5px 0 0;color:var(--muted,#9aa69e);font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.dc-chat-composer{position:relative;z-index:2;padding:14px 16px 12px;border-radius:32px}
#chat-model:empty{display:none}
#chat-prompt{box-sizing:border-box;min-height:54px;padding:3px 2px}
.dc-chat-composer-bottom{justify-content:flex-end;padding-top:8px}
.dc-chat-composer-wrap>p:first-child{font-size:11px;line-height:1.35;margin:4px 3px 7px}
.dc-chat-disclaimer{margin-top:6px;font-size:10px}
.dc-chat-composer-bottom #chat-send{box-shadow:0 3px 14px rgba(212,255,63,.16);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.dc-chat-composer-bottom #chat-send:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 5px 18px rgba(212,255,63,.27)}
.dc-chat-composer-bottom #chat-send:focus-visible{outline:2px solid var(--brand,#d4ff3f);outline-offset:3px}
@media(max-width:760px){.chat-response-toolbar--composer{flex-wrap:wrap;gap:8px}.chat-response-toolbar--composer .chat-depth-controls{flex:1 1 auto;gap:6px}.chat-response-toolbar--composer .chat-memory-controls{flex:none;margin-left:auto}}
@media(max-width:520px){.chat-response-toolbar--composer{gap:9px}.chat-response-toolbar--composer .chat-depth-controls{width:100%;flex-wrap:wrap}.chat-response-toolbar--composer .chat-memory-controls{width:100%;justify-content:space-between}.chat-response-toolbar--composer .chat-model-picker{max-width:calc(100% - 118px)}.chat-response-toolbar--composer .chat-model-picker>summary{max-width:100%}}
@media(max-width:760px){.dc-chat-composer{padding:13px 14px 12px}}
@media(prefers-reduced-motion:reduce){.dc-chat-composer-bottom #chat-send{transition:none}}

/* One quiet, aligned control row in the composer. Green stays soft until a control is active. */
.chat-response-toolbar--composer{justify-content:flex-start;gap:9px;border-top-color:rgba(137,150,92,.18)}
.chat-response-toolbar--composer .chat-depth-controls{flex:1 1 auto;min-width:0;gap:7px}
.chat-response-toolbar--composer .chat-memory-controls{margin-left:auto;gap:8px}
.chat-response-toolbar--composer .chat-control-picker>summary,
.chat-response-toolbar--composer .chat-memory-shortcut{border-color:var(--brand-border-subtle,rgba(212,255,63,.17));background:linear-gradient(180deg,rgba(37,42,22,.78),rgba(28,31,19,.78));color:#d5e4d9}
.chat-response-toolbar--composer .chat-control-picker>summary:hover,
.chat-response-toolbar--composer .chat-control-picker[open]>summary,
.chat-response-toolbar--composer .chat-memory-shortcut:hover{border-color:rgba(176,201,92,.42);background:rgba(53,61,25,.56);color:#e5f2e8}
.chat-response-toolbar--composer .chat-control-icon,
.chat-response-toolbar--composer .chat-model-icon,
.chat-response-toolbar--composer .chat-memory-icon{color:#c5d980}
.chat-response-toolbar--composer .chat-context-status{max-width:86px;color:#99bda3}
.chat-response-toolbar--composer .chat-context-track{width:30px;background:rgba(123,156,132,.2)}
.chat-response-toolbar--composer .chat-context-fill{background:#aec952}
.chat-response-toolbar--composer .chat-context-value{color:#a8d9b4}
@media(min-width:521px) and (max-width:760px){.chat-response-toolbar--composer{flex-wrap:nowrap}.chat-response-toolbar--composer .chat-depth-controls{flex:1 1 auto;width:auto;flex-wrap:nowrap}.chat-response-toolbar--composer .chat-memory-controls{width:auto;margin-left:auto}.chat-response-toolbar--composer .chat-model-picker{max-width:190px}}

/* Keep the send action beside memory, on the same compact control row. */
.chat-response-toolbar--composer .chat-control-picker>summary,.chat-response-toolbar--composer .chat-memory-shortcut{min-height:36px;font-size:12px}
.chat-response-toolbar--composer .dc-chat-composer-bottom{display:flex;align-items:center;flex:none;gap:0;margin:0;padding:0;font-size:inherit}
.chat-response-toolbar--composer .dc-chat-composer-bottom #chat-send{width:40px;height:40px;flex:none}
.dc-chat-composer-wrap>p:first-child{font-size:12px}
.dc-chat-disclaimer{font-size:11px}
@media(max-width:520px){.chat-response-toolbar--composer .chat-memory-controls{width:100%;justify-content:space-between}.chat-response-toolbar--composer .dc-chat-composer-bottom{margin-left:auto}}

/* Answers use one editorial reading width and restrained surfaces in both chat clients. */
:root{
  --chat-answer-ink:var(--text,#e8ede9);
  --chat-answer-muted:var(--muted,#a2ada5);
  --chat-answer-line:rgba(145,166,151,.18);
  --chat-answer-surface:rgba(25,31,27,.72);
  --chat-answer-header:rgba(89,132,99,.12);
  --chat-answer-hover:rgba(116,156,124,.055);
  --chat-answer-code:#171b18;
  --chat-answer-link-hover:#d2f0d9;
}
:root[data-theme="light"]{
  --chat-answer-ink:#263129;
  --chat-answer-muted:#627065;
  --chat-answer-line:rgba(65,91,70,.18);
  --chat-answer-surface:rgba(255,255,255,.82);
  --chat-answer-header:rgba(103,119,51,.075);
  --chat-answer-hover:rgba(95,110,45,.045);
  --chat-answer-code:#f0f3ee;
  --chat-answer-link-hover:#57681e;
}
.chat-answer-body,.assistant-answer{max-width:min(100%,78ch);color:var(--chat-answer-ink);font-size:15.5px;line-height:1.78;overflow-wrap:anywhere}
.chat-answer-body>:first-child,.assistant-answer>:first-child{margin-top:0}.chat-answer-body>:last-child,.assistant-answer>:last-child{margin-bottom:0}
.chat-answer-body h1,.chat-answer-body h2,.chat-answer-body h3,.chat-answer-body h4,.chat-answer-body h5,.chat-answer-body h6,
.assistant-answer h1,.assistant-answer h2,.assistant-answer h3,.assistant-answer h4,.assistant-answer h5,.assistant-answer h6{color:var(--chat-answer-ink);font-weight:620;line-height:1.32;letter-spacing:-.025em;margin:1.45em 0 .55em}
.chat-answer-body h1,.assistant-answer h1{font-size:1.72em}.chat-answer-body h2,.assistant-answer h2{font-size:1.38em}.chat-answer-body h3,.assistant-answer h3{font-size:1.16em}
.chat-answer-body h4,.chat-answer-body h5,.chat-answer-body h6,.assistant-answer h4,.assistant-answer h5,.assistant-answer h6{font-size:1.03em}
.chat-answer-body p,.assistant-answer p{margin:0 0 1em}
.chat-answer-body ul,.chat-answer-body ol,.assistant-answer ul,.assistant-answer ol{padding-left:1.5em;margin:.55em 0 1.15em}
.chat-answer-body li,.assistant-answer li{padding-left:.16em;margin:.35em 0}
.chat-answer-body li::marker,.assistant-answer li::marker{color:var(--chat-answer-muted)}
.answer-task-list-item{list-style:none;margin-left:-1.5em!important}
.answer-task-list-item input{width:14px;height:14px;margin:0 .58em 0 0;vertical-align:-.12em;accent-color:var(--brand,var(--accent,#d4ff3f))}
.chat-answer-body blockquote,.assistant-answer blockquote{margin:1.15em 0;padding:.25em 1.05em;border-left:3px solid rgba(181,204,105,.62);border-radius:0 12px 12px 0;background:var(--chat-answer-hover);color:var(--chat-answer-muted)}
.chat-answer-body blockquote>:last-child,.assistant-answer blockquote>:last-child{margin-bottom:.3em}
.answer-table-wrap{max-width:100%;overflow:auto;margin:1.25em 0 1.4em;border:1px solid var(--chat-answer-line);border-radius:15px;background:var(--chat-answer-surface);overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(129,160,137,.42) transparent}
.answer-table-wrap:focus-visible{outline:2px solid var(--brand-focus,#d3e78e);outline-offset:3px}
.answer-table-wrap table{width:100%;min-width:420px;border-collapse:separate;border-spacing:0;font-size:.9em;line-height:1.58;font-variant-numeric:tabular-nums}
.answer-table-wrap th,.answer-table-wrap td{padding:11px 14px;border-bottom:1px solid var(--chat-answer-line);text-align:left;vertical-align:top}
.answer-table-wrap th{color:var(--chat-answer-muted);font-size:.82em;font-weight:650;letter-spacing:.012em;background:var(--chat-answer-header)}
.answer-table-wrap th:first-child{border-top-left-radius:14px}.answer-table-wrap th:last-child{border-top-right-radius:14px}
.answer-table-wrap td:first-child{font-weight:540}
.answer-table-wrap [data-align="center"]{text-align:center}.answer-table-wrap [data-align="right"]{text-align:right}
.answer-table-wrap tbody tr{transition:background-color .12s ease}.answer-table-wrap tbody tr:hover{background:var(--chat-answer-hover)}
.answer-table-wrap tbody tr:last-child td{border-bottom:0}
.answer-table-wrap td code,.chat-answer-body code,.assistant-answer code{font:.88em/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;padding:.13em .4em;border:1px solid var(--chat-answer-line);border-radius:6px;background:var(--chat-answer-hover);color:var(--chat-answer-ink);overflow-wrap:anywhere}
.answer-code-block{overflow:hidden;margin:1.15em 0;border:1px solid var(--chat-answer-line);border-radius:15px;background:var(--chat-answer-code)}
.answer-code-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:7px 11px;border-bottom:1px solid var(--chat-answer-line);background:var(--chat-answer-header);color:var(--chat-answer-muted);font-size:11px}
.answer-code-copy{flex:none;min-height:27px;padding:4px 10px;border:1px solid var(--chat-answer-line);border-radius:999px;background:var(--chat-answer-hover);color:var(--chat-answer-muted);font:inherit;font-size:10px;cursor:pointer;transition:background .14s,border-color .14s,color .14s}
.answer-code-copy:hover{border-color:var(--brand-border,rgba(181,204,105,.4));color:var(--chat-answer-ink)}
.answer-code-copy:focus-visible{outline:2px solid var(--brand-focus,#d3e78e);outline-offset:2px}
.answer-code-block pre,.chat-answer-body pre,.assistant-answer pre{max-width:100%;overflow:auto;margin:0;padding:15px 16px;background:transparent;line-height:1.68;tab-size:2;scrollbar-width:thin;scrollbar-color:rgba(129,160,137,.42) transparent}
.answer-code-block pre code,.chat-answer-body pre code,.assistant-answer pre code{padding:0;border:0;border-radius:0;background:transparent;color:var(--chat-answer-ink);white-space:pre;font-size:.88em;overflow-wrap:normal}
.chat-answer-body hr,.assistant-answer hr,.answer-rule{height:1px;margin:1.4em 0;border:0;background:var(--chat-answer-line)}
.chat-answer-body a,.assistant-answer a{color:var(--brand-link,#a9deb5);text-decoration:underline;text-decoration-color:rgba(169,222,181,.38);text-underline-offset:3px;overflow-wrap:anywhere}
:root[data-theme="light"] .chat-answer-body a,:root[data-theme="light"] .assistant-answer a{--brand-link:#5d6d27;text-decoration-color:rgba(93,109,39,.35)}
.chat-answer-body a:hover,.assistant-answer a:hover{color:var(--chat-answer-link-hover)}
@media(max-width:600px){.chat-answer-body,.assistant-answer{font-size:15px}.answer-table-wrap table{min-width:380px}.answer-table-wrap th,.answer-table-wrap td{padding:10px 12px}.answer-code-block pre{padding:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.answer-table-wrap tbody tr,.answer-code-copy{transition:none}}

/* A stop action is a square, with the same red state as Code. */
.stop-square{display:block;width:13px;height:13px;border-radius:var(--radius-stop,2px);background:currentColor;flex:none}
.dc-chat-composer-bottom #chat-stop:not([hidden]),#stop:not([hidden]){display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:50%;background:var(--danger,#df4654);color:#fff;cursor:pointer}
.chat-context-status{cursor:help}.chat-context-status:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:var(--radius-stop,2px)}
