/* legacy-layer */
@layer legacy {
.customer-cards { margin: 20px 0; padding: 20px 0; border-top: 1px solid #dce2e5; border-bottom: 1px solid #dce2e5; }
.cc-toolbar, .cc-actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.cc-toolbar h2 { margin: 0; font-size: 20px; }
.cc-toolbar small { font-size: 13px; color: #606d72; font-weight: 400; }
.cc-icon { width: 38px; height: 38px; padding: 8px !important; flex: 0 0 38px; }
.customer-cards svg { width: 18px; height: 18px; }
.cc-status { min-height: 24px; margin: 6px 0; font-size: 12px; color: #497063; }
.cc-error { padding: 10px; color: #9d2727; background: #fff2f1; border: 1px solid #eed0ce; overflow-wrap: anywhere; }
.cc-layout { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); gap: 24px; }
.cc-directory { min-width: 0; }
.cc-list { max-height: 420px; overflow-y: auto; overscroll-behavior: contain; margin-top: 10px; border: 1px solid #dce2e5; border-radius: 4px; }
.cc-list button { display: block; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid #e4e8ea; background: #fff; color: #20282b; text-align: left; cursor: pointer; }
.cc-list button:hover { background: #f5f8f7; }
.cc-list button[aria-pressed="true"] { background: #fff3ec; box-shadow: inset 3px 0 #c94e20; }
.cc-list strong, .cc-list small { display: block; overflow-wrap: anywhere; }
.cc-list small { margin-top: 4px; color: #606d72; font-size: 12px; }
.cc-detail { min-width: 0; }
.cc-detail h3 { font-size: 18px; margin: 0 0 12px; overflow-wrap: anywhere; }
.cc-detail h4 { font-size: 14px; margin: 20px 0 10px; }
.cc-data { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 7px 12px; font-size: 13px; }
.cc-data dt { color: #606d72; }
.cc-data dd { margin: 0; overflow-wrap: anywhere; }
.cc-detail label { display: block; margin-top: 20px; font-size: 13px; font-weight: 600; }
.cc-detail textarea { display: block; width: 100%; min-height: 130px; margin-top: 8px; resize: vertical; }
.cc-actions { margin: 10px 0; flex-wrap: wrap; }
.cc-actions span { font-size: 12px; color: #606d72; overflow-wrap: anywhere; }
.cc-actions .button { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) {
  .cc-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cc-list { max-height: 200px; }
  .cc-data { grid-template-columns: 120px minmax(0, 1fr); }
}
}
