.reading-content {
  max-width: 850px;
  line-height: 1.75;
  overflow-wrap: anywhere
}

.onboarding-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  align-items: start;
  gap: 1rem;
}

.onboarding-side { min-width: 0; overflow: hidden }
.onboarding-heading, .onboarding-steps li, .onboarding-signoff { padding: 1.1rem 1.35rem }
.onboarding-heading { background: var(--panel-2); border-bottom: 1px solid var(--line) }
.onboarding-section-title, .onboarding-step-title, .onboarding-signoff {
  display: flex;
  gap: .65rem;
  align-items: center;
}
.onboarding-section-title > .icon { color: var(--accent) }
.onboarding-section-title h2, .onboarding-signoff h2 { margin: 0; font-size: 1.05rem }
.onboarding-heading p, .onboarding-signoff p { margin: .3rem 0; color: var(--secondary) }
.onboarding-heading p { font-size: .85rem }
.onboarding-heading progress {
  display: block; width: 100%; height: .4rem; margin-top: .7rem;
  appearance: none; border: 0; border-radius: 1rem;
  background: var(--line); color: var(--green);
}
.onboarding-heading progress::-webkit-progress-bar { background: var(--line); border-radius: 1rem }
.onboarding-heading progress::-webkit-progress-value { background: var(--green); border-radius: 1rem }
.onboarding-heading progress::-moz-progress-bar { background: var(--green); border-radius: 1rem }
.onboarding-steps { list-style: none; padding: 0; margin: 0 }
.onboarding-steps li + li { border-top: 1px solid var(--line-soft) }
.onboarding-step-title, .onboarding-signoff { justify-content: space-between; flex-wrap: wrap }
.onboarding-step-title h3 { margin: 0; font-size: .94rem; overflow-wrap: anywhere }
.onboarding-instructions { margin: .4rem 0 0; color: var(--secondary); white-space: pre-line; overflow-wrap: anywhere }
.onboarding-actions { margin-top: .5rem }
.onboarding-signoff { margin-top: 1rem }

.reading-content p+p,
.case-reply p+p {
  margin-top: 1em
}

.check-question {
  border: 0;
  padding: 0;
  margin: 0 0 16px
}

.check-question legend {
  font-weight: 620;
  margin-bottom: 8px
}

.check-question label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0
}

.check-question input {
  accent-color: var(--accent)
}

.case-reply {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  overflow-wrap: anywhere
}

.case-reply:first-child {
  padding-top: 0
}

.case-reply header {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 4px
}

.case-reply small {
  color: var(--sub)
}

.reply-form {
  margin-top: 16px
}

.reply-form button {
  margin-top: 10px
}

.bill-line {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px
}

.field select[multiple] {
  height: 140px
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0;
  grid-column: 1/-1
}

.choice-group legend {
  font-weight: 600;
  margin-bottom: .5rem
}

.choice-group label {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .25rem 0
}

.worksheet-section {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.worksheet-section summary {
  display: list-item;
  font-weight: 650;
  cursor: pointer
}

.worksheet-section>p {
  margin: .7rem 0 1rem
}

.clock-job {
  margin-top: .85rem
}

.clock-job .field {
  width: min(100%, 16rem)
}

.earning-line {
  min-width: 0;
  margin: 1rem 0;
  padding: .8rem 0;
  border: 0;
  border-top: 1px solid var(--line)
}

.earning-line legend {
  padding-right: .6rem;
  font-weight: 620
}

/* the tips page: tips entered week by week instead of for the period (templates/payroll_tips.html) */
.tip-weeks {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft)
}

.tip-weeks>summary {
  cursor: pointer
}

/* a note under a table in a data panel */
.data-panel>.table-note {
  margin: 0;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line-soft)
}

.week-pay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 14px;
  padding: 16px clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums
}

.week-pay dt {
  margin-bottom: 4px;
  color: var(--secondary);
  font-size: .76rem
}

.week-pay dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 570
}

.rate-entry-help {
  margin: 20px 0 12px
}

.tax-totals {
  display: grid;
  column-gap: clamp(24px, 4vw, 64px);
  margin: 12px 0 0;
  font-variant-numeric: tabular-nums
}

.tax-totals > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft)
}

.tax-totals dt {
  color: var(--secondary);
  font-size: .82rem
}

.tax-totals dd {
  margin: 0;
  text-align: right;
  font-size: .9rem;
  font-weight: 580
}

.filing-choice {
  padding: .85rem 0;
  border-top: 1px solid var(--line-soft)
}

.filing-choice > label {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer
}

.filing-choice fieldset {
  margin: 1rem 0 .25rem;
  padding: 0;
  border: 0
}

.filing-choice legend {
  margin-bottom: .75rem;
  font-weight: 600
}

.filing-choice > label:has(input:not(:checked)) + fieldset {
  display: none
}

.filing-checksum {
  display: grid;
  gap: .4rem;
  padding-top: .8rem;
  color: var(--secondary);
  overflow-wrap: anywhere
}

@media (min-width: 900px) {
  .tax-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

.remove-rate {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  color: var(--secondary);
  font-size: .82rem
}

.remove-rate input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary)
}

