:root {
  color-scheme: light;
  font-family: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  line-height: 1.5;
  color: #17191b;
  background: #f7f5ef;
  accent-color: #9f3f27;
  caret-color: #9f3f27;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
  background: #f7f5ef;
}

::selection {
  color: #fff;
  background: #315e71;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.app-header,
.app-footer {
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-left: max(1rem, env(safe-area-inset-left));
}

.app-header {
  border-bottom: 1px solid #98958c;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-bottom: 0.75rem;
  background: #ebe8df;
}

.app-header__inner {
  width: min(100%, 66rem);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.app-name {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.view-name {
  color: #494842;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-content {
  width: min(100%, 66rem);
  margin: 0 auto;
  flex: 1;
  padding: clamp(1.5rem, 5vw, 4rem) max(1rem, env(safe-area-inset-right)) clamp(3rem, 8vw, 6rem) max(1rem, env(safe-area-inset-left));
}

.ledger-heading,
.project-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid #17191b;
  padding-bottom: 0.8rem;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0.5rem;
}

.primary-action,
.secondary-action,
.back-link,
button,
input,
select {
  min-height: 44px;
}

.control-target {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #17191b;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  color: #fff;
  background: #9f3f27;
  border-color: #722a19;
  cursor: pointer;
}

.primary-action:hover {
  background: #7f301e;
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary-action {
  background: transparent;
}

.project-ledger {
  border-bottom: 1px solid #77746d;
}

.section-label {
  margin: 0;
  border-bottom: 1px solid #77746d;
  padding: 1.5rem 0 0.45rem;
  color: #494842;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.trip-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.85fr) minmax(0, 3fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #b7b3aa;
  padding: 0.85rem 0;
  text-decoration: none;
}

.trip-row:hover {
  background: #efebe1;
}

.trip-row time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.trip-copy {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.trip-copy strong {
  font-size: 1.125rem;
}

.trip-copy > span {
  color: #494842;
}

.phase-mark {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #9f3f27;
  padding: 0.2rem 0.5rem;
  color: #7f301e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.phase-mark--large {
  min-height: 44px;
  padding-inline: 0.8rem;
}

.empty-project {
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.empty-project h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 5vw, 2rem);
}

.empty-project p,
.form-heading p,
.project-meta {
  max-width: 65ch;
  margin-bottom: 0;
  color: #494842;
}

.completed-projects {
  padding-bottom: 1rem;
}

.trip-list--completed {
  opacity: 0.78;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.form-heading {
  max-width: 46rem;
  border-bottom: 3px solid #17191b;
  padding-bottom: 1rem;
}

.form-heading h1 {
  margin-bottom: 0.75rem;
}

.project-form {
  max-width: 46rem;
  padding-top: 1.5rem;
}

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

.field {
  min-width: 0;
  margin-bottom: 1.25rem;
}

.field--children {
  max-width: 16rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid #77746d;
  border-radius: 0;
  padding: 0.65rem 0.75rem;
  color: #17191b;
  background: #fffef9;
  font: inherit;
  font-size: 1rem;
}

.optional { color: #5d5b55; font-weight: 400; }

.identity-section { max-width: 46rem; margin-top: 2rem; border-top: 1px solid #77746d; padding-top: 1.5rem; }
.identity-form { margin-top: 1rem; padding: 1rem; background: #ebe8df; }
.form-note { color: #494842; }
.inline-message { margin: 0 0 1rem; border: 1px solid currentColor; padding: 0.75rem; font-weight: 700; background: #fffef9; }
.inline-message--success,
.identity-state { color: #315e71; }
.inline-message--error { color: #7b2313; }
.claim-result { max-width: 46rem; border-top: 3px solid #17191b; padding-top: 1.5rem; }
.claim-result h1 { margin-bottom: 1rem; }
.claim-result .primary-action { margin-top: 1rem; }
.captured-mail { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid #77746d; }
.captured-mail li { display: grid; gap: 0.5rem; border-bottom: 1px solid #b7b3aa; padding: 1rem 0; }
.captured-mail .primary-action { justify-self: start; }

.field input:hover {
  border-color: #17191b;
}

.field input[aria-invalid="true"] {
  border-color: #9f3f27;
  border-width: 2px;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #7b2313;
  font-weight: 700;
}

.calculation-note {
  margin: -0.4rem 0 1.5rem;
  border-top: 1px solid #b7b3aa;
  padding-top: 0.75rem;
  color: #315e71;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid #77746d;
  padding-top: 1rem;
}

.request-status {
  display: none;
  color: #315e71;
  order: -1;
  margin-right: auto;
}

.htmx-request .request-status,
.htmx-request.request-status {
  display: inline;
}

.project-date {
  margin-bottom: 0.4rem;
  color: #494842;
  font-variant-numeric: tabular-nums;
}

.project-heading h1 {
  margin-bottom: 0.75rem;
}

.phase-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #77746d;
}

.phase-nav > * {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-right: 1px solid #b7b3aa;
  padding: 0.5rem;
  color: #5d5b55;
}

.phase-nav > :last-child {
  border-right: 0;
}

.phase-nav [aria-current="step"] {
  color: #fff;
  background: #315e71;
}

.fact-section {
  padding-top: 2rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #77746d;
  border-bottom: 1px solid #77746d;
}

.fact-grid > div {
  min-width: 0;
  min-height: 8rem;
  border-right: 1px solid #b7b3aa;
  padding: 1rem;
}

.fact-grid > div:last-child {
  border-right: 0;
}

.fact-grid dt {
  color: #5d5b55;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-grid dd {
  margin: 0.4rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.fact-grid small {
  display: block;
  margin-top: 0.35rem;
  color: #494842;
}

.readiness-section {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}

.readiness-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border-bottom: 3px solid #17191b;
  padding-bottom: 0.75rem;
}

.readiness-heading > div {
  min-width: 0;
}

.readiness-heading h2,
.readiness-heading .phase-mark {
  overflow-wrap: normal;
  word-break: normal;
}

.readiness-heading .phase-mark {
  flex-shrink: 0;
}

.readiness-heading p,
#helper-form-note {
  margin: 0.25rem 0 0;
  color: #494842;
}

.inline-message,
.view-only-note {
  margin: 1rem 0 0;
  border: 1px solid #77746d;
  padding: 0.75rem 1rem;
  font-weight: 700;
  background: #ebe8df;
}

.inline-message--success {
  color: #32451f;
  border-color: #596b3f;
}

.inline-message--error {
  color: #7b2313;
  border-color: #9f3f27;
}

.readiness-days {
  border-bottom: 1px solid #77746d;
}

.readiness-day {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(0, 4fr);
  align-items: stretch;
  border-bottom: 1px solid #b7b3aa;
}

.readiness-day:last-child {
  border-bottom: 0;
}

.readiness-day h3 {
  margin: 0;
  display: flex;
  align-items: center;
  border-right: 1px solid #b7b3aa;
  padding: 0.75rem 0.75rem 0.75rem 0;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.readiness-day dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.readiness-day dl div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  border-right: 1px solid #d1cdc4;
  padding: 0.75rem;
}

.readiness-day dl div:last-child {
  border-right: 0;
}

.readiness-day dt {
  color: #494842;
  font-size: 0.8125rem;
}

.readiness-day dd {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.empty-readiness {
  margin: 0;
  border-bottom: 1px solid #77746d;
  padding: 1.25rem 0;
  color: #494842;
}

.helper-ledger {
  border-bottom: 1px solid #77746d;
}

.helper-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 4fr);
  border-bottom: 1px solid #b7b3aa;
}

.helper-row:last-child {
  border-bottom: 0;
}

.helper-row > strong {
  padding: 0.8rem 0.75rem 0.8rem 0;
}

.helper-row ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  list-style: none;
}

.helper-row li {
  min-width: 0;
  display: grid;
  border-left: 1px solid #d1cdc4;
  padding: 0.55rem 0.75rem;
}

.helper-row li span {
  color: #5d5b55;
  font-size: 0.75rem;
}

.helper-row li b {
  font-size: 0.9375rem;
}

.helper-row > form {
  grid-column: 1 / -1;
  padding: 0.5rem 0 0.75rem;
}

.archive-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: 0.75rem;
}

.group-lane > form {
  padding: 0.5rem 0.75rem;
}

.helper-intake {
  margin-top: 1.5rem;
  border-top: 1px solid #77746d;
  border-bottom: 1px solid #77746d;
}

.helper-intake summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 800;
}

.helper-intake summary::marker {
  color: #9f3f27;
}

.helper-intake form {
  padding: 0.5rem 0 1.25rem;
}

.helper-intake .field-row {
  margin-top: 1.25rem;
}

.field label span {
  color: #5d5b55;
  font-size: 0.8125rem;
  font-weight: 400;
}

.field--email {
  max-width: 30rem;
}

.availability-fields {
  margin: 0 0 1.25rem;
  border: 0;
  padding: 0;
}

.availability-fields legend {
  width: 100%;
  border-bottom: 1px solid #77746d;
  padding: 0 0 0.5rem;
  font-weight: 800;
}

.availability-day {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(0, 3fr);
  align-items: center;
  border-bottom: 1px solid #b7b3aa;
  padding: 0.65rem 0;
}

.availability-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.availability-option {
  min-height: 44px;
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.availability-option input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}

.availability-option span {
  width: 100%;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #77746d;
  padding: 0.5rem;
  background: #fffef9;
  font-weight: 700;
}

.availability-option input:checked + span {
  color: #fff;
  border-color: #315e71;
  background: #315e71;
}

.availability-option input:focus-visible + span {
  outline: 3px solid #315e71;
  outline-offset: 3px;
}

.availability-option:hover span {
  border-color: #17191b;
}

.share-result {
  max-width: 46rem;
  padding-top: 1.5rem;
}

.share-warning {
  border-left: 4px solid #9f3f27;
  padding: 0.75rem 1rem;
  background: #ebe8df;
}

.share-link {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #b7b3aa;
  padding-bottom: 1rem;
}

.share-link a {
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.actor-dot {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  margin-right: 0.4rem;
  border: 1px solid #17191b;
  border-radius: 50%;
  vertical-align: -0.1em;
}

.actor-dot--blue { background: #315e71; }
.actor-dot--rust { background: #9f3f27; }
.actor-dot--green { background: #596b3f; }
.actor-dot--violet { background: #70517a; }
.actor-dot--ochre { background: #8a5b21; }
.actor-dot--teal { background: #35645b; }
.actor-dot--berry { background: #77404b; }
.actor-dot--indigo { background: #4d5c85; }

.capability-section {
  padding-top: 2rem;
  scroll-margin-top: 1rem;
}

.capability-section > p {
  max-width: 65ch;
  color: #494842;
}

.capability-section:target {
  outline: 3px solid #315e71;
  outline-offset: 0.5rem;
}

.capability-list {
  margin: 0;
  border-top: 1px solid #77746d;
  padding: 0;
  list-style: none;
}

.capability-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #b7b3aa;
  padding: 0.75rem 0;
}

.capability-row > span {
  display: grid;
}

.capability-row small {
  color: #35645b;
  font-weight: 700;
}

.capability-row .status-revoked {
  color: #7b2313;
}

.mutation-pending {
  display: none;
  color: #494842;
  font-weight: 700;
}

.groups-section {
  margin-top: 2.5rem;
  border-top: 3px solid #17191b;
  padding-top: 1rem;
}

.day-switcher {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  margin: 1rem 0;
  padding-bottom: 0.35rem;
}

.day-switcher a,
.assignment-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #77746d;
  border-radius: 0;
  padding: 0.55rem 0.75rem;
  background: #f7f5ef;
  color: #17191b;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.day-switcher a[aria-current="date"],
.assignment-toggle--active {
  border-color: #315e71;
  background: #315e71;
  color: #fff;
}

.group-lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1px;
  border: 1px solid #98958c;
  background: #98958c;
}

.group-lane {
  min-width: 0;
  background: #f7f5ef;
}

.group-lane > header,
.candidate-row > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid #b7b3aa;
  padding: 0.75rem;
}

.group-lane h3,
.group-lane p,
.candidate-row p {
  margin: 0;
}

.group-lane ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-lane li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  border-bottom: 1px solid #d1cdc4;
  padding: 0.7rem 0.75rem;
}

.group-lane li:last-child { border-bottom: 0; }
.group-lane li small { grid-column: 1 / -1; }
.empty-group { padding: 0.75rem; color: #494842; }

.group-create {
  margin: 1.25rem 0;
  border-block: 1px solid #98958c;
  padding: 0.75rem 0;
}

.group-create summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 800;
  cursor: pointer;
}

.group-create form { max-width: 42rem; padding-bottom: 0.5rem; }
.task-planning,
.staffing-planning,
.assignment-deck {
  margin-top: 1.5rem;
  border-top: 1px solid #98958c;
  padding-top: 1rem;
}
.task-planning h3,
.staffing-planning h3,
.assignment-deck h3 { margin-top: 0; }
.task-list,
.requirement-list { margin: 0; padding: 0; list-style: none; }
.task-list > li,
.requirement-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  border-bottom: 1px solid #d1cdc4;
  padding: 0.75rem 0;
}
.task-list > li > div,
.requirement-list > li > div { display: grid; gap: 0.2rem; }
.task-list span,
.requirement-list span { color: #494842; }
.requirement-short > div > strong::before { content: "Fehlt · "; color: #7b2313; }
.planning-form { min-width: 10rem; }
.planning-form > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #315e71;
  font-weight: 800;
  cursor: pointer;
}
.planning-form[open] { grid-column: 1 / -1; }
.planning-form form { max-width: 42rem; padding: 0.75rem 0; }
.time-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.check-control { min-height: 44px; display: flex; align-items: center; gap: 0.65rem; }
.check-control input { width: 1.25rem; height: 1.25rem; }

.candidate-row {
  border-top: 1px solid #98958c;
  padding-bottom: 0.75rem;
}

.candidate-row > header { padding-inline: 0; }
.assignment-warning { color: #7b2313; font-weight: 700; }
.candidate-row > .assignment-warning { margin: 0.65rem 0; }
.assignment-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.assignment-controls form { display: flex; align-items: center; gap: 0.35rem; }
.deck-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: end; gap: 0.5rem; margin: 1rem 0; }
.deck-picker label { font-weight: 800; }
.deck-picker select { min-height: 44px; grid-column: 2; }
.assignment-list { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid #98958c; }
.assignment-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.75rem; border-bottom: 1px solid #d1cdc4; padding: 0.75rem 0; }
.assignment-list > li > div { display: grid; gap: 0.2rem; }
.assignment-form { min-width: 12rem; }
.assignment-remove { display: flex; align-items: start; gap: 0.35rem; }

@media (max-width: 42rem) {
  .assignment-controls,
  .assignment-controls form,
  .assignment-toggle { width: 100%; }
  .assignment-toggle { justify-content: center; white-space: normal; }
  .task-list > li,
  .requirement-list > li { grid-template-columns: 1fr; }
  .planning-form,
  .planning-form > summary { width: 100%; }
  .time-fields { grid-template-columns: 1fr; }
  .deck-picker,
  .assignment-list > li { grid-template-columns: 1fr; }
  .deck-picker select { grid-column: 1; }
  .deck-picker .assignment-toggle,
  .assignment-remove,
  .assignment-remove .assignment-toggle { width: 100%; }
}

.htmx-request .mutation-pending {
  display: inline;
}

.action-feedback,
.access-message {
  border-left: 4px solid #315e71;
  padding: 1rem;
  background: #ebe8df;
}

.action-feedback {
  color: #17191b !important;
  font-weight: 700;
}

.access-message {
  max-width: 46rem;
}

.access-message h1,
.access-message p {
  margin-bottom: 1rem;
}

.app-footer {
  border-top: 1px solid #98958c;
  padding-top: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  color: #494842;
  font-size: 0.875rem;
}

.app-footer p {
  width: min(100%, 66rem);
  margin: 0 auto;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #315e71;
  outline-offset: 3px;
}

@media (max-width: 42rem) {
  .ledger-heading,
  .project-heading {
    align-items: flex-start;
  }

  .ledger-heading {
    flex-direction: column;
  }

  .ledger-heading .primary-action {
    width: 100%;
  }

  .trip-row {
    grid-template-columns: 1fr auto;
    gap: 0.45rem 0.75rem;
  }

  .trip-row time {
    grid-column: 1;
  }

  .trip-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .phase-mark {
    grid-column: 2;
    grid-row: 1;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field--children {
    max-width: none;
  }

  .form-actions > * {
    flex: 1 1 9rem;
  }

  .request-status {
    flex-basis: 100%;
  }

  .project-heading {
    flex-direction: column;
  }

  .phase-mark--large {
    align-self: flex-start;
  }

  .phase-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .phase-nav > :nth-child(2) {
    border-right: 0;
  }

  .phase-nav > :nth-child(-n + 2) {
    border-bottom: 1px solid #b7b3aa;
  }

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

  .fact-grid > div:nth-child(2) {
    border-right: 0;
  }

  .fact-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid #b7b3aa;
  }

  .readiness-heading {
    align-items: flex-start;
  }

  .readiness-day,
  .helper-row,
  .availability-day {
    grid-template-columns: 1fr;
  }

  .readiness-day h3 {
    border-right: 0;
    border-bottom: 1px solid #d1cdc4;
    padding-right: 0;
  }

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

  .readiness-day dl div:nth-child(2) {
    border-right: 0;
  }

  .readiness-day dl div:nth-child(-n + 2) {
    border-bottom: 1px solid #d1cdc4;
  }

  .helper-row > strong {
    padding-bottom: 0.35rem;
  }

  .helper-row ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0.65rem;
  }

  .availability-day {
    gap: 0.5rem;
  }

  .availability-options {
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
