:root {
  --bg-top: #f4fbff;
  --bg-bottom: #f6f4ff;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: #ffffff;
  --text: #243044;
  --muted: #5f6b82;
  --border: rgba(100, 130, 180, 0.16);
  --shadow: 0 18px 45px rgba(72, 98, 135, 0.14);
  --ready: #ffd8a8;
  --ready-border: #f0b874;
  --soon: #d9d3ff;
  --soon-border: #a89cf8;
  --good: #d5f0e4;
  --good-border: #88c6a6;
  --button: linear-gradient(135deg, #89b8ff, #8e90ff);
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(169, 231, 255, 0.45), transparent 30%),
    radial-gradient(circle at top right, rgba(203, 181, 255, 0.35), transparent 32%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

a {
  color: inherit;
}

.landing-shell,
.dashboard-shell {
  padding: 24px;
}

.landing-topbar {
  max-width: 1100px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: flex-end;
}

.landing-wrap,
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-card,
.add-card,
.activity-card,
.empty-state,
.group-block {
  background: var(--panel);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  max-width: 720px;
  margin: 8vh auto 0;
  padding: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #63708a;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.hero-copy,
.subtle,
.section-title-row p,
.group-heading p,
.support-line,
.description,
.empty-state p,
.last-done,
.user-chip p {
  color: var(--muted);
}

.github-button,
.primary-button,
.secondary-button,
.done-button {
  border-radius: 999px;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.github-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  color: var(--button-text);
  background: var(--button);
  box-shadow: 0 14px 24px rgba(120, 123, 240, 0.28);
  border: 0;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font-weight: 700;
}

.github-button svg {
  width: 20px;
  height: 20px;
}

.hero-card .secondary-button {
  margin-top: 12px;
}

.page-wrap {
  display: grid;
  gap: 22px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.topbar-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.locale-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.locale-form select,
.locale-submit {
  min-height: 40px;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
}

.locale-form select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #6c7a93 50%),
    linear-gradient(135deg, #6c7a93 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.locale-submit {
  display: inline-flex;
  align-items: center;
  background: rgba(36, 48, 68, 0.06);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.user-chip {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 32px;
  min-width: 290px;
}

.user-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.user-meta strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.user-meta p {
  margin: 0;
}

.user-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex-shrink: 0;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.add-card,
.activity-card,
.empty-state,
.group-block {
  padding: 22px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.flash-banner,
.form-error,
.dev-mode-pill {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
}

.flash-banner {
  background: rgba(135, 219, 181, 0.28);
  color: #245940;
}

.form-error {
  background: rgba(255, 216, 168, 0.45);
  color: #754f19;
}

.dev-mode-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  background: rgba(137, 184, 255, 0.18);
  color: #35548a;
  font-size: 0.8rem;
}

.add-form {
  display: grid;
  grid-template-columns: 2fr 2fr 180px 2fr auto;
  gap: 14px;
  align-items: end;
}

.add-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.add-form input,
.add-form select {
  width: 100%;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
}

.add-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6c7a93 50%),
    linear-gradient(135deg, #6c7a93 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.group-block {
  display: grid;
  gap: 18px;
}

.activity-card {
  display: grid;
  gap: 18px;
}

.activity-title-row {
  align-items: end;
}

.activity-summary {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.activity-summary-line,
.activity-empty {
  color: var(--muted);
}

.activity-strip {
  overflow-x: auto;
  padding-bottom: 4px;
}

.activity-months,
.activity-cells {
  display: grid;
  grid-template-columns: repeat(52, 12px);
  column-gap: 6px;
  min-width: 930px;
}

.activity-months {
  align-items: end;
  margin-bottom: 10px;
  min-height: 18px;
}

.activity-month {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.activity-cell {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(88, 111, 149, 0.08);
  background: rgba(137, 184, 255, 0.08);
}

.activity-cell.intensity-0 {
  background: rgba(137, 184, 255, 0.08);
}

.activity-cell.intensity-1 {
  background: rgba(183, 229, 205, 0.42);
}

.activity-cell.intensity-2 {
  background: rgba(143, 214, 178, 0.62);
}

.activity-cell.intensity-3 {
  background: rgba(92, 188, 146, 0.78);
}

.activity-cell.intensity-4 {
  background: rgba(54, 151, 111, 0.9);
}

.activity-cell.is-current-week {
  box-shadow: 0 0 0 2px rgba(137, 184, 255, 0.28);
}

.activity-cells .activity-cell:hover {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(137, 184, 255, 0.2);
}

.activity-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.activity-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.chore-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: var(--panel-strong);
  border-radius: 20px;
  border: 1px solid rgba(101, 123, 168, 0.12);
  box-shadow: 0 12px 28px rgba(75, 97, 139, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.card-ready {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.96), #ffffff);
}

.card-soon {
  background: linear-gradient(180deg, rgba(243, 241, 255, 0.96), #ffffff);
}

.card-good {
  background: linear-gradient(180deg, rgba(240, 252, 246, 0.96), #ffffff);
}

.tile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.card-top h3 {
  margin: 0;
  font-size: 1.25rem;
}

.tile-name {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-ready {
  background: rgba(255, 216, 168, 0.5);
  border-color: var(--ready-border);
}

.badge-soon {
  background: rgba(217, 211, 255, 0.52);
  border-color: var(--soon-border);
}

.badge-good {
  background: rgba(213, 240, 228, 0.7);
  border-color: var(--good-border);
}

.tile-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  list-style: none;
  user-select: none;
}

.tile-summary::-webkit-details-marker {
  display: none;
}

.tile-summary::after {
  content: "▾";
  transition: transform 150ms ease;
}

.tile-details[open] .tile-summary::after {
  transform: rotate(180deg);
}

.tile-more {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.tile-more .category-chip {
  justify-self: start;
  margin: 0;
}

.tile-more .frequency {
  margin: 0;
}

.frequency {
  margin-bottom: 10px;
  font-weight: 700;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(137, 184, 255, 0.14);
  color: #45628f;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-line {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.card-ready .status-line {
  color: #9a6714;
}

.card-soon .status-line {
  color: #5b4fd1;
}

.card-good .status-line {
  color: #2f8a5b;
}

.tile-more .support-line,
.tile-more .last-done {
  margin: 0;
}

.description {
  margin-bottom: 0;
}

.done-button {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  color: #22314b;
  background: rgba(36, 48, 68, 0.06);
}

.github-button:hover,
.primary-button:hover,
.done-button:hover,
.github-button:focus-visible,
.primary-button:focus-visible,
.done-button:focus-visible,
.add-form input:focus-visible,
.add-form select:focus-visible,
.locale-form select:focus-visible,
.locale-submit:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(137, 184, 255, 0.24);
}

.chore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(75, 97, 139, 0.16);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  background: rgba(36, 48, 68, 0.92);
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(20, 25, 35, 0.24);
  animation: float-in 220ms ease;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confetti-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
}

.confetti-piece {
  position: absolute;
  animation-name: confetti-burst;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1);
  animation-fill-mode: forwards;
}

@keyframes confetti-burst {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--spin, 720deg));
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti-layer {
    display: none;
  }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  transition: box-shadow 150ms ease, color 150ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #35548a;
  box-shadow: 0 0 0 4px rgba(137, 184, 255, 0.2);
}

.nav-link.is-active {
  background: rgba(137, 184, 255, 0.18);
  border-color: rgba(103, 125, 165, 0.3);
}

.chores-list {
  display: grid;
  gap: 18px;
}

.chore-edit-form {
  display: grid;
  grid-template-columns: 2fr 2fr 180px 2fr auto;
  gap: 14px;
  align-items: end;
}

.chore-edit-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.chore-edit-form input,
.chore-edit-form select {
  width: 100%;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
}

.chore-edit-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6c7a93 50%),
    linear-gradient(135deg, #6c7a93 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.delete-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 216, 168, 0.45);
  color: #754f19;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 150ms ease;
}

.delete-button:hover,
.delete-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 216, 168, 0.4);
}

.paused-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(159, 170, 194, 0.22);
  color: #5f6b82;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-paused {
  color: #5f6b82;
}

