:root {
    --nzt-bg: #020617;
    --nzt-card: rgba(15, 23, 42, 0.92);
    --nzt-border: rgba(148, 163, 184, 0.25);
    --nzt-text: #e5e7eb;
    --nzt-muted: #9ca3af;
    --nzt-cyan: #22d3ee;
    --nzt-green: #22c55e;
    --nzt-red: #ef4444;
    --nzt-yellow: #f59e0b;
    --nzt-violet: #8b5cf6;
    --nzt-input: #111827;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #000000 100%);
    color: var(--nzt-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    padding: 18px;
}

.nzt-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.nzt-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 16px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.15), transparent 42%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96));
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.65);
}

.nzt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--nzt-cyan);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nzt-hero h1 {
    margin: 0;
    color: #f9fafb;
    font-size: 30px;
    font-weight: 850;
}

.nzt-hero p {
    margin: 6px 0 0 0;
    color: #cbd5e1;
    font-size: 14px;
}

.nzt-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nzt-month-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(34, 211, 238, 0.44);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.82);
    padding: 7px 12px;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.nzt-month-pill button {
    border: 0;
    background: transparent;
    color: var(--nzt-cyan);
    cursor: pointer;
}

.nzt-month-pill span {
    min-width: 145px;
    text-align: center;
    font-size: 13px;
    font-weight: 750;
}

.nzt-btn {
    min-height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.52);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    padding: 8px 13px;
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
}

.nzt-btn:hover {
    border-color: var(--nzt-cyan);
    color: #ffffff;
}

.nzt-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.nzt-tab {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.nzt-tab i {
    color: var(--nzt-cyan);
    margin-right: 6px;
}

.nzt-tab.active {
    border-color: var(--nzt-cyan);
    background: rgba(8, 47, 73, 0.38);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.nzt-panel {
    display: none;
}

.nzt-panel.active {
    display: block;
}

.nzt-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.nzt-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nzt-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nzt-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nzt-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nzt-card {
    border: 1px solid var(--nzt-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.06), transparent 38%),
        rgba(15, 23, 42, 0.88);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
    padding: 17px;
}

.nzt-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #e5e7eb;
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 850;
}

.nzt-card-title i {
    color: var(--nzt-cyan);
}

.nzt-metric span {
    display: block;
    color: var(--nzt-muted);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.nzt-metric strong {
    display: block;
    color: #f9fafb;
    font-size: 24px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.nzt-metric small {
    display: block;
    color: var(--nzt-muted);
    margin-top: 5px;
    font-size: 12px;
}

.nzt-main-card {
    min-height: 190px;
}

.nzt-main-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.55;
}

.nzt-budget-value {
    color: #bae6fd;
    font-size: 42px;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    margin-bottom: 10px;
}

.nzt-status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: var(--nzt-muted);
    font-size: 13px;
}

.nzt-status-badge {
    border-radius: 999px;
    padding: 6px 11px;
    border: 1px solid rgba(34, 211, 238, 0.4);
    background: rgba(8, 47, 73, 0.28);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.nzt-status-badge.peligro {
    border-color: rgba(239, 68, 68, 0.55);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.28);
}

.nzt-status-badge.atento {
    border-color: rgba(245, 158, 11, 0.55);
    color: #fde68a;
    background: rgba(120, 53, 15, 0.25);
}

.nzt-status-badge.controlado {
    border-color: rgba(34, 211, 238, 0.55);
    color: #bae6fd;
}

.nzt-status-badge.tranquilo {
    border-color: rgba(34, 197, 94, 0.55);
    color: #bbf7d0;
    background: rgba(20, 83, 45, 0.25);
}

.nzt-advice-box,
.nzt-feria-text {
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 14px;
    background: rgba(8, 47, 73, 0.18);
    padding: 12px;
    color: #bae6fd !important;
}

.nzt-chart-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nzt-chart-row {
    display: grid;
    grid-template-columns: 32px 135px minmax(120px, 1fr) 105px 55px;
    gap: 8px;
    align-items: center;
}

.nzt-rank {
    font-weight: 900;
    text-align: center;
}

.nzt-chart-label {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nzt-bar-wrap {
    height: 28px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.08);
}

