.app-sidebar { position: fixed; inset: 0; z-index: 1500; display: none; }
.app-sidebar.open { display: block; }
.app-sidebar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(3px);
  animation: fadeIn .3s var(--ease) both;
}
.app-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(15, 23, 42, .2);
  display: flex;
  flex-direction: column;
  animation: slideInRight .4s var(--ease) both;
}
.app-sidebar.narrow .app-sidebar-panel { width: min(440px, 100vw); }
.app-sidebar.closing .app-sidebar-panel { animation: slideOutRight .3s var(--ease) forwards; }
.app-sidebar.closing .app-sidebar-backdrop { animation: fadeIn .3s reverse forwards; }
.app-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.app-sidebar-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.app-sidebar-header h5 { margin: 0; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.app-sidebar-header p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.app-sidebar-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.app-sidebar-body .row > * { animation: fadeUp .5s var(--ease) both; }
.app-sidebar-body .row > *:nth-child(2) { animation-delay: .04s; }
.app-sidebar-body .row > *:nth-child(3) { animation-delay: .08s; }
.app-sidebar-body .row > *:nth-child(4) { animation-delay: .12s; }
.app-sidebar-body .row > *:nth-child(5) { animation-delay: .16s; }
.app-sidebar-body .row > *:nth-child(n+6) { animation-delay: .2s; }
.app-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--surface-2);
}
.form-section-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 2px;
}
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
