/* 5.0 — native-style task sheets; the original page stays visible underneath. */
.phone>.sheet-underlay{position:absolute!important;inset:var(--sheet-origin-top,44px) 0 0!important;z-index:0!important;height:auto!important;pointer-events:none;overflow:hidden;animation:none!important;transform:none!important;filter:none}
.phone>.sheet-underlay .mobile-content{animation:none!important}.phone>.sheet-underlay .app-footer{pointer-events:none}
.phone>.task-scrim{position:absolute;inset:0;z-index:3;background:rgb(11 18 30 / 34%);border:0;border-radius:0;padding:0;margin:0;width:100%;height:100%;cursor:pointer}.phone>.task-scrim-enter{animation:task-dim 220ms ease-out}
.phone>.app-root.task-sheet{position:absolute;inset:auto 0 0;z-index:4;flex:none;width:100%;max-height:84%;min-height:0;border-radius:30px 30px 0 0;overflow:hidden;background:#FFF;box-shadow:0 -10px 40px rgb(12 24 45 / 12%);animation:none;isolation:isolate}
.phone>.task-sheet.task-sheet-enter{animation:task-rise 300ms cubic-bezier(.2,.8,.2,1)}
.task-sheet-grabber{height:22px;flex:0 0 22px;display:grid;place-items:center}.task-sheet-grabber:before{content:'';width:36px;height:4px;border-radius:4px;background:#D7D7DF}
.task-sheet .app-header{height:52px;min-height:52px;padding-top:0;padding-bottom:8px;flex-shrink:0}.task-sheet .app-header.task-sheet-first{justify-content:space-between}.task-sheet .app-header.task-sheet-first h2{margin-right:auto}
.task-sheet .mobile-content{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;min-height:0}.task-sheet .app-footer{flex-shrink:0;padding-bottom:max(26px,env(safe-area-inset-bottom))}
.task-sheet .modal-backdrop{z-index:6}.task-sheet .sheet{max-height:100%;border-radius:24px 24px 0 0}
.phone:has(>.task-sheet)>.home-indicator{z-index:5;pointer-events:none}.phone:has(>.task-sheet)>.system-bar{z-index:1;pointer-events:none}
@keyframes task-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes task-dim{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.phone>.task-sheet.task-sheet-enter,.phone>.task-scrim{animation:none!important}.task-sheet .mobile-content{animation:none!important}}
@media(max-height:550px){.phone>.app-root.task-sheet{max-height:90%}.task-sheet .app-header{min-height:44px;height:44px}.task-sheet-grabber{height:16px;flex-basis:16px}}

.task-sheet [hidden]{display:none!important}
