/* ==========================================================================
   FN 15 — Product detail  ·  Fund / ETF / Hedge-fund pages (2027)
   --------------------------------------------------------------------------
   ONE product page, four product types.

   The legacy pages (fund / etf / etff / gidur) are all built from a single
   repeated primitive:

       panel.panel-default.box_text
         panel-heading > h3.panel-title        ← group title
         panel-body
            N × div.col-*.bg-grey1             ← label row
            N × div.col-*.bg-grey2             ← value row

   מחיר · תשואות · עלויות · פרופיל חשיפה · גודל קרן are all that same
   label-row/value-row grid. `.fn-pd-stats` replaces every one of them, which
   is what lets four pages share one design instead of four.

   Scope: every rule is under `.fn-ui .fn-pd`. Loaded by the product pages
   themselves (like 14-list.css), never from a Master page.

   Ownership:
     page rhythm       .fn-pd            spacing + type scale tokens
     identity          .fn-pd-hero
     section nav       .fn-pd-nav        sticky, opt-in per page
     desktop grid      .fn-pd-layout     main column + sticky facts rail
     metric groups     .fn-pd-stats      THE shared primitive
     performance       .fn-pd-perf       calendar / trailing / annual matrix
     charts            .fn-pd-chart      shell owns the timeframe control
     tables            .fn-pd-table      same contract as 14-list grids

   --------------------------------------------------------------------------
   THE BUBBLE PASS
   --------------------------------------------------------------------------
   The product page used to be the one surface in the product that did NOT
   speak the house language. The home feed, the boards, the article stream and
   the list pages are all bubbles on a branded canvas — one radius, one
   hairline, one lift, one padding, from fn/01-tokens.css. A fund page was a
   flat sheet with hairlines drawn on it, and the canvas was painted over with
   an opaque block so the FUNDER wallpaper never showed. Walking from the home
   page to fund.aspx felt like leaving the product.

   It now speaks the same language. Nothing moved: not one element changed
   container, order, column or position. What changed is what each module is
   MADE OF.

     1. ONE SHAPE.    Every module — hero, section nav, chart stage, each
                      returns group, each rail panel, the holdings block, the
                      legal notes — is the same bubble: --fn-bubble-radius,
                      --fn-bubble-border, --fn-bubble-bg, --fn-bubble-lift.

     2. ONE CANVAS.   .fn-pd no longer paints a background, so the fixed
                      wallpaper layer (body::before, in 21-mobile.css and
                      26-desktop.css) shows through the gaps between bubbles.
                      That gap is the only place the texture appears, which is
                      exactly how it works on the home page.

     3. TWO RADII, NEVER THREE. A bubble is --fn-bubble-radius (14px). Anything
                      drawn INSIDE a bubble — a matrix of periods, a table
                      plate, a chart tile — is --fn-bubble-radius-sm (10px).
                      The step has to be visible or the nesting reads as a
                      mistake; 12-inside-14 was the bug this replaces. A third
                      level is not allowed: a tile inside a tile is flattened
                      to hairlines instead.

     4. THE HEADING BELONGS TO ITS BUBBLE. .fn-pd-section__head keeps its rule,
                      but the rule runs full-bleed to the bubble's edge (the
                      negative-margin + matching-padding pattern from
                      fn/21-mobile.css). A divider that stops short of the
                      edge reads as an underline under a word; one that reaches
                      the edge reads as a group header. That is the whole
                      iOS-settings / Discover grammar, and it costs no markup.

   Every colour here comes from the semantic --fn-bubble-* tokens, so dark,
   ירקרק, קלאסי, לבן נקי and both accessibility high-contrast bridges follow
   without a single rule of their own.
   ========================================================================== */

.fn-ui .fn-pd {
  /* --- rhythm ---
     The section gap is the GROUP step (22px), not the peer step (14px).

     fn/01-tokens.css draws the distinction precisely: 14px means "another
     card", 22px means "another subject". A fund page is not a stream of peer
     cards — תשואות, היקף נכסים וגיוסים, חשיפה בפועל and מיקום בענף are four
     different questions, and the reader should be able to tell that without
     reading a word. At 14px they read as one long block of data that happens
     to have hairlines in it.

     14px is still right INSIDE a bubble, between things that really are peers
     — the holdings group tiles use --fn-bubble-gap directly for that reason.
     The ratio between the two is what does the work; both being 14 is what
     flattened it. */
  --fnp-gap-section: var(--fn-bubble-group-gap, 22px);
  --fnp-gap-block: 16px;
  --fnp-pad-x: 18px;
  --fnp-pad-y: 14px;
  --fnp-rail-w: 340px;
  /* Where the pinned section nav sits, from the viewport top: one breath
     under the pinned site bar (01-tokens chrome geometry), plus a drop that
     is 0 on desktop and 10px on a phone. The drop keeps the phone nav where
     the old hard-coded 67px put it (49px bar + 8 + 10); it is a component
     value, not chrome, so it lives here. */
  --fnp-nav-drop: 0px;
  --fnp-sticky-top: calc(var(--fn-chrome-bar) + var(--fn-chrome-breath) + var(--fnp-nav-drop));
  /* The rail pins under that nav: a gap below the nav, and room kept free
     under the rail's bottom edge (top 60px, 100vh - 72px tall at the
     defaults). */
  --fnp-rail-gap: 10px;
  --fnp-rail-foot: 12px;
  /* The pinned section nav: its padding and one chip row. Declared once so
     the nav, and whatever has to clear it, read the same height. */
  --fnp-nav-pad: 4px;
  --fnp-nav-chip-h: 34px;
  --fnp-nav-h: calc(2 * var(--fnp-nav-pad) + var(--fnp-nav-chip-h));

  /* --- type --- */
  --fnp-fs-label: 11px;
  --fnp-fs-value: 15px;
  --fnp-fs-body: 13px;
  --fnp-fs-meta: 11.5px;

  /* --- shape ---
     --fnp-radius / --fnp-radius-ctl stay for the controls that are neither a
     bubble nor a tile (fields, mode groups, modals). The two shapes that
     describe CONTENT are the bubble pair below, and there are only two.

     --fnp-bubble-pad is a local, not --fn-bubble-pad, because a data page is
     denser than a feed of headlines: 16px at desktop reads as the same inset
     as the home card's 14px does at phone width, and the rail drops to 14
     where the column is only 340px wide. */
  --fnp-radius: 12px;
  --fnp-radius-ctl: 8px;
  --fnp-bubble-radius: var(--fn-bubble-radius, 14px);
  --fnp-bubble-radius-in: var(--fn-bubble-radius-sm, 10px);
  --fnp-bubble-pad: 16px;

  /* --- colour: all through fn/01-tokens.css ---
     --fnp-surface is now the BUBBLE surface rather than the generic raised
     surface. On every theme those resolve to the same value except where the
     theme deliberately separates a card from a panel (ירקרק, קלאסי), and on
     those a module on this page is a card. */
  --fnp-surface: var(--fn-bubble-bg, var(--fn-bg-surface));
  --fnp-sunken: var(--fn-bg-sunken);
  --fnp-line: var(--fn-bubble-border, var(--fn-border));
  --fnp-line-soft: color-mix(in srgb, var(--fnp-line) 62%, transparent);
  --fnp-hover: var(--fn-bg-hover);
  --fnp-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* The bubble, as one declaration, so "what is a module made of" is answered
     in exactly one place and every module below just says `box-shadow:
     var(--fnp-bubble-chrome)`.

     The hairline is an INSET shadow, not a border — the same reasoning as
     fn/26-desktop.css: a border is a box-model change, and these modules hold
     tables that have already been sized against their container. An inset
     shadow paints on the same pixel and costs the layout nothing.

     --fn-bubble-lift must be the second entry in this list, never `none`: see
     the note on that token in fn/01-tokens.css. A theme that resolves it to
     the keyword would invalidate the whole declaration and the bubble would
     lose its HAIRLINE as well as its shadow. */
  --fnp-bubble-chrome:
    inset 0 0 0 1px var(--fn-bubble-border, var(--fn-border)),
    var(--fn-bubble-lift, 0 0 0 0 rgba(0, 0, 0, 0));

  position: relative;
  margin: 0 0 var(--fn-space-10, 40px);
  /* One side gutter for every product page (fund, etf, etff, gidur).
     The shell column padding below is 0 so this token is the only inset.
     It also has to be wider than a bubble's shadow spread, because
     `overflow-x: clip` below would otherwise slice the side shadows off the
     outermost bubbles. */
  --fnp-page-x: 28px;
  padding: 20px var(--fnp-page-x) 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  color: var(--fn-text-1);
  font-family: var(--fn-font-ui);
  /* THE CANVAS IS NOT OURS TO PAINT.
     This used to be `background-color: var(--fn-bg-canvas)`, an opaque sheet
     laid over the fixed wallpaper layer that 21-mobile.css and 26-desktop.css
     paint behind every page. The result: the one page where FUNDER's own
     artwork was switched off. Transparent, and the texture shows in the gaps
     between the bubbles — which is the only place it is ever meant to show. */
  background-color: transparent;
}

/* The Bootstrap row/col scaffold is kept for markup compatibility but
   contributes no horizontal geometry — one page edge, like the list pages. */
.fn-ui .fn-pd.row,
.fn-ui .fn-pd .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

/* Flatten only the page shell columns. Nested Bootstrap metric cells
   (legacy etf/gidur rows) must not be stretched to 100% or they become
   giant white label/value strips. Inner leftovers keep their own widths
   until they are converted to .fn-pd-stat / .fn-pd-fact. */
.fn-ui .fn-pd.row > [class*="col-"],
.fn-ui .fn-pd > [class*="col-"] {
  float: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Legacy panels are not styled, they are dissolved. Any panel that survives
   inside .fn-pd becomes a plain block so it cannot reintroduce the old card
   look through a route we missed. */
.fn-ui .fn-pd .panel,
.fn-ui .fn-pd .panel-default,
.fn-ui .fn-pd .panel-body,
.fn-ui .fn-pd .panel-heading {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: inherit;
}

.fn-ui .fn-pd hr.c_hr,
.fn-ui .fn-pd hr.c_hrss {
  display: none;
}

/* Compact leftover Bootstrap fact/metric rows until every route emits
   .fn-pd-fact / .fn-pd-stat. Do not restore the giant padded strips. */
.fn-ui .fn-pd .pd4_5 {
  padding: 8px 2px !important;
  line-height: 1.45;
  min-height: 0 !important;
  border-bottom: 1px solid var(--fnp-line-soft);
  background: transparent !important;
}

.fn-ui .fn-pd .bg-grey1,
.fn-ui .fn-pd .bg-grey2,
.fn-ui .fn-pd .bg-grey3 {
  padding: 7px 8px !important;
  min-height: 0 !important;
  line-height: 1.3;
}

/* ==========================================================================
   1. Hero — editorial identity, then quote. Chart is a sibling below.
   --------------------------------------------------------------------------
   The identity bubble. It was deliberately unboxed before, on the argument
   that "the name is the page, not a boxed widget" — and that argument is
   still right about TYPE: the fund name is the page headline and keeps its
   editorial size and weight, it is not a card title.

   What was wrong was the inference that an unboxed headline needs an unboxed
   BLOCK. The identity, the price, the daily move and the actions are one
   subject; a hairline under them separated them from the next subject but
   left the group itself with no edges, so on a wide window the name floated
   at the top of a sheet of nothing. As a bubble it is a single object that
   happens to lead with big type — the same thing the home page's hero does.
   ========================================================================== */

.fn-ui .fn-pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px 48px;
  margin: 0 0 var(--fnp-gap-section);
  padding: var(--fnp-bubble-pad);
  border: 0;
  border-radius: var(--fnp-bubble-radius);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: var(--fnp-bubble-chrome);
}

@media (min-width: 960px) {
  /* RTL: name on the start (right), quote on the left — both from the same top.
     The quote track is as wide as its rows. A 24rem cap was narrower than
     the three returns, so the row painted past the bubble into the page. */
  .fn-ui .fn-pd-hero {
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    padding: calc(var(--fnp-bubble-pad) + 2px) var(--fnp-bubble-pad);
  }
}

.fn-ui .fn-pd-hero__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.fn-ui .fn-pd-hero__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.fn-ui .fn-pd-hero__title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

/* Product type — tells you WHAT this is before the name. */
.fn-ui .fn-pd-hero__kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: var(--fnp-fs-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-hero__kind::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--fn-brand);
}

.fn-ui .fn-pd-hero__title,
.fn-ui .fn-pd-hero h1 {
  margin: 0;
  padding: 0;
  font-family: var(--fn-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--fn-fw-bold);
  line-height: 1.18;
  letter-spacing: 0;
  font-synthesis: none;
  color: var(--fn-text-1);
  text-align: start;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* The short code sits beside the name. It is normally a few characters, but
   it must never be the thing that widens the page, so it wraps like any other
   text rather than being pinned with nowrap. */
.fn-ui .fn-pd-hero__title .fn-pd-hero__sn {
  font-family: var(--fn-font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--fn-text-3);
  overflow-wrap: break-word;
}

.fn-ui .fn-pd-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  width: 100%;
}

.fn-ui .fn-pd-hero__mng {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: var(--fnp-fs-meta);
  color: var(--fn-text-2);
}

.fn-ui .fn-pd-hero__mng > span:not(.fn-pd-hero__meta-k) {
  color: var(--fn-text-1);
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd-hero__mng a {
  color: var(--fn-text-1);
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--fn-brand) 65%, var(--fnp-line));
}

.fn-ui .fn-pd-hero__mng a:hover {
  color: var(--fn-brand);
  border-bottom-color: var(--fn-brand);
}

.fn-ui .fn-pd-hero__class {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-size: var(--fnp-fs-meta);
  color: var(--fn-text-2);
}

.fn-ui .fn-pd-hero__meta-k {
  color: var(--fn-text-3);
  font-weight: 600;
  white-space: nowrap;
}

.fn-ui .fn-pd-hero .fn-pd-class {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.fn-ui .fn-pd-hero .fn-pd-class > span {
  display: inline-flex;
  align-items: center;
}

.fn-ui .fn-pd-hero .fn-pd-class > span:empty {
  display: none;
}

.fn-ui .fn-pd-hero .fn-pd-class > span + span:not(:empty)::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 8px;
  border-radius: 50%;
  background: var(--fn-text-3);
  opacity: 0.55;
}

.fn-ui .fn-pd-hero .fn-pd-class a {
  color: var(--fn-text-1);
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--fn-brand) 65%, var(--fnp-line));
}

.fn-ui .fn-pd-hero .fn-pd-class a:hover {
  color: var(--fn-brand);
  border-bottom-color: var(--fn-brand);
}

.fn-ui .fn-pd-hero__title-row > .fn-pd-hero__num,
.fn-ui .fn-pd-hero__title-row > h2.fundH2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--fn-text-3);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.fn-ui .fn-pd-hero__title-row > .fn-pd-hero__num::before {
  content: "מספר קרן";
  direction: rtl;
  unicode-bidi: isolate;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--fn-text-3);
}

/* --- quote: price + daily as one status line (Yahoo). Name stays the headline. --- */
.fn-ui .fn-pd-hero__now {
  min-width: 0;
  margin: 0;
  padding-top: 4px;
}

@media (min-width: 960px) {
  /* min-width: 0 above lets the grid squeeze this under the row, which is
     how the returns left the bubble. On desktop the column keeps its content. */
  .fn-ui .fn-pd-hero__now {
    min-width: max-content;
  }
}

.fn-ui .fn-pd-quote {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: start;
  align-items: end;
  column-gap: 16px;
  row-gap: 4px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--fnp-line-soft);
}

.fn-ui .fn-pd-quote__primary,
.fn-ui .fn-pd-quote__chg {
  display: contents;
}

.fn-ui .fn-pd-quote__primary .fn-pd-quote__v {
  grid-column: 1;
  grid-row: 1;
}

.fn-ui .fn-pd-quote__primary .fn-pd-quote__k {
  grid-column: 1;
  grid-row: 2;
}

.fn-ui .fn-pd-quote__chg .fn-pd-quote__v {
  grid-column: 2;
  grid-row: 1;
}

.fn-ui .fn-pd-quote__chg .fn-pd-quote__k {
  grid-column: 2;
  grid-row: 2;
}

.fn-ui .fn-pd-quote__k {
  font-size: var(--fnp-fs-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--fn-text-3);
  white-space: nowrap;
  align-self: start;
}

.fn-ui .fn-pd-quote__v {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  direction: ltr;
  unicode-bidi: isolate;
  line-height: 1;
  color: var(--fn-text-1);
  white-space: nowrap;
}

