/* Built from docs/design/informe-concepto-v1.png: reading and evidence side by side. */
.report-detail-modal.modal-dialog { max-width: 1420px; width: calc(100% - 48px); margin: 24px auto; }
.report-detail-modal .modal-content { background: #fbfcfe; border: 1px solid #dce5ef; box-shadow: 0 12px 45px #071d3233; }
.report-detail-modal .modal-body { padding: 14px; }
.report-detail-modal .modal-header { padding: 12px 22px; }
.report-detail-modal .modal-footer { padding: 10px 18px; }
.report-detail-modal .modal-footer button { background: #0d3b66; color: #fff; border-color: #0d3b66; }
.reader-hero { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid #e0e8f0; padding: 16px 20px; border-radius: 6px; margin-bottom: 14px; }
.reader-portrait { width: 78px; height: 90px; object-fit: contain; padding: 2px; background: #f1f5f9; border-radius: 6px; }
.reader-hero-identity { flex: 1; min-width: 0; }
.reader-hero-identity h2 { font: 600 2.35rem/1.05 var(--font-display, Arial, sans-serif); color: #0d3b66; margin: 0 0 7px; }
.reader-hero-identity p { font-size: .85rem; color: #536e88; margin: 0 0 6px; }
.reader-hero-identity > span { font-size: .76rem; color: #758a9f; }
.reader-verdict { max-width: 160px; padding: 10px 12px; border-radius: 5px; background: #e7f1fa; color: #245b87; font: 600 1rem var(--font-display, Arial, sans-serif); text-align: center; }
.reader-hero-score { min-width: 90px; text-align: center; border-left: 1px solid #e2eaf2; padding: 0 12px; }
.reader-hero-score.primary { border: 0; }
.reader-hero-score strong { display: block; color: #123d64; font: 600 2.1rem/1.1 var(--font-display, Arial, sans-serif); font-variant-numeric: tabular-nums; }
.reader-hero-score.primary strong { font-size: 3rem; }
.reader-hero-score small { display: block; font-size: .71rem; color: #72879c; margin-top: 5px; }
.reader-columns { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 14px; align-items: start; }
.reader-column { min-width: 0; padding: 16px; border: 1px solid #e1e9f2; border-radius: 6px; background: #fff; }
.reader-column-heading { margin-bottom: 12px; }
.report-reader .reader-column-heading h3 { font: 600 1.65rem var(--font-display, Arial, sans-serif); color: #173f65; margin: 0 0 3px; }
.reader-column-heading p { font-size: .76rem; color: #72869c; margin: 0; }
.reader-note { padding: 14px 15px; border: 1px solid #e2eaf2; border-radius: 5px; margin-bottom: 12px; }
.reader-note h4, .reader-peers h4 { display: flex; align-items: center; gap: 9px; font: 600 1.15rem var(--font-display, Arial, sans-serif); color: #244e73; margin: 0 0 10px; }
.reader-note h4::before, .reader-peers h4::before { content: ''; width: 3px; height: 20px; flex-shrink: 0; background: #3978b1; border-radius: 1px; }
.reader-prose { font: 400 .84rem/1.75 var(--font-body, Arial, sans-serif); color: #3f566e; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.reader-prose.is-empty { color: #91a0b0; font-size: .76rem; }
.reader-text-author { display: block; color: #5b7c99; font-size: .7rem; margin-top: 10px; }
.reader-context-strip { display: grid; grid-template-columns: 1.3fr .6fr .8fr; padding: 12px 0; margin: 0; border: 1px solid #e2eaf2; border-radius: 5px; }
.reader-context-strip > div { padding: 0 12px; border-right: 1px solid #e4ebf2; min-width: 0; }
.reader-context-strip > div:last-child { border-right: 0; }
.reader-context-strip dt, .reader-context-grid dt { color: #8296aa; font-size: .65rem; font-weight: 400; margin-bottom: 3px; }
.reader-context-strip dd, .reader-context-grid dd { font-size: .77rem; color: #3e5b77; margin: 0; overflow-wrap: anywhere; }
.reader-context-more { padding: 12px 0 0; }
.reader-context-more > summary, .reader-all-items > summary { color: #5f7f9b; font-size: .72rem; cursor: pointer; }
.reader-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.reader-extra-scores { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.reader-extra-scores > div { padding: 8px 10px; background: #f4f7fb; border-radius: 4px; }
.reader-extra-scores small { display: block; font-size: .65rem; color: #768da3; }
.reader-extra-scores strong { font-size: 1rem; color: #355f83; }
.reader-radar-panel { border: 1px solid #e1e9f1; border-radius: 5px; padding: 0 10px 10px; margin-bottom: 12px; }
.reader-radar { width: 100%; min-width: 0; }
.reader-radar .js-plotly-plot, .reader-radar .plot-container { min-height: 420px; }
.reader-chart-caption { display: block; text-align: center; color: #8b9caf; font-size: .62rem; margin: 0; }
.reader-sample { text-align: center; font-size: .68rem; color: #5f7c97; margin: 7px 0 4px; }
.reader-item-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .72rem; border: 1px solid #e1e9f2; border-radius: 5px; overflow: hidden; table-layout: fixed; }
.reader-item-table th, .reader-item-table td { padding: 8px; border-bottom: 1px solid #e8eef5; vertical-align: middle; }
.reader-item-table thead th { background: #edf4fb; font-weight: 500; color: #356182; text-align: center; font-size: .66rem; }
.reader-item-table thead th:first-child { text-align: left; width: 46%; }
.reader-item-table thead th:not(:first-child) { width: 27%; }
.reader-item-table tbody th { font-weight: 400; color: #395770; text-align: left; }
.reader-item-table td { text-align: center; color: #7790a7; font-variant-numeric: tabular-nums; }
.reader-item-table .reader-item-grade { color: #143b60; font-weight: 600; font-size: .88rem; }
.reader-item-table td small { display: block; color: #9bacbd; font-size: .56rem; }
.reader-item-table tr:last-child th, .reader-item-table tr:last-child td { border-bottom: 0; }
.reader-item-bar { position: relative; height: 4px; background: #e5ecf3; border-radius: 2px; margin-top: 5px; max-width: 170px; }
.reader-item-fill { position: absolute; left: 0; top: 0; height: 4px; background: #5994c5; border-radius: 2px; }
.reader-item-reference { position: absolute; width: 1px; background: #7e8c99; top: -2px; height: 8px; }
.reader-item-table .reader-item-delta.positive { color: #238069; }
.reader-item-table .reader-item-delta.negative { color: #a56e57; }
.reader-all-items { margin: 12px 0; }
.reader-all-category { margin-top: 12px; }
.reader-all-category > h4 { font: 600 1rem var(--font-display, Arial, sans-serif); color: #486c8b; margin: 0 0 6px; }
.reader-peers { border: 1px solid #e1e9f1; border-radius: 5px; padding: 12px 14px; margin-top: 12px; }
.reader-peers h4 { font-size: 1rem; margin-bottom: 4px; }
.reader-small { color: #879caf; font-size: .63rem; margin: 0 0 10px; }
.reader-peer-labels { display: grid; grid-template-columns: 1fr 58px 52px; text-align: center; color: #8096ab; font-size: .6rem; padding-bottom: 4px; border-bottom: 1px solid #e7eef5; }
.reader-peer-labels > span:first-child { text-align: left; }
.reader-peer { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #edf1f6; }
.reader-peer:last-child { border-bottom: 0; }
.reader-peer-photo { width: 28px; height: 32px; object-fit: contain; }
.reader-peer-identity { flex: 1; min-width: 0; }
.reader-peer-identity a, .reader-peer-identity > span { display: block; font-size: .74rem; color: #315b7f; text-decoration: none; }
.reader-peer-identity a:hover { text-decoration: underline; }
.reader-peer-identity small { display: block; color: #8c9eaf; font-size: .59rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-peer > strong { width: 50px; font-size: .88rem; color: #214f76; text-align: center; }
.reader-peer > span { width: 44px; font-size: .72rem; color: #7d93a8; text-align: center; }
.reader-empty { margin: 0; padding: 18px 10px; color: #889cad; font-size: .76rem; line-height: 1.6; }
.reader-methodology { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 4px 0; color: #7890a7; font-size: .62rem; }
.reader-methodology small { display: block; margin-top: 4px; color: #94a4b4; font-size: .59rem; }
.reader-methodology a { color: #3976a6; white-space: nowrap; font-size: .7rem; text-decoration: none; }
.report-reader a:focus-visible, .report-reader summary:focus-visible { outline: 2px solid #3978b1; outline-offset: 3px; }
.reader-match-context { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; margin-bottom: 14px; background: #eef4fa; border: 1px solid #d7e4f0; border-left: 4px solid #3978b1; border-radius: 5px; }
.reader-match-context.is-general { background: #edf5fb; border-left-color: #2d76ad; }
.reader-match-main { min-width: 0; }
.reader-match-context { display: grid; grid-template-columns: minmax(0,1.25fr) auto minmax(0,1fr); }
.reader-player-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; margin: 0; border-left: 1px solid #d2e0ed; padding-left: 20px; }
.reader-player-facts dt { color: #738aa0; font-size: .65rem; font-weight: 400; }
.reader-player-facts dd { color: #244b70; font-size: .82rem; font-weight: 500; margin: 3px 0 0; overflow-wrap: anywhere; }
.reader-original-score { min-width: 170px; }
.reader-original-score > small { margin: 0 0 3px; letter-spacing: .05em; }
.reader-score-split { display: flex; justify-content: center; gap: 20px; margin-top: 6px; }
.reader-score-split small { font-size: .62rem; margin: 0; }
.reader-score-split b { display: block; color: #466d8f; font: 600 1.15rem var(--font-display); }
.reader-match-main > small { display: block; color: #6c839b; font-size: .63rem; letter-spacing: .06em; }
.reader-match-main > strong { display: block; font: 600 1.4rem var(--font-display); color: #173f65; margin: 4px 0; overflow-wrap: anywhere; }
.reader-match-main > p { margin: 0; color: #6b839b; font-size: .73rem; }
.reader-match-facts { display: flex; gap: 24px; margin: 0; flex-shrink: 0; }
.reader-match-facts dt { color: #738aa0; font-size: .65rem; font-weight: 400; }
.reader-match-facts dd { margin: 3px 0 0; color: #244b70; font-size: .82rem; font-weight: 500; }
.reader-context-visible { margin-bottom: 0; }
.reader-reference-summary { background: #f3f7fb; border: 1px solid #e0e8f1; border-radius: 5px; padding: 10px 12px; }
.reader-reference-summary .reader-sample { text-align: left; margin: 0 0 4px; color: #315c80; font-weight: 500; }
.reader-reference-summary > small { display: block; font-size: .64rem; color: #7289a0; line-height: 1.5; }
.reader-all-category { margin: 16px 0; }
.reader-all-category > h4 { display: flex; justify-content: space-between; align-items: center; padding: 8px 11px; margin: 0; background: #e9f1f9; border: 1px solid #d9e5f1; border-bottom: 0; border-radius: 5px 5px 0 0; color: #1d4a72; font-size: 1.12rem; }
.reader-all-category > h4 small { font: 400 .64rem var(--font-body); color: #758ba0; }
.reader-all-category .reader-item-table { border-radius: 0 0 5px 5px; }
.reader-item-table th, .reader-item-table td { padding: 7px 10px; }
.reader-item-table thead th { background: #f7f9fc; }
.reader-item-table tbody tr:nth-child(even) { background: #fbfcfe; }
.reader-grade-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 29px; border-radius: 5px; font-size: 1rem; font-weight: 600; }
.reader-grade-chip.high { color: #fff; background: #155b99; }
.reader-grade-chip.good { color: #174d78; background: #dbeafb; }
.reader-grade-chip.medium { color: #755409; background: #fff0c2; }
.reader-grade-chip.low { color: #a8373b; background: #fbe3e4; }
.reader-grade-chip.empty { color: #8da0b1; background: #f0f3f6; }
.reader-radar-bottom { margin-top: 20px; padding: 14px 12px 6px; }
.reader-radar-bottom > h4 { color: #3a6081; font: 600 1.15rem var(--font-display); margin: 0 0 4px; }
.reader-radar-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #dce7f2; }
.reader-radar-tabs .reader-radar-tab { padding: 9px 11px !important; background: #fff !important; border: 0 !important; color: #748ba1; font: 400 .7rem var(--font-body); }
.reader-radar-tabs .reader-radar-tab.is-selected { color: #164d7a; border-bottom: 2px solid #3978b1 !important; font-weight: 600; }
.report-match { display: block; font-size: .79rem; color: #2d506f; margin: 5px 0 3px; }
@media(max-width:1100px) {
    .reader-hero { gap: 12px; padding: 14px; }
    .reader-hero-identity h2 { font-size: 2rem; }
    .reader-column { padding: 12px; }
    .reader-item-table th, .reader-item-table td { padding: 7px 5px; }
}
@media(max-width:900px) {
    .reader-match-context { grid-template-columns: minmax(0,1fr) auto; }
    .reader-player-facts { grid-column: 1 / -1; padding: 12px 0 0; border-left: 0; border-top: 1px solid #d2e0ed; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .report-detail-modal.modal-dialog { width: calc(100% - 24px); margin: 12px auto; }
    .reader-columns { grid-template-columns: 1fr; }
    .reader-hero { flex-wrap: wrap; }
    .reader-hero-identity { flex-basis: calc(100% - 120px); }
    .reader-hero-score { flex: 1; }
    .reader-methodology { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media(max-width:550px) {
    .report-detail-modal .modal-body { padding: 8px; }
    .reader-hero-identity h2 { font-size: 1.7rem; }
    .reader-portrait { width: 58px; height: 70px; }
    .reader-hero-identity p { font-size: .74rem; }
    .reader-hero-score.primary strong { font-size: 2.25rem; }
    .reader-verdict { font-size: .9rem; }
    .reader-decision { min-width: 0; flex-basis: 100%; max-width: none; }
    .reader-match-context { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px; }
    .reader-match-context { grid-template-columns: minmax(0,1fr); }
    .reader-player-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .reader-match-main > strong { font-size: 1.22rem; }
    .reader-match-facts { gap: 24px; }
    .reader-item-table { font-size: .65rem; }
    .reader-item-table thead th { font-size: .59rem; padding: 8px 3px; overflow-wrap: anywhere; }
    .reader-item-table thead th:first-child { width: 46%; }
    .reader-note audio { max-width: 100%; }
    .reader-context-strip { grid-template-columns: 1fr; gap: 8px; }
    .reader-context-strip > div { border: 0; }
    .reader-radar .js-plotly-plot, .reader-radar .plot-container { min-height: 360px; }
}
