:root {
  --forest: #173f35;
  --forest-deep: #103229;
  --leaf: #5f9140;
  --lime: #c9dc8d;
  --cream: #f7f5ec;
  --ink: #15251f;
  --muted: #63706a;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 18%, rgba(201, 220, 141, .11), transparent 25rem),
    #fafbf8;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: var(--forest);
}

.site-nav {
  border-bottom: 1px solid rgba(23, 63, 53, .08);
  background: rgba(255, 255, 253, .88);
  box-shadow: 0 8px 30px rgba(21, 37, 31, .025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-link {
  letter-spacing: -.025em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 12%;
  background: var(--forest);
  transform: rotate(-12deg);
  box-shadow: inset -6px -5px 0 rgba(255,255,255,.06);
}

.brand-mark::before,
.brand-mark span {
  position: absolute;
  content: "";
  display: block;
}

.brand-mark::before {
  width: 12px;
  height: 8px;
  right: -4px;
  top: 3px;
  border-radius: 100% 0 100% 0;
  background: var(--lime);
  transform: rotate(28deg);
}

.brand-mark span {
  width: 2px;
  height: 18px;
  left: 14px;
  top: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.75);
  transform: rotate(14deg);
}

.brand-mark-small {
  width: 23px;
  height: 23px;
}

.brand-mark-small span {
  height: 13px;
  left: 11px;
  top: 6px;
}

.nav-link {
  position: relative;
  padding: .65rem .8rem;
  border-radius: .75rem;
  color: #53615b;
  font-size: .875rem;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--forest);
  background: #f1f6ed;
}

.nav-link.is-active::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  left: calc(50% - 2px);
  bottom: 3px;
  border-radius: 999px;
  background: var(--leaf);
}

.nav-toggle {
  background: #f3f5f1;
}

.mobile-nav {
  border-top: 1px solid rgba(23, 63, 53, .07);
  padding-top: .75rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(23, 63, 53, .07);
  background:
    linear-gradient(115deg, rgba(247,245,236,.96) 0%, rgba(249,251,246,.94) 52%, rgba(231,240,220,.9) 100%);
}

.hero-section::before {
  position: absolute;
  content: "";
  width: 26rem;
  height: 26rem;
  right: -11rem;
  bottom: -15rem;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(23,63,53,.12);
  box-shadow: 0 0 0 3rem rgba(255,255,255,.16), 0 0 0 6rem rgba(255,255,255,.1);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  opacity: .65;
}

.hero-glow-one {
  width: 13rem;
  height: 13rem;
  top: 8%;
  left: -8rem;
  background: rgba(201, 220, 141, .45);
}

.hero-glow-two {
  width: 6rem;
  height: 6rem;
  top: 17%;
  right: 9%;
  background: rgba(255, 221, 148, .32);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #46653b;
  font-size: .72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7e9f4e;
  box-shadow: 0 0 0 5px rgba(126,159,78,.12);
}

.hero-title {
  max-width: 670px;
  color: var(--ink);
  font-size: clamp(3.35rem, 7.3vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 750;
}

.hero-title span {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.055em;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  color: var(--forest);
  font-weight: 700;
  transition: background .2s ease;
}

.btn-quiet:hover {
  background: rgba(255,255,255,.65);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.hero-trust span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: .6rem;
  border-radius: 50%;
  background: #9aaa94;
}

.hero-trust b {
  color: #31433b;
  font-weight: 700;
}

.planner-preview-wrap {
  position: relative;
  padding: 1rem 0;
}

.planner-preview {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 1.65rem;
  background: #fff;
  box-shadow:
    0 35px 80px rgba(24, 53, 42, .18),
    0 5px 15px rgba(24, 53, 42, .08);
  transform: rotate(1deg);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 1rem 1.3rem 1rem 1.6rem;
  border-bottom: 1px solid #edf0e9;
}

.preview-toolbar h2 {
  margin-top: .15rem;
  color: #22372f;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -.025em;
}

.preview-kicker,
.preview-season small {
  color: #96a09a;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.preview-avatar {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: #edf3e5;
  font-size: .65rem;
  font-weight: 800;
}

.preview-body {
  display: grid;
  grid-template-columns: 8.6rem 1fr;
  min-height: 25rem;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.4rem .8rem;
  border-right: 1px solid #edf0e9;
  background: #fbfcfa;
}

.preview-tab {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .7rem;
  border-radius: .6rem;
  color: #75817b;
  font-size: .65rem;
  font-weight: 650;
}

.preview-tab i {
  width: .65rem;
  height: .65rem;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.preview-tab.is-current {
  color: var(--forest);
  background: #edf4e7;
}

.preview-tab.is-current i {
  border-radius: 50%;
  background: var(--forest);
  box-shadow: inset 0 0 0 2px #edf4e7;
}

.preview-season {
  margin-top: auto;
  padding: .9rem .7rem;
  border-radius: .75rem;
  background: #f2f3ec;
}

.preview-season strong,
.preview-season span {
  display: block;
}

.preview-season strong {
  margin-top: .35rem;
  color: #30433a;
  font-size: .7rem;
}

.preview-season span {
  margin-top: .15rem;
  color: #8a958f;
  font-size: .55rem;
}

.preview-canvas,
.map-grid-bg {
  background-color: #f7faf5;
  background-image:
    linear-gradient(rgba(80,110,67,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,110,67,.075) 1px, transparent 1px);
  background-size: 28px 28px;
}

.preview-canvas {
  position: relative;
  overflow: hidden;
}

.garden-bed {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid rgba(68,102,48,.3);
  border-radius: 1rem;
  background: rgba(185, 208, 150, .55);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.24);
}

.garden-bed span {
  position: absolute;
  left: .7rem;
  top: .55rem;
  color: #47633a;
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.garden-bed i {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 1rem;
  border: 4px solid rgba(71,110,52,.16);
  border-radius: 50% 0 50% 50%;
  background: #688f4c;
  transform: rotate(-35deg);
}

.bed-one {
  width: 44%;
  height: 32%;
  top: 12%;
  left: 9%;
}

.bed-two {
  width: 27%;
  height: 28%;
  top: 16%;
  right: 9%;
  border-radius: 50%;
  background: rgba(232, 207, 150, .48);
}

.bed-two i {
  background: #839951;
}

.bed-three {
  width: 70%;
  height: 28%;
  left: 16%;
  bottom: 13%;
  background: rgba(197, 217, 164, .52);
}

.preview-add {
  position: absolute;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  right: .9rem;
  bottom: .9rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 1.3rem;
  box-shadow: 0 7px 15px rgba(23,63,53,.22);
}

.preview-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border: 1px solid rgba(23,63,53,.08);
  border-radius: .8rem;
  color: #4c5d55;
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 30px rgba(23,63,53,.14);
  font-size: .7rem;
  font-weight: 700;
}

.preview-note span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: .45rem;
  color: var(--forest);
  background: #eaf2df;
  font-weight: 850;
}

.preview-note-top {
  top: -1rem;
  right: -1rem;
}

.preview-note-bottom {
  left: -1.2rem;
  bottom: -1rem;
}

.section-heading h2,
.cta-panel h2,
.workflow-section h2 {
  line-height: 1.08;
}

.feature-card {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid #e5eae1;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 35px rgba(21,37,31,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  border-color: #d4e0ca;
  box-shadow: 0 20px 45px rgba(21,37,31,.08);
  transform: translateY(-4px);
}

.feature-card h3 {
  margin-top: 2rem;
  color: #1f332b;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -.025em;
}

