@media (max-width: 740px) {
  .drawer {
    width: min(290px, 78vw);
  }
}

.topbar {
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 97, 79, .12);
  border-radius: 16px;
  background: linear-gradient(110deg, #eaf4ee 0%, #fff 72%);
  box-shadow: 0 8px 20px rgba(20, 54, 43, .05);
}

.header-welcome strong {
  color: var(--green-deep);
  font: 600 20px 'Space Grotesk';
}

.header-welcome small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

body.dark-mode .header-welcome strong {
  color: #f2f7f4 !important;
}

body.dark-mode .header-welcome small {
  color: #a3b8ad !important;
}

body.dark-mode .topbar {
  background: rgba(8, 16, 12, 0.88) !important;
  border: 1px solid rgba(72, 213, 150, 0.18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.dark-mode .topbar-actions .icon-button,
body.dark-mode .header-welcome .icon-button,
body.dark-mode .header-menu {
  background: rgba(18, 32, 25, 0.8) !important;
  color: #48d596 !important;
  border-color: rgba(72, 213, 150, 0.25) !important;
}

.topbar-actions .icon-button {
  width: 42px;
  height: 42px;
  border-color: rgba(30, 97, 79, .16);
  border-radius: 12px;
  color: var(--green);
  box-shadow: 0 4px 10px rgba(20, 54, 43, .06);
}

@media (max-width: 740px) {
  .topbar {
    margin: -14px -14px 20px;
    padding: 12px 16px;
    min-height: 68px;
    border: 0;
    border-bottom: 1px solid rgba(30, 97, 79, .1);
    border-radius: 0 0 16px 16px;
  }

  .header-welcome strong {
    font-size: 17px;
  }

  .header-welcome small {
    font-size: 11px;
  }

  .topbar-actions .icon-button {
    width: 40px;
    height: 40px;
  }
}

.home-packages {
  margin-top: 24px;
}

.home-packages .card-heading h2 {
  font: 600 20px 'Space Grotesk';
  margin-top: 5px;
}

.home-packages .package-list {
  margin-top: 16px;
}

@media (max-width: 740px) {
  .home-packages .package-list {
    margin-top: 12px;
    gap: 10px;
  }

.package-card {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 9px;
}

.package-card .company-logo {
  width: 56px;
  height: 56px;
}

.package-card .company-logo img,
.package-card img {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 5px !important;
  object-fit: cover;
}

.package-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.package-card p {
  display: none;
}

.package-card .package-metrics {
  gap: 6px 10px;
}

.package-card .package-metrics span {
  font-size: 10px;
}

.package-card .package-metrics b {
  font-size: 12px;
}

.package-card .button {
  min-height: 34px;
  padding: 7px 11px;
}
}

.package-card {
  grid-template-columns: 88px 1fr auto;
}

.package-card .company-art,
.company-art,
.car-art,
.investment-company-art {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.package-card .company-logo {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.package-card .company-logo img,
.package-card img,
.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 88px;
  max-height: 88px;
  object-fit: cover;
  border-radius: 5px !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
}

@media (max-width: 740px) {
  .package-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .package-card .company-logo {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
  }
  .package-card .company-logo img,
  .package-card img {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    border-radius: 5px !important;
  }
}