.tpf-finder,.tpf-dashboard,.tpf-tournament-section,.tpf-auth-shell{--tpf-green:#176b45;--tpf-green-dark:#0e4f33;--tpf-soft:#f3f7f4;--tpf-border:#dfe8e2;--tpf-text:#17231c;--tpf-muted:#657169;--tpf-radius:18px;color:var(--tpf-text);box-sizing:border-box}.tpf-finder *,.tpf-dashboard *,.tpf-tournament-section *,.tpf-auth-shell *{box-sizing:border-box}.tpf-card{background:#fff;border:1px solid var(--tpf-border,#dfe8e2);border-radius:var(--tpf-radius,18px);padding:26px;box-shadow:0 12px 36px rgba(20,48,32,.06)}.tpf-eyebrow{display:block;color:var(--tpf-green,#176b45);font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.12em;margin-bottom:7px}.tpf-card-heading h2,.tpf-finder-head h2{font-size:clamp(25px,3vw,36px);line-height:1.1;margin:0 0 8px}.tpf-card-heading p,.tpf-finder-head p{margin:0 0 22px;color:var(--tpf-muted,#657169)}.tpf-btn{appearance:none;border:0;background:var(--tpf-green,#176b45);color:#fff!important;border-radius:999px;padding:12px 19px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:750;text-decoration:none!important;cursor:pointer;transition:.18s}.tpf-btn:hover{background:var(--tpf-green-dark,#0e4f33);transform:translateY(-1px)}.tpf-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.tpf-btn-block{width:100%}.tpf-btn-small{padding:8px 14px;min-height:36px}.tpf-btn-ghost{background:#eef3f0;color:var(--tpf-text)!important}.tpf-text-btn{border:0;background:none;color:#8a3535;padding:4px 0;cursor:pointer;text-decoration:underline}.tpf-response{min-height:22px;margin-top:10px;font-size:14px;font-weight:700}.tpf-response.is-success{color:#176b45}.tpf-response.is-error{color:#a73535}.tpf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.tpf-span-2{grid-column:1/-1}.tpf-card label{font-weight:700;font-size:14px}.tpf-card input,.tpf-card select,.tpf-card textarea,.tpf-filters input,.tpf-filters select{width:100%;margin-top:6px;border:1px solid #cfdad3;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-card textarea{min-height:100px;resize:vertical}.tpf-auth-shell{max-width:760px;margin:36px auto}.tpf-dashboard{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start;margin:30px 0}.tpf-sidebar{position:sticky;top:30px;background:#102f21;color:#fff;border-radius:20px;overflow:hidden}.tpf-profile-summary{text-align:center;padding:28px 20px 20px}.tpf-avatar img{border-radius:50%;display:block}.tpf-profile-summary .tpf-avatar img{margin:auto;border:3px solid rgba(255,255,255,.22)}.tpf-profile-summary h3{margin:12px 0 8px;color:#fff}.tpf-level-pill{display:inline-block;background:#e9f4ed;color:#176b45;border-radius:999px;font-size:12px;font-weight:800;padding:5px 9px}.tpf-tabs{padding:8px}.tpf-tab{display:block;width:100%;border:0;background:transparent;color:rgba(255,255,255,.75);text-align:left;padding:12px 14px;border-radius:10px;font:inherit;font-weight:650;cursor:pointer}.tpf-tab.is-active,.tpf-tab:hover{background:rgba(255,255,255,.11);color:#fff}.tpf-tab-panel{display:none}.tpf-tab-panel.is-active{display:block}.tpf-availability-header{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}.tpf-master-switch{display:flex!important;align-items:center;gap:13px;min-width:240px}.tpf-master-switch span{display:flex;flex-direction:column}.tpf-master-switch small{font-weight:400;color:#718077;line-height:1.3;margin-top:2px}.tpf-master-switch input{position:absolute;opacity:0;width:1px!important}.tpf-master-switch i{width:52px;height:29px;background:#bcc7c0;border-radius:999px;position:relative;flex:0 0 52px;transition:.2s}.tpf-master-switch i:after{content:"";position:absolute;width:23px;height:23px;background:#fff;border-radius:50%;left:3px;top:3px;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.15)}.tpf-master-switch input:checked+i{background:#1f8a58}.tpf-master-switch input:checked+i:after{transform:translateX(23px)}.tpf-weekly-schedule{border-top:1px solid var(--tpf-border);margin:6px 0 22px}.tpf-day{display:grid;grid-template-columns:145px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--tpf-border)}.tpf-day-name{display:flex;flex-direction:column;gap:5px}.tpf-add-slot{border:0;background:none;color:var(--tpf-green);padding:0;text-align:left;font-weight:700;cursor:pointer}.tpf-day-slots{display:grid;gap:8px}.tpf-slot{display:grid;grid-template-columns:minmax(115px,1fr) auto minmax(115px,1fr) 34px;align-items:center;gap:8px}.tpf-slot input{margin:0!important;min-height:40px}.tpf-slot span{color:var(--tpf-muted)}.tpf-remove-slot{width:32px;height:32px;border:0;border-radius:50%;background:#f3f3f3;font-size:21px;line-height:1;cursor:pointer}.tpf-request-list{display:grid}.tpf-request-item{display:grid;grid-template-columns:54px 1fr;gap:14px;padding:17px 0;border-top:1px solid var(--tpf-border)}.tpf-request-item:first-child{border-top:0}.tpf-request-avatar img{border-radius:50%}.tpf-request-top{display:flex;justify-content:space-between;gap:12px}.tpf-request-meta{font-size:13px;color:var(--tpf-muted);margin-top:3px}.tpf-request-copy p{margin:8px 0}.tpf-status{display:inline-block;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;font-style:normal}.tpf-status-pending{background:#fff3cc;color:#795b00}.tpf-status-accepted,.tpf-status-paid{background:#e0f4e7;color:#176b45}.tpf-status-denied,.tpf-status-cancelled,.tpf-status-failed{background:#f9e3e3;color:#923a3a}.tpf-inline-actions{display:flex;gap:8px;margin-top:10px}.tpf-simple-list>div{display:grid;grid-template-columns:1.4fr 1fr auto;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--tpf-border)}.tpf-simple-list span{color:var(--tpf-muted)}.tpf-empty{padding:25px;text-align:center;color:var(--tpf-muted)}.tpf-finder,.tpf-tournament-section{margin:34px 0}.tpf-finder-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:20px}.tpf-filters{display:flex;gap:9px;min-width:min(100%,430px)}.tpf-filters input,.tpf-filters select{margin:0}.tpf-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tpf-player-head{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}.tpf-player-head h3{font-size:20px;line-height:1.15;margin:0 0 6px}.tpf-player-head small{display:block;color:var(--tpf-muted);margin-top:5px}.tpf-player-bio{color:#536159;font-size:14px;min-height:42px}.tpf-next-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 9px}.tpf-slot-picks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:13px}.tpf-slot-pick{border:1px solid var(--tpf-border);background:#fff;border-radius:10px;padding:8px 9px;text-align:left;cursor:pointer;color:inherit}.tpf-slot-pick strong,.tpf-slot-pick span{display:block;font-size:12px}.tpf-slot-pick span{color:var(--tpf-muted);margin-top:2px}.tpf-slot-pick.is-selected{border-color:var(--tpf-green);box-shadow:0 0 0 1px var(--tpf-green);background:#f4faf6}.tpf-request-form textarea{min-height:70px}.tpf-span-all{grid-column:1/-1}.tpf-tournament-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tpf-tournament-card{display:grid;grid-template-columns:72px 1fr;gap:18px}.tpf-date-badge{background:#102f21;color:#fff;border-radius:14px;height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tpf-date-badge strong{font-size:27px;line-height:1}.tpf-date-badge span{font-size:11px;font-weight:800;letter-spacing:.08em;margin-top:4px}.tpf-tournament-copy h3{font-size:22px;margin:0 0 5px}.tpf-tournament-meta{color:var(--tpf-muted);font-size:13px;margin-bottom:10px}.tpf-tournament-copy p{font-size:14px}.tpf-tournament-bottom{display:flex;align-items:end;justify-content:space-between;gap:15px;border-top:1px solid var(--tpf-border);padding-top:14px;margin-top:14px}.tpf-tournament-bottom>div{display:flex;flex-direction:column}.tpf-tournament-bottom>div>strong{font-size:21px}.tpf-tournament-bottom small{color:var(--tpf-muted)}.tpf-registered{font-weight:800;color:#176b45}.tpf-soldout{font-weight:800;color:#923a3a}.tpf-notice-card{margin:30px 0}
@media(max-width:1050px){.tpf-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.tpf-dashboard{grid-template-columns:1fr}.tpf-sidebar{position:static}.tpf-profile-summary{display:flex;text-align:left;align-items:center;gap:14px;padding:18px}.tpf-profile-summary .tpf-avatar img{margin:0;width:62px;height:62px}.tpf-profile-summary h3{margin:0 0 5px}.tpf-tabs{display:flex;overflow:auto}.tpf-tab{white-space:nowrap;width:auto}.tpf-availability-header,.tpf-finder-head{flex-direction:column;align-items:stretch}.tpf-master-switch{justify-content:space-between}.tpf-tournament-grid{grid-template-columns:1fr}}
@media(max-width:620px){.tpf-card{padding:18px;border-radius:15px}.tpf-form-grid,.tpf-player-grid{grid-template-columns:1fr}.tpf-span-2{grid-column:auto}.tpf-filters{flex-direction:column}.tpf-day{grid-template-columns:1fr}.tpf-day-name{flex-direction:row;justify-content:space-between}.tpf-slot{grid-template-columns:1fr auto 1fr 32px;gap:5px}.tpf-slot input{padding:7px 5px}.tpf-player-grid{gap:13px}.tpf-slot-picks{grid-template-columns:1fr}.tpf-tournament-card{grid-template-columns:58px 1fr;gap:12px}.tpf-date-badge{height:65px}.tpf-tournament-bottom{align-items:stretch;flex-direction:column}.tpf-tournament-bottom .tpf-btn{width:100%}.tpf-simple-list>div{grid-template-columns:1fr}.tpf-request-top{align-items:flex-start}.tpf-inline-actions{flex-direction:column}.tpf-inline-actions .tpf-btn{width:100%}}

/* Dedicated player login */
.tpf-login-card{max-width:560px;margin:0 auto}.tpf-login-form-wrap #tpf-login-form p{margin:0 0 16px}.tpf-login-form-wrap #tpf-login-form label{display:block}.tpf-login-form-wrap #tpf-login-form input[type=text],.tpf-login-form-wrap #tpf-login-form input[type=password]{width:100%;margin-top:6px;border:1px solid #cfdad3;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-login-form-wrap .login-remember label{display:inline-flex!important;align-items:center;gap:8px;font-weight:600}.tpf-login-form-wrap .login-remember input{width:18px;height:18px;margin:0}.tpf-login-form-wrap .login-submit{margin-top:20px!important}.tpf-login-form-wrap .button-primary{appearance:none;border:0;background:var(--tpf-green,#176b45);color:#fff;border-radius:999px;padding:12px 24px;min-height:45px;width:100%;font:inherit;font-weight:750;cursor:pointer;transition:.18s}.tpf-login-form-wrap .button-primary:hover{background:var(--tpf-green-dark,#0e4f33);transform:translateY(-1px)}.tpf-login-links{border-top:1px solid var(--tpf-border,#dfe8e2);margin-top:22px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.tpf-login-links a{color:var(--tpf-green,#176b45);font-weight:750;text-decoration:none}.tpf-login-links a:hover{text-decoration:underline}.tpf-login-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:620px){.tpf-login-links{flex-direction:column;align-items:flex-start}.tpf-login-actions{flex-direction:column}.tpf-login-actions .tpf-btn{width:100%}}

/* Frontend-only authentication */
.tpf-auth-message{border-radius:11px;padding:12px 14px;margin:0 0 18px;font-size:14px;font-weight:700}.tpf-auth-message.is-error{background:#f9e3e3;color:#923a3a}.tpf-auth-message.is-success{background:#e0f4e7;color:#176b45}.tpf-frontend-login p{margin:0 0 16px}.tpf-frontend-login label{display:block}.tpf-frontend-login input[type=text],.tpf-frontend-login input[type=password]{width:100%;margin-top:6px;border:1px solid #cfdad3;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-frontend-login .login-remember label{display:inline-flex;align-items:center;gap:8px}.tpf-frontend-login .login-remember input{width:18px;height:18px;margin:0}

/* Profile photos */
.tpf-profile-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.tpf-avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;flex:0 0 auto}.tpf-player-head .tpf-avatar{width:72px;height:72px}.tpf-avatar-large{width:120px;height:120px}.tpf-profile-photo-editor{display:flex;align-items:center;gap:22px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--tpf-border)}.tpf-photo-upload{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}.tpf-photo-upload span{font-size:12px;font-weight:400;color:var(--tpf-muted)}.tpf-photo-upload input[type=file]{margin-top:8px;padding:9px;background:#f7f9f7;max-width:100%}@media(max-width:620px){.tpf-profile-photo-editor{align-items:flex-start;flex-direction:column}.tpf-profile-summary .tpf-avatar{width:62px;height:62px}}

/* v2.5 availability repeat controls */
.tpf-slot .tpf-repeat-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#64747a;white-space:nowrap}.tpf-slot .tpf-repeat-label select{min-width:100px;padding:9px 28px 9px 10px;border:1px solid #dfe6e2;border-radius:8px;background:#fff;color:#10232c}.tpf-slot-picks{max-height:360px;overflow:auto;padding-right:4px}
@media(max-width:650px){.tpf-slot{flex-wrap:wrap}.tpf-slot .tpf-repeat-label{width:100%;justify-content:flex-start}.tpf-slot .tpf-repeat-label select{flex:1}.tpf-slot-picks{max-height:420px}}


/* v2.6 availability slot overflow fix */
.tpf-tab-panel{width:100%;max-width:100%;min-width:0;overflow:hidden}
.tpf-tab-panel *{box-sizing:border-box}
.tpf-day,.tpf-day-slots{width:100%;max-width:100%;min-width:0}
.tpf-slot{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(150px,.85fr) 34px;gap:10px;overflow:hidden}
.tpf-slot>input,.tpf-slot>select,.tpf-slot>label{min-width:0;max-width:100%}
.tpf-slot .tpf-repeat-label{width:100%;min-width:0;white-space:normal;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px}
.tpf-slot .tpf-repeat-label select{width:100%;min-width:0;max-width:100%;margin:0}
.tpf-slot .tpf-remove-slot{flex:0 0 32px}
@media(max-width:900px){.tpf-slot{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end}.tpf-slot .tpf-repeat-label{grid-column:1/3}.tpf-slot .tpf-remove-slot{grid-column:3;grid-row:2;justify-self:end}}
@media(max-width:620px){.tpf-tab-panel{padding-left:0;padding-right:0}.tpf-slot{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--tpf-border);border-radius:12px;overflow:visible}.tpf-slot>span{display:none}.tpf-slot .tpf-repeat-label{grid-column:auto;grid-template-columns:1fr}.tpf-slot .tpf-repeat-label select{width:100%}.tpf-slot .tpf-remove-slot{grid-column:auto;grid-row:auto;justify-self:start;width:auto;height:auto;border-radius:8px;padding:7px 12px;font-size:14px}.tpf-slot .tpf-remove-slot:after{content:" Remove"}}


