/* Phones (html.pfd, the default since 2026-11-03): fund pages (/funds/<T>) on phones in the finance look (css/aiq-phone-pin.css). The
   desktop page squeezed in: a one-line cut-off name, underline jump tabs, ⓘ tips, a legend + range switch crammed in
   the card header, a seven-column returns grid, two-column metric tiles, figures on every bar. Here: the name wraps,
   the sections are pills, every card is white and round, returns are a list (js/funds.js PH), tiles are one column.
   Section reveal motion stays (user: "simpler keeps motion"). Loaded with media="(max-width: 767px)". */
@media (max-width: 767px) {
  html.aiq-phone.pfd main:has(> .fd), html.aiq-phone.pfd .fd { background: transparent !important; }
  html.aiq-phone.pfd .fd { --fd-card: #FFFFFF; --fd-line: rgba(15,17,21,.07); font-size: 15px; }
  /* header: the phone header's large title is the fund's name: in full, two lines at most (it cut off at one) */
  html.aiq-phone.pfd #ph-th .ph-th-t:not(#_):not(#_):not(#_):not(#_), html.aiq-phone.pfd #ph-th .ph-th-t b:not(#_):not(#_):not(#_):not(#_) { white-space: normal !important; overflow: hidden; text-overflow: clip; }
  html.aiq-phone.pfd #ph-th .ph-th-t b:not(#_):not(#_):not(#_):not(#_) { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 28px !important; line-height: 1.15 !important; }
  /* the fund's own header (its name is in the phone header above) */
  html.aiq-phone.pfd .fd-hdr:not(#_) { display: block; padding: 4px 4px 14px; }
  html.aiq-phone.pfd .fd-hdr h1:not(#_):not(#_) { font: 700 26px/1.15 Inter, system-ui, sans-serif !important; letter-spacing: -.02em; white-space: normal !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  html.aiq-phone.pfd .fd-meta:not(#_) { margin-top: 6px; color: #80868F; font-size: 14px; gap: 6px; }
  html.aiq-phone.pfd .fd-meta .fd-chip:not(#_) { padding: 0; border: 0; background: none; color: #101112; font-weight: 600; font-size: 14px; }
  html.aiq-phone.pfd .fd-meta .fd-chip.g:not(#_) { color: #80868F; font-weight: 500; }
  html.aiq-phone.pfd .fd-acts:not(#_) { display: block; margin-top: 12px; }
  html.aiq-phone.pfd .fd-acts .at-btn:not(#_) { display: none !important; }   /* the SEC filing link: desktop's */
  html.aiq-phone.pfd .fd-px:not(#_) { text-align: left; }
  html.aiq-phone.pfd .fd-px b:not(#_):not(#_) { font: 700 36px/1 Inter, system-ui, sans-serif !important; letter-spacing: -.03em; }
  html.aiq-phone.pfd .fd-px div { margin-top: 6px; font-size: 14px; font-weight: 600; }
  /* the sections: one row of pills (My screens' views), the open one charcoal; the sticky bar takes the page grey */
  html.aiq-phone.pfd .fd-jump:not(#_):not(#_) { margin: 0 -12px 8px; padding: 8px 0; border: 0 !important; background: #F2F3F5 !important; }
  html.aiq-phone.pfd .fd-jump-in:not(#_) { gap: 8px; padding: 0 16px; }
  html.aiq-phone.pfd .fd-jump a:not(#_):not(#_) { flex: none; height: 36px; padding: 0 14px; border: 0 !important; border-radius: 999px; background: #FFFFFF; color: #101112; font: 500 15px/36px Inter, system-ui, sans-serif; }
  html.aiq-phone.pfd .fd-jump a.on:not(#_):not(#_) { background: #2B2D33; color: #FFFFFF; font-weight: 600; }
  /* the bar sits first in the markup (desktop's house tab bar, 2026-11-05): the header goes back above it here, and the
     tab-bar strip / dividers / feet stay off */
  html.aiq-phone.pfd .fd:not(#_) { display: flex; flex-direction: column; }
  html.aiq-phone.pfd .fd > .fd-hdr:not(#_) { order: -1; }
  html.aiq-phone.pfd .fd-jump.tbx:not(#_):not(#_) { position: sticky; z-index: 10; height: auto; box-shadow: none; }
  html.aiq-phone.pfd .fd-jump.tbx::after, html.aiq-phone.pfd .fd-jump .tbx-t::after { display: none !important; }
  html.aiq-phone.pfd .fd-jump .tbx-l:not(#_) { height: auto; align-items: center; }
  html.aiq-phone.pfd .fd-jump .tbx-t:not(#_):not(#_) { display: inline-flex; align-items: center; margin: 0; max-width: none; }
  html.aiq-phone.pfd .fd-jump .fl { display: none; }
  /* sections + cards */
  html.aiq-phone.pfd .fd-sec h2:not(#_):not(#_) { margin: 22px 4px 10px; font: 650 22px/1.2 Inter, system-ui, sans-serif !important; letter-spacing: -.02em; }
  html.aiq-phone.pfd .fd-grid:not(#_):not(#_) { display: flex !important; flex-direction: column; gap: 14px; }
  html.aiq-phone.pfd .fd-card:not(#_):not(#_) { border: 0 !important; border-radius: 22px !important; background: #FFFFFF !important; box-shadow: none !important; overflow: hidden; }
  html.aiq-phone.pfd .fd-card-h:not(#_):not(#_) { min-height: 0; padding: 16px 16px 6px; border: 0 !important; }
  html.aiq-phone.pfd .fd-card-h h3:not(#_):not(#_) { font: 650 17px/1.2 Inter, system-ui, sans-serif !important; }
  html.aiq-phone.pfd .fd-card-h .r:not(#_) { font-size: 13px; }
  html.aiq-phone.pfd .fd-i { display: none !important; }
  /* growth chart: legend + time frames under it (js/funds.js PH) */
  html.aiq-phone.pfd .pfd-leg { display: flex; gap: 14px; margin: 6px 2px 0; color: #80868F; font-size: 13px; }
  html.aiq-phone.pfd .pfd-leg i { display: inline-block; width: 12px; height: 2px; margin-right: 6px; vertical-align: 4px; background: #455DDC; }
  html.aiq-phone.pfd .pfd-leg i.b { background: none; border-top: 2px dashed var(--fd-bench); height: 0; }
  html.aiq-phone.pfd .pfd-rng { display: flex; justify-content: space-between; margin: 10px 0 2px; }
  html.aiq-phone.pfd .pfd-rng button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #80868F; font: 600 14px/34px Inter, system-ui, sans-serif; }
  html.aiq-phone.pfd .pfd-rng button.on { background: #F2F3F5; color: #101112; }
  /* lists: returns, key facts — label left, figure right, the comparison under it, inset hairlines */
  html.aiq-phone.pfd .pfd-ls { padding: 2px 0 6px; }
  html.aiq-phone.pfd :is(.pfd-li, .fd-kf):not(#_):not(#_) { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 8px 16px !important; border: 0 !important; font-size: 16px; }
  html.aiq-phone.pfd :is(.pfd-li, .fd-kf) + :is(.pfd-li, .fd-kf)::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid rgba(15,17,21,.07); }
  html.aiq-phone.pfd .pfd-li .v { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
  html.aiq-phone.pfd .pfd-li .v b { font-size: 16px; font-weight: 600 !important; }
  html.aiq-phone.pfd .pfd-li .v small { color: #80868F; font-size: 13px; }
  html.aiq-phone.pfd .fd-kf span:not(#_):not(#_) { color: #101112; font-size: 16px !important; }
  html.aiq-phone.pfd .fd-kf small:not(#_):not(#_) { display: block; margin-top: 2px; color: #80868F; font-size: 13px; }
  html.aiq-phone.pfd .fd-kf b:not(#_):not(#_) { font-size: 16px !important; font-weight: 600 !important; text-align: right; }
  html.aiq-phone.pfd .fd-card-b:has(> .fd-kf):not(#_) { padding: 2px 0 6px !important; }
  html.aiq-phone.pfd .pos { color: #0d8a66; } html.aiq-phone.pfd .neg { color: #c8203f; }
  /* what you own: one tile per row, the figure on the right of its name */
  html.aiq-phone.pfd .fd-tiles:not(#_):not(#_) { display: block !important; padding: 2px 0 6px; }
  html.aiq-phone.pfd .fd-tile:not(#_):not(#_) { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 16px; border: 0 !important; border-radius: 0; background: none !important; }
  html.aiq-phone.pfd .fd-tile + .fd-tile::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid rgba(15,17,21,.07); }
  html.aiq-phone.pfd .fd-tile > span:not(#_) { color: #101112; font-size: 16px; }
  html.aiq-phone.pfd .fd-tile > b:not(#_):not(#_) { font-size: 17px; font-weight: 650 !important; text-align: right; }
  html.aiq-phone.pfd .fd-tile .fd-cmp:not(#_) { grid-column: 1 / -1; }
  /* legends under donuts: list rows */
  html.aiq-phone.pfd .fd-leg .row:not(#_) { min-height: 36px; font-size: 15px; }
}
