/* The owner's decision desk and portfolio below the pulse. */
.hs-work {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  container: home-review / inline-size;
}
.hs-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: 18px;
}
.hs-panel {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}
.hs-heading,
.hs-heading > div,
.hs-case-body footer,
.hs-goal-title,
.hs-portfolio-tools,
.hs-funding,
.hs-archive-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hs-heading {
  margin-bottom: 4px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}
.hs-heading > div {
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: start;
  gap: 3px 10px;
}
.hs-heading h2 {
  font-size: var(--type-section);
  line-height: 1.35;
}
.hs-heading > :last-child {
  flex-shrink: 0;
}
.hs-work
  a:is(.hs-goal-link, .hs-carrier, .hs-node-link, .hs-project-name):hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hs-case,
.hs-archive-item {
  border: 0;
  padding: 0;
}
.hs-case + .hs-case,
.hs-archive-item + .hs-archive-item {
  border-top: 1px solid var(--border);
}
.hs-case summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 15px;
  align-items: center;
  gap: 4px 11px;
  padding: 13px 0;
}
.hs-case summary,
.hs-archive-item summary {
  list-style: none;
}
.hs-case summary::-webkit-details-marker,
.hs-archive-item summary::-webkit-details-marker {
  display: none;
}
.hs-case-meta {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-foreground);
}
.hs-case summary strong {
  font-size: 16px;
  color: var(--foreground);
  font-weight: 550;
  line-height: 1.5;
}
.hs-case[open] summary strong {
  color: #f3d49e;
}
.hs-case summary:hover strong {
  color: var(--primary);
}
.hs-due {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 12px;
  white-space: nowrap;
}
.hs-case summary > .icon,
.hs-archive-item summary > .icon {
  color: var(--muted-foreground);
}
.hs-case[open] summary > .icon,
.hs-archive-item[open] summary > .icon {
  transform: rotate(180deg);
}
.hs-case-body {
  border-inline-start: 2px solid #796549;
  padding: 1px 0 1px 14px;
  margin: 0 0 15px;
}
.hs-case-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #ccd0cf;
}
.hs-case-body p + p {
  margin-top: 3px;
}
.hs-case-body p b {
  font-size: 12px;
  font-weight: 550;
  color: var(--primary);
  margin-right: 7px;
}
.hs-case-body footer {
  margin-top: 7px;
}
.hs-case-body footer .more,
.hs-brief footer .more {
  color: var(--primary);
}
.hs-goals {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hs-goals li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 6px 9px;
  align-items: baseline;
  padding: 10px 0 11px;
}
.hs-goals li + li {
  border-top: 1px solid var(--border);
}
.hs-goals li:last-child {
  padding-bottom: 0;
}
.hs-goal-id {
  font: 12px/1.5 var(--chart-numerals);
  color: var(--muted-foreground);
}
.hs-goal-title {
  align-items: baseline;
  gap: 8px;
}
.hs-goal-link {
  font-size: 15px;
  font-weight: 550;
}
.hs-goal-title > span {
  font: 500 var(--type-stat)/1.15 var(--chart-numerals);
}
.hs-goal-title small {
  font: 12px var(--chart-numerals);
  padding-left: 2px;
}
.hs-goals .bar,
.hs-carriers {
  grid-column: 2;
}
.hs-carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 4px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.hs-carriers > span {
  color: var(--muted);
}
.hs-portfolio-tools {
  flex-wrap: wrap;
  padding: 13px 0 18px;
  gap: 12px 16px;
}
.hs-filters {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
.hs-filters button {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--muted-foreground);
  font-size: 13px;
  min-height: 36px;
}
.hs-filters button span {
  font: 12px var(--chart-numerals);
}
.hs-filters button[aria-pressed="true"] {
  background: #2a2722;
  border-color: #544938;
  color: #f1ce94;
}
.hs-filters button:hover {
  color: var(--foreground);
}
.hs-funding {
  justify-content: start;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.hs-funding span {
  color: var(--muted-foreground);
  font-size: 13px;
}
.hs-funding strong {
  color: var(--foreground);
  font: 500 var(--type-stat)/1.15 var(--chart-numerals);
  letter-spacing: -0.025em;
}
.hs-ledger {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}
.hs-ledger :is(td, th) {
  border: 0;
  padding: 12px 10px 1px;
  vertical-align: middle;
  line-height: 1.5;
}
.hs-ledger thead th {
  background: #1a2028;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
}
.hs-ledger thead th small {
  font-size: var(--type-caption);
  font-weight: 400;
}
.hs-ledger tbody th {
  background: transparent;
  color: var(--foreground);
  white-space: normal;
}
.hs-ledger tbody th small {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.hs-project-name {
  font-size: 15px;
  font-weight: 550;
}
.hs-progress > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hs-progress .bar {
  width: clamp(32px, 4vw, 64px);
}
.hs-progress b {
  font: 13px var(--chart-numerals);
}
.hs-money,
.hs-roi,
.hs-cash {
  font: 14px var(--chart-numerals);
}
.hs-ledger :is(th, td):nth-child(n + 4) {
  text-align: right;
}
.hs-money > span {
  color: var(--muted-foreground);
}
.hs-ledger .hs-milestone td {
  padding: 4px 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: normal;
  font-size: 12px;
  color: var(--muted-foreground);
}
.hs-ledger .hs-milestone:last-child td {
  border: 0;
  padding-bottom: 0;
}
.hs-milestone td > span {
  margin-right: 5px;
  color: var(--muted-foreground);
}
.hs-node-link {
  color: #c3c7c9;
  text-decoration: underline;
  text-decoration-color: #50585d;
  text-underline-offset: 3px;
}
.hs-milestone time {
  margin-left: 5px;
  white-space: nowrap;
}
.hs-edition {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  padding: 19px 0;
}
.hs-imprint {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-foreground);
}
.hs-imprint .icon {
  color: var(--primary);
  margin-bottom: 4px;
}
.hs-imprint > span {
  font-size: 13px;
  color: var(--primary);
}
.hs-edition h3 {
  margin: 0 0 6px;
  font: 600 var(--type-card)/1.5 var(--display);
}
.hs-edition article {
  max-width: 52em;
  align-self: center;
  min-width: 0;
}
.hs-edition p,
.hs-archive-item p,
.hs-brief-points {
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.85;
  color: #cbd0d1;
  overflow-wrap: anywhere;
}
.hs-brief-points {
  margin: 0;
  padding-inline-start: 1.15em;
}
.hs-brief-points li {
  padding-inline-start: 0.18em;
}
.hs-brief-points li::marker {
  color: var(--primary);
  font-size: 0.75em;
}
.hs-brief > footer {
  border-top: 1px solid var(--border);
  padding-top: 8px;
  display: flex;
  justify-content: end;
}
.hs-more-brief {
  margin-top: 10px;
  padding: 7px 0 0;
}
.hs-more-brief summary {
  color: var(--primary);
}
.hs-empty-brief {
  padding: 15px 0 1px;
  font-size: 14px;
}
.hs-archive-item summary {
  padding: 12px 0;
}
.hs-archive-item summary small {
  display: block;
  margin-top: 3px;
}
.hs-archive-item summary strong {
  font-size: 16px;
  font-weight: 550;
}
.hs-archive-item > div {
  padding: 1px 0 10px;
}
@container home-review (max-width: 870px) {
  .hs-pair {
    grid-template-columns: 1fr;
  }
}
@container home-review (max-width: 735px) {
  .hs-filters button {
    min-height: 44px;
  }
  .hs-ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .hs-ledger,
  .hs-ledger tbody {
    display: block;
  }
  .hs-ledger tbody tr:not(.hs-milestone) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 16px;
    align-items: start;
    padding-top: 15px;
    border-top: 1px solid var(--border);
  }
  .hs-ledger :is(td, th),
  .hs-ledger :is(th, td):nth-child(n + 4) {
    padding: 0;
    text-align: left;
    white-space: normal;
  }
  .hs-ledger .hs-health {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }
  .hs-ledger .hs-project-name {
    font-size: 16px;
  }
  .hs-ledger td[data-label] {
    display: block;
    font: 15px/1.5 var(--chart-numerals);
  }
  .hs-ledger td[data-label]::before {
    content: attr(data-label);
    display: block;
    font: 12px/1.65 var(--font-sans);
    color: var(--muted-foreground);
  }
  .hs-progress > span {
    min-height: 22px;
  }
  .hs-progress .bar {
    width: 48px;
  }
  .hs-ledger .hs-milestone {
    display: block;
  }
  .hs-ledger .hs-milestone td {
    display: block;
    padding: 9px 0 14px;
    border: 0;
  }
  .hs-portfolio-tools {
    padding-bottom: 12px;
  }
}
@container home-review (max-width: 510px) {
  .hs-pair {
    gap: 14px;
  }
  .hs-panel {
    padding: 15px;
  }
  .hs-heading {
    padding-bottom: 9px;
  }
  .hs-heading > div {
    display: grid;
    gap: 3px;
  }
  .hs-case summary {
    grid-template-columns: minmax(0, 1fr) 15px;
    gap: 4px 8px;
  }
  .hs-case summary strong {
    grid-column: 1;
    grid-row: 2;
  }
  .hs-due {
    grid-column: 1;
    grid-row: 3;
  }
  .hs-case summary > .icon {
    grid-column: 2;
    grid-row: 2;
  }
  .hs-case-body {
    padding-left: 10px;
  }
  .hs-filters {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }
  .hs-filters button {
    padding: 7px 9px;
  }
  .hs-edition {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }
  .hs-imprint {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    border: 0;
    padding: 0;
  }
  .hs-imprint .icon {
    display: none;
  }
  .hs-imprint small {
    font-size: 12px;
  }
}
