/* SpotOne Hub — website widget. Brand colours are fixed so the widget reads the same on any theme. */
@font-face{font-family:"SpotOne Sora";src:url("../fonts/sora-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap}
.spw{--spw-navy:#2B2D6E;--spw-orange:#E2492C;--spw-ink:#1B1C3A;--spw-muted:#5E6080;--spw-line:#DCDDE8;--spw-soft:#F3F3F8;--spw-bg:#FFFFFF;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.45;color:var(--spw-ink);box-sizing:border-box}
.spw *,.spw *::before,.spw *::after{box-sizing:border-box}
.spw button,.spw input,.spw select,.spw textarea{font:inherit;color:inherit;margin:0}
.spw [hidden]{display:none!important}
.spw :focus-visible{outline:2px solid var(--spw-orange);outline-offset:2px}

.spw-panel{background:var(--spw-bg);border:1px solid var(--spw-line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;height:520px;max-height:80vh;box-shadow:0 12px 32px rgba(27,28,58,.14)}
.spw:not(.spw-floating) .spw-panel{max-width:440px;box-shadow:none}
.spw-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--spw-navy);color:#fff}
.spw-av{width:30px;height:auto;background:#fff;border-radius:50%;padding:4px 5px}
.spw-title{flex:1;min-width:0;display:flex;flex-direction:column}
.spw-title b{font-family:"SpotOne Sora",system-ui,sans-serif;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spw-title small{font-size:12px;opacity:.8}
.spw-lang{display:inline-flex;border:1px solid rgba(255,255,255,.4);border-radius:6px;overflow:hidden}
.spw-lang button{background:none;border:0;color:#fff;padding:3px 7px;font-size:11px;font-weight:600;cursor:pointer;opacity:.75}
.spw-lang button[aria-pressed="true"]{background:#fff;color:var(--spw-navy);opacity:1}
.spw-x{background:none;border:0;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0 2px}
.spw-body{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:9px;background:var(--spw-soft)}
.spw-m{max-width:85%;padding:9px 12px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.spw-m small{display:block;font-size:11px;font-weight:600;opacity:.75;margin-bottom:2px}
.spw-m.bot,.spw-m.agent{align-self:flex-start;background:var(--spw-bg);border:1px solid var(--spw-line);border-bottom-left-radius:3px}
.spw-m.agent{border-color:var(--spw-navy)}
.spw-m.customer{align-self:flex-end;background:var(--spw-navy);color:#fff;border-bottom-right-radius:3px}
.spw-sys{align-self:center;text-align:center;font-size:12.5px;color:var(--spw-muted);background:var(--spw-bg);border:1px dashed var(--spw-line);border-radius:8px;padding:7px 10px;max-width:92%}
.spw-foot{background:var(--spw-bg);border-top:1px solid var(--spw-line)}
.spw-quick{display:flex;gap:6px;flex-wrap:wrap;padding:9px 12px 0}
.spw-quick button{border:1px solid var(--spw-navy);color:var(--spw-navy);background:none;border-radius:14px;padding:3px 10px;font-size:12.5px;cursor:pointer}
.spw-quick button.alt{border-color:var(--spw-orange);color:var(--spw-orange)}
.spw-quick button:hover{background:var(--spw-soft)}
.spw-input{display:flex;gap:8px;padding:10px 12px}
.spw-input input{flex:1;min-width:0;border:1px solid var(--spw-line);border-radius:8px;padding:8px 10px;background:var(--spw-bg)}
.spw-btn{background:var(--spw-navy);color:#fff;border:0;border-radius:8px;padding:8px 14px;font-weight:600;cursor:pointer}
.spw-btn:hover{filter:brightness(1.12)}
.spw-btn:disabled{opacity:.55;cursor:wait}
.spw-link{background:none;border:0;color:var(--spw-muted);text-decoration:underline;cursor:pointer;padding:0;font-size:13px}
.spw-inner{background:var(--spw-bg);border-top:1px solid var(--spw-line);padding:12px;max-height:60%;overflow:auto}
.spw-form{display:flex;flex-direction:column;gap:10px}
.spw-form h3{font-family:"SpotOne Sora",system-ui,sans-serif;font-size:16px;font-weight:600;margin:0;color:var(--spw-navy)}
.spw-field{display:flex;flex-direction:column;gap:3px}
.spw-field label{font-size:12.5px;font-weight:600}
.spw-field small{font-size:12px;color:var(--spw-muted)}
.spw-field input,.spw-field select,.spw-field textarea{border:1px solid var(--spw-line);border-radius:8px;padding:8px 10px;background:var(--spw-bg);width:100%}
.spw-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.spw-row .spw-btn{margin-left:auto}
.spw-msg{margin:0;font-size:13px;min-height:0}
.spw-msg:empty{display:none}
.spw-msg.err{color:#B42318}
.spw-done{background:#E6F4EA;color:#1C5E31;border-radius:8px;padding:12px;font-weight:500}
.spw-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.spw-card{max-width:520px;background:var(--spw-bg);border:1px solid var(--spw-line);border-radius:12px;padding:18px}

.spw-floating{position:fixed;z-index:99999;bottom:calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.spw-floating.spw-right{right:calc(20px + env(safe-area-inset-right,0px))}
.spw-floating.spw-left{left:calc(20px + env(safe-area-inset-left,0px));align-items:flex-start}
.spw-floating .spw-panel{width:360px}
.spw-launcher{position:relative;width:60px;height:60px;border-radius:50%;border:0;background:#fff;box-shadow:0 6px 18px rgba(27,28,58,.25);cursor:pointer;display:grid;place-items:center;padding:0}
.spw-launcher img{width:34px;height:auto}
.spw-floating.is-open .spw-launcher{transform:scale(.88)}
.spw-badge{position:absolute;top:-2px;right:-2px;background:var(--spw-orange);color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center;padding:0 5px}
@media (max-width:480px){
  .spw-floating.is-open{left:0;right:0;bottom:0;top:0;gap:0}
  .spw-floating.is-open .spw-panel{width:100%;height:100%;max-height:none;border-radius:0}
  .spw-floating.is-open .spw-launcher{display:none}
}
@media (prefers-reduced-motion:no-preference){.spw-launcher{transition:transform .15s}}

/* Mainstreet front-page typography */

@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/google-sans-flex-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/google-sans-flex-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.spw,
.spw :where(*):not(svg, svg *) {
  font-family: "Google Sans Flex", Roboto, Arial, sans-serif !important;
  font-optical-sizing: auto;
}

.spw,
.spw :is(p, li, label, button, input, select, textarea, th, td, dt, dd) {
  font-size: 16px !important;
  line-height: 1.6;
}

.spw h1 { font-size: clamp(30px, 3.4vw, 40px) !important; }
.spw h2 { font-size: clamp(26px, 2.8vw, 34px) !important; }
.spw h3 { font-size: 20px !important; }
