/* Standings presentation. Load after site-theme.css: this sheet owns only the
   compact table and its disclosure panel, never scores, qualification or picks. */
body #main-content #standings .standings-scroll{box-sizing:border-box;min-width:0;max-width:100%;margin:16px 0;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;scrollbar-color:var(--catimba-border,#aaa) var(--catimba-surface,#fff);border:1px solid var(--catimba-divider,#ddd);border-radius:4px;background-color:var(--catimba-surface,#fff)}
body #main-content #standings .standings-scroll:focus-visible{outline:3px solid var(--catimba-focus,#806900);outline-offset:3px}
body #main-content #standings .standings-table{box-sizing:border-box;table-layout:fixed;width:100%;min-width:760px;margin:0;border-collapse:collapse;border-spacing:0;background-color:var(--catimba-surface,#fff);color:var(--catimba-text,#111);font-family:Arial,Helvetica,sans-serif;font-size:.875rem;line-height:1.35;font-variant-numeric:tabular-nums;white-space:normal}
body #main-content #standings .standings-table.championship-table{min-width:840px}
body #main-content #standings .standings-table.championship-table.championship-table--final{min-width:520px}
body #main-content #standings .standings-table.comparison-table{min-width:970px}
body #main-content #standings .standings-table caption{padding:12px 14px;text-align:left;background-color:var(--catimba-surface,#fff);color:var(--catimba-muted,#626262);font-size:.8125rem;font-weight:400;line-height:1.5}
body #main-content #standings .standings-table th,body #main-content #standings .standings-table td{box-sizing:border-box;min-width:0;max-width:none;padding:6px 12px;border:0;border-bottom:1px solid var(--catimba-divider,#ddd);background-color:transparent;color:var(--catimba-text,#111);vertical-align:middle;white-space:normal;overflow-wrap:normal}
body #main-content #standings .standings-table thead th{height:44px;background-color:var(--catimba-surface-alt,#f0f0f0);color:var(--catimba-muted,#626262);font-size:.75rem;line-height:1.35;font-weight:600;text-align:center}
body #main-content #standings .standings-table tbody tr{height:56px;background-color:var(--catimba-surface,#fff);color:var(--catimba-text,#111)}
body #main-content #standings .standings-table tbody tr:hover{background-color:var(--catimba-surface-alt,#f0f0f0)}
body #main-content #standings .standings-table tbody tr:last-child>th,body #main-content #standings .standings-table tbody tr:last-child>td{border-bottom:0}
body #main-content #standings .standings-table .standings-rank{width:44px;min-width:0;padding-left:9px;padding-right:8px;border-left:3px solid transparent;text-align:center;color:var(--catimba-muted,#626262);font-weight:400}
body #main-content #standings .standings-table .standings-team{width:248px;min-width:0;text-align:left;font-weight:600;overflow-wrap:anywhere}
body #main-content #standings .standings-table tbody .standings-team{font-size:.875rem;font-weight:600}
body #main-content #standings .standings-table .standings-team-name{font-weight:600}
body #main-content #standings .standings-table .standings-champion-mark{display:inline-block;margin-left:6px;color:var(--catimba-muted,#626262);font-size:.875rem;line-height:1.4;vertical-align:middle}
body #main-content #standings .standings-table .standings-stat{width:48px;min-width:0;padding-left:7px;padding-right:7px;text-align:center;font-weight:400}
body #main-content #standings .standings-table .standings-points{width:52px;font-weight:700;color:var(--catimba-text,#111)}
body #main-content #standings .standings-table .standings-status{width:94px;min-width:0;padding-left:7px;padding-right:7px;text-align:right;font-size:.8125rem}
body #main-content #standings .standings-table .standing-zone{min-width:0;font-size:.8125rem;line-height:1.4}

/* A club name is the navigation target, not a filled action card. */
body #main-content #standings .standings-table .team-news-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;margin:0;padding:4px 0;border:0;border-radius:0;background-color:transparent;color:var(--catimba-text,#111);box-shadow:none;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.35;text-align:left;text-transform:none;text-decoration:none;white-space:normal;cursor:pointer}
body #main-content #standings .standings-table .team-news-link:hover{background-color:transparent;color:var(--catimba-text,#111)}
body #main-content #standings .standings-table .team-news-link>span:not(.club-logo){min-width:0;max-width:100%;overflow-wrap:anywhere}
body #main-content #standings .standings-table .team-news-link:hover>span:not(.club-logo){text-decoration:underline;text-underline-offset:3px}
body #main-content #standings .standings-table .team-news-link>small{display:none}
body #main-content #standings .standings-table .team-news-link>.club-logo{width:24px;height:24px;flex:0 0 24px}
body #main-content #standings .standings-table .team-news-link>img{display:block;width:24px;height:24px;flex:0 0 24px;object-fit:contain}
body #main-content #standings .standings-table .team-news-link:focus-visible{outline:3px solid var(--catimba-focus,#806900);outline-offset:3px}
body #main-content #standings .standings-table .team-news-link:disabled{background-color:transparent;color:var(--catimba-muted,#626262);opacity:1;cursor:default}
body #main-content #standings .standings-table .champion-badge{display:inline-flex;align-items:center;gap:3px;max-width:100%;margin:0 0 0 6px;padding:0;border:0;border-radius:0;background-color:transparent;color:var(--catimba-muted,#626262);font-size:.875rem;font-weight:600;line-height:1.4;vertical-align:middle}

