.advisory-survey-page {
  background-color: #efe5d7;
  background-image:
    radial-gradient(720px circle at 0% 0%, rgba(255, 216, 165, 0.9), transparent 56%),
    radial-gradient(720px circle at 100% 12%, rgba(157, 230, 212, 0.68), transparent 48%),
    radial-gradient(820px circle at 50% 100%, rgba(112, 159, 255, 0.16), transparent 56%),
    linear-gradient(180deg, #f7f2ea 0%, #edf3f7 100%);
}

.advisory-survey-form-page {
  padding-bottom: 120px;
}

.advisory-survey-page .page {
  width: min(1140px, 94vw);
  padding-top: 42px;
}

.advisory-survey-page .page-header {
  gap: 18px;
}

.advisory-survey-page .page-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: none;
}

.survey-hero {
  display: grid;
  gap: 12px;
}

.survey-hero-kicker,
.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span,
.dataset-pill,
.tag-cloud span,
.placeholder-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
}

.survey-stack {
  display: grid;
  gap: 24px;
}

.survey-intro-card,
.survey-card,
.submitted-card,
.snapshot-card,
.submit-card,
.results-lab,
.results-card,
.import-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09);
}

.survey-intro-card::before,
.survey-card::before,
.submitted-card::before,
.snapshot-card::before,
.submit-card::before,
.results-lab::before,
.results-card::before,
.import-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #14b8a6, #2563eb);
  opacity: 0.7;
}

.survey-intro-card {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 22px;
}

.survey-intro-card h2,
.survey-card h2,
.submitted-card h2,
.snapshot-card h2,
.submit-card h2,
.results-header h2,
.results-story h3,
.results-card h3 {
  margin: 0;
}

.intro-points {
  display: grid;
  gap: 12px;
}

.intro-points p,
.card-copy,
.submit-copy,
.results-copy,
.metric-copy,
.voice-quote,
.loss-counter,
.textarea-footer,
.submit-status,
.snapshot-note {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.6;
}

.survey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}

.submitted-shell {
  display: grid;
  place-items: center;
  min-height: min(72vh, 680px);
}

.submitted-card {
  width: min(680px, 100%);
  padding: 44px 38px;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.submitted-mark {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  box-shadow: 0 22px 40px rgba(20, 184, 166, 0.22);
}

.submitted-copy,
.submitted-note {
  margin: 0;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.6;
}

.submitted-copy {
  font-size: 1.05rem;
}

.submitted-note {
  font-size: 0.92rem;
}

.survey-form,
.snapshot-panel {
  display: grid;
  gap: 18px;
}

.survey-card,
.submit-card,
.snapshot-card {
  padding: 24px;
}

.card-topline,
.card-header-row,
.textarea-footer,
.results-actions,
.submit-utility,
.import-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.question-tag,
.question-state,
.mini-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-tag {
  background: rgba(249, 115, 22, 0.14);
  color: #9a3412;
}

.question-state,
.mini-note {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.68);
}

.survey-card.is-complete .question-state {
  background: rgba(20, 184, 166, 0.14);
  color: #0f766e;
}

.range-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.range-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.7);
}

.range-readout span:first-child {
  text-align: left;
}

.range-readout span:last-child {
  text-align: right;
}

.range-score {
  justify-self: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  color: rgba(15, 23, 42, 0.88);
  font-size: 0.9rem;
}

.survey-range {
  width: 100%;
  accent-color: #2563eb;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.52);
}

.heatmap-shell {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.heatmap-header,
.heatmap-row {
  display: grid;
  grid-template-columns: minmax(122px, 1.25fr) repeat(4, minmax(48px, 70px));
  gap: 8px;
  align-items: center;
}

.heatmap-header {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.52);
}

.heatmap-header-label,
.heatmap-label {
  padding-right: 8px;
}

.heatmap-label {
  font-weight: 600;
  line-height: 1.4;
  font-size: 0.94rem;
}

.heatmap-cell {
  position: relative;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(15, 23, 42, 0.75);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.heatmap-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.8);
}

.heatmap-cell:hover,
.heatmap-cell:focus-visible,
.choice-pill:hover,
.choice-pill:focus-visible,
.ranking-item:hover,
.ranking-item:focus-visible,
.survey-btn:hover,
.survey-btn:focus-visible {
  transform: translateY(-2px);
}

