
.desktop-topbar__date-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.desktop-topbar__logo {
  display: none;
  background: var(--app-bg);
}

@media (min-width: 761px) {
body:has(.page-shell) {
    --app-desktop-header-top: 1.75rem;
    --app-desktop-header-height: 4.25rem;
  }
.desktop-sidebar {
    top: 2rem !important;
    right: var(--app-desktop-content-gutter) !important;
    left: var(--app-desktop-content-gutter) !important;
    display: flex !important;
    width: auto !important;
    height: 4.75rem !important;
    padding: 0 1rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
.desktop-sidebar__nav {
    min-height: 4.75rem !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(1.1rem, 2.31vw, 2.64rem) !important;
  }
.desktop-sidebar__link {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    justify-items: center !important;
    align-content: center !important;
    gap: 0.09rem !important;
    width: 4.9rem !important;
    min-width: 4.9rem !important;
    height: 3.15rem !important;
    min-height: 3.15rem !important;
    padding: 0.37rem 0.64rem !important;
    border: 0;
    border-radius: 1.16rem !important;
    background: transparent;
    color: var(--app-muted-2);
    font-size: 0.86rem !important;
    font-weight: 680 !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }
.desktop-sidebar__link span:not(.desktop-sidebar__icon) {
    display: block;
    color: currentColor;
    line-height: 1.08;
  }
.desktop-sidebar__link:not(.is-active) {
    background: transparent !important;
    color: var(--app-muted-2) !important;
    opacity: 1;
  }
.desktop-sidebar__link.is-active {
    border: 0 !important;
    border-radius: 1.16rem !important;
    background: var(--app-primary-soft) !important;
    color: var(--app-primary-ink) !important;
  }
.desktop-sidebar__icon,
.desktop-sidebar__icon svg {
    width: 1.27rem !important;
    height: 1.27rem !important;
  }
body:has(.page-shell) .desktop-sidebar {
    top: 2rem;
    right: var(--app-desktop-content-gutter);
    left: var(--app-desktop-content-gutter);
    display: flex;
    width: auto;
    height: 4.75rem;
    padding: 0 1rem;
    align-items: center;
    justify-content: center;
  }
body:has(.page-shell) .desktop-sidebar__nav {
    min-height: 4.75rem;
    align-items: center;
    justify-content: center;
    gap: clamp(1.1rem, 2.31vw, 2.64rem);
  }
body:has(.page-shell) .desktop-sidebar__link {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    gap: 0.09rem;
    width: 4.9rem;
    min-width: 4.9rem;
    height: 3.15rem;
    min-height: 3.15rem;
    padding: 0.37rem 0.64rem;
    border: 0;
    border-radius: 1.16rem;
    background: transparent;
    color: var(--app-muted-2);
    font-size: 0.86rem;
    font-weight: 680;
    line-height: 1.08;
    text-align: center;
  }
body:has(.page-shell) .desktop-sidebar__link span:not(.desktop-sidebar__icon) {
    display: block;
    color: currentColor;
    line-height: 1.08;
  }
body:has(.page-shell) .desktop-sidebar__link:not(.is-active) {
    color: var(--app-muted-2);
    opacity: 1;
  }
body:has(.page-shell) .desktop-sidebar__link.is-active {
    border: 0 !important;
    border-radius: 1.16rem;
    background: var(--app-primary-soft);
    color: var(--app-primary-ink);
  }
body:has(.page-shell) .desktop-sidebar__icon,
body:has(.page-shell) .desktop-sidebar__icon svg {
    width: 1.27rem;
    height: 1.27rem;
  }
}
.page-shell--dashboard .daily-timeline-panel {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 1.125rem;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: var(--app-surface);
}
.page-shell--dashboard #dashboard_timeline {
  display: contents;
}