.form-grid .field:has(>textarea) {
  grid-column: 1/-1
}

@media(max-width:550px) {
  .bill-line {
    grid-template-columns: 1fr 1fr
  }

  .bill-line .field:first-child {
    grid-column: 1/-1
  }
}

.short-date {
  display: none
}

.pay-range {
  white-space: nowrap
}

@media(max-width:450px) {
  .pay-copy .long-date {
    display: none
  }

  .pay-copy .short-date {
    display: inline
  }
}

.form-sources {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-size: .84rem;
  color: var(--secondary)
}

.form-sources a {
  color: var(--accent);
  text-decoration: underline
}

.deposit-fields {
  border: 0;
  margin: 18px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line)
}

.deposit-fields legend {
  font-weight: 630
}

.deposit-fields>.muted {
  margin: 0 0 12px
}

.account-line {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1.2fr 1fr;
  gap: 10px;
  margin: 10px 0
}

.back+.back {
  margin-left: 15px
}

.bank-enrollment { min-width: 0 }
.base-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .5rem 1.4rem;
  align-items: center;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.base-amount { text-align: right; font-variant-numeric: tabular-nums }
@media (max-width: 620px) {
  .base-history-row { grid-template-columns: minmax(0, 1fr) auto }
  .base-history-row > a { grid-column: 1 / -1 }
}

.cash-requirements-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .7rem;
}

.cash-movement.funding-row {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) auto;
}

.funding-row > span {
  color: var(--sub);
  font-size: .86rem;
}

.cash-panel {
  overflow: hidden;
}

.cash-movement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(8rem, auto);
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.35rem;
  border-top: 1px solid var(--line);
}

.cash-movement .badge {
  justify-self: end;
}

.cash-movement .sub, .cash-history > div, .cash-amount {
  overflow-wrap: anywhere;
}

.cash-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cash-allocation-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(7rem, 1fr);
  gap: .85rem;
  margin: .8rem 0;
}

.cash-compose {
  max-width: 58rem;
}

.cash-compose select {
  width: 100%;
  min-width: 0;
}

.cash-compose .field:has(input[type=checkbox]) {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  grid-column: 1 / -1;
}

.cash-compose input[type=checkbox] {
  flex: 0 0 auto;
  margin: 0;
}

.cash-net {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0;
  border-block: 1px solid var(--line);
  padding: .9rem 0;
  font-weight: 600;
}

.cash-net output {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 620px) {
  .cash-movement {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem .7rem;
    padding: .85rem;
  }

  .cash-movement .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cash-movement.funding-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cash-movement.funding-row > span {
    grid-row: 2;
    grid-column: 1;
  }

  .cash-movement.funding-row > b {
    grid-row: 1 / 3;
    grid-column: 2;
  }

  .cash-allocation-row {
    grid-template-columns: minmax(0, 1fr);
    gap: .45rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--line);
  }

  .cash-totals > div {
    min-width: 0;
  }

  .cash-totals strong {
    overflow-wrap: anywhere;
  }

}
.replacement-file .facts { margin-bottom: 1rem }
.replacement-form > p { margin-bottom: 1rem }
.notice-holds { line-height: 1.5; margin: .75rem 0; padding-inline-start: 1.25rem }
.notice-lookup { margin-top: 1rem }
.notice-lookup > summary { cursor: pointer; color: var(--secondary) }
.notice-lookup > form { margin-top: .8rem }
.notice-metrics > div { min-width: 0 }
.notice-metrics > div:last-child strong { font-size: clamp(.95rem, 2.2vw, 1.5rem); overflow-wrap: anywhere }
.deposit-update { border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; padding-bottom: .7rem }
.ach-confirmation {
  display: flex;
  align-items: baseline;
  align-self: center;
  gap: .6rem;
  margin: .85rem 0;
  font-size: .85rem;
}
.ach-confirmation input { flex: 0 0 auto; accent-color: var(--primary) }
.ach-allocations .ach-mobile-route { display: none }
.ach-allocations :is(th, td):last-child { text-align: right }
@media (max-width: 640px) {
  .ach-allocations table { min-width: 0; table-layout: fixed; white-space: normal }
  .ach-allocations :is(th, td):nth-child(2),
  .ach-allocations :is(th, td):nth-child(3) { display: none }
  .ach-allocations th:last-child { width: 35% }
  .ach-allocations td { overflow-wrap: anywhere }
  .ach-allocations .ach-mobile-route { display: block }
}
.bank-enrollment .account-line {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.bank-enrollment .account-line + .account-line {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (max-width: 540px) {
  .bank-enrollment .account-line { grid-template-columns: minmax(0, 1fr) }
}

@media(max-width:640px) {
  .account-line {
    grid-template-columns: 1fr 1fr
  }
}

[hidden] {
  display: none !important
}

.application-card {
  width: min(610px, 100%);
  margin: clamp(28px, 7vh, 88px) auto 0
}

.job-description {
  margin: 16px 0 20px;
  color: var(--secondary)
}

/* an opening's facts on its public page: type, pay, closing date */
.posting-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 18px 0 0
}

.posting-facts dt {
  color: var(--secondary);
  font-size: .78rem
}

.posting-facts dd {
  margin: 2px 0 0;
  font-weight: 600
}

/* the company's careers page: one row per opening */
.careers-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none
}

