/* ══════════════════════════════════════════════════════════════════
   22 — NURSERY (v4.9.2, field-first)
   Nursery home · I just seeded · a batch · plant out · pot up / reseed /
   place · Nursery supplies. Phone first (390px): ≥44px targets, the
   primary action 56px, Young Serif for crop names, Karla for UI, DM Mono
   for numbers, terra for the action, forest for done. Reuses the slot
   sheet shell (.fsh, 21-field-first.css) and its sub-view pieces.
══════════════════════════════════════════════════════════════════ */

/* ── Layers ───────────────────────────────────────────────────── */
.nsh-scrim.nsh--home-scrim { z-index: 9290; }
.nsh-scrim.nsh--sub-scrim  { z-index: 9340; }
.nsh.nsh--home { z-index: 9300; top: 0; max-height: none; height: 100dvh; border-radius: 0; background: var(--paper); box-shadow: none; }
.nsh.nsh--sub  { z-index: 9350; max-height: 94dvh; }
@media (min-width: 769px) {
  .nsh.nsh--home { left: auto; width: 460px; height: auto; border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(0,0,0,.12); }
  .nsh.nsh--sub  { left: auto; top: 0; bottom: 0; width: 460px; max-height: none; border-radius: 0; border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(0,0,0,.16); }
  .nsh-scrim.nsh--sub-scrim { background: rgba(34,33,30,.10); }
}
:root.dark .nsh.nsh--home { background: var(--paper); }

