header.site .site-header-link,
header.site .site-header-actions .btn,
header.site .site-header-actions .chip {
  white-space: nowrap;
}

header.site .site-header-actions {
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  header.site {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
  }

  header.site .site-header-top {
    width: calc(100% - 24px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "nav";
    gap: 8px;
    align-items: center;
    justify-content: stretch;
    position: relative;
    padding: 8px 0 10px;
  }

  header.site .site-header-brand {
    grid-area: brand;
    min-width: 0;
    padding-right: 150px;
  }

  header.site .site-header-brand a {
    min-width: 0;
  }

  header.site .site-header-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
  }

  header.site .site-header-right {
    display: contents;
  }

  header.site .site-header-actions {
    position: absolute;
    top: 8px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 148px;
  }

  header.site .site-header-actions .btn {
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
  }

  header.site .site-header-user-meta,
  header.site .site-header-logout {
    display: none;
  }

  header.site .site-header-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 1px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  header.site .site-header-nav::-webkit-scrollbar {
    display: none;
  }

  header.site .site-header-nav a {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  header.site .site-header-nav a.aktif {
    background: #e7f7ec;
    color: #026b02;
  }
}

@media (max-width: 374.98px) {
  header.site .site-header-top {
    width: calc(100% - 20px);
    gap: 8px 8px;
  }

  header.site .site-header-brand span {
    font-size: 16px;
  }

  header.site .site-header-actions .btn {
    padding: 7px 9px;
    font-size: 12px;
  }

  header.site .site-header-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }
}
