/* RRULMS Executive Briefing — scoped to the public analytics overview. */

body:has(.overview-page) {
  --rru-green-950: #073526;
  --rru-green-900: #0b4934;
  --rru-green-800: #0f6043;
  --rru-green-700: #187a55;
  --rru-green-100: #dceee4;
  --rru-green-50: #edf6f0;
  --rru-yellow: #f2c94c;
  --rru-yellow-strong: #e1af14;
  --rru-paper: #f4f6f2;
  --rru-surface: #ffffff;
  --rru-surface-soft: #f8faf7;
  --rru-ink: #18231f;
  --rru-copy: #33443d;
  --rru-muted: #62736b;
  --rru-rule: #d7dfda;
  --rru-rule-strong: #bcc9c2;
  --rru-focus: #f2c94c;
  --rru-shadow: 0 10px 24px -18px rgba(7, 53, 38, .42), 0 3px 8px rgba(24, 35, 31, .05);
}

html[data-theme="dark"] body:has(.overview-page) {
  --rru-green-950: #082d22;
  --rru-green-900: #0a3b2a;
  --rru-green-800: #10583e;
  --rru-green-700: #48a978;
  --rru-green-100: #173d2c;
  --rru-green-50: #132e23;
  --rru-yellow: #f5cf58;
  --rru-yellow-strong: #e6b92a;
  --rru-paper: #0f1713;
  --rru-surface: #17221d;
  --rru-surface-soft: #1b2923;
  --rru-ink: #f3f7f4;
  --rru-copy: #cfdbd4;
  --rru-muted: #9bad9f;
  --rru-rule: #2c3d34;
  --rru-rule-strong: #455b4f;
  --rru-focus: #f5cf58;
  --rru-shadow: 0 12px 28px -18px rgba(0, 0, 0, .72), 0 4px 12px rgba(0, 0, 0, .18);
}

/* The dashboard owns the navigation color only while this surface is present. */
body:has(.overview-page) > nav.glass-panel {
  background: var(--rru-green-950) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 6px 18px -14px rgba(7, 53, 38, .7) !important;
  backdrop-filter: none !important;
}

body:has(.overview-page) > nav.glass-panel > div:first-child {
  max-width: none !important;
}

body:has(.overview-page) > nav.glass-panel .group > div:first-child {
  color: var(--rru-green-950) !important;
  background: var(--rru-yellow) !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

body:has(.overview-page) > nav.glass-panel .group h1 {
  color: #fff !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor;
}

body:has(.overview-page) > nav.glass-panel .group p {
  color: rgba(255, 255, 255, .62) !important;
}

body:has(.overview-page) > nav.glass-panel .hidden.md\:flex {
  background: rgba(0, 0, 0, .14) !important;
  border-color: rgba(255, 255, 255, .11) !important;
}

body:has(.overview-page) > nav.glass-panel .hidden.md\:flex a {
  color: rgba(255, 255, 255, .74) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body:has(.overview-page) > nav.glass-panel .hidden.md\:flex a:hover,
body:has(.overview-page) > nav.glass-panel .hidden.md\:flex a:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .09) !important;
}

body:has(.overview-page) > nav.glass-panel .hidden.md\:flex a.bg-white {
  color: var(--rru-green-950) !important;
  background: var(--rru-yellow) !important;
}

body:has(.overview-page) > nav.glass-panel button,
body:has(.overview-page) > nav.glass-panel > div:first-child a[title] {
  min-width: 44px;
  min-height: 44px;
  color: rgba(255, 255, 255, .78) !important;
}

body:has(.overview-page) > nav.glass-panel > div:first-child a[title] {
  display: inline-grid;
  place-items: center;
}

body:has(.overview-page) > nav.glass-panel button:hover,
body:has(.overview-page) > nav.glass-panel button:focus-visible,
body:has(.overview-page) > nav.glass-panel > div:first-child a[title]:hover,
body:has(.overview-page) > nav.glass-panel > div:first-child a[title]:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
}

body:has(.overview-page) > nav.glass-panel > .block.md\:hidden {
  background: var(--rru-green-900) !important;
  border-color: rgba(255, 255, 255, .1) !important;
}

