/* Wrapper passes through empty desktop map space; every actual overlay owns its input. */
.consumer-web__modal-layer > * { pointer-events: auto; }
.consumer-web__modal-layer:has(> .consumer-web__nested-sheet, > .bottom-sheet-root, > .consumer-web__lightbox) { z-index: 1300 !important; }
/* Keep contribution forms viewport-sized, readable and independently scrollable. */
.consumer-web__nested-sheet, .consumer-web__nested-sheet .structured-suggest-edit, .consumer-web__nested-sheet .report-sheet { box-sizing: border-box; }
.consumer-web__nested-sheet .structured-suggest-edit, .consumer-web__nested-sheet .report-sheet { width: 100%; max-width: none; min-height: 0; }
.consumer-web__nested-sheet input, .consumer-web__nested-sheet select, .consumer-web__nested-sheet textarea { box-sizing: border-box; max-width: 100%; font-size: 16px; }
@media (min-width: 841px) {
 .consumer-web__modal-layer:has(> .consumer-web__nested-sheet) { background: #17144573; }
 .consumer-web__nested-sheet { position: fixed; inset: 50dvh auto auto 50vw; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 48px)); height: min(760px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); border-radius: 16px; box-shadow: 0 24px 75px #1714454d; overflow: hidden; }
 .consumer-web__nested-sheet .structured-suggest-edit, .consumer-web__nested-sheet .report-sheet { padding: 24px 28px; }
}
@media (max-width: 840px) {
 .consumer-web__nested-sheet { position: fixed; inset: 0; height: 100dvh; border-radius: 0; }
 .consumer-web__nested-sheet .structured-suggest-edit, .consumer-web__nested-sheet .report-sheet { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
