/* GEX Analysis — stylesheet for /gex and /app/gex (one file for both).
   Devices are the page's own: ticker panel, five figure chips, the site's tab strip,
   a Navy verdict band, blocks with a heading and a note, charts, tables.
   Discipline: page title 48 · block heading 20/600 · card title 16/600 ·
   running text 16 · notes, tables, pills 14 · chart legends and axes 12.
   Line height 1.6 for text, 1.3 for headings, 1.45 for small lines.
   Every gap is a multiple of 8. Text inside the tool is set flush left:
   narrow blocks justified tear into gaps. Chart colours are the tool's own. */

/* ---------- head ---------- */
.gx-head{margin:0 0 8px}
.gx-title h1{margin:0}
.gx-lead{margin:0 0 24px;font-size:var(--fs-body);line-height:1.6;color:var(--slate);text-align:left}

/* ---------- ticker panel ---------- */
.gx-toolbar{background:var(--white);border:1px solid var(--gray200);border-radius:12px;padding:16px 20px;text-align:left}
.gx-bar-main{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.gx-toolbar .gx-pick{display:flex;align-items:center;gap:8px;margin-left:auto}
.gx-controls input{height:48px;width:220px;padding:0 16px;font-family:var(--sans);font-size:var(--fs-body);
  border:1px solid var(--gray200);border-radius:10px;background:var(--white);text-transform:uppercase}
.gx-controls input::placeholder{text-transform:none;color:var(--gray400)}
.gx-controls input:focus{outline:2px solid var(--info);outline-offset:1px}
.gx-quote{display:flex;align-items:baseline;gap:12px;font-variant-numeric:tabular-nums}
.gx-qsym{font-size:var(--fs-head);font-weight:var(--fw-bold);color:var(--navy);line-height:1.3}
.gx-qpx{font-size:var(--fs-head);color:var(--navy);line-height:1.3}
.gx-qrange{font-size:var(--fs-meta);color:var(--gray400)}
.gx-toolbar .gx-now,.gx-toolbar .gx-msg{margin:12px 0 0;font-size:var(--fs-meta);line-height:1.6;color:var(--gray400);text-align:left}
.gx-toolbar .gx-now + .gx-msg{margin-top:0}
.gx-toolbar .gx-msg.bad{color:var(--danger)}
@media (max-width:640px){
  .gx-toolbar .gx-pick{margin-left:0;width:100%}
  .gx-controls input{flex:1;width:auto;min-width:0}
}

/* ---------- figure chips ---------- */
.gx-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:8px 0 0}
.gx-chips.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.gx-chip{border:1px solid var(--gray200);border-radius:12px;padding:12px 16px;background:var(--white);text-align:left;min-width:0}
.gx-chip .l{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:var(--gray400);line-height:1.45}
.gx-chip .v{font-size:var(--fs-head);font-weight:var(--fw-med);line-height:1.3;margin-top:6px;font-variant-numeric:tabular-nums;color:var(--navy)}
.gx-chip .s{font-size:var(--fs-micro);color:var(--gray400);line-height:1.45;margin-top:4px}
.gx-chip.up .v{color:#457E00}.gx-chip.dn .v{color:#C0391A}.gx-chip.fl .v{color:#00709F}
@media (max-width:1000px){.gx-chips,.gx-chips.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.gx-chips,.gx-chips.four{grid-template-columns:minmax(0,1fr)}}

/* badges */
.gx-badge{display:inline-block;border-radius:8px;padding:2px 9px;font-size:var(--fs-micro);font-weight:var(--fw-med);line-height:1.6;white-space:nowrap}
.gx-badge.calm,.gx-badge.call{background:rgba(69,126,0,.12);color:#3B6C00}
.gx-badge.push,.gx-badge.put{background:rgba(192,57,26,.12);color:#A82F13}

/* ---------- tab strip (shared component) and panes ---------- */
.gx-tabs{margin-top:24px}
.wrap > section[id^="p-"]{padding:0;margin-top:24px;text-align:left}

/* ---------- blocks ---------- */
.gx-h{font-size:var(--fs-head);font-weight:var(--fw-bold);color:var(--navy);line-height:1.3;letter-spacing:-.01em;margin:32px 0 4px;text-align:left}
section[id^="p-"] > .gx-h:first-child{margin-top:0}
.gx-note{font-size:var(--fs-meta);color:var(--gray400);line-height:1.6;margin:0 0 12px;text-align:left}
.gx-txt{font-size:var(--fs-body);line-height:1.6;color:var(--slate);margin:0;text-align:left}
.gx-cap{font-size:var(--fs-meta);color:var(--gray400);line-height:1.6;margin:8px 0 0;text-align:left}
.gx-state{font-size:var(--fs-meta);color:var(--gray400);line-height:1.6;padding:8px 0}

/* verdict band */
.gx-band{background:var(--navy);color:var(--white);border-radius:12px;padding:20px 24px;margin:0}
.gx-bl{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:#8FA0B3;line-height:1.45}
.gx-bfwd{font-size:var(--fs-body);line-height:1.6;margin-top:8px;color:var(--white);text-align:left}

/* levels by horizon */
.gx-hor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--gray200)}
.gx-hor.one{grid-template-columns:minmax(0,1fr)}
.gx-hor > div{background:var(--white);padding:16px 20px;min-width:0}
.gx-hor > div:first-child{padding-left:0}
.gx-hl{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:var(--gray400);line-height:1.45}
.gx-hv{font-size:var(--fs-body);line-height:1.6;margin-top:8px;color:var(--slate)}
.gx-hv b{font-weight:var(--fw-bold);color:var(--navy);font-variant-numeric:tabular-nums}
@media (max-width:900px){.gx-hor{grid-template-columns:minmax(0,1fr)}.gx-hor > div{padding-left:0}}

/* secondary figures: the site's standard Navy band (.band + .sec-lbl.on-navy + .live-grid/.lm),
   run edge to edge like the home page, content on the page's text column */
.gx-bleed{width:100vw;margin:32px 0 0 calc(50% - 50vw);padding:40px max(40px,calc(50vw - var(--wrap)/2 + 40px));text-align:left}
@media (max-width:640px){.gx-bleed{padding-left:20px;padding-right:20px}}
.gx-bleed .sec-lbl{margin-top:0}
.gx-extras{margin-top:24px}
.gx-extras .lm{grid-template-rows:40px auto auto}
.gx-extras .lm[hidden]{display:none}
.gx-ls{font-size:var(--fs-meta);line-height:1.6;color:var(--onnavy);margin-top:8px}
.gx-bleed + .gx-lock{margin-top:32px}

/* pills: expiry window, chart window, screener mode */
.gx-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.gx-pills button{appearance:none;cursor:pointer;font-family:var(--sans);font-size:var(--fs-meta);font-weight:var(--fw-med);line-height:1.45;
  padding:8px 14px;border-radius:999px;border:1px solid var(--gray200);background:var(--white);color:var(--navy)}
.gx-pills button[aria-pressed="true"]{background:var(--navy);color:var(--white);border-color:var(--navy)}
.gx-pills button:focus-visible{outline:2px solid var(--info);outline-offset:1px}

/* charts */
.gx-map{width:100%;height:auto;display:block}
.gx-mapwrap{overflow-x:auto}
.gx-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gx-card{border:1px solid var(--gray200);border-radius:12px;padding:16px 20px;min-width:0;text-align:left}
.gx-card h3{margin:0;font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--navy);line-height:1.6}
.gx-card .gx-cap{margin:0 0 8px}
@media (max-width:900px){.gx-charts{grid-template-columns:minmax(0,1fr)}}
.gx-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:var(--fs-micro);color:var(--gray400);line-height:1.45;margin-top:8px}

