body{margin:0;font-family:Arial,sans-serif}.previewbar{position:fixed;bottom:0;left:0;right:0;z-index:10000;background:#112b42;color:white;padding:10px 16px;text-align:center;font-size:13px;box-shadow:0 -2px 12px #0002}.previewbar button{margin-left:12px;background:#fff;color:#12344b;border:0;border-radius:6px;padding:8px;cursor:pointer}#ff-site{padding-bottom:75px}dialog.preview-dialog{box-sizing:border-box;width:min(650px,94vw);max-height:88vh;border:0;border-radius:18px;padding:26px;color:#12344b;box-shadow:0 20px 90px #0005}dialog::backdrop{background:#092235aa;backdrop-filter:blur(4px)}.preview-dialog h2{margin-top:0;font-size:26px}.preview-dialog label{display:grid;gap:6px;font-size:15px;margin:12px 0}.preview-dialog input,.preview-dialog select{padding:12px;border:1px solid #adc1cd;border-radius:8px;font:inherit;width:100%;box-sizing:border-box;background:#fff}.preview-dialog button{padding:12px 16px;border:0;border-radius:8px;background:#087ba0;color:white;font:inherit;cursor:pointer;margin:5px 5px 5px 0}.preview-dialog button:disabled{opacity:.5;cursor:wait}.preview-dialog .secondary{background:#eaf1f5;color:#12344b}.preview-dialog .close{float:right;background:#edf2f5;color:#12344b}.preview-dialog small{line-height:1.5;display:block}.preview-dialog .note{background:#edf7fa;border-left:4px solid #04a3bb;padding:12px;line-height:1.5}.preview-dialog .booking-card{padding:16px;border:1px solid #d5e4ec;border-radius:10px;margin:15px 0;overflow-wrap:anywhere}.preview-dialog .chat-answer{padding:15px;background:#edf6f8;border-radius:8px;line-height:1.6;white-space:pre-line}.preview-dialog pre{white-space:pre-wrap;font:14px/1.5 system-ui}.preview-dialog summary{padding:10px;cursor:pointer;font-weight:bold}#assistant-launch{position:fixed;bottom:80px;right:22px;z-index:9000;border:0;border-radius:30px;background:#087ba0;color:white;padding:16px 20px;box-shadow:0 5px 20px #0003;font:600 16px Arial;cursor:pointer}@media(max-width:600px){.previewbar{font-size:11px;padding:6px}.preview-dialog{padding:18px}#assistant-launch{bottom:85px;right:12px}}

#assistant-launch{width:64px;height:64px;padding:0;border-radius:50%;font-size:42px;line-height:1;color:white;background:linear-gradient(145deg,#178db5,#17619a);border:2px solid #bcecff;display:grid;place-items:center}#assistant-launch:hover{box-shadow:0 6px 24px #177baa66}#assistant-launch:focus-visible{outline:3px solid #f3a247;outline-offset:4px}
.ff-chat[hidden]{display:none}.ff-chat{position:fixed;z-index:9500;right:22px;bottom:154px;width:390px;height:min(610px,calc(100dvh - 180px));display:flex;flex-direction:column;border:1px solid #d5e5ef;border-radius:28px;background:#f7fbff;box-shadow:0 15px 50px #183b5330;overflow:hidden;color:#17364d;font:16px/1.45 Arial,sans-serif}.ff-chat header{position:relative;background:linear-gradient(115deg,#163748,#2c91d0);padding:18px;color:white}.ff-chat header small{font-size:12px;letter-spacing:.8px;font-weight:700}.ff-chat h2{font-size:18px;line-height:1.3;margin:7px 35px 0 0;color:white}.ff-chat header button{position:absolute;right:16px;top:23px;border:1px solid #ffffff50;background:#ffffff20;border-radius:50%;color:white;width:34px;height:34px;font-size:23px;cursor:pointer}.ff-chat-notice{padding:7px 12px;font-size:12px;text-align:center;color:#53687b;background:#eaf2f8}.ff-chat-log{flex:1;min-height:80px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}.ff-chat-bubble{padding:11px 12px;border-radius:16px 16px 16px 4px;background:#eaf3ff;max-width:87%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;flex-shrink:0}.ff-chat-bubble.user{align-self:flex-end;background:#2990d1;color:white;border-radius:16px 16px 4px 16px}.ff-chat-bubble time{display:block;font-size:11px;opacity:.7;margin-top:5px}.ff-chat-controls{padding:0 12px 9px;display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto}.ff-chat-controls button{border:1px solid #bfdbea;border-radius:12px;background:white;color:#135785;padding:8px 10px;font:14px Arial;cursor:pointer}.ff-chat-controls input{max-width:100%;border:1px solid #bfdbea;border-radius:8px;padding:8px;font:16px Arial;min-width:0}.ff-chat-compose{display:flex;gap:7px;background:white;border-top:1px solid #dce6ee;padding:12px}.ff-chat-compose textarea{resize:none;min-width:0;width:100%;border:1px solid #cad9e4;border-radius:16px;padding:12px;font:16px Arial;color:#17364d;box-sizing:border-box}.ff-chat-compose textarea:focus{outline:2px solid #2990d1;outline-offset:2px}.ff-chat-compose button{align-self:flex-end;padding:12px 8px;background:#ec916e;color:white;border:0;border-radius:14px;font:14px Arial;cursor:pointer}.ff-chat button:disabled{opacity:.5}.ff-chat-typing{font-size:14px;color:#617589}@media(max-width:600px){.ff-chat{right:8px;left:8px;width:auto;bottom:155px;height:calc(100dvh - 175px);border-radius:24px}.ff-chat-controls{max-height:135px}.ff-chat header{padding:13px 15px}.ff-chat h2{font-size:17px}.ff-chat-log{padding:12px}.ff-chat-compose{padding:10px}}

.ff-chat-compose[hidden]{display:none}.ff-chat-controls.ff-contact-fields{max-height:none;display:block;flex-shrink:0}.ff-contact-fields form{display:grid;gap:10px}.ff-contact-fields label{display:grid;gap:4px;font-size:14px;font-weight:600;color:#173e57}.ff-contact-fields input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #cbd9e3;border-radius:10px;font-size:16px;min-height:42px;background:#fff;color:#173e57}.ff-contact-fields form>button{background:#eb8a49;color:#fff;font-weight:700;min-height:44px}.ff-contact-fields p:empty{display:none}.ff-contact-fields p{margin:0;color:#9b2727;font-size:14px}

.ff-contact-fields form{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:8px}.ff-contact-name,.ff-contact-help,.ff-contact-fields select,.ff-contact-fields form>button,.ff-contact-fields form>p,.ff-contact-fields textarea{grid-column:1/-1}.ff-contact-help{font-size:12px;line-height:1.5;color:#60798c}.ff-contact-fields select,.ff-contact-fields textarea{min-width:0;box-sizing:border-box;width:100%;padding:10px;border:1px solid #cbd9e3;border-radius:10px;background:#fff;color:#173e57;font:inherit;font-size:16px}.ff-contact-fields label{min-width:0}.ff-chat-controls.ff-contact-fields{max-height:65%;overflow-y:auto}.ff-contact-fields input{min-width:0}

/* Keep the private-preview notice clear of the mobile call/book controls. */
@media(max-width:600px){.previewbar{position:relative;bottom:auto;box-shadow:none;z-index:1}#assistant-launch{bottom:100px}}
/* Keep contact fields scrollable on short phones and above the bottom action bar. */
@media(max-width:600px){
 .ff-chat{bottom:92px;height:calc(100dvh - 108px)}
 .ff-chat-log{min-height:48px}
 .ff-chat-controls.ff-contact-fields{flex-shrink:1;min-height:0;max-height:65%;overscroll-behavior:contain}
 .ff-chat header,.ff-chat-notice{flex-shrink:0}
}
