/* The free project management page. Everything else comes from
   problem-solution.css and the free takeoff page's sheet.css; this file holds
   the two parts that page doesn't have: the hero's budget panel and the
   steps list, which is read rather than played. */

.pmh .ps-hero-inner { grid-template-columns: 1fr 1fr; }
.pmh .ps-hero-cta { margin-top: 4px; }
.pmh-note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}

/* The hero panel: a job's budget lines, drawn in the site's drawing-sheet
   style. An illustration with made-up numbers, not a screenshot. */
.pmh-panel .ps-form-row { grid-template-columns: 2.1fr 1fr 1fr 1fr 1fr; }
.pmh-panel .ps-form-row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 6px; }
.pmh-panel .is-hot { color: #b42318; }
.pmh-panel .is-sub { color: #837c70; font-style: italic; }
.pmh-bar {
  position: relative;
  height: 10px;
  margin: 16px 0 6px;
  background: #ece8df;
  border-radius: 99px;
  overflow: hidden;
}
.pmh-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.pmh-bar .c { width: 40%; background: #bcd3f5; }
.pmh-bar .p { width: 21%; background: #10a36b; }
.pmh-legend {
  display: flex;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #837c70;
}
.pmh-legend b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* Where the competitor numbers come from, under the cards. */
.pm-source { margin: 22px 0 0; font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.pm-source a { color: var(--accent); }

/* Four modules in the rail, where the takeoff page has six. */
.flow-rail.pm-rail { grid-template-columns: repeat(4, 1fr); }

/* The steps: every step's words show, three to a row under each heading. */
.pm-steps {
  counter-reset: pmstep;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.pm-steps li {
  counter-increment: pmstep;
  position: relative;
  padding: 52px 16px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pm-steps li::before {
  content: counter(pmstep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
.pm-steps h3 { margin: 2px 0 6px; font-size: 1rem; font-weight: 700; }
.pm-steps p { margin: 0 !important; font-size: 0.92rem !important; line-height: 1.55; }
.pm-steps li.pm-steps-group {
  counter-increment: none;
  padding: 0;
  background: none;
  border: 0;
  grid-column: 1 / -1;
  margin: 6px 0 -8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pm-steps li.pm-steps-group::before { content: none; }

@media (max-width: 1023px) {
  .pmh .ps-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .flow-rail.pm-rail { grid-template-columns: repeat(2, 1fr); }
  .pm-steps { grid-template-columns: 1fr; }
  .pm-steps li { padding: 16px 16px 16px 56px; }
  .pmh-panel .ps-form-row { grid-template-columns: 1.9fr 1fr 1fr; }
  .pmh-panel .ps-form-row > .hide-sm { display: none; }
  .pmh .ps-hero-cta { width: 100%; justify-content: center; }
}
