:root {
  --bg: #0f172a;
  --panel: rgba(11, 18, 34, 0.92);
  --panel-soft: rgba(15, 27, 51, 0.9);
  --panel-faint: rgba(15, 27, 51, 0.34);
  --ink: #e5eefc;
  --muted: #93a4bf;
  --accent: #7cc0ff;
  --accent-strong: #4d9fff;
  --success: #73d9a5;
  --danger: #ff8b8b;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Uber Move", Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 192, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(77, 159, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #0b1222 0%, #0f172a 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  outline: 2px solid var(--accent);
}

.page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.todo-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.section-sidebar {
  padding: 64px 0 0;
  position: sticky;
  top: 24px;
  display: flex;
  justify-content: flex-end;
}

.page-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link:hover,
.back-link:focus {
  color: var(--ink);
}

h1,
h2,
p {
  margin-top: 0;
}

.section-sidebar-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-nav {
  display: grid;
  gap: 4px;
  justify-items: end;
  width: 100%;
  transform: translateX(26px);
}

.section-link {
  width: auto;
  padding: 11px 0;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    letter-spacing 180ms ease;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--ink);
  background: transparent;
  transform: translateX(4px);
  outline: none;
}

.section-link:active {
  transform: translateX(2px);
}

.section-link.is-active {
  color: var(--ink);
  background: transparent;
  transform: translateX(8px);
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(124, 192, 255, 0.12);
}

.todo-card {
  position: relative;
  padding: 10px 0 0 30px;
}

.todo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(148, 163, 184, 0.04),
    rgba(148, 163, 184, 0.28) 10%,
    rgba(148, 163, 184, 0.16) 90%,
    rgba(148, 163, 184, 0.02)
  );
}

.todo-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.todo-header h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.todo-heading-group {
  min-width: 0;
}

.todo-context {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.todo-body {
  min-width: 0;
}

.todo-card.is-planner-layout .todo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}

.planner-shell {
  width: 100%;
  max-width: 280px;
  justify-self: end;
  padding-left: 24px;
  border-left: 1px solid rgba(148, 163, 184, 0.12);
}

.planner-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.planner-date-picker-shell {
  position: relative;
}

