.d360-dashboard {
    --d360-blue: #1744ae; --d360-green: #08765a; --d360-red: #b82d43;
    --d360-ink: #18252b; --d360-muted: #52616c; --d360-line: #dce3e6;
    --d360-surface: #f3f6f7; container-type: inline-size;
    width: 100%; max-width: 1240px; min-width: 0; margin: 24px auto;
    color: var(--d360-ink); background: #fff; font: 15px/1.55 Arial, Helvetica, sans-serif;
    letter-spacing: 0; text-align: left; isolation: isolate;
}
.d360-dashboard *, .d360-dashboard *::before, .d360-dashboard *::after { box-sizing: border-box; letter-spacing: 0; }
.d360-dashboard [hidden] { display: none !important; }
.d360-dashboard :is(h2,h3,h4,p,figure,dl,ul,ol) { margin: 0; padding: 0; }
.d360-dashboard :is(h2,h3,h4) { font-family: inherit; color: var(--d360-ink); text-transform: none; }
.d360-dashboard :is(a,select,input,summary,[tabindex]):focus-visible { outline: 3px solid var(--d360-blue); outline-offset: 4px; }
.d360-dashboard :is(a,summary,select,input) { -webkit-tap-highlight-color: transparent; }
.d360-dashboard .d360-header { padding: 28px 0 0; border-top: 4px solid var(--d360-blue); }
.d360-dashboard .d360-eyebrow { color: var(--d360-blue); font-size: 11px; font-weight: 700; margin-bottom: 14px; }
.d360-dashboard .d360-eyebrow span { margin: 0 8px; color: var(--d360-muted); }
.d360-dashboard .d360-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.d360-dashboard .d360-title { font-size: 32px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.d360-dashboard .d360-title > span { display: inline-block; color: var(--d360-muted); font-size: 23px; font-weight: 400; }
.d360-dashboard .d360-season-label { font-size: 11px; color: var(--d360-muted); white-space: nowrap; border-left: 3px solid var(--d360-green); padding-left: 10px; }
.d360-dashboard .d360-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 26px; padding: 22px 0; border-top: 1px solid var(--d360-line); gap: 12px; }
.d360-dashboard .d360-summary > div { border-right: 1px solid var(--d360-line); padding-right: 12px; }
.d360-dashboard .d360-summary > div:last-child { border: 0; }
.d360-dashboard .d360-summary dt { font-size: 12px; color: var(--d360-muted); }
.d360-dashboard .d360-summary dd { margin: 6px 0 0; font-size: 30px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.d360-dashboard .d360-nav { display: flex; gap: 24px; overflow-x: auto; padding: 12px 2px; border-block: 1px solid var(--d360-line); }
.d360-dashboard .d360-nav a { flex-shrink: 0; padding: 7px 0; color: var(--d360-ink); text-decoration: none; font-weight: 700; font-size: 13px; }
.d360-dashboard .d360-nav a:hover { color: var(--d360-blue); text-decoration: underline; text-underline-offset: 6px; }
.d360-dashboard .d360-section { padding: 32px 0; border-bottom: 1px solid var(--d360-line); scroll-margin-top: 24px; }
.d360-dashboard .d360-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.d360-dashboard .d360-section-heading h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.d360-dashboard .d360-section-heading > span { font-size: 12px; color: var(--d360-muted); }
.d360-dashboard .d360-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
.d360-dashboard .d360-stat { border: 1px solid var(--d360-line); border-radius: 6px; padding: 18px; min-height: 170px; border-top: 3px solid var(--accent,var(--d360-blue)); }
.d360-dashboard .d360-accent-blue { --accent: var(--d360-blue); }
.d360-dashboard .d360-accent-green { --accent: var(--d360-green); }
.d360-dashboard .d360-accent-red { --accent: var(--d360-red); }
.d360-dashboard .d360-stat h4 { font-size: 12px; font-weight: 600; color: var(--d360-muted); }
.d360-dashboard .d360-stat-value { display: flex; align-items: baseline; gap: 9px; font-size: 32px; font-weight: 800; color: var(--accent); margin: 9px 0; line-height: 1.2; }
.d360-dashboard .d360-stat-value > span { font-size: 11px; font-weight: 700; }
.d360-dashboard .d360-stat-team { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.d360-dashboard .d360-tied { font-size: 12px; margin-top: 5px; }
.d360-dashboard .d360-tied summary { cursor: pointer; color: var(--d360-muted); padding: 4px 0; }
.d360-dashboard .d360-tied ul { padding-left: 18px; }
.d360-dashboard .d360-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.d360-dashboard .d360-table { width: 100%; min-width: 700px; border-collapse: collapse; border: 0; margin: 0; font: inherit; font-variant-numeric: tabular-nums; table-layout: auto; }
.d360-dashboard .d360-table :is(th,td) { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--d360-line); vertical-align: middle; text-align: center; background: #fff; }
.d360-dashboard .d360-table th[scope="row"] { text-align: left; font-weight: 600; min-width: 230px; }
.d360-dashboard .d360-table thead th { color: var(--d360-muted); background: var(--d360-surface); font-weight: 700; font-size: 11px; white-space: nowrap; }
.d360-dashboard .d360-table thead th:nth-child(2) { text-align: left; }
.d360-dashboard .d360-table .d360-points { font-weight: 800; color: var(--d360-blue); background: #f5f7fc; }
.d360-dashboard .d360-position { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 4px; font-weight: 700; }
.d360-dashboard .d360-zone-upper td:first-child { box-shadow: inset 3px 0 var(--d360-blue); }
.d360-dashboard .d360-zone-lower td:first-child { box-shadow: inset 3px 0 var(--d360-red); }
.d360-dashboard .d360-zone-upper .d360-position { background: #eaf0ff; color: var(--d360-blue); }
.d360-dashboard .d360-zone-lower .d360-position { background: #fcecef; color: var(--d360-red); }
.d360-dashboard .d360-team { display: flex; align-items: center; gap: 10px; }
.d360-dashboard .d360-team-mark { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--d360-surface); border: 1px solid var(--d360-line); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: var(--d360-muted); }
.d360-dashboard .d360-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 12px; color: var(--d360-muted); margin-top: 16px; }
.d360-dashboard .d360-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.d360-dashboard .d360-dot { display: inline-block; width: 9px; height: 9px; flex-shrink: 0; border-radius: 2px; background: currentColor; }
.d360-dashboard .d360-dot-blue { color: var(--d360-blue); }
.d360-dashboard .d360-dot-green { color: var(--d360-green); }
.d360-dashboard .d360-dot-red { color: var(--d360-red); }
.d360-dashboard .d360-dot-gray { color: #7c8891; }
.d360-dashboard .d360-note { color: var(--d360-muted); font-size: 12px; margin-top: 14px; line-height: 1.65; }
.d360-dashboard .d360-chart-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.d360-dashboard .d360-chart-block { min-width: 0; }
.d360-dashboard .d360-chart-block figcaption { font-weight: 700; font-size: 16px; min-height: 60px; }
.d360-dashboard .d360-chart-block figcaption span { display: block; color: var(--d360-muted); font-size: 12px; font-weight: 400; margin-top: 5px; }
.d360-dashboard .d360-chart-block > .d360-legend { margin: -32px 0 15px; }
.d360-dashboard .d360-bars { list-style: none; }
.d360-dashboard .d360-bars > li { display: grid; grid-template-columns: minmax(90px,1.35fr) minmax(40px,1fr) 42px; align-items: center; gap: 8px; min-height: 42px; border-bottom: 1px solid #edf0f2; padding: 5px 0; }
.d360-dashboard .d360-bars > li::marker { content: ''; }
.d360-dashboard .d360-bar-label { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.d360-dashboard .d360-bars strong { font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.d360-dashboard .d360-bar-track { display: block; height: 9px; background: var(--d360-surface); border-radius: 2px; overflow: hidden; }
.d360-dashboard .d360-bar-track > span { display: block; background: var(--d360-green); height: 100%; }
.d360-dashboard .d360-dual-track { display: grid; gap: 4px; }
.d360-dashboard .d360-gc > span { background: var(--d360-red); }
.d360-dashboard .d360-versus { color: var(--d360-muted); font-weight: 400; }
.d360-dashboard .d360-js-control { display: flex; align-items: center; gap: 9px; font-size: 12px; max-width: 100%; }
.d360-dashboard select { min-height: 42px; max-width: 100%; min-width: 0; padding: 8px 30px 8px 12px; border: 1px solid #8b979e; border-radius: 4px; background-color: #fff; color: var(--d360-ink); font: 14px Arial,Helvetica,sans-serif; }
.d360-dashboard :is(.d360-round,.d360-venue) > summary { font-weight: 700; padding: 12px 0; cursor: pointer; }
.d360-dashboard .d360-round > summary span { color: var(--d360-muted); font-size: 12px; font-weight: 400; margin-left: 12px; }
.d360-dashboard .d360-enhanced-summary { list-style: none; pointer-events: none; }
.d360-dashboard .d360-enhanced-summary::-webkit-details-marker { display: none; }
.d360-dashboard .d360-venue-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--d360-surface); padding: 20px; gap: 20px; }
.d360-dashboard .d360-venue-summary > div { display: flex; flex-direction: column; }
.d360-dashboard .d360-venue-summary > div:last-child { border-left: 1px solid var(--d360-line); padding-left: 20px; }
.d360-dashboard .d360-venue-summary span { font-size: 11px; font-weight: 700; color: var(--d360-muted); }
.d360-dashboard .d360-venue-summary strong { font-size: 28px; color: var(--d360-blue); }
.d360-dashboard .d360-venue-summary > div:last-child strong { color: var(--d360-green); }
.d360-dashboard .d360-venue-summary small { font-size: 11px; }
.d360-dashboard .d360-venue-table { width: 100%; margin: 0; border-collapse: collapse; font: inherit; border: 0; }
.d360-dashboard .d360-venue-table :is(th,td) { border: 0; border-bottom: 1px solid var(--d360-line); padding: 10px 8px; text-align: center; font-size: 13px; }
.d360-dashboard .d360-venue-table th[scope="row"] { text-align: left; font-weight: 400; width: 50%; }
.d360-dashboard .d360-venue-table thead th { font-size: 11px; color: var(--d360-muted); }
.d360-dashboard .d360-venue-table thead th:first-child { text-align: left; }
.d360-dashboard .d360-fixtures { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; }
.d360-dashboard .d360-fixtures > li { display: grid; grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr); gap: 5px 10px; align-items: center; border-top: 1px solid var(--d360-line); padding: 15px 0 10px; min-height: 90px; }
.d360-dashboard :is(.d360-fixture-home,.d360-fixture-away) { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.d360-dashboard .d360-fixture-home { text-align: right; }
.d360-dashboard .d360-score { text-align: center; font-weight: 700; padding: 6px 2px; border-radius: 4px; background: var(--d360-surface); font-size: 14px; white-space: nowrap; }
.d360-dashboard .d360-pending { background: transparent; color: var(--d360-muted); }
.d360-dashboard .d360-match-state { grid-column: 1/-1; text-align: center; color: var(--d360-muted); font-size: 10px; }
.d360-dashboard .d360-team-picker { display: block; margin-bottom: 18px; }
.d360-dashboard .d360-team-picker summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 10px 0; }
.d360-dashboard .d360-team-picker fieldset { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--d360-line); padding: 14px; margin: 0; gap: 8px 14px; }
.d360-dashboard .d360-team-picker legend { font-size: 12px; padding: 0 5px; }
.d360-dashboard .d360-team-picker label { display: flex; align-items: center; gap: 7px; font-size: 12px; min-height: 30px; overflow-wrap: anywhere; }
.d360-dashboard .d360-team-picker input { appearance: auto; accent-color: var(--d360-blue); width: 17px; height: 17px; flex: 0 0 17px; margin: 0; }
.d360-dashboard .d360-chart-scroll { overflow-x: auto; max-width: 100%; }
.d360-dashboard [data-evolution-chart] { min-width: 600px; }
.d360-dashboard [data-evolution-chart] svg { display: block; width: 100%; height: 340px; overflow: visible; }
.d360-dashboard .d360-evolution-data { margin-top: 18px; }
.d360-dashboard .d360-evolution-data summary { cursor: pointer; font-size: 12px; padding: 10px 0; font-weight: 700; }
.d360-dashboard .d360-dashboard-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; font-size: 11px; color: var(--d360-muted); }
.d360-dashboard .d360-dashboard-footer > span:first-child { color: var(--d360-blue); font-weight: 800; }
.d360-dashboard .d360-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.d360-dashboard.d360-empty { padding: 28px 0; border-block: 1px solid var(--d360-line); }
.d360-dashboard.d360-empty > p:last-child { margin-top: 14px; color: var(--d360-muted); }
@container (max-width: 760px) {
    .d360-dashboard .d360-season-label { display: none; }
    .d360-dashboard .d360-title { font-size: 27px; }
    .d360-dashboard .d360-title > span { font-size: 20px; }
    .d360-dashboard .d360-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .d360-dashboard .d360-chart-columns { grid-template-columns: 1fr; gap: 30px; }
    .d360-dashboard .d360-bars > li { grid-template-columns: minmax(100px,1fr) minmax(60px,1.5fr) 45px; }
    .d360-dashboard .d360-fixtures { grid-template-columns: 1fr; }
    .d360-dashboard .d360-team-picker fieldset { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container (max-width: 430px) {
    .d360-dashboard .d360-summary { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 18px; }
    .d360-dashboard .d360-summary > div:nth-child(2) { border: 0; }
    .d360-dashboard .d360-title > span { display: block; margin-top: 5px; }
    .d360-dashboard .d360-section-heading h3 { font-size: 19px; }
    .d360-dashboard .d360-stat { padding: 13px; min-height: 167px; }
    .d360-dashboard .d360-stat-team { font-size: 12px; }
    .d360-dashboard .d360-cards { gap: 10px; }
    .d360-dashboard .d360-team-picker fieldset { grid-template-columns: 1fr; }
    .d360-dashboard .d360-js-control { flex-wrap: wrap; }
}
@media print {
    .d360-dashboard .d360-nav, .d360-dashboard .d360-js-control { display: none !important; }
    .d360-dashboard .d360-table { min-width: 0; font-size: 10px; }
    .d360-dashboard .d360-table th[scope="row"] { min-width: 0; }
}
