/* Keep the existing PSK palette; give the conversation the working space. */
body.warm-modern[data-screen=chats]>main{grid-template-rows:auto auto minmax(0,1fr)!important;padding-top:12px!important}
body.warm-modern[data-screen=chats] .command-bar{display:none!important}
body.warm-modern[data-screen=chats] main>header{grid-row:1!important;padding:6px 0 12px!important}
body.warm-modern[data-screen=chats] #notice{grid-row:2!important}
body.warm-modern[data-screen=chats] main>.workspace{grid-row:3!important;grid-template-columns:minmax(0,1fr)!important}
body.warm-modern[data-screen=chats]:not(.dialogue-tools-open) .context-rail{display:none!important}
body.warm-modern[data-screen=chats].dialogue-tools-open main>.workspace{grid-template-columns:minmax(0,1fr) var(--warm-side)!important}
body.warm-modern[data-screen=chats] #view{padding:0!important}
body.warm-modern[data-screen=chats] .chat-scroll{padding:12px 16px 22px!important;scroll-padding-bottom:20px}
body.warm-modern[data-screen=chats] .messages{max-width:920px;margin:0 auto;width:100%;gap:20px}
body.warm-modern[data-screen=chats] .bubble.assistant{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:12px 6px!important;width:100%;max-width:100%}
body.warm-modern[data-screen=chats] .bubble.user{padding:14px 18px!important;max-width:85%;align-self:flex-end}
body.warm-modern[data-screen=chats] .message-body{font-size:16px;line-height:1.65;white-space:pre-wrap}
body.warm-modern[data-screen=chats] .bubble-heading{margin-bottom:6px}
body.warm-modern[data-screen=chats] .composer{width:min(100%,960px)!important;margin:0 auto!important;min-height:76px;flex-shrink:0}
body.warm-modern[data-screen=chats] .composer textarea{font-size:16px!important;line-height:1.5!important;min-height:52px;max-height:180px}
.dialogue-shortcuts{display:flex;flex-wrap:wrap;gap:8px;padding:0 4px 10px;flex-shrink:0}
.dialogue-shortcuts button{margin:0!important;font-size:13px!important;padding:8px 12px!important}
.dialogue-shortcuts button:last-child{margin-left:auto!important}
.assistant-action{max-width:880px;margin:18px auto;padding:22px;background:#faf7f1;border:1px solid #d8c4af;border-radius:18px;box-shadow:0 3px 12px #6a482b0b}
.assistant-action h3{font-size:22px;margin:10px 0 18px}
.assistant-action>small{font-size:11px;letter-spacing:.06em;color:#766650}
.dialogue-choices{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.assistant-action .dialogue-choice{margin:4px 0!important;min-height:44px;white-space:normal;text-align:left}
.dialogue-choices label,.dialogue-choices input,.dialogue-choices textarea{flex-basis:100%;width:100%;box-sizing:border-box}
.dialogue-choices textarea{min-height:90px;font-size:16px}
.dialogue-summary{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:10px 18px;margin:18px 0}
.dialogue-summary dt{color:#766650}.dialogue-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.assistant-action details{padding:12px 0}.assistant-action details button{margin-right:8px!important}
.assistant-action details summary{cursor:pointer}.assistant-action>.dialogue-choice{margin-right:10px!important}
@media(max-width:1050px){body.warm-modern[data-screen=chats].dialogue-tools-open .context-rail{display:block!important;width:auto!important;min-width:0!important;max-height:32vh;overflow:auto}body.warm-modern[data-screen=chats].dialogue-tools-open main>.workspace{display:flex!important;flex-direction:column}}
@media(max-width:650px){body.warm-modern[data-screen=chats] .chat-scroll{padding:8px!important}.assistant-action{padding:16px}.assistant-action h3{font-size:19px}.dialogue-summary{grid-template-columns:1fr;gap:4px}.dialogue-summary dd{margin-bottom:9px}.dialogue-shortcuts button{font-size:12px!important}.dialogue-shortcuts button:last-child{margin-left:0!important}}
