/* StewBot, Stewart Flack’s online assistant: widget, version 6. Coastal Ink: Deep Ink #18332F, Tide #3E5D58, Sea Glass #7F9C90, Sand #D1CCBD, Shell #F4F2EE.
   Plain declarations come first, newer ones (env, dvh) after them, so older iPhones keep the plain value.
   The launcher and the pop-up panel are position:fixed directly under <body>: no transformed, filtered or clipped ancestor. */
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/Inter-Regular-latin.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-weight:600;font-style:normal;font-display:swap;src:url("fonts/Manrope-SemiBold-latin.woff2") format("woff2")}
.sfa-ui,.sfa-ui *,.sfa-launcher,.sfa-launcher *{box-sizing:border-box}
.sfa-ui{color-scheme:light;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.45;color:#18332F;text-align:left;-webkit-text-size-adjust:100%}
.sfa-launcher{position:fixed;right:16px;right:calc(16px + env(safe-area-inset-right));bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:2147483000;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:flex-end;justify-content:flex-end;width:auto;max-width:calc(100vw - 32px);min-height:52px;margin:0;padding:4px 4px 4px 18px;border:0;border-radius:26px;white-space:nowrap;background:#18332F;color:#F4F2EE;text-decoration:none;font:600 16px/1.2 "Manrope","Inter",system-ui,sans-serif;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:0 0 0 1px #7F9C90,0 4px 14px rgba(24,51,47,.35)}
.sfa-launcher:hover{background:#3E5D58;color:#F4F2EE}
.sfa-launcher:active{background:#0e1f1c;color:#F4F2EE}
.sfa-l-text{display:block;-webkit-flex:0 1 auto;flex:0 1 auto;min-width:0;margin-right:10px;text-align:right}
.sfa-l-img{display:block;-webkit-flex:none;flex:none;width:44px;height:44px;margin:0;border:2px solid #F4F2EE;border-radius:50%;background:#F4F2EE;object-fit:cover}
.sfa-launcher:focus{outline:3px solid #7F9C90;outline-offset:2px}
.sfa-ui button:focus,.sfa-ui a:focus,.sfa-ui textarea:focus{outline:3px solid #7F9C90;outline-offset:2px}
.sfa-ui button,.sfa-ui a,.sfa-back{-webkit-tap-highlight-color:transparent}
.sfa-ui button:active{opacity:.8}
.sfa-panel{display:none;position:fixed;right:16px;right:calc(16px + env(safe-area-inset-right));bottom:80px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:2147483000;-webkit-flex-direction:column;flex-direction:column;width:380px;max-width:calc(100vw - 32px);height:640px;max-height:calc(100vh - 104px);background:#F4F2EE;border:1px solid #D1CCBD;border-radius:16px;overflow:hidden;box-shadow:0 14px 44px rgba(24,51,47,.3)}
.sfa-panel.sfa-open{display:-webkit-flex;display:flex}
@supports (height:100dvh){.sfa-panel{max-height:calc(100dvh - 104px)}}
.sfa-head{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;padding:12px 12px 12px 16px;background:#18332F;color:#F4F2EE;-webkit-flex:none;flex:none}
.sfa-head img{width:34px;height:34px;border-radius:50%;margin-right:10px;-webkit-flex:none;flex:none}
.sfa-title{-webkit-flex:1;flex:1;min-width:0}
.sfa-title strong{display:block;font:600 16px/1.2 "Manrope","Inter",system-ui,sans-serif}
.sfa-title span{display:block;font-size:13px;color:#D1CCBD}
.sfa-close{width:48px;height:48px;margin:0;padding:0;border:1px solid #7F9C90;border-radius:10px;background:transparent;color:#F4F2EE;font-size:28px;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.sfa-close:hover{background:#3E5D58}
.sfa-log{-webkit-flex:1;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:14px}
.sfa-msg{display:block;max-width:88%;margin:0 0 10px;padding:10px 13px;border-radius:14px;font-size:15px;overflow-wrap:anywhere;word-wrap:break-word}
.sfa-msg p{margin:0 0 6px}.sfa-msg p:last-child{margin-bottom:0}
.sfa-msg ul{margin:4px 0 0;padding-left:18px}
.sfa-bot{background:#fff;border:1px solid #D1CCBD;border-bottom-left-radius:4px}
.sfa-user{margin-left:auto;background:#3E5D58;color:#F4F2EE;border-bottom-right-radius:4px}
.sfa-user a{color:#F4F2EE}
.sfa-msg a{color:#3E5D58;text-decoration:underline}
.sfa-chips{padding:0 14px 6px;-webkit-flex:none;flex:none}
.sfa-chips.sfa-off{display:none}
.sfa-chip{min-height:44px;margin:0 8px 8px 0;padding:0 14px;border:1px solid #3E5D58;border-radius:22px;background:#F4F2EE;color:#18332F;font:inherit;font-size:14px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.sfa-chip:hover{background:#D1CCBD}
.sfa-typing{display:inline-block;padding:10px 13px;margin:0 0 10px;border-radius:14px;background:#fff;border:1px solid #D1CCBD;color:#3E5D58;font-size:14px}
.sfa-typing i{display:inline-block;width:6px;height:6px;margin:0 2px;border-radius:50%;background:#7F9C90;-webkit-animation:sfa-b 1s infinite ease-in-out;animation:sfa-b 1s infinite ease-in-out}
.sfa-typing i:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s}.sfa-typing i:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s}
@-webkit-keyframes sfa-b{0%,80%,100%{opacity:.3}40%{opacity:1}}
@keyframes sfa-b{0%,80%,100%{opacity:.3}40%{opacity:1}}
.sfa-form{display:-webkit-flex;display:flex;-webkit-align-items:flex-end;align-items:flex-end;padding:10px 12px;border-top:1px solid #D1CCBD;background:#F4F2EE;-webkit-flex:none;flex:none}
.sfa-input{-webkit-flex:1;flex:1;min-width:0;min-height:44px;max-height:110px;margin:0 8px 0 0;padding:10px 12px;border:1px solid #7F9C90;border-radius:12px;background:#fff;color:#18332F;font:inherit;font-size:16px;resize:none;-webkit-appearance:none;appearance:none}
.sfa-send{min-width:64px;min-height:44px;margin:0;padding:0 14px;border:0;border-radius:12px;background:#18332F;color:#F4F2EE;font:600 15px/1 "Manrope","Inter",system-ui,sans-serif;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.sfa-send:hover{background:#3E5D58}
.sfa-send[disabled]{opacity:.5;cursor:default}
.sfa-foot{padding:8px 14px 10px;background:#D1CCBD;color:#18332F;font-size:12px;line-height:1.4;-webkit-flex:none;flex:none}
.sfa-foot p{margin:0 0 3px}.sfa-foot p:last-child{margin:0}
.sfa-foot a{color:#18332F;text-decoration:underline}
.sfa-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Phones: the label stays visible; a little higher so it is clear of Safari's bottom toolbar */
@media (max-width:480px){
  .sfa-launcher{bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom));min-height:48px;padding-left:16px;font-size:15px;border-radius:24px}
  .sfa-l-img{width:40px;height:40px}
}
/* chat.html: the chat is the page body, in normal document flow */
body.sfa-pagebody{margin:0;min-height:100vh;min-height:100dvh;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;background:#F4F2EE;color:#18332F;font:400 16px/1.5 "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.sfa-pagehead{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;padding:8px 16px;background:#18332F;color:#F4F2EE;-webkit-flex:none;flex:none}
.sfa-brand{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;font:600 16px/1.2 "Manrope","Inter",system-ui,sans-serif}
.sfa-brand img{display:block;width:34px;height:34px;margin-right:10px;border-radius:50%}
.sfa-brand small{display:block;font:400 13px/1.2 "Inter",system-ui,sans-serif;color:#D1CCBD}
.sfa-back{display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;min-height:48px;padding:0 14px 0 0;color:#F4F2EE;font:600 15px/1 "Manrope","Inter",system-ui,sans-serif;text-decoration:none}
.sfa-back:active{opacity:.7}
.sfa-page{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-flex:1 0 auto;flex:1 0 auto;width:100%;max-width:760px;margin:0 auto;background:#F4F2EE}
.sfa-page .sfa-log{-webkit-flex:1 0 auto;flex:1 0 auto;min-height:240px;overflow:visible;padding:14px 16px}
.sfa-page .sfa-chips{padding:0 16px 6px}
.sfa-page .sfa-form{padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.sfa-page .sfa-foot{padding-bottom:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
/* chat.html while the details step shows: the page is exactly the visible height and the card scrolls inside it */
html.sfa-gated{height:100%}
body.sfa-gated{height:100%;min-height:0}
body.sfa-gated .sfa-page{-webkit-flex:1 1 auto;flex:1 1 auto;min-height:0}
.sfa-page .sfa-details{padding:14px 16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.sfa-pagenote{display:none;margin:16px;padding:14px;background:#fff;border:1px solid #D1CCBD;border-radius:12px}
.sfa-pagenote.sfa-show{display:block}
.sfa-pagenote a{color:#3E5D58}
/* Details step (before the chat). The card is its own scroll area, so Start chat can always be reached with the keyboard open. */
.sfa-details{-webkit-flex:1 1 auto;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px 16px 16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#F4F2EE}
.sfa-dform{margin:0 auto;max-width:420px}
.sfa-dh{margin:0 0 4px;font:600 20px/1.25 "Manrope","Inter",system-ui,sans-serif;color:#18332F}
.sfa-dp{margin:0 0 10px;font-size:15px;line-height:1.4}
.sfa-field{margin:0 0 10px}
.sfa-lab{display:block;margin:0 0 3px;font-size:14px;font-weight:500;line-height:1.3;color:#18332F}
.sfa-dinput{display:block;width:100%;min-height:44px;margin:0;padding:8px 12px;border:1px solid #7F9C90;border-radius:10px;background:#fff;color:#18332F;font:inherit;font-size:16px;line-height:1.3;-webkit-appearance:none;appearance:none}
.sfa-dinput[aria-invalid="true"]{border-color:#9b3b2e;border-width:2px}
.sfa-dinput:focus,.sfa-box:focus{outline:3px solid #7F9C90;outline-offset:2px}
.sfa-fs{margin:0 0 4px;padding:0;border:0;min-width:0}
.sfa-leg{display:block;width:100%;margin:0 0 6px;padding:0;font-size:14px;font-weight:600;line-height:1.3;color:#18332F}
.sfa-err{margin:3px 0 0;font-size:14px;line-height:1.35;color:#9b3b2e}
.sfa-err:empty{display:none}
.sfa-errtop{margin:0 0 8px}
.sfa-tick{display:-webkit-flex;display:flex;-webkit-align-items:flex-start;align-items:flex-start;min-height:44px;margin:4px 0 0;padding:6px 0;font-size:14px;line-height:1.4;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sfa-box{-webkit-flex:none;flex:none;display:block;width:24px;height:24px;margin:0 12px 0 0;padding:0;border:2px solid #3E5D58;border-radius:6px;background:#fff;color-scheme:light;-webkit-appearance:none;appearance:none;cursor:pointer}
.sfa-box:checked{background:#18332F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23F4F2EE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat;border-color:#18332F}
.sfa-ticktext a{color:#3E5D58;text-decoration:underline}
.sfa-start{display:block;width:100%;min-height:48px;margin:10px 0 0;padding:0 18px;border:0;border-radius:24px;background:#18332F;color:#F4F2EE;font:600 16px/1 "Manrope","Inter",system-ui,sans-serif;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.sfa-start:hover{background:#3E5D58}
.sfa-start[disabled]{opacity:.6;cursor:default}
.sfa-ui .sfa-start:focus{outline:3px solid #7F9C90;outline-offset:2px}
.sfa-dsmall{margin:8px 0 0;font-size:12px;line-height:1.4;color:#5a6a66;text-align:center}
.sfa-dsmall a{color:#3E5D58;text-decoration:underline}
@media (prefers-reduced-motion:reduce){.sfa-typing i{-webkit-animation:none;animation:none;opacity:.7}}
