/* Family size grid (gg_family_page.php 'grid' mode; owner approved 2026-11-02, mockup
   mock_family_draper_targa_table.php?v=1): a surface / power selector per band, then one
   row per size with one price and one button. Loaded only by grid pages. */
.gff-band { margin-bottom: 8px; }
.gff-sel { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 0 0 12px; }
.gff-sel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gff-sel legend { font-size: 13px; font-weight: 600; color: #1a2433; margin: 0 0 6px; padding: 0; border: 0; width: auto; }
.gff-seg { display: inline-flex; border: 1px solid #1B3A6B; border-radius: 8px; overflow: hidden; }
.gff-seg button { min-height: 44px; padding: 0 16px; border: 0; background: #fff; color: #1B3A6B; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gff-seg button + button { border-left: 1px solid #1B3A6B; }
.gff-seg button[aria-pressed="true"] { background: #1B3A6B; color: #fff; }
.gff-seg button:focus-visible { outline: 3px solid #8fb6e6; outline-offset: -3px; }
.gff-rows { border-top: 1px solid #d5dce6; }
.gff-r { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e3e8ef; }
.gff-s { font-size: 16px; font-weight: 600; color: #10264a; }
.gff-s small { display: block; font-size: 13px; font-weight: 400; color: #5b6675; }
.gff-p { min-width: 100px; text-align: right; font-size: 18px; font-weight: 700; color: #10264a; font-variant-numeric: tabular-nums; }
.gff-b { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: #0b5cab; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gff-b:hover, .gff-b:focus-visible { background: #094a8c; color: #fff; text-decoration: none; }
.gff-r.off .gff-p { font-size: 14px; font-weight: 400; color: #5b6675; }
.gff-r.off .gff-b { visibility: hidden; }
@media (max-width: 640px) {
  .gff-r { grid-template-columns: 1fr auto; row-gap: 8px; }
  .gff-b { grid-column: 1 / -1; }
  .gff-r.off .gff-b { display: none; }
}
