/* Selected original desktop rules for the browser screens. Source: FocusMateTauri/dist/styles.css. */
@font-face{
  font-family: "Timoro Arabic Modern";
  src: url("assets/ReadexPro-Arabic.woff2") format("woff2");
  font-weight: 400 700;

  size-adjust: 94%;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
:root{
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-low: #f1f4ef;
  --surface-mid: #e9eee7;
  --surface-high: #e1e8df;
  --ink: #202a25;
  --muted: #526057;
  --outline: #727973;
  --outline-soft: #cbd5cc;
  --primary: #3f7f64;
  --primary-ink: #28563f;
  --primary-soft: #caead2;
  --secondary-soft: #dde5d9;
  --tertiary: #80611b;
  --tertiary-soft: #f5e9c4;
  --error: #ba1a1a;
  --error-soft: #ffdad6;
  --shadow: rgba(69, 97, 78, .14);
  --font-main: "Timoro Arabic Pixel", "Space Mono", monospace;



  --dir: 1;

  --fs-nano: 8px;
  --fs-micro: 9px;
  --fs-mini: 10px;
  --fs-label: 11px;


  --shadow-strong: rgba(69, 97, 78, .26);
  --edge-w: 1.5px;
  --accent-bar-w: 4px;
  --sh-2: 2px 2px 0;
  --sh-3: 3px 3px 0;
  --sh-4: 4px 4px 0;
  --sh-5: 5px 5px 0;
  --sh-6: 6px 6px 0;
  --sh-7: 7px 7px 0;
  --sh-8: 8px 8px 0;
  --sh-lift-3: 0 3px 0;
  --sh-lift-4: 0 4px 0;
  --sh-inset-active: inset 0 -3px 0;
  --sh-inset-top: inset 0 3px 0;

  --sh-glow: 0 0 0 3px;
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --r-pill: 0;

  --on-primary: #ffffff;
}
*{
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--outline) var(--surface-low);
}
[hidden]{
  display: none !important;
}
*::-webkit-scrollbar{
  width: 12px;
  height: 12px;
}
*::-webkit-scrollbar-track{
  background: var(--surface-low);
  border-inline-start: 1px solid var(--outline-soft);
}
*::-webkit-scrollbar-thumb{
  min-height: 42px;
  background: var(--outline);
  border: 3px solid var(--surface-low);
}
*::-webkit-scrollbar-thumb:hover{
  background: var(--primary);
}
*::-webkit-scrollbar-thumb:active{
  background: var(--tertiary);
}
*::-webkit-scrollbar-button{
  display: none;
  width: 0;
  height: 0;
}
*::-webkit-scrollbar-corner{
  background: var(--surface-low);
}
:root[data-theme="dark"] body{
  --bg: #121212;
  --surface: #20231e;
  --surface-low: #20231e;
  --surface-mid: #20231e;
  --surface-high: #20231e;
  --ink: #edf3ee;
  --muted: #bcc9bf;
  --outline: #98ac9c;
  --outline-soft: #46574a;
  --primary: #3f7f64;
  --primary-ink: #a9d7b2;
  --primary-soft: #263d2d;
  --secondary-soft: #30353a;
  --tertiary: #e3c36d;
  --tertiary-soft: #3f3824;
  --error: #ff6268;
  --error-soft: #52191d;
  --shadow: rgba(0, 0, 0, .34);
  --shadow-strong: rgba(0, 0, 0, .5);
  --on-primary: #141518;
}
body{
  --sidebar-width: 240px;
  --sh-color: var(--shadow);
  --sh-color-strong: var(--shadow-strong);
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  transition: grid-template-columns .38s cubic-bezier(.22, .61, .36, 1), background-color .24s ease, color .24s ease;
}
.material-symbols-outlined{
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;

  -webkit-user-select: none;
  user-select: none;
}
.material-symbols-outlined::selection,
.material-symbols-outlined *::selection{ background: transparent; color: transparent; -webkit-text-fill-color: transparent; }
:where(body.modern-ui) :where(.material-symbols-outlined[data-modern-icon]){
  position: relative;
}
body.modern-ui .material-symbols-outlined[data-modern-icon]{
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
button, input, select, textarea{
  font: inherit;
  color: inherit;
}
input, textarea{
  font-family: var(--font-main);
}
input[type="date"],
input[type="time"]{
  color-scheme: light;
}
:root[data-theme="dark"] body input[type="date"],
:root[data-theme="dark"] body input[type="time"]{
  color-scheme: dark;
}
:root[data-theme="dark"] body input[type="date"]::-webkit-calendar-picker-indicator,
:root[data-theme="dark"] body input[type="time"]::-webkit-calendar-picker-indicator{
  filter: invert(86%) sepia(18%) saturate(420%) hue-rotate(75deg) brightness(105%);
  opacity: 1;
}
button{
  cursor: pointer;
}
button:disabled{
  cursor: default;
}
body.soft-motion button:not(:disabled){
  transition: filter .16s ease, transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
body.soft-motion button:not(:disabled):hover{
  filter: brightness(1.08);
  transform: translateY(-2px);
}
body.soft-motion button:not(:disabled):active{
  filter: brightness(.96);
  transform: translateY(1px);
}
body:not(.soft-motion) *,
body:not(.soft-motion) *::before,
body:not(.soft-motion) *::after{
  transition: none !important;
  animation: none !important;
}
.task-title,
.focus-card h3,
.calendar-pill,
.day-panel,
input{
  unicode-bidi: plaintext;
}
.task-title,
.calendar-pill,
.day-panel li{
  overflow-wrap: anywhere;
}
.sidebar-rail{
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100vh;
  z-index: 12;
  overflow: visible;
}
.sidebar-rail::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset-inline-end: 0;
  top: 76px;
  bottom: 20px;
  width: var(--edge-w);
  background: var(--outline-soft);
  opacity: .65;
  transform-origin: top center;
  transition: opacity .32s ease, transform .38s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
body.sidebar-collapsed .sidebar-rail::after{ opacity: 0; transform: scaleY(.94); }
.sidebar{
  width: 100%;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  transition: background-color .24s ease;
}
.sidebar > *{
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  transition: transform .38s cubic-bezier(.22, .61, .36, 1) !important;
}
body.sidebar-collapsed{
  grid-template-columns: 0 1fr;
}
body.sidebar-collapsed .sidebar{
  pointer-events: none;
}
body.sidebar-collapsed .sidebar > *{
  transform: translateX(calc(var(--dir) * -20px));
}
.sidebar-toggle{
  position: absolute;
  top: 16px;
  inset-inline-end: -16px;
  inset-inline-start: auto;
  z-index: 18;
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
  box-shadow: none;
  will-change: inset-inline-end;
  transition: inset-inline-end .38s cubic-bezier(.22, .61, .36, 1), background-color .24s ease, color .24s ease !important;
}
body.sidebar-collapsed .sidebar-toggle{
  inset-inline-end: -44px;
}
.sidebar-toggle .material-symbols-outlined{
  font-size: 20px;
  transition: transform .38s cubic-bezier(.22, .61, .36, 1) !important;
}
body.sidebar-collapsed .sidebar-toggle .material-symbols-outlined{
  transform: rotate(180deg);
}
body.sidebar-collapsed .topbar{
  padding-inline-start: 52px;
}
.topbar{
  transition: padding-inline-start .38s cubic-bezier(.22, .61, .36, 1), border-color .24s ease !important;
}
body.sidebar-opening .brand,
body.sidebar-opening .nav,
body.sidebar-opening .sidebar-footer{
  animation: sidebar-content-in .34s cubic-bezier(.22, 1, .36, 1) both !important;
}
body.sidebar-opening .nav{ animation-delay: .04s !important; }
body.sidebar-opening .sidebar-footer{ animation-delay: .08s !important; }
.brand{
  padding: 24px 22px 22px;
  border-bottom: var(--edge-w) solid var(--outline-soft);
}
.brand h1{
  margin: 0;
  color: var(--primary-ink);
  font-size: 26px;
  letter-spacing: .03em;
}
.brand-title{ display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark{ width: 36px; height: 36px; flex: none; object-fit: contain; background: transparent; border-radius: var(--r-sm); }
.brand p{
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 12px;
}
.nav{
  padding-top: 18px;
  flex: 1;
}
.nav-item, .quiet{
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: start;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-item > span{
  width: 22px;
  font-size: 22px;
  flex-shrink: 0;
}
.nav-item.active{
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-inline-end: var(--accent-bar-w) solid var(--primary-ink);
  font-weight: 700;
}
.sidebar-footer{
  padding: 18px;
  border-top: var(--edge-w) solid var(--outline-soft);
}
.button-with-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button-with-icon .material-symbols-outlined{
  font-size: 19px;
}
.shell{
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 64px 1fr;
}
.topbar{
  display: grid;

  grid-template-columns: 304px minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 0 24px;
  transition: padding-inline-start .28s ease, border-color .24s ease;
}
.title-group{
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.page-chip-wrap{
  position: relative;
}
.title-group h2{
  color: var(--primary-ink);
  font-size: 26px;
  margin: 0;
}
#page-chip, .counter{
  display: inline-block;
  background: var(--primary-soft);
  border: var(--edge-w) solid var(--primary-ink);
  color: var(--primary-ink);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
#page-chip{
  min-height: 34px;
  font-family: inherit;
  cursor: default;
}
.calendar-view-menu{
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 35;
  width: 210px;
  padding: 14px;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--surface);
  box-shadow: var(--sh-5) var(--sh-color);
  color: var(--ink);
}
.calendar-view-menu[hidden]{
  display: none;
}
.calendar-view-menu > span{
  display: block;
  color: var(--muted);
  font-size: var(--fs-micro);
  font-weight: 700;
}
.calendar-view-menu{
  width: 170px;
  display: grid;
  gap: 8px;
}
.calendar-view-menu button{
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface-low);
  color: var(--ink);
  font-weight: 700;
  text-align: start;
}
.calendar-view-menu button.active,
.calendar-view-menu button:hover{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.calendar-view-menu .material-symbols-outlined{
  font-size: 18px;
}
.session-goal-stepper{
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.session-goal-stepper button{
  width: 38px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface-low);
  color: var(--primary-ink);
}
.session-goal-stepper strong{
  text-align: center;
  color: var(--primary-ink);
  font-size: 20px;
}
.search{
  height: 40px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.search input{
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
}
.search span{
  color: var(--primary-ink);
}
input::placeholder{
  color: var(--muted);
  opacity: .85;
}
.top-actions{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn, .avatar{
  width: 38px;
  height: 38px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface);
  color: var(--primary-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.icon-btn .material-symbols-outlined,
.avatar .material-symbols-outlined{
  font-size: 21px;
}
.avatar{
  background: var(--primary-soft);
  color: var(--primary-ink);
  border-color: var(--primary-ink);
}
.page{
  display: none;
  padding: 28px 32px;
  overflow: auto;
  scrollbar-gutter: stable;
}
.page.active{
  display: block;
  animation: page-enter .18s cubic-bezier(.2, .8, .2, 1);
}
.card{
  background: var(--surface);
  border: var(--edge-w) solid var(--outline-soft);
  padding: 18px;
  box-shadow: var(--sh-4) var(--sh-color);
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.raised{
  border-color: var(--outline);
}
.quick-add{
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px;
  gap: 12px;
  padding: 16px;
  margin-bottom: 34px;
}
.todo-layout{
  align-items: start;
}
.todo-priorities{
  min-width: 0;
}
.quick-add.todo-side-add{
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px;
}
.todo-side-add .task-add-trigger{
  min-width: 0;
  min-height: 46px;
  padding-inline: 10px;
  font-size: var(--fs-label);
}
.todo-side-add .task-add-trigger span:last-child{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.todo-add-button{
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0;
  display: grid;
  place-items: center;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
  box-shadow: var(--sh-lift-3) var(--primary);
}
.todo-add-button:hover,
.todo-add-button:focus-visible{
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-1px);
}
.todo-add-button:active{
  box-shadow: 0 1px 0 var(--primary);
  transform: translateY(2px);
}
.todo-add-button .material-symbols-outlined{
  font-size: 21px;
}
.task-add-trigger{
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--muted);
  text-align: start;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.task-add-trigger:hover,
.task-add-trigger:focus-visible{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
  outline: none;
}
.task-add-trigger .material-symbols-outlined{
  color: var(--primary-ink);
}
[data-reorder-id]{
  touch-action: pan-y;
}
@media (hover: hover){[data-reorder-id]:not(:has(button:hover, input:hover, select:hover, label:hover)){
    cursor: grab;
  }
}
input, select, textarea{
  min-height: 42px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}
textarea{
  padding-block: 11px;
  resize: vertical;
}
input:focus, select:focus, textarea:focus{
  border-color: var(--primary-ink);
  box-shadow: var(--sh-inset-active) var(--primary);
}
.primary, .secondary, .danger{
  min-height: 42px;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  padding: 0 14px;
  box-shadow: var(--sh-lift-4) var(--primary);
}
.secondary{
  background: var(--surface-low);
  color: var(--primary-ink);
}
.danger{
  background: var(--error-soft);
  color: var(--error);
  border-color: var(--error);
  box-shadow: var(--sh-lift-4) var(--error);
}
.primary:active, .secondary:active, .danger:active{
  transform: translateY(2px);
  box-shadow: 0 2px 0 currentColor;
}
.two-column{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
}
.section-heading, .form-title, .calendar-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-control{
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface-high);
  color: var(--primary-ink);
  cursor: pointer;
}
.sort-control:focus-within,
.sort-control:hover{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
}
.sort-control .material-symbols-outlined{
  font-size: 17px;
}
.sort-control select{
  min-width: 76px;
  border: 0;
  outline: 0;
  padding: 0 18px 0 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  cursor: pointer;
}
.sort-control select option{
  background: var(--surface);
  color: var(--ink);
}
h3{
  margin: 0;
  color: var(--primary-ink);
  font-size: 24px;
}
.task-group{
  margin-bottom: 24px;
}
.task-group h4{
  margin: 0 0 10px;
  color: var(--primary-ink);
  font-size: 16px;
}
.task-group-completed{
  border-top: var(--edge-w) solid var(--outline-soft);
  padding-top: 14px;
}
.task-completed-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.task-completed-toggle h4{
  margin: 0;
  color: var(--primary-ink);
  font-size: 16px;
}
.task-completed-caret{
  color: var(--primary-ink);
  font-size: 22px;
  transition: transform .2s ease;
}
.task-group-completed.collapsed .task-completed-caret{ transform: rotate(-90deg); }
.task-completed-count{
  margin-inline-start: auto;
  min-width: 22px;
  padding: 2px 8px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--muted);
  font-size: var(--fs-label);
  font-weight: 700;
  text-align: center;
}
.task-completed-body{
  margin-top: 12px;
  animation: task-completed-reveal .22s ease;
}
.task-group-completed.collapsed .task-completed-body{ display: none; }
body:not(.soft-motion) .task-completed-body{ animation: none; }
.task-row{
  display: grid;
  grid-template-columns: 34px 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--surface);
  border: var(--edge-w) solid var(--outline-soft);
}
.task-row{
  cursor: pointer;
}
.task-row.overdue{
  border-inline-start: var(--accent-bar-w) solid var(--error);
}
.task-row.priority-high{
  border-inline-start: var(--accent-bar-w) solid var(--tertiary);
}
.task-row.priority-normal{
  border-inline-start: var(--accent-bar-w) solid var(--primary-ink);
}
.task-row.priority-urgent{
  border-inline-start: var(--accent-bar-w) solid var(--error);
}
:root[data-theme="dark"] body #page-todo .task-row.priority-normal{ border-inline-start-color: #75a184; }
:root[data-theme="dark"] body #page-todo .task-row.priority-high{ border-inline-start-color: #b78755; }
:root[data-theme="dark"] body #page-todo .task-row.priority-urgent{ border-inline-start-color: #d5686d; }
:root[data-theme="dark"] body #page-todo .priority-badge.normal{ color: #91bd9c; }
:root[data-theme="dark"] body #page-todo .priority-badge.high{ color: #c9a071; }
:root[data-theme="dark"] body #page-todo .priority-badge.urgent{ color: #e38185; }
:root[data-theme="dark"] body #page-todo .task-row .secondary{
  border-color: #71947a;
  background: #253329;
  color: #9bc7a4;
  box-shadow: var(--sh-lift-4) #71947a;
}
:root[data-theme="dark"] body #page-todo .task-row .danger{
  border-color: #ad555b;
  background: #3d2224;
  color: #dc777c;
  box-shadow: var(--sh-lift-4) #ad555b;
}
.task-row.done .task-title{
  text-decoration: line-through;
  color: var(--muted);
}
.task-row > div{
  min-width: 0;
}
.task-note-preview{
  max-width: 62ch;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-meta, small{
  color: var(--muted);
}
.task-details{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}
.priority-badge{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--fs-mini);
  font-weight: 700;
}
.priority-badge .material-symbols-outlined{
  font-size: 13px;
}
.subtask-progress{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: var(--fs-mini);
  font-weight: 700;
}
.subtask-progress .material-symbols-outlined{
  font-size: 13px;
}
.subtask-progress.complete{
  color: var(--primary-ink);
}
.icon-action{
  width: 42px;
  padding: 0;
}
.priority-badge.high{
  color: var(--tertiary);
}
.priority-badge.normal{
  color: var(--primary-ink);
}
.priority-badge.urgent{
  color: var(--error);
}
.side-stack{
  display: grid;
  gap: 22px;
  align-content: start;
}
.task-editor[hidden]{
  display: none;
}
.task-editor{
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 15, 12, .68);
}
.task-editor-panel{
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  border: 2px solid var(--outline);
  background: var(--surface);
  box-shadow: var(--sh-8) var(--sh-color);
  animation: task-editor-in .18s steps(3, end);
}
.task-editor-subtasks{ display: grid; gap: 8px; }
.task-subtask-optional{ color: var(--muted); font-weight: 400; font-size: var(--fs-micro); }
#task-subtask-list{ display: grid; gap: 6px; }
#task-subtask-list:empty{ display: none; }
.task-subtask-row{
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
}
.task-subtask-check{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface);
  color: var(--on-primary);
  cursor: pointer;
}
.task-subtask-check .material-symbols-outlined{ font-size: 15px; }
.task-subtask-check.checked{
  border-color: var(--primary-ink);
  background: var(--primary);
}
.task-subtask-remove{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.task-subtask-remove .material-symbols-outlined{ font-size: 15px; }
@media (hover: hover){.task-subtask-remove:hover{ border-color: var(--error); color: var(--error); }
.task-subtask-check:not(.checked):hover{ border-color: var(--primary-ink); }
}
.task-subtask-add{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.task-subtask-add .icon-action{ min-height: 0; }
.task-editor-head,
.task-editor-title,
.task-editor-actions{
  display: flex;
  align-items: center;
}
.task-editor-head{
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: var(--edge-w) solid var(--outline-soft);
}
.task-editor-title{
  gap: 12px;
}
.task-editor-title h3{
  font-size: 22px;
}
.task-editor-icon{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: var(--edge-w) solid var(--tertiary);
  background: var(--tertiary-soft);
  color: var(--tertiary);
  font-weight: 700;
  box-shadow: var(--sh-3) var(--sh-color);
}
.task-editor-field{
  display: grid;
  gap: 7px;
}
.task-editor-field > span,
.task-editor-priority legend{
  color: var(--muted);
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: 1px;
}
.task-editor-title-field{
  margin-bottom: 18px;
}
.task-editor-description-field{
  margin-bottom: 18px;
}
.task-editor-description-field textarea{
  min-height: 104px;
  max-height: 210px;
}
.task-additional-toggle{
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--ink);
  text-align: start;
}
.task-additional-toggle > span:first-child{
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}
.task-additional-toggle .material-symbols-outlined{
  color: var(--primary-ink);
  font-size: 20px;
}
.task-additional-chevron{
  transition: transform .16s ease;
}
.task-additional-toggle[aria-expanded="true"]{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.task-additional-toggle[aria-expanded="true"] .task-additional-chevron{
  transform: rotate(180deg);
}
.task-additional-options{
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 16px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
}
.task-additional-options .task-editor-date-row{
  margin-bottom: 0;
}
.task-additional-options[hidden]{ display: none; }
.task-editor-date-row{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: 10px;
  margin-bottom: 18px;
}
.task-editor-priority{
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.task-editor-priority legend{
  margin-bottom: 7px;
}
.task-editor-priority > div{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.task-editor-priority button{
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--muted);
  font-weight: 700;
}
.task-editor-priority button i{
  width: 8px;
  height: 8px;
  background: currentColor;
}
.task-editor-priority button[data-edit-priority="Normal"] i{
  background: var(--primary);
}
.task-editor-priority button[data-edit-priority="High"] i{
  background: var(--tertiary);
}
.task-editor-priority button[data-edit-priority="Urgent"] i{
  background: var(--error);
}
.task-editor-priority button[data-edit-priority="Normal"].active{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
  box-shadow: var(--sh-lift-3) var(--primary);
}
.task-editor-priority button[data-edit-priority="High"].active{
  border-color: var(--tertiary);
  background: var(--tertiary-soft);
  color: var(--tertiary);
  box-shadow: var(--sh-lift-3) var(--tertiary);
}
.task-editor-priority button[data-edit-priority="Urgent"].active{
  border-color: var(--error);
  background: var(--error-soft);
  color: var(--error);
  box-shadow: var(--sh-lift-3) var(--error);
}
.task-editor-actions{
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: var(--edge-w) solid var(--outline-soft);
}
.task-editor-actions button{
  min-width: 128px;
}
@media (max-width: 620px){.task-editor-date-row{ grid-template-columns: 1fr; }
.task-editor-priority > div{ grid-template-columns: 1fr; }
.task-editor-actions button{ min-width: 0; flex: 1; }
}
.task-streak-card h3{
  font-size: 20px;
}
.task-streak-summary{
  display: grid;
  gap: 3px;
  margin-top: 12px;
}
.task-streak-summary strong{
  color: var(--primary-ink);
  font-size: 25px;
}
.task-streak-summary small,
.task-streak-card > p{
  color: var(--muted);
  font-size: var(--fs-mini);
}
.task-streak-days{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 16px 0 12px;
}
.task-streak-day{
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: center;
}
.task-streak-day i{
  height: 12px;
  border: 1px solid var(--outline-soft);
  background: var(--surface-high);
}
.task-streak-day.complete i{
  border-color: var(--primary-ink);
  background: var(--primary);
}
.task-streak-day small{
  color: var(--muted);
  font-size: var(--fs-nano);
}
.task-streak-day.today small{
  color: var(--tertiary);
  font-weight: 700;
}
.task-streak-day.today i{
  outline: 1px solid var(--tertiary);
  outline-offset: 2px;
}
.task-streak-card > p{
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--outline-soft);
}
.focus-sprint-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.focus-sprint-head p{
  margin: 0;
  font-size: var(--fs-mini);
  letter-spacing: .08em;
  color: var(--muted);
}
.focus-sprint-mode{
  font-size: var(--fs-mini);
  letter-spacing: .06em;
  color: var(--primary-ink);
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  padding: 2px 7px;
  white-space: nowrap;
}
.focus-sprint-time{
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.1;
  color: var(--primary-ink);
  font-variant-numeric: tabular-nums;
}
.focus-sprint-task{
  display: block;
  margin-top: 3px;
  font-size: var(--fs-mini);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.focus-sprint-bar{
  height: 8px;
  margin: 14px 0 12px;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface-high);
}
.focus-sprint-bar i{
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
}
body.soft-motion .focus-sprint-bar i{
  transition: width .3s linear;
}
.focus-sprint-actions{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}
.focus-sprint-mini{
  min-width: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  font-size: var(--fs-label);
}
.focus-sprint-mini .material-symbols-outlined{
  font-size: 19px;
}
.pomodoro-layout{
  height: calc(100vh - 156px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  width: 100%;
  min-width: 0;
  margin-bottom: 20px;
}
#page-pomodoro{
  padding-bottom: 52px;
  overflow-x: hidden;
}
.timer-stage{
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  place-items: center;
  padding-inline-end: 28px;
}
.timer-stage-top{
  position: relative;
  width: min(560px, calc(100% - 76px));
  min-width: 0;
  margin-bottom: 28px;
}
.timer-stage-top .focus-card{
  width: 100%;
  margin-bottom: 0;
}
.focus-card{
  position: relative;
  width: min(560px, 92%);
  min-width: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}
.focus-card p{
  margin: 0;
  letter-spacing: .14em;
  color: var(--muted);
}
.focus-card h3{
  color: var(--ink);
  margin-top: 4px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.focus-card-copy{
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.focus-card-title-row{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.focus-card-title-row h3{
  min-width: 0;
}
.focus-task-check{
  flex: none;
  width: 22px;
  height: 22px;
  min-height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: var(--edge-w) solid var(--primary-ink);
  background: transparent;
  color: var(--primary-ink);
}
.focus-task-check[hidden]{
  display: none;
}
.focus-task-check:hover{
  box-shadow: var(--sh-lift-3) var(--primary);
}
.focus-task-check.checked{
  background: var(--primary);
  color: var(--on-primary);
}
.focus-task-check .material-symbols-outlined{
  font-size: 16px;
}
#selected-task-title.completed{
  color: var(--muted);
  text-decoration: line-through;
}
.focus-card-goal{
  flex: none;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-inline-start: 18px;
  border-inline-start: var(--edge-w) solid var(--outline-soft);
}
.focus-card-goal-label{
  color: var(--muted);
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: .08em;
}
.focus-card-goal small{
  color: var(--muted);
  font-size: var(--fs-micro);
  white-space: nowrap;
}
.focus-goal-stepper,
.task-goal-stepper{
  grid-template-columns: 34px 46px 34px;
  gap: 6px;
  margin: 0;
}
.focus-goal-stepper button,
.task-goal-stepper button{
  width: 34px;
  height: 30px;
  min-height: 30px;
}
.focus-goal-stepper strong,
.task-goal-stepper strong{
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.session-goal-stepper button:disabled{
  opacity: .4;
  cursor: default;
}
.task-editor-goal{

  padding-block-end: 6px;
}
.task-editor-goal .task-goal-stepper{
  justify-self: start;
}
.task-goal-hint{
  color: var(--muted);
  font-size: var(--fs-micro);
}
.focus-icon{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--tertiary-soft);
  color: var(--tertiary);
  border: var(--edge-w) solid var(--tertiary);
  font-size: 22px;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0;
  box-shadow: none;
}
.focus-icon .material-symbols-outlined{
  font-size: 22px;
}
.focus-task-menu{
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 24;
  width: min(420px, 100%);
  max-height: 300px;
  overflow: auto;
  padding: 12px;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--surface);
  box-shadow: var(--sh-5) var(--sh-color);
  animation: menu-pop .18s steps(3, end);
}
.focus-task-menu[hidden]{
  display: none;
}
.focus-task-menu-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: var(--fs-mini);
}
#focus-task-options{
  display: grid;
  gap: 6px;
}
.focus-task-option{
  width: 100%;
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
  color: var(--ink);
  text-align: start;
}
.focus-task-option > span:last-child{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.focus-task-option.active{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.timer-ring{
  width: 350px;
  height: 350px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--bg) 58%, transparent 59%),
    conic-gradient(var(--primary) var(--timer-progress, 0deg), var(--surface-high) 0);
  border: var(--edge-w) solid var(--outline);
}
.timer-ring > div{
  width: 292px;
  height: 292px;
  border: var(--edge-w) solid var(--outline);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
}
.timer-ring p{ margin: 0; color: var(--muted); }
.timer-ring strong{
  color: var(--primary-ink);
  font-size: 72px;
  line-height: 1;
}
.timer-time-row{
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.timer-time-row #timer-clock{
  min-width: 0;
  text-align: center;
  font-size: 58px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.timer-time-row #timer-clock:focus-visible{ outline: 2px solid var(--tertiary); outline-offset: 4px; }
.timer-time-row.is-wide #timer-clock{
  font-size: 44px;
}
.timer-adjust-button{
  flex: 0 0 auto;
  width: 40px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--primary-ink);
}
.timer-adjust-button .material-symbols-outlined{
  font-size: 25px;
}
.timer-adjust-button small{
  color: var(--muted);
  font-size: var(--fs-micro);
  line-height: 1;
  opacity: .5;
}
@media (hover: hover){.timer-adjust-button:hover{
    border-color: var(--outline-soft);
    background: var(--primary-soft);
  }
}
.timer-dots{
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
}
.timer-session-dot{
  width: 11px;
  height: 8px;
  border: var(--edge-w) solid var(--outline);
  background: var(--surface-high);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.timer-session-dot.completed{
  border-color: var(--primary-ink);
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft), 0 0 10px color-mix(in srgb, var(--primary) 72%, transparent);
}
.timer-session-dot.current{
  border-color: var(--tertiary);
}
body.soft-motion .timer-session-dot.completed{
  animation: session-dot-glow .5s steps(4, end);
}
.timer-controls{
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.timer-controls button{
  min-width: 0;
}
.timer-controls .big{
  min-width: 220px;
  font-size: 22px;
}
.timer-end-button{
  min-width: 150px !important;
  color: var(--tertiary);
  border-color: var(--tertiary);
  box-shadow: var(--sh-lift-4) var(--tertiary);
}
.timer-end-button:disabled{
  opacity: .42;
  color: var(--muted);
  border-color: var(--outline-soft);
  box-shadow: none;
}
.timer-reset-button{
  width: 52px;
  min-height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
}
.stats-row{
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.stats-row .card{
  box-shadow: none;
}
.stats-row strong{
  display: block;
  color: var(--primary-ink);
  margin-top: 8px;
}
.pomodoro-stats-trigger{
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.pomodoro-stats-button{
  color: var(--primary-ink);
}
.pomodoro-stats-button:hover,
.pomodoro-stats-button:focus-visible,
.pomodoro-stats-trigger.is-open .pomodoro-stats-button{
  border-color: var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
  box-shadow: var(--sh-inset-active) var(--primary);
}
.timer-stage-top .pomodoro-stats-popover{
  position: absolute;
  z-index: 70;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 40px));
  margin: 0;
  padding: 12px;
  border-color: var(--outline);
  background: var(--surface);
  box-shadow: var(--sh-5) var(--sh-color);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms;
}
.pomodoro-stats-trigger:hover .pomodoro-stats-popover,
.pomodoro-stats-trigger:focus-within .pomodoro-stats-popover,
.pomodoro-stats-trigger.is-open .pomodoro-stats-popover{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.pomodoro-stats-popover::after{
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -10px;
  height: 10px;
}
.pomodoro-stats-popover h4{
  margin: 0 0 10px;
  color: var(--primary-ink);
}
.pomodoro-stats-popover .stats-row{
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
}
.timer-stage-top .pomodoro-stats-popover .stats-row .card{
  min-height: 54px;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-low);
}
.pomodoro-stats-popover .stats-row strong{ margin: 0; }
.queue-panel{
  min-width: 0;
  border-inline-start: var(--edge-w) solid var(--outline-soft);
  padding-inline-start: 26px;
}
.queue-panel .card{
  min-width: 0;
  margin-bottom: 22px;
}
.queue-panel label{
  display: block;
  margin-bottom: 8px;
  color: var(--primary-ink);
}
.queue-panel input, .queue-panel select{
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin-bottom: 12px;
}
.pomodoro-options-card{
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.pomodoro-options-card-icon{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.pomodoro-options-card h4,
.pomodoro-options-card p{
  margin: 0;
}
.pomodoro-options-card p{
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-label);
}
.pomodoro-options-card button{
  grid-column: 1 / -1;
  width: 100%;
}
.calendar-shell{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
}
#page-calendar .card.raised{
  padding: 12px;
}
#page-calendar .day-panel{
  padding: 16px;
}
#page-calendar .calendar-head{
  margin-bottom: 10px;
}
#page-calendar .calendar-head .secondary{
  min-height: 34px;
  padding: 0 10px;
  box-shadow: var(--sh-lift-3) var(--primary);
}
#page-calendar .calendar-head h3{
  margin: 0;
  font-size: 22px;
  text-align: center;
}
.week-header, .calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.week-header span{
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 8px;
}
.day{
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  border: 1px solid var(--outline-soft);
  padding: 8px;
  background: var(--surface);
  color: var(--ink);
}
.day.muted{
  background: var(--surface-high);
  color: var(--muted);
  opacity: .82;
}
.day.today{
  background: var(--tertiary-soft);
  color: var(--ink);
}
.day.selected{
  outline: 3px solid var(--primary-ink);
  color: var(--ink);
}
.day-label{
  font-weight: 700;
}
.calendar-day-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.calendar-today-dot{
  width: 7px;
  height: 7px;
  margin-top: 2px;
  background: var(--primary);
  border-radius: 50%;
}
.calendar-markers{
  display: grid;
  gap: 4px;
  margin-top: auto;
}
.calendar-marker{
  display: block;
  height: 5px;
  width: 100%;
  background: var(--primary);
}
.calendar-marker:nth-child(2){ width: 76%; }
.calendar-marker:nth-child(3){ width: 54%; }
.calendar-marker.priority-high{
  background: var(--tertiary);
}
.calendar-marker.priority-urgent{
  background: var(--error);
}
.calendar-marker.completed{ opacity: .42; }
.calendar-schedule{
  margin-top: 14px;
}
.day-panel-eyebrow{
  margin: 0 0 3px;
  color: var(--muted);
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: 1px;
}
.day-panel h3{
  margin-bottom: 0;
}
.calendar-day-panel-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.calendar-day-panel-head .icon-action{
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
}
.calendar-detail-section + .calendar-detail-section{
  margin-top: 24px;
}
.calendar-detail-heading{
  margin: 0 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--outline-soft);
  color: var(--muted);
  font-size: var(--fs-label);
}
.calendar-detail-list{
  display: grid;
  gap: 12px;
}
.calendar-task-card{
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--outline);
  border-inline-start: 3px solid var(--primary-ink);
  background: var(--surface);
  box-shadow: var(--sh-3) var(--sh-color);
}
.calendar-task-card.priority-high{ border-inline-start-color: var(--tertiary); }
.calendar-task-card.priority-urgent{ border-inline-start-color: var(--error); }
.calendar-task-card.completed{ opacity: .58; }
.calendar-task-card.completed .calendar-task-title{ text-decoration: line-through; }
.calendar-task-check{
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: var(--edge-w) solid var(--primary-ink);
  background: transparent;
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.calendar-task-check.checked{
  background: var(--primary);
  color: var(--on-primary);
}
.calendar-task-check .material-symbols-outlined{
  font-size: 16px;
}
.calendar-task-title{
  margin: 0 0 4px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.calendar-task-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: var(--fs-mini);
}
.calendar-task-priority{
  font-weight: 700;
  color: var(--primary-ink);
}
.calendar-task-priority.high{ color: var(--tertiary); }
.calendar-task-priority.urgent{ color: var(--error); }
.calendar-empty{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.day-panel{
  align-self: start;
}
::view-transition-group(blocker-add-card),
::view-transition-group(blocker-list-head),
::view-transition-group(blocker-list),
::view-transition-group(blocker-empty-action){
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
}
::view-transition-old(blocker-add-card),
::view-transition-new(blocker-add-card),
::view-transition-old(blocker-list-head),
::view-transition-new(blocker-list-head),
::view-transition-old(blocker-list),
::view-transition-new(blocker-list),
::view-transition-old(blocker-empty-action),
::view-transition-new(blocker-empty-action){
  animation-duration: .5s;
}
.nature-sounds-card{
  display: grid;
  gap: 12px;
  padding: 16px;
}
.nature-card-heading{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.nature-card-icon{
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 21px;
}
.nature-card-heading h4,
.nature-card-heading p,
.nature-card-hint{
  margin: 0;
}
.nature-card-heading p,
.nature-card-hint,
.nature-card-heading small{
  color: var(--muted);
  font-size: var(--fs-micro);
}
.nature-card-heading p{
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nature-card-heading small{
  padding: 4px 7px;
  border: var(--edge-w) solid var(--outline-soft);
  white-space: nowrap;
}
.nature-card-hint{
  line-height: 1.45;
}
.nature-card-actions{
  display: grid;
  grid-template-columns: minmax(96px, .8fr) minmax(130px, 1.2fr);
  gap: 8px;
}
.nature-card-actions button{
  min-width: 0;
}
.pomodoro-options-card{
  grid-template-columns: 38px minmax(0, 1fr) 40px;
  gap: 10px;
  padding: 12px;
}
.pomodoro-options-card-icon{
  width: 38px;
  height: 38px;
}
.pomodoro-options-card button{
  grid-column: 3;
  width: 40px;
  min-height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
}
.pomodoro-options-card button > span:last-child{ display: none; }
.nature-sounds-card{
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.nature-card-icon{
  width: 36px;
  height: 36px;
  font-size: 19px;
}
.nature-card-heading{ grid-template-columns: 36px minmax(0, 1fr); }
.nature-card-heading small,
.nature-card-hint{ display: none; }
.nature-card-actions{
  display: flex;
  grid-template-columns: none;
  gap: 7px;
}
.nature-card-actions button{
  width: 40px;
  min-height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
}
.nature-card-actions button > span:last-child{ display: none; }
@media (prefers-reduced-motion: reduce){.pomodoro-stats-popover,
  .task-additional-chevron{ transition: none; }
}
.icon-btn.small{
  width: 30px;
  height: 30px;
}
.setting-row{
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: var(--edge-w) solid var(--outline-soft);
  padding: 12px 0;
}
.setting-row small{
  display: block;
  margin-top: 2px;
}
@container journal-page (max-width: 1280px){
  .journal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

}
@container journal-page (max-width: 820px){
  .journal-toolbar {
    grid-template-columns: auto auto minmax(150px, 1fr) auto;
  }

  .journal-toolbar .journal-search {
    grid-column: 1 / -2;
  }

  .journal-toolbar .journal-activity-trigger {
    grid-column: -2 / -1;
  }

  .journal-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal-history-card {
    grid-column: auto;
  }
}
@container journal-page (max-width: 560px){
  .journal-toolbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .journal-toolbar .journal-date-field {
    grid-column: 1 / -1;
  }

  .journal-toolbar .journal-search {
    grid-column: 1 / -2;
  }

  .journal-toolbar .journal-activity-trigger {
    grid-column: -2 / -1;
  }

  #journal-today {
    min-width: 0;
  }

  .journal-editor-head {
    align-items: flex-start;
  }

  .journal-editor-head-actions {
    align-items: flex-end;
    flex-direction: column;
  }

  .journal-title-input {
    font-size: 18px;
  }
}
body.modern-ui .nature-card-icon,
body.modern-ui .nature-card-heading small{
  border-radius: var(--r-sm);
}
@media (max-width: 1050px){body{ --sidebar-width: 72px; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
body.sidebar-collapsed{ grid-template-columns: 0 1fr; }
.brand{ padding-inline: 12px; text-align: center; }
.brand-title{ justify-content: center; }
.brand h1{ display: none; }
.brand p, .nav-item:not(.active), .nav-item{ font-size: 0; }
.nav-item{ justify-content: center; padding-inline: 0; }
.nav-item > .material-symbols-outlined{ width: auto; font-size: 22px; }
.nav-item > .nav-label{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sidebar-footer{ display: none; }
.two-column, .pomodoro-layout, .calendar-shell{ grid-template-columns: 1fr; }
.queue-panel{ border-inline-start: 0; padding-inline-start: 0; margin-top: 28px; }
}
@media (max-width: 700px){.quick-add{ grid-template-columns: 1fr; }
.topbar{ grid-template-columns: 1fr auto auto; gap: 12px; }
.section-heading{ align-items: flex-start; gap: 12px; }
.section-heading-actions{ align-items: flex-end; flex-direction: column-reverse; }
}
body:not(.soft-motion){
  transition: none !important;
}
body:not(.soft-motion) *,
body:not(.soft-motion) *::before,
body:not(.soft-motion) *::after{
  transition: none !important;
  animation: none !important;
}
body.modern-ui{
  --font-main: "Timoro Arabic Modern", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --edge-w: 1px;
  --accent-bar-w: 0px;
  --outline-soft: color-mix(in srgb, #c2c8c1 62%, transparent);
  --outline: color-mix(in srgb, #727973 55%, transparent);
  --sh-color: rgba(69, 97, 78, .16);
  --sh-color-strong: rgba(69, 97, 78, .26);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 6px -2px;
  --sh-3: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 10px -4px;
  --sh-4: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px -8px;
  --sh-5: 0 2px 4px rgba(0, 0, 0, .06), 0 12px 32px -8px;
  --sh-6: 0 4px 8px rgba(0, 0, 0, .08), 0 16px 40px -8px;
  --sh-7: 0 6px 12px rgba(0, 0, 0, .10), 0 24px 56px -12px;
  --sh-8: 0 8px 16px rgba(0, 0, 0, .12), 0 32px 72px -16px;

  --sh-lift-3: 0 1px 2px rgba(0, 0, 0, .10), 0 2px 6px -2px rgba(0, 0, 0, .16), 0 0 0 0;
  --sh-lift-4: 0 1px 3px rgba(0, 0, 0, .12), 0 4px 10px -3px rgba(0, 0, 0, .18), 0 0 0 0;
  --sh-inset-active: inset 0 0 0 0;
  --sh-inset-top: inset 0 0 0 0;
  --sh-glow: 0 0 22px 2px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
}
:root[data-theme="dark"] body.modern-ui{
  --outline-soft: color-mix(in srgb, #4d535a 78%, transparent);
  --outline: color-mix(in srgb, #969ba3 55%, transparent);
  --sh-color: rgba(0, 0, 0, .55);
  --sh-color-strong: rgba(0, 0, 0, .7);

  --sh-lift-3: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 6px -2px rgba(0, 0, 0, .55), 0 0 0 0;
  --sh-lift-4: 0 1px 3px rgba(0, 0, 0, .55), 0 4px 10px -3px rgba(0, 0, 0, .6), 0 0 0 0;
}
body.modern-ui .timer-session-dot.completed{
  box-shadow: 0 0 0 2px var(--primary-soft);
}
body.modern-ui.soft-motion .timer-session-dot.completed{
  animation: session-dot-pop .32s cubic-bezier(.2, .8, .2, 1);
}
body.modern-ui .card,
body.modern-ui .focus-task-menu,
body.modern-ui .calendar-view-menu,
body.modern-ui .pomodoro-stats-popover,
body.modern-ui .task-editor-panel{
  border-radius: var(--r-lg);
}
body.modern-ui .task-row,
body.modern-ui .calendar-task-card,
body.modern-ui .task-subtask-row,
body.modern-ui .focus-task-option,
body.modern-ui .stats-row .card{
  border-radius: var(--r-md);
}
body.modern-ui .primary,
body.modern-ui .secondary,
body.modern-ui .danger,
body.modern-ui .icon-btn,
body.modern-ui .avatar,
body.modern-ui .search,
body.modern-ui .sort-control,
body.modern-ui .task-add-trigger,
body.modern-ui .todo-add-button,
body.modern-ui .sidebar-toggle,
body.modern-ui input,
body.modern-ui select,
body.modern-ui textarea,
body.modern-ui .time-field,
body.modern-ui .calendar-view-menu button,
body.modern-ui .session-goal-stepper button,
body.modern-ui .task-editor-priority button,
body.modern-ui .task-additional-toggle,
body.modern-ui .focus-icon,
body.modern-ui .timer-adjust-button,
body.modern-ui .task-editor-icon,
body.modern-ui .pomodoro-options-card-icon,
body.modern-ui .quiet{
  border-radius: var(--r-sm);
}
body.modern-ui .primary,
body.modern-ui .secondary,
body.modern-ui .danger{
  font-weight: 600;
  letter-spacing: .01em;
}
body.modern-ui #page-chip,
body.modern-ui .counter,
body.modern-ui .focus-sprint-mode,
body.modern-ui .task-completed-count,
body.modern-ui .focus-sprint-bar,
body.modern-ui .focus-sprint-bar i,
body.modern-ui .timer-session-dot,
body.modern-ui .task-streak-day i{
  border-radius: var(--r-pill);
}
body.modern-ui .task-additional-options,
body.modern-ui .time-wheel{ border-radius: var(--r-md); }
body.modern-ui .time-wheel::before{ border-radius: var(--r-sm); }
body.modern-ui .calendar-task-check,
body.modern-ui .focus-task-check,
body.modern-ui .task-subtask-check,
body.modern-ui .timer-ring,
body.modern-ui .timer-ring > div{
  border-radius: 50%;
}
body.modern-ui:not(.sidebar-collapsed) .nav-item{
  width: calc(100% - 20px);
  margin: 2px 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
body.modern-ui .nav-item.active{
  font-weight: 600;
}
body.modern-ui #page-calendar .card.raised{
  padding: 16px;
}
body.modern-ui .week-header span{
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .04em;
  padding-bottom: 10px;
}
body.modern-ui .calendar-grid{
  gap: 6px;
}
body.modern-ui .day{
  min-height: 88px;
  padding: 10px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface-low);
  transition: background-color .16s ease;
}
body.modern-ui .day:hover{
  background: var(--surface-mid);
}
body.modern-ui .day.muted{
  background: transparent;
  opacity: .55;
}
body.modern-ui .day.today{
  background: var(--surface-low);
}
body.modern-ui .day .day-label{
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
body.modern-ui .day.today .day-label{
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-primary);
}
body.modern-ui .day .calendar-today-dot{
  display: none;
}
body.modern-ui .day.selected{
  outline: 0;
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 2px var(--primary);
}
body.modern-ui .calendar-marker{
  border-radius: var(--r-pill);
}
body.modern-ui .calendar-task-card{
  border-inline-start-width: var(--edge-w);
}
.time-field{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
  border: var(--edge-w) solid var(--outline-soft);
  background: var(--surface-low);
}
.time-field:focus-within{
  border-color: var(--primary-ink);
}
.time-native{
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.time-field-input{
  min-width: 0;
  min-height: 42px;
  border: 0;
  background: transparent;
  padding-inline: 12px 4px;
  font-variant-numeric: tabular-nums;
}
.time-field-input:focus{
  outline: none;
}
.time-field-open{
  width: 36px;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.time-field-open:hover,
.time-field.is-open .time-field-open{
  color: var(--primary-ink);
}
.time-field.is-open{
  border-color: var(--primary-ink);
}
.time-field-open .material-symbols-outlined{
  font-size: 18px;
}
.time-wheel{
  position: fixed;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px;
  border: var(--edge-w) solid var(--primary-ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-5) var(--sh-color);
  isolation: isolate;
}
.time-wheel::before{
  content: "";
  position: absolute;
  inset-inline: 8px;
  top: calc(8px + 34px * 2);
  height: 34px;
  background: var(--primary-soft);
  border: var(--edge-w) solid var(--outline-soft);
  z-index: -1;
  pointer-events: none;
}
.time-wheel-column{
  height: calc(34px * 5);
  min-width: 52px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  outline: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
}
.time-wheel-column::-webkit-scrollbar{
  display: none;
}
.time-wheel-column[data-kind="meridiem"]{
  min-width: 56px;
}
.time-wheel-pad{
  height: calc(34px * 2);
}
.time-wheel-option{
  height: 34px;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  color: var(--muted);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  user-select: none;
}
.time-wheel-option.is-selected{
  color: var(--ink);
  font-weight: 700;
}
.time-wheel-column:focus-visible .time-wheel-option.is-selected{
  color: var(--primary-ink);
}
body.soft-motion .time-wheel{
  animation: select-menu-in .14s ease-out;
}
body.soft-motion:not(.modern-ui) .time-wheel{
  animation-timing-function: steps(3, end);
}
:root[data-theme="dark"] body select{
  color-scheme: dark;
}
html[lang="ar"] body{
  --dir: -1;


  --fs-nano: 11px;
  --fs-micro: 12px;
  --fs-mini: 12.5px;
  --fs-label: 13px;
  line-height: 1.7;
}
html[lang="ar"] body .brand h1,
html[lang="ar"] body .focus-card-goal-label,
html[lang="ar"] body .task-editor-priority legend,
html[lang="ar"] body .focus-sprint-head p,
html[lang="ar"] body .focus-sprint-mode,
html[lang="ar"] body .focus-card p,
html[lang="ar"] body .day-panel-eyebrow,
html[lang="ar"] body .danger,
html[lang="ar"] body .week-header span{
  letter-spacing: 0;
}
html[lang="ar"] body .focus-sprint-time,
html[lang="ar"] body .week-header span b,
html[lang="ar"] body input[type="time"],
html[lang="ar"] body .time-field-input,
html[lang="ar"] body input[type="date"]{
  direction: ltr;
  text-align: start;
}
html[lang="ar"] body #sidebar-toggle .material-symbols-outlined,
html[lang="ar"] body #prev-month .material-symbols-outlined,
html[lang="ar"] body #next-month .material-symbols-outlined{
  transform: scaleX(-1);
}
html[lang="ar"] body.sidebar-collapsed #sidebar-toggle .material-symbols-outlined{
  transform: scaleX(-1) rotate(180deg);
}
html[lang="ar"] body .calendar-task-meta span:last-child{
  direction: ltr;
}
.nav-item,
.sidebar-footer button{
  white-space: nowrap;
}
body.soft-motion button:not(:disabled):not(.nav-item):hover{
  transform: none;
  filter: none;
}
body :is(.secondary, .icon-btn, .icon-action, .focus-icon, .task-add-trigger,
         .timer-adjust-button, .sidebar-toggle):not(.danger){
  border-color: var(--outline);
  background: var(--surface-high);
  color: var(--primary-ink);
  box-shadow: var(--sh-2) var(--shadow);
}
body .primary{
  box-shadow: var(--sh-3) var(--shadow-strong);
}
body .top-actions .top-menu-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 38px;
  padding-inline: 10px;
  white-space: nowrap;
}
.top-menu-label{
  font-size: var(--fs-label);
  font-weight: 700;
}
body .top-actions .avatar{
  background: var(--surface);
  border-color: var(--outline);
  color: var(--primary-ink);
  box-shadow: none;
  cursor: pointer;
}
.avatar{
  position: relative;
  padding: 0;
  overflow: hidden;
}
.avatar img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
body.modern-ui .top-actions .avatar{ border-radius: 50%; }
body .counter{
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  box-shadow: none;
  opacity: 1;
  cursor: default;
}
body .todo-side-add .task-add-trigger{
  font-size: var(--fs-label);
  font-weight: 700;
  justify-content: flex-start;
}
@media (hover: hover){body :is(.secondary, .icon-btn, .icon-action, .focus-icon, .task-add-trigger,
           .timer-adjust-button, .sidebar-toggle):not(.danger):not(:disabled):hover{
    background: var(--primary-soft);
    border-color: var(--primary-ink);
    outline-color: var(--primary);
    color: var(--primary-ink);
  }
body .primary:not(:disabled):hover{
    filter: brightness(1.07);
    box-shadow: var(--sh-4) var(--shadow-strong);
  }
body .danger:not(:disabled):hover{
    background: var(--error);
    color: var(--surface);
  }
.task-row[data-task-open]:hover{
    outline: 1px solid var(--outline);
    outline-offset: 1px;
  }
}
body :is(button, [role="button"], input, textarea, select):focus-visible{
  outline: 2px solid var(--primary-ink);
  outline-offset: 3px;
}
body.soft-motion button:not(:disabled):not(.nav-item):active{
  transform: translateY(1px);
  filter: brightness(.97);
}
body button:disabled:not(#page-chip){
  opacity: .42;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 1250px){.top-menu-label{ display: none; }
body .top-actions .top-menu-button{ width: 38px; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce){body.soft-motion button:not(:disabled){ transition: none; }
body.soft-motion button:not(:disabled):active{ transform: none; }
}
input[type="range"]{ padding: 0; border: 0; background: transparent; box-shadow: none; }
::selection{ background: var(--primary-soft); color: var(--ink); }
input, textarea, [contenteditable]{ caret-color: var(--primary-ink); }
[data-pro-locked="true"]::after{ content: "Pro"; flex-shrink: 0; align-self: center; padding: 2px 6px; margin-inline-start: auto; font: inherit; font-size: 11px; font-weight: 700; line-height: 1.4; color: var(--primary-ink); background: var(--primary-soft); border: 1px solid var(--outline-soft); border-radius: var(--r-sm); }
body.modern-ui [data-pro-locked="true"]::after{ border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce){::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*){ animation-duration: .01ms !important; }
}
body :is(.todo-add-button, .icon-action, .icon-btn, .focus-icon){
  display: inline-grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}
body :is(.todo-add-button, .icon-action, .icon-btn, .focus-icon) > .material-symbols-outlined{
  display: block;
  line-height: 1;
  margin: 0;
}
body.modern-ui :is(button, summary):has(.material-symbols-outlined){
  box-shadow: none;
}
.nav .nav-item[hidden]{ display: none; }
.nav-item{ position: relative; }
::view-transition-group(theme-switch){ animation: none; }
::view-transition-old(theme-switch){ display: none; }
::view-transition-new(theme-switch){ animation: none; }
#page-chip{ white-space: nowrap; }
button.subtask-progress{ min-height: 22px; padding: 1px 6px 1px 7px; border: var(--edge-w) solid var(--outline-soft); background: var(--surface-low); font: inherit; font-size: var(--fs-mini); font-weight: 700; cursor: pointer; border-radius: var(--r-pill); }
button.subtask-progress:hover, button.subtask-progress.is-open{ border-color: var(--primary-ink); color: var(--primary-ink); }
.focus-card h3{ font-size: 19px; line-height: 1.3; }
.timer-ring{
  background:
    radial-gradient(circle closest-side, var(--bg) calc(100% - 14px), transparent calc(100% - 13px)),
    conic-gradient(var(--primary) var(--timer-progress, 0deg), var(--surface-high) 0);
}
.timer-ring > div{ width: 316px; height: 316px; }
.pomodoro-options-card-icon{ border-color: var(--outline-soft); }
.pomodoro-stats-button{ width: auto; padding-inline: 12px; gap: 6px; }
@container journal-page (max-width: 1280px){
  body:not(.mobile-shell) #page-journal .journal-side { grid-template-columns: minmax(0, 1fr); }
}
@container journal-page (min-width: 861px) and (max-width: 1180px){
  body:not(.mobile-shell) #page-journal .journal-toolbar { grid-template-columns: auto auto minmax(110px, 1fr) auto auto; }
  body:not(.mobile-shell) #page-journal .journal-toolbar .journal-search { grid-column: 1 / -2; grid-row: 2; }
  body:not(.mobile-shell) #page-journal .journal-toolbar .journal-activity-trigger { grid-column: -2 / -1; grid-row: 2; }
}
@container journal-page (max-width: 860px){
  body:not(.mobile-shell) #page-journal .journal-layout { grid-template-columns: minmax(0, 1fr); }
  body:not(.mobile-shell) #page-journal .journal-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@container journal-page (max-width: 620px){
  body:not(.mobile-shell) #page-journal .journal-side { grid-template-columns: minmax(0, 1fr); }
}
.timer-stage{ container-type: inline-size; container-name: timer-stage; }
.timer-stage-top{ width: min(700px, 100%); display: flex; align-items: flex-start; gap: 12px; }
.timer-stage-top .focus-card{ flex: 1 1 auto; min-width: 0; width: auto; }
.pomodoro-stats-trigger{ position: relative; inset: auto; flex: none; }
@container timer-stage (max-width: 700px){
  .pomodoro-stats-button > span:last-child { display: none; }
  .pomodoro-stats-button { padding-inline: 0; width: 42px; }
}
#task-open-count{ display: none; }
body:not(.soft-motion) .task-row :is(.task-meta, [data-task-edit], [data-task-delete]){ transition: opacity .12s ease; }
.task-streak-card{ position: relative; overflow: hidden; --flame-a: #6f7572; --flame-b: #b7bcba; --flame-c: #e9ecea; --flame-glow: #9aa09d; }
.task-streak-card[data-flame="orange"]{ --flame-a: #ff3d14; --flame-b: #ffa733; --flame-c: #fff4c2; --flame-glow: #ff7a2a; }
.task-streak-card[data-flame="blue"]{ --flame-a: #1f5bff; --flame-b: #57c8ff; --flame-c: #eafcff; --flame-glow: #3f8cff; }
.task-streak-card[data-flame="violet"]{ --flame-a: #6a2cff; --flame-b: #db6bff; --flame-c: #ffeaff; --flame-glow: #a64bff; }
.task-streak-card[data-flame="gold"]{ --flame-a: #d97700; --flame-b: #ffd84a; --flame-c: #fffbe3; --flame-glow: #ffb020; }
.task-streak-summary{ position: relative; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.task-editor-panel{ --sticky-pad: 24px; }
html[lang="ar"] body :is(.task-title, .task-note-preview){ text-align: right; }
@container (max-width: 760px){
  .ql { grid-template-columns: minmax(0, 1fr); }
  .ql-habit { border-inline-end: 0; border-block-end: var(--edge-w) solid var(--outline-soft); }
}
.focus-card-title-row .focus-task-check{ margin-top: .22em; }
#selected-task-title{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
