.mq-medical-applicants {
  display: grid;
  gap: 16px;
}

.mq-public-shell:has(.mq-video-hero) {
  margin-top: 0;
}

.mq-video-hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-bottom: 24px solid #f6f2e9;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 20% 10%, rgba(198, 161, 91, 0.28), transparent 34%),
    linear-gradient(135deg, #171410, #302819 48%, #0c0c0b);
  color: #fffaf0;
}

.mq-video-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%);
  background-size: 38px 38px;
  content: "";
  opacity: 0.35;
  pointer-events: none;
}

.mq-video-header {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 10px;
}

.mq-video-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fffaf0;
  font-weight: 900;
}

.mq-video-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mq-video-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px) 18px;
}

.mq-video-hero-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.mq-video-eyebrow {
  color: #c6a15b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mq-video-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.mq-video-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.mq-video-wrap {
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.mq-video-wrap h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 900;
  text-align: center;
}

.mq-video {
  overflow: hidden;
  border: 2px solid #c6a15b;
  border-radius: 18px;
  background: #080808;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.mq-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #080808;
  object-fit: cover;
}

.mq-medical-applicants.two-applicants {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.mq-anxiety-intro { margin-bottom: 16px; }
.mq-steps { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mq-steps > span { min-width: 0; }
.mq-steps > span > b { width: auto; min-width: 28px; padding: 0 7px; }
.mq-step-copy { display: grid; gap: 2px; min-width: 0; font-style: normal; line-height: 1.2; }
.mq-step-copy strong { font-size: 13px; }
.mq-step-copy small { color: #6b6357; font-size: 11px; }
.mq-steps .active .mq-step-copy small { color: #4f493e; }
.mq-anxiety-intro h2 { margin: 4px 0 6px; }
.mq-anxiety-intro p { margin: 0; }
.mq-anxiety-applicants { display: grid; gap: 16px; }
.mq-anxiety-applicants.two-applicants { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.mq-anxiety-card { min-width: 0; }
.mq-anxiety-applicants.two-applicants .mq-anxiety-grid { grid-template-columns: 1fr; }
.mq-field-wide { grid-column: 1 / -1; }
.mq-lifestyle-grid { align-items: end; }
.mq-lifestyle-grid .mq-field > span { display: flex; align-items: end; min-height: 2.8em; }
.mq-review-lifestyle { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0 16px; }
.mq-review-lifestyle > div { min-width: 0; padding: 10px; border-radius: 9px; background: #f4efe6; }
.mq-review-lifestyle span { display: block; font-size: 11px; color: #6c655b; }
.mq-review-lifestyle strong { overflow-wrap: anywhere; }
.mq-field textarea { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid #d8cdb9; border-radius: 10px; background: #fff; font: inherit; resize: vertical; }
.mq-completion-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mq-report-toolbar { display: flex; justify-content: flex-end; }

.mq-medical-applicants.two-applicants .mq-card {
  min-width: 0;
  padding: 18px;
}

.mq-medical-applicants.two-applicants .mq-condition-followup {
  grid-template-columns: 1fr;
}

.mq-medical-applicants.two-applicants .mq-condition-check {
  font-size: 13px;
  line-height: 1.4;
}

.mq-condition-check input[type="checkbox"],
.mq-attestation input[type="checkbox"],
.mq-consent input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}

@media (max-width: 900px) {
  .mq-medical-applicants.two-applicants {
    grid-template-columns: 1fr;
  }

  .mq-anxiety-applicants.two-applicants {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mq-video-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .mq-video-hero h1,
  .mq-video-hero p {
    max-width: 420px;
  }

  .mq-video-wrap h2 {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .mq-review-lifestyle { grid-template-columns: 1fr; }
  .mq-video-header { padding: 16px 14px 10px; }
  .mq-video-brand img { width: 38px; height: 38px; }
  .mq-video-hero-inner { padding-inline: 14px; }
  .mq-video-hero-copy, .mq-video-wrap { width: min(100%, 340px); }
  .mq-video { border-radius: 14px; }
}

.mq-change-request { display: grid; gap: 12px; }
.mq-change-request textarea { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #d8cdb9; border-radius: 10px; background: #fff; font: inherit; resize: vertical; }
.mq-change-request .button { justify-self: start; }

body.mq-submission-modal-open { overflow: hidden; }
.mq-submission-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
  background: rgba(10, 9, 7, 0.72);
  backdrop-filter: blur(4px);
}
.mq-submission-modal {
  width: min(1180px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border-radius: 18px;
  outline: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  overscroll-behavior: contain;
}
.mq-submission-modal .mq-detail { margin: 0; box-shadow: none; }
.mq-submission-modal .mq-card-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid #e4dac8;
}

@media (max-width: 560px) {
  .mq-submission-modal-backdrop { padding: 0; place-items: stretch; }
  .mq-submission-modal { width: 100%; max-height: 100dvh; border-radius: 0; }
  .mq-submission-modal .mq-detail { min-height: 100dvh; border-radius: 0; }
}

@page { size: A4; margin: 12mm; }
@media print {
  html, body { width: auto; min-width: 0; margin: 0; background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .public-risk-header, .mq-video-hero, .mq-report-toolbar, .mq-change-request { display: none !important; }
  .mq-public-shell { width: auto !important; max-width: none !important; margin: 0 !important; }
  .mq-report-page { display: block; width: 100%; }
  .mq-report-page > * { margin-bottom: 10px; }
  .mq-report-page .mq-hero { padding: 18px; border-radius: 14px; background: linear-gradient(135deg,#0d0d0c,#2c2619) !important; color: #fff !important; break-after: avoid-page; }
  .mq-report-page .mq-hero h1 { color: #fff !important; font-size: 28px; }
  .mq-report-page .mq-hero p { color: #e9dfca !important; }
  .mq-report-page .mq-card { padding: 18px; border-radius: 14px; box-shadow: none; break-inside: auto; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .mq-report-page .mq-card-head, .mq-report-page .mq-detail h3, .mq-report-page .mq-detail h4 { break-after: avoid-page; }
  .mq-report-page .mq-detail article { break-inside: auto; }
  .mq-report-page .mq-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); break-inside: auto; }
  .mq-report-page .mq-detail-grid > div, .mq-report-page .mq-disclosure { break-inside: avoid-page; }
  .mq-report-page .mq-detail-grid > div { border: 1px solid #e1d6c3; background: #f4efe6 !important; }
  .mq-report-page .mq-disclosure { background: #faf6ed !important; }
}
