/* Pay guides (wage grid, shift premiums, overtime), written by scripts/build-guide-pages.ts.
   Builds on doc.css. Tables scroll sideways inside their own box on a phone; the page never does. */

.guide h1 {
  font-family: 'Young Serif', serif;
  font-weight: 400;
}
.guide-lede {
  font-size: 19px;
  line-height: 1.5;
}
.guide ul {
  color: var(--ink-2);
  margin: 0 0 12px;
  padding-left: 22px;
}
.guide li {
  margin-bottom: 6px;
}
.guide-table-wrap {
  overflow-x: auto;
  margin: 16px 0 8px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: var(--card);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.guide-table caption {
  text-align: left;
  padding: 12px 14px 4px;
  color: var(--i2);
  font-size: 13px;
}
.guide-table th,
.guide-table td {
  padding: 10px 14px;
  text-align: left;
  border-top: 1px solid var(--divider);
  vertical-align: top;
}
.guide-table thead th {
  border-top: 0;
  color: var(--i2);
  font-size: 13px;
  font-weight: 600;
}
.guide-table tbody th {
  color: var(--ink);
  font-weight: 600;
}
.guide-table td {
  color: var(--ink-2);
}
.guide-table tfoot th,
.guide-table tfoot td {
  color: var(--ink);
  font-weight: 700;
}
.guide-table th small {
  display: block;
  color: var(--i3);
  font-weight: 400;
  font-size: 12px;
}
/* The wage grid is ten steps wide: numbers stay on one line and the level column stays put. */
.grid-table td,
.grid-table th {
  white-space: nowrap;
}
.grid-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--card);
}
.guide-small {
  font-size: 14px;
  color: var(--i2);
}
.guide-cta {
  margin: 40px 0 24px;
  padding: 22px;
  border-radius: 18px;
  background: var(--brand-deep);
}
.guide-cta p {
  color: #f3efef;
}
.guide-cta-title {
  font-family: 'Young Serif', serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.guide .guide-cta-link {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f3efef;
  color: #110f10;
  font-weight: 600;
  text-decoration: none;
}
.guide-note {
  font-size: 13px;
  color: var(--i3);
}
