/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"IBM_Plex_Sans","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-sans","display":"swap"}],"variableName":"sans"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/7b19b489dc6743ba-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/28793f5c5e3d822d-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c9c3823090ec8b55-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b3bf17a9041d9433-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/2801417b65625cf5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d4368bf94c0ec4-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/7b19b489dc6743ba-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/28793f5c5e3d822d-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c9c3823090ec8b55-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b3bf17a9041d9433-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/2801417b65625cf5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d4368bf94c0ec4-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/7b19b489dc6743ba-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/28793f5c5e3d822d-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c9c3823090ec8b55-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b3bf17a9041d9433-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/2801417b65625cf5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Sans_1bc20f';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d4368bf94c0ec4-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__IBM_Plex_Sans_Fallback_1bc20f';src: local("Arial");ascent-override: 101.32%;descent-override: 27.18%;line-gap-override: 0.00%;size-adjust: 101.17%
}.__className_1bc20f {font-family: '__IBM_Plex_Sans_1bc20f', '__IBM_Plex_Sans_Fallback_1bc20f';font-style: normal
}.__variable_1bc20f {--font-sans: '__IBM_Plex_Sans_1bc20f', '__IBM_Plex_Sans_Fallback_1bc20f'
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"IBM_Plex_Mono","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-mono","display":"swap"}],"variableName":"mono"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/58f386aa6b1a2a92-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/011e180705008d6f-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7ba5fb2a8c88521c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/92eeb95d069020cc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d3ebbfd689654d3a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ef4d5661765d0e49-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/d29838c109ef09b4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e40af3453d7c920a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/99dcf268bda04fe5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/98e207f02528a563-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/73cb51aac9c97f90-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/d26bbd13d6b70f89-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/20535187d867b7b9-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/5356a6a4f2c8c8d8-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/db96af6b531dc71f-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__IBM_Plex_Mono_Fallback_595324';src: local("Arial");ascent-override: 76.16%;descent-override: 20.43%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_595324 {font-family: '__IBM_Plex_Mono_595324', '__IBM_Plex_Mono_Fallback_595324';font-style: normal
}.__variable_595324 {--font-mono: '__IBM_Plex_Mono_595324', '__IBM_Plex_Mono_Fallback_595324'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #0a0f16;
  --bg-grid: rgba(45, 212, 191, 0.035);
  --surface: #111a24;
  --surface-2: #16222f;
  --surface-3: #1b2a3a;
  --border: #223347;
  --border-soft: #1a2836;
  --text: #e8eff6;
  --muted: #8ba1b6;
  --muted-2: #61788e;

  --accent: #2dd4bf;      /* teal de señal */
  --accent-dim: #1a7f76;
  --accent-glow: rgba(45, 212, 191, 0.15);

  --ok: #34d399;
  --warn: #fbbf24;
  --risk: #fb923c;
  --crit: #f87171;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --mono: var(--font-mono), "IBM Plex Mono", ui-monospace, monospace;
  --sans: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    radial-gradient(1200px 600px at 78% -10%, rgba(45, 212, 191, 0.06), transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }

.sidebar {
  border-right: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: 22px 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-dim));
  box-shadow: 0 0 0 1px var(--border), 0 0 22px var(--accent-glow);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; color: #04201d; font-size: 15px;
}
.brand .name { font-weight: 600; letter-spacing: 0.02em; }
.brand .sub { font-size: 10px; color: var(--muted-2); font-family: var(--mono); letter-spacing: 0.12em; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--surface-3); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.nav a .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.sidebar .foot { margin-top: auto; font-size: 10.5px; color: var(--muted-2); font-family: var(--mono); }

.main { padding: 26px 30px 60px; max-width: 1360px; }

