.crm-person-products>button[data-product-category-edit]{margin:8px 0 8px;display:inline-flex;align-items:center;gap:8px;font-size:13px;min-height:36px;padding:8px 12px;color:var(--crm-accent,#eb008b);background:#fff0f7;border:1px solid #f3b9d9;border-radius:10px}
.contact-toolbar .crm-contact-icon-action{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:8px;flex:0 0 40px}
.contact-toolbar .crm-contact-icon-action .icon{width:22px;height:22px;margin:0}
.crm-product-category-editor{display:grid;gap:16px}
.crm-product-category-editor p{margin:0}
.crm-product-category-context{color:var(--crm-accent,#eb008b);font-weight:600}
.crm-product-category-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.crm-product-category-tools>span{margin-right:auto;color:#64728a;font-size:13px}
.crm-product-category-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;border:1px solid #e8dff0;border-radius:16px;min-width:0}
.crm-product-category-choices legend{font-size:14px;padding:0 6px}
html #editor .crm-product-category-choices>label{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px;padding:12px;background:#fdfafe;border:1px solid #ece4f2;border-radius:10px;text-align:left;font-size:14px;line-height:1.35;margin:0}
html #editor .crm-product-category-choices input[type=checkbox]{flex:0 0 19px;width:19px;height:19px;min-height:19px;margin:0;padding:0;accent-color:var(--crm-accent,#eb008b)}
.crm-product-category-choices label:has(input:checked){border-color:var(--crm-accent,#eb008b)!important;background:#fff0f7!important}
.crm-product-category-choices i{flex:0 0 12px;width:12px;height:12px;border-radius:50%}
.crm-product-category-editor .actions{justify-content:flex-end;gap:10px}
@media(max-width:600px){.crm-product-category-choices{grid-template-columns:1fr}.crm-product-category-tools>span{width:100%}}

.crm-person-category-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
html .crm-person-category-actions>button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:8px 12px;font-size:13px}
html .crm-person-category-actions>button[data-product-category-view]{color:var(--crm-accent,#eb008b);background:#fff0f7;border:1px solid #edbfd8}
.crm-product-category-readonly{display:grid;gap:12px}.crm-product-category-readonly p{margin:0}.crm-product-category-readonly .bc-tags{gap:10px;margin:0}.crm-product-category-readonly .bc-tags span{font-size:14px;padding:10px 13px}.crm-product-category-readonly .actions{justify-content:flex-end}

/* Contact sheet actions: one compact size; view, edit and add stay distinct. */
html #content :is(.crm-person-category-actions>button,#profile-company>button,#profile-events>button,#profile-notes>button,.profile-grid .panel-heading>button,.profile-grid .text-button,.event-edition-details>button,.bpc-summary>button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;width:auto;max-width:100%;padding:8px 12px!important;border:1px solid #d9c8ed;border-radius:11px;font-family:inherit!important;font-size:13px!important;font-weight:600;line-height:1.35;text-decoration:none;white-space:normal;background:#f3edfc;color:#64409a;box-shadow:none}
html #content .crm-person-category-actions>button[data-product-category-view]{background:#fff0f7;border-color:#efb9d6;color:var(--crm-accent,#eb008b)}
html #content :is(#profile-events>button,.profile-grid .panel-heading>button)[data-add-participation]{background:var(--crm-accent,#eb008b);border-color:var(--crm-accent,#eb008b);color:white}
html #content :is(.crm-person-category-actions>button,#profile-company>button,#profile-events>button,#profile-notes>button,.profile-grid .panel-heading>button,.profile-grid .text-button,.event-edition-details>button,.bpc-summary>button) .icon{width:19px;height:19px;flex:0 0 19px;margin:0}
html #content .crm-company-view-action{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px!important;height:38px;min-height:38px;padding:8px!important;border:1px solid #efb9d6;border-radius:11px;background:#fff0f7;color:var(--crm-accent,#eb008b);text-decoration:none;box-shadow:none}
html #content .crm-company-view-action .icon{width:21px;height:21px;flex:0 0 21px;margin:0}
html #content .company-summary>.panel-heading,html #content #profile-company>.panel-heading{flex-wrap:nowrap;gap:10px}
html #content .company-summary>.panel-heading>h2,html #content #profile-company>.panel-heading>h2{min-width:0;flex:1}
html #content .profile-grid .participation-row>.round-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:7px;border-radius:10px;border:1px solid #d9c8ed;background:#f3edfc;color:#64409a}
html #content .crm-company-view-action:hover{background:#ffe1f0;border-color:var(--crm-accent,#eb008b);filter:none}
html #content .crm-person-category-actions>button:hover,html #content .profile-grid .text-button:hover{filter:brightness(.97)}
body.crm-clarity main #content #profile-overview :is(.crm-person-category-actions>button,.text-button,.event-edition-details>button,.bpc-summary>button),body.crm-clarity main #content :is(#profile-company,#profile-notes)>button{background:#f3edfc!important;border-color:#d9c8ed!important;color:#64409a!important;font-weight:600!important;text-decoration:none!important}
body.crm-clarity main #content #profile-overview .crm-person-category-actions>button[data-product-category-view]{background:#fff0f7!important;border-color:#efb9d6!important;color:var(--crm-accent,#eb008b)!important}
