.conversation-surface{padding-top:8px}
.conversation{border:1px solid #dbe4e0;border-radius:8px;overflow:clip;background:#f5f7f6;margin-bottom:16px}
.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#096a54;color:#fff}
.conversation-header strong{font-size:16px}
.conversation-header .section-label{margin:0;color:#e1f1eb;font-size:13px;white-space:nowrap}
.conversation-thread{position:relative;padding:24px 20px;max-height:540px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.conversation-history{display:flex;flex-direction:column;gap:12px}
.conversation-message{padding:14px 16px;max-width:86%;border-radius:8px;margin:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 2px #0000000a}
.conversation-message.assistant{align-self:flex-start;background:#fff;border:1px solid #e0e6e3}
.conversation-message.participant{align-self:flex-end;background:#d8f2e5;border:1px solid #bee0cf}
.current-question{margin-top:16px;max-width:94%;white-space:normal}
.conversation-history:empty+.current-question{margin-top:0}
.current-question h2,.current-question h3{font-size:19px;line-height:1.4;margin:0 0 12px;letter-spacing:0}
.current-question p{margin:8px 0 0}
.current-question .narrative-invitation{font-size:14px;color:#51615a;line-height:1.6}
.conversation-composer{padding:16px 20px;background:#fff;border-top:1px solid #dbe4e0}
.conversation-composer textarea{min-height:128px;max-height:380px;resize:vertical;background:#fff;border-color:#c5d3cd;border-radius:8px;font-weight:400;line-height:1.5}
.conversation-composer .narrative-input label{font-size:13px;color:#51615a}
.conversation-composer .voice-row{margin-top:10px}
.conversation-composer .voice-button{min-height:52px;background:#096a54;color:#fff;border-color:#096a54;border-radius:8px;font-weight:650;padding:12px 18px}
.conversation-composer .voice-button img{filter:brightness(0) invert(1);width:24px;height:24px}
.conversation-composer .voice-button[aria-pressed="true"]{background:#a92c4b;border-color:#a92c4b;color:#fff}
.conversation-composer .voice-status:empty{display:none}
.conversation-composer .voice-status{font-size:14px;color:#096a54;overflow-wrap:anywhere}
.conversation-composer .actions{margin:14px 0 0}
.conversation-composer .actions .primary{background:#096a54;border-color:#096a54;color:#fff}
.conversation-composer .cost-check{margin-top:16px}
.conversation-reply-hint{font-size:13px;margin:10px 0 0;color:#51615a}
.conversation-arriving{animation:conversation-in .18s ease-out}
.conversation-typing{display:flex;gap:4px;position:absolute;top:10px;left:16px;pointer-events:none}
.conversation-typing i{width:5px;height:5px;background:#688b7d;border-radius:50%;animation:conversation-dot .4s ease-in-out infinite alternate}
.conversation-typing i:nth-child(2){animation-delay:.1s}.conversation-typing i:nth-child(3){animation-delay:.2s}
@keyframes conversation-dot{to{opacity:.3;transform:translateY(-2px)}}
@keyframes conversation-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.conversation-header{padding:14px;align-items:flex-start}.conversation-header strong{font-size:14px}.conversation-header .section-label{font-size:12px}.conversation-thread{padding:16px 12px;max-height:400px}.conversation-message{max-width:92%;padding:12px 14px}.current-question{max-width:100%}.current-question h2,.current-question h3{font-size:18px}.conversation-composer{padding:14px 12px}.conversation-composer .voice-button{min-height:56px;width:100%;justify-content:center}.conversation-composer .actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}.conversation-composer .actions button{flex:1 1 140px;min-height:48px}.conversation-composer textarea{font-size:16px}.conversation{margin-inline:0}}
@media(prefers-reduced-motion:reduce){.conversation-arriving{animation:none}.conversation-typing{display:none}}
#appetenceBoard{min-height:320px;gap:10px;margin-top:16px;grid-auto-rows:56px}
#appetenceBoard .choice{display:flex;align-items:center;justify-content:center;min-height:0;height:56px;padding:10px 16px;text-align:center;font-size:16px;line-height:1.25;border:1px solid #e0e6e3}
#appetenceBoard .choice span{width:100%;text-align:center}
#appetences .section-head h2{font-size:24px;line-height:1.2}
@media(max-width:650px){#appetenceBoard{min-height:282px;gap:8px;grid-auto-rows:50px;margin-top:14px}#appetenceBoard .choice{height:50px;padding:8px 12px;font-size:15px}#appetences .panel{padding:12px 0}#appetences .section-head h2{font-size:22px}#appetences .note{font-size:14px;margin:12px 0}#appetences .actions{margin-top:12px}}
.view .primary{background:#096a54;border-color:#096a54;color:#fff}
.view .primary:hover{background:#07523f;border-color:#07523f}
#exchangeIntro .panel>h2,#exchangeIntro .panel>.section-label,#exchangeIntro .panel>.lead,#moneyReviewNotice{display:none}
.context-step .note{font-size:13px;font-style:italic;color:#66756f;line-height:1.6;margin-top:18px}
.conversation-surface>.note{font-size:13px;font-style:italic;color:#66756f;line-height:1.6}
#contextCopyStatus:empty{display:none}
.current-question>p{font-size:14px;color:#51615a;line-height:1.5}
.current-question .scene-context{padding:0;border:0;background:none}
.current-question .lead{font-size:14px}
.conversation-input-row{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:10px;align-items:end}
.conversation-input-row label{min-width:0;margin:0}
.conversation-input-row textarea{display:block;width:100%;min-height:56px;max-height:240px;resize:none;font-size:16px;margin:0}
.conversation-input-row .voice-button{display:flex;align-items:center;justify-content:center;width:52px;height:52px;min-height:52px;padding:0;border-radius:50%;position:relative}
.conversation-input-row .voice-button span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.conversation-history button.participant{font:inherit;text-align:left;color:inherit;cursor:pointer}
.conversation-history button.participant:focus-visible{outline:2px solid #096a54;outline-offset:3px}
.conversation-composer .actions button[hidden]{display:none!important}
.conversation-composer .actions .primary{display:inline-flex;align-items:center;justify-content:center;gap:8px}
[data-conversation-send]{filter:brightness(0) invert(1);flex-shrink:0}
.conversation-typing{position:relative;top:auto;left:auto;display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:12px 16px;background:#fff;border:1px solid #e0e6e3;border-radius:8px;color:#51615a;font-size:13px;margin:16px 0 0}
.conversation-typing span{margin-right:6px}
.conversation-earlier{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}
.conversation-earlier:empty{display:none}
.conversation-typing i{width:7px;height:7px;animation-duration:.55s}
.conversation-waiting{opacity:0;pointer-events:none}
.conversation-arriving{animation-duration:.3s}
.collection-conversation .context-step{margin:0}
.collection-conversation .conversation-thread{max-height:640px}
.collection-conversation .conversation-thread>.assistant{max-width:100%;width:100%;white-space:normal;margin-top:16px;box-sizing:border-box}
.collection-conversation h3{font-size:19px;line-height:1.4;margin:8px 0 12px}
.collection-conversation .conversation-composer{border-radius:0;max-width:none}
.collection-conversation .actions{flex-wrap:wrap}
#appetenceBoard .choice.is-leaving{opacity:0;transform:translateY(-6px) scale(.98)}
@media(max-width:600px){.collection-conversation .conversation-thread{max-height:540px}}
@media(prefers-reduced-motion:reduce){.conversation-waiting{opacity:1}.conversation-typing{display:none}}
