.transparency-page .container { max-width: 1280px; }
.transparency-title { margin-bottom: 1.5rem; }
.transparency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
.transparency-card { padding: 1.25rem; }
.closure-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.closure-card-head h2 { margin: .25rem 0 0; font-size: 1.45rem; }
.closure-status { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .35rem .65rem; font-size: .75rem; font-weight: 800; background: #eef1f6; color: #24324a; white-space: nowrap; }
.closure-status-scheduled { background: #fff1cc; color: #7a4d00; }
.closure-status-closed { background: #ffe2e2; color: #8a1e1e; }
.closure-status-published { background: #d9f6e3; color: #0d7034; }
.transparency-form { margin-bottom: 1rem; }
.closure-meta-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.closure-meta-list div { border: 1px solid rgba(16, 27, 53, .08); border-radius: 14px; padding: .75rem; background: rgba(255,255,255,.55); }
.closure-meta-list strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #536078; margin-bottom: .25rem; }
.closure-meta-list span { font-weight: 700; color: #111d3a; }
.closure-hash { border: 1px solid rgba(16,27,53,.10); border-radius: 14px; padding: .75rem; margin: 1rem 0; background: rgba(255,255,255,.62); }
.closure-hash strong { display: block; margin-bottom: .35rem; }
.closure-hash code { display: block; word-break: break-all; font-size: .78rem; color: #273657; }
.closure-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.closure-empty { color: #606c80; line-height: 1.55; }
.transparency-warning-card, .transparency-note-card { margin-bottom: 1rem; padding: 1.25rem; }
.transparency-warning-card code { display: inline-block; padding: .45rem .6rem; border-radius: 10px; background: #f3f6fb; color: #0d1730; }
.report-list-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.report-card h2 { margin: .35rem 0 1rem; }
.public-report-shell .container { max-width: 1440px; }
.report-hero-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem; margin-bottom: 1rem; }
.report-hero-card h1 { margin: .35rem 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .95; }
.report-hero-card p { max-width: 760px; color: #536078; line-height: 1.55; }
.report-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.report-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1rem; }
.report-meta-card { padding: 1rem; }
.report-meta-card span { display: block; color: #536078; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .45rem; }
.report-meta-card strong { font-size: 1rem; color: #101b35; }
.hash-card { margin-bottom: 1rem; padding: 1rem; }
.hash-card code { display: block; margin: .45rem 0; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #22345a; }
.hash-card p { margin: 0; color: #606c80; }
.report-controls { display: grid; grid-template-columns: 1fr 220px 220px; gap: .75rem; margin-bottom: 1rem; padding: 1rem; }
.report-controls input, .report-controls select { border: 1px solid rgba(16, 27, 53, .16); border-radius: 14px; padding: .85rem 1rem; font: inherit; }
.report-block { padding: 1rem; margin-bottom: 1rem; }
.report-block h2 { margin: 0 0 .25rem; }
.report-muted { color: #606c80; margin: 0 0 .75rem; }
.report-table-wrap { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.report-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #536078; border-bottom: 1px solid rgba(16,27,53,.12); padding: .75rem .65rem; white-space: nowrap; }
.report-table td { border-bottom: 1px solid rgba(16,27,53,.08); padding: .75rem .65rem; vertical-align: top; }
.report-table small { color: #66758b; }
.report-status { display: inline-flex; border-radius: 999px; padding: .25rem .55rem; font-size: .72rem; font-weight: 800; }
.report-status-valid { background: #d9f6e3; color: #0d7034; }
.report-status-missing { background: #eef1f6; color: #49576e; }
.report-status-partial { background: #fff1cc; color: #7a4d00; }
.report-status-invalid { background: #ffe2e2; color: #8a1e1e; }
.report-print-header { display: none; }
.closure-banner { margin: 0 0 1rem; padding: 1rem 1.1rem; border: 1px solid #ffd979; background: #fff6dc; color: #5f4200; }
.closure-banner strong { color: #382300; }
.closure-banner a { font-weight: 800; color: #4c28ce; }
.match-card.officially-locked { border-color: rgba(255, 180, 0, .45); }
.official-lock-note { margin-top: .75rem; border: 1px solid #ffd979; background: #fff8e8; color: #5b4100; border-radius: 16px; padding: .8rem .9rem; font-size: .9rem; line-height: 1.45; }
@media (max-width: 900px) {
  .report-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .report-controls { grid-template-columns: 1fr; }
  .report-hero-card { display: block; }
  .report-actions { margin-top: 1rem; }
}
@media print {
  .landing-header, .no-print, .report-controls, .report-actions { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .transparency-page { padding: 0 !important; }
  .container { max-width: none !important; width: 100% !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
  .report-print-header { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #bbb; padding: 0 0 .5rem; margin: 0 0 1rem; font-size: .8rem; }
  .report-hero-card h1 { font-size: 2rem !important; }
  .report-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .report-block { page-break-inside: avoid; margin-bottom: .6rem; }
  .report-table { font-size: .72rem; }
  .report-table th, .report-table td { padding: .35rem; }
  a[href]::after { content: ''; }
}
.closure-mode-note { margin: .45rem 0 0; max-width: 860px; color: #536078; font-size: .92rem; line-height: 1.45; }
.report-table-compact th:nth-child(1), .report-table-compact td:nth-child(1) { width: 42%; }
.report-table-compact th:nth-child(2), .report-table-compact td:nth-child(2) { width: 13%; white-space: nowrap; }
.report-table-compact th:nth-child(3), .report-table-compact td:nth-child(3) { width: 30%; }
.report-table-compact th:nth-child(4), .report-table-compact td:nth-child(4) { width: 15%; white-space: nowrap; }
button[disabled], .btn[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(.2); }
@media print {
  .report-table-compact { font-size: .78rem; }
  .report-table-compact th, .report-table-compact td { padding: .42rem .35rem; }
}

/* Acta comparativa: Partido x Participantes */
.report-matrix-card { padding: 1rem; }
.report-matrix-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.report-matrix-title h2 { margin: .25rem 0 0; font-size: 1.55rem; }
.report-matrix-title p { margin: 0; color: #606c80; max-width: 520px; line-height: 1.45; }
.report-matrix-wrap { max-height: none; border: 1px solid rgba(16, 27, 53, .1); border-radius: 18px; background: rgba(255,255,255,.78); }
.report-matrix-table { min-width: 1100px; font-size: .78rem; }
.report-matrix-table th,
.report-matrix-table td { text-align: center; vertical-align: middle; white-space: nowrap; }
.report-matrix-table thead th { position: sticky; top: 0; z-index: 3; background: #f4f7fb; }
.report-matrix-table .matrix-sticky-col { position: sticky; left: 0; z-index: 4; background: #fff; box-shadow: 6px 0 14px rgba(16,27,53,.06); }
.report-matrix-table thead .matrix-sticky-col { background: #f4f7fb; }
.matrix-match { min-width: 240px; text-align: left !important; }
.matrix-match strong { display: inline; color: #101b35; }
.matrix-match span { margin: 0 .35rem; color: #6a7488; }
.matrix-match small { display: block; margin-top: .25rem; color: #6a7488; font-weight: 700; }
.matrix-pick { font-weight: 900; letter-spacing: .015em; border-radius: 0; }
.matrix-summary { min-width: 180px; text-align: left !important; background: #f8fafc; }
.matrix-summary small { display: block; margin-top: .2rem; color: #66758b; font-weight: 700; }
.matrix-cell-local { background: #dff7e8; color: #095c2c; }
.matrix-cell-draw { background: #fff1cc; color: #774900; }
.matrix-cell-visitor { background: #e5efff; color: #183b82; }
.matrix-cell-missing { background: #f0f3f8; color: #7b8496; }
.matrix-cell-partial { background: #fff0d3; color: #845000; }
.matrix-cell-invalid { background: #ffe1e1; color: #8a1e1e; }
.matrix-legend { align-self: center; color: #536078; font-size: .9rem; line-height: 1.35; }
.report-pdf-pending { display: inline-flex; align-items: center; border: 1px solid #ffd979; background: #fff8e7; color: #694900; border-radius: 999px; padding: .65rem .9rem; font-weight: 800; line-height: 1.2; }
.report-controls .btn { width: fit-content; }

@media (max-width: 900px) {
  .report-matrix-title { display: block; }
  .report-matrix-title p { margin-top: .45rem; }
  .report-matrix-table { min-width: 980px; }
  .matrix-match { min-width: 210px; }
}

@media print {
  @page { size: landscape; margin: 8mm; }
  .report-matrix-card { padding: 0 !important; border: 0 !important; }
  .report-matrix-title { margin-bottom: .5rem; }
  .report-matrix-title h2 { font-size: 1.1rem !important; }
  .report-matrix-wrap { overflow: visible; border: 0; }
  .report-matrix-table { min-width: 0; font-size: .53rem; }
  .report-matrix-table th,
  .report-matrix-table td { padding: .22rem .18rem !important; white-space: nowrap; }
  .report-matrix-table .matrix-sticky-col,
  .report-matrix-table thead th { position: static; box-shadow: none; }
  .matrix-match { min-width: 120px; max-width: 150px; }
  .matrix-match small { font-size: .48rem; }
  .matrix-summary { min-width: 115px; }
  .matrix-summary small { display: none; }
}
