.license-shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
}

.license-page { min-width: 0; }

.license-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 28px 20px 22px;
  color: #dce8ef;
  background: #12304a;
  box-shadow: 8px 0 30px rgba(12, 35, 53, .08);
  z-index: 20;
}

.license-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(5, 23, 36, .16);
}

.license-logo-full { display: block; width: 181px; height: 47px; object-fit: contain; }
.license-logo-small { display: none; width: 48px; height: 47px; object-fit: contain; }
.license-nav {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 52px;
  -ms-overflow-style: none;
  overflow-y: auto;
  scrollbar-width: none;
}

.license-nav::-webkit-scrollbar { display: none; }
.license-nav-label { margin: 0 12px 10px; color: #94aaba; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; }
.license-nav-label-spaced { margin-top: 34px; }

.license-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 10px;
  color: #bed0dc;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.license-nav-item + .license-nav-item { margin-top: 4px; }
.license-nav-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.license-nav-item:hover { color: #fff; background: rgba(255, 255, 255, .07); transform: translateX(2px); }
.license-nav-item.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.license-nav-item.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: #6bd0c0; }

.license-sidebar-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 16px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.license-private-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #c9fff5;
  background: rgba(65, 187, 166, .2);
  font-size: 12px;
  font-weight: 900;
}

.license-sidebar-foot p { margin: 0; color: #8fa7b7; font-size: 11px; line-height: 1.55; }
.license-sidebar-foot strong { color: #c5d5df; font-size: 12px; }

.license-nav-item:focus-visible,
.license-brand:focus-visible { outline: 3px solid #e49b36; outline-offset: 3px; }

@media (max-width: 980px) {
  .license-shell { grid-template-columns: 84px minmax(0, 1fr); }
  .license-sidebar { padding: 24px 14px 20px; }
  .license-brand { width: 52px; min-height: 52px; padding: 2px; }
  .license-logo-full { display: none; }
  .license-logo-small { display: block; width: 45px; height: 44px; }
  .license-nav { margin-top: 42px; }
  .license-nav-label, .license-nav-item span, .license-sidebar-foot p { display: none; }
  .license-nav-item { justify-content: center; padding: 0; }
  .license-sidebar-foot { justify-content: center; padding: 16px 0 0; }
}

@media (max-width: 680px) {
  .license-shell { display: block; }
  .license-sidebar {
    position: static;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 12px 16px;
  }
  .license-brand { width: 40px; min-height: 40px; border-radius: 10px; }
  .license-logo-small { width: 36px; height: 35px; }
  .license-nav {
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
    margin: 0 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .license-nav-label, .license-sidebar-foot { display: none; }
  .license-nav-item { width: 40px; min-height: 40px; }
  .license-nav-item + .license-nav-item { margin-top: 0; }
  .license-nav-item.is-active::before { display: none; }
}
