/* Native snippets dashboard page */
.ehc-snippet-notice{padding:15px 19px;border-radius:14px;background:#eaf8f0;color:#126846;border:1px solid #bce3ce;margin-bottom:18px;font-weight:700}
.ehc-snippet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.ehc-snippet-stats>div{border:1px solid #e1e8f1;border-radius:18px;background:white;min-height:100px;padding:18px 22px;display:flex;flex-direction:column;gap:4px;box-shadow:0 8px 25px #0f27430a}
.ehc-snippet-stats span{font-size:12px;color:#61738a;font-weight:700}.ehc-snippet-stats strong{font-size:31px;color:#0d3156;line-height:1.2}
.ehc-snippets-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px;align-items:center}
.ehc-snippets-tabs a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #d8e5ef;background:#fff;border-radius:999px;padding:11px 18px;font-size:13px;color:#143553;font-weight:700;transition:all .2s}
.ehc-snippets-tabs a:hover{background:#edf6ff;border-color:#a9d3ef}
.ehc-snippets-panel{margin:0 0 22px;padding:24px!important;scroll-margin-top:16px}
.ehc-snippets-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.ehc-snippets-heading h2{font-size:22px!important;margin:7px 0 3px!important}.ehc-snippets-heading p{margin:2px 0!important;color:#74839b;font-size:13px}
.ehc-snippets-bubble{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:#e9f5fc;color:#1376ac;font-size:24px;font-weight:900;direction:ltr;flex:none}
.ehc-snippets-templates-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ehc-snippets-template{border:1px solid #e0e8f2;border-radius:14px;background:#fafcff;padding:16px;display:flex;flex-direction:column;gap:7px;min-width:0}
.ehc-snippets-template .ehc-snippet-template-title{font-weight:800;font-size:15px;color:#133553}
.ehc-snippets-template small{color:#6f8299;font-size:12px;line-height:1.8}
.ehc-snippets-template textarea{min-height:130px;resize:vertical;display:block;width:100%;box-sizing:border-box;background:#fff;color:#1d354c;border:1px solid #d5e1ed;border-radius:11px;padding:12px 14px;font:inherit;font-size:13px;line-height:1.9;direction:rtl}
.ehc-snippets-template textarea:focus,.ehc-snippets-code:focus{outline:2px solid #9dd8ef;border-color:#479acb}
.ehc-snippets-placeholders,.ehc-snippets-preview,.ehc-snippets-form-bottom{grid-column:1/-1}
.ehc-snippets-placeholders{background:#f3f8fc;border:1px solid #dbeaf4;border-radius:12px;padding:12px 14px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ehc-snippets-placeholders>b{margin-inline-end:7px;font-size:13px;color:#234c6b}
.ehc-snippets-placeholder{border:1px solid #c5deec;background:#fff;border-radius:6px;font:500 12px ui-monospace,monospace;color:#286d9d;padding:6px 8px;cursor:pointer}
.ehc-snippets-placeholder:hover{background:#deeffb}
.ehc-snippets-preview{background:#f9fcff;border:1px dashed #abcde0;border-radius:13px;padding:18px}.ehc-snippets-preview strong{display:block;margin-bottom:10px;color:#193b5c}
#ehc-whatsapp-preview{white-space:pre-wrap;line-height:1.95;background:#e0f6df;border:1px solid #c6e7c2;max-width:680px;border-radius:12px 12px 3px 12px;padding:13px 17px;color:#264b34;font-size:13px}
.ehc-snippets-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:8px}.ehc-snippets-form-bottom>span{color:#687d96;font-size:12px}
.ehc-snippets-empty{text-align:center;background:#f7fbff;border-radius:13px;border:1px dashed #c9ddeb;padding:35px;color:#677d92}
.ehc-snippets-table td{vertical-align:middle!important}.ehc-snippets-table td:first-child strong{display:block;color:#17395a}.ehc-snippets-table td:first-child small{display:block;color:#75879d;margin-top:3px}
.ehc-snippets-row-actions{white-space:nowrap}.ehc-snippets-row-actions a,.ehc-snippets-row-actions form{display:inline-block;vertical-align:middle;margin:2px 3px}
.ehc-snippets-row-actions form button{border:0;background:#ecf6fc;color:#225d85;border-radius:7px;cursor:pointer;padding:7px 10px;font:inherit;font-size:12px;font-weight:800}.ehc-snippets-row-actions form button:hover{background:#d9eefa}
.ehc-snippets-row-actions .ehc-snippets-delete{background:#fff0f1;color:#ad3444}
.ehc-snippet-edit-form{display:flex;flex-direction:column;gap:16px}.ehc-snippet-edit-form .ehc-field{margin:0}
.ehc-snippets-code{width:100%;box-sizing:border-box;min-height:250px;border-radius:12px!important;background:#10283e!important;color:#e8f3ff!important;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace!important;text-align:left!important;direction:ltr!important;padding:17px!important;resize:vertical;tab-size:2;white-space:pre}
.ehc-snippets-info,.ehc-snippet-warning{font-size:13px;line-height:2;color:#526c82;background:#f3f9ff;border:1px solid #cee5f3;border-radius:12px;margin-top:19px;padding:13px 17px}.ehc-snippet-warning{color:#a0442f;background:#fff6eb}
.ehc-snippets-info code{font-size:12px;direction:ltr;display:inline-block}.ehc-snippets-wa-order-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.ehc-snippets-wa-order-links span{font-size:12px;color:#59758c}
@media(max-width:760px){.ehc-snippets-templates-form{grid-template-columns:1fr}.ehc-snippet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ehc-snippets-panel{padding:17px!important}.ehc-snippets-bubble{width:46px;height:46px;font-size:18px}}
@media(max-width:430px){.ehc-snippet-stats{grid-template-columns:1fr}.ehc-snippet-stats>div{min-height:75px}.ehc-snippets-heading p{font-size:12px}}

/* Multi-language source library */
.ehc-snippet-runtime-hint{border:1px solid #b8d8e6;background:#eff8fc;color:#235d78;border-radius:12px;padding:11px 16px;font-size:13px;line-height:1.8;margin:0}
.ehc-snippet-runtime-hint.is-reference{background:#fff8ec;border-color:#edd9b3;color:#775721}
.ehc-snippet-other-language[hidden]{display:none!important}.ehc-field.is-disabled{opacity:.55}.ehc-check.is-disabled{opacity:.6}
.ehc-snippets-panel .CodeMirror{min-height:300px;height:auto;border-radius:12px;border:1px solid #cbdbe7;font:13px/1.7 'Consolas',monospace;direction:ltr;text-align:left}
.ehc-snippets-panel .CodeMirror-scroll{min-height:300px}
