/* Life V325 — desktop Tasks viewport mount fix.
   The Tasks route is a sibling of the Expense shell in index.html, not a child of
   .layout-right. Older desktop route CSS left it in normal document flow, so #/tasks
   could render below the full-height Expense shell and leave the visible workspace blank.
   Desktop browser only; Capacitor/mobile remains untouched. */
@media (min-width: 1024px) {
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage.tasks-route-page {
    position: fixed !important;
    top: var(--task-ref-topbar, 68px) !important;
    left: var(--task-ref-app-column, 312px) !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    z-index: 5000 !important;
    background: var(--task-ref-canvas, #f5f7fa) !important;
  }

  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage > .tasks-page-content {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-reference-page-title,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-shell,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-nav,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-workspace,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-card {
    visibility: visible !important;
    opacity: 1 !important;
  }
}
