/* Identidad cromática de cada lanzamiento documentado. */
.health-version-timeline .health-release:nth-child(1){border-color:#78c2af;background:#fbfffd}.health-version-timeline .health-release:nth-child(1) .health-release-dot{background:#08735d;color:#fff;box-shadow:0 0 0 3px #bfe4da}.health-version-timeline .health-release:nth-child(1) summary strong,.health-version-timeline .health-release:nth-child(1) .health-release-body h4{color:#08735d}.health-version-timeline .health-release:nth-child(1) .health-release-body li i{color:#10a47d}.health-version-timeline .health-release:nth-child(2){border-color:#a9c9ed;background:#fbfdff}.health-version-timeline .health-release:nth-child(2) .health-release-dot{background:#2568b5;color:#fff;box-shadow:0 0 0 3px #d9e9fa}.health-version-timeline .health-release:nth-child(2) summary strong,.health-version-timeline .health-release:nth-child(2) .health-release-body h4{color:#205b9d}.health-version-timeline .health-release:nth-child(2) .health-release-body li i{color:#2e74c2}.health-version-timeline .health-release:nth-child(3){border-color:#cab8eb;background:#fefcff}.health-version-timeline .health-release:nth-child(3) .health-release-dot{background:#7651b7;color:#fff;box-shadow:0 0 0 3px #e8def8}.health-version-timeline .health-release:nth-child(3) summary strong,.health-version-timeline .health-release:nth-child(3) .health-release-body h4{color:#6845a4}.health-version-timeline .health-release:nth-child(3) .health-release-body li i{color:#815ec0}.health-version-timeline .health-release:nth-child(4n){border-color:#e7c47c;background:#fffdfa}.health-version-timeline .health-release:nth-child(4n) .health-release-dot{background:#b87908;color:#fff;box-shadow:0 0 0 3px #fae8c1}.health-version-timeline .health-release:nth-child(4n) summary strong,.health-version-timeline .health-release:nth-child(4n) .health-release-body h4{color:#9a6505}.health-version-timeline .health-release:nth-child(4n) .health-release-body li i{color:#c18413}

/* Tarjeta de versión visible en el resumen técnico. */
.health-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}.health-summary .health-version-card{border-color:#a9d7ca;background:#f4fcf9}.health-summary .health-version-card>i{background:#08735d;color:#fff}.health-summary .health-version-card b{color:#08735d;font-size:.82rem;white-space:nowrap}@media(max-width:1050px){.health-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:650px){.health-summary{grid-template-columns:1fr 1fr!important}.health-summary .health-version-card b{white-space:normal}}

.health-release-current{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:15px;padding:17px 19px;border:1px solid #9bd2c3;border-radius:16px;background:#eefaf6;box-shadow:0 7px 18px rgba(8,115,93,.08)}.health-release-current>span{display:grid;width:54px;height:54px;place-items:center;border-radius:15px;background:#08735d;color:#fff;font-size:1.2rem;box-shadow:0 7px 14px rgba(8,115,93,.2)}.health-release-current small,.health-release-current strong,.health-release-current p{display:block}.health-release-current small{color:#08735d;font-size:.58rem;font-weight:900;letter-spacing:.1em}.health-release-current strong{margin-top:2px;color:#124d42;font-size:1.12rem}.health-release-current p{margin:3px 0 0;color:#6c827c;font-size:.67rem}.health-version-timeline{position:relative;display:grid;gap:10px;padding-left:17px}.health-version-timeline:before{content:"";position:absolute;top:18px;bottom:18px;left:35px;width:2px;background:#c5ded7}.health-release{position:relative;border:1px solid #d5e5e1;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 15px rgba(27,73,63,.045)}.health-release.current{border-color:#78c2af;box-shadow:0 7px 18px rgba(8,115,93,.09)}.health-release summary{display:grid;grid-template-columns:42px minmax(0,1fr) 30px;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.health-release summary::-webkit-details-marker{display:none}.health-release-dot{z-index:1;display:grid;width:38px;height:38px;place-items:center;border:4px solid #fff;border-radius:50%;background:#dcece8;color:#4c7369}.health-release.current .health-release-dot{background:#08735d;color:#fff;box-shadow:0 0 0 3px #bfe4da}.health-release summary small,.health-release summary strong,.health-release summary p{display:block}.health-release summary small{color:#71847f;font-size:.55rem;font-weight:900;letter-spacing:.08em}.health-release.current summary small{color:#08735d}.health-release summary strong{margin-top:1px;color:#173f37;font-size:.9rem}.health-release summary p{margin:2px 0 0;color:#71847f;font-size:.62rem}.health-release-chevron{color:#5f7c75;transition:transform .2s ease}.health-release[open] .health-release-chevron{transform:rotate(180deg)}.health-release-body{padding:2px 18px 17px 70px;border-top:1px solid #edf2f0}.health-release-body h4{margin:14px 0 10px;color:#176c5a;font-size:.72rem}.health-release-body ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.health-release-body li{display:grid;grid-template-columns:17px minmax(0,1fr);gap:7px;align-items:start;color:#405d56;font-size:.68rem;line-height:1.42}.health-release-body li i{margin-top:2px;color:#17a17d}.health-release-origin{margin:13px 0 0;padding:9px 11px;border-radius:9px;background:#f3f7f6;color:#6f827d;font-size:.62rem}@media(max-width:650px){.health-release-current{grid-template-columns:45px 1fr;padding:14px}.health-release-current>span{width:43px;height:43px}.health-version-timeline{padding-left:0}.health-version-timeline:before{display:none}.health-release summary{grid-template-columns:38px 1fr 20px;padding:12px}.health-release-body{padding:2px 13px 14px}}

#view-admin-health{padding:18px 26px 34px;background:#f4f8f7;min-height:calc(100vh - 82px)}
.health-shell{max-width:1260px;margin:0 auto;color:#183c36}.health-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:13px;padding:8px 12px;border:1px solid #b9d6cf;border-radius:9px;background:#fff;color:#176d5b;font-weight:800;cursor:pointer}.health-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 26px;border-radius:20px;background:linear-gradient(125deg,#064c3c,#087b64 62%,#15967d);color:#fff;overflow:hidden;box-shadow:0 13px 28px rgba(5,82,65,.18)}.health-hero:before,.health-hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.17);border-radius:50%}.health-hero:before{width:190px;height:190px;right:75px;top:-105px}.health-hero:after{width:90px;height:90px;right:15px;bottom:-44px}.health-eyebrow{display:block;color:#ffe06b;font-size:.65rem;font-weight:900;letter-spacing:.12em}.health-hero h2{margin:6px 0 5px;font-size:1.55rem}.health-hero p{margin:0;color:rgba(255,255,255,.8);font-size:.78rem}.health-hero-status{position:relative;z-index:1;display:flex;align-items:center;gap:12px;min-width:230px;padding:12px 14px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.health-hero-status>span{display:grid;width:43px;height:43px;place-items:center;border-radius:12px;background:#ddf7ed;color:#08735d;font-size:1.1rem}.health-hero-status strong,.health-hero-status small{display:block}.health-hero-status small{margin-top:2px;color:rgba(255,255,255,.72);font-size:.61rem}.health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:15px 0}.health-summary article{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid #d2e4df;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(24,73,63,.05)}.health-summary article>i{display:grid;width:39px;height:39px;place-items:center;border-radius:10px;background:#e5f5f0;color:#08745e}.health-summary b,.health-summary small{display:block}.health-summary b{font-size:1.05rem}.health-summary small{color:#768b86;font-size:.62rem}.health-tabs{display:flex;gap:7px;margin-bottom:13px;padding:6px;border:1px solid #d3e4df;border-radius:13px;background:#fff}.health-tabs button{flex:1;min-height:40px;border:0;border-radius:9px;background:transparent;color:#55766e;font-size:.7rem;font-weight:900;cursor:pointer}.health-tabs button.active{background:#08735d;color:#fff;box-shadow:0 5px 12px rgba(8,115,93,.18)}.health-panel{display:grid;gap:12px}.health-panel[hidden]{display:none!important}.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.health-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:10px;padding:14px;border:1px solid #d8e5e2;border-left:4px solid #19a47f;border-radius:14px;background:#fff}.health-card.ADVERTENCIA{border-left-color:#e0a20b}.health-card.CRITICO{border-left-color:#d1434b}.health-card>span:first-child{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:#e7f6f2;color:#08745e}.health-card.ADVERTENCIA>span:first-child{background:#fff4d9;color:#a56f00}.health-card.CRITICO>span:first-child{background:#fde8ea;color:#b62c37}.health-card h4{margin:1px 0 4px;font-size:.78rem}.health-card p{margin:0;color:#748983;font-size:.64rem;line-height:1.42}.health-state{padding:4px 7px;border-radius:999px;background:#e5f6ef;color:#087255;font-size:.54rem;font-weight:900}.health-state.ADVERTENCIA{background:#fff1cc;color:#946300}.health-state.CRITICO{background:#fde5e7;color:#ae2630}.health-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px}.health-section-title h3{margin:0;color:#174f45;font-size:.96rem}.health-section-title p{margin:3px 0 0;color:#738781;font-size:.66rem}.health-alert-list{display:grid;gap:9px}.health-alert{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 13px;border:1px solid #efd79c;border-radius:12px;background:#fffaf0}.health-alert.CRITICO{border-color:#efc0c4;background:#fff5f5}.health-alert>i{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#ffedbd;color:#966500}.health-alert.CRITICO>i{background:#fbdfe2;color:#af2934}.health-alert strong,.health-alert small{display:block}.health-alert strong{font-size:.75rem}.health-alert small{margin-top:3px;color:#786f61;font-size:.63rem}.health-empty{padding:30px;border:1px dashed #abd4c9;border-radius:14px;background:#f5fcfa;text-align:center;color:#227663}.health-empty i{display:block;margin-bottom:8px;font-size:1.7rem}.health-test-intro{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px;border:1px solid #c4dbec;border-radius:14px;background:#f4f9fd}.health-test-intro>span{display:grid;width:48px;height:48px;place-items:center;border-radius:12px;background:#1767a5;color:#fff;font-size:1.1rem}.health-test-intro h3{margin:0 0 3px;color:#194b71;font-size:.94rem}.health-test-intro p{margin:0;color:#6c8191;font-size:.66rem}.health-run{padding:10px 14px;border:0;border-radius:10px;background:#1767a5;color:#fff;font-size:.7rem;font-weight:900;cursor:pointer}.health-run:disabled{opacity:.55;cursor:wait}.health-test-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.health-test-card{padding:12px;border:1px solid #d7e1e8;border-radius:12px;background:#fff}.health-test-card>header{display:flex;align-items:center;justify-content:space-between;gap:7px}.health-test-card h5{margin:0;font-size:.72rem}.health-test-card p{margin:7px 0 0;color:#71828f;font-size:.61rem;line-height:1.4}.health-history{display:grid;gap:8px}.health-history details{border:1px solid #d7e4e0;border-radius:12px;background:#fff;overflow:hidden}.health-history summary{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:11px 13px;cursor:pointer}.health-history summary::-webkit-details-marker{display:none}.health-history summary strong{font-size:.72rem}.health-history summary small{color:#778b85;font-size:.61rem}.health-history-body{display:grid;gap:7px;padding:10px 13px;border-top:1px solid #e3ece9;background:#fbfdfc}.health-history-row{display:grid;grid-template-columns:25px 170px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:.63rem}.health-history-row>i{color:#15906f}.health-history-row.FALLIDA>i{color:#c4313d}.health-refresh{padding:8px 11px;border:1px solid #acd2c8;border-radius:9px;background:#fff;color:#176f5d;font-size:.67rem;font-weight:900;cursor:pointer}.system-health-open{order:4;display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #a8d4c8;border-radius:9px;background:#e9f7f3;color:#08705b;font-size:.7rem;font-weight:900;cursor:pointer;white-space:nowrap}.system-health-open i{color:#0c8b70}.system-health-open.has-alerts:after{content:"";width:7px;height:7px;border-radius:50%;background:#e6a000;box-shadow:0 0 0 3px rgba(230,160,0,.16)}
#view-admin-dashboard .aa-admin-topbar{grid-template-columns:105px minmax(190px,1fr) 120px 150px auto!important}#view-admin-dashboard .aa-admin-topbar .nt-open{order:5!important}
@media(max-width:920px){.health-grid{grid-template-columns:1fr 1fr}.health-test-list{grid-template-columns:1fr 1fr}.system-health-open{font-size:0;width:38px;padding:0}.system-health-open i{font-size:.8rem}#view-admin-dashboard .aa-admin-topbar{grid-template-columns:auto 1fr auto auto!important}}
@media(max-width:650px){#view-admin-health{padding:12px}.health-hero{grid-template-columns:1fr}.health-hero-status{min-width:0}.health-summary,.health-grid,.health-test-list{grid-template-columns:1fr 1fr}.health-tabs{overflow:auto}.health-tabs button{min-width:125px}.health-test-intro{grid-template-columns:45px 1fr}.health-run{grid-column:1/-1}.health-history-row{grid-template-columns:25px 1fr}.health-history-row span,.health-history-row small{grid-column:2}.health-summary article{padding:10px}.health-summary{gap:7px}}

.health-hero-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.health-hero-actions .health-back{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:10px 13px;border:1px solid rgba(255,255,255,.38);border-radius:11px;background:rgba(255,255,255,.13);color:#fff;font-size:.7rem;font-weight:900;cursor:pointer;backdrop-filter:blur(8px);transition:background .2s ease,transform .2s ease;white-space:nowrap}.health-hero-actions .health-back:hover{background:rgba(255,255,255,.22);transform:translateY(-1px)}
@media(max-width:650px){.health-hero-actions{justify-content:stretch}.health-hero-actions .health-back,.health-hero-actions .health-hero-status{flex:1 1 210px}}

.health-performance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.health-performance-summary article{padding:14px;border:1px solid #cfe2dd;border-radius:13px;background:#fff}.health-performance-summary strong,.health-performance-summary span{display:block}.health-performance-summary strong{color:#08735d;font-size:1.15rem}.health-performance-summary span{margin-top:3px;color:#718780;font-size:.65rem}.health-performance-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.health-performance-columns>div{padding:14px;border:1px solid #d6e5e1;border-radius:14px;background:#fff}.health-performance-columns h4{margin:0 0 10px;color:#174f45;font-size:.78rem}.health-performance-columns h4 i{margin-right:6px;color:#0b8b70}.health-performance-list{display:grid;gap:7px}.health-performance-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:9px 10px;border-radius:10px;background:#f4faf8}.health-performance-list code{overflow:hidden;color:#25483f;font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}.health-performance-list span{color:#08735d;font-size:.62rem;font-weight:900}.health-performance-list small{grid-column:1/-1;color:#788b86;font-size:.57rem}.health-performance-list.errors article{background:#fff7f7}.health-performance-list.errors span{color:#b8323e}@media(max-width:720px){.health-performance-summary{grid-template-columns:1fr 1fr}.health-performance-columns{grid-template-columns:1fr}}
