/*
  Form I-9 and garnishments. Gold marks what waits on a person (signing a section, applying
  orders); green is finished; red only when a legal deadline has passed.
*/

.i9-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px
}

/* The three parts of the form, in order */
.i9-track {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden
}

.i9-stop {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px 20px 18px;
  min-width: 0
}

.i9-stop + .i9-stop {
  border-left: 1px solid var(--line-soft)
}

.i9-stop h2 {
  font-size: .95rem;
  font-weight: 620;
  letter-spacing: -.015em
}

.i9-stop p {
  font-size: .8rem;
  color: var(--secondary)
}

.i9-stop small {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--sub);
  line-height: 1.45
}

.i9-dot {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--panel)
}

.i9-stop.is-done .i9-dot {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat
}

.i9-stop.is-now {
  background: var(--gold-soft)
}

.i9-stop.is-now .i9-dot {
  border: 5px solid var(--gold-deep);
  background: var(--panel)
}

.i9-stop.is-now small {
  color: var(--ink)
}

.i9-layout,
.gn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 0 18px;
  align-items: start
}

.i9-main,
.gn-main,
.i9-side,
.gn-side {
  min-width: 0
}

.i9-facts {
  display: grid;
  gap: 12px;
  margin: 0
}

.i9-facts dt {
  font-size: .76rem;
  color: var(--sub)
}

.i9-facts dd {
  margin-top: 2px;
  font-size: .88rem;
  font-weight: 500;
  overflow-wrap: anywhere
}

/* Forms */
.i9-form {
  max-width: none
}

.i9-form h3 {
  margin: 22px 0 12px
}

.i9-lede {
  color: var(--secondary);
  font-size: .9rem;
  line-height: 1.55;
  max-width: 68ch;
  margin-bottom: 18px
}

.i9-meta {
  color: var(--sub);
  font-size: .8rem;
  line-height: 1.5;
  margin: 12px 0
}

.i9-group {
  border: 0;
  margin: 0;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line-soft);
  min-width: 0
}

.i9-group:first-of-type {
  border-top: 0;
  padding-top: 4px
}

.i9-group legend {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  font-size: .94rem;
  font-weight: 620;
  letter-spacing: -.015em
}

.i9-group legend + * {
  clear: both
}

.i9-group > p {
  font-size: .84rem;
  color: var(--secondary);
  margin-bottom: 10px
}

.i9-span {
  grid-column: 1/-1;
  min-width: 0
}

.i9-span > .field {
  width: 100%
}

.i9-gap {
  margin-top: 16px
}

.i9-status {
  display: grid;
  gap: 6px
}

.i9-status > div {
  display: grid;
  gap: 6px
}

.i9-status label {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .15s, background-color .15s
}

.i9-status label:has(input:checked) {
  border-color: var(--gold-line);
  background: var(--gold-soft)
}

@media (hover: hover) and (pointer: fine) {
  .i9-status label:hover {
    border-color: var(--line-strong)
  }
}

.i9-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: .86rem;
  line-height: 1.5;
  cursor: pointer
}

.i9-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px
}

.i9-check.i9-inline {
  align-self: end;
  margin: 0 0 9px
}

.i9-attest {
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--ink);
  font-weight: 500
}

.i9-jurat {
  font-size: .88rem;
  line-height: 1.6;
  max-width: 72ch;
  margin-bottom: 18px;
  color: var(--secondary)
}

/* The form's own wording stays in English (USCIS allows the Spanish edition only in Puerto Rico);
   in another language its translation follows underneath as a reference. */
.i9-ref {
  display: block;
  margin-top: 3px;
  color: var(--sub);
  font-weight: 400;
  font-size: .93em;
  line-height: 1.5
}

.i9-jurat .i9-ref,
.i9-official .i9-ref {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line)
}

.i9-status label:has(.i9-ref) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
  align-items: baseline
}

.i9-status label .i9-ref {
  grid-column: 2
}