.heatmap-cell:focus-visible,
.choice-pill:focus-visible,
.ranking-item:focus-visible,
.survey-btn:focus-visible,
.survey-textarea:focus-visible,
.import-textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}

.heatmap-cell.level-0.is-active {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.18);
}

.heatmap-cell.level-1.is-active {
  background: rgba(250, 204, 21, 0.22);
  border-color: rgba(202, 138, 4, 0.3);
}

.heatmap-cell.level-2.is-active {
  background: rgba(20, 184, 166, 0.22);
  border-color: rgba(13, 148, 136, 0.36);
}

.heatmap-cell.level-3.is-active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(29, 78, 216, 0.38);
}

.heatmap-cell.is-active::after {
  content: "✓";
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.choice-row.choice-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-pill {
  min-height: 68px;
  padding: 14px 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.choice-pill strong {
  display: block;
  width: 100%;
  font-size: clamp(0.88rem, 0.96vw, 0.98rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.choice-pill span {
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.82rem;
}

.choice-pill.is-active {
  border-color: rgba(37, 99, 235, 0.36);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12);
}

.ranking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.ranking-bank-panel,
.ranking-slots-panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.ranking-bank-list,
.ranking-slot-list {
  display: grid;
  gap: 10px;
}

.ranking-bank-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
  border-radius: 22px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.58);
  min-height: 100%;
}

.ranking-slot {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 10px;
  border-radius: 22px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ranking-bank-list.is-over,
.ranking-slot.is-over {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12);
}

.ranking-slot.is-filled.rank-1 {
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(240, 253, 244, 0.88);
}

.ranking-slot.is-filled.rank-2 {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(239, 246, 255, 0.9);
}

.ranking-slot.is-filled.rank-3 {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(255, 247, 237, 0.9);
}

.ranking-slot.is-filled.rank-4 {
  border-color: rgba(168, 85, 247, 0.26);
  background: rgba(250, 245, 255, 0.9);
}

.ranking-slot-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.92rem;
  font-weight: 800;
}

.ranking-slot.rank-1 .ranking-slot-number {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.ranking-slot.rank-2 .ranking-slot-number {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}

.ranking-slot.rank-3 .ranking-slot-number {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
}

.ranking-slot.rank-4 .ranking-slot-number {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
}

.ranking-slot-body {
  min-width: 0;
}

.ranking-item {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: grab;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.ranking-item:active {
  cursor: grabbing;
}

.ranking-item.is-dragging {
  opacity: 0.56;
  transform: scale(0.98);
}

.ranking-item.rank-1 {
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(240, 253, 244, 0.98);
}

.ranking-item.rank-2 {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(239, 246, 255, 0.98);
}

.ranking-item.rank-3 {
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(255, 247, 237, 0.98);
}

.ranking-item.rank-4 {
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(250, 245, 255, 0.98);
}

.ranking-item-label {
  min-width: 0;
}

.ranking-item-handle {
  color: rgba(15, 23, 42, 0.42);
  font-size: 0.96rem;
  letter-spacing: -0.12em;
  flex: 0 0 auto;
}

.ranking-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: rgba(15, 23, 42, 0.46);
  font-weight: 600;
}

.loss-counter {
  margin-top: 8px;
}

.survey-textarea,
.import-textarea {
  width: 100%;
  min-height: 132px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  color: var(--ink);
  resize: vertical;
}

.submit-card {
  display: grid;
  gap: 18px;
}

.submit-utility {
  justify-content: flex-start;
}

.submit-progress {
  display: grid;
  gap: 14px;
}

.progress-meter {
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.progress-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #14b8a6, #2563eb);
  transition: width 0.22s ease;
}

.survey-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}

.survey-btn.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
}

.survey-btn.secondary {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.24);
  color: #0f766e;
}

.survey-btn.ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.16);
}

.survey-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.snapshot-panel {
  position: sticky;
  top: 24px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ranked-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(15, 23, 42, 0.74);
}

.voice-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.results-lab {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.dataset-pill {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
}

.results-lock-link {
  width: fit-content;
}

.sticky-submit-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  width: min(980px, calc(100vw - 24px));
  transform: translateX(-50%);
  z-index: 40;
}

