.mobile-task-sheet { padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--surface, #fff); color: var(--ink, #201e1c); margin: auto auto 0; inset: auto 0 0; width: 95vw; max-width: 95vw; height: calc(100dvh - max(12px, env(safe-area-inset-top, 0px))); max-height: calc(100dvh - max(12px, env(safe-area-inset-top, 0px))); box-sizing: border-box; overflow: hidden; }
.mobile-task-sheet[open] { display: flex; flex-direction: column; animation: task-sheet-enter .16s ease-out; }
.mobile-task-sheet::backdrop { background: #16161670; }
.task-sheet-grip { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; touch-action: none; user-select: none; cursor: grab; }
.task-sheet-grip > span { display: block; width: 40px; height: 4px; border-radius: 4px; background: #cfc7c0; }
.task-sheet-header { display: flex; align-items: center; gap: 10px; padding: 0 2.5% 8px; border-bottom: 1px solid var(--line, #e9e4de); flex: 0 0 auto; }
.task-sheet-customer { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--muted, #73685e); font-size: .8rem; }
.task-sheet-close { width: 44px; height: 44px; min-height: 44px; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--ink, #201e1c); font-size: 1.5rem; font-weight: 400; border-radius: 8px; }
.task-sheet-close:hover { background: var(--hover, #f3efeb); }
.task-sheet-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.mobile-task-sheet .task-sheet-card { margin: 0; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.mobile-task-sheet .task-sheet-card[open] > :not(summary) { margin-inline: 2.5%; }
.mobile-task-sheet .task-sheet-card > summary.task-heading { padding-top: 20px; padding-bottom: 16px; cursor: default; }
.mobile-task-sheet .task-sheet-card > summary.task-heading:hover { background: transparent; }
.mobile-task-sheet .task-sheet-card > summary.task-heading::after { display: none; }
.mobile-task-sheet .task-sheet-card > summary.task-heading > span:first-child { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
.mobile-task-sheet .task-sheet-card > summary.task-heading > .task-share-icon { right: 10px; }
.mobile-task-sheet .task-sheet-card > summary.task-heading:has(> .task-share-icon) { padding-right: 64px; }
.mobile-task-sheet .task-sheet-card > .task-more { border-bottom: 0; }
.task-sheet-footer:empty { display: none; }
.mobile-task-sheet #task-feedback { position: static; transform: none; width: auto; max-width: none; margin: 0; border-radius: 0; padding: 10px 2.5% max(10px, env(safe-area-inset-bottom, 0px)); font-size: .82rem; box-shadow: none; }
.mobile-task-sheet #task-feedback:empty { display: none; }
.mobile-task-sheet[data-dragging] { animation: none; transition: none; }
@keyframes task-sheet-enter { from { transform: translateY(26px); opacity: .8; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mobile-task-sheet[open] { animation: none; } }
@media (pointer: coarse) { .task-sheet-grip { flex-basis: 44px; } }
