/* Round 7 — H3 docked sidebar (>= 1280 px only). */
@media (min-width:1280px){
  html body.d87-docked #offcanvasSidebarToggle,
  html body.d87-docked #offcanvasSidebarScrim{display:none!important;pointer-events:none!important}
  html body.d87-docked #leftPagebarClickShieldV7{display:none!important;pointer-events:none!important}
  html body.d87-docked #app>aside{transform:translate3d(0,0,0)!important;visibility:visible!important;pointer-events:auto!important;transition:none!important}
  /* header: the hamburger is gone, so drop its 72 px gutter and let search take only the leftover space */
  html body.d87-docked:not(.d87-x):not([data-d87-x]) #app>main>header:has(#galaxyReturn),html body.d87-docked:not(.d87-x):not([data-d87-x]) #app>main>header{padding-left:28px!important;grid-template-columns:minmax(150px,auto) auto minmax(200px,560px) minmax(max-content,1fr)!important;column-gap:14px!important}
  html body.d87-docked:not(.d87-x):not([data-d87-x]) #app>main>header .search-wrap{min-width:0!important;max-width:560px!important;width:100%!important}
  html body.d87-docked:not(.d87-x):not([data-d87-x]) #app>main>header #searchInput{width:100%!important;min-width:0!important}
  html body.d87-docked:not(.d87-x):not([data-d87-x]) #app>main>header .header-actions{justify-self:end!important}
  /* Dashboard: keep a >=132 px sky strip right of the cards so the constellation (js/79, needs a 90 px margin) still has room */
  html body.d87-docked[data-solar-view="dashboard"] #app>main #content{max-width:min(1240px,calc(100% - 132px))!important;margin-left:max(0px,calc((100% - min(1240px,calc(100% - 132px)))/2 - 66px))!important;margin-right:auto!important}
}
/* 760–1099 px (off-canvas): the header grid had a fixed 520 px search column, so search ran under New task / New event. Let it shrink instead. */
@media (min-width:760px) and (max-width:1099px){
  html body #app>main>header,html body:not([data-solar-view="calendar"]) #app>main>header:has(#galaxyReturn){grid-template-columns:minmax(110px,auto) auto minmax(0,1fr) auto!important;column-gap:10px!important}
  html body #app>main>header .search-wrap,html body:not([data-solar-view="calendar"]) #app>main>header:has(#galaxyReturn) .search-wrap{min-width:0!important;width:100%!important;max-width:520px!important;justify-self:stretch!important}
  html body #app>main>header #searchInput{width:100%!important;min-width:0!important;box-sizing:border-box!important}
  html body #app>main>header .header-actions,html body:not([data-solar-view="calendar"]) #app>main>header:has(#galaxyReturn) .header-actions{justify-self:end!important;flex-wrap:nowrap!important;gap:6px!important}
  html body #app>main>header .header-actions>.btn{white-space:nowrap!important;padding-left:10px!important;padding-right:10px!important}
}
