/* Oasis enquiry form (shared/enquiry.js). Self-contained: colours are written out because not every page loads the same tokens. */
html.oeq-lock, html.oeq-lock body { overflow: hidden !important; }

.oeq {
  padding: 0; border: 0; margin: auto; background: transparent; color: #F5F1EC;
  width: min(680px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.oeq::backdrop { background: rgba(17,17,17,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.oeq[open] { animation: oeqIn .2s ease-out; }
@keyframes oeqIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .oeq[open] { animation: none; } }
.oeq *, .oeq *::before, .oeq *::after { box-sizing: border-box; }
.oeq { color-scheme: dark; } /* native date pickers and their calendar icon in dark colours */

.oeq__panel {
  position: relative; background: #1C1B1A; border: 1px solid rgba(211,206,198,.14); border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
}
.oeq__body { padding: clamp(24px, 4vw, 40px); }
.oeq__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.06); color: #F5F1EC; font-size: 24px; line-height: 1; cursor: pointer;
}
.oeq__close:hover { background: rgba(255,255,255,.14); }

.oeq__eyebrow { margin: 0 0 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; color: #EC1C24; }
.oeq__title { margin: 0 48px 10px 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.oeq__lead { margin: 0 0 28px; font-size: 15px; line-height: 1.55; color: #ADA9A3; }
.oeq__lead a { color: #F5F1EC; }

.oeq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.oeq__grid + .oeq__grid, .oeq__topics + .oeq__grid { margin-top: 20px; }
.oeq__grid[hidden] { display: none; }

/* Topic picker (general CTAs) and tick-all-that-apply questions */
.oeq__topics, .oeq__multi { border: 0; margin: 0; padding: 0; min-width: 0; }
.oeq__topics { margin-top: 28px; }
.oeq__topics legend, .oeq__multi legend { padding: 0; margin-bottom: 10px; font-size: 13px; color: #9C9893; }
.oeq__multi legend em { font-style: normal; color: #7B7B78; margin-left: 6px; }
.oeq__topics > div, .oeq__multi > div { display: flex; flex-wrap: wrap; gap: 8px; }
.oeq__chip {
  position: relative; display: inline-flex; align-items: center; font: inherit; font-size: 14px; line-height: 1.2; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(211,206,198,.28); background: transparent; color: #ADA9A3; transition: border-color .15s, background .15s, color .15s;
}
.oeq__chip:hover { border-color: #F5F1EC; color: #F5F1EC; }
.oeq__topic[aria-pressed="true"], .oeq__intent[aria-pressed="true"], .oeq__chip:has(input:checked) { background: #F5F1EC; border-color: #F5F1EC; color: #111; }
.oeq__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oeq__chip:has(input:focus-visible), .oeq__topic:focus-visible, .oeq__intent:focus-visible { outline: 2px solid #EC1C24; outline-offset: 2px; }
.oeq__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.oeq__field--wide { grid-column: 1 / -1; }
.oeq__field > span { font-size: 13px; color: #9C9893; }
.oeq__field i { font-style: normal; color: #EC1C24; }
.oeq__field em { font-style: normal; color: #7B7B78; margin-left: 6px; }
.oeq__field input, .oeq__field textarea {
  font: inherit; font-size: 16px; color: #F5F1EC; background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid rgba(211,206,198,.28); padding: 10px 0; outline: none; width: 100%; resize: vertical;
}
.oeq__field input::placeholder, .oeq__field textarea::placeholder { color: #6E6B67; }
.oeq__field input:focus, .oeq__field textarea:focus { border-bottom-color: #EC1C24; }
.oeq__filelist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.oeq__filelist li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid rgba(211,206,198,.2); border-radius: 10px; font-size: 14px; }
.oeq__fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #F5F1EC; }
.oeq__fsize { flex: none; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: #9C9893; }
.oeq__filelist button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #F5F1EC; font-size: 18px; line-height: 1; cursor: pointer; }
.oeq__filelist button:hover { background: rgba(236,28,36,.25); }
.oeq__fileadd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.oeq__fileadd small { font-size: 12px; color: #7B7B78; }
.oeq__addfile { font: inherit; font-size: 13px; padding: 9px 16px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(211,206,198,.28); background: transparent; color: #F5F1EC; }
.oeq__addfile:hover { border-color: #F5F1EC; }
.oeq__addfile[hidden] { display: none; }
.oeq__filelist[hidden] { display: none; }
.oeq__filemsg { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #F5C6C8; }
/* From/to pair for a date window */
.oeq__range { border: 0; margin: 0; padding: 0; }
.oeq__range legend { padding: 0; margin-bottom: 6px; font-size: 13px; color: #9C9893; }
.oeq__range > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.oeq__range label { display: flex; flex-direction: column; gap: 4px; }
.oeq__range em { font-style: normal; font-size: 12px; color: #7B7B78; }
.oeq__field input[type="date"] { min-height: 44px; cursor: pointer; }
.oeq__field input[type="date"].is-empty:not(:focus) { color: #6E6B67; }
.oeq__field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .8; }
.oeq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.oeq__error { margin: 20px 0 0; padding: 12px 14px; border-radius: 8px; background: rgba(236,28,36,.12); color: #F5C6C8; font-size: 14px; line-height: 1.5; }
.oeq__error a { color: #fff; }
.oeq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.oeq__submit {
  font: inherit; font-weight: 500; font-size: 16px; min-height: 48px; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: #EC1C24; color: #fff; transition: background .2s, color .2s, transform .12s;
}
.oeq__submit:hover { background: #fff; color: #111; }
.oeq__submit:active { transform: scale(.96); }
.oeq__submit:disabled { opacity: .6; cursor: progress; }
.oeq__alt { font-size: 14px; color: #ADA9A3; text-decoration: underline; text-underline-offset: 3px; }
.oeq__alt:hover { color: #25D366; }

@media (max-width: 560px) {
  .oeq { width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .oeq__panel { border-radius: 14px 14px 0 0; max-height: 92dvh; }
  .oeq__grid { grid-template-columns: 1fr; }
  .oeq__submit { width: 100%; }
}