/* tables */
.gx-tblwrap{overflow-x:auto}
.gx-t{width:100%;border-collapse:collapse;font-size:var(--fs-meta);line-height:1.45;font-variant-numeric:tabular-nums;text-align:left}
.gx-t th{text-align:left;font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;
  color:var(--gray400);padding:0 16px 8px 0;white-space:nowrap;border-bottom:1px solid var(--navy)}
.gx-t td{padding:12px 16px 12px 0;border-bottom:1px solid var(--gray200);vertical-align:middle}
.gx-t td.n,.gx-t th.n{text-align:right}
.gx-t tr:hover td{background:var(--gray100)}
.gx-bar{display:inline-block;height:6px;vertical-align:middle}
.gx-heat td{font-size:var(--fs-micro);padding:7px 8px 7px 0}
.gx-heat td:hover{outline:2px solid var(--navy);outline-offset:-2px}
@media (max-width:640px){.gx-t th,.gx-t td{white-space:normal}}

/* subscription panel: one per tab, at its foot */
.gx-lock{background:var(--gray100);border-radius:12px;padding:24px 32px;margin-top:32px;text-align:left}
.gx-lock h3{margin:0 0 8px;font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--navy);line-height:1.6}
.gx-lock p{margin:0;font-size:var(--fs-meta);line-height:1.6;color:var(--slate)}
.gx-lock p:last-child{margin-top:16px}

