/* Wide screens: one header row (header-row.js moves the tabs bar into the header and adds html.one-row).
   Grid columns (start to end): menu · brand · center (tabs, picker, star, report) · (empty) · account.
   Menu and account are 44px (a guest label may be a little wider), so the center group sits in the middle of the screen while there is room. */
@media(min-width:1280px){
 html.one-row{--bars-top:64px}
 html.one-row header{display:grid!important;grid-template-columns:44px minmax(max-content,1fr) auto minmax(max-content,1fr) minmax(44px,max-content);align-items:center;column-gap:8px;height:64px!important;padding-block:0!important;border-bottom:1px solid var(--line)!important}
 html.one-row header>*{grid-row:1;order:0!important;margin:0!important}
 html.one-row header #openMenu{grid-column:1}
 html.one-row header>div{grid-column:2;justify-self:start;min-width:max-content}
 html.one-row header>.view-tabs{grid-column:3;position:static!important;top:auto!important;display:flex!important;align-items:center;gap:4px!important;min-height:0!important;height:64px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;z-index:auto}
 html.one-row header>.view-tabs>button:not(#new){height:64px!important;min-height:64px!important}
 html.one-row header #headerAccount{grid-column:5;justify-self:end}
 html.one-row header>.view-tabs #spot{margin-inline-start:12px!important;padding-inline-start:16px!important;border-inline-start:1px solid var(--line)!important;height:40px}
 html.one-row header>.view-tabs #spot .forecast-beach-picker{width:var(--picker-w,320px)!important;min-width:0!important;flex:none!important}
 html.one-row header>.view-tabs #new{order:1;margin-inline-start:8px!important}
 html.one-row header .picker-label small:not([hidden]){display:inline}
}
/* Medium-wide screens: the "דיווחי גלים" tagline steps aside so the row is not crowded. */
@media(min-width:1280px) and (max-width:1519px){html.one-row header .brand-sub{display:none}}
/* Two-row wide screens too: the picker is as wide as the longest beach name and area, shrinking only if the row runs out of room. */
@media(min-width:901px){html:not(.one-row) .view-tabs #spot .forecast-beach-picker{width:var(--picker-w,auto);flex:0 1 auto!important}}
