:root{--mdpos-text:#173b49;--mdpos-muted:#526d78;--mdpos-border:#ccdce3;--mdpos-focus:#087eaa;--mdpos-radius:14px;--mdpos-touch:44px;--mdpos-page-size:24px;--mdpos-section-size:20px;--mdpos-body-size:14px;--mdpos-heading-weight:700}.mdpos-modal-layer.mdpos-modal-layer{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;overflow-y:auto;overscroll-behavior:contain;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box}.mdpos-modal-layer .mdpos-form-dialog{border:1px solid var(--mdpos-border);border-radius:var(--mdpos-radius);background:#fff;color:var(--mdpos-text)}.mdpos-modal-layer .mdpos-form-dialog>header{padding:16px 20px!important;background:#f5f9fb!important;color:var(--mdpos-text)!important;border-bottom:1px solid var(--mdpos-border);gap:12px}.mdpos-modal-layer .mdpos-form-dialog>header :is(h2,h3){margin:0;font-size:var(--mdpos-section-size)!important;font-weight:var(--mdpos-heading-weight)!important;line-height:1.3;color:inherit}.mdpos-modal-layer .mdpos-form-dialog>header :is(p,span){color:var(--mdpos-muted);font-size:var(--mdpos-body-size);line-height:1.4}.mdpos-modal-layer .mdpos-form-dialog>header>button{flex:0 0 44px;width:44px;height:44px;border:1px solid var(--mdpos-border);border-radius:8px;background:white;color:var(--mdpos-text);font-size:24px}.mdpos-modal-layer .mdpos-form-dialog>footer{padding:12px 20px!important;gap:8px;border-top:1px solid var(--mdpos-border);background:#f5f9fb!important}.mdpos-modal-layer>:is(section,form,aside,div){min-width:0;max-width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}.mdpos-modal-layer :is(h1,h2,h3){line-height:1.25;overflow-wrap:anywhere}.mdpos-modal-layer :is(p,small,label){overflow-wrap:anywhere}.mdpos-modal-layer :is(header,footer){min-width:0;flex-shrink:0}.mdpos-modal-layer header>div{min-width:0}.mdpos-modal-layer :is(header,footer) button{min-height:var(--mdpos-touch);min-width:var(--mdpos-touch);white-space:normal;touch-action:manipulation}.mdpos-modal-layer .management-dialog>header{position:sticky;top:0;z-index:3;background:#fff}.mdpos-modal-layer .management-dialog>footer{position:sticky;bottom:0;z-index:3;background:#fff}.mdpos-modal-layer .management-dialog>footer>button{min-height:var(--mdpos-touch)!important;height:auto!important;min-width:100px;max-width:100%;padding:10px 16px!important;box-sizing:border-box;line-height:1.25}.mdpos-modal-layer :is(input:not([type=checkbox]):not([type=radio]),select){min-height:var(--mdpos-touch);min-width:0;max-width:100%;box-sizing:border-box}.mdpos-modal-layer :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--mdpos-focus)!important;outline-offset:2px}.mdpos-modal-layer :is(button,input,select,textarea):disabled{cursor:not-allowed}.mdpos-modal-layer [role=alert]{line-height:1.5;overflow-wrap:anywhere}.drawer-backdrop.mdpos-modal-layer{align-items:stretch;justify-content:flex-end;padding:0}.drawer-backdrop.mdpos-modal-layer>aside{height:100dvh;max-height:100dvh;border-radius:0}@media(max-width:760px){.mdpos-modal-layer.mdpos-modal-layer{padding:8px}.mdpos-modal-layer>:is(section,form,aside,div){max-height:calc(100dvh - 16px)}.mdpos-modal-layer footer{flex-wrap:wrap;gap:8px}.mdpos-modal-layer :is(input,select,textarea){font-size:16px}}@media(max-width:1024px) and (max-height:600px) and (orientation:landscape){.mdpos-modal-layer.mdpos-modal-layer>:is(section,form,aside,div){max-height:calc(100dvh - 12px)!important}}@media(prefers-reduced-motion:reduce){.mdpos-modal-layer,.mdpos-modal-layer *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}