.feature-card p {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.feature-number {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  color: #a6b0aa;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.feature-icon {
  position: relative;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.4rem;
  background: #eff4e9;
}

.feature-icon-map {
  background-image:
    linear-gradient(rgba(60,92,47,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,92,47,.09) 1px, transparent 1px);
  background-size: 17px 17px;
}

.feature-icon-map span {
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border: 4px solid rgba(87,127,61,.18);
  border-radius: 50% 0 50% 50%;
  background: #638d48;
  transform: rotate(-35deg);
}

.feature-icon-map span:nth-child(1) { left: 1rem; top: 1.1rem; }
.feature-icon-map span:nth-child(2) { right: .8rem; top: 2rem; transform: rotate(15deg) scale(.8); }
.feature-icon-map span:nth-child(3) { left: 2rem; bottom: .7rem; transform: rotate(-65deg) scale(.65); }

.feature-icon-note {
  padding: 1.2rem 1rem;
  background: #f5efe4;
}

.feature-icon-note span {
  display: block;
  height: 5px;
  margin: .5rem 0;
  border-radius: 3px;
  background: #b59672;
}

.feature-icon-note span:nth-child(2) { width: 72%; }
.feature-icon-note span:nth-child(3) { width: 87%; }

.feature-icon-season {
  display: grid;
  place-items: center;
  background: #eaf1e1;
}

.feature-icon-season span {
  width: 2.8rem;
  height: 2.8rem;
  border: 7px solid #779b59;
  border-right-color: #d0ddb6;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.feature-link {
  position: absolute;
  left: 1.7rem;
  bottom: 1.7rem;
  color: #46653b;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.workflow-section {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.workflow-section::after {
  position: absolute;
  content: "";
  width: 35rem;
  height: 35rem;
  right: -16rem;
  bottom: -20rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.018);
}

.eyebrow-light {
  color: var(--lime);
}

.workflow-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.14);
}

.workflow-list li {
  display: flex;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.workflow-list > li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201,220,141,.5);
  border-radius: 50%;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 800;
}

.workflow-list strong {
  color: #fff;
  font-size: 1rem;
}

.workflow-list p {
  margin-top: .25rem;
  color: #b9c9c2;
  font-size: .85rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 3.5rem;
  border: 1px solid #e4e8d8;
  border-radius: 2rem;
  background: linear-gradient(120deg, #f3f5e8, #faf8ef);
}

.cta-sprout {
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -5rem;
  bottom: -8rem;
  border: 1px solid rgba(95,145,64,.18);
  border-radius: 50% 50% 50% 15%;
  transform: rotate(-22deg);
}

.cta-sprout::before {
  position: absolute;
  content: "";
  width: 7rem;
  height: 4rem;
  left: -3rem;
  top: 4rem;
  border-radius: 100% 0 100% 0;
  background: rgba(201,220,141,.24);
  transform: rotate(-20deg);
}

.site-footer {
  border-top: 1px solid rgba(23,63,53,.08);
  background: rgba(255,255,253,.8);
}

.card {
  box-shadow: 0 10px 30px rgba(21, 37, 31, .045);
}

.garden-card {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.garden-card::after {
  position: absolute;
  content: "→";
  right: 1.15rem;
  bottom: .95rem;
  color: #66845a;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.garden-card:hover {
  border-color: #ceddc3;
  box-shadow: 0 16px 36px rgba(21,37,31,.09);
  transform: translateY(-3px);
}

.garden-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.flash-stack {
  position: fixed;
  z-index: 70;
  top: 5.35rem;
  right: 1rem;
  display: flex;
  width: min(23rem, calc(100vw - 2rem));
  flex-direction: column;
  gap: .65rem;
  pointer-events: none;
}

.flash-message {
  display: grid;
  min-height: 4.15rem;
  padding: .75rem .7rem .75rem .75rem;
  align-items: center;
  gap: .7rem;
  border: 1px solid #d9e3d5;
  border-radius: .9rem;
  color: #365047;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 42px rgba(20, 39, 31, .16);
  opacity: 0;
  pointer-events: auto;
  transform: translateX(calc(100% + 1.5rem));
  animation: flash-slide-in .24s cubic-bezier(.2, .8, .2, 1) forwards;
  grid-template-columns: 2rem minmax(0, 1fr) 1.8rem;
  backdrop-filter: blur(12px);
}

.flash-message.is-leaving {
  opacity: 0;
  transform: translateX(calc(100% + 1.5rem));
  transition: opacity .18s ease, transform .18s ease;
}

.flash-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  border-radius: .62rem;
  color: #fff;
  background: #5f7d55;
  font-size: .78rem;
  font-weight: 850;
  place-items: center;
}

.flash-copy {
  min-width: 0;
  font-size: .74rem;
  font-weight: 620;
  line-height: 1.45;
}

.flash-dismiss {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: .5rem;
  color: #839089;
  font-size: 1.2rem;
  line-height: 1;
  place-items: center;
}

.flash-dismiss:hover {
  color: #28483d;
  background: #eef3eb;
}

.flash-success {
  border-color: #cfe0c7;
}

.flash-success .flash-icon {
  background: #4f793e;
}

.flash-error {
  border-color: #efccc8;
  color: #8d302a;
}

.flash-error .flash-icon {
  background: #b64a41;
}

.flash-info .flash-icon {
  background: #477486;
}

@keyframes flash-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 560px) {
  .flash-stack {
    top: 4.85rem;
    right: .65rem;
    width: calc(100vw - 1.3rem);
  }
}

.plant-pin {
  cursor: grab;
}

.plant-pin:active {
  cursor: grabbing;
}

/* Garden map editor */
.editor-page {
  width: 100%;
}

.editor-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.editor-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #718079;
  font-size: .78rem;
  font-weight: 700;
  transition: color .2s ease;
}

.editor-back:hover {
  color: var(--forest);
}

.editor-title {
  overflow: hidden;
  max-width: 45rem;
  color: #192b24;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: -.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-size {
  padding: .32rem .62rem;
  border: 1px solid #e0e6dc;
  border-radius: .55rem;
  color: #68776f;
  background: #f6f8f3;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .035em;
}

.garden-weather {
  display: inline-flex;
  min-height: 3.2rem;
  padding: .35rem .42rem .35rem .65rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid #dce5d8;
  border-radius: .85rem;
  background: rgba(248, 251, 246, .92);
  box-shadow: 0 4px 14px rgba(28, 49, 38, .05);
}