.planner-create-button {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(15, 27, 51, 0.42);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.planner-create-button:hover,
.planner-create-button:focus {
  background: rgba(15, 27, 51, 0.7);
  border-color: rgba(124, 192, 255, 0.24);
}

.planner-create-button:active {
  transform: scale(0.98);
}

.planner-archive-toggle {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(11, 18, 34, 0.42);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.planner-archive-toggle:hover,
.planner-archive-toggle:focus-visible {
  color: var(--ink);
  background: rgba(15, 27, 51, 0.7);
  border-color: rgba(124, 192, 255, 0.24);
  outline: none;
}

.planner-archive-toggle.is-active {
  color: #9df0be;
  background: rgba(13, 65, 37, 0.34);
  border-color: rgba(115, 217, 165, 0.24);
}

.planner-archive-toggle.is-active:hover,
.planner-archive-toggle.is-active:focus-visible {
  color: #b8f6cf;
  background: rgba(16, 86, 48, 0.5);
  border-color: rgba(115, 217, 165, 0.34);
  outline: none;
}

.planner-archive-toggle:active {
  transform: scale(0.98);
}

.planner-archive-toggle:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  color: rgba(147, 164, 191, 0.72);
  background: rgba(11, 18, 34, 0.28);
  border-color: rgba(148, 163, 184, 0.1);
  transform: none;
}

.planner-archive-toggle:disabled:hover,
.planner-archive-toggle:disabled:focus-visible {
  color: rgba(147, 164, 191, 0.72);
  background: rgba(11, 18, 34, 0.28);
  border-color: rgba(148, 163, 184, 0.1);
  outline: none;
}

.planner-date-picker {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 12;
  width: min(100vw - 32px, 272px);
  padding: 18px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(124, 192, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(12, 19, 36, 0.98), rgba(8, 14, 28, 0.98));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.planner-date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.planner-date-picker-title {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.planner-date-picker-nav {
  display: flex;
  gap: 8px;
}

.planner-date-picker-nav-button,
.planner-date-picker-day {
  border: 0;
  color: var(--ink);
  font: inherit;
}

.planner-date-picker-nav-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.56);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.planner-date-picker-nav-button:hover,
.planner-date-picker-nav-button:focus-visible {
  background: rgba(24, 41, 71, 0.92);
  box-shadow: 0 0 0 1px rgba(124, 192, 255, 0.18);
  outline: none;
}

.planner-date-picker-nav-button:active {
  transform: scale(0.97);
}

.planner-date-picker-weekdays,
.planner-date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.planner-date-picker-weekdays {
  margin-bottom: 10px;
  color: rgba(147, 164, 191, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-date-picker-weekdays span {
  display: grid;
  place-items: center;
}

.planner-date-picker-grid {
  gap: 4px;
}

.planner-date-picker-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.planner-date-picker-day:hover,
.planner-date-picker-day:focus-visible {
  background: rgba(24, 41, 71, 0.88);
  outline: none;
}

.planner-date-picker-day:active {
  transform: scale(0.96);
}

.planner-date-picker-day.is-outside-month {
  color: rgba(147, 164, 191, 0.4);
}

.planner-date-picker-day.is-disabled {
  color: rgba(147, 164, 191, 0.26);
  background: transparent;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.58;
}

.planner-date-picker-day.is-disabled:hover,
.planner-date-picker-day.is-disabled:focus-visible,
.planner-date-picker-day.is-disabled:active {
  background: transparent;
  transform: none;
  box-shadow: none;
  outline: none;
}

.planner-date-picker-day.is-outside-month.is-disabled {
  color: rgba(147, 164, 191, 0.16);
  opacity: 0.45;
}

.planner-date-picker-day.is-today {
  background: linear-gradient(180deg, rgba(124, 192, 255, 0.96), rgba(77, 159, 255, 0.92));
  color: #06101f;
  box-shadow:
    0 8px 18px rgba(77, 159, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.planner-date-picker-day.is-today:hover,
.planner-date-picker-day.is-today:focus-visible {
  filter: brightness(1.05);
}

.planner-date-picker-day.is-disabled.is-today {
  background: rgba(77, 159, 255, 0.12);
  color: rgba(124, 192, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(124, 192, 255, 0.08);
}

.planner-entry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.planner-entry-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    height 220ms ease,
    margin 220ms ease;
}

.planner-entry-item.is-exiting {
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  margin: 0;
  pointer-events: none;
}

.planner-entry-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(12, 19, 36, 0.52);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.planner-entry-button:hover,
.planner-entry-button:focus,
.planner-entry-item.is-active .planner-entry-button {
  background: rgba(15, 27, 51, 0.72);
  border-color: rgba(124, 192, 255, 0.18);
}

.planner-entry-item.is-active .planner-entry-button {
  border-color: rgba(124, 192, 255, 0.3);
  background: rgba(18, 32, 58, 0.82);
  box-shadow: 0 0 0 1px rgba(124, 192, 255, 0.1);
}

.planner-entry-name {
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.planner-entry-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.planner-entry-archive,
.planner-entry-delete {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.planner-entry-archive {
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(229, 238, 252, 0.84);
  background: rgba(15, 27, 51, 0.42);
}

.planner-entry-archive svg {
  width: 14px;
  height: 14px;
}

.planner-entry-archive:hover,
.planner-entry-archive:focus {
  background: rgba(24, 41, 71, 0.72);
  border-color: rgba(124, 192, 255, 0.24);
  color: var(--ink);
  outline: none;
}

.planner-entry-archive.is-archived {
  border-color: rgba(115, 217, 165, 0.24);
  color: #9df0be;
  background: rgba(13, 65, 37, 0.34);
}

.planner-entry-archive.is-archived:hover,
.planner-entry-archive.is-archived:focus {
  background: rgba(16, 86, 48, 0.5);
  border-color: rgba(115, 217, 165, 0.34);
}

.planner-entry-delete {
  border: 1px solid rgba(255, 139, 139, 0.12);
  color: rgba(255, 139, 139, 0.86);
  background: rgba(74, 18, 25, 0.12);
}

.planner-entry-delete:hover,
.planner-entry-delete:focus {
  background: rgba(74, 18, 25, 0.24);
  border-color: rgba(255, 139, 139, 0.24);
  color: #ffb1b1;
}

.planner-entry-delete:active {
  transform: scale(0.98);
}

.planner-empty-message {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.todo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.todo-form input,
.todo-form button,
.task-delete {
  font: inherit;
}

.todo-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(12, 19, 36, 0.72);
  outline: none;
}

.todo-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 192, 255, 0.16);
}

.todo-form button {
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  color: #06101f;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  font-weight: 700;
  cursor: pointer;
}

.todo-form button:hover,
.todo-form button:focus {
  filter: brightness(1.04);
}

.todo-form .todo-archive-toggle {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(11, 18, 34, 0.42);
  font-weight: 500;
  white-space: nowrap;
  justify-self: end;
  filter: none;
}

.todo-form .todo-archive-toggle:hover,
.todo-form .todo-archive-toggle:focus-visible {
  color: var(--ink);
  background: rgba(15, 27, 51, 0.7);
  border-color: rgba(124, 192, 255, 0.24);
  outline: none;
  filter: none;
}

.todo-form .todo-archive-toggle.is-active {
  color: #9df0be;
  background: rgba(13, 65, 37, 0.34);
  border-color: rgba(115, 217, 165, 0.24);
}

.todo-form .todo-archive-toggle.is-active:hover,
.todo-form .todo-archive-toggle.is-active:focus-visible {
  color: #b8f6cf;
  background: rgba(16, 86, 48, 0.5);
  border-color: rgba(115, 217, 165, 0.34);
  outline: none;
}

.todo-form .todo-archive-toggle:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  color: rgba(147, 164, 191, 0.72);
  background: rgba(11, 18, 34, 0.28);
  border-color: rgba(148, 163, 184, 0.1);
  filter: none;
}

.todo-form .todo-archive-toggle:disabled:hover,
.todo-form .todo-archive-toggle:disabled:focus-visible {
  color: rgba(147, 164, 191, 0.72);
  background: rgba(11, 18, 34, 0.28);
  border-color: rgba(148, 163, 184, 0.1);
  outline: none;
  filter: none;
}

.todo-form input:disabled,
.todo-form button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.form-message {
  min-height: 24px;
  margin: 12px 2px 6px;
  color: #ffc88f;
}

.task-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.task-list.show-drop-at-end::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.task-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: transparent;
  transition:
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.task-item:hover {
  background: linear-gradient(90deg, rgba(15, 27, 51, 0), rgba(15, 27, 51, 0.42) 20%, rgba(15, 27, 51, 0));
}

.task-item:not(.is-dragging) {
  cursor: grab;
}

.task-item.is-dragging {
  opacity: 0.58;
  background: rgba(15, 27, 51, 0.48);
  box-shadow: 0 14px 30px rgba(3, 10, 24, 0.22);
  cursor: grabbing;
}

.task-item.show-drop-before::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: -1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.task-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}

.task-toggle {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.task-checkbox {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.task-checkmark {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(181, 197, 221, 0.42);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(32, 43, 66, 0.95), rgba(17, 24, 39, 0.98));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.35);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.task-checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #06101f;
  border-bottom: 2px solid #06101f;
  opacity: 0;
  transform: rotate(45deg) scale(0.65);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 280ms cubic-bezier(0.2, 0.9, 0.25, 1.2);
}

.task-checkbox:focus-visible + .task-checkmark {
  box-shadow:
    0 0 0 4px rgba(124, 192, 255, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.task-checkbox:checked + .task-checkmark {
  border-color: rgba(115, 217, 165, 0.92);
  background: linear-gradient(180deg, #8ae7b1, #60c995);
  box-shadow:
    0 0 0 4px rgba(115, 217, 165, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 10px 20px rgba(11, 168, 98, 0.16);
  transform: scale(1.03);
}

.task-checkbox:checked + .task-checkmark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.task-text {
  min-width: 0;
  line-height: 1.35;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    text-decoration-color 220ms ease;
}

.task-item.completed .task-text {
  color: rgba(147, 164, 191, 0.88);
  opacity: 0.72;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(147, 164, 191, 0.7);
}

.task-item.completed {
  background: linear-gradient(90deg, rgba(10, 16, 29, 0.22), rgba(8, 13, 25, 0.38), rgba(10, 16, 29, 0.16));
}

.task-item.is-exiting {
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  margin: 0;
  pointer-events: none;
}

.task-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.task-delete {
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 139, 139, 0.86);
  background: transparent;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.task-delete:hover,
.task-delete:focus {
  background: rgba(74, 18, 25, 0.24);
  border-color: rgba(255, 139, 139, 0.24);
  color: #ffb1b1;
}

.task-delete:active {
  transform: scale(0.98);
}

.empty-state {
  padding: 28px 0 10px;
  color: var(--muted);
  text-align: left;
}

.empty-state.is-hidden {
  display: none;
}

.is-hidden {
  display: none;
}

.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;
}

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 52px;
  }

  .todo-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-sidebar {
    position: static;
    padding: 0 0 8px;
  }

  .section-nav {
    gap: 2px;
    justify-items: start;
    width: auto;
    transform: none;
  }

  .section-link {
    width: 100%;
    text-align: left;
  }

  .todo-card.is-planner-layout .todo-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .planner-shell {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 18px;
  }

  .planner-date-picker {
    width: min(100vw - 32px, 320px);
  }

  .planner-entry-list {
    grid-template-columns: 1fr;
  }

  .todo-card {
    padding: 4px 0 0;
  }

  .todo-card::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 1px;
  }

  .todo-header,
  .todo-form {
    grid-template-columns: 1fr;
  }

  .todo-header {
    align-items: stretch;
    padding-top: 18px;
  }

  .task-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 4px;
  }

  .task-main {
    gap: 10px;
  }

  .task-delete {
    padding: 6px 9px;
  }
}
