body.fde-shell-body {
  min-height: 100vh;
}

.fde-main {
  min-width: 0;
}

@media (min-width: 981px) {
  body.fde-shell-body {
    height: 100vh;
    overflow: hidden;
  }

  .fde-shell {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: none !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
  }

  .fde-sidebar {
    height: 100vh;
    overflow-y: auto;
    margin: 0;
    border-radius: 0;
    border-top: none;
    border-right: 1px solid var(--line);
    border-bottom: none;
    border-left: none;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    box-shadow: none;
  }

  .fde-sidebar .brand,
  .fde-sidebar > div:first-child {
    display: grid;
    gap: 6px;
  }

  .fde-sidebar .nav-links {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }

  .fde-sidebar .nav-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
  }

  .fde-sidebar .nav-links a[aria-current="page"] {
    padding: 0 16px;
    border-radius: 16px;
  }

  .fde-sidebar .nav-links a.home-link {
    margin-top: 14px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .fde-main {
    height: 100vh;
    overflow-y: auto;
    padding: 24px;
  }
}
