/* Academy tables remain semantic tables. Shared across all clubs. */
#academyRoot [data-workspace] { min-width:0;max-width:none; }
#academyRoot .management-section { padding:26px;border-radius:24px; }
#academyRoot .management-section h2 { margin:0 0 10px;font-size:23px; }
#academyRoot .management-section p { font-size:13px;line-height:1.7;color:#718195; }
#academyRoot .management-toolbar { align-items:flex-start;gap:20px;margin-bottom:20px; }
#academyRoot .management-toolbar p { max-width:850px;margin:0; }
#academyRoot .management-toolbar > button { flex-shrink:0; }
#academyRoot .management-section > .management-row { justify-content:flex-start;align-items:end;gap:14px;padding:16px;background:#f5f8fa;border:1px solid #e5ebf0;border-radius:16px;margin:18px 0; }
#academyRoot .management-section > .management-row .field { display:flex;flex-direction:column;gap:7px;font-size:12px;color:#718195; }
#academyRoot .management-section > .management-row input { width:172px;max-width:100%;box-sizing:border-box;height:42px;padding:8px 12px;border:1px solid #dbe4ec;border-radius:10px;background:white;font-size:14px;color:#18364a; }
#academyRoot .management-section > .management-row .report-export { margin-left:auto; }
#academyRoot .management-section > .management-search { width:min(440px,100%);box-sizing:border-box;margin:0 0 20px;height:44px;padding:10px 14px;background:#f8fafc;font-size:14px;border-radius:12px; }
#academyRoot .management-table-wrap { border:1px solid #dfe7ec;border-radius:16px;max-height:65vh;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#acbdc6 #f1f5f7; }
#academyRoot .management-table { width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:860px;font-size:13px;color:#213d50; }
#academyRoot .management-table th { position:sticky;top:0;z-index:2;background:#edf3f6;color:#547083;font-size:12px;font-weight:650;line-height:1.6;padding:15px 14px;border-bottom:1px solid #dce5eb;white-space:normal;text-align:left; }
#academyRoot .management-table td { padding:17px 14px;line-height:1.65;vertical-align:top;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #e8edf1;background:#fff; }
#academyRoot .management-table tr:nth-child(even) > td { background:#f9fbfc; }
#academyRoot .management-table tr:hover > td { background:#f0f7f5; }
#academyRoot .management-table tr:focus-within > td { background:#f0f7f5; }
#academyRoot .management-table tr:last-child > td { border-bottom:0; }
#academyRoot .management-table td small { font-size:12px;color:#7c8d9a;line-height:1.6;margin-top:5px;white-space:normal; }
#academyRoot .management-table td strong { color:#163a4c;font-size:14px; }
#academyRoot .management-table td[colspan] { text-align:center;padding:32px;color:#7c8d9a; }
#academyRoot .management-table button { font-size:12px;line-height:1.5;min-height:34px;padding:8px 10px;border-radius:9px;white-space:normal; }
#academyRoot .management-table button:disabled { opacity:.45; }
#academyRoot .management-table details { margin-top:9px;font-size:12px; }
#academyRoot .management-table summary { color:#387366;cursor:pointer;line-height:1.6; }
#academyRoot .management-table details p { min-width:0;padding:8px 0;border-bottom:1px dashed #dde7e4; }
#academyRoot .management-table details[open] { padding:9px;background:#f1f6f5;border-radius:9px; }
#academyRoot [data-workspace="cards"] .management-table { min-width:1000px; }
#academyRoot [data-workspace="cards"] th:nth-child(1) { width:21%; }
#academyRoot [data-workspace="cards"] th:nth-child(2) { width:18%; }
#academyRoot [data-workspace="cards"] th:nth-child(n+3):nth-child(-n+6) { width:8%; }
#academyRoot [data-workspace="cards"] th:nth-child(7) { width:14%; }
#academyRoot [data-workspace="cards"] th:nth-child(8) { width:15%; }
#academyRoot [data-workspace="cards"] :is(th,td):nth-child(n+3):nth-child(-n+6),#academyRoot [data-workspace="workload"] :is(th,td):nth-child(n+3) { text-align:right;font-variant-numeric:tabular-nums; }
#academyRoot [data-workspace="cards"] td:nth-child(5) strong { display:inline-block;background:#e5f3eb;color:#237655;padding:3px 9px;border-radius:8px;font-size:17px; }
#academyRoot [data-workspace="cards"] td:nth-child(8) { vertical-align:middle; }
#academyRoot .timetable-panel th:nth-child(1) { width:15%; }
#academyRoot .timetable-panel th:nth-child(2) { width:25%; }
#academyRoot .timetable-panel th:nth-child(3) { width:13%; }
#academyRoot .timetable-panel th:nth-child(4) { width:17%; }
#academyRoot .timetable-panel th:nth-child(5) { width:18%; }
#academyRoot .timetable-panel th:nth-child(6) { width:12%; }
#academyRoot .course-groups-panel .management-table { min-width:1060px; }
#academyRoot .course-groups-panel th:nth-child(1) { width:22%; }
#academyRoot .course-groups-panel th:nth-child(2) { width:12%; }
#academyRoot .course-groups-panel th:nth-child(3) { width:16%; }
#academyRoot .course-groups-panel th:nth-child(4) { width:15%; }
#academyRoot .course-groups-panel th:nth-child(5) { width:16%; }
#academyRoot .course-groups-panel th:nth-child(6) { width:19%; }
#academyRoot .group-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0; }
#academyRoot .group-actions [data-edit] { grid-column:1/-1; }
#academyRoot [data-workspace="workload"] .management-table th:nth-child(1) { width:22%; }
#academyRoot [data-workspace="workload"] .management-table th:nth-child(2) { width:14%; }
#academyRoot [data-workspace="workload"] .management-table td:nth-child(4) { color:#24745b;font-weight:700;font-size:16px; }
#academyRoot .report-body > p { border-left:3px solid #bdcecf;padding:8px 12px;background:#f6f9fa;border-radius:0 8px 8px 0; }
#academyRoot .academy-secondary { border-radius:16px; }
@media(max-width:800px) { #academyRoot .management-section { padding:16px; }#academyRoot .management-section > .management-row { gap:12px; }#academyRoot .management-section > .management-row .report-export { margin-left:0; } }

/* Reservations use a shared, readable table rather than a card grid. */
#adminOrders { display:block;min-width:0; }
.booking-table-wrap { border:1px solid #dfe7ec;border-radius:20px;overflow:auto;max-height:72vh;background:white;scrollbar-width:thin;scrollbar-color:#acbdc6 #f1f5f7; }
.booking-table { width:100%;min-width:1080px;table-layout:fixed;border-collapse:separate;border-spacing:0;color:#213d50;font-size:13px; }
.booking-table th { position:sticky;top:0;z-index:2;padding:16px;background:#edf3f6;color:#547083;font-size:12px;text-align:left;border-bottom:1px solid #dce5eb; }
.booking-table th:nth-child(1) { width:18%; }.booking-table th:nth-child(2) { width:24%; }.booking-table th:nth-child(3) { width:14%; }.booking-table th:nth-child(4) { width:11%; }.booking-table th:nth-child(5) { width:12%;text-align:right; }.booking-table th:nth-child(6) { width:21%; }
.booking-table td { padding:20px 16px;line-height:1.65;vertical-align:top;border-bottom:1px solid #e8edf1;overflow-wrap:anywhere;background:white; }
.booking-table tr:nth-child(even) td { background:#f9fbfc; }.booking-table tr:hover td,.booking-table tr:focus-within td { background:#f0f7f5; }.booking-table tr:last-child td { border-bottom:0; }
.booking-table strong { font-size:14px;color:#163a4c; }.booking-table small { display:block;color:#7c8d9a;font-size:12px;margin-top:5px;line-height:1.6; }
.booking-table .booking-money { text-align:right;font-variant-numeric:tabular-nums; }.booking-table .booking-money strong { font-size:18px;color:#24745b; }
.booking-table .badge { font-size:12px;white-space:nowrap; }
.booking-table details { margin-top:10px;font-size:12px; }.booking-table summary { color:#387366;cursor:pointer; }.booking-table details p { font-size:12px;margin:5px 0;color:#7c8d9a; }
.booking-table .booking-slot + .booking-slot { margin-top:12px;padding-top:12px;border-top:1px dashed #dce6e5; }
.booking-table .booking-actions p { margin:0 0 8px;font-size:12px; }.booking-table button { padding:9px 12px;font-size:12px;line-height:1.5;border-radius:10px;white-space:normal; }
.booking-table .cancel-notice { padding:10px;border-radius:10px;background:#fff2e5;color:#a66a32; }
