/* ==========================================================================
   ReadyToGo - Learning Overview & Activity Dashboard Styles
   Matches reference image: Clean SaaS educational aesthetic, 5 metric cards,
   progression milestone badges, and continuous GitHub-style contribution graph.
   ========================================================================== */

:root {
  --lo-bg: #f8fafc;
  --lo-card-bg: #ffffff;
  --lo-border: #e8eef8;
  --lo-border-hover: #bfdbfe;
  --lo-navy: #0f172a;
  --lo-blue: #2563eb;
  --lo-blue-light: #eff6ff;
  --lo-blue-dark: #1d4ed8;
  --lo-muted: #64748b;
  --lo-subtle: #94a3b8;
  
  /* Heatmap square colors (Green Activity Grid) */
  --lo-sq-0: #f1f5f9;
  --lo-sq-1: #9be9a8;
  --lo-sq-2: #40c463;
  --lo-sq-3: #30a14e;
  --lo-sq-4: #216e39;
}

/* ── Container Layout ─────────────────────────────────────────────────────── */
.learning-overview-page {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

/* ── Section A: Page Header ─────────────────────────────────────────────── */
.lo-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.lo-header-left {
  flex: 1;
  min-width: 280px;
}

.lo-page-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--lo-navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 6px;
}

.lo-title-accent {
  color: var(--lo-blue);
}

.lo-page-subtitle {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--lo-muted);
  margin: 0;
  line-height: 1.4;
}

/* Right button: "Overall Activity Summary →" */
.lo-header-summary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 9999px;
  padding: 8px 18px 8px 12px;
  color: var(--lo-blue);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lo-header-summary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  border-color: #93c5fd;
  color: var(--lo-blue-dark);
}

.lo-summary-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lo-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lo-blue);
  flex-shrink: 0;
}

.lo-summary-btn-arrow {
  transition: transform 0.2s ease;
}

.lo-header-summary-btn:hover .lo-summary-btn-arrow {
  transform: translateX(3px);
}

/* ── Section B: Learning Summary Cards (5 equal cards in 1 row) ──────────── */
.lo-summary-cards-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.lo-summary-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--lo-border);
  border-radius: 18px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s ease,
              border-color 0.2s ease;
  overflow: hidden;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.lo-summary-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
}

/* Static Non-Clickable Cards for Other Users' Profiles */
.lo-summary-card.lo-card-static,
div.lo-summary-card {
  cursor: default !important;
}

.lo-summary-card.lo-card-static:hover,
div.lo-summary-card:hover {
  transform: none !important;
  border-color: var(--lo-border) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}

.lo-summary-card.lo-card-static:hover .lo-card-watermark,
div.lo-summary-card:hover .lo-card-watermark {
  opacity: 0.045 !important;
  transform: none !important;
}



/* Circular Icon Bubbles */
.lo-card-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lo-card-icon-bubble svg {
  width: 20px;
  height: 20px;
}

.lo-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.lo-icon-purple {
  background: #f5f3ff;
  color: #8b5cf6;
}

.lo-icon-orange {
  background: #fff7ed;
  color: #ea580c;
}

.lo-icon-amber {
  background: #fefce8;
  color: #ca8a04;
}

/* Card Content Column */
.lo-card-content {
  min-width: 0;
  flex: 1;
  position: relative;
  z-index: 2;
}

.lo-card-label {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 3px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.25;
  word-break: break-word;
}

.lo-card-value {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--lo-navy);
  line-height: 1.15;
  margin-bottom: 3px;
  white-space: nowrap;
}

.lo-val-orange {
  color: #ea580c;
}

