:root {
  color-scheme: light;
  --bg: #f5f1ea;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --ink: #202322;
  --muted: #6c716d;
  --line: #ded5c8;
  --green: #3b7a61;
  --green-dark: #25543f;
  --blue: #2d5d7c;
  --peach: #c97758;
  --yellow: #efc05a;
  --shadow: 0 18px 50px rgba(55, 43, 29, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: clamp(220px, 32vh, 360px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 22, 19, 0.72), rgba(16, 22, 19, 0.26) 58%, rgba(16, 22, 19, 0.08));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 38px;
  color: #fffdf8;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 700;
}

.app-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.app-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.app-nav a.active,
.app-nav a:hover {
  background: rgba(255, 255, 255, 0.24);
}

.page-header {
  background: #20312a;
  color: #fffdf8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-header-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-workspace {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
  padding-bottom: 44px;
  display: grid;
  gap: 18px;
}

.inline-logout {
  top: 28px;
}

.workspace {
  width: min(1120px, calc(100% - 32px));
  margin: -24px auto 0;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
  align-items: start;
  position: relative;
}

.workspace.single-panel {
  margin-top: 32px;
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
}

.panel {
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(126, 108, 85, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-kicker {
  color: var(--peach);
}

h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.date-field {
  min-width: 172px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.date-field input,
textarea,
.metric-field select,
.metric-field input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.date-field input {
  min-height: 42px;
  padding: 0 12px;
}

.date-field input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(59, 122, 97, 0.16);
}

.task-input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.install-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.install-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(59, 122, 97, 0.16);
}

.setup-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-hero {
  min-height: clamp(220px, 34vh, 340px);
}

.auth-panel {
  width: 100%;
}

.logout-form {
  position: absolute;
  top: 26px;
  right: 0;
  z-index: 2;
}

.logout-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0 14px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.logout-button:hover {
  background: rgba(255, 255, 255, 0.24);
}

textarea {
  min-height: 260px;
  resize: vertical;
  padding: 14px;
  line-height: 1.55;
}

textarea.short-textarea {
  min-height: 132px;
}

.format-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.format-pill {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(45, 93, 124, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--blue);
  background: rgba(45, 93, 124, 0.08);
  font-size: 0.85rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.quiet-button,
.filter-button,
.icon-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
}

.primary-button {
  padding: 0 16px;
  background: var(--green);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--green-dark);
}

.quiet-button {
  padding: 0 14px;
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.quiet-button:hover,
.filter-button:hover {
  background: #f2eadf;
}

.button-icon,
.icon-button svg {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.button-icon svg,
.icon-button svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.message.error {
  color: #9d2f25;
}

.message.success {
  color: var(--green-dark);
}

.tasks-panel {
  min-height: 540px;
}

.list-header {
  align-items: center;
}

.progress-wrap {
  min-width: 150px;
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 900;
  text-align: right;
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9dfd2;
}

.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transition: width 180ms ease;
}

.filter-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  background: #f4ecdf;
}

.filter-button {
  min-width: 0;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
}

.filter-button.active {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(55, 43, 29, 0.08);
}

.score-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.score-board div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 10px;
}

.score-board span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.score-board strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.task-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.task-card.done {
  background: #f4f7f1;
}

.task-check {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--green);
}

.task-main {
  min-width: 0;
}

.task-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.time-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(45, 93, 124, 0.1);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.score-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(239, 192, 90, 0.22);
  color: #775414;
  font-size: 0.8rem;
  font-weight: 900;
}

