:root {
  --font-display: "Forager-Light", "Forager Light", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@font-face {
  font-family: "Forager-Light";
  src: local("Forager-Light"), local("Forager Light");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: local("Inter");
  font-display: swap;
  font-style: normal;
}

:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #69746f;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #dfe6df;
  --mint: #b9e6c9;
  --fern: #2f7d53;
  --deep-fern: #1f563c;
  --sun: #f5c95d;
  --coral: #ef846d;
  --sky: #a7cce3;
  --lavender: #c7bde2;
  --shadow: 0 18px 50px rgba(32, 49, 41, 0.12);
  --radius-card: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(47, 125, 83, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 125, 83, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

button,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 125, 83, 0.28);
  outline-offset: 3px;
}

.app-shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 30px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(47, 125, 83, 0.16);
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.app-logo {
  width: clamp(58px, 6vw, 82px);
  aspect-ratio: 1;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 86, 60, 0.18);
  object-fit: cover;
}

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

.topbar h1,
h2,
p {
  margin: 0;
}

.topbar h1 {
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand-tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.7vw, 1.18rem);
  font-weight: 750;
  line-height: 1.2;
}

.eyebrow {
  color: var(--fern);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.today-pill,
.spark-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.spark-badge {
  border-color: rgba(239, 132, 109, 0.36);
  background: #fff1ed;
  color: #9c402f;
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(390px, 1.4fr) minmax(280px, 0.94fr);
  grid-template-areas:
    "garden dump organize"
    "garden calendar organize";
  gap: 16px;
  align-items: stretch;
}

.garden-panel,
.organizer-panel,
.calendar-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: 16px;
}

.garden-panel,
.organizer-panel,
.calendar-panel,
.task-card,
.plant-card,
.next-card,
.empty-state {
  border-radius: var(--radius-card);
}

.garden-panel {
  grid-area: garden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100vh - 176px);
  min-height: 0;
}

.dump-panel {
  grid-area: dump;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.organizer-panel {
  grid-area: organize;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100vh - 176px);
  min-height: 0;
}

.calendar-panel {
  grid-area: calendar;
}

.section-head,
.dump-head,
.dump-actions,
.month-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head {
  min-height: 40px;
  margin-bottom: 14px;
}

.section-actions {
  display: flex;
  gap: 8px;
}

.section-head h2,
.dump-head h2 {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.dump-square {
  width: min(100%, 590px);
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid rgba(47, 125, 83, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(185, 230, 201, 0.4), rgba(255, 255, 255, 0.92) 36%),
    var(--panel);
  box-shadow: 0 26px 80px rgba(31, 86, 60, 0.18);
}

#quickDump {
  width: 100%;
  min-height: 0;
  resize: none;
  border: 1px dashed rgba(47, 125, 83, 0.35);
  border-radius: 18px;
  padding: 18px;
  background: rgba(247, 248, 244, 0.68);
  color: var(--ink);
  line-height: 1.5;
}

#quickDump::placeholder {
  color: #7d8983;
}

.primary-button,
.ghost-button,
.icon-button,
.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  flex: 1;
  padding: 0 16px;
  background: var(--deep-fern);
  color: white;
}

.ghost-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.icon-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.chip-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(47, 125, 83, 0.28);
  background: #eff9f2;
  color: var(--deep-fern);
  font-size: 0.78rem;
}

[data-icon] {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

[data-icon] svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.garden-list,
.focus-sections {
  display: grid;
  gap: 10px;
}

.garden-list,
.focus-sections,
.focus-task-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: rgba(47, 125, 83, 0.42) rgba(239, 244, 240, 0.84);
  scrollbar-width: thin;
}

.garden-list::-webkit-scrollbar,
.focus-sections::-webkit-scrollbar,
.focus-task-list::-webkit-scrollbar {
  width: 10px;
}

.garden-list::-webkit-scrollbar-track,
.focus-sections::-webkit-scrollbar-track,
.focus-task-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(239, 244, 240, 0.84);
}

.garden-list::-webkit-scrollbar-thumb,
.focus-sections::-webkit-scrollbar-thumb,
.focus-task-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(239, 244, 240, 0.84);
  border-radius: 999px;
  background: rgba(47, 125, 83, 0.48);
}

