/* GP-DP-20260828-073 — INSTITUTIONAL COMMAND HEADER
   Terminal authority for the four-part desktop command header. The historical
   aspect-ratio query may not hide the constitutional identity of a D0/D1/D2
   environment. T1/M1 remain intentionally compact under the 063 contract. */

html[data-gp-viewport="D0"] .topbar>.profile,
html[data-gp-viewport="D1"] .topbar>.profile,
html[data-gp-viewport="D2"] .topbar>.profile{
  display:flex!important;
  align-items:center!important;
  gap:calc(10px * var(--gp-scale,1))!important;
  padding:0 calc(10px * var(--gp-scale,1))!important;
  border-left:1px solid rgba(79,174,216,.20)!important;
  background:linear-gradient(90deg,rgba(5,24,38,.10),rgba(11,31,44,.36))!important;
}
html[data-gp-viewport="D0"] .topbar>.profile>span,
html[data-gp-viewport="D1"] .topbar>.profile>span,
html[data-gp-viewport="D2"] .topbar>.profile>span{
  flex:0 0 auto!important;
  box-shadow:inset 0 0 0 4px rgba(241,198,83,.025),0 0 18px rgba(241,198,83,.08)!important;
}
html[data-gp-viewport="D0"] .topbar>.profile strong,
html[data-gp-viewport="D1"] .topbar>.profile strong,
html[data-gp-viewport="D2"] .topbar>.profile strong{color:#eef6f8!important}
html[data-gp-viewport="D0"] .topbar>.profile small,
html[data-gp-viewport="D1"] .topbar>.profile small,
html[data-gp-viewport="D2"] .topbar>.profile small{color:var(--gold)!important}

html[data-gp-viewport="D0"] .topbar>.system-status,
html[data-gp-viewport="D1"] .topbar>.system-status,
html[data-gp-viewport="D2"] .topbar>.system-status{
  display:flex!important;
  border-right:1px solid rgba(79,174,216,.24)!important;
  background:linear-gradient(90deg,transparent,rgba(6,25,38,.22))!important;
}
html[data-gp-viewport="D0"] .topbar,
html[data-gp-viewport="D1"] .topbar,
html[data-gp-viewport="D2"] .topbar{
  background:linear-gradient(180deg,rgba(3,13,22,.99),rgba(2,9,16,.94))!important;
  box-shadow:0 9px 24px rgba(0,0,0,.14)!important;
}

/* Compact contracts stay explicit and cannot inherit desktop identity. */
html[data-gp-viewport="T1"] .topbar>.profile,
html[data-gp-viewport="M1"] .topbar>.profile{display:none!important}
