/* Handball Dynasty 30.2 — unified design system and high-frequency workspace cleanup */
:root{--ui302-ink:#14251f;--ui302-muted:#697a72;--ui302-line:#dbe4df;--ui302-soft:#f4f7f5;--ui302-panel:#fff;--ui302-radius:16px;--ui302-shadow:0 10px 28px rgba(20,37,31,.055)}
.v10-workspace{max-width:1440px}.v10-subnav{border-bottom:1px solid var(--ui302-line)}.v10-subnav-inner{gap:4px}.v10-subnav a{border-radius:9px;padding:9px 13px}.v10-subnav a.active{background:var(--ui302-ink);color:var(--club-accent)}
.card,.page-card{border-color:var(--ui302-line)!important;border-radius:var(--ui302-radius)!important;box-shadow:var(--ui302-shadow)!important}.sectionhead{gap:18px}.sectionhead h2{letter-spacing:-.025em}.eyebrow{letter-spacing:.11em!important}.primary-button,button.primary-button{border-radius:10px!important;box-shadow:none!important}
/* Remove legacy duplicate local navigation everywhere; global context nav is the source of truth. */
.section-switcher{display:none!important}
/* Consistent page opening */
.ui302-page-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px 30px;margin-bottom:14px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(135deg,#13271f,#1d382e);color:#fff}.ui302-page-hero h2{font-size:clamp(28px,4vw,42px);margin:4px 0 6px}.ui302-page-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.7)}.ui302-hero-value{display:grid;gap:3px;text-align:right}.ui302-hero-value small{color:rgba(255,255,255,.62)}.ui302-hero-value b{font-size:25px;color:var(--club-accent)}.ui302-count{font-size:12px;font-weight:800;color:var(--ui302-muted);background:var(--ui302-soft);padding:7px 10px;border-radius:999px}
/* Dashboard: daily command surface, fewer competing panels */
.dashboard .v10-workspace>section{margin-bottom:12px}.dashboard .v23-card,.dashboard .dashboard35-panel{box-shadow:none!important}.dashboard .v23-grid{gap:12px}.dashboard .v23-card header h2{font-size:18px}.dashboard .v23-card{border-radius:15px!important}.dashboard .dashboard35-hero{min-height:0!important;padding:26px 30px!important}.dashboard .dashboard35-kpis{gap:9px!important}.dashboard .dashboard35-kpis article{padding:13px 15px!important}
/* Team: list-first visual hierarchy without rewriting functionality */
.squad .roster16-hero{padding:24px 28px!important;border-radius:20px!important;margin-bottom:12px!important}.squad .roster161-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px!important}.squad .roster161-kpis article{padding:12px 14px!important;border-radius:13px!important}.squad .roster16-toolbar{position:sticky;top:0;z-index:8;background:rgba(244,247,245,.96);backdrop-filter:blur(10px);border:1px solid var(--ui302-line)!important;border-radius:14px!important;padding:10px!important}.squad .roster16-grid{gap:9px!important}.squad .roster16-card{border-radius:14px!important;box-shadow:none!important}.squad .roster16-card:hover{box-shadow:0 8px 22px rgba(20,37,31,.08)!important}.squad .roster16-photo{width:92px!important;min-width:92px!important}.squad .roster16-kpis{gap:8px!important}
/* Player profile: one clear identity band and restrained content cards */
.player .player-v32-hero,.player .player34-hero{border-radius:20px!important;padding:25px 28px!important}.player .player-v32-tabs,.player .player34-tabs{background:#fff;border:1px solid var(--ui302-line);border-radius:12px;padding:5px}.player .player-v32-grid article,.player .player34-grid article{box-shadow:none!important;border-color:var(--ui302-line)!important}
/* Lineup and training: controls before decoration */
.lineup .lineup-v32-head,.training .training-hero{padding:24px 28px!important;border-radius:20px!important}.lineup .lineup-planner,.lineup .lineup29-workspace{gap:12px!important}.lineup .lineup-sidebar,.lineup .lineup29-side{border-radius:14px!important;box-shadow:none!important}.training .training-grid,.training .training13-grid{gap:12px!important}.training .card{box-shadow:none!important}
/* League: table is primary; supplemental statistics visually recede */
.league .league42-hero,.league .v1408-hero{padding:24px 28px!important;border-radius:20px!important}.league .league-table-card{box-shadow:none!important}.league .tablewrap table{font-size:13px}.league .tablewrap thead th{position:sticky;top:0;background:#f7f9f8;z-index:2}.league .tablewrap tbody tr:hover{background:#f6f9f7}.league .v1408-side,.league .league42-side{opacity:.96}
/* Transfer market: compact cards, stable filters and detail-led interaction */
.transfers .tm14-hero,.transfers .tm16-hero{padding:24px 28px!important;border-radius:20px!important}.transfers .tm14-filterbar,.transfers .tm16-filterbar{position:sticky;top:0;z-index:8;background:rgba(244,247,245,.96);backdrop-filter:blur(10px);border-radius:14px!important}.transfers .tm16-card{border-radius:14px!important;box-shadow:none!important}.transfers .tm16-card:hover{box-shadow:0 8px 22px rgba(20,37,31,.08)!important}.transfers .tm16-card header img{width:68px!important;height:68px!important}.transfers .tm16-stats{grid-template-columns:repeat(4,1fr);gap:5px!important}.transfers .tm16-detail{border-radius:16px!important;box-shadow:var(--ui302-shadow)!important}
/* Matchcenter, replay and report become one visual family */
.matchday .mc301-hero,.match .match27-hero,.live .live27-stage{border-radius:20px!important}.matchday .matchday33-top-grid{gap:12px!important}.matchday .matchday33-card,.match .match27-card{border-radius:15px!important;box-shadow:none!important}.match .match27-stat-grid,.match .match27-player-grid{gap:8px!important}.match .match27-timeline article{border-left-color:var(--club-accent)!important}.live .live27-stage{box-shadow:var(--ui302-shadow)!important}
/* Club: quiet hierarchy and fewer dashboard-like competing boxes */
.club .club-hub-hero,.management .management-hero,.clubidentity .identity-hero,.dna .dna-hero,.legacy .legacy-hero{padding:25px 28px!important;border-radius:20px!important}.club .club-hub-grid,.management .management-grid{gap:12px!important}.club .card,.management .card,.clubidentity .card,.dna .card,.legacy .card{box-shadow:none!important}
/* Finance management overview */
.finance302-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.finance302-kpis article{display:grid;gap:3px;padding:16px 18px;background:#fff;border:1px solid var(--ui302-line);border-radius:14px}.finance302-kpis small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ui302-muted);font-weight:800}.finance302-kpis b{font-size:21px}.finance302-kpis span{font-size:12px;color:var(--ui302-muted)}.finance302-kpis article.warning{border-color:#e7bd75;background:#fffaf1}.finance302-bookings .num{text-align:right}.finance302-bookings time{font-variant-numeric:tabular-nums;color:var(--ui302-muted)}.ui302-more{border-top:1px solid var(--ui302-line);margin-top:5px}.ui302-more summary{cursor:pointer;padding:14px 4px;font-weight:800;color:#315b49}.ui302-more summary:hover{color:var(--ui302-ink)}
/* Forms and dialogs use one grammar */
input,select,textarea{border-radius:9px!important;border-color:#cad7d1!important;background:#fff!important}input:focus,select:focus,textarea:focus{outline:3px solid color-mix(in srgb,var(--club-accent) 28%,transparent)!important;border-color:#81988d!important}button,.button{border-radius:9px}.modal,.dialog,[role=dialog]{border-radius:18px!important}
@media(max-width:980px){.squad .roster161-kpis,.finance302-kpis{grid-template-columns:repeat(2,1fr)}.ui302-page-hero{align-items:flex-start;flex-direction:column}.ui302-hero-value{text-align:left}.transfers .tm16-detail{position:fixed!important;inset:70px 12px 12px!important;z-index:40}}
@media(max-width:640px){.ui302-page-hero{padding:21px 19px}.squad .roster161-kpis,.finance302-kpis{grid-template-columns:1fr 1fr}.squad .roster16-photo{width:74px!important;min-width:74px!important}.squad .roster16-toolbar,.transfers .tm14-filterbar,.transfers .tm16-filterbar{position:static}.v10-subnav a{padding:8px 10px}.finance302-bookings .tablewrap{margin:0 -8px}.finance302-bookings table{min-width:620px}}

/* v47.0.5 roster filter control */
.squad .roster4705-toolbar{display:block!important;padding:9px!important}
.roster4705-toolbar-main{display:flex;align-items:center;gap:8px}.roster4705-toolbar-main .roster16-search{flex:1;min-width:260px}.roster4705-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 13px;border:1px solid #dbe4df;border-radius:9px;background:#fff;color:#334a41;font-size:10px;font-weight:850;cursor:pointer}.roster4705-filter-toggle:hover,.roster4705-filter-toggle[aria-expanded=true]{border-color:#bed48c;background:#eff6e4;color:#456900}.roster4705-filter-toggle b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#173f31;color:#fff;font-size:8px}
.roster4705-filter-panel{display:grid;grid-template-columns:minmax(420px,1.5fr) repeat(4,minmax(130px,.45fr));gap:8px;align-items:end;margin-top:9px;padding-top:9px;border-top:1px solid #e5ebe8}.roster4705-filter-panel[hidden]{display:none!important}.roster4705-filter-group{display:grid;gap:5px}.roster4705-filter-group>small{font-size:8px;font-weight:900;letter-spacing:.07em;color:#71827b}.roster4705-filter-panel .roster16-filters{display:flex;flex-wrap:wrap;gap:4px}.roster4705-filter-panel .roster16-filters button{height:32px;min-width:38px;padding:0 9px;border-radius:8px}.roster4705-filter-panel .roster16-select{min-width:0}.roster4705-filter-panel .roster16-select select{width:100%;height:34px}
@media(max-width:1050px){.roster4705-filter-panel{grid-template-columns:1fr 1fr}.roster4705-filter-group{grid-column:1/-1}}@media(max-width:650px){.roster4705-toolbar-main{flex-wrap:wrap}.roster4705-toolbar-main .roster16-search{flex-basis:100%}.roster4705-filter-panel{grid-template-columns:1fr}}

/* v47.4.9 normal simulation windows */
.sim-login-fieldset{display:contents;border:0;padding:0;margin:0;min-width:0}.sim-login-fieldset:disabled{opacity:.58;filter:saturate(.7)}
.sim-window-alert{border-left:4px solid #d7f51c;background:#f4f8e6!important;color:#17392f!important}.sim-window-alert b{font-weight:900}.sim-window-alert small{color:#6e7e77}
.dash-next-comp{display:inline-flex!important;justify-content:center;margin-top:3px;padding:3px 7px;border-radius:999px;background:#eef3ef;color:#39574c!important;font-size:8px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.05em}