.i9-official {
  max-width: 72ch;
  margin: 0 0 10px;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.55
}

.i9-lang-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 72ch;
  margin: -4px 0 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--secondary);
  font-size: .84rem;
  line-height: 1.5
}

.i9-lang-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--sub)
}

.i9-docs {
  margin-top: 4px
}

.i9-more {
  margin-top: 14px
}

.i9-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 560;
  color: var(--accent);
  cursor: pointer;
  list-style: none
}

.i9-more > summary::-webkit-details-marker {
  display: none
}

.i9-more > summary .icon {
  width: 15px;
  height: 15px
}

.i9-more > p {
  margin: 10px 0 12px;
  font-size: .8rem;
  color: var(--sub)
}

.i9-aside-form {
  margin-bottom: 16px;
  padding: 0
}

.i9-aside-form > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  list-style: none
}

.i9-aside-form > summary::-webkit-details-marker {
  display: none
}

.i9-aside-form > summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--sub);
  border-bottom: 1.5px solid var(--sub);
  transform: rotate(45deg);
  transition: transform .2s var(--ease-out)
}

.i9-aside-form[open] > summary::after {
  transform: rotate(-135deg)
}

.i9-aside-form > summary .icon {
  width: 17px;
  height: 17px;
  color: var(--secondary)
}

.i9-aside-form > form {
  padding: 0 22px 20px
}

.i9-aside-form > form > p {
  font-size: .84rem;
  color: var(--secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 68ch
}

[data-when][hidden] {
  display: none !important
}

.i9-aside-form .form-grid + .form-grid,
.i9-check + .form-grid {
  margin-top: 16px
}

/* Section 2's three business days */
.i9-clock {
  margin: 0 0 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel-2)
}

.i9-clock ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none
}

.i9-clock li {
  flex: 1 0 64px;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 8px 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  font-variant-numeric: tabular-nums
}

.i9-clock li > span {
  font-size: .7rem;
  color: var(--sub)
}

.i9-clock li > b {
  font-size: 1.15rem;
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.25
}

.i9-clock li > small {
  font-size: .68rem;
  color: var(--secondary);
  white-space: nowrap
}

.i9-clock li.is-weekend,
.i9-clock li.is-closed {
  background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line-soft) 5px 6px), var(--panel-2);
  border-style: dashed;
  color: var(--sub)
}

.i9-clock li.is-past:not(.is-today) {
  opacity: .62
}

.i9-clock li.is-due {
  border-color: var(--gold-line);
  background: var(--gold-soft)
}

.i9-clock li.is-due > span {
  color: var(--secondary)
}

.i9-clock li.is-due > small {
  color: var(--gold-ink);
  font-weight: 600
}

.i9-clock.is-late li.is-due {
  border-color: color-mix(in oklch, var(--red) 45%, transparent);
  background: var(--red-bg)
}

.i9-clock.is-late li.is-due > small {
  color: var(--red)
}

.i9-clock li.is-today {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink)
}

.i9-clock li.is-today > small {
  color: var(--ink);
  font-weight: 600
}

.i9-clock p {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--secondary);
  line-height: 1.5
}

.i9-clock.is-late p {
  color: var(--red)
}

/* Documents */
.i9-meta + .i9-doclist,
.i9-doclist {
  display: grid;
  gap: 8px;
  margin: 0 0 4px
}

.i9-doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--panel-2)
}

.i9-doc > span {
  grid-row: span 2;
  align-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap
}

.i9-doc > b {
  font-weight: 560;
  font-size: .9rem
}

.i9-doc > small {
  font-size: .78rem;
  color: var(--sub)
}

.i9-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0 4px
}

.i9-lists section {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--panel-2)
}

.i9-lists h3 {
  font-size: .9rem
}

.i9-lists p {
  margin: 4px 0 10px;
  font-size: .78rem;
  color: var(--sub)
}

.i9-lists ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
  font-size: .82rem;
  line-height: 1.4
}

