.construction-index-control { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem; font: inherit; cursor: pointer; }
.construction-index-information { margin-block: .75rem; padding: .75rem; border: 1px solid currentColor; font: inherit; }
.construction-index-information p { max-width: 85ch; }
table.construction-index-table { min-width: 72rem; table-layout: auto; }
table.construction-index-table td.construction-index-cell { min-width: 14rem; max-width: 18rem; white-space: normal; overflow-wrap: anywhere; color: var(--kb-amber); }
table.construction-index-table th[data-construction-index] { white-space: normal; }
.construction-index-cell p { margin-block: .5rem; font-size: .85em; overflow-wrap: anywhere; }
.construction-index-cell summary { cursor: pointer; font-variant-numeric: tabular-nums; }
table.killboard-table { --kb-amber: #e7ba62; }
table.killboard-table [data-metric^="replacementFoam"], table.killboard-table th[data-construction-index], table.kb-table th[data-construction-index] { color: var(--kb-amber); }
table.killboard-table td[data-metric^="replacementFoam"] .killboard-unavailable, table.construction-index-table td.construction-index-unavailable { color: var(--kb-muted, var(--muted, #b4b1a6)); }
table.killboard-table th[data-metric^="replacementFoam"] button, table.killboard-table th[data-construction-index] button, table.kb-table th.kb-foam button, table.kb-table th[data-construction-index] button, table.construction-index-table .construction-index-cell summary { color: inherit; }
.construction-index-cell:has(details[open]) { position: relative; z-index: 2; background: var(--kb-panel, var(--kb-surface, var(--void))); }
@media (max-width: 700px) {
  table.killboard-table.construction-index-table :is(th,td):nth-child(2) { width: var(--kb-name-width); max-width: var(--kb-name-width); }
  table.killboard-table.construction-index-table .killboard-tribe { max-width: var(--kb-name-width); overflow: hidden; }
  table.construction-index-table td.construction-index-cell { min-width: 10rem; max-width: 12rem; }
}
