/* The original stacked logo remains the default everywhere. */
.shell .topbar .brand-logo.portrait-wide{background-image:url(analytics/logo-analytics.svg);width:min(300px,calc(100vw - 24px));height:36px;background-position:left center}
.shell .footer.footer-single-center{display:grid;grid-template-columns:1fr auto 1fr;gap:0 8px}
.shell .footer.footer-single-center .footer-version{grid-column:2;text-align:center}
.shell .footer.footer-single-center .about-opener{grid-column:3;justify-self:end}
.shell .footer.footer-single-inline{display:flex;justify-content:space-between;align-items:center;gap:8px}
.shell .footer.footer-single-inline .footer-version{text-align:left;flex:none}
.shell .footer.footer-single-inline .about-opener{flex:none;margin:0}

@media(max-width:767px) and (orientation:portrait){.shell .topbar .brand-logo.portrait-wide{width:min(132px,44vw);height:16px}}
@media(min-width:768px) and (max-width:1100px) and (orientation:portrait){.shell .topbar .brand-logo.portrait-wide{width:184px;height:22px}}

.registration-count-row{display:contents}
/* Tablet header actions fill the same width as the status and filter rows. */
@media(min-width:768px) and (max-width:1024px){
 .shell .topbar .topbar-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;margin-left:0;gap:8px}
 .shell .topbar .topbar-actions .btn{width:100%;box-sizing:border-box;min-width:0;justify-content:center;padding-inline:6px;white-space:nowrap}
}
@media(max-width:640px){
 .shell #filterBar .registration-count-row{display:flex;align-items:center;justify-content:space-between;flex:1 0 100%;gap:10px;min-width:0}
 .shell #filterBar #wrapRegistration{flex:0 1 auto;min-width:0}
 .shell #filterBar #wrapRegistration .field-label{flex:none}
 .shell #filterBar #btnRegistration{min-width:80px!important;max-width:150px;flex:0 1 auto}
 .shell #filterBar #targetCount{width:auto;flex:none;margin-left:auto;white-space:nowrap}
}
