
/* Shared Sonderrahmen dialog; native dialog provides focus trapping and Escape. */
.fp-frame-custom-open{flex:0 0 auto;margin:0 14px 10px;padding:11px;border:1px solid var(--fp-accent,#a01681);border-radius:9px;background:#fff;color:var(--fp-accent,#a01681);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.fp-frame-custom-dialog{box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:25px;border:1px solid #ded4de;border-radius:16px;background:#fff;color:#302931;box-shadow:0 25px 80px #24122444;font-family:inherit;overflow:auto}
.fp-frame-custom-dialog::backdrop{background:#21152688}
.fp-frame-custom-dialog h3{margin:0 0 12px;font-size:22px;line-height:1.3}
.fp-frame-custom-dialog p{margin:0 0 20px;font-size:14px;line-height:1.5;color:#6d636d}
.fp-frame-custom-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.fp-frame-custom-fields label{display:grid;gap:8px;font-size:13px;font-weight:700}
.fp-frame-custom-fields input{box-sizing:border-box;min-width:0;width:100%;padding:10px;border:1px solid #d8cfd8;border-radius:8px;font:inherit;font-size:16px}
.fp-frame-custom-dialog [data-custom-error]{display:block;min-height:22px;margin:12px 0;color:#a42233}
.fp-frame-custom-actions{display:flex;justify-content:flex-end;gap:10px}
.fp-frame-custom-actions button{padding:10px 14px;border:1px solid #d8cfd8;border-radius:8px;background:#fff;font:inherit;font-size:14px;cursor:pointer}
.fp-frame-custom-actions button[type="submit"]{background:#a01681;border-color:#a01681;color:#fff;font-weight:700}
.fp-frame-custom-dialog :focus-visible{outline:2px solid #a01681;outline-offset:3px}

