/* Loehr client message widget ("Message us") — shared by the public sites.
   External stylesheet on purpose: the public hosts serve a strict
   style-src 'self' CSP, so the widget carries no inline styles.
   The root element gets one theme class per business:
   lw-digital (pink + green), lw-hub (red iron + concrete),
   lw-loehr (red chrome), lw-dime (yellow + black). */
#loehrMsgWidget {
  --lw-accent: #2caf66;
  --lw-accent-2: #64f59a;
  --lw-accent-text: #041109;
  --lw-panel-bg: #0b1512;
  --lw-field-bg: #060d09;
  --lw-line: rgba(135, 255, 188, .35);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
#loehrMsgWidget.lw-hub {
  --lw-accent: #8e2f1f;
  --lw-accent-2: #d2604a;
  --lw-accent-text: #ffffff;
  --lw-panel-bg: #17161a;
  --lw-field-bg: #100f13;
  --lw-line: rgba(210, 96, 74, .45);
}
#loehrMsgWidget.lw-loehr {
  --lw-accent: #8f1020;
  --lw-accent-2: #e5324d;
  --lw-accent-text: #ffffff;
  --lw-panel-bg: #17090c;
  --lw-field-bg: #100608;
  --lw-line: rgba(229, 50, 77, .45);
}
#loehrMsgWidget.lw-dime {
  --lw-accent: #f5b301;
  --lw-accent-2: #ffd21f;
  --lw-accent-text: #141414;
  --lw-panel-bg: #141414;
  --lw-field-bg: #0b0b0b;
  --lw-line: rgba(255, 210, 31, .5);
}
.loehr-msg-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  border: 1px solid var(--lw-line);
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--lw-accent-2), var(--lw-accent));
  color: var(--lw-accent-text);
  font: 800 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .55);
  cursor: pointer;
}
.loehr-msg-button:active { transform: scale(.97); }
.loehr-msg-panel {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 2147483001;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  overflow: auto;
  background: var(--lw-panel-bg);
  color: #f4f6f4;
  border: 1px solid var(--lw-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.loehr-msg-panel[hidden] { display: none; }
.loehr-msg-panel h3 { margin: 0 0 5px; font-size: 17px; }
.loehr-msg-panel p { color: #c9cdc9; margin: 0 0 12px; }
.loehr-msg-panel label { display: grid; gap: 5px; margin: 9px 0; font-weight: 700; }
.loehr-msg-panel input,
.loehr-msg-panel select,
.loehr-msg-panel textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--lw-field-bg);
  color: #fff;
  border: 1px solid var(--lw-line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  font-weight: 400;
}
.loehr-msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.loehr-msg-actions button {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}
.loehr-msg-send {
  background: linear-gradient(135deg, var(--lw-accent-2), var(--lw-accent));
  color: var(--lw-accent-text);
  flex: 1 1 auto;
}
.loehr-msg-close { background: #2a2d36; color: #fff; }
.loehr-msg-status { min-height: 20px; margin-top: 8px; color: #bdebc8; }
#loehrMsgWidget.lw-dime .loehr-msg-status { color: #ffe97a; }
.loehr-msg-trap { position: absolute !important; left: -9999px !important; }
@media (max-width: 520px) {
  .loehr-msg-button { right: 12px; bottom: 12px; }
  .loehr-msg-panel { right: 12px; bottom: 64px; width: calc(100vw - 24px); }
}