/* Status, not a second headline — sits under the fund name, next to daily. */
.fn-ui .fn-pd-quote__primary .fn-pd-quote__v {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fn-ui .fn-pd-quote__chg .fn-pd-quote__v {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Fund page: returns share the top row, buy and sell sit under them. */
.fn-ui .fn-pd-quote.fn-pd-quote--rows {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.fn-ui .fn-pd-quote__row {
  display: grid;
  justify-content: start;
  align-items: end;
  gap: 4px 22px;
}

.fn-ui .fn-pd-quote__row--ret {
  grid-template-columns: repeat(3, max-content);
}

.fn-ui .fn-pd-quote__row--px {
  grid-template-columns: repeat(2, max-content);
}

.fn-ui .fn-pd-quote__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

/* Each label sits centred under its own figure (יומית / חודש / שנה / קניה / מכירה). */
.fn-ui .fn-pd-quote--rows .fn-pd-quote__item {
  align-items: center;
  text-align: center;
}

.fn-ui .fn-pd-quote--rows .fn-pd-quote__k {
  align-self: center;
}

.fn-ui .fn-pd-quote__row--ret .fn-pd-quote__v {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fn-ui .fn-pd-quote__row--px .fn-pd-quote__v {
  font-size: 15px;
  font-weight: 700;
}

/* Secondary facts: three equal columns, label over value — not a second quote. */
.fn-ui .fn-pd-hero__state {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.fn-ui .fn-pd-hero__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.fn-ui .fn-pd-hero__cell:first-child,
.fn-ui .fn-pd-hero__cell:last-child {
  border: 0;
  padding: 0;
}

.fn-ui .fn-pd-hero__cell--lead {
  background: transparent;
}

.fn-ui .fn-pd-hero__cell-k {
  display: block;
  width: 100%;
  margin: 0;
  font-size: var(--fnp-fs-label);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fn-text-3);
  text-align: start;
}

.fn-ui .fn-pd-hero__cell-v {
  display: block;
  width: auto;
  font-size: 13px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.2;
  color: var(--fn-text-1);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
  white-space: nowrap;
}

.fn-ui .fn-pd-hero__cell--lead .fn-pd-hero__cell-v {
  font-size: 13px;
}

/* Month-to-date and year-to-date move. They sit above a static price. */
.fn-ui .fn-pd-hero__cell--ret .fn-pd-hero__cell-v {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.fn-ui .fn-pd-hero__asof {
  margin: 0;
  font-size: var(--fnp-fs-meta);
  color: var(--fn-text-3);
  white-space: nowrap;
}

.fn-ui .fn-pd-hero__asof span {
  font-variant-numeric: tabular-nums;
  color: var(--fn-text-2);
}

/* --- quick actions live in the identity block (Yahoo: follow / Maya),
     not under the chart. Span both hero columns on desktop. --- */
.fn-ui .fn-pd-hero > .fn-pd-hero__actions {
  grid-column: 1 / -1;
}

.fn-ui .fn-pd > .fn-pd-hero__actions,
.fn-ui .fn-pd-hero > .fn-pd-hero__actions,
.fn-ui .fn-pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin: 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--fnp-line-soft);
}

/* Inside the hero bubble the action row's rule runs edge to edge. A divider
   that stops short of the bubble's inner edge reads as an underline under the
   first button; one that reaches it reads as a footer for the whole card.
   The negative margin is paid back as padding, so the buttons do not move. */
.fn-ui .fn-pd-hero > .fn-pd-hero__actions {
  margin-inline: calc(var(--fnp-bubble-pad) * -1);
  margin-bottom: calc(var(--fnp-bubble-pad) * -1);
  padding: 10px var(--fnp-bubble-pad) var(--fnp-bubble-pad);
}

/* 600, not 700: 13px bold breaks Hebrew glyphs on 1x Windows (Motti, 25/11). */
.fn-ui .fn-pd-act,
.fn-ui .fn-pd .fn-pd-hero__actions .btn,
.fn-ui .fn-pd .fn-pd-hero__actions input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  color: var(--fn-text-2);
  font-family: var(--fn-font-ui);
  font-size: 13px;
  font-weight: 600;
  font-synthesis: none;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 140ms var(--fnp-ease);
}

.fn-ui .fn-pd-act:hover,
.fn-ui .fn-pd .fn-pd-hero__actions .btn:hover,
.fn-ui .fn-pd .fn-pd-hero__actions input[type="submit"]:hover {
  background-color: transparent;
  border-color: transparent;
  color: var(--fn-brand);
}

/* THE one filled control on the page.
   The selector carries .fn-pd .fn-pd-hero__actions on purpose. The reset
   above it matches `… .fn-pd-hero__actions input[type="submit"]` at (0,4,1),
   and .fn-pd-act--primary alone is (0,2,0) — so the plain-text reset was
   winning on specificity no matter which came last, and fund.aspx's and
   etf.aspx's "הוספת הקרן לתיק אישי" (an <asp:Button>, which renders as
   input[type=submit]) has been painting as unstyled text. Matching the
   reset's weight is what makes the class mean what it says. */
.fn-ui .fn-pd .fn-pd-hero__actions .fn-pd-act--primary,
.fn-ui .fn-pd .fn-pd-hero__actions input[type="submit"].fn-pd-act--primary,
.fn-ui .fn-pd-act--primary,
.fn-ui .fn-pd .fn-pd-hero__actions .btn-warning {
  padding: 0 14px;
  border: 1px solid var(--fn-brand);
  border-radius: var(--fn-radius-pill);
  background-color: var(--fn-brand);
  color: var(--fn-text-on-brand);
  box-shadow: none;
  min-height: 36px;
}

.fn-ui .fn-pd-act--accent {
  border: 0;
  background: transparent;
  color: var(--fn-text-2);
}

.fn-ui .fn-pd-act--accent:hover {
  border: 0;
  background: transparent;
  color: var(--fn-brand);
}

.fn-ui .fn-pd .fn-pd-hero__actions .fn-pd-act--primary:hover,
.fn-ui .fn-pd .fn-pd-hero__actions input[type="submit"].fn-pd-act--primary:hover,
.fn-ui .fn-pd-act--primary:hover,
.fn-ui .fn-pd .fn-pd-hero__actions .btn-warning:hover {
  background-color: var(--fn-brand-hover);
  border-color: var(--fn-brand-hover);
  color: var(--fn-text-on-brand);
}

.fn-ui .fn-pd-act:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 1px;
}

.fn-ui .fn-pd-act__ico {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.fn-ui .fn-pd-act__ico[data-ico="external"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8 8'/%3E%3Cpath d='M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8 8'/%3E%3Cpath d='M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}

.fn-ui .fn-pd-act__ico[data-ico="portfolio"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='12' rx='2'/%3E%3Cpath d='M8 8V6.8A2.8 2.8 0 0 1 10.8 4h2.4A2.8 2.8 0 0 1 16 6.8V8'/%3E%3Cpath d='M3.5 13h17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='12' rx='2'/%3E%3Cpath d='M8 8V6.8A2.8 2.8 0 0 1 10.8 4h2.4A2.8 2.8 0 0 1 16 6.8V8'/%3E%3Cpath d='M3.5 13h17'/%3E%3C/svg%3E");
}

.fn-ui .fn-pd-act__ico[data-ico="chart"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M5 15l4.2-5.2 3.2 2.6L19 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M5 15l4.2-5.2 3.2 2.6L19 6'/%3E%3C/svg%3E");
}

/* Form-postback message slot (add-to-portfolio result) */
.fn-ui .fn-pd #fsMsg:not(:empty) {
  flex: 1 1 100%;
  margin: 2px 0 0;
  font-size: var(--fnp-fs-meta);
  color: var(--fn-text-2);
}

/* ==========================================================================
   2. Section navigation — only earns its place on the long pages
   --------------------------------------------------------------------------
   A pill bar, not a ruled strip. The old construction was a full-bleed bar
   painted in the canvas colour with a hairline underneath — and once the
   canvas carries the wallpaper, "painted in the canvas colour" stops being a
   thing that exists: it would be a flat block sliding over a texture it is
   supposed to be part of.

   So the nav becomes the same object as everything else on the page: one
   bubble, pill-shaped because it holds controls rather than content. The
   track still fills the content width, so nothing shows past its ends while
   it is pinned, and the chips inside it now use the same wash-and-weight
   active state as the chart's period pills — one interaction vocabulary for
   the two toolbars on the page instead of an underline for one and a pill
   for the other.
   ========================================================================== */

.fn-ui .fn-pd-nav {
  position: sticky;
  top: var(--fnp-sticky-top);
  z-index: 20;
  margin: 0 0 var(--fnp-gap-section);
  padding: var(--fnp-nav-pad);
  border: 0;
  border-radius: var(--fn-radius-pill, 999px);
  /* Opaque, always: this box is pinned and content scrolls underneath it. */
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: var(--fnp-bubble-chrome);
  max-width: 100%;
  min-width: 0;
}

/* What follows the nav scrolls under it, so a sticky table header there
   (37-sticky-head) has to clear it. --fn-sticky-stack is measured from the
   pinned site bar and --fnp-sticky-top from the viewport, so this comes to
   breath + drop + the nav's own height. */
.fn-ui .fn-pd-nav ~ * {
  --fn-sticky-stack: calc(var(--fnp-sticky-top) + var(--fnp-nav-h) - var(--fn-chrome-bar));
}

/* One section nav only — the FN chips replace the legacy Bootstrap tabs. */
.fn-ui .fn-pd .nav-tabs.topFundTabs {
  display: none !important;
}

.fn-ui .fn-pd-nav__list {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.fn-ui .fn-pd-nav__list::-webkit-scrollbar {
  display: none;
}

.fn-ui .fn-pd-nav__list > li {
  flex: 0 0 auto;
  display: flex;
}

.fn-ui .fn-pd-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: var(--fnp-nav-chip-h);
  padding: 0 14px;
  border: 0;
  border-radius: var(--fn-radius-pill, 999px);
  background: transparent;
  color: var(--fn-text-2);
  font-family: var(--fn-font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  font-synthesis: none;
  transition: background 160ms var(--fnp-ease), color 160ms var(--fnp-ease);
}

.fn-ui .fn-pd-nav__link:hover,
.fn-ui .fn-pd-nav__link:focus {
  background: color-mix(in srgb, var(--fn-text-1) 6%, transparent);
  color: var(--fn-text-1);
  text-decoration: none;
}

/* Selected ≠ hovered. Hover is a neutral tint; the current section adds the
   approved interaction green AND a colour change on the label, so the
   selection still survives greyscale and colour-blindness (WCAG 1.4.1) —
   weight alone cannot carry it here because every chip is already 700. */
.fn-ui .fn-pd-nav__link.is-current {
  background: var(--fn-interactive-wash);
  color: var(--fn-interactive-ink);
  box-shadow: inset 0 0 0 1px var(--fn-interactive-line);
  font-family: var(--fn-font-ui);
  font-weight: 700;
  font-synthesis: none;
}

.fn-ui .fn-pd-nav__link:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: -2px;
}

/* ==========================================================================
   3. Layout — main column + sticky facts rail
   ========================================================================== */

.fn-ui .fn-pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fnp-gap-section);
  align-items: start;
}

.fn-ui .fn-pd-main,
.fn-ui .fn-pd-rail {
  min-width: 0;
}

/* A full-bleed head uses a negative inline margin. On a grid item that
   margin is part of the automatic minimum size, so the bubble grows wider
   than the column and, in RTL, the extra width hangs off the left edge,
   where the page's overflow clip cuts the border off. min-width: 0 keeps
   the bubble in the column; the head still reaches the bubble's own edges. */
.fn-ui .fn-pd-main > *,
.fn-ui .fn-pd-rail > * {
  min-width: 0;
}

/* Mobile stack is always returns first, facts second — even if a route
   emits the rail earlier in the DOM (gidur). Desktop reorders via sticky. */
.fn-ui .fn-pd-main { order: 1; }
.fn-ui .fn-pd-rail { order: 2; }

/* THE MAIN COLUMN OWNS ITS RHYTHM WITH `gap`, NOT WITH SIBLING MARGINS.
   This was `.fn-pd-main > * + * { margin-top: … }` and it silently did
   nothing: §4 below sets `.fn-pd-section { margin: 0 }` at the same
   specificity (0,2,0) and later in the file, so it won — every bubble in the
   main column was touching the next one at 0px. "תשואות" sat flush against
   "היקף נכסים וגיוסים" with only their two hairlines between them.

   `gap` cannot be clobbered that way: it belongs to the container, so a
   child's own margin is irrelevant to it. The rail has been correct all
   along for exactly this reason — it was already a grid. */
.fn-ui .fn-pd-main {
  display: grid;
  gap: var(--fnp-gap-section);
  align-content: start;
}

/* The two-column layout is a block in the shell column, so it still needs a
   margin under it — otherwise the full-width holdings section below depends
   on an inline `style="margin-top:24px"` in fund.aspx to not touch it. */
.fn-ui .fn-pd-layout {
  margin-bottom: var(--fnp-gap-section);
}

.fn-ui .fn-pd-main > .fn-pd-section .fn-pd-chart__body {
  padding-inline: 0;
}

/* THE RAIL IS A STACK OF BUBBLES, NOT ONE CARD.
   It used to be a single card with the five panels inside it divided by
   hairlines, which is a reasonable thing to build — but it means "עלויות",
   "פרופיל חשיפה", "גודל קרן", the calculator and "פרטי הקרן" all read as
   one object, and they are five answers to five different questions.

   Each is now its own bubble, at the same gap the main column uses, so the
   two columns read as one grid of modules rather than a stream on one side
   and a filing cabinet on the other. The calculator is one of those bubbles
   and looks exactly like its neighbours (see .fn-pd-tool) — it is a module,
   not a promo.

   The inline padding is shadow room: the rail becomes a scroll container at
   ≥1100px, and a scroll container clips. Without it the bubbles would lose
   their side shadows against the rail's own edges. */
.fn-ui .fn-pd-rail {
  display: grid;
  gap: var(--fnp-gap-section);
  align-content: start;
  padding-inline: 5px;
  --fnp-bubble-pad: 14px;
}

.fn-ui .fn-pd-rail > * + * {
  margin-top: 0;
}

/* ORPHANS GET A BUBBLE TOO.
   gidur.aspx still carries its investor-rating block as raw Bootstrap
   columns inside the rail — it was never converted to .fn-pd-section. While
   the whole page was flat that was invisible; on a canvas of bubbles it is a
   loose pile of controls lying on the wallpaper.

   Matching "a direct child of a column that is not a section and not a
   banner slot" rather than that block's own `.col-sm-6` means the next
   unconverted block inherits the design instead of escaping it. Banner slots
   are excluded because an ad must not be dressed as FUNDER's own module. */
.fn-ui .fn-pd-rail > div:not([id^="bnrid"]):not(.fn-pd-section),
.fn-ui .fn-pd-main > div:not([id^="bnrid"]):not(.fn-pd-section):not(.fn-pd-layout) {
  padding: var(--fnp-bubble-pad);
  border-radius: var(--fnp-bubble-radius);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: var(--fnp-bubble-chrome);
}

/* Those legacy blocks float their own children, so the bubble has to close
   over them or it collapses to its padding. */
.fn-ui .fn-pd-rail > div:not([id^="bnrid"]):not(.fn-pd-section)::after,
.fn-ui .fn-pd-main > div:not([id^="bnrid"]):not(.fn-pd-section):not(.fn-pd-layout)::after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 1100px) {
  /* RTL: first track is the START (right). Facts sit there; charts take the
     remaining pane on the left. */
  .fn-ui .fn-pd-layout {
    grid-template-columns: var(--fnp-rail-w) minmax(0, 1fr);
  }

  .fn-ui .fn-pd-rail {
    order: -1;
    position: sticky;
    top: calc(var(--fnp-sticky-top) + var(--fnp-nav-h) + var(--fnp-rail-gap));
    max-height: calc(100vh - var(--fnp-sticky-top) - var(--fnp-nav-h) - var(--fnp-rail-gap) - var(--fnp-rail-foot));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    /* Block padding is the same shadow room as the inline padding above,
       for the first and last bubble in the scroller. */
    padding-block: 4px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--fn-text-3) 40%, transparent) transparent;
    /* The bar is on the right, the outside of the page, not in the gap
       between the rail and the main column: the shared pane rule in
       00-page.css. */
  }
}

@media (min-width: 1500px) {
  .fn-ui .fn-pd { --fnp-rail-w: 380px; }
}

