/* Eden Nutrient Mixer — brand: forest green #1B3A2E, mint #5FA88A, gold #9C7A2E, cream #FBF9F4 */

.eden-nm-fullwidth {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: linear-gradient(180deg, #FBF9F4 0%, #F4F0E6 100%);
	box-sizing: border-box;
}

.eden-nm-spacer {
	width: 100%;
	display: block;
}

.eden-nm-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 32px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	box-sizing: border-box;
}

.eden-nm-wrap *,
.eden-nm-wrap *::before,
.eden-nm-wrap *::after {
	box-sizing: border-box;
}

/* Header */
.eden-nm-header {
	text-align: center;
	margin-bottom: 40px;
}

.eden-nm-kicker {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #9C7A2E;
	font-weight: 500;
	text-transform: uppercase;
}

.eden-nm-header h2 {
	font-family: 'Playfair Display', serif;
	font-size: 42px;
	font-weight: 700;
	color: #1B3A2E;
	margin: 10px 0 8px;
}

.eden-nm-header p {
	font-size: 16px;
	color: #4c5c54;
	margin: 0;
}

/* Controls */
.eden-nm-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 32px;
	background: #ffffff;
	border: 1px solid #E4DFD0;
	border-radius: 14px;
	padding: 16px 20px;
}

.eden-nm-search {
	flex: 1 1 240px;
}

.eden-nm-search input {
	width: 100%;
	padding: 11px 16px;
	border: 1.5px solid #E4DFD0;
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #1B3A2E;
	background: #FBF9F4;
	outline: none;
	transition: border-color 0.15s ease;
}

.eden-nm-search input:focus {
	border-color: #5FA88A;
}

.eden-nm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 2 1 420px;
}

.eden-nm-pill {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #1B3A2E;
	background: #F4F0E6;
	border: 1.5px solid #E4DFD0;
	border-radius: 999px;
	padding: 7px 15px;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.eden-nm-pill:hover {
	border-color: #5FA88A;
}

.eden-nm-pill.is-active {
	background: #1B3A2E;
	border-color: #1B3A2E;
	color: #FBF9F4;
}

.eden-nm-add-btn {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #FBF9F4;
	background: #9C7A2E;
	border-radius: 10px;
	padding: 10px 18px;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}

.eden-nm-add-btn:hover {
	opacity: 0.88;
	color: #FBF9F4;
}

/* Grid + cards */
.eden-nm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 20px;
}

.eden-nm-card {
	background: #ffffff;
	border: 1px solid #E4DFD0;
	border-radius: 16px;
	padding: 20px;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
}

.eden-nm-card:hover {
	box-shadow: 0 10px 28px rgba(27, 58, 46, 0.10);
	transform: translateY(-2px);
	border-color: #5FA88A;
}

.eden-nm-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.eden-nm-icon {
	font-size: 28px;
	line-height: 1;
}

.eden-nm-category-badge {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5FA88A;
	background: rgba(95, 168, 138, 0.12);
	border-radius: 999px;
	padding: 4px 9px;
}

.eden-nm-card-title {
	font-family: 'Playfair Display', serif;
	font-size: 19px;
	font-weight: 600;
	color: #1B3A2E;
	margin: 0 0 14px;
}

.eden-nm-stat-row {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}

.eden-nm-stat {
	flex: 1;
	background: #FBF9F4;
	border: 1px solid #EEE9DC;
	border-radius: 10px;
	padding: 8px 6px;
	text-align: center;
}

.eden-nm-stat-label {
	display: block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	color: #9C7A2E;
	letter-spacing: 0.05em;
	margin-bottom: 3px;
}

.eden-nm-stat-value {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1B3A2E;
}

.eden-nm-calmag-tag {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 600;
	color: #9C7A2E;
	background: rgba(156, 122, 46, 0.12);
	border-radius: 6px;
	padding: 3px 8px;
	margin-bottom: 12px;
}

.eden-nm-mix-btn {
	margin-top: auto;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #FBF9F4;
	background: #1B3A2E;
	border: none;
	border-radius: 10px;
	padding: 11px 16px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.eden-nm-mix-btn:hover {
	background: #274d3c;
}

/* Expanding calculator panel */
.eden-nm-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s ease;
	margin-top: 0;
}

.eden-nm-panel.is-open {
	max-height: 600px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #E4DFD0;
}

.eden-nm-panel-row {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}

