:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-strong: #eef1f5;
  --ink: #111317;
  --muted: #5d6470;
  --border: #d7dbe2;
  --border-strong: #9da5b1;
  --blue: #1155cc;
  --blue-soft: #eaf1ff;
  --green: #087a37;
  --green-soft: #e9f7ee;
  --amber: #ad6500;
  --amber-soft: #fff3d9;
  --red: #c31f2b;
  --red-soft: #fff0f1;
  --focus: #0b70e0;
  --radius: 6px;
  --shadow: 0 18px 50px rgb(17 19 23 / 16%);
  font-family:
    Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

button,
input,
select,
textarea,
a {
  outline: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  box-shadow: 0 0 0 3px rgb(11 112 224 / 25%);
}

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

h1,
h2,
h3,
.brand,
.next-time,
.money-value,
.rail-stat strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-stretch: condensed;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.08;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.18rem;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.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;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto auto auto 44px;
  min-height: 72px;
  align-items: center;
  gap: 28px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand-accent {
  color: var(--blue);
}

.campaign-day {
  display: grid;
  text-align: right;
}

.campaign-day span:first-child {
  font-weight: 800;
}

.campaign-day span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-status {
  display: grid;
  min-width: 100px;
}

.header-status span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-status strong {
  color: var(--amber);
  font-size: 0.95rem;
}

.header-status strong[data-status="green"] {
  color: var(--green);
}

.header-status strong[data-status="red"] {
  color: var(--red);
}

.header-status strong[data-status="yellow"] {
  color: var(--amber);
}

.pwa-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.connection-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.connection-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.connection-status[data-online="false"] {
  color: var(--amber);
}

.install-button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.install-button:hover {
  background: var(--blue);
  color: white;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
}

.icon-button:hover {
  border-color: var(--ink);
  background: var(--surface);
}

main {
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  max-width: 1600px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
}

.primary-column {
  min-width: 0;
  padding: 18px 24px 28px;
}

.accountability-rail {
  min-width: 0;
  padding: 18px 22px 28px;
  border-left: 1px solid var(--border);
  background: #fbfbfc;
}

.section-label {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.next-mission {
  display: grid;
  grid-template-columns: 72px 160px minmax(220px, 1fr) auto;
  min-height: 142px;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: var(--bg);
}

.next-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue);
  color: white;
}

.next-icon .icon {
  width: 34px;
  height: 34px;
}

.next-time-block {
  min-width: 0;
}

.next-time {
  margin: 0;
  font-size: 5.4rem;
  font-weight: 900;
  line-height: 0.86;
}

.next-copy {
  min-width: 0;
}

.next-copy p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
}

.evidence-rule {
  margin: 8px 0 18px 6px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.success-button,
.warning-button,
.danger-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.primary-button {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.primary-button:hover {
  background: #0d45aa;
}

.secondary-button {
  border-color: var(--border-strong);
  background: var(--bg);
  color: var(--ink);
}

.secondary-button:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.success-button {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.success-button:hover {
  background: #05632c;
}

.warning-button {
  border-color: var(--amber);
  background: var(--amber);
  color: white;
}

.warning-button:hover {
  background: #8b5100;
}

.danger-button {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}

.danger-button:hover {
  background: #ffdfe2;
}

.full-button {
  width: 100%;
}

.mission-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.mission-section > .section-heading-row {
  padding: 14px 4px 12px;
}

.daily-score {
  display: grid;
  justify-items: end;
}

.daily-score span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.daily-score strong {
  font-size: 1.05rem;
}

.mission-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mission-row {
  position: relative;
  display: grid;
  grid-template-columns: 86px 28px minmax(0, 1fr) 70px 110px 42px;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.mission-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 99px;
  width: 2px;
  background: var(--border);
  content: "";
}

.mission-row:first-child::before {
  top: 50%;
}

.mission-row:last-child::before {
  bottom: 50%;
}

.mission-time {
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  text-align: right;
}

.mission-marker {
  z-index: 1;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 3px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg);
  color: white;
}

.mission-row[data-state="next"] .mission-marker {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-soft);
}

.mission-row[data-state="complete"] .mission-marker {
  border-color: var(--green);
  background: var(--green);
}

.mission-marker .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.mission-copy {
  min-width: 0;
}

.mission-copy h3 {
  overflow-wrap: anywhere;
  font-size: 1.03rem;
}

.mission-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.mission-xp {
  color: var(--blue);
  font-weight: 900;
  text-align: right;
}

.mission-proof {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
}

.mission-row[data-state="complete"] .mission-proof {
  color: var(--green);
}

.mission-action {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--border-strong);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
}

