.panel{border-block:1px solid var(--line);padding:18px 16px}h2{margin:0 0 12px;font-size:18px}input{font:inherit;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:5px;max-width:100%;min-height:44px;padding:8px}form label{flex-direction:column;gap:5px;margin-bottom:12px;display:flex}button:disabled{cursor:default;opacity:.65}.primary{background:var(--blue);color:#fff}.new-match{grid-template-columns:1fr 1fr;gap:12px;display:grid}.new-match h2{grid-column:1/-1}.new-match label{min-width:0}.save-status{border-left:4px solid var(--blue);overflow-wrap:anywhere;background:#eff5fd;margin:0;padding:10px 16px}.match-score{text-align:center;background:var(--pale);grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:18px 12px;display:grid}.match-score strong{color:var(--blue);font-size:28px}.match-score small{grid-column:1/-1;font-size:12px}.chips li{background:0 0;border:0;padding:0}.chips button{border-radius:24px;font-size:13px}.chips button small{color:inherit;font-size:10px;display:block}.check{flex-direction:row;align-items:center;gap:8px;margin:14px 0;font-size:13px;display:flex}.check input{flex-shrink:0;width:20px;height:20px;min-height:20px}.player{flex-wrap:wrap;gap:2px;min-height:48px;padding:2px}.slot{text-align:left;overflow-wrap:anywhere;background:0 0;border:0;flex:1;min-width:0;min-height:44px;padding:4px;font-size:13px}.slot:disabled{opacity:1}.remove{min-height:36px;color:var(--red);padding:3px 8px}.cut-count{color:var(--red);margin:0 5px;font-size:12px}.rival-point{flex-direction:column;flex:1;justify-content:center;padding:8px 4px;font-size:12px;display:flex}.rival-point small{color:#536b88;font-size:10px}.point-editor{border-block:2px solid var(--blue);background:#f6f9fe;grid-column:1/-1;padding:16px}.point-editor p{margin:8px 0;font-size:12px}.actions{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.cut-input{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;max-width:420px;display:flex}.cut-input input{flex-shrink:0;width:84px}.point-editor>label>input{margin-top:5px}.table-scroll{margin-bottom:14px;overflow:auto}table{border-collapse:collapse;width:100%;min-width:570px;font-size:13px}caption{text-align:left;padding:8px 0}th,td{border-bottom:1px solid var(--line);text-align:center;padding:10px 8px}th:first-child{text-align:left}thead{background:var(--pale)}.history{padding-left:20px}.history li{margin-bottom:20px}.history p{margin:6px 0}.history pre{background:var(--pale);padding:10px;font-size:12px;overflow:auto}.history details{margin-top:6px}.heading-row>span{overflow-wrap:anywhere;max-width:100%}.toolbar select{min-width:0}.notice{overflow-wrap:anywhere}@media (max-width:420px){.new-match{grid-template-columns:1fr}.match-score{gap:8px;font-size:12px}.match-score strong{font-size:24px}.slot{font-size:12px}.remove{min-height:32px;padding:2px 5px}.panel,.point-editor{padding:14px 12px}.table-scroll{margin-right:-6px}.toolbar button{font-size:13px}}.sheet{overflow:visible}.heading{border-radius:10px 10px 0 0}.roster-picker{z-index:20;padding-block:8px;position:sticky;top:0;box-shadow:0 4px 10px #18345920}.roster-picker .chips{overscroll-behavior-y:contain;scrollbar-gutter:stable;max-height:min(180px,24dvh);margin:6px 0;padding:3px;overflow-y:auto}.roster-picker .chips button{min-height:44px}.roster-hint{display:block}.roster-confirmation .check{margin-top:0}.point-row{scroll-margin-top:min(300px,42dvh)}@media (max-width:420px){.roster-picker{padding:6px 10px}.roster-picker .chips{gap:4px;max-height:24dvh}.roster-picker .chips button{padding:5px 8px;font-size:12px}.roster-hint{font-size:11px}.heading{border-radius:0}}.heading h1{align-items:center;gap:10px;display:flex}.heading h1 img{border-radius:50%;flex-shrink:0}.correction-actions{text-align:right;grid-column:1/-1;padding:6px 12px}.attendance summary{cursor:pointer;font-weight:600}.attendance-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px;max-height:45dvh;margin:12px 0;display:grid;overflow:auto}.attendance-list label{align-items:center;gap:8px;min-height:44px;display:flex}.attendance-list input{width:20px;height:20px;min-height:20px}.attendance p{font-size:13px}.heading-row>.club-wordmark{object-fit:contain;border-radius:4px;width:220px;max-width:42%;height:auto}@media (max-width:540px){.heading-row{gap:8px}.heading-row>.club-wordmark{width:120px;max-width:34%}}.team-heading img{object-fit:contain;border-radius:50%;margin:0 auto 3px;display:block}.stats-filters{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.stats-filters label{flex-direction:column;gap:4px;max-width:100%;display:flex}.offline-ready{background:#f6f9fe;margin:0;padding:6px 16px;font-size:12px}.offline-ready button{margin-left:8px}.conflict{border:2px solid var(--red)}.conflict td{overflow-wrap:anywhere;min-width:160px}.save-status>span{overflow-wrap:anywhere}.players-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.players-heading h2,.players-heading p{margin:0 0 6px}.player-filters,.player-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.player-filters label:first-child{grid-column:1/-1}.player-filters label,.player-form-grid label{flex-direction:column;gap:5px;min-width:0;display:flex}.player-filters input,.player-filters select,.player-form-grid input,.player-form-grid select{width:100%;min-width:0;min-height:44px}.player-form textarea{width:100%}.player-directory{gap:10px;margin:0;padding:0 16px 16px;list-style:none;display:grid}.player-card{border:1px solid var(--line);background:#fff;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.player-card>div{overflow-wrap:anywhere;min-width:0}.player-card strong{font-size:16px}.player-card p{color:#536b88;margin:6px 0;font-size:13px}.player-card .actions{flex-wrap:wrap;gap:8px;display:flex}.player-state{color:#1455aa;background:#e6f2ff;border-radius:14px;padding:3px 9px;font-size:12px;display:inline-block}.player-state.inactive{color:#515c6d;background:#eef0f3}.review-note{border:1px solid var(--line);overflow-wrap:anywhere;background:#f4f8ff;padding:14px}.review-note .check{align-items:flex-start;gap:8px;display:flex}.review-note input[type=checkbox]{flex-shrink:0;width:20px;height:20px;min-height:20px}.panel textarea{width:100%;max-width:100%;font:inherit}.player-form h3{overflow-wrap:anywhere}.player-form .actions{flex-wrap:wrap;gap:8px;display:flex}.attendance-list{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-list label{overflow-wrap:anywhere;min-width:0}.attendance-list input{flex-shrink:0}.panel summary{cursor:pointer;min-height:44px;padding-block:10px}.review-note p{overflow-wrap:anywhere}@media (max-width:480px){.player-form-grid,.attendance-list{grid-template-columns:1fr}.player-card{padding:12px}.player-card .actions{width:100%}.player-card .actions button{flex:1}.player-directory{padding-inline:12px}.player-form .actions button{flex:1}}.player-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:20px 0;display:grid}.player-metrics>div{background:#f0f6ff;border:1px solid #b9cef0;border-radius:8px;padding:12px}.player-metrics dt{font-size:.85rem}.player-metrics dd{margin:6px 0 0;font-size:1.3rem;font-weight:700}.excel-rows,.roster-history{gap:16px;padding:0;list-style:none;display:grid}.excel-rows>li,.roster-history>li{overflow-wrap:anywhere;border:1px solid #b9cef0;border-radius:8px;min-width:0;padding:14px}.excel-rows h4{margin:12px 0}.excel-import select,.excel-import input{min-width:0;max-width:100%}.roster-history dd{margin:4px 0 14px}.roster-history dt{font-weight:700}.player-profile,.excel-import{overflow-wrap:anywhere}.participation-badges{vertical-align:middle;white-space:normal;flex-wrap:wrap;align-items:center;gap:3px;max-width:100%;margin-inline-start:5px;font-size:11px;font-weight:600;line-height:1.4;display:inline-flex}.participation-number{color:#144e9b;background:#eaf2ff;border:1px solid #7fa8df;border-radius:5px;justify-content:center;align-items:center;min-width:18px;min-height:18px;padding:0 3px;display:inline-flex}.participation-badges.unplayed{color:#4b607e;background:#f2f5f9;border-radius:4px;padding:1px 4px;font-weight:400}.chips button[aria-pressed=true] .participation-number{color:#144e9b;background:#fff}.chips button[aria-pressed=true] .participation-badges.unplayed{color:#30496b;background:#fff}.slot .participation-badges{margin-block:2px}.participation-total{white-space:nowrap;font-size:11px;font-weight:500}.participation-filters{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.participation-filters button{min-height:36px;padding:5px 8px;font-size:12px}.filter-count{margin:6px 0;font-size:12px}.participation-search{flex-direction:column;gap:6px;max-width:400px;display:flex}.participation-search input{width:100%}.participation-table{max-width:100%}.participation-table table{min-width:660px}.state-explanation{max-width:145px;margin-top:4px;font-size:11px;display:block}.list-review{overflow-wrap:anywhere;margin-top:14px}.review-points{gap:12px;padding-left:22px;display:grid}.review-points ul{margin-top:6px;padding-left:18px}.review-unplayed{padding-left:20px}.review-unplayed li{margin-bottom:8px}.review-unplayed strong{background:#eaf2ff;border-radius:4px;margin-left:4px;padding:2px 6px;font-size:12px;display:inline-block}@media (max-width:480px){.participation-filters button{flex:120px}.roster-picker .chips{max-height:min(160px,22dvh)}.list-review .actions button{flex:160px}}