.plant-card,
.task-card,
.next-card,
.empty-state {
  border: 1px solid var(--line);
  background: var(--panel);
}

.plant-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 148px;
  padding: 12px;
  overflow: hidden;
  position: relative;
}

.plant-card.watered {
  animation: waterPulse 900ms ease-out;
}

.tree-art {
  --growth: 0.02;
  --leaf-a: #6fbf73;
  --leaf-b: #2f7d53;
  --leaf-c: #9fd9a8;
  --trunk: #8f5a37;
  --accent: #f5c95d;
  display: grid;
  place-items: center;
  position: relative;
  width: 96px;
  height: 118px;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  isolation: isolate;
}

.tree-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-origin: 50% 92%;
  filter: drop-shadow(0 6px 9px rgba(31, 86, 60, 0.14));
}

.svg-crown,
.svg-stem,
.svg-trunk,
.svg-seed {
  transform-origin: 48px 102px;
}

.plant-card.watered .tree-svg {
  animation: treeSettle 900ms ease-out;
}

.plant-card.watered .svg-crown {
  animation: leafLift 900ms ease-out;
}

.tree-sky {
  position: absolute;
  inset: 4px 3px 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 230, 201, 0.44), rgba(255, 255, 255, 0) 66%);
  opacity: calc(0.35 + var(--growth) * 0.35);
}