.chore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 150ms ease, color 150ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  outline: none;
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(137, 184, 255, 0.2);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(137, 184, 255, 0.2);
}

.hub-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hub-filter-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.hub-filter-form select {
  min-height: 48px;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
}

.hub-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-published-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.hub-published-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(241, 245, 255, 0.65);
}

.settings-form {
  display: grid;
  gap: 18px;
  max-width: 480px;
}

.settings-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.settings-form select {
  width: 100%;
  border: 1px solid rgba(103, 125, 165, 0.22);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6c7a93 50%),
    linear-gradient(135deg, #6c7a93 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.settings-form .primary-button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.categories-form {
  display: grid;
  gap: 18px;
}

.category-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.category-group legend {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0;
}

.category-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 0.9rem;
  transition: box-shadow 150ms ease;
}

.category-check input {
  accent-color: #2fa86c;
}

.category-check:has(input:checked) {
  background: rgba(213, 240, 228, 0.55);
  border-color: var(--good-border);
}

.resolve-banner {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 216, 168, 0.4);
  border: 1px solid var(--ready-border);
}

.resolve-message {
  margin: 0;
  font-weight: 700;
  color: #754f19;
}

.resolve-chores {
  margin: 0;
  font-size: 0.9rem;
  color: #754f19;
}

.resolve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.resolve-actions .primary-button {
  border: 0;
  cursor: pointer;
}

