.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 8, 13, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-backdrop.show { display: flex; }
.modal-panel { width: min(100%, 480px); padding: 1.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal-title { color: #fff; font-size: 1.2rem; font-weight: 750; }
.modal-close { padding: 0.3rem; border: 0; color: var(--muted); background: transparent; font-size: 1.3rem; cursor: pointer; }
.modal-close:hover { color: #fff; }
.modal-body label { display: block; margin-bottom: 0.8rem; }
.modal-footer { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1rem; }
.modal-note { margin-top: 0.5rem; color: var(--warning); font-size: 0.78rem; }
