/* Inner pages have one navigation row and one compact account row. */
.app-shell:not([data-view=plan]) .app-header{
 display:grid;grid-template-columns:44px minmax(0,1fr) 44px;
 align-items:center;gap:0 8px;height:auto;min-height:0;padding:12px 22px 4px;
}
.app-shell:not([data-view=plan]) .app-header :is(.header-actions,.account-controls){display:contents}
.app-shell:not([data-view=plan]) .app-header:has(#client-space-label:not([hidden])){min-height:0}
.app-shell:not([data-view=plan]) .app-header .app-brand{
 position:static;transform:none;grid-column:2;grid-row:1;justify-self:center;
 min-width:0;white-space:nowrap;font-size:1.65rem;
}
.app-shell:not([data-view=plan]) .app-header #header-back{grid-column:1;grid-row:1;min-width:44px;min-height:44px}
.app-shell:not([data-view=plan]) .app-header #header-menu{grid-column:3;grid-row:1;justify-self:end;min-width:44px;min-height:44px}
.app-shell:not([data-view=plan]) .app-header #client-space-label{
 grid-column:1/3;grid-row:2;justify-self:start;text-align:left;
 margin:0;padding:0;font-size:10px;line-height:1.4;
}
.app-shell:not([data-view=plan]) .app-header #header-signout{
 grid-column:3;grid-row:2;justify-self:end;padding:4px 0;
 min-height:44px;font-size:12px;font-weight:400;background:none;border:0;box-shadow:none;
}
.app-shell:not([data-view=plan]) .app-header :is([data-admin-open],#header-share,#vendor-avatar,#header-menu-left){display:none}
#messages-view .screen-heading{margin:12px 0}
#messages-view .screen-heading h1{font-size:clamp(1.8rem,5vw,2.3rem);line-height:1.15;margin:0}
@media(max-width:370px){.app-shell:not([data-view=plan]) .app-header{padding-left:16px;padding-right:16px}.app-shell:not([data-view=plan]) .app-header .app-brand{font-size:1.4rem}}

.app-shell:not([data-view=plan]) .app-header #client-space-label{font-size:11px;letter-spacing:.04em;max-width:100%;overflow-wrap:anywhere;padding:5px 0}
.app-shell:not([data-view=plan]) .app-header:has(#header-signout:not([hidden])) #client-space-label{padding-right:32px;}
