.security-page .top{gap:18px;z-index:50}
.security-page .top>div:first-child{flex:0 0 auto}
.security-page .top .right{flex:0 0 auto}
.security-page .top .system-command-nav{position:static;display:flex;flex:1 1 auto;min-width:0;width:auto;max-width:1000px;margin:0;padding:0;border:0;background:transparent;backdrop-filter:none;gap:6px;justify-content:center}
.security-page .top .system-command-nav a{display:flex;align-items:center;justify-content:center;gap:6px;flex:1 0 auto;min-height:38px;padding:8px 10px;white-space:nowrap;font-size:12px}
.security-page .top .system-command-nav a small{display:none}
.security-page .top .system-command-nav a i{font-size:12px;font-style:normal}
.security-page .top .system-command-nav a strong{font-size:12px}
@media(max-width:1350px){
 .security-page .top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-bottom:10px}
 .security-page .top .system-command-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;max-width:none;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:3px}
}
@media(max-width:620px){
 .security-page .top{padding:12px;gap:10px}
 .security-page .top h1{font-size:18px}
 .security-page .top>div:first-child>span{display:none}
 .security-page .top .right{gap:8px;font-size:11px;justify-content:flex-end}
 .security-page .top .identity{display:none}
 .security-page .top .logout-button{padding:7px 9px;font-size:11px}
 .security-page .top .system-command-nav a{flex:0 0 auto;min-width:0;padding:8px 12px}
}



/* One external spacing for all System Centre cards. Compact metric grids stay unchanged. */
body.security-page main{display:flex!important;flex-direction:column;gap:24px!important}
body.security-page.system-tabs-ready main > [data-system-tab-panel].system-tab-active{display:flex!important;flex-direction:column;gap:24px!important;margin:0!important;order:0!important}
body.security-page.system-tabs-ready main > #securityHistorySection.system-tab-active{grid-template-columns:minmax(0,1fr)!important;margin:0!important}
body.security-page main > #accountSecuritySection{display:flex!important;flex-direction:column;gap:24px!important}
body.security-page main > [data-system-tab-panel] > .card{margin:0!important}
body.security-page main > #accountSecuritySection > .security-tools-grid{gap:24px!important;margin:0!important;order:0!important}
