/* Shared customer-page frame and inventory summary geometry. */
@media screen {
  html { background: #000; }
  body {
    width: min(1600px, calc(100% - 32px));
    margin: 16px auto;
    background: #17130d;
    border: 1px solid rgba(235, 213, 13, .24);
    border-radius: 14px;
    min-height: calc(100vh - 32px);
  }
  .brand-banner,
  .solver-page .brand-banner {
    background: transparent;
    border-bottom: 1px solid #ebd50d;
  }
  body > .brand-banner { width: 100%; margin-left: 0; margin-right: 0; }
  .solver-page { min-height: calc(100vh - 34px); }
}
.results-template-list { align-items: stretch; }
.section-title--results,
.inventory-template-title { text-align: center; }
.inventory-template-card { text-align: left; }
.inventory-template-card .results-card-column-header > span,
.inventory-template-card .results-mobile-card-header > span,
.inventory-template-card .inventory-template-row > span,
.inventory-template-card .inventory-template-footer > span { text-align: left; }
.inventory-template-card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.inventory-template-title { min-height: calc(2.1em + 18px); }
.results-card-column-header,
.inventory-template-row {
  grid-template-columns: minmax(0, 1fr) minmax(28px, .4fr) minmax(40px, .55fr);
}
.results-card-column-header { display: grid; }
.results-mobile-card-header { display: none; }
.inventory-template-body {
  min-height: 64px;
  border-bottom: 1px solid rgba(235, 213, 13, .18);
}
.inventory-template-empty { border-bottom: 0; }
.inventory-template-row { min-height: 36px; }
.inventory-template-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 0;
}
.inventory-template-footer > span:first-child { white-space: nowrap; }
.inventory-template-footer > span:nth-child(2) { display: none; }
@media screen and (max-width: 720px) {
  body { width: calc(100% - 16px); margin: 8px auto; }
  .results-card-column-header { font-size: 11px; padding: 6px 8px; }
}
@media print {
  .inventory-template-title { min-height: .44in; }
  .inventory-template-row { min-height: .115in; }
  .inventory-template-body { min-height: .10in; }
}
