/* 40-veg.css — Veg room sections and plant dots
   Part of the ordered set linked from index.html. The parts concatenate to the
   original stylesheet byte for byte; link order IS the cascade order, so never
   reorder the <link> tags and never move a rule between files. */

#vegRoomSection {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  margin-bottom: 16px;
}

.vr-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.vr-title  { font-size: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vr-subtitle { color: var(--muted); font-size: 14px; font-weight: 400; }

.vr-stats-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}

.vr-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--muted);
  padding: 4px 10px; border: 1px solid var(--line);
}

.vr-badge.healthy { color: var(--accent); }
.vr-badge.flagged { color: var(--warn);   }
.vr-badge.dead    { color: var(--bad);    }
.vr-badge.ready   { color: #7ec8df; border-color: rgba(100,169,196,0.4); }

.vr-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vr-dot.ready { background: #7ec8df; }

.vr-sections { flex-direction: column; margin-bottom: 16px; }

/* Section card */
.vr-section {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.01);
}

.vr-section.is-ready {
  border-color: rgba(100,169,196,0.4);
}

.vr-section-header {
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  cursor: pointer;
  flex-wrap: wrap;
  user-select: none;
}

.vr-section-header:hover { background: rgba(255,255,255,0.02); }

.vr-section-left  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vr-section-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.vr-swatch {
  flex-shrink: 0;
}


.vr-section-count {
  font-size: 14px; color: var(--muted);
}

.vr-status-chip {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 2px 8px;
}

.vr-status-chip.growing      { background: rgba(143,195,106,0.12); color: var(--accent); }
.vr-status-chip.ready        { background: rgba(100,169,196,0.15); color: #7ec8df; font-size: 14px; }
.vr-status-chip.moved        { background: rgba(255,255,255,0.04); color: var(--muted); }

.vr-days      { font-size: 14px; color: var(--muted); }
.vr-flag-count { font-size: 14px; color: var(--warn); font-weight: 700; }
.vr-dead-count { font-size: 14px; color: var(--bad);  font-weight: 700; }

.vr-move-btn {
  border: 1px solid rgba(100,169,196,0.5);
  background: rgba(100,169,196,0.1);
  color: #7ec8df;
  padding: 5px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-width: unset;
}

.vr-move-btn:hover { background: rgba(100,169,196,0.2); }

/* A strain's two jobs, side by side under its name: Mark died (counted, one
   panel -- veg-room.js "counted deaths") and Move to Flower. Their own row,
   so neither wraps under the day count on a phone or a three-up laptop card. */
.vr-section-do { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-section-do > button { flex: 1 1 140px; min-height: 50px; font-size: 1rem; }
.vr-section-do > .vr-death-btn { border-color: rgba(242, 125, 106, 0.5); }


/* Plant dot grid */
.vr-dot-grid {
  flex-wrap: wrap;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.15);
}

.vr-dot-plant {
  width: 14px;
  height: 14px;
  cursor: pointer;
  transition: transform 0.08s;
  flex-shrink: 0;
}

.vr-dot-plant:hover { transform: scale(1.6); z-index: 2; outline: 1px solid #fff; }
.vr-dot-plant.sel   { transform: scale(1.6); z-index: 3; outline: 2px solid #fff; }
.vr-dot-plant.dead  { opacity: 0.3; }

.vr-sdot {
  position: absolute;
  top: -2px; right: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
}

.vr-sdot.flagged { background: #e4b45d; }
.vr-sdot.dead    { background: #e86f5f; }

.vr-section-actions {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
}

.vr-row-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 4px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-width: unset;
}

.vr-row-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.vr-row-btn.bad { color: var(--bad); border-color: rgba(232,111,95,0.4); margin-left: auto; }
.vr-row-btn.bad:hover { color: #fff; background: rgba(232,111,95,0.85); border-color: rgba(232,111,95,0.85); }

.vr-row-btn.accent { color: var(--accent); border-color: rgba(143,195,106,0.5); background: rgba(143,195,106,0.08); }
.vr-row-btn.accent:hover { background: rgba(143,195,106,0.18); }
.vr-row-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.vr-row-btn:disabled:hover { color: var(--muted); background: transparent; }

/* Bulk picking — pick a handful of plants across strains, then act on them all */
.mr-add-btn.picking { background: var(--accent); color: #10140f; }

.vr-dot-plant.picked {
  transform: scale(1.5);
  z-index: 3;
  outline: 2px solid var(--accent);
  box-shadow: 0 0 0 2px rgba(143,195,106,0.35);
}

.vr-pickbar {
  position: sticky;
  /* Under the navbar (a 58px box) on a
     laptop; on a phone the navbar scrolls away and --gf-navbar-cover is 0
     (81-redesign-rooms.css), so the bar sticks to the very top. */
  top: var(--gf-navbar-cover, 58px);
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.vr-pickbar-count { font-size: 14px; font-weight: 700; color: var(--accent); margin-right: auto; }
.vr-pickbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
/* .vr-row-btn.bad carries margin-left:auto for the section rows; not here. */
.vr-pickbar-actions .vr-row-btn.bad { margin-left: 0; }

.vr-pick-helpers { border-top: 1px dashed var(--line); }

/* Detail panel */
.vr-detail { border: 1px solid var(--line); background: var(--panel); padding: 18px; min-height: 80px; }
.vr-detail-hint { color: var(--muted); font-size: 14px; margin: 0; }
.vr-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 720px) {
  .vr-detail-inner { grid-template-columns: 1fr; }
  .vr-section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CLONE ROOM
   ============================================================ */

