.district-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.district-item {
  display: flex;
  text-align: left;
  align-items: center;
  min-height: 44px;
  width: 100%;
  gap: 10px;
  padding: 5px 3px;
  border-radius: 2px;
  border-left: 2px solid transparent;
}
.district-item:hover,
.district-item.linked-active {
  background: var(--surface);
  color: var(--text);
}
.district-item.active {
  background: var(--surface);
  border-left-color: var(--accent);
}
.district-number {
  font-family: var(--number);
  font-size: 8px;
  color: var(--faint);
  width: 13px;
}
.district-item-name {
  font-size: 11px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.district-item-name small {
  font-size: 8px;
  color: var(--faint);
  display: block;
  letter-spacing: 0;
  margin-top: 4px;
}
.district-trend {
  margin-left: auto;
  width: 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.district-trend svg {
  height: 13px;
  width: 43px;
}
.district-trend b {
  font-family: var(--number);
  font-size: 8px;
  font-weight: 400;
  color: var(--muted);
}
.district-trend b.attention {
  color: var(--accent);
}
.legend {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 21px;
}
.legend-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.legend-heading h3 {
  font-size: 11px;
}
.legend-heading .icon {
  width: 12px;
  height: 12px;
  color: var(--faint);
}
.legend-subtitle {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: var(--faint);
  margin-top: 6px;
}
.legend-items {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--text);
}
.legend-swatch {
  width: 11px;
  height: 11px;
  background: var(--swatch);
  border: 1px solid var(--swatch);
  font-size: 7px;
  color: var(--faint);
  display: grid;
  place-items: center;
  line-height: 1;
}
.legend-item:last-child .legend-swatch {
  border: 1px solid var(--line);
}
.legend-item > .mono {
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
}
.legend-lens-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 15px;
}
.height-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line-soft);
  padding-top: 17px;
  margin-top: 19px;
  color: var(--muted);
}
.height-legend svg {
  width: 29px;
  height: 29px;
}
.height-legend p,
.ghost-legend p {
  font-size: 9px;
  line-height: 1.7;
}
.height-legend small,
.ghost-legend small {
  display: block;
  font-size: 8px;
  color: var(--faint);
}
.ghost-legend {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
}
.ghost-legend > span {
  height: 15px;
  width: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 0 6px;
}
.ghost-legend p {
  color: var(--muted);
}
.spatial-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line-soft);
  padding: 19px 0 20px;
  margin-top: 26px;
  color: var(--faint);
}
.spatial-note .icon {
  width: 17px;
  height: 17px;
}
.spatial-note p {
  font-size: 9px;
}
.spatial-note small {
  display: block;
  font-size: 8px;
  color: var(--faint);
  margin-top: 4px;
}
.panel-eyebrow {
  font-size: 7px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}