.nzt-bar-fill {
    height: 100%;
    min-width: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #06b6d4);
}

.nzt-chart-amount {
    text-align: right;
    color: #fecaca;
    font-weight: 850;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.nzt-chart-pct {
    text-align: right;
    color: var(--nzt-muted);
    font-size: 12px;
}

.nzt-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.85);
}

.nzt-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.nzt-table th {
    padding: 12px;
    background: rgba(2, 6, 23, 0.86);
    color: var(--nzt-muted);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(34, 211, 238, 0.18);
}

.nzt-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(15, 23, 42, 0.62);
    color: #e5e7eb;
    font-size: 13px;
}

.nzt-table tr:nth-child(even) td {
    background: rgba(30, 41, 59, 0.5);
}

.nzt-money {
    color: #fecaca;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nzt-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    white-space: nowrap;
}

.nzt-pill-debito {
    border: 1px solid rgba(34, 211, 238, 0.42);
    color: #bae6fd;
    background: rgba(8, 47, 73, 0.32);
}

.nzt-pill-efectivo {
    border: 1px solid rgba(34, 197, 94, 0.42);
    color: #bbf7d0;
    background: rgba(20, 83, 45, 0.24);
}

.nzt-pill-tarjeta {
    border: 1px solid rgba(245, 158, 11, 0.44);
    color: #fde68a;
    background: rgba(120, 53, 15, 0.24);
}

.nzt-help {
    color: var(--nzt-muted);
    margin-top: -6px;
    margin-bottom: 14px;
    font-size: 13px;
}

.nzt-empty {
    width: 100%;
    text-align: center;
    color: var(--nzt-muted);
    padding: 28px 14px;
}

.nzt-tarjeta-card {
    position: relative;
    overflow: hidden;
}

.nzt-tarjeta-card h3 {
    margin: 0 0 12px 0;
    color: #f9fafb;
    font-size: 18px;
    font-weight: 900;
}

.nzt-card-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 13px;
}

.nzt-card-row strong {
    color: #f9fafb;
    font-variant-numeric: tabular-nums;
}

.nzt-progress {
    width: 100%;
    height: 11px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    overflow: hidden;
    margin: 14px 0;
}

.nzt-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #06b6d4);
}

.nzt-progress-fill.alta {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.nzt-progress-fill.critica {
    background: linear-gradient(90deg, #ef4444, #be123c);
}

.nzt-tarjeta-msg {
    color: var(--nzt-muted);
    font-size: 13px;
    margin-top: 8px;
}

.nzt-fixed-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nzt-fixed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.32);
    padding: 11px 12px;
}

.nzt-fixed-item strong {
    color: #f9fafb;
    font-size: 14px;
}

.nzt-fixed-item small {
    display: block;
    color: var(--nzt-muted);
    margin-top: 3px;
}

@media (max-width: 1100px) {
    .nzt-tabs,
    .nzt-grid-four,
    .nzt-grid-three,
    .nzt-grid-two,
    .nzt-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nzt-chart-row {
        grid-template-columns: 28px 105px minmax(100px, 1fr) 90px;
    }

    .nzt-chart-pct {
        display: none;
    }
}

@media (max-width: 760px) {
    body {
        padding: 12px;
    }

    .nzt-hero h1 {
        font-size: 24px;
    }

    .nzt-tabs,
    .nzt-grid-four,
    .nzt-grid-three,
    .nzt-grid-two,
    .nzt-card-grid {
        grid-template-columns: 1fr;
    }

    .nzt-tab {
        text-align: center;
    }

    .nzt-hero-actions {
        width: 100%;
    }

    .nzt-month-pill {
        width: 100%;
        justify-content: space-between;
    }

    .nzt-btn {
        width: 100%;
    }

    .nzt-chart-row {
        grid-template-columns: 28px minmax(0, 1fr) 90px;
    }

    .nzt-bar-wrap {
        grid-column: 2 / 4;
    }
}

.nzt-tarjeta-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-color: rgba(34, 211, 238, 0.28);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}

.nzt-tarjeta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 24%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.10), transparent 34%);
}

.nzt-tarjeta-card > * {
    position: relative;
    z-index: 1;
}

