/* WPMP-1192: single shared Sky chatbot stylesheet. */
/* Migrated from sky.css; no longer separately enqueued. */
.wpmp-sky{position:fixed;right:22px;bottom:22px;z-index:2147482000;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18213b}.wpmp-sky *{box-sizing:border-box}.wpmp-sky-launcher{background:linear-gradient(120deg,#5934d6,#8353e8);color:white;border:0;border-radius:50px;padding:14px 20px;box-shadow:0 10px 30px #372a7c55;font-size:16px;font-weight:700;cursor:pointer}.wpmp-sky-panel{position:absolute;right:0;bottom:72px;width:min(410px,calc(100vw - 24px));height:min(610px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid #e6dff9;border-radius:20px;overflow:hidden;box-shadow:0 16px 55px #15103938}.wpmp-sky-panel[hidden]{display:none}.wpmp-sky-head{background:linear-gradient(110deg,#5d35ce,#8455e6);padding:17px;color:white;display:flex;align-items:center;gap:12px}.wpmp-sky-head strong,.wpmp-sky-head small{display:block}.wpmp-sky-head small{font-size:12px;opacity:.85}.wpmp-sky-mark{font-size:27px}.wpmp-sky-close{margin-left:auto;border:0;background:transparent;color:white;font-size:30px;cursor:pointer}.wpmp-sky-messages{flex:1;overflow:auto;padding:20px 16px;background:#faf9ff}.wpmp-sky-bubble{margin:0 30px 12px 0;padding:12px 15px;background:white;border:1px solid #eae5f7;border-radius:15px 15px 15px 4px;line-height:1.5;font-size:14px}.wpmp-sky-user{margin-left:30px;margin-right:0;background:#ede5ff;border-color:#e1d4fb;border-radius:15px 15px 4px 15px}.wpmp-sky-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px 13px}.wpmp-sky-actions button{border:1px solid #d9caf7;background:#f8f5ff;color:#6035c3;border-radius:20px;padding:7px 10px;font-size:12px;cursor:pointer}.wpmp-sky-form{display:flex;gap:8px;padding:10px 12px}.wpmp-sky-form input{flex:1;min-width:0;border:1px solid #e0d9ed;border-radius:20px;padding:10px 14px;font-size:14px}.wpmp-sky-form button{border:0;background:#663dd1;color:white;border-radius:50%;width:38px;height:38px;cursor:pointer}.wpmp-sky-disclaimer{text-align:center;font-size:10px;color:#777;padding:0 8px 9px}@media(max-width:480px){.wpmp-sky{right:12px;bottom:12px}.wpmp-sky-panel{bottom:65px;width:calc(100vw - 24px);height:min(640px,calc(100dvh - 92px))}}
/* WPMP-1139: Native newsletter stage */
.wpmp-sky-newsletter-view{position:relative;z-index:2;background:#fff;border-radius:14px;padding:16px;margin:12px;color:#122448;box-sizing:border-box}
.wpmp-sky-newsletter-view h3{margin:0 0 8px;font-size:18px}.wpmp-sky-newsletter-view p{margin:6px 0 12px}
.wpmp-sky-newsletter-form{display:grid;gap:12px}.wpmp-sky-newsletter-form label{display:grid;gap:5px;font-size:13px}
.wpmp-sky-newsletter-form input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:9px;border:1px solid #cdd6e8;border-radius:7px}
.wpmp-sky-newsletter-form .wpmp-sky-newsletter-consent{display:flex;align-items:center;gap:7px}
.wpmp-sky-newsletter-form button{border:0;border-radius:7px;padding:10px;background:#245be8;color:white;cursor:pointer}
.wpmp-sky-newsletter-back{margin-top:10px;background:transparent;border:0;color:#245be8;cursor:pointer}

/* WPMP-1141: Compact embedded-tool controls; colors inherit Appearance Studio tokens. */
#wpmp-sky .wpmp-sky-newsletter-view{background:transparent!important;padding:14px 12px!important;margin:0!important;border:0!important;box-shadow:none!important}
#wpmp-sky .wpmp-sky-newsletter-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
#wpmp-sky .wpmp-sky-newsletter-form .wpmp-sky-newsletter-consent{display:flex!important;align-items:center!important;gap:5px!important}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]{display:inline-flex!important;align-self:flex-start!important;justify-content:center!important;align-items:center!important;width:auto!important;max-width:max-content!important;min-width:0!important;height:27px!important;min-height:27px!important;padding:3px 10px!important;margin:2px 0 0!important;background:var(--sky-accent,#7040df)!important;border:1px solid var(--sky-accent,#7040df)!important;border-radius:6px!important;color:var(--sky-button-text,#fff)!important;font-size:11px!important;font-weight:600!important;line-height:17px!important;box-shadow:none!important;cursor:pointer!important}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]:hover{filter:brightness(.92)}
#wpmp-sky .wpmp-sky-header-back{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;margin-right:5px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:0!important;height:23px!important;padding:2px 7px!important;background:var(--sky-accent,#7040df)!important;border:1px solid var(--sky-accent,#7040df)!important;border-radius:5px!important;color:var(--sky-button-text,#fff)!important;font-size:10px!important;line-height:16px!important;font-weight:600!important;cursor:pointer!important;box-shadow:none!important}
#wpmp-sky .wpmp-sky-header-back:hover{filter:brightness(.92)}
#wpmp-sky .wpmp-sky-header-back[hidden]{display:none!important}

/* WPMP-1142: Unboxed compact actions. Appearance Studio controls the colors. */
#wpmp-sky .sky-shared-head .wpmp-sky-header-back,
#wpmp-sky .wpmp-sky-header-back {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:auto!important;min-height:0!important;padding:2px 0!important;
  margin:0 4px 0 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--sky-button-text,#fff)!important;
  font:500 11px/1.3 system-ui,sans-serif!important;text-decoration:underline!important;
  text-underline-offset:2px!important;cursor:pointer!important;
}
#wpmp-sky .sky-shared-head .wpmp-sky-header-back[hidden],
#wpmp-sky .wpmp-sky-header-back[hidden]{display:none!important}
#wpmp-sky .wpmp-sky-newsletter-form .wpmp-sky-newsletter-consent{
  display:flex!important;align-items:center!important;gap:6px!important;
  flex-wrap:wrap!important;margin-bottom:5px!important;
}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]{
  display:inline-flex!important;align-self:flex-start!important;justify-content:center!important;
  width:auto!important;min-width:0!important;max-width:max-content!important;
  height:auto!important;min-height:0!important;padding:3px 0!important;
  margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--sky-accent,#7040df)!important;
  font:600 12px/1.4 system-ui,sans-serif!important;
  text-decoration:underline!important;text-underline-offset:2px!important;cursor:pointer!important;
}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]:hover,
#wpmp-sky .wpmp-sky-header-back:hover{opacity:.8!important;filter:none!important}

/* Migrated from sky-leads.css; no longer separately enqueued. */
#wpmp-sky-lead-form{overflow:auto;max-height:55vh;background:#fff;color:#202345;border-top:1px solid #e5e0f4}#wpmp-sky-lead-form label{display:block;font-size:12px;margin:9px 0}#wpmp-sky-lead-form input:not([type=checkbox]),#wpmp-sky-lead-form textarea{display:block;box-sizing:border-box;width:100%;padding:9px;border:1px solid #d8d2e9;border-radius:8px;font:inherit}#wpmp-sky-lead-form textarea{min-height:75px}#wpmp-sky-lead-form button{padding:9px 12px;margin:5px 5px 5px 0;border-radius:8px;border:1px solid #ded8ed;cursor:pointer}#wpmp-sky-lead-form button[type=submit]{background:#7141e7;color:white;border:0}#wpmp-sky-lead-form p{font-size:12px}
.sky-guided-capture{padding:16px;margin:12px 0;background:#f7f5ff;border:1px solid #ded7fa;border-radius:14px}.sky-guided-log{max-height:280px;overflow:auto;padding:8px}.sky-guided-controls{display:flex;gap:8px;margin:12px 0}.sky-guided-controls input{flex:1;min-width:0}.sky-guided-controls button,.sky-guided-capture button{cursor:pointer}.wpmp-sky-lead-start{margin:10px;padding:8px 12px;border-radius:10px;background:#6741dc;color:#fff;border:0}

/* Migrated from sky-customer.css; no longer separately enqueued. */
/* WPMP v1029 — visitor chat experience, scoped to Sky */
#wpmp-sky{--sky-purple:#8039e9;--sky-blue:#287bed;--sky-ink:#1d2446;position:fixed;right:22px;bottom:20px;z-index:2147482000;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
#wpmp-sky *{box-sizing:border-box}
#wpmp-sky .wpmp-sky-launcher{display:flex;align-items:center;gap:10px;background:linear-gradient(115deg,var(--sky-purple),var(--sky-blue));color:white;border:0;border-radius:999px;padding:12px 19px;box-shadow:0 10px 30px rgba(68,48,164,.30);font-weight:700;font-size:14px;cursor:pointer}
#wpmp-sky .wpmp-sky-launcher-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:11px;background:rgba(255,255,255,.2);font-size:21px}
#wpmp-sky .wpmp-sky-panel{position:absolute;bottom:72px;right:0;width:min(420px,calc(100vw - 24px));height:min(660px,calc(100dvh - 115px));display:flex;flex-direction:column;background:#fff;border:1px solid #e7e3f6;border-radius:22px;box-shadow:0 18px 65px rgba(20,24,68,.25);overflow:hidden;color:var(--sky-ink)}
#wpmp-sky .wpmp-sky-panel[hidden]{display:none!important}
#wpmp-sky .wpmp-sky-head{background:linear-gradient(112deg,#1e1a54,#214e9e);color:#fff;padding:17px;display:flex;align-items:center;gap:12px;flex:0 0 auto}
#wpmp-sky .wpmp-sky-mark{display:grid;place-items:center;background:linear-gradient(120deg,#9c4bfa,#22c4ef);border-radius:12px;width:39px;height:39px;flex:none;font-size:22px}
#wpmp-sky .wpmp-sky-head strong{display:block;font-size:16px;color:white}
#wpmp-sky .wpmp-sky-head small{display:block;color:#e3e8ff;font-size:11px}
#wpmp-sky .wpmp-sky-online{margin-left:auto;font-size:10px;color:#c8f5e2;white-space:nowrap}
#wpmp-sky .wpmp-sky-close{margin-left:0;background:rgba(255,255,255,.13);color:white;border:0;border-radius:9px;width:31px;height:31px;font-size:23px;cursor:pointer}
#wpmp-sky .wpmp-sky-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#f8f7fe;padding:18px 14px;display:flex;flex-direction:column;gap:12px}
#wpmp-sky .wpmp-sky-bubble{align-self:flex-start;background:white;color:#263053;border:1px solid #e7e3f5;border-radius:16px 16px 16px 5px;padding:11px 14px;margin:0;max-width:92%;font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
#wpmp-sky .wpmp-sky-bubble.wpmp-sky-user{align-self:flex-end;background:linear-gradient(120deg,var(--sky-purple),var(--sky-blue));color:#fff;border:0;border-radius:16px 16px 5px 16px}
#wpmp-sky .wpmp-sky-typing{opacity:.72}
#wpmp-sky .wpmp-sky-actions{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px 5px;background:white}
#wpmp-sky .wpmp-sky-actions button{border:1px solid #e4d8ff;color:#6730bc;background:#fff;border-radius:30px;font-size:11px;padding:7px 9px;cursor:pointer}
#wpmp-sky .wpmp-sky-form{display:flex;gap:8px;padding:10px 12px;background:#fff;flex:none}
#wpmp-sky .wpmp-sky-form input{flex:1;min-width:0;padding:12px;border:1px solid #e3def0;border-radius:11px;font-size:13px;color:#222}
#wpmp-sky .wpmp-sky-form button{background:linear-gradient(120deg,var(--sky-purple),var(--sky-blue));color:#fff;border:0;border-radius:11px;padding:0 16px;cursor:pointer}
#wpmp-sky .wpmp-sky-lead-start{margin:0 12px 8px;padding:10px 12px;border:1px solid #d5c3fa;background:#f4efff;color:#6730b6;border-radius:10px;font-weight:700;cursor:pointer}
#wpmp-sky .wpmp-sky-disclaimer{padding:4px 12px 12px;color:#74748c;font-size:10px;line-height:1.35;background:white}
#wpmp-sky .sky-guided-capture{padding:12px;overflow:auto;max-height:65%;border-top:1px solid #e4d8f4;background:#f8f6ff}
#wpmp-sky .sky-guided-log{overflow-y:auto;max-height:175px}
#wpmp-sky .sky-guided-controls{display:flex;gap:6px;margin:8px 0}
#wpmp-sky .sky-guided-controls input{min-width:0;flex:1;padding:9px;border:1px solid #d6c9ee;border-radius:8px}
#wpmp-sky .sky-guided-controls button,#wpmp-sky .sky-guided-capture button{border:0;border-radius:8px;padding:9px;background:#713ce2;color:#fff;cursor:pointer}
#wpmp-sky .sky-guided-capture pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
#wpmp-sky .wpmp-sky-lead-form{overflow:auto;max-height:60%;background:white;border-top:1px solid #eee}
#wpmp-sky .wpmp-sky-lead-form label{display:block;margin:7px 0;font-size:12px}
#wpmp-sky .wpmp-sky-lead-form input:not([type=checkbox]),#wpmp-sky .wpmp-sky-lead-form textarea{display:block;width:100%;padding:8px;border:1px solid #ddd;border-radius:8px}
@media(max-width:600px){#wpmp-sky{right:10px;bottom:10px}#wpmp-sky .wpmp-sky-panel{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border-radius:0}#wpmp-sky.sky-is-open .wpmp-sky-launcher{visibility:hidden}#wpmp-sky .wpmp-sky-head{padding-top:max(17px,env(safe-area-inset-top))}#wpmp-sky .wpmp-sky-disclaimer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){#wpmp-sky *{animation:none!important;transition:none!important}}

/* WPMP-1127: Native content-height Sky funnel. Sky owns background and scrolling. */
#wpmp-sky .wpmp-sky-funnel-panel{position:relative;z-index:2;width:100%;min-width:0;height:auto;min-height:0;margin:8px 0;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent;overflow:visible;display:block}
#wpmp-sky .wpmp-sky-funnel-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 4px;background:transparent;color:#fff}
#wpmp-sky .wpmp-sky-funnel-back{border:1px solid #fff8;border-radius:8px;padding:7px 10px;background:#101a30;color:#fff;cursor:pointer}
#wpmp-sky .wpmp-sky-funnel-stage{width:100%;min-height:0;height:auto;background:transparent}
#wpmp-sky .wpmp-sky-messages.wpmp-sky-embedded-active{overflow-y:auto!important}

/* WPMP-1133: Sky-only estimate results — consistent content gutters and readable answers. */
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-content,
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-footer-row{width:90%!important;max-width:90%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;padding-left:0!important;padding-right:0!important;}
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-route{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:5px 7px!important;margin:9px 0!important;line-height:1.4!important;}
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-route span{display:inline-block!important;width:auto!important;max-width:100%!important;padding:3px 7px!important;border-radius:6px!important;background:rgba(255,255,255,.8)!important;color:#14213d!important;font-size:11px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-footer-row{display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;font-size:11px!important;line-height:1.5!important;}
#wpmp-sky .wpmp-sky-funnel-stage .wpmp-v990-results-screen .wpmp-v990-next{max-width:100%!important;min-height:30px!important;padding:6px 10px!important;font-size:11px!important;}

/* Migrated from sky-unified-leads.css; no longer separately enqueued. */
/* v1033: unified lead capture, isolated from main chat scroll */
#wpmp-sky .sky-guided-capture{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;background:#faf9ff;border-top:1px solid #e9e1fb}
#wpmp-sky:has(.sky-guided-capture) .wpmp-sky-messages{display:none}
#wpmp-sky:has(.sky-guided-capture) .wpmp-sky-actions,#wpmp-sky:has(.sky-guided-capture) .wpmp-sky-form,#wpmp-sky:has(.sky-guided-capture) #wpmp-sky-start-lead{display:none}
#wpmp-sky .sky-guided-capture h3{margin:0 0 6px;font-size:18px;color:#24204e}
#wpmp-sky .sky-intro{font-size:12px;color:#66627d;margin:0 0 12px}
#wpmp-sky .sky-guided-log{max-height:none;overflow:visible;display:flex;flex-direction:column;gap:7px;margin-bottom:12px}
#wpmp-sky .sky-chat-line{margin:0;padding:9px 11px;border-radius:12px;font-size:12px;line-height:1.45;background:#fff;color:#232348;overflow-wrap:anywhere}
#wpmp-sky .sky-chat-user{align-self:flex-end;background:#ece5ff}
#wpmp-sky .sky-guided-controls{display:flex;gap:8px;margin:8px 0}
#wpmp-sky .sky-guided-controls input{min-width:0;flex:1;border:1px solid #dcd1f4;border-radius:9px;padding:10px}
#wpmp-sky .sky-guided-capture button{background:#703be1;color:#fff;border:0;border-radius:9px;padding:10px;cursor:pointer;font-size:12px}
#wpmp-sky .sky-guided-capture button:disabled{opacity:.6;cursor:wait}
#wpmp-sky .sky-guided-capture .sky-cancel{background:#eeeaf7;color:#493c76;margin-top:6px}
#wpmp-sky .sky-review{display:flex;flex-direction:column;gap:9px}
#wpmp-sky .sky-review h4{margin:0;font-size:16px}
#wpmp-sky .sky-review p{font-size:12px;margin:0}
#wpmp-sky .sky-review-field{display:block;font-size:12px;color:#34304e}
#wpmp-sky .sky-review-field span{display:block;margin-bottom:3px}
#wpmp-sky .sky-review-field input,#wpmp-sky .sky-review-field textarea{display:block;width:100%;border:1px solid #d8d0ed;border-radius:8px;padding:8px;background:white;color:#24243f;font:inherit}
#wpmp-sky .sky-review-field textarea{min-height:100px;resize:vertical}
#wpmp-sky .sky-review-consent{display:flex;align-items:flex-start;gap:6px;font-size:12px}
#wpmp-sky .sky-review-actions{display:flex;flex-wrap:wrap;gap:8px}
#wpmp-sky .sky-review-status{color:#5b376f}
#wpmp-sky .sky-success{line-height:1.5;font-size:13px}

/* 1113: one active view, contained within the existing scrolling message area. */
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-messages{display:block!important;position:relative;overflow:hidden!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-messages>.sky-guided-capture{position:absolute!important;inset:0!important;z-index:8;box-sizing:border-box;display:block!important;overflow-y:auto!important;max-height:none!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;background:rgba(249,247,255,.95)!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-messages>.wpmp-sky-bubble,#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-messages>.wpmp-sky-booking-view{visibility:hidden!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-messages>.wpmp-sky-background-video{visibility:visible!important;}
/* 1114: preserve original flex footer; revert collapsed buttons and input. */
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-actions,#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-form{display:flex!important;width:100%!important;box-sizing:border-box!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-actions{justify-content:stretch!important;gap:10px!important;padding-left:16px!important;padding-right:16px!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-actions button{flex:1 1 0!important;min-width:0!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-form input{flex:1 1 auto!important;min-width:0!important;}
#wpmp-sky.wpmp-sky-enquiry-active .wpmp-sky-form button{flex:0 0 36px!important;}
#wpmp-sky.wpmp-sky-enquiry-active #wpmp-sky-start-lead{display:block!important;}
#wpmp-sky .wpmp-sky-booking-view[hidden]{display:none!important;}

/* WPMP-1119: project review stays inside Sky's scrolling messages area. */
#wpmp-sky .wpmp-sky-project-review{position:relative;z-index:2;display:flex;flex-direction:column;gap:9px;margin:12px 10px;padding:13px;background:#fff;border-radius:12px;color:#182b49;box-sizing:border-box}
#wpmp-sky .wpmp-sky-project-field{display:flex;flex-direction:column;gap:3px;font-size:12px}
#wpmp-sky .wpmp-sky-project-field input,#wpmp-sky .wpmp-sky-project-field textarea{width:100%;box-sizing:border-box;min-height:34px;border:1px solid #b5bfd0;border-radius:6px;padding:7px;color:#182b49;background:#fff}
#wpmp-sky .wpmp-sky-project-field textarea{min-height:76px;resize:vertical}
#wpmp-sky .wpmp-sky-project-consent{display:flex;gap:7px;align-items:flex-start;font-size:12px}
#wpmp-sky .wpmp-sky-project-actions{display:flex;gap:8px;flex-wrap:wrap}
#wpmp-sky .wpmp-sky-project-actions button{cursor:pointer;border-radius:7px;border:1px solid #3949ab;padding:8px 10px;background:#fff;color:#263c83}
#wpmp-sky .wpmp-sky-project-actions button:first-child{background:#344dc3;color:#fff}

/* Migrated from sky-styling-suite.css; no longer separately enqueued. */
/* v1047: scoped styling, decorative background video. */
#wpmp-sky .wpmp-sky-messages{isolation:isolate;position:relative}
#wpmp-sky .wpmp-sky-background-video{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0}
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-bubble,#wpmp-sky .wpmp-sky-messages>.wpmp-sky-user{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){#wpmp-sky .wpmp-sky-background-video{display:none!important}}
@media(max-width:480px){#wpmp-sky .wpmp-sky-panel{width:calc(100vw - 24px)!important;height:min(640px,calc(100dvh - 92px))!important}}

/* v1050 overlay is injected via scoped inline styles; message content remains above it. */
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-bubble,#wpmp-sky .wpmp-sky-messages>.wpmp-sky-user{z-index:2}

/* Static styles extracted from Sky module PHP, retaining existing presentation. */
.sky-v1057-preview-shell{filter:drop-shadow(0 10px 15px rgba(0,43,121,.42));margin:20px 10px 12px}.sky-v1057-preview .sky-v1048-head{min-height:78px;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:repeating-linear-gradient(130deg,transparent 0 34px,#ffffff16 35px 42px,transparent 43px 64px),#0645ae;color:#fff}.sky-v1057-identity{display:flex;align-items:center;gap:12px}.sky-v1057-identity strong,.sky-v1057-identity small{display:block;color:#fff}.sky-v1057-avatar{display:grid;place-items:center;border:2px solid #8eeaff;border-radius:50%;height:54px;width:54px;background:#0675e8;color:#fff;font-size:26px}.sky-v1057-close{font-size:24px;color:#fff}.sky-v1057-preview .sky-v1048-messages{flex:1;min-height:340px;max-height:340px;overflow:auto;padding:18px 15px;display:flex;flex-direction:column;gap:10px}.sky-v1057-preview .sky-v1048-bubble{position:relative;z-index:2;max-width:95%;flex-shrink:0}.sky-v1057-actions{display:flex;gap:5px;padding:7px 12px;background:#0645ae;flex-wrap:wrap}.sky-v1057-actions span{background:white;color:#0645ae;border-radius:15px;padding:4px 8px;font-size:11px}.sky-v1057-preview .sky-v1048-footer{background:#0645ae!important;min-height:49px;padding:5px 12px;display:flex;align-items:center;gap:7px}.sky-v1057-preview .sky-v1048-footer>span{flex:1;border-radius:8px;background:#fff;color:#666;padding:9px 12px;font-size:12px}.sky-v1057-preview .sky-v1048-footer button{flex:0 0 37px;height:35px}.sky-v1057-enquiry{background:#0750bc;color:#fff;text-align:center;font-weight:700;font-size:12px;padding:8px;margin:0 12px 12px;border-radius:7px}@media(max-width:700px){.sky-v1057-preview-shell{margin:10px 0}.sky-v1057-preview .sky-v1048-messages{min-height:280px;max-height:280px}}
.sky-v1057-preview .sky-v1057-identity{display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;min-width:0!important;flex:1!important}.sky-v1057-preview .sky-v1057-identity strong{font-size:17px!important;line-height:1.25!important;font-weight:750!important}.sky-v1057-preview .sky-v1057-identity small{font-size:11px!important;line-height:1.3!important;margin-top:3px!important;white-space:nowrap!important}.sky-v1057-preview .sky-v1062-window-controls{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:17px!important;margin-left:auto!important;padding-left:12px!important;color:#fff!important}.sky-v1057-preview .sky-v1062-minimize,.sky-v1057-preview .sky-v1057-close{display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;width:19px!important;height:26px!important;font-family:Arial,sans-serif!important;font-size:23px!important;font-weight:400!important;line-height:1!important;color:#fff!important;background:transparent!important;border:0!important;transform:none!important;float:none!important}@media(max-width:600px){.sky-v1057-preview .sky-v1062-window-controls{gap:9px!important}}
.sky-v1058-identity-fields{display:grid;gap:10px;margin-bottom:16px}.sky-v1058-identity-fields .sky-field{margin:0}.sky-v1048-section#sky-v1048-assistant-identity .sky-style-grid{grid-template-columns:1fr}.sky-v1058-identity-fields textarea{min-height:76px}
#sky-v1048-preview.sky-v1057-preview .sky-v1048-footer button{background:var(--sky-send-button-color,#000000)!important}#sky-v1048-preview.sky-v1057-preview .sky-v1057-enquiry{background:var(--sky-enquiry-button-color,#0645b8)!important}
#sky-v1048-preview.sky-v1057-preview::after{display:none!important}#sky-v1048-preview .sky-shared-head{overflow:visible!important}#sky-v1048-preview .sky-shared-head .wpmp-sky-mark{margin:0!important;transform:none!important}
.sky-style-editor{margin:24px 0;padding:18px;border:1px solid #d8d4ed;background:#f8f7fd;border-radius:16px}.sky-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sky-style-grid .sky-field{margin:0;min-width:0}.sky-style-grid input,.sky-style-grid select{width:100%;max-width:100%}.sky-style-grid input[type=color]{width:100%;height:43px;padding:3px}.sky-media-row{display:flex;gap:6px}.sky-media-row input{flex:1;min-width:0}.sky-media-row button{white-space:nowrap}@media(max-width:800px){.sky-style-grid{grid-template-columns:1fr}}
#sky-admin-start-lead{background:linear-gradient(115deg,#7b32e9,#2779ed)!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:12px 18px!important;font-weight:700!important;cursor:pointer!important} .sky-guided-capture{margin-top:14px;padding:16px;background:#f5f2ff;border:1px solid #d8ccfb;border-radius:14px}.sky-guided-log{max-height:300px;overflow:auto}.sky-guided-controls{display:flex;gap:8px;margin:12px 0}.sky-guided-controls input{flex:1;min-width:0;padding:10px}.sky-guided-controls button,.sky-guided-capture button{padding:10px;border-radius:8px;cursor:pointer}.sky-guided-capture pre{white-space:pre-wrap;overflow-wrap:anywhere}


/* v1080: one canonical frame and header for the public widget and Appearance Studio. */
#wpmp-sky, #sky-v1048-preview.sky-v1057-preview {--sky-header:#243a88;--sky-accent:#7040df;--sky-text:#192747;--sky-panel:#333333;--sky-message:#f7f5ff;--sky-bubble:#fff;--sky-visitor:#eae3ff;--sky-button-text:#fff;--sky-send:#000;--sky-enquiry:#0645b8;--sky-background:#f7f5ff;--sky-border-color:#57c8ff;--sky-border-width:3px;--sky-signature-cut:64px;--sky-radius:18px;--sky-shadow:12px;--sky-font:system-ui,sans-serif;--sky-body-size:14px;--sky-heading-size:17px;--sky-button-size:14px;--sky-panel-width:430px;--sky-panel-height:620px;--sky-overlay-opacity:0;--sky-overlay-color:#000;--sky-background-image:none;--sky-background-position:center center}
#wpmp-sky {font-family:var(--sky-font)!important;color:var(--sky-text);filter:drop-shadow(0 9px var(--sky-shadow) var(--sky-shadow-color,#002b79))}
#wpmp-sky .wpmp-sky-panel {width:min(var(--sky-panel-width),calc(100vw - 24px));height:min(var(--sky-panel-height),calc(100dvh - 110px));background:var(--sky-panel);border-radius:var(--sky-radius)}
#wpmp-sky .wpmp-sky-launcher,#wpmp-sky .wpmp-sky-form button {background:var(--sky-accent);color:var(--sky-button-text);font-size:var(--sky-button-size)}
#wpmp-sky .wpmp-sky-messages {background-color:var(--sky-background);background-image:var(--sky-background-image);background-position:var(--sky-background-position);background-size:cover;background-repeat:no-repeat;position:relative;min-height:0}
#wpmp-sky .wpmp-sky-bubble {background:var(--sky-bubble);color:var(--sky-text);font-size:var(--sky-body-size);border-radius:calc(var(--sky-radius) - 3px)}
#wpmp-sky .wpmp-sky-user {background:var(--sky-visitor)}
#wpmp-sky .wpmp-sky-form input,#wpmp-sky .wpmp-sky-actions button {font-size:var(--sky-body-size)}
#wpmp-sky .wpmp-sky-actions button {color:var(--sky-accent)}
#wpmp-sky .wpmp-sky-form button,#sky-v1048-preview.sky-v1057-preview .sky-v1048-footer button {background:var(--sky-send)!important}
#wpmp-sky .wpmp-sky-panel .wpmp-sky-lead-start,#sky-v1048-preview.sky-v1057-preview .sky-v1057-enquiry {background:var(--sky-enquiry)!important;background-color:var(--sky-enquiry)!important}
#wpmp-sky .wpmp-sky-messages::before {content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:var(--sky-overlay-color);opacity:var(--sky-overlay-opacity)}
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-bubble,#wpmp-sky .wpmp-sky-messages>.wpmp-sky-user {position:relative;z-index:2}
/* Shared frame outline is the configurable padded surface; same corner polygon both hosts. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame,#sky-v1048-preview.sky-v1057-preview {box-sizing:border-box!important;border:0!important;border-radius:0!important;padding:var(--sky-border-width)!important;background:var(--sky-border-color)!important;overflow:hidden!important;isolation:isolate!important;clip-path:polygon(0 22px,5px 11px,11px 5px,22px 0,calc(100% - 34px) 0,100% 34px,100% calc(100% - 20px),calc(100% - 20px) 100%,var(--sky-signature-cut) 100%,0 calc(100% - var(--sky-signature-cut)))!important;box-shadow:none!important}
#wpmp-sky .wpmp-sky-panel::before,#wpmp-sky .wpmp-sky-signature-outline,#sky-v1048-preview.sky-v1057-preview::after {display:none!important}
#wpmp-sky .wpmp-sky-panel.sky-signature-frame>*:not(.wpmp-sky-signature-outline) {position:relative;z-index:1}
/* Canonical header used by both hosts, no PHP-generated legacy header CSS. */
#wpmp-sky .sky-shared-head,#sky-v1048-preview .sky-shared-head {box-sizing:border-box!important;height:82px!important;min-height:82px!important;flex:0 0 82px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:8px 18px!important;background:linear-gradient(132deg,transparent 0 60%,rgba(0,117,255,.75) 60.3% 62.2%,transparent 62.5% 67%,rgba(0,117,255,.75) 67.3% 69.2%,transparent 69.5% 74%,rgba(0,117,255,.75) 74.3% 76.2%,transparent 76.5%),var(--sky-header)!important;color:var(--sky-button-text)!important;position:relative!important;overflow:visible!important;z-index:40!important}
#wpmp-sky .sky-shared-head .wpmp-sky-mark,#sky-v1048-preview .sky-shared-head .wpmp-sky-mark {box-sizing:border-box!important;width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;max-width:82px!important;max-height:82px!important;flex:0 0 82px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:3px solid #e7f9ff!important;border-radius:50%!important;overflow:hidden!important;background:#0578e8!important;margin:0 2px 0 0!important;position:relative!important;top:0!important;transform:none!important;align-self:flex-start!important;z-index:45!important;box-shadow:0 3px 9px rgba(0,0,0,.23)!important}
#wpmp-sky .sky-shared-head .wpmp-sky-mark img,#sky-v1048-preview .sky-shared-head .wpmp-sky-mark img {display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
#wpmp-sky .sky-shared-head .sky-shared-name,#sky-v1048-preview .sky-shared-head .sky-shared-name {flex:1 1 auto!important;min-width:0!important;align-self:center!important}
#wpmp-sky .sky-shared-head .sky-shared-name strong,#sky-v1048-preview .sky-shared-head .sky-shared-name strong {display:block!important;color:var(--sky-button-text)!important;font-size:var(--sky-heading-size)!important}
#wpmp-sky .sky-shared-head .sky-shared-name small,#sky-v1048-preview .sky-shared-head .sky-shared-name small {display:block!important;color:var(--sky-button-text)!important}
#wpmp-sky .sky-shared-head .sky-shared-controls,#sky-v1048-preview .sky-shared-head .sky-shared-controls {display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:19px!important;margin-left:auto!important;padding-right:4px!important;z-index:46!important}
#wpmp-sky .sky-shared-head .sky-shared-controls button,#sky-v1048-preview .sky-shared-head .sky-shared-controls button {position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:25px!important;height:32px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--sky-button-text)!important;font:400 23px/1 Arial,sans-serif!important;transform:none!important}
#wpmp-sky .wpmp-sky-actions {background:var(--sky-enquiry);padding:7px 12px 6px}
#wpmp-sky .wpmp-sky-actions button {border:1px solid #9ac4ff!important;background:#fff!important;padding:3px 8px!important;min-height:27px!important;height:27px!important;font-size:11px!important;border-radius:18px!important}
#wpmp-sky .wpmp-sky-form {background:var(--sky-enquiry);padding:7px 12px 5px 20px;gap:8px}
#wpmp-sky .wpmp-sky-form input {height:36px;min-height:36px;padding:6px 10px;border-radius:10px}
#wpmp-sky .wpmp-sky-form button {width:36px;height:36px;flex:0 0 36px;border-radius:9px}
#wpmp-sky .wpmp-sky-lead-start {margin:0 12px 12px calc(var(--sky-signature-cut) + 12px)!important;min-height:34px!important;padding:5px 10px!important;border:1px solid #8ccfff!important;border-radius:9px!important}
#wpmp-sky .wpmp-sky-disclaimer {display:none!important}
@media(max-width:480px){#wpmp-sky .sky-shared-head .wpmp-sky-mark,#sky-v1048-preview .sky-shared-head .wpmp-sky-mark {width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;flex-basis:52px!important}#wpmp-sky .wpmp-sky-form{padding-left:16px}}

/* v1083: approved Photoshop control placement; one stylesheet for visitor and preview. */
#wpmp-sky .sky-shared-head .sky-shared-controls .sky-shared-contact,
#sky-v1048-preview .sky-shared-head .sky-shared-controls .sky-shared-contact{
  width:auto!important;min-width:0!important;height:27px!important;padding:0 10px!important;
  border-radius:16px!important;background:#fff!important;color:var(--sky-header)!important;
  font:600 11px/1.2 var(--sky-font)!important;white-space:nowrap!important;
  border:1px solid rgba(255,255,255,.7)!important;cursor:pointer!important;
}
#wpmp-sky .sky-shared-head .sky-shared-controls,
#sky-v1048-preview .sky-shared-head .sky-shared-controls{gap:10px!important}
#wpmp-sky .wpmp-sky-actions,#sky-v1048-preview .sky-v1057-actions{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:nowrap!important;gap:4px!important;padding:6px 9px!important;
}
#wpmp-sky .wpmp-sky-actions button,#sky-v1048-preview .sky-v1057-actions span{
 flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;
 padding:3px 7px!important;font-size:10px!important;line-height:17px!important;
 height:25px!important;min-height:25px!important;border-radius:15px!important;
}
#wpmp-sky .wpmp-sky-lead-start,#sky-v1048-preview .sky-v1057-enquiry{
 font-weight:700!important;text-align:center!important;
}
@media(max-width:480px){
 #wpmp-sky .sky-shared-head,#sky-v1048-preview .sky-shared-head{gap:7px!important;padding-left:10px!important;padding-right:9px!important}
 #wpmp-sky .sky-shared-head .sky-shared-controls,#sky-v1048-preview .sky-shared-head .sky-shared-controls{gap:6px!important}
 #wpmp-sky .sky-shared-head .sky-shared-controls .sky-shared-contact,#sky-v1048-preview .sky-shared-head .sky-shared-controls .sky-shared-contact{padding:0 6px!important;font-size:10px!important}
 #wpmp-sky .wpmp-sky-actions button,#sky-v1048-preview .sky-v1057-actions span{font-size:9px!important;padding:2px 5px!important}
}

/* v1084: approved five-button layout and Photoshop chamfer silhouette. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame,
#sky-v1048-preview.sky-v1057-preview{
 --sky-signature-cut:64px;
 clip-path:polygon(22px 0,calc(100% - 34px) 0,100% 34px,100% calc(100% - 20px),calc(100% - 20px) 100%,64px 100%,0 calc(100% - 64px),0 22px)!important;
}
#wpmp-sky .wpmp-sky-actions,#sky-v1048-preview .sky-v1057-actions{
 justify-content:space-between!important;gap:3px!important;padding:6px 9px!important;
}
#wpmp-sky .wpmp-sky-actions button,#sky-v1048-preview .sky-v1057-actions span{
 flex:0 1 auto!important;font-size:10px!important;padding:3px 6px!important;
}
@media(max-width:480px){
 #wpmp-sky .wpmp-sky-actions button,#sky-v1048-preview .sky-v1057-actions span{font-size:9px!important;padding:2px 4px!important}
}

/* v1086: 10px spacing between the five footer buttons in public and preview. */
#wpmp-sky .wpmp-sky-actions,
#sky-v1048-preview .sky-v1057-actions {
  display:flex!important;
  justify-content:stretch!important;
  gap:10px!important;
  column-gap:10px!important;
  padding-left:9px!important;
  padding-right:9px!important;
}
#wpmp-sky .wpmp-sky-actions button,
#sky-v1048-preview .sky-v1057-actions span {
  flex:1 1 0!important;
  min-width:0!important;
  margin:0!important;
  text-align:center!important;
  padding-left:2px!important;
  padding-right:2px!important;
}

/* v1087: align five footer pills to the content guides; 10px clearance above CTA. */
#wpmp-sky .wpmp-sky-actions,
#sky-v1048-preview .sky-v1057-actions {
  padding-left:16px!important;
  padding-right:16px!important;
  gap:10px!important;
}
#wpmp-sky .wpmp-sky-lead-start {margin-top:10px!important;}
#sky-v1048-preview .sky-v1057-enquiry {margin-top:10px!important;}

/* v1088: CTA ends at the message input's right edge, before the send button. */
#wpmp-sky .wpmp-sky-lead-start,
#sky-v1048-preview .sky-v1057-enquiry {
  position:relative!important;
  box-sizing:border-box!important;
  margin-right:68px!important;
  padding-right:38px!important;
}
/* A small house icon on the right of the Start a Project CTA. */
#wpmp-sky .wpmp-sky-lead-start::after,
#sky-v1048-preview .sky-v1057-enquiry::after {
  content:""!important;
  position:absolute!important;
  right:12px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:17px!important;
  height:17px!important;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e50f5' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v12h14V9M9 21v-8h6v8'/%3E%3C/svg%3E")!important;
  pointer-events:none!important;
}
@media(max-width:480px){
 #wpmp-sky .wpmp-sky-lead-start,#sky-v1048-preview .sky-v1057-enquiry{margin-right:61px!important;padding-right:30px!important}
 #wpmp-sky .wpmp-sky-lead-start::after,#sky-v1048-preview .sky-v1057-enquiry::after{right:8px!important;width:15px!important;height:15px!important}
}

/* v1089: place house icon OUTSIDE CTA, centered in the reserved right-hand space.
   Keep CTA's right edge aligned to the message input, not the send button. */
#wpmp-sky .wpmp-sky-lead-start,
#sky-v1048-preview .sky-v1057-enquiry {
  padding-right:10px!important;
  overflow:visible!important;
}
#wpmp-sky .wpmp-sky-lead-start::after,
#sky-v1048-preview .sky-v1057-enquiry::after {
  right:-43px!important;
  width:17px!important;
  height:17px!important;
}
@media(max-width:480px){
  #wpmp-sky .wpmp-sky-lead-start::after,
  #sky-v1048-preview .sky-v1057-enquiry::after {
    right:-38px!important;
    width:15px!important;
    height:15px!important;
  }
}

