/* YES CMS 2.0.19.23 · HTML/source editor and trusted embed blocks */
.editor-code-actions{display:flex;justify-content:flex-end;gap:.45rem;padding:.55rem .65rem;background:#f8fafc;border-left:1px solid #dbe4f0;border-right:1px solid #dbe4f0}
.editor-code-actions button{display:inline-flex;align-items:center;gap:.4rem;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;padding:.38rem .65rem;font-size:.78rem;font-weight:700}
.editor-code-actions button:hover{background:#eef6f1;color:#12663f;border-color:#9dcbb0}
.editor-source-toggle{display:inline-flex!important;align-items:center;gap:.4rem;padding-inline:.7rem!important}
.editor-source-toggle b{font-size:.72rem;letter-spacing:.04em}
.editor-source-toggle[aria-pressed="true"]{background:#111827!important;color:#fff!important;border-color:#111827!important}
.editor-source{min-height:28rem;resize:vertical;border-radius:0 0 16px 16px!important;border-top:0!important;background:#0f172a!important;color:#e2e8f0!important;font:500 .88rem/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;tab-size:2;white-space:pre;overflow:auto}
.editor-code-help{display:flex;align-items:flex-start;gap:.45rem;padding:.65rem .85rem;color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:.78rem}
.editor-code-help i{margin-top:.1rem}
.custom-code-panel{border:1px solid #dbe4f0;border-radius:18px;background:#fff;overflow:hidden}
.custom-code-panel-head{display:flex;align-items:center;gap:.85rem;padding:1rem 1.1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.custom-code-panel-head h3{margin:0 0 .15rem;font-size:1rem}
.custom-code-panel-head p{margin:0;color:#64748b;font-size:.82rem}
.custom-code-icon{display:grid;place-items:center;flex:0 0 2.5rem;width:2.5rem;height:2.5rem;border-radius:12px;background:#e8f3ee;color:#12663f;font-size:1.15rem}
.custom-code-textarea{min-height:15rem;border:0!important;border-radius:0!important;padding:1rem 1.1rem!important;background:#0f172a!important;color:#e2e8f0!important;font:500 .84rem/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;tab-size:2}
.custom-code-textarea:focus{box-shadow:inset 0 0 0 2px #5cba83!important}
.custom-code-warning{display:flex;align-items:flex-start;gap:.55rem;padding:.75rem 1rem;background:#fff8e6;color:#704b00;border-top:1px solid #f6df9f;font-size:.78rem;line-height:1.45}
.custom-code-warning i{margin-top:.08rem}
.block-custom-code{max-width:100%;margin-top:1.5rem;overflow:visible}
.block-custom-code>*:first-child{margin-top:0}
.block-custom-code>*:last-child{margin-bottom:0}
.block-custom-code iframe,.block-custom-code img,.block-custom-code video,.block-custom-code svg{max-width:100%}
.block-custom-code iframe{display:block;width:100%;border:0}
.block-custom-code form{max-width:100%}
.block-custom-code input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.block-custom-code select,.block-custom-code textarea{max-width:100%}
@media(max-width:767.98px){
  .custom-code-panel-head{align-items:flex-start;flex-wrap:wrap}
  .custom-code-panel-head .form-check{margin-left:3.35rem!important}
  .editor-source{min-height:22rem;font-size:.8rem!important}
}
