dialog.ap-create-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #3c3c3c;border-radius:22px;background:#202020;color:#eee;overflow:hidden;box-shadow:0 20px 100px #0009}dialog.ap-create-dialog[open]{display:flex;flex-direction:column}.ap-create-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}.ap-create-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #333}.ap-create-dialog h2{font-size:18px;margin:0}.ap-create-dialog p{font-size:12px;color:#aaa;line-height:1.6;margin:6px 0 0}.ap-create-form{padding:20px 24px;overflow:auto;min-height:0;display:grid;gap:16px}.ap-create-form>label,.ap-create-row>label{display:flex;flex-direction:column;gap:8px;color:#aaa;font-size:12px}.ap-create-form input:not([type=checkbox]),.ap-create-form textarea,.ap-create-form select{width:100%;box-sizing:border-box;background:#151515;border:1px solid #404040;color:#eee;border-radius:10px;padding:10px 12px;font:inherit;font-size:13px}.ap-create-form textarea{resize:vertical;line-height:1.6}.ap-create-row{display:grid;grid-template-columns:130px 1fr;gap:20px}.ap-create-row fieldset{padding:0;border:0;min-width:0}.ap-create-row legend{font-size:12px;color:#aaa;margin-bottom:12px}.ap-create-row fieldset div{display:flex;gap:10px;flex-wrap:wrap}.ap-create-row fieldset label{font-size:12px;display:flex;align-items:center;gap:5px}.ap-create-form input[type=checkbox]{accent-color:#bc9ef8}.ap-create-dialog footer{display:flex;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid #333}.ap-create-dialog footer p{flex:1;min-width:0;margin:0}.ap-create-dialog footer button{white-space:nowrap}.ap-create-dialog :disabled{opacity:.55}.ap-create-dialog :focus-visible{outline:2px solid #bc9ef8;outline-offset:2px}.ap-actions{flex-wrap:wrap}.ap-actions>*{min-width:80px}@media(max-width:560px){.ap-create-dialog header,.ap-create-dialog footer{padding:14px 16px}.ap-create-form{padding:16px}.ap-create-dialog footer{flex-wrap:wrap}.ap-create-dialog footer p{flex-basis:100%}.ap-create-dialog footer button:last-child{margin-left:auto}.ap-create-row{grid-template-columns:105px 1fr;gap:14px}}
