/* Customer cards: legible details and a distinct, compact owner action. */
.saas-workspace .customer-card{container-type:inline-size;--customer-detail-bg:#f5f8fc;--customer-detail-label:#667c92;--customer-detail-value:#173450;--customer-action-bg:#eff6ff;--customer-action-border:#dceafb}
.saas-workspace .customer-card .customer-card-heading{gap:12px}
.saas-workspace .customer-card .customer-card-heading h3{line-height:1.4}
.saas-workspace .customer-card .customer-details>summary{min-height:44px;padding:10px 0;font-size:13px}
.saas-workspace .customer-card .customer-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 0}
.saas-workspace .customer-card .customer-details dl>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:11px 12px;border-radius:10px;background:var(--customer-detail-bg);font-size:13px;line-height:1.4}
.saas-workspace .customer-card .customer-details dl dt{color:var(--customer-detail-label);font-size:11px;font-weight:500}
.saas-workspace .customer-card .customer-details dl dd{margin:0;color:var(--customer-detail-value);font-weight:600;overflow-wrap:anywhere}
.saas-workspace .customer-card .customer-owner-actions{display:flex;align-items:center;gap:14px;margin-top:14px;padding:14px;border:1px solid var(--customer-action-border);border-radius:12px;background:var(--customer-action-bg)}
.saas-workspace .customer-card .customer-owner-actions>div{flex:1;min-width:0}
.saas-workspace .customer-card .customer-owner-actions b{display:block;color:var(--customer-detail-value);font-size:13px}
.saas-workspace .customer-card .customer-owner-actions p{margin:4px 0 0;color:var(--customer-detail-label);font-size:11px;line-height:1.5}
.saas-workspace .customer-card .customer-owner-activation{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;width:auto;padding:10px 13px;border-radius:10px;font-size:12px;line-height:1.3;white-space:normal}
.saas-workspace .customer-card .customer-owner-activation svg{width:18px;height:18px;flex:none}
html[data-dhun-theme="dark"] .saas-workspace .customer-card{--customer-detail-bg:#253b52;--customer-detail-label:#b9cee2;--customer-detail-value:#f0f7ff;--customer-action-bg:#203b56;--customer-action-border:#3b5874}
@container (max-width:390px){.saas-workspace .customer-card .customer-details dl{grid-template-columns:1fr}.saas-workspace .customer-card .customer-owner-actions{flex-direction:column;align-items:stretch}.saas-workspace .customer-card .customer-owner-activation{width:100%}}

html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-status{background:#344b63;color:#e0edfa}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-status.is-active{background:#173f37;color:#a3f1c8}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-status.is-expired{background:#502f37;color:#ffc2c5}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-plan{background:#24496e;color:#c3e3ff}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-store-icon{background:#294967;color:#c3e3ff}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-details>summary{color:#a5d0ff}
html[data-dhun-theme="dark"] .saas-workspace .customer-card .customer-details{border-color:#3a516a}

.saas-workspace .customer-card .customer-owner-email{display:flex;flex-direction:column;gap:4px;min-width:0;margin:12px 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.saas-workspace .customer-card .customer-owner-email span{color:var(--customer-detail-label);font-size:11px}
.saas-workspace .customer-card .customer-owner-email b{color:var(--customer-detail-value);font-weight:600}
