/* ==========================================================================
   index_sgi.css — Estilos de la vista pública (index_sgi.php)
   Secciones: variables · nav · hero (KPIs y donut) · secciones · gráfico de
   barras · tarjetas de dependencias · mapa de procesos · modal · tablas ·
   responsive. Los colores se cambian en :root.
   ========================================================================== */

:root {
    --azul:     #005F96;
    --azul-dk:  #003A6B;
    --azul-lt:  #00B5D9;
    --verde:    #8FD400;
    --amarillo: #EDB512;
    --crema:    #F4F8FB;
    --blanco:   #ffffff;
    --texto:    #1A2E3A;
    --gris:     #6B7C8E;
    --borde:    #D0E4F0;
    --shadow:   0 4px 24px rgba(0,63,110,.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--crema); color: var(--texto); min-height: 100vh; }

/* ============================================================
   NAV
   ============================================================ */
nav {
    background: linear-gradient(135deg, #002d52 0%, #005F96 100%);
    padding: 0 36px; height: 68px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 42px; }
.nav-logo-txt { font-weight: 700; font-size: 1.1rem; color: #fff; line-height: 1.2; }
.nav-logo-txt small { display: block; font-size: .68rem; font-weight: 400; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .07em; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav { padding: 8px 20px; border-radius: 8px; font-size: .85rem; font-weight: 600; text-decoration: none; transition: .2s; cursor: pointer; border: none; }
.btn-outline-nav { border: 1.5px solid rgba(255,255,255,.4); color: rgba(255,255,255,.9); background: transparent; }
.btn-outline-nav:hover { background: rgba(255,255,255,.12); }
.btn-solid-nav { background: var(--amarillo); color: #1A2E3A; }
.btn-solid-nav:hover { background: #d4a010; }

/* Franja tricolor */
.franja { height: 5px; background: linear-gradient(90deg,#EDB512 0%,#EDB512 33%,#8FD400 33%,#8FD400 66%,#00B5D9 66%,#00B5D9 100%); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(160deg, #002d52 0%, #005F96 60%, #0074b7 100%);
    padding: 60px 36px 48px;
    position: relative; overflow: hidden;
}
.hero::after {
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 80% 60% at 80% 110%, rgba(0,181,217,.18) 0%, transparent 60%);
    pointer-events:none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-left {}
.hero-badge {
    display: inline-block; background: rgba(237,181,18,.18); border: 1.5px solid rgba(237,181,18,.5);
    color: #EDB512; font-weight: 700; padding: 4px 14px; border-radius: 20px;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.hero p  { color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.75; margin-bottom: 28px; max-width: 480px; }

/* Selector de año en hero */
.anio-selector { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px; padding: 6px 14px; }
.anio-selector label { color: rgba(255,255,255,.7); font-size: .78rem; }
.anio-selector select { background: transparent; border: none; color: #fff; font-size: .85rem; font-weight: 700; cursor: pointer; outline: none; }
.anio-selector select option { background: #003A6B; }

/* ============================================================
   KPI strip en hero
   ============================================================ */
.kpi-strip { display: flex; gap: 0; margin-top: 28px; }
.kpi-item { flex: 1; text-align: center; padding: 14px 10px; border-right: 1px solid rgba(255,255,255,.15); }
.kpi-item:last-child { border-right: none; }
.kpi-num  { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.kpi-lbl  { font-size: .68rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.kpi-num.verde   { color: #8FD400; }
.kpi-num.rojo    { color: #ff6b6b; }
.kpi-num.amarillo{ color: #12FF08; }
.kpi-num.naranja { color: #EDB512; }
.kpi-num.gris    { color: #CBD5E1; }
.kpi-num.celeste { color: #7DB7E8; }
/* KPI que se puede tocar (Por medir): mismo aspecto que los demás, con efecto al pasar el cursor */
.kpi-btn { background: none; border-top: 0; border-left: 0; border-bottom: 0; font: inherit; color: inherit; cursor: pointer; transition: background .15s; }
.kpi-btn:hover { background: rgba(255,255,255,.08); }
.kpi-btn:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

/* Donut hero */
.hero-chart-wrap {
    background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 24px; padding: 28px 24px; text-align: center; backdrop-filter: blur(4px);
}
.hero-chart-title { color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.donut-wrap { position: relative; width: 180px; height: 180px; margin: 0 auto 16px; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-pct { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; }
.donut-sub { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.legend-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: .73rem; color: rgba(255,255,255,.75); }
.legend-dot  { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   SECCIÓN
   ============================================================ */
.section { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: 1.6rem; font-weight: 900; color: var(--azul-dk); }
.section-sub { font-size: .85rem; color: var(--gris); margin-top: 4px; }

/* Barra chart panel */
.chart-panel { background: var(--blanco); border-radius: 20px; border: 1.5px solid var(--borde); padding: 28px 28px 20px; margin-bottom: 28px; box-shadow: var(--shadow); }
.chart-panel-title { font-size: 1rem; font-weight: 700; color: var(--texto); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

/* Grid de áreas */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.area-card {
    background: var(--blanco); border-radius: 18px; padding: 22px;
    border: 1.5px solid var(--borde); cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative; overflow: hidden;
}
.area-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ac, var(--azul)); border-radius: 18px 18px 0 0; }
.area-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,63,110,.13); border-color: transparent; }
.area-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.area-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; background: #EEF6FF; }
.area-nombre { font-weight: 700; font-size: .9rem; color: var(--texto); line-height: 1.35; }
.area-proceso { font-size: .73rem; color: var(--gris); margin-top: 2px; }

/* Mini barra de progreso */
.prog-wrap { margin-top: 12px; }
.prog-label { display: flex; justify-content: space-between; font-size: .73rem; margin-bottom: 5px; color: var(--gris); }
.prog-label strong { color: var(--texto); font-weight: 700; }
.prog-bar-bg { height: 7px; background: #EDF2F7; border-radius: 10px; overflow: hidden; }
.prog-bar-fill { height: 100%; border-radius: 10px; transition: width .6s ease; }

.mini-badges { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.mb { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 20px; font-size: .68rem; font-weight: 700; }
.mb-green { background: #DCFCE7; color: #166534; }
.mb-red   { background: #FEE2E2; color: #991B1B; }
.mb-gray  { background: #F3F4F6; color: #6B7280; }
.mb-gold  { background: #FEF9C3; color: #854D0E; }
.mb-orange { background: #FEF3C7; color: #92400E; }
.mb-blue   { background: #DBEAFE; color: #1E40AF; }

.area-arrow { position: absolute; bottom: 18px; right: 18px; color: var(--gris); font-size: .9rem; transition: .2s; }
.area-card:hover .area-arrow { transform: translateX(4px); color: var(--azul); }


/* ============================================================
   MAPA DE PROCESOS
   ============================================================ */
.pmap-section { padding-bottom: 8px; }
.pmap {
    display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; gap: 16px; align-items: stretch;
    background: var(--blanco); border: 1.5px solid var(--borde); border-radius: 22px;
    padding: 22px; box-shadow: var(--shadow);
}
.pmap-side {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: #A7C93A; color: #1B3300; border-radius: 18px; padding: 16px 6px;
    font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3;
}
.pmap-side span { writing-mode: vertical-rl; }
.pmap-in span { transform: rotate(180deg); }
.pmap-core { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* Fila de tres: píldora — título — píldora, unidas por una línea */
.pm-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pm-row::before { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--lc, #B8C4CF); z-index: 0; }
.pm-row > * { position: relative; z-index: 1; }
.pm-row .pp { flex: 0 1 30%; }
.pm-estrat { --lc: #8A9199; }
.pm-apoyo-top { --lc: #0F7FC2; }
.pm-eval-top { --lc: #E0A21A; }
.pm-title {
    flex: 0 0 auto; padding: 10px 26px; border-radius: 40px; font-weight: 900; font-size: .9rem;
    letter-spacing: .08em; text-transform: uppercase; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,.14);
}
.pm-title-estrat { background: #4F5459; color: #fff; }
.pm-title-apoyo  { background: #0B3F78; color: #fff; }
.pm-title-eval   { background: #F29A1F; color: #2B1A00; }

/* Misionales (con sus conectores: requisitos -> misionales -> procesos -> satisfacción) */
.pm-mis { --lc: #7FA31F; display: flex; gap: 44px; align-items: stretch; }
.pm-mis-label {
    position: relative; flex: 0 0 38px; display: flex; align-items: center; justify-content: center;
    background: #A7C93A; color: #1B3300; border-radius: 40px; font-weight: 900; font-size: .78rem;
    letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.pm-mis-label span { writing-mode: vertical-rl; transform: rotate(180deg); }
/* flecha: barra "Requisitos" -> MISIONALES */
.pm-mis-label::before { content: ''; position: absolute; right: 100%; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--lc); }
.pm-mis-label::after  { content: ''; position: absolute; right: 100%; top: 50%; margin-top: -5px; border-left: 8px solid var(--lc); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pm-mis-list { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* línea: MISIONALES -> columna de procesos */
.pm-mis-list::before { content: ''; position: absolute; left: -44px; width: 44px; top: 50%; height: 2px; margin-top: -1px; background: var(--lc); }
.pm-mis-item { position: relative; display: flex; align-items: center; }
/* columna vertical que une los 5 procesos (mitad inferior + mitad superior de cada uno) */
.pm-mis-item:not(:last-child)::before  { content: ''; position: absolute; left: 0; width: 2px; top: 50%; bottom: -10px; background: var(--lc); }
.pm-mis-item:not(:first-child)::after  { content: ''; position: absolute; left: 0; width: 2px; top: -10px; height: calc(50% + 10px); background: var(--lc); }
.pm-mis-item .ln-l { flex: 0 0 30px; height: 2px; background: var(--lc); }
.pm-mis-item .pp   { flex: 0 1 520px; min-width: 0; }
/* línea con flecha: proceso -> Satisfacción del usuario */
.pm-mis-item .ln-r { position: relative; flex: 1 1 40px; height: 2px; background: var(--lc); margin-right: -16px; }
.pm-mis-item .ln-r::after { content: ''; position: absolute; right: 0; top: -4px; border-left: 8px solid var(--lc); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* Apoyo: del título APOYO salen las líneas hacia los 6 procesos */
.pm-apoyo-grid { --lc: #0F7FC2; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; padding-top: 26px; }
.pm-apoyo-grid::before { content: ''; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 12px; height: 2px; background: var(--lc); }
.pm-apoyo-grid::after  { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 34px; margin-left: -1px; background: var(--lc); }
.pm-apoyo-grid .pp::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; margin-left: -1px; background: var(--lc); }
/* Evaluación: de EVALUACIÓN baja la línea hacia Control Disciplinario Interno */
.pm-eval-bottom { --lc: #E0A21A; position: relative; display: flex; justify-content: center; }
.pm-eval-bottom::before { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; margin-left: -1px; background: var(--lc); }
.pm-eval-bottom .pp { width: min(100%, 300px); }

/* Píldora de proceso */
.pp {
    position: relative; z-index: 1;
    font-family: inherit; border: none; cursor: pointer; text-align: left;
    display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
    min-height: 62px; padding: 10px 16px; border-radius: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s, box-shadow .15s;
}
.pp:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,63,110,.22); }
.pp:focus-visible { outline: 3px solid var(--azul-dk); outline-offset: 2px; }
.pp-vacio { cursor: default; opacity: .75; }
.pp-vacio:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.pp-nombre { font-weight: 800; font-size: .76rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.pp-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
.pp-n { font-size: .68rem; font-weight: 700; opacity: .9; white-space: nowrap; }
.pp-chip { margin-left: auto; }
.pp-chip {
    display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.93); color: var(--texto);
    font-size: .7rem; font-weight: 800; padding: 2px 9px; border-radius: 20px; white-space: nowrap;
}
.pp-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.pp-estrat   { background: #6E7378; color: #fff; }
.pp-mision   { background: #A7C93A; color: #1B3300; }
.pp-apoyo    { background: #0F7FC2; color: #fff; }
.pp-eval     { background: #FFC72C; color: #2B1A00; }
.pp-otros    { background: #94A3B8; color: #fff; }
.pmap-otros { margin-top: 16px; padding: 14px 16px; border: 1.5px dashed var(--borde); border-radius: 16px; background: var(--blanco); }
.pmap-otros-title { font-size: .78rem; font-weight: 700; color: var(--gris); margin-bottom: 10px; }
.pmap-otros-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pmap-hint { margin-top: 14px; font-size: .78rem; color: var(--gris); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

@media (max-width: 1000px) {
    .pm-apoyo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); padding-top: 0; }
    .pm-apoyo-grid::before, .pm-apoyo-grid::after, .pm-apoyo-grid .pp::before { display: none; }
}
@media (max-width: 768px) {
    .pmap { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
    .pmap-side { padding: 10px 14px; }
    .pmap-side span, .pmap-in span { writing-mode: horizontal-tb; transform: none; }
    .pm-row { flex-direction: column; align-items: stretch; gap: 10px; }
    /* en celular la línea pasa a ser vertical y une los procesos apilados */
    .pm-row::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin-left: -1px; }
    .pm-row .pp { flex: none; }
    .pm-title { order: -1; }
    .pm-mis { flex-direction: column; gap: 12px; }
    .pm-mis-label { flex: none; padding: 8px 14px; }
    .pm-mis-label span { writing-mode: horizontal-tb; transform: none; }
    .pm-mis-label::before, .pm-mis-label::after, .pm-mis-list::before { display: none; }
    .pm-mis-item { display: block; }
    .pm-mis-item .ln-l, .pm-mis-item .ln-r { display: none; }
    .pm-mis-item:not(:last-child)::before, .pm-mis-item:not(:first-child)::after { left: 50%; margin-left: -1px; }
    .pm-mis-item .pp { width: 100%; }
    .pm-eval-bottom .pp { width: 100%; }
}
@media (max-width: 520px) {
    .pm-apoyo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ============================================================
   MODAL
   ============================================================ */
#modal-overlay { display:none; position:fixed; inset:0; background:rgba(5,20,40,.75); backdrop-filter:blur(6px); z-index:500; align-items:center; justify-content:center; }
#modal-overlay.activo { display:flex; }
#modal-box { background: var(--blanco); border-radius: 24px; width: min(95vw, 1040px); max-height: 92vh; overflow-y: auto; box-shadow: 0 40px 80px rgba(0,0,0,.4); animation: min-in .3s ease; scrollbar-width: thin; }
@keyframes min-in { from{opacity:0;transform:scale(.93) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-hdr { padding: 24px 28px 18px; border-bottom: 1px solid var(--borde); position: sticky; top: 0; background: var(--blanco); z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-hdr-left {}
.modal-nombre { font-size: 1.5rem; font-weight: 900; color: var(--texto); line-height: 1.2; }
.modal-sub { font-size: .8rem; color: var(--gris); margin-top: 3px; }
.btn-close { background: #F1F5F9; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: .9rem; cursor: pointer; color: var(--gris); transition: .15s; }
.btn-close:hover { background: #E2E8F0; color: var(--texto); }
.modal-body { padding: 24px 28px 32px; }

/* Power BI */


/* Stats del modal */
.modal-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.ms-card {
    position: relative; overflow: hidden; border-radius: 14px; padding: 16px 18px;
    color: #fff; box-shadow: 0 8px 18px -6px rgba(0,0,0,.28);
}
.ms-card.ms-total   { background: linear-gradient(135deg,#0B4E8A,#3FA9E0); }
.ms-card.ms-cumple  { background: linear-gradient(135deg,#15803D,#8FD400); }
.ms-card.ms-parcial { background: linear-gradient(135deg,#B45309,#EDB512); }
.ms-card.ms-no      { background: linear-gradient(135deg,#B91C1C,#ff6b6b); }
.ms-icon { position: absolute; top: 14px; right: 14px; font-size: 1.15rem; opacity: .55; }
.ms-num { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.ms-lbl { font-size: .72rem; margin-top: 5px; opacity: .92; font-weight: 600; }

/* Charts en modal */
.modal-charts { display: grid; grid-template-columns: .8fr 1.4fr; gap: 18px; margin-bottom: 24px; align-items: start; }
.mc-panel { background: var(--crema); border-radius: 14px; padding: 18px; border: 1.5px solid var(--borde); }
.mc-title { font-size: .82rem; font-weight: 700; color: var(--texto); margin-bottom: 12px; }

/* Tabla indicadores */
.tabla { width:100%; border-collapse:collapse; font-size:.81rem; }
.tabla th { background:var(--azul); color:#fff; padding:9px 13px; text-align:left; font-size:.71rem; text-transform:uppercase; letter-spacing:.04em; font-weight:600; }
.tabla td { padding:10px 13px; border-bottom:1px solid var(--borde); vertical-align:middle; }
.tabla tr:last-child td { border-bottom:none; }
.tabla tr:hover td { background:#EFF7FF; }
.badge { display:inline-flex; align-items:center; gap:3px; padding:3px 9px; border-radius:20px; font-size:.7rem; font-weight:700; }
.badge-ok   { background:#DCFCE7; color:#166534; }
.badge-sc   { background:#BBF7D0; color:#065F46; }
.badge-parcial { background:#FEF3C7; color:#92400E; }
.badge-no   { background:#FEE2E2; color:#991B1B; }
.badge-na   { background:#F3F4F6; color:#6B7280; }
.badge-pend { background:#DBEAFE; color:#1E40AF; white-space:nowrap; }

/* Frecuencia de medición (columna "Frecuencia" de la tabla de indicadores) */
.freq { display:inline-block; padding:2px 9px; border-radius:12px; font-size:.7rem; font-weight:700; white-space:nowrap; background:#EEF6FF; color:#1B4F8A; cursor:help; }
.freq-nd { background:#F3F4F6; color:#6B7280; font-weight:600; }

footer { background: var(--azul-dk); color: rgba(255,255,255,.5); text-align:center; padding:22px; font-size:.78rem; margin-top:16px; }

@media(max-width:768px) {
    nav { padding:0 16px; }
    .hero-inner { grid-template-columns:1fr; gap:28px; }
    .hero { padding:40px 18px 36px; }
    .section { padding:32px 16px; }
    .areas-grid { grid-template-columns:1fr; }
    .modal-stats { grid-template-columns:repeat(2,1fr); }
    .modal-charts { grid-template-columns:1fr; }
    .modal-hdr, .modal-body { padding:18px; }
    .kpi-strip { flex-wrap:wrap; }
    .kpi-item { flex:0 0 33.33%; border-right:none; border-bottom:1px solid rgba(255,255,255,.1); }
}