/* v1091: exact opposing diagonal corners; no cut at top-left or bottom-right.
   One SVG silhouette for the header; the bottom-left diagonal repeats the same 34px geometry. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame,
#sky-v1048-preview.sky-v1057-preview {
 clip-path:polygon(0 0,calc(100% - 34px) 0,100% 34px,100% 100%,34px 100%,0 calc(100% - 34px))!important;
}
#wpmp-sky .sky-shared-head,
#sky-v1048-preview .sky-shared-head {
 background-color:var(--sky-header)!important;
 background-image:linear-gradient(132deg,transparent 0 60%,#0969e9 60.3% 62.2%,transparent 62.5% 67%,#0969e9 67.3% 69.2%,transparent 69.5% 74%,#0969e9 74.3% 76.2%,transparent 76.5%)!important;
 background-size:100% 100%!important;
 background-repeat:no-repeat!important;
 background-position:center!important;
}

/* v1092: reference overlay at 200% shows ~62 CSS-px diagonal on the upper-right.
   Mirror precisely at the lower-left, retaining square upper-left/lower-right. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame,
#sky-v1048-preview.sky-v1057-preview {
 clip-path:polygon(0 0,calc(100% - 62px) 0,100% 62px,100% 100%,62px 100%,0 calc(100% - 62px))!important;
}

/* v1093: SVG silhouette with smooth rounded joins, retaining the approved 62px opposing diagonals.
   Use one mask for the public chat and admin preview; CSS polygons cannot round diagonal joins. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame,
#sky-v1048-preview.sky-v1057-preview {
 clip-path:none!important;
 -webkit-mask-image:url('../img/sky-frame-mask.svg')!important;
 mask-image:url('../img/sky-frame-mask.svg')!important;
 -webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;
 -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
}

/* v1094: finish the SVG silhouette and paint a continuous inset outline.
   The outline uses the same rounded geometry and prevents the clipped black edge
   at the upper-right and lower-left diagonals. */
