:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --rail: #F1EDE4;
  --weekend: #FAF8F4;
  --today-bg: #FFFBF6;
  --ink: #1C1917;
  --muted: #6B655D;
  --muted-soft: #9C948A;
  --border: #E6E0D5;
  --border-strong: #D5CEC2;
  --hover: rgba(28, 25, 23, 0.045);

  --pro: #2E4A62;
  --personal: #3D6B52;
  --metric: #9A6B2F;
  --today: #C86D2D;
  --danger: #B33A2E;

  --serif: "Iowan Old Style", "New York", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04), 0 4px 12px rgba(28, 25, 23, 0.03);
}

:root[data-theme="dark"] {
  --bg: #161513;
  --surface: #1F1D1A;
  --rail: #25221E;
  --weekend: #1B1916;
  --today-bg: #27211B;
  --ink: #F2EFE9;
  --muted: #A39B90;
  --muted-soft: #787168;
  --border: #332E28;
  --border-strong: #453F37;
  --hover: rgba(242, 239, 233, 0.06);

  --pro: #7EA5C4;
  --personal: #7EB896;
  --metric: #D49B4E;
  --today: #E08245;
  --danger: #E06B5E;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------- Auth Screen ---------- */
.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.auth-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-bottom: 6px;
}

.auth-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
}

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

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.pin-dot.is-filled {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.08);
}

.pin-sr-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.auth-error {
  min-height: 20px;
  margin: 6px 0 14px;
  font-size: 13px;
  color: var(--danger);
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pin-key {
  height: 52px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.12s ease, transform 0.08s ease;
  touch-action: manipulation;
}

.pin-key:hover {
  background: var(--hover);
}

.pin-key:active {
  transform: scale(0.97);
}

.pin-key-muted {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 8px 18px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-left, .topbar-right, .nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: 4px;
}

.switcher {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 4px;
  gap: 2px;
}

.switcher-label {
  font-size: 13px;
  font-weight: 500;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 16px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: var(--hover);
  color: var(--ink);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.pill-btn:hover {
  background: var(--hover);
  border-color: var(--border-strong);
}

.pill-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.pill-accent {
  border-color: color-mix(in srgb, var(--today) 40%, var(--border));
  color: var(--today);
}

.pill-subtle {
  font-size: 12px;
  padding: 4px 10px;
  color: var(--muted);
}

.pill-danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 35%, var(--border));
}

.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--personal);
}

.sync-status[data-state="saving"] .sync-dot {
  background: var(--metric);
}

.sync-status[data-state="offline"] .sync-dot {
  background: var(--muted-soft);
}

.sync-status[data-state="error"] .sync-dot {
  background: var(--danger);
}

/* ---------- Mobile Subnav ---------- */
.mobile-subnav {
  display: none;
}

/* ---------- Workspace Layout ---------- */
.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  min-height: calc(100dvh - 55px);
}

.workspace.is-quarter-expanded {
  grid-template-columns: 1fr;
}

.workspace.is-quarter-expanded .week-canvas {
  display: none;
}

.workspace.is-quarter-expanded .quarter-rail {
  border-right: none;
  padding: 28px clamp(18px, 4vw, 48px);
}

.workspace.is-quarter-expanded .quarter-content {
  max-width: 1200px;
  margin: 0 auto;
}

.workspace.is-quarter-expanded .quarter-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* ---------- Quarter Rail ---------- */
.quarter-rail {
  background: var(--rail);
  border-right: 1px solid var(--border);
  padding: 20px 18px 28px;
}

.mobile-quarter-teaser {
  display: none;
}

.quarter-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.quarter-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  display: inline;
  letter-spacing: -0.01em;
}

.quarter-months {
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 8px;
}

.quarter-focus-input {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  overflow: hidden;
  padding: 4px 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}

.quarter-focus-input::placeholder {
  color: var(--muted-soft);
}

.quarter-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-pro { background: var(--pro); }
.dot-personal { background: var(--personal); }
.dot-metric { background: var(--metric); }

.section-title {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Inline Bullet Lists ---------- */
.bullet-list, .metrics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 3px 4px;
  border-radius: 8px;
  transition: background-color 0.12s ease;
}

.bullet-row:hover, .bullet-row:focus-within {
  background: var(--hover);
}

.bullet-row.is-dragging {
  opacity: 0.45;
}

.check-btn {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.12s ease, border-color 0.12s ease;
  color: var(--surface);
  font-size: 10.5px;
  line-height: 1;
}

.check-btn:hover {
  border-color: var(--muted);
}

.bullet-row.is-done .check-btn {
  background: var(--muted);
  border-color: var(--muted);
}

.bullet-row[data-accent="pro"].is-done .check-btn {
  background: var(--pro);
  border-color: var(--pro);
}

.bullet-row[data-accent="personal"].is-done .check-btn {
  background: var(--personal);
  border-color: var(--personal);
}

.bullet-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  resize: none;
  overflow: hidden;
  padding: 1px 0;
  line-height: 1.42;
  outline: none;
}

.bullet-row.is-done .bullet-input {
  color: var(--muted-soft);
  text-decoration: line-through;
}

.row-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.12s ease;
  flex-shrink: 0;
}

.bullet-row:hover .row-actions,
.bullet-row:focus-within .row-actions,
.metric-card:hover .row-actions,
.metric-card:focus-within .row-actions {
  opacity: 1;
}

.row-act-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

.row-act-btn:hover {
  background: var(--hover);
  color: var(--ink);
}

