/* Personal-space utility routes only: Settings and Homepage Management.
   This is deliberately isolated from the regular space/profile pages. */
body.cid-space-utility #ct,
body.cid-space-utility #wp { box-sizing:border-box!important; width:min(1040px,calc(100% - 32px))!important; min-width:0!important; margin-left:auto!important; margin-right:auto!important; }
body.cid-space-utility #ct,
body.cid-space-utility #ct.ct1,
body.cid-space-utility #ct.ct2,
body.cid-space-utility #ct.ct2_a { display:grid!important; grid-template-columns:260px minmax(0,1fr)!important; gap:22px!important; align-items:start!important; }
body.cid-space-utility #ct>.appl { display:block!important; grid-column:1!important; grid-row:1 / span 50!important; align-self:start!important; box-sizing:border-box!important; width:260px!important; min-width:0!important; margin:0!important; }
body.cid-space-utility #ct>.mn,
body.cid-space-utility #ct>.sd { display:block!important; grid-column:2!important; grid-row:auto!important; align-self:start!important; box-sizing:border-box!important; width:auto!important; min-width:0!important; margin:0!important; }
body.cid-space-utility #ct .bm,
body.cid-space-utility #ct .block { box-sizing:border-box!important; width:100%!important; min-width:0!important; height:auto!important; max-height:none!important; overflow:visible!important; }
body.cid-space-utility #ct .bm_c,
body.cid-space-utility #ct .dxb_bc { box-sizing:border-box!important; width:100%!important; min-width:0!important; height:auto!important; min-height:0!important; max-height:none!important; padding:16px!important; overflow:visible!important; }
body.cid-space-utility #ct .appl li { box-sizing:border-box!important; min-height:34px!important; margin:0!important; padding:5px 2px!important; overflow:visible!important; }
body.cid-space-utility #ct .appl li a { display:block!important; min-height:24px!important; padding:1px 0!important; font:400 14px/24px "Microsoft YaHei",Arial,sans-serif!important; white-space:normal!important; overflow:visible!important; word-break:normal!important; }
body.cid-space-utility .tbmu,
body.cid-space-utility .tb,
body.cid-space-utility .bm_h { height:auto!important; min-height:38px!important; }
body.cid-space-utility .tb a,
body.cid-space-utility .tb .a a { white-space:nowrap!important; }
/* X5 settings uses a normal #ct.wp container (without ct1/ct2 classes).
   Prevent its stock float widths from dropping the left rail below content. */
body.cid-space-utility #ct>.appl,
body.cid-space-utility #ct>.mn,
body.cid-space-utility #ct>.sd { float:none!important; clear:none!important; }
body.cid-space-utility #ct .rfm { box-sizing:border-box!important; width:100%!important; min-width:0!important; }
body.cid-space-utility #ct .rfm th { box-sizing:border-box!important; width:145px!important; min-width:145px!important; padding-right:12px!important; white-space:nowrap!important; word-break:keep-all!important; }
body.cid-space-utility #ct .rfm td { min-width:0!important; white-space:normal!important; }
body.cid-space-utility #ct input[name="username"],
body.cid-space-utility #ct input[name="usernamenew"],
body.cid-space-utility #ct input[name="usernameold"] { box-sizing:border-box!important; width:min(360px,100%)!important; min-width:0!important; white-space:nowrap!important; }
@media(max-width:820px){
 body.cid-space-utility #ct.ct1,body.cid-space-utility #ct.ct2,body.cid-space-utility #ct.ct2_a{display:block!important}
 body.cid-space-utility #ct>.appl,body.cid-space-utility #ct>.mn,body.cid-space-utility #ct>.sd{width:100%!important;margin-bottom:14px!important}
}
