/* DC CONTROL 10.4.81r6 — Configuración: color visible y contraste fuerte. SOLO CSS. */
html.dc-dark #configPeople .config-section-block,html[data-theme="dark"] #configPeople .config-section-block{background:#172231!important;border:2px solid #33465c!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
html.dc-dark #configPeople .config-section-block:nth-child(1),html[data-theme="dark"] #configPeople .config-section-block:nth-child(1){background:linear-gradient(135deg,#112d56,#172231)!important;border-color:#2878e8!important}
html.dc-dark #configPeople .config-section-block:nth-child(2),html[data-theme="dark"] #configPeople .config-section-block:nth-child(2){background:linear-gradient(135deg,#123d2b,#17271f)!important;border-color:#21b968!important}
html.dc-dark #configPeople .config-section-block:nth-child(3),html[data-theme="dark"] #configPeople .config-section-block:nth-child(3){background:linear-gradient(135deg,#4a2910,#272018)!important;border-color:#f08a27!important}
html.dc-dark #configPeople .config-section-block:nth-child(4),html[data-theme="dark"] #configPeople .config-section-block:nth-child(4){background:linear-gradient(135deg,#35205a,#241d34)!important;border-color:#9659eb!important}
html.dc-dark #configPeople .config-section-block:nth-child(5),html[data-theme="dark"] #configPeople .config-section-block:nth-child(5){background:linear-gradient(135deg,#123c49,#18272c)!important;border-color:#25b7d0!important}
html.dc-dark .config-user-card.tone-blue,html[data-theme="dark"] .config-user-card.tone-blue{background:linear-gradient(135deg,#173f78,#1a2636)!important;border-color:#3d8df0!important}
html.dc-dark .config-user-card.tone-green,html[data-theme="dark"] .config-user-card.tone-green{background:linear-gradient(135deg,#175038,#1a2d26)!important;border-color:#42c87d!important}
html.dc-dark .config-user-card.tone-orange,html[data-theme="dark"] .config-user-card.tone-orange{background:linear-gradient(135deg,#663514,#30251c)!important;border-color:#ff9638!important}
html.dc-dark .config-user-card.tone-purple,html[data-theme="dark"] .config-user-card.tone-purple{background:linear-gradient(135deg,#4b287c,#2b203d)!important;border-color:#a46cf2!important}
html.dc-dark .config-user-card.tone-cyan,html[data-theme="dark"] .config-user-card.tone-cyan{background:linear-gradient(135deg,#155166,#1b3037)!important;border-color:#35c4df!important}
html.dc-dark .config-user-card b,html.dc-dark .config-user-card small,html.dc-dark .config-user-card .config-role-label,html[data-theme="dark"] .config-user-card b,html[data-theme="dark"] .config-user-card small,html[data-theme="dark"] .config-user-card .config-role-label{color:#f5f8fc!important}
html.dc-dark .config-role-card,html[data-theme="dark"] .config-role-card{border-width:2px!important;color:#fff!important}
html.dc-dark .config-role-card.role-tone-0,html[data-theme="dark"] .config-role-card.role-tone-0{background:linear-gradient(135deg,#143d78,#18283c)!important;border-color:#438cf0!important}
html.dc-dark .config-role-card.role-tone-1,html[data-theme="dark"] .config-role-card.role-tone-1{background:linear-gradient(135deg,#155139,#192f27)!important;border-color:#45c77f!important}
html.dc-dark .config-role-card.role-tone-2,html[data-theme="dark"] .config-role-card.role-tone-2{background:linear-gradient(135deg,#683714,#32261b)!important;border-color:#ff9638!important}
html.dc-dark .config-role-card.role-tone-3,html[data-theme="dark"] .config-role-card.role-tone-3{background:linear-gradient(135deg,#4c287f,#2c203f)!important;border-color:#a46cf2!important}
html.dc-dark .config-role-card.role-tone-4,html[data-theme="dark"] .config-role-card.role-tone-4{background:linear-gradient(135deg,#145267,#1b3038)!important;border-color:#35c4df!important}
html.dc-dark .config-role-card p,html.dc-dark .config-role-card b,html.dc-dark .config-role-card .config-role-label,html[data-theme="dark"] .config-role-card p,html[data-theme="dark"] .config-role-card b,html[data-theme="dark"] .config-role-card .config-role-label{color:#f2f6fb!important}
html.dc-dark .config-module-tags span,html[data-theme="dark"] .config-module-tags span{background:rgba(255,255,255,.92)!important;color:#24344b!important;border:0!important;font-weight:800!important}
html.dc-dark #configSuppliers .config-info-grid .info-blue,html[data-theme="dark"] #configSuppliers .config-info-grid .info-blue{background:linear-gradient(135deg,#123e75,#172b43)!important;border:2px solid #3c8cf0!important}
html.dc-dark #configSuppliers .config-info-grid .info-green,html[data-theme="dark"] #configSuppliers .config-info-grid .info-green{background:linear-gradient(135deg,#145139,#1b3028)!important;border:2px solid #43c67d!important}
html.dc-dark .config-supplier-card,html[data-theme="dark"] .config-supplier-card{border-width:2px!important}
html.dc-dark .config-supplier-card.supplier-tone-0,html[data-theme="dark"] .config-supplier-card.supplier-tone-0{background:linear-gradient(135deg,#52213b,#29202a)!important;border-color:#e24f83!important}
html.dc-dark .config-supplier-card.supplier-tone-1,html[data-theme="dark"] .config-supplier-card.supplier-tone-1{background:linear-gradient(135deg,#153f78,#1b293c)!important;border-color:#438cf0!important}
html.dc-dark .config-supplier-card.supplier-tone-2,html[data-theme="dark"] .config-supplier-card.supplier-tone-2{background:linear-gradient(135deg,#155039,#1a2e26)!important;border-color:#43c67d!important}
html.dc-dark .config-supplier-card.supplier-tone-3,html[data-theme="dark"] .config-supplier-card.supplier-tone-3{background:linear-gradient(135deg,#673615,#31251b)!important;border-color:#ff9638!important}
html.dc-dark .config-supplier-card.supplier-tone-4,html[data-theme="dark"] .config-supplier-card.supplier-tone-4{background:linear-gradient(135deg,#4a287b,#2a203c)!important;border-color:#a46cf2!important}
html.dc-dark .config-supplier-card.supplier-tone-5,html[data-theme="dark"] .config-supplier-card.supplier-tone-5{background:linear-gradient(135deg,#145166,#1b3037)!important;border-color:#35c4df!important}
html.dc-dark .config-supplier-card b,html.dc-dark .config-supplier-card small,html.dc-dark .config-supplier-card .config-role-label,html[data-theme="dark"] .config-supplier-card b,html[data-theme="dark"] .config-supplier-card small,html[data-theme="dark"] .config-supplier-card .config-role-label{color:#f5f8fc!important}
html.dc-dark .config-edit-btn,html[data-theme="dark"] .config-edit-btn{background:#f4f7fb!important;color:#20324a!important;border-color:#fff!important;font-weight:900!important}
html.dc-dark .data-safety-card,html[data-theme="dark"] .data-safety-card{background:linear-gradient(135deg,#193b67,#182737)!important;border:2px solid #397fd1!important}
html.dc-dark .enterprise-health-grid span,html[data-theme="dark"] .enterprise-health-grid span{background:#eef4fb!important;color:#29405f!important;border:0!important;font-weight:800!important}
html.dc-dark .map-config-card,html[data-theme="dark"] .map-config-card{background:linear-gradient(135deg,#153f45,#1a292c)!important;border:2px solid #38a9b7!important}
html.dc-dark .config-sheet,html[data-theme="dark"] .config-sheet{background:#17202b!important;border:2px solid #3d83d7!important;color:#f5f8fc!important}
html.dc-dark .config-sheet label,html.dc-dark .config-sheet b,html.dc-dark .config-sheet h2,html[data-theme="dark"] .config-sheet label,html[data-theme="dark"] .config-sheet b,html[data-theme="dark"] .config-sheet h2{color:#f5f8fc!important}
html.dc-dark .config-sheet input,html.dc-dark .config-sheet select,html.dc-dark .config-sheet textarea,html[data-theme="dark"] .config-sheet input,html[data-theme="dark"] .config-sheet select,html[data-theme="dark"] .config-sheet textarea{background:#0e1721!important;color:#fff!important;border:2px solid #49647f!important}
/* cualquier tarjeta clara de seguridad dentro de overlays/configuración queda oscura y legible */
html.dc-dark .config-overlay .card,html.dc-dark .config-overlay .security,html[data-theme="dark"] .config-overlay .card,html[data-theme="dark"] .config-overlay .security{background:#1b2a3a!important;color:#f5f8fc!important;border-color:#41658a!important}
@media(max-width:700px){html.dc-dark #configPeople .config-section-block,html[data-theme="dark"] #configPeople .config-section-block{padding:12px!important}.config-user-card,.config-role-card,.config-supplier-card{box-shadow:0 8px 18px rgba(0,0,0,.22)!important}}