/* ==========================================================================
   4. Section shell — THE BUBBLE
   --------------------------------------------------------------------------
   One rule, every section, everywhere it appears: in .fn-pd-main, in
   .fn-pd-rail, inside a legacy .tab-pane (gidur's holdings) or straight in
   the page shell (fund's holdings, gidur's notes). Four pages emit sections
   in four different containers, so the bubble is defined on the section
   itself rather than on a parent — that is what stops one route quietly
   missing the design.

   Sections are never nested, so there is no second level to worry about.
   ========================================================================== */

.fn-ui .fn-pd-section {
  position: relative;
  margin: 0;
  padding: var(--fnp-bubble-pad);
  border-radius: var(--fnp-bubble-radius);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: var(--fnp-bubble-chrome);
  /* Clear the sticky header AND the sticky section nav above it. */
  scroll-margin-top: 120px;
}

/* The group header. Its rule runs full-bleed to the bubble's inner edge —
   see point 4 of the header note at the top of this file. The negative
   inline margin is paid straight back as inline padding, so no text moves:
   the LINE gets wider, the words do not. */
.fn-ui .fn-pd-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: calc(var(--fnp-bubble-pad) * -1) calc(var(--fnp-bubble-pad) * -1) var(--fnp-bubble-pad);
  padding: var(--fnp-bubble-pad) var(--fnp-bubble-pad) 10px;
  border-bottom: 1px solid var(--fnp-line-soft);
}

.fn-ui .fn-pd-section__title {
  margin: 0;
  padding: 0;
  font-family: var(--fn-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  font-synthesis: none;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-section__note {
  margin: 0;
  font-size: var(--fnp-fs-meta);
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-section__note span {
  font-variant-numeric: tabular-nums;
}

/* A note that is NOT in the head (the FXG empty-state line, gidur's holdings
   caption) sits under the content it annotates and needs its own air. */
.fn-ui .fn-pd-section > .fn-pd-section__note {
  margin-top: 10px;
}

/* ---- the tile: what a panel of data looks like INSIDE a bubble ----------
   --fnp-bubble-radius-in is 10px against the bubble's 14px. That 4px step is
   deliberate and is the minimum that reads as intentional; the old 12-inside-
   12 looked like two boxes that failed to agree.

   The hairline is --fnp-line-soft rather than --fnp-line: a tile is a
   subdivision of its bubble, not a competing edge, and at full strength the
   inner rectangle out-draws the outer one. No shadow at all — a lift inside
   a lift is how a page starts to look like a pile of receipts. */
.fn-ui .fn-pd-surface {
  border: 0;
  border-radius: var(--fnp-bubble-radius-in);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--fnp-line-soft);
  overflow: hidden;
}

/* ==========================================================================
   5. THE shared primitive — metric groups
   --------------------------------------------------------------------------
   Replaces every `bg-grey1` label row + `bg-grey2` value row in fund, etf,
   etff and gidur. Label above value, hairline separated, numbers tabular and
   LTR. No boxes, no beige, no colour unless the number carries meaning.
   ========================================================================== */

.fn-ui .fn-pd-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.fn-ui .fn-pd-stats--2 { --fnp-cols: 2; }
.fn-ui .fn-pd-stats--3 { --fnp-cols: 3; }
.fn-ui .fn-pd-stats--4 { --fnp-cols: 4; }

.fn-ui .fn-pd-stat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 16px;
  min-width: 0;
  padding: 7px 0;
  box-shadow: none;
  border-bottom: 1px solid var(--fnp-line-soft);
  transition: background-color 140ms var(--fnp-ease);
}

.fn-ui .fn-pd-stat:hover {
  background: transparent;
}

/* A stats block is an iOS-style grouped list, and that only works if the row
   separators reach the bubble's inner edge: a hairline that stops 16px short
   on both sides reads as an underline belonging to the label above it.

   Limited to blocks that sit directly on the bubble (a rail panel, an
   exposure group). A stats block nested under a .fn-pd-perf__caption is
   indented ON PURPOSE — it belongs to its caption, not to the card — so it
   keeps its inset hairlines. */
.fn-ui .fn-pd-section > .fn-pd-stats:not(.fn-pd-matrix),
.fn-ui .fn-pd-section > .fn-pd-perf > .fn-pd-stats:not(.fn-pd-matrix) {
  margin-inline: calc(var(--fnp-bubble-pad) * -1);
}

.fn-ui .fn-pd-section > .fn-pd-stats:not(.fn-pd-matrix) > .fn-pd-stat,
.fn-ui .fn-pd-section > .fn-pd-perf > .fn-pd-stats:not(.fn-pd-matrix) > .fn-pd-stat {
  padding-inline: var(--fnp-bubble-pad);
}

/* The last row never draws one. The bubble's own bottom edge is already the
   end of the list, and a separator in front of it is the single most common
   way a grouped list looks unfinished. */
.fn-ui .fn-pd-stats:not(.fn-pd-matrix) > .fn-pd-stat:last-child {
  border-bottom: 0;
}

.fn-ui .fn-pd-stat__k {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fn-text-3);
  overflow-wrap: break-word;
}

.fn-ui .fn-pd-stat__v {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fn-text-1);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: end;
  white-space: nowrap;
}

/* A figure plus a Hebrew unit ("32 מיליון", "51.3 אלף שח"). The digits stay
   an LTR run; the embedding puts the unit on the left of the number. */
.fn-ui .fn-pd-stat__v.fn-pd-stat__v--unit {
  direction: rtl;
}

/* Values that are Hebrew words, not figures (e.g. exposure code, tax status) */
.fn-ui .fn-pd-stat--text .fn-pd-stat__v {
  direction: rtl;
  font-weight: var(--fn-fw-bold);
  font-size: 13px;
  font-variant-numeric: normal;
  white-space: normal;
  text-align: end;
}

.fn-ui .fn-pd-stat__v:empty::after {
  content: "—";
  color: var(--fn-text-3);
}

/* Market tone lives on the figure, never on a container. */
.fn-ui .fn-pd .text-success,
.fn-ui .fn-pd .fn-pd-stat__v .text-success {
  color: var(--fn-market-up);
}

.fn-ui .fn-pd .text-danger,
.fn-ui .fn-pd .minusNumb,
.fn-ui .fn-pd .fn-pd-stat__v .text-danger {
  color: var(--fn-market-down);
}

.fn-ui .fn-pd .fn-pd-stat__v span,
.fn-ui .fn-pd .fn-pd-quote__v span,
.fn-ui .fn-pd .fn-pd-hero__cell-v span {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

/* Missing period: JS still emits "#" + tooltip. Show an en-dash, keep the title. */
.fn-ui .fn-pd [data-toggle="tooltipss"] {
  font-size: 0;
  font-weight: 500;
  color: var(--fn-text-3);
  cursor: help;
}

.fn-ui .fn-pd [data-toggle="tooltipss"]::before {
  content: "–";
  font-size: 14px;
  font-weight: 500;
  color: var(--fn-text-3);
}

/* ==========================================================================
   6. Performance — label row + value row (the old page's readable grammar)
   ========================================================================== */

.fn-ui .fn-pd-perf {
  display: grid;
  gap: 18px;
}

.fn-ui .fn-pd-perf__group {
  min-width: 0;
}

.fn-ui .fn-pd-perf__caption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fn-text-3);
}

/* The period matrix is a TILE inside the returns bubble: inner radius, soft
   hairline, no shadow. `border` rather than an inset shadow here on purpose —
   this grid's cells are sized in fr units against their container, so a
   border's single pixel is absorbed by the track widths instead of shifting
   anything, and a real border is what lets the cells' own inset column rules
   meet it cleanly at the corners. */
.fn-ui .fn-pd-matrix {
  --fnp-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--fnp-cols), minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--fnp-line-soft);
  border-radius: var(--fnp-bubble-radius-in);
  background: var(--fnp-surface);
  background-clip: padding-box;
}

.fn-ui .fn-pd-matrix--3 { --fnp-cols: 3; }
.fn-ui .fn-pd-matrix--4 { --fnp-cols: 4; }
.fn-ui .fn-pd-matrix--6 {
  --fnp-cols: 6;
  overflow-x: auto;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.fn-ui .fn-pd-matrix--8 {
  --fnp-cols: 8;
  overflow-x: auto;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.fn-ui .fn-pd-matrix .fn-pd-stat {
  display: contents;
}

.fn-ui .fn-pd-matrix .fn-pd-stat__k {
  grid-row: 1;
  margin: 0;
  padding: 7px 8px 6px;
  background: var(--fnp-sunken);
  box-shadow: inset -1px 0 0 var(--fnp-line-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-matrix .fn-pd-stat__v {
  grid-row: 2;
  padding: 10px 8px 11px;
  box-shadow: inset -1px 0 0 var(--fnp-line-soft);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.fn-ui .fn-pd-matrix .fn-pd-stat:last-child .fn-pd-stat__k,
.fn-ui .fn-pd-matrix .fn-pd-stat:last-child .fn-pd-stat__v {
  box-shadow: none;
}

/* The one period the page is actually about (שנה) gets a column, not a colour
   on the figure: tinting the number would collide with the up/down semantics
   the figure already carries. A continuous wash down the whole cell pair is
   read as "this column", and it is the approved interaction green at wash
   strength, so it says the same thing here as it does in the nav. */
.fn-ui .fn-pd-matrix .fn-pd-stat--hi .fn-pd-stat__k {
  color: var(--fn-text-2);
  background:
    linear-gradient(var(--fn-interactive-wash), var(--fn-interactive-wash)),
    var(--fnp-sunken);
}

.fn-ui .fn-pd-matrix .fn-pd-stat--hi .fn-pd-stat__v {
  background: var(--fn-interactive-wash);
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd-matrix .fn-pd-stat:has([data-toggle="tooltipss"]) .fn-pd-stat__k,
.fn-ui .fn-pd-matrix .fn-pd-stat:has([data-toggle="tooltipss"]) .fn-pd-stat__v {
  opacity: 0.42;
}

.fn-ui .fn-pd-years-more {
  margin-top: 8px;
}

.fn-ui .fn-pd-years-more .fn-pd-matrix {
  --fnp-cols: 10;
  grid-template-columns: repeat(10, minmax(72px, 1fr));
}

.fn-ui .fn-pd-years-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 2px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: var(--fn-fw-bold);
  color: var(--fn-text-2);
}

.fn-ui .fn-pd-years-more > summary::-webkit-details-marker {
  display: none;
}

.fn-ui .fn-pd-years-more > summary::after {
  content: "";
  width: 8px;
  height: 5px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 160ms var(--fnp-ease);
}

.fn-ui .fn-pd-years-more[open] > summary::after {
  transform: scaleY(-1);
}

.fn-ui .fn-pd-years-more[open] > summary {
  margin-bottom: 8px;
}

.fn-ui .fn-pd-section__head .fn-pd-chart__tools {
  margin-inline-start: auto;
}

.fn-ui .fn-pd-perf__caption::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--fnp-line-soft);
}

/* ==========================================================================
   7. Chart shell — the chart owns the module, the controls sit in its header
   ========================================================================== */

/* The chart stage is a bubble like any other section — it inherits the shell
   from §4 and only adjusts its rhythm here. The plot is the bubble's content,
   so the plot does NOT get a box of its own (see .fn-pd-chart-stage
   .fn-pd-chart below): one object, not a frame around a frame. */
.fn-ui .fn-pd-chart-stage {
  margin: 0 0 var(--fnp-gap-section);
}

.fn-ui .fn-pd-chart-stage > .fn-pd-section__head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  /* No rule under this one: the plot starts immediately below the title and
     a line between a heading and a chart only adds a horizontal stroke to an
     image that is already made of horizontal strokes. */
  margin: calc(var(--fnp-bubble-pad) * -1) calc(var(--fnp-bubble-pad) * -1) 6px;
  padding: var(--fnp-bubble-pad) var(--fnp-bubble-pad) 0;
  border-bottom: 0;
}

.fn-ui .fn-pd-chart-stage > .fn-pd-section__head .fn-pd-section__title {
  font-family: var(--fn-font-ui);
  font-weight: 700;
  font-synthesis: none;
}

/* The plot runs edge to edge inside the stage and draws no box of its own.
   A chart is the one kind of content that is WORSE for being inset: the axis
   labels already provide its margin, and 16px of white on each side only
   makes the plot narrower than the card it is the whole point of. */
.fn-ui .fn-pd-chart-stage .fn-pd-chart {
  margin-inline: calc(var(--fnp-bubble-pad) * -1);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fn-ui .fn-pd-chart-stage .fn-pd-chart__body {
  padding: 0;
  background: transparent;
}

/* …and the period pills get their air back under it. */
.fn-ui .fn-pd-chart-stage > .fn-pd-ranges,
.fn-ui .fn-pd-chart > .fn-pd-ranges {
  margin-top: 10px;
}

/* Period strip: compact segmented control under the plot. */
.fn-ui .fn-pd-ranges {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: 100%;
  min-width: 0;
}

.fn-ui .fn-pd-ranges__track {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  padding: 3px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-sunken);
  /* Same order as the market rails: חודש on the right, 5ש׳ on the left.
     The button keeps data-fn-range, so getFundGraph still asks for that window. */
  direction: rtl;
}

.fn-ui .fn-pd-ranges__track::-webkit-scrollbar {
  display: none;
}

.fn-ui .fn-pd-ranges__btn {
  flex: 0 0 auto;
  min-height: 28px;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-radius: var(--fn-radius-pill);
  background: transparent;
  color: var(--fn-text-2);
  font-family: var(--fn-font-ui);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-synthesis: none;
  transition: background 160ms var(--fnp-ease), color 160ms var(--fnp-ease), box-shadow 160ms var(--fnp-ease);
}

.fn-ui .fn-pd-ranges__btn:hover {
  color: var(--fn-text-1);
  background: color-mix(in srgb, var(--fn-text-1) 6%, transparent);
}

.fn-ui .fn-pd-ranges__btn.is-active {
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font-family: var(--fn-font-ui);
  font-weight: 700;
  font-synthesis: none;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--fn-text-1) 12%, transparent);
}

.fn-ui .fn-pd-ranges__btn:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 1px;
}

.fn-ui .fn-pd-ranges #graphLoader,
.fn-ui .fn-pd-ranges #graphLoader2,
.fn-ui .fn-pd-ranges #graphLoader3 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
}

.fn-ui .fn-pd-chart-stage.is-loading .fn-pd-chart {
  position: relative;
}

.fn-ui .fn-pd-chart-stage.is-loading .fn-pd-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  /* The veil has to match what is UNDER the plot, and that is now the
     bubble, not the page canvas. */
  background: color-mix(in srgb, var(--fnp-surface) 35%, transparent);
}

html.fn-pd-has-chart .ui-daterangepickercontain,
html.fn-pd-has-chart .ui-daterangepicker {
  display: none !important;
}

.fn-ui .fn-pd-ranges .fn-pd-chart__tools--legacy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fn-ui .fn-pd-chart-stage .fundChart,
.fn-ui .fn-pd-chart-stage .c3 {
  min-height: 220px !important;
  height: 220px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* template.css forces #chart_fund1 svg { height:350px } — that is the empty
   band between the plot and the period buttons. Keep the SVG as tall as the
   stage, not taller. */
.fn-ui .fn-pd #chart_fund1 svg,
.fn-ui .fn-pd #chart_fund1MY svg,
.fn-ui .fn-pd-chart-stage .fundChart svg {
  display: block;
  height: 220px !important;
  max-height: 220px;
  margin: 0;
}

@media (min-width: 1100px) {
  .fn-ui .fn-pd-chart-stage .fundChart {
    min-height: 280px !important;
    height: 280px;
  }
  .fn-ui .fn-pd #chart_fund1 svg,
  .fn-ui .fn-pd #chart_fund1MY svg,
  .fn-ui .fn-pd-chart-stage .fundChart svg {
    height: 280px !important;
    max-height: 280px;
  }
}

/* A chart that is NOT the page's own chart stage — the two plots inside
   "היקף נכסים וגיוסים", which are two peers in one bubble. They are tiles:
   inner radius, soft hairline, no lift. `overflow: visible` stays because
   their period dropdown opens past the tile's edge. */
.fn-ui .fn-pd-chart {
  border: 0;
  border-radius: var(--fnp-bubble-radius-in);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--fnp-line-soft);
  overflow: visible;
}

.fn-ui .fn-pd-chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--fnp-line-soft);
}

/* 600, not 700: 13px bold breaks Hebrew glyphs on 1x Windows (Motti, 25/11). */
.fn-ui .fn-pd-chart__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-chart__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.fn-ui .fn-pd-chart__body {
  position: relative;
  padding: 0;
  min-width: 0;
  background: transparent;
}

.fn-ui .fn-pd .fundChart,
.fn-ui .fn-pd .fn-pd-chart__body,
.fn-ui .fn-pd .c3 {
  min-width: 0;
  max-width: 100%;
  direction: ltr;
}

