* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Archivo', sans-serif;
  color: #4a4a45;
  height: 100dvh;
  max-height: 100dvh;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  background: #3a4a2a;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 1%;
}

.bg-photo {
  position: absolute;
  inset: 0;
  filter: blur(2px) brightness(0.95);
  background: #556b3f center/cover no-repeat;
}

.main-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: minmax(0, 1fr);
}

.text-panel {
  background: #ece7df;
  padding: 56px 48px 48px 88px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.brand {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  z-index: 3;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 22.4px;
  letter-spacing: -0.01em;
  color: #4a4a45;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.home-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45em;
  width: 100%;
  padding: 20px 0;
}

.nav-sep {
  color: #4a4a45;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.nav-link {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4a4a45;
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 0.12em;
}

.nav-link:hover {
  text-decoration: underline;
}

.headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28.6px, 3.38vw, 62.4px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #4a4a45;
  width: 100%;
  max-width: none;
}

.subheadline {
  font-size: 17px;
  color: #4a4a45;
  font-weight: 400;
}

.photo-panel {
  background: #e4dfd6;
  padding: 48px 56px 48px 32px;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-grid-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.photo-grid-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
  grid-template-rows: repeat(var(--grid-rows, 3), minmax(0, 1fr));
  gap: 16px;
  width: var(--grid-w, 100%);
  height: var(--grid-h, auto);
  overflow: hidden;
  will-change: transform, opacity;
}

.photo-grid.is-leaving-next {
  animation: gridSlideOutLeft 0.35s ease forwards;
}

.photo-grid.is-leaving-prev {
  animation: gridSlideOutRight 0.35s ease forwards;
}

.photo-grid.is-entering-next {
  animation: gridSlideInRight 0.35s ease forwards;
}

.photo-grid.is-entering-prev {
  animation: gridSlideInLeft 0.35s ease forwards;
}

@keyframes gridSlideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-18%); opacity: 0; }
}

@keyframes gridSlideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(18%); opacity: 0; }
}