body:has(.overview-page) > nav.glass-panel > .block.md\:hidden a {
  min-height: 44px;
  color: rgba(255, 255, 255, .8) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, .16) !important;
}

body:has(.overview-page) > nav.glass-panel > .block.md\:hidden a.bg-primary {
  color: var(--rru-green-950) !important;
  background: var(--rru-yellow) !important;
  border-color: var(--rru-yellow) !important;
}

.overview-page {
  min-width: 0;
  color: var(--rru-ink);
  background: var(--rru-paper);
}

.overview-page .mini-breadcrumb {
  margin-bottom: 14px;
  padding: 0;
}

.overview-page .mini-breadcrumb a,
.overview-page .mini-breadcrumb span {
  color: var(--rru-muted);
}

.overview-situation {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: var(--rru-green-950);
  box-shadow: 0 18px 36px -28px rgba(7, 53, 38, .7), 0 5px 14px rgba(7, 53, 38, .12);
}

.overview-situation-copy {
  min-width: 0;
  padding: 28px 30px 30px;
}

.overview-hero-title {
  max-width: 18ch;
  margin: 13px 0 8px;
  color: #fff !important;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.overview-hero-desc {
  max-width: 66ch;
  color: rgba(255, 255, 255, .7) !important;
  font-size: .94rem;
  line-height: 1.68;
}

.overview-live-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 26px;
  color: rgba(255, 255, 255, .74);
  font-size: .78rem;
  font-weight: 500;
}

.overview-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rru-yellow);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, .14);
  animation: rru-live-pulse 2.2s ease-out infinite;
}

.overview-live-word {
  color: var(--rru-yellow);
  font-weight: 700;
  letter-spacing: .04em;
}

.overview-live-separator {
  width: 1px;
  height: 17px;
  margin: 0 2px;
  background: rgba(255, 255, 255, .26);
}

.overview-live-stat-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.overview-live-stat-label {
  color: rgba(255, 255, 255, .58);
}

.overview-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.overview-evidence span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  font-size: .72rem;
}

.overview-evidence i {
  color: var(--rru-yellow);
}

.overview-filter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 26px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
}

.overview-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.overview-filter-head div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.overview-filter-head strong {
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}

.overview-filter-head span {
  color: rgba(255, 255, 255, .52);
  font-size: .72rem;
}

.overview-filter-head > i {
  color: var(--rru-yellow);
  font-size: 1rem;
}

.overview-date-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.overview-date-field {
  min-width: 0;
}

.overview-date-field label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .7) !important;
  font-size: .72rem;
  font-weight: 500;
}

.overview-date-field input[type="date"] {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px !important;
  color: var(--rru-ink) !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08) !important;
  font-size: .8rem;
}

.overview-date-field input[type="date"]:focus-visible {
  outline: 3px solid var(--rru-focus) !important;
  outline-offset: 2px;
}

.overview-date-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: rgba(255, 255, 255, .45);
  font-size: .72rem;
}

.overview-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.overview-action-primary,
.overview-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.overview-action-primary {
  color: var(--rru-green-950);
  background: var(--rru-yellow);
  border: 1px solid var(--rru-yellow);
  box-shadow: 0 5px 14px -9px rgba(242, 201, 76, .7);
}

.overview-action-primary:hover {
  background: #f7d86d;
  border-color: #f7d86d;
}

.overview-action-secondary {
  color: rgba(255, 255, 255, .8);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .24);
}

.overview-action-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
}

.overview-action-primary:active,
.overview-action-secondary:active {
  transform: translateY(1px);
}

.overview-action-primary:focus-visible,
.overview-action-secondary:focus-visible {
  outline: 3px solid var(--rru-focus);
  outline-offset: 2px;
}

.overview-stat-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  overflow: hidden;
  background: var(--rru-surface);
  border: 1px solid var(--rru-rule);
  border-radius: 12px;
  box-shadow: var(--rru-shadow);
}

.overview-stat-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--rru-rule);
}