.garden-weather-place {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.garden-weather-location {
  overflow: hidden;
  max-width: 9rem;
  color: #56705e;
  font-size: .61rem;
  font-weight: 780;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.garden-weather-credit {
  margin-top: .16rem;
  color: #91a098;
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.garden-weather-credit:hover {
  color: #4f6d5a;
  text-decoration: underline;
}

.garden-weather-days {
  display: flex;
  align-items: stretch;
}

.garden-weather-day {
  display: grid;
  min-width: 3.1rem;
  padding: 0 .42rem;
  border-left: 1px solid #e1e8de;
  place-items: center;
}

.garden-weather-weekday {
  color: #819087;
  font-size: .52rem;
  font-weight: 800;
  text-transform: uppercase;
}

.garden-weather-icon {
  margin: .04rem 0;
  font-size: .9rem;
  line-height: 1;
}

.garden-weather-temp {
  color: #344b40;
  font-size: .57rem;
  font-weight: 760;
  white-space: nowrap;
}

.garden-weather-placeholder {
  width: 2.5rem;
  height: 2rem;
  margin-left: .35rem;
  border-radius: .4rem;
  background: linear-gradient(90deg, #edf2ea 25%, #f8faf6 50%, #edf2ea 75%);
  background-size: 200% 100%;
  animation: weather-shimmer 1.2s linear infinite;
}

.garden-weather.has-error {
  min-height: auto;
  padding: .55rem .7rem;
}

.garden-weather-empty {
  padding: .45rem .68rem;
  border: 1px dashed #cad8c4;
  border-radius: .65rem;
  color: #64805b;
  background: #f8faf6;
  font-size: .68rem;
  font-weight: 750;
}

.garden-weather-empty:hover {
  color: #315b4c;
  border-color: #9eb994;
  background: #eef5ea;
}

@keyframes weather-shimmer {
  to { background-position: -200% 0; }
}

.editor-description {
  overflow: hidden;
  max-width: 44rem;
  margin-top: .45rem;
  color: #718079;
  font-size: .83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .55rem;
}

@media (max-width: 900px) {
  .garden-weather {
    flex-basis: 100%;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
  }
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 1rem;
}

.editor-workspace {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dde4da;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(21,37,31,.07);
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.7rem;
  padding: .8rem 1rem .8rem 1.15rem;
  border-bottom: 1px solid #e6ebe3;
  background: #fff;
}

.editor-toolbar-heading {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.editor-toolbar-heading h2 {
  color: #21342c;
  font-size: .9rem;
  line-height: 1.15;
  font-weight: 760;
}

.editor-toolbar-heading p {
  margin-top: .18rem;
  color: #929d97;
  font-size: .66rem;
  font-weight: 600;
}

.editor-toolbar-icon {
  position: relative;
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .65rem;
  background-color: #eaf1e4;
  background-image:
    linear-gradient(rgba(53,89,45,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,89,45,.11) 1px, transparent 1px);
  background-size: 9px 9px;
}

.editor-toolbar-icon::after {
  position: absolute;
  content: "";
  width: .75rem;
  height: .75rem;
  left: .8rem;
  top: .78rem;
  border: 3px solid rgba(77,118,55,.17);
  border-radius: 50% 0 50% 50%;
  background: #648e4a;
  transform: rotate(-35deg);
}

.editor-create-tools {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem;
  border: 1px solid #e3e8df;
  border-radius: .8rem;
  background: #f7f9f5;
}

.tool-label {
  padding: 0 .45rem;
  color: #8a958f;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-tool {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.25rem;
  padding: .45rem .68rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  color: #485951;
  background: transparent;
  font-size: .7rem;
  font-weight: 750;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.map-tool:hover {
  border-color: #dce5d6;
  color: var(--forest);
  background: #fff;
}

.map-tool.is-active,
.map-tool[aria-pressed="true"] {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
  box-shadow: 0 4px 12px rgba(23,63,53,.18);
}

.tool-shape {
  display: block;
  width: .8rem;
  height: .8rem;
  border: 1.5px solid currentColor;
}

.tool-shape-circle {
  border-radius: 50%;
}

.tool-shape-bed {
  width: 1rem;
  border-radius: 3px;
}

.tool-cancel {
  padding: .45rem .6rem;
  border-radius: .55rem;
  color: #9a4e49;
  font-size: .68rem;
  font-weight: 750;
}

.tool-cancel:hover {
  background: #fbefed;
}

.editor-canvas-shell {
  padding: .75rem;
  background: #f2f4ef;
}

.editor-canvas-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.6rem;
  padding: 0 .2rem .7rem .35rem;
}

#map-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #7b8881;
  font-size: .67rem;
  font-weight: 650;
}

.hint-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7ba258;
  box-shadow: 0 0 0 4px rgba(123,162,88,.13);
}

.zoom-controls {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #dce3d8;
  border-radius: .6rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(21,37,31,.04);
}

.zoom-controls button {
  display: grid;
  width: 2rem;
  height: 1.9rem;
  place-items: center;
  color: #4e6057;
  font-size: 1rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

.zoom-controls button:hover:not(:disabled) {
  color: var(--forest);
  background: #eef4e9;
}

.zoom-controls button:disabled {
  color: #c7cec9;
  cursor: not-allowed;
}

#zoom-label {
  min-width: 6rem;
  padding: 0 .45rem;
  color: #7d8983;
  font-size: .59rem;
  font-weight: 700;
  text-align: center;
}

.zoom-divider {
  width: 1px;
  height: 1rem;
  background: #e2e7df;
}

.editor-canvas-stage {
  position: relative;
  display: grid;
  min-height: 34rem;
  padding: 1.9rem 1.2rem 1.2rem 2.2rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e1d5;
  border-radius: .9rem;
  background: #e8ece5;
  box-shadow: inset 0 2px 12px rgba(21,37,31,.035);
}

.editor-canvas-stage.is-window-fit {
  height: var(--garden-fit-height, calc(100vh - 15rem));
  min-height: 14.5rem;
}

.editor-canvas-stage.is-window-fit #map-container {
  flex: 0 0 auto;
  max-width: 100%;
  max-height: 100%;
}

#map-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(100%, 78rem);
  border: 1px solid #bfcdb8;
  border-radius: .45rem;
  background-color: #fbfcf8;
  box-shadow:
    0 16px 36px rgba(32,53,43,.13),
    0 2px 5px rgba(32,53,43,.08);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  user-select: none;
}

#map-container *,
.editor-canvas-stage,
.editor-canvas-stage * {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

#map-container text,
#map-container tspan {
  pointer-events: none;
}

#map-container svg {
  width: 100%;
  height: auto;
  touch-action: pan-y;
}

#map-container .plant-pin {
  touch-action: none;
}

