/* Ask EnviroSolution, scoped deliberately to the existing page hero and modal. */
.es-ask-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:43px!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:9px!important;padding:0 17px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font:780 14px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;backdrop-filter:blur(8px);transition:background .18s ease,border-color .18s ease}
.es-ask-button:hover{background:rgba(255,255,255,.24)!important;border-color:#fff!important}.es-ask-button svg{width:18px;height:18px;flex:0 0 18px}
.es-service-hero-actions>.es-ask-button{flex:none!important}
.es-ask-button.es-ask-button--floating{position:fixed!important;right:max(18px,env(safe-area-inset-right,0px))!important;bottom:max(18px,env(safe-area-inset-bottom,0px))!important;z-index:999999!important;background:#697138!important;border-color:#697138!important;box-shadow:0 8px 32px rgba(17,25,17,.26)!important;}
.es-ask-button.es-ask-button--floating:hover{background:#50582b!important;border-color:#50582b!important}
html.es-ask-lock,html.es-ask-lock body{overflow:hidden!important}
.es-ask-shell{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:22px;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.es-ask-shell[hidden],.es-ask-shell [hidden]{display:none!important}
.es-ask-shell *{box-sizing:border-box}.es-ask-backdrop{position:absolute;inset:0;background:rgba(12,18,13,.67);backdrop-filter:blur(4px)}
.es-ask-dialog{position:relative;display:flex;flex-direction:column;width:min(100%,570px);max-height:min(760px,calc(100dvh - 44px));border-radius:16px;overflow:hidden;background:#fff;border:1px solid #dfe6d6;box-shadow:0 26px 110px rgba(0,0,0,.35);color:#172017;outline:0;letter-spacing:0!important;text-align:left}
.es-ask-top{display:flex;align-items:center;gap:14px;padding:20px 25px;background:#192419;color:#fff;flex:0 0 auto}.es-ask-mark{width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:#697138;border-radius:11px;flex:none}.es-ask-mark svg{width:25px;height:25px}.es-ask-heading{min-width:0;flex:1}.es-ask-topline{display:block!important;font-size:10px!important;font-weight:800!important;letter-spacing:.09em!important;color:#cdd8c0!important;line-height:1.3!important}.es-ask-shell h2#es-ask-title{margin:3px 0 0!important;font-size:23px!important;font-weight:790!important;line-height:1.15!important;color:#fff!important;letter-spacing:-.028em!important;text-transform:none!important}.es-ask-x{display:grid;place-items:center;width:37px;height:37px;flex:none;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:9px;cursor:pointer}.es-ask-x svg{width:20px;height:20px}.es-ask-x:hover{background:rgba(255,255,255,.2)}
.es-ask-scroll{overflow-y:auto;overscroll-behavior:contain;padding:22px 27px 26px;flex:1;min-height:0;scrollbar-color:#aeb8a1 transparent}.es-ask-service{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 12px;background:#f4f6f0;border:1px solid #e1e7d8;border-radius:9px;color:#56624f;font-size:12px!important;font-weight:550!important;line-height:1.3!important;margin-bottom:22px}.es-ask-service strong{color:#253120;font-weight:800}.es-ask-indicator{width:7px;height:7px;border-radius:50%;background:#697138;margin-right:2px}
.es-ask-shell h3{font-size:25px!important;font-weight:790!important;line-height:1.17!important;letter-spacing:-.035em!important;color:#172017!important;margin:0 0 9px!important;text-transform:none!important}.es-ask-shell p{font-size:14px!important;line-height:1.56!important;color:#536051!important;font-weight:440!important;letter-spacing:0!important;margin:0 0 15px!important}.es-ask-examples{display:grid;gap:8px;margin:17px 0 21px}.es-ask-examples button{text-align:left;display:flex;align-items:center;min-height:39px;cursor:pointer;background:#f7f8f4;border:1px solid #e0e7d9;border-radius:8px;color:#374337;font-size:13px!important;font-weight:650!important;line-height:1.35!important;padding:8px 12px;box-shadow:none}.es-ask-examples button:before{content:'?';font-size:11px;font-weight:800;text-align:center;line-height:17px;display:inline-block;min-width:18px;height:18px;border-radius:6px;background:#e7ecdc;color:#697138;margin-right:10px}.es-ask-examples button:hover{border-color:#697138;background:#fff}
.es-ask-shell label{display:block;color:#1c291b;font-size:13px!important;font-weight:750!important;letter-spacing:0!important;line-height:1.35!important;margin:0 0 9px!important}.es-ask-shell textarea#es-ask-question,.es-ask-fields input{display:block!important;width:100%!important;min-width:0!important;height:auto!important;border:1px solid #cbd4c5!important;background:#fff!important;color:#172017!important;border-radius:9px!important;padding:13px 14px!important;font:500 16px/1.45 Inter,system-ui,sans-serif!important;letter-spacing:0!important;box-shadow:none!important;margin:8px 0 0!important;outline:none!important;resize:vertical}.es-ask-shell textarea#es-ask-question{min-height:106px;max-height:250px;margin:0 0 12px!important}.es-ask-shell textarea:focus,.es-ask-shell input:focus{border-color:#697138!important;box-shadow:0 0 0 3px rgba(105,113,56,.15)!important}.es-ask-shell button:focus-visible,.es-ask-shell a:focus-visible{outline:3px solid #b5c28a;outline-offset:2px}.es-ask-primary{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:48px!important;border:1px solid #697138!important;border-radius:9px!important;padding:12px 17px!important;background:#697138!important;color:#fff!important;box-shadow:none!important;font:780 14px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:0!important;cursor:pointer}.es-ask-primary:hover{background:#525a2e!important;border-color:#525a2e!important;color:#fff!important}.es-ask-primary:disabled{opacity:.62;cursor:progress}.es-ask-shell p.es-ask-disclaimer{font-size:11px!important;line-height:1.5!important;color:#7b8578!important;margin:13px 0 0!important}.es-ask-shell .es-ask-respond{margin:12px 0;padding:11px 13px;background:#fff1ee;border:1px solid #e7b1a6;border-radius:8px;color:#933d31;font:650 13px/1.5 Inter,system-ui,sans-serif}
.es-ask-answer-label{font-size:11px;letter-spacing:.08em;color:#697138;font-weight:850;margin:0 0 12px}.es-ask-screen[data-es-ask-screen="answer"]{display:flex;flex-direction:column;min-height:0}.es-ask-chat{display:grid;gap:12px;max-height:clamp(230px,34vh,320px);overflow-y:auto;padding:2px 3px 2px 0;margin:0 0 2px;scrollbar-color:#aeb8a1 transparent}.es-ask-chat-message{display:grid;gap:5px;max-width:92%}.es-ask-chat-message--user{justify-self:end}.es-ask-chat-message--assistant{justify-self:start}.es-ask-chat-role{font-size:11px!important;font-weight:800!important;letter-spacing:.03em!important;color:#66715f}.es-ask-chat-bubble{white-space:pre-line;font-size:14px;line-height:1.62;color:#253124;padding:14px 16px;border-radius:14px;overflow-wrap:anywhere;box-shadow:0 1px 0 rgba(0,0,0,.02)}.es-ask-chat-message--user .es-ask-chat-bubble{background:#edf1e6;border:1px solid #d9e2ce;color:#24301f;border-bottom-right-radius:6px}.es-ask-chat-message--assistant .es-ask-chat-bubble{background:#f6f8f3;border:1px solid #e0e6d9;border-left:3px solid #697138;border-bottom-left-radius:6px}.es-ask-handoff-prompt{display:grid;gap:5px;margin:18px 0 15px}.es-ask-handoff-prompt strong{font-size:18px;color:#1d261c;font-weight:800}.es-ask-handoff-prompt span{font-size:13px;line-height:1.55;color:#586455}.es-ask-secondary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:45px!important;margin-top:9px!important;background:#fff!important;border:1px solid #cbd5c2!important;border-radius:9px!important;color:#283427!important;box-shadow:none!important;font:750 13px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:0!important;cursor:pointer}.es-ask-secondary:hover{background:#f2f5ed!important}
.es-ask-back{background:transparent;border:0;color:#697138;font:750 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer;margin:0 0 20px;padding:0}.es-ask-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;margin:20px 0}.es-ask-fields label{margin:0!important;min-width:0}.es-ask-fields label:nth-child(-n+2),.es-ask-full{grid-column:1/-1}.es-ask-fields label>span{color:#697138}.es-ask-fields small{font-weight:450;color:#7c8678;font-size:11px}.es-ask-fields input{margin-top:6px!important;min-height:45px!important}.es-ask-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.es-ask-consent{display:flex!important;align-items:flex-start;gap:11px;color:#44523f!important;font-size:12px!important;font-weight:500!important;line-height:1.55!important;margin:0 0 19px!important}.es-ask-shell .es-ask-consent input{appearance:auto!important;width:17px!important;height:17px!important;flex:0 0 17px!important;margin:2px 0 0!important;accent-color:#697138!important}.es-ask-consent span{flex:1}.es-ask-consent a{color:#56622b!important;text-decoration:underline!important}.es-ask-shell .es-turnstile-shell{margin:0 0 12px!important}.es-ask-shell .es-turnstile-note{margin:0 0 14px!important;font-size:11px!important}
.es-ask-success{text-align:center;padding:23px 5px 13px}.es-ask-success-icon{width:56px;height:56px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:#edf3e5;color:#697138;font-size:32px;font-weight:800}.es-ask-success [data-es-ask-ref]{display:block;margin:8px 0 15px;color:#697138;font-size:16px;font-weight:800}.es-ask-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:center;flex:0 0 auto;padding:12px 16px;border-top:1px solid #e4e9df;background:#fbfcfa;color:#697465;font-size:11px!important;font-weight:550!important;line-height:1.4!important;letter-spacing:0!important}.es-ask-footer a{color:#394728!important;font-weight:850!important;white-space:nowrap}.es-ask-footer-dot{width:6px;height:6px;border-radius:50%;background:#697138}
@media(max-width:780px){.es-ask-shell{padding:0;place-items:stretch}.es-ask-dialog{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh;box-shadow:none}.es-ask-top{padding:calc(16px + env(safe-area-inset-top,0px)) 17px 15px}.es-ask-scroll{padding:19px 19px 25px}.es-ask-footer{padding:13px 16px calc(13px + env(safe-area-inset-bottom,0px))}.es-service-hero-actions>.es-ask-button{width:100%!important;min-height:44px!important}.es-ask-shell h3{font-size:23px!important}}
@media(max-width:410px){.es-ask-mark{width:39px;height:39px}.es-ask-shell h2#es-ask-title{font-size:21px!important}.es-ask-fields{grid-template-columns:1fr;gap:12px}.es-ask-fields label{grid-column:1/-1}.es-ask-service{margin-bottom:17px}.es-ask-topline{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.es-ask-shell *, .es-ask-button{scroll-behavior:auto!important;transition:none!important}}

/* Keep the consultant handoff label optically centred while the arrow stays right-aligned. */
.es-ask-shell .es-ask-primary[data-es-ask-handoff-open]{position:relative!important;justify-content:center!important;text-align:center!important;padding-left:46px!important;padding-right:46px!important}
.es-ask-shell .es-ask-primary[data-es-ask-handoff-open]>span[aria-hidden="true"]{position:absolute!important;right:17px;top:50%;transform:translateY(-50%)}


/* v0.3.101: footer Preferred Source travelling-border technique, reworked in
   EnviroSolution olive/sage tones for the assistant response only.
   User messages, handoff buttons and the fixed scrolling conversation are unchanged. */
.es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-bubble--response{
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(135deg,#fafbf8 0%,#f2f6ed 68%,#edf3e7 100%)!important;
  border:1px solid #cddbc2!important;
  border-bottom-left-radius:6px;
  padding:17px 19px;
  box-shadow:0 10px 26px rgba(36,52,29,.075),inset 0 1px 0 rgba(255,255,255,.8);
  color:#273426;
  line-height:1.58;
}
.es-ask-shell .es-ask-chat-answer-copy{
  position:relative;
  z-index:2;
  display:block;
  white-space:pre-line;
  font:inherit;
  color:inherit;
  overflow-wrap:anywhere;
}
/* Fallback is a clean static outline where CSS masking is unavailable. */
.es-ask-shell .es-ask-chat-border{display:none}
@supports ((-webkit-mask-composite:xor) or (mask-composite:exclude)){
  .es-ask-shell .es-ask-chat-border{
    position:absolute!important;
    display:block;
    z-index:1;
    inset:0;
    padding:2px;
    border-radius:inherit;
    overflow:hidden;
    pointer-events:none;
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0) border-box;
    -webkit-mask-composite:xor;
    mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0) border-box;
    mask-composite:exclude;
  }
  .es-ask-shell .es-ask-chat-glow{
    position:absolute;
    display:block;
    top:50%;left:50%;
    width:660px;height:660px;
    background:conic-gradient(from 0deg,
      transparent 0deg,transparent 20deg,
      rgba(172,192,139,.38) 47deg,
      #bbcca0 78deg,
      #8fa267 115deg,
      #697138 150deg,
      #4d603d 185deg,
      rgba(150,169,115,.65) 225deg,
      transparent 282deg,transparent 360deg);
    transform:translate(-50%,-50%) rotate(0deg);
    transform-origin:center;
    animation:esAskOliveBorderTravel 8s linear infinite;
  }
}
@keyframes esAskOliveBorderTravel{
  from{transform:translate(-50%,-50%) rotate(0deg)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}
@media(max-width:780px){
  .es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-bubble--response{padding:15px 16px}
}
@media(prefers-reduced-motion:reduce){
  .es-ask-shell .es-ask-chat-glow{animation:none!important}
}

/* v0.3.102: keep chat message rows content-sized. In a scrollable grid,
   stretched rows can leave a large blank area above the reply text. */
.es-ask-shell .es-ask-chat{
  align-content:start;
  grid-auto-rows:max-content;
}
.es-ask-shell .es-ask-chat-message{
  align-content:start;
  grid-template-rows:max-content max-content;
}
.es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-bubble--response{
  align-self:start;
  height:auto!important;
  min-height:0!important;
  padding:12px 17px!important;
}
.es-ask-shell .es-ask-chat-answer-copy{
  margin:0!important;
  padding:0!important;
  line-height:1.58!important;
  vertical-align:top;
}
@media(max-width:780px){
  .es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-bubble--response{
    padding:12px 14px!important;
  }
}

/* v0.3.103: actual cause of the empty space. The previous .es-ask-chat-bubble
   uses white-space:pre-line, which renders source-code line breaks around the
   decorative absolute-positioned border as empty lines ABOVE the answer.
   Keep any intentional line breaks only inside the answer text itself. */
.es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-bubble--response{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  white-space:normal!important;
}
.es-ask-shell .es-ask-chat-message--assistant .es-ask-chat-answer-copy{
  display:block!important;
  min-width:0;
  white-space:pre-line!important;
}


/* v0.3.103: matching premium olive travelling rim around the entire modal.
   Decorative overlay uses the same mask technique as the reply bubble, does not
   change modal dimensions or capture pointer/keyboard input. */
.es-ask-shell .es-ask-dialog{
  border-color:#a9b99a;
  box-shadow:0 26px 110px rgba(0,0,0,.35),0 0 0 1px rgba(173,192,143,.18),0 0 28px rgba(105,113,56,.14);
}
.es-ask-shell .es-ask-dialog-border{display:none}
@supports ((-webkit-mask-composite:xor) or (mask-composite:exclude)){
  .es-ask-shell .es-ask-dialog-border{
    display:block;
    position:absolute;
    inset:0;
    z-index:10;
    padding:2px;
    border-radius:inherit;
    overflow:hidden;
    pointer-events:none;
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0) border-box;
    -webkit-mask-composite:xor;
    mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0) border-box;
    mask-composite:exclude;
  }
  .es-ask-shell .es-ask-dialog-glow{
    display:block;
    position:absolute;
    top:50%;left:50%;
    width:1250px;height:1250px;
    background:conic-gradient(from 0deg,
      transparent 0deg,rgba(187,207,157,.14) 30deg,
      #d8e3c5 70deg,#9eaf7d 110deg,#697138 154deg,
      #435536 197deg,rgba(135,158,96,.48) 249deg,
      transparent 305deg,transparent 360deg);
    transform:translate(-50%,-50%) rotate(0deg);
    transform-origin:center;
    animation:esAskOliveBorderTravel 11s linear infinite;
  }
}
@media(max-width:780px){
  /* Full-screen dialog on phones: lighter 1px edge avoids a distracting outline. */
  .es-ask-shell .es-ask-dialog{border-color:#d3dec9;box-shadow:none}
  .es-ask-shell .es-ask-dialog-border{padding:1px}
}
@media(prefers-reduced-motion:reduce){
  .es-ask-shell .es-ask-dialog-glow{animation:none!important}
}

@media (max-width:410px) and (max-height:700px){
  /* Small phones: prioritise consultant actions; scroll longer answers inside chat. */
  .es-ask-shell .es-ask-chat{max-height:160px}
}