.nzt-tarjeta-card.sana {
    border-color: rgba(34, 197, 94, 0.42);
}

.nzt-tarjeta-card.media {
    border-color: rgba(34, 211, 238, 0.42);
}

.nzt-tarjeta-card.alta {
    border-color: rgba(245, 158, 11, 0.52);
}

.nzt-tarjeta-card.critica {
    border-color: rgba(239, 68, 68, 0.58);
}

.nzt-tarjeta-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.nzt-tarjeta-head h3 {
    margin: 0;
    color: #f9fafb;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.nzt-tarjeta-subtitle {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

.nzt-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.nzt-card-status.sana {
    border: 1px solid rgba(34, 197, 94, 0.48);
    background: rgba(20, 83, 45, 0.24);
    color: #bbf7d0;
}

.nzt-card-status.media {
    border: 1px solid rgba(34, 211, 238, 0.48);
    background: rgba(8, 47, 73, 0.26);
    color: #bae6fd;
}

.nzt-card-status.alta {
    border: 1px solid rgba(245, 158, 11, 0.52);
    background: rgba(120, 53, 15, 0.26);
    color: #fde68a;
}

.nzt-card-status.critica {
    border: 1px solid rgba(239, 68, 68, 0.58);
    background: rgba(127, 29, 29, 0.28);
    color: #fecaca;
}

.nzt-card-status.inactiva {
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: rgba(51, 65, 85, 0.24);
    color: #cbd5e1;
}

.nzt-card-available {
    margin-bottom: 16px;
}

.nzt-card-available span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nzt-card-available strong {
    display: block;
    color: #f8fafc;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.nzt-card-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.nzt-card-mini {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.32);
    padding: 10px;
}

.nzt-card-mini span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-bottom: 4px;
}

.nzt-card-mini strong {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.nzt-progress {
    height: 13px;
    margin: 12px 0 8px 0;
}

.nzt-progress-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 14px;
}

.nzt-tarjeta-msg {
    border-top: 1px solid rgba(148, 163, 184, 0.13);
    padding-top: 12px;
    margin-bottom: 0;
    color: #cbd5e1;
    line-height: 1.45;
}

.nzt-score-card {
    position: relative;
    overflow: hidden;
}

.nzt-score-card.critico {
    border-color: rgba(255, 72, 72, 0.85);
    box-shadow: 0 0 26px rgba(255, 72, 72, 0.14);
}

.nzt-score-card.riesgo {
    border-color: rgba(255, 160, 64, 0.75);
    box-shadow: 0 0 24px rgba(255, 160, 64, 0.12);
}

.nzt-score-card.atento {
    border-color: rgba(255, 213, 79, 0.7);
}

.nzt-score-card.sano {
    border-color: rgba(53, 211, 153, 0.7);
}

.nzt-score-card.solido {
    border-color: rgba(29, 233, 255, 0.75);
}

.nzt-score-layout {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.nzt-score-ring {
    width: 118px;
    height: 118px;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(15, 23, 42, 0.98) 0, rgba(15, 23, 42, 0.98) 52%, transparent 53%),
        conic-gradient(rgba(29, 233, 255, 0.95), rgba(255, 72, 72, 0.9), rgba(31, 41, 55, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nzt-score-ring strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.nzt-score-ring span {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.65);
}

.nzt-score-body {
    min-width: 0;
}

.nzt-score-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.nzt-score-state.critico {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.55);
}

.nzt-score-state.riesgo {
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(249, 115, 22, 0.55);
}

.nzt-score-state.atento {
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.nzt-score-state.sano {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.nzt-score-state.solido {
    color: #a5f3fc;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.5);
}

.nzt-score-body p {
    margin: 0 0 1rem 0;
    color: rgba(226, 232, 240, 0.84);
    line-height: 1.55;
}

.nzt-score-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.14);
    margin-bottom: 0.65rem;
}

.nzt-score-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.nzt-score-bar-fill.critico {
    background: #ef4444;
}

.nzt-score-bar-fill.riesgo {
    background: #f97316;
}

.nzt-score-bar-fill.atento {
    background: #f59e0b;
}

.nzt-score-bar-fill.sano {
    background: #22c55e;
}

.nzt-score-bar-fill.solido {
    background: #06b6d4;
}

.nzt-score-body small {
    color: rgba(226, 232, 240, 0.58);
}

@media (max-width: 700px) {
    .nzt-score-layout {
        grid-template-columns: 1fr;
    }

    .nzt-score-ring {
        margin: 0 auto;
    }
}

.nzt-grid-one {
    grid-template-columns: 1fr;
}

.nzt-section-head {
    margin-bottom: 14px;
}

.nzt-section-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 24px;
    font-weight: 900;
}

