/* SkrivSikkert Unified Mobile Navigation V2 -- calm redesign #2615 */

:root {
  --mn-bar-height: calc(60px + env(safe-area-inset-bottom, 0px));
}

#bb-mobile-nav,
.mn-fab-group,
.mn-more-backdrop,
.mn-more-sheet {
  display: none;
}

/* MORTENS KALD 12/7: nav-chrome er retningsfast - foelger ALDRIG html-dir (jf. #bb-sidebar). */
#bb-mobile-nav,
.mn-fab-group,
.mn-more-backdrop,
.mn-more-sheet {
  direction: ltr;
}

@media (max-width: 767px) {
  #bb-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mn-bar-height);
    padding: 4px 4px env(safe-area-inset-bottom, 0px);
    background: var(--white, #FFFEFB);
    border-top: 1px solid var(--divider, #E4DCD4);
    box-shadow: 0 -4px 20px rgba(92, 77, 67, 0.06);
    z-index: 9000;
    align-items: stretch;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }

  #bb-mobile-nav .mn-tab {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 48px;
    padding: 6px 2px 4px;
    overflow: hidden;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #7F7468;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    line-height: 12px;
    letter-spacing: 0.01em;
    text-decoration: none;
    position: relative;
    transition: color 0.15s ease, background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  #bb-mobile-nav button.mn-tab {
    appearance: none;
  }

  #bb-mobile-nav .mn-tab-label {
    color: #9A8E82;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    line-height: 12px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  #bb-mobile-nav .mn-tab.is-active {
    color: #4A7A68;
  }

  #bb-mobile-nav .mn-tab.is-active .mn-tab-label {
    color: #4A7A68;
    font-weight: var(--font-weight-semibold);
  }

  #bb-mobile-nav .mn-tab.is-active .mn-tab-icon {
    color: #4A7A68;
  }

  #bb-mobile-nav .mn-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 28px;
  }

  #bb-mobile-nav .mn-tab-icon svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  #bb-mobile-nav .mn-icon-f {
    display: none;
  }

  #bb-mobile-nav .mn-icon-o {
    display: block;
  }

  #bb-mobile-nav .mn-tab.is-active .mn-icon-f {
    display: block;
  }

  #bb-mobile-nav .mn-tab.is-active .mn-icon-o {
    display: none;
  }

  #bb-mobile-nav .mn-tab:focus-visible {
    outline: 2px solid #6E8A7E;
    outline-offset: -2px;
  }

  #bb-mobile-nav .mn-tab:active {
    background: rgba(92, 77, 67, 0.05);
  }

  #bb-mobile-nav .mn-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 20px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--rose-dark, #9B6050);
    color: var(--white, #FFFEFB);
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 18px;
    text-align: center;
    pointer-events: none;
  }

  /* #2956: Email and Opgaver show the same calm green presence dot as the desktop
     sidebar (no number, no red, no animation). */
  #bb-mobile-nav .mn-badge[data-mn-badge="email"] {
    top: 6px;
    right: calc(50% - 17px);
    min-width: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #5f8d70;
    border: 2px solid var(--white, #FFFEFB);
    box-shadow: 0 1px 1.5px rgba(58, 47, 38, 0.22);
    box-sizing: border-box;
    pointer-events: none;
    font-size: 0;
    line-height: 0;
    color: transparent;
  }

  #bb-mobile-nav .mn-badge[data-mn-badge="opgaver"] {
    top: 6px;
    right: calc(50% - 17px);
    min-width: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #5f8d70;
    border: 2px solid var(--white, #FFFEFB);
    box-shadow: 0 1px 1.5px rgba(58, 47, 38, 0.22);
    box-sizing: border-box;
    pointer-events: none;
    font-size: 0;
    line-height: 0;
    color: transparent;
  }

  #bb-mobile-nav .mn-badge[hidden] {
    display: none;
  }

  .mn-fab-group {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 16px;
    z-index: 9050;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mn-fab-group.is-hidden {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
  }

  body.has-mn-more-open .mn-fab-group {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
  }

  .mn-fab {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Kompakt FAB (Morten 9/7: 52px-pillen aad for meget mobilskaerm;
       label samtidig 'Skriv ny' -> 'Skriv' i bb-mobile-nav.php + katalogerne). */
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 22px;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--white, #FFFEFB);
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .mn-fab:active {
    transform: scale(0.95);
  }

  .mn-fab:focus-visible {
    outline: none;
  }

  .mn-fab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .mn-fab-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 22px;
    background: var(--white, #FFFEFB);
    color: var(--warm-text, #5C4D43);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(92, 77, 67, 0.12), 0 8px 24px rgba(92, 77, 67, 0.06);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .mn-fab-mini:active {
    transform: scale(0.92);
  }

  .mn-fab-mini:focus-visible {
    outline: none;
  }

  [data-mn-accent="rose"] .mn-fab {
    background: var(--rose-dark, #9B6050);
    box-shadow: 0 4px 12px rgba(155, 96, 80, 0.35), 0 8px 24px rgba(155, 96, 80, 0.15);
  }

  [data-mn-accent="sage"] .mn-fab {
    background: var(--sage-dark, #4A7A68);
    box-shadow: 0 4px 12px rgba(74, 122, 104, 0.35), 0 8px 24px rgba(74, 122, 104, 0.15);
  }

  [data-mn-accent="slate"] .mn-fab {
    background: var(--slate-dark, #4E5370);
    box-shadow: 0 4px 12px rgba(78, 83, 112, 0.35), 0 8px 24px rgba(78, 83, 112, 0.15);
  }

  .mn-more-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(32, 27, 24, 0.18);
    z-index: 9001;
  }

  .mn-more-backdrop[hidden],
  .mn-more-sheet[hidden] {
    display: none;
  }

  .mn-more-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(var(--mn-bar-height) + 8px);
    padding: 0;
    max-height: min(76vh, 560px);
    overflow: hidden;
    overscroll-behavior: contain;
    border: 1px solid var(--divider, #E4DCD4);
    border-radius: 18px;
    background: var(--white, #FFFEFB);
    box-shadow: 0 8px 32px rgba(92, 77, 67, 0.16);
    z-index: 9002;
  }

  .mn-more-handle {
    width: 34px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: #E4DCD4;
  }

  .mn-more-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 44px;
    padding: 4px 4px 0;
    flex-shrink: 0;
  }

  .mn-more-title {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    color: inherit;
    margin: 0;
  }

  [data-mn-view="main"] ~ .mn-more-header .mn-more-title,
  .mn-more-body[data-mn-view="main"] ~ .mn-more-header .mn-more-title {
    /* Title is sr-only in main view */
  }

  .mn-more-back,
  .mn-more-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--warm-text, #5C4D43);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mn-more-back[hidden] {
    visibility: hidden;
  }

  .mn-more-close svg,
  .mn-more-back svg {
    width: 20px;
    height: 20px;
  }

  .mn-more-back:focus-visible,
  .mn-more-close:focus-visible {
    outline: none;
    background: rgba(92, 77, 67, 0.06);
    text-decoration: underline;
  }

  .mn-more-body {
    display: flex;
    flex-direction: column;
    padding: 0 12px 12px;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
  }

  .mn-more-body[hidden] {
    display: none;
  }

  .mn-more-sep {
    height: 1px;
    margin: 6px 0;
    background: var(--divider, #E4DCD4);
  }

  .mn-more-lang {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 4px 12px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
  }

  .mn-more-lang[hidden] {
    display: none;
  }

  .mn-more-lang .mn-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--warm-text, #5C4D43);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: start;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mn-more-lang .mn-lang-option img {
    width: 21px;
    height: 15px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  .mn-more-lang .mn-lang-option[aria-checked="true"],
  .mn-more-lang .mn-lang-option[aria-selected="true"] {
    background: rgba(228, 237, 230, 0.6);
    color: #4A7A68;
    font-weight: 600;
  }

  .mn-more-lang .mn-lang-option:focus-visible {
    outline: none;
    background: rgba(92, 77, 67, 0.06);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .mn-theme-switch {
    position: relative;
    margin-left: auto;
    width: 36px;
    height: 22px;
    border-radius: 14px;
    background: #767c73;
    flex-shrink: 0;
  }

  .mn-theme-switch::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fffdf9;
    transition: left 0.15s ease;
  }

  [data-theme="dark"] .mn-theme-switch::after {
    left: 16px;
  }

  .mn-lang-arrow {
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
    flex-shrink: 0;
  }

  .mn-more-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 12px 12px;
    border-radius: 12px;
    background: transparent;
    color: #5C4D43;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .mn-more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    color: #7F7468;
    flex-shrink: 0;
  }

  .mn-more-icon svg {
    width: 22px;
    height: 22px;
  }

  .mn-more-link > span:not(.mn-more-icon) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mn-more-link.is-active {
    background: transparent;
    color: #4A7A68;
  }

  .mn-more-link.is-active .mn-more-icon {
    color: #4A7A68;
  }

  .mn-more-link:hover,
  .mn-more-link:active {
    background: rgba(92, 77, 67, 0.06);
  }

  .mn-more-logout {
    order: 99;
    margin-top: 14px;
    padding: 14px 12px;
    border-top: 1px solid #E4DCD4;
    border-radius: 0 0 12px 12px;
    color: #5C4D43;
  }

  .mn-more-logout .mn-more-icon {
    color: #7F7468;
    background: transparent;
  }

  .mn-more-logout:hover,
  .mn-more-logout:active {
    background: rgba(166, 89, 75, 0.06);
    color: #A6594B;
  }

  .mn-more-logout:hover .mn-more-icon,
  .mn-more-logout:active .mn-more-icon {
    color: #A6594B;
  }

  .mn-more-link:focus-visible {
    outline: 2px solid #6E8A7E;
    outline-offset: -2px;
  }

  body.has-mn-bar .main,
  body.has-mn-bar .main-content {
    padding-bottom: calc(var(--mn-bar-height) + 16px);
    scroll-padding-bottom: calc(var(--mn-bar-height) + 16px);
  }

  [data-theme="dark"] #bb-mobile-nav {
    background: rgba(32, 27, 24, 0.97);
    border-top-color: rgba(232, 224, 216, 0.06);
    box-shadow: 0 -4px 20px rgba(18, 16, 14, 0.4);
  }

  [data-theme="dark"] #bb-mobile-nav .mn-tab {
    color: rgba(232, 221, 212, 0.5);
  }

  [data-theme="dark"] #bb-mobile-nav .mn-tab-label {
    color: rgba(232, 221, 212, 0.5);
  }

  [data-theme="dark"] #bb-mobile-nav .mn-tab.is-active,
  [data-theme="dark"] #bb-mobile-nav .mn-tab.is-active .mn-tab-label,
  [data-theme="dark"] #bb-mobile-nav .mn-tab.is-active .mn-tab-icon {
    color: #8FBFAD;
  }

  [data-theme="dark"] #bb-mobile-nav .mn-tab:active {
    background: rgba(232, 221, 212, 0.06);
  }

  [data-theme="dark"] #bb-mobile-nav .mn-tab:focus-visible {
    outline-color: #8FBFAD;
  }

  [data-theme="dark"] #bb-mobile-nav .mn-badge {
    background: var(--rose-dark, #9B6050);
    color: #FFFEFB;
  }

  /* #2956: keep the Email presence dot calm green in dark mode and match the dark
     nav bar surface for the separator ring. */
  [data-theme="dark"] #bb-mobile-nav .mn-badge[data-mn-badge="email"] {
    background: #5f8d70;
    border-color: rgba(32, 27, 24, 0.97);
  }

  [data-theme="dark"] #bb-mobile-nav .mn-badge[data-mn-badge="opgaver"] {
    background: #5f8d70;
    border-color: rgba(32, 27, 24, 0.97);
  }

  [data-theme="dark"] .mn-fab-mini {
    background: rgba(42, 38, 34, 0.95);
    color: #E8DDD4;
    box-shadow: 0 2px 8px rgba(18, 16, 14, 0.3), 0 8px 24px rgba(18, 16, 14, 0.2);
  }

  [data-theme="dark"] .mn-more-backdrop {
    background: rgba(18, 16, 14, 0.46);
  }

  [data-theme="dark"] .mn-more-sheet {
    border-color: rgba(232, 224, 216, 0.08);
    background: #201B18;
    box-shadow: 0 8px 32px rgba(18, 16, 14, 0.48);
  }

  [data-theme="dark"] .mn-more-handle {
    background: rgba(232, 221, 212, 0.18);
  }

  [data-theme="dark"] .mn-more-header {
    color: #E8DDD4;
  }

  [data-theme="dark"] .mn-more-back,
  [data-theme="dark"] .mn-more-close {
    color: #E8DDD4;
  }

  [data-theme="dark"] .mn-more-back:focus-visible,
  [data-theme="dark"] .mn-more-close:focus-visible {
    background: rgba(232, 221, 212, 0.06);
  }

  [data-theme="dark"] .mn-more-sep {
    background: rgba(232, 224, 216, 0.08);
  }

  [data-theme="dark"] .mn-more-lang .mn-lang-option {
    color: #E8DDD4;
  }

  [data-theme="dark"] .mn-more-lang .mn-lang-option:focus-visible {
    background: rgba(232, 221, 212, 0.06);
  }

  [data-theme="dark"] .mn-more-lang .mn-lang-option[aria-checked="true"],
  [data-theme="dark"] .mn-more-lang .mn-lang-option[aria-selected="true"] {
    background: rgba(143, 191, 173, 0.15);
    color: #8FBFAD;
  }

  [data-theme="dark"] .mn-theme-switch {
    background: #8FBFAD;
  }

  [data-theme="dark"] .mn-more-link {
    color: #E8DDD4;
  }

  [data-theme="dark"] .mn-more-icon {
    color: rgba(232, 221, 212, 0.6);
  }

  [data-theme="dark"] .mn-more-link.is-active {
    background: transparent;
    color: #8FBFAD;
  }

  [data-theme="dark"] .mn-more-link.is-active .mn-more-icon {
    color: #8FBFAD;
  }

  [data-theme="dark"] .mn-more-link:hover,
  [data-theme="dark"] .mn-more-link:active {
    background: rgba(232, 221, 212, 0.06);
  }

  [data-theme="dark"] .mn-more-logout {
    color: #E8DDD4;
    border-top-color: rgba(232, 224, 216, 0.08);
  }

  [data-theme="dark"] .mn-more-logout .mn-more-icon {
    color: rgba(232, 221, 212, 0.6);
  }

  [data-theme="dark"] .mn-more-logout:hover,
  [data-theme="dark"] .mn-more-logout:active {
    background: rgba(212, 168, 154, 0.1);
    color: #F1C6B9;
  }

  [data-theme="dark"] .mn-more-logout:hover .mn-more-icon,
  [data-theme="dark"] .mn-more-logout:active .mn-more-icon {
    color: #F1C6B9;
  }

  [data-theme="dark"] .mn-more-link:focus-visible {
    outline-color: #8FBFAD;
  }

  @media (orientation: landscape) and (max-height: 500px) {
    :root {
      --mn-bar-height: calc(44px + env(safe-area-inset-bottom, 0px));
    }

    #bb-mobile-nav {
      height: var(--mn-bar-height);
      padding: 2px 4px env(safe-area-inset-bottom, 0px);
    }

    #bb-mobile-nav .mn-tab {
      flex-direction: row;
      gap: 6px;
      padding: 4px 8px;
    }

    #bb-mobile-nav .mn-tab-label {
      font-size: var(--font-size-xs);
    }

    #bb-mobile-nav .mn-tab-icon {
      height: 24px;
    }

    #bb-mobile-nav .mn-tab-icon svg {
      width: 20px;
      height: 20px;
    }

    .mn-fab-group {
      bottom: calc(52px + env(safe-area-inset-bottom, 0px));
    }

    .mn-fab {
      height: 44px;
      padding: 0 16px;
      font-size: var(--font-size-sm);
    }

    /* BDA exception: landscape is temporary and aria-label preserves action text. */
    .mn-fab-label {
      display: none;
    }

    .mn-fab-mini {
      width: 44px;
      height: 44px;
    }

    .mn-more-sheet {
      left: 8px;
      right: 8px;
      bottom: calc(var(--mn-bar-height) + 6px);
      padding: 6px;
      border-radius: 16px;
    }

    .mn-more-handle {
      display: none;
    }

    .mn-more-link {
      min-height: 44px;
      padding: 6px;
      gap: 6px;
      font-size: var(--font-size-xs);
    }

    .mn-more-logout {
      grid-column: 1 / -1;
    }

    .mn-more-icon {
      width: 24px;
      height: 24px;
    }

    .mn-more-icon svg {
      width: 19px;
      height: 19px;
    }

    body.has-mn-bar .main,
    body.has-mn-bar .main-content {
      padding-bottom: calc(var(--mn-bar-height) + 12px);
      scroll-padding-bottom: calc(var(--mn-bar-height) + 12px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #bb-mobile-nav .mn-tab,
    .mn-fab,
    .mn-fab-mini,
    .mn-fab-group,
    .mn-more-link,
    .mn-more-sheet,
    .mn-more-backdrop,
    .mn-theme-switch::after {
      transition: none !important;
    }
  }
}

