.ff-chat-preview{width:100%;min-width:0;overflow:hidden;border:1px solid #cad9ed;border-radius:20px;background:#fff;color:#16305e;font-family:Archivo,Arial,sans-serif;box-shadow:0 14px 34px #16305e0a;text-align:left}
.ff-chat-preview *, .ff-chat-preview *::before,.ff-chat-preview *::after{box-sizing:border-box}
.ff-preview-header{min-height:60px;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #dce6f5;background:#f8fbff}
.ff-preview-title,.ff-preview-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ff-preview-title>strong{font-size:16px;font-weight:700;line-height:1.35}
.ff-preview-demo-label{border:1px solid #d6e2f3;border-radius:999px;padding:4px 8px;font-size:12px;color:#47617f;line-height:1.3}
.ff-preview-channels{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}
.ff-preview-channel-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 10px;border:1px solid #bdcee7;border-radius:9px;background:#fff;color:#16305e;font:600 13px/1.3 Archivo,Arial,sans-serif;cursor:pointer}
.ff-preview-channel-button[aria-pressed="true"]{background:#eaf3ff;border-color:#8fabd1}
.ff-preview-channel-button:hover{background:#eaf3ff}
.ff-preview-channel-icon{display:inline-flex;flex:none;width:18px;height:18px}
.ff-preview-channel-whatsapp .ff-preview-channel-icon{color:#247c5b}
.ff-preview-channel-name{white-space:nowrap}
.ff-preview-channel-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:50%;background:#dce8f8;color:#16305e;font-size:11px}
.ff-preview-controls button,.ff-preview-step{appearance:none;border:1px solid #bdcee7;border-radius:9px;background:#fff;color:#16305e;min-height:44px;padding:7px 11px;font:600 13px/1.3 Archivo,Arial,sans-serif;cursor:pointer}
.ff-preview-controls button:hover,.ff-preview-step:hover{background:#eaf3ff}
.ff-chat-preview button:focus-visible,.ff-chat-preview a:focus-visible,.ff-preview-messages:focus-visible{outline:3px solid #4b80ca;outline-offset:3px}
.ff-preview-status{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.4;color:#526986;white-space:nowrap}
.ff-preview-status::before{content:'';width:7px;height:7px;border-radius:50%;background:#9aaec8}
.ff-chat-preview[data-preview-playback="ao-vivo"] .ff-preview-status::before{background:#1e7d67}
.ff-preview-workspace{display:grid;grid-template-columns:minmax(155px,.23fr) minmax(0,1fr) minmax(195px,.32fr);min-height:290px}
.ff-preview-queue{padding:20px 14px;background:#f8fbff;border-right:1px solid #dce6f5;min-width:0}
.ff-preview-queue>strong,.ff-preview-order>strong{font-size:14px;line-height:1.5}
.ff-preview-queue-count{display:block;margin-top:4px;color:#627892;font-size:12px;line-height:1.5}
.ff-preview-queue-item{display:flex;align-items:center;gap:10px;padding:12px 10px;margin-top:20px;border:1px solid #b8cce7;border-radius:10px;background:#eaf3ff}
.ff-preview-avatar{width:30px;height:30px;flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#dce8f8;color:#16305e;font-size:13px;font-weight:600}
.ff-preview-queue-copy{display:grid;gap:5px;min-width:0}
.ff-preview-queue-copy strong{font-size:12px;line-height:1.4}
.ff-preview-queue-copy span,.ff-preview-queue-note{font-size:12px;line-height:1.6;color:#61748e}
.ff-preview-queue-note{margin:16px 2px 0}
.ff-preview-conversation{display:grid;grid-template-rows:minmax(54px,auto) 216px auto;min-width:0;min-height:0;background:#fff}
.ff-preview-person{display:flex;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid #e1e9f5}
.ff-preview-person>div{display:grid;gap:3px;flex:1 1 0;min-width:0}
.ff-preview-person strong{font-size:13px;line-height:1.4}
.ff-preview-person div>span{font-size:12px;line-height:1.4;color:#62738b}
.ff-preview-migration,.ff-preview-channel-return{appearance:none;flex:none;min-height:44px;max-width:132px;padding:6px 10px;border:1px solid #bdcee7;border-radius:9px;background:#fff;color:#16305e;font:600 13px/1.3 Archivo,Arial,sans-serif;cursor:pointer}
.ff-preview-migration:disabled{background:#eaf3ff;border-color:#d9e5f7;color:#526986;cursor:default}
.ff-preview-channel-return{max-width:none;margin-top:12px}
.ff-preview-channel-empty{grid-column:1;grid-row:2;min-width:0;min-height:0;padding:20px 18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;background:#fff;overflow-y:auto;overscroll-behavior:auto;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
.ff-preview-channel-empty strong{font-size:14px;line-height:1.4}
.ff-preview-channel-empty p{margin:0!important;color:#62738b!important;font-size:14px!important;line-height:1.6!important}
.ff-chat-preview :is(.ff-preview-messages,.ff-preview-channel-empty,.ff-preview-migration,.ff-preview-queue-item)[hidden]{display:none}
.ff-preview-messages{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto;scroll-behavior:auto;overflow-anchor:none;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;padding:16px 18px;scrollbar-width:thin;display:flex;flex-direction:column;gap:12px}
.ff-preview-message{flex:none;max-width:90%;width:fit-content;padding:12px 14px;border:1px solid #d8e3f2;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.ff-preview-sent{align-self:flex-end;background:#eaf3ff;border-color:#d9e5f7}
.ff-preview-message-author{display:block;font-size:12px;line-height:1.4;color:#4c6583;margin-bottom:5px}
.ff-preview-message-text{margin:0!important;color:#193557!important;font-size:15px!important;line-height:1.6!important;font-weight:400!important;max-width:none!important;letter-spacing:normal!important}
.ff-preview-composer{grid-column:1;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 18px;border-top:1px solid #e1e9f5;background:#fbfdff}
.ff-preview-composer>span{font-size:12px;line-height:1.5;color:#62738b}
.ff-preview-open-app{flex:none;display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;line-height:1.4;color:#16305e;text-decoration:none;border-bottom:1px solid #91abd0;padding:3px 0}
.ff-preview-order{min-width:0;border-left:1px solid #dce6f5;padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#f8fbff}
.ff-preview-order-state{font-size:12px;line-height:1.5;color:#607690}
.ff-preview-order-ready .ff-preview-order-state{color:#1a705e}
.ff-preview-product{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.5;padding:10px;border:1px solid #d8e3f2;background:#fff;border-radius:9px;width:100%}
.ff-preview-product-mark{font-weight:600;color:#617a98}
.ff-preview-total{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:12px;line-height:1.4}
.ff-preview-total strong{font-size:16px;white-space:nowrap;line-height:1.4}
.ff-preview-order-note{font-size:12px;line-height:1.55;color:#61748e;margin:0!important}
.ff-preview-step{margin-top:auto;min-height:44px}
.ff-preview-step:disabled{cursor:default;opacity:.55}
.ff-preview-disclaimer{padding:9px 20px;margin:0!important;border-top:1px solid #dce6f5;color:#63768f!important;font-size:11px!important;line-height:1.5!important;max-width:none!important;background:#fff}
@media(max-width:1050px){.ff-preview-workspace{grid-template-columns:minmax(0,1fr) 220px}.ff-preview-queue{display:none}.ff-preview-header{padding:12px 16px}.ff-preview-title,.ff-preview-controls{gap:8px}}
@media(max-width:700px){.ff-preview-channels{gap:4px}.ff-preview-channel-button{font-size:12px;padding-inline:8px}.ff-preview-person>div{flex-basis:auto}.ff-preview-migration{max-width:110px;padding-inline:8px;font-size:12px}.ff-preview-channel-empty{padding:16px 14px}}
@media(max-width:700px){.ff-chat-preview{border-radius:15px}.ff-preview-header{align-items:flex-start;flex-direction:column;gap:10px;padding:12px 14px}.ff-preview-controls{width:100%;justify-content:flex-end}.ff-preview-status{margin-right:auto}.ff-preview-workspace{display:block}.ff-preview-conversation{grid-template-rows:minmax(54px,auto) 222px auto}.ff-preview-person{padding:10px 14px}.ff-preview-messages{padding:14px;gap:10px}.ff-preview-message{max-width:96%;padding:11px 12px}.ff-preview-message-text{font-size:14px!important;line-height:1.6!important}.ff-preview-composer{padding:10px 14px;gap:10px}.ff-preview-composer>span{max-width:52%;font-size:11px}.ff-preview-open-app{font-size:12px}.ff-preview-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;border-left:0;border-top:1px solid #dce6f5;padding:12px 14px}.ff-preview-order>strong{font-size:13px}.ff-preview-order-state{font-size:11px;justify-self:end;text-align:right}.ff-preview-product{padding:8px;font-size:13px;grid-column:1/-1}.ff-preview-total{grid-column:1}.ff-preview-total>span{font-size:11px}.ff-preview-order-note{display:none}.ff-preview-step{grid-column:2;grid-row:3;margin:0;font-size:12px;padding:6px 8px}.ff-preview-disclaimer{padding:9px 14px;font-size:10px!important}}

/* A demonstração usa o chat de produção; somente a entrada é local e fictícia. */
.ff-shared-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #dce6f5;background:#f8fbff;}
.ff-shared-preview-header>div{display:grid;gap:5px;}.ff-shared-preview-header strong{font-size:15px;line-height:1.4;}.ff-shared-preview-header small{font-size:12px;color:#526986;line-height:1.4;}
.ff-shared-preview-views{display:flex;gap:6px;}.ff-shared-preview-views button{min-height:44px;padding:8px 12px;border:1px solid #c7d7ec;border-radius:9px;background:#fff;color:#16305e;font:600 12px/1.3 Archivo,sans-serif;cursor:pointer;}
.ff-shared-preview-views button[aria-pressed=true]{background:#16305e;color:#fff;border-color:#16305e;}
.ff-shared-preview-journey{margin:0!important;padding:9px 18px;font-size:12px!important;line-height:1.5!important;color:#526986!important;border-bottom:1px solid #dce6f5;max-width:none!important;}
.ff-shared-preview-content{height:clamp(480px,78dvh,740px);min-width:0;overflow:hidden;}
.ff-shared-demo-frame{display:block;width:100%;height:100%;border:0;min-width:0;background:#f6f7fb;}
.ff-shared-preview-invite{height:100%;overflow:auto;touch-action:pan-y pinch-zoom;overscroll-behavior:auto;padding:24px;max-width:620px;margin:auto;background:#f6f8fc;}
.ff-shared-invite-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px;font-size:16px;}.ff-shared-preview-invite>p{background:#fff;border:1px solid #dce6f5;border-radius:14px;padding:14px;font-size:15px!important;line-height:1.6!important;margin:0 0 16px!important;}
.ff-shared-invite-bubble{padding:18px;border:1px solid #d7e4f5;border-radius:14px;background:#eaf3ff;}.ff-shared-invite-bubble>strong{font-size:13px;}.ff-shared-invite-bubble>p{font-size:15px!important;line-height:1.65!important;margin:8px 0 16px!important;color:#16305e!important;}.ff-shared-invite-bubble button{min-height:44px;width:100%;padding:12px 16px;border:0;border-radius:10px;background:#16305e;color:#fff;font:600 14px/1.4 Archivo,sans-serif;cursor:pointer;}.ff-shared-invite-bubble>small{display:block;font-size:11px;line-height:1.5;margin-top:10px;color:#526986;}
@media(max-width:700px){.ff-shared-preview-header{padding:12px;align-items:flex-start;flex-direction:column;gap:10px;}.ff-shared-preview-views{width:100%;}.ff-shared-preview-views button{flex:1;}.ff-shared-preview-journey{padding:9px 12px;}.ff-shared-preview-invite{padding:16px;}.ff-shared-preview-content{height:clamp(480px,76dvh,660px);}}
