#withinView .wd-panel { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
#withinView .wd-badge { color: var(--muted); font-size: .88rem; line-height: 1.5; }
#withinView .wd-message { border-left: 3px solid var(--line); padding: 12px 16px; margin: 14px 0; background: var(--soft); border-radius: 0 12px 12px 0; }
#withinView .wd-message.wd-user { border-left-color: var(--green); background: var(--paper-solid); }
#withinView .wd-message p { white-space: pre-wrap; line-height: 1.6; overflow-wrap: anywhere; }
#withinView .wd-question { font-weight: 600; }
#withinView .wd-consent { max-height: min(85vh,850px); overflow: auto; }
#withinView .wd-consent pre { max-height: 250px; overflow: auto; padding: 12px; background: var(--soft); font-size: .88rem; }
#withinView .wd-check { display: flex; align-items: flex-start; gap: 10px; }
#withinView .wd-check input { width: auto; margin-top: 5px; }
#withinView .wd-progress { color: var(--muted); line-height: 1.6; margin: 18px 0; }
#withinView .wd-panel textarea { min-height: 110px; }
#withinView .wd-panel button:disabled { cursor: default; }
#withinView .wd-panel { margin-top: 18px; padding-top: 14px; }
#withinView .wd-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#withinView .wd-panel .wi-actions { margin: 12px 0; }
#withinView .wd-panel h3 { font-size: 1rem; margin: 16px 0 8px; }
#withinView .wd-context-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; max-height: 200px; overflow: auto; }
#withinView .wd-save-receipt { border-left: 3px solid var(--green); padding: 10px 14px; margin: 12px 0; background: var(--soft); line-height: 1.5; }
