/* Reports workspace: solid surfaces, structured filters and readable report rows. */
.reports-page-header { background: #f4f6f9; margin: 0; padding: 24px 24px 22px; text-align: center; border: 1px solid #e2e8f0; border-bottom: 0; border-radius: 8px 8px 0 0; }
.reports-page-header .section-breadcrumb { color: #73859a; margin-bottom: 7px; }
.reports-page-header .section-page-title { color: #173e65; font-size: 2rem; font-weight: 600; }
.reports-page { background: #f4f6f9; padding: 0 18px 20px; border: 1px solid #e2e8f0; border-top: 0; border-radius: 0 0 8px 8px; min-height: calc(100vh - 150px); color: #203b56; }
.reports-box { background: #fff; border: 1px solid #e1e7ef; border-radius: 6px; box-shadow: none; }
.reports-filters { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 16px 18px 12px; margin-bottom: 18px; }
.reports-box-heading { grid-column: 1 / -1; display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.reports-page h2 { font: 600 1.15rem var(--font-display, Arial, sans-serif); margin: 0; color: #244767; }
.reports-box-heading > span { font-size: .76rem; color: #7a8b9e; }
.reports-primary-filters { display: grid; grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end; }
.reports-field { min-width: 0; }
.reports-field > label { display: block; font-weight: 500; font-size: .76rem; color: #536b82; margin-bottom: 5px; }
.reports-input { width: 100%; height: 38px; border: 1px solid #cfdae6; border-radius: 4px; background: #fff; color: #203b56; font: inherit; font-size: .82rem; padding: 8px 11px; }
.reports-input:focus { outline: 2px solid #a7c7e7; outline-offset: 1px; }
.reports-page .Select-control { border-color: #cfdae6; min-height: 38px; border-radius: 4px; font-size: .8rem; }
.reports-page .Select-placeholder, .reports-page .Select-value-label { line-height: 36px; }
.reports-page .Select-menu-outer { z-index: 30; font-size: .8rem; }
.reports-page .Select--multi .Select-value { background: #eef4fa; color: #245984; border-color: #d7e4f0; }
.reports-advanced { margin-top: 12px; min-width: 0; }
.reports-advanced[open] { grid-column: 1 / -1; }
.reports-search-action { min-height: 38px; padding-left: 22px; padding-right: 22px; }
.reports-advanced > summary { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; color: #426788; cursor: pointer; list-style: none; }
.reports-advanced > summary::-webkit-details-marker { display: none; }
.reports-advanced > summary::before { content: '+'; display: inline-flex; justify-content: center; width: 16px; font-size: 1rem; }
.reports-advanced[open] > summary::before { content: '\2212'; }
.reports-advanced-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 14px 0 4px; }
.reports-page .SingleDatePicker, .reports-page .SingleDatePickerInput, .reports-page .DateInput { width: 100%; }
.reports-page .DateInput_input { font: 400 .82rem var(--font-body, Arial, sans-serif); padding: 8px 11px; height: 36px; }
.reports-page .SingleDatePickerInput { border: 1px solid #cfdae6; border-radius: 4px; }
.reports-page .rc-slider { margin-top: 10px; }
.reports-page .rc-slider-track { background: #527fa8; }
.reports-page .rc-slider-handle { border-color: #527fa8; }
.reports-filter-actions { display: flex; align-items: center; gap: 8px; padding-top: 8px; justify-self: end; }
.reports-button-primary, .reports-button-secondary { font: 500 .78rem var(--font-body, Arial, sans-serif); border: 1px solid #ccd8e5; border-radius: 4px; padding: 8px 13px; cursor: pointer; box-shadow: none; white-space: nowrap; }
.reports-button-primary { background: #0d3b66; color: #fff; border-color: #0d3b66; }
.reports-button-secondary { background: #fff; color: #466681; }
.reports-button-primary:hover { background: #174f80; }
.reports-button-secondary:hover { background: #f1f5fa; }
.reports-filter-actions .reports-button-secondary { border: 0; padding: 4px 0; color: #788a9e; font-size: .72rem; }
.reports-filter-actions .reports-button-secondary:hover { background: transparent; color: #174f80; text-decoration: underline; }
.reports-page button:focus-visible, .reports-page a:focus-visible, .reports-page summary:focus-visible { outline: 2px solid #3978b1; outline-offset: 3px; }
.reports-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #e5ebf2; background: #fff; border-radius: 6px 6px 0 0; }
.reports-view-controls { display: flex; align-items: center; gap: 12px; }
.reports-view-toggle { display: flex; padding: 3px; border: 1px solid #dce4ed; border-radius: 5px; background: #f5f7fa; }
.reports-view-toggle label { padding: 5px 10px; margin: 0; font-size: .74rem; color: #6c8096; cursor: pointer; border-radius: 3px; }
.reports-view-toggle label:has(input:checked) { background: #fff; color: #224f78; box-shadow: 0 1px 3px #173e6515; }
.reports-view-toggle input { appearance: none; position: absolute; width: 1px; height: 1px; }
.reports-view-toggle label:has(input:focus-visible) { outline: 2px solid #3978b1; }
.reports-order { width: 170px; }
.reports-result-count { padding: 10px 18px; margin: 0; font-size: .72rem; color: #718499; background: #fcfdff; border-bottom: 1px solid #edf1f6; }
.reports-list { padding: 8px 12px 14px; background: #edf2f7; }
.report-card { display: grid; grid-template-columns: minmax(240px,1.1fr) minmax(220px,1fr) minmax(185px,.8fr); gap: 3px 22px; align-items: center; padding: 12px 16px 8px; margin-top: 8px; background: #fff; border: 1px solid #e2e9f1; border-radius: 6px; transition: border-color .15s ease, background-color .15s ease; }
.report-card:hover { border-color: #b9ccdf; background: #fdfefe; }
.report-player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.report-player > div { min-width: 0; }
.report-player-monogram { display: flex; align-items: center; justify-content: center; width: 44px; height: 48px; flex-shrink: 0; background: #edf3fa; color: #6e8baa; border-radius: 5px; font: 600 1.2rem var(--font-display, Arial, sans-serif); }
.report-player-photo { width: 48px; height: 52px; object-fit: contain; object-position: center; border-radius: 5px; background: #f3f6fa; flex-shrink: 0; }
.report-player-name { display: block; font-size: .96rem; font-weight: 600; color: #1d4d77; text-decoration: none; line-height: 1.3; }
.report-player-name:hover { text-decoration: underline; }
.report-player p { margin: 3px 0 2px; font-size: .76rem; color: #647c94; }
.report-position { display: inline-block; margin-left: 8px; padding-left: 8px; border-left: 1px solid #dce5ef; font-size: .68rem; color: #7e90a3; }
.report-meta-line { display: flex; gap: 12px; align-items: center; font-size: .76rem; color: #49657f; margin-bottom: 4px; }
.report-type { font-size: .65rem; color: #6483a0; padding: 2px 6px; border: 1px solid #e0e8f1; border-radius: 3px; }
.report-league { margin: 0 0 3px; font-size: .76rem; color: #3d5b76; }
.report-author { font-size: .7rem; color: #7a8da1; }
.report-assessment { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.report-verdict { padding: 5px 8px; border-radius: 4px; font-size: .7rem; line-height: 1.3; color: #657d95; background: #f0f4f8; text-align: center; }
.report-verdict.recommended { color: #205b86; background: #eaf3fc; }
.report-verdict.watch { color: #8a691f; background: #faf4e6; }
.report-verdict.declined { color: #896171; background: #f7eff2; }
.report-score { min-width: 60px; text-align: center; background: #eef4fb; border: 1px solid #dce8f5; border-radius: 6px; padding: 7px 8px; }
.report-score small { display: block; color: #8a9bad; font-size: .56rem; letter-spacing: .05em; margin-bottom: 3px; }
.report-score strong { color: #174f80; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-extra { grid-column: 1 / -1; margin-left: 60px; }
.report-extra summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .66rem; color: #7c8fa3; list-style: none; }
.report-extra summary::-webkit-details-marker { display: none; }
.report-extra summary::after { content: "+"; font-size: .85rem; }
.report-extra[open] summary::after { content: "\2212"; }
.report-extra > div { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 8px 0; font-size: .74rem; color: #4c6984; }
.reports-pagination { padding: 12px 18px; margin: 0; border-top: 1px solid #e5ebf2; }
.reports-pagination .pagination { margin: 0; justify-content: flex-end; gap: 3px; }
.reports-pagination .page-link { border-radius: 4px; color: #416888; font-size: .77rem; border-color: #dce5ef; }
.reports-pagination .page-item.active .page-link { background: #0d3b66; border-color: #0d3b66; color: #fff; }
.reports-empty { text-align: center; padding: 50px 20px; }
.reports-empty h3 { font: 500 1.25rem var(--font-display, Arial, sans-serif); color: #3c5c79; }
.reports-empty p { color: #8192a4; font-size: .8rem; }
.reports-results .dash-table-container { padding: 0 16px 16px; }
@media(max-width:1100px) { .report-card { grid-template-columns: minmax(180px,1.2fr) minmax(160px,1fr) minmax(150px,.8fr); gap: 4px 12px; } .reports-view-controls { gap: 6px; } }
@media(max-width:850px) { .reports-primary-filters, .reports-advanced-grid { grid-template-columns: 1fr 1fr; } .reports-field-wide { grid-column: 1 / -1; } .reports-results-toolbar, .reports-box-heading { flex-wrap: wrap; } .reports-view-controls { flex-wrap: wrap; } .report-card { grid-template-columns: 1fr auto; } .report-context { grid-column: 1; } .report-assessment { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; justify-content: center; } .report-score { border: 0; padding: 0; } }
@media(max-width:550px) { .reports-page { padding: 0 8px 12px; } .reports-page-header { padding: 16px; } .reports-primary-filters, .reports-advanced-grid { grid-template-columns: 1fr; } .reports-box-heading > span { display: none; } .reports-view-controls { width: 100%; } .reports-order { flex: 1; min-width: 140px; } .reports-filters { padding: 12px; } .reports-list { padding: 0 12px; } .report-card { gap: 7px; } .report-player { gap: 8px; } .report-player-name { font-size: .85rem; } .report-extra { margin-left: 0; } }

@media (max-width: 1100px) {
    .reports-primary-filters { grid-template-columns: 1.2fr 1fr 1fr; }
    .reports-search-action { justify-self: start; }
}
@media (max-width: 850px) {
    .reports-primary-filters { grid-template-columns: 1fr 1fr; }
    .reports-field-wide { grid-column: 1 / -1; }
    .reports-search-action { grid-column: 1 / -1; }
    .report-score { border: 1px solid #dce8f5; padding: 7px 8px; }
}
@media (max-width: 550px) {
    .reports-primary-filters { grid-template-columns: 1fr; }
    .reports-filters { gap: 0 8px; }
    .report-card { padding: 10px; }
    .reports-list { padding: 2px 8px 8px; }
}

/* Full-report reader. The card's real button provides mouse and keyboard access. */
.report-card { position: relative; }
.report-card-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-left: 60px; padding-top: 4px; }
.report-open { border: 0; background: transparent; color: #3b6d97; padding: 0; font: 500 .7rem var(--font-body, Arial, sans-serif); cursor: pointer; }
.report-open::after { content: ''; position: absolute; inset: 0; border-radius: 6px; }
.report-open:focus-visible { outline: none !important; }
.report-open:focus-visible::after { outline: 2px solid #3978b1; outline-offset: 2px; }
.report-player-link { position: relative; z-index: 1; font-size: .67rem; color: #7a8da1; text-decoration: none; }
.report-player-link:hover { color: #174f80; text-decoration: underline; }
.report-detail-modal .modal-content { background: #f5f7fa; border: 0; border-radius: 10px; color: #243e58; }
.report-detail-modal .modal-header { background: #fff; padding: 15px 24px; border-bottom: 1px solid #dfe7f0; }
.report-detail-modal .modal-title { font: 600 1.2rem var(--font-display, Arial, sans-serif); color: #244767; }
.report-detail-modal .modal-body { padding: 20px 24px; }
.report-detail-modal .modal-footer { background: #fff; padding: 10px 24px; }
.report-detail-identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.report-detail-identity h2 { font: 600 1.9rem var(--font-display, Arial, sans-serif); margin: 0 0 3px; color: #173e65; }
.report-detail-identity p { margin: 0; font-size: .8rem; color: #71869b; }
.report-detail-identity a { font-size: .76rem; color: #3e739f; text-decoration: none; }
.report-detail-scores { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.report-detail-scores > div { background: #fff; border: 1px solid #dfe7ef; border-radius: 6px; padding: 12px; }
.report-detail-scores > div:first-child { background: #eaf2fb; border-color: #cfdfef; }
.report-detail-scores small { display: block; color: #70879d; font-size: .65rem; }
.report-detail-scores strong { display: block; color: #205680; font-size: 1.35rem; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.report-detail-section, .report-detail-context { background: #fff; border: 1px solid #e1e8f0; border-radius: 6px; padding: 16px 18px; margin-bottom: 12px; }
.report-detail-modal h3 { margin: 0 0 10px; font: 600 1.1rem var(--font-display, Arial, sans-serif); color: #2b506f; }
.report-detail-context dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px 20px; margin: 0; }
.report-detail-context dt { color: #8a9bad; font-size: .65rem; font-weight: 400; margin-bottom: 2px; }
.report-detail-context dd { color: #4a6680; font-size: .78rem; margin: 0; overflow-wrap: anywhere; }
.report-detail-text { font-size: .86rem; line-height: 1.75; color: #3d5871; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.report-detail-text.is-empty { color: #8a9aab; font-size: .77rem; }
.report-detail-modal audio { width: 100%; }
.report-item-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.report-item-category h4 { font: 600 .9rem var(--font-display, Arial, sans-serif); color: #58738d; padding-bottom: 6px; margin: 0; border-bottom: 1px solid #e5ebf2; }
.report-item-score { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .74rem; border-bottom: 1px solid #f0f3f7; }
.report-item-score strong { color: #2a608b; font-variant-numeric: tabular-nums; }
.reports-results td[data-dash-column="abrir"] { color: #1d669d; cursor: pointer; font-weight: 600; }
@media(max-width:800px) {
    .report-detail-scores { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .report-detail-context dl, .report-item-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .report-detail-identity { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media(max-width:550px) {
    .report-card-actions { margin-left: 0; }
    .report-detail-modal .modal-body { padding: 12px; }
    .report-detail-context dl, .report-item-categories { grid-template-columns: 1fr; }
}

/* Paired, precise range controls for dates and adjusted score. */
.reports-period-filter, .reports-score-filter { min-width: 0; background: #f7f9fc; border: 1px solid #dfe7f0; border-radius: 6px; padding: 14px 16px 12px; }
.reports-period-filter { grid-column: span 2; }
.reports-range-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.reports-range-heading > label { font: 500 .78rem var(--font-body, Arial, sans-serif); color: #365a7b; margin: 0; }
.reports-range-heading > span { font-size: .68rem; font-variant-numeric: tabular-nums; color: #326b9b; background: #e8f0f9; padding: 4px 7px; border-radius: 4px; }
.reports-date-inputs { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 15px; }
.reports-date-inputs > div { flex: 1; min-width: 0; }
.reports-date-inputs label { display: block; font-size: .64rem; color: #8092a6; margin-bottom: 3px; }
.reports-date-separator { padding-bottom: 10px; color: #b1bdcc; }
.reports-date-inputs .DateInput_input { font-size: .78rem; font-variant-numeric: tabular-nums; }
.reports-period-filter .rc-slider, .reports-score-filter .rc-slider { margin: 0; padding-top: 5px; }
.reports-period-filter .rc-slider-rail, .reports-score-filter .rc-slider-rail { height: 5px; background: #e0e7f0; }
.reports-period-filter .rc-slider-track, .reports-score-filter .rc-slider-track { height: 5px; background: #3978b1; }
.reports-period-filter .rc-slider-handle, .reports-score-filter .rc-slider-handle { width: 16px; height: 16px; margin-top: -5px; border: 3px solid #3978b1; background: #fff; opacity: 1; box-shadow: 0 1px 3px #183e651a; }
.reports-period-filter .rc-slider-handle:focus-visible, .reports-score-filter .rc-slider-handle:focus-visible { box-shadow: 0 0 0 4px #3978b12b; }
.reports-period-filter .rc-slider-mark-text, .reports-score-filter .rc-slider-mark-text { font: 400 .61rem var(--font-body, Arial, sans-serif); color: #8193a7; padding-top: 2px; }
.reports-period-filter .rc-slider-dot, .reports-score-filter .rc-slider-dot { border-color: #ccdbea; background: #fff; width: 6px; height: 6px; bottom: -3px; }
.reports-period-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 25px; }
.reports-period-shortcuts button { border: 1px solid #d6e2ee; background: #fff; color: #597895; font: 400 .65rem var(--font-body, Arial, sans-serif); border-radius: 4px; padding: 5px 8px; cursor: pointer; }
.reports-period-shortcuts button:hover { background: #eaf2fb; border-color: #adc8e2; color: #245d8e; }
.reports-score-filter > div:nth-child(2) { margin-top: 24px; }
.reports-score-filter > p { color: #8a9aac; font-size: .7rem; line-height: 1.5; margin: 24px 0 0; }
@media(max-width:850px) {
    .reports-period-filter { grid-column: 1 / -1; }
    .reports-score-filter { grid-column: 1 / -1; }
}
@media(max-width:550px) {
    .reports-range-heading { flex-wrap: wrap; gap: 6px; }
    .reports-date-inputs { gap: 6px; }
    .reports-date-inputs .DateInput_input { padding: 8px 5px; font-size: .71rem; }
}

/* Exterior report card: identity, match and decision form one reading line. */
.reports-list .report-card { grid-template-columns: minmax(220px,.85fr) minmax(270px,1.3fr) 245px; gap: 12px 24px; padding: 14px 18px 0; margin-top: 10px; border: 1px solid #d7e1eb; border-left: 4px solid var(--report-accent,#3978b1); border-radius: 7px; box-shadow: 0 2px 8px rgba(25,59,91,.07); }
.reports-list .report-card:nth-child(even) { background: #f8fbfe; }
.reports-list .report-card:hover { border-color: #aebfd0; border-left-color: var(--report-accent,#3978b1); background: #fff; box-shadow: 0 5px 16px rgba(25,59,91,.12); transform: translateY(-1px); }
.report-card .report-player { gap: 14px; }
.report-card .report-player-photo { width: 56px; height: 62px; }
.report-card .report-player-name { font: 600 1.45rem/1.15 var(--font-display); color: #173e65; }
.report-card .report-player p { font-size: .74rem; margin-top: 6px; }
.report-card .report-context { min-width: 0; border-left: 1px solid #e5ebf2; padding-left: 22px; }
.report-card .report-context.is-general { padding: 10px 14px 10px 22px; background: #f0f5fa; border-radius: 5px; }
.report-card .report-context.is-general .report-context-label { color: #2e6997; }
.report-context-label, .report-decision > small { display: block; font-size: .57rem; letter-spacing: .06em; color: #7b8fa2; margin: 0 0 6px; }
.report-card .report-match { font: 600 .9rem/1.35 var(--font-body); color: #2d4b67; margin: 0 0 5px; overflow-wrap: anywhere; }
.report-card .report-league { margin: 0; color: #788da1; font-size: .71rem; }
.report-card .report-assessment { display: grid; grid-template-columns: 1fr 66px; gap: 14px; align-items: center; }
.report-decision { text-align: center; }
.report-card .report-verdict { width: 100%; padding: 10px 8px; font-size: .8rem; }
.report-card .report-score { min-width: 0; padding: 8px 6px; border: 0; border-radius: 5px; background: #f0f5fa; text-align: center; }
.report-card .report-score strong { font: 600 1.7rem/1.1 var(--font-display); }
.report-card-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -18px; padding: 9px 18px; border-top: 1px solid #e3eaf1; background: rgba(238,244,250,.6); border-radius: 0 0 6px 3px; }
.report-card-footer .report-meta-line { flex-wrap: wrap; gap: 8px 12px; margin: 0; font-size: .68rem; color: #74899f; }
.report-card-footer .report-meta-line > span:first-child { padding: 3px 7px; border-radius: 3px; background: #fff; border: 1px solid #dce5ee; color: #446785; font-variant-numeric: tabular-nums; }
.report-card-footer .report-author { font-size: .68rem; color: #58728b; }
.report-card .report-card-actions { margin: 0; padding: 0; gap: 18px; flex-shrink: 0; }
.report-card .report-open { color: #215681; font-size: .72rem; font-weight: 600; }
.report-card .report-player-link { font-size: .67rem; }
@media(min-width:1600px) { .reports-list .report-card { grid-template-columns: 310px minmax(270px,1fr) 270px; } }
@media(max-width:1100px) {
    .reports-list .report-card { grid-template-columns: minmax(180px,1fr) minmax(210px,1.2fr) 200px; gap: 12px 15px; padding: 12px 14px 0; }
    .report-card-footer { margin: 0 -14px; padding: 9px 14px; }
    .report-card .report-context { padding-left: 15px; }
    .report-card .report-assessment { grid-template-columns: 1fr 54px; gap: 8px; }
}
@media(max-width:850px) {
    .reports-list .report-card { grid-template-columns: minmax(0,1fr) 180px; }
    .report-card .report-context { grid-column: 1; grid-row: 2; border-left: 0; padding: 0; }
    .report-card .report-assessment { grid-column: 2; grid-row: 1 / 3; }
    .report-card-footer { align-items: flex-start; flex-wrap: wrap; }
}
@media(max-width:550px) {
    .reports-list .report-card { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 13px 12px 0; }
    .report-card-footer { margin: 0 -12px; padding: 10px 12px; }
    .report-card .report-context, .report-card .report-assessment { grid-column: 1; grid-row: auto; }
    .report-card .report-assessment { grid-template-columns: minmax(0,1fr) 64px; align-items: end; }
    .report-card .report-decision { text-align: left; }
    .report-card .report-verdict { text-align: center; }
    .report-card .report-card-actions { width: 100%; justify-content: space-between; gap: 8px; }
    .report-card-footer { gap: 12px; }
}
