/* Compact sidebar only; retain every existing route, control and responsive state. */
html body .pine-sidebar .pine-brand {
  height: 64px;
  padding: 0 20px;
  gap: 10px;
}
html body .pine-sidebar .pine-brand > div:first-child {
  width: 32px; height: 32px; border-radius: 9px;
}
html body .pine-sidebar .pine-brand img { width: 24px; height: 24px; }
html body .pine-sidebar .pine-brand p { font-size: 13px; font-weight: 600; letter-spacing: .1px; }
html body .pine-sidebar nav {
  padding: 18px 12px;
  scrollbar-width: thin;
  scrollbar-color: #39475c transparent;
}
html body .pine-sidebar nav::-webkit-scrollbar { width: 3px; }
html body .pine-sidebar nav::-webkit-scrollbar-thumb { background: #39475c; }
html body .pine-sidebar nav > div { margin: 0; }
html body .pine-sidebar nav > div > p {
  /* Keep grouping labels accessible without occupying separate rows. */
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html body .pine-sidebar .pine-children { margin-top: 0; padding-left: 0; padding-bottom: 0; }
html body .pine-sidebar .pine-children > :not([hidden]) ~ :not([hidden]),
html body .pine-sidebar .pine-children > *,
html body .pine-sidebar .pine-group { margin-top: 0; margin-bottom: 0; }
html body .pine-sidebar .pine-link,
html body .pine-sidebar .pine-group {
  position: relative;
  min-height: 58px;
  padding: 17px 14px;
  gap: 12px;
  border-radius: 7px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #cbd3df;
}
html body .pine-sidebar .pine-link > svg,
html body .pine-sidebar .pine-group > svg { width: 22px; height: 22px; flex-shrink: 0; stroke-width: 1.7; }
html body .pine-sidebar .pine-link:hover,
html body .pine-sidebar .pine-group:hover { background: #223149; color: #f0e1c1; }
html body .pine-sidebar .pine-link.pine-link-active {
  background: #293344;
  color: #e1c68d;
  font-weight: 500;
  box-shadow: none;
}
html body .pine-sidebar .pine-link.pine-link-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #d5b775;
}
html body .pine-sidebar .pine-footer { min-height: 64px; padding: 12px 18px; gap: 10px; }
html body .pine-sidebar .pine-footer > div:first-child { width: 30px; height: 30px; }
html body .pine-sidebar .pine-footer p:first-child { font-size: 13px; line-height: 18px; }
html body .pine-sidebar .pine-footer p:last-child { font-size: 11px; line-height: 16px; }
