.native-form { max-width: 760px; }
.native-form label, .forms-admin label { display: block; font-weight: 600; }
.native-form input:not([type=checkbox]), .native-form select, .native-form textarea,
.forms-admin input:not([type=hidden]), .forms-admin select, .forms-admin textarea { box-sizing: border-box; width: 100%; padding: .7rem; margin-top: .35rem; border: 1px solid #8a939c; border-radius: 4px; background: #fff; color: #172b4d; font: inherit; }
.native-form textarea, .forms-admin textarea { resize: vertical; }
.native-form .form-field { margin-bottom: 1.25rem; }
.native-form button { border: 0; border-radius: 4px; background: #10366b; color: white; padding: .8rem 2rem; font: inherit; cursor: pointer; }
.native-form .form-checkbox { display: flex; align-items: baseline; gap: .6rem; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error { color: #9a1c1c; background: #fff0f0; padding: .75rem; border-left: 3px solid #9a1c1c; }
.form-success { color: #155537; background: #e9f6ee; padding: 1rem; border-left: 3px solid #155537; }
.form-help { font-size: .9rem; color: #505b66; }
.form-copy, .form-entry dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.forms-admin { min-width: 0; }
.form-tabs, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1rem 0; }
.form-tabs a[aria-current] { font-weight: 700; text-decoration-thickness: 3px; }
.form-editor { max-width: 1100px; }
.form-settings, .form-field-card, .form-entry { background: #fff; padding: 1.25rem; margin: 1.25rem 0; border: 1px solid #d3d7dc; border-radius: 4px; }
.form-settings label { margin: 1rem 0; }
.form-field-card legend { font-weight: 600; max-width: 100%; overflow-wrap: anywhere; }
.form-field-settings { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.form-field-settings label:last-child { grid-column: 1 / -1; }
.form-field-settings:not(:has(select[name=field_type] option[value=select]:checked)) label:last-child { display: none; }
.form-save { padding: 1rem 0; }
.form-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin: 1rem 0; }
.forms-table { overflow-x: auto; }
.forms-table table { width: 100%; border-collapse: collapse; background: white; }
.forms-table th, .forms-table td { text-align: left; padding: .9rem; border-bottom: 1px solid #ddd; }
.form-entry dt { font-weight: 700; margin-top: 1rem; }
.form-entry dd { margin: .4rem 0 1rem; }
.forms-admin button:disabled { opacity: .45; cursor: default; }
@media (max-width: 700px) { .form-field-settings { grid-template-columns: 1fr; } .form-settings, .form-field-card { padding: .8rem; } .forms-admin .admin-page-heading { flex-wrap: wrap; } }
