/* Chart tokens */
.gfd {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--d-tx); line-height: 1.35;
    --d-card: #ffffff; --d-bd: #ebe9f1; --d-hd: #5e5873; --d-tx: #6e6b7b; --d-ft: #b9b9c3;
    --d-panel: #f0f1f2;
    --d-gr: #149b48; --d-gr08: rgba(20,155,72,.08); --d-gr22: rgba(20,155,72,.22);
    --d-gr28: rgba(20,155,72,.28); --d-grhi: #11843d;
    --d-neg: #ea5455; --d-nil: #b9b9c3;
    --d-track: #eef0f2; --d-grid: rgba(94,88,115,.16);
    --d-shadow: 0 4px 24px rgba(34,41,47,.10);
}
.dark-layout .gfd {
    --d-card: #283046; --d-bd: #3b4253; --d-hd: #d0d2d6; --d-tx: #b4b7bd; --d-ft: #676d7d;
    --d-panel: rgba(0,0,0,.22);
    --d-nil: #56607f;
    --d-track: rgba(0,0,0,.24); --d-grid: rgba(255,255,255,.10);
    --d-shadow: 0 4px 24px rgba(0,0,0,.24);
}
.gfd *, .gfd *::before, .gfd *::after { box-sizing: border-box; }

/* Summary + byline row */
.gfd-sub > span:first-child { flex: 1 1 320px; min-width: 0; margin-right: 1rem; }
@media (min-width: 576px) { .gfd-sub > span:last-child { white-space: nowrap; } }

