/* Three visual areas; keep the original chat and lifecycle DOM/handlers intact. */
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-shell{grid-template-columns:280px minmax(0,1fr)!important;align-items:stretch}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-main.visit-managed{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(340px,25vw,380px)!important;grid-template-rows:auto auto auto minmax(340px,1fr) auto;column-gap:20px;row-gap:10px;align-content:start;min-height:640px!important;padding:20px!important}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-main.visit-managed>*{grid-column:1;min-width:0}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-order-title{grid-row:1;display:flex;flex-wrap:wrap;gap:8px;align-items:start;justify-content:space-between;margin:0!important}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-order-title h2{font-size:18px!important;line-height:1.3!important;margin:0!important}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-order-title p{font-size:12px!important;line-height:1.5;margin:5px 0 0}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v106-sync-banner{grid-row:2;font-size:11px;margin:0!important;padding:10px 12px!important;overflow-wrap:anywhere}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v177-chat-label{grid-row:3;font-size:12px;margin:0!important}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-chat{grid-row:4;height:100%!important;max-height:none!important;min-height:340px!important;margin:0!important;min-width:0;box-sizing:border-box}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-compose{grid-row:5;position:static!important;padding:0!important;margin:0!important;min-width:0}
body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.visit-lifecycle{grid-column:2!important;grid-row:1/6;align-self:start;max-height:calc(100dvh - 150px);overflow:auto;margin:0!important;padding:16px;border-radius:15px;background:#f9fcfb;border-color:#d4e5de;box-sizing:border-box;scrollbar-gutter:stable;overflow-wrap:anywhere}
body.fx260-pro-shell #pro-conversas .visit-panel-heading{display:grid;gap:8px}
body.fx260-pro-shell #pro-conversas .visit-panel-heading h3{font-size:16px;margin:5px 0 0;line-height:1.4}
body.fx260-pro-shell #pro-conversas .visit-panel-heading>span{justify-self:start;font-size:11px;padding:5px 9px}
body.fx260-pro-shell #pro-conversas .visit-schedule{display:grid;gap:8px;margin:14px 0;font-size:12px}
body.fx260-pro-shell #pro-conversas .visit-schedule button{justify-self:start}
.pro-work-facts{display:grid;gap:12px;margin:14px 0}.pro-work-facts p{display:grid;gap:4px;margin:0!important;font-size:12px!important}.pro-work-facts small{font-size:10px;color:#6a8390;letter-spacing:.05em;font-weight:700}
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-timeline{display:grid;gap:4px;border-left:2px solid #cae1d9;padding-left:10px;margin:16px 0}
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-timeline li{background:transparent;padding-top:4px;padding-bottom:4px;line-height:1.4}
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-actions{display:grid;gap:10px}
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-pending-steps{grid-template-columns:minmax(0,1fr)}
body.fx260-pro-shell #pro-conversas .visit-pending-step{justify-items:stretch}
body.fx260-pro-shell #pro-conversas .visit-lifecycle button{max-width:100%;white-space:normal;min-height:40px}
body.fx260-pro-shell #pro-conversas .visit-lifecycle fieldset{grid-template-columns:minmax(0,1fr);min-width:0}
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-code{padding:12px}
body.fx260-pro-shell #pro-conversas .visit-options>div{flex-direction:column;align-items:stretch;padding:12px}
/* The work context owns scrolling; expanded sections remain in its flow. */
body.fx260-pro-shell #pro-conversas .visit-lifecycle .visit-work-plan[open]{max-height:none;overflow:visible}
@media(min-width:1200px){
 body.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="conversations"] main.container{max-width:1920px!important;padding-inline:clamp(24px,1.7vw,32px)!important}
}
@media(max-width:1199px){
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-shell{grid-template-columns:250px minmax(0,1fr)!important}
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-main.visit-managed{display:flex!important;flex-direction:column;gap:12px}
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-chat{height:clamp(340px,48vh,620px)!important;max-height:620px!important}
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.visit-lifecycle{order:10;max-height:none;overflow:visible;width:100%;margin-top:8px!important}
}
@media(max-width:900px){body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-shell{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .v105-conv-main.visit-managed{padding:14px!important}
 body.fx260-pro-shell.fx260-pro-shell #pro-conversas .visit-managed>.v105-chat{height:360px!important;min-height:300px!important;max-height:52dvh!important}
}
