:root {
    --green: #2ca956;
    --green-dark: #218e47;
    --green-deep: #156936;
    --yellow: #f3d315;
    --ink: #173a24;
    --muted: #64756a;
    --line: #dce4de;
    --surface: #ffffff;
    --background: #f4f6f4;
    --danger: #b42318;
    --danger-bg: #fef3f2;
    --success-bg: #ecfdf3;
    --warning: #9a6700;
    --shadow: 0 12px 30px rgba(20, 64, 36, .08);
    --radius: 8px;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    color: var(--ink);
    background: var(--background);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--ink);
    line-height: 1.45;
}

a {
    color: var(--green-deep);
    text-underline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
.btn {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: .4rem;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.08;
}

h2 {
    margin-bottom: .65rem;
    font-size: 1.35rem;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.page {
    padding-block: 32px 64px;
}

.narrow {
    max-width: 820px;
}

.admin-header {
    color: #fff;
    background: var(--green-dark);
    border-top: 3px solid var(--yellow);
    box-shadow: 0 3px 14px rgba(10, 63, 29, .18);
}

.admin-nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-nav nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.admin-nav a,
.admin-nav .link-button {
    color: #fff;
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-logo {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-logo-admin {
    width: 50px;
    height: 40px;
}

.inline-form {
    display: inline;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
}

.page-heading {
    margin: 18px 0 26px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.page-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.heading-meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .9rem;
}

.eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--green-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.breadcrumbs {
    color: var(--muted);
    font-size: .9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-card {
    padding: clamp(20px, 4vw, 34px);
}

.section-block {
    margin-top: 28px;
}

.section-heading {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.admin-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.side-stack {
    display: grid;
    gap: 24px;
}

.action-strip {
    margin-bottom: 24px;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group > label,
.field-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.form-group small,
.help-text {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #b9c7bd;
    border-radius: 5px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(44, 169, 86, .16);
}

input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    min-height: 20px;
    accent-color: var(--green);
}

input[type="file"] {
    height: auto;
    padding: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.input-prefix {
    display: flex;
    align-items: stretch;
}

.input-prefix span {
    display: grid;
    place-items: center;
    padding: 0 12px;
    color: var(--muted);
    background: #edf2ee;
    border: 1px solid #b9c7bd;
    border-right: 0;
    border-radius: 5px 0 0 5px;
}

.input-prefix input {
    border-radius: 0 5px 5px 0;
}

.check-row {
    margin: 10px 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.nested-panel,
.field-builder {
    margin: 14px 0 22px;
    padding: 18px;
    background: #f6faf7;
    border: 1px solid #d9e8dc;
    border-left: 4px solid var(--green);
    border-radius: 5px;
}

.is-hidden {
    display: none !important;
}

.button-row,
.export-row,
.filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    min-height: 42px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    cursor: wait;
    opacity: .7;
}

.btn-primary {
    color: #fff;
    background: var(--green);
    border-color: var(--green-dark);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    color: var(--green-deep);
    background: #fff;
    border-color: #a8bcae;
}

.btn-quiet {
    color: var(--muted);
    background: transparent;
    border-color: transparent;
}

.btn-warning {
    color: #fff;
    background: var(--warning);
}

.btn-danger-link {
    min-height: auto;
    padding-inline: 5px;
    color: var(--danger);
    background: transparent;
}

.btn-small {
    min-height: 34px;
    padding: 5px 10px;
    font-size: .9rem;
}

.btn-block {
    width: 100%;
}

.alerts {
    display: grid;
    gap: 10px;
}

.alert,
.validation-summary,
.lock-notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 5px;
}

.alert-error,
.validation-summary {
    color: #7a271a;
    background: var(--danger-bg);
    border: 1px solid #fecdca;
}

.alert-success {
    color: #05603a;
    background: var(--success-bg);
    border: 1px solid #abefc6;
}

.validation-summary p:last-child {
    margin-bottom: 0;
}

.field-error {
    display: block;
    margin-top: 5px;
    color: var(--danger);
    font-size: .88rem;
    font-weight: 700;
}

.lock-notice {
    color: #664d03;
    background: #fff8db;
    border: 1px solid #f5df83;
}

.status {
    padding: 4px 9px;
    display: inline-flex;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-published,
.status-sent {
    color: #05603a;
    background: #dcfae6;
}

.status-draft,
.status-pending {
    color: #344054;
    background: #eaecf0;
}

.status-closed,
.status-failed {
    color: #b42318;
    background: #fee4e2;
}

.status-archived {
    color: #475467;
    background: #f2f4f7;
}

.table-card {
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

th {
    color: var(--muted);
    background: #f7f9f7;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

td small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

tr:last-child td {
    border-bottom: 0;
}

.actions {
    text-align: right;
}

.empty-state {
    padding: 50px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #adbdaf;
    border-radius: var(--radius);
}

.empty-inline {
    padding: 18px;
    color: var(--muted);
    background: #f7f9f7;
    text-align: center;
}

.form-builder-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.builder-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 20px;
}

.palette-section {
    display: grid;
    gap: 8px;
}

.palette-label {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.palette-item {
    width: 100%;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    background: #fff;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 7px;
    cursor: grab;
}

.palette-item:hover {
    border-color: #75a5d6;
    box-shadow: 0 3px 10px rgba(43, 93, 145, .1);
}

.palette-item:active,
.row-drag-handle:active,
.field-drag-handle:active {
    cursor: grabbing;
}

.palette-row {
    color: #163f6c;
    background: #eef7ff;
    border-color: #9dc8ef;
}

.palette-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: #3979b7;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 800;
}

.palette-item span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.palette-item small {
    color: var(--muted);
    font-size: .76rem;
}

.builder-canvas {
    min-height: 220px;
    padding: 16px;
    display: grid;
    gap: 14px;
    align-content: start;
    background: #f8fbfe;
    border: 2px dashed #a8c9e8;
    border-radius: 9px;
    transition: border-color .18s ease, background .18s ease;
}

.builder-canvas.is-drop-target {
    background: #eef7ff;
    border-color: #3979b7;
}

.builder-canvas-readonly {
    grid-column: 1 / -1;
}

.canvas-instructions {
    min-height: 180px;
    display: grid;
    place-content: center;
    gap: 5px;
    color: #466887;
    text-align: center;
}

.canvas-instructions span {
    color: var(--muted);
}

.builder-row {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 2px solid #b9daf7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(33, 82, 128, .07);
}

.builder-row-header {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #eef7ff;
    border-bottom: 1px solid #cfe4f7;
}

.row-heading,
.row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.row-heading small {
    color: var(--muted);
}

.row-actions form,
.field-actions form {
    margin: 0;
}

.row-condition-badge {
    color: #245f96;
    font-weight: 700;
}

.row-condition-settings {
    position: relative;
}

.row-condition-settings > summary {
    list-style: none;
    cursor: pointer;
}

.row-condition-settings > summary::-webkit-details-marker {
    display: none;
}

.row-condition-form {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 80vw);
    padding: 14px;
    display: grid;
    gap: 10px;
    background: #fff;
    border: 1px solid #b9daf7;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(33, 82, 128, .18);
}

.row-condition-form .form-group {
    margin: 0;
}

.row-condition-form.is-portaled {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: auto;
    left: 0;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    box-shadow: 0 16px 42px rgba(20, 45, 70, .28);
}

.row-drag-handle,
.field-drag-handle {
    border: 0;
    cursor: grab;
}

.row-drag-handle {
    padding: 7px 9px;
    color: #245f96;
    background: #fff;
    border: 1px solid #9dc8ef;
    border-radius: 5px;
    font-weight: 700;
}

.row-field-dropzone {
    min-height: 118px;
    padding: 12px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: #fff;
    transition: background .18s ease, box-shadow .18s ease;
}

.row-field-dropzone.is-drop-target {
    background: #f1f8ff;
    box-shadow: inset 0 0 0 2px #5d9bd3;
}

.row-empty-hint {
    width: 100%;
    min-height: 90px;
    margin: 0;
    display: grid;
    place-items: center;
    color: #63809a;
    border: 1px dashed #b9d7ef;
    border-radius: 6px;
}

.builder-field {
    min-width: 0;
    flex: 1 1 0;
    padding: 11px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-content: start;
    background: #fff;
    border: 1px solid #ccd6df;
    border-radius: 6px;
}

.field-drag-handle {
    width: 32px;
    min-height: 34px;
    padding: 4px;
    display: grid;
    place-items: center;
    align-content: center;
    color: #fff;
    background: var(--green);
    border-radius: 4px;
    font-weight: 800;
}

.field-description {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.field-description strong {
    overflow-wrap: anywhere;
}

.field-description span,
.field-description small {
    color: var(--muted);
}

.field-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.builder-row.is-dragging,
.builder-field.is-dragging {
    opacity: .42;
    border-style: dashed;
}

.builder-save-status {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700;
}

.builder-save-status.is-error {
    color: var(--danger);
}

.banner-preview {
    width: 100%;
    max-height: 180px;
    margin-bottom: 16px;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.filters {
    margin-bottom: 24px;
    padding: 20px;
}

.export-row {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.pagination {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.answer-list {
    margin: 0;
}

.answer-list > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.answer-list > div:last-child {
    border-bottom: 0;
}

.answer-list dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700;
}

.answer-list dd {
    margin: 0;
    font-size: 1.05rem;
}

.response-card,
.notification-card {
    padding: 24px;
}

.notification-card {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.preserve-lines {
    white-space: pre-line;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #eff6f1, #e4eee6);
    border-top: 4px solid var(--green);
}

.auth-card {
    width: min(440px, 100%);
    padding: 38px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-brand {
    margin-bottom: 28px;
    text-align: center;
}

.brand-logo-auth {
    width: 112px;
    height: 90px;
    margin: 0 auto 18px;
}

.auth-brand p {
    color: var(--muted);
}

.public-page {
    background:
            radial-gradient(circle at 20% 10%, rgba(44, 169, 86, .08), transparent 28rem),
            #f4f5f4;
}

.top-line {
    height: 3px;
    background: var(--green);
}

.public-container {
    width: min(1080px, calc(100% - 28px));
    margin: 0 auto;
    padding: 30px 0 60px;
}

.public-header {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
}

.public-step {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}

.brand-logo-public {
    width: 70px;
    height: 56px;
}

.public-step span,
.secure-label {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.public-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e6e1;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.public-banner {
    width: 100%;
    max-height: 330px;
    display: block;
    object-fit: cover;
}

.public-card-content {
    padding: clamp(24px, 6vw, 52px);
}

.preview-notice {
    display: grid;
    gap: 3px;
    margin-bottom: 24px;
    padding: 13px 15px;
    color: #5d4900;
    background: #fff8db;
    border: 1px solid #f5df83;
    border-radius: 6px;
}

.preview-notice strong {
    color: #3f6500;
}

.public-description {
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 1.08rem;
}


.public-form-rows {
    display: grid;
    gap: 18px;
}

.public-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    align-items: flex-start;
    gap: 18px;
}

.public-form-row .dynamic-field {
    min-width: 0;
    flex: 1 1 0;
}

.form-section-title {
    margin: 4px 0 8px;
    color: var(--green-deep);
}

.form-section-text {
    margin: 0;
    color: var(--muted);
}

.form-divider {
    border: 0;
    border-top: 2px solid #d9e8dc;
}
.dynamic-field {
    margin-bottom: 24px;
}

.dynamic-field em,
.public-check em {
    color: var(--danger);
    font-style: normal;
}

.dynamic-field input,
.dynamic-field select,
.dynamic-field textarea {
    font-size: 1.05rem;
}

.choice-list {
    display: grid;
    gap: 9px;
}

.choice-list label {
    min-height: 46px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #c7d2c9;
    border-radius: 5px;
    cursor: pointer;
}

.choice-list label:has(input:checked) {
    color: var(--green-deep);
    background: #effaf2;
    border-color: var(--green);
}

.public-check {
    padding: 12px;
    border: 1px solid #c7d2c9;
    border-radius: 5px;
}

.conditional-hidden {
    display: none;
}

.required-note {
    color: var(--muted);
    font-size: .85rem;
}

.btn-submit {
    width: 100%;
    min-height: 52px;
    font-size: 1.1rem;
}

.btn-submit span {
    font-size: 1.8rem;
    line-height: .5;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.success-container {
    min-height: 90vh;
    display: grid;
    place-items: center;
}

.success-card {
    width: min(620px, 100%);
    padding: clamp(30px, 7vw, 58px);
    text-align: center;
}

.success-icon,
.unavailable-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
}

.unavailable-icon {
    background: var(--warning);
}

.success-message {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 1.15rem;
}

.redirect-box {
    padding: 20px;
    background: #f0f9f2;
    border: 1px solid #c9e9d1;
    border-radius: 6px;
}

.public-link {
    word-break: break-all;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container.builder-page {
    width: min(1600px, calc(100% - 24px));
}

.builder-page #campos {
    padding-inline: clamp(18px, 2.5vw, 34px);
}

.builder-page .form-builder-shell {
    grid-template-columns: 240px minmax(0, 1fr);
}

.field-config-dialog {
    width: min(920px, calc(100% - 28px));
    max-height: 92vh;
    padding: 0;
    overflow: hidden;
    color: var(--text);
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(18, 42, 28, .28);
}

.field-config-dialog::backdrop {
    background: rgba(15, 31, 21, .55);
    backdrop-filter: blur(2px);
}

.field-modal-shell {
    max-height: 92vh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.field-modal-header {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #f5f9f6;
    border-bottom: 1px solid var(--line);
}

.field-modal-header h2 {
    margin: 2px 0 0;
}

.modal-close-button {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
}

.field-modal-body {
    padding: 22px;
    overflow-y: auto;
}

.field-modal-body > form {
    padding: 0;
    box-shadow: none;
}

.field-modal-body .button-row {
    position: sticky;
    bottom: -22px;
    z-index: 2;
    margin: 22px -22px -22px;
    padding: 14px 22px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.modal-loading {
    min-height: 220px;
    display: grid;
    place-items: center;
    color: var(--muted);
}

.field-image-preview {
    margin-bottom: 16px;
    padding: 12px;
    display: grid;
    justify-items: start;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.field-image-preview img {
    max-width: min(100%, 420px);
    max-height: 220px;
    object-fit: contain;
}

.form-image-block {
    width: 100%;
    margin: 0 0 24px;
}

.form-image-block figcaption {
    margin-bottom: 8px;
    color: var(--green-deep);
    font-weight: 700;
}

.form-image-block img {
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.form-image-block.align-left img {
    margin-right: auto;
}

.form-image-block.align-center img {
    margin-inline: auto;
}

.form-image-block.align-right img {
    margin-left: auto;
}
@media (max-width: 860px) {
    .admin-columns {
        grid-template-columns: 1fr;
    }

    .side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 860px) {
    .form-builder-shell {
        grid-template-columns: 1fr;
    }

    .builder-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .admin-nav {
        padding-block: 12px;
        align-items: flex-start;
    }

    .admin-nav nav {
        align-items: flex-end;
        flex-direction: column;
        gap: 7px;
    }

    .brand-logo-admin {
        width: 42px;
        height: 34px;
    }

    .brand-logo-public {
        width: 56px;
        height: 45px;
    }

    .brand-logo-auth {
        width: 90px;
        height: 72px;
    }

    .page-heading,
    .notification-card {
        align-items: stretch;
        flex-direction: column;
    }

    .form-grid,
    .form-grid.three,
    .side-stack {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .builder-sidebar {
        grid-template-columns: 1fr;
    }

    .builder-row-header,
    .row-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .row-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .row-field-dropzone {
        flex-direction: column;
    }

    .public-form-row {
        grid-template-columns: 1fr;
    }

    .builder-field,
    .public-form-row .dynamic-field {
        width: 100%;
        flex-basis: auto;
    }
    .public-header {
        align-items: flex-start;
    }

    .secure-label {
        text-align: right;
    }

    .auth-card {
        padding: 28px 22px;
    }
}
