.opportunity-page{background:#f5f8fc}.opportunity-page .site-header{position:relative;background:#031a33}.opportunity-page h1,.opportunity-page h2,.opportunity-page h3{font-family:Inter,Arial,sans-serif;letter-spacing:-.025em}.opportunity-page h1{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:8px 0 16px}.opportunity-page h2{font-size:25px;line-height:1.2}.opportunity-page p{line-height:1.65;font-size:16px}.opportunity-page .eyebrow{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#846014}.opportunity-heading{background:#031a33;color:#fff;padding:38px 0 30px;border-bottom:4px solid #e6ad3c}.opportunity-heading p{margin:8px 0}.opportunity-heading .eyebrow{color:#e6ad3c}.opportunity-content{padding:32px 0 42px}.policy{display:grid;grid-template-columns:1.5fr 1fr;gap:48px}.policy h2{margin-top:0}.policy aside{background:#fff;border:1px solid #d5e1ed;padding:26px 30px;border-top:4px solid #e6ad3c;border-radius:8px}.policy aside h3{font-size:21px;margin:0 0 20px}.policy dl{margin:0}.policy dt{font-weight:700;font-size:16px}.policy dd{color:#536174;line-height:1.55;margin:6px 0 20px;font-size:16px}.policy dd:last-child{margin-bottom:0}.squad-entry{background:#e6f0fc;border:1px solid #cbdced;padding:26px 30px;border-radius:10px;margin-top:34px;display:flex;align-items:center;gap:28px;justify-content:space-between}.squad-entry h2{margin:0 0 8px}.squad-entry p{margin:0;max-width:700px}.opportunity-page .btn{font-family:inherit;cursor:pointer;border:0;text-decoration:none;font-size:16px;font-weight:700;white-space:nowrap;min-height:46px}.opportunity-footer{border-top:1px solid #d5e1ed;display:flex;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:26px;font-size:14px;color:#536174}.opportunity-footer a{color:#075ec4}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-heading h1{margin:8px 0 12px}.access-panel{max-width:640px;background:#fff;border:1px solid #d5e1ed;border-top:4px solid #e6ad3c;border-radius:8px;padding:26px 30px;margin-top:28px}.access-panel h2{margin:0}.access-panel label{display:block;font-weight:600;font-size:14px;margin:22px 0 8px}.access-input{display:flex;gap:12px}.access-input input{min-width:0;flex:1}.opportunity-page input,.opportunity-page select{font:inherit;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid #b7cadd;border-radius:5px;background:#fff;color:#0b1d38}.opportunity-page button:focus-visible,.opportunity-page a:focus-visible,.opportunity-page input:focus-visible,.opportunity-page select:focus-visible,.participation-table-wrap:focus-visible{outline:3px solid #1f77e8;outline-offset:3px}.dashboard-meta{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #d5e1ed}.dashboard-meta p{font-size:14px;color:#536174}.participation-tools{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:24px 0 18px}.participation-tools label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px}.text-button,.secondary-button{font:inherit;font-size:14px;background:white;color:#075ec4;border:1px solid #b7cadd;padding:12px 16px;border-radius:5px;cursor:pointer;min-height:44px}.text-button{background:transparent;border:none}.participation-table-wrap{overflow-x:auto;border:1px solid #cad9e8;border-radius:8px;background:#fff}#participation-table{width:100%;border-collapse:collapse;min-width:900px;font-size:14px}#participation-table thead{background:#031a33;color:#fff}#participation-table th{text-align:right;font-size:14px;padding:17px 14px;white-space:nowrap}#participation-table th:first-child,#participation-table th:nth-child(8){text-align:left}#participation-table td{padding:16px 14px;border-bottom:1px solid #e1e9f2;text-align:right;font-variant-numeric:tabular-nums}#participation-table tr:nth-child(even){background:#f0f6fd}#participation-table td:first-child{text-align:left;font-weight:600;white-space:nowrap}#participation-table td:nth-child(8){text-align:left}#participation-table td.na{color:#65748a}#participation-table td.category-unset{color:#846014}.participation-notes{max-width:980px;color:#536174;margin-top:22px}.participation-notes p{font-size:14px}.participation-notes strong{display:block;color:#031a33;margin-bottom:6px}.sources{font-size:14px;color:#536174;padding-top:18px;border-top:1px solid #d5e1ed}.sources summary{cursor:pointer;font-weight:600;color:#0b1d38}.sources li{padding:8px 0}.sources a{color:#075ec4}.role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}.role-list label{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;font-size:14px}.role-actions{display:flex;gap:12px;margin:24px 0}#roles{background:#fff;border:1px solid #cad9e8;border-top:4px solid #e6ad3c;border-radius:8px;padding:24px;margin-bottom:20px}#message{color:#8b4610;min-height:1px}[hidden]{display:none!important}@media(max-width:760px){.policy{grid-template-columns:1fr;gap:20px}.squad-entry,.participation-tools,.dashboard-meta,.access-input{align-items:stretch;flex-direction:column}.role-list{grid-template-columns:1fr}.opportunity-footer{flex-direction:column;gap:12px}.squad-entry,.access-panel{padding:22px}.dashboard-meta{gap:0}.dashboard-meta p{margin:6px 0}.dashboard-heading h1{font-size:30px}.opportunity-page .shell{width:calc(100% - 32px)}}

/* Player Opportunity table. */
.opportunity-page .dashboard-intro{color:#536174;margin:0 0 10px;font-size:17px}
.opportunity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 18px}.summary-tile{background:#031a33;color:#fff;padding:24px 26px;border-radius:12px;border-top:3px solid #e6ad3c}.summary-tile>span{font-size:13px;font-weight:600;color:#c6d8e9}.summary-tile>strong{display:block;font-size:42px;line-height:1.2;margin:8px 0;font-variant-numeric:tabular-nums}.summary-tile>small{color:#c6d8e9;font-size:12px;line-height:1.5;display:block}
.participation-tools{align-items:center;flex-wrap:wrap}.order-legend{display:flex;flex-wrap:wrap;gap:14px 24px;margin:22px 0 12px;font-size:12px;color:#536174}.order-legend span{display:flex;align-items:center;gap:7px}.order-legend i{width:10px;height:10px;border-radius:3px}.band-top{background:#9bddb4}.band-middle{background:#c39127}.band-lower{background:#f1a5a5}.table-hint,.career-status{font-size:12px!important;color:#536174;margin:0 0 14px}.career-status:empty{display:none}
.participation-table-wrap{border-radius:12px;box-shadow:0 4px 18px rgba(3,26,51,.04)}#participation-table{min-width:1140px;font-size:12px}#participation-table thead th{font-size:12px;line-height:1.4;white-space:normal;padding:12px 9px}#participation-table .group-headings th{text-align:center;background:#031a33;color:#dce8f5;font-size:11px;letter-spacing:.025em;border-right:1px solid #38506b}#participation-table .group-headings .player-heading{text-align:left;width:155px;color:#fff;font-size:13px;padding-left:16px}#participation-table .column-headings th{text-align:right;background:#17344f;color:#fff}#participation-table .column-headings th:nth-child(7){text-align:left}#participation-table .column-headings .heading-top{background:#c7eed4;color:#174a2e}#participation-table .column-headings .heading-middle{background:#73551a}#participation-table .column-headings .heading-lower{background:#f9dada;color:#742b32}
#participation-table tbody td,#participation-table tbody th{padding:15px 9px;border-bottom:1px solid #e1e9f2;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}#participation-table tbody th{text-align:left;font-weight:600;position:sticky;left:0;background:#fff;z-index:1;padding-left:16px;box-shadow:1px 0 #d5e1ed}#participation-table tbody tr:nth-child(even) th{background:#f0f6fd}#participation-table tbody tr:hover td,#participation-table tbody tr:hover th{background:#e5effa}#participation-table tbody td:first-child{text-align:right;font-weight:400}#participation-table tbody .innings-cell{font-size:17px;font-weight:700;color:#155b9f}#participation-table .group-end{border-right:1px solid #d5e1ed}#participation-table .metric-cell{min-width:74px;font-size:11px}#participation-table .top-cell{background:rgba(104,192,134,.09)}#participation-table .middle-cell{background:rgba(195,145,39,.055)}#participation-table .lower-cell{background:rgba(228,119,119,.08)}.table-track{height:5px;border-radius:5px;background:#dce5ef;display:block;margin-top:8px;overflow:hidden}.table-fill{height:100%;display:block;background:#1768b6;border-radius:5px}.middle-cell .table-fill{background:#c39127}.lower-cell .table-fill{background:#f1a5a5}
#participation-table .role-cell{text-align:left;white-space:normal;min-width:95px}.table-role{display:inline-block;padding:4px 7px;border-radius:5px;font-size:10px;line-height:1.5;font-weight:600}.role-front{background:#e4effe;color:#155b9f}.role-fill{background:#fbf0d4;color:#73551a}.role-none{background:#e9eef3;color:#536174}.category-unset{background:#fbf0d4;color:#73551a}
.participation-notes summary{cursor:pointer;font-weight:600;font-size:14px;color:#031a33}.participation-notes{background:#eaf1f8;border-radius:8px;padding:18px 20px;margin:24px 0}.sources{margin-top:20px}
@media(max-width:760px){.opportunity-summary{gap:10px}.summary-tile{padding:18px 16px}.summary-tile>strong{font-size:34px}.participation-tools{align-items:stretch}.dashboard-heading{align-items:flex-start}.dashboard-heading .text-button{padding:10px 0 10px 10px}.opportunity-page .dashboard-intro{font-size:15px}#participation-table .group-headings th:first-child{width:140px}#participation-table tbody th{max-width:140px;white-space:normal;min-width:125px}}
@media(max-width:420px){.summary-tile{padding:15px 12px}.summary-tile>small{font-size:10px}.summary-tile>span{font-size:11px}.summary-tile>strong{font-size:30px}.order-legend{gap:10px 16px}}

/* Fit every column on desktop while keeping phone figures readable. */
.opportunity-content{width:min(1440px,calc(100% - 44px))}
#participation-table{table-layout:fixed;min-width:1000px;width:100%}#participation-table .player-column{width:14%}#participation-table .role-column{width:9%}#participation-table .number-column{width:6.4166667%}
#participation-table tbody th{white-space:normal;overflow-wrap:break-word}#participation-table .metric-cell{min-width:0}#participation-table .role-cell{min-width:0}
#participation-table .group-headings th[rowspan]{position:sticky;left:0;z-index:2}
@media(min-width:980px){#participation-table{min-width:0}#participation-table thead th,#participation-table tbody td{padding-left:7px;padding-right:7px}}

#participation-table tbody .matches-cell{font-size:17px;font-weight:700;color:#031a33}

/* Every heading sorts in both directions; new visits start with batting opportunity. */
.participation-tools #sort-summary{font-size:13px;color:#536174;margin:0}.participation-tools #reset-sort{padding:8px 12px}.participation-tools #edit{margin-left:auto}
#participation-table .column-sort{position:relative;display:block;width:100%;min-height:44px;padding:0 12px 0 0;border:0;background:transparent;font:inherit;font-weight:600;line-height:1.4;color:inherit;cursor:pointer;text-align:right}
#participation-table .group-headings .player-heading .column-sort,#participation-table .role-column-header .column-sort{text-align:left}
.column-sort .sort-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:11px;opacity:.7}#participation-table th[aria-sort="ascending"] .sort-icon,#participation-table th[aria-sort="descending"] .sort-icon{color:#f5c45c;opacity:1}
#participation-table .column-sort:hover{color:#f5c45c}#participation-table .column-sort:focus-visible{outline:2px solid #f5c45c;outline-offset:3px;border-radius:3px}

/* Participation colours: full batting green, top order light green, middle amber, lower light red. */
.batted-cell .table-fill.fully-batted{background:#2c9658}.top-cell .table-fill{background:#9bddb4}
#participation-table .heading-top .column-sort:hover,#participation-table .heading-top .column-sort .sort-icon{color:#174a2e}
#participation-table .heading-lower .column-sort:hover,#participation-table .heading-lower .column-sort .sort-icon{color:#742b32}

/* Make full batting participation easy to spot without hiding the order bands. */
#participation-table tbody .batted-complete{background:#ddf3e5}#participation-table tbody tr:hover .batted-complete{background:#cdebd8}
.complete-batting-badge{display:inline-block;background:#21663c;color:#fff;font-size:12px;font-weight:700;line-height:1.4;padding:3px 7px;border-radius:5px}
.batted-complete .table-track{height:7px;background:#b9dfc7;margin-top:7px}.batted-complete .table-fill{height:7px}

/* Keep a stable batting opportunity rank on the left, within the desktop table. */
#participation-table .number-column{width:6.0833333%}#participation-table .rank-column{width:var(--rank-width)}
#participation-table tbody .rank-cell{font-size:16px;font-weight:700;color:#17344f;border-right:1px solid #d5e1ed;background:#edf3f9}

/* Keep rank and player together when the table scrolls on smaller screens. */
.participation-table-wrap{--rank-width:40px}
#participation-table tbody th,#participation-table .group-headings .player-heading{left:var(--rank-width)}
#participation-table .group-headings .rank-heading{left:0;z-index:3;padding-left:7px;padding-right:7px;text-align:center}
#participation-table .rank-heading .column-sort{text-align:center}
#participation-table tbody .rank-cell{position:sticky;left:0;z-index:2;text-align:center;box-shadow:1px 0 #d5e1ed}
@media(min-width:980px){.participation-table-wrap{--rank-width:4%}}

.grade-switch{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}.grade-switch button{font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:10px 20px;border:1px solid #b7cadd;border-radius:7px;background:#fff;color:#17344f;cursor:pointer}.grade-switch button[aria-pressed="true"]{background:#031a33;border-color:#031a33;color:#fff;box-shadow:inset 0 -3px #e6ad3c}.grade-switch button:hover{border-color:#075ec4}.grade-switch button:focus-visible{outline:3px solid #1f77e8;outline-offset:3px}

.dashboard-heading{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.4fr) auto;gap:28px}.opportunity-page .participation-purpose{margin:0;padding-left:20px;border-left:3px solid #e6ad3c;font-size:14px;line-height:1.6;color:#536174}.participation-admin{align-self:start;white-space:nowrap}@media(max-width:980px){.dashboard-heading{grid-template-columns:1fr auto;gap:16px}.participation-title{grid-column:1;grid-row:1}.participation-admin{grid-column:2;grid-row:1}.opportunity-page .participation-purpose{grid-column:1/-1;grid-row:2;max-width:760px}}
