.cm-password{display:flex;gap:8px;align-items:center}.cm-password input{flex:1;min-width:0}.cm-password .cm-button{font-size:11px}.cm-workspace{--cm-ink:#173d43;--cm-muted:#657b83;--cm-line:#dce7e8;--cm-accent:#087d76;color:var(--cm-ink);min-width:0;font-size:14px}.cm-workspace *{box-sizing:border-box}.cm-workspace h2,.cm-workspace h3,.cm-workspace h4,.cm-workspace p{margin:0}.cm-workspace button,.cm-workspace input,.cm-workspace select,.cm-workspace textarea{font:inherit}.cm-workspace button{cursor:pointer}.cm-workspace button:disabled{cursor:not-allowed;opacity:.5}.cm-workspace button:focus-visible,.cm-workspace input:focus-visible,.cm-workspace textarea:focus-visible,.cm-workspace select:focus-visible{outline:3px solid #6cc8c0;outline-offset:3px}.cm-head,.cm-pane-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.cm-head{padding:8px 0 20px}.cm-head h2{font-size:26px;line-height:1.2}.cm-head p:not(.cm-kicker){margin-top:7px;color:var(--cm-muted);line-height:1.5}.cm-kicker{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:var(--cm-accent);margin-bottom:6px!important}.cm-actions,.cm-composer-actions,.cm-template-row,.cm-upload{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cm-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #cfdedf;border-radius:10px;padding:10px 13px;background:#fff;color:var(--cm-ink);font-weight:650;line-height:1.35;min-height:42px;text-decoration:none}.cm-button.cm-primary{background:var(--cm-accent);border-color:var(--cm-accent);color:white}.cm-tabs{display:flex;gap:5px;padding:5px;background:#e9f0ee;border-radius:13px;width:max-content;max-width:100%;margin-bottom:18px}.cm-tabs .cm-button{border:0;background:transparent}.cm-tabs .cm-button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #193d3910}.cm-count{background:#dcefeb;padding:2px 7px;border-radius:12px;font-size:11px;color:#12695c}.cm-columns{display:grid;grid-template-columns:minmax(245px,.85fr) minmax(320px,1.65fr) minmax(220px,.7fr);gap:14px;height:calc(100dvh - 240px);min-height:520px;max-height:1000px}.cm-list,.cm-thread,.cm-context{border:1px solid var(--cm-line);background:#fff;border-radius:16px;overflow:hidden;min-width:0;min-height:0}.cm-list{display:flex;flex-direction:column}.cm-list-head{padding:16px;border-bottom:1px solid var(--cm-line);display:grid;gap:12px;flex-shrink:0}.cm-filter-row{display:flex;gap:8px;align-items:end}.cm-filter-row .cm-field{flex:1}.cm-filter-row .cm-button{font-size:11px;padding:8px;min-height:40px}.cm-field{display:grid;gap:6px;margin:0;font-size:12px;font-weight:650;min-width:0}.cm-field input,.cm-field select,.cm-field textarea{width:100%;min-width:0;border:1px solid #ccdadd;background:#fcfdfd;border-radius:9px;padding:10px 11px;color:#25464d;font-size:14px;font-weight:400;line-height:1.45}.cm-field textarea{resize:vertical;min-height:100px}.cm-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cm-more-filters{display:grid;gap:10px;max-height:320px;overflow:auto;padding:3px}.cm-check{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.5;cursor:pointer}.cm-check input,.cm-select-message input{appearance:auto;accent-color:var(--cm-accent);width:17px;height:17px;margin:2px 0;flex-shrink:0}.cm-check small{display:block;color:var(--cm-muted)}.cm-conversation-scroll{overflow:auto;padding:7px;flex:1;min-height:0;overscroll-behavior:contain}.cm-conversation{display:grid;gap:7px;padding:13px 11px;width:100%;text-align:left;border:1px solid transparent;border-radius:11px;background:#fff;color:var(--cm-ink);margin-bottom:5px;line-height:1.4}.cm-conversation:hover{background:#f3f8f7}.cm-conversation.is-selected{background:#eaf5f2;border-color:#9bcfc5}.cm-conversation-top{display:flex;gap:6px;align-items:baseline}.cm-conversation-top strong{flex:1;min-width:0;overflow-wrap:anywhere}.cm-conversation-top time{font-size:10px;color:var(--cm-muted);white-space:nowrap}.cm-unread{width:8px;height:8px;background:#087d76;border-radius:50%;flex-shrink:0}.cm-conversation-channel,.cm-conversation small{font-size:11px;color:var(--cm-muted)}.cm-snippet{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:#4e6871;overflow-wrap:anywhere}.cm-conversation-foot{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:var(--cm-muted)}.cm-status,.cm-tag{display:inline-flex;align-items:center;border-radius:8px;background:#eef3f4;padding:4px 7px;font-size:10px;font-weight:650;line-height:1.3;white-space:normal}.cm-status-warning{background:#fff0d8;color:#815814}.cm-thread{display:flex;flex-direction:column}.cm-pane-head{padding:16px;border-bottom:1px solid var(--cm-line);flex-shrink:0}.cm-pane-head h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.cm-pane-head p{font-size:11px;color:var(--cm-muted);margin-top:4px}.cm-pane-head .cm-button{font-size:11px;padding:8px 10px;min-height:36px}.cm-timeline{flex:1;min-height:120px;overflow:auto;padding:18px;background:#f6f9f8;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px}.cm-message{padding:15px;border:1px solid #dce7e5;background:#fff;border-radius:13px;max-width:100%;flex-shrink:0}.cm-message.cm-outgoing{background:#eef8f4;border-color:#cfe5dc}.cm-note{background:#fff8e7!important;border-color:#ead8aa!important}.cm-message header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cm-message-person{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.cm-message-person strong{font-size:12px;overflow-wrap:anywhere}.cm-message time{font-size:10px;color:var(--cm-muted);white-space:nowrap}.cm-addresses{font-size:10px!important;color:var(--cm-muted);margin-top:8px!important;overflow-wrap:anywhere}.cm-message h4{font-size:14px;margin-top:13px!important}.cm-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px;margin:11px 0}.cm-message footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.cm-message footer small{color:var(--cm-muted);font-size:10px}.cm-message footer .cm-button{margin-left:auto;min-height:32px;padding:6px 9px;font-size:11px}.cm-internal-label{font-size:12px!important;color:#7c5e20;font-weight:650;margin:9px 0!important}.cm-events{font-size:11px;color:var(--cm-muted);margin-top:12px}.cm-events summary{cursor:pointer;padding:5px 0}.cm-events ol{padding-left:17px;display:grid;gap:7px}.cm-context{overflow:auto;padding-bottom:14px;overscroll-behavior:contain}.cm-context section{padding:16px;border-bottom:1px solid var(--cm-line);display:grid;gap:12px}.cm-context section:last-child{border:0}.cm-context h4{font-size:12px}.cm-contact,.cm-booking{display:grid;gap:5px;font-size:12px;overflow-wrap:anywhere}.cm-contact span,.cm-booking span{color:#58717a}.cm-contact small,.cm-booking small{color:var(--cm-muted);font-size:10px}.cm-booking+.cm-booking{border-top:1px solid var(--cm-line);padding-top:13px}.cm-booking .cm-button{font-size:11px;justify-self:start;min-height:34px;padding:7px 10px}.cm-muted{font-size:12px;color:var(--cm-muted);line-height:1.6}.cm-composer{padding:16px;display:grid;gap:12px;border-top:1px solid var(--cm-line);background:#fff;max-height:51%;overflow:auto;flex-shrink:0;overscroll-behavior:contain}.cm-composer-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cm-composer-tabs .cm-button{padding:7px 10px;font-size:11px;min-height:34px}.cm-composer-tabs .cm-button[aria-pressed=true]{background:#e9f4ef;border-color:#6eb3a4}.cm-draft-label{margin-left:auto;color:var(--cm-muted);font-size:10px}.cm-composer-actions{justify-content:flex-end}.cm-composer-actions .cm-button{font-size:12px}.cm-copy-fields{font-size:11px;color:var(--cm-muted)}.cm-copy-fields summary{cursor:pointer;margin-bottom:7px}.cm-binding{font-size:11px;color:#397363;padding:8px 10px;background:#eef6f2;border-radius:8px}.cm-upload{font-size:11px;color:var(--cm-muted)}.cm-upload .cm-button{position:relative;font-size:12px;cursor:pointer;overflow:hidden}.cm-file-input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.cm-uploaded{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.cm-attachments{list-style:none;padding:0;display:grid;gap:8px}.cm-attachments li{display:grid;gap:4px}.cm-attachments .cm-button{justify-self:start;text-align:left;overflow-wrap:anywhere;font-size:11px}.cm-attachments small{font-size:10px;color:var(--cm-muted)}.cm-empty{padding:35px 18px;text-align:center;color:var(--cm-muted);line-height:1.6}.cm-empty strong{color:#385b62;display:block;margin-bottom:7px}.cm-empty p{font-size:12px}.cm-hint,.cm-error{padding:12px 14px;background:#edf5f5;border-radius:10px;font-size:12px;line-height:1.6;margin:0 0 14px!important;overflow-wrap:anywhere}.cm-warning{background:#fff4de;color:#79591e}.cm-error{background:#fff0ec;color:#993e2b;border:1px solid #efbcb0;font-weight:650}.cm-selection{position:sticky;bottom:0;background:#fff;border:1px solid #acd2c8;border-radius:10px;padding:9px 12px;display:flex;gap:12px;align-items:center;font-size:12px;box-shadow:0 4px 20px #264d421a}.cm-scheduled{display:grid;gap:9px;border:1px solid var(--cm-line);padding:15px;border-radius:12px;background:#fff}.cm-scheduled>div{display:grid;gap:6px;font-size:12px}.cm-scheduled span{color:var(--cm-muted)}.cm-settings{padding:22px;border:1px solid var(--cm-line);border-radius:16px;background:white;display:grid;gap:20px}.cm-settings .cm-pane-head{padding:0 0 16px}.cm-channel-grid,.cm-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cm-channel-card{border:1px solid var(--cm-line);border-radius:13px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0}.cm-channel-card h4{font-size:16px}.cm-channel-card p{font-size:12px;line-height:1.6}.cm-channel-card>div{display:grid;gap:6px}.cm-overlay{position:fixed;inset:0;background:#193c4a66;z-index:2400;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.cm-dialog{width:min(720px,100%);max-height:90dvh;display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 80px #12303944;overflow:hidden}.cm-dialog>header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--cm-line)}.cm-dialog>header h3{font-size:19px}.cm-dialog-scroll{padding:23px;overflow:auto;min-height:0;display:grid;gap:16px}.cm-dialog form{display:grid;gap:16px}.cm-dialog .cm-actions{justify-content:flex-end}.cm-dialog .cm-hint{margin:0!important}.cm-review{display:grid;grid-template-columns:145px 1fr;gap:8px 15px;font-size:12px;margin:0}.cm-review dt{color:var(--cm-muted)}.cm-review dd{margin:0;overflow-wrap:anywhere}.cm-review-body{border:1px solid var(--cm-line);background:#f7faf8;padding:16px;border-radius:11px;max-height:300px;overflow:auto}.cm-fieldset{border:1px solid var(--cm-line);border-radius:10px;padding:12px;display:grid;gap:7px;font-size:12px}.cm-suggestions,.cm-booking-targets{display:grid;gap:9px}.cm-booking-targets{max-height:280px;overflow:auto}.cm-booking-targets .cm-check{padding:10px;border:1px solid var(--cm-line);border-radius:9px}.cm-booking-host{position:fixed;inset:0;z-index:1800;padding:22px;background:#193c4a66;display:flex;justify-content:center;align-items:center;backdrop-filter:blur(3px)}.cm-booking-host:empty{display:none}.cm-booking-host>.cm-workspace{background:#f8fbfa;border-radius:19px;overflow:hidden;width:min(1260px,100%);height:94dvh;display:flex;flex-direction:column;padding:20px;box-shadow:0 24px 80px #12303944}.cm-booking-mode .cm-columns{grid-template-columns:minmax(0,1fr) 270px;height:auto;min-height:0;max-height:none;flex:1}.cm-booking-mode .cm-head{flex-shrink:0}.cm-booking-mode>.cm-error,.cm-booking-mode>.cm-hint{flex-shrink:0}.cm-mobile{display:none}.cm-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1200px){.cm-columns{grid-template-columns:270px minmax(0,1fr)}.cm-context{display:none}.cm-workspace[data-cm-screen=context] .cm-thread{display:none}.cm-workspace[data-cm-screen=context] .cm-context{display:block}.cm-workspace[data-cm-screen=context] .cm-context .cm-mobile{display:inline-flex}.cm-booking-mode .cm-columns{grid-template-columns:minmax(0,1fr)}.cm-context section{max-width:650px}.cm-message header{flex-wrap:wrap}}
@media(max-width:700px){.cm-head{align-items:flex-start;gap:10px}.cm-head h2{font-size:22px}.cm-head p:not(.cm-kicker){font-size:12px}.cm-head>.cm-actions{flex-direction:column;align-items:stretch;flex-shrink:0}.cm-head .cm-button{font-size:11px;padding:8px 10px}.cm-tabs{width:100%}.cm-tabs .cm-button{flex:1;font-size:12px;padding:8px}.cm-columns{display:block;height:calc(100dvh - 215px);min-height:460px}.cm-list,.cm-thread,.cm-context{height:100%;width:100%}.cm-thread,.cm-context{display:none}.cm-workspace[data-cm-screen=thread] .cm-list,.cm-workspace[data-cm-screen=context] .cm-list{display:none}.cm-workspace[data-cm-screen=thread] .cm-thread,.cm-workspace[data-cm-screen=context] .cm-context{display:flex}.cm-workspace[data-cm-screen=context] .cm-context{display:block}.cm-workspace[data-cm-screen=context] .cm-thread{display:none}.cm-mobile{display:inline-flex}.cm-pane-head{padding:12px;align-items:flex-start}.cm-pane-head h3{font-size:14px;margin-top:7px}.cm-pane-head .cm-actions{justify-content:flex-end;gap:5px;max-width:42%}.cm-pane-head .cm-button{font-size:10px;padding:7px;min-height:34px}.cm-timeline{padding:11px;gap:11px}.cm-message{padding:12px}.cm-message-text{font-size:13px}.cm-message header{gap:5px}.cm-message time{font-size:10px}.cm-pair{grid-template-columns:1fr}.cm-composer{padding:12px;max-height:52%}.cm-composer-tabs{gap:5px}.cm-composer-tabs .cm-button{font-size:11px}.cm-composer-actions{align-items:stretch}.cm-composer-actions .cm-button{flex:1;font-size:11px}.cm-settings{padding:15px}.cm-channel-grid,.cm-template-grid{grid-template-columns:1fr}.cm-overlay{padding:12px}.cm-dialog{max-height:96dvh;border-radius:15px}.cm-dialog>header{padding:15px}.cm-dialog>header h3{font-size:17px}.cm-dialog-scroll{padding:15px}.cm-review{grid-template-columns:1fr;gap:4px}.cm-review dd{margin-bottom:9px}.cm-booking-host{padding:0}.cm-booking-host>.cm-workspace{padding:12px;border-radius:0;height:100dvh}.cm-booking-mode .cm-columns{min-height:0;flex:1}.cm-booking-mode .cm-head{padding-bottom:12px}.cm-filter-row .cm-button{min-height:42px}.cm-field input,.cm-field select,.cm-field textarea{font-size:16px}}

.cm-automation-preview{max-height:350px;overflow:auto;border:1px solid #dce7e8;border-radius:10px}.cm-automation-preview table{border-collapse:collapse;width:100%;font-size:12px}.cm-automation-preview th,.cm-automation-preview td{text-align:left;padding:10px;border-bottom:1px solid #e0e8e8}.cm-automation-preview small{display:block;color:#79591e}.cm-tabs{flex-wrap:wrap}

.cm-compose-fields{display:contents;border:0;margin:0;padding:0;min-width:0}@media(min-width:1201px){.cm-context-button{display:none}}
.cm-template-filters{margin:18px 0}.cm-template-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cm-template-grid .cm-channel-card{display:flex;flex-direction:column;gap:8px;min-width:0}.cm-template-grid .cm-channel-card>button{align-self:flex-start;margin-top:auto}.cm-template-grid .cm-channel-card h4{overflow-wrap:anywhere}.cm-dialog-scroll>[data-cm-action="apply-template"]{display:flex;width:100%;justify-content:flex-start;text-align:left;margin:8px 0;min-height:44px}.cm-template-languages .cm-check{min-height:44px;padding:8px;border:1px solid #d5e2e3;border-radius:10px;background:#fff}.cm-template-languages input{accent-color:#087f7a}@media(max-width:700px){.cm-template-languages{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-settings>.cm-pane-head{flex-wrap:wrap}.cm-settings>.cm-pane-head>.cm-actions{max-width:none;width:100%;justify-content:flex-start}}

.cm-rule-advanced{border:1px solid var(--cm-line);border-radius:12px;padding:14px;margin:16px 0}.cm-rule-advanced summary{cursor:pointer;font-weight:650;min-height:32px}.cm-rule-advanced>.cm-pair{margin-top:14px}.cm-automation-preview td{vertical-align:top;overflow-wrap:anywhere}.cm-automation-preview details{margin:8px 0}.cm-automation-preview .cm-message-text{max-width:430px;padding:10px;background:#f3f8f7;white-space:pre-wrap}

.cm-property-settings .cm-overlay{z-index:2500}.cm-property-settings .cm-dialog{width:min(760px,100%)}

/* Template library: shared grouped selection on desktop and phones. */
.cm-template-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.cm-template-category{margin-block:20px}.cm-template-category>h4{margin-bottom:10px;font-size:15px}.cm-template-choices{display:grid;gap:8px}.cm-template-choices .cm-button{width:100%;justify-content:flex-start;text-align:left;overflow-wrap:anywhere}.cm-template-library-groups{display:grid;gap:10px}.cm-template-library-groups details{margin:0}.cm-template-library-groups summary{cursor:pointer;min-height:36px;display:list-item;align-content:center;font-weight:650}.cm-template-library-groups ul{margin:10px 0 0;padding-left:20px;line-height:1.7}@media(max-width:700px){.cm-template-filters{grid-template-columns:1fr}.cm-template-category{margin-block:16px}.cm-template-choices .cm-button{min-height:46px}}

.cm-rule-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0}.cm-rule-progress>div{display:flex;justify-content:space-between;gap:10px;padding:7px 10px;background:#f3f8f7;border-radius:7px;font-size:12px}.cm-rule-progress dd{margin:0;font-weight:700}.cm-booking-plan>.cm-pane-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}.cm-booking-plan .cm-actions{display:flex;flex-wrap:wrap;gap:8px}.cm-password{display:flex;align-items:center;gap:8px;min-width:0}.cm-password input{min-width:0;flex:1}
@media(max-width:600px){.cm-automation-preview table,.cm-automation-preview tbody,.cm-automation-preview tr,.cm-automation-preview td{display:block;width:100%;box-sizing:border-box}.cm-automation-preview thead{display:none}.cm-automation-preview tr{padding:10px;border-bottom:2px solid var(--cm-line)}.cm-automation-preview td{padding:6px 0;border:0}.cm-automation-preview td::before{display:block;font-size:11px;color:var(--cm-muted);margin-bottom:3px}.cm-automation-preview td:nth-child(1)::before{content:"Auswahl"}.cm-automation-preview td:nth-child(2)::before{content:"Buchung"}.cm-automation-preview td:nth-child(3)::before{content:"Zeitpunkt"}.cm-automation-preview td:nth-child(4)::before{content:"Empfänger"}.cm-automation-preview td:nth-child(5)::before{content:"Nachricht und Ergebnis"}.cm-automation-preview .cm-message-text{max-width:100%;overflow-wrap:anywhere}.cm-booking-plan .cm-button{white-space:normal}.cm-rule-progress{grid-template-columns:1fr}}

.cm-automation-preview table{min-width:0;table-layout:fixed}.cm-automation-preview th:first-child{width:65px}.cm-automation-preview th:nth-child(2){width:95px}.cm-automation-preview th:nth-child(3){width:95px}.cm-automation-preview td{white-space:normal}.cm-automation-preview td .cm-message-text{box-sizing:border-box;max-width:100%}@media(max-width:600px){.cm-automation-preview table,.cm-automation-preview tbody,.cm-automation-preview tr,.cm-automation-preview td{min-width:0;max-width:100%}.cm-automation-preview tr{padding:10px}}

/* Template dialogs: consistent field rhythm, readable text and contained scrolling. */
.cm-dialog[data-cm-dialog="TEMPLATE"]{width:min(900px,100%)}
.cm-dialog[data-cm-dialog="STARTER_LIBRARY"],.cm-dialog[data-cm-dialog="CHOOSE_TEMPLATE"]{width:min(860px,100%)}
.cm-dialog>header{flex-shrink:0;background:#fff}
.cm-dialog>header>.cm-button{flex:0 0 42px;width:42px;height:42px;padding:0;font-size:21px}
.cm-dialog-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#a5bfbe transparent}
.cm-dialog .cm-field{align-content:start;gap:8px;line-height:1.45}
.cm-dialog .cm-pair{align-items:start;column-gap:20px;row-gap:20px}
.cm-dialog .cm-field>small{font-size:12px;font-weight:400;color:#5c737a;line-height:1.6}
.cm-dialog .cm-field input:not([type="checkbox"]),.cm-dialog .cm-field select{min-height:46px}
.cm-workspace .cm-field select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b787c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:40px;text-overflow:ellipsis;cursor:pointer}
.cm-workspace .cm-field select:hover{border-color:#86b2ad}
.cm-workspace .cm-field select:disabled{cursor:not-allowed;background-color:#f0f4f4}
.cm-template-editor{gap:24px!important}
.cm-editor-section{display:grid;gap:20px;padding:22px;border:1px solid #dce7e8;border-radius:14px;background:#fff;min-width:0}
.cm-editor-section>h4{font-size:15px!important;line-height:1.4;padding-bottom:12px;border-bottom:1px solid #e7eeee}
.cm-field-wide{grid-column:1/-1}
.cm-template-editor textarea[name="text"]{min-height:280px;padding:16px;line-height:1.75}
.cm-template-editor .cm-fieldset{padding:16px;gap:12px;line-height:1.6}
.cm-template-editor .cm-fieldset>p+p{margin-top:10px}
.cm-template-editor details>summary{cursor:pointer;font-weight:650;min-height:30px;line-height:1.5}
.cm-template-editor>.cm-actions{position:sticky;bottom:-23px;background:#fff;padding:16px 0 8px;margin-top:0;border-top:1px solid #dce7e8;z-index:2}
.cm-dialog[data-cm-dialog="CHOOSE_TEMPLATE"] .cm-template-filters{position:sticky;top:-23px;background:#fff;padding:16px 0;margin:0;z-index:1;border-bottom:1px solid #e7eeee}
.cm-dialog .cm-template-choices .cm-button{padding:14px 16px;line-height:1.5;background:#fff}
.cm-dialog .cm-template-choices .cm-button:hover{background:#f0f8f6;border-color:#8cbcb4}
.cm-dialog .cm-template-library-groups details{padding:14px 16px;border:1px solid #dce7e8;border-radius:12px;background:#fff}
.cm-dialog .cm-template-library-groups summary{line-height:1.5}
@media(max-width:700px){
 .cm-editor-section{padding:16px;gap:17px;border-radius:12px}
 .cm-dialog .cm-pair{row-gap:17px}
 .cm-template-editor textarea[name="text"]{min-height:240px;padding:12px}
 .cm-template-editor>.cm-actions{bottom:-15px;padding:12px 0 6px;display:grid;grid-template-columns:1fr 1fr}
 .cm-template-editor>.cm-actions .cm-button{min-height:46px;white-space:normal;padding:10px}
 .cm-dialog[data-cm-dialog="CHOOSE_TEMPLATE"] .cm-template-filters{position:static;padding:0 0 16px}
 .cm-dialog .cm-template-languages{gap:10px}
}
@media(forced-colors:active){.cm-workspace .cm-field select{appearance:auto;background-image:none}}

/* Template channels share a compact, aligned filter row. */
.cm-template-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.cm-template-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cm-template-filters{grid-template-columns:minmax(0,1fr)}}

/* Object guest information: distinct sections, stable actions and readable labels. */
.cm-property-settings .cm-dialog{width:min(860px,100%);max-height:94dvh}
.cm-property-settings .cm-dialog-scroll{background:#f6f9f8;gap:20px;padding:22px 24px}
.cm-property-settings .cps-source,.cm-property-settings .cps-card{border:1px solid var(--cm-line);border-radius:14px;background:#fff;padding:20px;display:grid;gap:18px;min-width:0}
.cm-property-settings .cps-source{background:#edf5f3;gap:13px}
.cm-property-settings .cps-source h4,.cm-property-settings .cps-section-heading h4{font-size:16px;line-height:1.4}
.cm-property-settings .cm-review{font-size:14px;line-height:1.55;grid-template-columns:140px minmax(0,1fr);gap:9px 18px}
.cm-property-settings .cps-section-heading{display:grid;gap:5px}
.cm-property-settings .cps-section-heading p,.cm-property-settings .cps-intro{font-size:13px;line-height:1.6;color:var(--cm-muted)}
.cm-property-settings .cm-field{font-size:13px;gap:8px}
.cm-property-settings .cm-field small{font-size:12px;line-height:1.5;color:var(--cm-muted);font-weight:400}
.cm-property-settings .cm-field textarea{min-height:112px}
.cm-property-settings form{gap:20px}
.cm-property-settings .cm-hint{font-size:13px;line-height:1.55}
.cm-property-settings .cps-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 24px;border-top:1px solid var(--cm-line);background:#fff}
.cm-property-settings .cps-footer>span{font-size:12px;color:var(--cm-muted);line-height:1.5;max-width:200px}
.cm-property-settings .cps-footer .cm-actions{flex-wrap:nowrap}
@media(max-width:700px){.cm-property-settings .cm-overlay{padding:8px}.cm-property-settings .cm-dialog{max-height:calc(100dvh - 16px)}.cm-property-settings .cm-dialog-scroll{padding:16px;gap:16px}.cm-property-settings .cps-source,.cm-property-settings .cps-card{padding:16px;gap:15px}.cm-property-settings .cm-review{grid-template-columns:1fr;gap:3px}.cm-property-settings .cm-review dd{margin-bottom:9px}.cm-property-settings .cps-footer{padding:12px 16px;display:grid;gap:8px}.cm-property-settings .cps-footer>span{max-width:none}.cm-property-settings .cps-footer .cm-actions{display:grid;grid-template-columns:auto 1fr;gap:8px}.cm-property-settings .cps-footer .cm-button{font-size:13px;padding:10px}.cm-property-settings .cm-dialog>header{align-items:flex-start}.cm-property-settings .cm-dialog>header>.cm-button{font-size:12px;flex-shrink:0}}

.cm-suggestions [data-cm-action="recipient"]{text-align:left;justify-content:flex-start}.cm-suggestions [data-cm-action="recipient"] span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.cm-suggestions [data-cm-action="recipient"] small{font-size:12px;font-weight:400;color:var(--cm-muted)}

.cm-property-settings .cm-dialog>header{gap:20px;align-items:flex-start;padding:22px 24px}.cm-property-settings .cm-dialog>header>div{min-width:0}.cm-property-settings .cm-dialog>header h3,.cm-property-settings .cm-dialog>header .cm-kicker{overflow-wrap:anywhere}.cm-property-settings .cm-dialog>header>.cps-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;border-radius:12px;border:1px solid #cfdfd8;background:#fff;color:#31594f}.cps-close svg{display:block;flex:none}.cm-property-settings .cm-dialog>header>.cps-close:hover{background:#e7f2ec;border-color:#7fa998}.cm-property-settings .cm-dialog>header>.cps-close:focus-visible{outline:3px solid #08796d;outline-offset:3px}@media(max-width:700px){.cm-property-settings .cm-dialog>header{padding:18px 16px;gap:14px}}