#wpmp-sky .wpmp-sky-panel.sky-signature-frame::before,
#sky-v1048-preview.sky-v1057-preview::after {
 content:""!important;display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;pointer-events:none!important;
 background:transparent url('../img/sky-frame-outline.svg') center / 100% 100% no-repeat!important;
 z-index:90!important;box-sizing:border-box!important;
}

/* v1095: public video backgrounds must fill the chat message viewport, not render as an inline video element. */
#wpmp-sky .wpmp-sky-messages:has(> .wpmp-sky-background-video) {
  background-image:none!important;
  isolation:isolate;
  overflow-x:hidden;
}
#wpmp-sky .wpmp-sky-messages > .wpmp-sky-background-video {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:var(--sky-background-position,center center)!important;
  display:block!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:1!important;
}
#wpmp-sky .wpmp-sky-messages:has(> .wpmp-sky-background-video)::before {z-index:1!important}
#wpmp-sky .wpmp-sky-messages:has(> .wpmp-sky-background-video) > :not(.wpmp-sky-background-video) {position:relative;z-index:2}

/* v1096: shared configurable footer quick-action colors (public + Appearance preview). */
#wpmp-sky .wpmp-sky-actions button,
#sky-v1048-preview .sky-v1057-actions span {
 background:var(--sky-footer-button-bg,#ffffff)!important;
 color:var(--sky-footer-button-text,#0645ae)!important;
 border:1px solid var(--sky-footer-button-border,#9ac4ff)!important;
}

/* v1099: booking engine embedded within Sky's chat panel */
#wpmp-sky .wpmp-sky-booking-view{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:#fff;color:#172033;}
#wpmp-sky .wpmp-sky-booking-view[hidden]{display:none!important;}
#wpmp-sky .wpmp-sky-booking-toolbar{display:flex;align-items:center;gap:14px;padding:10px 12px;border-bottom:1px solid #e2e8f0;flex-shrink:0;}
#wpmp-sky .wpmp-sky-booking-back{cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;color:#172033;font:inherit;font-size:12px;}
#wpmp-sky .wpmp-sky-booking-frame{width:100%;height:100%;flex:1;min-height:250px;border:0;background:#fff;}
#wpmp-sky .wpmp-sky-messages[hidden],#wpmp-sky .wpmp-sky-actions[hidden],#wpmp-sky .wpmp-sky-form[hidden],#wpmp-sky #wpmp-sky-start-lead[hidden]{display:none!important;}

/* v1107: embedded tools occupy ONLY the message viewport; fixed footer stays available. */
#wpmp-sky .wpmp-sky-messages{position:relative;min-height:0;flex:1 1 auto;}
#wpmp-sky .wpmp-sky-messages.wpmp-sky-embedded-active{overflow:hidden!important;}
#wpmp-sky .wpmp-sky-messages.wpmp-sky-embedded-active>.wpmp-sky-bubble{visibility:hidden;}
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-booking-view{position:absolute!important;inset:0!important;width:100%;height:100%;max-height:100%;min-height:0!important;z-index:5;display:flex;flex-direction:column;overflow:hidden;}
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-booking-view[hidden]{display:none!important;}
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-booking-view>.wpmp-sky-booking-frame{display:block;width:100%;height:0!important;flex:1 1 0!important;min-height:0!important;max-height:100%;overflow:auto;border:0;}
#wpmp-sky .wpmp-sky-panel>.wpmp-sky-actions,#wpmp-sky .wpmp-sky-panel>.wpmp-sky-form{flex-shrink:0;}

/* WPMP-1120: pin the moving background behind the scrollable chat viewport. */
#wpmp-sky .wpmp-sky-message-stage{position:relative;isolation:isolate;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column;}
#wpmp-sky .wpmp-sky-message-stage>.wpmp-sky-background-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;object-fit:cover!important;object-position:var(--sky-background-position,center center)!important;z-index:0!important;pointer-events:none!important;display:block!important;}
#wpmp-sky .wpmp-sky-message-stage>.wpmp-sky-messages{position:relative!important;z-index:1!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:transparent!important;background-image:none!important;isolation:isolate;}
#wpmp-sky .wpmp-sky-message-stage>.wpmp-sky-messages::before{position:sticky!important;top:0;z-index:1;}
#wpmp-sky .wpmp-sky-message-stage>.wpmp-sky-messages>.wpmp-sky-bubble{position:relative;z-index:2;}

/* WPMP-1134: Native booking widget inside Sky; no iframe, WP chrome or second toolbar. */
#wpmp-sky .wpmp-sky-booking-native{background:transparent!important;}
#wpmp-sky .wpmp-sky-booking-native-stage{height:100%;overflow-y:auto;overflow-x:hidden;padding:10px 12px 20px;background:#e9effb;color:#172033;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget{max-width:100%;margin:0;font-family:inherit;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-card{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-hero,#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-foot{display:none!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-body{display:block!important;padding:0!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-panel{padding:10px!important;margin:0 0 10px!important;background:#fff;border-radius:12px;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-panel:first-child>.wpmp-booking-widget-service{display:none!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-panel:first-child>.wpmp-booking-widget-badge:first-child{display:none!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-date-wrap{margin:0!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-btn{background:#2459e6;min-height:36px;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-form input,#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-form textarea{min-height:36px;}
#wpmp-sky .wpmp-sky-booking-success{padding:22px 15px;background:#fff;border-radius:12px;text-align:center;}
#wpmp-sky .wpmp-sky-booking-error{color:#b91c1c;font-size:12px;}

/* WPMP-1135: native booking uses Sky's configured image/video stage background. */
#wpmp-sky .wpmp-sky-messages>.wpmp-sky-booking-view.wpmp-sky-booking-native{background:transparent!important;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-sky-booking-native-stage{background:transparent!important;background-image:none!important;position:relative;z-index:2;}
#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-card,#wpmp-sky .wpmp-sky-booking-native .wpmp-booking-widget-body{background:transparent!important;}

/* WPMP-1142: Unboxed compact actions. Appearance Studio controls the colors. */
#wpmp-sky .sky-shared-head .wpmp-sky-header-back,
#wpmp-sky .wpmp-sky-header-back {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:auto!important;min-height:0!important;padding:2px 0!important;
  margin:0 4px 0 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--sky-button-text,#fff)!important;
  font:500 11px/1.3 system-ui,sans-serif!important;text-decoration:underline!important;
  text-underline-offset:2px!important;cursor:pointer!important;
}
#wpmp-sky .sky-shared-head .wpmp-sky-header-back[hidden],
#wpmp-sky .wpmp-sky-header-back[hidden]{display:none!important}
#wpmp-sky .wpmp-sky-newsletter-form .wpmp-sky-newsletter-consent{
  display:flex!important;align-items:center!important;gap:6px!important;
  flex-wrap:wrap!important;margin-bottom:5px!important;
}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]{
  display:inline-flex!important;align-self:flex-start!important;justify-content:center!important;
  width:auto!important;min-width:0!important;max-width:max-content!important;
  height:auto!important;min-height:0!important;padding:3px 0!important;
  margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--sky-accent,#7040df)!important;
  font:600 12px/1.4 system-ui,sans-serif!important;
  text-decoration:underline!important;text-underline-offset:2px!important;cursor:pointer!important;
}
#wpmp-sky .wpmp-sky-newsletter-form button[type="submit"]:hover,
#wpmp-sky .wpmp-sky-header-back:hover{opacity:.8!important;filter:none!important}

