/* v763 — Habit interval timers. Kept separate from the legacy To-Do stylesheet. */
.todo-immediate-desktop-v418 .category-card.goal-card-current.todo-immediate-task-card-v422 > .todo-habit-timer-v763{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  width:100%!important;box-sizing:border-box!important;margin-top:6px!important;padding-top:6px!important;
  border-top:1px solid #edf1f4!important;color:#526273!important;
  font:750 11px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-variant-numeric:tabular-nums!important;cursor:default!important;
}
.todo-immediate-desktop-v418 .category-card.goal-card-current.todo-immediate-task-card-v422 > .todo-habit-timer-v763>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.todo-immediate-desktop-v418 .category-card.goal-card-current.todo-immediate-task-card-v422 > .todo-habit-timer-v763 button{
  flex:0 0 auto!important;min-width:48px!important;height:26px!important;padding:0 8px!important;
  border:1px solid #d5dde5!important;border-radius:7px!important;background:#f8fafc!important;color:#334155!important;
  font:800 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;cursor:pointer!important;touch-action:manipulation!important;
}
.todo-immediate-desktop-v418 .category-card.goal-card-current.todo-immediate-task-card-v422 > .todo-habit-timer-v763 button:hover{background:#eef3f7!important;border-color:#bcc8d3!important}
.todo-immediate-desktop-v418 .todo-habit-timer-v763.is-running .todo-habit-timer-status-v763 strong{color:#2f5d78!important}
.todo-immediate-desktop-v418 .todo-habit-timer-v763.is-completed .todo-habit-timer-status-v763 strong{color:#2f6f4f!important;font-weight:850!important}
.todo-immediate-desktop-v418 .todo-habit-timer-status-v763{display:grid!important;gap:1px!important;min-width:0!important}
.todo-immediate-desktop-v418 .todo-habit-timer-status-v763 small{font-size:9px!important;font-weight:650!important;color:#8793a0!important}

.habit-timer-editor-v763{margin-top:12px;padding:12px;border:1px solid #dfe6ed;border-radius:11px;background:#f8fafc}
.habit-timer-enable-v763{display:flex;align-items:center;gap:8px;font-weight:800;color:#263547;cursor:pointer}
.habit-timer-enable-v763 input{width:17px;height:17px;margin:0}
.habit-timer-duration-v763{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:10px}
.habit-timer-duration-v763[hidden]{display:none!important}
.habit-timer-duration-v763 label{display:grid;gap:5px;color:#617083;font-size:11px;font-weight:750}
.habit-timer-duration-v763 .editor-input{width:100%;box-sizing:border-box}
.habit-timer-help-v763{margin:8px 0 0;color:#718096;font-size:10px;line-height:1.35}

@media(max-width:820px){
  body[data-todo-mobile-area-v612="reminders"] #todoImmediateDesktopV418 .todo-habit-timer-v763,
  body.todo-mobile-reminders-open-v459 #todoImmediateDesktopV418 .todo-habit-timer-v763{
    min-height:38px!important;font-size:13px!important;pointer-events:auto!important;touch-action:manipulation!important;
  }
  body[data-todo-mobile-area-v612="reminders"] #todoImmediateDesktopV418 .todo-habit-timer-v763 button,
  body.todo-mobile-reminders-open-v459 #todoImmediateDesktopV418 .todo-habit-timer-v763 button{
    min-width:60px!important;height:36px!important;font-size:12px!important;pointer-events:auto!important;
  }
  .habit-timer-duration-v763{grid-template-columns:1fr 1fr}
}
