
.ng-sidebar-host { position: relative; }

.ng-open-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: #4a5568;
  color: #fff;
  font: 500 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  transition: background .2s ease;
}
.ng-open-button:hover { background: #2d3748; }

.ng-on-left .ng-open-button { left: 1rem; right: auto; }
.ng-on-right .ng-open-button { right: 1rem; left: auto; }

.ng-sidebar-backdrop { background: rgba(0, 0, 0, 1); }

.ng-sidebar {
  background: #ffffff;
  color: #1a202c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
}

.ng-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.ng-title { margin: 0; font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.ng-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #4a5568;
  background: transparent;
  border: 0;
}
.ng-close:hover { background: rgba(0, 0, 0, .05); }

.ng-sidebar-section { padding: 1rem; }
.ng-section-title { margin: 0 0 .5rem; font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color: #2d3748; }

.ng-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ng-checkbox { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.ng-actions { display: flex; gap: .5rem; }
.ng-btn { height: 36px; padding: 0 .9rem; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .1); background: #f7fafc; color: #2d3748; cursor: pointer; }
.ng-btn--primary { background: #3182ce; color: #fff; border-color: #3182ce; }
.ng-btn:hover { filter: brightness(.96); }

@media (max-width: 640px) {
  .ng-sidebar-host { --ng-width: min(92vw, 360px); }
}