/* WPMP-1146: Reviews choice screen and embedded review views */
#wpmp-sky .wpmp-sky-reviews-view{padding:20px 15px 22px;box-sizing:border-box;min-height:100%;}
#wpmp-sky .sky-review-welcome h3,#wpmp-sky .sky-review-content h3{font-size:19px;margin:0 0 10px;}
#wpmp-sky .sky-review-welcome p{margin:0 0 17px;}
#wpmp-sky .sky-review-choices{display:grid;grid-template-columns:1fr;gap:10px;}
#wpmp-sky .sky-review-choices button{display:block;width:100%;text-align:left;border:1px solid var(--sky-border-color,#9ab5d8);border-radius:9px;padding:12px 14px;background:rgba(255,255,255,.9);color:#102044;font:inherit;cursor:pointer;}
#wpmp-sky .sky-review-choices button:hover{border-color:var(--sky-enquiry-button-color,#0645b8);}
#wpmp-sky .sky-review-back{display:inline-block;border:0;background:transparent;padding:0;margin:0 0 15px;color:var(--sky-enquiry-button-color,#0645b8);text-decoration:underline;cursor:pointer;font-size:12px;}
#wpmp-sky .sky-review-card{background:rgba(255,255,255,.9);border-radius:10px;padding:12px;margin:0 0 10px;}
#wpmp-sky .sky-review-card p{margin:8px 0 0;white-space:pre-wrap;}
#wpmp-sky .sky-review-stars{color:#a46b00;letter-spacing:2px;}
#wpmp-sky .sky-review-google-link{display:inline-block;margin-top:8px;color:var(--sky-enquiry-button-color,#0645b8);}

