/* Load after launch.css and the approved application-dialog.css. Override the
   shared dialog IDs without changing the telemarketing page or runtime state. */
body.producer-v186 :is(#contact-confirmation, #contact-complete).application-dialog {
  box-sizing: border-box;
  width: 600px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 64px;
  background: #fff;
  color: #333;
  overflow: auto;
  overscroll-behavior: contain;
  font:
    500 12px / 24px NotoJP,
    sans-serif;
  letter-spacing: 1.2px;
}

body.producer-v186 :is(#contact-confirmation, #contact-complete) h2 {
  margin: 0;
  color: #333;
  font:
    900 16px / 24px NotoJP,
    sans-serif;
  letter-spacing: 1.6px;
}

body.producer-v186 #contact-confirmation .application-values {
  margin: 32px 0 0;
  font: inherit;
}

body.producer-v186 #contact-confirmation .application-values > div {
  padding: 0;
  border: 0;
}

body.producer-v186 #contact-confirmation .application-values dt {
  margin: 0;
  padding-top: 3px;
  color: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: 18px;
}

body.producer-v186
  :is(#contact-confirmation, #contact-complete)
  :is(.application-entry, .application-top) {
  display: flex;
  width: 230px;
  max-width: 100%;
  height: 80px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
}

body.producer-v186 #contact-complete .application-top {
  background: #333;
}

body.producer-v186 #contact-confirmation .application-edit {
  display: block;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #5ca0ff;
  font:
    900 12px / 18px NotoJP,
    sans-serif;
}

body.producer-v186 :is(#contact-confirmation, #contact-complete) button:focus-visible {
  outline: 3px solid #4c9fff;
  outline-offset: 5px;
}

/* The production status and Turnstile container stay in normal document flow.
   Empty containers take no space, but their populated/error states remain visible. */
body.producer-v186 #contact-confirmation .application-feedback {
  display: grid;
  gap: 12px;
}

body.producer-v186 #contact-confirmation .application-feedback:has(> :not(:empty)) {
  margin-top: 24px;
}

body.producer-v186 #contact-confirmation .application-status {
  margin: 0;
  font: inherit;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.producer-v186 #contact-confirmation .application-verification {
  max-width: 100%;
  overflow-x: auto;
}

body.producer-v186 #contact-confirmation :is(.application-status, .application-verification):empty {
  display: none;
}

@media (max-width: 700px) {
  body.producer-v186 :is(#contact-confirmation, #contact-complete).application-dialog {
    border-radius: 32px;
    line-height: 22px;
    letter-spacing: 1px;
  }

  body.producer-v186 :is(#contact-confirmation, #contact-complete) h2 {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
  }

  body.producer-v186 #contact-confirmation .application-values {
    margin-top: 28px;
  }

  body.producer-v186 #contact-confirmation .application-values dt {
    padding-top: 2px;
    font-size: 11px;
  }

  body.producer-v186
    :is(#contact-confirmation, #contact-complete)
    :is(.application-entry, .application-top) {
    height: 72px;
  }
}

body.producer-v186.overlay-open {
  overflow: hidden;
}