.mission-action:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.mission-row[data-state="complete"] .mission-action {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  margin-top: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.detail-section {
  min-width: 0;
  padding: 18px;
}

.detail-section + .detail-section {
  border-left: 1px solid var(--border);
}

.target-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.meal-list {
  margin-top: 14px;
}

.meal-row {
  display: grid;
  grid-template-columns: 54px 90px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.meal-time {
  font-weight: 900;
}

.meal-name {
  color: var(--muted);
  font-weight: 700;
}

.meal-description {
  overflow-wrap: anywhere;
}

.safe-note {
  margin: 12px 0 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.workout-body {
  min-height: 120px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.workout-name {
  margin-bottom: 8px;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.05;
}

.workout-body p:last-child {
  margin: 0;
  color: var(--muted);
}

.step-target {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
}

.step-target span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.step-target strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 2rem;
}

.close-day-bar {
  display: grid;
  grid-template-columns: 46px minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.close-shield {
  width: 36px;
  height: 36px;
}

.close-day-bar p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.close-rule {
  padding-right: 18px;
  border-right: 1px solid var(--border);
  color: var(--ink) !important;
  font-weight: 900;
}

.rail-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.rail-block:first-child {
  padding-top: 4px;
}

.money-value {
  display: block;
  margin: 5px 0 2px;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.money-block p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.rail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.rail-stat {
  display: grid;
  padding: 18px 0;
}

.rail-stat + .rail-stat {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.rail-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.rail-stat strong {
  margin-top: 4px;
  font-size: 2.4rem;
  line-height: 1;
}

.rail-stat small {
  color: var(--muted);
}

.xp-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.xp-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.xp-copy strong {
  font-size: 1.2rem;
}

.progress-track {
  height: 9px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface-strong);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 300ms ease;
}

.xp-block p,
.rescue-block p,
.partner-block p,
.lock-block p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.rescue-block .section-heading-row {
  align-items: center;
}

.rescue-block .section-heading-row > strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.2rem;
}

.rescue-block .secondary-button {
  width: 100%;
  margin-top: 14px;
}

.consequence-block {
  color: var(--red);
}

.consequence-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.consequence-title .icon {
  flex: 0 0 auto;
}

.consequence-block > p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 0.84rem;
}

.consequence-block .safe-note {
  color: var(--red);
}

.partner-block h2 {
  overflow-wrap: anywhere;
}

.lock-block {
  color: var(--red);
}

.app-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(88vh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.app-dialog::backdrop {
  background: rgb(17 19 23 / 54%);
  backdrop-filter: blur(3px);
}

.app-dialog > form {
  padding: 24px;
}

.setup-dialog {
  width: min(610px, calc(100vw - 28px));
}

.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dialog-heading h2 {
  font-size: 1.55rem;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border-color: var(--border);
}

.dialog-intro {
  margin: 16px 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.field > span,
.stake-field legend {
  font-size: 0.82rem;
  font-weight: 800;
}

.field small {
  color: var(--muted);
  font-size: 0.72rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg);
}

.field input,
.field select {
  min-height: 44px;
  padding: 9px 11px;
}

.field textarea {
  min-height: 82px;
  padding: 11px;
  resize: vertical;
}

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

.stake-field {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin: 16px 0;
  border: 0;
}

.stake-field legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
}

.stake-field label {
  position: relative;
}

.stake-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stake-field span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg);
  font-weight: 900;
  cursor: pointer;
}

.stake-field input:checked + span {
  border: 2px solid var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.stake-field input:focus-visible + span {
  box-shadow: 0 0 0 3px rgb(11 112 224 / 25%);
}

.check-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 14px 0;
  color: var(--ink);
  font-size: 0.84rem;
}

.check-field input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.commitment-summary {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.settings-summary {
  margin: 16px 0;
}

.settings-summary div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.settings-summary dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.settings-summary dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.settings-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.danger-text-button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100vw - 40px));
  padding: 13px 15px;
  border: 1px solid var(--ink);
  border-left: 5px solid var(--green);
  border-radius: 4px;
  background: var(--bg);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 700;
}

