.reset-experience {
  min-height: 100dvh;
  background: #f2f5f2;
}

.reset-shell {
  min-height: 100dvh;
}

.reset-shell .topbar,
.reset-starter-pulse,
.reset-progress {
  padding-left: max(
    18px,
    env(safe-area-inset-left),
    calc((100vw - 1120px) / 2)
  );
  padding-right: max(
    18px,
    env(safe-area-inset-right),
    calc((100vw - 1120px) / 2)
  );
}

.reset-app,
.reset-shell > footer {
  width: min(
    1120px,
    calc(
      100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)
    )
  );
}

.reset-brand {
  text-decoration: none;
}

.reset-brand::after {
  content: "3-Day Starter";
  margin-left: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(185, 229, 49, .64);
  border-radius: 999px;
  color: #31511e;
  background: #efffd0;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.reset-starter-pulse {
  position: relative;
  z-index: 9;
}

.reset-starter-pulse .fruit-up-live-pulse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.reset-ticker-pause {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.reset-ticker-pause:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.reset-starter-pulse.is-paused .fruit-up-live-pulse-track {
  animation-play-state: paused;
}

.reset-progress {
  display: grid;
  grid-template-columns: auto minmax(220px, 560px);
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  min-height: 54px;
  padding: 8px max(18px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.reset-progress[hidden] {
  display: none !important;
}

.reset-progress-copy {
  display: flex;
  gap: 9px;
  align-items: baseline;
  white-space: nowrap;
}

.reset-progress-copy strong {
  color: var(--ink);
  font-size: .82rem;
}

.reset-progress-copy span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.reset-progress-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(44px, 1fr));
  gap: 7px;
}

.reset-progress-track span {
  height: 8px;
  border-radius: 999px;
  background: #e5eae6;
  transition:
    background var(--motion-duration-quick) var(--motion-ease-standard),
    box-shadow var(--motion-duration-quick) var(--motion-ease-standard);
}

.reset-progress-track span.complete {
  background: linear-gradient(90deg, #73b62f, var(--lime));
  box-shadow: 0 3px 10px rgba(115, 182, 47, .2);
}

.reset-main-nav .reset-nav-lock {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: .68rem;
  font-weight: 950;
}

.reset-app {
  min-height: 66dvh;
}

.reset-loading {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  font-weight: 850;
}

.reset-loading p {
  margin: 0;
}

.reset-welcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 20px;
}

.reset-welcome-hero::before,
.reset-dashboard-hero::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 22px;
  width: 112px;
  height: 78px;
  pointer-events: none;
  background: url("/assets/fruit-up-logo.png") center / contain no-repeat;
  opacity: .12;
}

.reset-welcome-copy,
.reset-dashboard-hero > div {
  position: relative;
  z-index: 2;
}

.reset-welcome-hero h1 {
  max-width: 680px;
}

.reset-welcome-hero .lead,
.reset-dashboard-hero .lead {
  color: #dce5dd;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.reset-free-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.reset-free-promise span,
.reset-starter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,17,11,.36);
  font-size: .78rem;
  font-weight: 850;
}

.reset-free-promise span:first-child,
.reset-starter-chip {
  border-color: rgba(185,229,49,.6);
  color: var(--lime);
}

.reset-auth-card {
  position: relative;
  z-index: 2;
  color: var(--ink);
  text-align: left;
  background: #fff;
}

.reset-auth-card h2 {
  color: var(--ink);
}

.reset-auth-card > p {
  color: var(--muted);
}

.reset-email-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.reset-email-auth .field,
.reset-email-auth .form-message,
.reset-email-auth .reset-auth-wide {
  grid-column: 1 / -1;
}

.reset-auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reset-auth-actions .button {
  width: 100%;
  margin: 0;
}

.reset-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reset-auth-divider::before,
.reset-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.reset-section {
  margin-top: 22px;
}

.reset-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.reset-section-head h2,
.reset-section-head p {
  margin: 0;
}

.reset-section-head > div > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 5px;
  color: var(--muted);
}

.reset-benefits,
.reset-day-grid,
.reset-standard-grid,
.reset-report-grid,
.reset-feature-grid,
.reset-quest-grid {
  display: grid;
  gap: 15px;
}

.reset-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reset-benefits article {
  min-height: 170px;
}

.reset-benefit-number,
.reset-feature-icon,
.reset-quest-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #116a39, #a43500);
  font-weight: 950;
}

.reset-benefits h3 {
  margin: 14px 0 5px;
}