@media (min-width: 761px) {
.page-shell--dashboard .daily-timeline-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
.daily-timeline-panel > [data-responsive-list-utilities] {
    grid-column: 2;
    grid-row: 1;
  }
.page-shell--dashboard .daily-timeline-panel__heading {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
.daily-timeline-panel > .list-search-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }
.daily-timeline-panel :is(.daily-timeline-list, .daily-preview-empty-row) {
    grid-column: 1 / -1;
  }
}
.page-shell--dashboard .daily-timeline-panel__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 0.95rem;
}
.page-shell--dashboard .daily-timeline-panel__heading::before {
  display: none;
  content: none;
}
.page-shell--dashboard .daily-timeline-panel__heading .section-title {
  margin: 0;
  color: var(--app-primary);
  font-size: 1.02rem;
  font-weight: 860;
  line-height: 1.2;
  text-transform: uppercase;
}
.page-shell--dashboard .daily-timeline-list {
  display: grid;
}
.page-shell--dashboard .daily-timeline-row {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.page-shell--dashboard .daily-timeline-row + .daily-timeline-row {
  border-top: 1px solid var(--app-line);
}
.page-shell--dashboard .daily-timeline-panel .daily-calendar-row__main {
  grid-template-columns: minmax(0, 1fr) auto;
}
.page-shell--dashboard .daily-timeline-panel .daily-calendar-time {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--app-primary-ink);
  font-size: 0.78rem;
  font-weight: 660;
  line-height: 1.1;
}
.planning-view-switcher {
  display: none;
}

@media (max-width: 760px) {
.planning-view-switcher {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -0.9rem -0.82rem 0.8rem;
    border-bottom: 1px solid var(--app-line);
  }
.page-shell--tasks .planning-view-switcher,
.page-shell--calendar .planning-view-switcher {
    margin: -0.9rem -0.82rem 0.8rem;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--app-line);
    border-radius: 0;
    background: transparent;
  }
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card {
    min-width: 0;
    min-height: 0;
    padding: 0.9rem 0.82rem 0.96rem;
    border: 1px solid var(--app-line);
    border-radius: 1.22rem;
    background: var(--app-surface);
  }
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card :is( .personal-task-list, .calendar-event-list) {
    gap: 0;
  }
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card :is( .personal-task-row, .calendar-event-row) {
    min-height: 3.12rem;
    padding: 0.62rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card :is( .personal-task-row, .calendar-event-row) +
  :is( .personal-task-row, .calendar-event-row) {
    border-top: 1px solid var(--app-line);
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .planning-view-card .tasks-list-titlebar {
    margin-bottom: 0.72rem;
  }
.planning-view-card .work-title__title-line > :is(strong, .task-row__title) {
    display: inline;
  }
.planning-view-switcher__link {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.28rem;
    min-width: 0;
    min-height: 4.55rem;
    padding: 0.52rem 0.18rem 0.62rem;
    color: var(--app-muted);
    font-size: 0.76rem;
    font-weight: 680;
    line-height: 1;
    text-align: center;
    text-decoration: none;
  }
.planning-view-switcher__link + .planning-view-switcher__link {
    border-left: 1px solid var(--app-hairline);
  }
.planning-view-switcher__link.is-active {
    background: color-mix(in srgb, var(--app-primary-soft) 45%, transparent);
    color: var(--app-primary-ink);
  }
.planning-view-switcher__link.is-active::after {
    position: absolute;
    right: 0.72rem;
    bottom: 0;
    left: 0.72rem;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: var(--app-primary);
    content: "";
  }
.planning-view-switcher__icon,
.planning-view-switcher__icon svg {
    width: 1.42rem;
    height: 1.42rem;
  }
.page-shell--dashboard .daily-timeline-panel {
    min-height: 0;
    padding: 0.9rem 0.82rem 0.96rem;
    border-radius: 1.22rem;
  }
.page-shell--dashboard .daily-timeline-panel__heading {
    display: none;
  }
.page-shell--dashboard .daily-timeline-row {
    min-height: 3.12rem;
    padding: 0.22rem 0;
  }
}

@media (max-width: 340px) {
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card {
    padding-inline: 0.65rem;
  }
:is(
    .page-shell--tasks:not(.is-creating-task):not(.is-editing-task),
    .page-shell--calendar
  ) .planning-view-card .planning-view-switcher {
    margin-inline: -0.65rem;
  }
}
.page-shell--dashboard .daily-card-section-heading__title-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: inherit;
  width: 100%;
  min-width: 0;
  color: inherit;
}
.page-shell--dashboard .daily-tasks-panel__heading {
  grid-template-columns: minmax(0, 1fr);
}
.page-shell--dashboard .daily-card-section-heading__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}
.page-shell--dashboard .daily-tasks-open-pill,
.page-shell--dashboard .daily-calendar-events-pill {
  border: 0;
  border-radius: 999px;
  background: var(--app-primary-soft);
  color: var(--app-primary-ink);
  line-height: 1;
  white-space: nowrap;
}
.daily-dashboard__no-cards {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--app-line);
  border-radius: 1rem;
  background: var(--app-surface);
  color: var(--app-muted);
}
.daily-dashboard__no-cards a {
  color: var(--app-primary-ink);
  font-weight: 700;
}

