.app {
  min-width: 0;
  padding: 18px 24px 34px 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 143, 126, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 143, 126, 0.08), rgba(255, 255, 255, 0.96) 38%),
    #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(12px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#currentUser.account-widget,
#currentUser {
  position: relative;
}

#currentUser {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(216, 225, 236, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.account-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.account-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.account-copy strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.1;
}

.account-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.account-bell {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(15, 143, 126, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 230px;
  display: none;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(216, 225, 236, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

#currentUser:hover .account-menu {
  display: grid;
}

.account-menu b,
.account-menu small,
.account-menu span {
  display: block;
}

.account-menu small,
.account-menu span {
  color: var(--muted);
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 27px;
  line-height: 1.1;
}

h2 {
  font-size: 18px;
  line-height: 1.25;
}

h3 {
  font-size: 15px;
}

.topbar p,
.panel p,
.muted {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

/* Modern executive header shared by every CRM workspace. */
.topbar {
  min-height: 86px;
  padding: 20px 22px;
  border: 1px solid rgba(15, 143, 126, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.92), rgba(255, 255, 255, 0.98) 46%, rgba(239, 246, 255, 0.84));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.topbar h1 {
  letter-spacing: 0;
}

.topbar p {
  max-width: 720px;
  color: #53657d;
}

.topbar-actions .small-button,
.topbar-actions .icon-button,
#currentUser.account-widget {
  border-color: rgba(15, 143, 126, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}
