:root dialog.table-userform{box-sizing:border-box;width:var(--form-width,440px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line,#dfe4df);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#253330);font:14px "Segoe UI",sans-serif;box-shadow:0 20px 70px #16231b33;overflow:auto}
.table-userform::backdrop{background:#15231e66}
.table-userform header{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line,#dfe4df)}
.table-userform h2{margin:0;font-size:16px;max-width:40ch;overflow-wrap:anywhere}
.table-userform button,.table-userform input{box-sizing:border-box;font:inherit;color:inherit;border:1px solid var(--line,#b7c2bd);background:var(--surface,#fff);border-radius:6px;padding:6px 9px}
.table-userform button{cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.table-userform button:hover{background:var(--accent-soft,#eee6f8)}
.table-userform :is(button,input):focus-visible{outline:2px solid var(--green,#8056b2);outline-offset:2px}
.table-userform-stop{flex-shrink:0;font-size:12px!important}
.table-userform-scroll{max-width:100%;overflow:auto;padding:0 8px;box-sizing:border-box}
.table-userform-surface{position:relative;max-width:none}
.table-userform-control{position:absolute;box-sizing:border-box;display:flex;align-items:center;gap:6px}
.table-userform-control[hidden]{display:none}
.table-userform-control>button,.table-userform-control>input:not([type=checkbox]){width:100%;min-width:0;min-height:inherit}
.table-userform-control>span,.table-userform-control>label{overflow-wrap:anywhere;line-height:1.3}
.table-userform-control>input[type=checkbox]{width:18px;height:18px;flex-shrink:0}
.table-userform-status,.table-userform>details{padding:10px 18px;margin:0;border-top:1px solid var(--line,#dfe4df);font-size:12px;overflow-wrap:anywhere}
.table-userform-status[role=alert]{color:var(--danger,#a02626)}
.table-userform details summary{cursor:pointer}

.table-userform-message{padding:12px 18px;overflow-wrap:anywhere}
.table-userform-message-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.table-userform-message[hidden]{display:none}
