/* Hub v0.231: кнопки страниц — вариант А витрины knopki/hub-stranicy.html: полосы 30 px со значком, разделы — в два столбца. */
.hub a.menu-btn.hubPg{height:30px!important;min-height:30px!important;padding:0 12px!important;gap:6px;justify-content:flex-start!important;
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%)!important;font:12px/1 system-ui,sans-serif!important;letter-spacing:0!important;
  white-space:nowrap;overflow:hidden;text-decoration:none;width:100%!important;margin:0!important}
.hub a.menu-btn.hubPg::after,.hub a.menu-btn.hubPg::before{display:none!important}
.hub a.menu-btn.hubPg.main-engine{height:40px!important;min-height:40px!important;font-size:14px!important;justify-content:center!important}
.hub .hubPgIcon{flex:none;width:15px;height:15px;fill:none;stroke:var(--hub-theme-accent,#ff9a5a);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hub .main-engine .hubPgIcon{width:18px;height:18px}
.hub .hubPgText{overflow:hidden;text-overflow:ellipsis}
.hub .mainrow{display:grid!important;grid-template-columns:1fr;gap:4px!important}
.hub .grid,.hub .row{display:grid!important;grid-template-columns:1fr 1fr;gap:4px!important}
.hub .menu-btn.sfz-btn.hubPg{grid-column:auto}
.hub .panel-title{margin-bottom:6px!important}
/* v0.232: свёрнутое меню (кнопка-ромб у логотипа) — столбик ромбов 48 px ёлочкой: значок и короткая подпись; полное имя — в подсказке */
.hub .hubPgMini{display:none}
@media(min-width:1101px){
  body.hubSidebarCollapsed .hub{left:0!important;width:72px!important;top:64px!important;padding:0 0 16px!important;gap:24px!important;transform:none!important;visibility:visible!important;pointer-events:auto!important}
  body.hubSidebarCollapsed .hub .panel-title{display:none!important}
  body.hubSidebarCollapsed .hub .mainrow,body.hubSidebarCollapsed .hub .grid,body.hubSidebarCollapsed .hub .row{display:flex!important;flex-direction:column;gap:0!important;width:auto!important}
  body.hubSidebarCollapsed .hub a.menu-btn.hubPg{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;margin:-24px 0 0 0!important;flex-direction:column;justify-content:center!important;gap:1px;
    clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)!important;font:8.5px/9px system-ui,sans-serif!important}
  /* v0.237: свёрнутое меню в Дзене прячется, как и развёрнутое (правило выше возвращало ему visibility). */
  body.hubZen.hubSidebarCollapsed .hub{visibility:hidden!important;pointer-events:none!important}
  body.hubSidebarCollapsed .hub a.menu-btn.hubPg.hubPgFirst{margin-top:0!important}
  body.hubSidebarCollapsed .hub a.menu-btn.hubPg.hubPgOdd{margin-left:24px!important}
  body.hubSidebarCollapsed .hub .hubPgText{display:none}
  body.hubSidebarCollapsed .hub .hubPgMini{display:block}
  body.hubSidebarCollapsed .hub .hubPgIcon{width:14px;height:14px}
}
/* v0.242: меню в 1,5 раза уже (188 px) — полосы плотнее, чтобы названия влезали в два столбца. */
@media(min-width:1101px){body:not(.hubSidebarCollapsed) .hub a.menu-btn.hubPg:not(.main-engine){padding:0 4px 0 8px!important;gap:4px;font-size:11px!important;letter-spacing:-.2px!important;clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%)!important}
  body:not(.hubSidebarCollapsed) .hub a.menu-btn.hubPg:not(.main-engine) .hubPgIcon{width:12px;height:12px}
  body:not(.hubSidebarCollapsed) .hub .grid,body:not(.hubSidebarCollapsed) .hub .row{gap:3px!important}}
