
/* v2.12.0 - Sin Go-Ferm, FERMAID O/K only */
.ena-hv3-wrap { max-width: 860px; margin: 40px auto; padding: 30px; background: linear-gradient(to bottom, #fff7e6, #fff); border-radius: 12px; box-shadow: 0 6px 12px rgba(0,0,0,0.15); overflow: visible; }
.ena-hv3-wrap .logo { text-align:center; margin-bottom: 20px; }
.ena-hv3-wrap h3 { text-align:center; color:#4a2c00; margin-bottom: 16px; }
.ena-hv3-form label { display:block; margin-top:10px; font-weight:600; color:#4a2c00; position:relative; }
.ena-hv3-form input[type="number"], .ena-hv3-form select { width:100%; padding:10px; border:2px solid #e6b800; border-radius:8px; }
fieldset.nutr-strategy { border:2px dashed #e6b800; padding:10px 12px; border-radius:10px; margin-top:10px; }
fieldset.nutr-strategy label { display:block; margin:6px 0; }
.btn-primary { background:#e6b800; color:#fff; padding:12px 24px; border:none; border-radius:8px; cursor:pointer; font-size:16px; font-weight:700; margin-top:16px; }
.btn-primary:hover { background:#cc9e00; }
.btn-secondary { background:#fff; color:#4a2c00; padding:10px 16px; border:2px solid #e6b800; border-radius:8px; cursor:pointer; font-weight:700; }
.btn-secondary:disabled { opacity:.5; cursor:not-allowed; }
.error-message { background:#ffe6e6; border:2px solid #cc0000; border-radius:10px; padding:14px; margin-top:16px; }
.results { background:#f0f7e6; border:2px solid #4CAF50; border-radius:10px; padding:20px; margin-top:20px; }
.download-button { display:inline-block; background:#2196F3; color:#fff; padding:12px 16px; border-radius:10px; margin-top:16px; text-decoration:none; font-weight:700; }
.download-button:hover { background:#0b7dda; }
.small { font-size: 12px; color: #555; }

/* Tooltips */
.tiny-help { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; margin-left:6px; font-size:11px; font-weight:800; color:#4a2c00; background:#ffeab5; border:1px solid #e6b800; border-radius:50%; cursor:help; line-height:1; }
.tip-pop { display:none; position:absolute; left:22px; top:0; max-width:340px; padding:8px 10px; background:#fffdf5; border:1px solid #e6b800; border-radius:8px; color:#333; box-shadow:0 12px 24px rgba(0,0,0,0.18); z-index:99999; font-size:12px; pointer-events:none; }
label:hover > .tip-pop, p:hover > .tip-pop, .tiny-help:focus + .tip-pop { display:block; }

/* Badges */
.badge-ok, .badge-warn, .badge-err { display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; margin-left:6px; }
.badge-ok { background:#e8f5e9; border:1px solid #43a047; color:#1b5e20; }
.badge-warn { background:#fffde7; border:1px solid #fbc02d; color:#795548; }
.badge-err { background:#ffebee; border:1px solid #e53935; color:#b71c1c; }

.smart-notes { background:#fffdf5; border:1px dashed #e6b800; border-radius:10px; padding:12px; margin-top:12px; }
.smart-notes ul { margin:8px 0 0 18px; }

.calib-box { margin-top:16px; padding:16px; border:2px dashed #e6b800; border-radius:12px; background:#fffdf5; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.calib-actions { margin:10px 0; display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width:600px){ .grid-2 { grid-template-columns:1fr; } }
@media print { .no-print, .calib-box, .tiny-help, .tip-pop, .badge-ok, .badge-warn, .badge-err, .smart-notes, #preset { display:none!important; } .ena-hv3-wrap { box-shadow:none; background:#fff; } }
