/* DUKHOON V62 – placed LAST after all legacy styles; black/champagne identity */
:root {--brand-blue:#563a25;--brand-blue-dark:#1d1510;--brand-blue-soft:#faf2e6;--brand-yellow:#d8b577;}
/* Main admin quick actions, explicit admin page targets */
main.wrap .panel a.btn[href*="transfers.php"],
main.wrap .panel a.btn[href*="warehouse_users.php"],
main.wrap .panel a.btn[href*="purchases.php"],
main.wrap .panel a.btn[href*="purchase_users.php"],
main.wrap .panel a.btn[href*="purchase_finance.php"],
main.wrap .panel a.btn[href*="owner_manage.php"],
main.wrap .panel a.btn[href*="owner.php"],
main.wrap .panel a.btn.secondary,
main.wrap .panel a.btn:not(.danger):not(.warning),
main.wrap .panel button.btn.secondary {
  background:linear-gradient(125deg,#17110d 0%,#352417 65%,#60412b 100%) !important;
  color:#fff7ec !important;
  border:1px solid #bd9a67 !important;
  box-shadow:0 8px 20px rgba(44,27,15,.18) !important;
}
main.wrap .panel a.btn:hover,main.wrap .panel a.btn:focus-visible{
  background:linear-gradient(125deg,#3c2719,#715038) !important;
  color:#fff !important;
  border-color:#e5c18c !important;
}
/* All other normal primary and secondary buttons (preserve danger and positive status) */
main.wrap a.btn.secondary,main.wrap button.secondary,
main.wrap .btn:not(.danger):not(.warning):not(.pill-success),
main.wrap button:not(.danger):not(.warning):not([class*="success"]):not(.zamani-range-button){
  background:linear-gradient(125deg,#251a13,#62412b) !important;
  color:#fff9ef !important;
  border-color:#b59468 !important;
}
/* Administrative modules, not hardcoded blue */
main.wrap .module-heading h2,
main.wrap .module-panel .shortcut-card b,
main.wrap h1,main.wrap h2,main.wrap h3 {color:#322116 !important;}
main.wrap .module-heading .eyebrow,
main.wrap .module-count {background:#f8edda !important;color:#72502f !important;border-color:#dec59b !important;}
main.wrap .module-panel .shortcut-card,
main.wrap .shortcut-card {background:#fffdfa !important;border-color:#ead7be !important;}
main.wrap .module-panel .shortcut-card .shortcut-icon,
main.wrap .shortcut-icon {background:#f8eedf !important;color:#674524 !important;}
main.wrap .module-panel .shortcut-card .shortcut-action,
main.wrap .shortcut-card .shortcut-action {color:#82592f !important;}
main.wrap .module-panel .shortcut-card:hover {border-color:#c4a16f !important;box-shadow:0 12px 25px rgba(85,53,28,.10) !important;}
/* Secondary informational chrome only – do not change warning/success/danger meaning */
main.wrap .eyebrow,main.wrap .badge-info {background:#fbf1e4 !important;border-color:#e2cda9 !important;color:#76522e !important;}
main.wrap .info-box {background:#fdf7ee !important;border-color:#e8d4b4 !important;color:#664930 !important;}
main.wrap .stats>div::before{background:linear-gradient(90deg,#81582f,#e0bf80) !important;}
/* Fix earlier mobile V43 hardcoded navy background/buttons */
@media(max-width:768px){
 html body header.top{background:linear-gradient(135deg,#100d0a,#3b281c) !important;}
 html body header.top .nav-links a.nav-pill,
 html body header.top .nav-links .nav-pill,
 html body header.top .nav-links .who-badge{background:linear-gradient(135deg,#251b14,#61412b) !important;border-color:#a78860 !important;}
 html body header.top .nav-links .who-badge{background:linear-gradient(135deg,#59452a,#786039) !important;}
 html body header.top .nav-links a.nav-pill-danger,
 html body header.top .nav-links .nav-pill-danger{background:linear-gradient(135deg,#783a37,#582421) !important;}
}

/* DUKHOON V67: final-loaded top navigation text contrast fix.
   This stylesheet is loaded after style.css and brand.php. */
html body header.top .nav-links a.nav-pill,
html body header.top .nav-links a.nav-pill:link,
html body header.top .nav-links a.nav-pill:visited,
html body header.top .nav-links a.nav-pill.nav-pill-danger,
html body header.top .nav-links .who-badge {
  color: #fff5df !important;
  -webkit-text-fill-color: #fff5df !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.45) !important;
}
html body header.top .nav-links a.nav-pill:hover,
html body header.top .nav-links a.nav-pill:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
