#protein-screen { margin-top: 24px; }
.screen-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.screen-header h1 { margin-top: 0; font-size: clamp(23px, 3vw, 32px); }
.screen-header button { flex-shrink: 0; }
.screen-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.screen-suggestions button { text-align: left; font-size: 14px; padding: 5px 10px; }
.screen-history { display: grid; gap: 12px; }
.screen-message { padding: 12px 15px; border-radius: 10px; min-width: 0; }
.screen-message p { margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.screen-message p:last-child { margin-bottom: 0; }
.screen-user { background: var(--soft); justify-self: end; max-width: min(100%, 720px); }
.screen-answer { background: #f6f9fa; border: 1px solid var(--line); }
.screen-answer .table-wrap { margin: 10px 0; max-height: 520px; }
.screen-answer th { position: sticky; top: 0; }
.screen-filters { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 5px 8px; }
.screen-filters li { border-radius: 5px; border: 1px solid var(--line); padding: 2px 7px; background: white; font-size: 13px; }
.screen-form { display: flex; align-items: end; gap: 10px; margin-top: 18px; }
.screen-form textarea { font: inherit; resize: vertical; min-width: 0; flex: 1; min-height: 82px; border-radius: 9px; border: 1px solid var(--line); padding: 9px 12px; }
.screen-form button { background: var(--teal); color: white; border-color: var(--teal); }
.screen-form button:disabled { opacity: .55; cursor: wait; }
body.screen-view .hero { display: none; }
.screen-source { margin: 0 0 12px; padding: 10px 13px; border-left: 3px solid var(--teal); background: var(--soft); color: var(--navy); }
.screen-source p { margin: 0; }
.screen-source p + p { margin-top: 4px; font-size: 14px; }
.screen-result-source { color: var(--teal); font-weight: 600; font-size: 14px; }
