/* Emergency membership access hold: screen-only, no destructive data reset. */
@media screen {
body.kenroku-membership-safety-hold #main,body.kenroku-membership-safety-hold #modal-root{visibility:hidden!important;pointer-events:none!important}
#kenroku-membership-safety-screen{position:fixed;inset:0;z-index:2147483646;background:rgba(9,18,37,.8);display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}
.kenroku-membership-safety-card{width:min(100%,510px);border-radius:18px;border:1px solid #d2ddeb;background:#fff;box-shadow:0 15px 40px rgba(3,17,38,.25);padding:clamp(18px,5vw,28px);color:#172554;line-height:1.65}
.kenroku-membership-safety-card h2{font-size:1.2rem;margin:0 0 10px}
.kenroku-membership-safety-card p{margin:10px 0;font-size:.95rem}
.kenroku-membership-safety-card button{min-height:44px;margin:12px 0 5px}
}
/* Desktop: make the account card a functional column rather than stretching
   four fields, buttons and selects over the entire content width. */
@media screen and (min-width:960px){
 body.kenroku-team-ui #main .team-config-settings>.team-config-wide:not(.team-config-trash){grid-column:auto}
 body.kenroku-team-ui #main .team-config-settings>.team-config-wide:not(.team-config-trash) .cloud-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.kenroku-team-ui #main .team-config-settings .cloud-signout-visible{min-width:108px;width:auto!important}
 body.kenroku-team-ui #main .team-config-settings .cloud-auto-actions .btn{min-width:0;max-width:100%}
}
