@layer ys-site254 {
/* YS website: flat organization workspace. Presentation only; no workflow changes. */
:root[data-ys-theme]{--ys-control-radius:3px;--ys-content-gap:12px;--ys-flat-accent:var(--ys-action,#45d24a);--ys-space-1:4px;--ys-space-2:8px;--ys-space-3:12px;--ys-space-4:16px;--ys-space-6:24px}
:root[data-ys-theme] body{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.45}
:root[data-ys-theme] :is(h1,h2,h3,h4){letter-spacing:normal!important;line-height:1.3}
:root[data-ys-theme] h1{font-size:26px!important;margin-block:0 16px}
:root[data-ys-theme] h2{font-size:19px!important;margin-block:0 10px}
:root[data-ys-theme] h3{font-size:16px!important;margin-block:0 8px}
/* Sections are separated by rules, never a stack of rounded containers. */
:root[data-ys-theme] body :is(.panel,.card,.tryout-card,.organization-card,.organization-person,.security,.workspace-context,.director200-attention,.coaches-film,.coach-flag-audience,.cart239-order,.cart239-summary,.payment-money article,.native-roster-panel,.native-player-card,.team-browser-card,.team-home-hero,.team-home-banner,.team-summary-card,.login-panel,.login-card,.overview-card,.native-game-card,.native-season-summary,.native-team-performance,.club-welcome,.team-home-card,.team-next-up,.director-dashboard-actions,.coach-film-summary>div,.native-record-grid>div,.game-detail-summary>div){border-radius:0!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--ys-line)!important;background:transparent!important;color:var(--ys-ink)!important;padding:14px 0!important;margin-block:0 14px!important}
:root[data-ys-theme] body :is(.panel,.card,.tryout-card,.organization-person) :is(.panel,.card,.tryout-card){margin-block:0 10px!important;padding:10px 0!important}
:root[data-ys-theme] body :is(.hero,.team-home-hero,.team-home-banner){min-height:0!important;border-radius:0!important;box-shadow:none!important;background:var(--ys-panel)!important;color:var(--ys-ink)!important;padding:18px!important}
:root[data-ys-theme] body :is(.hero,.team-home-hero,.team-home-banner) :is(h1,h2,h3,p,strong){color:var(--ys-ink)!important}
/* Compact rectangular controls, with visible keyboard focus and touch targets. */
:root[data-ys-theme] body :is(button,.account-action,.settings-action,.director-return,.account-shortcut){border-radius:3px!important;box-shadow:none!important;font-size:14px!important;line-height:1.35;min-height:36px!important;padding:7px 12px!important}
:root[data-ys-theme] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-radius:3px!important;box-shadow:none!important;font-size:14px!important;min-height:38px;padding:8px 10px!important}
:root[data-ys-theme] body textarea{min-height:96px}
:root[data-ys-theme] body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ys-action)!important;outline-offset:3px}
:root[data-ys-theme] body :is(button,a):hover{box-shadow:none!important}
:root[data-ys-theme] body :is(dialog,[role=dialog],.payment-dialog){border-radius:3px!important;box-shadow:0 8px 28px #0004;padding:20px!important}
:root[data-ys-theme] body :is(.notice,.status,.read-status,.connected-status,.workspace-banner){border-radius:0!important;box-shadow:none!important;padding:8px 10px!important}
/* Header and navigation stay in the same place on every screen. */
:root[data-ys-theme] body :is(.director-nav-link,.sidebar a,.sidebar button){border-radius:0!important;min-height:36px;padding:7px 10px!important}
:root[data-ys-theme] body .director-nav-link[aria-current=page]{border:0!important;border-left:3px solid var(--ys-action)!important;background:var(--ys-input)!important}
:root[data-ys-theme] body .director-return{background:transparent!important;border:0!important;margin:12px 20px 0!important;padding:4px 0!important;min-height:28px}
:root[data-ys-theme] body .topbar{min-height:56px!important;padding:10px 22px!important;gap:10px!important;box-shadow:none!important}
:root[data-ys-theme] body .director-navigation-active main#main{padding:20px 24px!important}
:root[data-ys-theme] body .heading{margin-bottom:16px!important;gap:12px!important}
/* Dashboard numbers form a compact strip. Quick links are list rows. */
:root[data-ys-theme] body :is(.metric,.director200-card,.payment-metric,.organization-metrics button){border-radius:0!important;box-shadow:none!important;border:0!important;border-right:1px solid var(--ys-line)!important;background:transparent!important;color:var(--ys-ink)!important;padding:10px 14px!important;min-height:0!important;margin:0!important;text-align:left}
:root[data-ys-theme] body :is(.metrics,.organization-metrics,.payment-metrics,.director200-grid){gap:0!important;border-top:1px solid var(--ys-line);border-bottom:1px solid var(--ys-line);margin-block:12px 18px}
:root[data-ys-theme] body :is(.metric,.director200-card,.payment-metric,.organization-metrics button):last-child{border-right:0!important}
:root[data-ys-theme] body :is(.director200-value,.payment-metric strong,.organization-metrics strong){font-size:26px!important;line-height:1.2}
:root[data-ys-theme] body .director200-card h3{margin-bottom:5px!important}
:root[data-ys-theme] body .director200-detail p{font-size:12px!important;margin-top:4px!important}
:root[data-ys-theme] body .director200-card:hover{background:var(--ys-input)!important;color:var(--ys-ink)!important;outline:0;border-bottom:2px solid var(--ys-action)!important}
/* Accounts, people, settings, approvals: plain rows and field groups. */
:root[data-ys-theme] body #account #actions{display:flex!important;flex-direction:column;gap:0!important}
:root[data-ys-theme] body #account #actions>:is(button,a:not([href*=privacy])){border:0!important;border-bottom:1px solid var(--ys-line)!important;background:transparent!important;padding:11px 0!important;text-align:left!important;justify-content:flex-start!important;margin:0!important;width:100%;min-height:42px}
:root[data-ys-theme] body :is(#ys-settings section,#onboarding section,.organization-person>section){border-radius:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ys-line)!important;margin-block:12px!important;padding:12px 0!important}
:root[data-ys-theme] body #ys-settings .settings-action{border:0!important;border-bottom:1px solid var(--ys-line)!important;background:transparent!important;text-align:left;margin:0!important;padding:12px 0!important}
:root[data-ys-theme] body .organization-person dl{gap:12px;margin-block:12px!important}
:root[data-ys-theme] body .organization-person-controls{gap:16px!important;margin-top:12px!important}
:root[data-ys-theme] body .organization-person-actions button{flex:0 1 auto!important;min-width:0!important}
:root[data-ys-theme] body .organization-person>button,:root[data-ys-theme] body .organization-person>section button{width:auto!important}
:root[data-ys-theme] body .organization-add-person summary{border-radius:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ys-line)!important;padding:10px 0!important}
/* All seven registration pages share one flat form layout. */
:root[data-ys-theme] body .registration-frame221{max-width:1040px;font-size:14px;line-height:1.45}
:root[data-ys-theme] body .registration-frame221>.tryout-stack{gap:14px!important}
:root[data-ys-theme] body .registration-frame221 .tryout-stack{gap:10px!important}
:root[data-ys-theme] body .registration-frame221 .tryout-card{gap:10px!important}
:root[data-ys-theme] body .registration-frame221 label{font-size:13px;gap:5px!important}
:root[data-ys-theme] body .registration-frame221 p{font-size:14px;line-height:1.4}
:root[data-ys-theme] body .registration-frame221 .registration-header221{padding-bottom:10px!important;margin:0!important}
:root[data-ys-theme] body .registration-frame221 .registration-actions221{justify-content:flex-start!important;gap:8px!important;padding-top:10px!important;margin-top:0!important}
:root[data-ys-theme] body .registration-frame221 button{align-self:flex-start;min-width:0!important;max-width:100%;width:auto!important}
:root[data-ys-theme] body .registration-progress213{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:6px 14px;border:0!important;border-bottom:1px solid var(--ys-line)!important;border-radius:0!important;background:transparent!important;padding:8px 0!important;margin:0!important}
:root[data-ys-theme] body .registration-progress213 h3{margin:0!important;font-size:18px!important}
:root[data-ys-theme] body .registration-progress213 progress{grid-column:1/-1;height:3px!important}
:root[data-ys-theme] body .registration-frame221 section[style*="border-radius"]{border:0!important;border-top:1px solid var(--ys-line)!important;border-bottom:1px solid var(--ys-line)!important;border-radius:0!important;padding:12px 0!important}
:root[data-ys-theme] body .registration-summary228{gap:10px!important}
:root[data-ys-theme] body .registration-summary-actions228{gap:6px!important}
/* Lists and stats are tables, without a rounded outer card. */
:root[data-ys-theme] body :is(.roster-table247,.payment-table-wrap,.table-wrap,.stats-table-wrap,.native-player-grid){border-radius:0!important;box-shadow:none!important;border:0!important}
:root[data-ys-theme] body :is(.roster-table247,.payments-dashboard,.stats-table-wrap,.table-wrap) :is(th,td){padding:9px 10px!important;font-size:13px!important}
:root[data-ys-theme] body :is(.payment-state,.payments-test-pill,.badge,.pill){border-radius:2px!important;padding:3px 6px!important}
:root[data-ys-theme] body .native-player-grid{display:block!important}
:root[data-ys-theme] body .native-player-card{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:10px 0!important;margin:0!important}
:root[data-ys-theme] body .native-player-card h3{margin:0!important}
:root[data-ys-theme] body .native-player-card p{margin:4px 0 0!important}
:root[data-ys-theme] body :is(.team-home-tool,.native-team-actions button){border-radius:0!important;box-shadow:none!important;min-height:42px!important;padding:10px 12px!important;font-size:14px!important}
/* Chat remains a message log, not a visual language for every other page. */


:root[data-ys-theme] body .cart239-summary{position:static!important}
@media(pointer:coarse){:root[data-ys-theme] body :is(button,.account-action,.settings-action,select,input:not([type=checkbox]):not([type=radio])){min-height:44px!important}}
@media(max-width:700px){
 :root[data-ys-theme] body h1{font-size:23px!important}
 :root[data-ys-theme] body :is(.director-navigation-standalone main#root,.director-navigation-active main#main,#account,#ys-settings){padding:16px!important}
 :root[data-ys-theme] body :is(.director200-grid,.payment-metrics,.organization-metrics){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 :root[data-ys-theme] body :is(.director200-card,.payment-metric,.metric){border-bottom:1px solid var(--ys-line)!important}
 :root[data-ys-theme] body .native-player-card{align-items:flex-start;flex-wrap:wrap}
 :root[data-ys-theme] body .registration-frame221 .tryout-card{padding:12px 0!important}
}

/* Action hierarchy: only the current task receives emphasis. */
:root[data-ys-theme] body :is(.ys-action-primary254,button.primary,button.native-primary){background:#226b37!important;color:#fff!important;border-color:#226b37!important;font-weight:700}
:root[data-ys-theme] body .ys-action-primary254:hover{background:#19542a!important;border-color:#19542a!important}
:root[data-ys-theme] body .ys-action-quiet254{background:transparent!important;border-color:transparent!important;text-decoration:underline;text-underline-offset:3px;padding-inline:6px!important}
:root[data-ys-theme] body .ys-action-quiet254:hover{background:var(--ys-input)!important}
:root[data-ys-theme] body .director-dashboard-grid{display:flex;flex-wrap:wrap;gap:0!important;border-bottom:1px solid var(--ys-line)}
:root[data-ys-theme] body .director-dashboard-grid .director-nav-link{min-height:40px!important;border:0!important;background:transparent!important;justify-content:flex-start;padding:8px 16px 8px 0!important}
:root[data-ys-theme] body :is(.native-season-summary,.native-team-performance,.team-home-card,.team-next-up) :is(h1,h2,h3,p){color:var(--ys-ink)!important}
:root[data-ys-theme] body .native-record-grid>div{margin:0!important;padding:10px 12px!important;border-right:1px solid var(--ys-line)!important}
:root[data-ys-theme] body .business-mail :is(.mail-empty,.mail-reader-body,.mail-feedback,.mail-attachments){border-radius:0!important;box-shadow:none!important}
:root[data-ys-theme] body .team-home .team-home-hero img{max-height:90px;object-fit:contain}
/* Width follows the action label rather than filling every available row. */
:root[data-ys-theme] body button{width:auto!important;max-width:100%;flex-shrink:0}
:root[data-ys-theme] body a{color:var(--ys-action)!important}
:root[data-ys-theme] body .director-nav-link{color:var(--ys-ink)!important}
:root[data-ys-theme] body :is(.native-player-actions,.organization-person-actions,.actions){gap:8px}
:root[data-ys-theme] body :is(.registration-actions221,.actions)>button{flex:0 0 auto}
/* Field width reflects its purpose; long free-text areas retain their space. */
:root[data-ys-theme] body .registration-frame221 :is(input[aria-label="Season"],input[aria-label="Birth year"],input[aria-label="Through birth year (optional)"]){max-width:180px}
:root[data-ys-theme] body .registration-frame221 :is(input[type=date],select[aria-label="Level"],select[aria-label="Currency"]){max-width:300px}
:root[data-ys-theme] body .registration-frame221 :is(select[aria-label="Who is this season registration for?"],select[aria-label="How are you running tryouts?"],select[aria-label="How will you group players?"],select[aria-label="Time zone"],select[aria-label="Hockey membership"],select[aria-label="Membership season"]){max-width:440px}
/* Compact context above the working area; keep all notices and controls available. */
:root[data-ys-theme] body main>.muted{font-size:12px!important;margin:0 0 8px!important}
:root[data-ys-theme] body main>.notice{padding:6px 8px!important;font-size:12px!important;margin:0 0 12px!important;min-height:0!important}
:root[data-ys-theme] body main>.notice button{min-height:24px!important;min-width:24px;padding:2px 6px!important}
:root[data-ys-theme] body .heading .eyebrow{display:none}
:root[data-ys-theme] body .eyebrow{letter-spacing:normal!important;font-size:12px!important;margin-block:8px!important}
:root[data-ys-theme] body .eyebrow button{background:transparent!important;border-color:transparent!important;text-decoration:underline;min-height:28px!important;padding:3px 8px!important}
:root[data-ys-theme] body .workspace-context select{max-width:460px}
:root[data-ys-theme] body .context-help{min-height:28px!important;padding:4px 8px!important;font-size:12px!important}
:root[data-ys-theme] body :is(.mode-banner,.connection-banner){padding:6px 12px!important;font-size:11px!important;min-height:0!important}
@media(pointer:coarse){:root[data-ys-theme] body :is(main>.notice button,.context-help,.eyebrow button){min-height:44px!important}}

/* Navigation links and repeated records never become full-width chat-like bars. */
:root[data-ys-theme] body a.account-action{display:inline-flex!important;align-items:center;justify-content:flex-start!important;width:auto!important;max-width:100%;background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:3px;padding:5px 0!important;min-height:32px;margin:4px 0 10px!important}
:root[data-ys-theme] body a.ys-cart-link239{border-radius:3px!important;box-shadow:none!important;padding:7px 10px!important;background:transparent!important;border:0!important;color:var(--ys-action)!important}
:root[data-ys-theme] body .team-age-groups{gap:0!important}
:root[data-ys-theme] body .team-age-groups>section{margin:0!important;padding:12px 0!important}
:root[data-ys-theme] body .team-age-groups h2{margin:0 0 8px!important}
:root[data-ys-theme] body .team-browser-grid{display:flex!important;flex-wrap:wrap;gap:8px!important}
:root[data-ys-theme] body .team-browser-grid .director-nav-link{border:0!important;border-bottom:1px solid var(--ys-line)!important;min-height:36px!important;min-width:180px;justify-content:flex-start!important}
:root[data-ys-theme] body .payment-section-tabs{display:flex;gap:16px;border-bottom:1px solid var(--ys-line);padding:0;margin:8px 0 16px}
:root[data-ys-theme] body .payment-section-tabs button{border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;border-radius:0!important;padding:8px 0!important;min-height:40px!important}
:root[data-ys-theme] body .payment-section-tabs button[aria-pressed=true]{border-bottom-color:var(--ys-action)!important;font-weight:700}


:root[data-ys-theme] body button{align-self:flex-start!important}
:root[data-ys-theme] body .payment-metric{align-self:stretch!important;justify-self:stretch!important}
:root[data-ys-theme] body .payments-dashboard{background:transparent!important}
:root[data-ys-theme] body [class$="-card"]{border-radius:0!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--ys-line)!important;background:transparent!important;color:var(--ys-ink)!important;padding:12px 0!important}
:root[data-ys-theme] body [class$="-card"] :is(h1,h2,h3,p,small){color:inherit!important}
}
