/* WEISS PADEL CONNECT · DESKTOP PREMIUM VISUAL LAYER V6
   Pure presentation layer. No selectors hide, disable or reorder functional UI.
   Mobile and tablet remain untouched below 1101px. */
@media (min-width:1101px){
  :root{
    --wpd-ink:#172131;
    --wpd-copy:#435166;
    --wpd-muted:#68768a;
    --wpd-canvas:#edf1f4;
    --wpd-surface:#ffffff;
    --wpd-surface-soft:#f7f9fa;
    --wpd-line:#d9e1e7;
    --wpd-line-strong:#cbd6de;
    --wpd-purple:#7449e3;
    --wpd-purple-dark:#6038cc;
    --wpd-petrol:#0b9691;
    --wpd-petrol-dark:#087c78;
    --wpd-gradient:linear-gradient(112deg,#7549e4 0%,#5365d4 50%,#10aaa5 100%);
    --wpd-shadow-panel:0 24px 60px rgba(12,24,38,.12);
    --wpd-shadow-card:0 8px 24px rgba(24,39,52,.07);
    --wpd-shadow-lift:0 14px 34px rgba(24,39,52,.11);
    --wpd-radius-sm:10px;
    --wpd-radius-md:14px;
    --wpd-radius-lg:20px;
    --wpd-radius-xl:26px;
    --wpd-content:1500px;
  }

  body.wp-excellence{
    color:var(--wpd-ink);
    font-size:16px;
    line-height:1.5;
  }
  body.wp-excellence:not(.connect-home){
    background:
      radial-gradient(circle at 10% -4%,rgba(116,73,227,.14),transparent 34rem),
      radial-gradient(circle at 96% 18%,rgba(11,150,145,.1),transparent 31rem),
      #090d14;
  }
  body.wp-excellence :where(main,section,article,aside,form){min-width:0}
  body.wp-excellence :where(main p,main li,main dd,main td,main label,main input,main select,main textarea,main button){text-rendering:optimizeLegibility}

  /* Header: unchanged destinations and order, calmer chrome and equal menu tracks. */
  body.wp-excellence .site-header{
    border-bottom-color:rgba(255,255,255,.08);
    background:linear-gradient(180deg,#0d131d 0%,#0a0f17 100%);
    box-shadow:0 10px 34px rgba(2,7,14,.2);
  }
  body.wp-excellence .header-inner{
    max-width:1544px;
    min-height:82px;
    padding-top:12px;
    padding-bottom:12px;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable.public-nav{
    gap:3px;
    padding:5px;
    border-color:rgba(255,255,255,.1);
    background:rgba(255,255,255,.035);
    box-shadow:inset 0 1px rgba(255,255,255,.035);
    backdrop-filter:blur(18px);
  }
  body.wp-excellence:not(.admin-authorized) .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence:not(.admin-authorized) .header-inner>.main-nav.wp-nav-stable.public-nav{
    grid-template-columns:repeat(9,minmax(0,1fr))!important;
  }
  body.wp-excellence.admin-authorized .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence.admin-authorized .header-inner>.main-nav.wp-nav-stable.public-nav{
    grid-template-columns:repeat(10,minmax(0,1fr))!important;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a{
    width:100%;
    min-width:0;
    min-height:38px;
    padding-inline:10px!important;
    border-radius:999px;
    color:#b7c0ce;
    font-size:.72rem;
    font-weight:760;
    letter-spacing:0;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a:hover{
    border-color:rgba(255,255,255,.06);
    background:rgba(255,255,255,.065);
    color:#fff;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a.active{
    border-color:rgba(255,255,255,.14);
    background:var(--wpd-gradient);
    color:#fff;
    box-shadow:0 8px 22px rgba(64,75,171,.25);
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>.wp-nav-connect{
    margin-left:0;
    border-color:rgba(16,170,165,.27);
    background:rgba(16,170,165,.09);
    color:#a9e4e0;
    box-shadow:none;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>.wp-nav-connect.active{
    border-color:rgba(255,255,255,.16);
    background:var(--wpd-gradient);
    color:#fff;
    box-shadow:0 8px 22px rgba(64,75,171,.25);
  }
  body.wp-excellence .prototype-badge{
    padding:7px 10px;
    border-color:rgba(35,196,188,.32);
    background:rgba(16,170,165,.065);
    color:#8ce1dc;
    font-size:.63rem;
    letter-spacing:.12em;
  }

  /* Page stage and hero hierarchy. */
  body.wp-excellence .feature-hero,
  body.wp-excellence .connect-shell>.connect-hero{
    width:calc(100% - 44px)!important;
    max-width:var(--wpd-content)!important;
    min-height:318px;
    padding:42px 4px 52px!important;
    gap:54px;
  }
  body.wp-excellence .feature-hero .hero-copy{max-width:820px}
  body.wp-excellence .feature-hero .eyebrow,
  body.wp-excellence .connect-shell>.connect-hero .eyebrow,
  body.wp-excellence main .eyebrow{
    color:#59cbc5!important;
    font-size:.72rem!important;
    font-weight:900;
    letter-spacing:.19em;
  }
  body.wp-excellence .feature-hero h1,
  body.wp-excellence .connect-shell>.connect-hero h1{
    margin-bottom:18px;
    color:#fbfcfe;
    font-size:clamp(3.25rem,4.75vw,4.9rem);
    font-weight:720;
    line-height:.97;
    letter-spacing:-.052em;
  }
  body.wp-excellence .feature-hero .hero-copy>p:last-child,
  body.wp-excellence .connect-shell>.connect-hero>div:first-child>p:last-child{
    max-width:720px;
    color:#b3bdca;
    font-size:.96rem;
    line-height:1.66;
  }
  body.wp-excellence .court-provider-hero-card{
    padding:25px 27px;
    border-color:rgba(56,198,191,.28);
    border-radius:var(--wpd-radius-xl);
    background:linear-gradient(135deg,rgba(116,73,227,.15),rgba(16,170,165,.11)),#101923;
    box-shadow:0 22px 55px rgba(0,0,0,.22);
  }
  body.wp-excellence .court-provider-hero-card h2{
    color:#f8fafc;
    font-size:1.65rem;
    line-height:1.08;
  }
  body.wp-excellence .court-provider-hero-card p{color:#aeb9c7;font-size:.82rem;line-height:1.55}
  body.wp-excellence .court-provider-hero-card>a{
    min-height:48px;
    border-radius:12px;
    background:var(--wpd-gradient);
    font-size:.78rem;
    box-shadow:0 10px 24px rgba(66,80,183,.2);
  }

  /* Main white workspace. */
  body.wp-excellence .feature-layout,
  body.wp-excellence .community-shell,
  body.wp-excellence .connect-shell,
  body.wp-excellence .shop-shell,
  body.wp-excellence.account-signed-in .account-shell{
    width:calc(100% - 44px);
    max-width:var(--wpd-content);
    margin-inline:auto;
  }
  body.wp-excellence .feature-layout,
  body.wp-excellence .community-shell{
    grid-template-columns:minmax(372px,400px) minmax(0,1fr);
    gap:24px;
    padding-bottom:76px;
  }
  body.wp-excellence :where(.feature-panel,.community-panel,.community-main,.connect-section,.connect-settings-card,.account-auth,.account-profile,.trainer-self-profile,.provider-account){
    border-color:var(--wpd-line);
    border-radius:var(--wpd-radius-lg);
    background:rgba(255,255,255,.975);
    color:var(--wpd-ink);
    box-shadow:var(--wpd-shadow-panel);
  }
  body.wp-excellence :where(.search-panel,.trainer-filter-panel,.results-panel,.trainer-results-panel,.community-panel,.community-main,.connect-section,.connect-settings-card){
    padding:24px;
  }
  body.wp-excellence .section-heading{
    gap:12px;
    margin-bottom:20px;
    padding-bottom:17px;
    border-bottom:1px solid #e3e8ec;
  }
  body.wp-excellence .section-heading h2{
    color:var(--wpd-ink);
    font-size:1.2rem;
    font-weight:780;
    line-height:1.2;
    letter-spacing:-.025em;
  }
  body.wp-excellence .section-heading p{
    margin-top:5px;
    color:var(--wpd-muted);
    font-size:.78rem;
    line-height:1.48;
  }

  /* Search controls stay fully visible. Only their visual treatment changes. */
  body.wp-excellence :is(.search-panel,.trainer-filter-panel){
    --wp-search-card-gap:12px;
    --wp-search-card-radius:14px;
    --wp-search-control-height:46px;
    --wp-search-control-radius:11px;
    --wp-search-control-font:.84rem;
    --wp-search-label-font:.7rem;
  }
  body.wp-excellence :is(.search-panel .filter-section,.trainer-filter-panel .trainer-filter-block){
    margin-bottom:12px!important;
    padding:16px!important;
    border-color:#dce3e8!important;
    border-radius:14px!important;
    background:#f8fafb!important;
    box-shadow:none!important;
  }
  body.wp-excellence :is(.search-panel .filter-section-title,.trainer-filter-panel .trainer-filter-block>h3){
    min-height:28px;
    margin-bottom:14px!important;
    color:#243145;
    font-size:.78rem!important;
    font-weight:820!important;
    line-height:1.35!important;
  }
  body.wp-excellence :is(.search-panel .filter-section-title>span,.trainer-filter-panel .trainer-filter-block>h3::before){
    flex-basis:28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    border-radius:9px!important;
    background:var(--wpd-purple)!important;
    font-size:.68rem!important;
    box-shadow:none!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(legend,.field>label:first-child){
    min-height:18px!important;
    margin-bottom:7px!important;
    color:#556378!important;
    font-size:var(--wp-search-label-font)!important;
    font-weight:780!important;
    letter-spacing:.055em!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .field{margin-bottom:14px!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(.field-grid,.search-location-grid,.search-date-grid){gap:11px!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,.location-select,textarea){
    min-height:var(--wp-search-control-height)!important;
    border-color:#cbd6de!important;
    border-radius:var(--wp-search-control-radius)!important;
    background-color:#fff!important;
    color:#26364a!important;
    font-size:var(--wp-search-control-font)!important;
    font-weight:560!important;
    box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,.location-select,textarea):hover{
    border-color:#aebdc8!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,.location-select,textarea):focus{
    border-color:var(--wpd-petrol)!important;
    box-shadow:0 0 0 3px rgba(11,150,145,.12)!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(.field-help,.field small){
    margin-top:6px!important;
    color:#718095!important;
    font-size:.7rem!important;
    line-height:1.45!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip-group{gap:7px!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip label{
    min-height:36px!important;
    padding:7px 11px!important;
    border-color:#ccd7df!important;
    background:#fff!important;
    color:#405067!important;
    font-size:.72rem!important;
    font-weight:740!important;
    letter-spacing:.025em!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip input:checked+label{
    border-color:transparent!important;
    background:var(--wpd-gradient)!important;
    color:#fff!important;
    box-shadow:0 6px 16px rgba(72,82,178,.16)!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .travel-privacy-note{
    padding:11px 12px!important;
    border-color:#d8e1e6!important;
    border-radius:12px!important;
    background:#f2f6f7!important;
    color:#5d6b7e!important;
    box-shadow:none!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .travel-privacy-copy strong::after{font-size:.72rem!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .travel-privacy-copy>span::after{font-size:.68rem!important;line-height:1.45!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .travel-privacy-note>a::after{font-size:.66rem!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(.primary-button,.reset-button){
    min-height:44px;
    border-radius:11px;
    font-size:.76rem!important;
    font-weight:820;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .primary-button{
    background:var(--wpd-gradient);
    box-shadow:0 10px 22px rgba(68,82,181,.18);
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .reset-button{
    border-color:#cbd6de;
    background:#fff;
    color:#536176;
    box-shadow:none;
  }

  /* Result cards: quiet surfaces, readable density and consistent actions. */
  body.wp-excellence :is(.trainer-results-toolbar,.search-summary){
    margin-bottom:16px;
    padding:12px 14px;
    border-color:#dde4e9;
    border-radius:12px;
    background:#f7f9fa;
  }
  body.wp-excellence .results-list,
  body.wp-excellence .trainer-card-grid,
  body.wp-excellence .player-card-grid,
  body.wp-excellence .tournament-results,
  body.wp-excellence .community-posts{gap:14px}
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card){
    border-color:var(--wpd-line);
    border-radius:16px;
    background:#fff;
    box-shadow:var(--wpd-shadow-card);
  }
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card):hover{
    border-color:rgba(11,150,145,.34);
    box-shadow:var(--wpd-shadow-lift);
  }
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card) :where(p,small){
    color:var(--wpd-muted);
    font-size:.78rem;
    line-height:1.52;
  }
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card) h3{
    color:var(--wpd-ink);
    font-size:1rem;
    line-height:1.3;
    letter-spacing:-.018em;
  }
  body.wp-excellence .results-list .result-card{padding:18px}
  body.wp-excellence .results-list .result-card-head{padding-bottom:14px}
  body.wp-excellence .results-list .result-card h3{font-size:1.1rem}
  body.wp-excellence .results-list .result-meta{font-size:.75rem}
  body.wp-excellence .results-list .day-heading{
    padding:10px 12px!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }
  body.wp-excellence .results-list .day-weekday{font-size:.9rem}
  body.wp-excellence .results-list .day-label,
  body.wp-excellence .results-list .day-slot-count{font-size:.72rem}
  body.wp-excellence .results-list .day-weather{font-size:.7rem}
  body.wp-excellence .results-list .court-group{
    padding:11px 12px 12px;
    border-radius:14px;
    box-shadow:none;
  }
  body.wp-excellence .results-list .court-group-head strong{font-size:.84rem}
  body.wp-excellence .results-list .court-group-head span{font-size:.7rem}
  body.wp-excellence .results-list .court-group .availability-row{min-height:46px!important}
  body.wp-excellence .results-list .court-group .availability-row .slot{font-size:.78rem}
  body.wp-excellence .results-list .court-group .slot-book-button{
    min-height:32px;
    padding-inline:11px;
    border-radius:9px;
    font-size:.72rem;
  }
  body.wp-excellence :where(.trainer-card-actions button,.trainer-primary-booking,.trainer-slot-button,.match-action-item,.tournament-connect-actions a,.tournament-connect-actions button){
    min-height:40px;
    border-radius:10px;
    font-size:.74rem;
    font-weight:800;
  }
  body.wp-excellence .tournament-card{
    grid-template-columns:minmax(0,1fr) 230px;
    padding:17px 18px!important;
  }
  body.wp-excellence .tournament-card h3{font-size:1.06rem}
  body.wp-excellence .tournament-card-description,
  body.wp-excellence .tournament-organizer,
  body.wp-excellence .tournament-location,
  body.wp-excellence .tournament-card-bottom p{font-size:.74rem}
  body.wp-excellence .tournament-date{font-size:.8rem}

  /* Community, planner and shop share the same product language. */
  body.wp-excellence .community-shell{gap:24px}
  body.wp-excellence .community-card{padding:18px}
  body.wp-excellence .community-card-body{font-size:.84rem;line-height:1.58}
  body.wp-excellence .community-card-actions{padding-top:13px;border-top-color:#e4e9ed}
  body.wp-excellence .assistant-hero{
    padding:32px;
    border-radius:var(--wpd-radius-xl);
    box-shadow:var(--wpd-shadow-panel);
  }
  body.wp-excellence .assistant-console{padding:18px;border-radius:18px}
  body.wp-excellence .assistant-request-box textarea{min-height:92px;font-size:.9rem}
  body.wp-excellence .assistant-service-grid{gap:14px}
  body.wp-excellence .assistant-service-card{
    min-height:168px;
    padding:19px;
    border-color:var(--wpd-line);
    border-radius:16px;
    box-shadow:var(--wpd-shadow-card);
  }
  body.wp-excellence .assistant-service-card h3{font-size:1.05rem}
  body.wp-excellence .assistant-service-card p{font-size:.78rem;line-height:1.52}
  body.wp-excellence .shop-hero{
    min-height:320px;
    padding:38px;
    border-radius:var(--wpd-radius-xl);
    box-shadow:var(--wpd-shadow-panel);
  }
  body.wp-excellence .shop-hero h1{font-size:clamp(3.2rem,4.8vw,5rem)}
  body.wp-excellence .shop-lead{font-size:.96rem;line-height:1.62}
  body.wp-excellence .shop-section{padding-top:58px}
  body.wp-excellence .shop-product-grid{gap:20px}
  body.wp-excellence .shop-product-card{
    border-color:var(--wpd-line);
    border-radius:18px;
    box-shadow:var(--wpd-shadow-card);
  }
  body.wp-excellence .shop-product-copy{padding:20px}
  body.wp-excellence .shop-product-copy h3{font-size:1.15rem}
  body.wp-excellence .shop-product-copy p{font-size:.8rem;line-height:1.55}

  /* Profile workspace: clearer hierarchy without changing tabs or form behavior. */
  body.wp-excellence .account-shell{padding-top:46px;padding-bottom:80px}
  body.wp-excellence .account-intro{margin-bottom:26px}
  body.wp-excellence .account-intro h1{
    color:#fbfcfe;
    font-size:clamp(3rem,4.3vw,4.5rem);
    letter-spacing:-.05em;
  }
  body.wp-excellence .account-intro>p:last-child{color:#b3bdca;font-size:.96rem;line-height:1.65}
  body.wp-excellence :where(.account-auth,.account-profile,.trainer-self-profile,.provider-account){
    padding:24px;
    border-radius:var(--wpd-radius-xl);
  }
  body.wp-excellence.account-signed-in :where(.account-profile:not(.provider-account),.trainer-self-profile){
    grid-template-columns:280px minmax(0,1fr);
    gap:22px 26px;
  }
  body.wp-excellence .account-profile-head{
    padding-bottom:20px;
    border-bottom-color:#e0e6ea;
  }
  body.wp-excellence .player-account-tabs{
    gap:6px;
    padding:8px;
    border:1px solid #d8e1e7;
    border-radius:17px;
    background:#edf1f4;
  }
  body.wp-excellence .player-account-tabs button{
    min-height:58px;
    padding:10px 11px;
    border-radius:12px;
  }
  body.wp-excellence .player-account-tabs strong{font-size:.8rem}
  body.wp-excellence .player-account-tabs small{font-size:.7rem;line-height:1.35}
  body.wp-excellence .player-account-tabs button[aria-selected="true"]{
    background:#fff;
    box-shadow:0 5px 15px rgba(24,39,52,.08);
  }
  body.wp-excellence .admin-form{gap:14px}
  body.wp-excellence .admin-form :is(label,legend){color:#536176;font-size:.72rem;font-weight:780}
  body.wp-excellence .admin-form :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    min-height:46px;
    border-color:#cbd6de;
    border-radius:11px;
    background:#fff;
    color:#26364a;
    font-size:.84rem;
    box-shadow:0 1px 2px rgba(16,24,40,.025);
  }
  body.wp-excellence .admin-form :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus{
    border-color:var(--wpd-petrol);
    box-shadow:0 0 0 3px rgba(11,150,145,.12);
  }
  body.wp-excellence :where(.player-messages-dashboard,.player-statistics-dashboard,.trainer-times-dashboard,.trainer-statistics-dashboard){
    border-color:var(--wpd-line);
    border-radius:18px;
    background:#f5f7f8;
  }
  body.wp-excellence .player-message-bubble p,
  body.wp-excellence .player-message-form textarea{font-size:.8rem}
  body.wp-excellence .friends-search input{
    background:#fff!important;
    color:#26364a!important;
    caret-color:#26364a!important;
  }

  /* Home page: premium editorial spacing with the existing sections and links. */
  body.connect-home .connect-public-stats{border-color:#d9e1e7;background:#fff;box-shadow:0 12px 30px rgba(20,35,50,.07)}
  body.connect-home .connect-public-stats-head strong{font-size:1rem}
  body.connect-home .connect-public-stat-grid article{border-color:#e0e6eb;background:#f8fafb}
  body.connect-home .connect-public-stat-grid article strong{font-size:1.35rem}
  body.connect-home .connect-public-stat-grid article span{font-size:.72rem}
  body.connect-home .connect-hero{padding-top:76px;padding-bottom:86px;gap:64px}
  body.connect-home .connect-hero h1{font-size:clamp(3.8rem,6.1vw,6.5rem);letter-spacing:-.058em}
  body.connect-home .connect-hero-copy>p:not(.eyebrow){font-size:1rem;line-height:1.65}
  body.connect-home .connect-hero-actions a{min-height:50px;border-radius:12px;font-size:.8rem}
  body.connect-home .connect-transform{border-radius:24px;box-shadow:0 24px 62px rgba(12,24,38,.16)}
  body.connect-home :where(.member-home-onboarding,.member-home-inbox,.member-home-next,.member-home-provider-actions,.connect-problem-grid article,.connect-benefits>a){
    border-color:var(--wpd-line);
    border-radius:18px;
    box-shadow:var(--wpd-shadow-card);
  }
  body.connect-home :where(.connect-problem,.connect-world,.connect-steps,.connect-final){padding-top:84px;padding-bottom:84px}
  body.connect-home .connect-section-intro h2{font-size:clamp(2.25rem,3.5vw,3.7rem);letter-spacing:-.045em}
  body.connect-home .connect-section-intro>p:last-child{font-size:.94rem;line-height:1.64}
  body.connect-home .connect-benefits>a{padding:26px}
  body.connect-home .connect-benefits h3{font-size:1.25rem}
  body.connect-home .connect-benefits p{font-size:.82rem;line-height:1.58}

  body.wp-excellence footer{
    width:calc(100% - 44px);
    max-width:1456px;
    border-top-color:rgba(255,255,255,.08);
    color:#96a3b4;
    font-size:.75rem;
  }
}

@media (min-width:1101px) and (max-width:1280px){
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable.public-nav{
    width:100%!important;
    max-width:none!important;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a{padding-inline:7px!important;font-size:.68rem}
  body.wp-excellence .feature-layout,
  body.wp-excellence .community-shell{grid-template-columns:minmax(340px,370px) minmax(0,1fr)}
}

@media (min-width:1281px){
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable.public-nav{
    width:940px!important;
    min-width:940px!important;
    max-width:940px!important;
  }
  body.wp-excellence:not(.admin-authorized) .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence:not(.admin-authorized) .header-inner>.main-nav.wp-nav-stable.public-nav{
    width:845px!important;
    min-width:845px!important;
    max-width:845px!important;
  }
}

/* LIGHT WORKSPACE DIRECTION V6 · anthracite is reserved for the top navigation. */
@media (min-width:1101px){
  body.wp-excellence,
  body.wp-excellence:not(.connect-home){
    background:
      radial-gradient(circle at 3% 0,rgba(112,71,220,.1),transparent 31rem),
      radial-gradient(circle at 96% 18%,rgba(11,143,137,.07),transparent 29rem),
      #eef3f4;
    color:#172235;
  }
  body.wp-excellence .site-header{
    border-bottom:1px solid rgba(255,255,255,.08);
    background:#101722;
    box-shadow:0 8px 24px rgba(9,18,29,.14);
  }
  body.wp-excellence .header-inner{min-height:74px;padding-top:8px;padding-bottom:8px}
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable,
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable.public-nav{
    gap:4px;
    padding:4px;
    border-color:rgba(255,255,255,.1);
    border-radius:12px;
    background:#141b27;
    box-shadow:none;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a{
    min-height:34px;
    padding-inline:8px!important;
    border-radius:8px;
    color:#aeb9c8;
    font-size:.75rem;
    font-weight:540;
    letter-spacing:0;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a:hover{
    border-color:transparent;
    background:rgba(255,255,255,.055);
    color:#fff;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>.wp-nav-connect{
    margin-left:0;
    border-color:transparent;
    background:transparent;
    color:#aeb9c8;
    box-shadow:none;
  }
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>a.active,
  body.wp-excellence .header-inner>.main-nav.wp-nav-stable>.wp-nav-connect.active{
    border-color:transparent;
    background:linear-gradient(112deg,#7047dc,#0b8f89);
    color:#fff;
    box-shadow:none;
  }
  body.wp-excellence .prototype-badge{
    border-color:rgba(11,143,137,.34);
    background:rgba(11,143,137,.08);
    color:#8fded9;
    font-size:.62rem;
    font-weight:600;
  }

  body.wp-excellence .feature-hero,
  body.wp-excellence .connect-shell>.connect-hero{
    min-height:210px;
    padding-top:28px!important;
    padding-bottom:32px!important;
  }
  body.wp-excellence .feature-hero .eyebrow,
  body.wp-excellence .connect-shell>.connect-hero .eyebrow,
  body.wp-excellence main .eyebrow{
    color:#087f7a!important;
    font-size:.72rem!important;
    font-weight:600!important;
  }
  body.wp-excellence .feature-hero h1,
  body.wp-excellence .connect-shell>.connect-hero h1{
    max-width:740px;
    margin-bottom:14px;
    color:#172235;
    font-size:clamp(2.15rem,2.85vw,2.9rem);
    font-weight:580;
    line-height:1.03;
    letter-spacing:-.04em;
  }
  body.wp-excellence .feature-hero .hero-copy>p:last-child,
  body.wp-excellence .connect-shell>.connect-hero>div:first-child>p:last-child{
    max-width:690px;
    color:#526176;
    font-size:.9rem;
    line-height:1.62;
  }
  body.wp-excellence .court-provider-hero-card{
    padding:20px 22px;
    border-color:#d6e0e5;
    background:#fff;
    box-shadow:0 8px 22px rgba(18,35,50,.07);
  }
  body.wp-excellence .court-provider-card-top{color:#087f7a}
  body.wp-excellence .court-provider-hero-card h2{
    color:#172235;
    font-size:1.28rem;
    font-weight:600;
  }
  body.wp-excellence .court-provider-hero-card p{color:#66758a;font-size:.8rem}
  body.wp-excellence .court-provider-hero-card>a{min-height:44px;font-size:.76rem;box-shadow:none}

  body.wp-excellence :where(.feature-panel,.community-panel,.community-main,.connect-section,.connect-settings-card,.account-auth,.account-profile,.trainer-self-profile,.provider-account){
    border-color:#d6e0e5;
    background:#fff;
    box-shadow:0 6px 20px rgba(18,35,50,.065);
    backdrop-filter:none;
  }
  body.wp-excellence .section-heading h2{font-size:1.05rem;font-weight:580}
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card) h3{
    font-weight:600;
  }

  body.wp-excellence .assistant-hero,
  body.wp-excellence .shop-hero{
    border:1px solid #d6e0e5;
    background:#fff;
    color:#172235;
    box-shadow:0 8px 22px rgba(18,35,50,.07);
  }
  body.wp-excellence .assistant-hero-copy h1,
  body.wp-excellence .shop-hero h1{
    color:#172235;
    font-size:clamp(2.15rem,2.9vw,2.95rem);
    font-weight:580;
    letter-spacing:-.04em;
  }
  body.wp-excellence .assistant-hero-copy>p:last-child,
  body.wp-excellence .shop-lead{color:#526176;font-size:.9rem;line-height:1.62}

  body.wp-excellence .account-intro h1{
    color:#172235;
    font-size:clamp(2.15rem,2.9vw,2.95rem);
    font-weight:580;
    letter-spacing:-.04em;
  }
  body.wp-excellence .account-intro>p:last-child{color:#526176;font-size:.9rem;line-height:1.62}
  body.wp-excellence .account-brand-claim{color:#087f7a}

  body.connect-home .site-header{
    border-bottom:0;
    background:
      radial-gradient(circle at 3% 0,rgba(112,71,220,.1),transparent 31rem),
      radial-gradient(circle at 96% 18%,rgba(11,143,137,.07),transparent 29rem),
      #eef3f4;
    box-shadow:none;
  }
  body.connect-home .header-inner{
    width:100%;
    max-width:none;
    padding-inline:max(22px,calc((100% - 1500px)/2));
    background:#101722;
    box-shadow:0 8px 24px rgba(9,18,29,.14);
  }
  body.connect-home .connect-hero{padding-top:62px;padding-bottom:70px}
  body.connect-home .connect-hero h1{
    color:#172235;
    font-size:clamp(3rem,4.5vw,4.65rem);
    font-weight:600;
    letter-spacing:-.05em;
  }
  body.connect-home .connect-hero-copy>p:not(.eyebrow){color:#526176;font-size:.94rem}
  body.connect-home .connect-trust{color:#5f6e82}
  body.connect-home .connect-transform{
    border:1px solid #d6e0e5;
    background:#fff;
    box-shadow:0 9px 26px rgba(18,35,50,.085);
  }

  /* Refined desktop hierarchy: flatter filters, softer typography, quieter actions. */
  body.wp-excellence :where(.feature-panel,.community-panel,.community-main,.connect-section,.connect-settings-card,.account-auth,.account-profile,.trainer-self-profile,.provider-account){border-radius:16px}
  body.wp-excellence :is(.search-panel .filter-section,.trainer-filter-panel .trainer-filter-block){
    margin-bottom:0!important;
    padding:16px 0!important;
    border:0!important;
    border-top:1px solid #d6e0e5!important;
    border-radius:0!important;
    background:#fff!important;
  }
  body.wp-excellence :is(.search-panel .filter-section-title,.trainer-filter-panel .trainer-filter-block>h3){font-weight:600!important}
  body.wp-excellence :is(.search-panel .filter-section-title>span,.trainer-filter-panel .trainer-filter-block>h3::before){
    background:#eee9ff!important;
    color:#7047dc!important;
    box-shadow:none!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(legend,.field>label:first-child){font-weight:650!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,.location-select,textarea){font-size:.875rem!important;font-weight:450!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip label{font-weight:600!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) :is(.primary-button,.reset-button){font-weight:650!important;box-shadow:none!important}
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .primary-button{background:#087f7a}
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card){box-shadow:none}
  body.wp-excellence :where(.result-card,.trainer-card,.player-card,.match-card,.shared-match-card,.private-group-card,.tournament-card,.community-card,.court-community-card):hover{box-shadow:0 8px 22px rgba(18,35,50,.075)}
  body.wp-excellence .results-list .court-group{background:#f8fafb;box-shadow:none}
  body.wp-excellence footer{
    border-top-color:#d6e0e5;
    color:#66758a;
  }
  body.wp-excellence footer strong{color:#172235}
  body.wp-excellence footer .legal-links a{color:#59687c}
  body.wp-excellence footer .legal-links a:hover{color:#087f7a}
}

/* QUIET SELECTED FILTERS V4 — visual state only, behavior stays unchanged. */
@media (min-width:1101px){
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip input:checked+label{
    border-color:#8bcac6!important;
    background:#e7f5f3!important;
    color:#176d69!important;
    box-shadow:none!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip input:checked+label:hover{
    border-color:#67b8b2!important;
    background:#ddf1ef!important;
    color:#0b625f!important;
  }
  body.wp-excellence :is(.search-panel,.trainer-filter-panel) .chip input:checked+label::before{
    border-color:#0e918b!important;
    background:#0e918b!important;
    color:#fff!important;
    box-shadow:none!important;
  }
}

/* UNIFIED FILTER HEADINGS V5 — one visual contract for Court, Trainer, Player and Tournament search. */
@media (min-width:1101px){
  body.wp-excellence :is(.search-panel .filter-section-title,.trainer-filter-panel .trainer-filter-block>h3){
    align-items:center!important;
    min-height:28px!important;
    margin:0 0 14px!important;
    gap:9px!important;
    color:#324056!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:.8rem!important;
    font-weight:600!important;
    letter-spacing:0!important;
    line-height:1.35!important;
  }
  body.wp-excellence .search-panel .filter-section-title>strong{
    color:inherit!important;
    font-family:inherit!important;
    font-size:inherit!important;
    font-weight:inherit!important;
    letter-spacing:inherit!important;
    line-height:inherit!important;
  }
  body.wp-excellence :is(.search-panel .filter-section-title>span,.trainer-filter-panel .trainer-filter-block>h3::before){
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    background:#eee9ff!important;
    color:#7047dc!important;
    box-shadow:none!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:.68rem!important;
    font-weight:700!important;
    font-variant-numeric:tabular-nums!important;
    letter-spacing:0!important;
    line-height:1!important;
    text-align:center!important;
  }
}

/* SHARED LEFT SEARCH CONTRACT V6 — identical markup and styling on all four search pages. */
@media (min-width:1101px){
  body.wp-excellence .wp-search-filter-panel{
    --wp-search-control-height:46px;
    --wp-search-control-radius:11px;
    --wp-search-control-font:.875rem;
    --wp-search-label-font:.7rem;
    box-sizing:border-box!important;
    padding:24px!important;
  }
  body.wp-excellence .wp-search-filter-panel .wp-search-filter-block{
    box-sizing:border-box!important;
    margin:0!important;
    padding:16px 0!important;
    border:0!important;
    border-top:1px solid #d6e0e5!important;
    border-radius:0!important;
    background:#fff!important;
    color:#26364a!important;
    box-shadow:none!important;
  }
  body.wp-excellence .wp-search-filter-panel .wp-search-filter-title{
    align-items:center!important;
    min-height:28px!important;
    margin:0 0 14px!important;
    gap:9px!important;
    color:#324056!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:.8rem!important;
    font-weight:600!important;
    letter-spacing:0!important;
    line-height:1.35!important;
  }
  body.wp-excellence .wp-search-filter-panel .wp-search-filter-title>strong{
    color:inherit!important;
    font-family:inherit!important;
    font-size:inherit!important;
    font-weight:inherit!important;
    letter-spacing:inherit!important;
    line-height:inherit!important;
  }
  body.wp-excellence .wp-search-filter-panel .wp-search-filter-title>span{
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    background:#eee9ff!important;
    color:#7047dc!important;
    box-shadow:none!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:.68rem!important;
    font-weight:700!important;
    font-variant-numeric:tabular-nums!important;
    letter-spacing:0!important;
    line-height:1!important;
    text-align:center!important;
  }
  body.wp-excellence .wp-search-filter-panel :is(legend,.field>label:first-child){
    min-height:18px!important;
    margin-bottom:7px!important;
    color:#556378!important;
    font-size:var(--wp-search-label-font)!important;
    font-weight:650!important;
    letter-spacing:.055em!important;
  }
  body.wp-excellence .wp-search-filter-panel .field{margin-bottom:14px!important}
  body.wp-excellence .wp-search-filter-panel :is(.field-grid,.search-location-grid,.search-date-grid){gap:11px!important}
  body.wp-excellence .wp-search-filter-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,.location-select,textarea){
    min-height:var(--wp-search-control-height)!important;
    border-color:#cbd6de!important;
    border-radius:var(--wp-search-control-radius)!important;
    background-color:#fff!important;
    color:#26364a!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:var(--wp-search-control-font)!important;
    font-weight:450!important;
    box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
  }
  body.wp-excellence .wp-search-filter-panel :is(#region-options,#trainer-region-options,#player-region-options,#tournament-region-options){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.wp-excellence .wp-search-filter-panel .chip label{
    min-height:36px!important;
    padding:7px 11px!important;
    border-color:#ccd7df!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#405067!important;
    font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif!important;
    font-size:.72rem!important;
    font-weight:600!important;
    letter-spacing:.025em!important;
  }
  body.wp-excellence .wp-search-filter-panel .chip input:checked+label{
    border-color:#8bcac6!important;
    background:#e7f5f3!important;
    color:#176d69!important;
    box-shadow:none!important;
  }
}