.reset-benefits p,
.reset-feature-card p,
.reset-quest-card p {
  margin: 0;
  color: var(--muted);
}

.reset-dashboard-hero {
  margin-bottom: 20px;
}

.reset-dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.reset-dashboard-meta span {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,17,11,.38);
  font-size: .8rem;
  font-weight: 850;
}

.reset-dashboard-meta span:last-child {
  border-color: rgba(185,229,49,.58);
  color: var(--lime);
}

.reset-quest-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.reset-quest-card .status {
  justify-self: end;
}

.reset-quest-card.is-locked {
  opacity: .76;
}

.reset-day-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reset-day-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.reset-day-card h2 {
  margin-top: 8px;
}

.reset-day-card > p:not(.eyebrow) {
  color: var(--muted);
}

.reset-day-card .button {
  width: 100%;
  margin-top: auto;
}

.reset-standard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reset-metric {
  min-height: 112px;
}

.reset-metric small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.reset-metric strong {
  display: block;
  margin-top: 9px;
  color: var(--orange-dark);
  font-size: 1.18rem;
}

.reset-group-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  border-color: rgba(255,94,0,.3);
  background: linear-gradient(135deg, #fff7f1, #fbffe9);
}

.reset-group-invite h2,
.reset-group-invite p {
  margin: 0;
}

.reset-group-invite p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
}

.reset-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.reset-group-actions .button {
  margin: 0;
  text-decoration: none;
}

.reset-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reset-feature-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.reset-feature-card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 52px;
  height: 52px;
  pointer-events: none;
  opacity: .08;
  background: url("/assets/fruit-up-logo.png") center / contain no-repeat;
}

.reset-feature-card h3 {
  margin: 14px 0 6px;
}

.reset-feature-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.reset-feature-label {
  display: inline-flex;
  width: fit-content;
  min-height: 29px;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255,94,0,.28);
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff1e8;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reset-upgrade-comparison {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid rgba(255,94,0,.25);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7f1, #fbffe9);
  box-shadow: var(--surface-shadow);
}

.reset-upgrade-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.reset-upgrade-heading h2 {
  margin: 3px 0 0;
  color: var(--ink);
}

.reset-free-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #bcd986;
  border-radius: 999px;
  color: #31511e;
  background: #efffd0;
  font-size: .72rem;
  font-weight: 900;
}

.reset-plan-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reset-plan-column {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
}

.reset-plan-column.is-full {
  border-color: rgba(255,94,0,.32);
  background: #fff9f5;
}

.reset-plan-label {
  margin: 0;
  color: #31511e;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.reset-plan-column.is-full .reset-plan-label {
  color: var(--orange-dark);
}

.reset-plan-column h3 {
  margin: 5px 0 10px;
}

.reset-plan-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.reset-plan-column li::marker {
  color: var(--lime);
}

.reset-plan-column.is-full li::marker {
  color: var(--orange);
}

.reset-upgrade-clarity {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  color: var(--muted);
  background: rgba(255,255,255,.72);
}

.reset-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reset-upgrade-actions .button {
  margin: 0;
}

.reset-upgrade-actions span {
  color: var(--muted);
  font-size: .8rem;
}

.reset-card,
.reset-form-card {
  width: min(860px, 100%);
  margin-inline: auto;
}

.reset-form-card {
  padding: clamp(20px, 5vw, 38px);
}

.reset-form-card > .text-button {
  min-height: 44px;
}

.reset-form-intro {
  margin: 12px 0 0;
  color: var(--muted);
}

.reset-map-guide {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #c8ddca;
  border-radius: 14px;
  background: #f7fcf7;
}

.reset-map-guide strong {
  display: block;
  color: #31511e;
}

.reset-map-guide p {
  margin: 5px 0 0;
  color: var(--muted);
}

.reset-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.reset-form .field,
.reset-email-auth .field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.reset-form .field > span,
.reset-email-auth .field > span {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 850;
}

.reset-form .field input,
.reset-form .field select,
.reset-form .field textarea,
.reset-email-auth .field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 13px;
  border: 1px solid #cad3cc;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.reset-form .field textarea {
  min-height: 116px;
  resize: vertical;
}

.reset-form .field input:focus,
.reset-form .field select:focus,
.reset-form .field textarea:focus,
.reset-email-auth .field input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(255,94,0,.13);
}

.reset-form .field.wide,
.reset-form > .choice,
.reset-form > .form-message,
.reset-form > .muted,
.reset-form > .button,
.reset-form > .intake-panel,
.reset-form > .intake-actions {
  grid-column: 1 / -1;
}