.nzt-section-head p {
    margin: 6px 0 0 0;
    color: #94a3b8;
    max-width: 760px;
}

.nzt-eyebrow {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--nzt-cyan);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 850;
}

.nzt-kpi-value {
    color: #f8fafc;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.nzt-category-summary-card p {
    margin: 8px 0 0 0;
    color: #94a3b8;
    font-size: 13px;
}

.nzt-category-filters-card {
    margin-bottom: 14px;
}

.nzt-category-filter-grid {
    display: grid;
    grid-template-columns: 150px 150px minmax(190px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}

.nzt-category-field label {
    display: block;
    margin-bottom: 5px;
    color: #cbd5e1;
    font-size: 12px;
}

.nzt-category-field input,
.nzt-category-field select {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(75, 85, 99, 0.95);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.62);
    color: #f8fafc;
    outline: none;
    padding: 8px 10px;
    font-size: 13px;
}

.nzt-category-field input:focus,
.nzt-category-field select:focus {
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18);
}

.nzt-category-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.nzt-category-filter {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #cbd5e1;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.nzt-category-filter.active {
    border-color: var(--nzt-cyan);
    color: #ffffff;
    background: rgba(8, 47, 73, 0.45);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.nzt-category-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nzt-category-header,
.nzt-category-row {
    display: grid;
    grid-template-columns: 44px minmax(260px, 1.35fr) 130px 140px;
    gap: 12px;
    align-items: center;
}

.nzt-category-header {
    padding: 0 12px 8px 12px;
    color: #64748b;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 850;
}

.nzt-category-row {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.34);
    padding: 13px 12px;
}

.nzt-category-row.alta {
    border-color: rgba(245, 158, 11, 0.35);
}

.nzt-category-row.critica {
    border-color: rgba(239, 68, 68, 0.42);
}

.nzt-category-rank {
    color: #94a3b8;
    font-weight: 850;
    text-align: center;
}

.nzt-category-name-block strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.nzt-category-name-block small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.35;
}

.nzt-category-type {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.nzt-category-type.cash {
    border: 1px solid rgba(34, 211, 238, 0.4);
    background: rgba(8, 47, 73, 0.25);
    color: #bae6fd;
}

.nzt-category-type.tarjeta {
    border: 1px solid rgba(245, 158, 11, 0.42);
    background: rgba(120, 53, 15, 0.24);
    color: #fde68a;
}

.nzt-category-money {
    color: #fecaca;
    font-weight: 900;
    font-size: 13px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.nzt-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: #94a3b8;
    font-size: 12px;
}

.nzt-page-btn {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #cbd5e1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.nzt-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .nzt-category-header {
        display: none;
    }

    .nzt-category-row {
        grid-template-columns: 34px 1fr;
        align-items: start;
    }

    .nzt-category-row > div:nth-child(3),
    .nzt-category-row > div:nth-child(4) {
        grid-column: 2 / 3;
        text-align: left;
    }

    .nzt-category-money {
        text-align: left;
    }

    .nzt-category-filter-grid {
        grid-template-columns: 1fr;
    }
}

.nzt-game-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    margin-bottom: 14px;
}

.nzt-game-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.14), transparent 34%),
        rgba(15, 23, 42, 0.9);
}

.nzt-game-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nzt-cyan);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 18px;
}

.nzt-game-state {
    color: #f8fafc;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.nzt-game-state.critico {
    color: #fecaca;
}

.nzt-game-state.riesgo {
    color: #fed7aa;
}

.nzt-game-state.atento {
    color: #fef3c7;
}

.nzt-game-state.sano {
    color: #bbf7d0;
}