@media (min-width: 761px) {
.page-shell--dashboard .daily-dashboard__grid[data-card-count="1"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 42rem;
  }
.page-shell--dashboard .daily-dashboard__grid[data-card-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 58rem;
  }
.page-shell--dashboard .daily-dashboard__grid[data-card-count="0"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 42rem;
  }
}

@media (min-width: 761px) {
.desktop-sidebar.desktop-topbar,
body:has(.page-shell) .desktop-sidebar.desktop-topbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 50;
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
    width: 100% !important;
    height: calc(var(--app-desktop-header-top) + var(--app-desktop-header-height)) !important;
    padding: var(--app-desktop-header-top) var(--app-desktop-content-gutter) 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--app-line) !important;
    border-radius: 0 !important;
    background: var(--app-bg) !important;
    color: var(--app-ink) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
.desktop-topbar__date {
    align-self: center;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--app-primary-ink);
    font-family: var(--app-display-font);
    font-size: clamp(1.62rem, 1.8vw, 1.95rem);
    font-weight: 780;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
  }
.desktop-topbar__date-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
  }
.desktop-topbar__date-link time {
    min-width: 0;
    overflow: hidden;
    padding-block-end: 0.16em;
    padding-inline-end: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.desktop-topbar__logo {
    display: block;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 3.4rem;
  }
.desktop-sidebar.desktop-topbar .desktop-sidebar__nav {
    grid-column: 2;
    align-self: center !important;
    justify-self: center !important;
    min-height: var(--app-desktop-header-height) !important;
  }
.desktop-topbar__actions {
    align-self: center;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }
.desktop-topbar__action-placeholder {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    visibility: hidden;
  }
.desktop-topbar__action {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--app-line);
    border-radius: 0.84rem;
    background: var(--app-surface);
    color: var(--app-muted-2);
    outline: 0;
    text-decoration: none;
  }
.desktop-topbar__quick-add {
    border-color: color-mix(in srgb, var(--app-primary) 68%, var(--app-line));
    background: var(--app-primary);
    color: var(--md-sys-color-on-primary);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }
.desktop-topbar__action svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }
.desktop-topbar__inbox-count {
    position: absolute;
    top: -0.38rem;
    right: -0.22rem;
    display: grid;
    place-items: center;
    min-width: 1.08rem;
    height: 1.08rem;
    padding: 0 0.2rem;
    border: 2px solid var(--app-bg);
    border-radius: 999px;
    background: var(--app-danger-soft);
    color: var(--app-danger);
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
  }
body:has(.page-shell--dashboard) .page-shell--dashboard .daily-dashboard__header {
    display: none !important;
  }
.page-shell {
    padding-top: calc(var(--app-desktop-header-top) + var(--app-desktop-header-height) + 1.9rem) !important;
  }
.page-shell .app-header {
    display: none !important;
  }
}

/* Keep compact geometry until the full-size logo/date and six-tab row have
   enough independent space. The prior 1100px cutoff created a collision at
   1101px when the full-size measurements returned. */
@media (min-width: 761px) and (max-width: 1199px) {
.desktop-sidebar.desktop-topbar,
body:has(.page-shell) .desktop-sidebar.desktop-topbar {
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  }
.desktop-sidebar.desktop-topbar .desktop-sidebar__nav {
    gap: 0.18rem !important;
  }
.desktop-topbar__date {
    font-size: 1.32rem;
  }
.desktop-topbar__date-link {
    gap: 0.4rem;
  }
.desktop-topbar__logo {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
  }
.desktop-sidebar.desktop-topbar .desktop-sidebar__link {
    width: 3.4rem !important;
    min-width: 3.4rem !important;
    padding: 0.3rem 0.28rem !important;
    font-size: 0.72rem !important;
  }
}

