.ov,
.ov-feedback {
  --ov-line:   rgba(0, 0, 0, .18);
  --ov-err:    #c0392b;
  --ov-ink:    #10151c;
  --ov-accent: #0b5cff; }

html.ov-locked {
  overflow: hidden; }

.ov {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0; }

.ov[hidden] {
  display: none; }

.ov__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.72);
  opacity: 0;
  transition: opacity .2s ease; }

.ov.is-open .ov__backdrop {
  opacity: 1; }

.ov__dialog {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-46%) scale(0.98);
  width: 38rem;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--ov-ink);
  border-radius: .75rem;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease; }

.ov.is-open .ov__dialog {
  opacity: 1;
  transform: translateY(-50%) scale(1); }

.ov__dialog:focus-visible {
  outline: 2px solid var(--ov-accent);
  outline-offset: 2px; }

.ov__dialog:has([data-ov-screen="meet"]:not([hidden])) {
  width: 52rem;
  max-width: calc(100vw - 2rem); }

.ov__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: inherit;
  opacity: .6; }

.ov__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06); }

.ov__close svg {
  width: 1.125rem;
  height: 1.125rem; }

.ov__title {
  margin: 0 0 .625rem;
  font-size: 1.5rem;
  line-height: 1.25; }

.ov__title:focus-visible {
  outline: none; }

.ov__text {
  margin: 0 0 1.5rem;
  line-height: 1.55;
  opacity: .85; }

.ov__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem; }

.ov__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr; }

.ov__card {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  text-align: left;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--ov-line);
  border-radius: .5rem;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease; }

.ov__card:hover {
  border-color: var(--ov-accent);
  transform: translateY(-2px); }

.ov__card:focus-visible {
  outline: 2px solid var(--ov-accent);
  outline-offset: 2px; }

.ov__card-title {
  font-weight: 700; }

.ov__card-text {
  font-size: .875rem;
  line-height: 1.45;
  opacity: .8; }

.ov__row {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: .875rem; }

.ov__row > .ov__field {
  flex: 1 1 100%;
  min-width: 0; }

.ov__row--pair > .ov__field {
  flex: 1 1 calc(50% - .4375rem);
  min-width: 0; }

.ov__field {
  display: flex;
  flex-direction: column;
  gap: .3125rem; }

.ov__label {
  font-weight: 600;
  font-size: .875rem;
  margin: 0; }

.ov__input {
  width: 100%;
  padding: .625rem .875rem;
  border: 1px solid var(--ov-line);
  border-radius: .25rem;
  font: inherit;
  background: #fff;
  color: inherit; }

.ov__input:focus-visible {
  outline: 2px solid var(--ov-accent);
  outline-offset: 1px; }

.ov__input.has-error {
  border-color: var(--ov-err); }

.ov__textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.5; }

.ov__check {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-top: .25rem;
  font-size: .875rem;
  line-height: 1.45;
  cursor: pointer; }

.ov__check input {
  flex: 0 0 auto;
  margin-top: .2em;
  width: 1rem;
  height: 1rem; }

.ov__check input.has-error {
  outline: 2px solid var(--ov-err);
  outline-offset: 2px; }

.ov__meet {
  width: 100%;
  margin-top: .5rem; }

.ov__meet iframe {
  border: 0;
  width: 100%; }

.ov__done {
  text-align: center;
  padding: 1rem 0; }

.ov__done-tick {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  display: block;
  color: #1a7f4b; }

@media (max-width: 40em) {
  .ov__dialog {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: .5rem; }
  .ov__cards {
    grid-template-columns: 1fr; }
  .ov__row--pair > .ov__field {
    flex: 1 1 100%; } }

@media (prefers-reduced-motion: reduce) {
  .ov__backdrop, .ov__dialog {
    transition: opacity .12s linear; }
  .ov.is-open .ov__dialog, .ov__dialog {
    transform: translateY(-50%); }
  .ov__card {
    transition: border-color .15s ease; }
  .ov__card:hover {
    transform: none; } }

.ov-feedback {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  border: 0;
  border-radius: 2rem;
  background: linear-gradient(93deg, #ff5308, #ff27b8);
  color: #fff;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform .15s ease, box-shadow .15s ease; }

.ov-feedback:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34); }

.ov-feedback:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px; }

.ov-feedback svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto; }

@media (max-width: 40em) {
  .ov-feedback {
    right: 1rem;
    bottom: 1rem;
    padding: .5rem .75rem;
    font-size: .8125rem; } }

.ov__error {
  display: flex;
  align-items: flex-start;
  gap: .375rem;
  margin: 0;
  color: var(--ov-err);
  font-size: .875rem;
  line-height: 1.4; }

.ov__error-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: .15em;
  fill: currentColor; }

.ov__form-error {
  margin-top: 1rem; }

.ov__hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; }

.ov__setup-notice {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border: 1px dashed #c0392b;
  border-radius: .5rem;
  color: #c0392b;
  font-size: .875rem;
  line-height: 1.45; }