.live-small {
  letter-spacing: 0.5px;
  color: var(--faint);
  font-family: var(--number);
  font-size: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-small i {
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  letter-spacing: 0.7px;
  margin-top: 10px;
  font-weight: 500;
}
.panel-heading > span {
  font-size: 19px;
  color: var(--faint);
  font-weight: 400;
}
.panel-heading > .icon-button {
  height: 24px;
  width: 24px;
}
.health-block {
  margin-top: 25px;
}
.health-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.health-heading > span:first-child {
  font-size: 10px;
  color: var(--muted);
}
.health-number {
  font-family: var(--number);
  font-size: 30px;
  letter-spacing: -1.6px;
}
.health-number small {
  font-family: var(--ui);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.health-track {
  width: 100%;
  height: 6px;
  margin-top: 12px;
}
.health-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 8px;
  color: var(--muted);
}
.health-caption > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.health-caption i {
  height: 4px;
  width: 4px;
}
.health-caption b {
  font-family: var(--number);
  font-size: 8px;
  font-weight: 400;
  color: var(--text);
  margin-left: 4px;
}
.insight-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--accent-soft);
  border-left: 2px solid var(--line);
  padding: 12px 10px;
  margin: 24px 0 26px;
}
.insight-note > span {
  color: var(--accent);
  margin-top: 1px;
}
.insight-note .icon {
  width: 13px;
  height: 13px;
}
.insight-note p {
  font-size: 10px;
  color: var(--text);
  line-height: 1.85;
}
.insight-note b {
  font-weight: 500;
  color: var(--accent);
}
.insight-note small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 4px;
}
.panel-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 14px;
}
.panel-section-heading h3 {
  font-size: 11px;
  letter-spacing: 0.2px;
}
.panel-section-heading > span {
  font-size: 7px;
  color: var(--faint);
  letter-spacing: 0.7px;
}
.panel-section-heading em {
  font-style: normal;
  font-family: var(--number);
  font-size: 9px;
  margin-left: 5px;
  color: var(--muted);
}
.problem-list {
  display: flex;
  flex-direction: column;
}
.problem-project {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.problem-project:last-child {
  border-bottom: 0;
}
.problem-project:hover {
  background: var(--surface);
}
.problem-index {
  font-family: var(--number);
  font-size: 8px;
  color: var(--faint);
  align-self: flex-start;
  margin-top: 2px;
}
.problem-project-copy {
  min-width: 0;
  flex: 1;
}
.problem-project-copy strong {
  display: block;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.problem-project-copy small {
  display: flex;
  align-items: center;
  margin-top: 6px;
  font-size: 8px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  gap: 5px;
}
.problem-project-copy small i {
  height: 2px;
  width: 2px;
  background: var(--faint);
  flex-shrink: 0;
}
.problem-project-end {
  font-size: 9px;
  font-family: var(--number);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.problem-project-end .icon {
  width: 12px;
  height: 12px;
  color: var(--faint);
}
.all-projects {
  margin-top: 9px;
  font-size: 9px;
}
.all-projects .icon {
  margin-left: auto;
}
.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bar-row {
  text-align: left;
  display: block;
  width: 100%;
  border-radius: 2px;
  padding: 2px 0;
}
.bar-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text);
  margin-bottom: 8px;
}
.bar-row-heading > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar-row-heading i {
  font-family: var(--number);
  font-style: normal;
  font-size: 7px;
  color: var(--faint);
}
.bar-row-heading b {
  font-family: var(--number);
  font-weight: 400;
  font-size: 10px;
  color: var(--text);
  display: flex;
  gap: 8px;
}
.bar-row-heading b > span {
  opacity: 0;
  color: var(--accent);
}
.bar-row svg {
  width: 100%;
  height: 4px;
}
.bar-row:hover,
.linked-active {
  background: var(--accent-soft);
}
.bar-row:hover .bar-row-heading,
.linked-active .bar-row-heading {
  color: var(--text);
}
.bar-row:hover .bar-row-heading b > span,
.linked-active .bar-row-heading b > span {
  opacity: 1;
}
.bar-chart.compact {
  gap: 13px;
}
.compact .bar-row-heading {
  font-size: 9px;
  margin-bottom: 7px;
}
.compact .bar-row-heading b {
  font-size: 9px;
}
.compact .bar-row svg {
  height: 3px;
}
.analysis-link {
  font-size: 9px;
  margin-top: 20px;
  justify-content: space-between;
  width: 100%;
}
.panel-footnote {
  font-size: 8px;
  color: var(--faint);
  line-height: 1.9;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  margin-top: 22px;
}
.subsidiary-meta {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 10px;
}
.subsidiary-meta > span {
  display: block;
}
.subsidiary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-top: 5px;
  gap: 9px;
}
.subsidiary-strip small {
  font-size: 8px;
  color: var(--muted);
}
.subsidiary-strip b {
  display: block;
  font-size: 15px;
  font-family: var(--number);
  font-weight: 400;
  margin-top: 9px;
}
.subsidiary-strip i {
  font-style: normal;
  font-family: var(--ui);
  font-size: 9px;
  color: var(--muted);
  margin-left: 4px;
}
.project-back {
  font-size: 9px;
  margin: 0 0 16px;
  padding: 0;
}
.project-type {
  display: flex;
  align-items: center;
  gap: 7px;
}
.project-type > span:first-child {
  color: var(--accent);
  font-size: 8px;
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 2px;
}
.project-type > small {
  font-family: var(--number);
  font-size: 7px;
  color: var(--faint);
}
.project-type > .status-badge {
  margin-left: auto;
  font-size: 7px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: var(--status);
  white-space: nowrap;
}
.status-badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--status);
  border-radius: 1px;
}
.project-title {
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: 0.3px;
  margin-top: 14px;
}
.project-client {
  font-size: 9px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}
