.ct-filters,.ct-selection,.ct-stats-toolbar,.ct-detail-actions,.ct-dialog-actions { display:flex;gap:12px;align-items:center;flex-wrap:wrap; }
[data-panel="data-rights"],#ct-stats,.ct-dialog { --ct-muted:rgba(var(--ink-rgb),.65);letter-spacing:0; }
.ct-filters { align-items:end;margin-bottom:20px; }
.ct-filters label,.ct-stats-toolbar label,.ct-dialog form>label,.ct-dialog details>label { display:grid;gap:6px;font-size:12px;font-weight:650;letter-spacing:0; }
.ct-filters label:first-child { flex:1;min-width:200px; }
.ct-filters input,.ct-filters select { min-height:42px;width:100%; }
.ct-selection { padding:12px 0;border-top:1px solid var(--line);font-size:13px; }
.ct-selection #dr-count { margin-right:auto;font-weight:700; }
#ct-feedback:empty { display:none; }
#ct-feedback { font-size:13px; }
#ct-emails { width:100%; }
.ct-list-head,.ct-row { display:grid;grid-template-columns:24px minmax(180px,1.8fr) minmax(130px,1fr) minmax(90px,.7fr) minmax(120px,1fr) 76px;gap:14px;align-items:center; }
.ct-list-head { padding:12px 14px;font-size:11px;color:var(--ct-muted); }
.ct-item { border-top:1px solid var(--line); }
.ct-item:last-child { border-bottom:1px solid var(--line); }
.ct-row { min-height:80px;padding:14px;font-size:13px; }
.ct-row:has(.ct-check:checked) { background:rgba(27,128,109,.07); }
.ct-row .ct-check { width:18px;height:18px;min-height:0;padding:0;accent-color:#1b806d; }
.ct-person,.ct-coach,.ct-link { border:0;background:none;font:inherit;color:inherit;cursor:pointer; }
.ct-person { display:grid;gap:5px;text-align:left;min-width:0;padding:6px 0; }
.ct-person strong,.ct-person span { overflow-wrap:anywhere; }
.ct-person span { font-size:12px;color:var(--ct-muted); }
.ct-person:hover strong,.ct-coach:hover,.ct-link { text-decoration:underline;text-underline-offset:3px; }
.ct-coach { text-align:left;padding:8px 0; }
.ct-coach { text-decoration:underline;text-decoration-color:rgba(128,138,149,.4);text-underline-offset:4px; }
.ct-status { font-size:11px;font-weight:650;line-height:1.5; }
.ct-status::before { content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#89919d;margin-right:7px;vertical-align:middle; }
.ct-active::before { background:#16836c; }.ct-pending::before,.ct-unconfirmed::before { background:#c87716; }
.ct-declined::before { background:#bc3655; }
.ct-detail-toggle { padding:8px 10px!important; }
.ct-detail { padding:6px 14px 20px; }
.ct-detail-actions { margin:16px 0; }
.ct-delete { margin-top:24px; }
.ct-pagination { display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:16px 0;font-size:13px; }
.ct-pagination button { width:40px;min-height:40px; }
.ct-empty { padding:35px 10px;text-align:center;color:var(--ct-muted); }
.ct-secondary { border-top:1px solid var(--line);margin-top:22px;padding-top:16px; }
.ct-secondary>summary { cursor:pointer;font-size:13px;font-weight:650;padding:8px 0; }
.ct-booking-details { margin:14px 0;font-size:12px; }.ct-booking-details>summary { cursor:pointer; }
.ct-booking-summary { display:block;margin-top:8px;font-size:12px!important;overflow-wrap:anywhere; }
.ct-dialog { width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);color:var(--ink,#0e1426);overflow:auto;box-sizing:border-box; }
.ct-dialog::backdrop { background:rgba(8,14,22,.55); }
.ct-dialog header { display:flex;justify-content:space-between;align-items:center;gap:12px; }
.ct-dialog h2 { font-size:20px;margin:0; }
.ct-dialog header button { width:36px;height:36px;padding:0;font-size:24px; }
.ct-dialog .ct-identity { display:grid;gap:4px;margin:22px 0;overflow-wrap:anywhere; }
.ct-identity span { font-size:13px;color:var(--ct-muted); }
.ct-dialog form>label { margin-top:16px; }
.ct-dialog select,.ct-dialog input { width:100%;min-height:44px;box-sizing:border-box; }
.ct-note { font-size:12px;line-height:1.65;color:var(--ct-muted); }
.ct-dialog .ct-note { margin:8px 0; }
.ct-dialog-actions { justify-content:flex-end;margin-top:20px; }
.ct-error { color:#c33051;font-size:13px; }
.ct-facts { display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.6; }
.ct-facts dt { color:var(--ct-muted); }.ct-facts dd { margin:0;overflow-wrap:anywhere; }
.ct-history { padding-left:20px;font-size:12px;line-height:1.6; }.ct-history li { margin:12px 0; }
.ct-stats-toolbar { justify-content:space-between;margin-bottom:20px; }
#ct-stats-status { font-size:12px;color:var(--ct-muted); }
.ct-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--line);padding:22px 0;gap:24px; }
.ct-metrics>div { display:flex;flex-direction:column;gap:9px; }
.ct-metrics span { font-size:12px;font-weight:650; }.ct-metrics strong { font-size:34px;line-height:1.2; }.ct-metrics small { font-size:11px;color:var(--ct-muted); }
.ct-metrics>div:first-child strong { color:#16836c; }
.ct-coach-summary { margin:28px 0; }.ct-coach-summary h3 { font-size:16px; }
.ct-coach-bars { max-width:760px; }.ct-coach-bars>div { display:grid;grid-template-columns:minmax(120px,180px) minmax(60px,1fr) 35px;gap:16px;align-items:center;min-height:42px;font-size:13px; }.ct-coach-bars strong { text-align:right; }
.ct-bar { height:8px;background:rgba(128,138,149,.15);border-radius:4px;overflow:hidden; }.ct-bar i { display:block;height:100%;background:#1b806d;border-radius:4px; }
#ct-advanced { margin-top:32px; }#ct-advanced>.st-toolbar { margin-top:24px; }
[data-theme="sombre"] .ct-metrics>div:first-child strong { color:#52cbb0; }
@media(max-width:1100px) {
 .ct-list-head { display:none; }.ct-row { grid-template-columns:22px minmax(140px,1fr) minmax(120px,1fr) 76px;gap:10px; }
 .ct-row .ct-person { grid-column:2;grid-row:1/3; }.ct-row .ct-check { grid-row:1/3; }.ct-row .ct-status { grid-column:3;grid-row:1; }
 .ct-row .ct-coach { grid-column:3;grid-row:2; }.ct-row .ct-plan { grid-column:2;grid-row:3;font-size:11px; }.ct-row .ct-detail-toggle { grid-column:4;grid-row:1/3; }
}
@media(max-width:600px) {
 .ct-filters { gap:10px; }.ct-filters label:first-child,.ct-filters label:nth-child(2) { flex-basis:100%; }.ct-filters label { flex:1;min-width:0; }
 .ct-filters select { min-width:0;max-width:100%;font-size:12px; }.ct-selection { gap:8px; }.ct-selection #dr-count { width:100%; }.ct-selection button { font-size:11px;padding:9px 10px; }
 .ct-row { grid-template-columns:20px minmax(0,1fr) 70px;padding:14px 0; }.ct-row .ct-person { grid-column:2;grid-row:1; }.ct-row .ct-check { grid-row:1; }
 .ct-row .ct-status { grid-column:2;grid-row:2; }.ct-row .ct-plan { grid-column:2;grid-row:4; }.ct-row .ct-coach { grid-column:2;grid-row:3;padding:0;font-size:12px; }.ct-row .ct-detail-toggle { grid-column:3;grid-row:1; }
 .ct-detail { padding:8px 0 20px;overflow-wrap:anywhere; }.ct-detail input { min-width:0!important; }.ct-detail pre { max-width:100%;box-sizing:border-box; }
 .ct-metrics { grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px; }.ct-metrics strong { font-size:28px; }
 .ct-coach-bars>div { grid-template-columns:minmax(90px,130px) minmax(40px,1fr) 25px;gap:12px; }
 .ct-dialog { padding:18px; }.ct-dialog h2 { font-size:18px; }
}