.topbar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.topbar h1 { font-size: 23px; font-weight: 600; margin: 4px 0 0; letter-spacing: -0.01em; }
.topbar .live { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5);} 70%{ box-shadow:0 0 0 7px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 14px; gap: 14px; margin-bottom: 26px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 16px 18px; position: relative; overflow: hidden;
  animation: rise 0.5s both;
}
.kpi::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent); opacity: 0.5; }
.kpi .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.kpi .value { font-family: var(--mono); font-size: 30px; font-weight: 600; margin-top: 8px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.kpi .value small { font-size: 15px; color: var(--muted); }
.kpi.accent .value { color: var(--accent); }
.kpi.ok .value { color: var(--ok); }
.kpi.warn .value { color: var(--warn); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.card .head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.card .head h2 { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: 0.01em; }
.card .head .count { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 20px; padding: 2px 10px; }
.section-gap { margin-bottom: 24px; }

.exception { border-color: rgba(251, 146, 60, 0.35); box-shadow: 0 0 0 1px rgba(251,146,60,0.06); }
.exception .head { background: linear-gradient(90deg, rgba(251,146,60,0.10), transparent); }

/* ---------- Table ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-2); font-weight: 600; padding: 10px 18px; border-bottom: 1px solid var(--border-soft);
}
.tbl td { padding: 12px 18px; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr.row { transition: background 0.12s; cursor: pointer; }
.tbl tr.row:hover { background: var(--surface-2); }
.tbl .num { font-family: var(--mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; text-align: right; }
.tbl .code { font-family: var(--mono); color: var(--text); font-size: 12.5px; }
.empty { padding: 34px; text-align: center; color: var(--muted); }

/* ---------- Semaphore + pills ---------- */
.sem { display: inline-flex; align-items: center; gap: 8px; }
.sem .lamp { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sem.ok .lamp { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.sem.warn .lamp { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.sem.risk .lamp { background: var(--risk); box-shadow: 0 0 8px var(--risk); }
.sem.crit .lamp { background: var(--crit); box-shadow: 0 0 8px var(--crit); animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.pill {
  display: inline-block; font-family: var(--mono); font-size: 11px; padding: 3px 9px;
  border-radius: 20px; border: 1px solid var(--border); color: var(--muted); letter-spacing: 0.02em;
}
.pill.ok { color: var(--ok); border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.08); }
.pill.warn { color: var(--warn); border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.08); }
.pill.risk { color: var(--risk); border-color: rgba(251,146,60,0.4); background: rgba(251,146,60,0.08); }
.pill.crit { color: var(--crit); border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.08); }
.pill.accent { color: var(--accent); border-color: rgba(45,212,191,0.4); background: rgba(45,212,191,0.08); }

/* ---------- Readiness bar ---------- */
.bar { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.bar .track { flex: 1 1; height: 7px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); transition: width 0.6s cubic-bezier(.2,.7,.3,1); }
.bar .pct { font-family: var(--mono); font-size: 12px; width: 40px; text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- Case detail ---------- */
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.detail-head .num { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.detail-head .meta { display: flex; gap: 20px; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.readiness-big { min-width: 260px; }
.readiness-big .track { height: 12px; }
.readiness-big .n { font-family: var(--mono); font-size: 34px; font-weight: 600; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.blocker-banner {
  display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(251,146,60,0.10); border: 1px solid rgba(251,146,60,0.3); color: #ffd9b8;
  font-size: 13px; margin-bottom: 22px;
}

.cols { display: grid; grid-template-columns: 1.3fr 1fr; grid-gap: 18px; gap: 18px; align-items: start; }

.chk { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border-soft); }
.chk:last-child { border-bottom: none; }
.chk .left { display: flex; align-items: center; gap: 11px; }
.chk .doc { font-weight: 500; }
.chk .tag { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }

/* Timeline */
.timeline { padding: 8px 18px 16px; }
.tl-item { position: relative; padding: 0 0 16px 22px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.tl-item::after { content: ""; position: absolute; left: 7.5px; top: 14px; bottom: -2px; width: 1px; background: var(--border); }
.tl-item:last-child::after { display: none; }
.tl-item .type { font-family: var(--mono); font-size: 12px; color: var(--text); }
.tl-item .ts { font-size: 11px; color: var(--muted-2); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.5s both; }

/* ---------- Formularios / acciones ---------- */
.form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; }
select, input[type="file"], input[type="text"] {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 7px; padding: 8px 10px; font-size: 13px; font-family: var(--sans);
}
input[type="file"] { padding: 6px 8px; }
.btn {
  background: var(--accent); color: #04201d; border: none; border-radius: 7px;
  padding: 8px 14px; font-weight: 600; font-size: 13px; cursor: pointer;
  font-family: var(--sans); transition: filter 0.15s;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn:disabled { opacity: 0.45; cursor: default; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 14px; gap: 14px; }
.grid-items { display: grid; grid-template-columns: 1fr 2fr 1.2fr 10ch 12ch 44px; grid-gap: 8px; gap: 8px; }
.grid-costs { display: grid; grid-template-columns: 1fr 2fr 1fr 44px; grid-gap: 8px; gap: 8px; }
.subhead { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.subhead h3 { font-size: 13px; margin: 0; letter-spacing: 0.02em; }
.form-error {
  background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35);
  color: #ffc9c9; border-radius: 8px; padding: 9px 12px; font-size: 12.5px;
}
.card-pad { padding: 20px 22px; }

/* Barras de desglose (reportes) */
.bars { padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 46px; align-items: center; grid-gap: 12px; gap: 12px; }
.bar-row .lbl { font-size: 12.5px; color: var(--muted); }
.bar-row .track2 { height: 20px; background: var(--surface-3); border-radius: 6px; overflow: hidden; }
.bar-row .fill2 { height: 100%; border-radius: 6px; min-width: 3px; transition: width 0.5s ease; }
.bar-row .n { font-family: var(--mono); text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: 13px; }
.kpi .sub2 { font-size: 11px; color: var(--muted-2); margin-top: 4px; }
@media (max-width: 720px) { .bar-row { grid-template-columns: 110px 1fr 40px; } }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-items, .grid-costs { grid-template-columns: 1fr; }
  .items-head { display: none; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .sidebar .foot { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
}