/* WPMP-1147: match the compact estimator option rows in Sky. */
#wpmp-sky .sky-review-choices{gap:7px;}
#wpmp-sky .sky-review-choices button{display:flex;align-items:center;gap:9px;min-height:38px;padding:5px 10px;border:1px solid #d9e3ef;border-radius:9px;background:#fff;color:#102044;font-size:12px;font-weight:700;line-height:1.3;text-align:left;box-shadow:none;}
#wpmp-sky .sky-review-choices button:focus-visible{outline:2px solid var(--sky-enquiry-button-color,#2459df);outline-offset:2px;}
#wpmp-sky .sky-review-option-icon{flex:0 0 25px;display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;background:#eff5ff;font-size:16px;line-height:1;}

/* WPMP-1148: match the native Sky estimator's compact option width. */
#wpmp-sky .sky-review-welcome .sky-review-choices {
  width: 100%;
  max-width: 334px;
  margin-inline: auto;
  box-sizing: border-box;
}
#wpmp-sky .sky-review-welcome .sky-review-choices > button {
  width: 100%;
  box-sizing: border-box;
}

/* WPMP-1149: compact native review form, consistent with the welcome/estimator screen. */
#wpmp-sky .wpmp-sky-reviews-view .sky-review-detail{padding:0!important;margin:0!important;}
#wpmp-sky .wpmp-sky-reviews-view .sky-review-content{padding:0!important;margin:0!important;}
#wpmp-sky .wpmp-sky-reviews-view .sky-review-content h3{font-size:19px!important;line-height:1.25!important;margin:0 0 7px!important;font-weight:600!important;}
#wpmp-sky .wpmp-sky-reviews-view .sky-review-content>p{font-size:13px!important;line-height:1.4!important;margin:0 0 12px!important;}
#wpmp-sky .wpmp-sky-reviews-view .sky-review-back{margin:0 0 8px!important;font-size:12px!important;}
#wpmp-sky .wpmp-sky-review-form{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:334px!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
#wpmp-sky .wpmp-sky-review-form label{display:flex!important;flex-direction:column!important;gap:3px!important;font-size:12px!important;line-height:1.3!important;font-weight:600!important;color:#102044!important;margin:0!important;padding:0!important;}
#wpmp-sky .wpmp-sky-review-form input:not([type=hidden]),#wpmp-sky .wpmp-sky-review-form select,#wpmp-sky .wpmp-sky-review-form textarea{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:35px!important;height:auto!important;padding:7px 10px!important;margin:0!important;background:#fff!important;border:1px solid #d9e3ef!important;border-radius:8px!important;color:#102044!important;font-size:13px!important;box-shadow:none!important;}
#wpmp-sky .wpmp-sky-review-form textarea{min-height:64px!important;resize:vertical!important;}
#wpmp-sky .wpmp-sky-review-form .wpmp-sky-review-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
#wpmp-sky .wpmp-sky-review-form .sky-review-submit{align-self:flex-start!important;width:auto!important;min-width:0!important;min-height:30px!important;height:30px!important;padding:5px 12px!important;margin:3px 0 0!important;border:0!important;border-radius:7px!important;background:var(--sky-enquiry-button-color,#2459df)!important;color:var(--sky-enquiry-button-text-color,#fff)!important;font-size:12px!important;line-height:20px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer!important;}
#wpmp-sky .wpmp-sky-review-form .wpmp-sky-review-status{font-size:12px!important;margin:0!important;}

