.customer-directory { --row-one: #edf4ff; --row-two: #eaf7f0; margin-top: 12px; }
#dashboard .customer-directory { --row-one: #edf4ff; --row-two: #fff0f2; }
.customer-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.customer-toolbar label { flex:1 1 240px; max-width:460px; }
.customer-table { overflow:auto; border:1px solid #d6e2f1; border-radius:10px; }
.customer-table table { width:100%; border-collapse:collapse; }
.customer-table :is(th,td) { padding:12px; text-align:left; overflow-wrap:anywhere; }
.customer-table th { background:#dce9fa; }
.customer-table tbody tr > td { background:var(--row-one); }
.customer-table tbody tr:nth-child(even) > td { background:var(--row-two); }
.customer-table td small { display:block; margin-top:5px; }

:is(dialog[data-panel-edit]:has(.customer-editor), #account-dialog)::backdrop { background: #15243b26; }
:is(dialog[data-panel-edit]:has(.customer-editor), #account-dialog) > h2 { margin: 0 0 18px; }
:is(dialog[data-panel-edit], #account-dialog) .customer-editor { padding: 0; margin-top: 12px; }
.customer-editor .form-grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}
.customer-editor label { display: block; margin: 0; font-size: 13px; }
.customer-editor input { width: 100%; box-sizing: border-box; }
.customer-editor > button { margin-top: 14px; }
@media (max-width: 650px) {
  .customer-editor .form-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .customer-editor .form-grid.three { grid-template-columns: 1fr; }
}

#account-dialog { width:min(960px,94vw); max-height:90vh; overflow:auto; padding:20px; border:1px solid #cbd8ea; border-radius:12px; }
