/* SaptariX brand layer. Component dimensions and layout remain from NexLink. */
:root, [data-bs-theme="light"] {
  --urviq-input-border: #000000;
  --bs-primary: #2e7d42;
  --bs-primary-rgb: 46, 125, 66;
  --bs-primary-text-emphasis: #1d4e2a;
  --bs-primary-bg-subtle: #f1f7f2;
  --bs-primary-border-subtle: #c7dfcd;
  --bs-info: #87aa37;
  --bs-info-rgb: 135, 170, 55;
  --bs-info-bg-subtle: #f4f7ec;
  --bs-info-border-subtle: #dce6be;
  --bs-link-color: #2e7d42;
  --bs-link-color-rgb: 46, 125, 66;
  --bs-link-hover-color: #246338;
  --bs-link-hover-color-rgb: 36, 99, 56;
  --custom-body-bg: #fcfdfc;
}
html[data-bs-theme="dark"] {
  --urviq-input-border: #27cc02;
  --custom-body-bg: var(--bs-secondary-bg);
  --bs-primary: #76b487;
  --bs-primary-rgb: 118, 180, 135;
  --bs-primary-bg-subtle: #15251a;
  --bs-primary-border-subtle: #335e3e;
  --bs-info: #b3ca70;
  --bs-info-rgb: 179, 202, 112;
  --bs-info-bg-subtle: #232b16;
}
.navbar-brand-text { font-size: 18px; white-space: nowrap; letter-spacing: -.45px; }
.btn-primary { --bs-btn-bg: #2e7d42; --bs-btn-border-color: #2e7d42; --bs-btn-hover-bg: #246338; --bs-btn-hover-border-color: #246338; --bs-btn-active-bg: #20582f; --bs-btn-active-border-color: #20582f; --bs-btn-disabled-bg: #2e7d42; --bs-btn-disabled-border-color: #2e7d42; --bs-btn-focus-shadow-rgb: 46, 125, 66; }
/* Apply the same field outline to native and existing enhanced controls. */
:is(.form-control, .form-select, textarea, select, input:not([type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="range"]), .bootstrap-select > .dropdown-toggle, .select2-container .select2-selection) {
  border: 1.5px solid var(--urviq-input-border) !important;
  box-shadow: none !important;
  box-sizing: border-box;
}
:is(.form-control, .form-select, textarea, select, input:not([type="hidden"], [type="button"], [type="submit"], [type="reset"], [type="range"])):focus,
.bootstrap-select:focus-within > .dropdown-toggle,
.select2-container--focus .select2-selection {
  border: 2px solid var(--urviq-input-border) !important;
  box-shadow: none !important;
  outline: none !important;
}
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.urviq-initial-avatar { background: #000; border-radius: 50%; }
.urviq-avatar-content { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: 50%; background: #000; }
.urviq-avatar-letter { color: #27cc02; background: linear-gradient(135deg, #27cc02 15%, #91c725 45%, #ff982b 80%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.05rem; font-weight: 700; line-height: 1; }
.avatar-xl > .urviq-avatar-content .urviq-avatar-letter { font-size: 2rem; }
.agro-preview-status { position: fixed; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 1099; padding: 10px 18px; border: 1px solid var(--bs-border-color); border-radius: 12px; background: var(--bs-body-bg); color: var(--bs-heading-color); box-shadow: 0 8px 32px rgb(0 0 0 / 12%); max-width: calc(100vw - 32px); text-align: center; font-size: 13px; }
.agro-preview-status[hidden] { display: none; }
.agro-offline-badge { color: #b56b09 !important; }
@media (max-width: 575.98px) {
  /* The reference navigation drawer is retained; keep charts within their cards. */
  .app-wrapper { min-width: 0; }
  .card { min-width: 0; }
  .apexcharts-canvas { max-width: 100%; }
  .footer-wrapper { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