/* c3 needs its own surface integration — stroke/axis/grid read from tokens. */
.fn-ui .fn-pd .c3 svg { display: block; font-family: var(--fn-font-ui); overflow: hidden; }
.fn-ui .fn-pd .c3 path.domain,
.fn-ui .fn-pd .c3 .c3-axis line,
.fn-ui .fn-pd .c3 .tick line { stroke: var(--fnp-line); }
.fn-ui .fn-pd .c3 .c3-axis text,
.fn-ui .fn-pd .c3 .tick text { fill: var(--fn-text-3); font-size: 10px; }
.fn-ui .fn-pd .c3 .c3-grid line { stroke: color-mix(in srgb, var(--fnp-line-soft) 70%, transparent); }
.fn-ui .fn-pd .c3 .c3-legend-item text { fill: var(--fn-text-2); font-size: 11px; }
.fn-ui .fn-pd .c3-line { stroke-width: 1.9px !important; stroke-linecap: round; stroke-linejoin: round; }
.fn-ui .fn-pd .c3-area { opacity: 0.07 !important; }
.fn-ui .fn-pd .c3-circle { display: none; }
.fn-ui .fn-pd .c3-chart-line .c3-circles-p,
.fn-ui .fn-pd .c3-targeted .c3-circle { display: inline; }
.fn-ui .fn-pd .c3-circle._expanded_ {
  display: inline;
  fill: var(--fn-accent) !important;
  stroke: var(--fnp-surface) !important;
  stroke-width: 2px;
}
.fn-ui .fn-pd .c3-chart-bar .c3-bar {
  fill: var(--fn-accent) !important;
  opacity: 0.82;
}
.fn-ui .fn-pd .c3-chart-bar .c3-bar._expanded_ {
  opacity: 1;
}
.fn-ui .fn-pd .c3-xgrid,
.fn-ui .fn-pd .c3-ygrid {
  stroke-dasharray: 3 5;
}
.fn-ui .fn-pd .c3 .c3-axis-x .tick text {
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd .c3-tooltip-container .c3-tooltip,
.fn-ui .fn-pd .c3-tooltip {
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-compact);
  background: var(--fn-bg-raised);
  box-shadow: var(--fn-shadow-pop);
  opacity: 1;
  font-size: 12px;
  overflow: hidden;
}

.fn-ui .fn-pd .c3-tooltip th {
  padding: 6px 10px;
  border: 0;
  background: var(--fnp-sunken);
  color: var(--fn-text-3);
  font-size: 11px;
  font-weight: 700;
  text-align: start;
}

.fn-ui .fn-pd .c3-tooltip td {
  padding: 5px 10px;
  border: 0;
  border-top: 1px solid var(--fnp-line-soft);
  background: var(--fn-bg-raised);
  color: var(--fn-text-1);
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd .c3-tooltip td.name { color: var(--fn-text-2); }

.fn-ui .fn-pd-chart-stage .c3-tooltip-container {
  display: none;
}

/* ==========================================================================
   7b. Live crosshair + FUNDER Replay
   ========================================================================== */

.fn-ui .fn-pd-replay-launch {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: auto;
  min-height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font-family: var(--fn-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-synthesis: none;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 160ms var(--fnp-ease), background 160ms var(--fnp-ease);
}

.fn-ui .fn-pd-replay-launch:hover:not(:disabled) {
  border-color: var(--fn-text-3);
  background: var(--fnp-hover);
}

.fn-ui .fn-pd-replay-launch.is-on {
  border-color: var(--fn-text-1);
  background: var(--fn-text-1);
  /* Knockout against the fill. The surface it is cut out of is the bubble. */
  color: var(--fnp-surface);
  font-family: var(--fn-font-ui);
  font-weight: 700;
  font-synthesis: none;
}

.fn-ui .fn-pd-replay-launch:disabled,
.fn-ui .fn-pd-replay-launch.is-muted {
  opacity: 0.45;
}

.fn-ui .fn-pd-replay-launch.is-muted {
  cursor: pointer;
}

.fn-ui .fn-pd-replay-launch:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 2px;
}

.fn-ui .fn-pd-replay-launch__ico {
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M3 1.6v8.8L11 6z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M3 1.6v8.8L11 6z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.fn-ui .fn-pd-replay-launch.is-on .fn-pd-replay-launch__ico {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2.2 2.2h7.6v7.6H2.2z'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2.2 2.2h7.6v7.6H2.2z'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.fn-ui .fn-pd-chart-stage.is-replay .fn-pd-replay-launch {
  display: none;
}

.fn-ui .fn-pd-live-hud {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--fnp-line-soft);
  font-family: var(--fn-font-ui);
  font-synthesis: none;
}

.fn-ui .fn-pd-live-hud[hidden] {
  display: none;
}

.fn-ui .fn-pd-live-hud__read {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  min-width: 0;
}

.fn-ui .fn-pd-live-hud__date {
  margin: 0;
  color: var(--fn-text-3);
  font-size: 12px;
  font-weight: var(--fn-fw-bold);
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd-live-hud__val {
  margin: 0;
  color: var(--fn-text-1);
  font-size: 20px;
  font-weight: var(--fn-fw-extrabold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fn-ui .fn-pd-live-hud__ret {
  margin: 0;
  color: var(--fn-text-2);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd-live-hud__ret[data-sign="up"] { color: var(--fn-up); }
.fn-ui .fn-pd-live-hud__ret[data-sign="down"] { color: var(--fn-down); }

.fn-ui .fn-pd-live-hud__transport {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fn-ui .fn-pd-live-hud__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  cursor: pointer;
  appearance: none;
}

.fn-ui .fn-pd-live-hud__icon:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 2px;
}

.fn-ui .fn-pd-live-hud__icon[data-fn-live="play"].is-play {
  background: var(--fn-text-1);
  border-color: var(--fn-text-1);
  color: var(--fnp-surface);
}

.fn-ui .fn-pd-live-hud__icon::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  background: currentColor;
}

.fn-ui .fn-pd-live-hud__icon[data-fn-live="play"].is-play::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M3 1.6v8.8L11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M3 1.6v8.8L11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fn-ui .fn-pd-live-hud__icon[data-fn-live="play"].is-pause::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2.5 2h2.2v8H2.5zm4.8 0H9.5v8H7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2.5 2h2.2v8H2.5zm4.8 0H9.5v8H7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fn-ui .fn-pd-live-hud__icon[data-fn-live="restart"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2 2h1.6v8H2zm2.4 0L11 6 4.4 10z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M2 2h1.6v8H2zm2.4 0L11 6 4.4 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fn-ui .fn-pd-live-hud__scrub {
  flex: 1 1 120px;
  min-width: 80px;
  height: 28px;
  margin: 0;
  direction: ltr;
  accent-color: var(--fn-text-1);
  cursor: pointer;
}

.fn-ui .fn-pd-live-hud__speeds {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-sunken);
}

.fn-ui .fn-pd-live-hud__speeds button {
  min-width: 34px;
  min-height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: var(--fn-radius-pill);
  background: transparent;
  color: var(--fn-text-2);
  font-family: var(--fn-font-ui);
  font-size: 11px;
  font-weight: 700;
  font-synthesis: none;
  cursor: pointer;
}

.fn-ui .fn-pd-live-hud__speeds button.is-active {
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font-family: var(--fn-font-ui);
  font-weight: 700;
  font-synthesis: none;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--fn-text-1) 10%, transparent);
}

.fn-ui .fn-pd-live-hud__exit {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: transparent;
  color: var(--fn-text-1);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.fn-ui .fn-pd-live-hud__exit:hover {
  background: var(--fnp-hover);
}

.fn-ui .fn-pd-live-hud__icon:focus-visible,
.fn-ui .fn-pd-live-hud__speeds button:focus-visible,
.fn-ui .fn-pd-live-hud__exit:focus-visible,
.fn-ui .fn-pd-live-hud__scrub:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 2px;
}

.fn-ui .fn-pd-chart__body {
  position: relative;
}

.fn-ui .fn-pd-live__plot {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.fn-ui .fn-pd-live__v,
.fn-ui .fn-pd-live__h {
  position: absolute;
  background: color-mix(in srgb, var(--fn-text-1) 38%, transparent);
  opacity: 0;
  pointer-events: none;
}

.fn-ui .fn-pd-live__v {
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-0.5px);
}

.fn-ui .fn-pd-live__h {
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-0.5px);
}

/* FUNDER Replay hides the not-yet-played part of the series by painting over
   it, so this colour MUST be whatever the plot is sitting on. The plot moved
   onto the bubble; left at --fn-bg-canvas the mask would be a visibly
   different shade of panel sliding across the chart. */
.fn-ui .fn-pd-live__mask {
  position: absolute;
  display: none;
  z-index: 1;
  background: var(--fnp-surface);
  pointer-events: none;
}

.fn-ui .fn-pd-live__mask[hidden] {
  display: none !important;
}

.fn-ui .fn-pd-live__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border: 2px solid var(--fnp-surface);
  border-radius: 50%;
  background: var(--fn-text-1);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fn-text-1) 35%, transparent);
}

.fn-ui .fn-pd-live__plot.is-on .fn-pd-live__v,
.fn-ui .fn-pd-live__plot.is-on .fn-pd-live__h,
.fn-ui .fn-pd-live__plot.is-on .fn-pd-live__dot,
.fn-ui .fn-pd-live__plot.is-on .fn-pd-live__tip {
  opacity: 1;
}

.fn-ui .fn-pd-live__tip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 108px;
  max-width: min(220px, calc(100% - 16px));
  padding: 7px 10px 8px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-compact);
  background: var(--fn-bg-raised);
  box-shadow: var(--fn-shadow-pop);
  color: var(--fn-text-1);
  opacity: 0;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd-live__tip-d {
  color: var(--fn-text-3);
  font-size: 11px;
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd-live__tip-v {
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fn-ui .fn-pd-live__tip-c {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.fn-ui .fn-pd-live__tip-c[data-sign="up"] { color: var(--fn-market-up); }
.fn-ui .fn-pd-live__tip-c[data-sign="down"] { color: var(--fn-market-down); }
.fn-ui .fn-pd-live__tip-c[data-sign="flat"] { color: var(--fn-text-3); }
.fn-ui .fn-pd-live__tip-c[hidden] { display: none; }

/* lead:'change' (fund page): the return is the headline, the price is the note. */
.fn-ui .fn-pd-live__tip-v[data-sign="up"] { color: var(--fn-market-up); }
.fn-ui .fn-pd-live__tip-v[data-sign="down"] { color: var(--fn-market-down); }
.fn-ui .fn-pd-live__tip-v[data-sign="flat"] { color: var(--fn-text-1); }
.fn-ui .fn-pd-live__tip-c[data-sign="value"] {
  color: var(--fn-text-2);
  font-weight: 600;
}

.fn-ui .fn-pd-live__plot.is-missing .fn-pd-live__tip-v {
  color: var(--fn-text-3);
  font-weight: var(--fn-fw-bold);
  font-size: 12px;
}

.fn-ui .fn-pd-live__hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: auto;
  touch-action: pan-y;
  cursor: crosshair;
}

.fn-ui .fn-pd-chart-stage.is-replay .fn-pd-live__hit {
  cursor: ew-resize;
}

@media (max-width: 767px) {
  .fn-ui .fn-pd-chart-stage > .fn-pd-section__head {
    flex-direction: row;
    align-items: center;
  }

  .fn-ui .fn-pd-live-hud {
    gap: 10px;
  }

  .fn-ui .fn-pd-live-hud__val {
    font-size: 18px;
  }

  .fn-ui .fn-pd-live-hud__transport {
    flex-wrap: wrap;
  }

  .fn-ui .fn-pd-live-hud__scrub {
    flex: 1 1 100%;
    min-width: 0;
    order: -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fn-ui .fn-pd-ranges__btn,
  .fn-ui .fn-pd-replay-launch,
  .fn-ui .fn-pd-live__v,
  .fn-ui .fn-pd-live__h,
  .fn-ui .fn-pd-live__dot,
  .fn-ui .fn-pd-live__tip {
    transition: none;
  }
}

/* Chart period controls: the legacy daterangepicker input + native selects. */
.fn-ui .fn-pd .datePickerM,
.fn-ui .fn-pd .fn-pd-chart__tools > div {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.fn-ui .fn-pd .fn-pd-chart__tools .form-control,
.fn-ui .fn-pd select.form-control,
.fn-ui .fn-pd .datePickerM .form-control,
.fn-ui .fn-pd #graphPeriodPicker {
  float: none !important;
  width: auto !important;
  min-width: 148px;
  max-width: 220px;
  height: 36px !important;
  padding: 4px 36px 4px 14px !important;
  border: 1px solid var(--fn-border) !important;
  border-radius: var(--fn-radius-pill, 999px) !important;
  background: var(--fn-bg-surface) !important;
  color: var(--fn-text-1) !important;
  font-family: var(--fn-font-ui) !important;
  font-size: 12.5px !important;
  font-weight: var(--fn-fw-bold) !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.fn-ui .fn-pd .fn-pd-chart__tools .caret,
.fn-ui .fn-pd .datePickerM .caret {
  position: absolute;
  inset-inline-end: 12px;
  margin: 0;
  pointer-events: none;
  border: 0;
  width: 10px;
  height: 6px;
  background-color: var(--fn-text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Compact FN dropdowns inside the product page (chart period, etc.). */
.fn-ui .fn-pd .fn-dd {
  position: relative;
  min-width: 0;
  z-index: 4;
}

.fn-ui .fn-pd .fn-dd.is-open {
  z-index: 40;
}

.fn-ui .fn-pd .fn-dd__panel {
  width: max(100%, 180px);
  min-width: 168px;
  max-width: 240px;
}

.fn-ui .fn-pd .fn-dd__trigger {
  min-width: 148px;
  max-width: 220px;
  height: 36px;
  min-height: 36px;
  padding-inline-start: 14px;
  padding-inline-end: 36px;
  border-radius: var(--fn-radius-pill, 999px);
}

.fn-ui .fn-pd .fn-pd-chart__tools img {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   8. Facts — definition pairs for the identity / policy content
   ========================================================================== */

.fn-ui .fn-pd-facts {
  margin: 0;
  padding: 0;
}

.fn-ui .fn-pd-fact {
  display: grid;
  grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
  gap: 4px 14px;
  padding: 12px 2px;
  border-top: 1px solid var(--fnp-line-soft);
}

.fn-ui .fn-pd-fact:first-child {
  border-top: 0;
}

/* Same grouped-list treatment as .fn-pd-stats: the separators between facts
   reach the bubble's inner edge, because a definition list is the content of
   the card rather than a table drawn on it. */
.fn-ui .fn-pd-section > .fn-pd-facts {
  margin-inline: calc(var(--fnp-bubble-pad) * -1);
}

/* etf.aspx / etff.aspx append the מאפיינים fact after the server-built
   .fn-pd-facts block rather than inside it, so a fact can also be a direct
   child of the bubble. Both spellings get the same row. */
.fn-ui .fn-pd-section > .fn-pd-fact {
  margin-inline: calc(var(--fnp-bubble-pad) * -1);
}

.fn-ui .fn-pd-section > .fn-pd-facts > .fn-pd-fact,
.fn-ui .fn-pd-section > .fn-pd-fact {
  padding-inline: var(--fnp-bubble-pad);
}

.fn-ui .fn-pd-fact__k {
  margin: 0;
  font-size: var(--fnp-fs-label);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-fact__v {
  margin: 0;
  min-width: 0;
  font-size: var(--fnp-fs-body);
  line-height: 1.5;
  color: var(--fn-text-1);
  overflow-wrap: break-word;
}

.fn-ui .fn-pd-fact__v a {
  color: var(--fn-text-1);
  text-decoration: none;
  border-bottom: 1px solid var(--fnp-line);
}

.fn-ui .fn-pd-fact__v a:hover {
  color: var(--fn-brand);
  border-bottom-color: var(--fn-brand);
}

.fn-ui .fn-pd-fact--block {
  grid-template-columns: minmax(0, 1fr);
}

.fn-ui .fn-pd-fact--block .fn-pd-fact__v {
  font-size: 12.5px;
  color: var(--fn-text-2);
}

/* Classification chain: three linked tiers reading as a hierarchy. */
.fn-ui .fn-pd-class {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}

.fn-ui .fn-pd-class a,
.fn-ui .fn-pd-class span a {
  color: var(--fn-text-1);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.fn-ui .fn-pd-class a:hover {
  color: var(--fn-brand);
  border-bottom-color: var(--fn-brand);
}

/* legacy colour classes on the tier links are neutralised — the hierarchy is
   carried by size and weight, not by red/blue text. */
.fn-ui .fn-pd-class .text-danger,
.fn-ui .fn-pd-class .text-info,
.fn-ui .fn-pd-class a.text-danger,
.fn-ui .fn-pd-class a.text-info {
  color: var(--fn-text-1);
}

/* ==========================================================================
   9. Characteristic chips (legacy .cube_box)
   ========================================================================== */

.fn-ui .fn-pd-chips,
.fn-ui .fn-pd #cube_text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  text-align: start;
}

.fn-ui .fn-pd .cube_box {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 1px solid var(--fnp-line) !important;
  border-radius: var(--fn-radius-pill) !important;
  background: var(--fnp-sunken) !important;
  color: var(--fn-text-2) !important;
  font-size: var(--fnp-fs-meta);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  float: none !important;
}

.fn-ui .fn-pd #noprop {
  color: var(--fn-text-3);
  font-size: var(--fnp-fs-meta);
}

/* ==========================================================================
   10. Peer ranking — position within the category
   ========================================================================== */

.fn-ui .fn-pd-rank {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.fn-ui .fn-pd-rank th,
.fn-ui .fn-pd-rank td {
  padding: 10px 14px;
  border: 0 !important;
  border-top: 1px solid var(--fnp-line-soft) !important;
  background: transparent !important;
  background-color: transparent !important;
  vertical-align: middle;
  font-size: 13px;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-rank tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--fn-brand-soft) 40%, var(--fnp-surface)) !important;
}

.fn-ui .fn-pd-rank tbody tr:hover td {
  background: var(--fn-brand-soft) !important;
}

.fn-ui .fn-pd-rank thead th {
  border-top: 0 !important;
  border-bottom: 1px solid var(--fnp-line) !important;
  background: var(--fnp-sunken) !important;
  color: var(--fn-text-3) !important;
  font-size: var(--fnp-fs-label);
  font-weight: 600;
  text-align: center;
}

.fn-ui .fn-pd-rank thead th:first-child { text-align: start; }

.fn-ui .fn-pd-rank__k {
  color: var(--fn-text-2);
  font-size: 12px;
}

.fn-ui .fn-pd-rank__v {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
  color: var(--fn-text-1);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.fn-ui .fn-pd-rank__pos {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-rank__pos strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4em;
  padding: 4px 8px;
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-sunken);
  font-weight: 700;
}

.fn-ui .fn-pd-rank .star_box,
.fn-ui .fn-pd .star_box,
.fn-ui .fn-pd td .star_box {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 6px 10px !important;
  border: 1px solid var(--fnp-line-soft) !important;
  border-radius: var(--fn-radius-pill) !important;
  background: var(--fnp-surface) !important;
  background-color: var(--fnp-surface) !important;
  box-shadow: none !important;
}

.fn-ui .fn-pd .star_box img {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   11. Tables — same contract as the 14-list grids
   ========================================================================== */

.fn-ui .fn-pd-tablewrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

/* Inside a .fn-pd-surface the plate is already drawn, so the wrapper adds
   nothing but the scroller. Standing on the bubble by itself (gidur's
   holdings) it becomes the plate. */
.fn-ui .fn-pd-section > .fn-pd-tablewrap {
  border-radius: var(--fnp-bubble-radius-in);
  background: var(--fnp-surface);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--fnp-line-soft);
}

.fn-ui .fn-pd-tablewrap > .fn-pd-scroll,
.fn-ui .fn-pd .dataTables_wrapper .fn-pd-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  background: var(--fnp-surface);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--fn-text-3) 45%, transparent) transparent;
}

.fn-ui .fn-pd .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fn-ui .fn-pd table.table,
.fn-ui .fn-pd table.dataTable {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font-size: 12.5px;
}

.fn-ui .fn-pd table.table > thead > tr > th,
.fn-ui .fn-pd table.dataTable thead th,
.fn-ui .fn-pd table.dataTable thead td,
.fn-ui .fn-pd table thead tr {
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--fnp-line);
  background-color: color-mix(in srgb, var(--fn-brand) 6%, var(--fnp-sunken)) !important;
  background-image: none !important;
  color: var(--fn-text-2) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.fn-ui .fn-pd table.table > tbody > tr > td,
.fn-ui .fn-pd table.dataTable tbody td {
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--fnp-line-soft);
  background-color: var(--fnp-surface) !important;
  background-image: none !important;
  color: var(--fn-text-1);
  vertical-align: middle;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  transition: background-color 120ms var(--fnp-ease);
}

.fn-ui .fn-pd table.table > thead > tr > th:first-child,
.fn-ui .fn-pd table.table > tbody > tr > td:first-child,
.fn-ui .fn-pd table.table > tfoot > tr > th:first-child,
.fn-ui .fn-pd table.dataTable thead th:first-child,
.fn-ui .fn-pd table.dataTable tbody td:first-child {
  text-align: start;
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd table.table > tfoot > tr > th,
.fn-ui .fn-pd table.dataTable tfoot th {
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--fnp-line);
  background-color: var(--fnp-sunken) !important;
  background-image: none !important;
  color: var(--fn-text-1) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.fn-ui .fn-pd .holding-weighted-daily-row th {
  background-color: color-mix(in srgb, var(--fn-brand) 6%, var(--fnp-sunken)) !important;
}

.fn-ui .fn-pd .bg-grey1,
.fn-ui .fn-pd .bg-grey2,
.fn-ui .fn-pd .bg-grey3,
.fn-ui .fn-pd .bg-grey {
  background: var(--fnp-surface) !important;
}

/* Holdings: the % column is the scannable one — a soft brand wash, not beige. */
.fn-ui .fn-pd #HoldingItemsTables table.table tbody td:nth-child(2),
.fn-ui .fn-pd #HoldingItemsTables table.table tfoot th:nth-child(2),
.fn-ui .fn-pd #HoldingItemsTablesPrev table.table tbody td:nth-child(2),
.fn-ui .fn-pd #HoldingItemsTablesPrev table.table tfoot th:nth-child(2) {
  background: color-mix(in srgb, var(--fn-brand) 12%, var(--fnp-surface)) !important;
  font-size: 14px;
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd #HoldingItemsTables table.table tbody tr:hover > td,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.table tbody tr:hover > td {
  background-color: var(--fn-brand-soft) !important;
}

.fn-ui .fn-pd #HoldingItemsTables table.table tbody tr:hover > td:nth-child(2),
.fn-ui .fn-pd #HoldingItemsTablesPrev table.table tbody tr:hover > td:nth-child(2) {
  background: color-mix(in srgb, var(--fn-brand) 18%, var(--fnp-surface)) !important;
}

/* DataTables ships `table.dataTable.display tbody tr.odd > .sorting_1` at
   (0,4,3) and loads after us; carrying .dataTable here makes ours (0,5,3) so
   the striped/sorted column cannot repaint itself near-white. */
.fn-ui .fn-pd table.dataTable tbody tr,
.fn-ui .fn-pd table.dataTable.display tbody tr.odd,
.fn-ui .fn-pd table.dataTable.display tbody tr.even,
.fn-ui .fn-pd table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: transparent;
  background-image: none;
}