.row-act-del:hover {
  color: var(--danger);
}

.ghost-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 2px;
  margin-top: 2px;
}

.ghost-plus {
  width: 17px;
  text-align: center;
  color: var(--muted-soft);
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.ghost-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 2px 0;
  outline: none;
  color: var(--ink);
}

.ghost-input::placeholder {
  color: var(--muted-soft);
}

/* ---------- Metrics ---------- */
.metric-card {
  padding: 6px 8px;
  border-radius: 9px;
  transition: background-color 0.12s ease;
}

.metric-card:hover, .metric-card:focus-within {
  background: var(--hover);
}

.metric-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.metric-bullet {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--metric);
  margin-top: 7px;
  flex-shrink: 0;
}

.metric-title {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  resize: none;
  overflow: hidden;
  padding: 0;
  line-height: 1.4;
  outline: none;
}

.metric-counter-toggle {
  font-size: 11px;
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.metric-counter-toggle:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.metric-counter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 2px 14px;
}

.counter-step-btn {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.counter-step-btn:hover {
  border-color: var(--border-strong);
  background: var(--hover);
}

.counter-readout {
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.counter-readout:hover {
  background: var(--surface);
}

.metric-progress-track {
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  margin: 5px 0 2px 14px;
  overflow: hidden;
}

.metric-progress-fill {
  height: 100%;
  background: var(--metric);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.metric-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 4px 14px;
  padding: 10px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: var(--muted);
}

.metric-field input {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 7px;
  background: var(--bg);
  font-size: 12.5px;
  outline: none;
}

.metric-editor-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2px;
}

/* ---------- Week Canvas ---------- */
.week-canvas {
  padding: 18px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.week-notes-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px 10px;
  box-shadow: var(--shadow-sm);
}

.week-notes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.week-range-label {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.week-notes-input {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  overflow: hidden;
  padding: 2px 0;
  outline: none;
  line-height: 1.5;
}

.week-notes-input::placeholder {
  color: var(--muted-soft);
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 12px 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.day-card.is-weekend {
  background: var(--weekend);
}

.day-card.is-today {
  background: var(--today-bg);
  border-color: color-mix(in srgb, var(--today) 45%, var(--border));
  border-top: 3px solid var(--today);
  padding-top: 10px;
}

.day-card.is-drop-target {
  border-color: var(--today);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--today) 20%, transparent);
}

.day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.day-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.day-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
}

.day-date {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.today-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--today);
  background: color-mix(in srgb, var(--today) 12%, transparent);
  padding: 1px 7px;
  border-radius: 999px;
}

.day-count {
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.day-card .ghost-row {
  margin-top: auto;
  padding-top: 8px;
}

/* ---------- Settings Dialog ---------- */
.settings-dialog {
  border: none;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.settings-dialog::backdrop {
  background: rgba(28, 25, 23, 0.35);
  backdrop-filter: blur(4px);
}

.settings-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.theme-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.theme-opt {
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--muted);
}

.theme-opt.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.settings-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pin-change-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pin-change-form input {
  flex: 1;
  min-width: 120px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.settings-msg {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  min-height: 16px;
}

.settings-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast-undo {
  font-weight: 600;
  color: var(--today);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1379px) {
  .days-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .workspace {
    grid-template-columns: minmax(270px, 315px) minmax(0, 1fr);
  }
  .days-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .desktop-only {
    display: none;
  }

  .mobile-subnav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px 8px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }

  .segmented {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--rail);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
  }

  .seg-btn {
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
  }

  .seg-btn.is-active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  }

  .day-jump-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .day-jump-btn {
    padding: 5px 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
  }

  .day-jump-btn.is-today {
    border-color: var(--today);
    color: var(--today);
    font-weight: 600;
  }

  .workspace {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .quarter-rail {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
  }

  .mobile-quarter-teaser {
    display: block;
  }

  .teaser-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 4px 2px;
  }

  .teaser-left {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .teaser-title {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
  }

  .teaser-summary {
    font-size: 12px;
    color: var(--muted);
  }

  .teaser-chevron {
    font-size: 16px;
    color: var(--muted);
    transition: transform 0.15s ease;
  }

  .quarter-rail.is-mobile-open .teaser-chevron {
    transform: rotate(180deg);
  }

  .quarter-rail .quarter-content {
    display: none;
    padding-top: 12px;
  }

  .quarter-rail.is-mobile-open .quarter-content {
    display: block;
  }

  .workspace.is-mobile-quarter .mobile-quarter-teaser {
    display: none;
  }

  .workspace.is-mobile-quarter .quarter-content {
    display: block;
    padding-top: 4px;
  }

  .workspace.is-mobile-quarter .week-canvas {
    display: none;
  }

  .workspace.is-mobile-quarter .quarter-rail {
    border-bottom: none;
    padding: 16px 14px 32px;
  }

  .week-canvas {
    padding: 14px 14px 32px;
  }

  /* Show subtle row actions on touch screens without hover */
  .row-actions {
    opacity: 0.75;
  }
}

@media (max-width: 767px) {
  input, textarea {
    font-size: 16px !important;
  }

  .topbar {
    padding: 8px 12px;
  }

  .brand-mark {
    display: none;
  }

  #sync-label {
    display: none;
  }

  .check-btn {
    width: 20px;
    height: 20px;
    margin-top: 3px;
  }

  .row-act-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

@media (max-width: 639px) {
  .days-grid {
    grid-template-columns: 1fr;
  }

  .day-card {
    min-height: 150px;
  }
}
