/* Eficiencia por tarea + Pool. Solo navy #0B1B4B, lima #C4E000, blanco y grises. Sin semáforos ni degradados. */
.et-page, .et-sheet { --et-navy: #0B1B4B; --et-lime: #C4E000; --et-line: #e2e7f0; --et-muted: #6b7a93; --et-soft: #f4f6fa;
  font-family: "Poppins", system-ui, sans-serif; color: var(--et-navy); }
.et-head h1 { margin: 0 0 4px; font-size: 1.5rem; }
.et-eyebrow { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--et-muted); }
.et-lead, .et-muted, .et-period { color: var(--et-muted); font-size: 0.88rem; margin: 0 0 12px; }
.et-tabs { display: flex; gap: 6px; margin: 8px 0 14px; flex-wrap: wrap; }
.et-tabs a { padding: 8px 14px; border: 1px solid var(--et-navy); border-radius: 10px; text-decoration: none; color: var(--et-navy); font-weight: 600; font-size: 0.86rem; background: #fff; }
.et-tabs a.is-on { background: var(--et-navy); color: #fff; box-shadow: inset 0 -3px 0 var(--et-lime); }
.et-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 0 0 14px; padding: 12px; background: var(--et-soft); border-radius: 12px; }
.et-seg { display: inline-flex; border: 1px solid var(--et-navy); border-radius: 10px; overflow: hidden; background: #fff; }
.et-seg button { border: 0; background: #fff; color: var(--et-navy); font: inherit; font-size: 0.84rem; font-weight: 600; padding: 8px 12px; min-height: 40px; cursor: pointer; }
.et-seg button + button { border-left: 1px solid var(--et-line); }
.et-seg button.is-on { background: var(--et-navy); color: #fff; box-shadow: inset 0 -3px 0 var(--et-lime); }
.et-f { display: grid; gap: 2px; font-size: 0.7rem; color: var(--et-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.et-f[hidden] { display: none; }
.et-f select, .et-f input { font: inherit; font-size: 0.86rem; text-transform: none; letter-spacing: 0; color: var(--et-navy); min-height: 40px; padding: 6px 10px; border: 1px solid #c8d2e3; border-radius: 10px; background: #fff; min-width: 140px; }
.et-actions { margin-left: auto; }
.et-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--et-navy); color: #fff; font-weight: 600; font-size: 0.86rem; text-decoration: none; border: 0; box-shadow: inset 0 -3px 0 var(--et-lime); }
.et-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.et-kpi { display: grid; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--et-line); border-radius: 12px; text-decoration: none; color: var(--et-navy); }
.et-kpi:first-child { background: var(--et-navy); border-color: var(--et-navy); color: #fff; }
.et-kpi:first-child .et-kpi-v { color: var(--et-lime); }
.et-kpi:first-child .et-kpi-l, .et-kpi:first-child small { color: #c9d3ea; }
.et-kpi:hover, .et-m:hover { border-color: var(--et-lime); }
.et-kpi-l { font-size: 0.74rem; font-weight: 600; color: var(--et-muted); }
.et-kpi-v { font-size: 1.6rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.et-kpi small { font-size: 0.72rem; color: var(--et-muted); }
.et-typenav { position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; margin-bottom: 8px; background: #fff; border-bottom: 1px solid var(--et-line); }
.et-typenav a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--et-navy); color: var(--et-navy); text-decoration: none; font-size: 0.8rem; font-weight: 600; }
.et-typenav a.is-empty { border-color: var(--et-line); color: #9aa6bb; }
.et-sections { display: grid; gap: 14px; }
.et-sec { background: #fff; border: 1px solid var(--et-line); border-radius: 14px; padding: 14px 16px; scroll-margin-top: 56px; }
.et-sec header { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-left: 4px solid var(--et-lime); padding-left: 10px; margin-bottom: 10px; }
.et-sec h2 { margin: 0; font-size: 1.05rem; }
.et-sec.is-empty header { border-left-color: var(--et-line); }
.et-link { color: var(--et-navy); font-weight: 600; font-size: 0.84rem; }
.et-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.et-m { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--et-line); border-radius: 10px; background: var(--et-soft); text-decoration: none; color: var(--et-navy); }
.et-m span { font-size: 0.74rem; color: var(--et-muted); font-weight: 600; }
.et-m b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.et-note { font-size: 0.78rem; color: var(--et-muted); margin: 4px 0 8px; }
.et-empty { margin: 0; padding: 14px; border: 1px dashed #c8d2e3; border-radius: 10px; color: var(--et-muted); font-size: 0.86rem; background: var(--et-soft); }
.et-table-wrap { overflow-x: auto; border: 1px solid var(--et-line); border-radius: 12px; background: #fff; }
.et-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.et-table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--et-navy); padding: 8px 10px; white-space: nowrap; }
.et-table td { padding: 8px 10px; border-top: 1px solid var(--et-line); white-space: nowrap; }
.et-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.et-table a { color: var(--et-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--et-lime); text-underline-offset: 3px; }
.et-table tbody tr:nth-child(even) td { background: #fafbfd; }
.et-rank { width: 28px; font-weight: 700; }
.et-pool tbody tr { cursor: pointer; }
.et-pool tbody tr:hover td, .et-pool tbody tr:focus td { background: #f0f3e0; }
.et-folio { font-weight: 700; }
.et-skus { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.et-type { font-weight: 600; }
.et-st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; border: 1px solid var(--et-navy); }
.et-st-terminada { background: var(--et-navy); color: #fff; }
.et-st-en_proceso { background: var(--et-lime); color: var(--et-navy); border-color: var(--et-lime); }
.et-st-pendiente { background: #fff; color: var(--et-muted); border-color: #c8d2e3; }
.et-diff { font-weight: 700; text-decoration: underline; text-decoration-color: var(--et-lime); }
.et-poolhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 8px; font-size: 0.86rem; }
.et-chips span { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--et-lime); font-size: 0.78rem; font-weight: 600; }
.et-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(11, 27, 75, 0.45); display: flex; justify-content: flex-end; }
.et-sheet[hidden] { display: none; }
.et-sheet-card { width: min(520px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 18px; }
.et-sheet-card header { display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--et-lime); padding-left: 10px; }
.et-sheet-card h2 { margin: 0; font-size: 1.1rem; }
.et-close { border: 0; background: none; font-size: 1.6rem; color: var(--et-navy); cursor: pointer; min-width: 40px; min-height: 40px; }
.et-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 14px 0; }
.et-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--et-muted); font-weight: 600; }
.et-facts dd { margin: 0; font-weight: 600; font-size: 0.88rem; word-break: break-word; }
.et-events { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.et-events li { padding: 8px 10px; border: 1px solid var(--et-line); border-radius: 8px; font-size: 0.82rem; }
.et-events li.is-inc { border-left: 4px solid var(--et-navy); background: var(--et-soft); }
.et-events time { color: var(--et-muted); margin-right: 6px; }
.et-events small { display: block; color: var(--et-muted); }
@media (max-width: 900px) { .et-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .et-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-kpi-v { font-size: 1.3rem; }
  .et-filters { padding: 10px; }
  .et-f { flex: 1 1 45%; }
  .et-f select, .et-f input { min-width: 0; width: 100%; }
  .et-seg { width: 100%; }
  .et-seg button { flex: 1; padding: 8px 4px; }
  .et-actions { margin-left: 0; width: 100%; }
  .et-btn { width: 100%; justify-content: center; }
  .et-facts { grid-template-columns: 1fr; }
  .et-sec { padding: 12px; }
}
.et-page { min-width: 0; max-width: 100%; overflow-x: hidden; }
.et-page .ef-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
.et-table-wrap, .et-typenav, .et-filters { max-width: 100%; box-sizing: border-box; }
.et-sec, .et-kpi, .et-m { min-width: 0; box-sizing: border-box; }
