/* Editing sheets stay above navigation and fit the visible iPhone viewport. */
#sheet.show{z-index:1000!important}
.phone:has(>#sheet.show)>.bottom{visibility:hidden!important}
#sheet.show:not(.detail-sheet){top:var(--editor-top,0px)!important;bottom:auto!important;height:var(--editor-height,100dvh)!important;padding-top:calc(env(safe-area-inset-top,0px) + 8px);box-sizing:border-box;overflow:hidden;align-items:flex-end!important}
#sheet:not(.detail-sheet)>.sheet-card:not(.picker-card):not(.composer-card){width:100%!important;max-width:600px!important;margin:0 auto!important;min-height:0!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding:24px 22px calc(16px + env(safe-area-inset-bottom,0px))!important;scroll-padding-block:20px 80px}
#sheet:not(.detail-sheet) #sheetBody>.save{position:sticky;bottom:0;z-index:2;box-shadow:0 0 0 10px #fff;margin-bottom:2px}
#sheet:not(.detail-sheet) .form-row input,#sheet:not(.detail-sheet) .form-row textarea{font-size:16px}

.manager-delete{display:none!important}.editor-actions{display:flex;gap:10px;align-items:center}.editor-actions .danger{color:#e92345;background:#fff;border:1px solid #e92345;border-radius:8px;padding:11px 14px}.editor-actions .save{flex:1}

.work-more{font-size:14px}.work-more summary{cursor:pointer;padding:8px}.work-more:not([open])>button{display:none!important}.work-more[open]>button{display:block;margin:8px 0;padding:8px}.work-more .danger{color:#d9203c}.manager-row .work-more{flex-shrink:0}
