/* Appily Seventeen — Sow Desk Greenhouse help center */

.page-sow-desk .page-main {
  background: linear-gradient(180deg, #eef6f1 0%, #f8faf9 38%, #fff 100%);
}

/* ── Greenhouse hero ── */
.sh-greenhouse {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(59, 183, 126, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #e4f3eb 0%, #f0f7f3 100%);
}
.sh-arch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 94vw);
  height: 220px;
  border: 3px solid rgba(59, 183, 126, 0.35);
  border-bottom: 0;
  border-radius: 460px 460px 0 0;
  pointer-events: none;
}
.sh-dots {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(37, 61, 78, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.sh-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
}
.sh-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(59, 183, 126, 0.15);
  color: var(--fv-green-dark, #29A56C);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sh-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--fv-font-alt, 'Quicksand', sans-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.15;
  color: var(--fv-heading, #253D4E);
}
.sh-hero-copy h1 em {
  font-style: normal;
  color: var(--fv-green, #3BB77E);
}
.sh-lede {
  margin: 0;
  max-width: 52ch;
  color: var(--fv-ink, #4F5D6B);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Tray rack tabs */
.sh-tray-rack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sh-tray-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(59, 183, 126, 0.22);
  box-shadow: 0 8px 24px rgba(37, 61, 78, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sh-tray-tab:hover {
  transform: translateY(-2px);
  border-color: var(--fv-green, #3BB77E);
  box-shadow: 0 12px 28px rgba(59, 183, 126, 0.14);
}
.sh-tray-tab.is-active {
  border-color: var(--fv-green, #3BB77E);
  background: var(--fv-green-pale, #E8F8F0);
  box-shadow: inset 0 0 0 1px rgba(59, 183, 126, 0.2);
}
.sh-tray-code {
  grid-row: 1 / 3;
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--fv-green-pale, #E8F8F0);
  color: var(--fv-green-deep, #1F8A55);
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.sh-tray-icon { font-size: 1rem; line-height: 1; }
.sh-tray-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fv-heading, #253D4E);
}
.sh-tray-tab-pay { grid-column: 1 / -1; }

.sh-bench-edge {
  height: 14px;
  background: linear-gradient(180deg, #c8dccf 0%, #b5cdbf 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* ── Floor layout ── */
.sh-floor { padding: 40px 0 72px; }
.sh-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* Tray sections */
.sh-tray-section {
  margin-bottom: 36px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--fv-line, #ECECEC);
  box-shadow: var(--fv-shadow-soft, 0 4px 16px rgba(37, 61, 78, 0.06));
}
.sh-tray-section:last-child { margin-bottom: 0; }
.sh-tray-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px dashed rgba(59, 183, 126, 0.25);
}
.sh-tray-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fv-green, #3BB77E);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.sh-tray-head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--fv-heading, #253D4E);
}
.sh-tray-head p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--fv-muted, #7E8C9A);
}

/* Seedling cells (accordion) */
.sh-cell-row { display: flex; flex-direction: column; gap: 8px; }
.sh-cell {
  border-radius: 10px;
  border: 1px solid var(--fv-line, #ECECEC);
  background: var(--fv-bg, #F4F6F8);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.sh-cell[open] {
  border-color: rgba(59, 183, 126, 0.45);
  background: #fff;
  box-shadow: 0 4px 14px rgba(59, 183, 126, 0.08);
}
.sh-cell summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fv-heading, #253D4E);
  cursor: pointer;
  list-style: none;
}
.sh-cell summary::-webkit-details-marker { display: none; }
.sh-cell summary::after {
  content: '+';
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fv-green-pale, #E8F8F0);
  color: var(--fv-green-dark, #29A56C);
  font-size: 1.1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.sh-cell[open] summary::after {
  content: '−';
  background: var(--fv-green, #3BB77E);
  color: #fff;
}
.sh-cell-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fv-green, #3BB77E);
  box-shadow: 0 0 0 3px rgba(59, 183, 126, 0.2);
  flex-shrink: 0;
}
.sh-cell-body {
  padding: 0 16px 16px 38px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--fv-ink, #4F5D6B);
}
.sh-cell-body a {
  color: var(--fv-green-dark, #29A56C);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sidebar sachet card */
.sh-sachet-stack {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sh-sachet {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 2px dashed rgba(59, 183, 126, 0.35);
  box-shadow: var(--fv-shadow-soft);
}
.sh-sachet-strip {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fv-line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fv-muted);
}
.sh-sachet h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--fv-heading);
}
.sh-sachet-facts { margin: 0; }
.sh-sachet-facts > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--fv-line);
}
.sh-sachet-facts > div:last-child { border-bottom: 0; }
.sh-sachet-facts dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fv-green-dark);
  margin-bottom: 4px;
}
.sh-sachet-facts dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--fv-ink);
}
.sh-sachet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sh-sachet-links a {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fv-green-pale);
  color: var(--fv-green-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Desk card */
.sh-desk-card {
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--fv-green, #3BB77E) 0%, var(--fv-green-deep, #1F8A55) 100%);
  color: #fff;
  text-align: center;
}
.sh-desk-gauge {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
  overflow: hidden;
}
.sh-gauge-fill {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 99px;
  background: #fff;
  animation: shGaugePulse 2.8s ease-in-out infinite;
}
@keyframes shGaugePulse {
  0%, 100% { opacity: 0.85; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.02); }
}
.sh-desk-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.sh-desk-card p {
  margin: 0 0 16px;
  font-size: 0.84rem;
  opacity: 0.92;
  line-height: 1.55;
}
.sh-desk-btn {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--fv-green-deep);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s;
}
.sh-desk-btn:hover { transform: scale(1.03); }
.sh-desk-email,
.sh-desk-phone {
  margin: 14px 0 0;
  font-size: 0.8rem;
  opacity: 0.9;
}
.sh-desk-email a,
.sh-desk-phone a { color: #fff; text-decoration: underline; }

/* Quick lanes */
.sh-quick-lanes { display: flex; flex-direction: column; gap: 8px; }
.sh-lane {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--fv-line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sh-lane:hover {
  border-color: var(--fv-green);
  box-shadow: 0 4px 12px rgba(59, 183, 126, 0.1);
}
.sh-lane strong {
  display: block;
  font-size: 0.88rem;
  color: var(--fv-heading);
  margin-bottom: 2px;
}
.sh-lane span {
  font-size: 0.78rem;
  color: var(--fv-muted);
}

/* Scroll highlight */
.sh-tray-section.is-highlight {
  outline: 2px solid var(--fv-green);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .sh-hero-grid { grid-template-columns: 1fr; }
  .sh-layout { grid-template-columns: 1fr; }
  .sh-sachet-stack { position: static; }
  .sh-tray-rack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .sh-tray-rack { grid-template-columns: 1fr; }
  .sh-tray-tab-pay { grid-column: auto; }
  .sh-greenhouse { padding-top: 32px; }
}