.overview-stat-cell:last-child {
  border-right: 0;
}

.overview-stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--rru-green-800);
  background: var(--rru-green-50);
  border: 1px solid color-mix(in srgb, var(--rru-green-700) 18%, var(--rru-rule));
  border-radius: 10px;
  font-size: 1.02rem;
}

.overview-stat-body {
  min-width: 0;
  flex: 1;
}

.overview-stat-label {
  color: var(--rru-copy);
  font-size: .78rem;
  font-weight: 600;
}

.overview-stat-reading {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
}

.overview-stat-reading strong {
  min-width: 0;
  color: var(--rru-ink);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.overview-stat-reading > span {
  color: var(--rru-muted);
  font-size: .7rem;
  font-weight: 500;
}

.overview-stat-comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  color: var(--rru-muted);
  font-size: .66rem;
}

.overview-kpi-change {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  color: var(--rru-muted);
  background: var(--rru-surface-soft);
  border: 1px solid var(--rru-rule);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.overview-kpi-change[data-trend="up"] {
  color: #17653c;
  background: #e9f6ee;
  border-color: #b9dfc8;
}

.overview-kpi-change[data-trend="down"] {
  color: #9a342d;
  background: #fff0ee;
  border-color: #efc4bf;
}

html[data-theme="dark"] .overview-kpi-change[data-trend="up"] {
  color: #82d9a8;
  background: #153925;
  border-color: #2b6845;
}

html[data-theme="dark"] .overview-kpi-change[data-trend="down"] {
  color: #ffaaa2;
  background: #3b211f;
  border-color: #70413c;
}

.overview-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(330px, .85fr);
  grid-template-areas:
    "trend bounce"
    "trend calendar";
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}

.overview-panel {
  min-width: 0;
  color: var(--rru-ink);
  background: var(--rru-surface) !important;
  border: 1px solid var(--rru-rule) !important;
  border-radius: 12px !important;
  box-shadow: var(--rru-shadow) !important;
}

.overview-trend-panel {
  grid-area: trend;
}

.overview-bounce-panel {
  grid-area: bounce;
}

.overview-calendar-panel {
  grid-area: calendar;
}

.overview-page .overview-panel > div:first-child {
  border-bottom-color: var(--rru-rule) !important;
}

.overview-page .overview-panel h2 {
  color: var(--rru-ink) !important;
  font-weight: 650;
  letter-spacing: -.015em;
}

.overview-page .overview-panel p,
.overview-page .overview-panel .text-slate-500,
.overview-page .overview-panel .text-slate-400 {
  color: var(--rru-muted) !important;
}

.overview-trend-panel > div:last-child {
  min-height: 340px;
  height: clamp(340px, 39vw, 470px) !important;
}

.overview-data-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  color: #7a2e0b;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
}

.overview-data-status[hidden] {
  display: none !important;
}

.overview-data-status > i {
  margin-top: 3px;
  color: #c2410c;
}

.overview-data-status strong,
.overview-data-status p {
  display: block;
  margin: 0;
}

.overview-data-status p {
  margin-top: 2px;
  color: #9a3412;
  font-size: .875rem;
}

html[data-theme="dark"] .overview-data-status {
  color: #ffedd5;
  background: #431407;
  border-color: #9a3412;
}

html[data-theme="dark"] .overview-data-status > i,
html[data-theme="dark"] .overview-data-status p {
  color: #fed7aa;
}

.overview-page.is-data-unavailable .animate-pulse {
  animation: none !important;
  opacity: .55;
}

.overview-bounce-panel .gauge-track {
  stroke: var(--rru-green-50) !important;
}

.overview-bounce-panel .gauge-arc {
  stroke: var(--rru-green-700);
}

.overview-bounce-panel #bounceRateValue {
  color: var(--rru-ink) !important;
  font-variant-numeric: tabular-nums;
}

.overview-page #bounceRateNote {
  border-radius: 6px !important;
}

.overview-page #bounceRateNote[data-status="good"] {
  color: var(--rru-green-800) !important;
  background: var(--rru-green-50) !important;
  border-color: color-mix(in srgb, var(--rru-green-700) 25%, var(--rru-rule)) !important;
}