.i9-self > .badge {
  margin-bottom: 10px
}

.i9-self > h2 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
  margin-bottom: 8px
}

.i9-self > p {
  max-width: 68ch;
  color: var(--secondary);
  line-height: 1.6
}

.i9-returned,
.gn-released,
.gn-problem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: .87rem;
  line-height: 1.5
}

.i9-returned {
  background: var(--amber-bg);
  border: 1px solid var(--gold-line)
}

.i9-returned .icon,
.gn-released .icon,
.gn-problem .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px
}

.i9-returned .icon {
  color: var(--amber)
}

.i9-quote {
  padding-left: 12px;
  border-left: 2px solid var(--gold-line);
  font-style: italic
}

.i9-waiting > .btn {
  margin-top: 4px
}

/* Garnishments */
.gn-amount {
  margin: 2px 0 10px;
  font-size: 1.05rem;
  color: var(--secondary)
}

.gn-amount b {
  margin-right: 4px;
  font-size: 2rem;
  font-weight: 620;
  letter-spacing: -.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.gn-rule > p:not(.gn-amount) {
  max-width: 70ch;
  line-height: 1.6
}

.gn-fine {
  font-size: .8rem;
  color: var(--sub);
  line-height: 1.5
}

.detail-panel > .gn-fine {
  margin: 10px 0 0
}

.gn-balance-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px
}

.gn-balance-head p {
  font-size: .88rem;
  color: var(--secondary)
}

.gn-balance-head b {
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.gn-meter {
  height: 8px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden
}

.gn-meter > span {
  display: block;
  height: 100%;
  width: var(--share);
  border-radius: inherit;
  background: var(--c-withheld)
}

.gn-address {
  font-weight: 450;
  color: var(--secondary)
}

.gn-empty {
  padding: 4px 22px 20px;
  font-size: .86rem;
  color: var(--secondary);
  line-height: 1.55
}

.gn-released {
  background: var(--panel-2);
  border: 1px solid var(--line)
}

.gn-released .icon {
  color: var(--green)
}

.gn-intro {
  margin: -12px 0 20px;
  max-width: 76ch;
  font-size: .86rem;
  color: var(--secondary);
  line-height: 1.55
}

.gn-sheet {
  margin-bottom: 16px;
  overflow: hidden
}

.gn-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px
}

.gn-sheet-head p {
  margin-top: 3px;
  font-size: .82rem;
  color: var(--sub);
  font-variant-numeric: tabular-nums
}

.gn-sheet td:last-child {
  white-space: normal;
  min-width: 220px
}

.gn-sheet tfoot th,
.gn-sheet tfoot td {
  background: var(--panel-2);
  border-bottom: 0;
  color: var(--ink);
  font-size: .84rem
}

/* the figure keeps the hue of its part of the bar, deepened until it reads as text */
.gn-withheld {
  color: color-mix(in oklch, var(--c-withheld) 62%, var(--ink))
}

.gn-note {
  display: block;
  font-size: .78rem;
  color: var(--secondary);
  line-height: 1.45
}

.gn-note + .gn-note {
  margin-top: 4px
}

.gn-problem {
  margin: 0 22px 18px;
  background: var(--amber-bg);
  border: 1px solid var(--gold-line)
}

.gn-problem .icon {
  color: var(--amber)
}

.gn-empty-panel > p {
  color: var(--secondary)
}

.run-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px
}

@media (max-width: 960px) {
  .i9-layout,
  .gn-layout {
    grid-template-columns: minmax(0, 1fr)
  }
}

@media (max-width: 720px) {
  .i9-track {
    grid-template-columns: minmax(0, 1fr)
  }

  .i9-stop + .i9-stop {
    border-left: 0;
    border-top: 1px solid var(--line-soft)
  }

  .i9-clock li {
    flex-basis: 56px
  }

  .gn-amount b {
    font-size: 1.7rem
  }
}

