.pdf-survey-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: 90vh;
  max-height: 90dvh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pdf-survey-dialog::backdrop { background: rgb(35 24 39 / 64%); }
.pdf-survey-dialog .pdf-survey-panel { margin: 0; padding: clamp(20px, 4vw, 32px); }
.pdf-survey-panel h1 { font-size: clamp(23px, 4vw, 30px); margin: 0; }
.pdf-survey-close { float: right; margin: 0 0 8px 10px; }
.pdf-survey-form { display: grid; gap: 20px; margin-top: 20px; }
.pdf-survey-form fieldset { padding: 0; margin: 0; min-inline-size: 0; border: 0; }
.pdf-survey-form legend { margin-bottom: 10px; font-weight: 750; }
.pdf-survey-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pdf-survey-choices label { display: grid; position: relative; cursor: pointer; }
.pdf-survey-choices input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.pdf-survey-choices span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 750;
  text-align: center;
  overflow-wrap: anywhere;
  background: var(--paper);
}
.pdf-survey-choices input:checked + span { color: white; background: var(--mint-deep); border-color: var(--mint-deep); }
.pdf-survey-choices input:focus-visible + span { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
