/* Equal side tracks keep the masthead on the viewport centre, regardless of text width. */
header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:24px}
header>.brand{grid-column:2;grid-row:1;justify-self:center}
header>nav{grid-column:1;grid-row:1;justify-self:start;gap:18px;min-width:0;white-space:nowrap}
header>.utilities{grid-column:3;grid-row:1;justify-self:end;white-space:nowrap}
header .utility-icon{display:none}
@media(max-width:1200px){
 header:not(.catalog-header)>nav{display:none}
 header:not(.catalog-header) #menu-open{display:block;position:absolute;left:4vw;top:50%;transform:translateY(-50%)}
}
@media(max-width:720px){
 header{column-gap:10px}
 header.catalog-header>nav{display:none}
 header:not(.catalog-header) #menu-open{left:5vw}
}
@media(max-width:600px){
 header .utilities{gap:12px}
 header #saved-open,header #selection-open{display:inline-flex;align-items:center;gap:5px}
 header .utility-icon{display:inline-block;width:17px;height:17px;flex-shrink:0}
 header #saved-open>span[data-i18n="saved"],header #selection-open>span[data-copy="selection"]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 header #saved-count{margin-left:0}
}

/* Selected vertical artwork; retain the utility icons from the concurrent header update. */
header>nav{left:50%;bottom:11px;top:auto;justify-self:center;gap:30px}
header>.brand{top:12px}header>.utilities{top:43px}
@media(min-width:721px) and (max-width:1200px){header:not(.catalog-header)>nav{display:flex}header:not(.catalog-header) #menu-open{display:none}}
@media(max-width:720px){header>.brand{top:14px}header>.utilities{top:24px}header>nav{display:none}header:not(.catalog-header) #menu-open{position:fixed;left:5vw;top:27px;transform:none}header #saved-open:before,header #selection-open:before{content:none}header .utility-icon{display:inline-block;width:17px;height:17px}header #saved-open>span[data-i18n="saved"],header #selection-open>span[data-copy="selection"]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
header{display:flex}header>.brand,header>nav,header>.utilities{grid-area:auto}
