/* Garden interface: shared dim surfaces, followed by the plant collection layout. */
:root {
  color-scheme: dark;
  --paper: #1b211e;
  --white: #242d27;
  --ink: #e0e7dc;
  --text: #c4cec2;
  --muted: #a5b3a6;
  --line: #3a473c;
  --green: #afc4a4;
  --lime: #384c38;
  --wood: #705e48;
  --orange: #574535;
  --surface-soft: #29352c;
  --selected: #364735;
  --accent-line: #73866a;
  --warm-surface: #37352c;
}
html, body { background: var(--paper); }
::selection { background: #50654a; color: #e0e5db; }
.button, .filters button.active, .calendar-event.start,
.mobile-bay-switch button[aria-pressed=true] {
  background: #465e46; border-color: #687d60; color: #e0e6db;
}
.button:hover { background: #506a4e; }
.button.subtle, .guide-feature .button.subtle {
  background: transparent; color: var(--green); border-color: #62715c;
}
.button.subtle:hover, .icon-button:hover { background: var(--surface-soft); }
.button.light, .guide-feature .button { background: var(--selected); color: var(--ink); border-color: var(--accent-line); }
input, select, textarea,
.season-selector select, .room-toolbar select, .room-inspector input,
.compare-pickers select, .space-select-row select, .mobile-batch-selector select {
  background: #252f27; border-color: #66725f; color: var(--text);
}
.qty-control input { background: #252f27!important; border-color: #66725f!important; }
.position-control select { border-color: #66725f; }
.filters button { border-color: var(--line); }
.filters button[aria-pressed=true] {
  background: var(--selected)!important; color: var(--ink)!important; border-color: var(--accent-line)!important;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .file-button:focus-within {
  outline-color: #bdaf83;
}
.notebook-heading h1, .page-heading h1 { font-size: clamp(2.1rem, 3.2vw, 2.8rem); }
.batch-header h2 { font-size: clamp(2rem, 3vw, 2.4rem); }
.plant-page-top h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.crop-photo img, .catalog-photo img, .plant-page-photo img,
.batch-choice>img, .batch-portrait, .shelf-crop img { filter: brightness(.86) saturate(.85); }
.crop-photo, .catalog-photo, .plant-type-label { background: var(--surface-soft); }
.plant-type-label { color: var(--ink); border-color: var(--accent-line); }
.plant-type-label small, .crop-title small, .catalog-body>small,
.batch-choice span>span, .growth-track button, .stage-context,
.batch-diagram-label>span, .batch-diagram figcaption { color: var(--muted); }
.batch-choice.selected { background: var(--selected); border-color: var(--accent-line); }
.growth-track button::after { background: var(--line); }
.growth-track button>span { border-color: #728366; }
.growth-track button.current>span, .growth-track button.done>span {
  background: #51684b; color: #e0e6db; border-color: #7f966f;
}
.ready-cue, .waiting-times, .nursery-rule, .room-inspector,
.compare-invitation, .space-light-note, .care-focus, .callout, .care-note, .footnote {
  background: var(--surface-soft); border-color: var(--accent-line);
}
.batch-diagram, .pencil-note, .crop-comparison tbody tr:nth-child(6) {
  background: var(--warm-surface); border-color: #827458;
}
.batch-diagram figcaption a { color: var(--green); }
.seed-map { background: #444437; border-color: #6e705b; }
.seed-map>span { background: #34392e; border-color: #72755e; color: var(--ink); }
.pot-map { background: transparent; border: 0; }
.pot-map>span { background: #5c4d38; border-color: #8b7552; color: #ddd2bd; }
.direct-map { background: #444031; border-color: #766747; }
.direct-map>span { background: #465840; border-color: #859575; }
.next-crops article, .garden-margin .season-note, .fit-clear { border-color: var(--accent-line); }
.sowing-table thead th, .crop-comparison thead th { background: var(--surface-soft); }
.sowing-steps li::before { color: var(--green); }
.room-canvas {
  background-color: #252d26;
  background-image: linear-gradient(to right,#354136 1px,transparent 1px),linear-gradient(to bottom,#354136 1px,transparent 1px);
  border-color: #62715b;
}
.room-object { background: #3d523a; border-color: #829d70; color: #d6dfcc; }
.room-object.furniture { background: #41443a; border-color: #777a68; color: #d2d2be; }
.room-object.door { background: #373a30; border-color: #918866; color: #d4ceb1; }
.room-object.window { background: #354b4b; border-color: #729695; color: #c3d9d5; }
.room-object.shelfA, .room-object.shelfB { background: #534733; border-color: #937953; color: #e0d0ad; }
.room-object.selected, .pot-footprint.selected { outline-color: #b0c196; }
.room-ghost { border-color: #9eaf84; background: #596f4666; }
.room-crops, .room-crop, .room-layout-links { border-color: var(--line); }
.pot-board {
  background-color: #332f25;
  background-image: linear-gradient(to right,#494235 1px,transparent 1px),linear-gradient(to bottom,#494235 1px,transparent 1px);
  border-color: #7b6545;
}
.pot-footprint, .pot-footprint.tray { background: #3e5137; border-color: #849772; color: #d5dfcb; }
.pot-footprint.pot { background: #594b36; border-color: #a18a62; color: #e0d3b9; }
.pot-footprint.has-problem { background: #604734; border-color: #c09270; color: #eadbc9; }
.fit-problems, #storage-warning { background: #453a2f; border-color: #a17c56; color: #ddcdb7; }
.empty-board { color: #bcb298; }
.danger, .field-error { color: #dda68c; }
.shelf-main, .reference-content .panel { background: var(--surface-soft); }
.bay-heading, .level-label>span, .vacant { color: var(--muted); }
.wood-frame, .shelf-level { background: #2a342a; box-shadow: none; }
.shelf-level::before { background: #88977a; box-shadow: none; }
.shelf-level.selected { background: var(--selected); box-shadow: inset 0 0 0 2px var(--accent-line); }
.shelf-level:hover { background: #3b4937; }
.shelf-storage { background: var(--warm-surface); color: #bbb19d; }
.badge, .badge.finished, .plant-image .badge { background: var(--surface-soft); color: var(--text); }
.badge.growing { background: var(--selected); }
.day.blank { background: #252d26; }
.day.today .day-number { color: #d7b888; }
.calendar-event { background: var(--selected); }
.calendar-event.start small { color: #d2decb; }
.calendar-event.harvest { background: #554632; color: #dfceb3; }
.season-panel, .guide-feature { background: #2d3d2f; color: var(--text); }
.season-panel h2, .season-panel h3, .guide-feature h2 { color: var(--ink); }
.season-panel .eyebrow, .season-panel p, .guide-feature .eyebrow { color: var(--muted); }
.guide-grid-preview { border-color: var(--wood); background: #293728; }
.guide-grid-preview .filled { background: #657c50; color: #e0e6d7; }
.instruction-list li:before { background: var(--selected); }
.plant-spot.filled { background: #5b7448; border-color: #9aae7a; color: #e1e8d4; }
.timeline-card { border-color: var(--accent-line); }
#toast { background: #384934; color: #dce5d4; border: 1px solid #718563; box-shadow: 0 5px 25px #10181055; }
.skip { background: var(--white); }
dialog { box-shadow: 0 20px 80px #10171088; }
dialog::backdrop { background: #111812aa; }
.plant-card:hover, .crop-photo:hover img { transform: none; }
@media(max-width:600px) {
  .notebook-heading h1, .page-heading h1 { font-size: 2.1rem; }
  .batch-header h2 { font-size: 2rem; }
}

