.check-page {
  background: #f7f4ee;
}

.check-hero {
  padding: 92px 0 72px;
  background:
    linear-gradient(135deg, rgba(5, 10, 24, 0.96), rgba(23, 37, 84, 0.94)),
    url("assets/cover-background.jpg") center / cover no-repeat;
  color: var(--paper);
}

.check-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: end;
}

.check-hero h1 {
  max-width: 860px;
  font-size: clamp(48px, 8vw, 92px);
}

.check-hero .hero-copy {
  max-width: 760px;
}

.check-summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 24, 0.42);
}

.check-summary span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-left: 3px solid var(--accent);
  background: rgba(247, 244, 238, 0.08);
  font-weight: 800;
}

.check-workspace {
  padding: 72px 0 96px;
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 32px;
  align-items: start;
}

.check-form,
.report-panel {
  border: 1px solid rgba(21, 25, 31, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(5, 10, 24, 0.08);
}

.check-form {
  padding: 28px;
}

.respondent-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.respondent-wide {
  grid-column: 1 / -1;
}

.respondent-panel label,
.notes-field span {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 25, 31, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 166, 166, 0.22);
  border-color: var(--accent);
}

.question-group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.question-group legend {
  width: 100%;
  margin: 0 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 25, 31, 0.1);
  color: var(--indigo);
  font-family: Lexend, Inter, Avenir Next, Segoe UI, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.question-group:first-of-type legend {
  border-top: 0;
  padding-top: 0;
}

.question-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
  border-top: 1px solid rgba(21, 25, 31, 0.08);
}

.question-row span {
  color: #303845;
  font-size: 16px;
  line-height: 1.45;
}

.notes-field {
  display: block;
  margin-top: 24px;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(21, 25, 31, 0.12);
  border-radius: 8px;
  background: #fbfaf7;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.consent-row span {
  color: #3f4858;
  font-size: 14px;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button.primary.dark {
  color: #ffffff;
  background: var(--night);
}

.button.secondary.dark {
  color: var(--night);
  border: 1px solid rgba(21, 25, 31, 0.18);
}

.report-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.report-empty h2,
.report-output h2 {
  font-size: 34px;
}

.report-empty p:last-child {
  color: var(--muted);
}

.score-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  margin: 22px 0;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--night), var(--indigo));
  color: var(--paper);
}

.score-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 10px solid rgba(247, 244, 238, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  font-family: Lexend, Inter, Avenir Next, Segoe UI, Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 166, 166, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.report-section {
  margin-top: 24px;
}

.report-section h3 {
  margin: 0 0 10px;
  color: var(--indigo);
  font-size: 18px;
}

.area-list,
.action-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li,
.action-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(21, 25, 31, 0.09);
  color: #303845;
}

.area-list strong {
  color: var(--ink);
  white-space: nowrap;
}

.priority-box {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #f7f4ee;
}

.priority-box p {
  margin: 0;
  color: #303845;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.send-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 166, 166, 0.12);
  color: var(--indigo);
  font-weight: 750;
}

.send-status.error {
  background: rgba(180, 35, 24, 0.1);
  color: #7a271a;
}

@media print {
  .site-header,
  .check-hero,
  .check-form,
  .report-actions {
    display: none;
  }

  .check-workspace {
    padding: 0;
  }

  .check-layout {
    display: block;
    width: 100%;
  }

  .report-panel {
    position: static;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 980px) {
  .check-hero-grid,
  .check-layout {
    grid-template-columns: 1fr;
  }

  .report-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .check-hero {
    padding: 72px 0 56px;
  }

  .check-workspace {
    padding: 48px 0 72px;
  }

  .check-form,
  .report-panel {
    padding: 20px;
  }

  .respondent-panel,
  .question-row,
  .score-card {
    grid-template-columns: 1fr;
  }

  .question-row {
    gap: 10px;
  }

  .score-ring {
    width: 118px;
    height: 118px;
  }
}