.overview-page #bounceRateNote[data-status="warning"] {
  color: #92400e !important;
  background: #fffbeb !important;
  border-color: #fcd34d !important;
}

.overview-page #bounceRateNote[data-status="danger"] {
  color: #9f1239 !important;
  background: #fff1f2 !important;
  border-color: #fda4af !important;
}

html[data-theme="dark"] .overview-page #bounceRateNote[data-status="warning"] {
  color: #fde68a !important;
  background: #422006 !important;
  border-color: #a16207 !important;
}

html[data-theme="dark"] .overview-page #bounceRateNote[data-status="good"] {
  color: #bbf7d0 !important;
  background: #052e16 !important;
  border-color: #15803d !important;
}

html[data-theme="dark"] .overview-page #bounceRateNote[data-status="danger"] {
  color: #fecdd3 !important;
  background: #4c0519 !important;
  border-color: #9f1239 !important;
}

.overview-calendar-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 3px;
}

.overview-page.is-data-unavailable .overview-live-dot {
  animation: none !important;
  background: var(--rru-muted) !important;
  box-shadow: none !important;
}

.overview-page.is-data-unavailable .overview-live-word {
  color: var(--rru-muted) !important;
}

.overview-calendar-weekdays,
.overview-calendar-panel #calendarGrid {
  grid-template-columns: repeat(7, minmax(44px, 1fr)) !important;
  min-width: 332px;
}

.overview-page #calendarGrid > * {
  min-height: 44px;
}

.overview-calendar-panel #prevMonthBtn,
.overview-calendar-panel #nextMonthBtn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  color: var(--rru-muted) !important;
}

.overview-calendar-panel #prevMonthBtn:hover,
.overview-calendar-panel #nextMonthBtn:hover,
.overview-calendar-panel #prevMonthBtn:focus-visible,
.overview-calendar-panel #nextMonthBtn:focus-visible {
  color: var(--rru-green-800) !important;
  background: var(--rru-green-50) !important;
}

.overview-page #calendarGrid > * {
  min-width: 0;
  border-radius: 6px !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.overview-page #calendarGrid > .cal-cell:hover {
  z-index: 2;
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 5px 12px -7px rgba(7, 53, 38, .55);
}

.overview-page #calendarGrid > .cal-cell:focus-visible {
  z-index: 3;
  outline: 3px solid var(--rru-focus);
  outline-offset: 2px;
}

.overview-table-panel {
  margin-top: 14px;
  overflow: hidden;
}

.overview-table-panel thead tr,
.overview-table-panel > div:last-child {
  background: var(--rru-surface-soft) !important;
}

.overview-table-panel th {
  color: var(--rru-copy) !important;
  border-color: var(--rru-rule) !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  white-space: nowrap;
}

.overview-table-panel tbody {
  color: var(--rru-copy) !important;
}

.overview-table-panel tbody tr:hover {
  background: var(--rru-green-50) !important;
}

.overview-table-panel td {
  border-color: var(--rru-rule) !important;
}

.overview-table-panel .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

body:has(.overview-page) > footer {
  color: var(--rru-muted) !important;
  background: var(--rru-paper) !important;
  border-color: var(--rru-rule) !important;
}

body:has(.overview-page) > #backToTopBtn {
  color: var(--rru-green-950) !important;
  background: var(--rru-yellow) !important;
  box-shadow: 0 8px 18px -10px rgba(7, 53, 38, .7) !important;
}

@keyframes rru-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 201, 76, .34); }
  65%, 100% { box-shadow: 0 0 0 8px rgba(242, 201, 76, 0); }
}

@media (min-width: 1536px) {
  .overview-situation {
    grid-template-columns: minmax(0, 1.25fr) minmax(430px, .75fr);
  }

  .overview-situation-copy {
    padding: 34px 38px 36px;
  }

  .overview-filter {
    padding: 30px 34px;
  }

  .overview-stat-cell {
    padding: 22px 24px;
  }

  .overview-analysis-grid {
    grid-template-columns: minmax(0, 2.15fr) minmax(390px, .85fr);
  }
}

