/* Shared only by the two form-builder presentations. */
.cff-builder-design-control {position: relative; display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; flex-shrink: 0; margin-left: 8px; font-size: 11px; line-height: 1.5; color: #52606d;}
/* Keep the hint outside the layout, with its arrow level with the switch. */
.cff-builder-design-description {display: none; position: absolute; right: calc(100% + 12px); top: calc(50% - 20px); z-index: 1004; box-sizing: border-box; width: 300px; padding: 12px 14px; border-radius: 8px; background: rgba(29, 35, 39, .88); color: #fff; box-shadow: 0 4px 16px #00000026; font-size: 12px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; pointer-events: none;}
.cff-builder-design-description::after {content: ''; position: absolute; left: 100%; top: 14px; border: 6px solid transparent; border-left-color: rgba(29, 35, 39, .88);}
.cff-builder-design-control .cff-builder-design-switch {display: inline-block; position: relative; box-sizing: border-box; width: 32px; min-width: 32px; height: 20px; min-height: 20px; max-height: 20px; padding: 0; margin: 0; border: 1px solid #727b86; border-radius: 12px; background: #727b86; color: white; cursor: pointer; box-shadow: none;}
.cff-builder-design-switch > span {position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: white;}
.cff-builder-design-control .cff-builder-design-switch[aria-checked="true"] {border-color: var(--wp-admin-theme-color, #3858e9); background: var(--wp-admin-theme-color, #3858e9);}
.cff-builder-design-switch[aria-checked="true"] > span {left: 14px;}
.cff-builder-design-switch:focus-visible {outline: 2px solid var(--wp-admin-theme-color, #3858e9); outline-offset: 3px;}
.cff-builder-design-control:has([aria-checked="true"]) .cff-builder-design-modern,
.cff-builder-design-control:has([aria-checked="false"]) .cff-builder-design-classic {color: #1d2327; font-weight: 600;}
html.cff-builder-loading #wpwrap {visibility: hidden;}
html.cff-builder-loading body {background: #f0f0f1;}
html.cff-builder-loading .cff-builder-loading-message {display: grid; visibility: visible; position: fixed; inset: 0; place-items: center; z-index: 100000; color: #52606d; background: #f0f0f1; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;}
.cff-builder-loading-message {display: none;}
.cff-classic-heading {clear: both; margin: 14px 0 18px;}
.cff-classic-heading .cff-form-name {display: block !important; margin: 0 0 8px !important; padding: 0 !important; font-size: 20px !important; line-height: 1.4;}
.cff-classic-heading .cff-workspace-meta {display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 12px;}
.cff-classic-heading .cff-workspace-meta code {max-width: 100%; overflow-wrap: anywhere; user-select: all;}
