/* The original table/card layout is shared; these rules only support static twins. */
body[data-rendering="static"] [hidden] { display: none !important; }
[data-static-list] { min-width: 0; scroll-margin-top: 1rem; }
[data-static-list] .character-table { min-width: 0; }
[data-static-list] .static-mobile { display: none; }
[data-static-list] .character-card-value { white-space: normal; overflow-wrap: anywhere; }
[data-static-list] .character-card-value--fields {
  display: grid;
  gap: 4px;
  justify-items: stretch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  line-height: 1.4;
}
.static-card-field { display: grid; gap: 1px; }
.static-card-label { color: var(--text-muted); font-weight: 500; }
body[data-page="work-summary"][data-rendering="static"] #overview .character-table { min-width: 0; }
body[data-page="work-summary"][data-rendering="static"] #overview .character-table th:first-child,
body[data-page="work-summary"][data-rendering="static"] #overview .character-table td:first-child { width: 30%; }
body[data-page="work-summary"][data-rendering="static"] #overview .character-table th:nth-child(2),
body[data-page="work-summary"][data-rendering="static"] #overview .character-table td:nth-child(2) { width: 70%; }
[data-static-list] .character-table--static-three-columns th:nth-child(1),
[data-static-list] .character-table--static-three-columns td:nth-child(1) { width: 24%; }
[data-static-list] .character-table--static-three-columns th:nth-child(2),
[data-static-list] .character-table--static-three-columns td:nth-child(2) { width: 22%; }
[data-static-list] .character-table--static-three-columns th:nth-child(3),
[data-static-list] .character-table--static-three-columns td:nth-child(3) { width: 54%; }
[data-static-list] .character-table--static-four-columns th:nth-child(1),
[data-static-list] .character-table--static-four-columns td:nth-child(1) { width: 35%; }
[data-static-list] .character-table--static-four-columns th:nth-child(2),
[data-static-list] .character-table--static-four-columns td:nth-child(2) { width: 18%; }
[data-static-list] .character-table--static-four-columns th:nth-child(3),
[data-static-list] .character-table--static-four-columns td:nth-child(3) { width: 24%; }
[data-static-list] .character-table--static-four-columns th:nth-child(4),
[data-static-list] .character-table--static-four-columns td:nth-child(4) { width: 23%; }
[data-static-list] [data-static-count] { font-size: .8rem; text-align: right; margin: .5rem 0; }
[data-static-list] [data-static-reset] { font: inherit; cursor: pointer; }
[data-static-list] button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-static-list] .character-detail { padding: 10px; }
[data-static-list] .character-detail-item:only-child { grid-column: 1 / -1; }
@media (min-width: 851px) and (max-width: 1100px) {
  [data-static-list] .character-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 850px) {
  [data-static-list] .static-desktop { display: none; }
  [data-static-list] .static-mobile { display: block; }
}

body[data-rendering="static"] .static-page-kind { display: inline-block; }