/* WPMP-1150: anchor every Reviews screen 20px below the message viewport top.
   Do not inherit chat bubble centering or earlier conversation height. */
#wpmp-sky .wpmp-sky-messages.wpmp-sky-embedded-active > .wpmp-sky-reviews-view:not([hidden]) {
  position:absolute!important;
  inset:0!important;
  top:0!important;
  bottom:0!important;
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:20px 15px 22px!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  align-self:stretch!important;
  z-index:6!important;
}

/* WPMP-1158: Canonical QR component, governed by Sky Appearance Studio tokens.
   The message stage, not conversation bubbles, owns tool positioning. */
#wpmp-sky .wpmp-sky-messages.wpmp-sky-embedded-active > .wpmp-sky-qr-view:not([hidden]) {
  position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;
  box-sizing:border-box;overflow-y:auto;overflow-x:hidden;
  margin:0;padding:20px 15px 18px;background:transparent;
  color:var(--sky-body-text-color,var(--sky-text-color,#102447));
}
#wpmp-sky .wpmp-sky-qr-view[hidden]{display:none!important}
#wpmp-sky .wpmp-sky-qr-view h3{font-size:19px;line-height:1.25;font-weight:600;margin:0 0 7px;color:inherit}
#wpmp-sky .wpmp-sky-qr-view p{font-size:13px;line-height:1.4;margin:0 0 12px;color:inherit}
#wpmp-sky .sky-qr-choices{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
#wpmp-sky .sky-qr-choice{font-size:12px;line-height:1.3;padding:6px 10px;min-height:30px;
  border:1px solid var(--sky-enquiry-button-color,#2459df);border-radius:7px;
  background:var(--sky-enquiry-button-color,#2459df);color:var(--sky-enquiry-button-text-color,#fff);
  box-shadow:none;cursor:pointer}
#wpmp-sky .sky-qr-choice[aria-pressed="true"]{font-weight:700}
#wpmp-sky .sky-qr-preview{display:flex;flex-direction:column;align-items:center;gap:6px;
  text-align:center;font-size:12px;line-height:1.3;color:inherit}
#wpmp-sky .sky-qr-preview img{display:block;width:170px;max-width:85%;height:auto;
  aspect-ratio:1;background:#fff;border-radius:5px;padding:5px;box-sizing:border-box}
#wpmp-sky .sky-qr-preview a{font-size:12px;line-height:1.3;color:var(--sky-enquiry-button-color,#2459df);text-decoration:underline}

/* WPMP-1159: viewport-anchored mobile dialog. Keep desktop placement unchanged. */
@media screen and (max-width: 600px) {
  #wpmp-sky .wpmp-sky-panel {
    position:fixed!important;
    left:8px!important;right:8px!important;
    top:auto!important;bottom:8px!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    height:min(620px, calc(100dvh - 16px))!important;
    max-height:calc(100dvh - 16px)!important;
    margin:0!important;
    transform:none!important;
    display:flex;flex-direction:column;
  }
  #wpmp-sky .wpmp-sky-panel[hidden]{display:none!important;}
  #wpmp-sky .wpmp-sky-messages,
  #wpmp-sky .wpmp-sky-message-stage {min-height:0;min-width:0;}
  #wpmp-sky .wpmp-sky-launcher {max-width:calc(100vw - 24px);}
}