.project-value {
  margin-top: 24px;
}
.project-value > small {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.project-value > small > span {
  font-size: 7px;
  letter-spacing: 0.9px;
  color: var(--faint);
}
.project-value > strong {
  display: block;
  font-family: var(--number);
  font-size: 30px;
  letter-spacing: -1.3px;
  font-weight: 400;
  margin-top: 7px;
  color: var(--text);
}
.project-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
  margin-top: 18px;
}
.project-progress > b {
  font-family: var(--number);
  font-size: 11px;
  color: var(--text);
  font-weight: 400;
}
.project-progress > svg {
  width: 100%;
  height: 3px;
  margin-top: 9px;
}
.project-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  color: var(--faint);
  margin-top: 11px;
}
.receivables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.receivables-grid small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.receivables-grid b {
  display: block;
  font-family: var(--number);
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
  color: var(--text);
}
.receivables-grid .accent-value b {
  color: var(--accent);
}
.aging-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: var(--muted);
  margin: 23px 0 10px;
}
.aging-detail-heading small {
  font-family: var(--number);
  font-size: 8px;
  margin-left: 5px;
}
.aging-bar {
  width: 100%;
  height: 9px;
}
.aging-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 10px;
}
.aging-values > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
}
.aging-values i {
  width: 4px;
  height: 4px;
}
.aging-values small {
  font-size: 7px;
  color: var(--muted);
}
.aging-values b {
  display: block;
  width: 100%;
  font-family: var(--number);
  font-size: 8px;
  font-weight: 400;
  margin-top: 3px;
}
.milestones {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.milestone-dot {
  height: 7px;
  width: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}
.milestone-dot.late {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.milestone > div {
  flex: 1;
  min-width: 0;
}
.milestone strong {
  font-size: 10px;
  font-weight: 400;
}
.milestone small {
  display: block;
  font-size: 7px;
  color: var(--faint);
  margin-top: 6px;
  line-height: 1.8;
}
.milestone small > span {
  display: block;
}
.milestone-status {
  font-size: 8px;
  color: var(--accent);
  padding: 3px 4px;
  background: var(--accent-soft);
  border-radius: 2px;
}
.completion-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.risk-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.risk-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.risk-category {
  font-size: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 2px 4px;
  flex-shrink: 0;
}
.risk-item p {
  font-size: 9px;
  line-height: 1.9;
  color: var(--text);
}
.risk-item small {
  display: block;
  font-size: 8px;
  color: var(--faint);
  margin-top: 6px;
}
.owner-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
}
.owner-avatar {
  height: 34px;
  width: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  color: var(--text);
  flex-shrink: 0;
}
.owner-card strong {
  font-size: 12px;
  font-weight: 500;
}
.owner-card strong small {
  font-size: 8px;
  color: var(--muted);
  margin-left: 5px;
}
.owner-card p {
  font-size: 8px;
  color: var(--muted);
  margin-top: 6px;
}
.owner-contact {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.owner-contact button {
  padding: 4px;
  color: var(--muted);
}
.owner-contact .icon {
  width: 13px;
  height: 13px;
}
.followup-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  border-radius: 3px;
  color: var(--accent);
  margin-top: 10px;
  text-align: left;
}
.followup-action > span {
  font-size: 11px;
  flex: 1;
}
.followup-action small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.followup-action > .icon:last-child {
  width: 14px;
  height: 14px;
}
.followup-action:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.followup-action.flagged {
  border-color: var(--line);
  background: var(--accent-soft);
  color: var(--text);
}
.followup-open {
  font-size: 9px;
  margin-top: 10px;
}
.project-footnote {
  font-size: 7px;
  color: var(--faint);
  margin-top: 22px;
  line-height: 1.8;
}
.analysis-scope {
  font-size: 8px;
  color: var(--muted);
  margin-top: 9px;
}
.analysis-block {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 26px;
}
.stacked-chart {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 18px;
}
.stacked-row {
  text-align: left;
  padding: 2px 0;
}
.stacked-heading {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 7px;
}
.stacked-heading b {
  font-family: var(--number);
  font-size: 8px;
  font-weight: 400;
  color: var(--text);
}
.stacked-row .aging-bar {
  height: 7px;
}
.aging-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.aging-legend > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: var(--muted);
}
.aging-legend i {
  height: 5px;
  width: 5px;
}
.sparkline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-top: 21px;
}
.sparkline-card {
  display: block;
  text-align: left;
  padding: 0;
}
.sparkline-card > span {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 9px;
  color: var(--muted);
}
.sparkline-card b {
  font-family: var(--number);
  font-size: 8px;
  font-weight: 400;
  color: var(--text);
}
.sparkline-card svg {
  height: 35px;
  width: 100%;
  margin-top: 9px;
}
.chart-note {
  font-size: 7px;
  color: var(--faint);
  margin-top: 15px;
}
.district-item-name {
  font-size: 12px;
}
.district-item-name small {
  font-size: 9px;
}
.district-trend b {
  font-size: 9px;
}
.legend-item {
  font-size: 11px;
}
.legend-heading h3 {
  font-size: 12px;
}
.legend-subtitle {
  font-size: 8px;
}
.height-legend p,
.ghost-legend p {
  font-size: 10px;
}
.height-legend small,
.ghost-legend small {
  font-size: 9px;
}
.panel-tabs > [role="tab"] {
  font-size: 12px;
}
.health-block {
  margin-top: 18px;
}
.insight-note {
  margin: 18px 0 21px;
  padding: 10px;
}
.insight-note small {
  display: none;
}
.panel-section-heading h3 {
  font-size: 12px;
}
.problem-project-copy strong {
  font-size: 11px;
}
.problem-project-copy small {
  font-size: 9px;
}
.panel-divider {
  margin: 20px 0;
}
.bar-chart.compact {
  gap: 14px;
}
.compact .bar-row-heading {
  font-size: 10px;
}
.compact .bar-row-heading b {
  font-size: 10px;
}
.all-projects {
  font-size: 10px;
}
.sheet-close {
  display: none;
}
.district-item {
  min-height: 40px;
  padding: 4px 3px;
}
.legend {
  margin-top: 22px;
  padding-top: 18px;
}
.legend-items {
  gap: 10px;
  margin-top: 17px;
}
.height-legend {
  padding-top: 13px;
  margin-top: 15px;
}
.ghost-legend {
  margin-top: 11px;
}
.spatial-note {
  margin-top: 18px;
}
.section-title {
  margin-bottom: 16px;
}
@media (max-height: 950px) and (min-width: 761px) {
  .district-item {
    min-height: 35px;
    padding: 3px;
  }
  .district-item-name small {
    display: none;
  }
  .legend-items {
    gap: 9px;
  }
  .spatial-note {
    display: none;
  }
  .district-trend svg {
    height: 12px;
  }
  .district-trend b {
    font-size: 8px;
  }
}
