/* Life V326 — desktop task-list permalink/full-screen view.
   Desktop browser only. The normal #/tasks reference layout remains unchanged;
   Capacitor Android and mobile breakpoints are deliberately excluded. */
@media (min-width: 1024px) {
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-back,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-add,
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-sync {
    display:none!important;
  }

  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-list-entry {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34px!important;
    gap:4px!important;
    align-items:center!important;
    min-width:0!important;
  }
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-list-entry .tasks-desktop-list-button {
    width:100%!important;
    min-width:0!important;
  }
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-list-open {
    width:32px!important;
    height:32px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid transparent!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#758194!important;
    cursor:pointer!important;
    box-shadow:none!important;
  }
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-list-open:hover {
    border-color:#dbe5f3!important;
    background:#eef5ff!important;
    color:#2f6fe4!important;
  }
  html:not(.capacitor-android) body.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-list-open .material-symbols-rounded {
    font-size:18px!important;
  }

  /* /<list-slug> — selected task list owns the entire browser canvas. */
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] {
    overflow:hidden!important;
    background:#f4f7fb!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #app-header,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #app-sidebar,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #sidebar-overlay,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #global-floating-menu-btn {
    display:none!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #app-main,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #expensePage,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #expensePage .layout,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #expensePage .layout-right {
    width:100%!important;
    max-width:none!important;
    height:100vh!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage.tasks-route-page {
    position:fixed!important;
    inset:0!important;
    z-index:9000!important;
    width:100vw!important;
    height:100vh!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#f4f7fb!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage > .tasks-page-content {
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-reference-page-title,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-nav,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-desktop-board,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-navigation-panel,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-desktop-inspector,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-fab,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-reference-column-head {
    display:none!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-shell {
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:22px!important;
    display:block!important;
    overflow:hidden!important;
    background:#f4f7fb!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-workspace {
    width:min(1180px,100%)!important;
    height:100%!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:0!important;
    display:block!important;
    overflow:hidden!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-card {
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border:1px solid #dde4ed!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 12px 34px rgba(21,31,48,.08)!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-card-header {
    flex:0 0 82px!important;
    min-height:82px!important;
    height:82px!important;
    padding:13px 18px!important;
    display:grid!important;
    grid-template-columns:42px minmax(170px,1fr) minmax(220px,360px) auto!important;
    align-items:center!important;
    gap:12px!important;
    border-bottom:1px solid #e6ebf1!important;
    background:#fff!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-back {
    width:38px!important;
    height:38px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid #dfe5ed!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#465264!important;
    cursor:pointer!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-back:hover {
    background:#f3f6fa!important;
    color:#2266da!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-heading-wrap {
    min-width:0!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-list-heading {
    margin:0 0 3px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#171b22!important;
    font-size:1.12rem!important;
    font-weight:820!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-list-summary {
    margin:0!important;
    color:#788395!important;
    font-size:.72rem!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search {
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    padding:0 12px!important;
    border:1px solid #dfe5ed!important;
    border-radius:11px!important;
    background:#f8fafc!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search .material-symbols-rounded {
    color:#748196!important;
    font-size:19px!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search input {
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#202631!important;
    font-size:.8rem!important;
    box-shadow:none!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-header-actions {
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-header-actions .tasks-icon-button {
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid #dfe5ed!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#566276!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-header-actions .tasks-icon-button:hover {
    border-color:#cddbf0!important;
    background:#eef5ff!important;
    color:#2869dd!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-add,
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-sync {
    display:grid!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-fullscreen-button {
    display:none!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-block {
    display:block!important;
    margin:10px 14px!important;
    overflow:hidden!important;
    border:1px solid #e0e6ee!important;
    border-radius:12px!important;
    background:#fff!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-toggle {
    min-height:44px!important;
    width:100%!important;
    padding:0 13px!important;
    border:0!important;
    border-radius:0!important;
    font-size:.8rem!important;
    font-weight:780!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-toggle b {
    min-width:27px!important;
    height:24px!important;
    display:grid!important;
    place-items:center!important;
    padding:0 7px!important;
    border-radius:999px!important;
    background:currentColor!important;
    color:#fff!important;
    font-size:.7rem!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-block.overdue .tasks-overview-toggle b { background:#dc4250!important; }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-block.today .tasks-overview-toggle b { background:#e6a00c!important; }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-list {
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    padding:8px 0 18px!important;
  }
  html:not(.capacitor-android) body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-completed-toggle {
    flex:0 0 auto!important;
    margin:0 14px 14px!important;
    border-radius:10px!important;
  }

  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"],
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage.tasks-route-page,
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-shell {
    background:#101319!important;
  }
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-card,
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-list-card-header,
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-overview-block {
    border-color:#2a303a!important;
    background:#171b22!important;
  }
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage #tasks-list-heading { color:#f3f5f8!important; }
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search,
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-back,
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-header-actions .tasks-icon-button {
    border-color:#303744!important;
    background:#1b2028!important;
    color:#c8d0dc!important;
  }
  html:not(.capacitor-android)[data-theme="dark"] body.tasks-standalone-list.app-authed[data-active-route="tasks"] #tasksPage .tasks-standalone-search input { color:#eef2f7!important; }
}
