/* A conversation with room for the important details. */
.chat-toolbar{display:flex;align-items:center;gap:4px;padding:4px 10px 8px;background:#fafbf7;border-top:1px solid #e2e7dc;flex-shrink:0}
.chat-toolbar button{flex:1;min-height:44px;background:transparent;font-size:12px;border-radius:8px;color:#476851}
.chat-toolbar button:hover{background:#e9f0e0;color:#164a37}
.chat-close{display:none;min-width:44px;min-height:44px;background:transparent;font-size:24px;border-radius:50%;order:-1}
.purchase-mode{padding:8px 14px;background:#e5eccf;color:#45603e;font-size:9px;font-weight:600;letter-spacing:.8px;display:flex;justify-content:space-between;flex-shrink:0}
.purchase-mode span{font-weight:400;letter-spacing:0}
.plan-search{display:block;width:100%;border:1px solid #c7d3bf;background:#fff;border-radius:9px;padding:12px;font-size:16px;min-height:46px;margin-top:14px;color:var(--ink)}
.plan-count{font-size:11px;line-height:1.5;color:#66765c;margin:10px 0 4px;white-space:normal}
.quote-total{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #d9e2d1;padding:18px 0 14px;margin-bottom:14px;white-space:normal}
.quote-total>span{font-size:9px;letter-spacing:1.1px;color:#6e7c62}
.quote-total>strong{font-size:34px;font-weight:500;letter-spacing:-1.5px;color:#164a37}
.quote-expiry{display:block;margin-top:12px;font-size:11px;line-height:1.5;color:#66765c;white-space:normal}
.quote-message dd{overflow-wrap:anywhere}
.inline-chat-tools #expand-chat{min-height:44px;font-size:11px}
#chat-dialog{padding:0;border:1px solid #d4dfcc;border-radius:22px;width:min(520px,calc(100vw - 32px));max-width:none;height:min(850px,calc(100dvh - 40px));max-height:none;background:#fafbf7;color:var(--body);overflow:hidden;box-shadow:0 30px 120px #0a291f33}
#chat-dialog::backdrop{background:#0b291dc2;backdrop-filter:blur(6px)}
body.chat-is-open{overflow:hidden}
#chat-dialog .phone-wrap,#chat-dialog .phone,#chat-dialog .phone-screen{width:100%;height:100%;max-height:none;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
#chat-dialog .chat-close{display:block}
#chat-dialog .wa-header{padding:12px 16px;gap:10px}
#chat-dialog .interactive-messages{padding:20px 16px;scroll-padding:16px}
#chat-dialog .message{max-width:94%;font-size:15px;line-height:1.6;padding:14px;border-radius:12px 12px 12px 3px;margin-bottom:16px;white-space:pre-line}
#chat-dialog .message.outgoing{border-radius:12px 12px 3px 12px}
#chat-dialog .chat-choices{gap:8px}
#chat-dialog .chat-choices button{font-size:13px;min-height:46px;padding:11px 12px;border-radius:9px}
#chat-dialog .service-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
#chat-dialog .live-offer{padding:14px 12px;border-radius:9px;min-height:68px}
#chat-dialog .live-offer strong{font-size:14px;line-height:1.5}
#chat-dialog .offer-price{font-size:13px}
#chat-dialog .receipt-note,#chat-dialog .verified-account{font-size:12px!important;line-height:1.65!important}
#chat-dialog .quote-message dl{grid-template-columns:90px minmax(0,1fr);gap:12px}
#chat-dialog .quote-message dt{font-size:12px}
#chat-dialog .quote-message dd{font-size:14px}
#chat-dialog .chat-choices .confirm-purchase{font-size:14px;min-height:52px}
#chat-dialog .order-message>p{font-size:14px;line-height:1.7}
#chat-dialog .order-reference{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
#chat-dialog #chat-form{padding:12px;flex-shrink:0}
#chat-dialog #reply{height:46px;font-size:16px}
#chat-dialog #chat-form>button{width:46px;height:46px;flex-basis:46px}
#chat-dialog .chat-toolbar{padding:3px 12px max(8px,env(safe-area-inset-bottom))}
#chat-dialog .chat-toolbar button{font-size:13px}
#chat-dialog .electricity-token>strong{font-size:19px;letter-spacing:.5px}
#chat-dialog .chat-mode-label{font-size:9px}
#chat-dialog #live-status{font-size:10px}
@media(max-width:680px){
 #chat-dialog{position:fixed;inset:var(--chat-top,0px) 0 auto;margin:0;width:100%;height:var(--chat-height,100dvh);border:0;border-radius:0}
 #chat-dialog .wa-header{padding: max(10px,env(safe-area-inset-top)) 10px 10px}
 #chat-dialog .interactive-messages{padding:16px 12px}
 #chat-dialog .message{max-width:96%}
 #chat-dialog .chat-mode-label{font-size:8px;padding:5px}
 .chat-choices button{min-height:44px;font-size:12px}
 .inline-chat .message{font-size:14px;line-height:1.6}
 .inline-chat .receipt-note{font-size:12px!important}
 .inline-chat .service-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .inline-chat .live-offer strong{font-size:14px}
 .inline-chat #reply{font-size:16px}
 .inline-chat #chat-form>button{width:44px;height:44px;flex-basis:44px}
 .inline-chat .phone{height:580px;max-height:76svh}
}
@media(prefers-reduced-motion:reduce){#chat-dialog::backdrop{backdrop-filter:none}}

@media(max-width:370px){.network-row{gap:6px;flex-wrap:wrap}.carrier{padding-inline:6px}}

/* A second familiar channel, within Sabi's existing visual language. */
.channel-options{margin-top:22px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.channel-options>span{font-size:11px;color:#6d7969}
.channel-options>div{display:flex;gap:9px;flex-wrap:wrap}
.channel-options button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;border:1px solid #cbd5c4;border-radius:999px;background:transparent;color:#24543f;font:inherit;font-size:12px;transition:background .2s,border-color .2s}
.channel-options button:hover{background:#e8eedd;border-color:#82977c}
.channel-options .icon{width:17px;height:17px}
.channel-options .channel-arrow{width:12px;height:12px;margin-left:4px;opacity:.55}
.plan-choice{display:flex;align-items:center;gap:9px;min-height:46px;padding:12px;margin:12px 0;border:1px solid #cad8c0;background:#f2f6eb;border-radius:10px;color:#214f38;text-decoration:none;font-size:13px;white-space:normal}
.plan-choice:hover{background:#e5efda}
.plan-choice .icon{width:19px;height:19px;flex-shrink:0}
.closing-telegram{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:transparent;color:inherit;font:inherit;font-size:12px;min-height:44px;margin-top:6px}
.closing-telegram .icon{width:17px;height:17px}
.channel-options button:focus-visible,.plan-choice:focus-visible,.closing-telegram:focus-visible{outline:2px solid #547c44;outline-offset:4px}
@media(min-width:681px) and (max-width:900px){.channel-options{align-items:center}.channel-options>div{justify-content:center}}
@media(max-width:680px){.closing-telegram{grid-column:1/-1;justify-self:start}}