.lo-card-subtext {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--lo-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.lo-text-green {
  color: #16a34a;
  font-weight: 700;
}

/* Tiny Badge Pills */
.lo-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 1.5px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.lo-pill-orange {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.lo-pill-yellow {
  background: #fef9c3;
  color: #a16207;
  border: 1px solid #fef08a;
}

/* Watermark Illustration on Card Right */
.lo-card-watermark {
  position: absolute;
  right: 12px;
  bottom: 10px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lo-summary-card:hover .lo-card-watermark {
  opacity: 0.22;
  transform: scale(1.05);
}

/* ── Section C: Badges Card ─────────────────────────────────────────────── */
.lo-section-card {
  background: #ffffff;
  border: 1px solid var(--lo-border);
  border-radius: 22px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.lo-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.lo-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lo-card-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lo-blue-light);
  color: var(--lo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lo-card-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--lo-navy);
  margin: 0;
}

.lo-card-desc {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--lo-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lo-info-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: var(--lo-subtle);
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  user-select: none;
}

/* Most Recent Badge Mini-card */
.lo-recent-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 16px 8px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lo-recent-badge-chip:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.lo-recent-badge-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.lo-recent-badge-info {
  display: flex;
  flex-direction: column;
}

.lo-recent-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--lo-muted);
  line-height: 1.2;
}

.lo-recent-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--lo-navy);
  line-height: 1.25;
}

.lo-recent-date {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.2;
}

.lo-recent-chip-claimable {
  border-color: #fcd34d !important;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15) !important;
}

.lo-recent-chip-locked {
  background: #f8fafc;
}

.lo-recent-img-locked {
  filter: grayscale(0.8) opacity(0.7) !important;
}

.lo-recent-claimable-text {
  color: #d97706 !important;
  font-weight: 800 !important;
}

.lo-recent-progress-text {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.lo-recent-arrow {
  color: #94a3b8;
  margin-left: 2px;
}

/* Badge Progression Timeline */
.lo-badges-timeline-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  padding: 14px 10px 10px;
}

.lo-badges-timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 720px;
}

/* Continuous Horizontal Timeline Connecting Bar */
.lo-timeline-track {
  position: absolute;
  top: 36px;
  left: 65px;
  right: 65px;
  height: 2px;
  background: #bfdbfe;
  z-index: 1;
}

/* Timeline Intermediary Node Dots */
.lo-timeline-node {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #3b82f6;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Badge Milestone Item */
.lo-badge-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 130px;
  cursor: pointer;
}

.lo-badge-not-clickable,
.lo-badge-item.lo-badge-not-clickable,
.lo-recent-badge-chip.lo-badge-not-clickable {
  cursor: default !important;
}

.lo-badge-item.lo-badge-not-clickable:hover .lo-badge-visual-wrap,
.lo-recent-badge-chip.lo-badge-not-clickable:hover {
  transform: none !important;
}

.lo-badge-visual-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lo-badge-item:hover .lo-badge-visual-wrap {
  transform: translateY(-3px) scale(1.04);
}

.lo-badge-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

/* Claimed Checkmark Indicator (Bottom right of badge) */
.lo-badge-check-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Locked Badge Treatment */
.lo-badge-locked .lo-badge-img {
  filter: grayscale(1) opacity(0.55);
}

/* Eligible / Unclaimed Milestone Badge Treatment */
.lo-badge-eligible .lo-badge-img {
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.45));
  animation: loBadgePulse 2.4s ease-in-out infinite;
}

@keyframes loBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.lo-badge-gift-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
  animation: loGiftBounce 1.6s ease-in-out infinite;
}

@keyframes loGiftBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Circular Progress Ring around Badge Lock */
.lo-badge-lock-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.lo-lock-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
  overflow: visible;
}

.lo-lock-track {
  stroke: rgba(226, 232, 240, 0.9);
  stroke-width: 3.2;
}

.lo-lock-fill {
  stroke: #10b981;
  stroke-width: 3.4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.lo-badge-lock-overlay {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.lo-badge-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--lo-navy);
  margin-bottom: 4px;
}

.lo-badge-pill-claimed {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lo-badge-pill-eligible {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
}

.lo-badge-unlocked-sub {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
}

.lo-badge-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--lo-muted);
}

.lo-badge-pct {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.lo-badge-req-days {
  font-size: 11px;
  font-weight: 500;
  color: var(--lo-subtle);
}

/* ── Section D: Full-Width Activity Calendar ────────────────────────────── */
.lo-activity-card {
  background: #ffffff;
  border: 1px solid var(--lo-border);
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.lo-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.lo-activity-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lo-activity-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lo-blue-light);
  color: var(--lo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lo-activity-title-group h3 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--lo-navy);
  margin: 0 0 2px;
  line-height: 1.2;
}