@media (prefers-reduced-motion: reduce) {
  .i9-aside-form > summary::after,
  .i9-status label {
    transition: none
  }
}

/* Business days for Form I-9 */
.work-week {
  display: grid;
  gap: 20px;
  max-width: 760px
}

.work-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.work-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  font-size: .86rem;
  font-weight: 560;
  cursor: pointer
}

.work-day:has(input:checked) {
  border-color: var(--gold-line);
  background: var(--gold-soft)
}

.work-examples h2 {
  font-size: .9rem;
  margin-bottom: 6px
}

.work-examples ul {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: .88rem
}

.work-examples p {
  font-size: .82rem;
  color: var(--secondary)
}

/* The garnishment order form shows the IRS levy statement only for an IRS levy */
.form-pane:has([name="arrears_over_12_weeks"]):not(:has(select[name="method"] option[value="levy"]:checked)) .field:has(:is([name="filing_status"], [name="dependents"], [name="extra_deductions"], [name="exempt"])) {
  display: none
}

/* A letter to mail (templates/payees/b_notice_letter.html) and a substitute 1099 statement
   (templates/payees/misc_copy_b.html): one letter-size sheet, the same on screen as on paper. */
.letter-shell {
  max-width: calc(8.5in + 42px);
  margin: 0 auto;
  padding: 24px 20px 48px
}

.letter-shell>.message {
  margin-bottom: 18px
}

.tax-letter,
.substitute-1099 {
  inline-size: min(8.5in, 100%);
  min-block-size: 11in;
  margin: 0 auto;
  padding: .75in .8in;
  background: #fff;
  color: #111;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  font-size: 10.5pt;
  line-height: 1.45
}

.tax-letter-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: .45in
}

.tax-letter-from,
.tax-letter-to {
  display: grid;
  gap: 1px;
  font-style: normal
}

/* a #10 window envelope shows the address about 2 inches from the top */
.tax-letter-to {
  min-block-size: 1in;
  align-content: start;
  margin-bottom: .35in
}

.tax-letter h1 {
  margin: 0 0 4px;
  font-size: 13pt;
  letter-spacing: .02em
}

.tax-letter h2 {
  margin: 16px 0 4px;
  font-size: 11pt
}

.tax-letter h3 {
  margin: 10px 0 4px;
  font-size: 10.5pt
}

.tax-letter p,
.tax-letter li {
  margin: 0 0 8px
}

.tax-letter-warning {
  font-weight: 700;
  font-size: 12pt
}

.tax-letter-deadline {
  padding: 8px 10px;
  border: 1.5px solid #111
}

.tax-letter-account {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px
}

.tax-letter-account dt {
  font-size: 8.5pt;
  text-transform: uppercase;
  letter-spacing: .04em
}

.tax-letter-account dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums
}

.tax-letter-chart {
  inline-size: 100%;
  border-collapse: collapse;
  margin: 6px 0 12px;
  font-size: 9.5pt
}

/* The workspace's own table look stays off the letter and the statement. The v5 sheet styles
   every cell from :root[data-layout="v5"] (the first and last cells one step stronger) and loads
   after this one, so these cell rules carry :root and :nth-child(n) to outrank it. */
:root .tax-letter .tax-letter-chart :is(th, td):nth-child(n) {
  border: 1px solid #555;
  padding: 6px 8px;
  vertical-align: top;
  text-align: left;
  white-space: normal;
  color: #111;
  background: none
}

:root .tax-letter .tax-letter-chart th:nth-child(n) {
  background: #eee;
  font-weight: 700;
  font-size: 9pt
}

.tax-letter .tax-letter-chart th:first-child {
  width: 34%
}

.tax-letter .tax-letter-chart tbody tr:hover,
.substitute-1099 .substitute-1099-boxes tbody tr:hover {
  background: none
}

.tax-letter-chart td p {
  margin: 6px 0 0
}

