/* zone-count-sheet.css — set how many of a lot are in a tray (#764).
   Mockup: docs/design/mockups/zone-count-edit-764.html. --v2-* tokens only. */

.zc-title {
  margin: 0;
  font: 700 20px/1.25 var(--v2-font-display);
  color: var(--v2-text-primary);
  text-wrap: balance;
}
.zc-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--v2-text-secondary);
}
.zc-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 8px;
}
.zc-step button {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid var(--v2-border-strong);
  background: var(--v2-bg-card);
  color: var(--v2-text-primary);
  font: 600 26px var(--v2-font-body);
  cursor: pointer;
}
.zc-step button:disabled { opacity: 0.35; cursor: default; }
.zc-val {
  min-width: 64px;
  text-align: center;
  font: 700 44px/1 var(--v2-font-display);
  font-variant-numeric: tabular-nums;
  color: var(--v2-text-primary);
}
.zc-unit {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--v2-text-secondary);
}
.zc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}
.zc-cell {
  padding: 12px;
  border-radius: var(--v2-radius-md);
  background: var(--v2-bg-secondary);
}
.zc-cell b {
  display: block;
  font: 700 20px var(--v2-font-display);
  font-variant-numeric: tabular-nums;
  color: var(--v2-text-primary);
}
.zc-cell span { font-size: 13px; color: var(--v2-text-secondary); }
.zc-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--v2-text-secondary);
}
.zc-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--v2-accent-botanical);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.zc-err {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--v2-radius-md);
  border: 1px solid var(--v2-pop-coral);
  color: var(--v2-text-primary);
  font-size: 14px;
}
.zc-save {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  border: 0;
  border-radius: 9999px;
  background: var(--v2-accent-botanical);
  color: var(--v2-text-on-accent);
  font: 700 16px var(--v2-font-body);
  cursor: pointer;
}
.zc-save:disabled { opacity: 0.4; cursor: default; }

/* #829 standing plants (docs/design/mockups/one-count-825.html screens 2 and 4): the plant
   field on Add a standing plant, the "was N, now N" line and Remove on its recount sheet. */
.zc-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: var(--v2-radius-sm);
  border: 1px solid var(--v2-border-soft);
  background: var(--v2-bg-secondary);
  color: var(--v2-text-primary);
  font: 500 15px var(--v2-font-body);
}
.zc-was {
  margin: 6px 0 0;
  text-align: center;
  font: 600 15px var(--v2-font-body);
  color: var(--v2-pop-slate-text);
  font-variant-numeric: tabular-nums;
}
.zc-remove {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border: 0;
  background: none;
  color: var(--v2-pop-coral-text);
  font: 600 15px var(--v2-font-body);
  cursor: pointer;
}
.zc-remove:disabled { opacity: 0.4; cursor: default; }

/* ── The correction sheet (#800, one-count-825.html screen 2): what happened, when, where ── */
.zc-seg { margin-top: 18px; }
.zc-when {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: var(--v2-radius-sm);
  border: 1px solid var(--v2-border-soft);
  background: var(--v2-bg-secondary);
  color: var(--v2-text-primary);
  font: 500 15px var(--v2-font-body);
  cursor: pointer;
}
.zc-when span { color: var(--v2-text-secondary); font-size: 13px; }
.zc-when input { min-height: 36px; border: 0; background: none; color: var(--v2-text-primary); font: 500 15px var(--v2-font-body); }
.zc-ask {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--v2-radius-md);
  border: 1px solid var(--v2-pop-ochre);
  background: var(--v2-pop-ochre-bg);
}
.zc-ask-t { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--v2-text-primary); }
.zc-ask-row { display: flex; flex-wrap: wrap; gap: 8px; }
.zc-place {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--v2-radius-full);
  border: 1px solid var(--v2-border-strong);
  background: var(--v2-bg-card);
  color: var(--v2-text-primary);
  font: 600 14px var(--v2-font-body);
  cursor: pointer;
  text-align: left;
}
.zc-place[aria-checked="true"] {
  border-color: var(--v2-accent-botanical);
  background: var(--v2-accent-botanical);
  color: var(--v2-text-on-accent);
}

/* #800 C3: the move sheet's "What happened to the others" chips (seeds.js). .po-chip-row sets
   display:flex, which beats the hidden attribute; the chips show only once some are lost.
   Each chip is a 44px target. */
#alive-why[hidden] { display: none; }
#alive-why .po-chip { min-height: 44px; }
