/* Act 05 · Why the table has the shape it has */
/* group 1 down the page: tile + short configuration, each one shell further out */
.a5-alk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
@media (min-width: 900px) { .a5-alk { grid-template-columns: 1fr; gap: 8px; } }
.a5-alk > div { display: flex; align-items: center; gap: 12px; }
.a5-alk .c3-tile { width: 52px; }
.a5-alk i { font-style: normal; font-size: 17px; color: var(--bone); font-variant-numeric: tabular-nums; }
/* the recap: four sub-shells two by two on a phone */
@media (max-width: 899px) { #s-recap .xs-specs { grid-template-columns: 1fr 1fr; } }
/* the periods table (lite, by reference) as one card per period on a phone: each cell carries its column name */
@media (max-width: 899px) {
  #s-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #s-table table, #s-table tbody { display: block; width: 100%; }
  #s-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  #s-table td { display: block; padding: 0; border: 0; font-size: 15px; }
  #s-table td::before { display: block; margin-bottom: 2px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mix-3); }
  #s-table td:nth-child(1) { grid-column: 1 / -1; font-weight: 500; font-size: 17px; }
  #s-table td:nth-child(1)::before { content: "Period"; }
  #s-table td:nth-child(2)::before { content: "Filled, in order"; }
  #s-table td:nth-child(3)::before { content: "Orbitals"; }
  #s-table td:nth-child(4)::before { content: "Elements"; }
  #s-table td:nth-child(5) { grid-column: 1 / -1; }
  #s-table td:nth-child(5)::before { content: "Runs from"; }
}