/* Figures right-aligned in the letter's and the worksheet's own tables. */
:root .tax-letter .tax-letter-chart .num:nth-child(n) {
  text-align: right;
  font-variant-numeric: tabular-nums
}

:root .tax-letter .tax-letter-chart td.num:nth-child(n) {
  white-space: nowrap
}

/* The RT-8A worksheet (templates/florida_rt8a_print.html) */
.tax-letter .tax-letter-chart.rt8a-lines th:first-child {
  width: auto
}

.tax-letter .tax-letter-chart.rt8a-totals th:first-child {
  width: 18%
}

.rt8a-sheet h1 {
  font-size: 12.5pt
}

.rt8a-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  font-size: 9.5pt
}

.rt8a-box {
  font-size: 11pt
}

:root .tax-letter .rt8a-total :is(th, td):nth-child(n) {
  font-weight: 700;
  background: #f4f4f4
}

.rt8a-small {
  font-size: 8.5pt;
  color: #333
}

.rt8a-sign {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.2fr;
  gap: 18px;
  margin: 26px 0 18px
}

.rt8a-sign span {
  padding-top: 4px;
  border-top: 1px solid #111;
  font-size: 8.5pt
}

.rt8a-sheet address + p {
  margin-top: 12px
}

:root .tax-letter .tax-letter-chart .nowrap:nth-child(n) {
  white-space: nowrap
}

.tax-letter-foot {
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px solid #999;
  font-size: 8.5pt
}

.substitute-1099 h1 {
  margin: 0;
  font-size: 14pt
}

.substitute-1099-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #111
}

.substitute-1099-head small {
  display: block;
  font-size: 8.5pt
}

.substitute-1099-parties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #555;
  margin-bottom: 14px
}

.substitute-1099-parties>div {
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 8px 10px;
  border: 1px solid #555
}

.substitute-1099-parties small,
.substitute-1099-boxes small {
  font-size: 8pt;
  text-transform: uppercase;
  letter-spacing: .03em
}

.substitute-1099-boxes {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 9.5pt
}

:root .substitute-1099 .substitute-1099-boxes :is(th, td):nth-child(n) {
  border: 1px solid #555;
  padding: 5px 8px;
  text-align: left;
  white-space: normal;
  color: #111;
  background: none
}

:root .substitute-1099 .substitute-1099-boxes th:nth-child(n) {
  background: #eee;
  font-weight: 700
}

:root .substitute-1099 .substitute-1099-boxes .num:nth-child(n) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap
}

.substitute-1099-note {
  margin-top: 14px;
  font-size: 8.5pt
}

@media print {
  .letter-shell {
    padding: 0;
    margin: 0;
    max-width: none
  }
  .tax-letter,
  .substitute-1099 {
    inline-size: auto;
    min-block-size: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none
  }
  .tax-letter-chart tr {
    break-inside: avoid
  }
}

/* Pages for payees who are not employees (templates/payees/) */
.payee-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px
}

.steps-list {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: .9rem
}

.warning-text {
  color: var(--warn)
}

.payee-form {
  display: grid;
  gap: 2px;
  min-block-size: 40px;
  align-content: center
}

.payee-form+.payee-form {
  margin-top: 6px
}

.payee-pane {
  margin-bottom: 16px
}

.payee-pane > p.muted + .form-grid {
  margin-top: 14px
}

.mini-address {
  display: grid;
  gap: 1px;
  margin: 4px 0 12px;
  font-style: normal
}

.data-panel>.payee-footer {
  margin: 0;
  padding: 16px 22px
}

/* a cell whose notes wrap instead of widening the table */
td.payee-wrap {
  white-space: normal;
  min-width: 220px;
  max-width: 380px
}

/* a boxed address inside a letter: the consumer reporting agency on the FCRA notices */
.tax-letter-box {
  display: grid;
  gap: 1px;
  margin: 12px 0 14px;
  padding: 10px 14px;
  border: 1px solid #999;
  border-radius: 4px
}
