/* The public scorecard shares Scoutics navigation, colors and theme controls. */
.performance-page {
  --report-bg: var(--sds-bg, var(--shell-paper));
  --report-surface: var(--sds-panel, var(--shell-surface));
  --report-soft: var(--sds-panel-2, var(--shell-surface-2));
  --report-ink: var(--sds-text, var(--shell-ink));
  --report-muted: var(--sds-muted, var(--shell-ink-soft));
  --report-rule: var(--sds-border, var(--shell-rule));
  --report-blue: #4f7fff;
  background: var(--report-bg);
  color: var(--report-ink);
  font: 15px/1.55 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
}
html[data-theme="light"] .performance-page { --report-blue: #2563eb; }
.performance-page *, .performance-page *::before, .performance-page *::after { box-sizing: border-box; }
.performance-page .sds-hero { display: none !important; }
.performance-page .sds-brand-dot, .performance-page .sds-brand-text { color: var(--report-ink) !important; }
.performance-page .scoutics-menu-panel:not(.is-open) { visibility: hidden; box-shadow: none; }
.performance-page #scoutics-login-cta { display: none !important; }
.performance-page .site-shell { max-width: none; }
.performance-page h1, .performance-page h2, .performance-page h3, .performance-page p { margin: 0; }
.performance-page .performance-layout { width: min(1160px, 100%); margin: 0 auto; padding: 44px 32px 22px; display: grid; gap: 30px; }
.performance-page .report-skip { position: absolute; left: -10000px; }
.performance-page .report-skip:focus { position: fixed; left: 80px; top: 12px; z-index: 999; padding: 10px 16px; background: var(--report-surface); color: var(--report-ink); }
.performance-page a, .performance-page summary { -webkit-tap-highlight-color: transparent; }
.performance-page a:focus-visible, .performance-page summary:focus-visible { outline: 3px solid var(--report-blue); outline-offset: 5px; border-radius: 8px; }
.performance-page [hidden] { display: none !important; }
.performance-page .report-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--report-muted); }
.performance-page .report-hero { padding: 0 0 25px; border-bottom: 1px solid var(--report-rule); }
.performance-page .report-hero > .report-eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.performance-page .report-tag { background: rgba(79,127,255,.12); color: var(--report-blue); border-radius: 5px; padding: 5px 8px; letter-spacing: .06em; }
.performance-page .report-hero h1 { font-size: clamp(34px, 4.3vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; margin: 16px 0 14px; }
.performance-page .report-hero h1 span { color: var(--report-blue); }
.performance-page .report-hero > p { font-size: 16px; line-height: 1.65; color: var(--report-muted); max-width: 720px; }
.performance-page .report-hero-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.performance-page .report-provenance { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--report-muted); }
.performance-page .report-provenance .ti { font-size: 17px; color: var(--report-blue); }
.performance-page .report-link { color: var(--report-ink); font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.performance-page .report-link:hover { color: var(--report-blue); }
.performance-page .report-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.performance-page h2 { font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.performance-page .report-section-heading h2 { margin-top: 5px; }
.performance-page .report-section-note { font-size: 12px; color: var(--report-muted); }
.performance-page .report-sports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.performance-page .report-sport { display: flex; flex-direction: column; min-width: 0; padding: 18px; color: var(--report-ink); background: var(--report-surface); border: 1px solid var(--report-rule); border-radius: 14px; text-decoration: none; transition: border-color .15s, background .15s; }
.performance-page .report-sport:hover { border-color: var(--report-blue); }
.performance-page .report-sport[aria-current="true"] { border-color: var(--report-blue); background: linear-gradient(135deg, rgba(79,127,255,.09), transparent 85%), var(--report-surface); box-shadow: inset 0 0 0 1px var(--report-blue); }
.performance-page .report-sport-top { display: flex; align-items: center; gap: 9px; }
.performance-page .report-sport-icon { width: 32px; height: 32px; background: rgba(79,127,255,.11); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--report-blue); font-size: 19px; }
.performance-page .report-sport-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.performance-page .report-card-arrow { margin-left: auto; color: var(--report-muted); font-size: 17px; }
.performance-page .report-sport[aria-current="true"] .report-card-arrow { color: var(--report-blue); }
.performance-page .report-sport-description { font-size: 11px; color: var(--report-muted); margin-top: 7px; }
.performance-page .report-score { display: block; font-size: clamp(32px, 3.4vw, 40px); font-weight: 750; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-top: 22px; }
.performance-page .report-score-label { font-size: 11px; margin-top: 6px; color: var(--report-muted); }
.performance-page .report-sport-count { font-size: 12px; margin-top: 18px; }
.performance-page .report-sport-date { font-size: 10px; margin-top: 3px; color: var(--report-muted); }
.performance-page .report-score--missing { font-size: 19px; letter-spacing: -.02em; }
.performance-page .report-caption { font-size: 12px; line-height: 1.65; color: var(--report-muted); margin-top: 12px; }
.performance-page .report-detail { background: var(--report-surface); border: 1px solid var(--report-rule); border-radius: 16px; padding: 24px; scroll-margin-top: 24px; }
.performance-page .report-detail + .report-detail { margin-top: 18px; }
.performance-page .report-detail-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.performance-page .report-detail-header h2 { margin-top: 5px; }
.performance-page .report-detail-header h2 span { font-weight: 500; }
.performance-page .report-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--report-muted); font-size: 11px; padding: 7px 10px; border: 1px solid var(--report-rule); border-radius: 7px; white-space: nowrap; }
.performance-page .report-detail-intro { font-size: 12px; color: var(--report-muted); margin-top: 8px; }
.performance-page .report-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding: 20px 0; border-top: 1px solid var(--report-rule); border-bottom: 1px solid var(--report-rule); }
.performance-page .report-result { display: flex; flex-direction: column; padding: 0 18px; border-left: 1px solid var(--report-rule); min-width: 0; }
.performance-page .report-result:first-child { padding-left: 0; border-left: 0; }
.performance-page .report-result-label { font-size: 12px; font-weight: 600; }
.performance-page .report-result strong { font-size: 32px; line-height: 1.2; letter-spacing: -.03em; margin: 8px 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.performance-page .report-result:first-child strong { color: var(--report-blue); }
.performance-page .report-result small { font-size: 22px; }
.performance-page .report-result > span:last-child { font-size: 10px; line-height: 1.5; color: var(--report-muted); }
.performance-page .report-test-context { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; padding: 18px 0; }
.performance-page .report-small-label { display: block; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--report-muted); margin-bottom: 6px; }
.performance-page .report-test-context strong { font-size: 12px; font-weight: 550; display: block; }
.performance-page .report-test-context strong span { color: var(--report-muted); font-weight: 400; }
.performance-page .report-exclusions { margin: -4px 0 16px; }
.performance-page .report-observation { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; background: rgba(79,127,255,.07); border-radius: 8px; font-size: 12px; margin-bottom: 16px; }
.performance-page .report-observation .ti { font-size: 18px; margin-top: 1px; color: var(--report-blue); }
.performance-page .report-technical { border-top: 1px solid var(--report-rule); }
.performance-page summary { cursor: pointer; list-style: none; }
.performance-page summary::-webkit-details-marker { display: none; }
.performance-page .report-technical > summary { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; padding-top: 15px; }
.performance-page .report-technical > summary .ti { transition: transform .15s; }
.performance-page .report-technical[open] > summary .ti { transform: rotate(180deg); }
.performance-page .report-technical-body { padding-top: 20px; }
.performance-page h3 { font-size: 14px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; }
.performance-page .report-technical-body p { font-size: 12px; color: var(--report-muted); margin-top: 6px; }
.performance-page .report-table-wrap { overflow-x: auto; margin: 14px 0 24px; border: 1px solid var(--report-rule); border-radius: 9px; }
.performance-page .report-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.performance-page .report-table th, .performance-page .report-table td { padding: 10px 14px; border-bottom: 1px solid var(--report-rule); text-align: left; font-variant-numeric: tabular-nums; }
.performance-page .report-table thead th { font-weight: 600; background: var(--report-soft); }
.performance-page .report-table tbody th { font-weight: 500; color: var(--report-muted); }
.performance-page .report-table tr:last-child th, .performance-page .report-table tr:last-child td { border-bottom: 0; }
.performance-page .report-splits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 14px 0; }
.performance-page .report-splits li { display: flex; flex-direction: column; gap: 8px; padding: 13px; border: 1px solid var(--report-rule); border-radius: 9px; }
.performance-page .report-splits li > span { font-size: 11px; font-weight: 600; }
.performance-page .report-splits strong { font-size: 14px; }
.performance-page .report-splits time { font-size: 11px; color: var(--report-muted); }
.performance-page .report-splits .report-split--test { border-color: var(--report-blue); background: rgba(79,127,255,.06); }
.performance-page code { font-size: 11px; overflow-wrap: anywhere; }
.performance-page .report-technical-meta { padding-top: 6px; }
.performance-page .report-reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.performance-page .report-reading-grid article { padding-top: 14px; border-top: 1px solid var(--report-rule); }
.performance-page .report-reading-number { color: var(--report-blue); font-size: 12px; font-weight: 700; }
.performance-page .report-reading-grid h3 { margin-top: 10px; }
.performance-page .report-reading-grid p { font-size: 12px; color: var(--report-muted); line-height: 1.7; margin-top: 8px; }
.performance-page .report-method { border: 1px solid var(--report-rule); border-radius: 14px; scroll-margin-top: 24px; }
.performance-page .report-method > summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; gap: 16px; }
.performance-page .report-method h2 { font-size: 19px; margin-top: 5px; }
.performance-page .report-method > summary > .ti { font-size: 20px; color: var(--report-blue); transition: transform .15s; }
.performance-page .report-method[open] > summary > .ti { transform: rotate(45deg); }
.performance-page .report-method-body { border-top: 1px solid var(--report-rule); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.performance-page .report-method-body p { font-size: 12px; color: var(--report-muted); line-height: 1.7; margin-top: 10px; }
.performance-page .report-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; border: 1px solid var(--report-rule); border-radius: 14px; background: linear-gradient(110deg, rgba(79,127,255,.09), transparent), var(--report-surface); }
.performance-page .report-cta h2 { margin-top: 7px; }
.performance-page .report-cta p { font-size: 12px; color: var(--report-muted); margin-top: 8px; }
.performance-page .report-button { display: inline-flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 8px; background: #4f7fff; color: #fff; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.performance-page .report-button:hover { background: #3766e8; }
.performance-page .report-unavailable { font-size: 14px; color: var(--report-muted); padding: 22px 0 5px; }
.performance-page .report-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--report-muted); font-size: 10px; }
.performance-page .report-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1099px) {
  .performance-page .performance-layout { padding-top: 26px; }
  .performance-page .report-detail, .performance-page .report-method { scroll-margin-top: 80px; }
}
@media (max-width: 760px) {
  .performance-page .performance-layout { padding: 24px 18px 20px; gap: 24px; }
  .performance-page .report-sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .performance-page .report-section-heading { align-items: start; flex-direction: column; gap: 7px; }
  .performance-page .report-detail { padding: 18px; }
  .performance-page .report-detail-header { align-items: start; flex-direction: column; }
  .performance-page .report-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .performance-page .report-result:nth-child(3) { border-left: 0; padding-left: 0; }
  .performance-page .report-test-context { grid-template-columns: 1fr; gap: 14px; }
  .performance-page .report-reading-grid, .performance-page .report-method-body { grid-template-columns: 1fr; }
  .performance-page .report-reading-grid { gap: 18px; }
  .performance-page .report-splits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .performance-page .report-cta { align-items: start; flex-direction: column; padding: 22px; gap: 18px; }
  .performance-page .report-hero > p { font-size: 14px; }
  .performance-page .report-hero-bottom { margin-top: 18px; }
}
@media (max-width: 380px) {
  .performance-page .performance-layout { padding-left: 12px; padding-right: 12px; }
  .performance-page .report-sport { padding: 13px; }
  .performance-page .report-score { font-size: 32px; }
  .performance-page .report-sport-count { font-size: 11px; }
  .performance-page .report-sport-description { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .performance-page * { scroll-behavior: auto !important; transition: none !important; }
}
.performance-page .report-sport-icon svg { width: 100%; height: 100%; display: block; }
/* Candidate comparison keeps selection evidence separate from the later test. */
.performance-page .report-model-count { margin-left: 8px; font-size: 10px; font-weight: 500; color: var(--report-muted); }
.performance-page .report-table-wrap:focus-visible { outline: 2px solid var(--report-blue); outline-offset: 3px; }
.performance-page .report-model-table { min-width: 700px; }
.performance-page .report-model-table caption { padding: 11px 14px; text-align: left; color: var(--report-muted); font-size: 11px; border-bottom: 1px solid var(--report-rule); }
.performance-page .report-model-table thead tr:first-child th { font-size: 11px; }
.performance-page .report-model-table thead tr:first-child th:not(:first-child) { text-align: center; }
.performance-page .report-model-table tbody th { max-width: 230px; color: var(--report-ink); }
.performance-page .report-model-table tbody td { white-space: nowrap; }
.performance-page .report-model-selected { background: rgba(79,127,255,.06); }
.performance-page .report-selected-label, .performance-page .report-baseline-label { display: block; width: fit-content; margin-top: 5px; font-size: 9px; font-weight: 650; padding: 3px 5px; border-radius: 4px; color: var(--report-blue); background: rgba(79,127,255,.1); }
.performance-page .report-baseline-label { color: var(--report-muted); background: var(--report-soft); }
.performance-page .report-technical-body .report-comparison-note { margin: -13px 0 24px; line-height: 1.65; }
