.xform-wrap{max-width:100%;}.xform-form{position:relative;}.xform-form input:not([type=checkbox]):not([type=radio]),.xform-form textarea,.xform-form select{max-width:100%;width:100%;box-sizing:border-box;padding:.75rem;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.xform-form button[type=submit],.xform-form input[type=submit]{cursor:pointer}.xform-form button:disabled{opacity:.6;cursor:wait}.xform-status{margin:.5rem 0;padding:.5rem 0}.xform-success{color:#087443}.xform-error{color:#b42318}.xform-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.xform-trigger { background:var(--xform-accent); border:0; color:white; padding:.65em 1em; border-radius:var(--xform-radius); cursor:pointer; }
.xform-dialog { width:min(36rem,calc(100% - 2rem)); max-height:calc(100% - 2rem); overflow:auto; padding:1.5rem; border:0; border-radius:var(--xform-radius); color:#172034; background:white; }
.xform-dialog::backdrop { background:#131b34a8; }
.xform-dialog [data-xform-close] { display:block; margin:0 0 .75rem auto; cursor:pointer; }
.xform-drawer { position:fixed; inset:0 0 0 auto; margin:0; height:100%; max-height:100%; border-radius:var(--xform-radius) 0 0 var(--xform-radius); }

:where(.xform-form input, .xform-form select, .xform-form textarea, .xform-form button) { border-radius:var(--xform-radius); accent-color:var(--xform-accent); }
