@media (min-width: 721px) and (max-width: 850px) {
  .shell {
    display: block;
  }

  .sidebar {
    height: auto;
    min-height: 0;
    position: sticky;
    top: 0;
    padding: 0 12px 8px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    padding: 7px 3px 8px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .brandmark {
    width: 40px;
    height: 40px;
  }

  .brand b {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .navtitle,
  .sidefoot {
    display: none;
  }

  .nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav button {
    gap: 7px;
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav .ico {
    width: 20px;
    height: 20px;
  }

  .topbar {
    height: auto;
    min-height: 64px;
    gap: 12px;
    padding: 8px 18px;
  }

  .topbar > div:first-child,
  .top-actions {
    min-width: 0;
  }

  .top-actions {
    gap: 6px;
  }

  .support-contact {
    gap: 4px;
  }

  .support-contact strong,
  .support-contact .support-email-text {
    display: none;
  }

  .support-contact a {
    padding: 6px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .top-actions {
    gap: 4px;
  }

  .support-contact {
    gap: 3px;
  }

  .support-contact .support-email,
  .network > span {
    display: none;
  }

  .network {
    padding: 6px;
  }
}

.access-share {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 8px 4px;
}

.access-share summary {
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.access-share-content {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 10px;
}

.access-qr {
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: #27342c;
  font-size: 12px;
}

.access-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.access-share-info {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.access-share-info a {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 11px;
  text-decoration: none;
}

.access-share-info small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (min-width: 721px) and (max-width: 850px) {
  .access-share-content {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
  }

  .access-qr {
    width: 96px;
    flex: 0 0 96px;
  }

  .access-share-info {
    justify-items: start;
    text-align: right;
  }
}

@media (max-width: 720px) {
  .access-share {
    margin-top: 6px;
    padding: 8px 3px 2px;
  }

  .access-share-content {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .access-qr {
    width: 76px;
    flex: 0 0 76px;
  }

  .access-share-info {
    justify-items: start;
    text-align: right;
  }
}

@media (max-width: 380px) {
  .access-qr {
    width: 84px;
    flex-basis: 84px;
  }
}