/* v2.6.1 hard containment fix for weekly availability */
.tpf-dashboard{min-width:0;max-width:100%}
.tpf-dashboard-main{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-dashboard-main>.tpf-tab-panel{min-width:0;max-width:100%;width:100%}
.tpf-dashboard-main>.tpf-tab-panel>.tpf-card{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-availability-form,.tpf-weekly-schedule{min-width:0;max-width:100%;width:100%}
.tpf-day{grid-template-columns:minmax(110px,145px) minmax(0,1fr);min-width:0;max-width:100%;width:100%}
.tpf-day-slots{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-slot{display:grid;width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(85px,1fr) 18px minmax(85px,1fr) minmax(125px,.9fr) 34px;gap:8px;align-items:center;overflow:hidden}
.tpf-slot>*{min-width:0;max-width:100%}
.tpf-slot>input[type=time]{width:100%!important;min-width:0!important;max-width:100%!important;padding-left:8px;padding-right:8px}
.tpf-slot .tpf-repeat-label{width:100%;min-width:0;max-width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center;white-space:normal;overflow:hidden}
.tpf-slot .tpf-repeat-label select{width:100%!important;min-width:0!important;max-width:100%!important;padding-left:8px;padding-right:22px}
.tpf-slot .tpf-remove-slot{width:32px;min-width:32px;max-width:32px;justify-self:end}
@media(max-width:1050px){
  .tpf-day{grid-template-columns:1fr}
  .tpf-day-name{flex-direction:row;justify-content:space-between;align-items:center}
}
@media(max-width:760px){
  .tpf-slot{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 34px}
  .tpf-slot .tpf-repeat-label{grid-column:1/4;grid-row:2}
  .tpf-slot .tpf-remove-slot{grid-column:4;grid-row:2}
}
@media(max-width:520px){
  .tpf-slot{grid-template-columns:minmax(0,1fr);padding:12px;border:1px solid var(--tpf-border);border-radius:12px;gap:10px;overflow:hidden}
  .tpf-slot>span{display:none}
  .tpf-slot>input[type=time],.tpf-slot .tpf-repeat-label,.tpf-slot .tpf-remove-slot{grid-column:1;grid-row:auto}
  .tpf-slot .tpf-repeat-label{grid-template-columns:1fr}
  .tpf-slot .tpf-remove-slot{width:auto;min-width:0;max-width:none;height:auto;border-radius:8px;padding:8px 12px;justify-self:start;font-size:14px}
  .tpf-slot .tpf-remove-slot:after{content:" Remove"}
}

/* v2.6.2 - hard containment fix for repeat-weeks dropdown */
.tpf-card,
.tpf-card *{box-sizing:border-box}
.tpf-card{min-width:0;max-width:100%;overflow:hidden}
.tpf-weekly-schedule,
.tpf-day,
.tpf-day-slots{min-width:0;max-width:100%;width:100%}
.tpf-day{grid-template-columns:minmax(100px,145px) minmax(0,1fr)}
.tpf-day-slots{overflow:hidden}

/* Keep the time controls on row one and move Repeat to its own safe row. */
.tpf-slot{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 34px!important;
  grid-template-areas:
    "from dash to remove"
    "repeat repeat repeat repeat";
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tpf-slot>*{min-width:0!important;max-width:100%!important}
.tpf-slot>input[type="time"]:first-of-type{grid-area:from}
.tpf-slot>span{grid-area:dash;text-align:center}
.tpf-slot>input[type="time"]:nth-of-type(2){grid-area:to}
.tpf-slot .tpf-remove-slot{grid-area:remove;width:32px!important;min-width:32px!important;max-width:32px!important;justify-self:end}
.tpf-slot .tpf-repeat-label{
  grid-area:repeat!important;
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:normal!important;
}
.tpf-slot .tpf-repeat-label select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:9px 28px 9px 10px!important;
  box-sizing:border-box!important;
}

@media(max-width:620px){
  .tpf-day{grid-template-columns:minmax(0,1fr)!important}
  .tpf-slot{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "from"
      "to"
      "repeat"
      "remove"!important;
    padding:12px!important;
  }
  .tpf-slot>span{display:none!important}
  .tpf-slot .tpf-repeat-label{grid-template-columns:minmax(0,1fr)!important}
  .tpf-slot .tpf-repeat-label select{width:100%!important}
  .tpf-slot .tpf-remove-slot{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    padding:8px 12px!important;
    border-radius:8px!important;
    justify-self:start!important;
  }
}

/* v2.7.0 - definitive weekly schedule containment + coach UI */
.tpf-dashboard-main,.tpf-tab-panel,.tpf-card,.tpf-availability-form,.tpf-weekly-schedule,.tpf-day,.tpf-day-slots{min-width:0!important;max-width:100%!important;width:100%;box-sizing:border-box}
.tpf-card{overflow:hidden!important}
.tpf-day{grid-template-columns:minmax(105px,145px) minmax(0,1fr)!important}
.tpf-day-slots{overflow:hidden!important}
.tpf-slot{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)!important;
  grid-template-areas:
    "from dash to"
    "repeat repeat remove"!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  align-items:center!important;
}
.tpf-slot>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.tpf-slot>input[type=time]:first-of-type{grid-area:from;width:100%!important;min-width:0!important}
.tpf-slot>span{grid-area:dash;text-align:center}
.tpf-slot>input[type=time]:nth-of-type(2){grid-area:to;width:100%!important;min-width:0!important}
.tpf-slot .tpf-repeat-label{
  grid-area:repeat!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.tpf-slot .tpf-repeat-label select{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
.tpf-slot .tpf-remove-slot{grid-area:remove!important;justify-self:end!important;width:32px!important;min-width:32px!important;max-width:32px!important}
.tpf-coach-dashboard{display:grid;gap:20px}.tpf-coach-specialty{margin:12px 0 0;color:var(--tpf-green)}.tpf-coach-card .tpf-response{margin-top:10px}
@media(max-width:1050px){.tpf-day{grid-template-columns:1fr!important}.tpf-day-name{flex-direction:row;justify-content:space-between;align-items:center}}
@media(max-width:620px){
 .tpf-slot{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"from" "to" "repeat" "remove"!important;padding:12px!important;border:1px solid var(--tpf-border)!important;border-radius:12px!important}
 .tpf-slot>span{display:none!important}.tpf-slot .tpf-repeat-label{display:grid!important;grid-template-columns:1fr!important;white-space:normal!important}.tpf-slot .tpf-repeat-label select{width:100%!important}.tpf-slot .tpf-remove-slot{width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:8px 12px!important;border-radius:8px!important;justify-self:start!important}
}

/* =========================================================
   TENNIS SITE HEADER / MOBILE NAV COMPATIBILITY - v2.9.0
   These rules support the optional external TennisConnect
   header markup and its hamburger button.
========================================================= */
.tennis-header {
  position: relative;
  z-index: 9999;
}

.tennis-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10002;
  -webkit-appearance: none;
  appearance: none;
}

.tennis-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: #10232c;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}

@media (max-width: 900px) {
  .tennis-menu-toggle { display: block; }

  .tennis-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10001;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: #fff;
    border-top: 1px solid #e2e7e3;
    border-bottom: 1px solid #e2e7e3;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }

  .tennis-navigation.is-open { display: flex !important; }

  .tennis-navigation > a {
    display: block;
    width: 100%;
    padding: 14px 5px;
    border-bottom: 1px solid #edf0ed;
    text-decoration: none;
    box-sizing: border-box;
  }

  .tennis-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .tennis-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .tennis-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


/* =========================================================
   TENNIS LEVEL GUIDE - v2.11.1
   Fixed centered panel so it cannot be clipped by the form/card.
========================================================= */
.tpf-field-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.tpf-level-field,
.tpf-field-label-row,
.tpf-level-help{
  min-width:0;
}
.tpf-register-form{
  overflow:visible!important;
}
.tpf-auth-shell{
  overflow:visible!important;
}
.tpf-level-help{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  z-index:1;
}
.tpf-level-help.is-open{
  z-index:1000001;
}
.tpf-level-help-toggle{
  width:24px;
  height:24px;
  min-width:24px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#e9f4ed;
  color:#176b45;
  font:700 14px/24px inherit;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
}
.tpf-level-help-toggle:hover,
.tpf-level-help-toggle:focus-visible,
.tpf-level-help.is-open .tpf-level-help-toggle{
  background:#176b45;
  color:#fff;
  outline:none;
}
.tpf-level-tooltip{
  position:fixed!important;
  z-index:1000000!important;
  left:50%!important;
  right:auto!important;
  top:50%!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  width:min(680px,calc(100vw - 40px))!important;
  max-width:calc(100vw - 40px)!important;
  max-height:min(720px,calc(100vh - 70px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  display:none;
  padding:24px 58px 22px 24px;
  border:1px solid #d8e4dc;
  border-radius:18px;
  background:#fff;
  color:#17231c;
  box-shadow:0 24px 70px rgba(16,47,33,.26);
  font-size:14px;
  font-weight:400;
  line-height:1.45;
  text-align:left;
  box-sizing:border-box!important;
}
.tpf-level-tooltip>strong{
  display:block;
  margin:0 0 14px;
  color:#102f21;
  font-size:20px;
  line-height:1.2;
}
.tpf-level-guide-row{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:14px;
  width:100%;
  min-width:0;
  padding:11px 0;
  border-top:1px solid #edf2ef;
  box-sizing:border-box;
}
.tpf-level-guide-row:first-of-type{border-top:0}
.tpf-level-guide-row b{color:#176b45}
.tpf-level-guide-row span{min-width:0;overflow-wrap:anywhere}
.tpf-level-help.is-open .tpf-level-tooltip{display:block!important}
.tpf-level-help-close{
  position:sticky;
  float:right;
  top:0;
  right:0;
  z-index:2;
  width:36px;
  height:36px;
  min-width:36px;
  margin:-6px -40px 0 12px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#eef3f0;
  color:#102f21;
  font:700 25px/36px Arial,sans-serif;
  text-align:center;
  cursor:pointer;
}
.tpf-level-help-close:hover,
.tpf-level-help-close:focus-visible{
  background:#176b45;
  color:#fff;
  outline:none;
}
@media(max-width:650px){
  .tpf-level-tooltip{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100vh - 32px)!important;
    padding:20px 50px 18px 18px;
    border-radius:16px;
  }
  .tpf-level-tooltip>strong{font-size:18px}
  .tpf-level-guide-row{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .tpf-level-help-close{margin:-4px -34px 0 10px}
}

/* v2.11 coach multi-session booking */
.tpf-coach-multi-slots .tpf-coach-slot-pick{position:relative;text-align:left}
.tpf-coach-multi-slots .tpf-coach-slot-pick small{display:block;margin-top:4px;font-size:12px;opacity:.75}
.tpf-coach-multi-slots .tpf-coach-slot-pick.is-selected{outline:2px solid var(--tpf-green);outline-offset:1px;background:#eff8f3}
.tpf-coach-multi-slots .tpf-coach-slot-pick.is-selected:after{content:'✓';position:absolute;top:7px;right:9px;font-weight:800;color:var(--tpf-green)}
.tpf-coach-booking-summary{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center;margin:14px 0 10px;padding:12px 14px;border:1px solid #dfe9e3;border-radius:12px;background:#f8fbf9;font-size:13px}
.tpf-coach-booking-summary strong{font-size:16px;color:var(--tpf-green);white-space:nowrap}
.tpf-coach-pay:disabled{opacity:.55;cursor:not-allowed}
.tpf-next-label small{font-weight:400;opacity:.7;margin-left:6px}
@media(max-width:560px){.tpf-coach-booking-summary{grid-template-columns:1fr 1fr}.tpf-coach-booking-summary strong{grid-column:1/-1}}

/* v2.12 player directory profile details + reliable filter visibility */
.tpf-player-card[hidden],.tpf-filter-empty[hidden]{display:none!important}
.tpf-player-card{display:flex;flex-direction:column;min-width:0}
.tpf-player-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 14px}
.tpf-player-detail{min-width:0;background:var(--tpf-soft,#f3f7f4);border:1px solid var(--tpf-border,#dfe8e2);border-radius:12px;padding:10px 11px}
.tpf-player-detail span,.tpf-player-about>span{display:block;color:var(--tpf-muted,#657169);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.tpf-player-detail strong{display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.tpf-player-about{border-top:1px solid var(--tpf-border,#dfe8e2);border-bottom:1px solid var(--tpf-border,#dfe8e2);padding:13px 0;margin-bottom:2px}
.tpf-player-about p{margin:0;color:#536159;font-size:14px;line-height:1.55}
.tpf-filter-empty{grid-column:1/-1}
@media(max-width:900px){.tpf-player-details{grid-template-columns:1fr 1fr}.tpf-player-detail:last-child{grid-column:1/-1}}
@media(max-width:620px){.tpf-player-details{grid-template-columns:1fr}.tpf-player-detail:last-child{grid-column:auto}.tpf-finder-head{align-items:stretch}.tpf-filters{width:100%;min-width:0}}

/* v2.13 player details expansion + request badge */
.tpf-player-more{margin:14px 0;border:1px solid var(--tpf-border,#dbe5df);border-radius:12px;overflow:hidden;background:#fff}
.tpf-player-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:13px 15px;font-weight:700;color:#173c2b;list-style:none}
.tpf-player-more summary::-webkit-details-marker{display:none}
.tpf-player-more summary span{font-size:22px;line-height:1;transition:transform .2s ease}
.tpf-player-more[open] summary span{transform:rotate(45deg)}
.tpf-player-more-body{padding:0 15px 15px;border-top:1px solid var(--tpf-border,#dbe5df)}
.tpf-player-more-body .tpf-player-detail{padding:12px 0;border-bottom:1px solid #edf2ef}
.tpf-player-more-body .tpf-player-about{padding-top:12px}
.tpf-player-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.tpf-player-socials a{display:inline-flex;padding:8px 11px;border-radius:999px;background:#f0f6f2;color:#176b45;text-decoration:none;font-weight:700;font-size:13px}
.tpf-request-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:auto;border-radius:999px;background:#d92929;color:#fff;font-size:12px;font-weight:800;line-height:1}
.tpf-tab[data-tab="requests"]{display:flex;align-items:center;gap:8px}
.tpf-verify-form{display:grid;gap:16px}
.tpf-verify-form label{display:grid;gap:7px;font-weight:700}
.tpf-verify-form input{width:100%;box-sizing:border-box}


/* ==========================================================
   TENNISCONNECT LANDING PAGE - v2.15
========================================================== */
body.tpf-landing-page {
  margin:0;
  background:#10232c;
}
body.tpf-landing-page .tennis-header,
body.tpf-landing-page .tennis-footer {
  display:none !important;
}
body.tpf-landing-page .tennis-site-content,
body.tpf-landing-page #content,
body.tpf-landing-page .site-content,
body.tpf-landing-page .entry-content {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
body.tpf-landing-page .entry-header,
body.tpf-landing-page .entry-title {
  display:none !important;
}
.tpf-landing {
  --tc-green:#b8df38;
  --tc-navy:#10232c;
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:100vh;
  min-height:100svh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background-image:var(--tpf-landing-image);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  font-family:Arial,Helvetica,sans-serif;
}
.tpf-landing-overlay {
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(to bottom,rgba(6,23,29,.34) 0%,rgba(6,23,29,.05) 36%,rgba(6,23,29,.18) 58%,rgba(6,23,29,.88) 100%);
}
.tpf-landing-header {
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:38px 48px;
  box-sizing:border-box;
}
.tpf-landing-logo {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none !important;
  color:#fff !important;
}
.tpf-landing-logo-mark {
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--tc-green);
  color:var(--tc-navy);
  font-size:26px;
  font-weight:800;
  box-shadow:0 5px 20px rgba(0,0,0,.15);
}
.tpf-landing-logo-text {
  color:#fff;
  font-size:25px;
  font-weight:700;
  letter-spacing:-.5px;
}
.tpf-landing-logo-text span { color:var(--tc-green); }
.tpf-landing-content {
  flex:1;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:40px 48px;
  box-sizing:border-box;
  display:flex;
  align-items:flex-end;
}
.tpf-landing-copy {
  max-width:680px;
  margin-bottom:165px;
  color:#fff;
}
.tpf-landing-eyebrow {
  display:block;
  margin-bottom:15px;
  color:var(--tc-green);
  font-size:13px;
  font-weight:800;
  letter-spacing:2.5px;
}
.tpf-landing-copy h1 {
  max-width:720px;
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(45px,6vw,82px);
  line-height:.97;
  font-weight:800;
  letter-spacing:-3px;
  text-shadow:0 3px 25px rgba(0,0,0,.18);
}
.tpf-landing-copy p {
  max-width:510px;
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:18px;
  line-height:1.55;
}
.tpf-landing-actions {
  position:absolute;
  z-index:2;
  left:50%;
  bottom:42px;
  transform:translateX(-50%);
  width:calc(100% - 96px);
  max-width:1304px;
  display:flex;
  gap:14px;
}
.tpf-landing-btn {
  min-width:165px;
  padding:16px 30px;
  box-sizing:border-box;
  border-radius:8px;
  text-align:center;
  text-decoration:none !important;
  font-size:15px;
  font-weight:700;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.tpf-landing-btn:hover { transform:translateY(-2px); }
.tpf-landing-btn-primary {
  background:var(--tc-green);
  border:2px solid var(--tc-green);
  color:var(--tc-navy) !important;
}
.tpf-landing-btn-primary:hover { background:#c7ed49; border-color:#c7ed49; }
.tpf-landing-btn-secondary {
  background:rgba(255,255,255,.10);
  border:2px solid rgba(255,255,255,.82);
  color:#fff !important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.tpf-landing-btn-secondary:hover { background:#fff; border-color:#fff; color:var(--tc-navy) !important; }
@media (max-width:900px) {
  .tpf-landing-header { padding:28px 30px; }
  .tpf-landing-content { padding:30px; }
  .tpf-landing-copy { margin-bottom:150px; }
  .tpf-landing-copy h1 { letter-spacing:-2px; }
  .tpf-landing-actions { width:calc(100% - 60px); bottom:30px; }
}
@media (max-width:600px) {
  .tpf-landing { background-position:53% center; }
  .tpf-landing-header { padding:22px; }
  .tpf-landing-logo-mark { width:42px; height:42px; font-size:23px; }
  .tpf-landing-logo-text { font-size:21px; }
  .tpf-landing-content { padding:22px; }
  .tpf-landing-copy { margin-bottom:155px; }
  .tpf-landing-eyebrow { margin-bottom:10px; font-size:11px; letter-spacing:2px; }
  .tpf-landing-copy h1 { margin-bottom:13px; font-size:44px; line-height:1; letter-spacing:-1.8px; }
  .tpf-landing-copy p { max-width:340px; font-size:15px; line-height:1.45; }
  .tpf-landing-actions {
    left:22px;
    right:22px;
    bottom:22px;
    transform:none;
    width:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .tpf-landing-btn { min-width:0; padding:15px 12px; font-size:14px; }
}
@media (max-width:380px) {
  .tpf-landing-copy h1 { font-size:38px; }
  .tpf-landing-actions { grid-template-columns:1fr; }
  .tpf-landing-copy { margin-bottom:205px; }
}