.map-scale {
  position: absolute;
  z-index: 4;
  bottom: .75rem;
  left: .8rem;
  display: flex;
  padding: .42rem .5rem .48rem;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(48, 72, 59, .16);
  border-radius: .55rem;
  background: rgba(252, 253, 249, .9);
  box-shadow: 0 3px 10px rgba(30, 52, 41, .1);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.map-scale-label {
  margin-bottom: .28rem;
  color: #30483b;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.map-scale-track {
  position: relative;
  display: flex;
  height: .42rem;
  border: 1px solid #30483b;
}

.map-scale-track::before,
.map-scale-track::after {
  position: absolute;
  bottom: -3px;
  width: 1px;
  height: 11px;
  content: "";
  background: #30483b;
}

.map-scale-track::before {
  left: -1px;
}

.map-scale-track::after {
  right: -1px;
}

.map-scale-track i {
  flex: 1;
  background: #30483b;
}

.map-scale-track i:nth-child(even) {
  background: #f8faf5;
}

.plant-shape {
  filter: drop-shadow(0 2px 2px rgba(30, 58, 43, .08));
  transition: fill-opacity .16s ease, stroke-width .16s ease, filter .16s ease;
}

.plant-pin:hover .plant-shape {
  fill-opacity: .27;
  filter: drop-shadow(0 3px 3px rgba(30, 58, 43, .13));
}

.plant-pin.is-selected .plant-shape {
  fill-opacity: .3;
  filter: drop-shadow(0 3px 4px rgba(23,63,53,.18));
}

.plant-pin.is-dragging .plant-shape,
.plant-pin.is-dragging .plant-shape-inset,
.plant-pin.is-dragging .plant-label-pill {
  filter: none;
  transition: none;
}

.plant-shape-inset {
  pointer-events: none;
}

.plant-label-pill {
  filter: drop-shadow(0 2px 2px rgba(26, 52, 35, .14));
  pointer-events: visiblePainted;
}

.plant-label-text {
  letter-spacing: .035em;
  pointer-events: none;
}

.canvas-ruler {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #829087;
  font-size: .52rem;
  font-weight: 750;
  letter-spacing: .02em;
  pointer-events: none;
}

.canvas-ruler span {
  position: relative;
}

.canvas-ruler-x {
  top: .55rem;
  right: 1.2rem;
  left: 2.2rem;
}

.canvas-ruler-x span::after {
  position: absolute;
  content: "";
  width: 1px;
  height: .35rem;
  left: 50%;
  top: .8rem;
  background: #aab5ae;
}

.canvas-ruler-y {
  top: 2rem;
  bottom: 1.2rem;
  left: .7rem;
  flex-direction: column;
}

.canvas-ruler-y span::after {
  position: absolute;
  content: "";
  width: .35rem;
  height: 1px;
  left: .75rem;
  top: 50%;
  background: #aab5ae;
}

.canvas-empty-state {
  position: absolute;
  z-index: 3;
  display: flex;
  width: min(19rem, calc(100% - 4rem));
  padding: 1.3rem;
  align-items: center;
  flex-direction: column;
  border: 1px solid rgba(23,63,53,.1);
  border-radius: 1rem;
  color: #42534b;
  background: rgba(255,255,253,.94);
  box-shadow: 0 16px 40px rgba(23,63,53,.13);
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.canvas-empty-icon {
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: .7rem;
  border-radius: 50% 50% 50% 15%;
  background: #e7f0de;
  transform: rotate(-12deg);
}

.canvas-empty-icon::before,
.canvas-empty-icon i {
  position: absolute;
  content: "";
  display: block;
}

.canvas-empty-icon::before {
  width: 1.2rem;
  height: .72rem;
  right: -.25rem;
  top: .35rem;
  border-radius: 100% 0 100% 0;
  background: #769d55;
  transform: rotate(28deg);
}

.canvas-empty-icon i {
  width: 2px;
  height: 1.8rem;
  left: 1.5rem;
  top: .75rem;
  border-radius: 2px;
  background: #769d55;
  transform: rotate(14deg);
}

.canvas-empty-state strong,
.inspector-empty strong {
  color: #294039;
  font-size: .82rem;
}

.canvas-empty-state p,
.inspector-empty p {
  margin-top: .3rem;
  color: #7a8881;
  font-size: .68rem;
  line-height: 1.5;
}

.editor-inspector {
  position: sticky;
  top: 5.5rem;
  display: flex;
  max-height: calc(100vh - 6.5rem);
  flex-direction: column;
  gap: .8rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cdd7c8 transparent;
}

.editor-inspector.has-plant-editor {
  z-index: 100;
  overflow: visible;
}

.editor-inspector.is-loading {
  opacity: .55;
  pointer-events: none;
  transition: opacity .12s ease;
}

.object-size-controls {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cfd9ca;
  border-radius: .7rem;
  background: #fff;
}

.object-size-button {
  display: grid;
  width: 2.35rem;
  min-height: 2.35rem;
  color: #315b4c;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1;
  place-items: center;
  transition: color .14s ease, background .14s ease;
}

.object-size-button + .object-size-button {
  border-left: 1px solid #dbe3d7;
}

.object-size-button:hover:not(:disabled) {
  color: #173f35;
  background: #edf4e9;
}

.object-size-button:disabled {
  opacity: .45;
  cursor: wait;
}

.modal-open,
.garden-settings-open,
.share-garden-open,
.plant-editor-open {
  overflow: hidden;
}

.plant-editor-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  padding: clamp(.75rem, 2vw, 1.5rem);
  place-items: center;
}

.plant-editor-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(13, 31, 25, .56);
  cursor: default;
  backdrop-filter: blur(6px);
}

.plant-editor-dialog {
  position: relative;
  display: grid;
  width: min(100%, 72rem);
  max-height: calc(100vh - clamp(1.5rem, 4vw, 3rem));
  overflow: hidden;
  border: 1px solid rgba(91, 125, 82, .2);
  border-radius: 1.35rem;
  background: #f8faf6;
  box-shadow: 0 30px 90px rgba(11, 29, 23, .3);
  grid-template-rows: auto minmax(0, 1fr);
}

.plant-editor-header {
  display: flex;
  padding: 1.25rem 1.4rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e1e7dd;
  background: rgba(255, 255, 255, .96);
}

.plant-editor-title-row {
  display: flex;
  margin-top: .15rem;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
}

.plant-editor-heading h2 {
  color: #20372f;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 790;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.plant-editor-heading p {
  margin-top: .25rem;
  color: #78847d;
  font-size: .76rem;
}

.plant-editor-errors {
  margin: .8rem 1.4rem 0;
  padding: .7rem .9rem;
  border: 1px solid #fecaca;
  border-radius: .75rem;
  color: #b91c1c;
  background: #fef2f2;
  font-size: .8rem;
}

#plant-editor-form {
  display: grid;
  min-height: 0;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) auto;
}

