/* Shared layout contract for form, operation and workspace dialogs.
   Each surface keeps its own lifecycle and visual theme; this owns frame sizing. */
.agv3-dialog-frame{display:flex;flex-direction:column;min-height:0}
dialog.agv3-dialog-frame[open]{display:flex}
.agv3-dialog-frame>:is(header,footer){flex:0 0 auto}
.agv3-dialog-scroll{box-sizing:border-box;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.agv3-dialog-scroll--hosted{overflow:hidden}
