/* IUAI_RESEARCH_GOAL_UI_V2_20261020 */
#research-answer-goal-v1{margin:12px 0 18px;padding:16px;border:1px solid var(--line,#293747);border-radius:16px;background:var(--card,#111923);color:var(--ink,#e8eef7);box-sizing:border-box;max-width:100%;min-width:0}
#research-answer-goal-v1 .research-goal-heading-v2{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}
#research-answer-goal-v1 .research-goal-symbol-v2{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:rgba(101,110,240,.12);color:#8f94ff;font-size:19px}
#research-answer-goal-v1 [data-goal-label]{font-size:13px;line-height:1.5;font-weight:600}
#research-answer-goal-v1 .research-goal-tag-v2{margin-left:auto;flex-shrink:0;padding:3px 8px;border-radius:999px;font-size:10px;background:rgba(128,143,162,.1);color:var(--muted,#91a0b5)}
#research-answer-goal-v1 .research-goal-options-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#research-answer-goal-v1 .research-goal-options-v2 label{display:flex;flex-direction:column;position:relative;gap:5px;margin:0;padding:12px;border:1px solid var(--line,#293747);border-radius:11px;min-width:0;cursor:pointer;transition:background .15s,border-color .15s;background:rgba(128,143,162,.035)}
#research-answer-goal-v1 .research-goal-options-v2 input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
#research-answer-goal-v1 .research-goal-options-v2 label>span{font-size:12px;font-weight:600;line-height:1.5}
#research-answer-goal-v1 [data-goal-desc]{font-size:11px;line-height:1.5;color:var(--muted,#91a0b5)}
#research-answer-goal-v1 .research-goal-options-v2 label:has(input:checked){border-color:#777df3;background:rgba(105,110,238,.12)}
#research-answer-goal-v1 .research-goal-options-v2 label:focus-within{outline:2px solid #8c92ff;outline-offset:2px}
#research-answer-goal-v1 .research-goal-options-v2 label:has(input:disabled){cursor:default;opacity:.7}
#research-answer-goal-v1 textarea{display:block;width:100%;min-height:78px;box-sizing:border-box;resize:vertical;margin:12px 0 0;padding:11px 12px;font:inherit;font-size:13px;line-height:1.6;border:1px solid var(--line,#293747);border-radius:11px;background:var(--bg,#0b121b);color:var(--ink,#e8eef7)}
#research-answer-goal-v1 textarea:focus{outline:2px solid rgba(119,125,243,.5);outline-offset:1px}
#research-answer-goal-v1 [data-goal-hint]{display:block;margin-top:10px;color:var(--muted,#91a0b5);font-size:11px;line-height:1.6}
#research-answer-goal-v1 [data-goal-summary]{display:none;margin:0;color:var(--muted,#91a0b5);font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#research-answer-goal-v1 .research-goal-suggestions-v2{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
#research-answer-goal-v1 .research-goal-suggestions-v2 button{font-size:12px;max-width:100%;white-space:normal;text-align:left;border-radius:9px}
#research-answer-goal-v1 [data-goal-review]{margin-top:10px;font-size:12px}
#research-answer-goal-v1 [hidden]{display:none!important}
#research-answer-goal-v1 .iuai-ai-research-voice-v1{display:none!important}
#research-answer-goal-v1[data-completed="true"]{padding:12px 14px;background:transparent}
#research-answer-goal-v1[data-completed="true"] .research-goal-heading-v2{margin-bottom:5px}
#research-answer-goal-v1[data-completed="true"] [data-goal-summary]{display:block;padding-left:37px}
#research-answer-goal-v1[data-completed="true"] :is(.research-goal-options-v2,[data-goal-suggestions],textarea,[data-goal-hint],[data-goal-review]){display:none!important}
@media(max-width:600px){#research-answer-goal-v1{padding:13px;border-radius:14px}#research-answer-goal-v1 .research-goal-options-v2{grid-template-columns:1fr;gap:7px}#research-answer-goal-v1 .research-goal-options-v2 label{padding:10px 12px}#research-answer-goal-v1 .research-goal-options-v2 label>span{font-size:13px}}
/* Research content alignment: share the assistant content column with settings. */
[data-app-view="research"].research-conversation-v1{--research-content-inset:42px}
[data-app-view="research"].research-conversation-v1 .research-stream-v1{padding-left:0;padding-right:0;box-sizing:border-box;min-width:0;width:100%}
[data-app-view="research"].research-conversation-v1 .research-runtime-v1{min-width:0;grid-template-columns:minmax(0,1fr)}
[data-app-view="research"].research-conversation-v1 .research-conv-row-v1{width:100%;min-width:0;box-sizing:border-box;gap:10px}
[data-app-view="research"].research-conversation-v1 .research-conv-avatar-v1{width:32px;height:32px;box-sizing:border-box;flex:0 0 32px}
[data-app-view="research"].research-conversation-v1 .research-conv-row-v1.assistant>.research-conv-bubble-v1{flex:1 1 0;width:0;min-width:0;max-width:none;overflow-wrap:anywhere}
[data-app-view="research"].research-conversation-v1 .intake-turn-v6.assistant{width:calc(100% - var(--research-content-inset));max-width:calc(100% - var(--research-content-inset));margin-left:var(--research-content-inset)!important;box-sizing:border-box}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1,
[data-app-view="research"].research-conversation-v1 #research-advanced-v6{width:calc(100% - var(--research-content-inset));max-width:none;box-sizing:border-box;margin-left:var(--research-content-inset)!important;margin-right:0!important}
@media(max-width:800px){
 [data-app-view="research"].research-conversation-v1{--research-content-inset:38px}
 [data-app-view="research"].research-conversation-v1 .research-conv-avatar-v1{width:28px;height:28px;flex-basis:28px}
}
[data-app-view="research"].research-conversation-v1 .research-form.card{max-width:900px;margin-left:auto;margin-right:auto}


/* IUAI_RESEARCH_FLUID_LAYOUT_20261023 — fill the available workspace, not the viewport. */
[data-app-view="research"].research-conversation-v1{
 width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin-inline:0!important;
}
[data-app-view="research"].research-conversation-v1>.page-head,
[data-app-view="research"].research-conversation-v1 .research-layout,
[data-app-view="research"].research-conversation-v1 .research-form.card,
[data-app-view="research"].research-conversation-v1 .research-stream-v1,
[data-app-view="research"].research-conversation-v1 .research-runtime-v1,
[data-app-view="research"].research-conversation-v1 .research-composer-v1{
 width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin-inline:0!important;
}
[data-app-view="research"].research-conversation-v1>.page-head{flex-wrap:wrap;gap:16px}
[data-app-view="research"].research-conversation-v1 .research-conv-bubble-v1.wide{
 min-width:0;max-width:none;overflow-wrap:anywhere;
}
[data-app-view="research"].research-conversation-v1 :is(.research-progress-card-v1,.research-result-card-v1,.research-brief-card-v2){
 width:100%;min-width:0;box-sizing:border-box;
}
[data-app-view="research"].research-conversation-v1 :is(.report-table-wrap,pre){max-width:100%;overflow-x:auto}
@media(max-width:800px){
 [data-app-view="research"].research-conversation-v1>.page-head{gap:10px}
 [data-app-view="research"].research-conversation-v1 .research-conv-head-actions-v1{flex-wrap:wrap;max-width:100%}
}

/* IUAI_RESEARCH_VISUAL_POLISH_20261023: wide workspace, calm hierarchy. */
[data-app-view="research"].research-conversation-v1{
 --research-soft-line:color-mix(in srgb,var(--line,#293747) 58%,transparent);
 --research-soft-surface:color-mix(in srgb,var(--card,#111923) 68%,transparent);
}
[data-app-view="research"].research-conversation-v1>.page-head{padding-block:4px 18px;margin-bottom:24px!important;border-bottom-color:var(--research-soft-line)}
[data-app-view="research"].research-conversation-v1>.page-head h1{font-size:clamp(25px,2vw,32px);letter-spacing:-.035em;line-height:1.2}
[data-app-view="research"].research-conversation-v1>.page-head p{font-size:14px;line-height:1.7;color:var(--muted)}
[data-app-view="research"].research-conversation-v1 .research-runtime-v1{gap:22px}
[data-app-view="research"].research-conversation-v1 .research-conv-avatar-v1{border-color:var(--research-soft-line);background:var(--research-soft-surface);border-radius:10px}
[data-app-view="research"].research-conversation-v1 :is(.research-progress-card-v1,.research-brief-card-v2,.research-deepen-card-v2){
 padding:16px 20px;border:1px solid var(--research-soft-line);border-radius:14px;background:var(--research-soft-surface);box-shadow:none;
}
[data-app-view="research"].research-conversation-v1 .research-progress-card-v1{border-left:2px solid #7184f4}
[data-app-view="research"].research-conversation-v1 .research-progress-head-v1{align-items:center}
[data-app-view="research"].research-conversation-v1 .research-progress-head-v1 h3{font-size:16px;font-weight:650}
[data-app-view="research"].research-conversation-v1 .research-progress-head-v1 p{font-size:12px;margin-top:4px}
[data-app-view="research"].research-conversation-v1 .research-card-eyebrow-v1{font-size:10px;letter-spacing:.12em;color:var(--muted);margin-bottom:6px}
[data-app-view="research"].research-conversation-v1 .research-progress-track-v1{height:3px;margin:14px 0 12px}
[data-app-view="research"].research-conversation-v1 .research-progress-steps-v1{gap:10px}
[data-app-view="research"].research-conversation-v1 .research-progress-steps-v1 span{font-size:11px;line-height:1.6}
[data-app-view="research"].research-conversation-v1 .research-result-card-v1{padding:22px 24px;border:1px solid var(--research-soft-line);border-radius:16px;box-shadow:none;background:var(--card)}
[data-app-view="research"].research-conversation-v1 :is(.rich-text,.research-result-conclusion-v1) :is(p,ul,ol,blockquote){max-width:88ch;line-height:1.85}
[data-app-view="research"].research-conversation-v1 .research-result-conclusion-v1{font-size:15px}
[data-app-view="research"].research-conversation-v1 :is(.rich-text,.research-result-conclusion-v1) h2{font-size:18px;line-height:1.5;margin-block:26px 12px}
[data-app-view="research"].research-conversation-v1 .research-result-top-v1{margin-bottom:18px}
[data-app-view="research"].research-conversation-v1 .research-result-actions-v1{padding-top:16px;border-top:1px solid var(--research-soft-line);gap:8px}
[data-app-view="research"].research-conversation-v1 .research-result-actions-v1 button{min-height:36px;padding:7px 12px;border-color:var(--research-soft-line);font-weight:500}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1{padding:12px 16px;border-color:var(--research-soft-line);border-radius:12px;background:transparent;box-shadow:none;margin-block:14px 8px}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1[data-completed="true"]{border-width:0 0 0 2px;border-radius:0;border-left-color:var(--research-soft-line);padding:8px 16px}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1 .research-goal-heading-v2{margin-bottom:8px}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1 .research-goal-options-v2 label{padding:10px 12px;background:transparent;border-color:var(--research-soft-line)}
[data-app-view="research"].research-conversation-v1 #research-answer-goal-v1 .research-goal-options-v2 label:has(input:checked){background:rgba(112,128,245,.09);border-color:#7184f4}
[data-app-view="research"].research-conversation-v1 #research-advanced-v6{background:transparent;border-width:0 0 1px;border-color:var(--research-soft-line);border-radius:0;margin-block:8px 0!important}
[data-app-view="research"].research-conversation-v1 #research-advanced-v6>summary{padding:10px 2px!important;font-size:12px}
#workspace [data-app-view="research"].research-conversation-v1 #research-composer-v1{
 height:auto!important;min-height:0!important;margin-top:20px!important;padding:12px 16px 8px!important;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 6px 24px rgba(0,0,0,.1);
}
#workspace [data-app-view="research"].research-conversation-v1 #research-composer-v1:focus-within{border-color:#7184f4;box-shadow:0 0 0 2px rgba(113,132,244,.1)}
#workspace [data-app-view="research"].research-conversation-v1 #research-question{
 height:clamp(64px,9vh,100px)!important;min-height:64px!important;max-height:180px!important;padding:8px 0!important;font-size:15px!important;line-height:1.7!important;overflow-y:auto!important;
}
[data-app-view="research"].research-conversation-v1 .research-composer-tools-v1{border-top-color:var(--research-soft-line);padding-top:7px;gap:8px}
@media(max-width:800px){
 [data-app-view="research"].research-conversation-v1>.page-head{margin-bottom:18px!important}
 [data-app-view="research"].research-conversation-v1 :is(.research-progress-card-v1,.research-brief-card-v2,.research-result-card-v1){padding:14px;border-radius:12px}
 [data-app-view="research"].research-conversation-v1 .research-progress-steps-v1{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workspace [data-app-view="research"].research-conversation-v1 #research-composer-v1{padding:10px 12px 6px!important;border-radius:14px}
 #workspace [data-app-view="research"].research-conversation-v1 #research-question{height:64px!important;font-size:14px!important}
}
