:root {
  --ink: #181511;
  --muted: #71695f;
  --line: #ddd5ca;
  --paper: #f8f4ed;
  --paper-strong: #fffaf2;
  --accent: #4f6f52;
  --accent-dark: #2f4c35;
  --wood: #8d633f;
  --danger: #9d392f;
  --shadow: 0 22px 60px rgba(46, 35, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fffaf2;
  background: linear-gradient(180deg, rgba(22, 17, 12, 0.72), rgba(22, 17, 12, 0));
}

.brand,
.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.topnav a {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.86;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(20px, 7vw, 96px) 72px;
  color: #fffaf2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 13, 9, 0.82) 0%, rgba(17, 13, 9, 0.58) 40%, rgba(17, 13, 9, 0.22) 100%),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2200&q=80") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22vh;
  background: linear-gradient(180deg, rgba(248, 244, 237, 0), var(--paper));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7e5c6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action,
.copy-button {
  color: #fffaf2;
  background: var(--accent);
}

.secondary-action {
  color: #fffaf2;
  border-color: rgba(255, 250, 242, 0.42);
  background: rgba(255, 250, 242, 0.08);
}

.primary-action:hover,
.secondary-action:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.band,
.calculator {
  padding: 88px clamp(18px, 5vw, 72px);
}

section {
  scroll-margin-top: 86px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.summary {
  position: sticky;
  top: 92px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.summary-main span,
.summary-grid span,
.selected-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-main strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.summary-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.summary-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.fit {
  margin-bottom: 22px;
}

.fit > span {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
}

.fit-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ded2;
}

.fit-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 240ms ease;
}

.selected-list {
  display: grid;
  gap: 10px;
  max-height: 220px;
  margin: 22px 0;
  overflow: auto;
}

.selected-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.selected-item strong {
  white-space: nowrap;
}

.copy-button {
  width: 100%;
  border: 0;
}

.summary-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-head {
  margin-bottom: 34px;
}

.groups {
  display: grid;
  gap: 42px;
}

.group {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.group-head h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.group-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.group-total {
  color: var(--wood);
  font-weight: 800;
  white-space: nowrap;
}

.options {
  display: grid;
  gap: 10px;
}

.option-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(221, 213, 202, 0.72);
}

.option-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.option-row input:disabled {
  opacity: 0.55;
}

.option-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-weight: 800;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #dde8d3;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fffaf2;
  background: var(--wood);
  font-size: 11px;
  font-weight: 900;
}

.option-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.option-price {
  text-align: right;
  white-space: nowrap;
}

.option-price strong {
  display: block;
}

.option-price em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-decoration: line-through;
}

.option-price span {
  color: var(--muted);
  font-size: 13px;
}

.info-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.info-button:hover {
  transform: scale(1.06);
  background: #e9efe0;
}

.payment-plan {
  background: #ece5da;
}

.deliverables {
  background: var(--paper);
}

.contract {
  background: #17130f;
  color: #fffaf2;
}

.payment-note {
  max-width: 900px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.stage-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stage-card {
  min-height: 360px;
  padding: 24px;
  background: #f5efe6;
}

.stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.stage-topline span {
  color: var(--wood);
  font-weight: 900;
}

.stage-topline strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.stage-card h3 {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.12;
}

.stage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.stage-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}

.stage-money div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stage-money dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stage-money dd {
  margin: 5px 0 0;
  font-weight: 900;
}

