:root {
  --oedc-aud-brand: var(--obs-brand, #0F2356);
  --oedc-aud-accent: var(--obs-accent, #0066FF);
  --oedc-aud-text: var(--obs-text-primary, #1D1D1F);
  --oedc-aud-muted: var(--obs-text-secondary, #6E6E73);
  --oedc-aud-bg: #FFFFFF;
  --oedc-aud-soft: #F5F7FB;
  --oedc-aud-line: rgba(15, 35, 86, .10);
  --oedc-aud-radius: 22px;
  --oedc-aud-ease: cubic-bezier(.16, 1, .3, 1);
}

html.oedc-aud-open,
html.oedc-aud-open body { overflow: hidden; }

.oedc-aud[hidden] { display: none !important; }
.oedc-aud {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: var(--obs-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.oedc-aud.is-open { opacity: 1; visibility: visible; }

.oedc-aud__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 31, .50);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.oedc-aud__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 548px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  background: var(--oedc-aud-bg);
  color: var(--oedc-aud-text);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--oedc-aud-radius);
  box-shadow: 0 30px 90px rgba(3, 14, 45, .24), 0 3px 12px rgba(3, 14, 45, .08);
  transform: translateY(16px) scale(.985);
  transition: transform .34s var(--oedc-aud-ease);
}
.oedc-aud.is-open .oedc-aud__dialog { transform: translateY(0) scale(1); }

.oedc-aud__close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(15,35,86,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: #536174;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.oedc-aud__close:hover { background: #F2F5FA; color: var(--oedc-aud-brand); transform: rotate(3deg); }
.oedc-aud__close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.oedc-aud__progress {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(15, 35, 86, .06);
}
.oedc-aud__progress span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--oedc-aud-accent);
  transition: width .38s var(--oedc-aud-ease);
}

.oedc-aud__viewport {
  overflow: hidden;
  transition: height .36s var(--oedc-aud-ease);
  max-height: calc(100dvh - 48px);
}
.oedc-aud__track {
  display: flex;
  width: 100%;
  align-items: flex-start;
  will-change: transform;
  transition: transform .48s var(--oedc-aud-ease);
}
.oedc-aud__step {
  flex: 0 0 100%;
  width: 100%;
  padding: 44px 44px 38px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.oedc-aud__step--success { text-align: center; padding-top: 62px; padding-bottom: 48px; }

.oedc-aud__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--oedc-aud-brand);
  font-size: 11px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .105em;
}
.oedc-aud__eyebrow span { width: 20px; height: 2px; border-radius: 10px; background: var(--oedc-aud-accent); }

.oedc-aud__icon,
.oedc-aud__success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 0 19px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(0,102,255,.10), rgba(15,35,86,.06));
  color: var(--oedc-aud-brand);
}
.oedc-aud__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.oedc-aud__success-icon { margin: 0 auto 22px; background: rgba(19,115,51,.10); color: #137333; border-radius: 50%; }
.oedc-aud__success-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.oedc-aud h2 {
  margin: 0;
  max-width: 440px;
  color: var(--oedc-aud-text);
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 720;
}
.oedc-aud__step--success h2 { margin-inline: auto; }
.oedc-aud__lead {
  margin: 13px 0 27px;
  max-width: 460px;
  color: var(--oedc-aud-muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.oedc-aud__step--success .oedc-aud__lead { margin-inline: auto; max-width: 380px; }

.oedc-aud__form { margin: 0; }
.oedc-aud__field { margin-top: 14px; }
.oedc-aud__field label,
.oedc-aud__topics legend {
  display: block;
  margin: 0 0 7px;
  color: #3E4755;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 650;
}
.oedc-aud__field input {
  width: 100%;
  height: 49px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid rgba(15,35,86,.14);
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--oedc-aud-text);
  font: inherit;
  font-size: 15px;
  box-shadow: 0 1px 1px rgba(7,25,61,.02);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.oedc-aud__field input::placeholder { color: #A0A7B3; }
.oedc-aud__field input:focus { border-color: rgba(0,102,255,.72); box-shadow: 0 0 0 4px rgba(0,102,255,.09); }
.oedc-aud__hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.oedc-aud__button {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.2;
  font-weight: 680;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
}
.oedc-aud__button--primary { background: var(--oedc-aud-brand); color: #fff; box-shadow: 0 7px 18px rgba(15,35,86,.15); }
.oedc-aud__button--primary:hover { background: #0A1C49; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,35,86,.20); }
.oedc-aud__button--primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.oedc-aud__button--primary:hover svg { transform: translateX(3px); }
.oedc-aud__button--text { min-height: 40px; margin-top: 7px; background: transparent; color: #6D7480; font-weight: 600; }
.oedc-aud__button--text:hover { background: #F6F7F9; color: var(--oedc-aud-brand); }
.oedc-aud__button:disabled { cursor: wait; opacity: .68; transform: none; }
.oedc-aud__button.is-loading span::after { content: '…'; }

.oedc-aud__legal {
  margin: 13px 8px 0;
  color: #8A9099;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}
.oedc-aud__legal a { color: #66758C; text-decoration: underline; text-underline-offset: 2px; }
.oedc-aud__message { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 9px; font-size: 12.5px; line-height: 1.45; }
.oedc-aud__message.is-visible { display: block; }
.oedc-aud__message.is-error { background: #FFF0F0; color: #A22C2C; }
.oedc-aud__message.is-success { background: #EDF8F0; color: #137333; }

.oedc-aud__directory-locked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 21px;
  padding: 13px 14px;
  border: 1px solid rgba(19,115,51,.13);
  border-radius: 12px;
  background: rgba(19,115,51,.055);
}
.oedc-aud__check-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #137333;
  color: #fff;
}
.oedc-aud__check-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.oedc-aud__directory-locked strong { display: block; color: #26352C; font-size: 13.5px; line-height: 1.25; }
.oedc-aud__directory-locked small { display: block; margin-top: 2px; color: #528063; font-size: 11.5px; }

.oedc-aud__topics { margin: 0; padding: 0; border: 0; }
.oedc-aud__topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.oedc-aud__topic {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15,35,86,.10);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.oedc-aud__topic:hover { border-color: rgba(0,102,255,.26); background: #FAFCFF; }
.oedc-aud__topic input { position: absolute; opacity: 0; pointer-events: none; }
.oedc-aud__topic-box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1.5px solid #BBC3CF;
  border-radius: 6px;
  color: transparent;
  background: #fff;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.oedc-aud__topic-box svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.oedc-aud__topic input:checked + .oedc-aud__topic-box { background: var(--oedc-aud-accent); border-color: var(--oedc-aud-accent); color: #fff; transform: scale(1.02); }
.oedc-aud__topic:has(input:checked) { border-color: rgba(0,102,255,.25); background: rgba(0,102,255,.045); box-shadow: inset 0 0 0 1px rgba(0,102,255,.035); }
.oedc-aud__topic-name { color: #364152; font-size: 12.8px; line-height: 1.25; font-weight: 590; }

@media (max-width: 600px) {
  .oedc-aud { place-items: end center; padding: 0; }
  .oedc-aud__dialog {
    width: 100%;
    max-height: min(92dvh, 780px);
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
    transform: translateY(28px);
  }
  .oedc-aud__viewport,
  .oedc-aud__step { max-height: min(92dvh, 780px); }
  .oedc-aud__step { padding: 38px 22px 28px; }
  .oedc-aud__step--success { padding-top: 56px; padding-bottom: 38px; }
  .oedc-aud__close { top: 14px; right: 16px; width: 34px; height: 34px; }
  .oedc-aud__eyebrow { margin-bottom: 18px; }
  .oedc-aud__icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 17px; }
  .oedc-aud h2 { font-size: clamp(26px, 8vw, 31px); max-width: calc(100% - 12px); }
  .oedc-aud__lead { margin-top: 11px; margin-bottom: 23px; font-size: 14.5px; }
  .oedc-aud__field input { height: 48px; }
  .oedc-aud__topic-grid { grid-template-columns: 1fr; gap: 8px; }
  .oedc-aud__topic { min-height: 45px; }
}

@media (max-width: 360px) {
  .oedc-aud__step { padding-left: 18px; padding-right: 18px; }
  .oedc-aud h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .oedc-aud,
  .oedc-aud__dialog,
  .oedc-aud__track,
  .oedc-aud__viewport,
  .oedc-aud__progress span,
  .oedc-aud__button,
  .oedc-aud__button svg { transition: none !important; }
}