.fn-ui .fn-pd table.dataTable.display tbody tr > td,
.fn-ui .fn-pd table.dataTable.display tbody tr.even > td,
.fn-ui .fn-pd table.dataTable.display tbody tr.even > td.sorting_1,
.fn-ui .fn-pd table.dataTable.display tbody tr > td.sorting_1,
.fn-ui .fn-pd table.table-striped > tbody > tr:nth-of-type(even) > td {
  background-color: var(--fnp-surface) !important;
}

.fn-ui .fn-pd table.dataTable.display tbody tr.odd > td,
.fn-ui .fn-pd table.dataTable.display tbody tr.odd > td.sorting_1,
.fn-ui .fn-pd table.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: color-mix(in srgb, var(--fn-brand-soft) 45%, var(--fnp-surface)) !important;
}

.fn-ui .fn-pd table.dataTable.display tbody tr:hover > td,
.fn-ui .fn-pd table.dataTable.display tbody tr:hover > td.sorting_1,
.fn-ui .fn-pd table.table-hover > tbody > tr:hover > td,
.fn-ui .fn-pd table.table > tbody > tr:hover > td {
  background-color: var(--fn-brand-soft) !important;
}

.fn-ui .fn-pd table.table tbody tr:hover td:first-child,
.fn-ui .fn-pd table.dataTable tbody tr:hover td:first-child {
  box-shadow: inset -3px 0 0 var(--fn-brand);
}

.fn-ui .fn-pd table.dataTable thead th.sorting,
.fn-ui .fn-pd table.dataTable thead th.sorting_asc,
.fn-ui .fn-pd table.dataTable thead th.sorting_desc {
  background-image: none;
  cursor: pointer;
}

.fn-ui .fn-pd table.dataTable tbody td a,
.fn-ui .fn-pd table.table tbody td a,
.fn-ui .fn-pd .text-primary {
  color: var(--fn-text-1);
  text-decoration: none;
}

.fn-ui .fn-pd table.dataTable tbody td a:hover,
.fn-ui .fn-pd table.table tbody td a:hover,
.fn-ui .fn-pd .text-primary:hover {
  color: var(--fn-brand);
}

.fn-ui .fn-pd .dataTables_wrapper .dataTables_info,
.fn-ui .fn-pd .dataTables_wrapper .dataTables_paginate,
.fn-ui .fn-pd .dataTables_wrapper .dataTables_filter,
.fn-ui .fn-pd .dataTables_wrapper .dataTables_length {
  float: none;
  margin: 0;
  padding: 8px var(--fnp-pad-x);
  color: var(--fn-text-3);
  font-size: 12px;
}

.fn-ui .fn-pd .dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  margin: 0 1px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: var(--fn-radius-sm);
  background: transparent;
  color: var(--fn-text-2);
  box-shadow: none;
}

.fn-ui .fn-pd .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border-color: var(--fnp-line);
  background: var(--fnp-sunken);
  color: var(--fn-text-1);
}

/* ==========================================================================
   12. Legal notes — present, complete, and out of the way
   ========================================================================== */

/* The legal block is a bubble too — a quiet one. It is the last thing on the
   page and it is long, so it gets the sunken surface rather than the card
   surface: same shape as everything else, visibly a different KIND of
   content, and no reader mistakes it for data. */
.fn-ui .fn-pd-notes {
  margin: var(--fnp-gap-section) 0 0;
  padding: 2px var(--fnp-bubble-pad);
  border: 0;
  border-radius: var(--fnp-bubble-radius);
  background: var(--fnp-sunken);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--fnp-line-soft);
}

.fn-ui .fn-pd-notes[open] {
  padding-bottom: var(--fnp-bubble-pad);
}

.fn-ui .fn-pd-notes__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fn-text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: var(--fn-fw-bold);
  cursor: pointer;
}

.fn-ui .fn-pd-notes__toggle::after {
  content: "";
  width: 9px;
  height: 6px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.2 1.3L5 4.8 8.8 1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms var(--fnp-ease);
}

.fn-ui .fn-pd-notes[open] .fn-pd-notes__toggle::after {
  transform: scaleY(-1);
}

.fn-ui .fn-pd-notes__body {
  padding: 8px 0 0;
  color: var(--fn-text-3);
  font-size: 12px;
  line-height: 1.6;
}

.fn-ui .fn-pd-notes__body p {
  margin: 0 0 8px;
}

.fn-ui .fn-pd-notes__body strong {
  color: var(--fn-text-2);
}

.fn-ui .fn-pd-notes__body .glyphicon {
  display: none;
}

/* ==========================================================================
   13. Secondary legacy modules — kept, quietened
   ========================================================================== */

/* Investor rating */
.fn-ui .fn-pd .rateTextBox,
.fn-ui .fn-pd .rateCountBox {
  font-size: 12.5px;
  color: var(--fn-text-2);
}

.fn-ui .fn-pd .well {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fnp-radius-ctl);
  background: var(--fnp-sunken);
  box-shadow: none;
}

.fn-ui .fn-pd .form-control {
  border-radius: var(--fnp-radius-ctl);
  border-color: var(--fn-field-border);
  background: var(--fn-field-bg);
  color: var(--fn-field-text);
  box-shadow: none;
}

.fn-ui .fn-pd .control-label,
.fn-ui .fn-pd label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fn-text-2);
}

.fn-ui .fn-pd .modal-content {
  border: 1px solid var(--fnp-line);
  border-radius: var(--fnp-radius);
  background: var(--fn-bg-raised);
  color: var(--fn-text-1);
}

.fn-ui .fn-pd .modal-header,
.fn-ui .fn-pd .modal-footer {
  border-color: var(--fnp-line);
}

/* Featured tools in the facts rail (calculator, and later siblings).
   ONE SURFACE FOR EVERY MODULE. This briefly carried a brand tint, on the
   argument that a module which asks the reader for a number is a different
   KIND of thing from one that reports a number. That argument loses: the
   whole point of the bubble pass is that every block on the page is made of
   the same material, and a single green card in a column of white ones reads
   as a promo slot rather than as a tool. What it does is said by its content
   — a mode switch and two fields — not by its colour.

   So: no surface of its own. It inherits the bubble from §4 like everything
   else, and only its rhythm is adjusted below. */
.fn-ui .fn-pd-rail .fn-pd-tool {
  margin-top: 0;
}

/* Its title is a collapse trigger with its own −/+ affordance, so the rule
   under it would be a second separator for one row of controls. */
.fn-ui .fn-pd-rail .fn-pd-tool .fn-pd-section__head {
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: 0;
}

.fn-ui .fn-pd-rail .fn-pd-tool .fn-pd-section__title {
  font-size: 14px;
}

/* Units / amount calculator */
/* The calculator's section title is a collapse trigger; it must read as a
   title, not as a muted link. */
.fn-ui .fn-pd .fund-calc-toggle,
.fn-ui .fn-pd .fund-calc-toggle:hover,
.fn-ui .fn-pd .fund-calc-toggle:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--fn-text-1);
  text-decoration: none;
}

.fn-ui .fn-pd .fund-calc-toggle:hover {
  color: var(--fn-brand);
}

.fn-ui .fn-pd .fund-calc-toggle-icon {
  float: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd .fund-calc-mode-group {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fnp-radius-ctl);
  background: var(--fnp-sunken);
  overflow: visible;
}

.fn-ui .fn-pd .fund-calc-mode-group .fund-calc-mode-btn {
  min-width: 64px;
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--fn-radius-sm);
  background: transparent;
  color: var(--fn-text-2);
  font-size: 12px;
  font-weight: var(--fn-fw-bold);
  text-shadow: none;
  box-shadow: none;
}

.fn-ui .fn-pd .fund-calc-mode-group .fund-calc-mode-btn + .fund-calc-mode-btn {
  border-right: 0;
}

.fn-ui .fn-pd .fund-calc-mode-group .fund-calc-mode-btn.active {
  background: var(--fn-bg-raised);
  color: var(--fn-text-1);
  font-weight: 700;
  box-shadow: var(--fn-shadow-sm);
}

.fn-ui .fn-pd .fund-calc-field .form-control {
  width: 100%;
  height: 32px;
}

.fn-ui .fn-pd .fund-calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
}

.fn-ui .fn-pd .fund-calc-field {
  flex: 1 1 96px;
  min-width: 0;
}

/* Loaders */
.fn-ui .fn-pd img[id^="graphLoader"],
.fn-ui .fn-pd #holdingDataLoader,
.fn-ui .fn-pd .postComLoader {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Holdings group titles (legacy panel-heading, dissolved). */
.fn-ui .fn-pd .panel-title,
.fn-ui .fn-pd h2.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  padding: 0;
  font-family: var(--fn-font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fn-text-1);
  text-align: start;
  background: transparent;
}

.fn-ui .fn-pd .panel-title::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--fn-brand);
}

.fn-ui .fn-pd .panel-title:first-child,
.fn-ui .fn-pd .fn-pd-section > .row:first-child .panel-title {
  margin-top: 0;
}

.fn-ui .fn-pd .tbl_box_pad {
  padding: 0;
}

