.commercial-launcher{position:fixed;left:auto;right:20px;bottom:max(16px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;z-index:60;max-width:min(340px,calc(100vw - 28px));padding:10px 16px 10px 9px;background:#effbf8;color:#13384a;border:1px solid #b5d9d2;border-radius:20px;box-shadow:0 6px 24px #163c4826;cursor:pointer;font:600 14px/1.4 system-ui,sans-serif;text-align:left}.commercial-launcher img{object-fit:contain;flex:none}
.commercial-dialog{position:fixed;inset:auto 20px max(16px,env(safe-area-inset-bottom)) auto;margin:0;z-index:70;box-sizing:border-box;color:#123348;background:#f3f8f7;border:1px solid #b6d1d6;border-radius:24px;padding:0;width:min(640px,calc(100vw - 40px));height:min(840px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;font:15px/1.5 system-ui,sans-serif;box-shadow:0 24px 80px #102e3940}.commercial-dialog[open]{display:flex;flex-direction:column}.commercial-dialog.commercial-maximized{width:calc(100vw - 40px);height:calc(100dvh - 32px)}.commercial-launcher[hidden]{display:none!important}.commercial-window-controls{display:flex;gap:6px;flex:none}
.commercial-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;background:#fff;padding:16px 20px;border-bottom:1px solid #dae8e4}.commercial-identity{display:flex;align-items:center;gap:12px}.commercial-identity img{object-fit:contain}.commercial-dialog h2{font-size:20px;margin:0;line-height:1.2}.commercial-identity p{font-size:12px;color:#526b70;margin:4px 0 0}
.commercial-dialog button{min-height:44px;border:1px solid transparent;border-radius:12px;padding:10px 12px;background:#126e68;color:#fff;cursor:pointer;font:600 14px/1.35 system-ui,sans-serif}.commercial-dialog button:disabled{opacity:.55;cursor:default}.commercial-dialog button:focus-visible,.commercial-launcher:focus-visible,.commercial-dialog textarea:focus-visible,.commercial-dialog input:focus-visible,.commercial-dialog a:focus-visible{outline:3px solid #1aa58b;outline-offset:3px}.commercial-dialog .commercial-close{background:#f0f6f4;color:#294a50;font-size:26px;width:44px;padding:0}
.commercial-conversation{display:flex;flex-direction:column;flex:1;min-height:100px;overflow:hidden;padding:0 16px}.commercial-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px 0}.commercial-bubble{box-sizing:border-box;width:fit-content;max-width:90%;background:#fff;border:1px solid #e0ebe7;border-radius:16px 16px 16px 4px;padding:11px 14px;margin:0 0 12px;overflow-wrap:anywhere;box-shadow:0 2px 3px #173c3505}.commercial-bubble p{white-space:pre-wrap;margin:5px 0 0}.commercial-bubble strong{font-size:11px;color:#526b70}.commercial-bubble.visitor{margin-left:auto;background:#dbf0e9;border-color:#c8e7db;border-radius:16px 16px 4px 16px}.commercial-bubble.agent{border-left:3px solid #168476}.commercial-time{display:block;text-align:right;font-size:10px;color:#58716e;margin-top:6px}
.commercial-bottom{flex:none;max-height:62%;overflow:auto;overscroll-behavior:contain;background:#fff;padding:0 16px max(10px,env(safe-area-inset-bottom));border-top:1px solid #dae8e4}.commercial-hint{font-size:12px;color:#49616b}.commercial-status{padding:8px 0;margin:0;font-size:12px;color:#49616b}.commercial-status:empty{display:none}.commercial-dialog input:not([type=checkbox]),.commercial-dialog textarea{display:block;box-sizing:border-box;width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #adc7cd;border-radius:12px;padding:10px;margin:6px 0 12px}.commercial-dialog form{margin:0}.commercial-composer-row{display:flex;align-items:flex-end;gap:8px;background:#f4f8f7;border:1px solid #c9dcd6;border-radius:16px;padding:6px}.commercial-composer-row textarea{resize:none;flex:1;min-width:0;background:transparent;border:0;margin:0;max-height:100px;min-height:44px;line-height:1.4;padding:8px}.commercial-dialog .commercial-send{flex:none;width:44px;height:44px;padding:0;border-radius:12px;font-size:24px}
.commercial-consent-card{padding:10px 0 12px}.commercial-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#49616b}.commercial-consent input{flex:none;width:18px;height:18px;margin:2px 0;accent-color:#126e68}.commercial-actions,.commercial-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 12px}.commercial-suggestions{flex:none}.commercial-suggestions button{font-size:12px;border:1px solid #c8ddd5;background:#fff;color:#21504b;border-radius:18px;min-height:40px}.commercial-tools{display:flex;justify-content:center;margin-top:3px}.commercial-tools button{font-size:11px;background:transparent;color:#49616b;padding:4px 8px;min-height:36px}.commercial-options{padding:10px 12px;margin:0 0 10px;background:#f2f7f5;border:1px solid #dce9e3;border-radius:12px;max-height:190px;overflow:auto}.commercial-options p{margin:6px 0 10px}.commercial-options button{background:#e1efea;color:#21504b}.commercial-policy{text-align:center;font-size:11px;margin:0 0 2px}.commercial-dialog a{color:#176e68;text-underline-offset:3px}.commercial-dialog [hidden]{display:none!important}.commercial-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.commercial-launcher{left:auto;right:14px;max-width:290px;font-size:13px}.commercial-launcher img{width:39px;height:51px}.commercial-dialog{left:auto;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:86dvh;max-height:calc(100dvh - 16px);border-radius:18px;margin:0}.commercial-dialog.commercial-maximized{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.commercial-header{padding:max(12px,env(safe-area-inset-top)) 16px 12px}.commercial-dialog input:not([type=checkbox]),.commercial-dialog textarea{font-size:16px}.commercial-bottom{padding-left:12px;padding-right:12px}.commercial-bubble{max-width:92%}.commercial-consent{font-size:11px}}
#dati-greeting{max-width:240px;white-space:normal;font-size:14px;line-height:1.4;text-align:left;opacity:1;visibility:visible}@media(max-width:480px){#dati-greeting{max-width:200px;font-size:13px}}
