/* Scoped to the optional blank template. Layout uses a portrait iPad design canvas. */
html:has(body.nifg-tablet-page) {
  margin-top: 0 !important;
  height: 100%;
  overflow: hidden;
}
.nifg-tablet-page .mysticky-welcomebar-fixed {
  display: none !important;
}
body.nifg-tablet-page {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e3a8ad;
}
.nifg-tablet-page .nifg-tablet-viewport {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) calc(64px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
  box-sizing: border-box;
}
.nifg-tablet-page .nifg-tablet-restart {
  position: absolute;
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0 12px;
  text-align: center;
}
.nifg-tablet-page .nifg-tablet-restart button {
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #625461;
  font: 13px/1.25 "Gustavo", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  cursor: pointer;
}
.nifg-tablet-page .nifg-tablet-restart button:hover,
.nifg-tablet-page .nifg-tablet-restart button:focus-visible {
  background: transparent;
  color: #39303e;
}
.nifg-tablet-page .nifg-tablet-restart button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -4px;
}
.nifg-tablet-page .nifg-tablet-stage {
  position: absolute;
  top: env(safe-area-inset-top);
  left: 50%;
  width: 810px;
  max-width: none;
  min-height: 1000px;
  transform: translateX(-50%) scale(var(--nifg-tablet-scale, 1));
  transform-origin: top center;
}
.nifg-tablet-page .nifg-root {
  width: 100%;
  margin: 0;
  min-height: 1000px;
  padding-bottom: 0;
}
.nifg-tablet-page .nifg-shell,
.nifg-tablet-page .nifg-complete-wrapper {
  width: 100%;
  max-width: none;
}
.nifg-tablet-page .nifg-quizz { padding: 0 28px; }
.nifg-tablet-page .nifg-shell.has-regulation-button .nifg-quizz { padding-top: 64px; }
.nifg-tablet-page .nifg-question { font-size: 23px; padding: 18px 12px; }
.nifg-tablet-page .nifg-grid { width: 100%; }
.nifg-tablet-page .nifg-controls { padding: 10px 0; }
.nifg-tablet-page .nifg-submit { margin: 8px 0; }
.nifg-tablet-page .nifg-message { padding-bottom: 12px; margin: 0; }
.nifg-tablet-page .nifg-contest-header-image { width: 100%; max-height: 225px; object-fit: contain; }
.nifg-tablet-page .nifg-final {
  width: 100%;
  min-height: 775px;
  padding: 18px 65px 22px;
}
.nifg-tablet-page .nifg-final-copy { margin-bottom: 10px; }
.nifg-tablet-page .nifg-final-copy h2 { margin-bottom: 8px; font-size: 24px; }
.nifg-tablet-page .nifg-final-copy p { font-size: 20px; }
.nifg-tablet-page .nifg-final-card { padding: 18px 28px; box-sizing: border-box; }
.nifg-tablet-page .nifg-final-card-intro { font-size: 16px; margin-bottom: 12px; }
.nifg-tablet-page .nifg-regulation-button { top: 12px; right: 12px; font-size: 14px; padding: 10px 16px; }
.nifg-tablet-page .nifg-form .quform-element,
.nifg-tablet-page .nifg-form .quform-spacer,
.nifg-tablet-page .nifg-form .quform-row,
.nifg-tablet-page .nifg-form .quform-element-row { margin-bottom: 8px; }
.nifg-tablet-page .nifg-form .quform-label,
.nifg-tablet-page .nifg-form label { margin-bottom: 4px; font-size: 17px; line-height: 1.25; letter-spacing: 0; }
.nifg-tablet-page .nifg-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.nifg-tablet-page .nifg-form select,
.nifg-tablet-page .nifg-form textarea { min-height: 44px; font-size: 18px; padding: 8px; }
.nifg-tablet-page .nifg-form .quform-options,
.nifg-tablet-page .nifg-form .quform-option,
.nifg-tablet-page .nifg-form .quform-option-label,
.nifg-tablet-page .nifg-form .quform-description { font-size: 15px; line-height: 1.25; }
.nifg-tablet-page .nifg-form input[type="checkbox"],
.nifg-tablet-page .nifg-form input[type="radio"] { width: 20px; height: 20px; min-height: 0; }
.nifg-tablet-page .nifg-form .quform-submit,
.nifg-tablet-page .nifg-form .quform-button-submit,
.nifg-tablet-page .nifg-form .quform-button-row { margin-top: 10px; }
.nifg-tablet-page .nifg-form button[type="submit"],
.nifg-tablet-page .nifg-form .quform-button-submit button { min-height: 44px; font-size: 16px; }
