.hoy {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 296px;
  height: 100%;
  min-height: 0;
}

.col {
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.col:last-child {
  border-right: 0;
}

.col-label {
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.col-label b {
  font-weight: 500;
  color: var(--text);
}

.front-list {
  display: grid;
  gap: 2px;
}

.front-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: calc(100% + 16px);
  min-height: 52px;
  margin: 0 -8px;
  padding: 10px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  transition: transform var(--dur) var(--ease-in);
}

.front-row:active {
  transform: scale(0.98);
}

.front-row.is-selected {
  background: var(--surface);
}

.front-row.is-paused .front-row__name {
  color: var(--muted);
}

.front-row.is-paused .pie {
  opacity: 0.5;
}

.pie {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--c);
  background: conic-gradient(var(--c) calc(var(--p) * 1%), transparent 0);
}

.front-row__text {
  display: grid;
  min-width: 0;
}

.front-row__name {
  overflow: hidden;
  font-size: var(--fs-row);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.front-row__meta {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--muted);
}

.add-front {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-size: 13px;
  color: var(--muted);
}

.inbox {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.inbox__empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.task-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  font-size: 12.5px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.task-chip .icon {
  flex: none;
  color: var(--muted);
}

.task-chip__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.resume__title {
  overflow: hidden;
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--muted);
}

.note {
  position: relative;
  padding: 22px 20px 18px;
  border: 1px solid var(--note-border);
  border-radius: var(--radius);
  background: var(--note-fill);
}

.note__tag {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--note-tag);
  font-size: 11px;
  font-weight: 500;
}

.note__text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.today {
  margin-top: 26px;
}

.today__title {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}

.today__empty {
  margin: 8px 0 0;
  font-size: var(--fs-row);
  color: var(--muted);
}

.task-row {
  display: grid;
  grid-template-columns: 24px 20px minmax(0, 1fr) 8px auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-row);
}

.task-row__grip {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  color: var(--muted);
  opacity: 0.6;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.task-row__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
}

.task-row__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.task-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

.task-row__dot.is-empty {
  background: none;
  border: 1px solid var(--muted);
}

.task-row__prio {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--muted);
}

.task-row__prio.is-p1 {
  color: var(--accent);
  font-weight: 500;
}

.empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px 0;
}

.empty__title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 600;
}

.empty__text {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.btn-primary {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: transform var(--dur) var(--ease-in);
}

.btn-primary:active {
  transform: scale(0.98);
}

.week {
  margin-bottom: 18px;
}

.week__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: -10px 0 4px;
}

.week__title {
  display: grid;
  gap: 0;
  margin: 0;
}

.week__title span {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
}

.week__navs {
  display: flex;
  align-items: center;
}

.week__today {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--accent);
}

.week__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 0.8fr 0.8fr;
  touch-action: pan-y;
  grid-auto-rows: 34px;
  grid-template-rows: 24px;
  position: relative;
  min-height: 150px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.week__grid.slide-next {
  animation: week-next 260ms var(--ease-in) both;
}

.week__grid.slide-prev {
  animation: week-prev 260ms var(--ease-in) both;
}

@keyframes week-next {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

@keyframes week-prev {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
}

.week__day {
  grid-row: 1 / -1;
  overflow: hidden;
  padding-left: 4px;
  white-space: nowrap;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--muted);
}

.week__day.is-weekend {
  background: rgba(255, 255, 255, 0.015);
}

.week__day.is-today {
  background: rgba(108, 195, 240, 0.07);
  color: var(--accent);
}

.week__bar {
  position: relative;
  align-self: end;
  height: 8px;
  margin: 0 2px 4px;
  border-radius: 4px;
  background: var(--c);
}

.week__bar-label {
  position: absolute;
  bottom: 11px;
  left: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.media-photo {
  margin: 0;
}

.media-photo__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.media-photo__credit {
  margin-top: 6px;
  overflow: hidden;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.media-quote {
  margin: 14px 0 0;
}

.media-quote__text {
  margin: 0 0 4px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.3;
}

.media-quote__author {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1000px) and (min-width: 701px) {
  .hoy {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .col--side {
    display: none;
  }
}

@media (max-width: 700px) {
  .hoy {
    grid-template-columns: 1fr;
    height: auto;
  }

  .col {
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .col--fronts .inbox,
  .col--side .week {
    display: none;
  }
}
