/* Chat follows the main content column, never the sidebar or viewport width. */
body .layout>.service-chat-content {display:contents}
.canada-home-chat-bottom {min-width:0}
body .layout>.service-chat-content>main {grid-column:2;min-width:0}
body .layout>.service-chat-content>.service-chat-bottom,
body .layout>.service-chat-bottom {grid-column:2!important;min-width:0;justify-self:stretch;margin-top:28px!important}
body .service-chat-section.service-chat-bottom {width:100%;max-width:none;box-sizing:border-box;grid-template-columns:minmax(220px,.43fr) minmax(0,1fr);gap:32px;padding:28px}
body .service-chat-section .service-chat-panel {width:100%;min-width:0;min-height:0;height:auto}
body .service-chat-section .service-chat-header {padding:18px 20px;min-height:70px}
body .service-chat-section .service-chat-header strong {font-size:18px;color:#315c76}
body .service-chat-section .service-chat-header div>span {font-size:12px;margin-top:4px}
body .service-chat-section .service-chat-scroll {min-height:100px;max-height:380px;padding:18px 20px}
body .service-chat-section .service-chat-links {margin:0 0 16px;gap:8px}
body .service-chat-section .service-chat-links a {font-size:14px;min-height:44px}
body .service-chat-section .service-chat-contact-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
body .service-chat-section .service-chat-identity legend {font-size:16px;font-weight:700;padding:0 0 12px;color:#315c76}
body .service-chat-section .service-chat-identity label {font-size:13px}
body .service-chat-section .service-chat-identity input {font-size:16px;min-height:44px;height:44px}
body .service-chat-section .service-chat-identity .service-chat-consent {display:flex;gap:9px;font-weight:400;font-size:12px;margin:16px 0}
body #service-chat .service-chat-identity .service-chat-consent input {width:18px!important;max-width:18px;height:18px!important;min-height:18px!important;flex:0 0 18px;padding:0;margin-top:2px}
body .service-chat-section .service-chat-contact-save {border:1px solid #678eac;border-radius:6px;background:#678eac;color:white;padding:11px 18px;min-height:44px;font:inherit;font-size:15px;cursor:pointer}
body .service-chat-section .service-chat-contact-save:disabled {opacity:.6;cursor:wait}
body .service-chat-section .service-chat-profile {display:flex;justify-content:flex-end;margin:0 0 8px}
body .service-chat-section .service-chat-profile button {border:0;background:none;text-decoration:underline;color:#597b90;font-size:12px;cursor:pointer;padding:6px}
body .service-chat-section .service-chat-typing {display:flex;align-items:center;gap:9px;font-size:12px;color:#6d889b;margin:14px 0 0;min-height:22px}
body .service-chat-section .service-chat-typing i {width:5px;height:5px;border-radius:50%;background:currentColor;animation:chat-typing 1s infinite}
body .service-chat-section .service-chat-typing i:nth-child(2) {animation-delay:.15s}
body .service-chat-section .service-chat-typing i:nth-child(3) {animation-delay:.3s}
body .service-chat-section .service-chat-message p {font-size:16px;line-height:1.55}
body .service-chat-section [hidden] {display:none!important}
@keyframes chat-typing {0%,70%,100%{opacity:.3}35%{opacity:1}}
@media(max-width:1000px){body .layout>.service-chat-content>main,body .layout>.service-chat-content>.service-chat-bottom,body .layout>.service-chat-bottom{grid-column:auto!important}}
@media(max-width:900px){body .service-chat-section.service-chat-bottom{display:block;padding:24px}.service-chat-info{padding-bottom:22px}}
@media(max-width:600px){
 body .service-chat-section.service-chat-bottom{padding:18px 12px}
 body .service-chat-section .service-chat-contact-fields{grid-template-columns:1fr!important;gap:9px}
 body .service-chat-section .service-chat-scroll{padding:14px 12px;max-height:300px}
 body .service-chat-section .service-chat-header{padding:14px 12px}
 body .service-chat-section .service-chat-header strong{font-size:16px}
 body .service-chat-section .service-chat-message p{font-size:15px}
 body .service-chat-section .service-chat-links a{width:auto;flex:1 1 130px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){body .service-chat-section .service-chat-typing i{animation:none;opacity:.7}}
