/* Hub WhatsApp pre-qualification modal. Scoped under .hwp-root; per-site accent via [data-site]. */
.hwp-root {
  --hwp-ink: #17201c;
  --hwp-muted: #5c6a63;
  --hwp-paper: #f7f5ef;
  --hwp-line: #dcd8cc;
  --hwp-accent: #1f8a5b;
  --hwp-accent-ink: #f7f5ef;
  --hwp-focus: #c9752a;
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: flex-end; justify-content: center;
  font-family: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--hwp-ink); line-height: 1.45;
}
.hwp-root[hidden] { display: none; }
.hwp-root[data-site^="ledscreens"] { --hwp-accent: #0e7a55; --hwp-focus: #d4a017; }
.hwp-root[data-site^="myeventqr"] { --hwp-accent: #2d3c8f; --hwp-focus: #e07a3a; }
.hwp-root[data-site^="myeventmcp"] { --hwp-accent: #303485; --hwp-focus: #c2903b; }
html.hwp-lock, html.hwp-lock body { overflow: hidden; }
.hwp-root *, .hwp-root *::before, .hwp-root *::after { box-sizing: border-box; }
.hwp-backdrop { position: absolute; inset: 0; background: rgba(18, 24, 21, .58); animation: hwp-fade .18s ease-out; }
.hwp-dialog {
  position: relative; width: 100%; max-width: 440px; max-height: 92dvh; overflow-y: auto;
  background: var(--hwp-paper); border-radius: 18px 18px 0 0;
  padding: 22px 20px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(18, 24, 21, .22);
  animation: hwp-up .24s cubic-bezier(.2, .8, .2, 1);
  outline: none;
}
.hwp-dialog::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 4px;
  background: var(--hwp-accent); border-radius: 0 0 4px 4px;
}
@media (min-width: 640px) {
  .hwp-root { align-items: center; padding: 24px; }
  .hwp-dialog { border-radius: 18px; padding: 28px 28px 22px; box-shadow: 0 24px 60px rgba(18, 24, 21, .28); }
}
.hwp-head { position: relative; padding-right: 40px; margin-bottom: 16px; }
.hwp-eyebrow { margin: 0 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--hwp-accent); }
.hwp-title { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--hwp-ink); }
.hwp-lead { margin: 0; font-size: 14px; color: var(--hwp-muted); }
.hwp-close {
  position: absolute; top: -4px; right: -6px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--hwp-ink); font-size: 26px; line-height: 1; cursor: pointer;
}
.hwp-close:hover { background: rgba(23, 32, 28, .07); }
.hwp-grid { display: grid; gap: 12px; }
.hwp-field { display: grid; gap: 5px; }
.hwp-field label { font-size: 13px; font-weight: 700; color: var(--hwp-ink); }
.hwp-opt { font-weight: 500; color: var(--hwp-muted); }
.hwp-field input, .hwp-field select {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--hwp-ink);
  background: #fffdf8; border: 1.5px solid var(--hwp-line); border-radius: 10px; appearance: none; -webkit-appearance: none;
}
.hwp-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--hwp-muted) 50%), linear-gradient(135deg, var(--hwp-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px;
}
.hwp-field [aria-invalid="true"] { border-color: #b4412f; background-color: #fdf1ed; }
.hwp-root :focus-visible { outline: 3px solid var(--hwp-focus); outline-offset: 2px; }
.hwp-error { min-height: 1.2em; margin: 10px 0 0; font-size: 13px; color: #b4412f; font-weight: 600; }
.hwp-error:empty { min-height: 0; margin: 0; }
.hwp-actions { display: grid; gap: 8px; margin-top: 16px; }
.hwp-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 0; border-radius: 12px;
  background: var(--hwp-accent); color: var(--hwp-accent-ink); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.hwp-submit:hover { opacity: .92; }
.hwp-submit:active { transform: scale(.985); }
.hwp-wa { width: 9px; height: 9px; border-radius: 50%; background: #48d17f; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.hwp-skip {
  display: block; min-height: 40px; padding: 0; text-align: left; border: 0; background: transparent; color: var(--hwp-muted); font: inherit; font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.hwp-skip:hover { color: var(--hwp-ink); }
.hwp-foot { margin: 10px 0 0; font-size: 12px; color: var(--hwp-muted); text-align: center; }
@media (max-width: 639px) and (max-height: 740px) {
  .hwp-dialog { max-height: calc(100dvh - 16px); padding: 16px 18px calc(12px + env(safe-area-inset-bottom)); }
  .hwp-head { margin-bottom: 8px; padding-right: 36px; }
  .hwp-eyebrow { margin-bottom: 3px; font-size: 10px; }
  .hwp-title { margin-bottom: 3px; font-size: 20px; }
  .hwp-lead { font-size: 12px; line-height: 1.35; }
  .hwp-skip { font-size: 12px; }
  .hwp-grid { gap: 7px; }
  .hwp-field { gap: 3px; }
  .hwp-field label { font-size: 12px; }
  .hwp-field input, .hwp-field select { min-height: 40px; padding: 7px 10px; font-size: 16px; }
  .hwp-actions { margin-top: 8px; }
  .hwp-submit { min-height: 44px; }
  .hwp-foot { font-size: 11px; }
}
@keyframes hwp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hwp-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hwp-backdrop, .hwp-dialog { animation: none; } }
