/* CMDTEK_SURE_THEME: external upgrade-safe style layer */
:root, html[data-theme], html[data-theme="dark"], html[data-theme="light"] {
  color-scheme: dark !important;
  --color-black: #101a20;
  --color-white: #f3f7f8;
  --color-green-400: #35d092;
  --color-green-500: #00ae70;
  --color-green-600: #00845a;
  --color-green-700: #007a52;
  --color-success: #35d092;
  --color-link: #35d092;
  --color-info: #35d092;
  --color-focus-ring: #35d092;
  --color-surface: #101a20;
  --color-surface-hover: #17262e;
  --color-surface-inset: #16242c;
  --color-surface-inset-hover: #1d3039;
  --color-container: #18242d;
  --color-container-hover: #1d3039;
  --color-container-inset: #132028;
  --color-container-inset-hover: #1d3039;
  --color-tertiary: rgba(238,244,245,.16);
  --color-nav-indicator: #00ae70;
  --color-toggle-track: #36505d;
  --color-shadow: rgba(0,0,0,.38);
  --color-gray-50: #eef4f5;
  --color-gray-100: #d6e0e3;
  --color-gray-200: #aebec3;
  --color-gray-300: #82989f;
  --color-gray-400: #6c838a;
  --color-gray-500: #4e646c;
  --color-gray-600: #3c515a;
  --color-gray-700: #2c4049;
  --color-gray-800: #1d3039;
  --color-gray-900: #18242d;
}
html, body { background: #101a20 !important; }
a:not(.no-cmdtek-link) { color: var(--color-link); }
button.bg-inverse, input[type="submit"], button[type="submit"] { background-color: #00ae70 !important; color: #071510 !important; }
button.bg-inverse:hover, input[type="submit"]:hover, button[type="submit"]:hover { background-color: #35d092 !important; }
.cmdtek-budget-login-label { color: #d6e0e3; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-align:center; text-transform: uppercase; margin-top: .8rem; }
/* Keep text readable even if Sure's theme controller re-applies a user preference. */
.text-primary { color: #f3f7f8 !important; }
.text-secondary { color: #c5d2d6 !important; }
.text-subdued, .text-gray-400, .text-gray-500, .text-gray-600 { color: #aebec3 !important; }
.text-gray-700, .text-gray-800, .text-gray-900 { color: #d6e0e3 !important; }
svg text, .recharts-text, .apexcharts-text { fill: #d6e0e3 !important; color: #d6e0e3 !important; }
/* Registration uses Sure form-field classes instead of text utilities. */
.form-field__label { color: #f3f7f8 !important; }
.form-field__input, .form-field__radio { color: #f3f7f8 !important; background-color: #132028 !important; }
.form-field__input::placeholder { color: #aebec3 !important; opacity: 1 !important; }
.form-field__input:focus { outline: 2px solid #35d092 !important; outline-offset: 2px; }