/* Zones use a narrow marker; repeated qualification copy lives in Details. */
body #main-content #standings .standings-table .zone-libertadores .standings-rank{border-left-color:var(--catimba-zone-libertadores,#23804d)}
body #main-content #standings .standings-table .zone-sulamericana .standings-rank{border-left-color:var(--catimba-zone-sulamericana,#216dad)}
body #main-content #standings .standings-table :is(.zone-continental-pending,.zone-sula-pending) .standings-rank{border-left-color:var(--catimba-zone-pending,#79509a)}
body #main-content #standings .standings-table .zone-relegation .standings-rank{border-left-color:var(--catimba-zone-relegation,#b52b3a)}
body #main-content #standings :is(.standing-details-button,.standings-row-details){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;margin:0;padding:8px;border:1px solid transparent;border-radius:3px;background-color:transparent;color:var(--catimba-muted,#626262);font-family:inherit;font-size:.8125rem;font-weight:400;line-height:1.35;text-decoration:underline;text-underline-offset:3px;white-space:normal;cursor:pointer}
body #main-content #standings :is(.standing-details-button,.standings-row-details):hover,body #main-content #standings :is(.standing-details-button,.standings-row-details)[aria-expanded="true"]{background-color:var(--catimba-surface-alt,#f0f0f0);color:var(--catimba-text,#111);border-color:var(--catimba-divider,#ddd)}
body #main-content #standings :is(.standing-details-button,.standings-row-details):focus-visible{outline:3px solid var(--catimba-focus,#806900);outline-offset:2px}
body #main-content #standings :is(.standing-details-panel,.standings-details){box-sizing:border-box;min-width:0;max-width:100%;margin:16px 0;padding:16px;border:1px solid var(--catimba-divider,#ddd);border-radius:4px;background-color:var(--catimba-surface,#fff);color:var(--catimba-text,#111);font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
body #main-content #standings :is(.standing-details-panel,.standings-details)[hidden]{display:none}
body #main-content #standings :is(.standing-details-panel,.standings-details):focus{outline:3px solid var(--catimba-focus,#806900);outline-offset:2px}
body #main-content #standings :is(.standing-details-panel,.standings-details) :is(h3,h4){margin:0 0 10px;color:var(--catimba-text,#111);font-size:1rem;line-height:1.4}
body #main-content #standings :is(.standing-details-panel,.standings-details) p{margin:8px 0;color:var(--catimba-text,#111)}
body #main-content #standings :is(.standing-details-panel,.standings-details) a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:var(--catimba-text,#111);text-underline-offset:3px}
body #main-content #standings :is(.standing-details-panel,.standings-details) dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:12px 0}
body #main-content #standings :is(.standing-details-panel,.standings-details) dt{margin:0;color:var(--catimba-muted,#626262);font-size:.8125rem}
body #main-content #standings :is(.standing-details-panel,.standings-details) dd{margin:0;color:var(--catimba-text,#111)}

@media(max-width:700px){
body #main-content #standings .standings-scroll{margin:12px 0}
body #main-content #standings .standings-table{min-width:680px}
body #main-content #standings .standings-table.championship-table{min-width:768px}
body #main-content #standings .standings-table th,body #main-content #standings .standings-table td{padding-left:8px;padding-right:8px}
body #main-content #standings .standings-table .standings-team{width:180px}
body #main-content #standings .standings-table .standings-rank{width:40px;padding-left:6px;padding-right:5px}
body #main-content #standings .standings-table .standings-stat{width:44px;padding-left:5px;padding-right:5px}
body #main-content #standings .standings-table .standings-points{width:48px}
body #main-content #standings .standings-table .standings-status{width:82px;padding-left:4px;padding-right:4px}
body #main-content #standings :is(.standing-details-panel,.standings-details) dl{grid-template-columns:minmax(0,1fr)}
}
