.page-heading.overview-page-heading {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.overview-page-heading h1 {
  margin-bottom: 0;
}

.overview-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
}

.overview-actions .button-with-icon {
  justify-content: flex-start;
  min-height: 48px;
  padding: 7px 12px;
  line-height: 1.3;
}

.overview-stats-heading {
  margin: 0 0 14px;
  font-size: 1rem;
}

.overview-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.overview-shortcuts button {
  min-width: 0;
  padding: 7px;
  border-color: #ccd9e8;
  color: #163b61;
  background: #f9fbfe;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
}

.overview-shortcuts button:hover {
  border-color: #7795b2;
  background: #eaf2fb;
}

.icon-calendar::before {
  inset: 4px 0 auto;
  height: 1.5px;
}

.icon-calendar::after {
  inset: 8px 3px auto;
  height: 2px;
  box-shadow: 0 4px;
}

.icon-calendar-add::after {
  color: inherit;
  content: '+';
  position: absolute;
  inset: 4px 0 auto;
  height: auto;
  font-size: 15px;
  line-height: 1;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 420px) {
  .overview-shortcuts { gap: 5px; }
  .overview-shortcuts button { gap: 3px; font-size: .72rem; }
}

@media (max-width: 360px) {
  .overview-shortcuts button { flex-direction: column; padding-inline: 4px; }
  .overview-shortcuts .button-icon { flex-basis: 20px; width: 18px; }
}

.overview-chart {
  min-width: 0;
  padding: 0;
}

.overview-chart h2 {
  margin: 0;
  font-size: 1rem;
}

.overview-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  color: #142c48;
  font-weight: 700;
  text-align: left;
}

.overview-toggle::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: -4px 2px 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.overview-toggle[aria-expanded="true"]::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.overview-toggle:hover {
  background: #f6f8fb;
}

.overview-chart .overview-toggle {
  width: 100%;
  padding-inline: 16px;
  border: 0;
  border-radius: 17px;
}

.overview-chart > div {
  padding: 0 16px 12px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

.app-footer {
  padding: 18px 16px 24px;
  color: #4e6178;
  font-size: 13px;
  text-align: center;
}