/* ==========================================================================
   13b. Holdings groups — one tile per group
   --------------------------------------------------------------------------
   fund.js builds each group (חוזים עתידיים, מק"מים, קרן סל, פקדונות, מניות …)
   as its own self-contained unit:

       #HoldingItemsTables
         div.row
           div.col-lg-12…            ← id is the group's Hebrew name
             div.panel
               div.panel-heading > h2.panel-title     ← the group title
               div.panel-body > div.row > div.col-…
                 div.table-responsive > table

   Two things were wrong with leaving that loose on the bubble.

   1. THE TITLE BELONGED TO NOTHING. A heading with a plate under it but no
      shared edge is a heading that floats between the plate above it and the
      plate below it — and with a sticky nav passing over the page, "which
      table does this name belong to" became a real question rather than a
      pedantic one. Wrapping the group means the title can never be read as
      the caption of the table above it.

   2. FOUR NESTED BOOTSTRAP GUTTERS. `.row > .col` twice over is 15px of
      padding on each side, twice — 60px of a phone's width spent on nothing.
      Measured on fund/5139340 at 390px the table's scroll window was 248px
      wide: the content got 64% of the screen and the gutters got the rest.

   So: the group row IS the tile, the title sits inside it, and the table runs
   edge to edge within it. One inset instead of four.
   ========================================================================== */

/* The list is part of the page. It does not get its own vertical scrollbar. */
.fn-ui .fn-pd #HoldingItemsTables,
.fn-ui .fn-pd #HoldingItemsTablesPrev.collapse.in,
.fn-ui .fn-pd #HoldingItemsTablesPrev.collapse.show {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* The strip between cards has to be the card white, not a grey. A tinted
     gutter landed on the same grey as the header bands, so the gap read as
     one continuous table. White between two grey bands is the break. */
  background: var(--fnp-surface);
  border-radius: var(--fnp-bubble-radius-in);
  /* The sticky header's copy and the strip above it are the table's own
     surface; here that is the bubble, not the page surface (in dark they
     differ). */
  --fn-sticky-head-bg: var(--fnp-surface);
}

.fn-ui .fn-pd #HoldingItemsTables > .row,
.fn-ui .fn-pd #HoldingItemsTablesPrev > .row {
  margin: 0;
  /* The shell rule at the top of this file gives every .row inside .fn-pd
     `max-width: 100%`, which silently cancels a full-bleed: the negative
     margin applies, the box is still capped at its container's width, and
     the tile just sits 22px narrower than it looks like it should. And the
     site's own `.row` carries `padding-top: 5px`, which pushed the title
     off the top edge of its tile by five white pixels. Both are overridden
     here rather than weakened there — every other .row on the page still
     wants the shell behaviour. */
  padding: 0;
  flex: 0 0 auto;
  max-width: none;
  border-radius: var(--fnp-bubble-radius-in);
  background: var(--fnp-surface);
  background-clip: padding-box;
  /* A FULL-STRENGTH edge, not the soft one the other inner tiles use.
     Those sit alone on their bubble with white space around them; these are
     five or six tables stacked directly on top of each other, and at
     --fnp-line-soft the boundary between "last row of פקדונות" and "header
     of מניות" was one faint line among the table's own faint row lines. The
     tile has to out-draw its own contents to read as a container. */
  box-shadow: inset 0 0 0 1px var(--fnp-line);
  /* clips the table's own header band into the tile's top corners.
     clip, not hidden: hidden makes the tile a scroll container, and the
     shared sticky header of a long group (37-sticky-head) would stick
     inside the tile instead of to the window. hidden stays as the
     fallback for browsers without clip. */
  overflow: hidden;
  overflow: clip;
}

/* overlay-bootstrap.css gives every .panel-body `overflow: hidden`, which
   would trap that same header. Nothing in a holdings group needs it: the
   tile above does the cropping. */
.fn-ui .fn-pd #HoldingItemsTables .panel-body,
.fn-ui .fn-pd #HoldingItemsTablesPrev .panel-body {
  overflow: visible;
}

.fn-ui .fn-pd #HoldingItemsTables > .row:last-child,
.fn-ui .fn-pd #HoldingItemsTablesPrev > .row:last-child {
  margin-bottom: 0;
}

/* Every Bootstrap gutter inside the tile, at any depth. The widths stay at
   100% — these columns were always full-width, they were only ever adding
   padding. */
.fn-ui .fn-pd #HoldingItemsTables > .row [class*="col-"],
.fn-ui .fn-pd #HoldingItemsTablesPrev > .row [class*="col-"] {
  float: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.fn-ui .fn-pd #HoldingItemsTables > .row .row,
.fn-ui .fn-pd #HoldingItemsTablesPrev > .row .row {
  margin-left: 0;
  margin-right: 0;
}

/* The title is the tile's header band — same grammar as .fn-pd-section__head
   one level up: a label row with a rule under it, reaching both edges.

   It carries its own surface so that every stacked table visibly BEGINS with
   a strip of a different material. That is what separates one table from the
   next: a gap plus a hairline is easy to lose against a striped table's own
   row lines; a change of material is not.

   The tone is mixed from the INK rather than taken from --fn-bg-sunken, and
   that is the whole point of writing it this way. "Sunken" is a canvas
   token: it does not track the card it is sitting on. Measured on the real
   page it gave a clean three-step ladder in light, ירקרק and קלאסי — and in
   dark it produced rgb(8,11,9) on a rgb(21,27,22) card under a rgb(14,23,12)
   column header, three near-blacks a tenth of a step apart (ΔL 0.004). The
   band, the header and the card were the same colour.

   Mixing the ink into the surface is self-correcting: on a light card the
   ink is dark so the band sinks, on a dark card the ink is light so the band
   LIFTS — which is the right direction on a dark surface anyway. One
   declaration, one step away from whatever the card happens to be. */
.fn-ui .fn-pd #HoldingItemsTables .panel-title,
.fn-ui .fn-pd #HoldingItemsTablesPrev .panel-title {
  margin: 0;
  padding: 10px 12px 11px;
  border-bottom: 1px solid var(--fnp-line);
  background: color-mix(in srgb, var(--fn-text-1) 7%, var(--fnp-surface));
  font-size: 13px;
}

/* Sideways only, and only when the columns do not fit. No vertical bar:
   a tall group grows with the page. */
.fn-ui .fn-pd #HoldingItemsTables .table-responsive,
.fn-ui .fn-pd #HoldingItemsTablesPrev .table-responsive {
  margin: 0;
  border: 0;
  border-radius: 0;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--fn-text-3) 45%, transparent) transparent;
}

/* Scrolling a table whose column names have scrolled away is reading numbers
   with no idea what they are. A long group (fund.js decides) opts into the
   shared page-level header, FnStickyHead (37-sticky-head).

   There used to be a position:sticky header and footer here. Neither ever
   moved: the scroller above is overflow-x:auto, so it is the box a sticky
   cell resolves against, and it never scrolls vertically.

   The hairlines stay: they are the seam between the header / totals band and
   the rows, and `border-collapse: separate` (set in §11) means the cell, not
   the row, is what paints it. The seam is a shadow that falls on the next
   row, so the band has to paint above the rows: positioned, as it was when
   it was sticky. */
.fn-ui .fn-pd #HoldingItemsTables table thead th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table thead th,
.fn-ui .fn-pd #HoldingItemsTables table tfoot th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table tfoot th {
  position: relative;
  z-index: 2;
}

.fn-ui .fn-pd #HoldingItemsTables table thead th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table thead th {
  box-shadow: 0 1px 0 var(--fnp-line);
}

.fn-ui .fn-pd #HoldingItemsTables table tfoot th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table tfoot th {
  box-shadow: 0 -1px 0 var(--fnp-line);
}

.fn-ui .fn-pd #HoldingItemsTables .panel,
.fn-ui .fn-pd #HoldingItemsTablesPrev .panel {
  margin: 0;
}

/* DataTables writes `width: 100%` inline on the table, which on a narrow
   screen means "crush six columns into whatever is left" — the rows in the
   phone screenshot were wrapping to three lines each. A floor turns that
   back into a scroll: columns keep a legible width and the reader swipes. */
.fn-ui .fn-pd #HoldingItemsTables table.table,
.fn-ui .fn-pd #HoldingItemsTables table.dataTable,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.table,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.dataTable {
  width: max-content !important;
  min-width: 100% !important;
}

/* template.css forces `padding: 10px !important` on every dataTable cell,
   and the header is allowed to wrap. On a phone that turns "שווי באלפי
   שקלים" into a three-line band and stretches every row under it. Headers
   stay on one line and scroll sideways; the name is the only column that
   may wrap, and only inside a capped width. */
.fn-ui .fn-pd #HoldingItemsTables table.dataTable thead th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.dataTable thead th,
.fn-ui .fn-pd #HoldingItemsTables table.dataTable tbody td,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.dataTable tbody td,
.fn-ui .fn-pd #HoldingItemsTables table.dataTable tfoot th,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.dataTable tfoot th {
  padding: 6px 8px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  border-top: 0 !important;
}

/* gidur.aspx still ships a phone rule on .colWdMob: width 230px, float, and
   line-height 54px, all !important. On a table cell that float drops the
   name out of the row and the line-height blows the header up. */
.fn-ui .fn-pd #HoldingItemsTables .colWdMob,
.fn-ui .fn-pd #HoldingItemsTablesPrev .colWdMob {
  width: auto !important;
  float: none !important;
  line-height: 1.25 !important;
}

.fn-ui .fn-pd #HoldingItemsTables table.dataTable tbody td:first-child,
.fn-ui .fn-pd #HoldingItemsTablesPrev table.dataTable tbody td:first-child {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 9rem;
  max-width: 16rem;
}

/* The scroller only earns a shadow hint when there is actually more to see.
   `scroll-driven` would be nicer; this is the version that ships today. */
.fn-ui .fn-pd #HoldingItemsTables .dataTables_wrapper,
.fn-ui .fn-pd #HoldingItemsTablesPrev .dataTables_wrapper {
  min-width: 0;
}

.fn-ui .fn-pd .fn-pd-holdings-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 10px 0 8px;
}

.fn-ui .fn-pd .checkboxCC {
  margin: 0;
  font-size: 12.5px;
  font-weight: var(--fn-fw-bold);
  color: var(--fn-text-2);
}

.fn-ui .fn-pd .checkboxCC label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: var(--fn-fw-bold);
  cursor: pointer;
}

.fn-ui .fn-pd .checkboxCC .cr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--fn-border);
  border-radius: 4px;
  background: var(--fnp-surface);
}

.fn-ui .fn-pd .checkboxCC input:checked + .cr {
  border-color: var(--fn-brand);
  background: var(--fn-brand);
}

