.fx-service-picker,.fx-service-add,.fx-services{min-width:0;max-width:100%;box-sizing:border-box}.fx-service-picker>select{width:100%;max-width:100%;min-width:0}.fx-service-link{display:inline-flex;align-items:center;gap:5px;background:none;border:0;color:var(--brand,#7c3aed);font:inherit;font-size:13px;font-weight:600;min-height:44px;padding:8px 0;cursor:pointer}.fx-service-add{margin:12px 0}.fx-service-add>label{display:block;font-size:13px;font-weight:600;color:var(--text-secondary,#51425f);margin-bottom:8px}.fx-service-add-row{display:flex;gap:8px;align-items:stretch;min-width:0}.fx-service-add-row>input{flex:1;width:0;min-width:0!important;max-width:100%;min-height:46px;padding:12px!important;border:1px solid var(--border,#e4dce9);border-radius:11px;font:inherit;font-size:16px!important;background:var(--bg-card,#fff);color:var(--text-primary,#342a40)}.fx-service-add-row>button,.fx-service-list button{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--border,#e4dce9);border-radius:10px;min-height:44px;padding:10px 13px;background:var(--bg-card,#fff);color:var(--text-primary,#342a40);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.fx-service-add-row>.fx-service-primary{background:var(--brand,#7c3aed);color:white;border-color:transparent}.fx-service-add-row>.fx-service-icon{width:44px;padding:8px}.fx-service-picker button:disabled,.fx-services button:disabled{opacity:.55;cursor:default}.fx-service-error{font-size:13px;color:#b42318;line-height:1.5;overflow-wrap:anywhere;margin:8px 0}.fx-service-error button{background:none;border:0;color:inherit;text-decoration:underline;font:inherit;min-height:44px;cursor:pointer}.fx-services{padding:24px}.fx-services>header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.fx-service-heading-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:13px;background:#f3edff;color:#7c3aed}.fx-services h2{margin:0 0 5px;font-size:20px}.fx-services header p,.fx-service-muted{margin:0;color:var(--text-muted,#8a7c96);font-size:13px;line-height:1.5}.fx-service-success{font-size:13px;color:#16804a}.fx-service-list{list-style:none;padding:0;margin:22px 0 16px}.fx-service-list li{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border,#eee8f3)}.fx-service-list li>svg{color:var(--brand,#7c3aed);flex-shrink:0}.fx-service-list li>div{flex:1;min-width:0}.fx-service-list strong{display:block;font-size:14px;overflow-wrap:anywhere}.fx-service-list span{display:block;font-size:12px;color:var(--text-muted,#8a7c96);margin-top:4px}.fx-service-list li.is-hidden strong{color:var(--text-muted,#8a7c96)}.fx-services :focus-visible,.fx-service-picker :focus-visible{outline:3px solid #a78bfa;outline-offset:2px}@media(max-width:600px){.fx-services{padding:18px}.fx-service-add-row{gap:6px}.fx-service-add-row>button{padding:10px}.fx-service-add-row>input{min-height:52px}.fx-service-list li{gap:8px}}

.jc-service{min-width:0}.jc-service>label{margin-bottom:7px}

.fx-create-contact{z-index:2301!important}.fx-contact-backdrop{z-index:2300!important}
.fx-contact-grid>div,.fx-contact-state-zip>div{min-width:0}.fx-contact-header,.fx-contact-footer{flex-shrink:0}.fx-contact-body{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.fx-create-contact button{touch-action:manipulation}.fx-create-contact .fx-contact-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px!important;border-radius:12px}.fx-create-contact .fx-contact-close:hover{background:var(--bg-hover,#f3f0f8)!important}
.fx-job-picker{min-width:0}.fx-job-picker-field{position:relative}.fx-job-picker-field>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8b7a9d;pointer-events:none}.fx-job-picker .fx-job-picker-field input{padding-left:44px}.fx-job-picker .fx-schedule-result{display:flex;align-items:center;gap:12px;min-height:68px;touch-action:pan-y}.fx-job-picker .fx-schedule-result[aria-selected=true]{background:var(--schedule-bg,#f6f1ff)}.fx-job-picker .fx-job-result-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--schedule-bg,#f3edff);color:var(--schedule-text,#7137ff);flex-shrink:0;margin:0}.fx-job-picker .fx-job-result-copy{flex:1;min-width:0;margin:0}.fx-job-picker .fx-job-result-copy strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.fx-job-picker .fx-job-result-copy>span{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.fx-job-picker .fx-schedule-result>svg{color:#9583a5;flex-shrink:0}.fx-job-picker .fx-job-selected{display:flex;align-items:center;gap:5px;color:var(--schedule-text,#7137ff);font-size:12px;margin-top:8px;font-weight:600}.fx-job-picker .fx-schedule-close{width:44px;height:44px}.fx-job-picker .fx-schedule-job{align-items:flex-start}
@media(max-width:600px){
 .fx-create-contact{top:calc(var(--fx-form-top,0px) + 8px)!important;transform:translateX(-50%)!important;width:calc(100vw - 16px)!important;max-width:580px!important;max-height:calc(var(--fx-form-height,100dvh) - 16px)!important;border-radius:20px!important;animation:none!important}
 .fx-create-contact .fx-contact-header{padding:14px 18px!important;gap:12px}.fx-create-contact .fx-contact-header h3{font-size:18px!important;line-height:1.3;gap:10px!important}.fx-contact-header h3>svg{width:23px;height:23px;flex-shrink:0}
 .fx-create-contact .fx-contact-body{padding:22px 18px 24px!important;scroll-padding:16px}.fx-create-contact .fx-contact-section-title{font-size:15px!important;line-height:1.4;padding-bottom:13px!important;margin-bottom:18px!important;gap:9px!important}.fx-contact-section-title>svg{width:20px;height:20px;flex-shrink:0}
 .fx-create-contact .fx-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}.fx-create-contact .fx-contact-customer-grid>div:nth-child(n+3){grid-column:1 / -1!important}.fx-create-contact .fx-contact-project-grid{grid-template-columns:minmax(0,1fr)!important}.fx-create-contact .fx-contact-state-zip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
 .fx-create-contact label{font-size:14px!important;font-weight:600!important;line-height:1.35;margin-bottom:8px!important}.fx-create-contact input,.fx-create-contact select,.fx-create-contact textarea{min-height:56px!important;font-size:16px!important;line-height:1.4!important;padding:15px 14px!important;border-radius:13px!important;box-sizing:border-box!important;width:100%;scroll-margin-block:20px;max-width:100%;background:var(--bg-card,#fff)}
 .fx-create-contact select{padding-right:32px!important}.fx-create-contact textarea{min-height:112px!important}.fx-create-contact input:focus,.fx-create-contact select:focus,.fx-create-contact textarea:focus{border-color:var(--brand,#7137ff)!important;box-shadow:0 0 0 3px #7137ff12}
 .fx-create-contact .fx-contact-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))!important;gap:10px!important;align-items:stretch;border-top:1px solid var(--border,#e4e7ec)}.fx-contact-footer .btn{min-height:54px!important;font-size:15px!important;border-radius:13px!important;padding:12px 14px!important}.fx-contact-footer .btn-primary{flex:1;white-space:normal;line-height:1.3}.fx-contact-footer .btn-ghost{min-width:72px}
 .fx-schedule-dialog{top:calc(var(--fx-form-top,0px) + 8px)!important;transform:translateX(-50%)!important;max-height:calc(var(--fx-form-height,100dvh) - 16px)!important;width:calc(100vw - 16px)!important}.fx-schedule-dialog .fx-schedule-header{flex-shrink:0}.fx-schedule-dialog .fx-schedule-fields{scroll-padding:10px;overscroll-behavior:contain}.fx-schedule-dialog .fx-schedule-input{font-size:16px!important;min-height:52px;border-radius:12px}.fx-schedule-dialog .fx-schedule-close{width:44px;height:44px;min-height:44px}.fx-schedule-dialog .fx-schedule-label{font-size:14px}.fx-schedule-dialog .fx-schedule-type{min-height:48px;font-size:13px!important}.fx-schedule-dialog .fx-schedule-save,.fx-schedule-dialog .fx-schedule-cancel{min-height:48px;font-size:14px!important}.fx-schedule-dialog .fx-schedule-time-choice{min-height:44px;font-size:14px!important}
 .fx-schedule-dialog .fx-job-picker .fx-schedule-results{position:relative;top:auto;left:auto;right:auto;margin-top:10px;max-height:min(280px,calc(var(--fx-form-height,100dvh) * .44))!important;box-shadow:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.fx-schedule-dialog .fx-job-picker .fx-schedule-result{padding:13px 12px;min-height:76px}.fx-schedule-dialog .fx-job-picker .fx-job-result-copy strong{font-size:16px}.fx-schedule-dialog .fx-job-picker .fx-job-result-copy>span{font-size:13px}.fx-schedule-dialog .fx-job-picker .fx-schedule-job strong{font-size:16px}.fx-schedule-dialog .fx-job-picker .fx-schedule-job p{font-size:13px}
 .fx-schedule-dialog:has(.fx-job-picker[data-open=true]) .fx-schedule-header{padding:12px 16px}.fx-schedule-dialog:has(.fx-job-picker[data-open=true]) .fx-schedule-header p,.fx-schedule-dialog:has(.fx-job-picker[data-open=true]) .fx-schedule-summary{display:none}.fx-schedule-dialog .fx-schedule-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:350px){.fx-create-contact .fx-contact-customer-grid{grid-template-columns:minmax(0,1fr)!important}.fx-create-contact .fx-contact-header h3{font-size:16px!important}}

@supports(overflow:clip){.fx-schedule-dialog .fx-schedule-form{overflow:clip}}


/* Keep calendar content inside the viewport; the fields scroll vertically. */
.fx-schedule-dialog{box-sizing:border-box;max-width:calc(100% - 16px);overscroll-behavior-x:none}
.fx-schedule-dialog .fx-schedule-form,.fx-schedule-dialog .fx-schedule-fields{min-width:0;width:100%;max-width:100%}
.fx-schedule-dialog .fx-schedule-fields{overflow-x:hidden!important;overflow-y:auto;min-height:0;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
.fx-schedule-dialog .fx-schedule-fields>*{min-width:0;max-width:100%}
.fx-schedule-dialog .fx-schedule-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.fx-schedule-dialog .fx-schedule-row>*,.fx-schedule-dialog .fx-schedule-control,.fx-schedule-dialog .fx-schedule-header>div{min-width:0;max-width:100%}
.fx-schedule-dialog .fx-schedule-input{max-width:100%;min-width:0;box-sizing:border-box}
.fx-schedule-dialog input[type=date],.fx-schedule-dialog input[type=time]{appearance:none;-webkit-appearance:none}
.fx-schedule-dialog input::-webkit-date-and-time-value{text-align:left;min-width:0}
.fx-schedule-dialog .fx-schedule-header h2,.fx-schedule-dialog .fx-schedule-header p,.fx-schedule-dialog .fx-schedule-summary{overflow-wrap:anywhere}
.fx-schedule-dialog .fx-schedule-results{overflow-x:hidden;overflow-y:auto;max-width:100%;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
.fx-schedule-dialog .fx-schedule-timing,.fx-schedule-dialog .fx-schedule-time-choices{min-width:0;max-width:100%}
.fx-schedule-dialog .fx-schedule-time-choice{white-space:normal;min-width:0}
@media(max-width:600px){
 .fx-schedule-dialog{left:8px!important;right:8px!important;width:auto!important;max-width:none!important;transform:none!important}
 .fx-schedule-dialog .fx-schedule-row{grid-template-columns:minmax(0,1fr)}
 .fx-schedule-dialog .fx-schedule-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px}
 .fx-schedule-dialog .fx-schedule-summary{grid-column:1/-1;min-width:0}
 .fx-schedule-dialog .fx-schedule-cancel{margin-left:0}.fx-schedule-dialog .fx-schedule-save,.fx-schedule-dialog .fx-schedule-cancel{width:100%;min-width:0;white-space:normal;padding:12px 8px!important}
}