.careers-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: color-mix(in oklch, var(--panel) 70%, transparent);
  transition: border-color .18s, background .18s
}

.careers-list li:hover {
  border-color: var(--line-strong);
  background: var(--panel)
}

.careers-list a {
  display: grid;
  gap: 3px;
  color: inherit;
  text-decoration: none
}

/* the whole row is the link */
.careers-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit
}

.careers-list a:focus-visible {
  outline: none
}

.careers-list li:has(a:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px
}

.careers-list span {
  color: var(--secondary);
  font-size: .86rem
}

.careers-list .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--secondary)
}

.careers-address {
  align-items: center
}

.careers-address input {
  width: min(520px, 55%);
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--panel);
  padding: 6px 10px;
  color: var(--ink);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .8rem
}

.careers-address input:focus-visible {
  outline: 0;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--focus) 24%, transparent)
}

.posting-actions {
  justify-content: flex-start;
  margin-top: 14px
}

/* Background checks: the settings form's groups for each screening company, and the candidate's
   checkboxes, which read as sentences beside their boxes */
.screening-form .form-grid + .form-grid {
  margin-top: 18px
}

.screening-form .form-grid > .field:only-child:has(input[type=number]) {
  grid-column: auto
}

.consent-form .field:has(> input[type=checkbox]) {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 4px 10px
}

.consent-form .field > input[type=checkbox] {
  grid-row: 1;
  grid-column: 1;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-appearance: auto;
  appearance: auto
}

.consent-form .field:has(> input[type=checkbox]) > label {
  grid-row: 1;
  grid-column: 2;
  font-size: .88rem;
  font-weight: 450;
  line-height: 1.45
}

.consent-form .field:has(> input[type=checkbox]) > :not(input, label) {
  grid-column: 2
}
.bank-entry-heading {
  overflow-wrap: anywhere;
}
.correction-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.correction-table th, .correction-table td {
  padding: .7rem .45rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.correction-table thead th { color: var(--secondary); font-size: .8rem; }
.correction-table tbody th { font-weight: 500; }
.correction-table th:first-child { width: 43%; padding-left: 0; }
.correction-table td:last-child { font-weight: 600; }
.delivery-term {
  max-width: 74ch;
  margin: 0 0 1.15rem;
}
.delivery-term:last-child { margin-bottom: 0; }
.delivery-term h2 { margin-bottom: .3rem; }
.delivery-reference, .delivery-term p { overflow-wrap: anywhere; }
.recipient-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
  grid-template-areas: "statements preference" "history preference";
  align-items: start;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 16px 20px;
}
.recipient-layout .panel { margin: 0; }
.recipient-statements { grid-area: statements; }
.recipient-preference { grid-area: preference; overflow-wrap: anywhere; }
.recipient-contact, .recipient-history {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.recipient-contact { margin-top: 1.25rem; }
.recipient-contact p { margin: .6rem 0; }
.recipient-history { grid-area: history; }
.recipient-history > summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: var(--secondary);
  font-weight: 600;
}
.recipient-history[open] > summary { margin-bottom: .7rem; }
.recipient-history[open] > summary .icon { transform: rotate(180deg); }
.recipient-statement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-top: 1px solid var(--line-soft);
  padding: 1.2rem 0;
  overflow-wrap: anywhere;
}
.recipient-statement:last-child { padding-bottom: .15rem; }
.recipient-statement .actions { grid-column: 2; }
.recipient-statement .sub { display: block; margin-top: .25rem; color: var(--sub); }
.recipient-statement strong { font-size: 1.25rem; line-height: 1.25; }
.recipient-file {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--rail);
  color: var(--accent);
}
.recipient-file .icon { width: 1.55rem; height: 1.55rem; }
.w4-form { max-width: 58rem; }
.quickbooks-entries :is(td, th) {
  padding-inline: clamp(.45rem, 1.4vw, 1.25rem);
}
.quickbooks-entries :is(td, th):first-child {
  white-space: normal;
  overflow-wrap: anywhere;
}
.quickbooks-entries :is(td, th):not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.w4-form .form-footer { position: static; }
.w4-form section { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.w4-form section + section { margin-top: 1.5rem; }
.w4-form p, .w4-form label { line-height: 1.55; }
.w4-form section > .field, .w4-check { margin: .9rem 0; }
.w4-form section > .field input[type="number"] { max-width: 13rem; }
.w4-check { display: flex; align-items: baseline; gap: .7rem; cursor: pointer; }
.w4-check input { flex: 0 0 auto; }
.w4-form a:not(.btn) { text-decoration: underline; text-underline-offset: .17em; }
@media (max-width: 960px) {
  .recipient-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "statements" "preference" "history";
    grid-template-rows: auto;
  }
}

/* the authorization below the background check disclosure */
.consent-title {
  margin: 26px 0 0;
  font-size: 1.05rem
}