@media (min-width: 768px) {
  #bb-mobile-nav,
  .mn-fab-group,
  .mn-more-backdrop,
  .mn-more-sheet {
    display: none !important;
  }
}

button.mn-more-link {
  width: 100%;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: start;
  -webkit-appearance: none;
}

button.mn-more-link.mn-more-logout {
  border-top: 1px solid #E4DCD4;
}

[data-theme="dark"] button.mn-more-link.mn-more-logout {
  border-top-color: rgba(232, 224, 216, 0.08);
}

@media print {
  #bb-mobile-nav,
  .mn-fab-group,
  .mn-more-backdrop,
  .mn-more-sheet {
    display: none !important;
  }
}

/* #6370 final calm menu, shared with the desktop popup. */
@media(max-width:767px) {
 #bb-mobile-nav,#bb-mobile-more-sheet {direction:ltr}
 #bb-mobile-more-sheet {
  font-family:'BB Sidebar Inter',Inter,system-ui,sans-serif !important;
  font-size:15px; font-weight:400; line-height:22px;
  background:#fffefb !important;color:#3a2f26 !important;border:1px solid #e4dcd4 !important;
  max-height:calc(100dvh - var(--mn-bar-height) - 24px);
  box-shadow:0 12px 32px rgba(58,47,38,.12) !important;
 }
 #bb-mobile-more-sheet .mn-more-header {padding:4px 12px 0;grid-template-columns:44px minmax(0,1fr) 44px;gap:0}
 #bb-mobile-more-sheet .mn-more-settings {grid-column:1/3;grid-row:1;min-width:0}
 #bb-mobile-more-sheet .mn-more-close {grid-column:3;grid-row:1}
 #bb-mobile-more-sheet .mn-more-back {grid-column:1;grid-row:1}
 #bb-mobile-more-sheet .mn-more-title {grid-column:2;grid-row:1;font:500 15px/22px 'BB Sidebar Inter',Inter,system-ui,sans-serif;color:inherit}
 #bb-mobile-more-sheet[data-view="main"] .mn-more-back,
 #bb-mobile-more-sheet[data-view="main"] .mn-more-title {display:none}
 #bb-mobile-more-sheet[data-view="lang"] .mn-more-settings {display:none}
 #bb-mobile-more-sheet .mn-more-body,#bb-mobile-more-sheet .mn-more-lang {padding:0 12px 8px;min-height:0;overflow-y:auto;flex:1 1 auto}
 #bb-mobile-more-sheet .mn-more-lang {padding-top:4px}
 #bb-mobile-more-sheet .mn-more-link {
  font:400 15px/22px 'BB Sidebar Inter',Inter,system-ui,sans-serif !important;
  min-height:48px;padding:12px 10px;gap:12px;box-sizing:border-box;
  color:inherit !important;background:transparent;border:0;margin:0;border-radius:10px;flex-shrink:0;text-align:left;
 }
 #bb-mobile-more-sheet .mn-more-link span {font-weight:400 !important}
 #bb-mobile-more-sheet .mn-more-icon {width:16px;height:16px;flex:0 0 16px;color:#857769 !important}
 #bb-mobile-more-sheet .mn-more-icon svg {width:16px;height:16px;stroke-width:1.6}
 #bb-mobile-more-sheet .mn-more-sep {height:0;min-height:0;border:0;border-top:1px solid #e4dcd4;margin:8px 10px;flex-shrink:0}
 #bb-mobile-more-sheet .mn-more-logout {border-top:0;padding-top:12px}
 #bb-mobile-more-sheet .mn-theme-switch {width:34px;height:20px;flex:0 0 34px;margin-left:auto;background:#dcd8d2 !important;border:0;box-shadow:none}
 #bb-mobile-more-sheet .mn-theme-switch::after {width:16px;height:16px;top:2px;left:2px;transform:none !important;background:#fff}
 #bb-mobile-more-sheet [aria-checked="true"] .mn-theme-switch {background:#5f7f70 !important}
 #bb-mobile-more-sheet [aria-checked="true"] .mn-theme-switch::after {transform:translateX(14px) !important}
 #bb-mobile-more-sheet .mn-more-link:hover,#bb-mobile-more-sheet .mn-more-link:focus-visible {background:#eef3ef !important}
 #bb-mobile-more-sheet .mn-more-back:focus-visible,#bb-mobile-more-sheet .mn-more-close:focus-visible {background:#e3ede7 !important;outline:none !important}
 #bb-mobile-more-sheet .mn-lang-option {font:400 15px/22px 'BB Sidebar Inter',Inter,system-ui,sans-serif;min-height:48px;flex-shrink:0}
 #bb-mobile-more-sheet .mn-lang-option[aria-selected="true"] {background:#e5eee9;color:#376a59;font-weight:500}
 #bb-mobile-more-sheet .mn-lang-option[aria-selected="true"]::after {content:'✓';margin-left:auto;color:#376a59}
 #bb-mobile-more-sheet .mn-lang-option[lang="ar"] span {unicode-bidi:isolate;direction:rtl}
 html[data-theme="dark"] #bb-mobile-more-sheet {background:#34312c !important;color:#eee9df !important;border-color:#655e54 !important;box-shadow:0 12px 32px rgba(0,0,0,.25) !important}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-header {border:0}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-icon {color:#bfb2a4 !important}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-sep {border-color:#655e54}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-link:hover,html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-link:focus-visible {background:#45413a !important}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-lang-option {color:#eee9df}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-lang-option[aria-selected="true"] {background:#3f5749;color:#e0efe5}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-lang-option[aria-selected="true"]::after {color:#e0efe5}
 html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-back:focus-visible,html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-close:focus-visible {background:#45413a !important}
}
