.task-date-panel .task-date-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.task-date-panel .task-date-presets button{min-height:44px}.task-date-more>summary{min-height:44px;color:var(--ink-soft);cursor:pointer;padding:12px 8px;display:list-item}.task-date-more[open]{gap:6px;display:grid}.task-date-panel .task-date-target button{min-height:44px}.task-detail-date-popover{z-index:60;width:min(340px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);background:var(--paper-raised);border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:0 12px 40px var(--color-shadow);padding:10px;position:fixed;overflow-y:auto}.task-detail-date-popover>header{justify-content:space-between;align-items:center;min-height:44px;margin-bottom:6px;padding-inline-start:4px;font-size:16px;font-weight:700;line-height:24px;display:flex}.task-detail-date-popover>header .icon-button{min-width:44px;min-height:44px;color:var(--ink-soft);border-radius:var(--radius-control);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.task-detail-date-popover>header .icon-button:hover{background:var(--accent-soft)}.task-detail-date-popover .task-date-target button{min-width:0;min-height:44px;color:var(--ink-soft);font:inherit;font-size:var(--type-supporting);border-radius:var(--radius-control);cursor:pointer;background:0 0;border:0;align-content:center;padding:4px;display:grid}.task-detail-date-popover .task-date-target button[aria-checked=true]{color:var(--ink);background:var(--paper-raised);box-shadow:0 0 0 1px var(--line-strong);font-weight:700}.task-detail-date-popover .task-date-target small{color:var(--ink-muted);font-size:var(--type-label);text-overflow:ellipsis;white-space:nowrap;font-weight:400;overflow:hidden}.task-detail-date-popover .task-date-presets button,.task-detail-date-popover .task-date-clear{min-width:0;min-height:44px;color:var(--ink-soft);font:inherit;font-size:var(--type-supporting);border:1px solid var(--line);border-radius:var(--radius-control);cursor:pointer;background:0 0;padding:4px}.task-detail-date-popover .task-date-clear{border:0}.task-detail-date-popover .task-date-presets button:hover,.task-detail-date-popover .task-date-clear:hover{color:var(--accent);background:var(--accent-soft)}.task-detail-date-popover .tasknotes-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.task-detail-date-popover .tasknotes-calendar-grid [role=gridcell]{max-width:100%}.task-detail-date-scrim{display:none}@media (width<=839px){.task-detail-date-scrim{z-index:59;display:block}.task-detail-date-popover{width:100%;padding:10px var(--page-inset) calc(10px + env(safe-area-inset-bottom));padding-inline:clamp(6px, calc((100vw - 308px) / 2), var(--page-inset));border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;animation:motion-sheet-in var(--motion-sheet-enter) var(--ease-sheet);border-width:1px 0 0;flex-direction:column;display:flex;bottom:0;left:0;right:0;overflow:hidden}.task-detail-date-popover>header{border-bottom:1px solid var(--line);flex:none;min-height:44px}.task-detail-date-popover>.task-date-panel{overscroll-behavior:contain;min-height:0;overflow-y:auto}.task-detail-date-popover .tasknotes-calendar-grid [role=gridcell]{min-width:44px;height:44px;min-height:44px}}.task-property-editor.task-properties-sheet>header{display:block}.task-properties-sheet-heading{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.task-properties-sheet .task-properties-sheet-heading h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:20px;font-weight:700;line-height:26px}.task-properties-sheet-heading button{min-width:44px;min-height:44px;color:var(--ink-soft);border-radius:var(--radius-control);background:0 0;border:0;flex:0 0 44px;place-items:center;display:grid}.task-property-editor.task-properties-sheet>header p{overflow-wrap:anywhere;margin:4px 0 0}