@keyframes gridSlideInRight {
  from { transform: translateX(18%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes gridSlideInLeft {
  from { transform: translateX(-18%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.photo,
.photo-empty {
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.photo {
  background: #c9c2b4;
  cursor: pointer;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.photo-label {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  color: rgba(43, 43, 40, 0.4);
  text-align: center;
  padding: 8px;
  line-height: 1.2;
  pointer-events: none;
}

.photo-empty {
  background: transparent;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grid-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4a4a45;
  padding: 0;
}

.grid-nav:hover:not(:disabled) {
  background: #2b2b28;
  color: #ece7df;
}

.grid-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.grid-nav-prev { left: -6px; }
.grid-nav-next { right: -6px; }

.single-image {
  display: none;
  width: 100%;
  flex: 1;
  min-height: 0;
  margin-top: 88px;
  object-fit: cover;
  object-position: center center;
}

.photo-panel.show-single {
  padding: 0;
}

.photo-panel.show-single .photo-grid-shell {
  display: none;
}

.photo-panel.show-single .single-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  flex: none;
  object-fit: cover;
  object-position: center center;
}

a { color: #4a4a45; }
a:hover { color: #4a4a45; }

/* Screen management inside text panel */
.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  animation: fadeIn 0.3s ease;
}

.screen.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.home-copy {
  --home-ink: #4a4a45;
  --home-accent: #556b3f;
  --pointer-chevron-duration: 1.4s;
  width: 100%;
  max-width: none;
  padding-bottom: 48px;
}

.home-copy .headline {
  text-transform: uppercase;
}

.home-copy .subheadline {
  margin: 16px 0 0;
}

.plant-picker-pointer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  width: 100%;
  margin: 1.1rem 0 0;
  padding: 0;
  color: var(--home-accent);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.plant-picker-pointer__label {
  display: inline-block;
  white-space: nowrap;
}

.plant-picker-pointer__arrow {
  display: block;
  width: 6.2rem;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
  fill: currentColor;
}

.pointer-chevron {
  opacity: 0.22;
  animation: pointerChevronPulse var(--pointer-chevron-duration) ease-in-out infinite;
}

.pointer-chevron--1 { animation-delay: 0s; }
.pointer-chevron--2 { animation-delay: 0.14s; }
.pointer-chevron--3 { animation-delay: 0.28s; }
.pointer-chevron--4 { animation-delay: 0.42s; }
.pointer-chevron--5 { animation-delay: 0.56s; }

@keyframes pointerChevronPulse {
  0%, 100% { opacity: 0.22; }
  18% { opacity: 1; }
  40% { opacity: 0.22; }
}

@media (prefers-reduced-motion: reduce) {
  .pointer-chevron {
    opacity: 1;
    animation: none;
  }
}

/* At max-width: 900px the layout stacks (text above grid). A right-pointing
   arrow no longer aims at the plant grid — rotate to point down if needed. */

.btn-primary {
  background: #2b2b28;
  color: #ece7df;
  border: none;
  padding: 16px 28px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  width: fit-content;
}

.btn-primary:hover {
  background: #4a4a45;
}

.btn-secondary {
  background: transparent;
  color: #4a4a45;
  border: 1.5px solid #2b2b28;
  padding: 14px 24px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.btn-secondary:hover {
  background: #2b2b28;
  color: #ece7df;
}

.btn-action {
  background: #2b2b28;
  color: #ece7df;
  border: none;
  padding: 14px 24px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.btn-action:hover {
  background: #4a4a45;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: #4a4a45;
  padding: 8px;
  line-height: 1;
}

.screen-scroll {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  padding: 0 24px 0 0;
  scrollbar-width: thin;
  scrollbar-color: #4a4a45 transparent;
}

.screen-scroll::-webkit-scrollbar {
  width: 2px;
}

.screen-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.screen-scroll::-webkit-scrollbar-thumb {
  background: #4a4a45;
  border-radius: 0;
}

.screen-scroll::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Plant picker */
.plant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.plant-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  align-items: center;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}

.plant-card:hover,
.plant-card.active {
  border-color: #4a4a45;
  background: #fff;
}

.plant-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.plant-info h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.05em;
  font-weight: 700;
  margin: 0 0 4px;
}

.plant-info .botanical {
  margin: 0;
  font-size: 0.9em;
  color: #4a4a45;
  font-style: italic;
}

#screen-form {
  justify-content: center;
  position: relative;
  flex: 1;
  min-height: 0;
}

#screen-schedule {
  justify-content: center;
  position: relative;
}

.panel-back {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Archivo', sans-serif);
  font-size: 22px;
  line-height: 1;
  color: var(--label, #40382E);
}

.panel-back:hover {
  color: var(--ink, #33302A);
}

/* Plant sheet — onboarding + schedule result */
#screen-form .onboard,
#screen-schedule .onboard {
  --ink: #33302A;
  --muted: #6E695F;
  --accent: #40573F;
  --border: #DDD6C8;
  --font-title: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

#screen-form .onboard {
  padding-bottom: 48px;
}

#screen-form .onboard-title,
#screen-schedule .onboard-title {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

#screen-schedule .onboard-kicker {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
}

#screen-schedule .onboard-headline {
  margin: 0 0 28px;
  line-height: 1.15;
}

#screen-schedule .onboard-headline-lead {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--muted);
  margin-right: 0.4em;
}

#screen-schedule .onboard-headline-plant {
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

#screen-schedule .onboard-story {
  margin: 0 0 36px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
  color: var(--muted);
  width: 100%;
  max-width: none;
}

#screen-schedule .onboard-highlight {
  color: var(--ink);
  font-weight: 500;
}

#screen-form .onboard-tagline,
#screen-schedule .onboard-tagline {
  margin: 0 0 20px;
  font-family: inherit;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--accent);
}

#screen-form .onboard-desc,
#screen-schedule .onboard-desc {
  margin: 0 0 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
}

#screen-form .onboard-rule,
#screen-schedule .onboard-rule {
  width: 100%;
  height: 0;
  margin: 0 0 4px;
  border: 0;
  border-top: 1px solid var(--border);
}

#screen-form .onboard-rows,
#screen-schedule .onboard-rows {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
}

#screen-form .onboard-row,
#screen-schedule .onboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

#screen-form .onboard-row-label,
#screen-schedule .onboard-row-label {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
  flex-shrink: 0;
}

#screen-schedule .onboard-row-value {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
  text-align: right;
}

#screen-form .onboard-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 8px;
}

#screen-form .onboard-sep {
  font-family: inherit;
  font-size: 15px;
  color: rgba(110, 105, 95, 0.5);
  user-select: none;
}

#screen-form .onboard-opt {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
  cursor: pointer;
  text-underline-offset: 0.12em;
}

#screen-form .onboard-opt:hover {
  color: var(--ink);
}

#screen-form .onboard-opt:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

