body.research-page .nav a.current,
body.research-admin-page .nav a.current {
  color: var(--orange);
}

body.research-page .wrap,
body.research-admin-page .wrap {
  width: min(1240px, calc(100% - 40px));
}

body.research-page .page-hero,
body.research-admin-page .page-hero {
  padding: 108px 0 82px;
}

.research-hero {
  background:
    radial-gradient(circle at top right, rgba(179, 90, 34, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(34, 57, 47, 0.1), rgba(247, 239, 227, 0));
}

.research-hero-shell,
.form-layout,
.research-grid,
.next-shell,
.dashboard-grid,
.dashboard-stats {
  display: grid;
  gap: 28px;
}

.research-hero-shell {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
}

.research-hero-copy {
  max-width: 820px;
}

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

.research-hero-panel,
.research-shell,
.research-card,
.dashboard-card,
.login-shell,
.story-shell,
.building-card,
.thank-you-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.research-hero-panel,
.research-card,
.building-card {
  padding: 28px;
}

.research-hero-panel p,
.story-copy p,
.research-page .section-intro p,
.research-page .body-copy,
.next-copy p,
.helper-card p,
.research-form .question-help,
.research-form .field-help,
.thank-you-shell p {
  font-size: 21px;
  line-height: 1.7;
}

.research-shell,
.dashboard-card,
.login-shell,
.story-shell,
.thank-you-shell {
  padding: 34px;
}

.story-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.story-copy {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.research-section-intro {
  max-width: 900px;
}

.building-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.building-card {
  display: grid;
  gap: 14px;
}

.building-card p {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}

.next-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.next-copy {
  display: grid;
  gap: 14px;
}

.next-band {
  height: 100%;
}

.form-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
}

.form-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.helper-card {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.helper-card .trust-list {
  margin-top: 0;
}

.research-form {
  display: grid;
  gap: 22px;
}

.question-shell {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(34, 57, 47, 0.04);
  border: 1px solid var(--line);
}

.question-shell h3,
.group-card h4 {
  margin: 0;
  color: var(--green);
}

.question-shell h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
}

.group-card h4 {
  font-size: 24px;
  line-height: 1.2;
}

.question-label,
.stat-label,
.dashboard-table th {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.field-label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green);
}

.question-help,
.form-help,
.dashboard-note,
.admin-inline-note {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.dashboard-note strong {
  color: var(--green);
}

.dashboard-note-spaced {
  margin-top: 14px;
}

.choice-grid,
.check-grid,
.group-grid {
  display: grid;
  gap: 14px;
}

.choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.check-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.group-card-head {
  display: grid;
  gap: 8px;
}

.choice-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fffdf9;
  border: 1px solid rgba(34, 57, 47, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.choice-card:hover {
  border-color: rgba(179, 90, 34, 0.36);
  box-shadow: 0 10px 24px rgba(17, 24, 21, 0.06);
}

.choice-card.disabled {
  opacity: 0.56;
}

.choice-card input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex: 0 0 auto;
}

.choice-card span {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--green);
}

.research-page input[type="text"],
.research-page input[type="email"],
.research-page input[type="password"],
.research-page textarea,
.research-admin-page input[type="text"],
.research-admin-page input[type="email"],
.research-admin-page input[type="password"],
.research-admin-page textarea {
  width: 100%;
  border: 1px solid rgba(34, 57, 47, 0.18);
  border-radius: 12px;
  background: #fffdf9;
  color: var(--ink);
  font: 18px/1.45 Arial, sans-serif;
  padding: 14px 16px;
}

.research-page textarea,
.research-admin-page textarea {
  min-height: 170px;
  resize: vertical;
}

.research-page .button,
.research-admin-page .button {
  min-height: 58px;
  padding: 16px 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.admin-button-secondary,
body.research-admin-page .button-secondary {
  background: transparent;
  color: var(--green);
  border-color: rgba(34, 57, 47, 0.24);
  box-shadow: none;
}

.status-banner {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 14px;
  max-width: none;
}

.status-banner ul {
  margin: 10px 0 0 18px;
}

.thank-you-shell {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  padding: 24px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-value {
  margin: 0 0 10px;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
}

.metric-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
}

.meter {
  height: 12px;
  border-radius: 999px;
  background: rgba(34, 57, 47, 0.1);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--green-soft));
}

.top-list,
.insight-list {
  margin: 0;
  padding-left: 20px;
}

.top-list li,
.insight-list li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.dashboard-table th {
  color: var(--green);
}

.dashboard-table td strong {
  color: var(--green);
}

.dashboard-table tr:last-child td {
  border-bottom: none;
}

.login-shell {
  max-width: 740px;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#feedback-form,
#thank-you {
  scroll-margin-top: 108px;
}

@media (max-width: 1050px) {
  .research-hero-shell,
  .form-layout,
  .next-shell,
  .dashboard-stats,
  .dashboard-grid,
  .building-grid,
  .group-grid {
    grid-template-columns: 1fr;
  }

  .helper-card {
    position: static;
  }
}

@media (max-width: 900px) {
  body.research-page .wrap,
  body.research-admin-page .wrap {
    width: min(100%, calc(100% - 28px));
  }

  body.research-page .page-hero,
  body.research-admin-page .page-hero {
    padding: 92px 0 68px;
  }

  .research-shell,
  .dashboard-card,
  .login-shell,
  .story-shell,
  .thank-you-shell {
    padding: 24px;
  }

  .research-hero-panel,
  .research-card,
  .building-card,
  .stat-card {
    padding: 22px;
  }

  .question-shell {
    padding: 20px;
  }

  .choice-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 68px;
  }
}