.lo-activity-subtext {
  font-size: 13px;
  font-weight: 600;
  color: var(--lo-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Right side metrics */
.lo-activity-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lo-act-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--lo-muted);
}

.lo-act-metric strong {
  font-size: 14px;
  font-weight: 800;
}

.lo-act-metric.active-days strong {
  color: var(--lo-blue);
}

.lo-act-metric.max-streak strong {
  color: #ea580c;
}

/* Intensity Legend */
.lo-activity-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lo-subtle);
  margin: 0 4px;
}

.lo-legend-sq {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.lo-legend-sq.lvl-0 { background: var(--lo-sq-0); border: 1px solid #e2e8f0; }
.lo-legend-sq.lvl-1 { background: var(--lo-sq-1); border: 1px solid #86efac; }
.lo-legend-sq.lvl-2 { background: var(--lo-sq-2); border: 1px solid #34d399; }
.lo-legend-sq.lvl-3 { background: var(--lo-sq-3); border: 1px solid #10b981; }
.lo-legend-sq.lvl-4 { background: var(--lo-sq-4); border: 1px solid #047857; }

/* Year Selector Dropdown */
.lo-year-select-wrap {
  position: relative;
  display: inline-block;
}

.lo-year-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 6px 30px 6px 12px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--lo-navy);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lo-year-select:hover,
.lo-year-select:focus {
  border-color: var(--lo-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.lo-year-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

/* ── Calendar Graph Container ────────────────────────────────────────────── */
.lo-calendar-viewport {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}

.lo-calendar-container {
  display: flex;
  align-items: flex-start;
  min-width: 100%;
  padding: 4px 2px;
  user-select: none;
}

/* Months Grid Group */
.lo-months-stream {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 860px;
}

/* Individual Month Cluster */
.lo-month-cluster {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lo-month-name {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding-bottom: 2px;
}

.lo-month-columns {
  display: flex;
  gap: 3px;
}

/* Week Column (Contains 7 Day Rows) */
.lo-week-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Day Square */
.lo-day-cell {
  width: 12px;
  height: 12px;
  border-radius: 2.5px;
  background: var(--lo-sq-0);
  border: 1px solid rgba(226, 232, 240, 0.7);
  cursor: pointer;
  transition: transform 0.12s ease, outline 0.12s ease;
  box-sizing: border-box;
}

.lo-day-cell.empty {
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  border: none;
}

.lo-day-cell:not(.empty):hover {
  transform: scale(1.35);
  z-index: 10;
  position: relative;
  outline: 1.5px solid #0f172a;
}

/* Activity Levels */
.lo-day-cell.lvl-0 {
  background: var(--lo-sq-0);
  border-color: #e2e8f0;
}

.lo-day-cell.lvl-1 {
  background: var(--lo-sq-1);
  border-color: #86efac;
}

.lo-day-cell.lvl-2 {
  background: var(--lo-sq-2);
  border-color: #34d399;
}

.lo-day-cell.lvl-3 {
  background: var(--lo-sq-3);
  border-color: #10b981;
}

.lo-day-cell.lvl-4 {
  background: var(--lo-sq-4);
  border-color: #047857;
}

/* ── Floating Tooltip ────────────────────────────────────────────────────── */
.lo-tooltip {
  position: fixed;
  z-index: 999999;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 7px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-6px);
  transition: opacity 0.15s ease;
}

.lo-tooltip.is-visible {
  opacity: 1;
}

.lo-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0 4px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

/* ── Responsive Adaptations ─────────────────────────────────────────────── */

/* Large Tablets & Medium screens (<= 1120px) */
@media (max-width: 1120px) {
  .lo-summary-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets (<= 860px) */
@media (max-width: 860px) {
  .lo-summary-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .lo-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .lo-card-header-row,
  .lo-activity-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile Devices (<= 560px) */
@media (max-width: 560px) {
  .lo-summary-cards-row {
    grid-template-columns: 1fr;
  }
  .lo-page-title {
    font-size: 26px;
  }
  .lo-section-card,
  .lo-activity-card {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .lo-activity-header-right {
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }
}
