/* FDS 1.0.29: native provider editor only. Native hidden/disabled/checked states win.
   No selector changes public calendars, WordPress admin or third-party shop forms. */
html body [data-fds-provider-portal] form.fds-editor-ready {
 --accent-color:var(--fp-dark); --accent-color-hover:#513200;
 font-family:inherit; font-size:16px; line-height:1.55; width:100%; max-width:100%; min-width:0;
}
html body [data-fds-provider-portal] form.fds-editor-ready > section.em-event-editor-section,
html body [data-fds-provider-portal] form.fds-editor-ready > .event-form-recurrences {
 grid-template-columns:minmax(0,1fr)!important; gap:12px!important; width:100%!important; min-width:0!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .input { min-width:0; max-width:100%; }
html body [data-fds-provider-portal] form.fds-editor-ready :where(fieldset,.em-recurrence-set,.em-recurrence-set-data,.em-recurrence-pattern,.em-recurrence-advanced,.em-timeranges-editor,.em-timerange-inputs,.em-datepicker) {
 min-width:0; max-width:100%; box-sizing:border-box;
}
html body [data-fds-provider-portal] form.fds-editor-ready :where(input[type=text],select):not(.selectized):not([type=hidden]) {
 font-family:inherit!important; font-size:16px!important; line-height:1.5!important; box-sizing:border-box;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-sets .em-recurrence-set {
 grid-template-columns:minmax(0,1fr)!important; border:1px solid var(--fp-border); border-radius:12px; margin:0 0 20px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-set .em-recurrence-set-actions {
 height:auto; padding:10px 14px; text-align:left; background:var(--fp-soft); border-radius:12px 12px 0 0;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-sets .em-recurrence-set-data {
 border-left:0; padding:18px; width:100%;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern {
 display:flex; flex-wrap:wrap; align-items:center; gap:10px; width:100%;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern select.em-recurrence-frequency {
 width:12rem!important; min-width:0!important; max-width:100%!important; padding:10px 32px 10px 12px!important; min-height:44px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern input.em-recurrence-interval,
html body [data-fds-provider-portal] form.fds-editor-ready input.recurrence_duration {
 width:5rem!important; min-width:0!important; min-height:44px; flex:0 0 5rem; padding:9px!important; text-align:center;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern label.em-weekly-selector {
 width:22rem!important; max-width:100%!important; min-width:0!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern label.em-weekly-selector .selectize-control.em-selectize:not(.negated) {
 width:100%!important; min-width:0!important; max-width:100%!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern label.em-weekly-selector .selectize-input {
 display:flex; flex-wrap:wrap; align-items:center; gap:5px; width:100%; min-height:46px; padding:9px 12px!important;
 border:1px solid var(--fp-border); border-radius:8px; box-shadow:none;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern label.em-weekly-selector .selectize-input > input {
 width:13ch!important; min-width:10ch!important; max-width:100%!important; min-height:24px!important;
 padding:0!important; margin:0!important; border:0!important; background:transparent; box-shadow:none; font:inherit;
}
html body [data-fds-provider-portal] form.fds-editor-ready .selectize-input .item {
 max-width:100%; white-space:normal!important; overflow-wrap:anywhere; line-height:1.5;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern select.recurrence_bydays {
 width:100%!important; min-width:0!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-monthly-selector {
 white-space:normal; max-width:100%;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-monthly-selector select {
 max-width:100%!important; padding-right:32px!important; min-height:44px; margin:4px 0;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-datepicker-range fieldset.inline {
 width:32rem!important; min-width:0!important; max-width:100%!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-datepicker input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
html body [data-fds-provider-portal] form.fds-editor-ready .em-event-dates input.flatpickr-input:not([type=hidden]) {
 width:100%!important; max-width:100%!important; min-width:0!important; min-height:46px;
 font-size:16px!important; line-height:1.5!important; padding:10px 12px!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .fds-recurrence-help,
html body [data-fds-provider-portal] form.fds-editor-ready .fds-editor-help {
 flex-basis:100%; width:100%; font-size:14px; line-height:1.6; color:var(--fp-muted); margin:8px 0 12px!important;
 white-space:normal; overflow-wrap:anywhere;
}
html body [data-fds-provider-portal] form.fds-editor-ready .fds-pattern-title {
 font-size:17px; font-weight:700; color:var(--fp-ink); margin:0 0 14px!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-set.show-advanced .em-recurrence-advanced,
html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-set[data-type=include]:first-child:not(.reordering) .em-recurrence-advanced {
 max-height:none!important; padding-left:0!important;
}
/* Text is painted on the native button itself; its click target does not change. */
html body [data-fds-provider-portal] form.fds-editor-ready button[data-fds-action-text] {
 -webkit-mask:none!important; mask:none!important; background-image:none!important;
 background-color:#fff!important; color:var(--fp-dark)!important; border:1px solid var(--fp-border)!important;
 width:auto!important; height:auto!important; min-height:44px!important; min-width:44px!important;
 max-width:100%; padding:9px 12px!important; margin:4px!important; border-radius:8px; opacity:1!important;
 font-family:inherit; font-size:14px; font-weight:600; line-height:1.5; white-space:normal; vertical-align:middle; cursor:pointer;
}
html body [data-fds-provider-portal] form.fds-editor-ready button[data-fds-action-text]::after {
 content:attr(data-fds-action-text); position:static!important; width:auto!important; height:auto!important;
 font-family:inherit; font-size:14px; font-weight:600; line-height:1.5; background:none!important; color:inherit;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-add-recurrence-set,
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-add {
 background:#fff!important; color:var(--fp-dark)!important; border:1px solid var(--fp-border)!important;
 border-radius:8px; min-height:44px; padding:10px 14px!important; white-space:normal; max-width:100%;
 font:inherit!important; font-weight:600!important; margin:6px 6px 6px 0;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timeranges .em-timerange {
 width:100%; min-width:0; margin:0 0 16px; padding:14px 12px; border:1px solid var(--fp-border); border-radius:10px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange legend.fds-timeslot-title {
 display:block!important; visibility:visible!important; font-size:15px; font-weight:650; padding:0 6px; color:var(--fp-ink);
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-inputs {
 display:flex; flex-wrap:wrap; align-items:center; gap:8px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-inputs label.inline {
 width:9rem!important; min-width:0; max-width:100%; margin:0!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready input.em-time-input {
 width:100%!important; min-width:0!important; max-width:100%; min-height:44px; padding:9px 10px!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-timeslots-trigger,
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-allday {
 max-width:100%; min-height:44px; padding:8px!important; margin:0!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-timeslots-trigger > span:not(.em-icon),
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-allday > span:not(.em-icon) {
 display:inline!important; visibility:visible!important; position:static!important; width:auto!important; height:auto!important;
 clip:auto!important; clip-path:none!important; white-space:normal; font-size:14px; line-height:1.5; color:var(--fp-text);
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-timeslots .em-timerange-row {
 display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:12px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-row label { flex:0 0 6rem; }
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-row input { width:5rem!important; min-width:0!important; min-height:44px; }
html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-row select { width:9rem!important; max-width:100%; min-height:44px; }
html body [data-fds-provider-portal] form.fds-editor-ready .em-timeranges-preview-toggle {
 display:inline-block; padding:10px 0; min-height:44px; color:var(--fp-dark)!important; text-decoration:underline; text-underline-offset:3px;
}
html body [data-fds-provider-portal] form.fds-editor-ready .em-timeranges-preview-content { max-width:100%; overflow-wrap:anywhere; }
html body [data-fds-provider-portal] form.fds-editor-ready .event-form-submit input[type=submit],
html body [data-fds-provider-portal] form.fds-editor-ready .fds-provider-submit-button {
 width:auto; max-width:100%; white-space:normal; min-height:48px; padding:13px 20px!important; border-radius:10px;
 background:var(--fp-accent)!important; border:1px solid var(--fp-accent)!important; color:#211807!important;
 font-family:inherit!important; font-size:16px!important; line-height:1.5!important; font-weight:700!important; cursor:pointer;
}
html body [data-fds-provider-portal] form.fds-editor-ready :is(button,input[type=submit])[disabled] {
 cursor:not-allowed!important; opacity:.6!important; box-shadow:none!important;
}
html body [data-fds-provider-portal] form.fds-editor-ready .fds-upload-help {
 padding:16px; background:var(--fp-soft); border:1px solid var(--fp-border); border-radius:10px; margin:0 0 16px;
 font-size:14px; line-height:1.6; overflow-wrap:anywhere;
}
html body [data-fds-provider-portal] form.fds-editor-ready .fds-upload-help p { margin:8px 0!important; }
html body [data-fds-provider-portal] form.fds-editor-ready .filepond--root { max-width:100%; min-width:0; }
html body [data-fds-provider-portal] form.fds-editor-ready .filepond--file-info-main { white-space:normal; overflow-wrap:anywhere; }
html body [data-fds-provider-portal] form.fds-editor-ready :is(a,button,input,select,summary,[role=button]):focus-visible {
 outline:3px solid #916114!important; outline-offset:3px!important;
}
@media(max-width:680px){
 html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-sets .em-recurrence-set-data { padding:12px 10px; }
 html body [data-fds-provider-portal] form.fds-editor-ready .em-recurrence-pattern label.em-weekly-selector { width:100%!important; }
 html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-inputs label.inline { width:8rem!important; }
 html body [data-fds-provider-portal] form.fds-editor-ready .em-add-recurrence-set,
 html body [data-fds-provider-portal] form.fds-editor-ready .em-timerange-add,
 html body [data-fds-provider-portal] form.fds-editor-ready .event-form-submit input[type=submit] { width:100%; }
}
