/* V5: separate tab cards and one compact explanation, without overlapping edges. */
.sinsal-section--compact{margin:20px 0;padding:18px 0;border-bottom:0}
.sinsal-section--compact .sinsal-heading h3{margin:0 0 12px;font-size:1rem}
.sinsal-section--compact .sinsal-tabs{gap:8px;align-items:stretch}
.sinsal-section--compact .sinsal-tab,
.sinsal-section--compact .sinsal-tab[aria-selected=false]{padding:7px;border:1px solid #d9d4c8;border-radius:10px;background:#f0eee6}
.sinsal-section--compact .sinsal-tab[aria-selected=true]{border:2px solid #526c58;padding:6px;background:#fffdf6}
.sinsal-section--compact .sinsal-tab[aria-selected=true]:after{content:none}
.sinsal-section--compact .sinsal-tab img{width:100%;max-width:76px;height:auto;aspect-ratio:1;object-fit:contain}
.sinsal-section--compact .sinsal-tab:focus-visible{outline:2px solid #526c58;outline-offset:3px}
.sinsal-section--compact .sinsal-explanations{min-height:0;margin:10px 0 0;padding:12px 14px;border:0;border-radius:8px;background:#f4f3eb}
.sinsal-section--compact .sinsal-explanations p{font-size:.875rem;line-height:1.75;color:#405448}
.reading-followup-thread{margin:24px 0;padding:22px 0 0;border-top:1px solid #d9d4c8;overflow-anchor:none}
.reading-followup-thread .chat-messages{gap:20px}
.reading-followup-thread .chat-message.assistant{border-left:0;padding:0}
.reading-followup-thread .chat-message.user,.chat-workspace .reading-followup-question{padding:13px 16px;border-radius:14px 14px 3px 14px;background:#e9eee4;max-width:90%}
.reading-followup-thread .chat-message>span{font-size:.8125rem;font-weight:600;color:#465c48}
.reading-followup-thread .chat-message p{margin-top:6px}
.reading-followup-typing{display:flex;align-items:center;gap:10px;min-height:42px;color:#51634f;font-size:.875rem;align-self:flex-start}
.reading-typing-dots{display:inline-flex;align-items:center;gap:4px;padding:12px 13px;background:#eeeee5;border-radius:12px 12px 12px 3px}
.reading-typing-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#657d64;animation:reading-typing 1.2s infinite ease-in-out}
.reading-typing-dots i:nth-child(2){animation-delay:.16s}.reading-typing-dots i:nth-child(3){animation-delay:.32s}
@keyframes reading-typing{0%,70%,100%{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.reading-typing-dots i{animation:none}}
