/**
 * Portal de transparencia (web pública) — layout tipo referencia institucional.
 */
.pagina-transparencia .web-main-inner {
    max-width: 1200px;
}

/* Misma jerarquía que web/seccion: título + subtítulo (lead) */
.transparencia-page .titulo-pagina {
    margin-bottom: 0.25rem;
}
.transparencia-page > .lead {
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.trp-ley-wrap {
    margin-bottom: 1.25rem;
}

.trp-inst-wrap {
    margin-bottom: 1.35rem;
}

/* Ley + panel institucional solo en Datos generales (dentro de .trp-body) */
.trp-body > .trp-inst-wrap {
    margin-bottom: 1.5rem;
}

.trp-ley-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #1e293b;
    text-align: justify;
    hyphens: auto;
}

.trp-wrap {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
    padding: 0.15rem 0 2rem;
}

@media (max-width: 900px) {
    .trp-wrap {
        grid-template-columns: 1fr;
    }
}

.trp-aside {
    position: sticky;
    top: 0.75rem;
}

.trp-aside-title {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin: 0 0 0.65rem 0.15rem;
}

.trp-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.trp-nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #334155;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.25;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.trp-nav a i {
    color: #64748b;
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
}

.trp-nav a:hover {
    background: #e8f0fe;
    border-color: #cbd5e1;
    color: #0f172a;
}

.trp-nav a.is-active {
    background: #e2e8f0;
    border-color: #94a3b8;
    border-left: 4px solid #475569;
    padding-left: calc(0.75rem - 3px);
    font-weight: 600;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.trp-nav a.is-active i {
    color: #1e40af;
}

.trp-main {
    min-width: 0;
}

.trp-article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: clamp(1.1rem, 2.5vw, 1.85rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.trp-body {
    font-size: 1rem;
    line-height: 1.65;
    color: #1e293b;
}

.trp-panel--muted {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
}

.trp-inst {
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
}

.trp-inst + .trp-resp-line {
    margin-top: 0.65rem;
}

.trp-resp-line {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1e293b;
}

.trp-resp-line.trp-empty {
    color: #94a3b8;
}

.trp-doc {
    margin-top: 0.25rem;
}

.trp-doc-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b91c1c;
    margin: 0 0 1rem;
    padding-bottom: 0.55rem;
    text-align: center;
    border-bottom: 2px dashed #dc2626;
}

.trp-desc .trp-sublist {
    margin: 0.4rem 0 0;
    padding-left: 1.35rem;
    list-style: disc;
    color: #1e293b;
    font-weight: 400;
    text-transform: none;
}

.trp-desc .trp-sublist li {
    margin-bottom: 0.3rem;
}

.trp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trp-list > li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 1rem;
}

.trp-list > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.45rem;
    height: 0.45rem;
    background: #dc2626;
    border-radius: 50%;
}

.trp-term {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: #b91c1c;
    margin-bottom: 0.25rem;
}

.trp-desc {
    display: block;
    padding-left: 0.05rem;
}

.trp-note {
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
}

.trp-pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1rem 1.15rem;
}

.trp-cta {
    margin-top: 1.25rem;
}

.trp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    background: #1e40af;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 6px;
    transition: background 0.15s ease, transform 0.12s ease;
}

.trp-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.trp-btn i {
    opacity: 0.95;
}

.trp-top {
    position: fixed;
    z-index: 50;
    right: 1rem;
    bottom: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #e2e8f0;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: background 0.15s ease, color 0.15s ease;
}

.trp-top:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.trp-top:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Tabla de tasas educativas (Derechos y Tasas Educativas) */
.trp-tasas-doc {
    margin-top: 1.75rem;
}

.trp-tasas-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.85rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #e2e8f0;
}

.trp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
}