/* ── Home ─────────────────────────────────────────────────────── */
.nsh__h { flex: none; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); box-sizing: content-box; }
.nsh__title { margin: 0; font: 400 26px/1 var(--f-serif); color: var(--ink); }
.nsh__x { margin-left: auto; background: transparent; }
.nsh__x:hover { background: var(--bg-subtle); }
.nsh__b { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 16px 104px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.nsh--sub .nsh__b { padding: 0 18px 18px; }
.nsh__b--form > * + * { margin-top: 0; }
.nsh__fab { position: absolute; left: 16px; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); }
.ns-fab {
  width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--ink); color: var(--paper); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px var(--f-body);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.ns-fab .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.ns-fab:hover { background: #3A3833; }
:root.dark .ns-fab:hover { background: #FFFFFF; }

.ns-k { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font: 800 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.ns-k i { font: 500 12px var(--f-mono); font-style: normal; background: var(--line-soft); color: var(--ink-2); border-radius: 99px; padding: 1px 7px; letter-spacing: 0; }
.ns-k--flat { margin: 0; }
.ns-m { font: 400 13px/1.45 var(--f-mono); color: var(--ink-2); }
.ns-t { font: 400 19px/1.2 var(--f-serif); color: var(--ink); }
.ns-tsm { font: 600 16px/1.25 var(--f-body); color: var(--ink); }
.ns-cv { font: italic 400 15px var(--f-body); color: var(--ink-2); }
.ns-t .ns-cv { font-size: 15px; }
.ns-bed, .ns-bedcode {
  font: 700 13px var(--f-mono); color: var(--ink); text-decoration: underline dotted var(--tan); text-underline-offset: 3px;
  -webkit-touch-callout: none; user-select: none; cursor: context-menu;
}
.ns-bedcode { font-size: 15px; }
.ns-nobed, .ns-late { color: var(--late-text); font-weight: 500; }
.ns-need { color: var(--need-text); font-weight: 500; }
.ns-done { color: var(--soil-text); font-weight: 600; }
.ns-strong { font: 700 15px var(--f-body); }
.ns-empty { margin: 4px 0 6px; font: 400 15px/1.45 var(--f-body); color: var(--quiet); }
.ns-teach { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--soil-tint); color: var(--soil-text); font: 400 15px/1.5 var(--f-body); }
.ns-teach p { margin: 0; }

.ns-cards { display: flex; flex-direction: column; gap: 8px; }
.ns-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  background: var(--bg-card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; min-height: 52px;
}
.ns-card.is-first { box-shadow: inset 0 0 0 1.5px var(--forest); }
.ns-card__open { position: absolute; inset: 0; border: 0; background: transparent; border-radius: 16px; cursor: pointer; }
.ns-card__open:hover { background: rgba(0,0,0,.02); }
.ns-card__open:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ns-card__main { min-width: 0; pointer-events: none; }
.ns-card__main .ns-bed, .ns-dest .ns-bed { pointer-events: auto; position: relative; }
.ns-card > button:not(.ns-card__open), .ns-card .ns-dest { position: relative; }
.ns-dest { white-space: nowrap; }
.ns-stagebar { grid-column: 1 / -1; display: flex; gap: 3px; margin-top: 6px; pointer-events: none; }
.ns-stagebar b { flex: 1; height: 6px; border-radius: 3px; background: var(--line-soft); }
.ns-stagebar b.on { background: var(--forest); }

.ns-go, .ns-soft {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
  font: 700 15px var(--f-body); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.ns-go { background: var(--terra); color: #FFFFFF; }
.ns-go:hover { background: #A03A22; }
.ns-go[disabled] { opacity: .45; cursor: default; }
.ns-soft { background: var(--bg-subtle); color: var(--ink); }
.ns-soft:hover { background: var(--line-soft); }
.ns-soft[disabled] { opacity: .45; cursor: default; }
.ns-soft--sm { min-height: 44px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.ns-soft--ico .ico { width: 20px; height: 20px; }

.ns-list { background: var(--bg-card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; }
.ns-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; min-height: 56px; padding: 6px 0;
  border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; width: 100%; text-align: left; color: var(--ink);
}
.ns-row:last-child { border-bottom: 0; }
button.ns-row { cursor: pointer; }
.ns-row__main { display: flex; flex-direction: column; min-width: 0; }
details.ns-donelist { margin-top: 18px; }
details.ns-donelist > summary { min-height: 48px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font: 800 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
details.ns-donelist > summary::-webkit-details-marker { display: none; }
details.ns-donelist > summary i { font: 500 12px var(--f-mono); font-style: normal; background: var(--line-soft); color: var(--ink-2); border-radius: 99px; padding: 1px 7px; letter-spacing: 0; }
details.ns-donelist .ns-row > span { display: flex; flex-direction: column; }
.ns-more { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.ns-more .linkbtn { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ns-more .linkbtn:hover { background: var(--bg-subtle); }

/* ── Sheets: header, sections ─────────────────────────────────── */
.nsb__h { flex: none; display: flex; align-items: flex-start; gap: 8px; padding: 8px 14px 0 18px; }
@media (min-width: 769px) { .nsb__h { padding-top: 18px; } }
.nsb__h .fsh-back { margin: 0 -6px 0 -10px; flex: none; }
.nsb__ht { flex: 1; min-width: 0; padding-top: 4px; }
.nsb__t { margin: 2px 0 0; font: 400 30px/1.1 var(--f-serif); color: var(--ink); overflow-wrap: anywhere; outline: none; }
.nsb__t .ns-cv { font-size: 18px; }
.nsb__t--sm { font-size: 26px; line-height: 1.15; }
.nsb__t--sm .ns-cv { font-size: 17px; }
.nsb__ht .ns-m { margin-top: 4px; }
.nsh__f { flex: none; display: flex; gap: 10px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); }
.ns-foot1 { flex: 1; min-height: 56px; border-radius: 14px; font-size: 17px; }
.ns-foot2 { min-height: 56px; border-radius: 14px; padding: 0 14px; white-space: normal; text-align: center; line-height: 1.2; max-width: 52%; }
.nsh__f--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nsh__f--grid .ns-soft { min-height: 52px; border-radius: 14px; }
.nsh__f--grid .ns-wide { grid-column: 1 / -1; min-height: 56px; border-radius: 14px; font-size: 17px; margin: 0; }
.ns-alldone { display: flex; align-items: center; justify-content: center; color: var(--soil-text); font: 700 15px var(--f-body); background: var(--soil-tint); }
.ns-sec { margin-top: 18px; }
.ns-sec .ns-k { margin: 0 0 8px; }
.ns-sec__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ns-sec__h .ns-k { margin: 0; }
.ns-edit { min-height: 44px; font-size: 13.5px; }
.ns-help { margin: 0; font: 400 14px/1.35 var(--f-body); color: var(--ink-2); }
.ns-sec > .ns-help { margin-top: 8px; }

/* chips (What, When) */
.ns-chips { display: flex; gap: 8px; }
.ns-chips--wrap { flex-wrap: wrap; }
.ns-chip {
  position: relative; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--ink); font: 600 15px var(--f-body); white-space: nowrap; cursor: pointer;
}
.ns-chip small { font: 400 12px var(--f-mono); opacity: .8; }
.ns-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ns-chip:hover:not([aria-pressed="true"]) { background: var(--bg-subtle); }
.ns-chip--date input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ns-chip--date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ns-picked { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--soil-text); }
.ns-picked .ns-tsm { color: var(--ink); }
.ns-search { display: flex; align-items: center; gap: 10px; margin-top: 10px; min-height: 48px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; color: var(--quiet); background: var(--bg-input); }
.ns-search input:focus, .ns-search input:focus-visible { box-shadow: none !important; outline: none !important; }
.ns-search input { flex: 1; min-width: 0; min-height: 44px; border: 0 !important; background: transparent; outline: none; font: 400 16px var(--f-body); color: var(--ink); padding: 0; }
.ns-search:focus-within { border-color: var(--ink-2); }
.ns-results { display: flex; flex-direction: column; }
.ns-results:not(:empty) { margin-top: 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-card); overflow: hidden; }
.ns-result { min-height: 48px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; cursor: pointer; color: var(--ink); }
.ns-result:last-child { border-bottom: 0; }
.ns-result:hover { background: var(--bg-subtle); }
.ns-result--use { color: var(--terra-text); font: 600 15px var(--f-body); }

/* the container chooser */
.ns-trays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ns-tray {
  height: 58px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-card); color: var(--ink); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 15px/1.15 var(--f-body); padding: 0 4px; overflow: hidden;
}
.ns-tray small { font: 400 12px var(--f-mono); color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ns-tray[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ns-tray:hover:not([aria-pressed="true"]) { background: var(--bg-subtle); }
.ns-tray.is-full small { color: var(--late-text); }
.ns-supply { margin: 8px 0 0; font: 400 13px var(--f-mono); color: var(--quiet); }
.ns-supply.is-full { color: var(--late-text); font-family: var(--f-body); font-size: 14px; }
.ns-other { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font: 600 14px var(--f-body); color: var(--ink-2); }
.ns-other input { width: 96px; min-height: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; font: 500 16px var(--f-mono); background: var(--bg-input); color: var(--ink); }

/* steppers */
.ns-many { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ns-many .ns-help { width: 128px; }
.ns-step { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-card); }
.ns-step button { flex: none; width: 56px; height: 56px; border: 0; background: var(--bg-subtle); color: var(--ink); font: 700 22px var(--f-body); cursor: pointer; }
.ns-step button:hover { background: var(--line-soft); }
.ns-step input { flex: 1; min-width: 0; width: 64px; height: 56px; border: 0 !important; background: transparent; text-align: center; font: 500 22px var(--f-mono); color: var(--ink); outline: none; -moz-appearance: textfield; padding: 0; }
.ns-step input::-webkit-outer-spin-button, .ns-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ns-step--sm { display: inline-flex; border-radius: 12px; }
.ns-step--sm button { width: 46px; height: 46px; font-size: 20px; }
.ns-step--sm input { flex: none; width: 52px; height: 46px; font-size: 18px; }
.ns-many:has(.ns-step--sm) { grid-template-columns: auto 1fr; }

/* forecast + mixed tray */
.ns-fc { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--soil-tint); color: var(--soil-text); font: 400 15px/1.45 var(--f-body); }
.ns-fc .ns-bed { color: var(--soil-text); font-size: 14px; }
.ns-fc .linkbtn { min-height: 36px; color: var(--soil-text); text-decoration: underline; }
.ns-fc--none { background: var(--bg-subtle); color: var(--ink-2); }
.ns-fc--none b { color: var(--ink); }
.ns-fc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ns-fc .ns-chips { margin-top: 10px; }
.ns-rowtabs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.ns-rowtab { flex: none; display: inline-flex; align-items: center; border-radius: 99px; background: var(--bg-subtle); }
.ns-rowtab.on { background: var(--ink); color: var(--paper); }
.ns-rowtab button { min-height: 44px; border: 0; background: transparent; color: inherit; font: 600 14px var(--f-body); padding: 0 6px 0 14px; cursor: pointer; }
.ns-rowtab button b { font: 500 13px var(--f-mono); margin-left: 4px; }
.ns-rowtab .ns-rowtab__x { width: 40px; padding: 0; display: flex; align-items: center; justify-content: center; }

/* ── Batch ────────────────────────────────────────────────────── */
.nsb-stages { display: flex; position: relative; margin-top: 18px; }
.nsb-stages::before { content: ''; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--line); }
.nsb-st { position: relative; flex: 1; min-width: 0; min-height: 64px; padding: 8px 0 0; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 12px/1.2 var(--f-body); color: var(--quiet); text-align: center; }
.nsb-st i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--tan); background: var(--bg-card); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.nsb-st i .ico { width: 14px; height: 14px; stroke: var(--bg-card); stroke-width: 3.2; }
.nsb-st.done i { background: var(--forest); border-color: var(--forest); }
.nsb-st.now { color: var(--ink); }
.nsb-st.now i { border-color: var(--forest); box-shadow: 0 0 0 4px var(--soil-tint); }
.nsb-st.now:last-child i { background: var(--forest); }
.nsb-st:hover i { border-color: var(--ink-2); }
.nsb-fc { margin: 14px 0 0; font: 400 15px/1.45 var(--f-body); color: var(--ink-2); }
.nsb-harden { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; }
.nsb-otherday { position: relative; min-height: 44px; display: inline-flex; align-items: center; font: 600 14px var(--f-body); color: var(--terra-text); cursor: pointer; padding: 0 6px; }
.nsb-otherday input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.nsb-spares { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--need-tint); color: var(--need-text); font: 400 15px/1.45 var(--f-body); }
.nsb-spares p { margin: 0 0 8px; }
.nsb-spares .ns-chip { border-color: var(--need-line); }
.nsb-bed { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-soft); font: 500 15px var(--f-body); color: var(--ink); }
.nsb-bed:last-of-type { border-bottom: 0; }
.nsb-bed .ns-loc { margin: 0 0 0 -10px; font: 700 15px var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--ink); text-decoration: underline dotted var(--tan); text-underline-offset: 3px; }
.nsb-bed__open { min-height: 44px; border: 0; background: transparent; text-align: left; font: 500 15px var(--f-body); color: var(--ink); cursor: pointer; padding: 0; border-radius: 8px; }
.nsb-bed__open:hover { background: var(--bg-subtle); }
.nsb-bed--spare .nsb-hint { font: 400 14px var(--f-body); color: var(--ink-2); }
.nsb-short { margin: 8px 0 0; font: 500 14px var(--f-body); }
.ns-quiet { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 20px 0 4px; }
.ns-quiet .linkbtn { min-height: 44px; color: var(--quiet); font-weight: 600; }
.ns-quiet .linkbtn:hover { background: var(--bg-subtle); color: var(--ink); }
.ns-quiet .ns-del:hover, .ns-del { color: var(--late-text); }