#screen-form .onboard-opt[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
}

#screen-form .onboard-submit,
#screen-schedule .onboard-submit {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  cursor: pointer;
  text-align: center;
}

#screen-form .onboard-submit:hover,
#screen-schedule .onboard-submit:hover {
  background: rgba(51, 48, 42, 0.04);
}

#screen-form .onboard-submit:focus-visible,
#screen-schedule .onboard-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

#screen-form .onboard-submit:disabled,
#screen-schedule .onboard-submit:disabled {
  opacity: 0.55;
  cursor: default;
}

#screen-schedule .onboard-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

#screen-schedule .onboard-link {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  text-underline-offset: 0.12em;
}

#screen-schedule .onboard-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.talk-submit {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #4a4a45;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.08em;
}

.talk-submit:hover {
  color: #4a4a45;
}

.talk-submit:disabled {
  cursor: default;
  text-decoration: none;
  color: #4a4a45;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7em;
}

.schedule-list-item {
  display: block;
  text-align: left;
  max-width: 34em;
}

.main-panel.is-schedule {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 30%);
}

.main-panel.is-schedule.is-schedule-detail {
  grid-template-columns: 1fr 1fr;
}

.main-panel.is-schedule .photo-panel,
.main-panel.is-schedule .photo-panel.show-single {
  background: #c9c2b4;
  padding: 0;
  border-left: none;
}

.main-panel.is-schedule .photo-panel.show-single .single-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
}

.plan-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 0 48px;
}

.plan-kicker {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a877f;
}

.plan-board {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.plan-head,
.plan-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.7fr) minmax(110px, 1fr) minmax(100px, 0.9fr) minmax(110px, 1fr) minmax(88px, 0.8fr);
  align-items: center;
  width: 100%;
  min-width: 640px;
  column-gap: 8px;
}

.plan-head {
  padding: 0 0 10px;
}

.plan-head span {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a877f;
}

.plan-head span:first-child {
  color: #4a4a45;
  box-shadow: inset 0 -2px 0 #2b2b28;
  width: fit-content;
  padding-bottom: 6px;
}

.plan-row {
  padding: 16px 0;
  border-top: 1px dotted #c5c0b6;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
}

.plan-row.is-button {
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  padding: 16px 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.plan-row.is-button:hover .plan-name {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.plan-plant {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.plan-avatar {
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  flex-shrink: 0;
  background: #c9c2b4;
}

.plan-plant-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plan-name {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #4a4a45;
  letter-spacing: -0.02em;
}

.plan-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8a877f;
  font-style: italic;
}

.plan-cell {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #4a4a45;
}

.plan-overall {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #4a4a45;
  background: rgba(43, 43, 40, 0.06);
  margin: -16px 0;
  padding: 28px 16px;
  min-height: 100%;
}

.plan-head span:last-child {
  background: rgba(43, 43, 40, 0.06);
  margin: -10px 0;
  padding: 18px 16px 16px;
}

.plan-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(43, 43, 40, 0.18);
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #4a4a45;
  max-width: 42em;
}

.plan-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.feed-intro {
  margin: -8px 0 0;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: #8a877f;
}

.feed-table {
  width: 100%;
  min-width: 0;
}

.feed-head,
.feed-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(200px, 0.9fr);
  gap: 20px 32px;
  align-items: start;
  width: 100%;
}

.feed-head {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(43, 43, 40, 0.12);
}

.feed-head span {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #8a877f;
}

