.coach-conversation .coach-upload { display:inline-flex; align-items:center; gap:5px; color:var(--eai-gold); }
.coach-upload img { width:22px; height:22px; object-fit:contain; }
.coach-attachments { flex:0 0 auto; padding:6px 0; min-width:0; }
.coach-attachment-list { display:grid; gap:4px; }
.coach-attachment { display:flex; gap:4px; align-items:center; min-width:0; }
.coach-attachment button:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; text-align:left; }
.coach-conversation .coach-attachment button { min-height:28px; padding:4px 6px; font-size:var(--coach-small); }
.coach-upload-hint,.coach-upload-status { margin:3px 0; font-size:var(--coach-small); line-height:1.5; color:#c1c5d6; overflow-wrap:anywhere; }
.coach-upload-status { color:#ffe08b; }
.coach-conversation .coach-daily-usage { flex:0 0 auto; margin:2px 0 0; font-size:var(--coach-small); line-height:1.4; color:#c1c5d6; overflow-wrap:anywhere; }
.coach-file-drag .coach-question-card { outline:2px dashed var(--eai-gold); outline-offset:-2px; }
.coach-conversation .coach-message-body h3 { color:var(--eai-gold); font-size:var(--coach-heading); margin:12px 0 6px; font-weight:700; }
.coach-conversation .coach-analysis-field { border:1px solid #494b60; border-radius:8px; margin:8px 0; padding:8px; background:#202234; }
.coach-analysis-field label { display:block; font-size:var(--coach-body); color:var(--eai-gold); font-weight:700; }
.coach-analysis-value { display:flex; align-items:center; gap:6px; margin-top:5px; }
.coach-conversation .coach-analysis-value input { min-width:0; width:100%; font:inherit; font-size:var(--coach-field); color:var(--text); background:#191b2b; padding:7px; border:1px solid #777b91; border-radius:6px; }
.coach-conversation .coach-analysis-evidence,.coach-analysis-field small { font-size:var(--coach-small); color:#c1c5d6; overflow-wrap:anywhere; }
.coach-conversation .coach-analysis-source button { padding:3px 6px; min-height:28px; font-size:var(--coach-small); text-align:left; word-break:break-all; }
.coach-analysis-note { color:#d7cfb3; border-left:2px solid #ac8939; padding-left:8px; }
.coach-conversation .coach-reference-status { margin:4px 0; font-size:var(--coach-body); font-weight:700; }
.coach-conversation .coach-band-green { color:#9ed9ae; }
.coach-conversation .coach-band-orange { color:#ffd08a; }
.coach-conversation .coach-band-red { color:#ffacac; }
.coach-reference-ranges { border-top:1px solid #414559; margin-top:6px; padding-top:5px; }
.coach-conversation .coach-reference-ranges p { display:flex; flex-wrap:wrap; gap:3px 10px; margin:3px 0; font-size:var(--coach-small); overflow-wrap:anywhere; }
.coach-reference-ranges p span:first-child { min-width:7.5em; }
.coach-conversation .coach-analysis-confirm { background:var(--eai-gold); color:#191b2b; margin-top:8px; }
.coach-file-dialog { box-sizing:border-box; width:min(920px,94vw); max-height:90dvh; color:#eef0f8; background:#202234; border:1px solid #ffc21c; border-radius:12px; padding:16px; }
.coach-file-dialog::backdrop { background:#050715c9; }
.coach-file-dialog h2 { color:#ffc21c; font-size:18px; overflow-wrap:anywhere; }
.coach-file-dialog h3 { font-size:16px; }
.coach-file-close { position:sticky; top:0; float:right; padding:6px 12px; color:#ffe08b; background:#292c43; border:1px solid #7d7350; border-radius:6px; cursor:pointer; }
.coach-file-content { clear:both; overflow:auto; max-height:70dvh; }
.coach-file-content pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; line-height:1.6; }
.coach-file-content img { display:block; width:100%; height:auto; margin:8px 0; }
@media (pointer:coarse) { .coach-conversation .coach-analysis-value input { font-size:16px; } .coach-analysis-source button,.coach-attachment button { min-height:32px; } }
