.planting-page { display: flex; flex-direction: column; gap: 18px; }
.planting-tab-panel { margin-top: 14px; }
.planting-heading { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.planting-heading h1 { margin: 4px 0; }
.planting-heading p { margin: 0; color: #607164; }
.planting-layout { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
.planting-card { background: #fff; border: 1px solid #e6ebe2; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.planting-card h2 { margin: 0; font-size: 1.1rem; }
.planting-form { display: flex; flex-direction: column; gap: 12px; }
.planting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.planting-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.planting-hint { color: #607164; font-size: 0.85rem; margin: 0; }
.planting-map-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.planting-map-head select { min-width: 200px; max-width: 100%; }
.planting-map { height: 420px; border-radius: 12px; overflow: hidden; background: #eef3ea; border: 1px solid #e6ebe2; }
.planting-map-empty { height: 100%; display: grid; place-items: center; color: #607164; padding: 16px; text-align: center; }
.planting-schematic { width: 100%; height: 100%; display: block; }
.planting-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.planting-stats div { background: #f6f9f3; border-radius: 12px; padding: 10px 12px; }
.planting-stats dt { font-size: 0.8rem; color: #607164; }
.planting-stats dd { margin: 2px 0 0; font-weight: 600; }
.planting-field-info { display: flex; flex-direction: column; gap: 14px; }
.planting-field-info small { display: block; color: #607164; }
.planting-ref-controls { display: flex; flex-direction: column; gap: 10px; }
.planting-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.planting-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f6f9f3; color: #20352a; font-size: 0.82rem; }
.planting-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chip, #607164); }
.planting-table-wrap { overflow: auto; max-height: 420px; border: 1px solid #e6ebe2; border-radius: 12px; }
.planting-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.planting-table th, .planting-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #eef2ea; white-space: nowrap; vertical-align: top; }
.planting-table th { position: sticky; top: 0; background: #f6f9f3; }
.planting-table td:last-child { white-space: normal; }
.planting-editor-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.planting-editor-head h2 { margin: 4px 0; }
.planting-editor-head p { margin: 0; }
.planting-photo-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.planting-photo { width: 150px; height: 112px; border-radius: 12px; background: #f1f4ee; border: 1px dashed #c9d3c3; display: grid; place-items: center; overflow: hidden; color: #607164; font-size: 0.85rem; }
.planting-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.planting-file { cursor: pointer; }
.planting-danger { color: #b3261e; border-color: #e8b4af; }
.planting-dot { cursor: pointer; }
button.active { outline: 2px solid #2f7d4a; }
@media (max-width: 860px) {
  .planting-layout { grid-template-columns: 1fr; }
  .planting-map { height: 320px; }
  .planting-grid { grid-template-columns: 1fr; }
}
