
/* v5.14 — Relatório Gerencial e Gestão Inteligente de Clientes */
.customer-profile-open{white-space:nowrap}
.customer-attention{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}.customer-attention>div{border:1px solid var(--line);border-radius:11px;padding:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.customer-attention span{color:var(--muted);font-size:12px}.customer-attention strong{font-size:20px}.customer-attention>small{grid-column:1/-1;color:var(--muted)}
.customer-profile-back{z-index:1400}.customer-profile-modal{width:min(920px,94vw);max-height:88vh;overflow:auto}.customer-profile-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-right:34px}.customer-profile-head h2{margin:3px 0 2px}.customer-profile-head p{margin:0;color:var(--muted)}.customer-profile-type{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--p)}
.customer-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.customer-profile-kpis article{border:1px solid var(--line);border-radius:12px;padding:11px}.customer-profile-kpis span{display:block;color:var(--muted);font-size:11px}.customer-profile-kpis strong{display:block;margin-top:5px;font-size:18px}
.customer-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-profile-grid article{border:1px solid var(--line);border-radius:12px;padding:13px}.customer-profile-grid h3{margin:0 0 10px}.customer-profile-grid dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0}.customer-profile-grid dt{color:var(--muted);font-size:12px}.customer-profile-grid dd{margin:0}.customer-profile-grid p{margin:6px 0}.customer-notes{padding-top:8px;border-top:1px solid var(--line)}
.customer-profile-actions{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.customer-profile-actions button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;font-weight:700}.customer-profile-actions button:first-child{background:#e8f8ef;color:#147647}.customer-history{border-top:1px solid var(--line);padding-top:12px}.customer-history h3{margin:0 0 8px}.customer-history>div{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:3px 10px;padding:8px 0;border-bottom:1px solid var(--line)}.customer-history>div small{grid-column:2;color:var(--muted)}.customer-history>div strong{grid-row:1/3;grid-column:3;align-self:center}.customer-history>div span{font-size:12px;color:var(--muted)}
.customer-managerial-insights{margin:2px 0 14px}.managerial-title{display:flex;align-items:center;justify-content:space-between;margin:12px 0 7px}.managerial-title h3{margin:0}.managerial-title span{font-size:11px;color:var(--muted)}.managerial-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.managerial-cards button{text-align:left;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px;display:grid;gap:3px}.managerial-cards span{font-size:11px;color:var(--muted)}.managerial-cards b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.managerial-cards strong{font-size:12px;color:#315b45}
#dashboard .birthday-panel [data-customer-profile-id]{cursor:pointer}
@media(max-width:850px){.customer-profile-kpis,.managerial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-grid{grid-template-columns:1fr}}
@media(max-width:560px){.customer-attention,.customer-profile-kpis,.managerial-cards{grid-template-columns:1fr}.customer-history>div{grid-template-columns:75px minmax(0,1fr)}.customer-history>div strong{grid-row:auto;grid-column:2}.customer-history>div small{grid-column:2}}
.customer-attention-highlight{outline:2px solid color-mix(in srgb,var(--p) 55%,transparent);outline-offset:2px}

/* v5.14.2 — ações compactas por ícones na lista de clientes */
.customer-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:none;white-space:nowrap}.customer-row-actions .inline-action{display:flex;margin:0}.customer-action{width:36px;height:36px;padding:0!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#fff!important;color:#315b45!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none;cursor:pointer}.customer-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.customer-action:hover{background:#f2f7f4!important;border-color:#c7d8cf!important}.customer-action.customer-disable{color:#c75b50!important;background:#fff7f5!important}.customer-action.customer-enable{color:#178956!important;background:#f1fbf6!important}.customer-action.customer-delete{color:#c94f46!important;background:#fff1ef!important}.catalog-pane[data-catalog-pane="customer"] .catalog-item{flex-wrap:nowrap}.catalog-pane[data-catalog-pane="customer"] .catalog-item>div:first-child{min-width:0;flex:1}.catalog-pane[data-catalog-pane="customer"] .catalog-item>.tag{flex:none}.catalog-pane[data-catalog-pane="customer"] .customer-row-actions{margin-left:auto}@media(max-width:560px){.catalog-pane[data-catalog-pane="customer"] .catalog-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.catalog-pane[data-catalog-pane="customer"] .catalog-item>div:first-child{grid-column:1}.catalog-pane[data-catalog-pane="customer"] .catalog-item>.tag{grid-column:2}.catalog-pane[data-catalog-pane="customer"] .customer-row-actions{grid-column:3;margin-left:0}.customer-action{width:34px;height:34px}.customer-row-actions{gap:5px}}
