/* Full-width navigation and a single compact event heading. */
#content .crm-event-compact-bar{max-width:none!important;margin:8px 0 12px!important}
body.crm-compact-event-page main .page-header{min-height:0!important;padding:12px 18px!important;margin:0 0 8px!important;border-radius:16px!important}
body.crm-compact-event-page main .page-header h1{font-size:26px!important;line-height:1.2!important;margin:0!important}
#content .crm-event-header.crm-event-slim-header{display:block!important;min-height:0!important;width:100%!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#content .crm-event-slim-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:40px!important;padding:0!important}
#content .crm-event-slim-info{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 14px!important;min-width:0!important}
#content .crm-event-slim-info>.muted{font-size:13px!important;margin:0!important;line-height:1.5!important}
#content .crm-event-slim-info>.text-link{font-size:12px!important;white-space:nowrap!important}
#content .crm-event-slim-tools{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
#content .crm-event-slim-tools .crm-weather-demand{margin:0!important;position:relative!important}
#content .crm-event-slim-tools .crm-weather-demand-button{font-size:12px!important;min-height:34px!important;padding:7px 10px!important;line-height:1.2!important;white-space:nowrap!important}
#content .crm-event-slim-tools .crm-weather-demand-body:not([hidden]){position:absolute!important;right:0!important;top:100%!important;width:min(720px,calc(100vw - 48px))!important;max-height:65vh!important;overflow:auto!important;z-index:31!important;background:#fff!important;box-shadow:0 12px 40px #13223820!important;padding:16px!important}
#content .crm-event-slim-tools .crm-recap-access{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;min-height:0!important;min-width:0!important;width:auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
#content .crm-event-slim-tools .crm-recap-open{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;margin:0!important;padding:7px 12px!important;border:1px solid #e2b8cf!important;border-radius:9px!important;background:#fff!important;color:var(--crm-accent,#eb008b)!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;text-transform:none!important}
#content .crm-event-slim-tools .crm-recap-open:hover,#content .crm-event-slim-tools .crm-recap-open:focus-visible{border-color:var(--crm-accent,#eb008b)!important;background:#fff0f8!important;color:#89004e!important}
#content .crm-event-slim-tools .crm-recap-open::before,#content .crm-event-slim-tools .crm-recap-open::after{display:none!important;content:none!important}
#content .crm-event-slim-tools .crm-recap-ticket-icon{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important}
#content .crm-event-slim-tools .crm-recap-ticket-icon svg{display:block!important;width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important}
#content .crm-event-slim-tools .crm-recap-compact-label{display:inline!important;color:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important}
body.crm-compact-event-page main .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body.crm-compact-event-page main .page-header #page-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important}
body.crm-compact-event-page main .page-header #page-actions button[data-edit="event"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:36px!important;margin:0!important;padding:8px 14px!important;border:1px solid rgba(255,255,255,.5)!important;border-radius:9px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font-size:12px!important;font-weight:650!important;white-space:nowrap!important;box-shadow:none!important}
body.crm-compact-event-page main .page-header #page-actions .crm-header-edit-icon{width:16px;height:16px;flex:0 0 16px}
body.crm-compact-event-page main .page-header #page-actions button[data-edit="event"]:hover,body.crm-compact-event-page main .page-header #page-actions button[data-edit="event"]:focus-visible{background:#fff!important;color:#24202c!important;border-color:#fff!important}
#content .crm-event-slim-tools:empty{display:none!important}
#content .crm-event-slim-header>.toolbar:empty,#content .crm-event-slim-empty{display:none!important}
.crm-event-contacts-heading,.crm-event-contacts-export{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.crm-event-contacts-heading h2{font-size:19px;margin:0}.crm-event-contacts-count{background:#f8e5f0;color:var(--crm-accent,#eb008b);padding:3px 9px;border-radius:20px;font-size:13px;vertical-align:middle}
.crm-event-contacts-export{margin:14px 0}.crm-event-contacts-list .actions{gap:7px}.crm-event-contacts-list button,.crm-event-contacts-list a.button{font-size:12px;min-height:34px;padding:7px 10px;border-radius:8px}
.crm-event-contact-legacy{display:block;font-size:10px;color:#8893a5;margin-top:3px}.crm-event-contacts-disabled{opacity:.4;pointer-events:none}.crm-event-contacts-empty{padding:20px 0;text-align:center}
.crm-event-contact-picker-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px}.crm-event-contact-picker-options{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.crm-event-contact-picker-options label{display:flex;align-items:center;gap:6px;font-size:12px}
.crm-event-contact-picker-options input,.crm-event-contact-choice input{width:17px;height:17px;margin:0;flex-shrink:0;accent-color:var(--crm-accent,#eb008b)}
.crm-event-contact-picker-results{max-height:45vh;overflow:auto;border:1px solid #e0e6ef;border-radius:12px}.crm-event-contact-choice{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0;border-bottom:1px solid #e9edf3;cursor:pointer}.crm-event-contact-choice:last-child{border:0}.crm-event-contact-choice>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;font-size:13px}.crm-event-contact-choice small{font-size:11px;color:#6a7b90}.crm-event-contact-choice-tags{display:flex;align-items:flex-end;flex-direction:column;gap:3px}.crm-event-contact-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:12px}
[data-contact-uppercase]{text-transform:uppercase}
@media(max-width:760px){body.crm-compact-event-page main .page-header{flex-wrap:wrap!important}body.crm-compact-event-page main .page-header #page-actions{margin-left:auto!important}#content .crm-event-slim-row{flex-wrap:wrap!important;gap:7px!important}#content .crm-event-slim-info{width:100%!important}#content .crm-event-slim-tools{margin-left:auto!important}body.crm-compact-event-page main .page-header h1{font-size:22px!important}.crm-event-contact-picker-filters{grid-template-columns:1fr}.crm-event-contact-choice-tags{display:none}.crm-event-contacts-heading h2{font-size:16px}.crm-event-contact-picker-footer{flex-wrap:wrap}}
@media print{.crm-event-slim-tools,.crm-event-contacts-export,.crm-event-contacts-heading .actions{display:none!important}}

.crm-provider-venue-manager{margin:10px 0 16px;font-size:12px}.crm-provider-venue-manager>summary{cursor:pointer;color:var(--crm-accent,#eb008b);font-weight:600}.crm-provider-venue-create,.crm-provider-venue-edit{display:flex;align-items:end;gap:8px;margin:9px 0}.crm-provider-venue-create label{flex:1}.crm-provider-venue-edit input{flex:1;min-width:0}.crm-provider-venue-manager button{font-size:12px;padding:7px 10px;min-height:34px}.crm-provider-venue-field{border:1px solid #e2e7ef;border-radius:10px;padding:14px}.crm-provider-venue-tag{margin:5px 0 10px;background:#e3f3ed;color:#198472}

.crm-event-rse-choice{display:flex;align-items:center;gap:10px;margin:0;padding:12px 0;border-bottom:1px solid #edf0f5;font-size:14px}.crm-event-rse-choice input{width:18px;height:18px;flex:0 0 auto;margin:0;accent-color:#198472}.crm-event-rse-notes{margin:16px 0}.crm-provider-map{display:inline-flex;gap:5px;align-items:center;font-size:12px;margin:8px 0;color:#198472}

/* Compact title and actions for the event contact list only. */
.crm-event-contacts-list.crm-event-contacts-compact{padding:12px 16px 16px}
.crm-event-contacts-heading.crm-event-contacts-banner{margin:-12px -16px 12px;padding:9px 16px;min-height:52px;gap:10px;background:#fceef6;border-bottom:1px solid #f1d6e4;border-radius:12px 12px 0 0}
.crm-event-contacts-banner .crm-event-contacts-title{flex:1 1 220px;min-width:0}
.crm-event-contacts-heading.crm-event-contacts-banner h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;color:var(--crm-accent,#eb008b);font-size:18px;line-height:1.3}
.crm-event-contacts-banner .crm-event-contacts-count{padding:2px 8px;background:#fff;color:var(--crm-accent,#eb008b);font-size:12px;line-height:1.5;flex-shrink:0}
.crm-event-contacts-banner .crm-event-contacts-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;flex:0 0 auto}
.crm-event-contacts-banner .crm-event-contacts-toolbar button,.crm-event-contacts-banner .crm-event-contacts-toolbar a.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 9px;margin:0;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;border-radius:8px}
.crm-event-contacts-banner .crm-event-contacts-toolbar .quiet{background:#fff;color:var(--crm-accent,#eb008b);border-color:#e8bfd3}
.crm-event-contacts-banner .crm-event-contacts-toolbar .icon{width:16px;height:16px;flex-shrink:0;margin:0}
.crm-event-contacts-compact .crm-event-contacts-empty{padding:12px 0}.crm-event-contacts-compact .crm-event-contacts-empty p{margin:0}
@media(max-width:760px){.crm-event-contacts-heading.crm-event-contacts-banner h2{font-size:16px}.crm-event-contacts-banner .crm-event-contacts-toolbar{justify-content:flex-start}}

/* Event settings stay in the title header, at its far right. */
body.crm-compact-event-page main .page-header #page-actions{margin-left:auto!important}
body.crm-compact-event-page main .page-header #page-actions button.crm-event-settings-button{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;flex:0 0 38px!important}
body.crm-compact-event-page main .page-header #page-actions button.crm-event-settings-button svg{width:22px!important;height:22px!important;flex-basis:22px!important}
body.crm-compact-event-page main .page-header #page-actions{gap:8px!important}
body.crm-compact-event-page main .page-header #page-actions button[data-event-theme]{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;border:1px solid #ffffff80!important;background:#ffffff17!important;color:white!important;border-radius:9px!important;box-shadow:none!important}
body.crm-compact-event-page main .page-header #page-actions button[data-event-theme]:hover{background:white!important;color:#31304a!important}

/* Align contact row actions and use the CRM pink for removal controls. */
html body.crm-clarity main #content .crm-event-contacts-list tbody td{vertical-align:middle}
html body.crm-clarity main #content .crm-event-contacts-list tbody td>.actions{align-items:center;justify-content:flex-end;gap:7px;margin:0!important}
html body.crm-clarity main #content .crm-event-contacts-list button[data-event-contacts="remove"]{display:inline-flex!important;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:6px!important;border:1px solid #efcadc!important;border-radius:9px!important;background:#fff!important;color:var(--crm-accent,#eb008b)!important;box-shadow:none!important}
html body.crm-clarity main #content .crm-event-contacts-list button[data-event-contacts="remove"] svg{width:18px;height:18px;margin:0!important;color:inherit}
html body.crm-clarity main #content .crm-event-contacts-list button[data-event-contacts="remove"]:hover{border-color:var(--crm-accent,#eb008b)!important;background:#fff1f9!important}

html body.crm-clarity main #content .crm-event-contacts-list button[data-event-contacts="edit"]{display:inline-flex!important;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:6px!important;line-height:1}
html body.crm-clarity main #content .crm-event-contacts-list button[data-event-contacts="edit"] svg{width:18px;height:18px;margin:0!important}

/* Three consecutive contact sections; the profile is expressed by the section. */
html body main #content .crm-event-contact-group{margin:14px 0 0;min-width:0}
html body main #content .crm-event-contact-group:first-of-type{margin-top:6px}
html body main #content .crm-event-contact-group-heading{display:flex;align-items:center;gap:9px;margin:0 0 7px;padding:8px 11px;border-left:3px solid var(--crm-accent,#eb008b);border-radius:8px;background:#faf5fa;color:#3d506b;font-size:15px;line-height:1.3;font-weight:600}
html body main #content .crm-event-contact-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 7px;border-radius:12px;background:#fff;color:var(--crm-accent,#eb008b);font-size:12px}
html body main #content .crm-event-contact-group .table-wrap{margin:0;max-width:100%;overflow-x:auto}
html body main #content .crm-event-contact-group table{table-layout:fixed;min-width:660px}
html body main #content .crm-event-contact-group th:nth-child(1){width:38%}
html body main #content .crm-event-contact-group th:nth-child(2){width:18%}
html body main #content .crm-event-contact-group th:nth-child(3){width:17%}
html body main #content .crm-event-contact-group th:nth-child(4){width:17%}
html body main #content .crm-event-contact-group th:last-child{width:90px}
html body main #content .crm-event-contact-group td{overflow-wrap:anywhere}
html body main #content .crm-event-contact-group .crm-event-contacts-empty{text-align:left;font-size:13px;color:#718098;padding:7px 11px;margin:0}
