/* ───────── Reportes, reporte trimestral y alertas ─────────
   Van aparte de site.css: son pantallas de lectura (tablas y números) más la hoja del reporte a la
   familia, que es clara porque se imprime y se guarda en PDF. */

.mt-s { margin-top: 8px; }
.muted { color: var(--muted); }
.warn { color: var(--amber); }
td.wrap { white-space: normal; min-width: 180px; }
.plain { margin: 0; padding-left: 18px; color: var(--text-2); }
.plain li + li { margin-top: 4px; }

/* Números grandes arriba de cada reporte: la tarjeta .kpi es la de site.css (la misma de finanzas); aquí,
   la rejilla de cuatro y los colores del número. */
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi b.green { color: var(--green); }
.kpi b.orange { color: var(--orange-2); }
.kpi b.red { color: var(--red); }

/* Porcentaje con barra */
.rate { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 92px; height: 22px; padding: 0 8px;
    border-radius: 7px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.rate i { position: absolute; inset: 0 auto 0 0; border-radius: 7px; opacity: .28; }
.rate b { position: relative; font-weight: 700; font-variant-numeric: tabular-nums; }
.rate.green i { background: var(--green); } .rate.green b { color: var(--green); }
.rate.orange i { background: var(--orange); } .rate.orange b { color: var(--orange-2); }
.rate.red i { background: var(--red); } .rate.red b { color: var(--red); }
.rate.gray b { color: var(--muted); }

/* La entrada de Reportes (Jesús, 12-oct): el reporte trimestral primero, a todo lo ancho, y tarjetas compactas con el
   ícono junto al título y un brillo de su color en la esquina, como las de Evaluaciones. */
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
a.card.report-tile, a.card.quarterly-banner { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; color: var(--text); }
.report-tile::before, .quarterly-banner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(360px 180px at 100% 0%, rgba(0, 194, 232, .16), transparent 70%);
}
.report-tile.o::before, .quarterly-banner::before { background: radial-gradient(420px 200px at 100% 0%, rgba(255, 107, 61, .2), transparent 70%); }
.report-tile > *, .quarterly-banner > * { position: relative; }
.report-tile:hover, .quarterly-banner:hover { text-decoration: none; box-shadow: var(--glow-hover); }
.report-ico {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff;
    background: linear-gradient(145deg, #1f8fd1, var(--cyan)); box-shadow: 0 8px 22px rgba(0, 194, 232, .28);
}
.report-ico.o { background: linear-gradient(145deg, var(--orange), var(--orange-2)); box-shadow: 0 8px 22px rgba(255, 107, 61, .3); }
.report-ico svg.i { width: 21px; height: 21px; }
.report-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.report-text .t { font: 800 19px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.report-text > span { color: var(--text-2); font-size: 13px; line-height: 1.4; }
.quarterly-banner { align-items: center; margin-bottom: 14px; padding: 20px 22px; box-shadow: inset 0 0 0 1px rgba(255, 143, 107, .4), var(--glow); }
.quarterly-banner .report-ico { width: 48px; height: 48px; }
.quarterly-banner .report-text .t { font-size: 22px; }
.quarterly-banner .chip { flex: none; }
@media (max-width: 640px) {
    .quarterly-banner { flex-wrap: wrap; }
    .report-grid { grid-template-columns: 1fr; }
}

/* Alertas */
.nav-count.warn { color: #1b1200; background: var(--amber); box-shadow: 0 0 12px rgba(255, 182, 46, .45); }
.alert-item { align-items: center; padding-block: 10px; }
.alert-item .grow { min-width: 0; }
.alert-item .clip { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-item small.clip { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.alert-item.unread b { color: #fff; }
.alert-item.unread .badge-ico { box-shadow: inset 0 0 0 1px rgba(255, 143, 107, .6), 0 0 14px rgba(255, 107, 61, .25); }
.alert-item a { color: inherit; }
.alert-meta { display: grid; justify-items: end; gap: 4px; flex: none; }
.alert-meta small { font-size: 11.5px; white-space: nowrap; }
.alert-meta-top { display: flex; align-items: center; gap: 12px; }
.alert-actions { display: flex; align-items: center; gap: 12px; }
.alert-actions form { margin: 0; }
/* «Descartar» abre su motivo como ventanita, sin alargar el renglón. */
.dismiss { position: relative; }
.dismiss summary { cursor: pointer; color: var(--muted); font-size: 12px; list-style: none; }
.dismiss summary::-webkit-details-marker { display: none; }
.dismiss summary:hover { color: var(--text); text-decoration: underline; }
.dismiss[open] .add-form {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(420px, 80vw); margin: 0; padding: 10px;
    border: 0; border-radius: 12px; background: #0a1a33; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px rgba(0, 0, 0, .45);
}
.dismiss[open] .add-form input { flex: 1; min-width: 0; }
.attention-sub { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid var(--line-2);
    font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.attention-sub a { font: 600 12.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--cyan); }
.thresholds .threshold small { font-weight: 400; }

/* Reporte trimestral: vista previa con panel al lado */
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 16px; }
.report-side { display: grid; gap: 0; }
.report-side .card + .card, .report-side form.card { margin-top: 16px; }
.report-side textarea, .report-side input[type=text] { width: 100%; }
.report-side input.objective + input.objective { margin-top: 8px; }
.report-side label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }

/* La hoja del reporte: clara, como papel */
.paper { max-width: 860px; margin: 0 auto; padding: 36px 40px; border-radius: 14px; background: #fff; color: #10213a;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35); font: 400 14px/1.5 var(--sans); }
.paper h1, .paper h2 { color: #0b1f3f; }
.paper-head { display: grid; gap: 18px; padding-bottom: 20px; border-bottom: 3px solid var(--brand-primary); }
.paper-brand { display: flex; align-items: center; gap: 12px; }
.paper-brand img { width: 52px; height: 52px; object-fit: contain; }
.paper-brand .crest { width: 48px; height: 48px; }
.paper-brand b { display: block; font: 800 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.paper-brand small { color: #5a6b82; font-size: 12.5px; }
.paper-athlete h1 { margin: 0; font: 800 42px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.paper-athlete p { margin: 6px 0 0; color: #3b4d66; }
.paper-period { font-weight: 600; color: var(--brand-primary) !important; }
.paper-section { padding: 20px 0 6px; border-bottom: 1px solid #e3e8ef; break-inside: avoid; }
.paper-section h2 { margin: 0 0 12px; font: 700 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.paper-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.paper-kpis div { padding: 10px 12px; border-radius: 10px; background: #f1f5fa; }
.paper-kpis b { display: block; font: 800 26px/1.05 var(--display); color: #0b1f3f; }
.paper-kpis small { color: #5a6b82; font-size: 12px; }
.paper-table { margin-top: 12px; font-size: 13px; }
.paper-table th { color: #5a6b82; border-bottom: 1px solid #cfd8e3; }
.paper-table td { border-bottom: 1px solid #edf1f6; color: #10213a; }
.paper-table tbody tr:hover td { background: transparent; }
.paper-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.paper-table small.block { color: #7a8aa0; }
.paper .up { color: #0b8a5f; font-weight: 600; }
.paper .down { color: #c2303f; font-weight: 600; }
.paper-note { margin: 10px 0 0; color: #5a6b82; font-size: 12px; }
.paper-empty { margin: 0; color: #7a8aa0; }
.paper-comment { margin: 0; padding: 14px 18px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: #fff6ef;
    white-space: pre-line; font-size: 14.5px; }
.paper-foot { display: grid; gap: 4px; padding-top: 16px; color: #7a8aa0; font-size: 11.5px; }
.paper .mono { color: inherit; }

/* La página que abre el tutor */
.paper-page { background: #e9eef5; color: #10213a; padding: 24px 12px 48px; }
.paper-bar { max-width: 860px; margin: 0 auto 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    color: #3b4d66; font-weight: 600; }
.paper-bar button { height: 38px; }
.paper-notice { max-width: 860px; margin: 0 auto 14px; padding: 10px 14px; border-radius: 10px; background: #fff3e0; color: #7a4100; }
.paper-gone { text-align: center; }
.paper-gone h1 { font: 800 30px/1.1 var(--display); text-transform: uppercase; }

.print-only { display: none; }

@media (max-width: 1100px) {
    .report-layout { grid-template-columns: minmax(0, 1fr); }
    .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .paper { padding: 22px 18px; }
    .paper-athlete h1 { font-size: 32px; }
    .kpis.four { grid-template-columns: minmax(0, 1fr); }
}

/* Impresión: solo el reporte, en claro, sin menú ni filtros ni botones. */
@media print {
    @page { margin: 14mm; }
    html, body, .paper-page { background: #fff !important; color: #000 !important; padding: 0 !important; }
    .sidebar, .menu-toggle, .no-print, .filters, .head-actions, .seg-links, .crumbs, .dismiss { display: none !important; }
    .shell { display: block !important; }
    .content { padding: 0 !important; }
    .print-only { display: block !important; }
    /* El documento impreso (Reports/PrintHead.cs, propuesta de Jesús del 13-oct): la academia a la izquierda, qué documento
       es a la derecha; abajo cuándo se generó y «Powered by SPARK» con el logo «light». Sin la barra de arriba ni el
       título de la pantalla: el encabezado los sustituye. */
    .topbar { display: none !important; }
    .content:has(.print-head) .page-head { display: none !important; }
    .print-head { display: flex !important; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1.5px solid #8696ab; }
    .print-academy { display: flex; align-items: center; gap: 12px; }
    .print-academy img { width: 58px; height: 58px; object-fit: contain; }
    .print-academy .crest { width: 46px; height: 52px; }
    .print-academy b { display: block; font-size: 20px; line-height: 1.1; color: #0b1a30 !important; }
    .print-academy small { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #5a6b82 !important; }
    .print-doc { display: grid; gap: 2px; text-align: right; font-size: 11px; color: #33465f; }
    .print-doc b { font-size: 15px; color: #0b1a30 !important; }
    .print-foot { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 18px; margin-top: 26px; padding-top: 10px; border-top: 1px solid #c3ccd8; font-size: 10px; color: #5a6b82; break-inside: avoid; }
    .print-foot > div:first-child { display: grid; gap: 2px; }
    .print-spark { display: grid; justify-items: end; gap: 2px; }
    .print-spark small { font-size: 8.5px; color: #5a6b82 !important; }
    .print-spark img { width: 96px; height: auto; }
    .card, .kpi { background: #fff !important; box-shadow: none !important; border: 1px solid #bbb; color: #000 !important; break-inside: avoid; }
    .page-title, .page-title em, .card-h h2, .kpi b, th, td, a { color: #000 !important; }
    .hint, .kpi small, .kpi span, small { color: #333 !important; }
    .chip { box-shadow: none !important; border: 1px solid #999; color: #000 !important; background: #fff !important; }
    .rate { background: #fff !important; } .rate i { display: none; } .rate b { color: #000 !important; }
    table { font-size: 10.5px; } td, th { padding: 5px 6px; border-color: #ccc !important; }
    .report-layout { display: block; margin: 0; }
    .paper { max-width: none; padding: 0; box-shadow: none; border-radius: 0; }
}

/* Foto del atleta en el reporte, solo con «Foto en reportes» autorizada (bloque 5). */
.paper-athlete.with-photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.paper-athlete.with-photo .paper-photo { grid-row: 1 / span 3; width: 96px; height: 128px; object-fit: cover; border-radius: 10px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--brand-primary); }
@media (max-width: 560px) {
    .paper-athlete.with-photo { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; }
    .paper-athlete.with-photo .paper-photo { width: 72px; height: 96px; }
}

/* ───────── Reporte trimestral con la marca SPARK (bloque 6, el ejemplo de Jesús) ─────────
   Franja SPARK con el escudo de la academia, tarjeta del atleta, cancha, indicadores, perfil de rendimiento (radar),
   lectura del trimestre, competencia y entrenamiento, siguiente foco, evolución física y comentario del coach. Los fondos
   oscuros se imprimen (print-color-adjust); en el teléfono todo va en una columna y las tablas se desplazan solas. */
.paper.paper-spark { padding: 0 0 26px; overflow: hidden; background: #f3f6fa; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ps-band { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 34px; background: #0a1a33; }
.ps-logo { display: block; height: 46px; width: auto; max-width: 60%; }
img.ps-crest { width: 58px; height: 58px; object-fit: contain; }
.crest.ps-crest { width: 50px; height: 56px; }
.ps-title { padding: 22px 34px 4px; }
.ps-title h1 { margin: 0; font: 800 36px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #0a1a33; }
.ps-title p { margin: 6px 0 0; color: #5a6b82; font-size: 14px; }
.ps-title p span { margin: 0 6px; color: #b6c2d2; }
.ps-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px 34px 0; }
.ps-row.ps-top { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ps-card { position: relative; min-width: 0; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #dfe6ef; break-inside: avoid; }
section.ps-card { margin: 16px 34px 0; }
.ps-card h3 { margin: 0 0 12px; font: 800 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: #0a1a33; }
.ps-card h3 small { display: block; margin-top: 4px; font: 400 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #6b7c93; }
.ps-dark { background: #0a1a33; color: #eaf2ff; box-shadow: none; }
.ps-dark h3 { color: #fff; }
.ps-dark h3 small { color: #9fb3cf; }
.ps-muted { color: #7a8aa0; font-size: 13px; }
.ps-dark .ps-muted { color: #9fb3cf; }

.ps-athlete { overflow: hidden; text-align: center; color: #fff; box-shadow: none;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px), linear-gradient(160deg, #1a3a72, #0a1a33 70%); }
.ps-cat { position: absolute; left: 18px; top: 16px; text-align: left; }
.ps-cat b { display: block; font: 800 16px/1 var(--display); color: #4fd2ff; }
.ps-cat span { font: 800 26px/1 var(--display); color: #fff; }
.ps-athlete .paper-photo { display: block; width: 120px; height: 160px; margin: 20px auto 8px; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.ps-face { display: grid; place-items: center; width: 120px; height: 120px; margin: 26px auto 8px; border-radius: 50%; font: 800 46px/1 var(--display); color: rgba(255, 255, 255, .92);
    background: radial-gradient(circle at 35% 30%, #4b78d8, #1b3474 70%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.ps-athlete h2 { margin: 8px 0 4px; font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.ps-athlete p { margin: 2px 0; color: #c7d6ea; font-size: 13px; }
.ps-athlete p.ps-pos { color: #4fd2ff; font-weight: 600; }
.ps-enroll { display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 99px; font: 800 12px/1 var(--display); letter-spacing: .12em; color: #fff; box-shadow: inset 0 0 0 1px rgba(79, 210, 255, .6); }

.ps-pitch { position: relative; aspect-ratio: 100 / 64; overflow: hidden; border-radius: 10px; background: repeating-linear-gradient(90deg, #156c46 0 10%, #11603e 10% 20%); }
.ps-pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: .5; }
.ps-spot { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transform: translate(-50%, -50%); font: 800 11px/1 var(--display); }
.ps-spot.main { background: #ff6a3d; color: #fff; box-shadow: 0 0 0 4px rgba(255, 106, 61, .3); }
.ps-spot.alt { background: #0a1a33; color: #4fd2ff; box-shadow: inset 0 0 0 2px #4fd2ff; }
.ps-pos-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 12px 0 0; font-size: 13px; }
.ps-pos-list dt { color: #9fb3cf; }
.ps-pos-list dd { margin: 0; font-weight: 600; color: #fff; }

.ps-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 34px 0; }
.ps-kpis > div { min-width: 0; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #dfe6ef; }
.ps-kpis small { display: block; font: 700 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #6b7c93; }
.ps-kpis b { display: block; margin: 6px 0 2px; font: 800 34px/1 var(--display); color: #0a1a33; }
.ps-kpis span { font-size: 12px; color: #6b7c93; }

.paper-spark .radar { max-width: 400px; }
.paper-spark .radar-label { font-size: 13.5px; }
.paper-spark .radar-ring, .paper-spark .radar-axis { stroke: #d5deea; }
.paper-spark .radar-now { fill: rgba(255, 106, 61, .18); stroke: #ff6a3d; }
.paper-spark .radar-dot { fill: #ff6a3d; }
.paper-spark .radar-before { stroke: #7f93ad; }
.paper-spark .radar-label { fill: #3b4d66; }
.paper-spark .radar-legend { color: #3b4d66; }
.paper-spark .radar-legend span::before { border-top-color: #ff6a3d; }
.paper-spark .radar-legend .before::before { border-top-color: #7f93ad; }
.ps-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ps-index > div { text-align: center; }
.ps-index small { display: block; font: 700 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #6b7c93; }
.ps-index b { font: 800 30px/1.1 var(--display); color: #0a1a33; }
.ps-level { display: block; font: 700 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #ff6a3d; }

.ps-reading dl { display: grid; gap: 4px; margin: 0; }
.ps-reading dt { margin-top: 10px; font: 700 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #4fd2ff; }
.ps-reading dt:first-child { margin-top: 0; }
.ps-reading dd { margin: 0; }
.ps-reading dd b { display: block; font: 800 26px/1.1 var(--display); color: #fff; }
.ps-reading dd small { color: #9fb3cf; font-size: 12px; }
.ps-focus { display: block; margin-top: 4px; padding: 10px 14px; border-radius: 10px; background: #16315c; font-weight: 600; }

.ps-list { width: 100%; font-size: 13.5px; }
.ps-list td { padding: 7px 0; border-bottom: 1px solid #edf1f6; color: #10213a; }
.ps-list td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-list tbody tr:hover td { background: transparent; }
.ps-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ps-scroll .paper-table { min-width: 300px; }
.ps-tournaments th, .ps-tournaments td { padding: 7px 6px; }
.ps-tournaments td:first-child { min-width: 110px; }
.paper-spark .paper-table td, .paper-spark .paper-table th { white-space: nowrap; }
.paper-spark .paper-table td:first-child { white-space: normal; }
.ps-tests td .up small, .ps-tests td .down small { color: inherit; font-weight: 500; }
.ps-goals { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ps-goals li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; font-weight: 600; }
.ps-goals span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ff6a3d; color: #fff; font: 800 12px/1 var(--display); }
.ps-physical .paper-kpis div { background: #f1f5fa; }
.ps-foot { margin: 18px 34px 0; padding-top: 12px; border-top: 1px solid #dfe6ef; }
.ps-foot div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ps-foot b { color: #0a1a33; font-size: 13px; }

@media (max-width: 720px) {
    .ps-band { padding: 14px 16px; }
    .ps-logo { height: 34px; }
    .ps-title { padding: 18px 16px 2px; }
    .ps-title h1 { font-size: 26px; }
    .ps-row, .ps-row.ps-top { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 16px 0; }
    section.ps-card { margin: 12px 16px 0; }
    .ps-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 16px 0; }
    .ps-kpis b { font-size: 28px; }
    .ps-card { padding: 16px; }
    .ps-foot { margin: 16px 16px 0; }
    .paper-spark .paper-table { font-size: 12.5px; }
    .paper-spark .paper-table th, .paper-spark .paper-table td { padding: 6px 4px; letter-spacing: .02em; }
    .ps-scroll .paper-table { min-width: 0; }
    .ps-tournaments .wide { display: none; }
    .ps-tournaments td:first-child { min-width: 0; }
}

@media print {
    .paper.paper-spark { padding: 0 0 10px !important; background: #f3f6fa !important; }
    .ps-band { padding: 12px 18px; }
    .ps-title { padding: 14px 18px 0; }
    .ps-row, .ps-row.ps-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 10px; padding: 10px 18px 0; }
    .ps-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 10px; padding: 10px 18px 0; }
    section.ps-card { margin: 10px 18px 0; }
    .ps-foot { margin: 12px 18px 0; }
    .paper-spark .ps-dark, .paper-spark .ps-athlete, .paper-spark .ps-dark b, .paper-spark .ps-athlete h2,
    .paper-spark .ps-pos-list dd, .paper-spark .ps-goals li, .paper-spark .ps-focus { color: #fff !important; }
    .paper-spark .ps-dark small, .paper-spark .ps-athlete p, .paper-spark .ps-pos-list dt, .paper-spark .ps-dark .ps-muted { color: #c7d6ea !important; }
    .paper-spark .ps-reading dt, .paper-spark .ps-cat b, .paper-spark .ps-athlete p.ps-pos { color: #4fd2ff !important; }
    .paper-spark .ps-card, .paper-spark .ps-kpis > div { break-inside: avoid; }
    .paper-spark .ps-scroll { overflow: visible; }
}
