/* Editorial working surfaces, scoped to the approved insights/matchday redesign.
   Keep the existing mobile visibility safety rules and all business controls. */
.editorial-page{--ed-bg:#f5f5f2;--ed-paper:#fff;--ed-ink:#202723;--ed-sub:#697269;--ed-line:#e2e6df;--ed-accent:#d74627;--ed-soft:#fdf0e8;--ed-fill:#eef1eb;--container:1200px;background:var(--ed-bg);color:var(--ed-ink)}
.editorial-page .page-main:before,.editorial-page .page-main:after{display:none}
.editorial-page .page-main{padding-top:36px;overflow:visible}
.editorial-page .site-wrap{width:calc(100% - 64px);max-width:1200px}
.editorial-page .surface{background:var(--ed-paper);border:1px solid var(--ed-line);border-radius:14px;box-shadow:0 4px 16px #28352308}
.editorial-page button,.editorial-page a,.editorial-page input{touch-action:manipulation}
.editorial-page button:focus-visible,.editorial-page a:focus-visible,.editorial-page summary:focus-visible,.editorial-page input:focus-visible{outline:2px solid var(--ed-accent);outline-offset:3px}
.editorial-page [hidden]{display:none!important}
.editorial-page .eyebrow,.editorial-page .schedule-command-kicker{color:var(--ed-sub);font-size:.75rem;font-weight:600;letter-spacing:.12em;background:none}
.editorial-page .insights-heading,.editorial-page .schedule-command-hero{margin:0 0 28px;padding:0;min-height:0;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;background:none;border:0;box-shadow:none;color:var(--ed-ink);border-radius:0;overflow:visible}
.editorial-page .schedule-command-hero:before,.editorial-page .schedule-command-hero:after{display:none}
.editorial-page .insights-heading h1,.editorial-page .schedule-command-copy h1{color:var(--ed-ink);font-size:clamp(1.9rem,3.2vw,2.6rem);font-weight:750;letter-spacing:-.035em;line-height:1.22;margin:9px 0 10px}
.editorial-page .insights-heading p,.editorial-page .schedule-command-copy p{color:var(--ed-sub);font-size:1rem;line-height:1.7;margin:0;max-width:none}
.editorial-page .insights-heading-stat{font-size:.75rem;color:var(--ed-sub);padding:0;background:none;border:0}
.editorial-page .insights-heading-stat b{font-size:1.45rem;color:var(--ed-ink)}
.editorial-page .insight-browser{background:none;border:0;box-shadow:none;padding:0;margin:0 0 24px;border-radius:0}
.editorial-page .insight-mode-switch{display:flex;grid-template-columns:none;gap:28px;border-bottom:1px solid var(--ed-line);margin:0 0 20px;padding:0;background:none}
.editorial-page .insight-mode-switch button{min-width:0;min-height:48px;padding:0 2px 13px;background:none;color:var(--ed-sub);border:0;border-radius:0;border-bottom:2px solid transparent;font-size:1rem;box-shadow:none;display:block;transform:none}
.editorial-page .insight-mode-switch button.active{color:var(--ed-ink);border-bottom-color:var(--ed-accent);font-weight:700;background:none}
.editorial-page .insight-filter-deck{display:grid;gap:12px;padding:0;background:none;border:0}
.editorial-page .insight-filter-row{display:flex;gap:14px;align-items:center;padding:0;border:0}
.editorial-page .insight-filter-row>span{flex:0 0 36px;font-size:.875rem;color:var(--ed-sub)}
.editorial-page .insight-option-chips{display:flex;gap:7px}
.editorial-page .insight-option-chips button{padding:8px 17px;min-height:40px;background:none;border:0;border-radius:8px;font-size:.875rem;color:var(--ed-sub)}
.editorial-page .insight-option-chips button.active{background:var(--ed-ink);color:#fff}
.editorial-page .insight-play-options{display:flex;flex:1;gap:8px;flex-wrap:wrap;min-width:0}
.editorial-page .insight-play-options button{background:none;border:0;border-radius:8px;min-height:40px;padding:8px 12px;display:block;text-align:left;min-width:0;box-shadow:none}
.editorial-page .insight-play-options b{font-size:.875rem;font-weight:500}
.editorial-page .insight-play-options button.active{background:var(--ed-soft);color:var(--ed-accent)}
.editorial-page [data-mode="model_result"] .insight-filter-row>span{display:none}
.editorial-page [data-mode="model_result"] .insight-play-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.editorial-page [data-mode="model_result"] .insight-play-options button{padding:14px 16px;background:var(--ed-paper);border:1px solid var(--ed-line);border-radius:10px;min-height:82px}
.editorial-page [data-mode="model_result"] .insight-play-options button.active{background:var(--ed-ink);color:#fff;border-color:var(--ed-ink)}
.editorial-page .insight-play-options small{display:block;font-size:.75rem;font-weight:400;color:inherit;margin-top:8px}
.editorial-page [data-mode="model_result"] .insight-play-options>button{min-width:0!important;width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:380px){.editorial-page [data-mode="model_result"] .insight-play-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.editorial-page .insight-filter-actions{display:flex;align-items:center;gap:14px;padding:0;margin-top:18px;border:0}
.editorial-page .schedule-search{min-width:0;max-width:430px;width:100%;height:44px;margin:0;background:var(--ed-paper);border:1px solid var(--ed-line);border-radius:8px;box-shadow:none}
.editorial-page .schedule-search input{font-size:1rem}
.editorial-page .insight-sort-button{margin-left:auto;white-space:nowrap;font-size:.875rem;border:1px solid var(--ed-line);background:var(--ed-paper);color:var(--ed-sub);min-height:44px;border-radius:8px}
.editorial-page [data-expert-context]{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:13px 0;font-size:.875rem;color:var(--ed-sub)}
.editorial-page .insight-feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}
.editorial-page .editorial-content,.editorial-page .insight-feed,.editorial-page .insight-side{min-width:0}
.editorial-page .insight-feed{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.editorial-page .insight-side{position:static;display:grid;gap:18px}
.editorial-page .insight-side-card{padding:22px}
.editorial-page .insight-side-card h3{margin:9px 0 12px;font-size:1.1rem;letter-spacing:-.02em}
.editorial-page .insight-side-card p{font-size:.875rem;line-height:1.85;color:var(--ed-sub)}
.editorial-page .insight-side-card>a,.editorial-page .editorial-text-button{display:block;color:var(--ed-accent);font-size:.875rem;line-height:1.6;margin-top:16px;padding:0;background:none;border:0;min-height:32px;text-align:left}
.editorial-page .editorial-model-logo{width:44px;height:44px;object-fit:contain;display:block;margin-bottom:16px;border-radius:9px}
.editorial-page .editorial-independent{color:#357b51!important;margin-top:15px}
.editorial-page .editorial-expert-row{display:grid;grid-template-columns:25px 30px minmax(0,1fr) auto;gap:7px;align-items:center;border-bottom:1px solid var(--ed-line);padding:15px 0;color:var(--ed-ink)}
.editorial-page [data-insight-experts] .editorial-expert-row{grid-template-columns:30px minmax(0,1fr)}
.editorial-page .editorial-expert-row img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.editorial-page .editorial-expert-row strong{font-size:.875rem;font-weight:600;display:block}
.editorial-page .editorial-expert-row small{display:block;font-size:.75rem;color:var(--ed-sub);margin-top:4px}
.editorial-page .editorial-expert-row em{font-size:.875rem;font-weight:650;font-style:normal;font-variant-numeric:tabular-nums}
.editorial-page .expert-rank-number{font-size:1.15rem;color:var(--ed-sub);font-weight:400;font-family:Georgia,serif}
.editorial-page .editorial-expert-row:first-child .expert-rank-number{color:var(--ed-accent)}
.editorial-page .model-performance{padding:25px;margin-bottom:24px}
.editorial-page .model-performance>header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.editorial-page .model-performance h2{font-size:1.5rem;margin:9px 0 0;letter-spacing:-.035em}
.editorial-page .model-performance>header>span{font-size:.75rem;color:var(--ed-sub)}
.editorial-page .performance-primary{display:flex;align-items:flex-end;gap:25px;margin:23px 0 12px}
.editorial-page .performance-primary>strong{font-size:3.8rem;letter-spacing:-.06em;line-height:1;color:var(--ed-accent);font-weight:650;font-variant-numeric:tabular-nums}
.editorial-page .performance-primary small{font-size:1.5rem;margin-left:3px}
.editorial-page .performance-primary b{font-size:.95rem;font-weight:500;display:block;margin-bottom:5px}
.editorial-page .performance-primary span{font-size:.875rem;color:var(--ed-sub);display:block}
.editorial-page .model-performance p{font-size:.75rem;color:var(--ed-sub);line-height:1.8}
.editorial-page .performance-history{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:18px;margin-top:20px;border-top:1px solid var(--ed-line);font-size:.75rem;color:var(--ed-sub)}
.editorial-page .performance-history>div{display:flex;gap:5px}
.editorial-page .performance-history i{display:grid;place-items:center;width:19px;height:19px;border-radius:4px;font-size:.75rem;font-style:normal;background:var(--ed-fill);color:var(--ed-sub)}
.editorial-page .performance-history i.hit{color:#357b51;background:#eaf3ec}
.editorial-page .model-performance details{border-top:1px solid var(--ed-line);padding-top:16px;margin-top:18px}
.editorial-page .model-performance summary{display:flex;justify-content:space-between;font-size:.875rem;cursor:pointer;min-height:30px;list-style:none}
.editorial-page .performance-windows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:15px 0}
.editorial-page .performance-windows>div{border-left:2px solid var(--ed-line);padding-left:13px;font-size:.75rem;color:var(--ed-sub)}
.editorial-page .performance-windows b{display:block;font-size:1.35rem;color:var(--ed-ink);margin:7px 0;font-weight:600}
.editorial-page .performance-windows small{font-size:.75rem}
.editorial-page .performance-windows .best{border-color:var(--ed-accent)}
.editorial-page .performance-windows .best b{color:var(--ed-accent)}
.editorial-page .editorial-plan{display:block;padding:22px 24px 0;color:var(--ed-ink);transition:border-color .15s}
.editorial-page .editorial-plan:hover{border-color:#c6cec4;transform:none}
.editorial-page .editorial-plan>header{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:.875rem}
.editorial-page .editorial-plan>header>span{display:flex;align-items:center;gap:9px}
.editorial-page .editorial-plan>header img,.editorial-page .editorial-plan>header .league-mark-fallback{width:20px;height:20px;object-fit:contain}
.editorial-page .editorial-plan time{font-size:.75rem;color:var(--ed-sub)}
.editorial-page .editorial-fixture{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:center;gap:12px;padding:22px 0 20px}
.editorial-page .editorial-fixture>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:3px 10px;align-items:center;min-width:0}
.editorial-page .editorial-fixture img,.editorial-page .editorial-fixture .team-mark-fallback{width:36px;height:36px;object-fit:contain;grid-row:1 / span 2}
.editorial-page .editorial-fixture b{font-size:1.25rem;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.editorial-page .editorial-fixture small{font-size:.75rem;color:var(--ed-sub)}
.editorial-page .editorial-fixture>span{font-family:Georgia,serif;font-style:italic;color:var(--ed-sub);text-align:center}
.editorial-page .editorial-byline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;font-size:.875rem}
.editorial-page .editorial-byline>span{display:flex;align-items:center;gap:9px}
.editorial-page .editorial-byline img{width:28px;height:28px;object-fit:contain;border-radius:7px}
.editorial-page .editorial-byline small{font-size:.75rem;color:var(--ed-sub)}
.editorial-page .editorial-plan>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--ed-line);font-size:.875rem}
.editorial-page .editorial-plan>footer>span{color:var(--ed-sub)}
.editorial-page .editorial-plan>footer>b{font-weight:500}
.editorial-page .schedule-control-panel{display:flex;flex-direction:column;padding:0;background:none;border:0;box-shadow:none}
.editorial-page .schedule-date-row{order:-1;padding:9px;display:grid;grid-template-columns:36px minmax(0,1fr) 36px 156px;gap:8px;margin:0 0 19px;background:var(--ed-paper);border:1px solid var(--ed-line);border-radius:14px}
.editorial-page .schedule-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;overflow:visible}
.editorial-page .schedule-day{padding:12px 4px;min-width:0;border:0;border-radius:8px;background:none;box-shadow:none;color:var(--ed-sub);min-height:65px}
.editorial-page .schedule-day b{font-size:1.1rem;color:var(--ed-ink)}
.editorial-page .schedule-day.active{background:var(--ed-ink);color:#fff}
.editorial-page .schedule-day.active b{color:#fff}
.editorial-page .date-arrow{width:36px;min-height:65px;height:auto;border:0;background:none;box-shadow:none}
.editorial-page .schedule-filter-trigger{background:var(--ed-paper);box-shadow:none;border-color:var(--ed-line);border-radius:8px}
.editorial-page .schedule-primary-controls{gap:14px;flex-wrap:wrap}
.editorial-page .sport-segment{min-width:0;width:auto;background:none;box-shadow:none;padding:0;gap:5px;border:0}
.editorial-page .sport-segment button{min-width:70px;min-height:42px;border-radius:8px;background:none;font-size:.875rem;color:var(--ed-sub)}
.editorial-page .sport-segment button.active{background:var(--ed-ink);color:#fff;box-shadow:none}
.editorial-page .scope-switch button{font-size:.875rem;font-weight:500;min-height:42px;border-radius:8px}
.editorial-page .scope-switch button.active{background:var(--ed-soft);color:var(--ed-accent);border-color:transparent}
.editorial-page .schedule-primary-controls .schedule-search{margin-left:auto}
.editorial-page .schedule-status-row{flex-wrap:wrap;gap:5px;border-top:1px solid var(--ed-line);padding-top:13px}
.editorial-page .schedule-status-row>button{font-size:.875rem;border-radius:8px;min-height:42px;color:var(--ed-sub)}
.editorial-page .schedule-status-row>button.active{color:var(--ed-accent);background:var(--ed-soft);font-weight:600}
.editorial-page .schedule-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px}
.editorial-page .schedule-result-head,.editorial-page .schedule-result-head>div{gap:10px;flex-wrap:wrap}
.editorial-page .schedule-result-head b{font-size:.95rem}
.editorial-page .schedule-result-head span{font-size:.75rem}
.editorial-page .schedule-league-group{border-radius:14px;box-shadow:0 4px 16px #28352308}
.editorial-page .schedule-league-head{background:var(--ed-paper);border-color:var(--ed-line);padding:14px 18px}
.editorial-page .schedule-compact-row{grid-template-columns:60px minmax(0,1fr) 66px minmax(0,1fr) 20px;gap:12px;padding:20px 18px;min-height:88px;border-color:var(--ed-line);background:var(--ed-paper)}
.editorial-page [data-density="compact"] .schedule-compact-row{grid-template-columns:60px minmax(0,1fr) 66px minmax(0,1fr) 20px;padding-block:12px;min-height:70px}
.editorial-page .schedule-compact-row .compact-data{display:none}
.editorial-page .schedule-compact-row .compact-team b{font-size:.875rem;font-weight:600;white-space:normal;line-height:1.6}
.editorial-page .compact-team img,.editorial-page .compact-team .team-mark-fallback{width:30px;height:30px;flex-basis:30px}
.editorial-page .compact-score b{font-size:1.2rem;font-variant-numeric:tabular-nums}
.editorial-page .compact-status b,.editorial-page .compact-status small,.editorial-page .compact-score small{font-size:.75rem}
.editorial-page .schedule-sidebar{position:static;display:grid;gap:16px}
.editorial-page .schedule-side-card{padding:20px;border-radius:14px}
.editorial-page .schedule-status-card{background:none;border:0;box-shadow:none;padding:10px 0}
.editorial-page .schedule-side-card header{font-size:.95rem;color:var(--ed-ink)}
.editorial-page .focus-fixture-team{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:16px 0;font-size:.95rem}
.editorial-page .focus-fixture-team>span{display:flex;align-items:center;gap:9px;min-width:0}
.editorial-page .focus-fixture-team img,.editorial-page .focus-fixture-team .team-mark-fallback{width:25px;height:25px;object-fit:contain;flex:0 0 25px}
.editorial-page .focus-fixture-team>b{font-size:1.5rem;font-variant-numeric:tabular-nums}
.editorial-page .editorial-match-focus p{font-size:.75rem;color:var(--ed-sub);line-height:1.9;padding-top:14px;border-top:1px solid var(--ed-line)}
.editorial-page .editorial-match-focus>a{display:block;font-size:.875rem;color:var(--ed-accent);padding-top:15px}
.editorial-page .site-footer{margin-top:56px}
@media(max-width:1120px){.editorial-page .schedule-layout{grid-template-columns:minmax(0,1fr) 240px!important;gap:18px}.editorial-page .schedule-sidebar{grid-template-columns:minmax(0,1fr)!important}.editorial-page .schedule-compact-row,.editorial-page [data-density="compact"] .schedule-compact-row{grid-template-columns:52px minmax(0,1fr) 57px minmax(0,1fr) 16px!important;gap:8px}.editorial-page .schedule-date-row{grid-template-columns:32px minmax(0,1fr) 32px 140px}.editorial-page .date-arrow{width:32px}.editorial-page .insight-feed-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.editorial-page .site-wrap{width:calc(100% - 40px)}}
@media(max-width:900px){.editorial-page .schedule-layout,.editorial-page .insight-feed-layout{grid-template-columns:minmax(0,1fr)!important}.editorial-page .schedule-sidebar,.editorial-page .insight-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}.editorial-page .schedule-search{max-width:none}.editorial-page .schedule-primary-controls .schedule-search{flex:1 1 230px}.editorial-page .schedule-date-row{grid-template-columns:30px minmax(0,1fr) 30px}.editorial-page .schedule-date-picker{grid-column:1 / -1;justify-self:end;width:160px}.editorial-page .schedule-result-actions{flex-wrap:wrap}}
@media(max-width:760px){
  .editorial-page .site-wrap{width:calc(100% - 32px)}
  .editorial-page .page-main{padding-top:26px}
  .editorial-page .insights-heading,.editorial-page .schedule-command-hero{gap:12px;margin-bottom:24px}
  .editorial-page .insights-heading-stat{display:none}
  .editorial-page [data-mode="model_result"] .insight-play-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .editorial-page [data-mode="model_result"] .insight-play-options button{padding:12px;min-height:76px}
  .editorial-page .insight-filter-row{align-items:flex-start;gap:8px}
  .editorial-page .insight-filter-row>span{padding-top:10px}
  .editorial-page .insight-feed-layout{gap:22px}
  .editorial-page .model-performance,.editorial-page .insight-side-card{padding:20px}
  .editorial-page .performance-primary{gap:18px;flex-wrap:wrap}
  .editorial-page .performance-primary>strong{font-size:3rem}
  .editorial-page .editorial-plan{padding:18px 18px 0}
  .editorial-page .editorial-plan>header{flex-wrap:wrap}
  .editorial-page .editorial-fixture{grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);gap:9px}
  .editorial-page .editorial-fixture>div{grid-template-columns:minmax(0,1fr);gap:6px}
  .editorial-page .editorial-fixture img,.editorial-page .editorial-fixture .team-mark-fallback{grid-row:auto;width:30px;height:30px}
  .editorial-page .editorial-fixture b{font-size:1.1rem}
  .editorial-page .insight-side,.editorial-page .schedule-sidebar{grid-template-columns:minmax(0,1fr)!important;display:grid!important}
  .editorial-page .schedule-control-panel{display:flex}
  .editorial-page .schedule-status-row{overflow:visible;display:flex}
  .editorial-page .schedule-date-row{grid-template-columns:28px minmax(0,1fr) 28px;gap:5px;padding:6px}
  .editorial-page .schedule-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
  .editorial-page .schedule-day{padding:10px 1px;font-size:.75rem}
  .editorial-page .schedule-day b{font-size:1rem}
  .editorial-page .date-arrow{width:28px}
  .editorial-page .schedule-primary-controls{gap:8px}
  .editorial-page .schedule-search{width:100%;flex:1 1 100%}
  .editorial-page .scope-switch button{padding:0 10px}
  .editorial-page .schedule-league-filter{margin-left:0;width:100%}
  .editorial-page .schedule-filter-menu{max-width:calc(100vw - 48px)}
  /* Preserve the historical portrait visibility fix, but stop squeezing team
     names into 9px text. Two-line team columns leave room for legible scores. */
  .editorial-page .schedule-compact-row,.editorial-page [data-density="compact"] .schedule-compact-row{display:grid!important;grid-template-columns:45px minmax(0,1fr) 48px minmax(0,1fr)!important;gap:8px!important;padding:15px 12px!important;overflow:visible!important}
  .editorial-page .schedule-compact-row>.compact-status{width:auto!important;min-width:0!important}
  .editorial-page .schedule-compact-row>.compact-score{width:auto!important;min-width:0!important}
  .editorial-page .schedule-compact-row>.compact-team{width:auto!important;min-width:0!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important}
  .editorial-page .schedule-compact-row>.compact-team.left>span:not(.team-mark-fallback){order:2}
  .editorial-page .schedule-compact-row .compact-team b{font-size:.875rem!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.5!important}
  .editorial-page .schedule-compact-row>.compact-score b{font-size:1rem!important;line-height:1.5!important}
  .editorial-page .schedule-compact-row>.compact-status b,.editorial-page .schedule-compact-row>.compact-status small{white-space:normal!important;font-size:.75rem}
  .editorial-page .schedule-league-head small,.editorial-page .schedule-result-head span{font-size:.75rem}
}
@media(max-width:440px){.editorial-page .schedule-days{grid-template-columns:repeat(4,minmax(0,1fr))}.editorial-page .schedule-date-row{align-items:center}.editorial-page .schedule-day{min-height:58px}.editorial-page .performance-windows{gap:8px}.editorial-page .performance-windows>div{padding-left:8px}.editorial-page .editorial-byline{align-items:flex-start;flex-wrap:wrap}}
@media(pointer:coarse){.editorial-page button,.editorial-page summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){.editorial-page *{scroll-behavior:auto!important;transition:none!important}}
.editorial-page .editorial-campaign img { display:block; width:100%; height:auto; max-height:120px; object-fit:contain; border-radius:8px; }
.editorial-page .model-membership-info { margin-top:18px; padding-top:14px; border-top:1px solid #e8e7e4; }
.editorial-page .model-membership-info summary { cursor:pointer; font-weight:600; }