.stage-options {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-split {
  margin: -6px 0 18px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.stage-options li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.stage-options strong {
  color: var(--ink);
  white-space: nowrap;
}

.timeline-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.timeline-calculator h3,
.deliverable-static h3,
.deliverable-dynamic h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.timeline-calculator p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.timeline-calculator dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.timeline-calculator dl div {
  padding: 18px;
  background: #f5efe6;
}

.timeline-calculator dt,
.contract-points strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-calculator dd {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.deliverable-grid,
.contract-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.deliverable-static ul,
.deliverable-group ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-static li,
.deliverable-group li,
.contract-points div {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.deliverable-static strong,
.deliverable-group strong {
  font-size: 17px;
}

.deliverable-static span,
.deliverable-group span {
  color: var(--muted);
  line-height: 1.55;
}

.deliverable-result {
  display: grid;
  gap: 28px;
}

.deliverable-group h4 {
  margin: 0 0 14px;
  font-size: 24px;
}

.contract .section-kicker {
  color: #c9dcb3;
}

.contract-summary p {
  margin-bottom: 26px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.contract-points {
  display: grid;
  gap: 1px;
  background: rgba(255, 250, 242, 0.18);
}

.contract-points div {
  padding: 22px;
  border: 0;
  background: rgba(255, 250, 242, 0.06);
}

.contract-points strong {
  color: #c9dcb3;
}

.contract-points span {
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.58;
}

.details-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.details-dialog::backdrop {
  background: rgba(16, 12, 8, 0.62);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.details-dialog h3 {
  margin: 0 42px 14px 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

.questionnaire-topbar {
  background: rgba(23, 19, 15, 0.96);
}

.questionnaire-page {
  padding-top: 72px;
}

.questionnaire-hero {
  padding: 88px clamp(18px, 5vw, 72px) 64px;
  color: #fffaf2;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.92), rgba(47, 76, 53, 0.72)),
    url("https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.questionnaire-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
}

.questionnaire-hero p:not(.section-kicker) {
  max-width: 800px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.saved-questionnaires {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.saved-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.person-field,
.open-answer {
  display: grid;
  gap: 8px;
}

.person-field span,
.open-answer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.person-field input,
.open-answer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper-strong);
}

.person-field input {
  min-height: 46px;
  padding: 0 13px;
}

.open-answer textarea {
  resize: vertical;
  min-height: 88px;
  padding: 12px 13px;
  line-height: 1.5;
}

.secondary-local-action,
.saved-entry-actions button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent-dark);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.secondary-local-action {
  padding: 0 18px;
}

.saved-list {
  display: grid;
  gap: 10px;
}

.saved-entry {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.saved-entry strong,
.saved-entry span {
  display: block;
}

.saved-entry strong {
  margin-bottom: 4px;
}

.saved-entry span,
.empty-state,
.muted {
  color: var(--muted);
}

.saved-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.saved-entry-actions button {
  padding: 0 13px;
}

.questionnaire-form-section {
  padding-top: 50px;
}

.questionnaire-form {
  display: grid;
  gap: 18px;
}

.form-card,
.question-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.questions-root {
  display: grid;
  gap: 18px;
}

.question-card {
  display: grid;
  gap: 20px;
}

.question-title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.question-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fffaf2;
  background: var(--accent);
  font-weight: 900;
}

.question-title h3 {
  margin: 4px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.18;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.answer-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(221, 213, 202, 0.9);
  border-radius: 6px;
  background: #fffaf2;
}

.answer-option input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.answer-option span {
  line-height: 1.4;
}

.term {
  position: relative;
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed var(--accent-dark);
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: inherit;
  cursor: help;
  appearance: none;
  -webkit-appearance: none;
}

.term::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: min(320px, 78vw);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.term:hover::after,
.term:focus-visible::after,
.term.is-open::after {
  opacity: 1;
  transform: translateY(0);
}

.questionnaire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

.questionnaire-actions .copy-button {
  width: auto;
}

#saveStatus {
  color: var(--accent-dark);
  font-weight: 800;
}

.answer-dialog {
  width: min(920px, calc(100vw - 32px));
}

.saved-answer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.saved-answer h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.saved-answer ul {
  margin: 0 0 10px;
}

#dialogLead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.dialog-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.dialog-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.dialog-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dialog-meta dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.dialog-body {
  color: var(--muted);
  line-height: 1.65;
}

.dialog-body h4 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.dialog-body ul {
  margin: 0;
  padding-left: 20px;
}

.reveal {
  animation: rise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topnav {
    display: none;
  }

  .intro,
  .calculator,
  .stage-plan,
  .timeline-calculator,
  .deliverable-grid,
  .contract-layout,
  .answer-options {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
    order: 2;
  }

  .option-space {
    order: 1;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 64px;
    padding-inline: 16px;
  }

  .questionnaire-page {
    padding-top: 64px;
  }

  .questionnaire-topbar {
    position: static;
    height: auto;
    padding: 16px;
    background: #17130f;
  }

  .questionnaire-topbar .brand {
    min-width: 0;
    font-size: 20px;
  }

  .questionnaire-topbar .brand-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .questionnaire-page {
    padding-top: 0;
  }

  .questionnaire-hero {
    padding: 22px 16px 18px;
    color: var(--ink);
    background: var(--paper);
  }

  .questionnaire-hero .section-kicker {
    margin-bottom: 8px;
  }

  .questionnaire-hero h1 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.08;
  }

  .questionnaire-hero p:not(.section-kicker) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .saved-questionnaires {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .saved-questionnaires .section-head {
    margin-bottom: 16px;
  }

  .saved-questionnaires h2 {
    font-size: 24px;
    line-height: 1.1;
  }

  .questionnaire-form-section {
    padding-top: 28px;
  }

  .questionnaire-form {
    gap: 14px;
  }

  .form-card,
  .question-card {
    padding: 16px;
    border-radius: 8px;
  }

  .question-card {
    gap: 16px;
  }

  .question-title {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .question-title > span {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .question-title h3 {
    margin-top: 1px;
    font-size: 22px;
    line-height: 1.16;
  }

  .answer-options {
    gap: 8px;
  }

  .answer-option {
    min-height: 0;
    padding: 10px;
    font-size: 16px;
  }

  .answer-option input {
    width: 18px;
    height: 18px;
  }

  .open-answer textarea {
    min-height: 76px;
    font-size: 15px;
  }

  .term {
    display: inline;
    border-bottom-width: 1px;
  }

  .term::after {
    left: 50%;
    width: min(280px, calc(100vw - 36px));
    transform: translate(-50%, -4px);
  }

  .term:hover::after,
  .term:focus-visible::after,
  .term.is-open::after {
    transform: translate(-50%, 0);
  }

  .hero {
    min-height: 94svh;
    padding: 96px 18px 52px;
  }

  .band,
  .calculator {
    padding: 58px 18px;
  }

  .option-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .option-price {
    grid-column: 2 / -1;
    text-align: left;
  }

  .group-head {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .dialog-meta,
  .timeline-calculator dl {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: auto;
  }

  .stage-topline {
    margin-bottom: 24px;
  }

  .saved-entry {
    align-items: stretch;
    flex-direction: column;
  }
}
