/* Korovka v146: desktop selection + mobile typography/icon system.
   No changes to v138 scrolling, sticky/fixed positioning or nav event handlers. */
@media (min-width:769px) {
  /* Override native stale rail-active and v145 data-k145-current equally. */
  .rail .rail-sections > button:not([data-k146-active]) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #bac9dc !important;
    font-weight: 620 !important;
  }
  .rail .rail-sections > button[data-k146-active] {
    color: #fff !important;
    background: #26549b !important;
    border-color: #4779c7 !important;
    box-shadow: inset 3px 0 0 #9ac0ff !important;
    font-weight: 700 !important;
  }
  .rail .rail-sections > button:not([data-k146-active]):hover {
    color: #fff !important;
    background: #1a3455 !important;
  }
  .rail .rail-sections > button svg {width:20px!important;height:20px!important;flex:0 0 20px!important;stroke-width:1.85!important}
  .rail .rail-sections > button {font-size:12.5px!important;line-height:1.35!important}
}
@media (max-width:768px) {
  /* Normalise only the inner appearance of the existing fixed-shell bar.
     Never override its positioning, transform, height or parent scrolling. */
  .mobile-bottom-nav > button {
    font-family:inherit!important;
    font-size:11px!important;
    font-weight:650!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    text-align:center!important;
    min-width:0!important;
    gap:5px!important;
  }
  .mobile-bottom-nav > button svg {
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    stroke-width:1.85!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    fill:none!important;
  }
  .mobile-bottom-nav > button > span,
  .mobile-bottom-nav > button .k69-nav-label {
    font-family:inherit!important;
    font-size:11px!important;
    font-weight:650!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    text-align:center!important;
  }
  /* Normalise the expanded "Меню" sheet, including injected finance/shops. */
  .mobile-more-sheet .mobile-more-body > button,
  .workspace-more-sheet .mobile-more-body > button {
    display:flex!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-height:48px!important;
    margin:5px 0!important;
    padding:11px 13px!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    text-align:left!important;
    font-family:inherit!important;
    font-size:14px!important;
    font-weight:650!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    color:#233b57!important;
    border:1px solid #dce6f2!important;
    border-radius:11px!important;
    background:#f6f9fd!important;
    box-shadow:none!important;
  }
  .mobile-more-sheet .mobile-more-body > button svg,
  .workspace-more-sheet .mobile-more-body > button svg {
    display:block!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    flex:0 0 20px!important;
    stroke:currentColor!important;
    stroke-width:1.85!important;
  }
  .mobile-more-sheet .mobile-more-body > button:active,
  .workspace-more-sheet .mobile-more-body > button:active {background:#e4edfa!important}
  .mobile-more-sheet .mobile-more-body > button:focus-visible,
  .workspace-more-sheet .mobile-more-body > button:focus-visible,
  .mobile-bottom-nav > button:focus-visible {outline:2px solid #5083c9!important;outline-offset:-2px!important}
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav > button,.rail .rail-sections > button {transition:none!important}
}
