/* 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; }

/* Tool tokens */
.gfd { --p-wr: #ad8d00; --p-te: #0e9fb5; --p-rb: #238a4a; --p-b: #8a8fa3; --p-nt: #b9b9c3; --q-mu: #b9b9c3; }
.dark-layout .gfd { --p-wr: #b89a1c; --p-te: #3fb6c6; --p-rb: #1f8446; --p-b: #7d849c; --p-nt: #737c99; --q-mu: #b9b9c3; }

/* 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; } }

/* Toolbar */
.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; }
.gfd .psg-filter-card .psg-control-group.qtt-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.qtt-pills { flex: 0 1 auto; }
}

/* 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; }

/* Shared kit parts */
.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; }
.gfd .pname { font-weight: 600; color: #5e5873; }
.dark-layout .gfd .pname { color: #d0d2d6; }
.gfd .pos-pill { flex: 0 0 auto; min-width: 28px; padding: 3px 6px; font-size: 9px; line-height: 1.1; vertical-align: middle; }
.gfd .pos-pill.oth { background: transparent; color: var(--d-tx); box-shadow: inset 0 0 0 1px var(--d-nil); }
.gfd .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 992px) { .gfd .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gfd .foot { font-size: 11px; color: var(--q-mu); margin-top: 10px; }

/* Section heads */
.gfd .sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.gfd .card .sec-t { margin: 0; color: var(--d-hd); }
.gfd .qtt-desc { margin: -4px 0 12px; font-size: 12px; color: #b9b9c3; }
.dark-layout .gfd .qtt-desc { color: #9aa0b0; }
.gfd .sec-hd .qtt-hd-key { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.gfd .qtt-hd-key .legend { margin: 0; justify-content: flex-end; align-items: center; gap: 4px 6px; display: flex; flex-wrap: wrap; font-size: 11px; }
.gfd .qtt-hd-key .psg-legend-label { margin-right: 4px; }
.gfd .qtt-hd-key .badge { display: inline-flex; align-items: center; font-size: .6875rem; }
.gfd .qtt-hd-key .badge > i, .gfd .qtt-hd-key .badge > .lmr { margin-right: 5px; }
.gfd .qtt-hd-key .badge .lmr i { width: auto; height: auto; vertical-align: baseline; }
.gfd .qtt-hd-key .tlg-ramp { display: inline-flex; align-items: center; }
.gfd .sw { display: inline-block; width: 14px; height: 5px; border-radius: 3px; flex: 0 0 auto; }
.gfd .sw.wr { background: var(--p-wr); }
.gfd .sw.te { background: var(--p-te); }
.gfd .sw.rb { background: var(--p-rb); }
.gfd .sw.oth { background: var(--d-nil); }
.gfd .sw.nt { height: 0; border-top: 2px dashed var(--p-nt); border-radius: 0; }
.gfd .sw.a { background: var(--d-gr); }
.gfd .sw.b { background: var(--p-b); }
.gfd .sw.hot { height: 8px; background: var(--d-gr22); }

/* Tiles */
.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; min-width: 0; }
.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: #b9b9c3; }
.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(--q-mu); }
@media (max-width: 575.98px) { .gfd .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tree cards */
.gfd .tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.gfd .tc { min-width: 0; background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; box-shadow: var(--d-shadow); padding: 12px 12px 8px; }
.gfd .tc:hover { border-color: rgba(20,155,72,.4); }
.gfd .tc-id { display: flex; align-items: center; gap: 7px; }
.gfd .tc-name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .tc-big { display: flex; align-items: baseline; gap: 3px; margin-left: 4px; }
.gfd .tc-big b { font-size: 24px; font-weight: 800; line-height: 1; color: var(--d-gr); font-variant-numeric: tabular-nums; }
.gfd .tc-big i { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .5px; color: var(--q-mu); }
.gfd .tc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; margin: 7px 0 8px; font-size: 10.5px; color: var(--d-tx); }
.gfd .wk { font-size: 10px; font-weight: 600; color: var(--q-mu); padding: 2px 7px; border-radius: 50rem; background: var(--d-panel); }
.gfd .wk b { color: var(--d-hd); margin-left: 2px; }
.gfd .tc-line { margin-left: auto; white-space: nowrap; }
.gfd .tree { display: flex; align-items: flex-start; padding-top: 6px; border-top: 1px solid var(--d-bd); }
.gfd .tree-svg { flex: 0 0 46px; display: block; overflow: visible; }
.gfd .br { fill: none; stroke-linecap: butt; stroke-opacity: .9; }
.gfd .br.wr { stroke: var(--p-wr); }
.gfd .br.te { stroke: var(--p-te); }
.gfd .br.rb { stroke: var(--p-rb); }
.gfd .br.oth { stroke: var(--d-nil); }
.gfd .br.nt { stroke: var(--p-nt); }
.gfd .br.wr, .gfd .br.nt { stroke-opacity: 1; }
.gfd .qbn { fill: var(--d-hd); stroke: var(--d-card); stroke-width: 2; }
.gfd .tree-rows { flex: 1 1 auto; min-width: 0; }
.gfd .tr { height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding-left: 4px; }
.gfd .tr1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gfd .tr-n { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .tr-sh { font-size: 13px; font-weight: 700; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .tr-t { flex: 0 0 48px; text-align: right; font-size: 11.5px; color: var(--d-tx); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfd .tr2 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gfd .tr-s { flex: 1 1 auto; min-width: 0; font-size: 11.5px; color: var(--d-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .tr-nt .tr-n { color: var(--d-tx); font-weight: 500; }

/* L / M / R chips */
.gfd .lmr { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.gfd .lmr i { font-style: normal; min-width: 23px; padding: 1px 3px; border-radius: 3px; font-size: 10px; font-weight: 700; line-height: 13px; text-align: center; background: var(--d-panel); color: var(--d-tx); font-variant-numeric: tabular-nums; }
.gfd .lmr i.heat-1, .gfd .lmr i.heat-2, .gfd .lmr i.heat-3 { color: var(--d-hd); }
.gfd .lmr i.heat-1 { background: rgba(20,155,72,.10); }
.gfd .lmr i.heat-2 { background: rgba(20,155,72,.22); }
.gfd .lmr i.heat-3 { background: rgba(20,155,72,.38); color: #083d1d; }
.gfd .lmr i.heat-4 { background: rgba(20,155,72,.56); color: #083d1d; }
.gfd .lmr i.heat-5 { background: #0f7a39; color: #fff; }
.dark-layout .gfd .lmr i.heat-3 { color: var(--d-hd); }
.dark-layout .gfd .lmr i.heat-4 { color: #fff; }
.dark-layout .gfd .lmr i.heat-5 { background: #149b48; color: #04210f; }
.gfd .lmr i.ns { background: transparent; box-shadow: inset 0 0 0 1px var(--d-nil); color: var(--d-tx); min-width: 16px; }
.gfd .lmr i.qtt-thin, .gfd .dtbl tbody td.lm.qtt-thin { font-style: italic; }

/* Backup QB watch */
.gfd .bq-grid-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.gfd .bq { min-width: 0; background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; box-shadow: var(--d-shadow); padding: 12px; }
.gfd .bq-hd { display: flex; align-items: center; gap: 8px; }
.gfd .bq-t { font-size: 13px; font-weight: 600; color: var(--d-hd); }
.gfd .bq-qbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 6px; }
.gfd .bq-q { display: flex; gap: 6px; align-items: flex-start; padding: 6px 8px; border-radius: 6px; background: var(--d-panel); min-width: 0; }
.gfd .bq-q .sw { margin-top: 5px; }
.gfd .bq-qx { min-width: 0; }
.gfd .bq-qn { font-size: 11.5px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575.98px) { .gfd .bq-qn { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; } }
.gfd .bq-qs { font-size: 10px; color: var(--d-tx); }
.gfd .bq-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px 72px 32px; align-items: center; gap: 6px; padding: 4px 2px; border-bottom: 1px solid var(--d-bd); }
.gfd .bq-row:last-of-type { border-bottom: 0; }
.gfd .bq-row.hot { background: var(--d-gr22); border-radius: 4px; }
.gfd .bq-h { font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-tx); }
.gfd .bq-h .r { text-align: right; }
.gfd .bq-n { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--d-hd); }
.gfd .bq-n span:last-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.gfd .bq-b { display: flex; align-items: center; gap: 4px; }
.gfd .bq-b.a { justify-content: flex-end; }
.gfd .bq-trk { position: relative; flex: 0 0 36px; height: 8px; background: var(--d-track); border-radius: 4px; overflow: hidden; }
.gfd .bq-b.a .bq-fill { position: absolute; right: 0; top: 0; bottom: 0; background: var(--d-gr); border-radius: 4px; }
.gfd .bq-b.b .bq-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--p-b); border-radius: 4px; }
.gfd .bq-v { font-size: 10.5px; font-weight: 600; color: var(--d-hd); font-variant-numeric: tabular-nums; min-width: 28px; }
.gfd .bq-b.a .bq-v { text-align: right; }
.gfd .bq-d { font-size: 10.5px; font-weight: 700; text-align: right; white-space: nowrap; color: var(--d-hd); }
.gfd .bq-dnp { display: inline-block; padding: 1px 3px; border-radius: 3px; font-size: 9px; letter-spacing: .3px; color: var(--d-tx); box-shadow: inset 0 0 0 1px var(--d-nil); cursor: help; }
@media (max-width: 480px) {
    .gfd .bq-row { grid-template-columns: minmax(0, 1fr) 56px 56px 28px; gap: 5px; }
    .gfd .bq-trk { flex-basis: 22px; }
    .gfd .bq-v { min-width: 26px; }
    .gfd .bq-n { gap: 4px; }
    .gfd .bq-n .pos-pill { min-width: 24px; padding: 3px 4px; }
}

/* Connections */
.gfd .cn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 38%); align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--d-bd); }
.gfd .cn:last-child { border-bottom: 0; }
.gfd .cn-rk { color: #b9b9c3; font-variant-numeric: tabular-nums; }
.dark-layout .gfd .cn-rk { color: #9aa0b0; }
.gfd .cn-id { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gfd .cn-n { flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--d-hd); }
.gfd .cn-n .muted { font-weight: 500; }
.gfd .cn-bar { display: flex; align-items: center; gap: 6px; }
.gfd .bar-track { position: relative; height: 10px; border-radius: 5px; background: #eef0f2; overflow: hidden; min-width: 60px; }
.dark-layout .gfd .bar-track { background: rgba(0,0,0,.24); }
.gfd .bar-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 5px; background: #149b48; }
.gfd .cn-bar .bar-track { flex: 1 1 auto; min-width: 24px; height: 8px; }
.gfd .cn-v { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--d-hd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfd .cn-v small { font-size: 10px; font-weight: 500; color: var(--d-tx); }
@media (max-width: 420px) { .gfd .cn-id .tm { display: none; } }

/* Drawers */
.gfd .drw { display: none; margin-top: 14px; }
.gfd .drw.all { display: block; }
.gfd .qtt-more { display: block; margin: 12px auto 0; font-size: 12px; padding: .35rem .9rem; }
.gfd .qtt-more:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }
.gfd .drw-b { padding: 0; }
.gfd .tc-ph, .gfd .ph-only { display: none; }
@media (min-width: 576px) { .gfd .drw.drw-ph { display: none; } }
@media (max-width: 575.98px) {
    .gfd .tc-dt, .gfd .ph-no { display: none; }
    .gfd .tc-ph { display: block; }
    .gfd .ph-only { display: inline; }
    .gfd .drw-b { padding: 0; }
    .gfd .tc { padding: 10px 8px 8px; }
    .gfd .tr-s { white-space: normal; overflow: visible; overflow-wrap: anywhere; font-size: 11px; }
    .gfd .tr2 { gap: 4px; }
    .gfd .lmr i { min-width: 21px; padding: 1px 2px; }
}

/* 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; }
}
.gfd .rc { display: inline-flex; align-items: center; gap: 6px; }
.gfd .bar-cell { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.gfd .dtbl .bar-cell .bar-track { flex: 0 0 54px; height: 8px; }
.gfd .dtbl .bar-cell span { min-width: 30px; }

/* Table L / M / R heat */
.gfd .dtbl tbody td.lm.heat-1 { background: rgba(20,155,72,.10); color: var(--d-hd); }
.gfd .dtbl tbody td.lm.heat-2 { background: rgba(20,155,72,.22); color: var(--d-hd); }
.gfd .dtbl tbody td.lm.heat-3 { background: rgba(20,155,72,.38); color: #083d1d; }
.gfd .dtbl tbody td.lm.heat-4 { background: rgba(20,155,72,.56); color: #083d1d; }
.gfd .dtbl tbody td.lm.heat-5 { background: #0f7a39; color: #fff; }
.dark-layout .gfd .dtbl tbody td.lm.heat-3 { color: var(--d-hd); }
.dark-layout .gfd .dtbl tbody td.lm.heat-4 { color: #fff; }
.dark-layout .gfd .dtbl tbody td.lm.heat-5 { background: #149b48; color: #04210f; }

/* 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; }
}