.reset-form > .choice {
  align-items: flex-start;
}

.reset-form > .button {
  width: 100%;
}

.form-message {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #e4a39e;
  border-radius: 12px;
  color: #8b241d;
  background: #fff0ee;
}

.form-message.is-positive {
  border-color: #aed69a;
  color: #31511e;
  background: #f1fae8;
}

.reset-score {
  margin: 18px 0 0;
  color: var(--orange-dark);
  font-size: clamp(3.6rem, 13vw, 7rem);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: .9;
}

.reset-score-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.reset-feedback-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.reset-feedback-list li {
  border-left: 4px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: #f5f9f2;
  padding: 12px 14px;
}

.reset-report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.reset-certificate {
  overflow: hidden;
}

.reset-certificate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.reset-certificate-actions .button {
  width: 100%;
  margin: 0;
}

.reset-member-recognition {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #91c871;
  border-radius: 14px;
  color: #28521e;
  background: #effbe9;
}

.reset-preview-dialog {
  width: min(
    820px,
    calc(
      100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)
    )
  );
  max-height: min(860px, calc(100dvh - 24px));
  margin: max(12px, 4dvh) auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(26,19,15,.32);
  overflow: hidden;
}

.reset-preview-dialog::backdrop {
  background: rgba(26,19,15,.58);
  backdrop-filter: blur(5px);
}

.reset-preview-panel {
  max-height: min(860px, calc(100dvh - 24px));
  display: flex;
  flex-direction: column;
}

.reset-preview-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    18px
    max(20px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #fff8f3);
}

.reset-preview-header img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.reset-preview-header h2,
.reset-preview-header p {
  margin: 0;
}

.reset-preview-close {
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.reset-preview-content {
  padding:
    20px
    max(20px, env(safe-area-inset-right))
    20px
    max(20px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.reset-preview-lead {
  margin: 0 0 16px;
  color: var(--muted);
}

.reset-preview-actions {
  width: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding:
    15px
    max(20px, env(safe-area-inset-right))
    max(15px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  text-align: left;
}

.reset-preview-actions p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}

.reset-preview-actions .button {
  margin: 0;
  text-decoration: none;
}

.member-intake-card {
  max-width: 980px;
}

.intake-privacy-note {
  display: grid;
  gap: 3px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #bcd9ac;
  border-radius: 14px;
  background: #f4faef;
}

.intake-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}

.intake-stepper div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
}

.intake-stepper span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
}

.intake-stepper small {
  font-size: .68rem;
  font-weight: 800;
}

