.rr-room{--rr-teal:#14775f;--rr-green:#138149;--rr-amber:#975716;--rr-red:#a02a33;--rr-soft:#f4f7f9;color:var(--ink)}
.rr-tabs{display:flex;overflow-x:auto;gap:5px;border-bottom:1px solid #cbd4dc;margin:-3px 0 18px}
.rr-tabs button{font-size:.94rem;color:#51606e;padding:10px 15px 11px;border-radius:6px 6px 0 0;border-bottom:3px solid transparent;white-space:nowrap;font-weight:650}
.rr-tabs button.is-current{color:#172b3d;border-color:#ee743b;background:#fff}
.rr-tabs button:hover,.rr-unit button:hover,.rr-nudges button:hover{background:#e5edf2;color:#183043}
.rr-ribbon,.rr-med-band{display:flex;align-items:center;gap:clamp(16px,4vw,64px);padding:18px 24px;border-radius:9px;background:linear-gradient(110deg,#182c3d,#244459);border:1px solid #28475e;color:#fff;margin-bottom:16px}
.rr-ribbon>div,.rr-med-band>div{min-width:0}
.rr-ribbon span,.rr-med-band span{font-size:.81rem;color:#d5e3ed;font-weight:600;display:block}
.rr-ribbon strong,.rr-med-band strong{display:block;font:700 clamp(1.8rem,3.2vw,2.65rem)/1 var(--display);margin-top:4px}
.rr-ribbon strong small,.rr-cut-numbers small{font-size:.53em;font-weight:650;color:#c7d4dc}
.rr-ribbon-actions{margin-inline-start:auto}
.rr-cut-summary{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,2.3fr) auto;align-items:center;gap:22px;padding:23px 25px;margin-bottom:16px;border-radius:9px;border:1px solid #584641;color:#fff;background:linear-gradient(105deg,#1c2833 0%,#2f353c 60%,#4a3830 100%)}
.rr-cut-summary.is-ready{background:linear-gradient(105deg,#183a38,#214b43 76%,#245946);border-color:#295749}
.rr-cut-numbers>span,.rr-cut-numbers>strong{display:block}
.rr-cut-numbers>span:first-child,.rr-cut-progress strong,.rr-med-band>div:first-child span{font-weight:700}
.rr-cut-numbers>span{font-size:.88rem}
.rr-cut-numbers>strong{font:700 3.2rem/1 var(--display);margin:4px 0 5px}.rr-cut-numbers .rr-active-count{font-size:.82rem;color:#e2e3e5}
.rr-cut-progress>strong{font-size:1rem}.rr-cut-progress p{font-size:.83rem;color:#e5e9eb;line-height:1.45}
.rr-meter{height:7px;border-radius:9px;background:#ffffff35;overflow:hidden;margin:9px 0}
.rr-meter i{height:100%;display:block;background:#ff9866}.is-ready .rr-meter i{background:#65d89a}
.rr-cut-actions{display:grid;gap:7px}.rr-cut-actions button:disabled{opacity:.65;background:#eee9e6;border-color:#eee9e6}
.rr-panel{padding:20px;min-width:0}.rr-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.rr-panel-head h2{font-size:1.6rem}.rr-meta,.rr-info,.rr-empty p,.rr-instruction{color:#536574;font-size:.875rem;line-height:1.5}
.rr-controls,.rr-quick,.rr-return-choice,.rr-depth-head{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.rr-controls{margin:0 0 14px}.rr-quick{margin:18px 0}.rr-select,.rr-return-choice label{display:grid;gap:4px;color:#4b5d6a;font-weight:650;font-size:.81rem}
.rr-select select,.rr-return-choice select{font-weight:500;font-size:.88rem;max-width:100%}
.rr-grade{font:700 1rem/1.1 var(--display);min-width:34px;white-space:nowrap;display:inline-block;text-align:center;letter-spacing:.015em;padding:5px 7px;border-radius:5px;background:#e3ebec;color:#233d46}
.rr-grade-elite{color:#00421e;background:#80ed9d}.rr-grade-strong{color:#145c38;background:#c7ebcd}.rr-grade-solid{color:#3a5727;background:#e0ebcb}.rr-grade-develop{color:#6f5015;background:#f8e5b4}.rr-grade-low{color:#823b1a;background:#fad3bf}.rr-grade-weak{color:#fff;background:#882633}.rr-grade-fog{color:#405161;background:#e4e9ed}
.rr-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:4px;font-size:.75rem;line-height:1.25;font-weight:700;white-space:nowrap}
.rr-badge-green{background:#e1f2e8;color:#186039}.rr-badge-danger{background:#f9e3e5;color:#862934}.rr-badge-amber{background:#fff0d5;color:#7c4b10}.rr-badge-plain{background:#e9eef2;color:#425867}
.rr-mark{width:30px;height:30px;border-radius:50%;padding:0;display:inline-grid;place-items:center;font:600 1.37rem/1 var(--sans);color:#ab2935;border:1px solid #dc9da1;background:#fff5f5}
.rr-mark:hover,.rr-mark:focus-visible{background:#a72c38;color:white;border-color:#a72c38}
.rr-mark.is-marked{color:#186844;background:#e7f5eb;border-color:#9fc9af}
.rr-crossed button{text-decoration:line-through;text-decoration-color:#a67678;color:#76535a}
.rr-depth-head{justify-content:space-between;margin-bottom:18px}.rr-depth-layout{display:grid;grid-template-columns:minmax(135px,190px) minmax(0,1fr);gap:20px}
.rr-unit-list{display:flex;flex-direction:column;gap:16px;padding:15px;border:1px solid var(--line);background:#f4f7f8;border-radius:8px;align-self:start}
.rr-unit>span{font-weight:750;font-size:.77rem;color:#516470;display:block;margin-bottom:6px}
.rr-unit>div{display:flex;gap:5px;flex-wrap:wrap}.rr-unit button{display:block;border:1px solid #ccd6db;border-radius:5px;font:700 1rem/1.15 var(--display);min-width:43px;padding:6px 7px;background:white;color:#364c5e}
.rr-unit button.is-selected{color:white;background:#203e52;border-color:#203e52;box-shadow:inset 0 -2px 0 #f4894b}
.rr-depth-board{min-width:0}.rr-depth-board .rr-panel-head{margin-bottom:3px}
.rr-depth-board .rr-instruction{font-size:.8rem;margin:3px 0 10px}.rr-depth-board .rr-info{margin:3px 0 6px}.rr-depth-stack{list-style:none;padding:0;margin:13px 0}
.rr-depth-card{position:relative;display:grid;grid-template-columns:auto 49px minmax(80px,1fr) auto 65px auto;gap:9px;align-items:center;background:#fff;border:1px solid #d9e1e6;border-left:3px solid #d7e1e6;border-radius:7px;padding:9px 11px;margin:5px 0}
.rr-depth-card:not(:has(.rr-grip)){grid-template-columns:49px minmax(100px,1fr) auto 65px}
.rr-depth-card.is-starter{background:#f0f8f2;border-left-color:#27824f}
.rr-slot{font:700 1.1rem/1 var(--display);color:#31495a}
.rr-grip{touch-action:none;user-select:none;-webkit-user-select:none;font-size:1.4rem;color:#59707a;display:grid;place-content:center;width:28px;height:34px;border-radius:4px;cursor:grab}
.rr-grip:hover,.rr-grip:focus-visible{color:#17384d;background:#e0e9ec}.rr-dragging .rr-grip{cursor:grabbing}
.rr-player-id{display:flex;align-items:flex-start;flex-direction:column;min-width:0}
.rr-player-id .link{font-size:.95rem;text-align:left;line-height:1.2;padding:0;overflow-wrap:anywhere}
.rr-player-id small{font-size:.75rem;color:#536674;margin-top:3px;white-space:normal}
.rr-depth-type{font-size:.73rem;font-weight:650;color:#5a6b74}.rr-depth-card.is-starter .rr-depth-type{color:#276544}
.rr-nudges{display:flex;gap:3px}.rr-nudges button{color:#3c5666;display:grid;place-content:center;width:27px;height:28px;border-radius:4px;background:#fff;border:1px solid #c6d1d9}
.rr-depth-card.rr-dragging{opacity:.63}.rr-depth-card.rr-over{outline:2px solid #df783c;outline-offset:1px}
.rr-return-choice{border-top:1px solid var(--line);padding:13px 0 0}
.rr-inactive{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;color:var(--muted)}
.rr-inactive>span{font-size:.77rem;font-weight:700}.rr-inactive>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.rr-med-band{background:linear-gradient(110deg,#17323b,#244c50);border-color:#295054}.rr-med-band strong{color:#e7fff2}
.rr-good{color:#196b47;font-weight:700}.rr-empty{border:1px dashed #c3d3d9;padding:23px 15px;border-radius:7px;color:#3c5665}
.rr-health{background:#f6faf8;border-color:#c1d6c9}.rr-health strong{font:700 1.35rem var(--display);color:#27583c}.rr-empty p{margin:5px 0 0}
@media(max-width:940px){.rr-depth-layout{grid-template-columns:145px minmax(0,1fr);gap:12px}.rr-depth-card{grid-template-columns:auto 34px minmax(65px,1fr) auto auto;gap:6px}.rr-depth-type{display:none}.rr-depth-card:not(:has(.rr-grip)){grid-template-columns:40px minmax(80px,1fr) auto}.rr-cut-summary{gap:15px}.rr-ribbon,.rr-med-band{gap:22px}}
@media(max-width:660px){.rr-depth-layout{display:block}.rr-unit-list{flex-direction:row;overflow-x:auto;padding:8px;gap:12px;margin-bottom:14px}.rr-unit{min-width:max-content}.rr-unit button{min-width:32px;padding:5px}.rr-cut-summary{grid-template-columns:90px minmax(0,1fr);padding:16px;gap:10px}.rr-cut-actions{grid-column:1/-1;display:flex;flex-wrap:wrap}.rr-panel{padding:13px}.rr-ribbon,.rr-med-band{padding:15px;gap:13px;flex-wrap:wrap}.rr-ribbon-actions{width:100%;margin-left:0}.rr-tabs{margin-bottom:12px}.rr-tabs button{padding:8px 10px;font-size:.85rem}.rr-depth-card{padding:7px;gap:5px;grid-template-columns:25px 32px minmax(70px,1fr) auto auto}.rr-grip{width:25px}.rr-slot{font-size:.98rem}.rr-player-id .link{font-size:.85rem}.rr-nudges{flex-direction:column}.rr-nudges button{height:24px}.rr-info,.rr-meta{font-size:.8rem}.rr-select{min-width:72px;max-width:100%}.rr-select select{max-width:100%}}
.rr-identity,.rr-recovery-player{display:flex;align-items:center;gap:10px;min-width:0}
.rr-player-face{display:inline-flex;align-items:center;justify-content:center;flex:none;width:37px;height:37px;border-radius:7px;overflow:hidden;background:#e7eef0}
.rr-player-face svg{width:100%;height:100%}
.rr-recovery{margin:18px 0}.rr-recovery h2{font-size:1.3rem;margin:0 0 8px}.rr-recovery>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px}
.rr-recovery article{background:#fff;border:1px solid #ccdcd6;border-radius:8px;padding:12px}
.rr-recovery-player small{display:block;color:#596d69;font-size:.76rem;margin-top:2px}
.rr-recovery-player .link{line-height:1.2;padding:0;text-align:left}
.rr-recovery-track{display:block;height:4px;border-radius:4px;background:#e4ece8;overflow:hidden;margin:11px 0 5px}
.rr-recovery-track i{display:block;height:100%;background:#428d72}
.rr-recovery article>strong{font-size:.76rem;color:#406155}
@media(max-width:660px){.rr-identity .rr-player-face{display:none}}

.rr-row-actions,.rr-ribbon-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.rr-row-actions button{white-space:nowrap}
.rr-practice-action{display:inline-flex;flex-direction:column;align-items:flex-start;gap:.15rem}
.rr-practice-action small,.rr-move-issue{font-size:.8rem;color:var(--muted);font-weight:500}
.rr-move-issue{display:inline-block;max-width:23ch;white-space:normal;line-height:1.4}
.rr-practice-band{background:linear-gradient(112deg,#133b38,#225048);border-color:#28564f}
.rr-practice-candidates{margin-top:18px}
.rr-practice-candidates>summary{cursor:pointer;font:700 1.35rem var(--display)}
.rr-practice-candidates[open]>summary{margin-bottom:12px}
.rr-practice-candidates .rr-info{margin:0 0 14px}
#dialog:has(.rr-live-depth){width:min(860px,94vw);overscroll-behavior:contain}
.rr-live-depth .rr-panel{margin:0;border:0;box-shadow:none;padding:0}
.rr-live-depth .rr-live-status{margin:0 0 14px;color:var(--muted);font-weight:600}
.rr-live-depth>.controls{justify-content:flex-end;margin-top:14px}
.rr-live-depth .rr-player-id strong{display:block;font-size:.95rem}
.rr-training-last{display:block;font-size:.76rem;color:var(--muted)}

.rr-plan-ledger{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border-top:1px solid #ffffff48;padding-top:1rem}
.rr-plan-ledger>div{display:grid;align-content:start;gap:.3rem}
.rr-plan-ledger span,.rr-plan-ledger small{font-size:.84rem;color:#e0ebe9}
.rr-plan-ledger b{font-size:1.05rem;line-height:1.3}
.rr-plan-ledger meter{width:min(14rem,100%);height:.8rem;accent-color:#85e6bd}
.rr-position-help{font-size:.9rem;color:var(--muted);margin:.3rem 0 .5rem}
.rr-cut-positions{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem}
.rr-cut-positions button,.rr-squad-mark{background:var(--panel,#fff);color:var(--ink,#172b3d);border:1px solid var(--line,#bdcbd0);border-radius:.45rem;cursor:pointer}
.rr-cut-positions button{display:inline-flex;align-items:center;gap:.42rem;padding:.42rem .55rem}
.rr-cut-positions small{font-variant-numeric:tabular-nums;font-size:.82rem}
.rr-cut-positions button[aria-pressed=true]{background:#164957;color:#fff;border-color:#164957;box-shadow:inset 0 -3px #ff9d65}
.rr-squad-mark{min-width:2.6rem;min-height:2rem;font-size:.85rem;font-weight:750}
.rr-squad-mark[aria-pressed=true]{background:#d6eee2;border-color:#529878;color:#12482d}
.rr-squad-mark:disabled{opacity:.45;cursor:default}
.rr-advice-list{display:grid;gap:.65rem;padding:.5rem 0 1rem}
.rr-advice-list article{border:1px solid var(--line,#bdcbd0);border-radius:.5rem;padding:.7rem .9rem}
.rr-advice-list article>span{display:block;font-size:.875rem;font-weight:650;margin:.3rem 0}
.rr-advice-list article p{margin:.4rem 0 .65rem}
html[data-theme=dark] .rr-cut-positions button[aria-pressed=true]{background:#bddeeb;color:#123443;box-shadow:inset 0 -3px #df8857}
html[data-theme=dark] .rr-squad-mark[aria-pressed=true]{background:#224d3b;border-color:#68b98d;color:#ccffe2}
@media(max-width:640px){.rr-plan-ledger{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.rr-plan-ledger>div:last-child{grid-column:1/-1}}
.rr-ir-help{margin:0 0 .85rem;color:var(--ink);max-width:70ch}
.rr-ir-help summary{cursor:pointer;color:var(--ink);font-size:.9rem;font-weight:700}
.rr-ir-help p{margin:.45rem 0;color:var(--muted);line-height:1.55}
.rr-club-nav{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 12px}.rr-club-nav .rr-select{min-width:min(230px,100%)}.rr-club-nav .rr-select select{max-width:100%;width:100%}.rr-depth-head:has(>button:only-child){justify-content:flex-end}
