/* Beef & buns (src/beefbuns.js), on the M3 theme (docs/theme.md). Tokens only.
   It sits in the same fixed overlay as the Handbook and Today (.hb in styles.css). */
body.bb-open { overflow: hidden; }
.bb { gap: var(--m3-space-4); max-width: 880px; }
.bb .m3-card { display: flex; flex-direction: column; gap: var(--m3-space-3); min-width: 0; }
.bb-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--m3-space-3); flex-wrap: wrap; }
.bb-scroll { overflow-x: auto; }
.bb-table { width: 100%; border-collapse: collapse; font: var(--md-sys-typescale-body-medium); font-variant-numeric: tabular-nums; }
.bb-table th, .bb-table td { padding: var(--m3-space-2) var(--m3-space-3); text-align: right; border-bottom: 1px solid var(--md-sys-color-outline-variant); vertical-align: top; }
.bb-table th:first-child { text-align: left; }
.bb-table thead th { font: var(--md-sys-typescale-label-medium); color: var(--md-sys-color-on-surface-variant); }
.bb-strong { font-weight: 700; color: var(--md-sys-color-primary); }
.bb-total th, .bb-total td { font-weight: 700; border-bottom: 0; }
.bb-flag { color: var(--md-sys-color-error); font-weight: 600; }
.bb-detail summary { cursor: pointer; font: var(--md-sys-typescale-label-large); color: var(--md-sys-color-primary); }
.bb-detail[open] summary { margin-bottom: var(--m3-space-2); }
.bb-counts { list-style: none; margin: 0; padding: 0; }
.bb-counts li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--m3-space-1) var(--m3-space-4); padding: var(--m3-space-2) 0;
  border-bottom: 1px solid var(--md-sys-color-outline-variant); font: var(--md-sys-typescale-body-medium); }
.bb-counts li > :first-child { min-width: 180px; }
.bb-counts li > button { margin-left: auto; }
.bb-dialog form { display: contents; }
.bb-fs { border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-sys-shape-corner-medium); padding: var(--m3-space-3); margin: 0;
  display: flex; flex-direction: column; gap: var(--m3-space-2); }
.bb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--m3-space-3); }
.bb-live { margin: 0; }
.bb-settings { display: flex; align-items: flex-end; gap: var(--m3-space-3); flex-wrap: wrap; }
.bb-settings .m3-field { flex: 1 1 200px; }
.bb-sub { margin: var(--m3-space-3) 0 0; }
.bb-days tbody th { white-space: nowrap; }
.bb-how { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: var(--m3-space-1); }