.trp-table-tasas {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.trp-table-tasas thead {
    background: #f1f5f9;
}

.trp-table-tasas th,
.trp-table-tasas td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.trp-table-tasas th {
    font-weight: 700;
    color: #334155;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.trp-table-tasas tbody tr:last-child td {
    border-bottom: none;
}

.trp-table-tasas tbody tr:hover {
    background: #f8fafc;
}

.trp-tasas-num {
    width: 3.5rem;
    white-space: nowrap;
    font-weight: 600;
    color: #475569;
}

/* Monto: la regla general td { text-align: left } ganaba por especificidad; forzar derecha en celda y cabecera */
.trp-table-tasas th:last-child,
.trp-table-tasas td.trp-tasas-monto {
    text-align: right;
}

.trp-table-tasas td.trp-tasas-monto {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #0f172a;
}

@media (max-width: 560px) {
    .trp-table-tasas {
        font-size: 0.88rem;
    }
    .trp-table-tasas th,
    .trp-table-tasas td {
        padding: 0.5rem 0.55rem;
    }
}

/* T.U.P.A. — tabla ancha con desplazamiento horizontal */
.trp-tupa-doc {
    margin-top: 1.75rem;
}

.trp-tupa-intro {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.trp-tupa-intro p {
    margin: 0;
    text-align: justify;
    hyphens: auto;
}

.trp-tupa-title--block {
    margin: 0 0 0.65rem 0;
}

.trp-tupa-title {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.trp-tupa-search-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 1.15rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.trp-tupa-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 320px;
    min-width: min(100%, 220px);
}

.trp-tupa-search-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
}

.trp-tupa-search {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trp-tupa-search::placeholder {
    color: #94a3b8;
}

.trp-tupa-search:hover {
    border-color: #94a3b8;
}

.trp-tupa-search:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.trp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trp-tupa-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.35rem -0.25rem 0;
    padding: 0 0.25rem 0.5rem;
}

.trp-table-tupa {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    font-size: 0.82rem;
    line-height: 1.45;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.trp-table-tupa thead {
    background: #f1f5f9;
}

.trp-table-tupa th,
.trp-table-tupa td {
    padding: 0.5rem 0.55rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.trp-table-tupa th {
    font-weight: 700;
    color: #334155;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.trp-th-sub {
    display: block;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.trp-table-tupa tbody tr:last-child td {
    border-bottom: none;
}

.trp-table-tupa tbody tr:hover {
    background: #f8fafc;
}

.trp-tupa-num {
    width: 2.5rem;
    white-space: nowrap;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.trp-tupa-cell {
    max-width: 14rem;
    word-wrap: break-word;
    hyphens: auto;
}

.trp-table-tupa th:nth-child(4),
.trp-table-tupa td.trp-tupa-monto {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Transparencia — Becas */
.trp-becas-doc {
    margin-top: 0.35rem;
}

.trp-becas-doc > p {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
}

.trp-becas-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.85rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.trp-becas-h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.75rem 0 0.65rem;
    line-height: 1.35;
}

.trp-becas-doc .trp-becas-h3:first-of-type {
    margin-top: 1.1rem;
}

.trp-becas-quote {
    margin: 0.85rem 0 1rem;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-left: 4px solid #dc2626;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
}

.trp-becas-quote p {
    margin: 0;
    font-style: italic;
    color: #334155;
    line-height: 1.6;
}

.trp-becas-list,
.trp-becas-steps {
    margin: 0.5rem 0 1rem;
    padding-left: 1.35rem;
    list-style: disc;
    color: #1e293b;
    line-height: 1.6;
}

.trp-becas-list li,
.trp-becas-steps li {
    margin-bottom: 0.45rem;
}

.trp-becas-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.5rem 0 1rem;
}

.trp-table-becas {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.trp-table-becas thead {
    background: #f1f5f9;
}

.trp-table-becas th,
.trp-table-becas td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.trp-table-becas th {
    font-weight: 700;
    color: #334155;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.trp-table-becas tbody tr:last-child td {
    border-bottom: none;
}

.trp-table-becas tbody tr:hover {
    background: #f8fafc;
}

.trp-becas-doc a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trp-becas-doc a:hover {
    color: #1e40af;
}

.trp-becas-footer {
    margin: 1.75rem 0 0;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
}

/* Transparencia — Docentes (plana) */
.trp-docentes-doc {
    margin-top: 0.35rem;
}

.trp-docentes-doc > p {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
    line-height: 1.65;
    color: #1e293b;
}

.trp-docentes-main-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.85rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.trp-docentes-foto-wrap {
    margin: 1.15rem 0 0;
}

.trp-docentes-foto-figure {
    margin: 0;
    padding: 0;
}

.trp-docentes-foto-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.trp-docentes-foto-caption {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

.trp-docentes-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0 0;
}

.trp-table-docentes {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.trp-table-docentes thead {
    background: #f1f5f9;
}

.trp-table-docentes th,
.trp-table-docentes td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.trp-table-docentes th {
    font-weight: 700;
    color: #334155;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trp-table-docentes tbody tr:last-child td {
    border-bottom: none;
}

.trp-table-docentes tbody tr:hover {
    background: #f8fafc;
}

.trp-docentes-num {
    width: 2.75rem;
    white-space: nowrap;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

/* Transparencia — Estudiantes (listado por ciclo) */
.trp-estudiantes-doc {
    margin-top: 0.35rem;
}

.trp-estudiantes-doc > p:not(.trp-estudiantes-periodo-nota):not(.trp-estudiantes-vacio) {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
    line-height: 1.65;
    color: #1e293b;
}

.trp-estudiantes-main-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.85rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.trp-estudiantes-periodo-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.1rem 0 0.5rem;
}

.trp-estudiantes-periodo-nota {
    margin: 0 0 1rem !important;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
}

.trp-estudiantes-vacio {
    margin: 0.75rem 0 0 !important;
    color: #475569;
    font-style: italic;
}

.trp-estudiantes-ciclo {
    margin: 1.25rem 0 0;
}

.trp-estudiantes-ciclo:first-of-type {
    margin-top: 0.75rem;
}

.trp-estudiantes-ciclo-details {
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.trp-estudiantes-ciclo-details > summary {
    list-style: none;
    font-size: 0.98rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    padding: 0.65rem 0.85rem 0.65rem 2.25rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.trp-estudiantes-ciclo-details > summary::-webkit-details-marker {
    display: none;
}

.trp-estudiantes-ciclo-details > summary::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: translateY(-65%) rotate(-45deg);
    transition: transform 0.2s ease;
}

.trp-estudiantes-ciclo-details[open] > summary {
    border-bottom-color: #e2e8f0;
    background: #fff;
}

.trp-estudiantes-ciclo-details[open] > summary::before {
    transform: translateY(-25%) rotate(45deg);
}

.trp-estudiantes-ciclo-details > summary:hover {
    background: #f1f5f9;
}

.trp-estudiantes-ciclo-details[open] > summary:hover {
    background: #fafafa;
}

.trp-estudiantes-ciclo-details .trp-estudiantes-table-wrap {
    margin: 0;
    padding: 0.5rem 0.65rem 0.75rem;
    background: #fff;
}

.trp-estudiantes-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.35rem 0 0;
}

.trp-table-estudiantes {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.trp-table-estudiantes thead {
    background: #f1f5f9;
}

.trp-table-estudiantes th,
.trp-table-estudiantes td {
    padding: 0.5rem 0.65rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.trp-table-estudiantes th {
    font-weight: 700;
    color: #334155;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trp-table-estudiantes tbody tr:last-child td {
    border-bottom: none;
}

.trp-table-estudiantes tbody tr:hover {
    background: #f8fafc;
}

.trp-estudiantes-num {
    width: 2.5rem;
    white-space: nowrap;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

/* Transparencia — Reglamento Interno (infografía) */
.trp-ri {
    margin-top: 0.25rem;
}

.trp-ri-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 48%, #0c4a6e 100%);
    color: #f8fafc;
    border-radius: 12px;
    padding: 1.35rem 1.25rem 1.5rem;
    margin: 0 0 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.trp-ri-hero-inner {
    max-width: 52rem;
}

.trp-ri-hero-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bae6fd;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trp-ri-hero-ico {
    font-size: 1.1rem;
}

.trp-ri-hero-title {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    color: #fff;
}

.trp-ri-hero-lead {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #e2e8f0;
}

.trp-ri-download {
    margin: 0 0 1.35rem;
}

.trp-ri-download--append {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.trp-ri-download--muted {
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.trp-ri-download-note {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

.trp-ri-download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trp-ri-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    color: #fff !important;
}

.trp-ri-download-btn-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 1.35rem;
}

.trp-ri-download-btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.trp-ri-download-btn-text strong {
    font-size: 1.02rem;
    font-weight: 700;
}

.trp-ri-download-filename {
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.92;
    word-break: break-all;
}

.trp-ri-body > p {
    margin: 0 0 1rem;
    text-align: justify;
    line-height: 1.65;
    color: #1e293b;
}

.trp-ri-h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 1.5rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.trp-ri-h3-ico {
    font-size: 1.1rem;
}

.trp-ri-intro-cards {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 0.95rem;
}

.trp-ri-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

@media (min-width: 720px) {
    .trp-ri-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trp-ri-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.05rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    border-top: 3px solid #0ea5e9;
}

.trp-ri-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.trp-ri-card-num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0ea5e9;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 8px;
}

.trp-ri-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.trp-ri-card-ref {
    font-weight: 600;
    color: #64748b;
    font-size: 0.78rem;
}

.trp-ri-card-p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}

.trp-ri-card-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}

.trp-ri-card-list li {
    margin-bottom: 0.35rem;
}

.trp-ri-h3--nav {
    margin-top: 1.75rem;
}

.trp-ri-nav-intro {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #475569;
}

.trp-ri-nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

@media (min-width: 600px) {
    .trp-ri-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .trp-ri-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trp-ri-nav-tile {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0.95rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    min-height: 100%;
}

.trp-ri-nav-emoji {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.trp-ri-nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trp-ri-nav-title {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}

.trp-ri-nav-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.trp-ri-community {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.trp-ri-community-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.trp-ri-community-title {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: #92400e;
}

.trp-ri-community-text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #78350f;
}

@media print {
    .trp-aside,
    .trp-top {
        display: none !important;
    }
    .trp-wrap {
        display: block;
    }
    .trp-article {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}
