        :root {
            --ute-orange: #ff8300;
            --ute-orange-dark: #d96f00;
            --ute-turquoise: #00c7b1;
            --ute-turquoise-soft: #c8f1ec;
            --ute-green: #11885b;
            --ute-ink: #151515;
            --ute-muted: #6f6f6f;
            --ute-line: #e3e3e3;
            --ute-bg: #f4f1ed;
            --ute-paper: #ffffff;
        }

        * {
            letter-spacing: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--ute-bg);
            color: var(--ute-ink);
            font-family: Arial, Helvetica, sans-serif;
        }

        .topbar {
            background: var(--ute-orange);
            border-bottom: 1px solid var(--ute-orange-dark);
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(10px);
        }

        .topbar strong,
        .topbar .muted {
            color: #ffffff;
        }

        .topbar .btn-outline-secondary {
            border-color: #ffffff;
            color: #ffffff;
            font-weight: 700;
        }

        .topbar .btn-outline-secondary:hover,
        .topbar .btn-outline-secondary:focus {
            background: #ffffff;
            border-color: #ffffff;
            color: var(--ute-orange);
        }

        .brand-logo {
            width: 58px;
            height: 58px;
            border-radius: 6px;
            display: grid;
            place-items: center;
            color: var(--ute-orange);
            font-weight: 900;
            background: #ffffff;
            box-shadow: none;
            overflow: hidden;
            padding: 5px;
        }

        .brand-logo.hero-logo {
            width: min(210px, 52vw);
            height: min(210px, 52vw);
            background: #ffffff;
            color: var(--ute-orange);
            border: 0;
            box-shadow: none;
            font-size: 1.6rem;
            padding: 12px;
        }

        .brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .hero {
            min-height: calc(64vh - 84px);
            background: var(--ute-paper);
            display: grid;
            align-items: center;
            padding: 56px 0;
            border-bottom: 1px solid var(--ute-line);
        }

        .hero-layout {
            display: grid;
            grid-template-columns: minmax(0, .82fr) minmax(420px, 760px);
            align-items: center;
            gap: clamp(20px, 5vw, 64px);
        }

        .hero-content {
            text-align: left;
        }

        .hero-title {
            font-size: clamp(3.1rem, 8vw, 7.4rem);
            font-weight: 900;
            line-height: .92;
            text-transform: uppercase;
            max-width: 780px;
        }

        .hero-title span {
            color: var(--ute-orange);
        }

        .hero-main-logo {
            width: min(650px, 100%);
            max-height: 74vh;
            object-fit: contain;
            display: block;
            margin: 0 0 0 auto;
            transform: translateX(42px);
        }

        .hero-copy {
            max-width: 620px;
            margin: 22px 0 0;
            color: var(--ute-muted);
            font-size: clamp(1rem, 2vw, 1.2rem);
        }

        .section-pad {
            padding: 56px 0;
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 4.8rem);
            font-weight: 900;
            line-height: .95;
            text-transform: uppercase;
        }

        .section-toggle {
            width: 100%;
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            background: #ffffff;
            color: #111111;
            padding: 24px 26px;
            text-align: left;
            box-shadow: 0 16px 42px rgba(17, 17, 17, .10);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        #progreso .section-toggle {
            background: var(--ute-orange);
            border-color: var(--ute-orange);
            color: #ffffff;
        }

        #progreso .section-toggle .muted,
        #progreso .section-toggle .section-title,
        #progreso .section-toggle span {
            color: #ffffff;
        }

        #progreso .section-toggle::before {
            background: #ffffff;
        }

        #progreso .section-toggle-icon {
            background: #ffffff;
            color: var(--ute-orange);
        }

        .tracking-hero {
            width: 100%;
            border: 0;
            border-radius: 8px;
            background: var(--ute-orange);
            color: #ffffff;
            padding: 28px;
            text-align: left;
            box-shadow: 0 22px 52px rgba(255, 131, 0, .22);
        }

        .tracking-hero-title {
            color: #ffffff;
            font-size: clamp(2.35rem, 5vw, 4.9rem);
            font-weight: 900;
            line-height: .92;
            text-transform: uppercase;
        }

        .tracking-hero-copy {
            color: rgba(255, 255, 255, .88);
            font-size: 1.08rem;
            max-width: 620px;
        }

        .tracking-hero-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .tracking-hero .btn {
            background: #ffffff;
            border-color: #ffffff;
            color: var(--ute-orange);
            font-weight: 900;
        }

        .tracking-hero .btn:hover,
        .tracking-hero .btn:focus {
            background: #111111;
            border-color: #111111;
            color: #ffffff;
        }

        .tracking-hero-toggle {
            width: 46px;
            height: 46px;
            border: 2px solid rgba(255, 255, 255, .85);
            border-radius: 6px;
            background: transparent;
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform .2s ease, background .2s ease;
        }

        .tracking-hero-toggle[aria-expanded="true"] {
            transform: rotate(180deg);
        }

        .tracking-stats {
            display: grid;
            /* MODIFICADO: ahora 4 columnas */
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
            margin-top: 22px;
        }

        .tracking-stat {
            border: 1px solid rgba(255, 255, 255, .36);
            border-radius: 8px;
            background: rgba(255, 255, 255, .14);
            padding: 13px 14px;
        }

        .tracking-stat span {
            display: block;
            color: rgba(255, 255, 255, .82);
            font-size: .78rem;
            font-weight: 900;
            text-transform: uppercase;
        }

        .tracking-stat strong {
            display: block;
            color: #ffffff;
            font-size: 1.8rem;
            font-weight: 900;
            line-height: 1;
            margin-top: 6px;
        }

        .tracking-overview {
            border-radius: 8px;
            background: #ffffff;
            color: #111111;
            padding: 16px;
            min-width: min(100%, 330px);
        }

        .tracking-overview .progress {
            background: var(--ute-turquoise-soft);
        }

        .section-toggle:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 131, 0, .35);
            box-shadow: 0 20px 50px rgba(17, 17, 17, .14);
        }

        .section-toggle .section-title {
            margin: 0;
        }

        .section-toggle-icon {
            width: 48px;
            height: 48px;
            border-radius: 6px;
            background: #fff3e8;
            color: var(--ute-orange);
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            transition: transform .2s ease;
        }

        .section-toggle[aria-expanded="true"] .section-toggle-icon {
            transform: rotate(180deg);
        }

        .category-screen .section-toggle {
            box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
        }

        .category-screen {
            background: var(--ute-orange);
            color: #ffffff;
        }

        .category-card {
            min-height: 104px;
            background: #ffffff;
            color: var(--ute-ink);
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            box-shadow: 0 18px 34px rgba(0, 0, 0, .14);
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .category-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, .70);
            box-shadow: 0 24px 48px rgba(0, 0, 0, .20);
        }

        .category-card.is-active {
            background: #111111;
            color: #ffffff;
            border-color: rgba(255, 255, 255, .45);
            box-shadow: 0 24px 48px rgba(0, 0, 0, .22);
        }

        .category-card.is-active .muted {
            color: rgba(255, 255, 255, .76);
        }

        .category-card.is-active .icon-box {
            background: var(--ute-orange);
        }

        .category-card h3 {
            font-size: clamp(1.15rem, 3vw, 2.1rem);
            text-transform: uppercase;
        }

        .icon-box {
            width: 48px;
            height: 48px;
            border-radius: 6px;
            background: #fff3e8;
            color: var(--ute-orange);
            display: grid;
            place-items: center;
            font-size: 1.35rem;
            flex: 0 0 auto;
        }

        .btn-ute {
            background: var(--ute-orange);
            border: 2px solid var(--ute-orange);
            color: #ffffff;
            border-radius: 6px;
            font-weight: 900;
            text-transform: uppercase;
            box-shadow: none;
        }

        .btn-ute:hover,
        .btn-ute:focus {
            background: #111111;
            border-color: #111111;
            color: #ffffff;
        }

        .btn-outline-secondary {
            border-radius: 6px;
        }

        .muted {
            color: var(--ute-muted);
        }

        .panel-card,
        .stat-card {
            background: var(--ute-paper);
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            box-shadow: 0 18px 44px rgba(17, 17, 17, .10);
        }

        .report-form-card {
            max-width: 1120px;
            margin: 0 auto;
        }

        .form-heading {
            font-size: clamp(1.7rem, 3vw, 2.7rem);
            font-weight: 900;
            line-height: 1.04;
            text-transform: uppercase;
            overflow-wrap: anywhere;
            margin-bottom: 1rem;
        }

        .form-intro {
            max-width: 320px;
            font-size: .98rem;
        }

        .form-panel {
            border-left: 2px solid var(--ute-line);
            padding-left: 28px;
        }

        .form-label {
            margin-bottom: .35rem;
            font-size: .92rem;
        }

        .metric-grid {
            display: grid;
            grid-template-columns: minmax(105px, .55fr) minmax(220px, 1.1fr) minmax(380px, 1.85fr);
            column-gap: 22px;
            row-gap: 0;
            border: 0;
            border-radius: 0;
            overflow: visible;
            background: transparent;
            box-shadow: none;
        }

        .metric-head,
        .metric-cell {
            padding: 18px;
            border-bottom: 1px solid var(--ute-line);
        }

        .metric-head {
            background: var(--ute-orange);
            color: #ffffff;
            font-weight: 900;
            text-transform: uppercase;
            font-size: 1.18rem;
            letter-spacing: .02em;
            border: 0;
            border-radius: 7px;
            text-align: center;
            margin-bottom: 14px;
        }

        .metric-cell {
            display: flex;
            align-items: center;
            min-height: 118px;
            font-weight: 800;
            background: #ffffff;
            font-size: 1.12rem;
        }

        .metric-cell[data-label="Avance"] {
            padding-left: 26px;
            padding-right: 26px;
        }

        .metric-cell[data-label="Avance"] > .w-100 {
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
        }

        .metric-cell[data-label="Avance"] .muted {
            flex: 0 0 auto;
            font-size: 1rem;
            font-weight: 800;
            white-space: nowrap;
        }

        .metric-cell[data-label="Avance"] .progress {
            flex: 1 1 auto;
            height: 44px;
            background: var(--ute-turquoise-soft);
            border-radius: 6px;
            overflow: hidden;
        }

        .metric-cell[data-label="Avance"] .progress-bar {
            min-width: 56px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1.28rem;
            font-weight: 900;
            line-height: 1;
        }

        .metric-click {
            cursor: pointer;
            transition: background .2s ease;
        }

        .metric-click:hover {
            background: #fff6ec;
        }

        .metric-click.is-active {
            background: #fff1e2;
        }

        .metric-click[data-metric-category] span:not(.metric-number)::after {
            content: "Ver detalle";
            display: block;
            width: fit-content;
            margin-top: 8px;
            padding: .25rem .55rem;
            border: 1px solid rgba(255, 131, 0, .45);
            border-radius: 999px;
            color: var(--ute-orange);
            font-size: .82rem;
            font-weight: 900;
            text-transform: uppercase;
        }

        .metric-detail {
            grid-column: 1 / -1;
            padding: 20px;
            background: #ffffff;
            border-bottom: 1px solid var(--ute-line);
            box-shadow: 0 18px 42px rgba(17, 17, 17, .08);
        }

        .metric-inner-table {
            border: 1px solid rgba(17, 17, 17, .08);
            border-radius: 8px;
            overflow: hidden;
        }

        .metric-inner-table thead th {
            background: var(--ute-orange);
            color: #ffffff;
            border-color: var(--ute-orange);
            font-size: .76rem;
            text-transform: none;
        }

        .metric-inner-table tbody td {
            background: #ffffff;
        }

        .folio-confirm-modal {
            border: 0;
            border-radius: 8px;
            box-shadow: 0 24px 70px rgba(17, 17, 17, .22);
            overflow: hidden;
        }

        .folio-confirm-modal .modal-header {
            background: var(--ute-orange);
            color: #ffffff;
        }

        .folio-confirm-modal .modal-title {
            font-weight: 900;
        }

        .folio-confirm-modal .modal-body {
            align-items: center;
            display: flex;
            gap: 14px;
            padding: 22px;
        }

        .folio-confirm-icon {
            align-items: center;
            background: #fff4e8;
            border-radius: 999px;
            color: var(--ute-orange);
            display: inline-flex;
            flex: 0 0 52px;
            font-size: 1.45rem;
            height: 52px;
            justify-content: center;
            width: 52px;
        }

        .folio-confirm-modal .modal-body p {
            color: var(--ute-ink);
            font-weight: 800;
            line-height: 1.45;
        }

        .area-info-table {
            table-layout: fixed;
            width: 100%;
        }

        .area-info-table th,
        .area-info-table td {
            padding: .86rem .75rem;
            font-size: 1rem;
        }

        .area-info-table .number-cell {
            text-align: center;
            white-space: nowrap;
            font-size: 1.12rem;
            font-weight: 800;
        }

        .area-progress-wrap {
            display: grid;
            grid-template-columns: minmax(190px, 1fr) auto;
            align-items: center;
            gap: 10px;
            width: 100%;
        }

        .area-progress-cell .progress {
            width: 100%;
            height: 28px;
            background: var(--ute-turquoise-soft);
            border-radius: 6px;
            overflow: hidden;
        }

        .area-progress-cell .progress-bar {
            min-width: 52px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1rem;
            font-weight: 900;
            line-height: 1;
        }

        .area-progress-count {
            color: var(--ute-muted);
            font-size: .82rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .area-observation {
            color: var(--ute-muted);
            display: block;
            font-size: .82rem;
            font-weight: 600;
            line-height: 1.25;
            margin-top: .2rem;
            max-width: 28rem;
        }

        .area-concept-row {
            cursor: pointer;
            position: relative;
        }

        .area-concept-row:hover td {
            background: #fff4e8;
        }

        .area-concept-row td:first-child {
            padding-left: 18px;
        }

        .area-concept-row td:first-child::after {
            color: var(--ute-orange);
            content: "\F285";
            font-family: "bootstrap-icons";
            font-size: .8rem;
            margin-left: 10px;
            transition: transform .2s ease;
        }

        .area-concept-row.is-open td:first-child::after {
            display: inline-block;
            transform: rotate(90deg);
        }

        .concept-link {
            border: 0;
            background: transparent;
            color: var(--ute-ink);
            font: inherit;
            font-weight: 900;
            padding: 0;
            text-align: left;
        }

        .concept-link span {
            display: block;
            width: fit-content;
            margin-top: 6px;
            border: 1px solid var(--ute-orange);
            border-radius: 999px;
            color: var(--ute-orange);
            padding: .24rem .62rem;
            font-size: .74rem;
            font-weight: 900;
            text-transform: uppercase;
        }

        .concept-report-detail td {
            background: #fffaf4 !important;
            padding: 0;
        }

        .concept-report-box {
            border-top: 1px solid rgba(255, 131, 0, .28);
            padding: 18px 20px 20px;
        }

        .concept-report-title {
            color: var(--ute-orange);
            font-size: 1rem;
            font-weight: 900;
            margin-bottom: 12px;
            text-transform: uppercase;
        }

        .concept-report-table {
            border: 1px solid rgba(17, 17, 17, .08);
            border-radius: 8px;
            overflow: hidden;
        }

        .concept-report-table thead th {
            background: var(--ute-orange);
            color: #ffffff;
            border-color: var(--ute-orange);
            font-size: .74rem;
            text-transform: uppercase;
        }

        .concept-report-table th:first-child,
        .concept-report-table td:first-child {
            width: 160px;
        }

        .concept-report-table tbody td {
            padding: 16px 18px;
        }

        .concept-report-table th:nth-child(2),
        .concept-report-table td:nth-child(2),
        .metric-inner-table .report-row-public td:nth-child(2) {
            padding-left: 72px;
            padding-right: 24px;
        }

        .report-row-public td {
            background: #ffffff !important;
            vertical-align: middle;
        }

        .report-folio-chip {
            align-items: center;
            background: var(--ute-orange);
            border-radius: 999px;
            color: #ffffff;
            display: inline-flex;
            font-size: .95rem;
            font-weight: 900;
            justify-content: center;
            min-width: 64px;
            padding: .46rem .8rem;
        }

        .concept-report-table .report-folio-chip,
        .metric-inner-table .report-row-public .report-folio-chip {
            background: var(--ute-orange) !important;
        }

        .report-progress-card {
            display: grid;
            gap: 8px;
            margin-left: auto;
            max-width: 760px;
            padding: 0;
            width: min(760px, 100%);
        }

        .report-progress-card .progress {
            height: 32px;
            background: var(--ute-turquoise-soft);
            border-radius: 999px;
            overflow: hidden;
        }

        .report-progress-card .progress-bar {
            align-items: center;
            color: #ffffff;
            display: flex;
            font-weight: 900;
            justify-content: center;
            min-width: 0;
            border-radius: inherit;
            text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
        }

        .report-progress-card .progress-bar[style*="width: 0%"] {
            background: var(--ute-turquoise);
            min-width: 58px;
        }

        .report-progress-card .area-progress-count {
            color: var(--ute-orange);
            font-weight: 900;
        }

        .metric-subsection {
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
        }

        .metric-subsection-toggle {
            width: 100%;
            border: 0;
            background: var(--ute-orange);
            color: #ffffff;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-weight: 900;
            text-transform: uppercase;
        }

        .metric-subsection-toggle i {
            color: #ffffff;
            transition: transform .2s ease;
        }

        .metric-subsection-toggle:not(.collapsed) i {
            transform: rotate(180deg);
        }

        .metric-mini {
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            background: #ffffff;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .metric-mini span {
            color: var(--ute-muted);
            font-weight: 800;
        }

        .metric-mini strong {
            color: var(--ute-orange);
            font-size: 1.4rem;
            font-weight: 900;
        }

        .metric-report {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 0;
            border-top: 1px solid var(--ute-line);
        }

        .metric-report span:not(.status-pill) {
            display: block;
            color: var(--ute-muted);
            font-weight: 500;
        }

        .metric-cell .progress + *,
        .metric-cell strong {
            font-size: 1.12rem;
        }

        .metric-number {
            font-size: clamp(3rem, 5.6vw, 4.9rem);
            font-weight: 900;
            color: var(--ute-orange);
            line-height: .9;
            white-space: nowrap;
        }

        .metric-number.metric-digits-3 {
            font-size: clamp(2.7rem, 5vw, 4.35rem);
        }

        .metric-number.metric-digits-long {
            font-size: clamp(2.25rem, 4.3vw, 3.7rem);
        }

        .progress {
            height: 14px;
            background: var(--ute-turquoise-soft);
            border-radius: 999px;
        }

        .progress-bar {
            background: var(--ute-turquoise);
        }

        .status-pill {
            border: 2px solid transparent;
            border-radius: 999px;
            padding: .34rem .7rem;
            font-weight: 900;
            font-size: .78rem;
            white-space: nowrap;
        }

        .status-pendiente {
            background: #e53935;
            border-color: #e53935;
            color: #ffffff;
        }

        .status-en-revision {
            background: #0ea5e9;
            border-color: #0ea5e9;
            color: #ffffff;
        }

        .status-en-proceso {
            background: var(--ute-turquoise);
            border-color: var(--ute-turquoise);
            color: #ffffff;
        }

        .status-resuelto {
            background: var(--ute-orange);
            border-color: var(--ute-orange);
            color: #ffffff;
        }

        .table {
            vertical-align: middle;
        }

        .table thead th {
            background: var(--ute-orange);
            color: #ffffff;
            text-transform: uppercase;
            font-size: .8rem;
            border-color: var(--ute-orange);
        }

        .evidence-thumb {
            width: 74px;
            height: 54px;
            object-fit: cover;
            border-radius: 6px;
            border: 2px solid #111111;
        }

        .form-control,
        .form-select {
            border-radius: 6px;
            border: 2px solid #d3d3d3;
            padding: .74rem .9rem;
            min-height: 48px;
        }

        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--ute-orange);
            box-shadow: 0 0 0 .2rem rgba(255, 131, 0, .18);
        }

        .accordion {
            --bs-accordion-border-color: #111111;
            --bs-accordion-border-width: 2px;
            --bs-accordion-border-radius: 6px;
            --bs-accordion-inner-border-radius: 4px;
            --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(255, 131, 0, .18);
            --bs-accordion-active-bg: #fff4ea;
            --bs-accordion-active-color: #111111;
        }

        .accordion-button {
            font-size: .95rem;
            letter-spacing: 0;
        }

        .footer {
            border-top: 1px solid var(--ute-line);
            background: #111111;
            color: #ffffff;
        }

        .form-section.is-hidden,
        .admin-section {
            display: none;
        }

        .topbar {
            box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
        }

        .hero {
            min-height: calc(78vh - 84px);
            background: #ffffff;
            overflow: hidden;
        }

        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            margin-bottom: 18px;
            padding: .42rem .72rem;
            border: 2px solid #111111;
            border-radius: 999px;
            background: #ffffff;
            color: var(--ute-orange);
            font-size: .82rem;
            font-weight: 900;
            text-transform: uppercase;
        }

        .hero-copy {
            display: block;
            max-width: 520px;
            margin: 22px 0 0;
            color: #3f3f3f;
            font-size: .98rem;
            line-height: 1.55;
        }

        .hero-main-logo {
            filter: none;
        }

        .section-toggle {
            position: relative;
            overflow: hidden;
        }

        .section-toggle::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 10px;
            background: var(--ute-orange);
        }

        .category-screen {
            padding-top: 72px;
            padding-bottom: 72px;
        }

        .category-card {
            position: relative;
            height: 100%;
            min-height: 138px;
            padding: 28px !important;
        }

        .category-card::after {
            content: "Seleccionar";
            position: absolute;
            right: 22px;
            bottom: 18px;
            color: var(--ute-orange);
            font-size: .78rem;
            font-weight: 900;
            text-transform: uppercase;
            opacity: 0;
            transform: translateY(6px);
            transition: opacity .2s ease, transform .2s ease;
        }

        .category-card:hover::after,
        .category-card.is-active::after {
            opacity: 1;
            transform: translateY(0);
        }

        .icon-box {
            width: 56px;
            height: 56px;
            font-size: 1.55rem;
        }

        .report-form-card {
            background:
                linear-gradient(90deg, #ffffff 0%, #ffffff 35%, #fbfbfb 35%, #fbfbfb 100%);
        }

        .form-heading {
            font-size: clamp(2rem, 4vw, 3.4rem);
        }

        .badge {
            border: 2px solid #111111 !important;
            font-weight: 900;
        }

        .metric-grid,
        .panel-card {
            box-shadow: 0 18px 44px rgba(17, 17, 17, .10);
        }

        .metric-grid {
            box-shadow: none;
        }

        .metric-cell {
            min-height: 132px;
            font-size: 1.28rem;
        }

        .metric-cell span:not(.metric-number),
        .metric-cell strong {
            font-size: 1.28rem;
        }

        .table tbody tr:hover {
            background: #fff7f0;
        }

        .seguimiento-filter {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }

        .filter-btn {
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            background: #ffffff;
            color: #111111;
            padding: 16px;
            text-align: left;
            box-shadow: 0 12px 28px rgba(17, 17, 17, .08);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .filter-btn:hover,
        .filter-btn.is-active {
            transform: translateY(-3px);
            border-color: rgba(255, 131, 0, .55);
            box-shadow: 0 18px 38px rgba(17, 17, 17, .13);
        }

        .filter-btn.is-active {
            background: #111111;
            color: #ffffff;
        }

        .filter-btn small {
            display: block;
            color: var(--ute-muted);
            font-weight: 700;
        }

        .filter-btn.is-active small {
            color: rgba(255, 255, 255, .75);
        }

        @media (max-width: 767px) {
            body {
                overflow-x: hidden;
            }

            .topbar {
                position: sticky;
            }

            .topbar .container {
                padding-top: .72rem !important;
                padding-bottom: .72rem !important;
            }

            .topbar strong {
                font-size: .98rem;
                line-height: 1.15;
            }

            .topbar .small {
                font-size: .78rem;
            }

            .hero {
                min-height: auto;
                padding: 32px 0 38px;
                background: #ffffff;
            }

            .hero-layout {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .hero-content {
                text-align: center;
            }

            .hero-kicker {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-title {
                font-size: clamp(2.75rem, 15vw, 4.65rem);
                margin: 0 auto;
                line-height: .9;
            }

            .hero-copy {
                margin-left: auto;
                margin-right: auto;
                max-width: 340px;
                font-size: 1rem;
                line-height: 1.48;
            }

            .brand-logo {
                width: 48px;
                height: 48px;
                box-shadow: none;
            }

            .brand-logo.hero-logo {
                width: 150px;
                height: 150px;
                box-shadow: none;
            }

            .hero-main-logo {
                width: min(360px, 86vw);
                max-height: 44vh;
                margin: 0 auto;
                transform: none;
            }

            .section-pad {
                padding: 34px 0;
            }

            .form-section {
                padding-top: 28px !important;
            }

            .report-form-card {
                padding: 22px !important;
            }

            .form-heading {
                font-size: clamp(2rem, 11vw, 3rem);
            }

            .accordion-button {
                padding: 1rem;
                font-size: .92rem;
            }

            .accordion-body {
                padding: 1rem;
            }

            .form-control,
            .form-select {
                min-height: 46px;
                font-size: 1rem;
            }

            .btn-ute,
            .btn-outline-secondary {
                min-height: 48px;
            }

            .metric-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .tracking-hero {
                padding: 20px;
            }

            .tracking-hero-title {
                font-size: clamp(2.15rem, 12vw, 3.45rem);
                line-height: .92;
                overflow-wrap: anywhere;
            }

            .tracking-stats {
                grid-template-columns: 1fr;
            }

            .tracking-hero-actions {
                width: 100%;
                align-items: stretch;
                display: grid;
                grid-template-columns: 1fr 48px;
            }

            .tracking-hero-actions .btn {
                justify-content: center;
                min-height: 48px;
                padding-left: .9rem !important;
                padding-right: .9rem !important;
            }

            .tracking-overview {
                width: 100%;
            }

            .metric-head {
                display: none;
            }

            .metric-cell {
                display: grid;
                grid-template-columns: minmax(74px, .38fr) minmax(0, 1fr);
                gap: 12px;
                min-height: auto;
                padding: 16px;
                border: 1px solid rgba(17, 17, 17, .08);
                border-radius: 8px;
                font-size: 1.08rem;
            }

            .metric-cell::before {
                content: attr(data-label);
                color: #6a6a6a;
                font-size: .74rem;
                font-weight: 900;
                text-transform: uppercase;
            }

            .metric-cell[data-label="Total"] {
                background: #fff5ea;
                margin-top: 4px;
            }

            .metric-number {
                font-size: clamp(2.7rem, 14vw, 4.2rem);
                line-height: .9;
            }

            .metric-number.metric-digits-3 {
                font-size: clamp(2.35rem, 12vw, 3.7rem);
            }

            .metric-number.metric-digits-long {
                font-size: clamp(2rem, 10vw, 3.15rem);
            }

            .metric-cell span:not(.metric-number),
            .metric-cell strong {
                font-size: 1.15rem;
            }

            .metric-cell[data-label="Avance"] > .w-100 {
                flex-wrap: wrap;
            }

            .metric-cell[data-label="Avance"] .progress {
                min-width: 180px;
            }

            .metric-click[data-metric-category] span:not(.metric-number)::after {
                font-size: .9rem;
                padding: .38rem .75rem;
            }

            .metric-detail {
                padding: 14px;
                margin-bottom: 16px;
                border-radius: 8px;
                overflow-x: auto;
            }

            .metric-mini {
                min-height: auto;
            }

            .area-info-table,
            .metric-inner-table {
                min-width: 860px;
            }

            .report-progress-card {
                margin-left: 0;
            }

            .category-card {
                min-height: auto;
                box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
            }

            .table-responsive {
                border-radius: 6px;
            }

            .form-panel {
                border-left: 0;
                border-top: 2px solid var(--ute-line);
                padding-left: 0;
                padding-top: 20px;
            }

            .report-form-card {
                background: #ffffff;
            }

            .form-intro {
                max-width: none;
            }

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

        }

        /* Prototipo: estados en categorías y búsqueda en apartados */
        .metric-cell[data-label="Estado"] {
            padding-left: 22px;
            padding-right: 22px;
        }

        .status-summary-pair {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            width: 100%;
        }

        .status-summary {
            border: 1px solid rgba(17, 17, 17, .10);
            border-radius: 8px;
            display: grid;
            gap: 6px;
            min-height: 68px;
            padding: 11px 13px;
        }

        .status-summary span {
            color: var(--ute-muted);
            font-size: .78rem;
            font-weight: 900;
            text-transform: uppercase;
        }

        .status-summary strong {
            font-size: 1.55rem;
            font-weight: 900;
            line-height: 1;
        }

        .status-summary-pending {
            background: #fff6ec;
        }

        .status-summary-pending strong,
        .metric-mini-pending strong {
            color: var(--ute-orange);
        }

        .status-summary-resolved {
            background: var(--ute-turquoise-soft);
        }

        .status-summary-resolved strong,
        .metric-mini-resolved strong {
            color: var(--ute-turquoise-dark);
        }

        .folio-inline-search {
            margin-left: auto;
            width: min(340px, 100%);
        }

        .folio-inline-search .input-group-text {
            background: var(--ute-orange);
            border-color: var(--ute-orange);
            color: #fff;
            font-weight: 900;
        }

        .folio-inline-search .form-control {
            border-color: rgba(17, 17, 17, .16);
            font-weight: 800;
            min-height: 38px;
        }

        .folio-inline-search .form-control:focus {
            border-color: var(--ute-orange);
            box-shadow: 0 0 0 .18rem rgba(229, 116, 0, .14);
        }

        @media (max-width: 767px) {
            .status-summary-pair {
                grid-template-columns: 1fr;
            }

            .folio-inline-search {
                margin-left: 0;
                width: 100%;
            }
        }
        /* Ajuste visual: sin etiquetas "Ver detalle" en las celdas */
        .metric-click[data-metric-category] span:not(.metric-number)::after {
            content: none !important;
            display: none !important;
        }

        .metric-cell[data-label="Estado"] {
            padding: 20px 24px;
        }

        .metric-cell[data-label="Estado"] .status-summary-pair {
            align-items: stretch;
            display: grid;
            grid-template-columns: repeat(2, minmax(150px, 1fr));
            gap: 14px;
            width: 100%;
        }

        .metric-cell[data-label="Estado"] .status-summary {
            border-radius: 8px;
            min-height: 112px;
            padding: 18px 18px 16px;
        }

        .metric-cell[data-label="Estado"] .status-summary span {
            color: #6f7378;
            font-size: .98rem;
            font-weight: 900;
            line-height: 1;
        }

        .metric-cell[data-label="Estado"] .status-summary strong {
            font-size: 1.8rem;
            margin-top: 14px;
        }

        .status-summary-pending {
            background: #fff7ef;
            border-color: rgba(229, 116, 0, .20);
        }

        .status-summary-resolved {
            background: #c9f3ec;
            border-color: rgba(0, 170, 150, .22);
        }

        .metric-cell[data-label="Apartado"] > span {
            color: #050505;
            font-size: 1.28rem;
            font-weight: 900;
        }

        @media (max-width: 767px) {
            .metric-cell[data-label="Estado"] .status-summary-pair {
                grid-template-columns: 1fr;
            }
        }
/* Prototipo: mejor vista para apartados con buscador de folio */
.metric-subsection {
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    overflow: hidden;
    background: #fffaf4;
}

.metric-subsection-toggle {
    padding: 18px 22px;
    letter-spacing: .02em;
}

.metric-subsection .table-responsive {
    background: #fff7ef;
    padding: 12px 14px 18px;
}

.area-info-table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: auto;
}

.area-info-table thead th {
    border: 0;
    padding: 12px 18px;
    font-size: .78rem;
}

.area-info-table thead th:first-child {
    border-radius: 8px 0 0 8px;
}

.area-info-table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.area-info-table tbody td {
    background: #ffffff !important;
    border-top: 1px solid rgba(17, 17, 17, .08);
    border-bottom: 1px solid rgba(17, 17, 17, .08);
    padding: 15px 20px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, .05);
}

.area-info-table tbody tr.area-concept-row td:first-child {
    border-left: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px 0 0 8px;
    color: #101010;
    font-size: .98rem;
}

.area-info-table tbody tr.area-concept-row td:first-child::before {
    content: "#";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    border-radius: 8px;
    background: #fff0df;
    color: var(--ute-orange);
    font-weight: 900;
}

.area-info-table tbody tr.area-concept-row td:last-child {
    border-right: 1px solid rgba(17, 17, 17, .08);
    border-radius: 0 8px 8px 0;
}

.area-info-table tbody tr.area-concept-row:hover td {
    background: #fffaf5 !important;
    border-color: rgba(229, 116, 0, .28);
}

.area-info-table tbody tr.area-concept-row.is-open td {
    background: #fff4e8 !important;
    border-color: rgba(229, 116, 0, .36);
}

.area-info-table .area-observation {
    display: block;
    margin-top: 4px;
    color: #6f7378;
    font-size: .82rem;
    font-weight: 700;
}

.folio-inline-search {
    width: min(420px, 100%);
}

.folio-inline-search .input-group {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(17, 17, 17, .06);
}

.folio-inline-search .input-group-text {
    width: 48px;
    justify-content: center;
    border-radius: 8px 0 0 8px;
}

.folio-inline-search .form-control {
    min-height: 46px;
    border-radius: 0 8px 8px 0;
    font-size: 1rem;
}

.concept-report-detail td {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 10px 12px !important;
}

.concept-report-box {
    border: 1px solid rgba(229, 116, 0, .18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .08);
}

@media (max-width: 767px) {
    .metric-subsection .table-responsive {
        padding: 10px;
    }

    .area-info-table {
        min-width: 0 !important;
    }

    .area-info-table thead {
        display: none;
    }

    .area-info-table tbody,
    .area-info-table tbody tr,
    .area-info-table tbody td {
        display: block;
        width: 100%;
    }

    .area-info-table tbody tr.area-concept-row {
        margin-bottom: 12px;
    }

    .area-info-table tbody tr.area-concept-row td:first-child,
    .area-info-table tbody tr.area-concept-row td:last-child {
        border-radius: 8px;
        border: 1px solid rgba(17, 17, 17, .08);
    }

    .area-info-table tbody tr.area-concept-row td:last-child {
        border-top: 0;
        border-radius: 0 0 8px 8px;
    }
}
/* Prototipo final: buscador general y tabla de avance por apartado */
.tracking-folio-search {
    width: min(430px, 76vw);
}

.tracking-folio-search .input-group {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .16);
    overflow: hidden;
}

.tracking-folio-search .input-group-text {
    background: #ffffff;
    border: 0;
    color: var(--ute-orange);
    padding-left: 18px;
    padding-right: 10px;
}

.tracking-folio-search .form-control {
    border: 0;
    box-shadow: none;
    font-weight: 900;
    min-height: 54px;
}

.tracking-folio-search .btn {
    background: #ffffff;
    border: 0;
    color: var(--ute-orange);
    font-weight: 900;
    padding-left: 18px;
    padding-right: 22px;
}

.tracking-folio-search .form-control:focus {
    box-shadow: none;
}

.metric-subsection .table-responsive {
    background: #ffffff;
    padding: 0;
}

.area-info-table {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.area-info-table thead th {
    border-radius: 0 !important;
    padding: 16px 18px;
}

.area-info-table th:first-child,
.area-info-table td:first-child {
    width: 48%;
}

.area-info-table tbody td {
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(17, 17, 17, .09) !important;
    box-shadow: none !important;
    padding: 18px 20px;
}

.area-info-table tbody tr.area-concept-row td:first-child,
.area-info-table tbody tr.area-concept-row td:last-child {
    border-radius: 0;
}

.area-info-table tbody tr.area-concept-row td:first-child::before {
    content: none;
}

.area-info-table tbody tr.area-concept-row:hover td,
.area-info-table tbody tr.area-concept-row.is-open td {
    background: #fff8ef !important;
}

.area-progress-wrap {
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
}

.area-progress-cell .progress {
    height: 32px;
    border-radius: 8px;
}

.area-progress-cell .progress-bar {
    background: var(--ute-turquoise);
    border-radius: 8px;
}

.report-row-highlight td {
    background: #fff1df !important;
    box-shadow: inset 4px 0 0 var(--ute-orange) !important;
}

@media (max-width: 767px) {
    .tracking-folio-search {
        width: 100%;
    }

    .area-info-table tbody tr.area-concept-row td:first-child,
    .area-info-table tbody tr.area-concept-row td:last-child {
        border-radius: 0;
    }
}
/* Botón Buscar folio en el hero */
.tracking-folio-control {
    position: relative;
    display: inline-flex;
}

.tracking-folio-trigger {
    min-width: 156px;
    justify-content: center;
    color: var(--ute-orange) !important;
    font-size: .98rem;
    font-weight: 900;
}

.tracking-folio-search {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(430px, 86vw);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease;
    z-index: 20;
}

.tracking-folio-control.is-open .tracking-folio-search {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tracking-folio-control.is-open .tracking-folio-trigger {
    box-shadow: 0 0 0 .22rem rgba(255,255,255,.24);
}
.tracking-folio-trigger { padding-left: 1.35rem !important; padding-right: 1.35rem !important; }

/* Buscador de folio visible en el hero */
.tracking-folio-search {
    position: static !important;
    width: min(430px, 76vw) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: auto !important;
}
/* Solo la flecha abre/cierra Seguimiento general */
.tracking-hero {
    cursor: default;
}

.tracking-hero-toggle {
    cursor: pointer;
    flex: 0 0 auto;
}
/* Ajuste: buscador de folio más corto */
.tracking-folio-search {
    width: min(300px, 58vw) !important;
}

.tracking-folio-search .form-control {
    min-width: 0;
    min-height: 50px;
}

.tracking-folio-search .input-group-text {
    padding-left: 16px;
    padding-right: 8px;
}

.tracking-folio-search .btn {
    padding-left: 14px;
    padding-right: 18px;
}