/* WPMP-1160: Root filter created a containing block for the mobile fixed panel. */
@media screen and (max-width:600px){
 #wpmp-sky{filter:none!important;-webkit-filter:none!important;transform:none!important;contain:none!important}
 #wpmp-sky .wpmp-sky-panel{box-sizing:border-box!important;position:fixed!important;inset:auto 8px 8px 8px!important;width:auto!important;max-width:none!important;height:min(620px,calc(100dvh - 16px))!important;max-height:calc(100dvh - 16px)!important;margin:0!important}
}

/* Shared widget color tokens apply to both public and preview instances. */
#wpmp-sky #wpmp-sky-panel .wpmp-sky-actions{background-color:var(--sky-footer-action-bar,#050a1d)!important;background-image:none!important;}
#wpmp-sky #wpmp-sky-panel .wpmp-sky-form{background-color:var(--sky-message-input-bar,#050a1d)!important;background-image:none!important;}
#wpmp-sky #wpmp-sky-panel>.wpmp-sky-lead-start{position:relative;z-index:1;}
#wpmp-sky #wpmp-sky-panel>.wpmp-sky-lead-start{box-shadow:0 0 0 12px var(--sky-bottom-booking-bar,#050a1d)!important;}
#wpmp-sky #wpmp-sky-panel .wpmp-sky-messages{background-color:var(--sky-panel,#333333);}

