/* Workbench navigation polish: shared header art, smooth transitions,
   and one-tap routes for mobile categories with one permitted page. */
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-menu-head.wb3-menu-head{
 display:flex!important;align-items:center!important;justify-content:flex-start;
 min-height:78px;padding:14px 18px!important;gap:14px!important;
 border-bottom:1px solid rgba(163,211,251,.18);
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb3-menu-head-icon{
 display:block;flex:0 0 48px;
 width:48px!important;height:48px!important;max-width:48px!important;
 padding:3px;box-sizing:border-box;
 border:1px solid rgba(168,213,254,.30);
 border-radius:10px;
 background:linear-gradient(146deg,rgba(123,185,240,.23),rgba(36,79,131,.20));
 object-fit:contain;image-rendering:pixelated;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb3-menu-head strong{
 color:#edf6ff;letter-spacing:-.35px;
 font-size:20px!important;line-height:1.18;font-weight:820!important;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-nav-chevron[hidden]{
 display:none!important;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-nav-button.wb3-direct-route{
 cursor:pointer;
}
/* Keep the real panel mounted for a brief fade/slide while closing. */
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-popover{
 transform-origin:22% 0%;
 will-change:opacity,transform;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-popover.is-opening{
 animation:wb3-popover-enter 230ms cubic-bezier(.20,.88,.25,1) both!important;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-popover.is-closing{
 pointer-events:none!important;
 animation:wb3-popover-leave 180ms cubic-bezier(.43,0,.75,.5) both!important;
}
@keyframes wb3-popover-enter{
 from{opacity:0;transform:translate3d(0,-9px,0) scale(.982);filter:blur(2px);}
 to{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0);}
}
@keyframes wb3-popover-leave{
 from{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0);}
 to{opacity:0;transform:translate3d(0,-6px,0) scale(.991);filter:blur(1px);}
}
@media(max-width:860px), (pointer:coarse) and (orientation:landscape) and (max-height:600px) and (max-width:1100px){
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-category-single{
  overflow:hidden;
  border-color:rgba(160,209,255,.26);
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-category{
  width:100%;border:0;cursor:pointer;
  text-align:left;
  background:transparent;
  transition:background-color .18s ease,box-shadow .18s ease;
  touch-action:manipulation;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-category::after{
  content:none!important;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-category:active{
  background:rgba(130,194,250,.22);
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-arrow{
  margin-left:auto;color:#b7dbf9;font-size:23px;line-height:1;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-category:focus-visible{
  outline:2px solid #a8d9ff;outline-offset:-3px;border-radius:12px;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-popover.is-opening,
 html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-popover.is-closing{
  animation:none!important;filter:none!important;will-change:auto!important;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-direct-category{
  transition:none!important;
 }
}

/* Favorites is another category, not a separate editor. The existing
   permission-scoped star buttons remove entries immediately. */
html[data-gtt-design-mode="workbench"] #wb2-shell .wb2-fav-count{
 display:none!important;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb4-favorite-row{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) 38px!important;
 align-items:center;gap:2px;
 padding-right:5px;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb4-favorite-row>.wb2-menu-item{
 min-width:0;width:100%;text-align:left;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb4-favorite-row>.wb2-menu-star{
 justify-self:center;align-self:center;
}
html[data-gtt-design-mode="workbench"] #wb2-shell .wb4-favorite-row>.wb2-menu-star.is-saved .wb2-star-art{
 opacity:1!important;filter:none!important;
}
@media(max-width:860px), (pointer:coarse) and (orientation:landscape) and (max-height:600px) and (max-width:1100px){
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-page-row,
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-category-single{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  align-items:center;
  gap:3px!important;
  min-width:0;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-page-row>.gtt-mobile-page-link,
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-category-single>.gtt-mobile-direct-category{
  min-width:0;width:100%;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-page-row>.gtt-mobile-page-link{
  width:100%!important;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star{
  display:grid;place-items:center;
  width:42px;height:44px;
  border:1px solid transparent;border-radius:10px;
  background:transparent;padding:6px;
  color:#f7cd5c;cursor:pointer;touch-action:manipulation;
  transition:background-color .16s ease,border-color .16s ease;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star:active,
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star:focus-visible{
  background:rgba(116,184,250,.19);
  border-color:rgba(180,223,255,.38);
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star-art{
  display:block;width:25px;height:26px;object-fit:contain;
  image-rendering:pixelated;opacity:.31;filter:grayscale(1);
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star.is-saved .gtt-mobile-nav-star-art{
  opacity:1;filter:none;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-category-single>.gtt-mobile-direct-category{
  grid-column:1!important;
 }
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-category-single>.gtt-mobile-nav-star{
  grid-column:2!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-gtt-design-mode="workbench"] #gtt-mobile-navigation .gtt-mobile-nav-star{
  transition:none!important;
 }
}