@media (min-width: 761px) and (max-width: 800px) {
.desktop-topbar__date {
    font-size: 1.05rem;
  }
.desktop-topbar__date-link {
    gap: 0.15rem;
  }
.desktop-sidebar.desktop-topbar .desktop-sidebar__link {
    width: 3.1rem !important;
    min-width: 3.1rem !important;
  }
}
.shared-workspace-header {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--app-ink);
}
.workspace-subheader {
  display: none;
}
.phone-header-utilities {
  display: none;
}

@media (max-width: 760px) {
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-app-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    min-height: 4.45rem;
    padding: 0.7rem 0 0.5rem;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-app-header .app-header__copy {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    grid-template-rows: 2.75rem;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    column-gap: 0.75rem;
    min-width: 0;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-header-back-link {
    grid-column: 1;
    grid-row: 1;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-app-header .app-header__title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    font-size: 2rem;
    line-height: 1.05;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-app-header .phone-list-utilities-target {
    grid-column: 2;
    grid-row: 1;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .tasks-app-header .app-header__actions {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
.page-shell--tasks:not(.is-creating-task):not(.is-editing-task) .task-create-panel__summary {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
  }
.page-shell--tasks:has(> .shared-workspace-header) {
    gap: 1rem !important;
    padding-top: calc(env(safe-area-inset-top) + 0.35rem) !important;
  }
.page-shell:has(> .workspace-subheader) {
    gap: 1rem !important;
    padding-top: calc(env(safe-area-inset-top) + 0.35rem) !important;
  }
.workspace-subheader {
    display: flex;
    align-items: center;
    min-height: 1.8rem;
    margin: 0 0 -0.75rem;
    padding-inline: 0.1rem;
  }
.workspace-subheader h2 {
    margin: 0;
    color: #24211d;
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
.page-shell--family .family-list-titlebar__copy {
    display: none !important;
  }
.page-shell .shared-workspace-header.daily-dashboard__header.app-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 2.75rem auto;
    align-items: start;
    box-sizing: border-box;
    width: calc(100vw - 2.5rem);
    max-width: 100%;
    justify-self: center;
    min-height: 4.45rem;
    margin-bottom: 0;
    padding: 0.18rem 0 0.34rem;
  }
.page-shell .shared-workspace-header .daily-dashboard__title {
    grid-column: 1 / -1;
    grid-row: 1 / 3;
    width: 100%;
  }
.page-shell .shared-workspace-header .daily-dashboard__title-mobile {
    grid-template-rows: 2.75rem auto;
    gap: 0;
  }
.page-shell .shared-workspace-header .daily-dashboard__weekday {
    align-self: center;
    justify-self: start;
  }
.page-shell .shared-workspace-header .daily-dashboard__date {
    justify-self: start;
  }
.page-shell .shared-workspace-header .daily-dashboard__actions {
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    gap: 0.2rem;
  }
.phone-header-utilities {
    display: contents;
  }
.phone-header-action {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--app-muted-2);
    text-decoration: none;
    line-height: 0;
  }
.phone-header-action svg {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    margin: auto;
    stroke-width: 1.8;
  }
.phone-header-inbox__count {
    position: absolute;
    top: -0.42rem;
    right: -0.28rem;
    display: grid;
    place-items: center;
    min-width: 1.08rem;
    height: 1.08rem;
    padding: 0 0.2rem;
    border: 2px solid var(--app-bg);
    border-radius: 999px;
    background: var(--app-danger-soft);
    color: var(--app-danger);
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
  }
.phone-header-action__surface {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid color-mix(in srgb, var(--app-muted-2) 32%, var(--app-line));
    border-radius: 0.72rem;
    background: var(--app-surface);
    color: var(--app-muted-2);
    line-height: 0;
    pointer-events: none;
  }
.shared-workspace-header .daily-dashboard__inbox,
.shared-workspace-header .daily-dashboard__settings,
.workspace-create-button:has(> .phone-header-action__surface--primary) {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    flex: 0 0 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
.shared-workspace-header .daily-dashboard__inbox svg,
.shared-workspace-header .daily-dashboard__settings svg {
    width: 0.9rem;
    height: 0.9rem;
  }
.workspace-create-button:has(> .phone-header-action__surface--primary)::before,
.workspace-create-button:has(> .phone-header-action__surface--primary)::after {
    content: none;
  }
.workspace-create-button > .phone-header-action__surface--primary {
    border-color: color-mix(in srgb, var(--app-primary) 42%, var(--app-line));
    background: var(--app-primary);
    color: var(--md-sys-color-on-primary);
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1;
  }
.workspace-create-button > .phone-header-action__surface--primary > span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
  }
.family-app-header .app-header__actions {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
}
html:has(.quick-capture-dialog[open]),
body:has(.quick-capture-dialog[open]) {
  overflow: hidden;
}
body:has(.quick-capture-dialog[open]) > .desktop-topbar,
body:has(.quick-capture-dialog[open]) > .desktop-sidebar,
body:has(.quick-capture-dialog[open]) > .bottom-navigation,
body:has(.quick-capture-dialog[open]) > .page-shell {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}
.quick-capture-dialog[open] {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  z-index: 210;
  display: block;
  width: min(620px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(86dvh, 560px);
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-card);
  color: var(--color-ink);
  box-shadow: 0 24px 70px rgba(27, 39, 34, 0.22);
  transform: translate(-50%, -50%);
}
.quick-capture-dialog:focus {
  outline: 0;
}
.quick-capture-dialog::backdrop {
  background: rgba(36, 49, 44, 0.35);
}
.quick-capture-dialog__sheet {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 0;
  padding: 1.45rem 1.55rem 1.55rem;
  background: var(--color-card);
}
.quick-capture-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
}
.quick-capture-dialog__header h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.1;
}
.quick-capture-dialog__close {
  appearance: none;
  display: inline;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8b8375;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.35;
  cursor: pointer;
}
.quick-capture-dialog__close:hover,
.quick-capture-dialog__close:focus-visible {
  color: var(--color-ink);
}
.quick-capture-options {
  display: grid;
  gap: 0.75rem;
  min-height: 0;
  overflow-y: auto;
}
.quick-capture-options__item {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-line);
  border-radius: 13px;
  background: #fffefa;
  color: var(--color-ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 790;
  text-align: left;
  text-decoration: none;
}
.quick-capture-options__item:hover,
.quick-capture-options__item:focus-visible {
  border-color: var(--color-teal);
  background: var(--color-card);
  color: var(--color-ink);
}

@media (max-width: 760px) {
body:has(.quick-capture-dialog[open]) > .bottom-navigation {
    display: none;
  }
.quick-capture-dialog[open] {
    inset: auto 0 0;
    width: 100%;
    max-height: 88dvh;
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
    transform: none;
  }
.quick-capture-dialog__sheet {
    gap: 1rem;
    padding: 1.55rem 1.35rem calc(2.25rem + env(safe-area-inset-bottom));
  }
.quick-capture-dialog__header {
    align-items: flex-start;
  }
.quick-capture-dialog__header h2 {
    font-size: 1.78rem;
  }
.quick-capture-dialog__close {
    padding-top: 0.18rem;
  }
.quick-capture-options__item {
    min-height: 3.7rem;
    padding: 0.82rem 0.95rem;
    font-size: 1.1rem;
  }
}
a.calendar-connect-action,
a.calendar-connect-action:visited {
  border-color: var(--color-teal-dark);
  background: var(--color-teal);
  color: var(--md-sys-color-on-primary);
  opacity: 1;
}
a.calendar-connect-action:hover,
a.calendar-connect-action:focus-visible {
  border-color: var(--color-teal-dark);
  background: var(--color-teal-dark);
  color: var(--md-sys-color-on-primary);
}
.page-shell--dashboard .daily-task-due.schedule-row-status {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}
.schedule-row-status .is-overdue {
  color: var(--app-danger);
}
