@font-face {
  font-family:Inter;
  font-style:normal;
  font-weight:300 900;
  font-display:swap;
  src:url('/fonts/Inter-300-900-cyrillic.woff2') format('woff2');
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family:Inter;
  font-style:normal;
  font-weight:300 900;
  font-display:swap;
  src:url('/fonts/Inter-300-900-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --bg:#0a0a0a;
  --surface:#141414;
  --raised:#1b1b1b;
  --line:#282828;
  --muted:#929292;
  --text:#f2f2f2;
  --accent:#dc2626;
  --accent-bright:#ef4444;
  --accent-soft:#301313;
  --group-black:#000;
  --group-dark:#111;
  --error:#ff9a92;
  --radius:16px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
  color-scheme:dark;
  font-synthesis:none;
  -webkit-tap-highlight-color:transparent;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  min-width:320px;
}
button,input,select,textarea {
  font:inherit;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
  opacity:.45;
}
button,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button {
  color:inherit;
}
a {
  color:inherit;
}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:2px solid #f87171;
  outline-offset:4px;
}
input,textarea,select {
  width:100%;
  min-width:0;
  background:var(--raised);
  color:var(--text);
  border:1px solid #373737;
  border-radius:12px;
  padding:14px 15px;
  font-size:16px;
  min-height:52px;
}
textarea {
  resize:vertical;
  line-height:1.5;
}
input::placeholder,textarea::placeholder {
  color:#777;
}
input[type=date],input[type=time] {
  min-height:52px;
  appearance:none;
  -webkit-appearance:none;
}
input::-webkit-date-and-time-value {
  text-align:left;
  min-height:1.4em;
}
input[type=date]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator {
  opacity:.65;
}
select {
  padding-right:32px;
}
label {
  display:block;
  font-size:13px;
  font-weight:500;
  color:#b8b8b8;
  margin-bottom:9px;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-weight:650;
  letter-spacing:-.055em;
}
h2 {
  font-weight:570;
  letter-spacing:-.025em;
}
h3 {
  font-weight:550;
}
svg {
  display:block;
}
.icon {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none;
}
.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
[hidden] {
  display:none!important;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:52px;
  border-radius:13px;
  padding:14px 19px;
  border:1px solid transparent;
  font-size:15px;
  font-weight:600;
  line-height:1.3;
}
.button-primary {
  background:var(--accent);
  color:white;
}
.button-primary:hover {
  background:#c92121;
}
.button-secondary {
  background:var(--raised);
  border-color:#383838;
}
.button-danger {
  background:var(--accent);
  color:white;
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid var(--line);
  border-radius:13px;
  background:transparent;
  flex:none;
}
.icon-button:hover {
  background:var(--raised);
}
.text-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:7px 0;
  border:0;
  background:none;
  color:#aaa;
  font-size:12px;
  font-weight:500;
}
.text-button:hover {
  color:var(--text);
}
.text-button .icon {
  width:15px;
  height:15px;
}
.form-error {
  color:var(--error);
  font-size:13px;
  line-height:1.55;
  margin-top:14px;
  overflow-wrap:anywhere;
}
.field-note {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
}
.demo-banner {
  position:relative;
  z-index:1;
  text-align:center;
  padding:9px 16px calc(9px + env(safe-area-inset-top));
  background:#251a0b;
  border-bottom:1px solid #614621;
  color:#e2b873;
  font-size:12px;
  font-weight:550;
  letter-spacing:.02em;
}
.login-view {
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:50px 24px calc(40px + env(safe-area-inset-bottom));
}
.demo-banner:not([hidden])+.login-view {
  min-height:calc(100dvh - 37px);
}
.login-card {
  width:100%;
  max-width:350px;
}
.brand-mark {
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:18px;
  background:var(--accent);
  margin-bottom:33px;
}
.brand-mark .icon {
  width:31px;
  height:31px;
  stroke-width:2.4;
}
.eyebrow {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#8d8d8d;
  margin-bottom:10px;
}
.login-card h1 {
  font-size:56px;
  line-height:1.07;
}
.login-description {
  font-size:17px;
  line-height:1.6;
  color:#aaa;
  margin-top:16px;
}
.login-form {
  margin-top:38px;
}
.login-form .button {
  width:100%;
  justify-content:space-between;
  margin-top:17px;
}
.login-form .field-note {
  margin-top:10px;
}
.login-footnote {
  font-size:12px;
  color:#727272;
  margin-top:26px;
}
.login-card>.text-button {
  margin-top:12px;
}
.app-view {
  max-width:760px;
  margin:0 auto;
  padding:calc(36px + env(safe-area-inset-top)) 24px 0;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
.demo-banner:not([hidden])~.app-view {
  padding-top:28px;
  min-height:calc(100dvh - 38px);
}
.app-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:32px;
}
.app-header h1 {
  font-size:45px;
  line-height:1.12;
}
.title-dot {
  color:var(--accent);
}
.today-date {
  font-size:13px;
  color:var(--muted);
  margin-top:9px;
}
.menu-open {
  border-radius:50%;
  color:#b0b0b0;
}
.view-tabs {
  display:flex;
  gap:5px;
  border-bottom:1px solid var(--line);
}
.view-tab {
  position:relative;
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  padding:15px 2px 17px;
  min-height:52px;
  border:0;
  background:none;
  font-size:13px;
  white-space:nowrap;
  color:#949494;
  font-weight:500;
}
.view-tab[aria-selected=true] {
  color:#f7f7f7;
}
.view-tab[aria-selected=true]::after {
  content:"";
  position:absolute;
  bottom:-1px;
  left:6px;
  right:6px;
  height:2px;
  background:var(--accent);
  border-radius:2px;
}
.tab-count {
  font-size:10px;
  min-width:18px;
  min-height:18px;
  padding:2px 4px;
  background:#1c1c1c;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:5px;
  color:#898989;
  font-variant-numeric:tabular-nums;
}
.view-tab[aria-selected=true] .tab-count {
  background:var(--accent-soft);
  color:#f38d8d;
}
.section-filter {
  margin-top:17px;
}
.section-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:39px;
}
.section-caption h2 {
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#777;
  font-weight:500;
}
.section-caption .text-button {
  min-height:36px;
}
.section-line {
  display:flex;
  gap:8px;
  min-width:0;
  align-items:center;
}
.section-list {
  display:flex;
  overflow-x:auto;
  gap:7px;
  padding:4px 2px 8px 0;
  scrollbar-width:none;
  flex:1;
  min-width:0;
  scroll-padding:5px;
}
.section-list::-webkit-scrollbar {
  display:none;
}
.section-chip {
  border:1px solid var(--line);
  background:transparent;
  min-height:42px;
  padding:10px 15px;
  border-radius:24px;
  font-size:12px;
  color:#a0a0a0;
  flex:none;
  white-space:nowrap;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.section-chip[aria-pressed=true] {
  background:#f0f0f0;
  color:#121212;
  border-color:#f0f0f0;
  font-weight:550;
}
.section-add {
  width:42px;
  height:42px;
  border-radius:50%;
  margin-bottom:4px;
  color:#999;
}
.section-add .icon {
  width:18px;
  height:18px;
}
.status-notice {
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:11px 14px;
  border:1px solid #583628;
  border-radius:12px;
  background:#251a13;
  margin-top:22px;
}
.status-notice p {
  font-size:12px;
  line-height:1.6;
  color:#d7b299;
}
.status-notice .text-button {
  color:#efc3a9;
  flex:none;
}
.task-panel {
  flex:1;
  min-height:270px;
  padding-top:32px;
  padding-bottom:calc(152px + env(safe-area-inset-bottom));
}
.list-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:14px;
}
.list-caption h2 {
  font-size:17px;
}
.list-count {
  font-size:11px;
  color:#737373;
  font-variant-numeric:tabular-nums;
}
.task-groups {
  margin:0 -12px;
}
.task-group {
  --group-bg:var(--group-black);
  background:var(--group-bg);
  padding:18px 12px 0;
}
.task-group:nth-child(even) {
  --group-bg:var(--group-dark);
}
.task-group-heading {
  display:flex;
  align-items:center;
  gap:12px;
  color:#a0a0a0;
  font-size:11px;
  line-height:1.6;
  letter-spacing:.03em;
  font-weight:500;
  overflow-wrap:anywhere;
}
.task-group-heading::after {
  content:"";
  height:1px;
  min-width:24px;
  flex:1;
  background:#2b2b2b;
}
.task-list {
  list-style:none;
  margin:0;
  padding:0;
}
.task-row {
  border-bottom:1px solid #242424;
  min-height:82px;
  position:relative;
  overflow:hidden;
  touch-action:pan-y pinch-zoom;
}
.task-row:last-child {
  border-bottom:0;
}
.task-row button:focus-visible {
  outline-offset:-4px;
}
.task-row-content {
  display:flex;
  align-items:flex-start;
  gap:4px;
  min-height:82px;
  position:relative;
  background:var(--group-bg);
  transition:transform .18s ease-out;
}
.task-row.is-swiping .task-row-content {
  transition:none;
  user-select:none;
  -webkit-user-select:none;
}
.swipe-delete {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0 25px;
  color:#fff;
  background:#8d2424;
  pointer-events:none;
}
.is-swipe-ready .swipe-delete {
  background:var(--accent);
}
.swipe-delete .icon {
  width:23px;
  height:23px;
}
.task-check {
  display:flex;
  align-items:center;
  justify-content:center;
  width:45px;
  min-height:70px;
  flex:none;
  padding:20px 8px 20px 0;
  border:0;
  background:none;
  color:#666;
}
.task-check-ring {
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1.5px solid #545454;
  border-radius:50%;
  transition:border-color .15s,background .15s;
}
.task-check:hover .task-check-ring {
  border-color:var(--accent);
}
.task-check .icon {
  width:15px;
  height:15px;
  stroke-width:2.2;
  visibility:hidden;
}
.task-check[aria-pressed=true] .task-check-ring {
  border-color:#34473a;
  background:#15261b;
  color:#91b29b;
}
.task-check[aria-pressed=true] .icon {
  visibility:visible;
}
.task-check:disabled {
  opacity:1;
}
.task-detail {
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  padding:21px 0 21px 2px;
  border:0;
  background:none;
  min-height:80px;
}
.task-title {
  font-size:15px;
  line-height:1.5;
  letter-spacing:-.018em;
  overflow-wrap:anywhere;
}
.task-row.is-done .task-title {
  color:#858585;
  text-decoration:line-through;
  text-decoration-color:#4a4a4a;
}
.task-meta {
  display:flex;
  align-items:center;
  gap:7px 10px;
  flex-wrap:wrap;
  font-size:11px;
  color:#858585;
  margin-top:8px;
  line-height:1.4;
}
.task-meta-item {
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:100%;
  overflow-wrap:anywhere;
  text-align:left;
}
.task-meta .icon {
  width:12px;
  height:12px;
  stroke-width:1.5;
}
.task-meta .is-overdue {
  color:#ec817c;
}
.task-meta .is-today {
  color:#d3b1ad;
}
.empty-state {
  padding:51px 13px 56px;
  text-align:center;
}
.empty-icon {
  display:grid;
  place-items:center;
  margin:0 auto 20px;
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid #2c2c2c;
  color:#626262;
}
.empty-icon .icon {
  width:20px;
  height:20px;
}
.empty-state h3 {
  font-size:17px;
  letter-spacing:-.02em;
}
.empty-state p {
  font-size:13px;
  line-height:1.7;
  color:#838383;
  margin:11px auto 0;
  max-width:280px;
}
.list-loading {
  font-size:13px;
  color:var(--muted);
  padding:32px 0;
}
.task-add {
  position:fixed;
  right:max(calc(24px + env(safe-area-inset-right)), calc((100vw - 712px) / 2));
  bottom:calc(22px + env(safe-area-inset-bottom));
  z-index:2;
  display:grid;
  place-items:center;
  background:var(--accent);
  border:0;
  width:58px;
  height:58px;
  border-radius:50%;
  padding:0;
  color:#fff;
  box-shadow:0 6px 24px #0009;
}
.task-add:hover {
  background:#c92121;
}
.task-add .icon {
  width:26px;
  height:26px;
}
.sheet {
  width:calc(100% - 32px);
  max-width:480px;
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  margin:auto;
  padding:0;
  background:var(--surface);
  border:1px solid #343434;
  border-radius:24px;
  color:var(--text);
  box-shadow:0 24px 100px #000a;
  overscroll-behavior:contain;
}
.sheet::backdrop {
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(5px);
}
.sheet-handle {
  display:none;
}
.sheet-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:22px 24px 14px;
}
.sheet-heading h2 {
  font-size:21px;
  letter-spacing:-.035em;
}
.sheet-heading .icon-button {
  width:42px;
  height:42px;
  border:0;
  color:#8c8c8c;
}
.sheet-heading .icon {
  width:20px;
  height:20px;
}
.sheet-body {
  padding:9px 24px 24px;
}
.sheet-body>label {
  margin-top:0;
}
.field {
  margin-top:22px;
  min-width:0;
}
.field-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
.date-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  margin-top:1px;
}
.date-actions .text-button {
  justify-content:flex-start;
  font-size:11px;
  color:#949494;
  min-height:36px;
}
.date-actions+.field {
  margin-top:13px;
}
.sheet-body>.field-note {
  margin-top:14px;
}
.sheet-footer {
  position:sticky;
  bottom:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 24px 23px;
  background:var(--surface);
  border-top:1px solid var(--line);
}
.sheet-footer .button {
  flex:1;
  min-width:0;
}
.sheet-footer .icon-button {
  width:52px;
  height:52px;
  border-radius:13px;
}
.danger-button {
  color:#c17d79;
  border-color:#4a2927;
}
.danger-button:hover {
  background:#301a18;
}
.conflict-notice {
  border-left:2px solid #a16e40;
  background:#261e16;
  padding:12px 13px;
  margin-top:20px;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.conflict-notice strong {
  color:#d7b287;
  font-weight:500;
  font-size:11px;
}
.conflict-notice p {
  margin-top:5px;
}
.confirm-description {
  line-height:1.6;
  font-size:15px;
  color:#b3b3b3;
  overflow-wrap:anywhere;
}
.menu-body {
  padding:0 24px 27px;
}
.menu-item {
  display:flex;
  align-items:center;
  gap:13px;
  width:100%;
  min-height:65px;
  padding:16px 0;
  border:0;
  border-bottom:1px solid var(--line);
  background:none;
  text-align:left;
  font-size:14px;
}
.menu-item>.icon {
  width:19px;
  height:19px;
  color:#939393;
}
.menu-item>span {
  flex:1;
}
.menu-item>.icon:last-child:not(:first-child) {
  width:16px;
  color:#636363;
}
.menu-footnote {
  font-size:11px;
  line-height:1.8;
  color:#686868;
  margin-top:26px;
}
.install-help {
  font-size:13px;
  line-height:1.8;
  padding:15px 0 20px;
  color:#b0b0b0;
}
.install-help ol {
  padding-left:20px;
  margin:10px 0;
}
.install-help li {
  padding-left:3px;
  margin:8px 0;
}
.install-help .icon {
  display:inline-block;
  width:17px;
  height:17px;
  vertical-align:-3px;
  margin:0 3px;
}
.install-help strong {
  font-weight:550;
  color:#d2d2d2;
}
.toast {
  position:fixed;
  z-index:10;
  left:50%;
  bottom:calc(96px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;
  gap:15px;
  align-items:center;
  max-width:calc(100% - 32px);
  width:max-content;
  padding:12px 13px 12px 17px;
  background:#eee;
  color:#1a1a1a;
  border-radius:14px;
  box-shadow:0 8px 35px #0009;
  font-size:12px;
  line-height:1.5;
}
.toast>span {
  max-width:340px;
  overflow-wrap:anywhere;
}
.toast>button {
  border:0;
  background:none;
  color:#a01d1d;
  padding:9px 3px;
  font-size:12px;
  font-weight:650;
  min-height:44px;
  white-space:nowrap;
}
.noscript {
  padding:25px;
  color:#ff9a92;
}
@media(min-width:700px) {
  .app-view {
    padding-top:64px;
  }
  .app-header h1 {
    font-size:54px;
  }
  .app-header {
    margin-bottom:40px;
  }
  .view-tab {
    justify-content:flex-start;
    padding-left:10px;
    flex:none;
    min-width:145px;
    font-size:14px;
  }
  .view-tab[aria-selected=true]::after {
    left:10px;
    right:22px;
  }
  .section-filter {
    margin-top:21px;
  }
  .task-panel {
    padding-top:37px;
    min-height:350px;
  }
  .task-title {
    font-size:16px;
  }
  .task-detail {
    padding-top:23px;
    padding-bottom:23px;
  }
  .task-check {
    padding-top:22px;
  }
  .section-chip {
    font-size:13px;
  }
  .list-caption h2 {
    font-size:19px;
  }
}
@media(max-width:520px) {
  .sheet {
    width:100%;
    max-width:100%;
    margin:auto 0 0;
    max-height:94vh;
    max-height:94dvh;
    border-radius:24px 24px 0 0;
    border-bottom:0;
  }
  .sheet-handle {
    display:block;
    width:33px;
    height:4px;
    border-radius:3px;
    margin:11px auto 1px;
    background:#414141;
  }
  .sheet-heading {
    padding:11px 23px 12px;
  }
  .sheet-body {
    padding:7px 23px 22px;
  }
  .sheet-footer {
    padding:14px 23px calc(16px + env(safe-area-inset-bottom));
  }
  .menu-body {
    padding:0 23px calc(24px + env(safe-area-inset-bottom));
  }
  .toast {
    gap:10px;
    max-width:calc(100% - 30px);
  }
  .toast>span {
    max-width:220px;
  }
}
@media(max-width:374px) {
  .app-view {
    padding-left:18px;
    padding-right:18px;
  }
  .view-tab {
    font-size:12px;
    gap:5px;
  }
  .tab-count {
    font-size:9px;
  }
  .app-header h1 {
    font-size:42px;
  }
  .sheet-body,.sheet-heading,.sheet-footer,.menu-body {
    padding-left:18px;
    padding-right:18px;
  }
  .task-title {
    font-size:14px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}
