
.macw-root{
  --macw-accent:#1f8e91;
  --macw-width:360px;
  position:fixed;
  bottom:24px;
  z-index:2147483000;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.35;
  -webkit-font-smoothing:antialiased;
}
.macw-root.macw-right{right:24px}
.macw-root.macw-left{left:24px}
.macw-root.macw-crisp-active{display:none!important}

.macw-launcher{
  margin-left:auto;
  border:0;
  border-radius:999px;
  min-height:58px;
  padding:8px 20px 8px 10px;
  display:flex;
  align-items:center;
  gap:11px;
  background:var(--macw-accent);
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(13,43,55,.22);
  font:inherit;
  font-weight:700;
  font-size:15px;
  transition:transform .18s ease,box-shadow .18s ease;
}
.macw-left .macw-launcher{margin-left:0;margin-right:auto}
.macw-launcher:hover{transform:translateY(-1px);box-shadow:0 12px 32px rgba(13,43,55,.28)}
.macw-launcher-icon{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.14);
}
.macw-launcher-icon svg{width:23px;height:23px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.macw-panel{
  width:min(var(--macw-width),calc(100vw - 32px));
  margin-bottom:12px;
  background:#fff;
  border:1px solid rgba(15,35,45,.08);
  border-radius:24px;
  box-shadow:0 18px 55px rgba(18,42,54,.22);
  overflow:hidden;
  opacity:0;
  transform:translateY(12px) scale(.985);
  transform-origin:bottom right;
  pointer-events:none;
  visibility:hidden;
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.macw-left .macw-panel{transform-origin:bottom left}
.macw-root.macw-open .macw-panel{opacity:1;transform:none;pointer-events:auto;visibility:visible}

.macw-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:20px 18px;
  background:linear-gradient(145deg,var(--macw-accent),color-mix(in srgb,var(--macw-accent),#163d4f 28%));
  color:#fff;
}
.macw-heading-row{display:flex;align-items:center;gap:12px;min-width:0}
.macw-logo{
  width:44px;height:44px;object-fit:contain;border-radius:50%;
  background:#fff;padding:3px;box-sizing:border-box;flex:0 0 44px;
}
.macw-heading-copy{min-width:0}
.macw-title{font-size:22px;font-weight:760;letter-spacing:-.2px;line-height:1.15}
.macw-subtitle{margin-top:4px;font-size:13.5px;opacity:.9}

.macw-panel-close,
.macw-back{
  width:40px;height:40px;min-width:40px;
  border:0;border-radius:50%;
  background:rgba(255,255,255,.16);
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
  line-height:0;
}
.macw-panel-close svg{
  width:20px;height:20px;
  stroke:#fff;fill:none;stroke-width:2.1;stroke-linecap:round;
  display:block;
}

.macw-view{display:none}
.macw-view.is-active{display:block}
.macw-list{padding:10px}

.macw-item{
  width:100%;
  min-height:62px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:10px 12px;
  border:0;
  border-radius:15px;
  background:transparent;
  color:#1d2d35;
  text-decoration:none!important;
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:background .14s ease,transform .14s ease,opacity .14s ease;
  box-sizing:border-box;
}
.macw-item:hover{background:#f4f8f8;transform:translateX(1px)}
.macw-item + .macw-item{border-top:1px solid #edf1f2}
.macw-item-icon{
  flex:0 0 42px;width:42px;height:42px;border-radius:12px;
  background:color-mix(in srgb,var(--macw-accent),white 87%);
  display:grid;place-items:center;
}
.macw-item-icon svg{
  width:22px;height:22px;stroke:var(--macw-accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
.macw-item-label{font-size:15px;font-weight:650;display:block}
.macw-item-copy{min-width:0;flex:1}
.macw-item-note{display:block;margin-top:2px;color:#708087;font-size:12.5px}
.macw-item-arrow{margin-left:auto;width:22px;height:22px;display:grid;place-items:center}
.macw-item-arrow svg{width:18px;height:18px;stroke:#9aa8ad;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.macw-disabled,
.macw-chat-unavailable{
  opacity:.42!important;
  cursor:not-allowed!important;
  filter:grayscale(.7);
}
.macw-disabled:hover,
.macw-chat-unavailable:hover{background:transparent;transform:none}

.macw-admin-control{
  margin:2px 12px 12px;
  padding:10px 12px;
  border:1px dashed #c8d4d8;
  border-radius:13px;
  display:flex;
  align-items:center;
  gap:9px;
  background:#f8fafb;
  color:#425159;
  font-size:12.5px;
}
.macw-admin-control-icon{width:18px;height:18px;display:grid;place-items:center}
.macw-admin-control-icon svg{width:17px;height:17px;stroke:#6e7f87;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.macw-admin-control-label{font-weight:650;flex:1}
.macw-admin-toggle{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:7px;cursor:pointer;font:inherit}
.macw-toggle-track{width:38px;height:22px;border-radius:999px;background:#b9c4c8;position:relative;display:block;transition:.18s}
.macw-toggle-knob{width:16px;height:16px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.18s}
.macw-admin-toggle.is-on .macw-toggle-track{background:var(--macw-accent)}
.macw-admin-toggle.is-on .macw-toggle-knob{transform:translateX(16px)}
.macw-toggle-text{font-weight:700;font-size:11px;min-width:22px;color:#65757d}
.macw-admin-toggle.is-on .macw-toggle-text{color:var(--macw-accent)}

.macw-subview-head{
  display:flex;align-items:center;gap:10px;padding:13px 14px;
  border-bottom:1px solid #edf1f2;background:#f8fafb;
}
.macw-back{background:#edf3f4;width:36px;height:36px;min-width:36px}
.macw-back svg{width:19px;height:19px;stroke:#415159;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.macw-subview-title{font-size:16px;font-weight:700;color:#24343c}

.macw-email-form{padding:16px}
.macw-email-form label{display:block;font-size:12.5px;font-weight:650;color:#405159;margin-bottom:12px}
.macw-email-form input,
.macw-email-form textarea{
  display:block;width:100%;box-sizing:border-box;margin-top:5px;
  border:1px solid #d6dfe2;border-radius:11px;padding:11px 12px;
  font:inherit;font-size:14px;color:#1f2d34;background:#fff;outline:none;
}
.macw-email-form input:focus,
.macw-email-form textarea:focus{border-color:var(--macw-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--macw-accent),transparent 86%)}
.macw-submit{
  width:100%;border:0;border-radius:12px;background:var(--macw-accent);color:#fff;
  padding:12px 14px;font:inherit;font-weight:700;cursor:pointer;
}
.macw-submit[disabled]{opacity:.55;cursor:wait}
.macw-form-status{font-size:12.5px;margin-top:10px;color:#53636a;min-height:18px}
.macw-form-status.is-error{color:#9b2f2f}
.macw-form-status.is-success{color:#17643d}
.macw-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}

.macw-sureform-wrap{padding:14px;max-height:560px;overflow:auto}
.macw-privacy{padding:0 20px 17px;font-size:11.5px;color:#78878d}

@media (max-width:600px){
  .macw-root{bottom:16px}
  .macw-root.macw-right{right:16px}
  .macw-root.macw-left{left:16px}
  .macw-panel{width:calc(100vw - 32px);max-height:min(680px,calc(100vh - 100px));overflow:auto}
  .macw-launcher-text{display:none}
  .macw-launcher{padding:8px;min-width:58px}
  .macw-launcher-icon{width:42px;height:42px}
  .macw-logo{width:40px;height:40px;flex-basis:40px}
  .macw-title{font-size:20px}
}


/* Preserve the exact capitalisation entered in the widget settings.
   Some WordPress themes force button labels to uppercase. */
.macw-root .macw-item-label,
.macw-root button .macw-item-label,
.macw-root .macw-item-note,
.macw-root .macw-subview-title {
  text-transform:none!important;
  letter-spacing:normal;
}
