/* The two conversation screens share a readable, centered 1200px workspace. */
html body #root main.shell.page:has(>.chat-layout),html body main.support-chat-page{box-sizing:border-box;width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;min-width:0;margin:0 auto!important;padding:32px 0 48px!important}
html body main.support-chat-page>.panel{box-sizing:border-box;width:100%;min-width:0;padding:20px;border:1px solid #cfdae3;border-radius:8px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:16px;height:560px;background:#fff}
html body main.support-chat-page .thread{box-sizing:border-box;min-height:0!important;height:100%;max-height:none;overflow:auto;padding:16px;border:1px solid #d9e3eb;border-radius:6px;background:#f6f9fc}
html body main.support-chat-page #form{margin:0;display:grid;gap:8px;min-width:0}
html body main.support-chat-page #message{box-sizing:border-box;width:100%;height:90px;min-height:90px;max-height:180px;resize:vertical;font:16px/1.5 Roboto,Arial,sans-serif}
html body main.support-chat-page #form>button{justify-self:end;width:150px;min-height:44px;padding:10px 20px;font-size:15px}
@media(min-width:651px){
 html body #root main.shell.page>.chat-layout{box-sizing:border-box;width:100%;height:560px;min-height:0!important;display:grid!important;grid-template-columns:280px minmax(0,1fr);gap:0;overflow:hidden;border:1px solid #d5dfe6;border-radius:8px;background:#fff}
 html body #root .chat-layout>.chat-list{box-sizing:border-box;width:100%;min-width:0;overflow:auto;border-right:1px solid #d5dfe6}
 html body #root .chat-layout>.chat-thread{box-sizing:border-box;min-height:0;min-width:0;padding:20px;display:flex;flex-direction:column}
 html body #root .chat-thread .chat-entries{flex:1;min-height:0;overflow:auto}
}
@media(max-width:650px){
 html body #root main.shell.page:has(>.chat-layout),html body main.support-chat-page{width:calc(100% - 24px)!important;padding:20px 0 32px!important}
 html body main.support-chat-page>.panel{height:540px;padding:14px;gap:12px}
 html body main.support-chat-page #form>button{width:100%}
}

/* The guest messages screen has no chat-layout yet; use the existing route heading too. */
html body:has(#unified-header .mobile-section-head[data-section-title="Gesprekken"]) #root main.shell.page{box-sizing:border-box;width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;min-width:0;margin:0 auto!important;padding:32px 0 48px!important}
@media(max-width:650px){html body:has(#unified-header .mobile-section-head[data-section-title="Gesprekken"]) #root main.shell.page{width:calc(100% - 24px)!important;padding:20px 0 32px!important}}

html body #root>.site>main.shell.page.messages-page{box-sizing:border-box;width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;min-width:0;margin:0 auto!important;padding:32px 0 48px!important}
@media(max-width:650px){html body #root>.site>main.shell.page.messages-page{width:calc(100% - 24px)!important;padding:20px 0 32px!important}}

/* First response already contains the same message frame as the live app. */
html body #root>.messages-initial-site{min-width:0}
html body #root .messages-initial-placeholder{box-sizing:border-box;pointer-events:none}
html body #root .messages-initial-list{padding:20px 16px;display:grid;gap:18px}
html body #root .messages-initial-placeholder i{display:block;height:52px;background:#f3f6f8;border:1px solid #e3e9ed;border-radius:6px}
html body #root .messages-initial-thread{display:grid;gap:14px;width:min(70%,420px)}
html body #root .messages-initial-thread i{height:32px}
@media(max-width:650px){html body #root .messages-initial-site .chat-layout{min-height:340px;border:1px solid #d5dfe6;border-radius:8px;background:#fff}html body #root .messages-initial-site .chat-thread{padding:16px}}
