:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #18181b;
  --panel-soft: #111113;
  --border: #27272a;
  --border-strong: #3f3f46;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --accent: #2dd4bf;
  --accent-strong: #5eead4;
  --danger: #fca5a5;
  --danger-bg: #450a0a;
  --success-bg: #042f2e;
  --shadow: rgba(0, 0, 0, 0.32);
  --header-bg: rgba(9, 9, 11, 0.94);
  --header-border: rgba(39, 39, 42, 0.85);
  --band-bg: rgba(24, 24, 27, 0.48);
  --hero-highlight: #ffff00;
  --accent-soft: rgba(45, 212, 191, 0.08);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #eef2f6;
  --border: #d6dee8;
  --border-strong: #aab7c6;
  --text: #172033;
  --muted: #536176;
  --muted-2: #718096;
  --accent: #0f766e;
  --accent-strong: #0d9488;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --success-bg: #ccfbf1;
  --shadow: rgba(30, 41, 59, 0.16);
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: rgba(203, 213, 225, 0.9);
  --band-bg: rgba(226, 232, 240, 0.48);
  --hero-highlight: #9a6700;
  --accent-soft: rgba(15, 118, 110, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.server-shell {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(0.75rem);
}

.site-nav,
.hero-section,
.content-section,
.story-grid,
.footer-inner,
.admin-wrap {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.brand-link {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-strong);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.theme-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.theme-toggle-track {
  display: flex;
  width: 2.5rem;
  height: 1.4rem;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel-soft);
  padding: 0.15rem;
  transition: background 160ms ease, border-color 160ms ease;
}

.theme-toggle-track span {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 160ms ease, background 160ms ease;
}

.theme-toggle input:checked + .theme-toggle-track {
  border-color: var(--accent);
  background: var(--accent);
}

.theme-toggle input:checked + .theme-toggle-track span {
  transform: translateX(1.05rem);
  background: var(--bg);
}

.theme-toggle input:focus-visible + .theme-toggle-track {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.hero-section {
  display: flex;
  min-height: 82vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-logo {
  width: clamp(13rem, 32vw, 20rem);
  height: clamp(13rem, 32vw, 20rem);
  object-fit: contain;
}

.hero-logo-light {
  display: none;
}

html[data-theme="light"] .hero-logo-dark {
  display: none;
}

html[data-theme="light"] .hero-logo-light {
  display: block;
}

.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-section .section-kicker {
  margin-top: 2rem;
  letter-spacing: 0.28em;
}

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

h1 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.15rem;
}

.hero-copy,
.narrow-copy p,
.copy-stack,
.panel p {
  color: var(--muted);
}

.hero-copy {
  max-width: 42rem;
  font-size: 1.5rem;
  color: var(--hero-highlight);
}

.content-section {
  scroll-margin-top: 6rem;
  padding: 5rem 1.5rem;
}

.narrow-copy {
  max-width: 48rem;
}

.story-band {
  border-block: 1px solid var(--border);
  background: var(--band-bg);
}

.story-grid {
  display: grid;
  gap: 2rem;
  padding: 5rem 1.5rem;
}

.copy-stack {
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.measurement-carousel {
  position: relative;
  margin-top: 2rem;
  padding-inline: 3.5rem;
}

.measurement-card-track {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.measurement-card-track.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.measurement-card-track::-webkit-scrollbar {
  display: none;
}

.measurement-card {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.measurement-screenshot-placeholder {
  display: flex;
  width: min(100%, 17rem);
  aspect-ratio: 9 / 16;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 55%),
    var(--panel-soft);
  color: var(--muted-2);
  text-align: center;
  text-transform: uppercase;
}

.measurement-screenshot-placeholder span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.measurement-screenshot-placeholder strong {
  color: var(--border-strong);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.measurement-card-image {
  display: block;
  width: min(100%, 17rem);
  height: auto;
  aspect-ratio: 9 / 16;
  justify-self: center;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: var(--panel-soft);
  object-fit: contain;
}

.measurement-card-copy {
  min-width: 0;
}

.measurement-step {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.measurement-card-copy p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 3.5rem;
  height: 4rem;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 0.8;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.carousel-button-previous {
  left: 0;
}

.carousel-button-next {
  right: 0;
}

.carousel-status {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-grid-admin {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.metric-card,
.panel,
.auth-panel {
  border: 1px solid var(--border);
  background: var(--panel);
}

.metric-card {
  padding: 1.25rem;
}

.metric-card p {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-card strong {
  display: block;
  color: var(--text);
  font-size: 2rem;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.panel {
  padding: 1.5rem;
}

.age-list {
  display: grid;
  gap: 0.9rem;
}

.age-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(8rem, 1.4fr) auto;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.age-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.age-dot {
  width: 0.75rem;
  height: 0.75rem;
  flex: 0 0 auto;
  border-radius: 999px;
}

.age-dot-0 { background: #2dd4bf; }
.age-dot-1 { background: #38bdf8; }
.age-dot-2 { background: #a78bfa; }
.age-dot-3 { background: #f472b6; }
.age-dot-4 { background: #fb7185; }
.age-dot-5 { background: #fbbf24; }
.age-dot-6 { background: #84cc16; }
.age-dot-7 { background: #52525b; }

progress {
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel-soft);
}

progress::-webkit-progress-bar {
  background: var(--panel-soft);
}

progress::-webkit-progress-value {
  background: var(--accent);
}

progress::-moz-progress-bar {
  background: var(--accent);
}

.age-value {
  color: var(--muted);
  white-space: nowrap;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 3rem 1.5rem;
}

.auth-panel {
  width: min(100%, 28rem);
  padding: 2rem;
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.auth-panel h1 {
  margin-bottom: 1.8rem;
  font-size: 2rem;
}

.admin-page {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.admin-header h1 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.message-list,
.toolbar-panel,
.settings-panel,
.editor-grid,
.data-panel {
  margin-top: 2rem;
}

.toolbar-panel {
  border-block: 1px solid var(--border);
  padding: 1.25rem 0;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.85rem;
}

.editor-grid {
  display: grid;
  gap: 1.5rem;
}

.editor-grid-single {
  grid-template-columns: 1fr;
}

.panel-heading {
  border-bottom: 1px solid var(--border);
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 1rem 1.5rem;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.15rem;
}

.split-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-body {
  padding: 0;
}

.form-stack,
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.form-actions {
  grid-column: 1 / -1;
}

.settings-grid {
  display: grid;
  gap: 1rem;
}

.check-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  padding: 1rem;
}

.check-card input {
  width: auto;
  margin-top: 0.2rem;
}

.check-card strong {
  display: block;
  color: white;
  font-size: 0.98rem;
}

.check-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field span {
  color: #d4d4d8;
  font-size: 0.9rem;
}

.field-compact input {
  width: 8rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 0.45rem;
  background: var(--panel-soft);
  color: white;
  padding: 0.7rem 0.85rem;
  outline: none;
}

textarea {
  min-height: 18rem;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  font-weight: 700;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button-primary {
  background: var(--accent);
  color: #042f2e;
}

.button-primary:hover,
.button-primary:focus {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button-full {
  width: 100%;
}

.alert {
  border: 1px solid var(--border-strong);
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.9rem;
}

.alert-error {
  border-color: rgba(248, 113, 113, 0.46);
  background: rgba(127, 29, 29, 0.42);
  color: #fecaca;
}

.alert-success {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(4, 47, 46, 0.55);
  color: #ccfbf1;
}

.table-scroll {
  overflow-x: auto;
  margin: -1.5rem;
  margin-top: 0;
}

table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: middle;
}

th {
  background: rgba(9, 9, 11, 0.6);
  color: var(--muted);
  font-weight: 700;
}

td {
  color: #e4e4e7;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.truncate-cell {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.truncate-cell-wide {
  max-width: 34rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accent-text {
  color: #99f6e4;
}

.action-cell {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  white-space: nowrap;
}

.action-cell a {
  color: #5eead4;
}

.action-cell form {
  display: inline;
}

.link-button {
  border: 0;
  background: transparent;
  color: #5eead4;
  padding: 0;
}

.link-danger {
  border: 0;
  background: transparent;
  color: var(--danger);
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--panel-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 1rem;
}

.footer-content {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 0.45rem;
}

.footer-logo {
  display: block;
  width: min(100%, 14.75rem);
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

html[data-theme="light"] .footer-logo {
  filter: none;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.7;
}

.footer-copyright {
  margin: 0;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.footer-contact-label {
  color: var(--text);
  font-weight: 700;
}

.footer-contact-divider {
  margin: 0 0.65rem;
  color: var(--muted-2);
}

.footer-copyright {
  color: var(--muted-2);
  font-size: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem 1.5rem;
}

.footer-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 0.86rem;
}

button.footer-link:hover,
button.footer-link:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.confirm-dialog,
.record-dialog,
.edit-dialog,
.policy-dialog {
  width: min(100% - 2rem, 28rem);
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text);
  padding: 0;
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.record-dialog,
.edit-dialog {
  width: min(100% - 2rem, 46rem);
}

.confirm-dialog::backdrop,
.record-dialog::backdrop,
.edit-dialog::backdrop,
.policy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.confirm-dialog-box,
.record-dialog-box,
.edit-dialog-box,
.policy-dialog-box {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.record-dialog-box {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.dialog-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.confirm-dialog h2,
.record-dialog h2,
.edit-dialog h2,
.policy-dialog h2 {
  margin: 0;
  font-size: 1.2rem;
}

.confirm-dialog p {
  margin: 0;
  color: var(--muted);
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #d4d4d8;
  font-size: 0.92rem;
}

.toggle-row input {
  width: auto;
}

.edit-error {
  margin: 0;
}

.edit-field-list {
  display: grid;
  max-height: min(58vh, 34rem);
  overflow: auto;
  gap: 0.85rem;
  padding-right: 0.2rem;
}

.edit-field-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
}

.edit-field-key {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.edit-field-row textarea {
  min-height: 5.5rem;
}

.raw-json-editor {
  min-height: min(58vh, 34rem);
}

.policy-dialog {
  width: min(100% - 2rem, 46rem);
}

.policy-content {
  width: 100%;
  height: min(50vh, 20rem);
  resize: none;
  overflow-y: auto;
  border: 1px solid var(--border-strong);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  padding: 1rem;
  line-height: 1.75;
}

.policy-dialog[data-policy="contact"] .policy-content {
  height: 10rem;
  min-height: 10rem;
}

.icon-button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.empty-cell {
  padding: 3rem 1rem;
  color: var(--muted-2);
  text-align: center;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .stats-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .editor-grid {
    grid-template-columns: minmax(0, 1fr) 26rem;
  }

  .editor-grid-single {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-nav,
  .admin-header,
  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 0.55rem 1rem;
  }

  .nav-links a {
    min-width: 0;
    white-space: normal;
  }

  .admin-header-actions {
    align-items: stretch;
    width: 100%;
  }

  .age-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .measurement-carousel {
    padding-inline: 0;
  }

  .measurement-card {
    grid-template-columns: minmax(6.25rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1rem;
    padding: 1rem;
  }

  .measurement-card-copy p {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    line-height: 1.5;
  }

  .measurement-step {
    margin-bottom: 0.6rem;
  }

  .carousel-button {
    top: calc(50% - 1rem);
    width: 3rem;
    height: 3.5rem;
    background: transparent;
    font-size: 2.8rem;
  }

  .carousel-button-previous {
    left: -0.65rem;
  }

  .carousel-button-next {
    right: -0.65rem;
  }

  .edit-field-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  table {
    min-width: 48rem;
  }
}
