/* Jones College V3.7 Phase 3B: primary-only, ranked/unranked depth chart */
.v37b-card .diamond-card-rows{display:flex;flex-direction:column;gap:4px}
.v37b-card .diamond-row{min-height:45px;cursor:grab;display:flex;gap:5px;flex-wrap:wrap;padding:5px 7px;border-radius:7px}
.v37b-card .diamond-player{font-size:12px;text-align:left;flex:1;min-width:75px;white-space:normal}
.v37b-card .diamond-row .rm-dots{flex:none}
.v37b-card .diamond-open{min-height:36px;padding:7px;display:flex;align-items:center}
.v37b-card .diamond-open span:nth-child(2){font-size:10px}
.v37b-card .diamond-card-head{gap:5px}
.v37b-card .v37b-controls{display:flex;align-items:center;gap:2px;flex-wrap:wrap;justify-content:flex-end}
.v37b-controls button{font-size:10px;font-weight:700;border:1px solid #d8d4cf;color:#6B2B37;background:#fff;border-radius:5px;padding:4px 6px;cursor:pointer}
.v37b-controls button:last-child{font-size:9px;color:#76686d}
.v37b-controls button:disabled{opacity:.3;cursor:not-allowed}
.v37b-card-foot{font-size:10px;color:#746d72;padding:8px 4px 1px;border-top:1px solid #e7e1dc}
.v37b-filtered{background:#f4f1ef!important;color:#8e8588}
.v37b-dragging{opacity:.5}
.v37b-over{outline:2px dashed #9F9240;outline-offset:-2px;background:#fff8e9!important}
.v37b-unranked-panel{margin:22px 0;padding:23px;border:1px solid #e4dcd4;background:#fff;border-radius:14px;box-shadow:0 5px 24px #37162808}
.v37b-pool-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:13px;border-bottom:1px solid #eee7df}
.v37b-pool-header>div>span{font-size:10px;font-weight:900;letter-spacing:1px;color:#872F3F}
.v37b-pool-header h3{margin:4px 0;font-size:22px;color:#371E23}
.v37b-pool-header p{margin:3px 0;font-size:12px;color:#747075;max-width:630px;line-height:1.55}
.v37b-unranked-total{white-space:nowrap;background:#f8ede5;border:1px solid #E6E2CC;border-radius:6px;padding:8px 12px;color:#763E48;font-weight:850;font-size:11px}
.v37b-pos-group{padding:14px 0;border-bottom:1px solid #f0eae4}
.v37b-group-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 9px}
.v37b-group-title>b{font-size:12px;color:#792E3C}.v37b-group-title small{color:#69606a;font-size:11px;margin-left:5px}
.v37b-group-title>span{font-size:10px;color:#868187}
.v37b-unranked-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:9px}
.v37b-pool-player{display:flex;align-items:center;gap:9px;border:1px solid #e9e3df;background:#fdfcfb;border-radius:9px;padding:10px 9px;cursor:grab;min-width:0}
.v37b-drag-grip{color:#a67f63;font-size:19px}.v37b-pool-name{display:flex;flex-direction:column;flex:1;min-width:0}
.v37b-pool-name strong{font-size:12px;color:#35282b;overflow-wrap:anywhere}.v37b-pool-name small{font-size:10px;color:#837a7a}
.v37b-selectlabel{display:flex;align-items:center;gap:3px;font-size:10px;color:#6f6366}
.v37b-selectlabel select{border:1px solid #d7c9c6;background:#fff;border-radius:6px;padding:5px 3px;font-size:11px;max-width:96px}
.v37b-pool-note{font-size:11px;line-height:1.5;color:#776b6b;margin-top:14px}
.v37b-profile-notice{padding:10px 13px;background:#faf5ec;color:#5D5735;border-left:3px solid #BFB578;font-size:12px;margin-top:10px}
.v37b-secondary-label{margin-top:10px!important;display:block}.v37b-help{font-size:11px;color:#776e72}
.v37b-empty-pool{padding:20px;font-size:13px;color:#8b8187}
.v37b-unknown{font-size:12px;border:1px solid #CFABB1;background:#fff7f5;border-radius:7px;padding:9px;margin:3px;cursor:pointer}
@media(max-width:900px){.v37b-unranked-panel{padding:13px}.v37b-pool-header{align-items:flex-start;flex-direction:column}.v37b-unranked-list{grid-template-columns:1fr}}

/* Phase 3B compact depth-card revision: four readable names plus a single scholarship dot. */
.v37b-card .diamond-card-rows{padding:4px 7px 3px;gap:3px}
.v37b-card .diamond-row,.v37b-card .diamond-open{box-sizing:border-box;height:22px;min-height:22px;max-height:22px;padding:1px 5px;gap:4px;flex-wrap:nowrap;align-items:center;overflow:hidden}
.v37b-card .diamond-player{font-size:10.5px;line-height:17px;font-weight:800;flex:1 1 auto;min-width:0;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v37b-card .diamond-row .rm-dots{display:inline-flex;flex:none;align-items:center;gap:0;margin:0 1px 0 0}
.v37b-card .diamond-row .rm-dot{width:8px;height:8px;min-width:8px;min-height:8px;margin:0}
.v37b-card .diamond-open{font-style:normal;font-size:9px;color:#a89fa1;background:#fbfaf9;border:1px dashed #e7e2e0}
.v37b-card .diamond-open span{flex:1;text-align:left}
.v37b-card .v37b-card-foot{display:none}
.diamond-field .v37b-card,.v37b-card.diamond-side-card{height:148px}
.v37b-card .diamond-card-head{min-height:33px;padding:5px 8px}
/* No always-on rank numbers, class badges or arrow controls in the position boxes. Row order is the ranking. */
.v37b-card .v37b-controls{display:none}
.v37b-editmode .v37b-card .v37b-controls{display:flex;flex:none;align-items:center;gap:1px;justify-content:flex-end;margin-left:0}
.v37b-editmode .v37b-card .v37b-controls button{font-size:10px;padding:1px 3px;line-height:14px;min-width:16px;border-radius:3px}
.v37b-editmode .v37b-card .diamond-player{font-size:10px}
.v37b-edit-toggle{border:1px solid #892C3D!important;border-radius:6px!important;background:#fff!important;color:#822C3C!important;font-size:11px!important;font-weight:800!important;line-height:16px;white-space:nowrap;padding:6px 10px!important;cursor:pointer}
.v37b-edit-toggle.is-active{background:#852B3B!important;color:#fff!important}
.v37b-edit-toggle:focus-visible,.v37b-card .diamond-player:focus-visible{outline:2px solid #9E934F;outline-offset:2px}
/* Preserve exactly the same compact format inside the embedded depth chart. */
.rm-embedded-depth .diamond-field .v37b-card{height:148px}
@media(max-width:760px){.v37b-card .diamond-player{font-size:10px}}

/* Phase 7D: one-click positional assignment, then move names up/down. */
.v37d-assign{flex:none;border:1px solid #A89C56;border-radius:6px;background:#fff8e9;color:#615926;font-size:11px;font-weight:850;line-height:16px;padding:7px 10px;cursor:pointer;white-space:nowrap}
.v37d-assign:hover:not(:disabled){background:#f9e7c7;border-color:#9D9253}
.v37d-assign:disabled{opacity:.48;cursor:not-allowed}
.v37d-assign:focus-visible{outline:2px solid #822C3C;outline-offset:2px}
.v37b-card .diamond-counter small{font-size:9px}
@media(max-width:750px){.v37d-assign{font-size:10px;padding:6px 8px}}

/* Season-specific projected position selector */
.v37hi-position-picker{max-width:67px;min-width:52px;border:1px solid #cbbd9b;background:white;border-radius:5px;font-size:11px;padding:3px 2px;color:#6A2F3A;flex-shrink:0}
.v37hi-season-badge{font-size:9px;color:#71672D;white-space:nowrap}
.v37b-pool-player .v37hi-position-picker{margin-left:auto}

/* Phase 7HI drag-first position management */
.v37hi-card-over{outline:2px dashed #A79947;outline-offset:2px;background:rgba(184,140,51,.09)}
.v37hi-card-over .v37b-rank-slot{cursor:copy}
.v37b-pool-player[draggable="true"],.v37b-rank-slot[draggable="true"]{cursor:grab}
.v37b-dragging{opacity:.5}
