.header-account-stack{display:flex;flex-direction:column;flex:0 0 166px;width:166px;gap:6px;align-self:center}
.header-account-stack #account-entry,.workspace-header .header-account-stack #account-button{width:100%;height:43px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:16px;padding:0 12px;border:1px solid #c59a4580;border-radius:10px;color:#e8dfcb;font:400 12px Arial,sans-serif;background:linear-gradient(145deg,#1b1c1e,#101113);box-shadow:inset 0 1px #f1d48b0c;white-space:nowrap}
.header-account-stack #account-entry svg{width:16px;height:16px;color:#c59a45}
.header-access-chip{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:29px;padding:6px 10px;border:1px solid #c59a45a6;border-radius:8px;background:linear-gradient(115deg,#1b1914,#111212 78%);box-shadow:0 0 9px #c59a4514,inset 0 1px #ffe7ad0a;font-family:Arial,sans-serif}
.header-access-chip[hidden]{display:none}.header-access-label{display:flex;align-items:center;gap:6px;min-width:0;color:#c2b18e;font-size:11px;white-space:nowrap}.header-access-label>span{overflow:hidden;text-overflow:ellipsis}.header-access-label svg{width:12px;height:12px;flex-shrink:0;fill:none;stroke:#c59a45;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.header-access-time{color:#f1d48b;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.045em;white-space:nowrap;flex-shrink:0}.header-access-chip[data-blocked=true] .header-access-time{color:#f4a582}
@media(max-width:700px){.header-account-stack{width:132px;flex-basis:132px}.header-access-chip{gap:6px;padding-left:8px;padding-right:8px}.workspace-header .header-account-stack #account-button .account-label{display:inline}.header-account-stack #account-entry,.workspace-header .header-account-stack #account-button{gap:8px}.workspace-header .header-account-stack #account-button .app-tool-icon{display:none}.refined-header .lancelot-header-button{width:54px;flex-basis:54px}}
@media(max-width:360px){.refined-header .brand>span{display:none}.refined-header .header-actions{gap:6px}.header-account-stack{width:128px;flex-basis:128px}}
.header-access-label,.header-access-time{line-height:15px}

@media(max-width:700px){.refined-header{gap:8px}.refined-header .brand{min-width:0;gap:8px;flex:1 1 auto}.refined-header .brand>span{display:none}.refined-header .header-actions{gap:6px;flex-shrink:0}.refined-header .header-account-stack{width:132px;flex-basis:132px}}

/* Keep the product name visible above the mobile account controls. */
@media(max-width:700px){
.refined-header{height:auto;grid-template-columns:minmax(0,1fr);padding-block:14px;gap:12px}
.refined-header .brand{grid-column:1;grid-row:1;justify-self:start;gap:10px}
.refined-header .brand>span{display:block;font-size:12px;letter-spacing:.16em}
.refined-header .brand>span>span{font-size:10px;letter-spacing:.35em}
.refined-header .header-actions{grid-column:1;grid-row:2;width:100%;justify-content:flex-end;margin:0}
.refined-header .platforms{grid-column:1;grid-row:3;justify-self:start;margin:0}

}
