:root{color-scheme:light}.theme-toggle{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:45;display:grid;width:3rem;height:3rem;place-items:center;border:1px solid #b8cfc0;border-radius:50%;background:#fff;color:#07553a;box-shadow:0 4px 18px #0003;cursor:pointer}.theme-toggle:hover{background:#eaf4ee}.theme-toggle:focus-visible{outline:3px solid #d6a928;outline-offset:4px}.theme-toggle svg{width:1.4rem;height:1.4rem}.theme-toggle .theme-toggle-sun{display:none}@media(max-width:1023px){body:has(.mobile-bottom-nav)>.theme-toggle{bottom:calc(5.25rem + env(safe-area-inset-bottom))}}@media print{.theme-toggle{display:none!important}}html[data-theme=dark]{color-scheme:dark;--app-bg: #101b16;--app-card: #1b2b22;--app-ink: #e3eee7;--app-muted: #a9bdb0;--app-line: #344b3e;--app-green: #70d6a0;--app-green-dark: #a1e7be;--app-green-deep: #c2f0d4;--app-green-soft: #243e30;--app-green-tint: #203428}html[data-theme=dark] body{background:var(--app-bg);color:var(--app-ink)}html[data-theme=dark] .theme-toggle{background:#243e30;border-color:#557b64;color:#f4d16c}html[data-theme=dark] .theme-toggle:hover{background:#34553f}html[data-theme=dark] .theme-toggle .theme-toggle-moon{display:none}html[data-theme=dark] .theme-toggle .theme-toggle-sun{display:block}html[data-theme=dark] :is(.app-sidebar,.mobile-bottom-nav,.panel,.metric-card,.farm-admin-card,.account-dropdown,.notification-dropdown,.auth-card,.auth-confirm-dialog,.farmer-status-card,.farmer-full-details,.farmer-province-card,.farmer-learning-path,.farmer-learning-path li,.farmer-empty,.analytics-card,.analytics-board,.analytics-chart-stage,.analytics-filters,.analytics-disease-card,.analytics-empty,.analytics-board-empty,.weather-card,.weather-day,.weather-current,.weather-empty,.disease-forecast-panel,.disease-forecast-empty,.disease-value-year,.farmer-risk-panel,.farmer-risk-chart,.farm-action-card,.forecast-setup,.forecast-output,.forecast-result-card,.forecast-output-empty,.forecast-output-summary,.forecast-output-metrics>*,.forecast-input-affix,.recommendation-panel,.recommendation-empty,.recommendation-context,.recommendation-table-wrap,.stored-forecast-overview,.stored-forecast-context,.stored-market-guidance,.stored-forecast-filters,.stored-forecast-highlight,.archived-arima,.archived-arima-card,.archived-arima-details,.announcement-card,.announcement-compose,.announcement-history,.announcement-guide,.announcement-settings,.announcement-empty,.announcement-audience-note,.record-entry-guide,.model-empty,.sidebar-institution,.date-pill,.secondary-button,.summary-strip,.filter-bar,.reporting-guide,.reporting-guide-note,.incident-summary,.auth-confirm-summary,.auth-password-requirements,.auth-security-intro,.market-gap-filter,.market-price-grid article,.market-gap-grid article,.provincial-price-card,.provincial-price-card.unavailable,.provincial-price-missing,.data-import-form,.data-import-formats>div,.qr-guidance,.field-qr-security,.record-secure-note,.farm-card,.farm-type,.analytics-empty-icon,.bg-white,.bg-gray-50,.bg-gray-100){background:var(--app-card);border-color:var(--app-line);color:var(--app-ink)}html[data-theme=dark] :is(.auth-page,.auth-form-panel){--auth-ink: #e3eee7;--auth-muted: #a9bdb0;--auth-green: #70d6a0;--auth-green-dark: #a1e7be;background:var(--app-bg);color:var(--app-ink)}html[data-theme=dark] .auth-mode-tabs{background:#1b2b22;border-color:#344b3e}html[data-theme=dark] .auth-mode-tabs a{color:#a9bdb0}html[data-theme=dark] .auth-mode-tabs a.is-active{background:#187347;color:#fff}html[data-theme=dark] .auth-website-qr span{color:#a9bdb0}html[data-theme=dark] :is(.app-main,.app-sidebar,.auth-form-panel,.account-dropdown,.notification-dropdown) :is(h1,h2,h3,h4,label,legend,dt,dd,strong,summary,th,td){color:var(--app-ink)}html[data-theme=dark] :is(.app-main,.app-sidebar,.auth-form-panel,.account-dropdown,.notification-dropdown) :is(p,small,figcaption,.eyebrow,.nav-label){color:var(--app-muted)}html[data-theme=dark] :is(.text-gray-900,.text-gray-800,.text-gray-700){color:var(--app-ink)}html[data-theme=dark] :is(.text-gray-600,.text-gray-500){color:var(--app-muted)}html[data-theme=dark] :is(.app-sidebar nav>a,.farmer-advice-toggle,.farmer-advice-submenu a,.mobile-bottom-nav a,.account-menu a,.account-menu button,.secondary-button,.analytics-data-link,.analytics-reset,.forecast-output-link){color:var(--app-ink)}html[data-theme=dark] :is(.app-sidebar nav>a,.farmer-advice-toggle,.farmer-advice-submenu a,.account-menu a,.account-menu button,.notification-item):hover{background:#294333;border-color:#44644e}html[data-theme=dark] :is(.app-sidebar nav>a.active,.farmer-advice-submenu a.active,.farmer-advice-toggle.is-expanded,.mobile-bottom-nav a.active){background:#243e30;border-color:#44644e;color:#9be6b9}html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){background-color:#14231b;border-color:#4b6655;color:#e3eee7}html[data-theme=dark] :is(input,textarea)::-moz-placeholder{color:#94aa9c}html[data-theme=dark] :is(input,textarea)::placeholder{color:#94aa9c}html[data-theme=dark] :is(.primary-button,.auth-submit){background:#187347;border-color:#33895b;color:#fff}html[data-theme=dark] :is(.primary-button,.auth-submit):hover{background:#208653}html[data-theme=dark] :is(.farmer-hero,.farm-profile-hero) :is(h1,h2,strong){color:#fff}html[data-theme=dark] :is(.farmer-hero,.farm-profile-hero) :is(p,small){color:#d3eadc}html[data-theme=dark] :is(table,th,td,.panel-heading,.forecast-module-heading,.weather-heading,.notification-item,.account-menu,.auth-confirm-summary>*,.recommendation-panel-heading,.announcement-panel-heading){border-color:var(--app-line)}html[data-theme=dark] :is(thead,th,.data-table thead,.weather-command .weather-heading,.farmer-status-meta>*,.farmer-number-grid>*,.forecast-evidence-chips>*,.stored-forecast-metadata>*,.disease-value-year>summary){background:#24382c}html[data-theme=dark] :is(tbody tr:nth-child(2n),tbody tr:hover){background:#21372a}html[data-theme=dark] .account-status-tabs a{background:var(--app-card);border-color:var(--app-line);color:var(--app-muted)}html[data-theme=dark] .account-status-tabs a.active{background:#254432;border-color:#4f7d61;color:#b9efcd}html[data-theme=dark] .account-status-tabs a strong{background:#2c4034;color:var(--app-muted)}html[data-theme=dark] .account-status-tabs a.active strong{background:#278052;color:#fff}html[data-theme=dark] :is(.account-search,.account-registry>summary:hover,.account-table tbody tr:hover,.account-registry-table tbody tr:hover){background:#17261e}html[data-theme=dark] :is(.account-table tbody tr,.account-registry-table tbody tr){border-color:var(--app-line)}html[data-theme=dark] :is(.account-table tbody tr:hover>td,.account-registry-table tbody tr:hover>td){background:#17261e}html[data-theme=dark] .account-application-review :is(.application-status--pending,.application-status--approved,.application-status--rejected,.comparison-result--match,.comparison-result--mismatch){border-color:var(--app-line)}html[data-theme=dark] .account-application-review .application-status--pending{background:#443b25;color:#f1cf70}html[data-theme=dark] .account-application-review .application-status--approved,html[data-theme=dark] .account-application-review .comparison-result--match{background:#244331;color:#70d6a0}html[data-theme=dark] .account-application-review .application-status--rejected,html[data-theme=dark] .account-application-review .comparison-result--mismatch{background:#4a2c2a;color:#ffaaa3}html[data-theme=dark] .account-application-review .registry-warning{border-color:#6c6840;background:#3d3825}html[data-theme=dark] .account-application-review .registry-warning-icon{background:#514828;color:#f1cf70}html[data-theme=dark] .account-application-review .registry-warning :is(strong,p){color:#f2dea2}html[data-theme=dark] .account-application-review .application-decision-card{border-color:var(--app-line);background:#17261e}html[data-theme=dark] .account-application-review .data-table tbody tr:hover>td{background:#17261e}html[data-theme=dark] .account-detail-registry>summary:hover{background:#17261e}html[data-theme=dark] :is(.status-badge,.badge,.recommendation-level,.weather-advisory-state,.weather-stale-note,.forecast-service-alert,.forecast-monitoring-note,.forecast-monitoring-state,.forecast-proxy-note,.guidance-unavailable,.farmer-risk-unavailable,.risk-scale-key,.announcement-error,.announcement-guide-note,.disease-monthly-recommendation-heading){background:#293c2d;color:#eadca6;border-color:#6c6840}html[data-theme=dark] .farmer-status-card--safe{--status: #70d6a0;--status-bg: #244331}html[data-theme=dark] .farmer-status-card--watch{--status: #f1cf70;--status-bg: #443b25}html[data-theme=dark] .farmer-status-card--danger{--status: #ff9d9d;--status-bg: #482d2d}html[data-theme=dark] .farmer-status-card--unknown{--status: #b5c6bc;--status-bg: #2d3b33}html[data-theme=dark] :is(.page-alert.success,.analytics-status[data-state=ready]){background:#244331;color:#9be6b9;border-color:#446c51}html[data-theme=dark] :is(.page-alert.warning,.data-import-error td){background:#443b25;color:#f1cf70;border-color:#76643b}html[data-theme=dark] :is(.page-alert.error,.analytics-status[data-state=error]){background:#482d2d;color:#ffb3ad;border-color:#80504b}html[data-theme=dark] .notification-item.unread{background:#243e30}html[data-theme=dark] .market-gap-grid strong.positive{color:#8ee2ac}html[data-theme=dark] .market-gap-grid strong.negative{color:#ffb3ad}html[data-theme=dark] .analytics-empty-icon{box-shadow:0 0 0 7px #1b2b22cc}html[data-theme=dark] .analytics-empty:before{opacity:.12}