.plant-editor-columns {
  display: grid;
  min-height: 0;
  padding: 1rem 1.15rem;
  overflow-y: auto;
  gap: 1rem;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.plant-editor-fields {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .85rem;
}

.plant-editor-section,
.plant-editor-photos {
  padding: 1rem;
  border: 1px solid #dfe6dc;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 37, 31, .035);
}

.plant-editor-photos {
  min-width: 0;
}

.plant-editor-section-heading {
  display: flex;
  margin-bottom: .85rem;
  align-items: flex-start;
  gap: .65rem;
}

.plant-editor-section-heading h3 {
  color: #293f36;
  font-size: .88rem;
  font-weight: 760;
}

.plant-editor-section-heading p {
  margin-top: .08rem;
  color: #8a958f;
  font-size: .65rem;
  line-height: 1.45;
}

.plant-editor-step {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  border-radius: .55rem;
  color: #44693a;
  background: #eaf2e4;
  font-size: .58rem;
  font-weight: 850;
  place-items: center;
}

.plant-editor-field-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.plant-editor-field-wide {
  grid-column: 1 / -1;
}

.plant-editor-section .form-label {
  color: #5f6d66;
  font-size: .67rem;
  font-weight: 680;
}

.plant-editor-section .form-input {
  padding: .55rem .75rem;
  background: #fbfcfa;
  font-size: .8rem;
}

.plant-editor-notes {
  flex: 1 1 auto;
}

.plant-editor-notes textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.plant-color-field {
  display: flex;
  height: 2.45rem;
  padding: .28rem .55rem .28rem .3rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  background: #fbfcfa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.plant-color-field input {
  width: 2.5rem;
  height: 1.85rem;
  padding: .08rem;
  border-radius: .5rem;
  background: transparent;
}

.plant-color-field span {
  color: #8a958f;
  font-size: .61rem;
  line-height: 1.25;
}

.plant-public-option {
  display: flex;
  padding: .8rem .9rem;
  align-items: flex-start;
  gap: .65rem;
  border: 1px solid #dfe8dc;
  border-radius: .9rem;
  color: #41534b;
  background: #f4f8f1;
  cursor: pointer;
}

.plant-public-option input {
  margin-top: .16rem;
  flex: 0 0 auto;
}

.plant-public-option strong,
.plant-public-option small {
  display: block;
}

.plant-public-option strong {
  font-size: .75rem;
}

.plant-public-option small {
  margin-top: .1rem;
  color: #849089;
  font-size: .63rem;
}

.plant-photo-count {
  margin-left: auto;
  padding: .28rem .52rem;
  border-radius: 999px;
  color: #55704c;
  background: #edf3e9;
  font-size: .6rem;
  font-weight: 740;
  white-space: nowrap;
}

.plant-image-dropzone {
  display: flex;
  min-height: 4.2rem;
  padding: .7rem .85rem;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 1.5px dashed #b9c9b3;
  border-radius: .85rem;
  color: #52685d;
  background: #f8faf6;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.plant-image-dropzone:hover,
.plant-image-dropzone.is-dragging {
  border-color: #6f9958;
  color: #315b4c;
  background: #eef5e9;
}

.plant-image-dropzone-icon {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #496f3c;
  font-size: 1.25rem;
  line-height: 1;
  place-items: center;
}

.plant-image-dropzone strong,
.plant-image-dropzone small {
  display: block;
}

.plant-image-dropzone strong {
  font-size: .75rem;
}

.plant-image-dropzone small {
  margin-top: .08rem;
  color: #8a958f;
  font-size: .61rem;
}

.plant-image-progress {
  margin-top: .55rem;
  color: #6f7d75;
  font-size: .67rem;
}

.plant-image-gallery {
  display: grid;
  margin-top: .75rem;
  gap: .65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plant-image-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe5dc;
  border-radius: .78rem;
  background: #eef3ea;
  aspect-ratio: 4 / 3;
}

.plant-image-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plant-image-card .cover-badge {
  position: absolute;
  top: .4rem;
  left: .4rem;
  padding: .2rem .42rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(49, 91, 76, .92);
  box-shadow: 0 2px 8px rgba(15, 32, 26, .18);
  font-size: .55rem;
  font-weight: 780;
}

.plant-image-actions {
  position: absolute;
  right: .35rem;
  bottom: .35rem;
  left: .35rem;
  display: flex;
  padding: .25rem;
  gap: .25rem;
  border-radius: .55rem;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 3px 14px rgba(15, 32, 26, .18);
  opacity: 0;
  transform: translateY(.2rem);
  transition: opacity .15s ease, transform .15s ease;
}

.plant-image-card:hover .plant-image-actions,
.plant-image-card:focus-within .plant-image-actions {
  opacity: 1;
  transform: translateY(0);
}

.plant-image-actions button {
  flex: 1 1 0;
  padding: .28rem .2rem;
  border-radius: .4rem;
  color: #36584b;
  background: #fff;
  font-size: .56rem;
  font-weight: 700;
}

.plant-image-actions .delete-image-btn {
  color: #b42318;
}

.plant-image-actions button:hover:not(:disabled) {
  background: #eef4ea;
}

.plant-image-actions .delete-image-btn:hover {
  background: #fff0ee;
}

.plant-image-actions button:disabled {
  opacity: .45;
  cursor: default;
}

.plant-image-empty {
  padding: 1.15rem .5rem .25rem;
  color: #929d97;
  font-size: .65rem;
  line-height: 1.5;
  text-align: center;
}

.plant-editor-actions {
  display: flex;
  padding: .85rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e0e7dc;
  background: #fff;
}

.plant-editor-actions > div {
  display: flex;
  order: 2;
  gap: .65rem;
}

.plant-editor-delete {
  order: 1;
  margin-right: auto;
  padding: .45rem .2rem;
  color: #b42318;
  font-size: .72rem;
  font-weight: 680;
}

.plant-editor-delete:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .plant-editor-dialog {
    max-height: calc(100vh - 1rem);
  }

  .plant-editor-columns {
    grid-template-columns: 1fr;
  }

  .plant-image-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .plant-editor-modal {
    padding: .35rem;
  }

  .plant-editor-dialog {
    max-height: calc(100vh - .7rem);
    border-radius: 1rem;
  }

  .plant-editor-header {
    padding: 1rem;
  }

  .plant-editor-columns {
    padding: .75rem;
  }

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

  .plant-editor-field-wide {
    grid-column: auto;
  }

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

  .plant-image-actions {
    opacity: 1;
    transform: none;
  }

  .plant-editor-actions {
    padding: .75rem 1rem;
  }

  .plant-editor-actions > div {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
}

.garden-settings-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  padding: 1rem;
  place-items: center;
}

.garden-settings-modal.hidden {
  display: none;
}

.garden-settings-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 32, 26, .48);
  cursor: default;
  backdrop-filter: blur(5px);
}

.garden-settings-dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  padding: 1.5rem;
  overflow-y: auto;
  border: 1px solid rgba(91, 125, 82, .18);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 32, 26, .24);
}

.share-garden-dialog {
  width: min(100%, 38rem);
}

.garden-settings-heading {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.garden-settings-heading h2 {
  margin-top: .18rem;
  color: #20372f;
  font-size: 1.25rem;
  font-weight: 780;
  letter-spacing: -.025em;
}

.garden-settings-heading p {
  margin-top: .2rem;
  color: #758179;
  font-size: .78rem;
}

.garden-settings-close {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: .65rem;
  color: #6b7770;
  background: #f3f6f1;
  font-size: 1.35rem;
  line-height: 1;
  place-items: center;
}

.garden-settings-close:hover {
  color: #24473a;
  background: #e9f0e5;
}

.garden-settings-actions {
  display: flex;
  padding-top: .25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 560px) {
  .garden-settings-dialog {
    padding: 1.2rem;
  }

  .garden-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .garden-settings-actions > div,
  .garden-settings-actions > button {
    width: 100%;
  }

  .garden-settings-actions > div button {
    flex: 1;
    justify-content: center;
  }
}

.site-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 1rem;
  place-items: center;
}

.site-modal[hidden] {
  display: none;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 26, .52);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity .16s ease;
}

.site-modal-dialog {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.5rem;
  border: 1px solid rgba(91, 125, 82, .18);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 32, 26, .24);
  opacity: 0;
  transform: translateY(.75rem) scale(.98);
  transition: opacity .16s ease, transform .16s ease;
}

.site-modal.is-open .site-modal-backdrop,
.site-modal.is-open .site-modal-dialog {
  opacity: 1;
}

.site-modal.is-open .site-modal-dialog {
  transform: translateY(0) scale(1);
}

.site-modal-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: .9rem;
  color: #315b4c;
  background: #eaf2e6;
  font-size: 1.1rem;
  font-weight: 850;
  place-items: center;
}

.site-modal-dialog[data-tone="danger"] .site-modal-icon {
  color: #b42318;
  background: #fff0ee;
}

.site-modal-copy h2 {
  color: #20372f;
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -.02em;
}

.site-modal-copy p {
  margin-top: .45rem;
  color: #69766f;
  font-size: .88rem;
  line-height: 1.6;
}

.site-modal-actions {
  display: flex;
  margin-top: 1.4rem;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

@media (max-width: 480px) {
  .site-modal-dialog {
    padding: 1.25rem;
  }

  .site-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .site-modal-actions button {
    justify-content: center;
    width: 100%;
  }
}

.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 16, 13, .88);
  opacity: 0;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
  transition: opacity .16s ease;
}

.image-lightbox-stage {
  position: relative;
  display: grid;
  max-width: 100%;
  max-height: 100%;
  place-items: center;
  opacity: 0;
  transform: scale(.975);
  transition: opacity .16s ease, transform .16s ease;
}

.image-lightbox.is-open .image-lightbox-backdrop,
.image-lightbox.is-open .image-lightbox-stage {
  opacity: 1;
}

.image-lightbox.is-open .image-lightbox-stage {
  transform: scale(1);
}