@media (max-width: 820px) {
  .dashboard-shell,
  .landing-shell {
    padding: 16px;
  }

  .topbar,
  .section-title-row {
    flex-direction: column;
    align-items: start;
  }

  .topbar-side {
    width: 100%;
    justify-items: start;
  }

  .locale-form {
    width: 100%;
  }

  .locale-form select {
    width: 100%;
  }

  .user-chip {
    width: 100%;
    border-radius: 24px;
    align-items: start;
    justify-content: start;
    min-width: 0;
  }

  .user-actions {
    width: 100%;
    justify-items: start;
  }

  .add-form {
    grid-template-columns: 1fr;
  }

  .activity-summary {
    justify-items: start;
    text-align: left;
  }

  .activity-months,
  .activity-cells {
    min-width: 900px;
  }

  .chore-edit-form {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: space-around;
    gap: 0;
    margin: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    z-index: 20;
  }

  .nav-link {
    flex: 1;
    justify-content: center;
    min-height: 48px;
    padding: 0 6px;
    background: transparent;
    border: 0;
  }

  .nav-link.is-active {
    background: rgba(137, 184, 255, 0.18);
  }

  .dashboard-shell {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

.timeline-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 150px repeat(30, 8px) 8px repeat(30, 8px);
  column-gap: 2px;
  row-gap: 2px;
  grid-auto-rows: 26px;
  min-width: 760px;
}

.timeline-now-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 453px;
  width: 2px;
  background: rgba(36, 48, 68, 0.18);
  border-radius: 1px;
  pointer-events: none;
  z-index: 3;
}

.timeline-row {
  display: contents;
}

.timeline-name {
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding-right: 10px;
  background: var(--panel-strong);
}

.timeline-chore-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-category {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-cells {
  display: contents;
}

.timeline-head-cell {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.3;
}

.timeline-group {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(137, 184, 255, 0.1);
  border: 1px solid var(--border);
}

.timeline-group-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
}

.timeline-cell {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(137, 184, 255, 0.08);
  border: 1px solid rgba(88, 111, 149, 0.06);
  justify-self: center;
  align-self: center;
}

.timeline-cell.t-done {
  border-color: transparent;
}

.timeline-cell.lv-1 {
  background: #ccefd8;
}

.timeline-cell.lv-2 {
  background: #93dfae;
}

.timeline-cell.lv-3 {
  background: #58cc8c;
}

.timeline-cell.lv-4 {
  background: #2fa86c;
}

.timeline-cell.fade-1 {
  opacity: 0.85;
}

.timeline-cell.fade-2 {
  opacity: 0.72;
}

.timeline-cell.fade-3 {
  opacity: 0.6;
}

.timeline-cell.t-upcoming {
  background: #dfe1fb;
  border-color: transparent;
}

.timeline-cell.t-today {
  width: 4px;
  height: 16px;
  border: 0;
  background: rgba(36, 48, 68, 0.18);
  border-radius: 1px;
}

.activity-legend .timeline-cell {
  width: 12px;
  height: 12px;
}

.legend-cells {
  display: inline-flex;
  gap: 3px;
}