/* Banner slots keep their own sizing but never break the grid. */
.fn-ui .fn-pd [id^="bnrid"] {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

/* An unsold slot is not a module. The rail is a `gap` grid now, so an empty
   div is no longer free: three of them at the end of fund.aspx's rail would
   add three gaps of dead canvas under the last real bubble. */
.fn-ui .fn-pd-rail > [id^="bnrid"]:empty {
  display: none;
}

/* height:auto only on the element that has an intrinsic ratio. An ad iframe
   has none: its size is its width/height attributes (300x250, 120x600), and
   `height: auto` on an iframe is not "keep the ratio" but the 150px default,
   so every ad on the fund, etf and gidur pages was drawn 150px tall with the
   rest of the creative cut off. The iframe only gets the width cap. */
.fn-ui .fn-pd [id^="bnrid"] img {
  max-width: 100%;
  height: auto;
}

.fn-ui .fn-pd [id^="bnrid"] iframe {
  max-width: 100%;
}

/* gidur.aspx ends with the legacy banner column (bnrid4, bnrid5: a float) and
   then its notes section. With no clear, the section's box starts at the top
   of the float and its background paints over the two ads: they were in the
   page but could not be seen, under a blank stretch of the notes panel exactly
   as tall as they are. The section now starts under them. */
.fn-ui .fn-pd > .pull-left + .fn-pd-section {
  clear: both;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1099px) {
  /* Below the two-column breakpoint the rail stops being a rail and becomes
     more of the stream. It is already a grid of bubbles at the right gap, so
     all that has to go is the sticky scroller and the shadow room it needed:
     the bubbles are full-width here and nothing is clipping them. */
  .fn-ui .fn-pd-rail {
    position: static;
    max-height: none;
    padding: 0;
    --fnp-bubble-pad: 16px;
  }
}

@media (max-width: 767px) {
  /* PHONE WIDTH IS A BUDGET, AND THE CHROME WAS OVERDRAWN.
     Measured on fund/5139340 at a 390px viewport: the Master shell takes 30px
     before this file gets a say, the page gutter took 24 more, the bubble's
     padding another 28, and an inner tile's padding another 24 — so a chart
     drew into 308px and a holdings table scrolled inside 248px. Four nested
     boxes, each individually defensible, together spending a third of the
     screen on edges.

     The bubble stays. What goes is everything NESTED inside it: on a phone a
     module gets one edge, not three (see the chart and holdings rules at the
     bottom of this block). The gutter and the padding each come down a step
     as well — at this width 10px still separates a card from the canvas, and
     the four pixels are worth more inside the card than outside it. */
  .fn-ui .fn-pd {
    /* --fnp-gap-section is deliberately NOT overridden here. It used to drop
       to the 14px peer step on a phone, which is the one size where the
       distinction matters most: on a narrow screen the subjects arrive one
       at a time with nothing beside them, so the gap is the only thing
       telling the reader a new subject has started. It stays at the 22px
       group step, the same as the home feed. What comes down on a phone is
       the padding INSIDE the cards, not the air between them. */
    --fnp-gap-block: 12px;
    --fnp-pad-x: 12px;
    --fnp-page-x: 10px;
    --fnp-bubble-pad: 11px;
    --fnp-fs-value: 15px;
    --fnp-nav-drop: 10px;
    --fnp-nav-chip-h: 44px;
    overflow-x: clip;
    padding-top: 12px;
  }

  .fn-ui .fn-pd-section {
    scroll-margin-top: 128px;
  }

  .fn-ui .fn-pd-hero {
    padding: var(--fnp-bubble-pad);
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .fn-ui .fn-pd-hero__id {
    gap: 6px;
    width: 100%;
  }

  .fn-ui .fn-pd-hero__topline,
  .fn-ui .fn-pd-hero__title-row {
    width: 100%;
    gap: 4px;
  }

  .fn-ui .fn-pd-hero__title,
  .fn-ui .fn-pd-hero h1 {
    flex: none;
    width: 100%;
    min-width: 0;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.18;
  }

  .fn-ui .fn-pd-quote__primary .fn-pd-quote__v {
    font-size: 22px;
  }

  .fn-ui .fn-pd-quote__chg .fn-pd-quote__v {
    font-size: 22px;
  }

  .fn-ui .fn-pd-hero__cell--ret .fn-pd-hero__cell-v {
    font-size: 17px;
  }

  .fn-ui .fn-pd-hero__class,
  .fn-ui .fn-pd-hero__mng {
    width: auto;
  }

  .fn-ui .fn-pd-hero__state {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .fn-ui .fn-pd-hero__cell {
    min-width: 0;
    padding: 0;
    gap: 3px;
  }

  .fn-ui .fn-pd-hero__cell--lead {
    grid-column: auto;
  }

  .fn-ui .fn-pd-hero__cell-v { font-size: 13px; }
  .fn-ui .fn-pd-hero__cell--lead .fn-pd-hero__cell-v { font-size: 13px; }

  .fn-ui .fn-pd > .fn-pd-hero__actions,
  .fn-ui .fn-pd-hero > .fn-pd-hero__actions {
    width: 100%;
    padding-top: 4px;
    gap: 6px 14px;
  }

  .fn-ui .fn-pd > .fn-pd-hero__actions .fn-pd-act--primary,
  .fn-ui .fn-pd > .fn-pd-hero__actions input[type="submit"] {
    flex: 0 0 auto;
    min-height: 36px;
  }

  .fn-ui .fn-pd-chart-stage .fundChart {
    min-height: 200px !important;
    height: 200px;
  }
  .fn-ui .fn-pd #chart_fund1 svg,
  .fn-ui .fn-pd #chart_fund1MY svg,
  .fn-ui .fn-pd-chart-stage .fundChart svg {
    height: 200px !important;
    max-height: 200px;
  }

  /* --- sticky chip scroller --- */
  .fn-ui .fn-pd-nav {
    top: var(--fnp-sticky-top);
    margin: 0 0 var(--fnp-gap-section);
  }

  .fn-ui .fn-pd-nav__list {
    gap: 0;
    padding: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .fn-ui .fn-pd-nav__list > li {
    flex: 0 0 auto;
  }

  .fn-ui .fn-pd-nav__link {
    flex: 0 0 auto;
    padding: 0 14px;
    scroll-snap-align: start;
  }

  /* The phone used to strip every section back to a transparent block,
     because the page had no canvas to float a card on. It has one now — the
     same wallpaper the home feed sits on — so a section is a bubble at this
     size too, and it is at phone width that the shape matters most. */
  .fn-ui .fn-pd-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: var(--fnp-bubble-pad);
  }

  .fn-ui .fn-pd-section__head .fn-pd-chart__tools {
    margin-inline-start: 0;
    width: 100%;
  }

  .fn-ui .fn-pd-section__title {
    font-size: 16px;
  }

  .fn-ui .fn-pd-stats:not(.fn-pd-matrix) { --fnp-cols: 2; }
  .fn-ui .fn-pd-stats--4:not(.fn-pd-matrix) { --fnp-cols: 2; }
  .fn-ui .fn-pd-stats--3:not(.fn-pd-matrix) { --fnp-cols: 1; }

  /* Periods and calendar years become label | value rows — no squeezed columns. */
  .fn-ui .fn-pd-matrix,
  .fn-ui .fn-pd-matrix--3,
  .fn-ui .fn-pd-matrix--4,
  .fn-ui .fn-pd-matrix--6,
  .fn-ui .fn-pd-matrix--8,
  .fn-ui .fn-pd-years-more .fn-pd-matrix {
    display: flex;
    flex-direction: column;
    overflow: visible;
    grid-template-columns: none;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .fn-ui .fn-pd-matrix .fn-pd-stat,
  .fn-ui .fn-pd-matrix--3 .fn-pd-stat,
  .fn-ui .fn-pd-matrix--4 .fn-pd-stat,
  .fn-ui .fn-pd-matrix--6 .fn-pd-stat,
  .fn-ui .fn-pd-matrix--8 .fn-pd-stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px 16px;
    padding: 7px 0;
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--fnp-line-soft);
  }

  .fn-ui .fn-pd-matrix .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--3 .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix--3 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--4 .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix--4 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--6 .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix--6 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--8 .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix--8 .fn-pd-stat__v {
    grid-row: auto;
    width: auto;
    padding: 0;
    box-shadow: none;
    background: transparent;
    text-align: start;
  }

  .fn-ui .fn-pd-matrix .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--3 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--4 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--6 .fn-pd-stat__v,
  .fn-ui .fn-pd-matrix--8 .fn-pd-stat__v {
    font-size: 14px;
    font-weight: 700;
    text-align: end;
    white-space: nowrap;
  }

  /* Once the matrix is a column of rows it is a grouped list like any other,
     so it gets the same two manners: separators to the bubble's edge, and
     none under the last row. */
  .fn-ui .fn-pd-matrix,
  .fn-ui .fn-pd-matrix--3,
  .fn-ui .fn-pd-matrix--4,
  .fn-ui .fn-pd-matrix--6,
  .fn-ui .fn-pd-matrix--8,
  .fn-ui .fn-pd-years-more .fn-pd-matrix {
    margin-inline: calc(var(--fnp-bubble-pad) * -1);
  }

  .fn-ui .fn-pd-matrix > .fn-pd-stat {
    padding-inline: var(--fnp-bubble-pad);
  }

  .fn-ui .fn-pd-matrix > .fn-pd-stat:last-child {
    border-bottom: 0;
  }

  /* The highlighted period keeps its wash — on a phone it is the whole row
     rather than a column, which is the same statement in the other axis. */
  .fn-ui .fn-pd-matrix .fn-pd-stat--hi,
  .fn-ui .fn-pd-matrix--4 .fn-pd-stat--hi {
    background: var(--fn-interactive-wash);
  }

  .fn-ui .fn-pd-matrix .fn-pd-stat--hi .fn-pd-stat__k,
  .fn-ui .fn-pd-matrix .fn-pd-stat--hi .fn-pd-stat__v {
    background: transparent;
  }

  .fn-ui .fn-pd-matrix--4 .fn-pd-stat--hi .fn-pd-stat__v {
    font-size: 14px;
  }

  .fn-ui .fn-pd-perf { gap: 14px; }

  .fn-ui .fn-pd-fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
  }

  /* --- charts: ONE EDGE, NOT THREE -----------------------------------
     The two flow charts are tiles on the "היקף נכסים וגיוסים" bubble. At
     desktop width that reads as two plots filed inside one module; at 390px
     it reads as a box in a box in a box, and it was costing the plot ~32px —
     enough that the x-axis was clipping its last label ("09-202").

     On a phone the bubble is the only edge. The tile keeps its heading and
     its gap so the two plots are still clearly two things; it just stops
     drawing a frame, and the plot runs the full width of the card. */
  .fn-ui .fn-pd-chart {
    margin-inline: calc(var(--fnp-bubble-pad) * -1);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .fn-ui .fn-pd-perf > .fn-pd-chart + .fn-pd-chart {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--fnp-line-soft);
  }

  /* The head keeps the card's inset so its title and dropdown still line up
     with the rest of the bubble's content — only the PLOT is full-bleed. */
  .fn-ui .fn-pd-chart__head {
    padding: 0 var(--fnp-bubble-pad) 8px;
    border: 0;
  }

  .fn-ui .fn-pd-chart__tools {
    width: 100%;
  }

  .fn-ui .fn-pd-chart__tools .form-control,
  .fn-ui .fn-pd select.form-control,
  .fn-ui .fn-pd .datePickerM .form-control,
  .fn-ui .fn-pd #graphPeriodPicker {
    min-width: 7.5rem;
    width: auto;
    max-width: 12rem;
    height: 36px !important;
  }

  .fn-ui .fn-pd-chart__tools > div:first-child,
  .fn-ui .fn-pd .datePickerM,
  .fn-ui .fn-pd .fn-dd {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
  }

  .fn-ui .fn-pd .fn-dd__trigger {
    width: auto;
    max-width: 12rem;
    height: 36px;
    min-height: 36px;
  }

  .fn-ui .fn-pd .fundChart {
    min-height: 200px !important;
  }

  .fn-ui .fn-pd .fn-pd-chart-stage .fundChart,
  .fn-ui .fn-pd[data-fn-product="etf"] .fundChart,
  .fn-ui .fn-pd[data-fn-product="etff"] .fundChart,
  .fn-ui .fn-pd[data-fn-product="gidur"] .fundChart {
    min-height: 200px !important;
  }

  .fn-ui .fn-pd .c3 .c3-axis-x .tick text {
    font-size: 9px;
  }

  .fn-ui .fn-pd-chart__body {
    padding: 0;
  }

  /* --- tables --- */
  .fn-ui .fn-pd-surface {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fn-ui .fn-pd-rank th,
  .fn-ui .fn-pd-rank td {
    padding: 10px 8px;
  }

  .fn-ui .fn-pd .star_box img {
    width: 14px;
    height: 14px;
  }

  .fn-ui .fn-pd table.table > tbody > tr > td,
  .fn-ui .fn-pd table.dataTable tbody td {
    padding: 9px 8px;
    font-size: 12.5px;
  }

  .fn-ui .fn-pd #HoldingItemsTables .table-responsive,
  .fn-ui .fn-pd #HoldingItemsTablesPrev .table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  /* --- calculator --- */
  .fn-ui .fn-pd .fund-calc-row {
    flex-direction: column;
    align-items: stretch;
  }

  .fn-ui .fn-pd .fund-calc-field,
  .fn-ui .fn-pd .fund-calc-mode-wrap {
    flex: 1 1 auto;
    width: 100%;
  }

  .fn-ui .fn-pd .fund-calc-field .form-control {
    height: 44px;
  }

  .fn-ui .fn-pd .fund-calc-mode-group {
    width: 100%;
  }

  .fn-ui .fn-pd .fund-calc-mode-group .fund-calc-mode-btn {
    flex: 1 1 0;
    min-height: 40px;
  }

  .fn-ui .fn-pd-holdings-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .fn-ui .fn-pd-hero__title,
  .fn-ui .fn-pd-hero h1 { font-size: 24px; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .fn-ui .fn-pd-hero__state {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   15. Date-range popup — appended to body.fn-ui, not inside .fn-pd
   ========================================================================== */

.fn-ui .ui-daterangepicker {
  margin-top: 6px !important;
  padding: 8px !important;
  border: 1px solid var(--fn-border) !important;
  border-radius: var(--fn-radius-md) !important;
  background: var(--fn-bg-raised) !important;
  box-shadow: var(--fn-shadow-pop) !important;
  font-family: var(--fn-font-ui) !important;
  color: var(--fn-text-1) !important;
}

.fn-ui .ui-daterangepicker ul {
  padding: 4px !important;
  border: 0 !important;
  background: transparent !important;
}

.fn-ui .ui-daterangepicker ul li,
.fn-ui .ui-daterangepicker .ui-widget-content .ui-state-default {
  margin: 2px 0 !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: var(--fn-radius-compact) !important;
  background: transparent !important;
  color: var(--fn-text-1) !important;
  font-size: 13px !important;
  font-weight: var(--fn-fw-bold) !important;
}

.fn-ui .ui-daterangepicker ul li.ui-state-active,
.fn-ui .ui-daterangepicker ul li.ui-state-hover,
.fn-ui .ui-daterangepicker ul li:hover {
  background: var(--fn-brand-soft) !important;
  color: var(--fn-text-1) !important;
}

.fn-ui .ui-daterangepicker .ranges {
  background: var(--fn-bg-sunken) !important;
  border: 1px solid var(--fn-border) !important;
  border-radius: var(--fn-bubble-radius-sm) !important;
  padding: 10px !important;
}

.fn-ui .ui-daterangepicker .range-start,
.fn-ui .ui-daterangepicker .range-end {
  background: transparent !important;
}

.fn-ui .ui-daterangepicker button.btnDone,
.fn-ui .ui-daterangepicker .btnDone {
  min-height: 34px !important;
  margin-top: 8px !important;
  padding: 0 16px !important;
  border: 1px solid var(--fn-brand) !important;
  border-radius: var(--fn-radius-compact) !important;
  background: var(--fn-brand) !important;
  color: var(--fn-text-on-brand) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.fn-ui .ui-daterangepicker .ui-datepicker {
  border: 0 !important;
  background: transparent !important;
  font-family: inherit !important;
}

.fn-ui .ui-daterangepicker .ui-datepicker td .ui-state-default {
  border: 0 !important;
  background: transparent !important;
  color: var(--fn-text-1) !important;
  text-align: center;
}

.fn-ui .ui-daterangepicker .ui-datepicker td .ui-state-active {
  background: var(--fn-brand) !important;
  color: var(--fn-text-on-brand) !important;
  border-radius: var(--fn-radius-sm) !important;
}

/* ==========================================================================
   15b. מותאם — custom range popover (fn-pd-chrome.js makeRangePicker).
   Lives inside the main .fn-pd-ranges bar. The legacy popup above stays
   hidden: the bar already holds the presets.
   ========================================================================== */

/* z-index: above the sticky header (1030), whose stacking context also holds
   the accessibility button that would otherwise cover "הצג" on a phone. */
.fn-ui .fn-pd-rp {
  position: absolute;
  z-index: 1035;
  bottom: calc(100% + 10px);
  left: 50%;
  width: min(640px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-md);
  background: var(--fn-bg-raised);
  box-shadow: var(--fn-shadow-pop);
  color: var(--fn-text-1);
  font-family: var(--fn-font-ui);
  direction: rtl;
  text-align: right;
  transform: translateX(-50%);
  animation: fnPdRpIn 160ms var(--fnp-ease);
}

.fn-ui .fn-pd-rp.is-below {
  top: calc(100% + 10px);
  bottom: auto;
}

.fn-ui .fn-pd-rp[hidden] {
  display: none;
}

/* Desktop has no backdrop: a click outside closes and goes through. */
.fn-ui .fn-pd-rp-backdrop {
  display: none;
}

@keyframes fnPdRpIn {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.fn-ui .fn-pd-rp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fn-ui .fn-pd-rp__title {
  font-size: 15px;
  font-weight: 700;
}

.fn-ui .fn-pd-rp__x {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fn-text-2);
  cursor: pointer;
}

.fn-ui .fn-pd-rp__x:hover {
  background: var(--fnp-hover);
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-rp__fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  margin-bottom: 14px;
}

.fn-ui .fn-pd-rp__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: none;
  margin: 0;
  font-weight: inherit;
}

.fn-ui .fn-pd-rp__flabel {
  color: var(--fn-text-2);
  font-size: 12px;
  font-weight: 600;
}

.fn-ui .fn-pd-rp__field input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-sm);
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font: 600 14px/1 var(--fn-font-ui);
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: none;
  transition: border-color 140ms var(--fnp-ease), box-shadow 140ms var(--fnp-ease);
}

.fn-ui .fn-pd-rp__field.is-editing input {
  border-color: var(--fn-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fn-brand) 18%, transparent);
}

.fn-ui .fn-pd-rp__field input.is-invalid {
  border-color: var(--fn-down);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fn-down) 16%, transparent);
}

.fn-ui .fn-pd-rp__field input:focus {
  outline: none;
}

.fn-ui .fn-pd-rp__dash {
  padding-bottom: 11px;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-rp__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fn-ui .fn-pd-rp__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--fnp-line);
  border-radius: 50%;
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  cursor: pointer;
}

.fn-ui .fn-pd-rp__arrow:hover:not(:disabled) {
  background: var(--fnp-hover);
}

.fn-ui .fn-pd-rp__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.fn-ui .fn-pd-rp__jump {
  display: flex;
  gap: 6px;
}

.fn-ui .fn-pd-rp__jump select {
  height: 32px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-sm);
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font: 600 13px/1 var(--fn-font-ui);
  cursor: pointer;
}

/* Month / year: the site dropdown (fn-fund-filters.js, same panel, options
   and scrollbar side as every other menu), sized for the picker's nav row.
   Always holds a value, so it keeps the neutral face, not the green
   "filter applied" one. */