.feed-head span:last-child {
  text-align: right;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.feed-card {
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid rgba(43, 43, 40, 0.1);
  background: none;
  margin: 0;
}

.feed-card:last-child {
  border-bottom: none;
}

.feed-story {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.feed-name,
.feed-reason,
.feed-countdown-meta {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #4a4a45;
}

.feed-name {
  font-weight: 400;
}

.feed-reason {
  font-weight: 400;
  color: #4a4a45;
}

.feed-status {
  min-width: 0;
  padding: 0;
  background: none;
  justify-self: end;
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.feed-countdown {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  margin: 0;
}

.feed-bars {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 12px;
  width: 100%;
}

.feed-bar {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 1px;
  background: rgba(43, 43, 40, 0.08);
}

.feed-bar.is-filled.is-healthy { background: rgba(95, 145, 88, 0.55); }
.feed-bar.is-filled.is-warning { background: rgba(196, 148, 78, 0.55); }
.feed-bar.is-filled.is-failing { background: rgba(176, 98, 90, 0.6); }

.feed-countdown-meta {
  font-weight: 400;
  color: #8a877f;
  text-align: right;
}

.feed-remove {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #8a877f;
  cursor: pointer;
  text-underline-offset: 0.12em;
}

.feed-remove:hover {
  color: #4a4a45;
  text-decoration: underline;
}

.feed-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 8px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: #8a877f;
}

.feed-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-legend i {
  width: 14px;
  height: 4px;
  border-radius: 1px;
  display: inline-block;
}

.feed-legend i.is-healthy { background: rgba(95, 145, 88, 0.55); }
.feed-legend i.is-warning { background: rgba(196, 148, 78, 0.55); }
.feed-legend i.is-failing { background: rgba(176, 98, 90, 0.6); }

/* Schedule */
.schedule-card {
  background: rgba(255, 255, 255, 0.5);
  padding: 24px;
  margin-bottom: 16px;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
  gap: 12px;
}

.schedule-header h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.35em;
  font-weight: 800;
  margin: 0;
}

.schedule-header p {
  margin: 4px 0 0;
  color: #4a4a45;
  font-size: 0.9em;
}

.countdown-badge {
  background: #2b2b28;
  color: #ece7df;
  padding: 8px 14px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05em;
  white-space: nowrap;
}

.schedule-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1em;
}

.schedule-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.schedule-detail strong {
  font-weight: 600;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  flex-shrink: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 43, 40, 0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #ece7df;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  margin: 0 0 12px;
}

.modal-content p {
  color: #4a4a45;
  margin: 0 0 24px;
  line-height: 1.6;
}

.modal-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Keep shared footer out of document flow so it never creates a page scrollbar */
body > footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  margin: 0 !important;
  padding: 0.65rem 1rem !important;
  background: transparent !important;
  border-top: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  pointer-events: none;
}

body > footer a {
  color: rgba(255, 255, 255, 0.8);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .stage {
    padding: 0;
  }

  .main-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 0.4fr) minmax(0, 0.6fr);
    box-shadow: none;
  }

  .main-panel.is-schedule {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(110px, 0.22fr);
  }

  .main-panel.is-schedule.is-schedule-detail {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }

  .feed-head,
  .feed-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feed-head {
    display: none;
  }

  .main-panel.is-schedule .photo-panel,
  .main-panel.is-schedule .photo-panel.show-single {
    padding: 0;
    border-left: none;
    border-top: none;
  }

  .main-panel.is-schedule .photo-panel.show-single .single-image {
    border-radius: 0;
  }

  .text-panel {
    padding: 28px 24px 20px;
  }

  .logo {
    font-size: 17.6px;
    gap: 8px;
  }

  .logo-mark {
    width: 26px;
    height: 26px;
  }

  .headline {
    font-size: clamp(26px, 7.8vw, 41.6px);
  }

  .subheadline {
    font-size: 15px;
  }

  .photo-panel {
    padding: 16px 20px 20px;
  }

  .photo-grid {
    gap: 8px;
  }

  .grid-nav {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .grid-nav-prev { left: 0; }
  .grid-nav-next { right: 0; }

  .action-row,
  .modal-buttons {
    grid-template-columns: 1fr;
  }
}

/* Schedule result — "Field note".
   Serif throughout, 1.78 leading, measure held to ~56 characters.
   Whitespace separates; there are no rules on this page. */
#screen-schedule .sched-plant {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(32px, 3.8vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.008em;
  color: var(--ink, #33302A);
}

#screen-schedule .sched-botanical {
  margin: 6px 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--muted, #6E695F);
}

/* The answer, at reading size rather than as a statistic. */
#screen-schedule .sched-lede {
  margin: 38px 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink, #33302A);
  max-width: 28ch;
}

#screen-schedule .sched-para {
  margin: 26px 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0;
  color: var(--muted, #6E695F);
  max-width: 56ch;
}

#screen-schedule .sched-em {
  color: var(--ink, #33302A);
  font-weight: 600;
}

#screen-schedule .sched-meta {
  margin: 34px 0 0;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a877f;
}

#screen-schedule .sched-note-layout .onboard-actions {
  margin-top: 40px;
}

@media (max-width: 900px) {
  #screen-schedule .sched-lede { font-size: 20px; margin-top: 28px; }
  #screen-schedule .sched-para { font-size: 16px; margin-top: 20px; }
  #screen-schedule .sched-meta { margin-top: 26px; }
}
