.case-steps{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.case-steps button{border-radius:20px;padding:7px 15px;color:var(--green)}
#drawing-panel,#analysis-panel,#conversation-panel{scroll-margin-top:100px}.analysis-prose{max-width:900px}.analysis-prose h3{font-size:19px;margin:23px 0 8px}.analysis-prose p{line-height:1.9}.analysis-summary{white-space:pre-wrap;max-height:310px;overflow:auto;padding-right:12px}
.full-analysis{margin:20px 0;padding-top:16px;border-top:1px solid var(--line)}.full-analysis>summary{font-weight:600;color:var(--green);cursor:pointer}.full-analysis>.panel{border:0;box-shadow:none;padding:20px 0;margin:0}.full-analysis .reading-overview{display:none}
.conversation-section{padding:30px clamp(18px,5vw,60px)}.conversation-section .section-heading{margin-bottom:16px}.chat-context{display:inline-block;border-radius:9px;background:var(--green-soft);padding:9px 13px;font-size:14px;margin-bottom:10px}.chat-boundary{font-size:13px;color:var(--muted);margin-bottom:20px}.chat-boundary p{max-width:850px;margin-top:10px}.chat-model{color:var(--muted);font-size:13px}
.conversation-messages{max-height:650px;overflow-y:auto;overflow-wrap:anywhere;padding:6px 4px;overscroll-behavior:contain}.conversation-turn{padding:16px 0 24px}.speaker{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:8px}.user-bubble{background:#e8efea;border-radius:18px 18px 4px 18px;padding:15px 20px;margin-left:auto;max-width:85%;width:fit-content;white-space:pre-wrap}.assistant-bubble{padding:22px 2px 0;white-space:pre-wrap;line-height:1.9;max-width:900px}.assistant-bubble small{color:var(--muted);font-size:12px;margin-top:12px}.conversation-empty{padding:24px 0;color:var(--muted)}
.chat-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.chat-suggestions button{border-radius:20px;padding:7px 13px;font-size:13px}.chat-composer{border:1px solid #a8bcb4;background:#fff;border-radius:20px;padding:16px}.composer-label{font-size:13px;color:var(--muted)}.chat-composer textarea{border:0;padding:10px 0;min-height:90px;border-radius:0;resize:vertical;line-height:1.75}.chat-composer textarea:focus-visible{outline:0}.chat-composer:focus-within{outline:2px solid var(--green);outline-offset:2px}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.composer-bottom span{font-size:12px;color:var(--muted)}#chat-status{margin:8px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:760px){.user-bubble{max-width:95%}.conversation-section{padding:18px}.conversation-messages{max-height:550px}.composer-bottom span{font-size:11px}.detail-actions button{font-size:13px}.analysis-summary{max-height:250px}}
