/* Shared, stronger semantic accents. Neutral surfaces and unknown values stay neutral. */
body.sidebar-layout{
 --tone-good:#08723e;--tone-good-bg:#cff0dc;
 --tone-watch:#875309;--tone-watch-bg:#ffe3a8;
 --tone-low:#a82a2a;--tone-low-bg:#ffd1cb;
 --tone-info:#176ac4;--tone-info-bg:#d3e7fa;
}
body.sidebar-layout .type-events,body.sidebar-layout .legend-events{--event-color:#098653;--event-bg:#cfeddf}
body.sidebar-layout .type-tournaments,body.sidebar-layout .legend-tournaments{--event-color:#8439ba;--event-bg:#e6d4f7}
body.sidebar-layout .type-bookings,body.sidebar-layout .legend-bookings{--event-color:#475d78;--event-bg:#d5e1f1}
body.sidebar-layout .round-summer,body.sidebar-layout .legend-summer{--event-color:#c56608;--event-bg:#ffe0b6}
body.sidebar-layout .round-winter,body.sidebar-layout .legend-winter{--event-color:#176ac4;--event-bg:#cee3ff}
body.sidebar-layout .calendar-entry,body.sidebar-layout .agenda-item{border-left-width:4px;color:#172638}
body.sidebar-layout .calendar-entry time{font-weight:650;color:inherit}
body.sidebar-layout .calendar-entry:hover{outline:1px solid var(--event-color);outline-offset:-1px}
body.sidebar-layout .is-today .day-number{background:var(--tone-info);color:#fff;border-radius:3px;padding:2px 5px}
body.sidebar-layout .event-kind{background:#cde2fa;color:#145da9}
body.sidebar-layout .event-kind[data-kind="1"]{background:#b8eade;color:#056a55}
body.sidebar-layout .event-kind[data-kind="3"]{background:#e0c6f7;color:#7525a9}
body.sidebar-layout .event-kind[data-kind="4"]{background:#ffd7aa;color:#9a4307}
body.sidebar-layout .event-menu-capacity{background:#cff0dc;border-color:#76b98e;color:#155c32}
body.sidebar-layout .event-menu-capacity.is-full{background:#ffe3b5;border-color:#d8a456;color:#78490a}
body.sidebar-layout .overview-group-own{--overview-tone:#0b8249}
body.sidebar-layout .overview-group-htv{--overview-tone:#176ac4}
body.sidebar-layout .overview-group-internal{--overview-tone:#c56608}
body.sidebar-layout .overview-group-events{--overview-tone:#8439ba}
body.sidebar-layout .overview-metrics strong{color:#145da9}
body.sidebar-layout .htv-portal .player-level{background:var(--tone-info-bg);border-color:#82b7e7}
body.sidebar-layout .htv-portal .player-level strong{color:#145da9}
body.sidebar-layout .htv-portal .player-rate.good{background:var(--tone-good-bg)}
body.sidebar-layout .htv-portal .player-rate.watch{background:var(--tone-watch-bg)}
body.sidebar-layout .htv-portal .player-rate.low{background:var(--tone-low-bg)}
body.sidebar-layout .htv-portal .player-rate.good strong,body.sidebar-layout .htv-portal .player-discipline.tone-good strong{color:var(--tone-good)}
body.sidebar-layout .htv-portal .player-rate.watch strong,body.sidebar-layout .htv-portal .player-discipline.tone-watch strong{color:var(--tone-watch)}
body.sidebar-layout .htv-portal .player-rate.low strong,body.sidebar-layout .htv-portal .player-discipline.tone-low strong{color:var(--tone-low)}
body.sidebar-layout .htv-portal .player-card-v2[data-rate-tone="good"]{border-top-color:var(--tone-good)}
body.sidebar-layout .htv-portal .player-card-v2[data-rate-tone="watch"]{border-top-color:#c4800b}
body.sidebar-layout .htv-portal .player-card-v2[data-rate-tone="low"]{border-top-color:var(--tone-low)}
body.sidebar-layout .htv-portal .player-rate.good .player-rate-fill{fill:var(--tone-good)}
body.sidebar-layout .htv-portal .player-rate.watch .player-rate-fill{fill:#c4800b}
body.sidebar-layout .htv-portal .player-rate.low .player-rate-fill{fill:var(--tone-low)}
body.sidebar-layout .htv-portal .result.win{color:#08743d;font-weight:700}
body.sidebar-layout .htv-portal .result.loss{color:#c02b32;font-weight:700}
body.sidebar-layout .htv-portal .spider-shape{fill:#089b954d;stroke:#078d87;stroke-width:2.4}
body.sidebar-layout .htv-portal .spider-line{stroke:#078d87;stroke-width:2.4}
body.sidebar-layout .htv-portal .spider-point.tone-good{fill:var(--tone-good)}
body.sidebar-layout .htv-portal .spider-point.tone-watch{fill:#c4800b}
body.sidebar-layout .htv-portal .spider-point.tone-low{fill:var(--tone-low)}
body.sidebar-layout .kpi-tile.kpi-good,body.sidebar-layout .kpi-comparison-table td.kpi-good{background:var(--tone-good-bg);border-color:#76b98e;color:#155c32}
body.sidebar-layout .kpi-tile.kpi-watch,body.sidebar-layout .kpi-comparison-table td.kpi-watch{background:var(--tone-watch-bg);border-color:#d8a456;color:#78490a}
body.sidebar-layout .kpi-tile.kpi-low,body.sidebar-layout .kpi-comparison-table td.kpi-low{background:var(--tone-low-bg);border-color:#dc8c85;color:#9e2727}
body.sidebar-layout .kpi-tile.kpi-good strong{color:var(--tone-good)}
body.sidebar-layout .kpi-tile.kpi-watch strong{color:var(--tone-watch)}
body.sidebar-layout .kpi-tile.kpi-low strong{color:var(--tone-low)}
body.sidebar-layout .htv-portal .player-win-rate.high{background:var(--tone-good-bg);color:#08743d}
body.sidebar-layout .htv-portal .player-win-rate.good{background:#ddecbb;color:#486d13}
body.sidebar-layout .htv-portal .player-win-rate.low{background:var(--tone-watch-bg);color:#855009}
body.sidebar-layout .team-selector .selected{background:#d3e7fa!important;box-shadow:inset 3px 0 #176ac4}
body.sidebar-layout .court-plan .free-slot:hover{background:#cfe3fa}
body.sidebar-layout .availability-state.state-available{background:#bfe9cf;color:#076737}
body.sidebar-layout .availability-state.state-unavailable{background:#ffd1cb;color:#a42229}
body.sidebar-layout .availability-state.state-unsure{background:#ffe0a1;color:#7d5007}

body.sidebar-layout .htv-portal .spider-value{fill:#163f5d}
body.sidebar-layout .htv-portal .spider-label{fill:#486174}
.sport-category-tags{display:inline-flex;gap:5px;flex-wrap:wrap;margin:0 7px 6px 0}.sport-division,.sport-gender{display:inline-flex;align-items:center;padding:2px 6px;font-size:10px;font-weight:650;line-height:1.4;border-radius:2px}.sport-division.sport-youth{background:#ffe3be;color:#864008}.sport-division.sport-adult{background:#d5e9fb;color:#1b527f}.sport-division.sport-senior{background:#d5f0e5;color:#0b674b}.sport-gender.sport-women{background:#eeddfb;color:#773398}.sport-gender.sport-men{background:#d6e9ff;color:#195c9f}.sport-gender.sport-mixed{background:#e4e8ee;color:#465369}.team-gender-dot{display:inline-block;width:7px;height:7px;min-width:7px;border-radius:50%;vertical-align:middle;margin-right:5px}.team-gender-dot.sport-women{background:#943ac2}.team-gender-dot.sport-men{background:#1672d4}.team-gender-dot.sport-mixed{background:#597184}.sidebar-layout .team-selector .team-category-heading th{font-size:11px;font-weight:700;text-align:left;padding:6px 8px;border-left:3px solid transparent}.sidebar-layout .team-selector .team-category-heading.sport-youth th{color:#864008;background:#fff1dd;border-left-color:#dd861e}.sidebar-layout .team-selector .team-category-heading.sport-adult th{color:#1b527f;background:#e7f2fe;border-left-color:#1672d4}.sidebar-layout .team-selector .team-category-heading.sport-senior th{color:#0b674b;background:#e1f3eb;border-left-color:#13865b}.sidebar-layout .htv-portal .league-category[data-category="0"] th{background:#f1e5fa;color:#773398;border-left:3px solid #943ac2}.sidebar-layout .htv-portal .league-category[data-category="1"] th{background:#e2effe;color:#195c9f;border-left:3px solid #1672d4}.sidebar-layout .htv-portal .league-category[data-category="2"] th{background:#fff0d9;color:#864008;border-left:3px solid #dd861e}.league-ladder .sport-division,.league-history .sport-division{margin-left:5px}
.sidebar-layout .team-selector .team-row-title .team-row-label{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.sidebar-layout .team-selector .team-row-title .team-gender-dot{flex:0 0 7px;margin-right:0}
body.sidebar-layout main .court-plan{border:1px solid #c5d2de;background:#fff}body.sidebar-layout main .court-plan table{border-collapse:collapse;margin:0}body.sidebar-layout main .court-plan tr>:not(:first-child){border-left:1px solid #bfcfdd}body.sidebar-layout main .court-plan thead th{background:#edf2f6;color:#25455e;border-bottom:2px solid #afc3d3;padding:9px 8px;font-size:11px;font-weight:700;letter-spacing:.03em}body.sidebar-layout main .court-plan tbody td,body.sidebar-layout main .court-plan tbody th{border-bottom:1px solid #dce4eb}body.sidebar-layout main .court-plan tbody tr:last-child>:is(th,td){border-bottom:0}body.sidebar-layout main .court-plan tbody th{background:#f3f6f8;color:#486175;font-size:11px;font-weight:650;vertical-align:middle}body.sidebar-layout main .court-plan tr>:first-child{position:sticky;left:0;z-index:1;width:62px;min-width:62px;border-right:1px solid #afc3d3}body.sidebar-layout main .court-plan thead th:first-child{z-index:2}body.sidebar-layout main .court-plan tbody tr:nth-child(even) td{background:#fafbfd}body.sidebar-layout main .court-plan .booking-slot{margin:0;box-sizing:border-box;padding:6px 8px}body.sidebar-layout main .court-plan .free-slot{margin:0}body.sidebar-layout main .court-plan td:focus-within{outline:2px solid #4b85ad;outline-offset:-2px}
body.sidebar-layout .club-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.club-settings h2{font-size:14px!important;margin:0 0 10px}.club-settings-logo{max-width:140px;max-height:90px;object-fit:contain;background:transparent}.club-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.club-color-grid label{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;border:1px solid #d8e2ea;font-size:12px;gap:8px}.club-color-grid input[type="color"]{width:44px;height:30px;min-height:30px;padding:1px}.assignment-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.assignment-editor-grid h2{font-size:14px!important}.assignment-search{max-width:480px;margin:8px 0;width:100%}.assignment-nav .active{background:#dceaf5;color:#174d77}.account-role-form{display:flex;gap:6px;align-items:center}.account-role-form select{font-size:12px;min-height:31px;margin:0;max-width:150px}.account-role-form button{font-size:12px;margin:0;min-height:31px;padding:5px 9px}.assignment-editor-grid small{display:block;margin-top:10px;color:#60768a;font-size:11px}@media(max-width:800px){body.sidebar-layout .club-settings-grid,.assignment-editor-grid{grid-template-columns:minmax(0,1fr)}.account-role-form{flex-wrap:wrap}.club-color-grid label{font-size:11px}}

.sport-division.sport-youth{background:var(--sport-youth-soft,#ffe3be);color:var(--sport-youth-ink,#864008)}.sport-division.sport-adult{background:var(--sport-adult-soft,#d5e9fb);color:var(--sport-adult-ink,#1b527f)}.sport-division.sport-senior{background:var(--sport-senior-soft,#d5f0e5);color:var(--sport-senior-ink,#0b674b)}.sport-gender.sport-women{background:var(--sport-women-soft,#eeddfb);color:var(--sport-women-ink,#773398)}.sport-gender.sport-men{background:var(--sport-men-soft,#d6e9ff);color:var(--sport-men-ink,#195c9f)}.sport-gender.sport-mixed{background:var(--sport-mixed-soft,#e4e8ee);color:var(--sport-mixed-ink,#465369)}.team-gender-dot.sport-women{background:var(--sport-women,#943ac2)}.team-gender-dot.sport-men{background:var(--sport-men,#1672d4)}.team-gender-dot.sport-mixed{background:var(--sport-mixed,#597184)}body.sidebar-layout .team-selector .team-category-heading.sport-youth th{background:var(--sport-youth-soft,#fff1dd);color:var(--sport-youth-ink,#864008);border-left-color:var(--sport-youth,#dd861e)}body.sidebar-layout .team-selector .team-category-heading.sport-adult th{background:var(--sport-adult-soft,#e7f2fe);color:var(--sport-adult-ink,#1b527f);border-left-color:var(--sport-adult,#1672d4)}body.sidebar-layout .team-selector .team-category-heading.sport-senior th{background:var(--sport-senior-soft,#e1f3eb);color:var(--sport-senior-ink,#0b674b);border-left-color:var(--sport-senior,#13865b)}body.sidebar-layout .htv-portal .league-category[data-category="0"] th{background:var(--sport-women-soft,#f1e5fa);color:var(--sport-women-ink,#773398);border-left-color:var(--sport-women,#943ac2)}body.sidebar-layout .htv-portal .league-category[data-category="1"] th{background:var(--sport-men-soft,#e2effe);color:var(--sport-men-ink,#195c9f);border-left-color:var(--sport-men,#1672d4)}body.sidebar-layout .htv-portal .league-category[data-category="2"] th{background:var(--sport-youth-soft,#fff0d9);color:var(--sport-youth-ink,#864008);border-left-color:var(--sport-youth,#dd861e)}