.image-lightbox-photo {
  display: block;
  max-width: min(100%, 90rem);
  max-height: calc(100vh - clamp(2rem, 8vw, 6rem));
  border-radius: .85rem;
  background: #17251f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: -.85rem;
  right: -.85rem;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #263a31;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  font-size: 1.55rem;
  line-height: 1;
  place-items: center;
}

.image-lightbox-close:hover {
  color: #173f35;
  background: #fff;
}

/* Searchable plant reference */
.plant-catalogue-page {
  width: min(100% - 2rem, 78rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 5rem;
}

.plant-catalogue-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.plant-catalogue-hero h1 {
  margin-top: .35rem;
  color: #192d25;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 790;
  line-height: .95;
  letter-spacing: -.065em;
}

.plant-catalogue-hero p {
  max-width: 41rem;
  margin-top: 1rem;
  color: #687970;
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}

.plant-catalogue-total {
  display: flex;
  min-width: 8.5rem;
  padding: .9rem 1rem;
  align-items: flex-end;
  flex-direction: column;
  border: 1px solid #dce5d8;
  border-radius: 1rem;
  background: #f3f7ef;
}

.plant-catalogue-total strong {
  color: #315b4c;
  font-size: 1.8rem;
  line-height: 1;
}

.plant-catalogue-total span {
  margin-top: .3rem;
  color: #839087;
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plant-catalogue-tools {
  position: sticky;
  z-index: 10;
  top: 4.9rem;
  margin-top: 2rem;
  padding: .75rem;
  border: 1px solid rgba(213, 224, 208, .92);
  border-radius: 1rem;
  background: rgba(250, 252, 248, .92);
  box-shadow: 0 10px 30px rgba(21, 37, 31, .055);
  backdrop-filter: blur(14px);
}

.plant-catalogue-search {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .8rem;
  border: 1px solid #dbe3d7;
  border-radius: .75rem;
  background: #fff;
}

.plant-catalogue-search > span {
  color: #68805e;
  font-size: 1.25rem;
  line-height: 1;
}

.plant-catalogue-search input {
  width: 100%;
  min-width: 0;
  outline: 0;
  color: #273d34;
  background: transparent;
  font-size: .86rem;
}

.plant-catalogue-filters {
  display: flex;
  margin-top: .55rem;
  padding-bottom: .05rem;
  overflow-x: auto;
  gap: .4rem;
  scrollbar-width: thin;
}

.plant-catalogue-filters button {
  display: inline-flex;
  padding: .38rem .58rem;
  align-items: center;
  flex: 0 0 auto;
  gap: .35rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  color: #65746c;
  font-size: .65rem;
  font-weight: 720;
}

.plant-catalogue-filters button:hover {
  color: #315b4c;
  background: #eef4ea;
}

.plant-catalogue-filters button.is-active {
  color: #fff;
  background: #315b4c;
}

.plant-catalogue-filters button span {
  display: grid;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .25rem;
  border-radius: 999px;
  color: #66766e;
  background: #edf1ea;
  font-size: .55rem;
  place-items: center;
}

.plant-catalogue-filters button.is-active span {
  color: #315b4c;
  background: #fff;
}

.plant-catalogue-summary {
  display: flex;
  margin: 1.4rem 0 .7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #8a968f;
  font-size: .66rem;
}

.plant-catalogue-summary strong {
  color: #40574c;
  font-size: .8rem;
}

.plant-catalogue-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plant-catalogue-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dee6da;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 37, 31, .035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.plant-catalogue-card:hover {
  border-color: #bdceb5;
  box-shadow: 0 13px 30px rgba(21, 37, 31, .075);
  transform: translateY(-2px);
}

.plant-catalogue-card[hidden] {
  display: none;
}

.plant-catalogue-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.plant-catalogue-number {
  color: #a3aea8;
  font-size: .58rem;
  font-weight: 780;
  letter-spacing: .08em;
}

.plant-catalogue-category {
  overflow: hidden;
  padding: .22rem .42rem;
  border-radius: 999px;
  color: #58724e;
  background: #edf4e9;
  font-size: .52rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plant-catalogue-card h2 {
  margin-top: .85rem;
  overflow-wrap: anywhere;
  color: #263c33;
  font-size: 1rem;
  font-weight: 770;
  letter-spacing: -.025em;
}

.plant-catalogue-scientific {
  margin-top: .12rem;
  overflow-wrap: anywhere;
  color: #8a958f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .68rem;
  font-style: italic;
}

.plant-catalogue-danish {
  margin-top: .22rem;
  color: #58724e;
  font-size: .62rem;
  font-weight: 700;
}

.plant-catalogue-description {
  margin-top: .7rem;
  color: #66766e;
  font-size: .69rem;
  line-height: 1.55;
}

.plant-catalogue-tip {
  margin-top: .75rem;
  padding: .58rem .62rem;
  border-left: 2px solid #8cab72;
  border-radius: 0 .55rem .55rem 0;
  color: #65756d;
  background: #f4f8f1;
  font-size: .63rem;
  line-height: 1.5;
}

.plant-catalogue-tip strong {
  display: inline-flex;
  margin-right: .4rem;
  color: #3f6535;
  font-size: .54rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plant-catalogue-empty {
  padding: 4rem 1rem;
  color: #738078;
  text-align: center;
}

.plant-catalogue-empty > span {
  display: block;
  color: #78906e;
  font-size: 2rem;
}

.plant-catalogue-empty h2 {
  margin-top: .5rem;
  color: #30483d;
  font-size: 1rem;
  font-weight: 760;
}

.plant-catalogue-empty p {
  margin-top: .25rem;
  font-size: .75rem;
}

@media (max-width: 980px) {
  .plant-catalogue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .plant-catalogue-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .plant-catalogue-total {
    align-items: flex-start;
  }

  .plant-catalogue-tools {
    top: 4.65rem;
  }

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

@media (max-width: 440px) {
  .plant-catalogue-page {
    width: min(100% - 1.25rem, 78rem);
  }

  .plant-catalogue-grid {
    grid-template-columns: 1fr;
  }

  .plant-catalogue-summary > span {
    display: none;
  }

}

.inspector-panel {
  padding: 1.2rem;
  border: 1px solid #dde4da;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21,37,31,.055);
}

.inspector-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.inspector-heading h2 {
  margin-top: .2rem;
  color: #22352e;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.inspector-kicker {
  color: #78906e;
  font-size: .57rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plant-count {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: .55rem;
  color: var(--forest);
  background: #eaf2e3;
  font-size: .67rem;
  font-weight: 800;
}

.inspector-helper {
  margin-top: .55rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf0eb;
  color: #87928d;
  font-size: .67rem;
  line-height: 1.55;
}

.inspector-empty {
  display: flex;
  padding: 2.5rem 1rem 1.7rem;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.plant-library {
  margin-top: .45rem;
}

.plant-library-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 1.3rem;
  align-items: center;
  gap: .75rem;
  padding: .65rem .45rem;
  border-bottom: 1px solid #edf0eb;
  border-radius: .65rem;
  transition: background .18s ease, transform .18s ease;
}

.plant-library-item:last-child {
  border-bottom-color: transparent;
}

.plant-library-item:hover {
  background: #f3f7ef;
  transform: translateX(2px);
}

.plant-library-thumb {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border: 1px solid #e0e6dc;
  border-radius: .7rem;
  object-fit: cover;
}

.plant-library-placeholder {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--plant-color) 15%, white);
}

.plant-library-placeholder span {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid color-mix(in srgb, var(--plant-color) 75%, #314236);
  border-radius: 50%;
  background: color-mix(in srgb, var(--plant-color) 38%, white);
}

.plant-library-placeholder span.is-bed {
  width: 1.45rem;
  border-radius: .3rem;
}

.plant-library-copy {
  min-width: 0;
}

.plant-library-copy div {
  overflow: hidden;
  color: #30423a;
  font-size: .78rem;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plant-library-copy small {
  display: block;
  overflow: hidden;
  margin-top: .2rem;
  color: #909b95;
  font-size: .61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plant-library-arrow {
  color: #92a18f;
  font-size: .8rem;
  transition: color .18s ease, transform .18s ease;
}

.plant-library-item:hover .plant-library-arrow {
  color: var(--forest);
  transform: translateX(2px);
}

.inspector-panel .form-label {
  color: #52625a;
  font-size: .72rem;
}

.inspector-panel .form-input {
  background: #fbfcfa;
}

.inspector-panel input[type="color"] {
  padding: .35rem;
}

@media (max-width: 1023px) {
  .planner-preview-wrap {
    max-width: 650px;
    margin: 0 auto;
  }

  .editor-header {
    align-items: flex-start;
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

  .editor-inspector {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(3rem, 15vw, 4.1rem);
  }

  .hero-trust span + span::before {
    display: none;
  }

  .preview-body {
    grid-template-columns: 1fr;
    min-height: 20rem;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-note-top {
    right: -.25rem;
  }

  .preview-note-bottom {
    left: -.25rem;
  }

  .cta-panel {
    padding: 2.2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .editor-header {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-header-actions {
    flex-wrap: wrap;
  }

  .editor-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-create-tools {
    overflow-x: auto;
  }

  .tool-label {
    display: none;
  }

  .map-tool {
    flex: 0 0 auto;
  }

  .editor-canvas-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .zoom-controls {
    align-self: flex-end;
  }

  .editor-canvas-stage {
    min-height: 25rem;
    padding: 1.65rem .8rem .8rem 1.7rem;
  }

  .canvas-ruler-x {
    right: .8rem;
    left: 1.7rem;
  }

  .canvas-ruler-y {
    bottom: .8rem;
    left: .45rem;
  }
}

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

/* Full-height garden editor with all controls gathered in a left sidebar. */
.garden-editor-body {
  height: 100vh;
  overflow: hidden;
}

.garden-editor-body > .site-footer {
  display: none;
}

.garden-editor-body .site-nav > div > .flex {
  height: 3.5rem;
}

.garden-editor-body .site-nav .brand-link {
  font-size: .95rem;
}

.garden-editor-body .site-nav .nav-link {
  padding: .42rem .62rem;
  font-size: .76rem;
}

.garden-editor-body > main {
  height: calc(100vh - 3.5rem);
  min-height: 0;
}

.garden-editor-page {
  display: grid;
  width: 100%;
  max-width: none !important;
  height: calc(100vh - 3.5rem);
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: 19rem minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  background: #eef1eb;
}

.garden-editor-page > .editor-header {
  z-index: 3;
  display: flex;
  min-width: 0;
  margin: 0;
  padding: .8rem;
  align-items: stretch;
  flex-direction: column;
  gap: .62rem;
  border-right: 1px solid #dce4d8;
  background: #fbfcf8;
}

.garden-sidebar-brand {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
}

.garden-sidebar-menu {
  display: grid;
  padding-bottom: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  border-bottom: 1px solid #e3e9df;
}

.garden-sidebar-menu a {
  overflow: hidden;
  padding: .5rem .58rem;
  border-radius: .55rem;
  color: #66756d;
  font-size: .68rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.garden-sidebar-menu a:hover,
.garden-sidebar-menu a.is-active {
  color: #234a3f;
  background: #eaf2e6;
}

.garden-sidebar-context {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.garden-sidebar-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}

.garden-editor-page .editor-title {
  width: 100%;
  max-width: 100%;
  font-size: 1.55rem;
  white-space: normal;
}

.garden-editor-page .editor-description {
  display: -webkit-box;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: .74rem;
  line-height: 1.45;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.garden-editor-page .garden-weather {
  width: 100%;
  min-height: 0;
  padding: .55rem;
  align-items: stretch;
  flex-direction: column;
  gap: .4rem;
}

.garden-editor-page .garden-weather-location {
  max-width: 100%;
}

.garden-editor-page .garden-weather-days {
  width: 100%;
}

.garden-editor-page .garden-weather-day {
  min-width: 0;
  padding: 0 .2rem;
  flex: 1 1 0;
}

.garden-editor-page .garden-weather-day:first-child {
  border-left: 0;
}

.garden-editor-page .editor-header-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}

.garden-editor-page .editor-header-actions .btn-secondary {
  min-height: 2rem;
  padding: .38rem .5rem;
  border-radius: .58rem;
  font-size: .66rem;
}

.garden-editor-page .editor-header-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

.garden-editor-page .editor-header-actions button {
  width: 100%;
  justify-content: center;
}

.garden-editor-page .editor-toolbar {
  display: flex;
  width: 4rem;
  min-width: 4rem;
  height: 100%;
  min-height: 0;
  padding: .7rem .42rem;
  align-items: center;
  flex-direction: column;
  gap: .75rem;
  order: 2;
  border-top: 0;
  border-bottom: 0;
  border-left: 1px solid #dce4d8;
  background: #fbfcf8;
}

.garden-editor-page .editor-toolbar-heading {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .25rem;
}

.garden-editor-page .editor-toolbar-icon {
  width: 2.45rem;
  height: 2.45rem;
}

.editor-toolbar-count {
  display: grid;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 .25rem;
  place-items: center;
  border-radius: 999px;
  color: #42603d;
  background: #e7f0e1;
  font-size: .58rem;
  font-weight: 800;
}

.garden-editor-page .editor-create-tools {
  display: flex;
  width: 100%;
  padding: .6rem 0 0;
  align-items: center;
  flex-direction: column;
  gap: .38rem;
  border: 0;
  border-top: 1px solid #e1e7de;
  border-radius: 0;
  background: transparent;
}

.garden-editor-page .tool-label {
  padding: 0 0 .2rem;
  font-size: .52rem;
}

.garden-editor-page .map-tool {
  width: 2.8rem;
  height: 2.8rem;
  min-height: 0;
  padding: 0;
  justify-content: center;
  flex-direction: column;
  gap: .18rem;
  border-color: #e0e7dc;
  background: #fff;
}

.garden-editor-page .toolbar-tool-label {
  display: block;
  font-size: .48rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .01em;
}

.garden-editor-page .tool-shape-circle {
  width: 1.05rem;
  height: 1.05rem;
}

.garden-editor-page .tool-shape-bed {
  width: 1.25rem;
  height: .95rem;
}

.garden-editor-page .tool-cancel {
  display: grid;
  width: 2.8rem;
  height: 2.2rem;
  padding: 0;
  place-items: center;
  font-size: 1rem;
}

.garden-editor-page .tool-cancel.hidden {
  display: none;
}

.garden-editor-page .toolbar-zoom-controls {
  display: flex;
  width: 2.8rem;
  margin-top: auto;
  flex-direction: column;
  border-radius: .72rem;
}

.garden-editor-page .toolbar-zoom-controls button {
  width: 2.8rem;
  height: 2.55rem;
  font-size: 1.15rem;
}

.garden-editor-page .toolbar-zoom-controls #zoom-label {
  display: grid;
  width: 2.8rem;
  min-width: 0;
  min-height: 2.3rem;
  padding: .3rem .12rem;
  place-items: center;
  border-top: 1px solid #e3e8df;
  border-bottom: 1px solid #e3e8df;
  font-size: .48rem;
  line-height: 1.15;
  text-wrap: balance;
}

.garden-editor-page > .editor-layout {
  display: contents;
}

.garden-editor-page .editor-workspace {
  display: flex;
  height: calc(100vh - 3.5rem);
  min-height: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.garden-editor-page .editor-canvas-shell {
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: .7rem;
  flex-direction: column;
  flex: 1 1 auto;
  order: 1;
}

.garden-editor-page .editor-canvas-topbar {
  flex: 0 0 auto;
}

.garden-editor-page .editor-canvas-stage {
  min-height: 0;
  flex: 1 1 auto;
}

.garden-editor-page .editor-canvas-stage.is-window-fit {
  min-height: 0;
}

.garden-editor-page .editor-inspector {
  position: static;
  z-index: 2;
  min-height: 0;
  max-height: none;
  padding: 0 .75rem .8rem;
  grid-column: 1;
  grid-row: 2;
  overflow-y: auto;
  border-right: 1px solid #dce4d8;
  background: #fbfcf8;
}

.garden-editor-page .inspector-panel {
  padding: 1rem;
  border-radius: .85rem;
  box-shadow: none;
}

@media (max-width: 900px) {
  .garden-editor-body {
    height: auto;
    overflow: auto;
  }

  .garden-editor-body > main {
    height: auto;
  }

  .garden-editor-page {
    display: grid;
    height: auto;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .garden-editor-page > .editor-header {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
    border-bottom: 1px solid #dce4d8;
  }

  .garden-sidebar-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .garden-editor-page .editor-workspace {
    height: min(78vh, 48rem);
    min-height: 32rem;
    grid-column: 1;
    grid-row: 2;
  }

  .garden-editor-page .editor-inspector {
    max-height: none;
    padding: .8rem;
    grid-column: 1;
    grid-row: 3;
    overflow: visible;
    border-top: 1px solid #dce4d8;
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .garden-sidebar-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garden-editor-page .editor-header-actions,
  .garden-editor-page .editor-create-tools {
    grid-template-columns: 1fr;
  }

  .garden-editor-page .tool-label,
  .garden-editor-page .tool-cancel {
    grid-column: 1;
  }
}

/* Dark garden sidebars */
.garden-editor-page > .editor-header,
.garden-editor-page .editor-inspector {
  border-color: #31584d;
  background: #173f35;
}

.garden-editor-page .editor-back {
  color: #a9c1b7;
}

.garden-editor-page .editor-back:hover {
  color: #fff;
}

.garden-editor-page .editor-title,
.garden-editor-page .editor-toolbar-heading h2 {
  color: #f6faf7;
}

.garden-editor-page .editor-size {
  color: #c7d9d1;
  border-color: #41675c;
  background: #244c41;
}

.garden-editor-page .editor-description,
.garden-editor-page .editor-toolbar-heading p {
  color: #a9beb5;
}

.garden-editor-page .editor-header-actions .btn-secondary {
  color: #edf6f1;
  border-color: #41695d;
  background: #244d42;
  box-shadow: none;
}

.garden-editor-page .editor-header-actions .btn-secondary:hover {
  color: #173f35;
  border-color: #dce9d5;
  background: #edf5e9;
}

.garden-editor-page .inspector-panel {
  color: #dce9e3;
  border-color: #356054;
  background: #1c473c;
}

.garden-editor-page .inspector-heading h2,
.garden-editor-page .inspector-panel .text-gray-900,
.garden-editor-page .inspector-panel .text-gray-600,
.garden-editor-page .inspector-empty strong {
  color: #f4f8f5;
}

.garden-editor-page .inspector-kicker,
.garden-editor-page .inspector-helper,
.garden-editor-page .inspector-panel .text-gray-400,
.garden-editor-page .inspector-empty p {
  color: #adc3b9;
}

.garden-editor-page .inspector-helper,
.garden-editor-page .plant-library-item {
  border-color: rgba(209, 229, 218, .14);
}

.garden-editor-page .plant-count {
  color: #e8f2e3;
  background: #315e50;
}

.garden-editor-page .plant-library-item:hover {
  background: #285448;
}

.garden-editor-page .plant-library-copy div {
  color: #f0f6f2;
}

.garden-editor-page .plant-library-copy small,
.garden-editor-page .plant-library-arrow {
  color: #a9c0b5;
}

.garden-editor-page .inspector-panel .text-garden-700 {
  color: #cfe3c5;
}

.garden-editor-page .inspector-panel .btn-primary {
  color: #173f35;
  border: 1px solid #dcebd4;
  background: #e8f2e3;
  box-shadow: 0 4px 12px rgba(5, 25, 20, .2);
}

.garden-editor-page .inspector-panel .btn-danger {
  border: 1px solid transparent;
}

.garden-editor-page .inspector-panel .btn-primary:hover {
  color: #102f27;
  border-color: #fff;
  background: #fff;
}

.garden-editor-page .object-size-controls {
  border-color: #41695d;
  background: #244d42;
}

.garden-editor-page .object-size-button {
  color: #eff7f2;
  background: #244d42;
}

.garden-editor-page .object-size-button + .object-size-button {
  border-left-color: #41695d;
}

.garden-editor-page .object-size-button:hover:not(:disabled) {
  color: #173f35;
  background: #edf5e9;
}

.garden-editor-page .editor-toolbar {
  border-color: #31584d;
  background: #12352d;
}

.garden-editor-page .editor-toolbar-icon {
  border: 1px solid #41695d;
  background-color: #234a40;
  background-image:
    linear-gradient(rgba(211, 229, 203, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 229, 203, .12) 1px, transparent 1px);
}

.garden-editor-page .editor-toolbar-count {
  color: #eaf4e5;
  background: #315e50;
}

.garden-editor-page .editor-create-tools {
  border-top-color: #31584d;
}

.garden-editor-page .tool-label {
  color: #9fb8ad;
}

.garden-editor-page .map-tool {
  color: #e0eee7;
  border-color: #3a6256;
  background: #214a3f;
}

.garden-editor-page .map-tool:hover {
  color: #fff;
  border-color: #6d9185;
  background: #2b5a4d;
}

.garden-editor-page .map-tool.is-active,
.garden-editor-page .map-tool[aria-pressed="true"] {
  color: #173f35;
  border-color: #dcebd4;
  background: #e8f2e3;
}

.garden-editor-page .tool-cancel {
  color: #ffd9d5;
  background: #633d3c;
}

.garden-editor-page .toolbar-zoom-controls {
  border-color: #3a6256;
  background: #214a3f;
}

.garden-editor-page .toolbar-zoom-controls button {
  color: #eef6f1;
}

.garden-editor-page .toolbar-zoom-controls button:hover:not(:disabled) {
  color: #173f35;
  background: #e8f2e3;
}

.garden-editor-page .toolbar-zoom-controls button:disabled {
  color: #68877c;
}

.garden-editor-page .toolbar-zoom-controls #zoom-label {
  color: #b9cec5;
  border-color: #3a6256;
}

/* Keep every modal above the editor's sidebar stacking contexts. */
.garden-editor-page .editor-inspector.has-plant-editor {
  position: relative;
  z-index: 1100;
  overflow: visible;
}

.garden-settings-modal {
  z-index: 1200;
}

.plant-editor-modal {
  z-index: 1300;
}

.site-modal {
  z-index: 2000;
}
