body.signed-out .sidebar,
body.signed-out .topbar,
body.signed-out #shade {
  display: none;
}
.account-wrap {
  position: relative;
}
.account-wrap .book-list {
  right: 0;
  z-index: 25;
}
.account-wrap .book-list a {
  display: block;
  padding: 10px 16px;
  color: #34343b;
}
.account-wrap .book-list a:hover {
  background: #f3f3f6;
}
.topbar {
  gap: 9px;
  position: relative;
  z-index: 9;
}
.book-switch span {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
}
.filter-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 36px);
  letter-spacing: -0.045em;
  color: #84103f;
}
.filter-head > div > span {
  display: block;
  font-size: 12px;
  color: #6c666c;
  margin-top: 3px;
}
.overview-filters,
.quick-days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.quick-days {
  border-radius: 16px;
  background: #e9e8ed;
  padding: 3px;
  gap: 1px;
}
.quick-days button {
  border: none;
  background: transparent;
  border-radius: 13px;
  padding: 6px 10px;
  color: #46434b;
  cursor: pointer;
}
.quick-days button:hover,
.quick-days button[aria-pressed="true"] {
  background: #fff;
  color: #851144;
}
.dashboard-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-kpis .metric {
  padding: 16px 15px;
  min-height: 130px;
}
.dashboard-kpis .metric-value {
  font-size: clamp(21px, 2.1vw, 34px);
  white-space: nowrap;
}
.dashboard-kpis .metric:nth-child(5) {
  background: #c9e4d3;
}
.dashboard-kpis .metric:nth-child(6) {
  background: #f9d6bf;
}
.metric-meta {
  font-size: 12px;
}
.parcel-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 2px;
  font-size: 12px;
  color: #67626a;
}
.parcel-period span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #44414a;
}
.overview-hero .heading-actions a {
  font-size: 14px;
  color: #06c;
}
.usage-panel,
.todo-panel {
  margin: 4px 0 17px;
}
.usage-panel .panel-head,
.todo-panel .panel-head {
  padding-bottom: 12px;
}
.usage-total {
  font-size: 13px;
  color: #706670;
}
.use-grid,
.todo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 10px;
  padding: 0 20px 18px;
}
.use-card {
  padding: 14px 16px;
  border-radius: 13px;
  background: #f5f1f4;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: #2e2930;
}
.use-card:hover {
  background: #f0e7ed;
}
.use-card > span:first-child {
  font-weight: 600;
  grid-column: 1/-1;
}
.use-card strong {
  font-size: 26px;
  letter-spacing: -0.045em;
}
.use-card small {
  font-size: 14px;
  font-weight: 500;
}
.use-action {
  display: flex;
  gap: 3px;
  align-self: end;
  align-items: center;
  color: #7f315b;
  font-size: 12px;
}
.todo-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #e8e5e9;
  border-radius: 12px;
  color: #3e3941;
}
.todo-grid small,
.ledger-strip a small {
  display: block;
  color: #716b74;
  margin-top: 4px;
}
.todo-grid a:hover,
.ledger-strip a:hover {
  background: #f7f6f8;
}
.ledger-strip {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}
.ledger-strip a {
  display: block;
  padding: 16px;
  color: #3e3941;
}
.ledger-strip a strong {
  display: block;
  font-size: 23px;
}
.rank-row {
  color: inherit;
}
.rank-row:hover .rank-line span,
.product-bar:hover span {
  text-decoration: underline;
}
.overview .product-bar {
  color: inherit;
}
.backup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.backup-grid .panel {
  padding: 24px;
}
.backup-grid h2 {
  margin: 0 0 14px;
}
.backup-grid p {
  color: #67626a;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 0 18px;
}
.backup-grid form {
  display: grid;
  gap: 14px;
}
.backup-grid form button {
  justify-self: start;
}
.backup-status {
  padding: 12px 0;
}
@media (max-width: 1150px) {
  .dashboard-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-kpis .metric {
    min-height: 105px;
  }
  .dashboard-kpis .metric-value {
    font-size: 27px;
  }
  .filter-head {
    flex-wrap: wrap;
  }
  .module-bar {
    margin-bottom: 20px;
  }
}
@media (max-width: 680px) {
  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .filter-head {
    align-items: flex-start;
  }
  .overview-filters {
    width: 100%;
  }
  .overview-filters .filter-pill {
    max-width: 100%;
  }
  .overview-filters select {
    max-width: min(60vw, 240px);
  }
  .quick-days {
    width: max-content;
  }
  .use-grid {
    padding: 0 12px 12px;
    grid-template-columns: 1fr;
  }
  .todo-grid {
    padding: 0 12px 12px;
  }
  .backup-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-kpis .metric-value {
    font-size: clamp(22px, 5vw, 28px);
  }
  .use-action {
    align-self: center;
  }
  .topbar {
    z-index: 11;
  }
  .module-bar b {
    white-space: nowrap;
  }
  .parcel-period {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-wrap .book-list {
    right: -50px;
  }
  .ledger-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ledger-strip a {
    padding: 12px;
  }
  .account-wrap .book-switch span {
    max-width: 100px;
  }
}