.eden-nm-panel-row label {
	flex: 1;
	font-size: 12px;
	font-weight: 500;
	color: #4c5c54;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.eden-nm-panel-row input,
.eden-nm-panel-row select {
	padding: 8px 10px;
	border: 1.5px solid #E4DFD0;
	border-radius: 8px;
	font-size: 13px;
	color: #1B3A2E;
	background: #FBF9F4;
	font-family: 'Inter', sans-serif;
}

.eden-nm-calc-btn {
	width: 100%;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #1B3A2E;
	background: #EFE7C8;
	border: 1.5px solid #9C7A2E;
	border-radius: 10px;
	padding: 9px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.eden-nm-calc-btn:hover {
	background: #E4D8A6;
}

.eden-nm-result {
	margin-top: 12px;
}

.eden-nm-result-card {
	background: #1B3A2E;
	color: #FBF9F4;
	border-radius: 12px;
	padding: 14px;
}

.eden-nm-result-title {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.05em;
	color: #9CD9BC;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.eden-nm-result-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.eden-nm-result-item {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 8px;
}

.eden-nm-result-item .label {
	display: block;
	font-size: 10px;
	color: #C9DFD2;
	margin-bottom: 2px;
}

.eden-nm-result-item .value {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #FBF9F4;
	font-family: 'IBM Plex Mono', monospace;
}

.eden-nm-result-target {
	font-size: 11px;
	color: #C9DFD2;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 8px;
	margin-top: 4px;
}

.eden-nm-notes {
	font-size: 12px;
	color: #6b7a70;
	margin: 12px 0 0;
	line-height: 1.5;
}

.eden-nm-empty {
	text-align: center;
	color: #6b7a70;
	font-size: 15px;
	padding: 40px 0;
}

/* Responsive */
@media (max-width: 640px) {
	.eden-nm-wrap {
		padding: 36px 16px;
	}
	.eden-nm-header h2 {
		font-size: 30px;
	}
	.eden-nm-controls {
		flex-direction: column;
		align-items: stretch;
	}
	.eden-nm-result-grid {
		grid-template-columns: 1fr;
	}
}

/* Admin screen light styling */
.eden-nm-admin-wrap .form-table th {
	width: 260px;
}

/* ===== Eden Plant Capacity Calculator — additional styles ===== */

.eden-pc-summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-bottom: 40px;
}

.eden-pc-summary-item {
	background: #ffffff;
	border: 1px solid #E4DFD0;
	border-radius: 14px;
	padding: 18px;
	text-align: center;
}

.eden-pc-summary-highlight {
	background: #1B3A2E;
	border-color: #1B3A2E;
}

.eden-pc-summary-value {
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	font-weight: 700;
	color: #1B3A2E;
	margin-bottom: 4px;
}

.eden-pc-summary-highlight .eden-pc-summary-value {
	color: #FBF9F4;
}

.eden-pc-summary-label {
	display: block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b7a70;
}

.eden-pc-summary-highlight .eden-pc-summary-label {
	color: #9CD9BC;
}

.eden-pc-legend-header {
	margin-bottom: 16px;
}

.eden-pc-legend-header h3 {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	color: #1B3A2E;
	margin: 0;
}

.eden-pc-legend-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 44px;
}

.eden-pc-legend-card {
	background: #ffffff;
	border: 1px solid #E4DFD0;
	border-radius: 14px;
	padding: 18px;
}

.eden-pc-legend-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.eden-pc-legend-card h4 {
	font-family: 'Playfair Display', serif;
	font-size: 16px;
	color: #1B3A2E;
	margin: 0 0 8px;
}

.eden-pc-legend-card p {
	font-size: 12.5px;
	line-height: 1.55;
	color: #4c5c54;
	margin: 0 0 10px;
}

.eden-pc-legend-spacing {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: #9C7A2E;
}

.eden-pc-plot-code {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 18px;
	font-weight: 700;
	color: #1B3A2E;
	background: rgba(95, 168, 138, 0.14);
	border-radius: 8px;
	padding: 3px 10px;
}

.eden-pc-status-tag {
	font-size: 11px;
	font-weight: 600;
	border-radius: 999px;
	padding: 4px 10px;
}

.eden-pc-status-active {
	color: #2f6b4f;
	background: rgba(95, 168, 138, 0.16);
}

.eden-pc-status-planned {
	color: #9C7A2E;
	background: rgba(156, 122, 46, 0.16);
}

.eden-pc-status-maintenance {
	color: #b3492d;
	background: rgba(179, 73, 45, 0.14);
}

.eden-pc-zone {
	font-size: 12px;
	color: #6b7a70;
	margin: -8px 0 14px;
}

.eden-pc-capacity-box {
	background: #FBF9F4;
	border: 1px dashed #9C7A2E;
	border-radius: 10px;
	padding: 10px;
	text-align: center;
	margin-bottom: 12px;
}

.eden-pc-capacity-value {
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	font-weight: 700;
	color: #1B3A2E;
}

.eden-pc-capacity-label {
	display: block;
	font-size: 11px;
	color: #9C7A2E;
	font-family: 'IBM Plex Mono', monospace;
}

@media (max-width: 780px) {
	.eden-pc-summary {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Eden Produce Manager — additional styles ===== */

.eden-pm-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.eden-pm-tab {
	font-size: 13.5px;
}

.eden-pm-add-buttons {
	display: flex;
	gap: 8px;
}

.eden-pm-tier-everyday {
	color: #2f6b4f;
	background: rgba(95, 168, 138, 0.16);
}

.eden-pm-tier-exotic {
	color: #9C7A2E;
	background: rgba(156, 122, 46, 0.16);
}

.eden-pm-tier-reserve {
	color: #7a3b8f;
	background: rgba(122, 59, 143, 0.12);
}

.eden-pm-panel-section {
	min-height: 80px;
}