.sticky-submit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sticky-submit-bar.is-ready .sticky-submit-inner {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(240, 253, 244, 0.92);
  box-shadow: 0 20px 36px rgba(22, 163, 74, 0.18);
}

.sticky-submit-bar.is-submitted .sticky-submit-inner {
  border-color: rgba(13, 148, 136, 0.28);
  background: rgba(240, 253, 250, 0.94);
  box-shadow: 0 20px 36px rgba(13, 148, 136, 0.18);
}

.sticky-submit-meta {
  display: grid;
  gap: 4px;
}

.sticky-submit-count {
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.88);
}

.sticky-submit-note {
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.5;
}

.sticky-submit-btn {
  min-width: 240px;
  background: rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.86);
  box-shadow: none;
}

.sticky-submit-bar.is-ready .sticky-submit-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 16px 28px rgba(22, 163, 74, 0.26);
}

.sticky-submit-bar.is-submitted .sticky-submit-btn {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: #fff;
  box-shadow: 0 16px 28px rgba(13, 148, 136, 0.24);
}

.import-card {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.import-label {
  font-weight: 700;
}

.results-story {
  border-radius: 24px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.results-story h3 {
  margin-bottom: 8px;
}

.results-story p {
  margin: 0;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.72);
}

.results-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.results-count-card {
  padding: 22px;
}

.results-filter-panel {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.76);
  display: grid;
  gap: 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(15, 23, 42, 0.8);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-2px);
}

.filter-chip:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}

.filter-chip.is-active {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(255, 255, 255, 0.94));
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.results-export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  grid-column: span 3;
}

.heatmap-card,
.losses-card,
.quotes-card {
  grid-column: span 6;
}

.quotes-card {
  grid-column: 1 / -1;
}

.results-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.metric-value {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
}

.metric-label {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.aggregate-heatmap,
.loss-bars,
.quote-grid {
  display: grid;
  gap: 12px;
}

.aggregate-row,
.loss-bar {
  display: grid;
  gap: 8px;
}

.aggregate-row-head,
.loss-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.aggregate-track,
.loss-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.aggregate-fill,
.loss-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 0.25s ease;
}

.aggregate-fill {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.78), rgba(20, 184, 166, 0.82), rgba(37, 99, 235, 0.82));
}

.loss-fill {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.82), rgba(37, 99, 235, 0.82));
}

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

.quote-card {
  min-height: 156px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.quote-card p {
  margin: 0;
  line-height: 1.6;
}

.quote-card span {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
}

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

@media (max-width: 1080px) {
  .survey-layout {
    grid-template-columns: 1fr;
  }

  .snapshot-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card {
    grid-column: span 6;
  }

  .results-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .survey-intro-card {
    grid-template-columns: 1fr;
  }

  .heatmap-header {
    display: none;
  }

  .heatmap-row {
    grid-template-columns: 1fr repeat(4, minmax(44px, 52px));
  }

  .choice-row,
  .ranking-shell,
  .snapshot-panel {
    grid-template-columns: 1fr;
  }

  .choice-row.choice-row-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .heatmap-card,
  .losses-card,
  .quotes-card,
  .metric-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .advisory-survey-page .page {
    width: min(96vw, 100%);
    padding: 28px 0 48px;
  }

  .survey-card,
  .submit-card,
  .snapshot-card,
  .submitted-card,
  .results-lab,
  .results-card,
  .survey-intro-card,
  .import-card {
    border-radius: 22px;
  }

  .heatmap-row {
    gap: 6px;
  }

  .heatmap-label {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .heatmap-row {
    grid-template-columns: repeat(4, minmax(44px, 1fr));
  }

  .range-readout {
    gap: 12px;
    font-size: 0.82rem;
  }

  .submitted-card {
    padding: 34px 22px;
  }

  .results-actions {
    justify-content: stretch;
  }

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

  .ranking-bank-list {
    grid-template-columns: 1fr;
  }

  .ranking-slot {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .survey-btn {
    width: 100%;
    justify-content: center;
  }

  .sticky-submit-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-submit-btn {
    min-width: 0;
  }
}