.tree-soil {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 7px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(180deg, #b57954, #74472f);
}

.tree-seed {
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 18px;
  height: 11px;
  transform: translateX(-50%) rotate(-18deg);
  border-radius: 100% 0 100% 0;
  background: #8d5c37;
  box-shadow: inset -2px 1px 0 rgba(255, 255, 255, 0.24);
  opacity: calc(1 - var(--growth) * 0.75);
}

.tree-trunk {
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: calc(5px + 9px * var(--growth));
  height: calc(10px + 48px * var(--growth));
  transform: translateX(-50%);
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(90deg, #74472f, var(--trunk));
  transform-origin: bottom;
  opacity: calc(0.2 + var(--growth) * 0.85);
}

.tree-branch {
  position: absolute;
  left: 50%;
  bottom: calc(38px + 28px * var(--growth));
  width: calc(4px + 18px * var(--growth));
  height: 5px;
  border-radius: 999px;
  background: var(--trunk);
  opacity: calc(var(--growth) * 0.95);
  transform-origin: left center;
}

.tree-branch-left {
  transform: translateX(-3px) rotate(-32deg);
}

.tree-branch-right {
  transform: translateX(3px) rotate(32deg);
}

.tree-canopy {
  position: absolute;
  border: 1px solid rgba(31, 86, 60, 0.12);
  background: linear-gradient(135deg, var(--leaf-c), var(--leaf-a) 44%, var(--leaf-b));
  opacity: calc(var(--growth) * 1.08);
}

.canopy-main {
  left: 20px;
  bottom: calc(44px + 20px * var(--growth));
  width: calc(18px + 34px * var(--growth));
  height: calc(18px + 34px * var(--growth));
  border-radius: 48% 52% 44% 56%;
}

.canopy-left {
  left: calc(18px - 10px * var(--growth));
  bottom: calc(39px + 19px * var(--growth));
  width: calc(14px + 24px * var(--growth));
  height: calc(14px + 24px * var(--growth));
  border-radius: 54% 46% 58% 42%;
}

.canopy-right {
  right: calc(18px - 10px * var(--growth));
  bottom: calc(38px + 18px * var(--growth));
  width: calc(14px + 24px * var(--growth));
  height: calc(14px + 24px * var(--growth));
  border-radius: 42% 58% 44% 56%;
}

.canopy-top {
  left: 27px;
  bottom: calc(55px + 24px * var(--growth));
  width: calc(12px + 22px * var(--growth));
  height: calc(12px + 22px * var(--growth));
  border-radius: 50%;
}

.tree-fruit {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(var(--growth));
}

.fruit-one {
  left: 29px;
  bottom: 70px;
}

.fruit-two {
  left: 45px;
  bottom: 61px;
}

.fruit-three {
  left: 37px;
  bottom: 82px;
}

.stage-seed .tree-trunk,
.stage-seed .tree-branch,
.stage-seed .tree-canopy,
.stage-seed .tree-fruit {
  opacity: 0;
}

.stage-sprout .tree-branch,
.stage-sprout .tree-fruit,
.stage-sprout .canopy-main,
.stage-sprout .canopy-right,
.stage-sprout .canopy-top {
  opacity: 0;
}

.stage-sprout .canopy-left {
  opacity: 0.92;
  border-radius: 100% 0 100% 0;
  transform: rotate(-24deg);
}

.stage-sapling .tree-fruit {
  opacity: 0;
}

.stage-tree .tree-fruit {
  opacity: 1;
}

.tree-oak {
  --leaf-a: #6eaa55;
  --leaf-b: #2f6f3b;
  --leaf-c: #a8ce80;
  --trunk: #8a5a37;
}

.tree-poplar {
  --leaf-a: #7fbc72;
  --leaf-b: #3c844c;
  --leaf-c: #c0dda1;
}

.tree-poplar .tree-canopy {
  border-radius: 48% 48% 38% 38%;
}

.tree-poplar .canopy-left,
.tree-poplar .canopy-right {
  width: calc(10px + 17px * var(--growth));
}

.tree-blossom {
  --leaf-a: #f4b9c5;
  --leaf-b: #d8788d;
  --leaf-c: #fde3e8;
  --accent: #8b5aa7;
}

.tree-blossom .tree-canopy {
  border-color: rgba(216, 120, 141, 0.22);
}

.tree-pine {
  --leaf-a: #4c9460;
  --leaf-b: #1f6141;
  --leaf-c: #89be82;
}

.tree-pine .tree-canopy {
  border-radius: 8px 8px 44% 44%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tree-pine .canopy-left,
.tree-pine .canopy-right {
  display: none;
}

.tree-willow {
  --leaf-a: #8bc78a;
  --leaf-b: #3c7d55;
  --leaf-c: #c5df9b;
}

.tree-willow .tree-canopy {
  border-radius: 50% 50% 42% 42%;
}

.tree-willow .canopy-left,
.tree-willow .canopy-right {
  height: calc(20px + 42px * var(--growth));
  border-radius: 45% 45% 58% 58%;
}

.tree-citrus {
  --leaf-a: #72b85d;
  --leaf-b: #2f7d53;
  --leaf-c: #b8d982;
  --accent: #f2a43a;
}

.tree-birch {
  --leaf-a: #9fca68;
  --leaf-b: #648f45;
  --leaf-c: #d4df9a;
  --trunk: #d9d3bd;
}

.tree-cypress {
  --leaf-a: #507f62;
  --leaf-b: #244d3a;
  --leaf-c: #88aa76;
}

.tree-cypress .tree-canopy {
  border-radius: 48% 48% 24% 24%;
}

.tree-palm {
  --leaf-a: #87ba56;
  --leaf-b: #2d7d56;
  --leaf-c: #c6d674;
}

.tree-palm .tree-trunk {
  transform: translateX(-50%) rotate(-6deg);
}

.tree-palm .tree-canopy {
  border-radius: 100% 0 100% 0;
}

.plant-meta h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.15;
}

.plant-meta p,
.task-card p,
.empty-state p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.plant-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.stat-pill,
.tag,
.urgency-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.stat-pill {
  background: #eef4f0;
  color: var(--deep-fern);
}

.priority-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.priority-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
}

.priority-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
  line-height: 1;
}

.priority-card strong {
  font-size: 1.3rem;
}

.priority-now {
  background: #ffe7df;
}

.priority-soon {
  background: #fff2ca;
}

.priority-later {
  background: #eaf5f8;
}

.action-queue {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.action-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: var(--deep-fern);
}

.queue-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eff9f2;
  font-weight: 900;
}

.action-strip {
  display: grid;
  gap: 8px;
}

.next-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.next-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sky);
}

.urgency-edge-now::before {
  background: var(--coral);
}

.urgency-edge-soon::before {
  background: var(--sun);
}

.urgency-edge-later::before {
  background: var(--sky);
}

.next-sigil {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef4f0;
  color: var(--deep-fern);
  font-weight: 900;
}

.next-card h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.1;
}

.next-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.mini-icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--deep-fern);
}