.intake-stepper .active span,
.intake-stepper .complete span {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.intake-panel {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.intake-panel[hidden] {
  display: none;
}

.intake-panel legend {
  width: 100%;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
}

.intake-panel legend span {
  display: block;
  color: var(--orange-dark);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake-help {
  margin: 0;
  color: var(--muted);
}

.intake-grid,
.intake-orientation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.intake-orientation article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.intake-orientation p {
  margin: 5px 0 0;
  color: var(--muted);
}

.intake-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.intake-standard {
  padding: 12px 14px;
  border-left: 4px solid var(--lime);
  background: #f3fae7;
  font-weight: 900;
}

html[data-theme="dark"] .reset-experience {
  background: #0e1510;
}

html[data-theme="dark"] :where(
  .reset-progress,
  .reset-auth-card,
  .reset-preview-dialog,
  .reset-preview-header,
  .reset-preview-actions,
  .reset-form .field input,
  .reset-form .field select,
  .reset-form .field textarea,
  .reset-email-auth .field input,
  .intake-stepper span
) {
  color: var(--ink);
  border-color: var(--line);
  background: #151e18;
}

html[data-theme="dark"] .reset-progress-track span {
  background: #35443a;
}

html[data-theme="dark"] .reset-group-invite {
  border-color: #694437;
  background: linear-gradient(135deg, #271c18, #1a251c);
}

html[data-theme="dark"] .reset-upgrade-comparison {
  border-color: #694437;
  background: linear-gradient(135deg, #271c18, #1a251c);
}

html[data-theme="dark"] .reset-plan-column,
html[data-theme="dark"] .reset-plan-column.is-full {
  color: var(--ink);
  border-color: var(--line);
  background: #151e18;
}

html[data-theme="dark"] .reset-free-badge {
  color: #d5f58b;
  border-color: #526a35;
  background: #26391f;
}

html[data-theme="dark"] .reset-plan-label {
  color: #dfff9d;
}

html[data-theme="dark"] .reset-plan-column.is-full .reset-plan-label {
  color: #ffb38a;
}

html[data-theme="dark"] .reset-upgrade-clarity {
  color: var(--muted);
  background: #1b251e;
}

html[data-theme="dark"] .reset-feature-label {
  color: #ffad7d;
  border-color: #694437;
  background: #382116;
}

html[data-theme="dark"] :where(.reset-map-guide, .intake-privacy-note, .intake-orientation article) {
  color: var(--ink);
  border-color: var(--line);
  background: #1b251e;
}

html[data-theme="dark"] :where(.reset-map-guide, .intake-privacy-note) strong {
  color: #dfff9d;
}

html[data-theme="dark"] :where(.reset-feedback-list li, .intake-standard) {
  color: var(--ink);
  background: #1b251e;
}

html[data-theme="dark"] .reset-member-recognition {
  color: #b8f2c0;
  border-color: #376b40;
  background: #17381e;
}

html[data-theme="dark"] .form-message {
  color: #ffc5bf;
  border-color: #7f453f;
  background: #3b201e;
}

html[data-theme="dark"] .form-message.is-positive {
  color: #b8f2c0;
  border-color: #376b40;
  background: #17381e;
}

@media (max-width: 820px) {
  .reset-welcome-hero {
    grid-template-columns: 1fr;
  }

  .reset-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reset-standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reset-preview-actions {
    grid-template-columns: 1fr;
  }

  .reset-preview-actions .button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .reset-brand::after,
  .reset-search-preview span,
  #resetFeatureMenu span,
  #resetThemeToggle .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .reset-experience {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .reset-brand::after,
  .reset-search-preview,
  #resetThemeToggle .theme-toggle-label {
    display: none;
  }

  .reset-shell .topbar {
    padding-top: env(safe-area-inset-top);
    height: calc(68px + env(safe-area-inset-top));
  }

  .reset-starter-pulse {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 10px;
  }

  .reset-starter-pulse .fruit-up-live-pulse-label strong {
    display: none;
  }

  .reset-starter-pulse .fruit-up-live-pulse-action {
    min-height: 44px;
  }

  .reset-progress {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 14px;
  }

  .reset-progress-copy {
    justify-content: space-between;
  }

  .reset-main-nav .reset-nav-lock {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 14px;
    height: 14px;
    font-size: .58rem;
  }

  .reset-main-nav .primary-nav > button {
    position: relative;
  }

  .reset-app {
    width: min(100% - 20px, 1120px);
    margin-top: 18px;
  }

  .reset-welcome-hero {
    padding: 24px 20px;
  }

  .reset-email-auth,
  .reset-auth-actions,
  .reset-day-grid,
  .reset-benefits,
  .reset-feature-grid,
  .reset-form,
  .reset-report-grid,
  .reset-certificate-actions,
  .intake-grid,
  .intake-orientation {
    grid-template-columns: 1fr;
  }

  .reset-plan-compare {
    grid-template-columns: 1fr;
  }

  .reset-upgrade-heading {
    flex-direction: column;
  }

  .reset-form .field,
  .reset-email-auth .field {
    grid-column: 1;
  }

  .reset-benefits article,
  .reset-feature-card {
    min-height: 0;
  }

  .reset-group-invite {
    grid-template-columns: 1fr;
  }

  .reset-group-actions {
    display: grid;
    justify-content: stretch;
  }

  .reset-group-actions .button {
    width: 100%;
  }

  .reset-quest-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .reset-quest-card .status {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .reset-preview-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .reset-preview-panel {
    height: 100dvh;
    max-height: none;
  }

  .reset-preview-header {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .intake-stepper small {
    font-size: .65rem;
  }

  .reset-form .field input,
  .reset-form .field select,
  .reset-form .field textarea,
  .reset-email-auth .field input {
    font-size: 16px;
  }
}

@media (max-height: 560px) {
  .reset-preview-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .reset-preview-panel {
    height: 100dvh;
    max-height: none;
  }
}

@media (max-width: 420px) {
  .reset-standard-grid {
    grid-template-columns: 1fr;
  }

  #resetFeatureMenu span,
  .theme-toggle-label {
    display: none;
  }

  .reset-shell .top-actions {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reset-ticker-pause {
    display: none;
  }

  .reset-starter-pulse .fruit-up-live-pulse-track {
    animation: none !important;
  }

  .reset-progress-track span {
    transition: none;
  }
}
