html { font-size: 10px; }
body.beezer-theme.pf-page { font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.42857143; margin: 0; background: #f8fafc; color: #111827; }
.pf-page #mainForm { background: transparent; }
.pf-page h1 { font-family: inherit; }
.public-form-wrapper { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; background: #f8fafc; box-sizing: border-box; position: relative; }
.public-form-wrapper.public-form-wrapper-with-hero { margin-top: -120px; background: transparent; }
.public-form-wrapper.public-form-wrapper-with-compact { padding-top: 0; }
.public-form-wrapper-with-compact #formBuilderMasterPanel { margin-top: -20px; }
.public-form-wrapper-with-compact .form-block:first-of-type { border-radius: 0 0 20px 20px; margin-top: 0; border-top: 0 !important; }
.pf-page .pf-form-panel, .pf-page .pf-form-panel > .ui-panel-content { border: 0; background: transparent; padding: 0; }
.ui-panelgrid-cell:has(> .advanced-non-layout) { flex-grow: 1; }
.pf-header { position: relative; box-sizing: border-box; overflow: hidden; }
.pf-header--hero { height: 240px; }
.pf-header--compact, .pf-header--plain { max-width: 848px; margin: 24px auto 0; }
.pf-header--compact { height: 120px; border-radius: 20px 20px 0 0; }
.pf-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-header--hero .pf-header-bg { mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.pf-header-inner { position: relative; display: flex; align-items: center; gap: 24px; max-width: 880px; margin: 0 auto; padding: 24px 32px; box-sizing: border-box; }
.pf-header--compact .pf-header-inner { height: 100%; padding: 16px 24px; }
.pf-logo-end .pf-header-inner { flex-direction: row-reverse; }
.pf-header-logo { max-height: 64px; max-width: 25%; width: auto; object-fit: contain; flex-shrink: 0; }
.pf-header-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-header h1 { margin: 0; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.pf-header p { margin: 8px 0 0; line-height: 1.45; overflow-wrap: anywhere; }
.pf-align-start { text-align: start; }
.pf-align-start .pf-header-text { align-items: flex-start; }
.pf-align-center { text-align: center; }
.pf-align-center .pf-header-text { align-items: center; }
.pf-align-end { text-align: end; }
.pf-align-end .pf-header-text { align-items: flex-end; }
.pf-size-small h1 { font-size: 20px; }
.pf-size-small p { font-size: 13px; }
.pf-size-standard h1 { font-size: 28px; }
.pf-size-standard p { font-size: 15px; }
.pf-size-large h1 { font-size: 34px; }
.pf-size-large p { font-size: 17px; }
.public-form-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 24px; }
.public-form-footer-text { font-size: 14px; color: #6b7280; line-height: 1.45; text-align: center; }
.public-form-footer .save-button.ui-button { height: 44px; min-width: 200px; border-radius: 10px; border: 0 !important; background: #4f46e5 !important; color: #fff !important; font-size: 15px; font-weight: 600; box-shadow: none; text-shadow: none; transform: none; transition: background .2s; }
.public-form-footer .save-button.ui-button:hover { background: #4338ca !important; box-shadow: none; transform: none; }
.public-form-footer .save-button .ui-button-text { color: #fff; }
.pf-error { width: 100%; box-sizing: border-box; padding: 16px; border: 1px solid #374151; border-radius: 10px; background: #fff; color: #111827; }
.pf-state { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; box-sizing: border-box; }
.pf-state-card { width: 100%; max-width: 616px; padding: 48px; box-sizing: border-box; border: 1px solid #e5e7eb; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 12px 36px rgba(0,0,0,.05); animation: pf-in .4s ease-out 1; }
.pf-state-icon { width: 64px; height: 64px; margin-bottom: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pf-state.is-success .pf-state-icon { color: #15803d; }
.pf-state.is-closed .pf-state-icon { color: #a16207; }
.pf-state.is-missing .pf-state-icon { color: #6b7280; }
.pf-state.is-limited .pf-state-icon { color: #475569; }
.pf-state h1 { font-size: 28px; font-weight: 600; margin: 0 0 14px; color: #111827; }
.pf-state p { font-size: 15px; line-height: 1.65; margin: 0 0 18px; color: #6b7280; }
.pf-page a { color: #4f46e5; }
.pf-loader { display: block; margin: auto; border-radius: 50%; border: 0; }
@keyframes pf-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
    .pf-header--compact, .pf-header--plain { margin-inline: 16px; }
    .pf-header-inner, .pf-header--compact .pf-header-inner { padding: 16px; gap: 12px; }
    .pf-header-logo { max-height: 48px; }
    .pf-state-card { padding: 32px 24px; }
}
