.waitlist-dialog {
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--paper, #f3f4f2);
  color: var(--ink, #171b1d);
  box-shadow: 0 24px 100px #0003;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  font-family: var(--sans, sans-serif);
}
.waitlist-dialog[open] { animation: waitlist-enter .22s cubic-bezier(.22,.68,.08,1); }
.waitlist-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: #62696e; border-radius: 50%; }
.waitlist-close:hover { background: #e2e6e8; color: #171b1d; }
.waitlist-close svg { width: 19px; height: 19px; }
.waitlist-heading { margin-bottom: 24px; }
.waitlist-mark { display: block; width: 23px; height: 32px; margin-bottom: 28px; }
.waitlist-heading h2 { margin: 0 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -.05em; line-height: 1.4; }
.waitlist-dialog.is-success .waitlist-heading { margin-bottom: 0; }
.waitlist-dialog.is-success .waitlist-heading h2 { display: none; }
.waitlist-status { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; margin-bottom: 28px; border-radius: 3px; background: #e4e9ed; color: #536373; }
.waitlist-status p { font-size: 11px; line-height: 1.7; }
.waitlist-status-dot { flex: 0 0 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: currentColor; }
.waitlist-status[data-state="error"] { background: #f3e4e0; color: #984f3c; }
.waitlist-retry { background: transparent; padding: 0 0 20px; min-height: 44px; font-size: 12px; color: #325ecc; text-decoration: underline; text-underline-offset: 4px; }
.waitlist-fields, .waitlist-contact-type, .waitlist-direction { margin: 0; padding: 0; border: 0; min-width: 0; }
.waitlist-contact-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.waitlist-contact-row > label { display: flex; align-items: baseline; gap: 9px; font-size: 13px; font-weight: 500; }
.waitlist-required, .waitlist-optional { font-size: 10px; color: #6f7880; font-weight: 400; }
.waitlist-choice-group { display: flex; background: #e2e6e8; padding: 3px; gap: 2px; border-radius: 4px; }
.waitlist-choice-group label, .waitlist-chips label { position: relative; cursor: pointer; }
.waitlist-choice-group input, .waitlist-chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.waitlist-choice-group span { display: grid; place-items: center; min-height: 34px; min-width: 52px; padding: 5px 12px; border-radius: 2px; font-size: 11px; color: #65717a; }
.waitlist-choice-group input:checked + span { color: #171b1d; background: #fff; box-shadow: 0 1px 3px #171b1d10; }
.waitlist-field { margin-bottom: 24px; }
.waitlist-input-wrap { position: relative; }
.waitlist-input-symbol { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #7a8791; font-size: 16px; pointer-events: none; }
.waitlist-field input, .waitlist-field textarea { display: block; width: 100%; padding: 14px 16px; border: 1px solid #cbd2d7; border-radius: 4px; color: #171b1d; background: #fff; font-size: 15px; line-height: 1.6; transition: border-color .15s, box-shadow .15s; }
.waitlist-field input { min-height: 54px; padding-left: 46px; }
.waitlist-field textarea { resize: vertical; min-height: 108px; max-height: 220px; }
.waitlist-field input::placeholder, .waitlist-field textarea::placeholder { color: #89939b; opacity: 1; }
.waitlist-field input:hover, .waitlist-field textarea:hover { border-color: #97a7b3; }
.waitlist-field input:focus, .waitlist-field textarea:focus { outline: none; border-color: #325ecc; box-shadow: 0 0 0 3px #325ecc18; }
.waitlist-direction { margin-bottom: 24px; }
.waitlist-direction legend { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.waitlist-direction .waitlist-optional { margin-left: 8px; }
.waitlist-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.waitlist-chips span { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 12px; border: 1px solid #cbd2d7; border-radius: 3px; font-size: 11px; color: #626d75; }
.waitlist-chips label:hover span { background: #e6ecf0; }
.waitlist-chips input:checked + span { background: #e0e9f6; border-color: #7089ae; color: #284974; }
.waitlist-extra { border-top: 1px solid #d5d9db; border-bottom: 1px solid #d5d9db; }
.waitlist-extra summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 14px 0; font-size: 12px; color: #55616a; list-style: none; cursor: pointer; }
.waitlist-extra summary::-webkit-details-marker { display: none; }
.waitlist-extra summary svg { width: 17px; height: 17px; transition: transform .15s; }
.waitlist-extra[open] summary svg { transform: rotate(45deg); }
.waitlist-extra .waitlist-optional { margin-left: 5px; }
.waitlist-extra .waitlist-field { margin-bottom: 16px; }
.waitlist-field-hint { text-align: right; margin-top: 7px; font-size: 10px; line-height: 1.6; color: #6f7b85; }
.waitlist-choice-group input:focus-visible + span, .waitlist-chips input:focus-visible + span { outline: 2px solid #325ecc; outline-offset: 3px; }
.waitlist-field input[aria-invalid="true"] { border-color: #a95243; box-shadow: 0 0 0 3px #a9524310; }
.waitlist-field-error, .waitlist-submit-error { color: #a04436; font-size: 12px; line-height: 1.7; margin-top: 10px; }
.waitlist-purpose { font-size: 10px; line-height: 1.8; color: #6b7881; margin: 18px 0; }
.waitlist-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 4px; background: #171b1d; color: white; font-size: 14px; transition: background .15s; }
.waitlist-submit svg { width: 18px; height: 18px; }
.waitlist-submit:hover { background: #354047; }
.waitlist-fields:disabled { opacity: .45; }
.waitlist-fields:disabled * { cursor: not-allowed; }
.waitlist-success { text-align: center; padding: 20px 0 12px; }
.waitlist-success-mark { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 24px; background: #dce7f2; color: #325877; }
.waitlist-success-mark svg { width: 30px; height: 30px; }
.waitlist-success h3 { font-size: 25px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 16px; }
.waitlist-done { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 144px; min-height: 48px; padding: 14px 24px; margin-top: 28px; border-radius: 4px; background: #171b1d; color: white; font-size: 14px; line-height: 20px; transition: background .15s; }
.waitlist-done:hover { background: #354047; }
.waitlist-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes waitlist-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .waitlist-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); padding: 30px 24px; }
  .waitlist-heading h2 { font-size: 26px; }
  .waitlist-mark { margin-bottom: 24px; }
  .waitlist-field input, .waitlist-field textarea { font-size: 16px; }
  .waitlist-choice-group span { min-height: 38px; }
  .waitlist-chips span { min-height: 44px; }
}
@media (max-width: 359px) { .waitlist-dialog { padding: 30px 18px; } .waitlist-heading h2 { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { .waitlist-dialog[open] { animation: none; } }
