/* Estilos locales del prototipo UARM. Sin hojas de estilo remotas. */
:root{--uarm-50:#e6f2ee;--uarm-100:#cce6dc;--uarm-500:#007a53;--uarm-600:#006645;--uarm-700:#004d34;--uarm-800:#003323;--uarm-900:#002217;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;--shadow:0 1px 3px #0001,0 1px 2px #0000000f}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--gray-800)}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}table{border-collapse:collapse}th{text-align:left}body{font-size:14px}.hidden{display:none!important}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.block{display:block}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.top-0{top:0}.top-3{top:.75rem}.top-12{top:3rem}.right-5{right:1.25rem}.bottom-5{bottom:1.25rem}.z-10{z-index:10}.z-50{z-index:50}
.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.flex-shrink-0{flex-shrink:0}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.h-full{height:100%}.h-screen{height:100vh}.w-full{width:100%}.w-72{width:18rem}.w-96{width:24rem}.w-16{width:4rem}.w-12{width:3rem}.w-9{width:2.25rem}.w-5{width:1.25rem}.w-px{width:1px}.h-16{height:4rem}.h-12{height:3rem}.h-9{height:2.25rem}.h-5{height:1.25rem}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}.max-h-60{max-height:15rem}.min-w-0{min-width:0}.min-h-\[250px\]{min-height:250px}.min-h-\[320px\]{min-height:320px}.min-h-\[80px\]{min-height:80px}
.bg-white{background:#fff}.bg-gray-50{background:var(--gray-50)}.bg-gray-50\/50{background:#f9fafb80}.bg-gray-100{background:var(--gray-100)}.bg-gray-200{background:var(--gray-200)}.bg-gray-300{background:var(--gray-300)}.bg-gray-900{background:var(--gray-900)}.bg-uarm-50{background:var(--uarm-50)}.bg-uarm-500{background:var(--uarm-500)}.bg-uarm-800{background:var(--uarm-800)}.bg-uarm-700\/60{background:#004d3499}.bg-uarm-700\/80{background:#004d34cc}.bg-opacity-75{--overlay-opacity:.75}.bg-amber-50{background:#fffbeb}.bg-amber-100{background:#fef3c7}.bg-amber-600{background:#d97706}.bg-blue-50{background:#eff6ff}.bg-blue-100{background:#dbeafe}.bg-blue-600{background:#2563eb}.bg-green-50{background:#f0fdf4}.bg-green-100{background:#dcfce7}.bg-green-600{background:#16a34a}.bg-indigo-100{background:#e0e7ff}.bg-purple-100{background:#f3e8ff}.bg-red-50{background:#fef2f2}.bg-red-100{background:#fee2e2}.bg-red-600{background:#dc2626}.bg-teal-100{background:#ccfbf1}
.text-white{color:#fff}.text-gray-300{color:#d1d5db}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-gray-900{color:#111827}.text-uarm-500{color:var(--uarm-500)}.text-uarm-600{color:var(--uarm-600)}.text-uarm-700{color:var(--uarm-700)}.text-emerald-100{color:#d1fae5}.text-emerald-200{color:#a7f3d0}.text-emerald-300{color:#6ee7b7}.text-green-400{color:#4ade80}.text-green-600{color:#16a34a}.text-green-800{color:#166534}.text-red-600{color:#dc2626}.text-red-800{color:#991b1b}.text-blue-600{color:#2563eb}.text-blue-800{color:#1e40af}.text-amber-600{color:#d97706}.text-amber-800{color:#92400e}.text-indigo-800{color:#3730a3}.text-purple-800{color:#6b21a8}.text-teal-800{color:#115e59}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.uppercase{text-transform:uppercase}
.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[9px\]{font-size:9px}.font-sans{font-family:Arial,Helvetica,sans-serif}.font-mono{font-family:Consolas,monospace}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.antialiased{-webkit-font-smoothing:antialiased}.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}
.border{border:1px solid var(--gray-200)}.border-2{border:2px solid}.border-4{border:4px solid}.border-b{border-bottom:1px solid var(--gray-200)}.border-t{border-top:1px solid var(--gray-200)}.border-dashed{border-style:dashed}.border-collapse{border-collapse:collapse}.border-gray-100{border-color:#f3f4f6}.border-gray-200{border-color:var(--gray-200)}.border-gray-300{border-color:var(--gray-300)}.border-uarm-100{border-color:var(--uarm-100)}.border-uarm-600{border-color:var(--uarm-600)}.border-uarm-600\/80{border-color:#006645cc}.border-uarm-700\/60{border-color:#004d3499}.divide-y>*+*{border-top:1px solid var(--gray-200)}.divide-gray-100>*+*{border-color:#f3f4f6}.divide-gray-200>*+*{border-color:var(--gray-200)}
.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.shadow{box-shadow:0 1px 3px #0002}.shadow-sm{box-shadow:var(--shadow)}.shadow-md{box-shadow:0 4px 6px #0002}.shadow-lg{box-shadow:0 10px 15px #0002}.shadow-xl{box-shadow:0 20px 25px #0002}.shadow-2xl{box-shadow:0 25px 50px #0003}.shadow-inner{box-shadow:inset 0 2px 4px #0001}
.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-3\.5{padding:.875rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-10{padding:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pl-10{padding-left:2.5rem}.pr-4{padding-right:1rem}
.m-0{margin:0}.ml-2{margin-left:.5rem}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.my-4{margin-top:1rem;margin-bottom:1rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-1>*+*{margin-left:.25rem}.space-x-1\.5>*+*{margin-left:.375rem}.space-x-2>*+*{margin-left:.5rem}.space-x-2\.5>*+*{margin-left:.625rem}.space-x-3>*+*{margin-left:.75rem}.space-x-4>*+*{margin-left:1rem}.space-x-5>*+*{margin-left:1.25rem}.space-y-1\.5>*+*{margin-top:.375rem}.space-y-2>*+*{margin-top:.5rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.col-span-2{grid-column:span 2/span 2}.cursor-pointer{cursor:pointer}.pointer-events-none{pointer-events:none}.object-contain{object-fit:contain}.opacity-0{opacity:0}.transform{transform:translateZ(0)}.translate-y-20{transform:translateY(5rem)}.transition,.transition-all{transition:all .2s ease}.duration-300{transition-duration:.3s}.hover\:underline:hover{text-decoration:underline}.hover\:bg-gray-50:hover{background:var(--gray-50)}.hover\:bg-gray-100:hover{background:var(--gray-100)}.hover\:bg-gray-300:hover{background:var(--gray-300)}.hover\:bg-uarm-50:hover{background:var(--uarm-50)}.hover\:bg-uarm-600:hover{background:var(--uarm-600)}.hover\:bg-uarm-700\/50:hover{background:#004d3480}.hover\:bg-amber-700:hover{background:#b45309}.hover\:bg-blue-700:hover{background:#1d4ed8}.hover\:bg-green-700:hover{background:#15803d}.hover\:bg-red-700:hover{background:#b91c1c}.hover\:bg-black:hover{background:#000}.hover\:text-blue-800:hover{color:#1e40af}.hover\:text-gray-600:hover{color:#4b5563}.hover\:text-red-800:hover{color:#991b1b}.hover\:shadow-lg:hover{box-shadow:0 10px 15px #0002}
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:bg-white:focus{background:#fff}.focus\:border-white:focus{border-color:#fff}.focus\:ring-2:focus{box-shadow:0 0 0 2px #007a5366}.focus\:ring-uarm-500:focus{--ring:#007a53}
.bg-gray-900.bg-opacity-75{background:#111827bf}.backdrop-blur-sm{backdrop-filter:blur(4px)}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.w-full.text-left{width:100%}.sticky{top:0}.list-disc{list-style:disc}.sm\:block{display:block}.md\:flex-row{flex-direction:row}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:items-center{align-items:center}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:col-span-2{grid-column:span 2/span 2}
.sidebar-active{background:rgba(255,255,255,.18);border-left:4px solid #fff}.admin-action-col{white-space:nowrap}.no-print{}
/* Sustitutos CSS pequeños para los iconos del prototipo; no se descarga ninguna fuente. */
i[class*="fa-"]{display:inline-block;width:1em;min-width:1em;font-style:normal;text-align:center}i[class*="fa-"]::before{font-family:Arial,sans-serif;font-weight:700}i.fa-chart-pie::before{content:'◔'}i.fa-chart-line::before{content:'⌁'}i.fa-users-gear::before{content:'♙'}i.fa-user::before,i.fa-user-plus::before,i.fa-user-pen::before,i.fa-user-slash::before{content:'♙'}i.fa-list-check::before{content:'☷'}i.fa-file-import::before,i.fa-file-arrow-down::before{content:'⇩'}i.fa-file-signature::before{content:'✎'}i.fa-print::before{content:'▤'}i.fa-sliders::before{content:'☷'}i.fa-right-from-bracket::before{content:'↪'}i.fa-circle-check::before{content:'✓'}i.fa-circle-xmark::before,i.fa-xmark::before{content:'×'}i.fa-lock::before{content:'▣'}i.fa-envelope::before{content:'✉'}i.fa-magnifying-glass::before{content:'⌕'}i.fa-clock::before{content:'◷'}i.fa-arrow-up::before{content:'↑'}i.fa-arrows-rotate::before{content:'⟳'}i.fa-cloud-arrow-up::before{content:'☁↑'}i.fa-download::before{content:'↓'}i.fa-file-excel::before{content:'▤'}i.fa-file-pdf::before{content:'▣'}i.fa-file-word::before{content:'▤'}i.fa-keyboard::before{content:'⌨'}i.fa-paper-plane::before{content:'➤'}i.fa-plus::before{content:'+'}i.fa-trash::before{content:'⌫'}i.fa-triangle-exclamation::before{content:'⚠'}
input,select,textarea{max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #007a5355;outline-offset:1px}button{border:0}table{width:100%}th,td{vertical-align:middle}canvas{max-width:100%}.toast-visible{opacity:1!important;transform:translateY(0)!important}
@media(min-width:768px){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.w-72{width:15rem}.md\:grid-cols-2,.md\:grid-cols-3,.md\:grid-cols-4,.lg\:grid-cols-3{grid-template-columns:1fr}.lg\:col-span-2,.col-span-2{grid-column:auto}#appContainer{overflow:auto!important}aside.w-72{position:relative;min-height:100vh}main{min-width:0}.grid{gap:.8rem}}
@media(max-width:640px){body{height:auto;min-height:100vh;overflow:auto!important}.w-72{width:100%}#appContainer{display:block!important;overflow:visible!important}aside.w-72{min-height:auto}.w-96{width:100%}.grid-cols-2,.grid-cols-3{grid-template-columns:1fr}table{font-size:.78rem}td,th{padding:.55rem!important}.fixed.inset-0{padding:1rem}.p-8{padding:1.25rem}}
@media print{@page{margin:15mm}html,body{background:#fff!important;color:#000!important;height:auto!important;overflow:visible!important}aside,header,#loginModal,#recoveryModal,#newUserModal,#newIndicatorModal,#toastNotification,.no-print,.acciones-exportar{display:none!important}#appContainer,main{display:block!important;position:static!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}section:not(.print-target){display:none!important}section.print-target{display:block!important;position:absolute!important;left:0;top:0;width:100%!important;margin:0!important;padding:0!important;background:#fff!important}#contenidoInforme{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:100%!important}}
.brand-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%;background:#fff}#chartEjes,#chartSemaforo{width:100%;height:100%}

/* Menú lateral: fondo y texto con contraste suficiente, sin depender de Tailwind. */
#sidebarNav{justify-content:flex-start;gap:.65rem}
#sidebarNav>button{margin-top:0;background:rgba(255,255,255,.08);border:1px solid rgba(167,243,208,.14);border-radius:1rem;color:#ecfdf5;min-height:3.35rem;text-align:left;padding:.8rem 1rem;font-weight:600;transition:background .18s ease,border-color .18s ease,transform .18s ease}
#sidebarNav>button i{color:#6ee7b7}
#sidebarNav>button:hover{background:rgba(16,185,129,.22);border-color:rgba(110,231,183,.5);transform:translateX(2px)}
#sidebarNav>button.sidebar-active{background:#e8f5ef;border-color:#b5e5d0;border-left:4px solid #34d399;color:#004d34;box-shadow:0 6px 18px #001b1240}
#sidebarNav>button.sidebar-active i{color:#007a53}
.brand-image{transform:scale(1.12)}

/* Preferencia de contraste solicitada: texto negro en todos los botones laterales. */
#sidebarNav>button{background:#f3f4f6!important;color:#111827!important;border-color:#d1d5db!important}

/* Gráficas del tablero: etiquetas completas, valores visibles y semáforo explicado. */
#chartEjes.dashboard-chart-list,#chartSemaforo.dashboard-status-list{display:flex;flex-direction:column;gap:1rem;min-width:0}
.dashboard-chart-item,.dashboard-status-item{min-width:0;border:1px solid #e5e7eb;border-radius:.9rem;padding:.85rem 1rem;background:#fff}
.dashboard-chart-heading,.dashboard-status-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;min-width:0}
.dashboard-chart-heading strong{min-width:0;overflow-wrap:anywhere;color:#1f2937;font-size:.9rem;line-height:1.4}
.dashboard-chart-heading>span{flex-shrink:0;color:#004d34;font-size:.9rem;font-weight:700;text-align:right}
.dashboard-chart-item>small{display:block;margin-top:.45rem;color:#6b7280;font-size:.75rem;overflow-wrap:anywhere}
.dashboard-chart-track,.dashboard-status-track{height:.55rem;margin-top:.65rem;overflow:hidden;border-radius:999px;background:#eef2f0}
.dashboard-chart-track>span,.dashboard-status-track>span{display:block;height:100%;border-radius:inherit;background:#07845c;transition:width .25s ease}
.dashboard-status-heading>span{display:flex;flex-direction:column;gap:.15rem}
.dashboard-status-heading strong{font-size:.95rem;color:#1f2937}
.dashboard-status-heading span small{font-size:.78rem;color:#6b7280}
.dashboard-status-heading>b{display:flex;align-items:flex-end;flex-direction:column;color:#111827;font-size:1.2rem;line-height:1}
.dashboard-status-heading>b small{margin-top:.3rem;color:#6b7280;font-size:.75rem;font-weight:500}
.dashboard-status-green .dashboard-status-track>span{background:#16a34a}
.dashboard-status-yellow .dashboard-status-track>span{background:#d97706}
.dashboard-status-red .dashboard-status-track>span{background:#dc2626}
.dashboard-chart-empty{padding:1.25rem;border:1px dashed #cbd5e1;border-radius:.8rem;background:#f8fafc;color:#64748b;font-size:.9rem;text-align:center}
@media(max-width:640px){.dashboard-chart-item,.dashboard-status-item{padding:.75rem}.dashboard-chart-heading{flex-direction:column;gap:.25rem}.dashboard-chart-heading>span{text-align:left}}
#sidebarNav>button i{color:#047857!important}
#sidebarNav>button:hover{background:#dcefe6!important;color:#111827!important;border-color:#a7d7c1!important}
#sidebarNav>button.sidebar-active{background:#cce6dc!important;color:#111827!important;border-color:#007a53!important;border-left-color:#007a53!important}
#sidebarNav>button.sidebar-active i{color:#004d34!important}
#sidebarNav>button:focus-visible{outline:3px solid #111827!important;outline-offset:2px}
.brand-image{transform:scale(1.12)}

.module-toolbar{display:flex;flex-direction:column;gap:1rem}
@media(min-width:768px){.module-toolbar{flex-direction:row;align-items:flex-end;justify-content:space-between}}

#newIndicatorModal>.modal-scroll-panel{max-height:calc(100vh - 2rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#007a53 #e5e7eb}
#newIndicatorModal>.modal-scroll-panel::-webkit-scrollbar{width:9px}
#newIndicatorModal>.modal-scroll-panel::-webkit-scrollbar-track{background:#e5e7eb;border-radius:9px}
#newIndicatorModal>.modal-scroll-panel::-webkit-scrollbar-thumb{background:#007a53;border:2px solid #e5e7eb;border-radius:9px}

/* Señales visibles para que las acciones en curso o no disponibles sean fáciles de reconocer. */
button:disabled{cursor:not-allowed!important;opacity:.62}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #007a53!important;outline-offset:2px}
#inicioAyuda{line-height:1.65}
#mensajeSinAvances,#mensajeSinIndicadoresArea,#mensajeCsvNoDisponible{line-height:1.6}
#toastNotification[role="alert"]{max-width:min(34rem,calc(100vw - 2rem));line-height:1.5}
@media(max-width:640px){#toastNotification{left:1rem;right:1rem;bottom:1rem}.module-toolbar button{width:100%;justify-content:center}}


#sidebarNav>button span,#sidebarNav>button.sidebar-active span,#sidebarNav>button:hover span{color:#111827!important}

