/* v0.5 — custom quick questions, bounded scrolling, explicit red input label. */
.easy-customer .composer-label label{color:#bd201c;font-weight:800;font-size:21px;line-height:1.35;cursor:text}
.easy-customer .composer-label label::before{content:'✎ ';font-weight:700}
.easy-customer .composer-label{margin-bottom:9px}
.easy-customer .quick-scroll{max-height:126px;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#6c979f #e6eef0;align-content:start;padding:2px 9px 2px 2px;margin-top:10px;gap:8px}
.easy-customer .quick-scroll::-webkit-scrollbar{width:12px}
.easy-customer .quick-scroll::-webkit-scrollbar-track{background:#e6eef0;border-radius:10px}
.easy-customer .quick-scroll::-webkit-scrollbar-thumb{background:#6c979f;border:2px solid #e6eef0;border-radius:10px}
.easy-customer .quick-scroll button{min-height:48px;overflow-wrap:anywhere;white-space:normal;flex-shrink:0}
.easy-customer .quick-title{display:block;font-size:19px;overflow-wrap:anywhere;margin-bottom:4px}
.easy-customer .quick-description{font-size:14px;margin:0;line-height:1.5;overflow-wrap:anywhere}
.quick-scroll-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px;font-size:12px;color:#526a76}
.quick-scroll-actions{display:flex;flex-shrink:0;gap:5px}
.quick-scroll-actions button{border:1px solid #aac4ce;border-radius:7px;padding:4px 7px;min-height:32px;font-size:13px;background:#f4f9fa;color:#274e5c}
.quick-scroll-actions button:disabled{opacity:.45}
.easy-customer .quick-picker .quick-scroll{max-height:min(48vh,360px);margin-top:14px}
.quick-picker-body{min-width:0}.quick-picker-body .quick-title{font-size:19px}
.message.automatic .message-meta{color:#576472;font-size:13px;font-weight:600}
.message.automatic .bubble{background:#f2f5f8;border-color:#c7d3df;color:#294054;border-left:3px solid #7b94a7}
#quickSettingsBtn{border-color:#168c82;background:#eaf7f3;color:#066a61;font-weight:700}
.quick-settings-modal{max-width:940px!important;width:100%;max-height:92vh!important;display:flex;flex-direction:column;padding:24px!important;overflow:hidden!important}
.quick-settings-modal .modal-head{flex-shrink:0}.quick-settings-intro{font-size:14px;color:#516674;line-height:1.6;margin:4px 0 12px;flex-shrink:0}
.quick-settings-body{flex:1;min-height:0;overflow-y:auto;padding-right:8px;overscroll-behavior:contain;scrollbar-gutter:stable}
.quick-settings-general{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f0f8f6;border:1px solid #bddad3;border-radius:12px}
.quick-settings-general>.check-line{grid-column:1/-1;font-size:16px}
.quick-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;color:#36505d}
.quick-field span{font-weight:650}.quick-field input,.quick-field textarea{width:100%;min-height:42px;padding:10px 12px;background:white;border:1px solid #a8bec8;border-radius:8px;color:#173442;font-size:16px;line-height:1.5;box-sizing:border-box}
.quick-field textarea{resize:vertical;min-height:70px;max-height:280px}
.quick-settings-modal :focus-visible,.quick-picker :focus-visible{outline:3px solid #197dbc;outline-offset:2px}
.quick-edit-bar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:1;background:#fff;padding:14px 0 10px;border-bottom:1px solid #dce7eb}
.quick-count{font-size:13px;color:#607782}.quick-edit-bar>button{margin-left:auto;min-height:42px}
.quick-edit-list{display:grid;gap:12px;padding:12px 0}
.quick-edit-item{padding:15px;border:1px solid #becfd8;border-radius:12px;background:#fbfdfe;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quick-edit-item>.quick-field:last-child{grid-column:1/-1}
.quick-edit-top{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.quick-edit-top>strong{font-size:16px;color:#193f4e}.quick-edit-actions{display:flex;gap:6px;margin-left:auto}
.quick-edit-actions button{min-height:36px;padding:5px 10px;font-size:14px}.quick-delete{color:#a82a28!important}
.quick-settings-modal input[type=checkbox]{width:20px;height:20px;accent-color:#087f79;flex-shrink:0}
.quick-settings-status{flex-shrink:0;font-size:14px;color:#4c675e;background:#eff8f3;border:1px solid #c7dfd3;padding:10px 12px;border-radius:9px;margin-top:12px;line-height:1.5}
.quick-settings-status[data-tone=error]{color:#9e2327;background:#fff2f2;border-color:#e6b5b6}
.quick-settings-footer{flex-shrink:0;flex-wrap:wrap;margin-top:12px;gap:8px}
.quick-settings-footer button{min-height:44px;padding:8px 16px;font-size:15px}
.quick-settings-footer .primary{font-weight:750}
.quick-preview{border-top:1px solid #d3e2e7;padding:10px 0}.quick-preview summary{cursor:pointer;font-size:14px;color:#315966;padding:5px 0}
.quick-preview-body{padding:12px;border:1px dashed #9abbc6;border-radius:9px;margin-top:10px}
.quick-preview-body p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
.quick-preview-options{display:flex;flex-wrap:wrap;max-height:150px;overflow:auto;gap:7px;padding:5px 2px}
.quick-preview-options button{white-space:normal;overflow-wrap:anywhere;font-size:14px}
.quick-preview-reply{background:#eef5fa;padding:8px;margin-top:8px;border-radius:7px}
@media(max-width:740px){
 .easy-customer .composer-label label{font-size:19px}
 .easy-customer .quick-scroll{max-height:103px;margin-top:8px;gap:7px}
 .easy-customer .quick-scroll button{font-size:15px;min-height:44px}
 .easy-customer .quick-title{font-size:17px}.easy-customer .quick-description{font-size:13px}
 .quick-scroll-footer small{font-size:11px}.quick-scroll-footer .quick-scroll-actions button{font-size:12px;min-height:32px;padding:3px 6px}
 .quick-settings-modal{padding:16px!important;max-height:94vh!important}
 .quick-settings-modal .modal-head h2{font-size:21px}.quick-settings-intro{font-size:13px;margin-bottom:8px}
 .quick-settings-general,.quick-edit-item{grid-template-columns:1fr;padding:11px;gap:10px}
 .quick-settings-general>.check-line{font-size:14px}.quick-edit-item>.quick-field:last-child{grid-column:auto}
 .quick-settings-body{padding-right:3px}.quick-edit-top{gap:6px}.quick-edit-top>strong{font-size:14px}.quick-edit-top .check-line{font-size:12px}
 .quick-edit-actions{gap:4px}.quick-edit-actions button{padding:5px 7px;min-height:36px;font-size:12px}
 .quick-edit-bar{gap:8px;font-size:14px}.quick-edit-bar>button{font-size:14px;padding:7px 10px}
 .quick-settings-footer{display:grid;grid-template-columns:1fr 1fr;gap:7px}.quick-settings-footer button{padding:7px;font-size:14px}
 .quick-settings-status{font-size:13px;padding:8px;margin-top:8px}
}
@media(min-width:741px) and (max-height:740px){.easy-customer .quick-scroll{max-height:106px}.easy-customer .quick-description{display:none}.easy-customer .quick-title{font-size:18px}.quick-scroll-footer{margin-top:5px}.easy-customer .composer-label label{font-size:20px}}
/* New-message cards must not cover a settings/preview dialog's controls.
   Incoming calls remain prominent; transient text toasts never intercept taps. */
.modal-backdrop{z-index:800}.incoming-panel{z-index:900}.toast{pointer-events:none}

@media(max-width:740px){.quick-settings-footer .primary{grid-column:1/-1}}
