/* Team Builder publish23 - see tb-p23.js */
.p23-sheettop{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(220px,1fr) minmax(240px,1.2fr);gap:10px 14px;align-items:start;margin:4px 0 12px;padding:10px 12px;border:2px solid #c4a263;border-radius:10px;background:#fbf6ea}
.p23-race .racePick{display:grid;gap:4px;width:100%}
.p23-race .rpL{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#5b4a22;font-weight:800}
.p23-race .raceSel{width:100%;min-height:48px;font-size:19px;font-weight:800;border:2px solid #8a6d2e;background-color:#fff}
.p23-prbox{display:grid;gap:4px}
.p23-prbox .p23-practise{min-height:48px;font-size:17px;font-weight:800;width:100%;margin-top:21px}
.p23-prbox small{color:#5d5547;font-size:11.5px}
.p23-sksearch{display:grid;gap:4px}
.p23-sksearch label{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#5b4a22;font-weight:800}
.p23-sksearch input{min-height:40px;font-size:15px;padding:4px 10px;border:1px solid #8a6d2e;border-radius:7px}
.p23-skres{display:flex;flex-wrap:wrap;gap:4px}
.p23-skhit{border:1px solid;border-radius:12px;padding:2px 9px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.p23-skhit small{font-weight:500;opacity:.75;font-size:10.5px}
.p23-none{font-size:12px;color:#6a6253}
/* the small Race select in the header is for the printed sheet; on screen the big selector above replaces it */
@media screen{.tb-p23 .meta label:has(#race){display:none}}
/* ADDED skills: coloured chips by skill (pitch colours) or category; standard skills stay plain text */
.tag.p23-added{font-weight:700;border-width:1px}
.tag.p23-added small{color:inherit;opacity:.7}
.tag.p23-added .x{color:inherit}
.p23-mbar{display:none}
@media (max-width:759px){
 .p23-sheettop{grid-template-columns:1fr}
 .p23-prbox .p23-practise{margin-top:0}
 .p23-mbar{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#14110a;border-top:1px solid #c4a263;box-shadow:0 -4px 14px rgba(0,0,0,.35)}
 .p23-mbar .tbtn{flex:1;min-height:46px;font-size:16px}
 body.tb-pad,html.tb-p23 body{padding-bottom:70px}
}
@media print{.p23-sheettop,.p23-mbar{display:none!important}.tag.p23-added{-webkit-print-color-adjust:exact;print-color-adjust:exact}html.tb-p23 body{padding-bottom:0}}
.p23-mbar .tbtn.primary{border:1px solid #c4a263}
#pop .opt[data-skc]{border-left:6px solid var(--skc-bd)!important;box-shadow:inset 4px 0 0 var(--skc-bg)}
@media print{#skillPopup,.sk-pop{display:none!important}html.sk-open,html.sk-open body{overflow:visible!important}}

/* publish24: the skills search shows the full list (scrollable) on click / focus */
.p23-skres.p24-open{max-height:230px;overflow:auto;padding:4px;border:1px solid #c9b27a;border-radius:7px;background:#fffdf6;align-content:flex-start}
.p23-sksearch{position:relative}
/* publish25: bigger Team Builder touch controls on phones (screen only; the landscape A4 print is untouched) */
@media screen and (max-width:700px){
  .stepper button,.plus,#budgetBtn,.tag .x,.mlist button,#mlist button{min-width:44px!important;min-height:44px!important}
  #teamName,#coach,#p23SkillSearch,select,input[type=text],input[type=number],input[type=search]{min-height:44px!important;font-size:16px}
  #coach{min-width:120px}
  .tbp23-bar button,.p23-race select{min-height:44px}
  a.brand{min-height:44px!important;display:inline-flex;align-items:center}
}
