.customer-admin-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-right:auto;
}
.customer-admin-actions button{
  min-height:42px;
  padding:0 15px;
  border-radius:11px;
  font-weight:850;
}
.customer-admin-actions .customer-merge-button{
  border:1px solid #3d8bd2;
  background:#eaf5ff;
  color:#14538a;
}
.customer-admin-actions .customer-archive-button{
  border:1px solid #e2a3a3;
  background:#fff3f3;
  color:#9a3030;
}
.customer-admin-actions button:disabled{
  border-color:#d8e0e7;
  background:#f3f5f7;
  color:#82909c;
  cursor:not-allowed;
}
.customer-directory-audit-button{
  min-height:44px;
  padding:0 14px;
  border:1px solid #86c3b7;
  border-radius:12px;
  background:#ecfbf7;
  color:#096f62;
  font-weight:850;
  white-space:nowrap;
}
.customer-directory-create-button{
  min-height:44px;
  padding:0 14px;
  border:1px solid #efb13a;
  border-radius:12px;
  background:#fff7df;
  color:#8a5700;
  font-weight:900;
  white-space:nowrap;
}
.customer-code-preview{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  margin:4px 0 14px;
  padding:14px;
  border:1px solid #cfe1ec;
  border-radius:14px;
  background:#f5fbff;
}
.customer-code-preview span{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:13px;
  background:#0e6e9d;
  color:#fff;
  font-weight:950;
}
.customer-code-preview b,.customer-code-preview small{display:block}
.customer-code-preview b{color:#153f61}
.customer-code-preview small{margin-top:3px;color:#687f91}
.customer-operation-modal{
  width:min(650px,calc(100vw - 28px));
}
.customer-operation-summary{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
  margin:2px 0 14px;
}
.customer-operation-card{
  min-width:0;
  padding:14px;
  border:1px solid #d1e1eb;
  border-radius:14px;
  background:#f8fbfd;
}
.customer-operation-card span,
.customer-operation-card b,
.customer-operation-card small{display:block}
.customer-operation-card span{color:#6f8292;font-size:.72rem;font-weight:800}
.customer-operation-card b{margin:4px 0;color:#123d62}
.customer-operation-card small{color:#63798c}
.customer-operation-arrow{
  color:#1877be;
  font-size:1.5rem;
  font-weight:900;
}
.customer-operation-modal label{
  display:grid;
  gap:6px;
  margin:12px 0;
  color:#294b68;
  font-weight:800;
}
.customer-operation-modal select,
.customer-operation-modal textarea{
  width:100%;
  border:1px solid #bfd3e1;
  border-radius:12px;
  background:#fff;
  color:#153857;
  font:inherit;
  padding:12px;
}
.customer-operation-confirm{
  grid-template-columns:auto 1fr!important;
  align-items:start;
  padding:12px;
  border:1px solid #f1d081;
  border-radius:12px;
  background:#fff9e8;
}
.customer-operation-confirm input{margin-top:4px}
.customer-operation-note{
  margin:10px 0;
  padding:11px 13px;
  border-radius:12px;
  background:#eef7ff;
  color:#37627f;
  line-height:1.55;
}
.customer-operation-danger{
  background:#fff0f0;
  color:#913737;
}
.customer-audit-list{
  display:grid;
  gap:9px;
  max-height:55vh;
  overflow:auto;
}
.customer-audit-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  padding:12px;
  border:1px solid #d6e4ed;
  border-radius:13px;
  background:#fbfdff;
}
.customer-audit-type{
  align-self:start;
  padding:5px 9px;
  border-radius:999px;
  background:#e5f5ff;
  color:#155e90;
  font-size:.75rem;
  font-weight:900;
}
.customer-audit-type.is-archive{background:#fff0f0;color:#963a3a}
.customer-audit-item b,.customer-audit-item small{display:block}
.customer-audit-item small{margin-top:4px;color:#667d90;line-height:1.45}
body.dark .customer-operation-card,
body.dark .customer-audit-item{border-color:#34526c;background:#132a44}
body.dark .customer-operation-card b,
body.dark .customer-operation-modal label,
body.dark .customer-audit-item b{color:#eff7fd}
body.dark .customer-operation-modal select,
body.dark .customer-operation-modal textarea{border-color:#3a5873;background:#10243b;color:#eff7fd}
@media(max-width:760px){
  .customer-directory-toolbar{grid-template-columns:1fr 1fr}
  .customer-directory-audit-button,.customer-directory-create-button{grid-column:1/-1}
  .customer-operation-summary{grid-template-columns:1fr}
  .customer-operation-arrow{text-align:center;transform:rotate(90deg)}
  .customer-admin-actions{width:100%}
  .customer-admin-actions button{flex:1}
}
