.property-app .app-overlay-layer{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(59,84,100,.7);overflow:hidden;border-radius:inherit}
.property-app .app-overlay-layer>dialog{position:relative;inset:auto;margin:0;width:100%;max-width:375px;max-height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;outline:none}
.property-app .app-overlay-layer:has(>.owner-settings-sheet){align-items:flex-end;padding:0}
.property-app .app-overlay-layer>dialog.owner-settings-sheet{width:100%;max-width:none;max-height:90%;border-radius:24px 24px 0 0;padding-bottom:0}
body:has(.app-overlay-layer>.owner-settings-sheet[open]),body:has(.app-overlay-layer>.stats-choice-dialog[open]){overflow:auto}

/* Clip animated content without creating a scrollable overlay. */
.property-app .app-frame.has-app-overlay,.property-app .app-overlay-layer{overflow:clip}
.property-app .app-overlay-layer>dialog.owner-settings-sheet{position:absolute;inset:auto 0 0;margin:0;backface-visibility:hidden}