/* screener */
.gx-sch{font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--navy);line-height:1.6;margin:24px 0 0}
.gx-sch span{color:var(--gray400);font-weight:var(--fw-reg)}
.gx-sclist{border-top:1px solid var(--navy);margin-top:8px}
.gx-scrow{display:grid;grid-template-columns:minmax(0,120px) minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--gray200)}
.gx-scsym{font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--navy);text-decoration:none;line-height:1.6}
.gx-scsym:hover{text-decoration:underline}
.gx-scpx{font-size:var(--fs-meta);color:var(--gray400);line-height:1.45}
.gx-sctxt{font-size:var(--fs-meta);line-height:1.6;color:var(--slate)}
.gx-scnum{font-size:var(--fs-micro);color:var(--gray400);line-height:1.45;margin-top:4px}
.gx-warn{color:var(--danger)}
.gx-src{margin-top:16px;padding-top:12px;border-top:1px solid var(--gray200);font-size:var(--fs-micro);color:var(--gray400);line-height:1.6}
button[data-more].btn{margin-top:12px}

/* history (hidden tab, kept styled) */
.gx-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.gx-keys > div{border:1px solid var(--gray200);border-radius:12px;padding:12px 16px;min-width:0}
.gx-kl{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:var(--gray400);line-height:1.45}
.gx-kv{font-size:var(--fs-head);font-weight:var(--fw-med);color:var(--navy);line-height:1.3;margin-top:6px;font-variant-numeric:tabular-nums}
.gx-ks{font-size:var(--fs-micro);color:var(--gray400);line-height:1.45;margin-top:4px}
.gx-part{margin:16px 0}
@media (max-width:900px){.gx-keys{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* the reading guide */
.gx-howto{margin-top:48px}
.gx-howto .sec-lbl{margin-bottom:16px}
.gx-howto p{margin:0 0 8px;font-size:var(--fs-body);line-height:1.6;color:var(--slate)}
.gx-howto p strong{font-weight:var(--fw-bold);color:var(--navy)}
.gx-howto h3{font-size:var(--fs-head);font-weight:var(--fw-bold);color:var(--navy);line-height:1.3;margin:24px 0 8px}

/* chart tooltip */
#gxTip{position:fixed;z-index:60;pointer-events:none;background:var(--navy);color:var(--white);border-radius:8px;
  padding:8px 11px;font-size:var(--fs-micro);line-height:1.6;max-width:260px;display:none;font-variant-numeric:tabular-nums;text-align:left}
#gxTip b{font-weight:var(--fw-med)}
.gx-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* key figures: the same standard band as the secondary figures, right under the ticker panel */
.gx-keyband{margin-top:24px;padding-top:32px;padding-bottom:32px}
.gx-keyband[hidden]{display:none}
.gx-keyband .lm{grid-template-rows:40px auto auto}
.gx-keyband .lm .v.dnv{color:var(--onnavy-link)}
.gx-keyband .lm .v.txt{font-family:var(--sans);font-size:var(--fs-head);letter-spacing:0;white-space:normal;line-height:1.3}
.gx-keyband .lm .v{white-space:nowrap}
.gx-keyband .lm .v.rng{font-size:var(--fs-head);line-height:1.4;padding-top:2px}
.gx-keyband + .gx-tabs{margin-top:32px}
@media (max-width:1000px){.gx-keyband .lm{padding:0 20px}}

/* Both bands: all cells in ONE row, as many columns as cells (auto-fit wrapped
   the fifth cell under the first). Narrow screens: two per row, then one. */
.gx-bleed .live-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.gx-bleed .lm{padding:0 24px}
.gx-bleed .lm:first-child{padding-left:0}
.gx-bleed .lm:last-child{padding-right:0;border-right:0}
@media (max-width:900px){
  .gx-bleed .live-grid{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}
  .gx-bleed .lm{padding:0 16px}
  .gx-bleed .lm:nth-child(2n+1){padding-left:0}
  .gx-bleed .lm:nth-child(2n){padding-right:0;border-right:0}
}
@media (max-width:480px){
  .gx-bleed .live-grid{grid-template-columns:minmax(0,1fr)}
  .gx-bleed .lm{padding:0;border-right:0}
}

/* ---------- screener ---------- */
.gx-scmode{margin:16px 0 0}
.gx-scband{margin-top:24px}
.gx-sctbl tr[data-sym]{cursor:pointer}
.gx-sctbl tr[data-sym]:focus-visible td{outline:none;background:var(--gray100)}
.gx-sctbl td:first-child{white-space:nowrap}
.gx-scsym{font-size:var(--fs-body)}
.gx-exp{display:block;font-size:var(--fs-micro);color:var(--danger);line-height:1.45;margin-top:2px;white-space:normal}
.gx-dim{color:var(--gray400)}
.gx-edge.up{color:#457E00}
.gx-edge.dn{color:#C0391A}
.gx-more{appearance:none;background:transparent;border:0;padding:0;margin:12px 0 0;cursor:pointer;
  font-family:var(--sans);font-size:var(--fs-meta);font-weight:var(--fw-bold);color:var(--red);line-height:1.6;
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.gx-more:focus-visible{outline:2px solid var(--info);outline-offset:2px}
/* both screener tables share one column grid, so the columns line up */
.gx-sctbl{table-layout:fixed}
.gx-sctbl th:nth-child(1),.gx-sctbl td:nth-child(1){width:13%}
.gx-sctbl th:nth-child(2),.gx-sctbl td:nth-child(2){width:11%}
.gx-sctbl th:nth-child(3),.gx-sctbl td:nth-child(3){width:20%}
.gx-sctbl th:nth-child(4),.gx-sctbl td:nth-child(4){width:18%}
.gx-sctbl th:nth-child(5),.gx-sctbl td:nth-child(5){width:16%}
.gx-sctbl th:nth-child(6),.gx-sctbl td:nth-child(6){width:22%}
.gx-sctbl th{white-space:nowrap}
.gx-sctbl td{white-space:nowrap}
.gx-sctbl td:first-child{white-space:normal}
/* phones: the table keeps its shape and scrolls sideways inside its frame */
@media (max-width:640px){
  .gx-sctbl{min-width:680px}
  .gx-t.gx-sctbl td{white-space:nowrap}
  .gx-t.gx-sctbl td:first-child{white-space:normal}
}

/* screener: favourites star, sortable headers */
.gx-star{appearance:none;background:transparent;border:0;padding:0 8px 0 0;cursor:pointer;font-size:var(--fs-body);line-height:1;color:var(--gray400);vertical-align:baseline}
.gx-star[aria-pressed="true"]{color:#C58A00}
.gx-star:focus-visible{outline:2px solid var(--info);outline-offset:2px}
.gx-sort{font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;background:transparent;border:0;padding:0;cursor:pointer}
.gx-sort:hover,.gx-sort[aria-sort]{color:var(--navy)}
.gx-sort::after{content:' ▲';font-size:.8em;color:var(--gray400)}
.gx-sort[aria-sort]::after{color:var(--navy)}
.gx-sort[aria-sort="descending"]::after{content:' ▼'}
.gx-alltbl tr[data-sym]{cursor:pointer}
.gx-alltbl td{white-space:nowrap}
.gx-alltbl th{white-space:nowrap}
/* summary band of the answers: cells are buttons that scroll to their list */
.gx-scband .lm.gx-go{appearance:none;background:transparent;border:0;border-right:1px solid var(--onnavy-line);color:inherit;text-align:left;cursor:pointer;font:inherit}
.gx-scband .lm.gx-go:last-child{border-right:0}
.gx-scband .lm.gx-go:hover .v{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.gx-scband .lm.gx-go:focus-visible{outline:2px solid var(--onnavy-link);outline-offset:4px}
.gx-scband .lm .k{min-height:0}
@media (max-width:900px){.gx-scband .lm.gx-go:nth-child(2n){border-right:0}}
@media (max-width:480px){.gx-scband .lm.gx-go{border-right:0}}

/* screener: heading, note and table read as one block; the empty line sits in the same place as a table */
#p-scan .gx-h{margin-top:40px}
#p-scan .gx-note{margin-bottom:12px}
#p-scan .gx-note + .gx-state{padding:12px 0;border-top:1px solid var(--navy);border-bottom:1px solid var(--gray200)}

/* 25.09: error bubble under the search field — out of the flow, the panel keeps its height */
.gx-toolbar .gx-pick{position:relative}
.gx-err{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:min(520px,calc(100vw - 48px));margin:0;
  padding:12px 16px;background:var(--white);border:1px solid var(--danger);border-radius:10px;
  font-size:var(--fs-meta);line-height:1.6;color:var(--danger);text-align:left}
.gx-err[hidden]{display:none}
@media (max-width:640px){.gx-err{left:0;right:auto;width:100%}}

/* the reading guide folds away; the heading is the switch */
.gx-howto > summary{list-style:none;cursor:pointer}
.gx-howto > summary::-webkit-details-marker{display:none}
.gx-howto > summary .sec-lbl{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:0}
.gx-howto[open] > summary .sec-lbl{margin-bottom:16px}
.gx-tog::after{content:'Развернуть';font-size:var(--fs-meta);font-weight:var(--fw-bold);letter-spacing:0;color:var(--red);
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.gx-howto[open] .gx-tog::after{content:'Свернуть'}
.gx-howto > summary:focus-visible{outline:2px solid var(--info);outline-offset:4px}

/* justified running text across the page, as everywhere on the site; narrow
   cells (band lines, table cells, filters) stay flush left so they do not tear */
.gx-lead,.gx-txt,.gx-note,.gx-cap,.gx-bfwd,.gx-lock p,.gx-howto p,
.gx-toolbar .gx-now,.gx-toolbar .gx-msg,.wrap > section[id^="p-"] p.gx-txt{text-align:justify}
.gx-ls,.gx-t td,.gx-t th,.gx-scfilters,.gx-extras,.gx-err,.gx-state{text-align:left}

/* screener control panel: one grey panel, every control labelled the same way */
.gx-scpanel{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px;padding:20px 24px;background:var(--gray100);border-radius:12px}
.gx-fld{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.gx-flbl{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:var(--gray400);line-height:1.45}
.gx-scpanel select{height:40px;padding:0 36px 0 12px;font-family:var(--sans);font-size:var(--fs-meta);color:var(--slate);
  background:var(--white);border:1px solid var(--gray200);border-radius:10px;min-width:150px}
.gx-scpanel select:focus{outline:2px solid var(--info);outline-offset:1px}
.gx-seg{display:inline-flex;height:40px;border:1px solid var(--gray200);border-radius:10px;overflow:hidden;background:var(--white)}
.gx-seg button{appearance:none;border:0;background:transparent;padding:0 16px;font-family:var(--sans);font-size:var(--fs-meta);
  font-weight:var(--fw-med);color:var(--navy);cursor:pointer;white-space:nowrap}
.gx-seg button + button{border-left:1px solid var(--gray200)}
.gx-seg button[aria-pressed="true"]{background:var(--navy);color:var(--white)}
.gx-seg button:focus-visible{outline:2px solid var(--info);outline-offset:-2px}
.gx-reset{appearance:none;background:transparent;border:0;padding:0;height:40px;cursor:pointer;font-family:var(--sans);font-size:var(--fs-meta);
  font-weight:var(--fw-bold);color:var(--red);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.gx-reset[hidden]{display:none}
@media (max-width:640px){.gx-fld,.gx-scpanel select{width:100%}.gx-seg{width:100%}.gx-seg button{flex:1}}
#p-scan .gx-scpanel + #scBody > .gx-h:first-child,#p-scan .gx-scpanel + #scBody > .gx-scband:first-child{margin-top:32px}
.gx-cnt{font-weight:var(--fw-reg);color:var(--gray400)}
/* company name: after the ticker, cut with an ellipsis */
.gx-t td.gx-nm,.gx-t th.gx-nm{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--slate)}
.gx-t td.gx-nm{font-size:var(--fs-meta)}
.gx-sctbl{table-layout:fixed}
.gx-sctbl th:nth-child(1),.gx-sctbl td:nth-child(1){width:11%}
.gx-sctbl th:nth-child(2),.gx-sctbl td:nth-child(2){width:21%}
.gx-sctbl th:nth-child(3),.gx-sctbl td:nth-child(3){width:10%}
.gx-sctbl th:nth-child(4),.gx-sctbl td:nth-child(4){width:16%}
.gx-sctbl th:nth-child(5),.gx-sctbl td:nth-child(5){width:13%}
.gx-sctbl th:nth-child(6),.gx-sctbl td:nth-child(6){width:13%}
.gx-sctbl th:nth-child(7),.gx-sctbl td:nth-child(7){width:16%}
@media (max-width:640px){.gx-sctbl{min-width:820px}}
.gx-alltbl{table-layout:fixed;min-width:900px}
.gx-alltbl th:nth-child(1),.gx-alltbl td:nth-child(1){width:10%}
.gx-alltbl th:nth-child(2),.gx-alltbl td:nth-child(2){width:18%}
.gx-alltbl th:nth-child(3),.gx-alltbl td:nth-child(3){width:9%}
.gx-alltbl th:nth-child(4),.gx-alltbl td:nth-child(4){width:10%}
.gx-alltbl th:nth-child(5),.gx-alltbl td:nth-child(5),.gx-alltbl th:nth-child(6),.gx-alltbl td:nth-child(6),
.gx-alltbl th:nth-child(7),.gx-alltbl td:nth-child(7){width:11%}
.gx-alltbl th:nth-child(8),.gx-alltbl td:nth-child(8){width:12%}
.gx-alltbl th:nth-child(9),.gx-alltbl td:nth-child(9){width:8%}

/* panel as a grid: switches on the first row, the four selects on the second, equal widths */
.gx-scpanel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px;align-items:end}
.gx-scpanel > .gx-fld:nth-child(1){grid-column:span 2}
.gx-scpanel > .gx-fld:nth-child(2){grid-column:span 1}
.gx-scpanel .gx-reset{grid-column:4;grid-row:1;justify-self:end}
.gx-scpanel select{width:100%;min-width:0}
@media (max-width:900px){
  .gx-scpanel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gx-scpanel > .gx-fld:nth-child(1),.gx-scpanel > .gx-fld:nth-child(2){grid-column:span 2}
  .gx-scpanel .gx-reset{grid-column:1 / -1;grid-row:auto;justify-self:start}
}
@media (max-width:480px){.gx-scpanel{grid-template-columns:minmax(0,1fr)}.gx-scpanel > .gx-fld{grid-column:auto!important}}
/* table headers may wrap onto two lines instead of running into each other */
.gx-sctbl th,.gx-alltbl th{white-space:normal;vertical-align:bottom;line-height:1.45}
.gx-alltbl th:nth-child(1),.gx-alltbl td:nth-child(1){width:9%}
.gx-alltbl th:nth-child(2),.gx-alltbl td:nth-child(2){width:17%}
.gx-alltbl th:nth-child(3),.gx-alltbl td:nth-child(3){width:8%}
.gx-alltbl th:nth-child(4),.gx-alltbl td:nth-child(4){width:10%}
.gx-alltbl th:nth-child(5),.gx-alltbl td:nth-child(5){width:11%}
.gx-alltbl th:nth-child(6),.gx-alltbl td:nth-child(6){width:12%}
.gx-alltbl th:nth-child(7),.gx-alltbl td:nth-child(7){width:11%}
.gx-alltbl th:nth-child(8),.gx-alltbl td:nth-child(8){width:13%}
.gx-alltbl th:nth-child(9),.gx-alltbl td:nth-child(9){width:9%}
/* switches keep their own width; the four selects always take the second row */
.gx-scpanel > div.gx-fld{align-items:flex-start}
.gx-scpanel > label.gx-fld{grid-row:2}
@media (max-width:900px){.gx-scpanel > label.gx-fld{grid-row:auto}}

/* 25.09: one frame on focus — the border turns Navy, no outline ring around it */
.gx-controls input:focus,.gx-controls input:focus-visible,
.gx-scpanel select:focus,.gx-scpanel select:focus-visible{outline:none;border-color:var(--navy)}
/* headers break between words, never inside a word */
.gx-sctbl th,.gx-alltbl th{overflow-wrap:normal;word-break:normal;hyphens:manual}
/* a band cell without a list is plain text, not a link */
.gx-scband .lm.gx-go:disabled{cursor:default}
.gx-scband .lm.gx-go:disabled:hover .v{text-decoration:none}
.gxp #sym:focus,#p-over ~ * #sym:focus,.gx-toolbar #sym:focus,.gx-toolbar #sym:focus-visible{outline:none;border-color:var(--navy)}

/* horizon cells: a labelled line for the expected move, another for the levels */
.gx-hrow{font-size:var(--fs-body);line-height:1.6;color:var(--slate);margin-top:8px;display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}
.gx-hrow b{font-weight:var(--fw-bold);color:var(--navy);font-variant-numeric:tabular-nums}
.gx-hk{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:.09em;text-transform:uppercase;color:var(--gray400);min-width:118px}

/* strikes tab: labelled window switch; the largest expiration row */
.gx-slctl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 8px}
.gx-slctl .gx-pills{margin:0}
.gx-t tr.gx-toprow td{background:var(--gray100);font-weight:var(--fw-bold)}

/* strikes tab, OptionCharts layout: section buttons, one control row on every chart, "shown" line, legend */
.gx-kinds{margin-bottom:24px}
.gx-pills.gx-sub{margin:0 0 12px}
.gx-ctl{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px;padding:16px 24px;background:var(--gray100);border-radius:12px;margin:0 0 24px}
.gx-ctl .gx-fld{gap:8px}
.gx-ctl select{height:40px;padding:0 36px 0 12px;font-family:var(--sans);font-size:var(--fs-meta);color:var(--slate);
  background:var(--white);border:1px solid var(--gray200);border-radius:10px;min-width:200px}
.gx-ctl select:focus,.gx-ctl select:focus-visible,.gx-ctl input:focus,.gx-ctl input:focus-visible{outline:none;border-color:var(--navy)}
.gx-ctl .gx-ls{font-size:var(--fs-micro);color:var(--gray400);line-height:1.45}
.gx-rng{display:flex;gap:8px}
.gx-rng input{height:40px;width:110px;padding:0 12px;font-family:var(--sans);font-size:var(--fs-meta);color:var(--slate);
  background:var(--white);border:1px solid var(--gray200);border-radius:10px;font-variant-numeric:tabular-nums}
.gx-h3{font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--navy);line-height:1.6;margin:32px 0 2px;text-align:left}
#slBody > .gx-h3:first-child,#slBody > .gx-lead + .gx-h3,#slBody > .gx-sub + .gx-h3{margin-top:0}
.gx-shown{font-size:var(--fs-meta);color:var(--gray400);line-height:1.6;margin:0 0 12px;text-align:left}
.gx-lead{font-size:var(--fs-body);color:var(--slate);line-height:1.6;margin:0 0 24px;text-align:left}
.gx-lead b{color:var(--navy);font-variant-numeric:tabular-nums}
.gx-legend{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:center;font-size:var(--fs-micro);color:var(--gray400);line-height:1.45;margin:8px 0 0}
.gx-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:middle}
@media (max-width:640px){.gx-ctl .gx-fld,.gx-ctl select,.gx-ctl .gx-seg{width:100%}.gx-ctl .gx-seg button{flex:1}.gx-rng input{width:50%}}

/* 25.09: ticker and price are the page's large title, the tool name sits small on the right;
   the trading-hours line stands right under the site menu, green while trading, red when closed */
.gx-now{margin:0 0 16px;font-size:var(--fs-meta);font-weight:var(--fw-med);line-height:1.6;text-align:left}
.gx-now.open{color:var(--success)}
.gx-now.closed{color:var(--danger)}
.gx-head.gx-head-quote{display:flex;align-items:baseline;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;padding:0;margin:0 0 8px}
.gx-head.gx-head-quote .gx-h1-side{order:2;margin:0;font-size:var(--fs-head);font-weight:var(--fw-med);letter-spacing:0;line-height:1.3;color:var(--gray400)}
.gx-quote-hero{display:flex;align-items:baseline;gap:16px;min-height:1.1em;font-variant-numeric:tabular-nums}
.gx-quote-hero .gx-qsym,.gx-quote-hero .gx-qpx{font-size:var(--fs-hero);line-height:1.12;letter-spacing:-.02em}
.gx-toolbar .gx-pick{margin-left:0}
@media (max-width:640px){.gx-quote-hero .gx-qsym,.gx-quote-hero .gx-qpx{font-size:var(--fs-display)}.gx-head.gx-head-quote .gx-h1-side{order:0;width:100%}}

/* 25.09 (2): trading line centred and small; tool name a step larger; the sentence and the ticker field
   in one grey panel; strikes-tab controls on a grid with labels on one line; section buttons in even rows */
.gx-now{text-align:center;font-size:var(--fs-micro);font-weight:var(--fw-med);margin:0 0 24px}
.gx-head.gx-head-quote .gx-h1-side{font-size:var(--fs-display)}
.gx-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;padding:24px 28px;background:var(--gray100);border:0;border-radius:12px;margin-top:16px}
.gx-toolbar .gx-lead{flex:1 1 24rem;min-width:0;margin:0;font-size:var(--fs-body);line-height:1.6;color:var(--slate)}
.gx-toolbar .gx-bar-main{flex:0 0 auto}
.gx-toolbar .gx-pick{margin:0}
.gx-toolbar .gx-controls input{background:var(--white)}
.gx-toolbar .gx-msg{flex:1 1 100%;margin:0}
.gx-toolbar .gx-msg[hidden]{display:none}
.gx-kinds{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 24px}
.gx-kinds button{width:100%;text-align:center}
.gx-ctl{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:start;gap:16px 24px}
.gx-ctl .gx-fld{margin:0;min-width:0}
.gx-ctl select{width:100%;min-width:0}
.gx-ctl .gx-range{grid-column:1 / -1}
@media (max-width:900px){.gx-kinds{grid-template-columns:repeat(3,minmax(0,1fr))}.gx-ctl{grid-template-columns:repeat(2,minmax(0,1fr))}.gx-ctl > .gx-fld:first-child{grid-column:1 / -1}}
@media (max-width:640px){.gx-kinds{grid-template-columns:repeat(2,minmax(0,1fr))}.gx-ctl{grid-template-columns:minmax(0,1fr)}.gx-toolbar .gx-bar-main,.gx-toolbar .gx-pick,.gx-toolbar .gx-controls input{width:100%}}

/* Touch screens: tabs get a 44px hit area */
@media (pointer:coarse){
  .gx-tabs .gx-tab{min-height:44px}
}

/* Windows 901-1100 px: the sitewide band rule for this width (two per row,
   a line over the third cell and on) must not touch the GEX bands, which
   keep every cell in one row down to 900 px. */
@media (min-width:901px) and (max-width:1100px){
  .gx-bleed .lm:nth-child(n){margin-top:0;padding:0 24px;border-top:0;border-right:1px solid var(--onnavy-line)}
  .gx-bleed .lm:first-child{padding-left:0}
  .gx-bleed .lm:last-child{padding-right:0;border-right:0}
}
@media (min-width:901px) and (max-width:1000px){
  .gx-keyband .lm:nth-child(n){padding:0 20px}
  .gx-keyband .lm:first-child{padding-left:0}
  .gx-keyband .lm:last-child{padding-right:0}
}