.offline-ready {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 800;
}

.toast[data-tone="red"] {
  border-left-color: var(--red);
}

.toast[data-tone="amber"] {
  border-left-color: var(--amber);
}

@media (max-width: 1180px) {
  .next-time {
    font-size: 4.2rem;
  }

  .next-mission {
    grid-template-columns: 62px 132px minmax(190px, 1fr);
  }

  .next-icon {
    width: 58px;
    height: 58px;
  }

  .next-mission .primary-button {
    grid-column: 2 / -1;
    width: 100%;
  }

  .mission-row {
    grid-template-columns: 74px 26px minmax(0, 1fr) 54px 84px 40px;
    gap: 9px;
  }

  .mission-row::before {
    left: 86px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-section + .detail-section {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .close-day-bar {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .close-rule {
    grid-column: 2 / -1;
    grid-row: 2;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto 42px;
    gap: 14px;
  }

  .campaign-day {
    display: none;
  }

  .brand {
    flex-wrap: wrap;
    gap: 3px 8px;
    font-size: 1.35rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .accountability-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .rail-stats {
    align-self: start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    min-height: 62px;
    padding: 10px 14px;
  }

  .header-status {
    display: none;
  }

  .header-status {
    min-width: 76px;
  }

  .pwa-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }

  .connection-status {
    min-height: 26px;
  }

  .primary-column,
  .accountability-rail {
    padding: 14px;
  }

  .next-mission {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
    padding: 14px;
  }

  .next-icon {
    width: 46px;
    height: 46px;
  }

  .next-icon .icon {
    width: 25px;
    height: 25px;
  }

  .next-time-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .next-time-block .section-label {
    margin: 0;
  }

  .next-time {
    font-size: 2.6rem;
  }

  .next-copy {
    grid-column: 1 / -1;
  }

  .next-mission .primary-button {
    grid-column: 1 / -1;
  }

  .section-heading-row {
    align-items: start;
  }

  .mission-row {
    grid-template-columns: 58px 22px minmax(0, 1fr) 38px;
    min-height: 86px;
    gap: 7px;
    padding: 8px 0;
  }

  .mission-row::before {
    left: 68px;
  }

  .mission-time {
    font-size: 1.22rem;
  }

  .mission-marker {
    width: 18px;
    height: 18px;
  }

  .mission-xp,
  .mission-proof {
    grid-column: 3;
    font-size: 0.72rem;
    text-align: left;
  }

  .mission-proof {
    margin-top: -8px;
  }

  .mission-action {
    grid-column: 4;
    grid-row: 1 / span 3;
    width: 36px;
    height: 36px;
  }

  .detail-grid {
    margin-top: 14px;
  }

  .detail-section {
    padding: 14px;
  }

  .meal-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .meal-description {
    grid-column: 1 / -1;
    padding-left: 62px;
  }

  .close-day-bar {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .close-rule {
    grid-column: 1 / -1;
  }

  .close-day-bar .success-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .accountability-rail {
    grid-template-columns: 1fr;
  }

  .app-dialog > form {
    padding: 18px;
  }

  .dialog-actions {
    display: grid;
  }

  .stake-field {
    grid-template-columns: 1fr;
  }

  .settings-summary div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
