/* Shared desktop layout. All project colors continue to come from the Superadmin. */
.desktop-sidebar,.desktop-breadcrumb,.desktop-header-date{display:none}
@media(min-width:701px){
 body.desktop-shell-ready{--desktop-sidebar-width:clamp(210px,19.5vw,280px);--desktop-gutter:clamp(22px,3vw,48px);font-family:"Segoe UI",Inter,ui-sans-serif,system-ui,sans-serif}
 body.desktop-shell-authenticated .desktop-sidebar{position:fixed;inset:0 auto 0 0;z-index:95;display:flex;flex-direction:column;width:var(--desktop-sidebar-width);height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--appearance-navigation-text,#fff) 24%,transparent) transparent;background:var(--appearance-navigation,#1d2938);color:var(--appearance-navigation-text,#fff);border-right:1px solid color-mix(in srgb,var(--appearance-navigation-text,#fff) 12%,transparent)}
 .desktop-sidebar .mobile-menu-brand{flex:0 0 auto;margin:0;padding:22px 18px 20px;font-size:18px;line-height:1.3;color:inherit;gap:10px}
 .desktop-sidebar .mobile-menu-brand>span{flex:0 0 38px;width:38px;height:40px;background:var(--appearance-accent,#40596c);color:var(--appearance-accent-text,#fff);border-radius:10px}
 .desktop-sidebar .mobile-menu-brand strong{font-weight:700;letter-spacing:-.035em;overflow-wrap:anywhere}
 .desktop-sidebar svg{width:22px;height:22px;flex:0 0 auto}
 .desktop-sidebar .desktop-brand{width:100%;border:0;background:none;font-family:inherit;text-align:left;cursor:pointer}
 .desktop-sidebar .desktop-brand:hover{background:color-mix(in srgb,var(--appearance-navigation-text,#fff) 7%,transparent)}
 .desktop-sidebar>nav{flex:0 0 auto;min-height:0}
 .desktop-sidebar .mobile-menu-group{margin:6px 8px 12px}
 .desktop-sidebar .mobile-menu-group h2{font-size:12px;text-transform:none;letter-spacing:0;font-weight:600;padding:6px 12px;color:color-mix(in srgb,var(--appearance-navigation-text,#fff) 62%,var(--appearance-navigation,#1d2938))}
 .desktop-sidebar .mobile-menu-group button{font-size:15px;line-height:1.4;gap:14px;min-height:39px;padding:6px 12px;color:color-mix(in srgb,var(--appearance-navigation-text,#fff) 84%,var(--appearance-navigation,#1d2938));border-radius:9px;overflow-wrap:anywhere}
 .desktop-sidebar .mobile-menu-group button[aria-current=page]{background:var(--appearance-accent,#40596c);color:var(--appearance-accent-text,#fff)}
 .desktop-sidebar .mobile-menu-group button:hover{background:color-mix(in srgb,var(--appearance-navigation-text,#fff) 9%,transparent)}
 .desktop-sidebar .mobile-menu-group button[aria-current=page]:hover{background:var(--appearance-accent,#40596c)}
 .desktop-sidebar .desktop-profile{position:static;flex:0 0 auto;min-height:76px;padding:16px 18px;background:var(--appearance-navigation,#1d2938);color:var(--appearance-navigation-text,#fff);border-color:color-mix(in srgb,var(--appearance-navigation-text,#fff) 15%,transparent)}
 .desktop-profile small{color:inherit;opacity:.65}.desktop-profile strong{font-weight:600}
 .desktop-sidebar button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
 body.desktop-shell-authenticated[data-desktop-audience=admin] .app-shell,body.desktop-shell-authenticated #playerApp{width:auto;min-width:0;margin-left:var(--desktop-sidebar-width);max-width:none;padding:0}
 body.desktop-shell-authenticated .hero,body.desktop-shell-authenticated main>.tabs,body.desktop-shell-authenticated .player-tabs{display:none}
 body.desktop-shell-authenticated .mobile-admin-header{position:sticky;top:0;z-index:90;display:flex;align-items:center;gap:14px;min-height:72px;padding:12px var(--desktop-gutter);border-bottom:1px solid var(--line);background:var(--appearance-surface,#fff);color:var(--appearance-text,#1f2937)}
 body.desktop-shell-authenticated #mobileMenuOpen,body.desktop-shell-authenticated #playerMenuOpen{display:none}
 .desktop-breadcrumb{display:block;color:var(--muted);font-size:14px;white-space:nowrap}
 .desktop-header-date{display:block;color:var(--muted);font-size:14px;white-space:nowrap}
 body.desktop-shell-authenticated .mobile-admin-header>strong{flex:1;min-width:0;font-size:15px;font-weight:500}
 body.desktop-shell-authenticated .mobile-admin-header svg{width:21px;height:21px}
 body.desktop-shell-authenticated .mobile-icon-button,body.desktop-shell-authenticated .player-shell-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:38px;min-height:38px;padding:7px;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
 body.desktop-shell-authenticated .mobile-admin-header button:hover{background:color-mix(in srgb,var(--appearance-text,#1f2937) 6%,transparent)}
 body.desktop-shell-authenticated main{width:auto;max-width:none;min-width:0;margin:0;padding:34px var(--desktop-gutter) 48px}
 body.desktop-shell-authenticated main>.view{min-width:0;padding-top:0}
 body.desktop-shell-authenticated .panel{min-width:0;border-radius:14px;box-shadow:none;padding:22px}
 body.desktop-shell-authenticated .panel .panel{box-shadow:none}
 body.desktop-shell-authenticated .toolbar{box-shadow:none;background:none}
 body.desktop-shell-authenticated h2{font-size:1.2rem;letter-spacing:-.025em}
 body.desktop-shell-authenticated .button{font-size:14px;border-radius:9px;min-height:40px;font-weight:600}
 body.desktop-shell-authenticated .icon-button{border-radius:8px;font-size:14px;font-weight:600}
 body.desktop-shell-authenticated input,body.desktop-shell-authenticated select,body.desktop-shell-authenticated textarea{min-width:0;font-size:14px;border-radius:8px}
 body.desktop-shell-authenticated .split{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:22px}
 body.desktop-shell-authenticated .item-list,body.desktop-shell-authenticated .match-main,body.desktop-shell-authenticated .form-panel{min-width:0}
 body.desktop-shell-authenticated .panel-head,body.desktop-shell-authenticated .toolbar{flex-wrap:wrap}
 body.desktop-shell-authenticated .mobile-dashboard{display:block}
 body.desktop-shell-authenticated #mobileUpcoming,body.desktop-shell-authenticated #mobileDashboardStats,body.desktop-shell-authenticated #mobileHomeCalendar{display:none}
 body.desktop-shell-authenticated .mobile-dashboard-intro,body.desktop-shell-authenticated .player-shell-intro{padding:4px 0 24px}
 body.desktop-shell-authenticated .mobile-kicker,body.desktop-shell-authenticated .player-shell-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;font-weight:700}
 body.desktop-shell-authenticated .mobile-dashboard-intro h1,body.desktop-shell-authenticated .player-shell-intro h1{font-size:clamp(32px,3vw,42px);line-height:1.15;letter-spacing:-.04em;margin:0 0 12px;color:var(--appearance-page-text,#1f2937)}
 body.desktop-shell-authenticated .mobile-dashboard-intro p:not(.mobile-kicker),body.desktop-shell-authenticated .player-shell-intro>p:not(.player-shell-kicker){font-size:16px;line-height:1.5;color:var(--muted);margin:0}
 body.desktop-shell-authenticated .desktop-dashboard-extras{justify-content:space-between;gap:20px;margin-bottom:24px}
 body.desktop-shell-authenticated #desktopDashboardTraining{display:grid;grid-template-columns:50px minmax(0,1fr);column-gap:16px;min-width:280px;order:-1;padding:18px 22px;align-items:center}
 .desktop-training-icon{grid-column:1;grid-row:1/4;display:grid;place-items:center;width:50px;height:56px;border-radius:12px;background:color-mix(in srgb,var(--appearance-accent) 9%,var(--appearance-surface));color:var(--appearance-accent)}
 .desktop-training-icon svg{width:28px;height:28px}
 body.desktop-shell-authenticated #desktopDashboardTraining h2{font-weight:400;color:var(--muted);font-size:14px;letter-spacing:0}
 body.desktop-shell-authenticated #desktopDashboardTraining strong{font-size:26px;font-weight:700;line-height:1.2}
 body.desktop-shell-authenticated #desktopDashboardTraining p{font-size:12px}
 body.desktop-shell-authenticated #desktopHomeCalendar{background:var(--appearance-accent);color:var(--appearance-accent-text);border-color:var(--appearance-accent);padding:0 20px;min-height:44px}
 body.desktop-shell-authenticated .dashboard-upcoming{padding:22px;margin-bottom:24px}
 body.desktop-shell-authenticated .counts-toolbar{padding:0;margin:26px 0 16px}
 body.desktop-shell-authenticated .dashboard-upcoming-list{padding:0;gap:10px}
 body.desktop-shell-authenticated .dashboard-upcoming>.team-count-head{padding:0 0 18px;margin-bottom:16px}
 body.desktop-shell-authenticated .dashboard-upcoming-item{background:var(--appearance-surface);border:1px solid var(--line);border-left:3px solid var(--team-border);box-shadow:none;min-height:64px;padding:16px;border-radius:10px}
 body.desktop-shell-authenticated .dashboard-upcoming-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}
 body.desktop-shell-authenticated .dashboard-upcoming-main{white-space:normal;font-size:14px;line-height:1.5;font-weight:600}
 body.desktop-shell-authenticated #dashboard .dashboard-team-count{padding:0;overflow:hidden}
 body.desktop-shell-authenticated #dashboard .dashboard-team-count>.team-count-head{padding:16px 20px;min-height:64px}
 body.desktop-shell-authenticated .player-portal-panel{max-width:none;width:100%}
 body.desktop-shell-authenticated .player-shell-intro{position:relative;padding-right:210px;min-height:132px}
 body.desktop-shell-authenticated .player-shell-intro .player-home-calendar{position:absolute;right:0;top:30px;font-size:14px}
 body.desktop-shell-authenticated #playerHomeList{gap:12px}
 body.desktop-shell-authenticated .player-home-group{margin:14px 0 0;font-size:1.1rem}
 body.desktop-shell-authenticated .player-game-card,body.desktop-shell-authenticated .player-stats-card{padding:18px 20px}
 body.desktop-shell-authenticated .player-planning-summary{margin-top:4px}
}
@media(min-width:701px) and (max-width:1100px){
 body.desktop-shell-authenticated .split{grid-template-columns:minmax(0,1fr)}
 body.desktop-shell-authenticated .desktop-sidebar .mobile-menu-brand{font-size:15px;padding-left:12px;padding-right:10px}
 body.desktop-shell-authenticated .desktop-sidebar .mobile-menu-group button{font-size:14px;gap:10px}
 body.desktop-shell-authenticated .desktop-breadcrumb{display:none}
 body.desktop-shell-authenticated .player-shell-intro{padding-right:0;min-height:0}
 body.desktop-shell-authenticated .player-shell-intro .player-home-calendar{position:static;margin-top:20px}
 body.desktop-shell-authenticated .desktop-dashboard-extras{flex-wrap:wrap}
}
@media print{.desktop-sidebar,.mobile-admin-header{display:none!important}body.desktop-shell-ready .app-shell,body.desktop-shell-ready #playerApp{margin-left:0!important}}