/* plant out */
.ns-opts { display: flex; flex-direction: column; gap: 8px; }
.ns-opt { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; min-height: 64px; padding: 0 10px 0 4px; border-radius: 14px; background: var(--bg-card); box-shadow: inset 0 0 0 1.5px var(--line); }
.ns-opt.on { box-shadow: inset 0 0 0 2px var(--ink); }
.ns-opt__pick { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 0 0 10px; border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--ink); font: 500 15px var(--f-body); border-radius: 12px; min-width: 0; }
.ns-box { flex: none; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--tan); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ns-opt.on .ns-box { background: var(--ink); border-color: var(--ink); }
.ns-box .ico { width: 16px; height: 16px; stroke: var(--paper); stroke-width: 3; }
.ns-opt__sub { color: var(--ink-2); }
.ns-opt__add { padding-right: 6px; }
.ns-opts + .linkbtn { min-height: 44px; margin-top: 4px; }
.ns-sum { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--bg-subtle); color: var(--ink-2); font: 400 15px/1.45 var(--f-body); }
.ns-sum.is-over { background: var(--late-tint); color: var(--late-text); }

/* ── Elsewhere: This Week rail, slot sheet ─────────────────────── */
.rail-row--btn { width: 100%; min-height: 40px; border: 0; background: transparent; text-align: left; cursor: pointer; border-radius: 8px; font: inherit; color: var(--ink); align-items: center; }
.rail-row--btn:hover { background: var(--bg-subtle); }
.fsh-nursery { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-top: 12px; padding: 10px 14px; min-height: 56px; border: 0; border-radius: 14px; background: var(--soil-tint); color: var(--soil-text); font: 500 15px var(--f-body); text-align: left; cursor: pointer; }
.fsh-nursery .ff-k { margin: 0; color: var(--soil-text); }
.fsh-nursery:hover { filter: brightness(.98); }