.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd {
  position: relative;
  z-index: 2;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd.is-open {
  z-index: 3;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__trigger {
  min-width: 0;
  max-width: none;
  height: 32px;
  min-height: 32px;
  padding-inline-start: 12px;
  padding-inline-end: 30px;
  border-color: var(--fnp-line);
  border-radius: var(--fn-radius-sm);
  background-color: var(--fnp-surface);
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd-field:has(select[data-rp="month"]) .fn-dd__trigger {
  min-width: 104px;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd-field:has(select[data-rp="year"]) .fn-dd__trigger {
  min-width: 80px;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__trigger.has-value:hover,
.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__trigger.has-value:focus {
  border-color: var(--fn-border-strong);
  background-color: var(--fnp-hover);
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd.is-open .fn-dd__trigger {
  border-color: var(--fn-accent);
  background-color: var(--fnp-surface);
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__chev {
  inset-inline-end: 11px;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__trigger .fn-dd__label {
  display: none;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__value {
  color: var(--fn-text-1);
  font-size: 13px;
}

.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__panel {
  width: max-content;
  min-width: 100%;
  max-width: none;
  max-height: 264px;
}

/* Thin bar, as in the header fund menus. Its side is the shared pane rule. */
.fn-ui .fn-pd-rp .fn-pd-rp__jump .fn-dd__list {
  scrollbar-width: thin;
  scrollbar-color: var(--fn-border-strong) transparent;
}

.fn-ui .fn-pd-rp__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fn-ui .fn-pd-rp__months[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.fn-ui .fn-pd-rp__caption {
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.fn-ui .fn-pd-rp__row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.fn-ui .fn-pd-rp__dow {
  padding: 4px 0 6px;
  color: var(--fn-text-3);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.fn-ui .fn-pd-rp__cell {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1px 0;
}

/* The range band runs behind the day circles. RTL: inline-start is the
   right edge, so a start day's band leaves from its centre to the left. */
.fn-ui .fn-pd-rp__cell.has-band::before,
.fn-ui .fn-pd-rp__cell.has-band-start::before,
.fn-ui .fn-pd-rp__cell.has-band-end::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  inset-inline: 0;
  background: var(--fn-brand-soft);
}

.fn-ui .fn-pd-rp__cell.has-band-start::before {
  inset-inline-start: 50%;
}

.fn-ui .fn-pd-rp__cell.has-band-end::before {
  inset-inline-end: 50%;
}

.fn-ui .fn-pd-rp__cell.has-band-start.has-band-end::before {
  display: none;
}

.fn-ui .fn-pd-rp__day {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fn-text-1);
  font: 600 13px/1 var(--fn-font-ui);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 120ms var(--fnp-ease), color 120ms var(--fnp-ease);
}

.fn-ui .fn-pd-rp__day:hover:not(:disabled) {
  background: var(--fnp-hover);
}

.fn-ui .fn-pd-rp__day.is-today {
  box-shadow: inset 0 0 0 1px var(--fn-brand);
}

.fn-ui .fn-pd-rp__day.is-start,
.fn-ui .fn-pd-rp__day.is-end,
.fn-ui .fn-pd-rp__day.is-hover-end,
.fn-ui .fn-pd-rp__day.is-start:hover,
.fn-ui .fn-pd-rp__day.is-end:hover {
  background: var(--fn-brand);
  color: var(--fn-text-on-brand);
}

.fn-ui .fn-pd-rp__day.is-hover-end {
  opacity: 0.7;
}

.fn-ui .fn-pd-rp__day:disabled {
  color: var(--fn-text-3);
  opacity: 0.4;
  cursor: not-allowed;
}

.fn-ui .fn-pd-rp__day:focus-visible,
.fn-ui .fn-pd-rp__x:focus-visible,
.fn-ui .fn-pd-rp__arrow:focus-visible,
.fn-ui .fn-pd-rp__jump select:focus-visible,
.fn-ui .fn-pd-rp__btn:focus-visible {
  outline: 2px solid var(--fn-focus);
  outline-offset: 1px;
}

.fn-ui .fn-pd-rp__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--fnp-line);
}

.fn-ui .fn-pd-rp__summary {
  min-width: 0;
  color: var(--fn-text-1);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fn-ui .fn-pd-rp__summary.is-hint {
  color: var(--fn-text-3);
  font-weight: 500;
}

.fn-ui .fn-pd-rp__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.fn-ui .fn-pd-rp__btn {
  min-height: 36px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--fnp-line);
  border-radius: var(--fn-radius-pill);
  background: var(--fnp-surface);
  color: var(--fn-text-1);
  font: 700 13px/1 var(--fn-font-ui);
  cursor: pointer;
}

.fn-ui .fn-pd-rp__btn:hover:not(:disabled) {
  background: var(--fnp-hover);
}

.fn-ui .fn-pd-rp__btn--primary,
.fn-ui .fn-pd-rp__btn--primary:hover:not(:disabled) {
  min-width: 88px;
  border-color: var(--fn-brand);
  background: var(--fn-brand);
  color: var(--fn-text-on-brand);
}

.fn-ui .fn-pd-rp__btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Phone: a bottom sheet with one month, over a dimmed page. The backdrop is
   a real element, so a tap on the page closes the sheet and lands nowhere. */
@media (max-width: 639px) {
  .fn-ui .fn-pd-rp-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1034;
    background: rgba(0, 0, 0, 0.42);
  }

  html.fn-pd-rp-open,
  html.fn-pd-rp-open body {
    overflow: hidden;
  }

  .fn-ui .fn-pd-rp,
  .fn-ui .fn-pd-rp.is-below {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: 88vh;
    overflow-y: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    box-shadow: var(--fn-shadow-pop);
    transform: none;
    animation-name: fnPdRpUp;
  }

  .fn-ui .fn-pd-rp__day {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .fn-ui .fn-pd-rp__foot {
    flex-wrap: wrap;
  }

  .fn-ui .fn-pd-rp__actions {
    flex: 1 1 100%;
  }

  .fn-ui .fn-pd-rp__btn {
    flex: 1 1 0;
    min-height: 44px;
  }
}

@keyframes fnPdRpUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fn-ui .fn-pd-rp {
    animation: none;
  }
}

/* ==========================================================================
   16. ETF / foreign ETF / hedge — same type as mutual-fund, own fields
   ========================================================================== */

.fn-ui .fn-pd[data-fn-product="etf"] .text-info,
.fn-ui .fn-pd[data-fn-product="etff"] .text-info,
.fn-ui .fn-pd[data-fn-product="gidur"] .text-info {
  color: inherit;
}

.fn-ui .fn-pd[data-fn-product="etf"] .text-center,
.fn-ui .fn-pd[data-fn-product="etff"] .text-center,
.fn-ui .fn-pd[data-fn-product="gidur"] .col-sm-12.text-info.text-center {
  text-align: start;
}

.fn-ui .fn-pd[data-fn-product="etf"] .mb20,
.fn-ui .fn-pd[data-fn-product="etff"] .mb20,
.fn-ui .fn-pd[data-fn-product="gidur"] .mb20 {
  margin-bottom: 10px;
}

.fn-ui .fn-pd[data-fn-product="etff"] .fn-pd-hero__state {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fn-ui .fn-pd #etfIntradayInfo {
  margin: 0;
  padding: 0;
  font-size: var(--fnp-fs-meta);
  font-weight: 500;
  line-height: 1.3;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd #etfIntradayInfo .lastChartDatas {
  color: var(--fn-text-2);
  font-weight: var(--fn-fw-bold);
}

.fn-ui .fn-pd #etfIntradayInfo .ldTit {
  font-weight: 600;
  color: var(--fn-text-3);
}

@media (min-width: 992px) {
  .fn-ui .fn-pd[data-fn-product="gidur"] .gidur-desktop-pair {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .fn-ui .fn-pd[data-fn-product="gidur"] .gidur-desktop-left,
  .fn-ui .fn-pd[data-fn-product="gidur"] .gidur-desktop-right {
    width: 50%;
    max-width: 50%;
  }
}

/* ==========================================================================
   Fund page hero, laid out like the stock and index quote
   --------------------------------------------------------------------------
   Yoav, 17/11/2026: the fund, index and stock pages should read alike. Each
   has a name, a price, a move and a chart, so each puts them in the same
   place at the same size. The reference is .fn-mkt-quote in 20-markets.css
   (seco, madado): name, a quiet line under it, the price as the loudest
   figure with the day's move beside it, one status line, actions at the end
   of the name row. The numbers below are those values, written out because
   20-markets.css is not loaded here (Markets.Master only).

   Scoped to .fn-pd-hero--quote: fund, gidur, etf and etff. Each page fills
   the same slots with what it has (etff publishes no price, so its day's
   return is the large figure).
   ========================================================================== */

.fn-ui .fn-pd-hero.fn-pd-hero--quote {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "id   actions"
    "body body";
  align-items: start;
  gap: 4px 16px;
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__id { grid-area: id; min-width: 0; }
.fn-ui .fn-pd-hero--quote .fn-pd-q__body { grid-area: body; min-width: 0; }

/* name: .fn-mkt-quote__name */
.fn-ui .fn-pd-hero--quote h1.fn-pd-q__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  width: auto;
  margin: 0;
  font-family: var(--fn-font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: var(--fn-fw-bold);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--fn-text-1);
}

/* the short code as a chip, like the stock's symbol */
.fn-ui .fn-pd-hero--quote .fn-pd-q__symbol {
  padding: 1px 6px;
  background: var(--fn-bg-sunken);
  border-radius: var(--fn-radius-sm);
  font-family: var(--fn-font-num);
  font-size: 11px;
  font-weight: var(--fn-fw-bold);
  letter-spacing: 0.03em;
  color: var(--fn-text-2);
  unicode-bidi: isolate;
}
.fn-ui .fn-pd-hero--quote .fn-pd-q__symbol:empty { display: none; }

/* meta line: .fn-mkt-quote__meta */
.fn-ui .fn-pd-hero--quote .fn-pd-q__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__meta > * { display: inline-flex; align-items: center; gap: 4px; }
.fn-ui .fn-pd-hero--quote .fn-pd-q__sep { color: var(--fn-border-strong); }

.fn-ui .fn-pd-hero--quote .fn-pd-q__num {
  font-variant-numeric: tabular-nums;
  color: var(--fn-text-2);
}

/* .fn-pd carried so these beat ".fn-pd-hero .fn-pd-class a" (15px bold
   black) wherever this sheet sits in the cascade. */
.fn-ui .fn-pd .fn-pd-hero--quote .fn-pd-q__meta a,
.fn-ui .fn-pd .fn-pd-hero--quote .fn-pd-class a {
  font-size: 12px;
  font-weight: var(--fn-fw-semibold);
  line-height: 1.4;
  color: var(--fn-text-2);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--fn-brand) 50%, transparent);
}

.fn-ui .fn-pd .fn-pd-hero--quote .fn-pd-q__meta a:hover,
.fn-ui .fn-pd .fn-pd-hero--quote .fn-pd-class a:hover {
  color: var(--fn-brand);
  border-bottom-color: var(--fn-brand);
}

/* A fund with no third class level still prints its link, empty
   (fundlist/c/0). The span is then not :empty, so it drew a separator dot
   with nothing after it. */
.fn-ui .fn-pd-hero--quote .fn-pd-class > span:has(> a:empty) { display: none; }

/* price + move: .fn-mkt-quote__price / __last / __delta */
.fn-ui .fn-pd-hero--quote .fn-pd-q__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-top: 8px;
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__last {
  font-family: var(--fn-font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: var(--fn-fw-extrabold);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fn-text-1);
  direction: ltr;
  unicode-bidi: isolate;
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__delta {
  font-family: var(--fn-font-num);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* status line: .fn-mkt-quote__status */
.fn-ui .fn-pd-hero--quote .fn-pd-q__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__fig {
  font-variant-numeric: tabular-nums;
  font-weight: var(--fn-fw-semibold);
  color: var(--fn-text-2);
  direction: ltr;
  unicode-bidi: isolate;
}

.fn-ui .fn-pd-hero--quote .fn-pd-q__fig span { display: inline; }

/* actions at the end of the name row, no footer rule */
.fn-ui .fn-pd .fn-pd-hero--quote > .fn-pd-hero__actions.fn-pd-q__actions {
  grid-area: actions;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
  margin: 0;
  padding: 2px 0 0;
  border-top: 0;
}

/* The add-to-portfolio message takes a line of its own under the buttons
   without widening the actions column. */
.fn-ui .fn-pd .fn-pd-hero--quote #fsMsg:not(:empty) { max-inline-size: 30ch; }

/* Below 960px the name gets the whole row and the actions follow the price,
   wrapping as they need to. Phone sizes as .fn-mkt-quote under 600px. */
@media (max-width: 959px) {
  .fn-ui .fn-pd-hero.fn-pd-hero--quote {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "id"
      "body"
      "actions";
  }

  .fn-ui .fn-pd .fn-pd-hero--quote > .fn-pd-hero__actions.fn-pd-q__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 8px;
  }
}

@media (max-width: 600px) {
  .fn-ui .fn-pd-hero--quote h1.fn-pd-q__name { font-size: 20px; }
  .fn-ui .fn-pd-hero--quote .fn-pd-q__price { margin-top: 4px; }
  .fn-ui .fn-pd-hero--quote .fn-pd-q__last { font-size: 36px; }
  .fn-ui .fn-pd-hero--quote .fn-pd-q__delta { font-size: 15px; }
  .fn-ui .fn-pd-hero--quote .fn-pd-q__status { margin-top: 4px; gap: 2px 8px; }
}

/* --------------------------------------------------------------------------
   The rest of the stock / index structure on the fund page
   --------------------------------------------------------------------------
   1. The quote sits on the page, not in a bubble (.fn-mkt-quote has none).
   2. The section nav is the stock page's flat strip (.fn-mkt-pagenav), not a
      pill bar. Its height is kept at --fnp-nav-h, which the sticky rail and
      the sticky table heads below are measured from.
   3. Chart and figures share one row (.fn-mkt-stage): the figures card on the
      start (right) side, at the rail's width so the chart lines up with the
      main column under it, the chart in the rest.
   -------------------------------------------------------------------------- */

/* 1 */
.fn-ui .fn-pd-hero.fn-pd-hero--quote {
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 2 */
.fn-ui .fn-pd-nav.fn-pd-nav--flat {
  margin: 0 0 20px;
  padding: calc(var(--fnp-nav-pad) + 4px) 0;
  border: 0;
  border-bottom: 1px solid var(--fn-border);
  border-radius: 0;
  background: var(--fn-bg-canvas);
  box-shadow: none;
}

.fn-ui .fn-pd-nav--flat .fn-pd-nav__list { gap: 4px; }

.fn-ui .fn-pd-nav--flat .fn-pd-nav__link {
  min-height: calc(var(--fnp-nav-chip-h) - 8px);
  padding: 0 12px;
  border-radius: var(--fn-radius-sm);
  font-size: 12px;
  font-weight: var(--fn-fw-medium);
}

.fn-ui .fn-pd-nav--flat .fn-pd-nav__link:hover,
.fn-ui .fn-pd-nav--flat .fn-pd-nav__link:focus {
  background: var(--fn-bg-hover);
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-nav--flat .fn-pd-nav__link.is-current {
  background: var(--fn-bg-active);
  color: var(--fn-text-1);
  box-shadow: none;
  font-weight: var(--fn-fw-medium);
}

/* 3 */
.fn-ui .fn-pd-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fnp-gap-section);
  margin: 0 0 var(--fnp-gap-section);
}

.fn-ui .fn-pd-stage > .fn-pd-chart-stage { margin: 0; min-width: 0; }

@media (min-width: 1100px) {
  .fn-ui .fn-pd-stage {
    grid-template-columns: var(--fnp-rail-w) minmax(0, 1fr);
    align-items: stretch;
  }
}

/* Same break as .fn-pd-layout, so the card sits over the rail and the chart
   over the main column. Below it the chart comes first, as on the stock page. */
@media (max-width: 1099px) {
  .fn-ui .fn-pd-stage > .fn-pd-chart-stage { order: -1; }
}

/* The figures card: .fn-mkt-key, in the fund page's bubble. */
.fn-ui .fn-pd-key {
  min-width: 0;
  padding: 12px;
}

.fn-ui .fn-pd-key__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 10px;
  background: var(--fn-bg-sunken);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius-md);
}

.fn-ui .fn-pd-key__title {
  margin: 0;
  font-family: var(--fn-font-display);
  font-size: 14px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.3;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-key__badge {
  max-width: 58%;
  padding: 2px 8px;
  border-radius: var(--fn-radius-pill);
  background: var(--fn-brand-soft);
  border: 1px solid var(--fn-border-brand);
  font-size: 11px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.4;
  color: var(--fn-brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fn-ui .fn-pd-key__quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--fn-border);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius-md);
  overflow: hidden;
}

.fn-ui .fn-pd-key__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  background: var(--fn-bg-surface);
}

.fn-ui .fn-pd-key__label {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-key__value {
  font-family: var(--fn-font-num);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.2;
  color: var(--fn-text-1);
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.fn-ui .fn-pd .fn-pd-key__value span { display: inline; }
.fn-ui .fn-pd-key__value:empty::after { content: "—"; color: var(--fn-text-3); font-weight: 400; }

.fn-ui .fn-pd-key__asof {
  margin: 6px 2px 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--fn-text-3);
}

.fn-ui .fn-pd-key__asof:has(> span:empty) { display: none; }

.fn-ui .fn-pd-key__about {
  margin-top: 12px;
  padding: 10px 10px 4px;
  background: var(--fn-bg-sunken);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius-md);
}

.fn-ui .fn-pd-key__sub {
  margin: 0 0 4px;
  font-family: var(--fn-font-display);
  font-size: 12px;
  font-weight: var(--fn-fw-bold);
  line-height: 1.3;
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-key__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--fn-border);
  font-size: 12px;
  font-weight: var(--fn-fw-medium);
  color: var(--fn-text-1);
}

.fn-ui .fn-pd-key__row:first-child { border-top: 0; }
.fn-ui .fn-pd-key__row .fn-pd-key__value { font-size: 13px; }

/* A quad with an odd number of figures (an ETF's turnover and two returns)
   lets the last one take the whole row instead of leaving a hole. */
.fn-ui .fn-pd-key__cell:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ETF costs come from the server as .fn-pd-stats tiles (FnPdMarkup.Stat).
   In the card they read as the same label / value rows as the fund's. */
.fn-ui .fn-pd .fn-pd-key__about .fn-pd-stats {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.fn-ui .fn-pd .fn-pd-key__about .fn-pd-stat {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-top: 1px solid var(--fn-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fn-ui .fn-pd .fn-pd-key__about .fn-pd-stat:first-child { border-top: 0; }

.fn-ui .fn-pd .fn-pd-key__about .fn-pd-stat__k {
  font-size: 12px;
  font-weight: var(--fn-fw-medium);
  color: var(--fn-text-1);
}

.fn-ui .fn-pd .fn-pd-key__about .fn-pd-stat__v {
  font-family: var(--fn-font-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: var(--fn-fw-bold);
  color: var(--fn-text-1);
  direction: ltr;
  unicode-bidi: isolate;
}

/* QA, 17/11/2026 ---------------------------------------------------------- */

/* Without its bubble the quote hero stands on the canvas; on the soft
   (ירקרק) theme its text takes the on-canvas ink with every other component
   that has no surface (the list in 00-page.css). */

/* The price is filled by script; until then (or with no data) show a dash
   like the key cells instead of an empty slot. */
.fn-ui .fn-pd-hero--quote .fn-pd-q__last:empty::after {
  content: "\2014";
  color: var(--fn-text-3);
}

/* A card with only figures (etff publishes no costs) keeps its own height
   instead of stretching into an empty block beside the chart. */
.fn-ui .fn-pd-stage > .fn-pd-key:not(:has(.fn-pd-key__about)) { align-self: start; }