/* WPMP-1193: the editor hosts the actual public widget, not a preview skin.
   Only position the root inside the editor. The panel and all children use
   the same canonical public CSS, dimensions and design tokens. */
#sky-admin .sky-v1057-preview-shell {
  width:min(420px,100%);
  margin:20px auto 12px;
}
#sky-admin .sky-v1057-preview-shell #wpmp-sky.wpmp-sky-admin-instance {
  position:relative;right:auto;bottom:auto;inset:auto;
  display:block;width:100%;pointer-events:none;z-index:auto;
}
#sky-admin .sky-v1057-preview-shell #wpmp-sky-panel[data-sky-preview-panel] {
  position:relative;right:auto;bottom:auto;inset:auto;
  display:flex;width:100%;height:var(--sky-panel-height);
  max-height:none;visibility:visible;overflow:hidden;
}
#sky-admin .sky-v1057-preview-shell .wpmp-sky-lead-form {display:none!important}

/* WPMP-1192: shared component geometry, independent of WordPress admin form defaults. */
#wpmp-sky .wpmp-sky-panel .wpmp-sky-messages > .wpmp-sky-bubble {
  box-sizing:border-box;display:block;width:max-content;max-width:calc(100% - 18px);
  margin:0 0 12px 0;padding:12px 15px;line-height:1.5;
  border:1px solid #eae5f7;border-radius:15px 15px 15px 4px;
  background:var(--sky-bubble);color:var(--sky-text);font-size:var(--sky-body-size);
}
#wpmp-sky .wpmp-sky-panel .wpmp-sky-form {display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box}
#wpmp-sky .wpmp-sky-panel .wpmp-sky-form input {
  display:block;flex:1 1 0;min-width:0;width:0;max-width:none;box-sizing:border-box;
  margin:0;padding:10px 14px;line-height:normal;border-radius:12px;
  background:#fff;color:var(--sky-text);font-family:var(--sky-font);
}
#wpmp-sky .wpmp-sky-panel .wpmp-sky-form button[type=submit] {
  flex:0 0 38px;width:38px;min-width:38px;height:38px;margin:0;padding:0;
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
}
#wpmp-sky .wpmp-sky-panel .wpmp-sky-messages {box-sizing:border-box}
/* The editor is a positioning host, never a second visual component. */
#sky-admin .sky-v1057-preview-shell #wpmp-sky {position:relative;inset:auto;right:auto;bottom:auto;z-index:auto}

/* WPMP-1194: the visitor runtime moves video to .wpmp-sky-message-stage.
   Apply the SAME overlay tokens at the video layer; preview keeps its in-message overlay. */
#wpmp-sky .wpmp-sky-message-stage:has(> .wpmp-sky-background-video)::before{content:"";position:absolute;inset:0;background:var(--sky-overlay-color,#000);opacity:var(--sky-overlay-opacity,0);pointer-events:none;z-index:1;}
#wpmp-sky .wpmp-sky-message-stage:has(> .wpmp-sky-background-video)>.wpmp-sky-messages{z-index:2!important;}
#wpmp-sky .wpmp-sky-message-stage:has(> .wpmp-sky-background-video)>.wpmp-sky-messages::before{content:none!important;}
