/* PP_CUSTOM_2026_BEGIN */

/* mobile: читабельность + горизонтальный скролл таблиц */
#app{min-height:100vh}
@media (max-width: 900px){
  html{font-size:14px}
  body{overflow-x:hidden}
  .grid-4{grid-template-columns:1fr !important}
  table{font-size:12px}
  .table-wrap,.tblwrap,.tableWrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .actions{flex-wrap:wrap}
  .actions .pill{margin:4px 6px 0 0}
}

/* скрыть language/theme (CSS) */
.actions .pill:has(#langLabel),
.actions .pill:has(#themeIconSvg),
.actions .pill:has(#themeCheckDark),
.actions .pill:has(#themeCheckLight),
.actions .pill:has(#langCheckEn),
.actions .pill:has(#langCheckRu),
.actions [data-action="lang"],
.actions [data-action="theme"]{
  display:none !important;
}

/* fallback если :has() не поддерживается */
@supports not selector(.pill:has(*)){
  .actions .pill:nth-last-child(-n+2){
    display:none !important;
  }
}

/* PP_CUSTOM_2026_END */
