/* Analítica V1.0: estilos exclusivamente locales. HOME intacta. */
.lab-main{padding-top:24px}.lab-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.lab-heading h1{font-size:30px;margin:4px 0;color:inherit}.lab-heading p{margin:0;color:#8290a4;font-size:12px}.lab-heading .eyebrow{font-size:10px;color:#0786ff!important;letter-spacing:1.4px;font-weight:800}.lab-heading-right{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#7c8ba0}.lab-heading-right select{padding:10px 12px;border:1px solid #dce6f2;border-radius:9px;background:#fff;color:#23344a;font:inherit;font-size:12px}.lab-notice{padding:10px 13px;border:1px solid #f2d4a6;background:#fff9ee;border-radius:10px;color:#815419;font-size:11px;margin-bottom:12px}.lab-legend{display:flex;flex-wrap:wrap;gap:10px 19px;align-items:center;margin:12px 0 15px;padding:11px 13px;border:1px solid #e6edf6;border-radius:10px;background:#fff;font-size:10px;color:#62758e}.lab-legend span{display:flex;align-items:center;gap:6px}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.status-dot.green{background:#10a45e}.status-dot.orange{background:#f07820}.status-dot.red{background:#e63c50}.status-dot.gray{background:#96a4b5}.lab-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lab-summary>div{background:#fff;border:1px solid #e6edf6;border-radius:11px;padding:12px 15px}.lab-summary small{display:block;color:#8b9aaf;font-size:10px}.lab-summary strong{display:block;font-size:19px;color:#0786ff;margin-top:6px}.lab-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.lab-panel{min-width:0;background:#fff;border:1px solid #e5edf6;border-radius:13px;padding:13px}.lab-panel h2{font-size:14px;margin:0 0 3px;color:inherit}.lab-panel .lab-sub{font-size:10px;color:#94a1b2;margin:0 0 12px}.lab-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.lab-tile{min-width:0;min-height:91px;border:1px solid #e9eef5;border-radius:8px;padding:8px 5px 7px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;background:#fafcff}.lab-tile .lab-name{font-size:9px;line-height:1.2;color:#61728a;min-height:23px;display:grid;place-items:center;overflow-wrap:anywhere}.lab-tile .lab-value{font-size:17px;font-weight:800;letter-spacing:-.4px;margin-top:4px;line-height:1.2;overflow-wrap:anywhere}.lab-tile .lab-unit{font-size:9px;color:#8795a9;margin-top:3px;overflow-wrap:anywhere}.lab-tile .lab-state{font-size:8px;color:#8c9aac;margin-top:auto;padding-top:5px}.lab-tile.review{background:#fff9f1;border-color:#f6e3c8}.lab-tile.review .lab-value,.lab-tile.review .lab-state{color:#ed751a}.lab-tile.unverified .lab-value{color:#1881e9}.lab-footer{border:1px solid #dceafb;background:#f1f7ff;padding:15px;border-radius:12px;margin-top:13px;color:#47617e;font-size:11px;line-height:1.55}.lab-footer strong{color:#1677dc}.lab-footer p{margin:6px 0 0}body.theme-dark .lab-panel,body.theme-dark .lab-summary>div,body.theme-dark .lab-legend{background:#1c2938;border-color:#34475e;color:#e8f0fa}body.theme-dark .lab-tile{background:#243449;border-color:#34475e}body.theme-dark .lab-tile.review{background:#433328;border-color:#6a4a32}body.theme-dark .lab-notice{background:#403223;color:#f8d29b;border-color:#72542d}body.theme-dark .lab-footer{background:#213a56;border-color:#315779;color:#bdd4ed}body.theme-dark .lab-heading-right select{background:#243449;color:#e8f0fa;border-color:#3a4d62}body.theme-dark .lab-tile .lab-name{color:#b5c3d4}body.theme-dark .lab-tile .lab-unit{color:#9fb1c8}body.theme-dark .lab-summary small{color:#a8b9cd}@media(max-width:1450px){.lab-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.lab-columns{grid-template-columns:1fr}.lab-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:700px){.lab-heading{align-items:stretch;flex-direction:column}.lab-heading h1{font-size:25px}.lab-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-tile{min-height:88px}.lab-panel{padding:10px}}@media(max-width:360px){.lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.1 · Cabecera mínima, selector en leyenda y columnas sin huecos verticales */
.lab-heading{margin-bottom:9px;min-height:16px}
.lab-heading .eyebrow{margin:0;color:#0786ff!important}
.lab-legend{justify-content:space-between;gap:12px;margin-top:8px}
.lab-legend-items{display:flex;flex-wrap:wrap;gap:10px 19px;align-items:center}
.lab-heading-right{margin-left:auto;min-width:215px}
.lab-heading-right select{width:100%}
.lab-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.lab-column{min-width:0;display:flex;flex-direction:column;gap:12px}
@media(max-width:1050px){.lab-columns{grid-template-columns:1fr}.lab-legend{align-items:stretch}.lab-heading-right{margin-left:0}}
@media(max-width:700px){.lab-heading{flex-direction:row}.lab-legend{flex-direction:column}.lab-heading-right{width:100%}}

/* V1.2 · Filas emparejadas: altura común entre columnas, sin estirar las píldoras */
.lab-columns{display:flex;flex-direction:column;gap:12px}
.lab-match-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.lab-match-column{min-width:0;display:flex;flex-direction:column;gap:12px}
.lab-match-column>.lab-panel:last-child{flex:1}
@media(max-width:1050px){.lab-match-row{grid-template-columns:1fr}.lab-match-column>.lab-panel:last-child{flex:initial}}

/* V1.3 · Un único eje central para resumen y todas las parejas de paneles */
.lab-summary,
.lab-match-row{width:100%;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.lab-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lab-summary>div,.lab-match-column,.lab-match-column>.lab-panel{min-width:0;box-sizing:border-box;width:100%}
.lab-match-row{align-items:stretch}
.lab-match-column{align-self:stretch}
/* Las píldoras de cada categoría conservan ancho idéntico; filas parciales centradas */
.lab-grid{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px}
.lab-grid>.lab-tile{box-sizing:border-box;flex:0 0 calc((100% - 24px)/5);max-width:calc((100% - 24px)/5)}
@media(max-width:1450px) and (min-width:1051px){.lab-grid>.lab-tile{flex-basis:calc((100% - 18px)/4);max-width:calc((100% - 18px)/4)}}
@media(max-width:1050px){.lab-match-row{grid-template-columns:minmax(0,1fr)}.lab-grid>.lab-tile{flex-basis:calc((100% - 24px)/5);max-width:calc((100% - 24px)/5)}}
@media(max-width:700px){.lab-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-grid>.lab-tile{flex-basis:calc((100% - 12px)/3);max-width:calc((100% - 12px)/3)}}
@media(max-width:360px){.lab-grid>.lab-tile{flex-basis:calc((100% - 6px)/2);max-width:calc((100% - 6px)/2)}}


/* MR PROJECT T · navegación oficial HOME (sin alterar contenido) */
.sidebar nav a,.mr-sidebar nav a{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif;font-size:12.5px;font-weight:500;letter-spacing:-.08px;line-height:1.25;gap:12px}
.sidebar nav a.active,.mr-sidebar nav a.active{font-weight:600}
.sidebar nav .nav-icon,.mr-sidebar nav .nav-icon{display:block;width:17px;height:17px;min-width:17px;flex:0 0 17px}
@media(max-width:700px){.sidebar nav a,.mr-sidebar nav a{font-size:12px;gap:9px}}

/* Corrección localizada: valores y estados alineados en móvil */
@media(max-width:700px){
 .lab-tile{min-width:0;overflow:hidden;align-items:center;text-align:center}
 .lab-tile .lab-name,.lab-tile .lab-value,.lab-tile .lab-unit,.lab-tile .lab-state{display:block;width:100%;max-width:100%;box-sizing:border-box;text-align:center;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .lab-tile .lab-value{font-size:clamp(12px,4vw,17px);line-height:1.25;margin-left:0;margin-right:0}
 .lab-tile .lab-state{margin-top:auto}
 .lab-legend-items span{display:inline-flex;align-items:center}
}

/* Azul original para resultados normales; alertas siguen en naranja */
.lab-tile.normal .lab-value,.lab-tile.unverified .lab-value{color:#1881e9}
body.theme-dark .lab-tile.normal .lab-value,body.theme-dark .lab-tile.unverified .lab-value{color:#64b5ff}
