/* Momentum — portfolio iframe embed overrides */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  padding: 12px;
  box-sizing: border-box;
}

.embed-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.app,
.app-body,
.app-topbar,
.app-hero,
.momentum,
.m-side,
.proj,
.moves,
.move,
.move-body,
.drawer,
.drawer-body,
.chart,
.progress-stats,
.insight-cards,
.timeline {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.app-hero {
  flex-direction: column;
}

.momentum {
  flex: 1 1 100%;
  width: 100%;
}

.proj {
  width: 100%;
}

.app-topbar {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.app-tabs {
  order: 3;
  width: 100%;
  margin: 0.25rem 0 0;
}

.app-user {
  margin-left: auto;
}

.drawer {
  width: min(440px, calc(100vw - 24px));
}

.move {
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .app-body {
    padding: 1rem;
  }

  .m-ring {
    width: 96px;
    height: 96px;
  }

  .m-num {
    font-size: 1.6rem;
  }

  .proj-num {
    font-size: 2rem;
  }
}
