/* SIA 1.1 — evergreen colour, rectangular launcher and swapped floating controls. */
.porter-root{--pc-ink:#173a2c;--pc-blue:#186849;--pc-border:#d8e9dd;--pc-muted:#627a6d;--pc-paper:#fff;position:fixed;left:auto;right:24px;bottom:22px;z-index:99990;font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pc-ink);font-size:14px;line-height:1.5}
.porter-root *, .porter-root *::before,.porter-root *::after{box-sizing:border-box}
.porter-root [hidden]{display:none!important}
.porter-root button,.porter-root input,.porter-root select,.porter-root textarea{font:inherit}
.porter-root button{cursor:pointer}
.porter-root button:disabled{cursor:wait;opacity:.58}
.porter-root a{color:inherit}
.porter-root :focus-visible{outline:3px solid #4da67d;outline-offset:3px}
.porter-sr-only{position:absolute!important;overflow:hidden!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
/* Launcher is never displayed concurrently with the conversation. */
.porter-launcher{display:flex;align-items:center;gap:11px;background:linear-gradient(125deg,#14563e 5%,#278963 100%);color:#fff;border:1px solid #ffffff25;border-radius:7px;box-shadow:0 13px 40px #0c3d2c42;padding:8px 14px 8px 7px;min-height:60px;text-align:left;transition:transform .2s ease,box-shadow .2s ease}
.porter-launcher:hover{transform:translateY(-3px);box-shadow:0 18px 47px #0c3d2c42}
.porter-launcher__figure{width:48px;height:48px;object-fit:contain;object-position:center;background:transparent;display:block}
.porter-launcher__copy{display:flex;flex-direction:column;min-width:94px;gap:0}
.porter-launcher__copy strong{font-size:15px;line-height:1.25;letter-spacing:-.01em;color:#fff;font-weight:800}
.porter-launcher__copy small{font-size:11px;line-height:1.4;color:#e4f4e9;font-weight:500}
.porter-launcher__arrow{display:flex;align-items:center;justify-content:center;color:#fff;margin-left:7px;opacity:.9}
/* Panel */
.porter-panel{display:flex;flex-direction:column;width:min(420px,calc(100vw - 24px));height:min(650px,calc(100dvh - 34px));background:var(--pc-paper);border:1px solid #cddfd4;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px #153e2c33,0 4px 14px #153e2c16;isolation:isolate}
.porter-header{flex:0 0 auto;min-height:78px;display:flex;align-items:center;gap:11px;padding:12px 16px;background:linear-gradient(125deg,#114f3a,#237e59 98%);color:#fff}
.porter-header__avatar{width:54px;height:56px;display:block;object-fit:contain;flex:0 0 auto;background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.porter-header__title{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.porter-header__title strong{font-size:19px;line-height:1.25;font-weight:800;color:#fff;letter-spacing:-.025em}
.porter-header__title span{display:flex;align-items:center;gap:7px;font-size:11.5px;line-height:1.4;color:#e1f3e8;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.porter-status-dot{display:inline-block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#8dbca2}
.porter-status-dot[data-kind="ready"],.porter-status-dot[data-kind="connected"]{background:#6fd8b9;box-shadow:0 0 0 3px #6fd8b925}
.porter-status-dot[data-kind="error"]{background:#ffd18f;box-shadow:0 0 0 3px #ffd18f25}
.porter-header__control{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;padding:0;background:transparent;color:#eaf8ee;border:1px solid #ffffff33;border-radius:11px;transition:background .15s}
.porter-header__control:hover{background:#ffffff1c;color:#fff}
.porter-main{display:flex;flex:1;min-height:0;flex-direction:column;background:#f5faf7}
.porter-chat-view{display:flex;flex:1;min-height:0;flex-direction:column}
.porter-messages{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:21px 19px 15px;display:flex;flex-direction:column;gap:14px;scrollbar-width:thin;scrollbar-color:#b8d6c3 transparent}
.porter-intro{padding:5px 0 7px}
.porter-intro__eyebrow,.porter-lead-header>span{display:block;font-size:10px;letter-spacing:.15em;font-weight:800;color:#176747}
.porter-intro h2{font-size:24px!important;line-height:1.2!important;letter-spacing:-.04em!important;color:#1e3d30!important;margin:9px 0 10px!important;font-weight:800!important}
.porter-intro p{font-size:13px!important;line-height:1.8!important;color:#536f60!important;margin:0!important}
.porter-starters{display:flex;flex-direction:column;gap:9px;margin-top:2px}
.porter-starters button{background:#fff;border:1px solid #d6e7dc;border-radius:13px;display:flex;align-items:center;gap:11px;text-align:left;padding:12px 13px;color:#294d3c;font-size:12.8px;font-weight:700;box-shadow:0 3px 10px #17452c0d;transition:border-color .15s,transform .15s}
.porter-starters button:hover{border-color:#5da987;transform:translateY(-1px)}
.porter-starters button span{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:#e8f6ec;color:#166b4a}
.porter-bubble{display:flex;max-width:100%}
.porter-bubble--user{justify-content:flex-end}
.porter-bubble--assistant{justify-content:flex-start}
.porter-bubble__content{max-width:93%;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:15px;padding:12px 14px}
.porter-bubble--user .porter-bubble__content{background:#196e4d;color:#fff;border-bottom-right-radius:5px}
.porter-bubble--assistant .porter-bubble__content{background:#fff;border:1px solid #d8e8dc;color:#294637;border-bottom-left-radius:5px;box-shadow:0 3px 13px #17452c0d}
.porter-bubble--error .porter-bubble__content{background:#fff8f4;border-color:#edc5b9;color:#9a4039}
.porter-typing{display:flex;gap:5px;align-items:center;width:max-content;padding:12px 15px;border:1px solid #d6e7dc;background:#fff;border-radius:12px}
.porter-typing span{display:block;width:6px;height:6px;background:#6ba989;border-radius:50%;animation:porter-pulse 1.1s infinite ease-in-out}
.porter-typing span:nth-child(2){animation-delay:.15s}.porter-typing span:nth-child(3){animation-delay:.3s}
@keyframes porter-pulse{0%,70%,100%{transform:translateY(0);opacity:.5}35%{transform:translateY(-4px);opacity:1}}
.porter-cards{display:grid;gap:7px;padding:0;margin-top:-3px}
.porter-card{display:flex;flex-direction:column;gap:4px;text-decoration:none!important;background:#fff;border:1px solid #d3e5d9;border-radius:12px;padding:11px 13px;transition:border-color .18s,background .18s}
.porter-card:hover{border-color:#2a8a63;background:#f2faf4}
.porter-card strong{font-size:12.8px;color:#15563c;font-weight:800}
.porter-card span{color:#5c7565;font-size:11.5px;line-height:1.5}
.porter-card small{font-size:11px;font-weight:800;color:#1a7050}
.porter-compose-wrap{flex:0 0 auto;padding:11px 14px 10px;background:#fff;border-top:1px solid #dce9df}
.porter-compose{display:flex;align-items:center;gap:8px;background:#f7fcf8;border:1px solid #dce9e0;border-radius:14px;padding:6px 6px 6px 11px;transition:border-color .15s,box-shadow .15s}
.porter-compose:focus-within{background:#fff;border-color:#76b393;box-shadow:0 0 0 3px #76b39326}
.porter-compose textarea{appearance:none;display:block;flex:1;min-width:0;resize:none;outline:0!important;border:0!important;background:transparent!important;font-size:13px;line-height:1.5;color:#254535;padding:7px 0;max-height:105px;min-height:34px;height:34px;box-shadow:none!important}
.porter-compose textarea::placeholder{color:#758c7e;opacity:1}
.porter-send{flex:0 0 38px;width:38px;height:38px;border:none;border-radius:10px;background:#197653;color:#fff;display:grid;place-items:center;padding:0;transition:background .15s}
.porter-send:hover{background:#14563d}
.porter-disclaimer{margin:7px 2px 0!important;color:#698174!important;font-size:10px!important;line-height:1.45!important;text-align:center}
.porter-footer{display:flex;gap:0;align-items:stretch;justify-content:space-around;flex:0 0 auto;background:#fff;border-top:1px solid #dfece3;padding:3px 8px 6px}
.porter-footer__action{display:flex!important;align-items:center;justify-content:center;flex:1;gap:6px;min-height:40px;border:0!important;border-radius:9px!important;background:transparent!important;padding:5px 7px!important;color:#4d6c5b!important;text-decoration:none!important;font-size:11.3px!important;font-weight:700!important;white-space:nowrap}
.porter-footer__action:hover,.porter-footer__action.is-selected{background:#e7f6eb!important;color:#166b4a!important}
/* In-place enquiry view uses the existing, protected Prism API. */
.porter-lead-view{flex:1;min-height:0;overflow-y:auto;padding:21px 19px 18px;scrollbar-width:thin}
.porter-lead-header h2{font-size:22px!important;line-height:1.25!important;color:#254334!important;margin:7px 0 7px!important;letter-spacing:-.035em!important}
.porter-lead-header p{font-size:12.7px!important;color:#5b7466!important;line-height:1.6!important;margin:0 0 17px!important}
.porter-lead-form{display:flex;flex-direction:column;gap:12px}
.porter-lead-form label{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:#335a45;font-weight:700}
.porter-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.porter-lead-form input:not([type=checkbox]),.porter-lead-form select,.porter-lead-form textarea{display:block;width:100%;min-width:0;min-height:37px;padding:9px 10px;background:#fff;color:#244937;font-size:12.3px;line-height:1.5;border:1px solid #d4e6d9;border-radius:9px;outline:none}
.porter-lead-form input:focus,.porter-lead-form select:focus,.porter-lead-form textarea:focus{border-color:#6eaf8c;box-shadow:0 0 0 3px #6eaf8c23}
.porter-lead-form textarea{resize:vertical}
.porter-consent{flex-direction:row!important;align-items:flex-start;gap:8px!important;font-size:11px!important;line-height:1.55!important;color:#658070!important;font-weight:500!important}
.porter-consent input{width:15px;flex:0 0 15px;accent-color:#1b8057;margin:3px 0 0}
.porter-consent a{color:#156c49!important;text-decoration:underline}
.porter-lead-status{font-size:12px!important;line-height:1.6!important;margin:0!important;min-height:0}
.porter-lead-status[data-kind=error]{color:#ad453c}.porter-lead-status[data-kind=success]{color:#12644d}
.porter-lead-submit{display:flex;align-items:center;justify-content:center;gap:9px;background:#1b8058;color:#fff;border:0;border-radius:11px;padding:12px 16px;font-weight:800;font-size:13px}
.porter-lead-submit:hover{background:#12593f}
@media(max-width:600px){.porter-root{left:auto;right:10px;bottom:10px}.porter-launcher{min-height:55px}.porter-panel{width:calc(100vw - 20px);height:min(760px,calc(100dvh - 20px));border-radius:17px}.porter-messages{padding:18px 16px 14px}.porter-header{padding:10px 13px}.porter-lead-view{padding:18px 15px}.porter-form-row{gap:8px}}
@media(max-width:370px){.porter-footer__action{font-size:10px!important;gap:4px}.porter-form-row{grid-template-columns:1fr}.porter-header__title strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.porter-root *{animation:none!important;transition:none!important}}

/* SIA evergreen brand and expanded workspace. Enquire stays separate at bottom-left. */
.porter-root{--sia-green:#197753;--sia-green-dark:#12593f;--sia-mist:#f4faf6}
.porter-launcher{background:linear-gradient(122deg,#125b40 2%,#2a9468 100%);box-shadow:0 14px 34px rgba(100,42,13,.25)}
.porter-header{background:linear-gradient(115deg,#104c37 0%,#207b55 58%,#318d67 100%)}
.porter-launcher__figure{background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important}
.porter-send,.porter-lead-submit{background:var(--sia-green);color:#fff}
.porter-send:hover,.porter-lead-submit:hover{background:var(--sia-green-dark)}
.porter-header__control{color:#effaf2;border-color:#ffffff45}
.porter-starters button span{background:#e7f4eb;color:#166b4a}
.porter-root.is-expanded .porter-panel{
  width:min(700px,calc(100vw - 48px));
  height:min(800px,calc(100dvh - 42px));
}
@media (min-width:601px) {
  .porter-panel{transition:width .24s ease,height .24s ease}
}
@media (max-width:600px) {
  .porter-root.is-expanded .porter-panel{
    width:calc(100vw - 20px);
    height:min(850px,calc(100dvh - 20px));
  }
  .porter-header__avatar{width:44px;height:48px}
  .porter-header__control{width:34px;height:34px;flex-basis:34px}
}

/* Fixed CTAs: Enquire bottom-left, SIA bottom-right. */
body .floating-enquire{
  left:24px;
  right:auto;
  bottom:26px;
  border-radius:7px;
}
.porter-root{
  left:auto;
  right:24px;
  bottom:22px;
}
.porter-launcher{
  border-radius:7px;
  box-shadow:0 13px 34px rgba(17,71,48,.24);
}
.porter-launcher:hover,
.porter-launcher:focus-visible{
  box-shadow:0 17px 40px rgba(17,71,48,.3);
}
/* Keep the header, input, booking form and chat cards coordinated. */
.porter-panel{
  border-color:#cddfd4;
  box-shadow:0 30px 80px rgba(13,64,44,.23),0 4px 14px rgba(13,64,44,.11);
}
.porter-root :focus-visible{outline-color:#4da67d}
@media(max-width:600px){
  body .floating-enquire{left:15px;right:auto;bottom:15px}
  .porter-root{left:auto;right:10px;bottom:10px}
  .porter-launcher{min-height:54px;padding:7px 9px 7px 5px;gap:7px}
  .porter-launcher__figure{width:39px;height:39px}
  .porter-launcher__copy{min-width:0}
  .porter-launcher__copy strong{font-size:13px}
  .porter-launcher__copy small{font-size:10px}
  .porter-launcher__arrow{margin-left:2px}
}
/* 360px and narrower: keep both bottom buttons independently tappable. */
@media(max-width:390px){
  .porter-launcher__copy small{display:none}
  .porter-launcher__arrow{display:none}
  .porter-launcher{gap:5px;padding-inline:5px 10px}
}