.mini-icon-button [data-icon] {
  width: 16px;
  height: 16px;
}

.action-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--deep-fern);
}

.group-block {
  display: grid;
  gap: 8px;
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px;
}

.task-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--fern);
}

.task-card.done p {
  text-decoration: line-through;
}

.task-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.urgency-now {
  background: #ffe4dd;
  color: #9c402f;
}

.urgency-soon {
  background: #fff0bf;
  color: #86620c;
}

.urgency-later {
  background: #eaf5f8;
  color: #2f6070;
}

.tag {
  background: #eef4f0;
  color: var(--deep-fern);
}

.focus-sections {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.focus-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.focus-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.focus-section-head strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.focus-now .focus-section-head {
  background: #ffe7df;
}

.focus-soon .focus-section-head {
  background: #fff2ca;
}

.focus-later .focus-section-head {
  background: #eaf5f8;
}

.focus-task-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
}

.focus-empty {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px dashed rgba(47, 125, 83, 0.24);
  border-radius: 8px;
  background: #f7faf7;
  color: var(--muted);
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday,
.calendar-day {
  min-width: 0;
  text-align: center;
}

.weekday {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  place-items: center;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  position: relative;
}

.calendar-day.is-muted {
  color: #a7b1ac;
  background: #f0f3f0;
}

.calendar-day.is-today {
  border-color: var(--fern);
  box-shadow: inset 0 0 0 2px rgba(47, 125, 83, 0.18);
}

.calendar-day.is-selected {
  background: var(--deep-fern);
  color: white;
}

.day-dot {
  position: absolute;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.tracker-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.tracker-item {
  min-width: 0;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.tracker-item label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.tracker-item input {
  margin: 1px 0 0;
  accent-color: var(--fern);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
}

.empty-state [data-icon] {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  color: var(--fern);
}

@keyframes waterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 125, 83, 0.32);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(47, 125, 83, 0);
  }
}

@keyframes treeSettle {
  0% {
    transform: translateY(7px) scale(0.94);
  }
  58% {
    transform: translateY(-3px) scale(1.035);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes leafLift {
  0% {
    transform: scale(0.92);
  }
  55% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .planner-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
    grid-template-areas:
      "dump dump"
      "garden organize"
      "calendar organize";
  }

  .dump-panel {
    min-height: auto;
  }

  .dump-square {
    aspect-ratio: auto;
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 20px, 640px);
    padding-top: 14px;
  }

  .topbar {
    display: grid;
    align-items: start;
  }

  .planner-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "dump"
      "organize"
      "garden"
      "calendar";
  }

  .dump-square {
    min-height: 510px;
    border-radius: 22px;
  }

  .dump-head,
  .dump-actions,
  .section-head {
    align-items: stretch;
  }

  .dump-head,
  .section-head {
    flex-wrap: wrap;
  }

  .dump-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
  }

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

  .calendar-day {
    min-height: 38px;
  }
}

.portfolio-return{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 24px;background:#244a36;color:#fff;font:14px/1.5 system-ui}.portfolio-return a{color:inherit;text-underline-offset:4px;min-height:32px;display:flex;align-items:center}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Portfolio-hosted demo: allow controls to fit narrow phones. */
.planner-grid>*{min-width:0}.dump-square,.garden-list,.focus-sections,.calendar-grid{min-width:0;max-width:100%}.dump-actions{flex-wrap:wrap}.dump-actions .primary-button,.dump-actions .ghost-button{flex:1 1 110px;min-width:0}.brand-copy{min-width:0}.topbar h1{overflow-wrap:anywhere}.section-head{flex-wrap:wrap;gap:12px}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.plant-meta,.plant-title,.task-card{overflow-wrap:anywhere}
@media(max-width:760px){.planner-grid{grid-template-columns:minmax(0,1fr)}.dump-actions{display:flex!important}.dump-actions .icon-button{flex:0 0 40px}.topbar h1{font-size:clamp(27px,8vw,36px)}.calendar-day{min-width:0;padding-inline:2px}.tracker-row{flex-wrap:wrap}}
html,body{min-width:0!important;width:100%;max-width:100%}.app-shell{min-width:0}.calendar-grid>*{min-width:0}