/* Tool tokens */
.gfd { --c-go: #149b48; --c-fg: #7367f0; --c-pu: #a3a1b0; --c-o: #149b48; --c-d: #7a86a6; --d-sub: #b9b9c3; }
.dark-layout .gfd { --c-go: #24a95a; --c-fg: #8279f0; --c-pu: #6b7590; --c-o: #24a95a; --c-d: #8e9bbd; --d-sub: #b9b9c3; }

/* Toolbar */
.gfd .tf-tb .psg-control-group.tf-sel { flex: 1 1 140px; max-width: 240px; }
.gfd .tf-tb .psg-control-group.tf-pills { flex: 0 1 auto; }
@media (max-width: 575.98px) {
    .gfd .psg-filter-card .psg-control-group { flex: 1 1 140px; }
    .gfd .psg-filter-card .psg-control-group.tf-pills { flex: 0 1 auto; }
    .gfd .tf-tb .psg-control-group.tf-sel { max-width: none; }
}
.gfd .pill-group { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.gfd .pill { display: inline-block; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; padding: .35rem .75rem; border-radius: 50rem; border: 1px solid #d8d6de; background: #fff; color: #6e6b7b; cursor: pointer; text-decoration: none; white-space: nowrap; }
.gfd .pill:hover, .gfd .pill:focus { color: #6e6b7b; border-color: rgba(20,155,72,.5); text-decoration: none; }
.dark-layout .gfd .pill { background: #283046; border-color: #56607f; color: #b4b7bd; }
.dark-layout .gfd .pill:hover, .dark-layout .gfd .pill:focus { color: #b4b7bd; border-color: rgba(20,155,72,.6); }
.gfd .pill.on, .gfd .pill.on:hover, .gfd .pill.on:focus,
.dark-layout .gfd .pill.on, .dark-layout .gfd .pill.on:hover, .dark-layout .gfd .pill.on:focus { background: #149b48; border-color: #149b48; color: #fff; }
.gfd .pill:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }

/* Definitions legend row */
.gfd .psg-legend-icons { flex-wrap: wrap; }

/* Empty states */
.gfd .gfb-empty { font-size: .875rem; }
.gfd .psg-data-card { margin-bottom: 2rem; }

/* Muted text, team chips */
.gfd .muted { color: #b9b9c3; }
.dark-layout .gfd .muted { color: #676d7d; }
.gfd .tm { display: inline-block; min-width: 34px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-align: center; background: #f0f1f2; color: #5e5873; }
.dark-layout .gfd .tm { background: rgba(0,0,0,.22); color: #d0d2d6; }

/* Data table */
.gfd .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gfd .dtbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gfd .dtbl th { position: sticky; top: 0; z-index: 2; background: #f3f2f7; color: #5e5873; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 8px 10px; text-align: right; white-space: nowrap; }
.dark-layout .gfd .dtbl th { background: #343d55; color: #d0d2d6; }
.gfd .dtbl td { padding: 7px 10px; text-align: right; white-space: nowrap; box-shadow: inset 0 -1px 0 #ebe9f1; color: #6e6b7b; }
.dark-layout .gfd .dtbl td { box-shadow: inset 0 -1px 0 #3b4253; color: #b4b7bd; }
.gfd .dtbl th.l, .gfd .dtbl td.l { text-align: left; }
.gfd .dtbl td.strong { font-weight: 700; color: #5e5873; }
.dark-layout .gfd .dtbl td.strong { color: #d0d2d6; }
.gfd .dtbl tbody tr:hover td { background: rgba(20,155,72,.06); }
@media (max-width: 575.98px) {
    .gfd .dtbl th:first-child, .gfd .dtbl td:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
    .gfd .dtbl td:first-child { background: #fff; }
    .dark-layout .gfd .dtbl td:first-child { background: #283046; }
    .gfd .dtbl th:first-child { z-index: 3; background: #f3f2f7; }
    .dark-layout .gfd .dtbl th:first-child { background: #343d55; }
    .gfd .dtbl tbody tr:hover td:first-child { background: #f1f9f4; }
    .dark-layout .gfd .dtbl tbody tr:hover td:first-child { background: #273646; }
}

/* Tiles, card heads, legends */
.gfd .tilewrap { margin-bottom: 1.5rem; }
.gfd .tilewrap > .card-body { padding: 1rem; }
.gfd .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; }
.gfd .tiles .card.tile { margin-bottom: 0; padding: 12px 14px; border: 1px solid #ebe9f1; box-shadow: none; }
.dark-layout .gfd .tiles .card.tile { border-color: #3b4253; }
.gfd .tile .tl { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--d-sub); }
.gfd .tile .tv { font-size: 20px; font-weight: 800; color: #5e5873; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.dark-layout .gfd .tile .tv { color: #d0d2d6; }
.gfd .tile .ts { font-size: 11px; color: var(--d-sub); }
.gfd .tile .ts b { color: var(--d-hd); font-weight: 700; }
.gfd .grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 2rem; }
@media (min-width: 992px) { .gfd .grid-2 { grid-template-columns: 1fr 1fr; } }
.gfd .grid-2 > .card { margin-bottom: 0; }
.gfd .foot { font-size: 11px; color: var(--d-sub); margin-top: 10px; }
.gfd .foot b { font-weight: 600; }
.gfd .kr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 10px; }
.gfd .kr-h .card-title { margin: 0; }
.gfd .tf-desc { margin: -4px 0 12px; font-size: 12px; color: #b9b9c3; }
.dark-layout .gfd .tf-desc { color: #9aa0b0; }
.gfd .kr-lab { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--d-sub); }
.gfd .kr-h .tf-hd-key { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 14px; margin-left: auto; }
.gfd .tf-hd-key .legend { margin: 0; justify-content: flex-end; align-items: center; gap: 4px 6px; display: flex; flex-wrap: wrap; font-size: 11px; }
.gfd .tf-hd-key .psg-legend-label { margin-right: 4px; }
.gfd .tf-hd-key .badge { display: inline-flex; align-items: center; font-size: .6875rem; }
.gfd .tf-hd-key .badge > .sw, .gfd .tf-hd-key .badge > .tick, .gfd .tf-hd-key .badge > .fm { flex: 0 0 auto; margin: 0 5px 0 0; }
.gfd .tf-hd-key .sw { display: inline-block; width: 14px; height: 8px; border-radius: 2px; }
.gfd .tf-hd-key .tick { display: inline-block; width: 2px; height: 12px; background: var(--d-hd); opacity: .55; border-radius: 1px; }
.gfd .tf-hd-key .fm { position: static; }
.gfd .sw.go { background: var(--c-go); }
.gfd .sw.fg { background: var(--c-fg); }
.gfd .sw.pu { background: var(--c-pu); }
.gfd .sw.o { background: var(--c-o); }
.gfd .sw.d { background: var(--c-d); }
.gfd .sw.nil { background: var(--d-nil); }

/* 3rd down by distance: horizontal bars */
.gfd .hbars { display: flex; flex-direction: column; gap: 6px; }
.gfd .hr { display: grid; grid-template-columns: 62px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 12px; }
.gfd .hl { color: var(--d-tx); white-space: nowrap; }
.gfd .ht { position: relative; height: 12px; border-radius: 0 4px 4px 0; background: var(--d-track); }
.gfd .ht i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c-o); border-radius: 0 4px 4px 0; }
.gfd .ht i.nil { background: var(--d-nil); }
.gfd .ht::after { content: ""; position: absolute; left: var(--avg); top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--d-hd); opacity: .55; }
.gfd .hv { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfd .hv b { color: var(--d-hd); font-weight: 700; }

/* 4th down decision grid */
.gfd .dg { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); gap: 4px; }
.gfd .dg-c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 7px 4px 6px; border-radius: 6px; background: var(--d-panel); font-variant-numeric: tabular-nums; }
.gfd .dg-c b { font-size: 13px; font-weight: 700; color: var(--d-hd); line-height: 1; }
.gfd .dg-h { background: transparent; padding: 0 0 2px; justify-content: flex-end; gap: 0; }
.gfd .dg-h span { font-size: 9px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--d-sub); white-space: nowrap; line-height: 1.25; }
.gfd .dg-r { background: transparent; align-items: flex-start; padding-left: 0; font-size: 10.5px; font-weight: 600; color: var(--d-tx); white-space: nowrap; }
.gfd .dg-e { color: var(--d-ft); font-size: 12px; }
.gfd .dg-bar { display: flex; gap: 2px; width: 100%; max-width: 64px; height: 6px; }
.gfd .dg-bar i { display: block; height: 100%; border-radius: 2px; min-width: 3px; }
.gfd .dg-bar .go { background: var(--c-go); }
.gfd .dg-bar .fg { background: var(--c-fg); }
.gfd .dg-bar .pu { background: var(--c-pu); }

/* Team cards */
.gfd .tg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@media (min-width: 768px) { .gfd .tg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gfd .tg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gfd .tg:not(.all) .tc.more { display: none; }
.gfd .tc { background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; box-shadow: var(--d-shadow); padding: 12px 12px 4px; min-width: 0; }
.gfd .tc-top { display: flex; align-items: center; gap: 8px; }
.gfd .tc-rk { color: #b9b9c3; font-variant-numeric: tabular-nums; }
.dark-layout .gfd .tc-rk { color: #9aa0b0; }
.gfd .tc-id { flex: 1 1 auto; min-width: 0; }
.gfd .tc-nm { font-size: 13.5px; font-weight: 600; color: var(--d-hd); white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.gfd .tc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gfd .tc-meta .badge { font-size: .6875rem; }
.gfd .tc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 4px; }
.gfd .tc-hero > div { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 8px; background: var(--d-panel); }
.gfd .tc-hero .hv { display: block; font-size: 22px; font-weight: 800; color: var(--d-hd); line-height: 1.1; text-align: left; }
.gfd .tc-hero .hl { font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-tx); white-space: nowrap; }
.gfd .tc-hero .hp { font-size: 10px; color: var(--d-tx); margin-top: 3px; cursor: help; }
.gfd .tc-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.gfd .tc-n { font-size: 10.5px; color: var(--d-sub); text-align: right; }
.gfd .mr { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; font-size: 11.5px; padding: 3px 0; }
.gfd .mr.mh { padding: 0 0 1px; }
.gfd .mr.mh span { font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-sub); }
.gfd .mr.ma { border-top: 1px solid var(--d-bd); margin-top: 3px; padding-top: 6px; color: var(--d-hd); font-weight: 600; font-variant-numeric: tabular-nums; }
.gfd .ml { color: var(--d-tx); white-space: nowrap; font-weight: 500; }
.gfd .mt { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gfd .mtr { position: relative; flex: 1 1 auto; min-width: 30px; height: 8px; border-radius: 0 3px 3px 0; background: var(--d-track); }
.gfd .mtr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 3px 3px 0; }
.gfd .mtr i.o { background: var(--c-o); }
.gfd .mtr i.d { background: var(--c-d); }
.gfd .mtr i.nil { background: var(--d-nil); }
.gfd .mtr em { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--d-hd); opacity: .55; border-radius: 1px; }
.gfd .mv { flex: 0 0 34px; text-align: right; font-variant-numeric: tabular-nums; color: var(--d-hd); font-weight: 600; white-space: nowrap; }
.gfd .mv.none { color: var(--d-ft); font-weight: 500; }

/* Field strip */
.gfd .fs { position: relative; border-radius: 5px; margin: 0 5px; background: linear-gradient(to right, transparent calc(50% - 1px), var(--d-grid) calc(50% - 1px), var(--d-grid) calc(50% + 1px), transparent calc(50% + 1px)), repeating-linear-gradient(to right, var(--d-panel) 0, var(--d-panel) calc(10% - 1px), var(--d-grid) calc(10% - 1px), var(--d-grid) 10%); }
.gfd .fm { position: absolute; display: inline-block; width: 10px; height: 10px; margin-left: -5px; box-sizing: border-box; }
.gfd .fm.go { border-radius: 50%; background: var(--c-go); }
.gfd .fm.go.miss { background: var(--d-card); box-shadow: inset 0 0 0 2px var(--c-go); }
.gfd .fm.go.kn { background: var(--d-card); box-shadow: inset 0 0 0 2px var(--c-pu); }
.gfd .fm.fg { background: var(--c-fg); transform: rotate(45deg) scale(.82); border-radius: 1px; }
.gfd .fm.fg.miss { background: var(--d-card); box-shadow: inset 0 0 0 2px var(--c-fg); }
.gfd .fm.pu { background: var(--c-pu); border-radius: 2px; transform: scale(.8); }
.gfd .fs-ax { display: flex; justify-content: space-between; margin: 3px 0 0; font-size: 9px; color: var(--d-sub); font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }

/* Card tiles */
.gfd .tc-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 10px 0 2px; padding: 7px 4px; background: var(--d-panel); border-radius: 8px; }
.gfd .tt { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gfd .tt .tl { font-size: 9px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--d-sub); line-height: 1; margin-bottom: 3px; white-space: nowrap; }
.gfd .tt .tv { font-size: 13.5px; font-weight: 700; line-height: 1.1; color: var(--d-hd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfd .tt .ts { font-size: 9px; color: var(--d-tx); white-space: nowrap; line-height: 1.2; }

/* Card log */
.gfd .tc-log { margin-top: 10px; border: 1px solid var(--d-bd); border-radius: 8px; }
.gfd .tc-log > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-weight: 600; color: var(--d-hd); font-size: .9rem; }
.gfd .tc-log > summary::-webkit-details-marker { display: none; }
.gfd .tc-log > summary::after { content: "+"; font-size: 18px; line-height: 1; color: #149b48; font-weight: 700; }
.gfd .tc-log[open] > summary::after { content: "\2212"; }
.gfd .tc-log > summary .muted { font-weight: 500; font-size: .8rem; }
.gfd .tc-log > summary .chev { display: none; }
.gfd .tc-log > .lg { padding: 0 12px 10px; }
.gfd .chev { font-size: 16px; line-height: 1; color: var(--d-sub); transition: transform .2s; }
.gfd details[open] > summary .chev { transform: rotate(90deg); color: var(--d-gr); }
.gfd .lg { margin: 0 0 10px; padding: 2px 10px; background: var(--d-panel); border-radius: 8px; }
.gfd .lr { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; }
.gfd .lr + .lr { border-top: 1px solid var(--d-bd); }
.gfd .cc { display: inline-block; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .3px; padding: 3px 0; border-radius: 4px; color: #fff; }
.gfd .cc.go { background: var(--c-go); }
.gfd .cc.fg { background: var(--c-fg); }
.gfd .cc.pu { background: var(--c-pu); color: #2b2f3a; }
.gfd .cc.pn { background: transparent; color: var(--d-tx); box-shadow: inset 0 0 0 1px var(--d-ft); }
.dark-layout .gfd .cc.pu { color: #e6e8ee; }
.dark-layout .gfd .cc.go { background: #149b48; }
.gfd .lm { display: flex; flex-direction: column; min-width: 0; }
.gfd .lm b { font-size: 11.5px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .lm span { font-size: 10px; color: var(--d-tx); }
.gfd .lres { font-size: 11px; font-weight: 600; color: var(--d-tx); text-align: right; white-space: nowrap; }
.gfd .lres.tf-good { color: #149b48; }
.gfd .lres.tf-bad { color: #ea5455; }
.gfd .showall { display: flex; justify-content: center; margin-top: 14px; }
.gfd .showall .btn { font-size: 12.5px; font-weight: 600; }

/* Full table drawer */
.gfd .tdrw { margin-top: 0; border: 1px solid var(--d-bd); border-radius: 8px; }
.gfd .tdrw > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-weight: 600; color: var(--d-hd); font-size: .9rem; }
.gfd .tdrw > summary::-webkit-details-marker { display: none; }
.gfd .tdrw > summary::after { content: "+"; font-size: 18px; line-height: 1; color: #149b48; font-weight: 700; }
.gfd .tdrw[open] > summary::after { content: "\2212"; }
.gfd .tdrw > summary .muted { font-weight: 500; font-size: .8rem; }
.gfd .tdrw > summary .chev { display: none; }
.gfd .tdrw > summary .kr-t { font-size: inherit; font-weight: inherit; color: inherit; }
.gfd .tdrw[open] > summary { border-bottom: 1px solid var(--d-bd); }
.gfd .dtbl tr.grp th { background: transparent; color: var(--d-sub); padding: 0 10px 4px; position: static; }
.gfd .dtbl tr.grp th.gc { text-align: center; box-shadow: inset 0 -2px 0 var(--d-bd); }
.gfd .dtbl .fr { color: var(--d-hd); }
.gfd .dtbl .rk { display: inline-block; width: 30px; font-size: 11px; font-weight: 600; color: var(--d-sub); }
.gfd .dtbl tr.tot td { font-weight: 700; color: var(--d-hd); box-shadow: inset 0 1px 0 var(--d-bd); }
.gfd .dtbl tbody tr:nth-child(12) td { box-shadow: inset 0 -1px 0 var(--d-bd); }
@media (max-width: 575.98px) {
    .gfd .dtbl tr:not(.grp) th:first-child { background: #f3f2f7; }
    .dark-layout .gfd .dtbl tr:not(.grp) th:first-child { background: #343d55; }
    .gfd .dtbl tr.grp th:first-child { background: #fff; }
    .dark-layout .gfd .dtbl tr.grp th:first-child { background: #283046; }
}

/* Small samples (G5) */
.gfd .sm, .gfd .tc-hero .hv.sm, .gfd .hv b.sm, .gfd .dg-c b.sm, .gfd .tile .tv.sm, .gfd .tt .tv.sm, .gfd .tt .ts.sm,
.dark-layout .gfd .tile .tv.sm, .gfd .dtbl td.strong.sm, .dark-layout .gfd .dtbl td.strong.sm { font-style: italic; color: var(--d-ft); }
.gfd .dg-bar.nil i { background: var(--d-nil); }

/* Phones */
@media (max-width: 575.98px) {
    .gfd .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gfd .tg:not(.all) .tc:nth-child(n+7) { display: none; }
    .gfd .lm b { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
    .gfd .hr { grid-template-columns: 60px minmax(0, 1fr) 40px; gap: 6px; }
    .gfd .dg { grid-template-columns: 38px repeat(5, minmax(0, 1fr)); gap: 3px; }
    .gfd .mr { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .gfd .lr { grid-template-columns: 36px minmax(0, 1fr); }
    .gfd .lres { grid-column: 2; text-align: left; }
    .gfd .tt .tl { letter-spacing: 0; }
    .gfd .tc-hero .hl { letter-spacing: 0; white-space: normal; }
}

/* Phones: the site filter panel (Filter Options toggle), label left and control right as on every site page */
@media (max-width: 767.98px) {
    .gfd .psg-section--filters .psg-toolbar-row .psg-control-group { flex: 0 0 auto; max-width: none; }
}
/* Phones: a Definitions row that would wrap scrolls sideways as one line instead */
@media (max-width: 767.98px) {
    .gfd .psg-legend-row .psg-legend-group { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .gfd .psg-legend-row .psg-legend-group::-webkit-scrollbar { display: none; }
    .gfd .psg-legend-row .psg-legend-icons { flex-wrap: nowrap; flex: 0 0 auto; }
    .gfd .psg-legend-row .psg-legend-group > *, .gfd .psg-legend-row .psg-legend-icons > * { flex: 0 0 auto; white-space: nowrap; }
}

/* Phones: long filter labels take their short form */
.gfd .psg-control-label .lbl-s { display: none; }
@media (max-width: 767.98px) {
    .gfd .psg-control-label .lbl-l { display: none; }
    .gfd .psg-control-label .lbl-s { display: inline; }
}
