.checklist-editor {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 12px 0;
    border: 1px solid var(--border-color, #d9dee3);
    border-radius: 4px;
    padding: 0;
}
.checklist-editor.row { display: block; }
.component-item.checklist-editor { padding: 0; margin: 12px 0; }
.checklist-editor__cabecalho { display: flex; align-items: center; gap: 8px; padding-right: 12px; border-bottom: 1px solid var(--border-color, #d9dee3); }
.checklist-editor__remover { flex: 0 0 auto; margin: 0; }
.checklist-editor__abrir {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}
.checklist-editor__abrir:hover { background: rgba(127, 127, 127, .06); }
.checklist-editor__abrir:focus-visible { outline: 2px solid #dc3545; outline-offset: -2px; }
.checklist-editor__numero { color: #dc3545; font-weight: 700; min-width: 24px; }
.checklist-editor__titulo { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.checklist-editor__tipo { font-size: 12px; color: inherit; opacity: .7; overflow-wrap: anywhere; }
.checklist-editor__campos { padding: 16px; container-type: inline-size; }
.checklist-editor__campos > .row { margin-top: 0; margin-bottom: 0; border: 0 !important; }
.checklist-editor__campos > .row > .row { margin-left: 0; margin-right: 0; flex: 0 0 100%; max-width: 100%; }
.checklist-editor__campos > .row > div:not([class*="col"]) { width: 100%; min-width: 0; }
.checklist-editor__campos > .row > div:not([class*="col"]):not(.row),
.checklist-editor__campos > .row > checklist-cascata-editor { padding-left: 15px; padding-right: 15px; }
.checklist-editor.component-item > .checklist-editor__campos > .row > .col-12:first-child:has(h4) { display: none; }
.checklist-cascata-editor { padding-top: 12px; border-top: 1px dashed var(--border-color, #d9dee3); }
checklist-cascata-editor { display: block; width: 100%; min-width: 0; }
.checklist-cascata-editor__ramo { margin-top: 12px; padding-left: 16px; border-left: 3px solid #dc3545; min-width: 0; }
.checklist-cascata-editor .checklist-editor__campos { padding: 12px; }
.checklist-cascata-editor__filho { border: 0; border-left: 1px solid #adb5bd; border-bottom: 1px solid var(--border-color, #d9dee3); border-radius: 0; }
.checklist-cascata-editor__definicao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) auto; width: 100%; }
.checklist-cascata-editor__definicao > * { width: 100%; max-width: none; min-width: 0; }
@container (max-width: 600px) {
    .checklist-cascata-editor__definicao { grid-template-columns: minmax(0, 1fr); }
    .checklist-cascata-editor__definicao > .col-auto { padding-bottom: 12px; }
}
@media (max-width: 575px) {
    .checklist-editor__abrir { gap: 8px; padding: 10px; }
    .checklist-editor__campos { padding: 10px; }
    .checklist-cascata-editor__ramo { padding-left: 8px; }
}