@media (max-width: 1279px) {
  .overview-situation {
    grid-template-columns: minmax(0, 1fr) minmax(370px, .9fr);
  }

  .overview-situation-copy {
    padding: 24px 25px 27px;
  }

  .overview-filter {
    padding: 22px;
  }

  .overview-evidence span:last-child {
    display: none;
  }

  .overview-stat-cell {
    gap: 11px;
    padding: 16px;
  }

  .overview-stat-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .overview-stat-comparison > span {
    display: none;
  }

  .overview-analysis-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr);
  }
}

@media (max-width: 1023px) {
  .overview-situation {
    grid-template-columns: 1fr;
  }

  .overview-filter {
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
  }

  .overview-filter-head {
    margin-bottom: 11px;
  }

  .overview-stat-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-stat-cell:nth-child(2) {
    border-right: 0;
  }

  .overview-stat-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--rru-rule);
  }

  .overview-analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "trend trend"
      "bounce calendar";
  }

  .overview-trend-panel > div:last-child {
    height: 360px !important;
  }
}

@media (max-width: 767px) {
  .overview-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .overview-situation-copy,
  .overview-filter {
    padding: 20px;
  }

  .overview-hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .overview-analysis-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "trend"
      "bounce"
      "calendar";
  }

  .overview-trend-panel > div:last-child {
    min-height: 300px;
    height: 330px !important;
  }

  .overview-bounce-panel .relative.w-44,
  .overview-bounce-panel .sm\:w-52 {
    width: 170px !important;
    height: 170px !important;
  }

  .overview-table-panel > div:first-child,
  .overview-table-panel > div:last-child {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 639px) {
  .overview-page .mini-breadcrumb {
    margin-bottom: 10px;
  }

  .overview-situation {
    border-radius: 12px;
  }

  .overview-situation-copy,
  .overview-filter {
    padding: 17px 15px 19px;
  }

  .overview-hero-title {
    margin-top: 11px;
    font-size: 1.75rem;
  }

  .overview-hero-desc {
    font-size: .84rem;
  }

  .overview-live-stat-label {
    flex-basis: calc(100% - 31px);
    margin-left: 31px;
  }

  .overview-evidence {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 15px;
  }

  .overview-evidence span {
    min-height: 38px;
    padding: 7px 9px;
  }

  .overview-date-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .overview-date-arrow {
    display: none;
  }

  .overview-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .overview-action-primary,
  .overview-action-secondary {
    width: 100%;
  }

  .overview-filter-actions > :only-child,
  .overview-filter-actions > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .overview-stat-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-stat-cell,
  .overview-stat-cell:nth-child(2),
  .overview-stat-cell:last-child {
    min-height: 112px;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--rru-rule);
  }

  .overview-stat-cell:last-child {
    border-bottom: 0;
  }

  .overview-stat-comparison > span {
    display: inline;
  }

  .overview-page .overview-panel {
    padding: 16px !important;
  }

  .overview-page .overview-table-panel {
    padding: 0 !important;
  }

  .overview-trend-panel > div:first-child {
    margin-bottom: 15px !important;
    padding-bottom: 12px !important;
  }

  .overview-trend-panel > div:last-child {
    min-height: 270px;
    height: 290px !important;
  }

  .overview-calendar-panel #calendarGrid {
    gap: 4px !important;
  }

  .overview-page #calendarGrid > * {
    border-radius: 5px !important;
  }
}

@media (max-width: 374px) {
  .overview-page {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .overview-evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-filter-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-filter-actions > * {
    grid-column: auto !important;
  }

  .overview-stat-comparison > span {
    display: none;
  }

  .overview-calendar-panel {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }

  .overview-calendar-panel #calendarGrid {
    gap: 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overview-live-dot {
    animation: none;
    box-shadow: 0 0 0 4px rgba(242, 201, 76, .14);
  }

  .overview-action-primary,
  .overview-action-secondary,
  .overview-page #calendarGrid > * {
    transition: none;
  }
}
