html:root, html[data-theme=blue] {
  --accent: #087e75;
  --accent-solid: #087e75;
  --ring: #0c8c81;
  --blue: #087e75;
  --blue-dark: #05635d;
}
html:root:not([data-theme=blue]):not([data-theme=dark]) {
  --surface: #ffffff;
  --surface-soft: #f1f6f5;
  --ink: #172d3a;
  --muted: #516771;
  --line: #d4e2df;
}
html[data-theme=blue] {
  --surface: #162b38;
  --surface-soft: #0e202d;
  --surface-raised: #1b3543;
  --line: #38525e;
  --accent: #72e0cb;
}
.crm-app .btn.primary { background: #087e75; border-color: #087e75; color: #fff; }
.crm-app .btn.primary:hover { background: #05635d; border-color: #05635d; }
.crm-app :is(button,a,input,select,textarea):focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.madar-hiring-hero { background: linear-gradient(125deg,#142937,#075d57); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .crm-app .stat-card { transition: transform 160ms ease, box-shadow 160ms ease; }
  .crm-app .stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #072d3824; }
}

.crm-app { accent-color: #087e75; }
.crm-app :is(.record-card,.module-card,.stat-card,.lead-card,.target-card) {
 border-color: var(--line); border-radius: 14px;
}
.crm-app :is(.search-dialog,.confirm-dialog,.call-dialog) {
 border-color: var(--line); border-radius: 16px;
}
@media (prefers-reduced-motion: no-preference) {
 .crm-app :is(.record-card,.module-card,.lead-card,.target-card) { transition: border-color .16s ease, box-shadow .16s ease; }
 .crm-app :is(.search-dialog,.confirm-dialog,.call-dialog,.madar-applicant-page) { animation: madar-visual-in .2s ease-out both; }
}
@media (prefers-reduced-motion: no-preference) and (hover:hover) {
 .crm-app :is(.record-card,.module-card,.lead-card,.target-card):hover { border-color: var(--accent); box-shadow: 0 6px 18px #092d3820; }
}
@keyframes madar-visual-in { from { opacity:.7; transform:translateY(5px) } to { opacity:1; transform:none } }
