.cf-frmtr-interactive-test {
    margin: 1em 0;
}

.cf-frmtr-interactive-test__inputs {
    display: grid;
    grid-template-columns: minmax(110px, auto) minmax(160px, 1fr);
    gap: 0.6em 0.8em;
    align-items: center;
    max-width: 520px;
}

.cf-frmtr-interactive-test__inputs input {
    width: 100%;
    box-sizing: border-box;
}

.cf-frmtr-interactive-test__clear {
    grid-column: 2;
    justify-self: start;
}

/* Mi Cuenta — user-editable Fixed_Data. */
.cf-frmtr-edit-form {
    display: grid;
    gap: 20px;
}

.cf-frmtr-edit-field {
    padding: 16px 0;
    border-bottom: 1px solid currentColor;
}

.cf-frmtr-edit-field:first-of-type {
    padding-top: 0;
}

.cf-frmtr-edit-field__title {
    margin: 0 0 8px;
}

.cf-frmtr-edit-field__instructions {
    margin: 0 0 12px;
}

.cf-frmtr-edit-field__instructions > :first-child,
.cf-frmtr-edit-field__readonly-value > :first-child {
    margin-top: 0;
}

.cf-frmtr-edit-field__instructions > :last-child,
.cf-frmtr-edit-field__readonly-value > :last-child {
    margin-bottom: 0;
}

.cf-frmtr-edit-field__readonly {
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
}

.cf-frmtr-edit-field__readonly-value {
    box-sizing: border-box;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid currentColor;
}

.cf-frmtr-edit-field__readonly.is-placeholder .cf-frmtr-edit-field__readonly-value {
    opacity: 0.82;
}

.cf-frmtr-edit-field__readonly-actions,
.cf-frmtr-edit-field__edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.cf-frmtr-edit-field__editor {
    width: 100%;
    max-width: 760px;
}

.cf-frmtr-edit-field__control textarea,
.cf-frmtr-edit-field__control input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
}

.cf-frmtr-edit-field__control textarea {
    min-height: 120px;
}

.cf-frmtr-edit-field__control input[type="number"] {
    max-width: 240px;
}

.cf-frmtr-edit-message {
    padding: 10px 12px;
    border: 1px solid currentColor;
}

.cf-frmtr-edit-message--success {
    font-weight: 600;
}

.cf-frmtr-edit-delete {
    cursor: pointer;
}

.cf-frmtr-texts-output--placeholder {
    opacity: 0.82;
}

/* 0.3.4 — Compact Fixed_Data checklist and stable edit anchors. */
.cf-frmtr-edit-field[id^="cf-frmtr-field-"] {
    scroll-margin-top: 24px;
}

.cf-frmtr-checklist {
    width: 100%;
    max-width: 760px;
}

.cf-frmtr-checklist__summary {
    margin-bottom: 8px;
    font-weight: 600;
}

.cf-frmtr-checklist__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cf-frmtr-checklist__item {
    display: grid;
    grid-template-columns: 1.5em minmax(0, 1fr) 2em;
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 4px 0;
}

.cf-frmtr-checklist__status,
.cf-frmtr-checklist__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cf-frmtr-checklist__status {
    font-weight: 700;
}

.cf-frmtr-checklist__label {
    min-width: 0;
}

.cf-frmtr-checklist__action {
    width: 30px;
    height: 30px;
    text-decoration: none;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    font-size: 1.05em;
}

.cf-frmtr-checklist__action:hover,
.cf-frmtr-checklist__action:focus-visible {
    text-decoration: none;
}

.cf-frmtr-checklist--empty {
    max-width: 760px;
}

/* 0.3.6 — Checklist grouped by configured group name. */
.cf-frmtr-checklist__group + .cf-frmtr-checklist__group {
    margin-top: 12px;
}

.cf-frmtr-checklist__group-title {
    margin: 8px 0 4px;
    font-weight: 700;
}
