.strategy-screen { min-width: 0; color: #e8f1ff; }
.strategy-screen [hidden] { display: none !important; }
.strategy-screen section { margin: 0 0 20px; }
.strategy-screen h2 { font-size: 1.4rem; line-height: 1.3; }
.ss-intro-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ss-eyebrow { margin: 0 0 8px; font-size: .75rem; color: #86e0bd; letter-spacing: .1em; font-weight: 750; }
.ss-intro h2 { margin: 0 0 10px; }
.ss-intro-copy { margin: 0; max-width: 720px; font-size: 1rem; color: #bdcfe3; }
.strategy-screen button { min-height: 44px; font-size: .875rem; }
.ss-refresh { width: auto; flex-shrink: 0; }
.ss-refresh:disabled { opacity: .65; cursor: wait; }
.ss-metadata { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #31475f; align-items: center; }
.ss-metadata p { margin: 0; font-size: .8125rem; color: #b4cbe0; }
.ss-collection-status { display: inline-flex; border-radius: 6px; padding: 4px 9px; background: #193b31; color: #a0e4c7; font-size: .75rem; border: 1px solid #3b6255; }
.ss-collection-status:empty { display: none; }
.ss-collection-warning { color: #eed49f; background: #3b301c; border-color: #7b653f; }
.ss-controls { display: grid; grid-template-columns: 1.15fr .8fr .9fr .9fr 1.25fr; gap: 14px; }
.ss-field { min-width: 0; }
.ss-field label { font-size: .875rem; color: #c3d5e9; }
.ss-field select, .ss-field input { width: 100%; min-height: 44px; font-size: .875rem; padding: 10px 12px; }
.ss-field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bcd2e6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.ss-rule { padding: 18px 20px; border-left: 3px solid #69c5a3; background: #132b31; border-radius: 0 9px 9px 0; }
.ss-rule p { margin: 0 0 8px; font-size: .875rem; color: #c1d9df; }
.ss-rule p:last-child { margin-bottom: 0; }
.ss-rule .ss-rule-primary { color: #d6f7e8; font-size: 1rem; font-weight: 700; }
.ss-rule .ss-goal-note { color: #a4beca; font-size: .8125rem; }
.ss-status { margin: 0 0 16px; font-size: .875rem; color: #b5cde2; }
.ss-summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.ss-summary-heading p { margin: 0; font-size: .875rem; color: #c4d9ee; }
.strategy-screen .ss-jump { width: auto; background: none; border: 1px solid #3c5872; padding: 9px 14px; color: #a9d8f5; flex-shrink: 0; }
.ss-count-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ss-count { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #14263b; border: 1px solid #354c65; border-radius: 10px; padding: 16px 18px; min-width: 0; }
.ss-count span { color: #c3d6e8; font-size: .875rem; }
.ss-count strong { color: #dcefff; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.ss-count-match { border-color: #426454; background: #173329; }
.ss-count-match strong { color: #a4e9c8; }
.ss-count-inadequate strong { color: #e8c88e; }
.ss-count-note { margin: 10px 0 0; color: #a9bed3; font-size: .8125rem; }
.ss-evidence { border-color: #3b536b; }
.ss-evidence h2 { margin: 0 0 8px; }
.ss-evidence-period { margin: 0 0 10px; font-size: .875rem; color: #c6d9eb; }
.ss-evidence-note { margin: 0 0 16px; max-width: 860px; font-size: .875rem; color: #b7c8dd; }
.ss-table-scroll { overflow-x: auto; border: 1px solid #354c65; border-radius: 9px; }
.strategy-screen .ss-table { width: 100%; min-width: 0; border-collapse: collapse; margin: 0; }
.strategy-screen .ss-table th, .strategy-screen .ss-table td { padding: 11px 14px; font-size: .875rem; text-transform: none; letter-spacing: normal; color: #d3e4f5; border-bottom: 1px solid #2c435e; background: transparent; position: static; }
.strategy-screen .ss-table th { font-weight: 600; text-align: left; }
.strategy-screen .ss-table thead th { background: #1b2e46; color: #dcecff; }
.strategy-screen .ss-table tbody th { color: #bacfe3; font-weight: 500; }
.strategy-screen .ss-table td { text-align: right; font-variant-numeric: tabular-nums; }
.strategy-screen .ss-table thead th:not(:first-child) { text-align: right; }
.strategy-screen .ss-table tr:last-child > * { border-bottom: 0; }
.strategy-screen .ss-table tbody tr:nth-child(even) { background: #122237; }
.ss-evidence-table { table-layout: fixed; }
.strategy-screen .ss-evidence-table th, .strategy-screen .ss-evidence-table td { white-space: normal; overflow-wrap: anywhere; }
.ss-evidence-table th:first-child { width: 40%; }
.ss-price-coverage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.ss-price-coverage p { margin: 0; padding: 12px 14px; border: 1px solid #334d65; background: #112238; border-radius: 8px; }
.ss-price-coverage strong { display: block; font-size: 1.125rem; color: #d6e7f8; }
.ss-price-coverage span { display: block; margin-top: 4px; color: #abc2d9; font-size: .8125rem; }
.ss-price-method { margin: 0 0 16px; color: #adc3d9; font-size: .8125rem; }
.ss-season-details summary { width: fit-content; cursor: pointer; color: #aed6f2; min-height: 44px; padding: 10px 0; font-size: .875rem; font-weight: 600; }
.ss-season-details[open] summary { margin-bottom: 6px; }
.ss-season-table { min-width: 460px !important; }
.ss-results-section { scroll-margin-top: 180px; }
.ss-results-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.ss-results-header h2 { margin: 0 0 6px; }
.ss-results-count { margin: 0; color: #b7cde1; font-size: .875rem; }
.ss-result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.strategy-screen .ss-result-actions button { width: auto; }
.strategy-screen .ss-clear { background: transparent; color: #a8d4f3; padding: 9px 6px; text-decoration: underline; text-underline-offset: 3px; }
.ss-export:disabled { opacity: .5; cursor: default; }
.ss-fixture-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.strategy-screen .ss-fixture { margin: 0; min-width: 0; padding: 20px; }
.ss-fixture-meta { display: flex; justify-content: space-between; gap: 12px; color: #a8c5dc; font-size: .8125rem; }
.ss-fixture-meta time { white-space: nowrap; color: #c6dced; }
.ss-verdict { display: inline-flex; margin-top: 14px; padding: 5px 10px; border-radius: 6px; color: #c9d9ea; background: #2a3b50; border: 1px solid #425b73; font-size: .8125rem; font-weight: 650; }
.ss-verdict-match { background: #173b2d; color: #a7e8c6; border-color: #3e6b55; }
.ss-verdict-insufficient_history, .ss-verdict-unmatched_team, .ss-verdict-unavailable { background: #3b311e; color: #ead19b; border-color: #786440; }
.ss-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0 18px; }
.ss-team { min-width: 0; }
.ss-team-away { text-align: right; }
.ss-team-side { display: block; color: #9cb8d1; font-size: .75rem; font-weight: 650; letter-spacing: .06em; margin-bottom: 6px; }
.strategy-screen .ss-team h3 { margin: 0; font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; color: #e9f3ff; }
.ss-canonical { margin: 5px 0 0; color: #a5bfd5; font-size: .75rem; }
.ss-ppg { margin: 12px 0 6px; }
.ss-ppg strong { display: block; color: #d5f2e4; font-size: 1.8rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ss-ppg span { display: block; margin-top: 3px; color: #b6cede; font-size: .8125rem; }
.ss-history-counts, .ss-history-range { margin: 5px 0 0; color: #abc2d8; font-size: .8125rem; }
.ss-gap { margin: 0 0 8px; padding: 10px 12px; background: #102137; border: 1px solid #314b64; border-radius: 7px; color: #c4d9ec; font-size: .875rem; font-variant-numeric: tabular-nums; }
.ss-reason { margin: 0 0 8px; color: #d0e0ef; font-size: .875rem; }
.ss-cutoff { margin: 0; color: #a4bfd5; font-size: .8125rem; }
.ss-history-details { margin-top: 16px; border-top: 1px solid #304960; }
.ss-history-details summary { padding: 12px 0; min-height: 44px; color: #afd7f4; cursor: pointer; width: fit-content; font-size: .875rem; font-weight: 600; }
.ss-date-note { margin: 2px 0 14px; color: #b0c5d9; font-size: .8125rem; }
.ss-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.strategy-screen .ss-date-team h4 { font-size: .875rem; margin: 0 0 9px; color: #d8e8f6; overflow-wrap: anywhere; }
.ss-date-list { list-style: none; margin: 0; padding: 0; }
.ss-date-list li { padding: 8px 0; border-bottom: 1px solid #2e465c; }
.ss-date-list li:last-child { border-bottom: 0; }
.ss-date-list time, .ss-date-list span { display: block; font-size: .8125rem; }
.ss-date-list time { color: #c7dceb; }
.ss-date-list span { margin-top: 2px; color: #a3bdd4; }
.ss-no-history { margin: 0; color: #d9c498; font-size: .875rem; }
.ss-fixture-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.strategy-screen .ss-fixture-actions button { flex: 1 1 150px; width: auto; margin: 0; min-height: 44px; }
.strategy-screen .ss-analysis-button { color: #b3ead0; border: 1px solid #3e6657; background: #1a3c30; }
.strategy-screen .ss-analysis-button:hover { background: #27513f; }
.strategy-screen .ss-prices-button { color: #c2dff5; border: 1px solid #405e7b; background: #203a54; }
.strategy-screen .ss-prices-button:hover { background: #2a4b6c; }
.ss-analysis-error { margin: 8px 0 0; color: #e8cb97; font-size: .875rem; }
.strategy-screen .ss-more { display: block; width: auto; margin: 22px auto 0; min-width: 220px; }
.ss-empty { grid-column: 1 / -1; padding: 26px; text-align: center; }
.ss-empty h3 { margin: 0 0 9px; }
.ss-empty p { margin: 0; font-size: .875rem; color: #b3c9dc; }
.ss-notice { margin-bottom: 20px; padding: 18px; border: 1px solid #786342; border-radius: 10px; color: #e9d4af; background: #342b1e; }
.ss-notice p { margin: 0 0 12px; font-size: .875rem; }
.strategy-screen .ss-retry { width: auto; }
.strategy-screen :is(button, select, input, summary, [tabindex="0"]):focus-visible { outline: 2px solid #8ce4c3; outline-offset: 3px; }
@media (max-width: 1050px) {
  .ss-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-search-field { grid-column: 1 / -1; }
  .ss-fixture-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ss-intro-header { flex-direction: column; gap: 16px; }
  .ss-intro-copy { font-size: .9375rem; }
  .ss-controls { gap: 12px 10px; padding: 16px; }
  .ss-field select, .ss-field input { padding-left: 9px; font-size: .875rem; }
  .ss-rule { padding: 16px; }
  .ss-count-grid { gap: 8px; }
  .ss-count { flex-direction: column; align-items: flex-start; padding: 13px 10px; gap: 6px; }
  .ss-count span { font-size: .8125rem; }
  .ss-count strong { font-size: 1.5rem; }
  .ss-summary-heading { align-items: flex-start; }
  .strategy-screen .ss-jump { padding: 8px 10px; font-size: .8125rem; }
  .ss-evidence { padding: 16px 12px; }
  .strategy-screen .ss-evidence h2 { font-size: 1.2rem; }
  .strategy-screen .ss-table th, .strategy-screen .ss-table td { padding: 10px 8px; font-size: .8125rem; }
  .ss-evidence-table th:first-child { width: 40%; }
  .ss-price-coverage { gap: 7px; }
  .ss-price-coverage p { padding: 10px 8px; }
  .ss-price-coverage span { font-size: .75rem; }
  .ss-results-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .strategy-screen .ss-fixture { padding: 16px 12px; }
  .ss-fixture-meta { font-size: .75rem; gap: 8px; }
  .ss-teams { gap: 12px; }
  .strategy-screen .ss-team h3 { font-size: 1rem; }
  .ss-history-counts, .ss-history-range { font-size: .75rem; }
  .ss-ppg strong { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .strategy-screen button { transition: none; }
}
