.email-settings-tabs{display:flex;gap:4px;border-bottom:1px solid #dce3ec;flex-wrap:wrap}.email-settings-tabs{margin-bottom:20px}.email-settings-tabs button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 16px;color:#53667c;font-weight:600;cursor:pointer}.email-settings-tabs button svg{flex-shrink:0}.email-settings-tabs button[aria-selected=true]{color:#103887;border-bottom-color:#103887}.agreement-settings{background:#fff;padding:24px;min-width:0;color:#1e293b}.agreement-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.agreement-settings-heading>div{min-width:0}.agreement-settings-heading>button{width:auto;flex-shrink:0}.agreement-settings h2{font-size:21px;margin:0 0 6px}.agreement-settings h3{font-size:17px;margin:0 0 20px;display:flex;align-items:center;gap:9px}.agreement-settings button{white-space:normal}.agreement-settings input,.agreement-settings textarea,.agreement-settings select{max-width:100%;min-width:0}.agreement-settings input:not([type=checkbox]),.agreement-settings textarea,.agreement-settings select{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#1e293b;font:inherit}.agreement-settings label:not(.checkbox-row){display:flex;flex-direction:column;gap:8px;font-weight:600}.agreement-settings textarea{resize:vertical;line-height:1.6}.agreement-settings .checkbox-row{display:flex;align-items:flex-start;gap:10px;margin:12px 0}.agreement-settings .checkbox-row input{margin-top:3px;flex:0 0 auto}.agreement-settings fieldset{padding:0;margin:0;border:0;min-width:0}.agreement-settings-warning{padding:12px 16px;background:#fff8e9;color:#805315;margin:20px 0 0;border-left:3px solid #d9a239}.agreement-settings-warning summary,.agreement-sms-preview summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none}.agreement-settings-warning summary::-webkit-details-marker,.agreement-sms-preview summary::-webkit-details-marker{display:none}.agreement-settings-warning summary>svg,.agreement-sms-preview summary>svg{flex-shrink:0}.agreement-settings-warning summary>svg:last-child,.agreement-sms-preview summary>svg:last-child{margin-left:auto}.agreement-settings details[open]>summary>svg:last-child{transform:rotate(180deg)}.agreement-settings-warning ul{margin:8px 0 0;padding-left:18px;line-height:1.6}.agreement-settings-section{padding:24px 0;border-bottom:1px solid #e1e7ef}.agreement-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:850px}.agreement-settings-total{display:flex;gap:18px;flex-wrap:wrap;color:#53667c}.agreement-settings-total strong{color:#16734b}.agreement-sms-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#64748b;font-size:13px;margin-top:10px}.agreement-sms-preview{padding:14px 0 0;margin-top:14px;border-top:1px solid #e1e7ef;color:#475569}.agreement-sms-preview p{line-height:1.65;overflow-wrap:anywhere}.agreement-settings-email-action{padding:18px 0 0}.agreement-settings-stops{border-bottom:0}.agreement-sms-activation-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.agreement-sms-activation h3{margin-bottom:8px}.agreement-sms-activation .ghost-button{width:auto}.agreement-sms-status{font-size:14px;color:#69758a}.agreement-settings label.agreement-settings-switch{position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:12px;cursor:pointer;font-weight:600}.agreement-settings-switch input{position:absolute;opacity:0;width:46px;height:30px;left:0;margin:0}.agreement-settings-switch-track{display:inline-block;position:relative;width:46px;height:26px;flex:0 0 46px;border:1px solid #7b8795;border-radius:16px;background:#7b8795;pointer-events:none}.agreement-settings-switch-track:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff}.agreement-settings-switch input:checked+.agreement-settings-switch-track{background:#14805e;border-color:#14805e}.agreement-settings-switch input:checked+.agreement-settings-switch-track:after{transform:translate(20px)}.agreement-settings-switch input:focus-visible+.agreement-settings-switch-track{outline:2px solid #245ac1;outline-offset:3px}.agreement-settings-switch:has(input:disabled){opacity:.6;cursor:not-allowed}.agreement-sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.agreement-sms-message{min-width:0;padding:20px;border:1px solid #dce3ec;border-radius:6px}.agreement-sms-message>header{display:flex;align-items:center;gap:12px;min-height:48px;margin-bottom:18px}.agreement-sms-message>header>div{min-width:0}.agreement-sms-message h4{font-size:17px;margin:0 0 4px}.agreement-sms-message header .muted{font-size:13px}.agreement-sms-day{display:grid;place-items:center;flex:0 0 46px;height:40px;border-radius:4px;color:#16734b;background:#edf7f2;font-weight:700}.agreement-sms-message textarea{min-height:132px}.agreement-settings-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:24px}.agreement-settings-footer>button{width:auto}#communications-followup-panel[hidden],#communications-email-panel[hidden]{display:none}.agreement-settings :focus-visible,.email-settings-tabs :focus-visible{outline:2px solid #245ac1;outline-offset:3px}@media(max-width:1000px){.agreement-sms-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){.agreement-settings{padding:16px}.agreement-settings-heading{align-items:flex-start;flex-direction:column}.agreement-settings-fields{grid-template-columns:minmax(0,1fr);gap:18px}.agreement-settings h2{font-size:19px}.agreement-settings-total{gap:8px}.email-settings-tabs button{padding:10px}.agreement-sms-message{padding:14px}.agreement-settings-footer{align-items:flex-start;flex-direction:column}}.followup-health{margin:0 0 18px;padding:14px 16px;border:1px solid #dce5ee;border-left:4px solid #4f7e9f;border-radius:6px;background:#f7fafc}.followup-health.is-warning{border-left-color:#b54708;background:#fffaf2}.followup-health.is-danger{border-left-color:#b4233c;background:#fff7f8}.followup-health header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.followup-health h3,.followup-health p{margin:0}.followup-health p{margin-top:9px;font-size:13px;line-height:1.5}.followup-health header strong{font-size:13px;color:#365d79}.followup-health.is-warning header strong{color:#944f16}.followup-health.is-danger header strong{color:#a53440}.followup-health dl{display:flex;gap:16px 24px;flex-wrap:wrap;margin:14px 0 0}.followup-health dt{font-size:12px;color:#617082}.followup-health dd{margin:3px 0 0;font-size:18px;font-weight:700;color:#173954}@media(max-width:640px){.followup-health{padding:12px}.followup-health dl>div{flex:1 1 40%}}.message-template-editor{min-width:0;max-width:100%;width:100%;color:#263345}.message-template-editor [hidden]{display:none!important}.message-template-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.message-template-editor-label{font-size:14px;font-weight:600}.message-template-editor-tabs{display:flex;gap:2px;padding:3px;border:1px solid #d9e1eb;border-radius:6px;background:#f4f7fa}.message-template-editor .message-template-editor-tabs button{min-height:32px;padding:5px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:#566579;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.message-template-editor .message-template-editor-tabs button[aria-selected=true]{background:#fff;color:#234e85;border-color:#cbd8e9;font-weight:600}.message-template-editor [role=tabpanel]{border:1px solid #ccd7e4;border-radius:6px;overflow:hidden;background:#fff}.message-template-editor [role=tabpanel]:focus-within{border-color:#3972c3;box-shadow:0 0 0 2px #3972c322}.message-template-editor-toolbar{display:flex;gap:3px;flex-wrap:wrap;padding:6px 8px;border-bottom:1px solid #dce3ed;background:#f7f9fc}.message-template-editor .message-template-editor-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:32px;padding:6px;border:1px solid transparent;border-radius:4px;background:transparent;color:#41536b;cursor:pointer}.message-template-editor .message-template-editor-toolbar button:hover:not(:disabled){border-color:#c9d6e8;background:#e9eff8}.message-template-editor button:focus-visible{outline:2px solid #3972c3;outline-offset:2px}.message-template-editor button:disabled{opacity:.45;cursor:not-allowed}.message-template-editor-frame{display:block;width:100%;height:310px;border:0;background:#fff}.message-template-editor textarea{display:block;box-sizing:border-box;width:100%;min-height:150px;margin:0;padding:14px;border:0!important;border-radius:0!important;background:#fff;box-shadow:none!important;color:#263345;font:15px/1.6 system-ui,sans-serif;resize:vertical;overflow-wrap:anywhere}.message-template-editor textarea:disabled{background:#f5f7fa;color:#677489}.message-template-editor textarea.message-template-editor-source{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.message-template-editor .message-template-editor-hint{margin:7px 0 0;font-size:12px;line-height:1.5;font-weight:400;color:#68758a;overflow-wrap:anywhere}.message-template-editor-link{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border-bottom:1px solid #dce3ed;background:#f7f9fc}.message-template-editor-link label{width:100%;font-size:12px}.message-template-editor .message-template-editor-link input{min-width:120px;flex:1;padding:8px;border:1px solid #ccd7e4;border-radius:4px;font:inherit;font-size:13px}.message-template-editor .message-template-editor-link button{padding:7px 10px;border:1px solid #ccd7e4;border-radius:4px;background:#fff;color:#234e85;font-size:13px;cursor:pointer}.message-template-editor-link p{flex-basis:100%;margin:0;color:#ad3434;font-size:12px}#communications-email-panel{container-type:inline-size}@container (max-width:800px){#communications-email-panel .settings-layout{grid-template-columns:minmax(0,1fr)}#communications-email-panel .settings-layout>.panel{min-width:0}#communications-email-panel .settings-list{max-height:240px;overflow:auto}#communications-email-panel .panel-title p{overflow-wrap:anywhere}}@media(max-width:800px){#communications-email-panel .settings-layout{grid-template-columns:minmax(0,1fr)}#communications-email-panel .settings-layout>.panel{min-width:0}#communications-email-panel .settings-list{max-height:240px;overflow:auto}#communications-email-panel .panel-title p{overflow-wrap:anywhere}}@media(max-width:600px){.message-template-editor-heading{gap:8px}.message-template-editor-frame{height:340px}.message-template-editor-toolbar{gap:2px;padding:5px}.message-template-editor .message-template-editor-toolbar button{min-width:32px}.message-template-editor-link input{flex-basis:100%}}.followup-step-dialog{border:1px solid #d8e2f0;border-radius:18px;padding:0;width:min(1140px,94vw);max-height:92dvh;color:#17243c;background:#fff;box-shadow:0 24px 90px #0c23404d}.followup-step-dialog::backdrop{background:#13233a80}.followup-step-dialog>header,.followup-step-dialog>footer{display:flex;align-items:center;gap:14px;padding:20px 25px;background:#f7faff}.followup-step-dialog>header{justify-content:space-between;border-bottom:1px solid #dce5f1}.followup-step-dialog h2,.followup-step-dialog h3{margin:0}.followup-step-dialog header p{margin:6px 0 0;color:#596c87}.followup-step-dialog-content{padding:18px 25px;overflow:auto;max-height:calc(92dvh - 190px)}.followup-step-columns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:25px}.followup-step-columns section{min-width:0}.followup-step-columns h3{display:flex;gap:8px;align-items:center;margin:18px 0}.followup-step-columns label{display:grid;gap:8px;font-weight:600;margin-bottom:14px}.followup-step-columns textarea,.followup-step-columns input{box-sizing:border-box;width:100%;border:1px solid #cbd8e9;border-radius:9px;background:#fff;color:#17243c;padding:12px;font:inherit}.followup-step-columns textarea{resize:vertical;line-height:1.5;font-weight:400}.followup-step-columns input{font-weight:400}.followup-step-dialog .form-hint{line-height:1.5;color:#596c87}.followup-step-dialog>footer{border-top:1px solid #dce5f1;flex-wrap:wrap}.followup-step-dialog>footer>.primary-button{width:auto}.followup-step-dialog>footer>span{margin-right:auto}.followup-step-variables{display:flex;flex-wrap:wrap;gap:7px}.followup-step-variables code{font-size:12px;padding:4px;background:#eef4fd;border-radius:4px;overflow-wrap:anywhere}.parameter-plan-step{padding:9px 10px;margin:-9px -10px;text-align:left;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;cursor:pointer;width:calc(100% + 20px)}.parameter-plan-step:hover,.parameter-plan-step:focus-visible{background:#edf5ff;border-color:#c3d8f5}.parameter-plan .parameter-plan-step b{display:flex;align-items:center;justify-content:space-between;gap:10px}.parameter-plan-step .parameter-plan-edit{font-size:12px;font-weight:500;color:#0879be}.parameter-followup-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}@media(max-width:760px){.followup-step-columns{grid-template-columns:1fr}.followup-step-dialog>header,.followup-step-dialog>footer,.followup-step-dialog-content{padding:15px}.followup-step-dialog>footer>.primary-button{width:auto}.followup-step-dialog>footer>span{flex-basis:100%}.followup-step-dialog>footer button{flex:1}.followup-step-dialog-content{max-height:calc(92dvh - 225px)}}
