.calendar-operations-dialog{box-sizing:border-box;width:min(760px,96vw);max-height:94vh;overflow:auto;border:1px solid #d9e2f6;border-radius:22px;padding:0;color:#172e57;background:#fff;box-shadow:0 28px 90px #10234452;font:inherit}
.calendar-operations-dialog::backdrop{background:#1023428c;backdrop-filter:blur(3px)}
.calendar-operations-dialog *{box-sizing:border-box}
.calendar-operations-dialog [hidden]{display:none!important}
.calendar-operations-header{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 28px 18px;background:#fff;border-bottom:1px solid #e4eaf5}
.calendar-operations-header h2{margin:0 0 6px;font-size:28px;line-height:1.08}.calendar-operations-header p{margin:0;color:#687a99;font-size:13px}.calendar-operations-contact{display:flex;gap:7px;align-items:center;margin-top:7px!important}.calendar-operations-contact strong{color:#234573}.calendar-operations-kicker,.calendar-card-label{font-size:10px;font-weight:900;letter-spacing:.13em;color:#3564c8}
.calendar-operations-dialog button{font:inherit;cursor:pointer;border:1px solid #c8d6ef;border-radius:12px;padding:10px 15px;background:#eef4ff;color:#1e50ad;font-weight:800}.calendar-operations-dialog button:disabled{opacity:.5;cursor:not-allowed}
.calendar-operations-close{display:grid;place-items:center;width:42px;height:42px;padding:0!important;border-radius:50%!important;background:#fff!important;font-size:25px;font-weight:500!important}
.calendar-operations-status{min-height:0;margin:0;padding:0 28px;background:#fff;color:#526789;line-height:1.4}.calendar-operations-status:not(:empty){padding-top:11px;padding-bottom:11px;border-bottom:1px solid #e4eaf5}.calendar-operations-status[data-tone=success]{color:#17683b;background:#edfaf2}.calendar-operations-status[data-tone=warning]{color:#8a5708;background:#fff8e8}.calendar-operations-status[data-tone=error]{color:#9a2f35;background:#fff0f1}
.calendar-operations-nav{position:sticky;top:85px;z-index:3;display:flex;gap:8px;padding:12px 28px;background:#fff;border-bottom:1px solid #e1e8f3}.calendar-operations-nav button{padding:9px 16px;border-color:transparent;background:transparent;color:#667a9b}.calendar-operations-nav button[aria-pressed=true]{background:#eaf1ff;color:#164fb6}
.calendar-operations-dialog section{padding:24px 28px 30px}.calendar-operations-dialog h3{margin:4px 0 5px;font-size:21px}.calendar-operations-dialog h4{margin:20px 0 8px}.calendar-operations-dialog p{line-height:1.48;white-space:pre-wrap}
.calendar-confirmation-eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:#3564c8}
.calendar-handoff-layout{max-width:680px;margin:auto}.calendar-confirmation-form{display:grid;gap:15px;padding:20px;border:1px solid #dce5f4;border-radius:18px;background:#fff}
#calendarConfirmationConditional{display:grid;gap:15px}#calendarConfirmationConditional>[data-confirmation-fields]{display:grid;gap:15px}.calendar-confirmation-grid{display:grid;grid-template-columns:1fr;gap:13px}
.calendar-confirmation-field,.calendar-new-note label,.calendar-audio-upload-row label{display:block;margin:0;color:#405579;font-size:12px;font-weight:850}.calendar-operations-dialog select,.calendar-operations-dialog textarea,.calendar-operations-dialog input{display:block;width:100%;margin-top:7px;border:1px solid #c7d5ed;border-radius:12px;padding:12px 13px;background:#fff;color:#20335a;font:inherit}.calendar-operations-dialog textarea{resize:vertical;min-height:105px}.calendar-confirmation-field>small{display:block;margin-top:7px;color:#75839a;font-weight:500;line-height:1.4}
.calendar-important-update textarea{background:#fff}.calendar-confirmation-check{display:flex!important;align-items:center;gap:12px;margin:0!important;border:1px solid #dbe5f5;border-radius:14px;padding:13px 14px;background:#fff;color:#344b71}.calendar-confirmation-check input{flex:0 0 auto;width:19px!important;height:19px;margin:0!important}.calendar-confirmation-check span{display:grid;gap:2px}.calendar-confirmation-check strong{font-size:13px}.calendar-confirmation-check small{color:#71819b}
.calendar-sms-preview{border-left:4px solid #2e67dc;border-radius:10px;padding:12px 14px;background:#edf4ff}.calendar-sms-preview>span{font-size:9px;font-weight:900;letter-spacing:.11em;color:#3564c8}.calendar-sms-preview p{margin:5px 0 0;color:#334d77;font-size:12px}
.calendar-audio-gate{display:grid;gap:12px;border:1px solid #ccd9ef;border-radius:15px;padding:15px;background:#f8faff}.calendar-audio-gate-heading{display:flex;align-items:center}.calendar-audio-gate-heading strong{color:#203b69;font-size:14px}.calendar-audio-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.calendar-audio-upload-row button{margin-bottom:1px}.calendar-audio-gate-result{border-radius:11px;padding:9px 11px;font-size:12px;font-weight:800}.calendar-audio-gate-result.is-pending,.calendar-audio-gate-result.is-processing{background:#eef3fb;color:#546b8f}.calendar-audio-gate-result.is-valid{background:#dff6e8;color:#17683b}.calendar-audio-gate-result.is-review{background:#fff3d9;color:#835a0b}.calendar-audio-gate-result.is-invalid{background:#ffeaec;color:#96343a}.calendar-audio-gate-result.is-skipped{background:#fff3d9;color:#77520d}.calendar-audio-skip{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #dce5f3;padding-top:12px}.calendar-audio-skip span{display:grid;gap:3px;color:#415879;font-size:12px}.calendar-audio-skip small{color:#71819b;line-height:1.35}.calendar-audio-skip button[aria-pressed=true]{border-color:#d7b65b;background:#fff4d5;color:#76510b}.calendar-assignment-fields{display:grid;gap:15px;border-top:1px solid #e2e9f4;padding-top:15px}.calendar-operations-dialog #calendarConfirmationAudios article{margin:0;border:0;padding:0;background:transparent}.calendar-operations-dialog #calendarConfirmationAudios article p{margin:8px 0;color:#43597c;font-size:12px}.calendar-operations-dialog #calendarConfirmationAudios audio{height:36px;margin:0}.calendar-operations-dialog #calendarConfirmationAudios details{margin-top:8px;color:#53698b;font-size:12px}.calendar-operations-dialog #calendarConfirmationAudios blockquote{margin:8px 0}
.calendar-confirmation-note{margin:0;border-radius:12px;background:#f4f7fc;padding:13px 15px;color:#5f718f;font-size:13px}.calendar-confirmation-warning{background:#fff5df;color:#7e570e}
#calendarConfirmationSubmit{justify-self:start;border:0;background:linear-gradient(135deg,#2864ee,#2055bd);color:#fff;font-weight:900;padding:13px 20px;box-shadow:0 8px 18px #2864ee28}
.calendar-confirmation-toast{position:fixed;right:24px;bottom:24px;z-index:10050;display:flex;align-items:center;gap:12px;width:min(390px,calc(100vw - 32px));padding:15px 16px;border:1px solid #d5dfef;border-radius:15px;background:#fff;color:#21375d;box-shadow:0 18px 50px #14294b38;font:inherit}.calendar-confirmation-toast.hidden{display:none}.calendar-confirmation-toast-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;font-size:15px;font-weight:900}.calendar-confirmation-toast[data-tone=processing] .calendar-confirmation-toast-icon{border:3px solid #dbe6fa;border-top-color:#2864ee;animation:calendar-confirmation-spin .8s linear infinite}.calendar-confirmation-toast[data-tone=success]{border-color:#b8e4ca}.calendar-confirmation-toast[data-tone=success] .calendar-confirmation-toast-icon{background:#def6e8;color:#177141}.calendar-confirmation-toast[data-tone=success] .calendar-confirmation-toast-icon::before{content:'✓'}.calendar-confirmation-toast[data-tone=error]{border-color:#efc2c6}.calendar-confirmation-toast[data-tone=error] .calendar-confirmation-toast-icon{background:#ffeaec;color:#9a2f35}.calendar-confirmation-toast[data-tone=error] .calendar-confirmation-toast-icon::before{content:'!'}.calendar-confirmation-toast-message{font-size:13px;font-weight:800;line-height:1.4}.calendar-confirmation-toast-close{display:grid;place-items:center;margin-left:auto;border:0;border-radius:50%;width:30px;height:30px;padding:0;background:#eef3fa;color:#5a6f90;font:inherit;font-size:19px;cursor:pointer}.calendar-confirmation-toast-close[hidden]{display:none}@keyframes calendar-confirmation-spin{to{transform:rotate(360deg)}}
.calendar-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.calendar-history-view{max-width:820px;margin:auto}.calendar-handoff-history-item,.calendar-operations-dialog #calendarVisitNotes article{margin:10px 0;border:1px solid #dfe7f3;border-radius:15px;padding:14px 16px;background:#fff}.calendar-handoff-history-item>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.calendar-handoff-history-item p{margin:8px 0;color:#425979}.calendar-handoff-history-item small{color:#7888a1}.calendar-delivery-badge{border-radius:999px;padding:5px 8px;background:#eaf0fa;color:#55708f;font-size:9px;font-weight:900;text-transform:uppercase}.calendar-delivery-badge.is-delivered{background:#dcf5e6;color:#1f7444}.calendar-delivery-badge.is-failed,.calendar-delivery-badge.is-awaiting_connection{background:#fff0cf;color:#8a5d0b}
.calendar-new-note{margin-top:18px;border:1px solid #dce5f3;border-radius:15px;padding:14px 16px;background:#fff}.calendar-new-note summary{cursor:pointer;color:#2357b6;font-weight:850}.calendar-new-note form{display:grid;gap:14px;margin-top:16px}.calendar-operations-dialog audio{display:block;width:100%;margin-top:12px}.calendar-operations-dialog blockquote{margin-left:0;border-left:3px solid #386cea;padding-left:12px;white-space:pre-wrap}
.calendar-audio-gate{gap:16px;border:0;padding:0;background:transparent}.calendar-audio-gate-heading,.calendar-assignment-heading{display:flex;align-items:center;gap:11px}.calendar-audio-gate-heading>div{display:grid;gap:2px}.calendar-audio-gate-heading strong,.calendar-assignment-heading strong{font-size:17px;color:#183661}.calendar-audio-gate-heading small{font-size:12px;font-weight:500;color:#7486a1}.calendar-step-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#e6efff;color:#1e59c2;font-size:13px;font-weight:900}.calendar-audio-upload-row{display:block;position:relative}.calendar-audio-dropzone{display:grid!important;justify-items:center;gap:5px;padding:28px 16px!important;border:2px dashed #a8bfe9;border-radius:18px;background:linear-gradient(145deg,#f8fbff,#edf4ff);color:#234474!important;text-align:center;cursor:pointer}.calendar-audio-dropzone:hover,.calendar-audio-dropzone:focus-within{border-color:#346ce0;background:#eaf2ff}.calendar-audio-dropzone strong{font-size:16px}.calendar-audio-dropzone small{color:#7587a3;font-size:11px;font-weight:500}.calendar-audio-dropzone-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:4px;border-radius:16px;background:#dceaff;color:#275dc1;font-size:29px;box-shadow:0 7px 20px #285fc022}.calendar-audio-file-input{position:absolute;width:1px!important;height:1px!important;opacity:0;overflow:hidden;padding:0!important;margin:0!important;border:0!important}.calendar-audio-upload-row:focus-within .calendar-audio-dropzone{outline:3px solid #7fa7f6;outline-offset:2px}.calendar-audio-skip{justify-content:center;border:0;padding:0}.calendar-audio-skip button{border:0!important;background:transparent!important;padding:3px!important;color:#536b91!important;font-size:11px!important;font-weight:650!important;text-decoration:underline;text-underline-offset:3px}.calendar-audio-skip button:hover{color:#1e55bd!important}.calendar-assignment-fields{border-top:1px solid #e2e9f4;padding-top:19px}.calendar-audio-gate-result.is-processing{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #c9daf9;border-radius:15px;background:linear-gradient(120deg,#eef5ff,#f7f2ff);color:#244a95}.calendar-audio-gate-result.is-processing span:nth-child(2){display:grid;gap:3px}.calendar-audio-gate-result.is-processing strong{font-size:14px}.calendar-audio-gate-result.is-processing small{font-size:11px;font-weight:500;color:#62779a}.calendar-audio-analyzing-icon{display:flex;align-items:center;justify-content:center;gap:3px;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:#dceaff}.calendar-audio-analyzing-icon i{display:block;width:4px;height:15px;border-radius:5px;background:#3269da;animation:calendar-audio-wave 1s ease-in-out infinite}.calendar-audio-analyzing-icon i:nth-child(2),.calendar-audio-analyzing-icon i:nth-child(4){animation-delay:.15s}.calendar-audio-analyzing-icon i:nth-child(3){animation-delay:.3s}@keyframes calendar-audio-wave{0%,100%{height:8px}50%{height:26px}}.calendar-operations-dialog #calendarConfirmationAudios article{padding:2px 0}.calendar-operations-dialog #calendarConfirmationAudios audio{height:42px}.calendar-operations-dialog section.calendar-audio-transcript{padding:12px 0 0}.calendar-audio-transcript h4{margin:8px 0 11px!important;font-size:13px;color:#264675}.calendar-audio-turn{margin:7px 0;padding:11px 13px;border-radius:12px;background:#f5f8fd}.calendar-audio-turn strong{display:block;color:#2356b5;font-size:11px}.calendar-operations-dialog #calendarConfirmationAudios .calendar-audio-turn p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#314968}
.calendar-audio-skip button{white-space:nowrap}.calendar-audio-skip button span{display:inline!important}
@media(prefers-reduced-motion:reduce){.calendar-audio-analyzing-icon i{animation:none}}
@media(max-width:860px){.calendar-operations-nav{top:82px}}
@media(max-width:620px){.calendar-operations-dialog{width:100vw;max-height:100vh;border-radius:0}.calendar-operations-header,.calendar-operations-nav,.calendar-operations-dialog section{padding-left:16px;padding-right:16px}.calendar-operations-nav{top:79px;overflow-x:auto}.calendar-confirmation-grid,.calendar-audio-upload-row{grid-template-columns:1fr}.calendar-confirmation-form{padding:16px}.calendar-audio-upload-row button{justify-self:start}.calendar-audio-skip{align-items:stretch;flex-direction:column}.calendar-audio-skip button{align-self:start}.calendar-confirmation-toast{right:16px;bottom:16px}}
