html.ward-central-no-horizontal-drift,html.ward-central-no-horizontal-drift body{max-width:100%;overflow-x:hidden}
#calendarItemDialog{max-width:calc(100vw - 24px);overflow-x:hidden}
#calendarItemDialog form,#calendarItemDialog *{box-sizing:border-box;min-width:0}
#calendarItemDialog input,#calendarItemDialog select,#calendarItemDialog textarea{max-width:100%;width:100%}
.organization-pill-grid{display:flex!important;flex-wrap:wrap;gap:8px;max-height:none!important;overflow:visible!important}
.organization-pill{display:inline-flex!important;width:auto!important;grid-template-columns:none!important;padding:0!important;border:0!important;background:transparent!important}
.organization-pill input{position:absolute;opacity:0;pointer-events:none}
.organization-pill span{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #d7d7dc;border-radius:999px;background:#fff;color:#3a3a3f;font-weight:750;line-height:1.15}
.organization-pill:has(input:checked) span{border-color:#6ab6e8;background:#eaf5ff;color:#145f98;box-shadow:0 0 0 2px rgba(20,105,170,.08)}
.calendar-repeat-details{border:1px solid rgba(0,0,0,.065);border-radius:15px;background:#fafafd;overflow:hidden}
.calendar-repeat-details>summary{padding:13px 14px;list-style:none;font-weight:760;color:#404046;cursor:pointer}
.calendar-repeat-details>summary span{float:right;margin-right:20px;color:#8a8a90;font-size:.75rem;font-weight:600}
.calendar-repeat-details>summary::after{content:'⌄';float:right;color:#777}
.calendar-repeat-details[open]>summary::after{transform:rotate(180deg)}
.calendar-repeat-details>div{margin:0!important;border:0!important;border-radius:0!important}
#calendarLocation[hidden],#calendarAnnounceFrom[hidden]{display:none!important}
.calendar-smart-event,.calendar-announcement-preview{display:grid;gap:12px;padding:14px;border-radius:17px;border:1px solid rgba(0,0,0,.06);background:#f8f8fb}
.calendar-smart-event[hidden]{display:none}
.smart-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.smart-section-head>div{display:grid;gap:3px}.smart-section-head small{color:#6e6e73;line-height:1.35}
.smart-location-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.smart-location-row button,#useGeneratedAnnouncement{border:0;border-radius:11px;padding:9px 12px;background:#eaf4ff;color:#1469aa;font-weight:750;cursor:pointer;width:auto!important}.smart-location-row button{background:#fff1f0;color:#a62b24;border:1px solid rgba(166,43,36,.12)}
.time-zone-note{float:right;color:#6e6e73;font-size:.74rem;font-weight:650}
.calendar-announcement-preview{background:linear-gradient(180deg,#f5faff,#f9fbfd)}.calendar-announcement-preview p{margin:0;color:#313136;line-height:1.45;font-size:.92rem}
#calendarItemType[value="announcement"]~.calendar-organization-field{display:none}
@media(max-width:700px){#calendarItemDialog{width:calc(100vw - 16px);max-height:92dvh}#calendarItemDialog form{padding:18px!important;gap:14px!important}.calendar-dialog-actions{position:sticky;bottom:-18px;background:#fff;padding-top:10px;z-index:3}.organization-pill span{min-height:40px;padding:8px 11px;font-size:.9rem}.smart-location-row{grid-template-columns:1fr}.smart-location-row button{justify-self:start}.smart-section-head{display:grid}#useGeneratedAnnouncement{justify-self:start}}
