/* KOMFA G439: only integrated MyPage; no global Core/Astra overrides. */
body.komfa-g432-theme-integrated .komfa-g432-shell{position:relative;isolation:isolate;overflow:visible;z-index:1}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-layout{position:relative;grid-template-columns:minmax(215px,240px) minmax(0,1fr);align-items:start}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-sidebar{position:relative;z-index:15;min-width:0;overflow:visible;align-self:stretch}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-sidebar nav{position:relative;z-index:16;min-width:0;overflow:visible}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-sidebar nav a{position:relative;white-space:normal;overflow-wrap:anywhere;line-height:1.4;z-index:17}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-main{min-width:0;position:relative;z-index:1;overflow:visible}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top,body.komfa-g432-theme-integrated .komfa-g432-shell .kp-intro{position:relative;z-index:0;max-width:100%;overflow-wrap:anywhere}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top h1{overflow-wrap:anywhere;line-height:1.35}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-content{min-width:0;position:relative;z-index:0}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-brand .kp-logo{flex:0 0 39px;max-width:39px;max-height:39px;overflow:hidden;line-height:1}
.komfa-g439-applications,.komfa-g439-profile,.komfa-g439-selfteam{background:#fff;border:1px solid #d4e2f0;border-radius:16px;padding:19px;margin:0 0 20px;min-width:0}
.komfa-g439-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.komfa-g439-heading h3,.komfa-g439-profile h3,.komfa-g439-selfteam h3{margin:0 0 6px;font-size:20px;color:#163a60}
.komfa-g439-heading p,.komfa-g439-profile>p,.komfa-g439-selfteam>p{margin:2px 0 12px;color:#536c83;font-size:14px}
.komfa-g439-count{font-weight:800;color:#12528a;margin:8px 0 15px}
.komfa-g439-app-row{padding:12px 4px;border-top:1px solid #e3ebf4;display:block;min-width:0}
.komfa-g439-app-row b{display:block;font-size:15px;color:#193f65;overflow-wrap:anywhere}
.komfa-g439-app-row small{display:block;color:#566c81;font-size:13px;margin-top:5px;overflow-wrap:anywhere}
.komfa-g439-readonly{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;padding:12px;background:#eff5fc;border-radius:12px;margin:10px 0 14px}
.komfa-g439-readonly span{display:grid;gap:2px;font-size:12px;color:#536d86}.komfa-g439-readonly b{color:#163a60;font-size:14px;overflow-wrap:anywhere}
.komfa-g439-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.komfa-g439-profile-form>p,.komfa-g439-profile-form>button{grid-column:1/-1}
.komfa-g439-player-row{border-top:1px solid #e2ebf5;padding:15px 0}.komfa-g439-player-row b{color:#143f70}.komfa-g439-player-row .kp-form{max-width:520px}
.komfa-g439-confirm{padding:12px;border:1px solid #b3ddc2;border-radius:10px;background:#ebf8ef;color:#195d38;font-weight:700}
body.komfa-g432-theme-integrated .komfa-g432-shell a:focus-visible,body.komfa-g432-theme-integrated .komfa-g432-shell button:focus-visible{outline:3px solid #ffb53e;outline-offset:3px}
@media(max-width:1050px){body.komfa-g432-theme-integrated .komfa-g432-shell .kp-layout{grid-template-columns:minmax(195px,210px) minmax(0,1fr)}}
@media(max-width:800px){
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-layout{display:block}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:2147482000!important;width:min(290px,86vw);height:100dvh;overflow-y:auto!important;overscroll-behavior:contain;transform:translateX(-108%);box-shadow:10px 0 35px #0d1b3090}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-sidebar.kp-open{transform:translateX(0)!important;visibility:visible!important}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top{position:relative!important;z-index:1!important}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-intro{position:relative!important;z-index:0!important}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-main{position:relative;z-index:1;overflow:visible}
 body.komfa-g432-theme-integrated .komfa-g432-shell #kp-nav-toggle{position:relative;z-index:2}
 .komfa-g439-profile-form{grid-template-columns:minmax(0,1fr)}
 .komfa-g439-applications,.komfa-g439-profile,.komfa-g439-selfteam{padding:14px}
 body.komfa-g432-theme-integrated .komfa-g432-shell .kp-content{padding-bottom:calc(145px + env(safe-area-inset-bottom,0px))}
}
/* When the mobile workspace drawer is open, lift its stacking context above
   Astra sticky headers and the workspace page heading. Do not hide the logo. */
@media(max-width:800px){
 body.komfa-g432-theme-integrated .komfa-g432-shell:has(.kp-sidebar.kp-open){z-index:2147481000!important;isolation:isolate}
 body.komfa-g432-theme-integrated:has(.komfa-g432-shell .kp-sidebar.kp-open) #masthead,
 body.komfa-g432-theme-integrated:has(.komfa-g432-shell .kp-sidebar.kp-open) .site-header{z-index:0!important}
}

/* G439 team captain roster repair -- isolated to MyPage shell. */
.komfa-g432-shell .komfa-g439-recruit{display:grid;gap:12px;min-width:0}
.komfa-g432-shell .komfa-g439-recruit label{display:grid;gap:7px;max-width:100%;font-weight:650}
.komfa-g432-shell .komfa-g439-recruit select,.komfa-g432-shell .komfa-g439-recruit input{width:100%;max-width:100%;box-sizing:border-box;min-height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:9px 12px;background:#fff;color:#17243c}
.komfa-g432-shell .komfa-g439-recruit button,.komfa-g432-shell .komfa-g439-invite button{border-radius:9px;min-height:44px;background:#14375d;color:white;border:0;padding:9px 17px;cursor:pointer;font-weight:700}
.komfa-g432-shell .komfa-g439-player-row{padding:14px;margin:10px 0;border:1px solid #dbe4ed;border-radius:11px;background:#f8fbff}
.komfa-g432-shell .komfa-g439-recruit-batch{display:grid;gap:10px;border-top:1px solid #d7e0e9;padding-top:14px}
@media(max-width:600px){.komfa-g432-shell .komfa-g439-recruit button{width:100%}.komfa-g432-shell .komfa-g439-recruit{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}}
