.app-compact section {
  margin-bottom: 0.55rem;
}

.app-compact h1 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.app-compact h2 {
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.app-compact h3 {
  font-size: 0.82rem;
}

.app-compact p,
.app-compact li,
.app-compact small,
.app-compact label {
  font-size: 0.7rem;
  line-height: 1.15;
}

.app-compact article {
  padding: 0.3rem 0.42rem;
}

.app-compact button,
.app-compact input,
.app-compact select,
.app-compact textarea {
  min-height: 1.62rem;
  height: 1.62rem;
  padding: 0.08rem 0.3rem;
  font-size: 0.72rem;
  line-height: 1.05;
}

.app-compact textarea {
  min-height: 2rem;
  height: auto;
}

.app-compact label > input,
.app-compact label > select,
.app-compact label > textarea {
  margin-top: 0.1rem;
}

.app-compact nav strong,
.app-compact nav a {
  font-size: 0.74rem;
}

.app-compact #page-flash article {
  margin: 0.18rem 0 0.28rem;
  padding: 0.24rem 0.36rem;
  font-size: 0.7rem;
  line-height: 1.1;
}

/* Tighter authenticated UI profile aligned with Workout Builder density. */
.app-compact-auth section {
  margin-bottom: 0.42rem;
}

.app-compact-auth h1 {
  font-size: 1.05rem;
  margin-bottom: 0.18rem;
}

.app-compact-auth h2 {
  font-size: 0.86rem;
  margin-bottom: 0.16rem;
}

.app-compact-auth h3 {
  font-size: 0.78rem;
}

.app-compact-auth p,
.app-compact-auth li,
.app-compact-auth small,
.app-compact-auth label {
  font-size: 0.66rem;
  line-height: 1.1;
}

.app-compact-auth article {
  padding: 0.24rem 0.32rem;
}

.app-compact-auth button,
.app-compact-auth input,
.app-compact-auth select,
.app-compact-auth textarea {
  min-height: 1.36rem;
  height: 1.36rem;
  padding: 0.04rem 0.24rem;
  font-size: 0.68rem;
  line-height: 1;
}

.app-compact-auth textarea {
  min-height: 1.7rem;
  height: auto;
}

.app-compact-auth label > input,
.app-compact-auth label > select,
.app-compact-auth label > textarea {
  margin-top: 0.06rem;
}

.app-compact-auth nav strong,
.app-compact-auth nav a {
  font-size: 0.7rem;
}

.app-compact-auth #page-flash article {
  margin: 0.12rem 0 0.2rem;
  padding: 0.2rem 0.28rem;
  font-size: 0.66rem;
  line-height: 1.05;
}
