/* Comparison matrix approved in the Schedule insights preview. */

.schedule-comparison{--ftb-bg:#181e23;--ftb-panel:#232b32;--ftb-field:#1c242b;--ftb-ink:#f5f3ea;--ftb-muted:#b0c1ce;--ftb-line:#43505a;--ftb-accent:#f4bc43;--ftb-good:#78c69e;--ftb-bad:#f38983;--ftb-plot:#50616a;font-family:Arial,Helvetica,sans-serif;font-size:13px;color:var(--ftb-ink);width:100%}
.schedule-comparison .ftb-concept-product{background:var(--ftb-panel);color:var(--ftb-ink);border:1px solid var(--ftb-line);border-radius:9px;padding:18px 16px;box-sizing:border-box;width:100%;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4}
.schedule-comparison *{box-sizing:border-box}
.schedule-comparison [hidden]{display:none!important}
.schedule-comparison button{font:inherit;color:inherit}
.schedule-comparison .ftb-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ftb-line);padding-bottom:12px;margin-bottom:14px}
.schedule-comparison .ftb-topline h2{font-size:15px;line-height:1.4;font-weight:600;margin:0;display:flex;align-items:center;gap:7px}
.schedule-comparison .ftb-topline small,.schedule-comparison .ftb-muted{color:var(--ftb-muted);font-size:11px;font-weight:400}
.schedule-comparison .ftb-info{background:transparent;border:1px solid var(--ftb-line);border-radius:50%;width:22px;height:22px;display:inline-grid;place-items:center;padding:0;font-size:12px;color:var(--ftb-muted);vertical-align:middle}
.schedule-comparison button:focus-visible{outline:2px solid var(--ftb-accent);outline-offset:3px}
.schedule-comparison .ftb-summary-title{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--ftb-muted);margin:0 0 8px}
.schedule-comparison .ftb-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.schedule-comparison .ftb-impact{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--ftb-line);border-radius:6px;background:var(--ftb-field)}
.schedule-comparison .ftb-impact .ftb-label{display:block;font-size:11px;margin-bottom:3px}
.schedule-comparison .ftb-impact .ftb-baseline{font-size:11px;color:var(--ftb-muted)}
.schedule-comparison .ftb-impact strong{font-size:20px;font-weight:600;letter-spacing:-.6px;white-space:nowrap}
.schedule-comparison .ftb-impact strong small{font-size:11px;letter-spacing:0;font-weight:400}
.schedule-comparison .ftb-good{color:var(--ftb-good)}
.schedule-comparison .ftb-bad{color:var(--ftb-bad)}
.schedule-comparison .ftb-impact-direction{display:block;text-align:right;color:var(--ftb-muted);font-size:11px}
.schedule-comparison .ftb-legend{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0;color:var(--ftb-muted);font-size:11px}
.schedule-comparison .ftb-scale{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.schedule-comparison .ftb-scale-mark{display:inline-block;width:76px;height:4px;border-radius:3px;background:linear-gradient(90deg,#d36363,#b6a745,#55b579)}
.schedule-comparison .ftb-po-key{display:inline-block;width:8px;height:8px;background:var(--ftb-accent);margin-right:5px;opacity:.65}
.schedule-comparison .ftb-scroll{overflow-x:auto;overscroll-behavior-x:contain;width:100%}
.schedule-comparison table{width:100%;border-collapse:separate;border-spacing:0;font:inherit;color:var(--ftb-ink);font-variant-numeric:tabular-nums}
.schedule-comparison .ftb-matrix{min-width:665px;table-layout:fixed}
.schedule-comparison .ftb-matrix col.ftb-player-col{width:140px}
.schedule-comparison .ftb-matrix col.ftb-avg-col{width:51px}
.schedule-comparison th{font-weight:400;color:var(--ftb-muted);font-size:11px;text-align:center;padding:7px 2px}
.schedule-comparison .ftb-matrix thead th:first-child{text-align:left}
.schedule-comparison .ftb-matrix td{padding:4px 2px;vertical-align:middle;border-bottom:1px solid var(--ftb-line)}
.schedule-comparison .ftb-matrix td:first-child{padding-left:0;padding-right:7px}
.schedule-comparison .ftb-matrix .ftb-group th{text-align:left;color:var(--ftb-ink);font-size:12px;font-weight:600;padding:13px 0 5px;border:0}
.schedule-comparison .ftb-matrix .ftb-group span{color:var(--ftb-muted);font-size:11px;font-weight:400;margin-left:7px}
.schedule-comparison .ftb-identity{display:flex;gap:7px;align-items:center;min-width:0;font-variant-numeric:normal}
.schedule-comparison .ftb-avatar{flex:0 0 27px;width:27px;height:27px;border:1px solid var(--ftb-line);border-radius:50%;display:grid;place-items:center;font-size:10px;color:var(--ftb-muted);background:var(--ftb-field)}
.schedule-comparison .ftb-person-name{font-size:11px;font-weight:600;display:block;line-height:1.35;overflow-wrap:anywhere}
.schedule-comparison .ftb-person-meta{display:block;color:var(--ftb-muted);font-size:10px}
.schedule-comparison .ftb-cell{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:0;width:100%;min-height:41px;border:0;padding:4px 1px;border-radius:4px;background:var(--ftb-field);font-size:11px;color:var(--ftb-muted)}
.schedule-comparison .ftb-cell.ftb-ranked{background:hsl(var(--ftb-hue) 25% 23%);color:hsl(var(--ftb-hue) 65% 76%)}
.schedule-comparison .ftb-cell .ftb-opponent{font-size:11px;font-weight:600}
.schedule-comparison .ftb-cell .ftb-cell-rank{font-size:10px}
.schedule-comparison .ftb-cell:hover{box-shadow:inset 0 0 0 1px currentColor}
.schedule-comparison .ftb-playoff-start{border-left:1px solid var(--ftb-accent)!important;padding-left:4px!important}
.schedule-comparison .ftb-playoff-head{color:var(--ftb-accent)}
.schedule-comparison .ftb-rating{text-align:center;font-size:11px;font-weight:600;white-space:nowrap}
.schedule-comparison .ftb-footer{margin-top:14px;padding-top:10px;border-top:1px solid var(--ftb-line);font-size:11px;color:var(--ftb-muted);display:flex;gap:5px 12px;justify-content:space-between;flex-wrap:wrap}
.schedule-comparison .ftb-detail{margin-top:12px;padding:10px 12px;border-left:2px solid var(--ftb-accent);background:var(--ftb-field);font-size:12px;line-height:1.5}
.schedule-comparison .ftb-detail button{float:right;border:0;background:transparent;padding:0 0 0 12px;font-size:12px;color:var(--ftb-muted)}
html[data-appearance="light"] .schedule-comparison{--ftb-bg:#f5f5ef;--ftb-panel:#ffffff;--ftb-field:#f0f1eb;--ftb-ink:#20282c;--ftb-muted:#596971;--ftb-line:#d7dcd9;--ftb-accent:#845d00;--ftb-good:#28734e;--ftb-bad:#ad3a42;--ftb-plot:#cad4d0;}
html[data-appearance="light"] .schedule-comparison .ftb-cell.ftb-ranked{background:hsl(var(--ftb-hue) 55% 91%);color:hsl(var(--ftb-hue) 65% 27%)}
/* Product defaults are reset locally to preserve the approved mockup. */
.schedule-comparison{min-width:0;margin-top:14px}
.schedule-comparison button{font-weight:400;letter-spacing:normal;cursor:pointer}
.schedule-comparison .ftb-topline h2{letter-spacing:normal}
.schedule-comparison .ftb-info{flex:0 0 22px;min-width:22px;min-height:22px}
.schedule-comparison .ftb-topline>small{line-height:1.4}
.schedule-comparison .ftb-notice{font-size:11px;color:var(--ftb-muted);margin:8px 0}
.schedule-comparison .ftb-matrix{min-width:max(665px,calc(242px + var(--ftb-week-count,12)*35.25px))}
.schedule-comparison .ftb-detail button{font-weight:400;border-radius:0}
@media(max-width:600px){
.schedule-comparison .ftb-concept-product{padding:14px 12px}
.schedule-comparison .ftb-topline{align-items:flex-start}
.schedule-comparison .ftb-topline>small{max-width:120px;text-align:right}
.schedule-comparison .ftb-summary{gap:7px}
.schedule-comparison .ftb-impact{padding:8px;display:block}
.schedule-comparison .ftb-impact>div:last-child{margin-top:6px;text-align:left}
.schedule-comparison .ftb-impact-direction{text-align:left}
.schedule-comparison .ftb-impact strong{font-size:19px}
}
.schedule-comparison .ftb-cell[data-matchup-rank="1"]{--ftb-hue:0.00}
.schedule-comparison .ftb-cell[data-matchup-rank="2"]{--ftb-hue:4.35}
.schedule-comparison .ftb-cell[data-matchup-rank="3"]{--ftb-hue:8.71}
.schedule-comparison .ftb-cell[data-matchup-rank="4"]{--ftb-hue:13.06}
.schedule-comparison .ftb-cell[data-matchup-rank="5"]{--ftb-hue:17.42}
.schedule-comparison .ftb-cell[data-matchup-rank="6"]{--ftb-hue:21.77}
.schedule-comparison .ftb-cell[data-matchup-rank="7"]{--ftb-hue:26.13}
.schedule-comparison .ftb-cell[data-matchup-rank="8"]{--ftb-hue:30.48}
.schedule-comparison .ftb-cell[data-matchup-rank="9"]{--ftb-hue:34.84}
.schedule-comparison .ftb-cell[data-matchup-rank="10"]{--ftb-hue:39.19}
.schedule-comparison .ftb-cell[data-matchup-rank="11"]{--ftb-hue:43.55}
.schedule-comparison .ftb-cell[data-matchup-rank="12"]{--ftb-hue:47.90}
.schedule-comparison .ftb-cell[data-matchup-rank="13"]{--ftb-hue:52.26}
.schedule-comparison .ftb-cell[data-matchup-rank="14"]{--ftb-hue:56.61}
.schedule-comparison .ftb-cell[data-matchup-rank="15"]{--ftb-hue:60.97}
.schedule-comparison .ftb-cell[data-matchup-rank="16"]{--ftb-hue:65.32}
.schedule-comparison .ftb-cell[data-matchup-rank="17"]{--ftb-hue:69.68}
.schedule-comparison .ftb-cell[data-matchup-rank="18"]{--ftb-hue:74.03}
.schedule-comparison .ftb-cell[data-matchup-rank="19"]{--ftb-hue:78.39}
.schedule-comparison .ftb-cell[data-matchup-rank="20"]{--ftb-hue:82.74}
.schedule-comparison .ftb-cell[data-matchup-rank="21"]{--ftb-hue:87.10}
.schedule-comparison .ftb-cell[data-matchup-rank="22"]{--ftb-hue:91.45}
.schedule-comparison .ftb-cell[data-matchup-rank="23"]{--ftb-hue:95.81}
.schedule-comparison .ftb-cell[data-matchup-rank="24"]{--ftb-hue:100.16}
.schedule-comparison .ftb-cell[data-matchup-rank="25"]{--ftb-hue:104.52}
.schedule-comparison .ftb-cell[data-matchup-rank="26"]{--ftb-hue:108.87}
.schedule-comparison .ftb-cell[data-matchup-rank="27"]{--ftb-hue:113.23}
.schedule-comparison .ftb-cell[data-matchup-rank="28"]{--ftb-hue:117.58}
.schedule-comparison .ftb-cell[data-matchup-rank="29"]{--ftb-hue:121.94}
.schedule-comparison .ftb-cell[data-matchup-rank="30"]{--ftb-hue:126.29}
.schedule-comparison .ftb-cell[data-matchup-rank="31"]{--ftb-hue:130.65}
.schedule-comparison .ftb-cell[data-matchup-rank="32"]{--ftb-hue:135.00}
.schedule-comparison .ftb-matrix[data-week-count="1"]{--ftb-week-count:1}
.schedule-comparison .ftb-matrix[data-week-count="2"]{--ftb-week-count:2}
.schedule-comparison .ftb-matrix[data-week-count="3"]{--ftb-week-count:3}
.schedule-comparison .ftb-matrix[data-week-count="4"]{--ftb-week-count:4}
.schedule-comparison .ftb-matrix[data-week-count="5"]{--ftb-week-count:5}
.schedule-comparison .ftb-matrix[data-week-count="6"]{--ftb-week-count:6}
.schedule-comparison .ftb-matrix[data-week-count="7"]{--ftb-week-count:7}
.schedule-comparison .ftb-matrix[data-week-count="8"]{--ftb-week-count:8}
.schedule-comparison .ftb-matrix[data-week-count="9"]{--ftb-week-count:9}
.schedule-comparison .ftb-matrix[data-week-count="10"]{--ftb-week-count:10}
.schedule-comparison .ftb-matrix[data-week-count="11"]{--ftb-week-count:11}
.schedule-comparison .ftb-matrix[data-week-count="12"]{--ftb-week-count:12}
.schedule-comparison .ftb-matrix[data-week-count="13"]{--ftb-week-count:13}
.schedule-comparison .ftb-matrix[data-week-count="14"]{--ftb-week-count:14}
.schedule-comparison .ftb-matrix[data-week-count="15"]{--ftb-week-count:15}
.schedule-comparison .ftb-matrix[data-week-count="16"]{--ftb-week-count:16}
.schedule-comparison .ftb-matrix[data-week-count="17"]{--ftb-week-count:17}
.schedule-comparison .ftb-matrix[data-week-count="18"]{--ftb-week-count:18}

/* Short playoff windows fit more naturally than the full ROS matrix. */
.schedule-comparison .ftb-matrix[data-period="playoffs"]{min-width:max(360px,calc(191px + var(--ftb-week-count,3)*40px))}
