/* Scoped to the enquiry module; no global viewer styles. */
.rl-enquiry-launcher[hidden], .rl-enquiry-dialog [hidden] { display: none !important; }
.rl-enquiry-launcher {
  position: fixed; right: max(18px, env(safe-area-inset-right));
  bottom: calc(174px + env(safe-area-inset-bottom)); z-index: 1250;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid #c9c0b3;
  background: var(--paper, #f5f1e9); color: var(--ink, #191919);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 25px #0002; outline-offset: 5px;
  animation: rl-enquiry-invite 1.8s ease-in-out 1s 3;
}
.rl-enquiry-launcher:hover { background: #fff; }
.rl-enquiry-launcher:disabled { cursor: wait; }
.rl-enquiry-launcher::after { content: ""; position: absolute; inset: 5px;
  border: 1px dashed #b8aa96; border-radius: inherit; pointer-events: none; }
.rl-enquiry-hint { position: absolute; right: 66px; white-space: nowrap;
  padding: 7px 10px; border-radius: 8px; background: #191919; color: #fff;
  font: 500 12px/1.3 system-ui, sans-serif; pointer-events: none;
  opacity: 0; transition: opacity .2s; }
.rl-enquiry-launcher:hover .rl-enquiry-hint,
.rl-enquiry-launcher:focus-visible .rl-enquiry-hint { opacity: 1; }
.rl-enquiry-dialog {
  color: var(--ink, #191919); background: var(--paper, #f5f1e9);
  width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 32px);
  padding: 30px 24px 24px; border: 1px solid #c9c0b3; border-radius: 20px;
  box-shadow: 0 25px 100px #0003; font: 14px/1.5 system-ui, sans-serif;
  overflow-y: auto; overscroll-behavior: contain;
}
.rl-enquiry-dialog::backdrop { background: #15151188; backdrop-filter: blur(4px); }
.rl-enquiry-dialog h2 { font-size: 25px; line-height: 1.2; margin: 6px 32px 10px 0; }
.rl-enquiry-eyebrow { margin: 0 25px 0 0; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #665d51; }
.rl-enquiry-look { padding-bottom: 14px; border-bottom: 1px dashed #b8aa96; overflow-wrap: anywhere; }
.rl-enquiry-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px;
  border: 0; background: transparent; color: inherit; cursor: pointer; font: 26px system-ui; }
.rl-enquiry-dialog label { display: block; font-weight: 600; margin: 15px 0 6px; }
.rl-enquiry-dialog input, .rl-enquiry-dialog select { width: 100%; min-width: 0; min-height: 44px;
  border: 1px solid #b8b1a7; border-radius: 9px; padding: 10px; font: inherit; background: #fff; color: #191919; }
.rl-enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rl-enquiry-note { color: #665d51; font-size: 12px; margin: 18px 0; }
.rl-enquiry-primary { display: block; width: 100%; padding: 12px 18px; border: 0; border-radius: 10px;
  background: #191919; color: #fff; text-align: center; text-decoration: none; cursor: pointer; font: 600 14px/1.5 system-ui; }
.rl-enquiry-primary:disabled { opacity: .65; cursor: wait; }
@keyframes rl-enquiry-invite { 0%,100% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-5px) rotate(-5deg); } 65% { transform: translateY(-2px) rotate(4deg); } }
@media (max-width: 640px) { .rl-enquiry-launcher { right: max(14px, env(safe-area-inset-right)); width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .rl-enquiry-launcher { animation: none; } .rl-enquiry-hint { transition: none; } }
