:root{--forest:#0f5132;--deep:#073d2a;--gold:#c88b2a;--cream:#fbfaf5}
body{font-family:Inter,system-ui,sans-serif}.font-serif{font-family:Georgia,'Times New Roman',serif}
.hero-pattern{background:radial-gradient(circle at 20% 20%,rgba(200,139,42,.3),transparent 32%),linear-gradient(135deg,#073d2a,#0f5132 58%,#1b6b45)}
.card{background:#fff;border:1px solid rgba(15,81,50,.1);border-radius:1.25rem;box-shadow:0 14px 40px rgba(7,61,42,.08)}
.badge{display:inline-flex;border-radius:999px;padding:.35rem .75rem;font-size:.75rem;font-weight:700}
@keyframes scrollT{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}.testimonial-track{display:flex;width:max-content;animation:scrollT 36s linear infinite}.testimonial-track:hover{animation-play-state:paused}

.modal-backdrop{position:fixed;inset:0;background:rgba(2,44,28,.72);display:none;align-items:center;justify-content:center;padding:1rem;z-index:100}
.modal-backdrop.open{display:flex}.modal-card{max-height:85vh;overflow:auto;background:#fff;border-radius:1.25rem;max-width:760px;width:100%;padding:1.5rem;box-shadow:0 30px 70px rgba(0,0,0,.3)}
.product-image{width:100%;height:176px;object-fit:cover;background:#0f5132}
.farm-illustration{background:linear-gradient(#bfe3f7 0 45%,#d9c786 45% 58%,#6c9448 58%);position:relative;overflow:hidden}

/* V4.6 light/dark appearance */
html.dark body{background:#09130d!important;color:#e7efe9!important}
html.dark header{background:rgba(9,19,13,.96)!important;border-color:#284333!important}
html.dark .card{background:#132219!important;color:#e7efe9!important;border-color:#2e4c39!important}
html.dark input,html.dark select,html.dark textarea{background:#0d1a12!important;color:#eef5ef!important;border-color:#3a5a46!important}
html.dark [class*="bg-white"]{background-color:#132219!important}
html.dark [class*="bg-slate-50"],html.dark [class*="bg-slate-100"]{background-color:#0d1a12!important}
html.dark [class*="text-slate-900"],html.dark [class*="text-slate-800"],html.dark [class*="text-slate-700"]{color:#e7efe9!important}
html.dark [class*="text-slate-600"],html.dark [class*="text-slate-500"],html.dark [class*="text-slate-400"]{color:#a9b9ae!important}
html.dark [class*="text-emerald-950"]{color:#d9f3e2!important}
html.dark [class*="border-slate"],html.dark [class*="border-emerald-900/"]{border-color:#355744!important}
html.dark footer{border-color:#284333!important}

/* V7.4 balanced global theme */
html.dark{color-scheme:dark}
html.dark body{background:#07110b!important;color:#e8f0ea!important}
html.dark header,html.dark nav,html.dark .modal-card,html.dark [class*="bg-white"]{background-color:#102018!important;color:#e8f0ea!important;border-color:#2d4b38!important}
html.dark [class*="bg-amber-50"]{background-color:#2b2414!important}
html.dark [class*="bg-emerald-50"]{background-color:#10291c!important}
html.dark [class*="bg-blue-50"]{background-color:#111f2f!important}
html.dark [class*="bg-red-50"]{background-color:#2b1515!important}
html.dark [class*="text-emerald-950"],html.dark [class*="text-slate-900"],html.dark [class*="text-slate-800"],html.dark [class*="text-slate-700"]{color:#edf7f0!important}
html.dark [class*="text-slate-600"],html.dark [class*="text-slate-500"],html.dark [class*="text-slate-400"]{color:#a9b9ae!important}
html.dark table thead{border-color:#355744!important}
html.dark table tbody tr{border-color:#294535!important}
html.dark input,html.dark select,html.dark textarea{background:#09160f!important;color:#f2f7f3!important;border-color:#3d5e49!important}
html.dark .shadow,html.dark .shadow-sm,html.dark .shadow-xl,html.dark .shadow-2xl{box-shadow:0 12px 34px rgba(0,0,0,.34)!important}

/* V8.3 smart tables */
.ayuma-smart-table thead{position:sticky;top:0;z-index:2}.ayuma-smart-table tbody tr{transition:background-color .16s ease}.ayuma-smart-table tbody tr:hover{background:rgba(236,253,245,.65)}.ayuma-smart-table th{white-space:nowrap}.ayuma-smart-table td{vertical-align:middle}
/* V9.0.0 local charts and fast rendering */
.ayuma-chart-tip{position:absolute;z-index:20;min-width:160px;max-width:230px;border-radius:.8rem;background:#0f172a;color:#fff;padding:.65rem .75rem;font-size:.75rem;line-height:1.45;pointer-events:none;box-shadow:0 12px 30px rgba(15,23,42,.25)}.ayuma-chart-tip b{display:block;margin-bottom:.25rem}.ayuma-chart-tip span{display:block;white-space:nowrap}.ayuma-chart-tip i{display:inline-block;width:.55rem;height:.55rem;border-radius:999px;margin-right:.4rem}.dashboard-chart canvas{width:100%!important;display:block}