.task-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.task-details {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.metric-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.metric-label,
.metric-value {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 850;
}

.metric-label {
  background: rgba(59, 122, 97, 0.12);
  color: var(--green-dark);
}

.metric-value {
  background: rgba(45, 93, 124, 0.09);
  color: var(--blue);
  overflow-wrap: anywhere;
}

.metric-summary.pending .metric-label {
  background: rgba(239, 192, 90, 0.24);
  color: #7a5612;
}

.metric-summary.pending .metric-value {
  background: rgba(239, 192, 90, 0.12);
  color: #7a5612;
}

.task-card.done .task-title,
.task-card.done .task-details {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(59, 122, 97, 0.4);
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.icon-button:hover {
  color: #9d2f25;
  background: #fff0ed;
  border-color: #efb2a8;
}

.empty-state {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed #c9bca9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
}

.hidden {
  display: none;
}

.metric-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(21, 25, 23, 0.52);
}

.metric-modal-backdrop.hidden {
  display: none;
}

.metric-dialog {
  width: min(100%, 460px);
  border: 1px solid rgba(126, 108, 85, 0.32);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(21, 25, 23, 0.28);
  padding: 22px;
}

.metric-dialog-header {
  margin-bottom: 16px;
}

.metric-field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.metric-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.metric-field select {
  min-height: 44px;
  padding: 0 12px;
}

.metric-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(59, 122, 97, 0.16);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.filters-panel {
  padding-bottom: 14px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.tasks-filter-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.search-field {
  grid-column: span 2;
}

.filter-actions {
  display: flex;
  align-items: end;
  min-height: 44px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  border: 1px solid rgba(126, 108, 85, 0.25);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 10px 28px rgba(55, 43, 29, 0.09);
  padding: 16px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.chart-panel {
  min-width: 0;
}

.wide-chart {
  grid-column: 1 / -1;
}

.chart-svg {
  display: block;
  width: 100%;
  min-height: 260px;
  overflow: visible;
}

.chart-svg.tall {
  min-height: 310px;
}

.chart-grid-line {
  stroke: #e2d8ca;
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.weight-line {
  stroke: var(--blue);
}

.wake-line {
  stroke: var(--peach);
}

.chart-dot {
  fill: var(--surface-strong);
  stroke: currentColor;
  stroke-width: 2;
  color: var(--green);
}

.chart-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-label.tiny {
  font-size: 11px;
}

.chart-bar-total {
  fill: rgba(45, 93, 124, 0.18);
}

.chart-bar-correct {
  fill: var(--green);
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.all-tasks-panel {
  min-height: 520px;
}

.all-tasks-list {
  gap: 8px;
}

.date-divider {
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.todo-add-grid {
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
}

.todo-date-field {
  margin-top: 14px;
}

.todo-filter-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.todo-list {
  gap: 8px;
}

.todo-card.overdue {
  border-color: rgba(157, 47, 37, 0.34);
}

.todo-card.compact {
  padding: 12px;
}

.due-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.due-pill.open {
  background: rgba(45, 93, 124, 0.1);
  color: var(--blue);
}

.due-pill.overdue {
  background: rgba(157, 47, 37, 0.12);
  color: #8d2a21;
}

.due-pill.done {
  background: rgba(59, 122, 97, 0.13);
  color: var(--green-dark);
}

.todo-meta:empty {
  display: none;
}

.goal-form-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1.2fr);
  gap: 12px;
}

.goal-filter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.goal-list {
  gap: 8px;
}

.goal-area-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(59, 122, 97, 0.18);
  border-radius: 8px;
  background: rgba(59, 122, 97, 0.07);
  color: var(--green-dark);
  font-weight: 900;
}

.goal-area-divider div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.area-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--green);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.goal-card.done {
  background: #f4f7f1;
}

.food-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.food-total-grid {
  grid-template-columns: minmax(220px, 1fr);
}

.food-total-card strong {
  font-size: 2rem;
}

.food-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.food-stage-card {
  box-shadow: none;
}

.food-stage-card.active {
  border-color: rgba(59, 122, 97, 0.35);
}

.food-stage-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.task-card.food-card {
  grid-template-columns: 1fr auto;
}

.food-divider {
  margin-top: 8px;
}

.calendar-toolbar-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.compact-field {
  min-width: 150px;
  margin-bottom: 0;
}

.calendar-stats .stat-card strong {
  font-size: 1.65rem;
}

.calendar-panel {
  overflow: hidden;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  gap: 1px;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-weekdays span {
  padding: 0 6px 8px;
}

.calendar-grid {
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.calendar-grid.week-mode .calendar-day {
  min-height: 280px;
}

.calendar-day {
  min-width: 0;
  min-height: 170px;
  background: var(--surface-strong);
  padding: 10px;
}

.calendar-day.today {
  box-shadow: inset 0 0 0 2px var(--green);
}

.calendar-day.muted {
  background: #f3eadf;
}

.calendar-day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-day-header strong {
  font-size: 1rem;
}

.calendar-day-header span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.calendar-day-items {
  display: grid;
  gap: 6px;
}

.calendar-empty {
  color: #9b948c;
  font-size: 0.8rem;
  font-weight: 750;
}

.calendar-task {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  align-items: start;
  border: 1px solid rgba(45, 93, 124, 0.16);
  border-radius: 8px;
  background: rgba(45, 93, 124, 0.07);
  padding: 7px;
}

.calendar-task input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.calendar-task strong,
.calendar-task small {
  display: block;
  overflow-wrap: anywhere;
}

.calendar-task strong {
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.25;
}

.calendar-task small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.calendar-task.soon {
  border-color: rgba(239, 192, 90, 0.55);
  background: rgba(239, 192, 90, 0.16);
}

.calendar-task.overdue {
  border-color: rgba(157, 47, 37, 0.28);
  background: rgba(157, 47, 37, 0.08);
}

.calendar-task.overdue small {
  color: #8d2a21;
}

.calendar-task.done {
  border-color: rgba(59, 122, 97, 0.24);
  background: rgba(59, 122, 97, 0.08);
}

.calendar-task.done strong {
  text-decoration: line-through;
  text-decoration-color: rgba(59, 122, 97, 0.45);
  text-decoration-thickness: 2px;
}

@media (max-width: 860px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .panel-header {
    flex-direction: column;
  }

  .date-field,
  .progress-wrap {
    width: 100%;
    text-align: left;
  }

  .filter-grid,
  .tasks-filter-grid,
  .todo-filter-grid,
  .goal-filter-grid,
  .goal-form-grid,
  .score-board,
  .food-form-grid,
  .food-stage-grid,
  .stats-grid,
  .chart-grid,
  .todo-add-grid {
    grid-template-columns: 1fr;
  }

  .search-field,
  .wide-chart {
    grid-column: auto;
  }

  .calendar-toolbar-main {
    display: grid;
  }

  .calendar-actions {
    justify-content: flex-start;
  }

  .calendar-weekdays {
    display: none;
  }

  .calendar-grid,
  .calendar-weekdays {
    grid-template-columns: 1fr;
  }

  .calendar-day,
  .calendar-grid.week-mode .calendar-day {
    min-height: auto;
  }

  .calendar-day.muted {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 250px;
  }

  .hero-content,
  .workspace {
    width: min(100% - 20px, 1120px);
  }

  .hero-stats span,
  .format-pill {
    font-size: 0.78rem;
  }

  .panel {
    padding: 16px;
  }

  .filter-tabs {
    grid-template-columns: 1fr;
  }

  .task-card {
    grid-template-columns: auto 1fr;
  }

  .task-card .icon-button {
    grid-column: 2;
    justify-self: end;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-actions {
    flex-direction: column-reverse;
  }
}