/* ── Nursery supplies ─────────────────────────────────────────── */
.nss-intro { margin: 12px 0 0; font: 400 15px/1.45 var(--f-body); color: var(--ink-2); }
.nss-k { display: flex; align-items: center; justify-content: space-between; }
.nss-k .ns-k { margin: 18px 0 8px; }
.nss-k .linkbtn { min-height: 44px; margin-top: 10px; }
.nss-k2 { margin-top: 18px; }
.nss-list { background: var(--bg-card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 6px 0 14px; }
.nss-pad { padding: 8px 0; }
.nss-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line-soft); }
.nss-row:last-child { border-bottom: 0; }
.nss-row .nss-grip { display: none; }
@media (min-width: 769px) and (hover: hover) {
  .nss-row[draggable="true"] { grid-template-columns: 18px 1fr auto auto; margin-left: -8px; }
  .nss-row[draggable="true"] .nss-grip { display: flex; color: var(--tan); cursor: grab; }
  .nss-row[draggable="true"] .nss-grip .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
}
.nss-row.is-reorder .nss-move { grid-column: span 2; }
.nss-nm { font: 600 16px var(--f-body); color: var(--ink); }
.nss-row.off .nss-nm { color: var(--quiet); }
.nss-have { min-height: 40px; min-width: 64px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-card); font: 500 13px var(--f-mono); color: var(--ink-2); cursor: pointer; }
.nss-have--in { width: 76px; min-height: 44px; font-size: 16px; cursor: text; }
.nss-tog { width: 52px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nss-tog span { position: relative; display: block; width: 44px; height: 26px; border-radius: 99px; background: var(--tan); transition: background .15s; }
.nss-tog span i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.nss-tog[aria-pressed="true"] span { background: var(--forest); }
.nss-tog[aria-pressed="true"] span i { left: 21px; }
:root.dark .nss-tog[aria-pressed="true"] span i { background: #191816; }
.nss-move { display: flex; gap: 4px; }
.nss-arrow { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-subtle); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nss-arrow[disabled] { opacity: .35; cursor: default; }
.nss-del { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--late-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nss-addbtn { min-height: 48px; margin-top: 10px; padding: 0; border: 0; background: transparent; font: 700 15px var(--f-body); color: var(--terra-text); cursor: pointer; }
.nss-add { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--bg-subtle); display: grid; gap: 12px; }
.nss-field { display: flex; flex-direction: column; gap: 6px; font: 600 13px var(--f-body); color: var(--ink-2); }
.nss-field input, .nss-field select { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-input); color: var(--ink); font: 500 16px var(--f-body); }
.nss-add__f { display: flex; gap: 10px; justify-content: flex-end; }
.nss-urow { border-bottom: 1px solid var(--line-soft); }
.nss-urow:last-child { border-bottom: 0; }
.nss-ubtn { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; text-align: left; cursor: pointer; padding: 0 8px 0 0; }
.nss-uedit { display: grid; gap: 10px; padding: 0 8px 14px 0; }
.nss-uedit .linkbtn { justify-self: start; min-height: 44px; }
/* inside Settings */
#nurserySuppliesPane .nss-intro { margin-top: 0; }
#nurserySuppliesPane { max-width: 560px; }

@media (max-width: 380px) {
  .ns-trays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ns-many .ns-help { width: 108px; }
}
@media (prefers-reduced-motion: reduce) { .nsh { transition: none; } .nss-tog span, .nss-tog span i { transition: none; } }

/* Clear old starts */
.ns-stale { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin: 14px 0 6px; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-card); color: var(--ink); font: 400 15px/1.35 var(--f-body); }
.ns-stalerow { display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; }
.ns-stalerow > input { width: 22px; height: 22px; flex: none; accent-color: var(--terra, #b4553a); }
.ns-stalerow > span { display: flex; flex-direction: column; }
