/* Er Call Center – native documentation and template library */
.ercc-docs{max-width:100%;min-width:0;color:#e5eefb;font-family:inherit}
.ercc-docs *{box-sizing:border-box}
.ercc-docs-header{display:flex;align-items:center;justify-content:space-between;gap:15px;
  flex-wrap:wrap;padding:18px 19px;margin-bottom:12px;border:1px solid #2a425b;
  border-radius:16px;background:linear-gradient(125deg,#14263e,#0d1829)}
.ercc-docs-kicker{display:block;font-size:10px;letter-spacing:.12em;color:#eec06c;font-weight:900}
.ercc-docs-header h3{font-size:clamp(22px,2vw,28px);margin:5px 0;line-height:1.25}
.ercc-docs-header p{font-size:13px;color:#9fb4ca;line-height:1.5;margin:0}
.ercc-docs-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ercc-docs-summary span{padding:8px 12px;background:#21344b;border:1px solid #415772;
  border-radius:12px;font-size:12px;color:#dbebf9;font-weight:750}
.ercc-docs-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.ercc-docs-tabs button{min-height:45px;padding:10px 14px;border:1px solid #31465b;
  border-radius:11px;background:#17273a;color:#b7cce1;font-size:13px;
  font-weight:790;cursor:pointer}
.ercc-docs-tabs button.is-active{background:#302b22;border-color:#e6b65d;color:#ffe1a9}
.ercc-docs-content{min-width:0}
.ercc-docs-toolbar{margin:8px 0 12px}
.ercc-docs-search{width:100%;min-height:48px;max-width:650px;min-width:0;padding:12px 14px;
  background:#0c1727;border:1px solid #3a516b;border-radius:11px;color:#f0f5fa;font-size:16px!important}
.ercc-docs-list{display:grid;gap:9px}
.ercc-docs-article-item{display:flex;gap:13px;width:100%;min-height:72px;
  padding:13px;border-radius:12px;border:1px solid #2d4157;background:#101e30;
  color:#e8effb;text-align:left;align-items:center;cursor:pointer;overflow:hidden}
.ercc-docs-article-item:hover{background:#1a2e46;border-color:#a9874f}
.ercc-docs-doc-icon{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;
  background:#21344b;border-radius:10px;color:#f7c976;font-size:20px}
.ercc-docs-article-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.ercc-docs-article-text strong{font-size:14px;line-height:1.4;
  white-space:normal;overflow-wrap:anywhere}
.ercc-docs-article-text small{font-size:11px;color:#9aacbf;line-height:1.35}
.ercc-docs-arrow{color:#f3c873;font-size:17px}
.ercc-docs-article-view{border:1px solid #304860;background:#101d2f;
  border-radius:15px;padding:clamp(16px,3vw,28px);max-width:100%;min-width:0}
.ercc-docs-back{display:inline-flex;align-items:center;justify-content:center;
  min-height:43px;padding:10px 13px;margin-bottom:18px;background:#243750;
  color:#f4d095;border:1px solid #50627a;border-radius:10px;
  font-size:12px;font-weight:750;cursor:pointer}
.ercc-docs-article-view h4{font-size:clamp(19px,2vw,26px);line-height:1.35;
  margin:0 0 6px;overflow-wrap:anywhere}
.ercc-docs-meta{color:#95aac2;font-size:12px;margin:0 0 22px}
.ercc-docs-full-text{font:400 14px/1.8 ui-sans-serif,-apple-system,system-ui,"Segoe UI",sans-serif;
  background:#0b1726;color:#dae7f5;padding:20px;border:1px solid #273d53;
  border-radius:11px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.ercc-docs-empty,.ercc-docs-loading{padding:22px;border:1px dashed #34506e;
  border-radius:13px;background:#111e30;color:#a6bad1;font-size:13px}
.ercc-docs-status:not([hidden]){padding:13px;margin:10px 0;background:#17362b;
  border:1px solid #327a61;border-radius:12px;color:#c3f0d9;font-size:13px}
.ercc-docs-status.is-error{background:#34261d;border-color:#7c522e;color:#ffdda5}
.ercc-docs-templates{min-width:0}
.ercc-docs-templates .eninv-workspace{min-width:0}
.ercc-docs button:focus-visible,.ercc-docs-search:focus-visible{outline:2px solid #ffd987;outline-offset:3px}
@media(max-width:650px){
 .ercc-docs-header{padding:15px}
 .ercc-docs-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ercc-docs-tabs button{padding:9px 7px;min-width:0;font-size:12px;overflow-wrap:anywhere}
 .ercc-docs-summary span{font-size:11px}
 .ercc-docs-full-text{padding:14px;font-size:13px;line-height:1.65}
 .ercc-docs-article-item{padding:11px;min-height:68px}
}
@media(max-width:370px){.ercc-docs-article-text strong{font-size:12px}}

.ercc-docs-archive-info{font-size:12px;line-height:1.6;color:#b4c4d5;
  padding:13px 15px;border:1px solid rgba(242,185,78,.3);
  background:rgba(242,185,78,.07);border-radius:12px;margin:7px 0 14px}
.ercc-docs-article-item:disabled{opacity:.6;cursor:wait}
.ercc-docs-article-item .ercc-docs-doc-icon{font-size:11px;font-weight:900;letter-spacing:.03em}

.ercc-docs-draft-warning{font-size:12px;font-weight:900;line-height:1.55;
 color:#ffcf86;background:#352c20;border:1px solid #89633a;
 padding:10px 12px;border-radius:9px;margin:12px 0 15px}