.nzt-life-wrap {
    margin-bottom: 24px;
}

.nzt-life-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 850;
    margin-bottom: 8px;
}

.nzt-life-head strong {
    color: #f8fafc;
    font-size: 16px;
}

.nzt-life-bar {
    height: 22px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.22);
    overflow: hidden;
}

.nzt-life-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #22d3ee);
    transition: width 0.25s ease;
}

.nzt-life-fill.critico {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.nzt-life-fill.riesgo {
    background: linear-gradient(90deg, #f97316, #f59e0b);
}

.nzt-life-fill.atento {
    background: linear-gradient(90deg, #f59e0b, #22d3ee);
}

.nzt-life-fill.sano {
    background: linear-gradient(90deg, #22c55e, #22d3ee);
}

.nzt-game-energy span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 850;
    margin-bottom: 4px;
}

.nzt-game-energy strong {
    display: block;
    color: #bae6fd;
    font-size: 34px;
    font-weight: 950;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.nzt-game-energy small {
    display: block;
    color: #94a3b8;
    margin-top: 6px;
    font-size: 13px;
}

.nzt-game-card {
    min-height: 300px;
}

.nzt-enemy-main {
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 18px;
    background: rgba(127, 29, 29, 0.16);
    padding: 16px;
    margin-bottom: 14px;
}

.nzt-enemy-main span {
    display: block;
    color: #f8fafc;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
}

.nzt-enemy-main strong {
    display: block;
    color: #fecaca;
    font-size: 14px;
    font-weight: 850;
}

.nzt-action-text {
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 16px;
    background: rgba(8, 47, 73, 0.22);
    padding: 14px;
    color: #bae6fd;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.nzt-threat-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nzt-threat-item {
    display: grid;
    grid-template-columns: 38px 1fr 120px;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.32);
    padding: 12px;
}

.nzt-threat-item.critico {
    border-color: rgba(239, 68, 68, 0.42);
}

.nzt-threat-item.riesgo {
    border-color: rgba(245, 158, 11, 0.42);
}

.nzt-threat-item.atento {
    border-color: rgba(34, 211, 238, 0.32);
}

.nzt-threat-rank {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    color: #cbd5e1;
    font-weight: 900;
}

.nzt-threat-body strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.nzt-threat-body span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 3px;
    line-height: 1.35;
}

.nzt-threat-money {
    text-align: right;
}

.nzt-threat-money strong {
    display: block;
    color: #fecaca;
    font-size: 13px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.nzt-threat-money span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 3px;
}

.nzt-simulator {
    display: grid;
    gap: 10px;
}

.nzt-simulator label {
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 850;
}

.nzt-simulator input,
.nzt-simulator select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.62);
    color: #f8fafc;
    padding: 11px 12px;
    outline: none;
}

.nzt-simulator input:focus,
.nzt-simulator select:focus {
    border-color: var(--nzt-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.nzt-btn-primary {
    border-color: rgba(34, 211, 238, 0.52);
    background: rgba(8, 47, 73, 0.42);
    color: #ffffff;
}

.nzt-simulator-result {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.36);
    color: #cbd5e1;
    padding: 13px;
    font-size: 14px;
    line-height: 1.5;
}

.nzt-simulator-result.critico {
    border-color: rgba(239, 68, 68, 0.48);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.2);
}

.nzt-simulator-result.riesgo {
    border-color: rgba(245, 158, 11, 0.48);
    color: #fed7aa;
    background: rgba(120, 53, 15, 0.22);
}

.nzt-simulator-result.atento {
    border-color: rgba(34, 211, 238, 0.42);
    color: #bae6fd;
    background: rgba(8, 47, 73, 0.22);
}

.nzt-simulator-result.sano {
    border-color: rgba(34, 197, 94, 0.42);
    color: #bbf7d0;
    background: rgba(20, 83, 45, 0.22);
}

@media (max-width: 900px) {
    .nzt-game-layout {
        grid-template-columns: 1fr;
    }

    .nzt-threat-item {
        grid-template-columns: 34px 1fr;
    }

    .nzt-threat-money {
        grid-column: 2 / 3;
        text-align: left;
    }

    .nzt-game-state {
        font-size: 34px;
    }
}
