/* GENERATED from INSIGHT-STATS-LIBRARY/src/stats-yf.css -- do not edit here. Edit the library, refresh replay/statsyf/, and replay this patch. */
/* STATS-YF-v2 -- the macOS Stocks look, dark and light. Every number below was measured off the reference screenshots
   (stats-proof/MEASUREMENTS.md); the light pair is derived from ~/Downloads/stats (one light capture), see REPORT.md for the deltas.
   Dark is the primary target. The theme follows the host: :root[data-appearance|data-theme] and prefers-color-scheme, or force it with
   .yf-dark / .yf-light on the component root. */

.yfx,.yfd,.yfc,.yfx-min,.yfx-say{
  /* SF Pro Text below 20px, SF Pro Display from 20px, as the native app does. Where those are not installed (most machines), system-ui IS the
     same SF face with CoreText's own optical sizing and tracking; elsewhere it is the platform UI face. No webfont copy of SF is shipped. */
  --yf-text:"SF Pro Text","SF Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --yf-disp:"SF Pro Display","SF Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --yf-font:var(--yf-text);
  /* light */
  --yf-bg:#fff; --yf-ink:#000; --yf-mute:#808080; --yf-mute2:#8a8a8e; --yf-list2:#6e6e73;
  --yf-side-a:#d9dae0; --yf-side-b:#d1d1d9; --yf-side-line:#dcdcde; --yf-hair:rgba(0,0,0,.10);
  --yf-field:#cecdd5; --yf-clearx:#d9dae0; --yf-rowsel:rgba(0,0,0,.10); --yf-sep:rgba(0,0,0,.09);
  --yf-pill:rgba(0,0,0,.08); --yf-foot:#f3f2f3; --yf-footline:rgba(0,0,0,.10); --yf-brand:#9a9aa0;
  --yf-g0:rgba(0,0,0,.05); --yf-gh:#e1e1e1; --yf-gv:#e6e6e6; --yf-gx:#8e8e8e; --yf-gr:#e6e6e6; --yf-gp:rgba(0,0,0,.45);
  --yf-up:#65c366; --yf-up-line:#65c366; --yf-up-fill:#65c366; --yf-dn:#eb4e3d; --yf-dn-line:#eb4e3d; --yf-dn-fill:#eb4e3d; --yf-flat:#8e8e93;
  --yf-blue:#65abf2; --yf-sc-line:#5bb3f6; --yf-sc-fill:#4a9cf5; --yf-sc-lab:#3d86e6; --yf-xh:#5bb3f6; --yf-dot-ring:#fff;
  --yf-vol:#a0a0a5; --yf-pinbg:rgba(0,0,0,.10); --yf-pinfg:#3d86e6; --yf-card:#f4f4f6;
  font-family:var(--yf-text); font-variant-numeric:tabular-nums; font-optical-sizing:auto; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
/* dark */
.yf-dark.yfx,.yf-dark.yfd,.yf-dark.yfc,.yf-dark .yfx,.yf-dark .yfd,.yf-dark .yfc{
  --yf-bg:#1e1e1e; --yf-ink:#dddddd; --yf-mute:#98989d; --yf-mute2:#717174; --yf-list2:#a8a8aa;
  --yf-side-a:#313233; --yf-side-b:#242425; --yf-side-line:#38383a; --yf-hair:#262628;
  --yf-field:#3c3c3c; --yf-clearx:#3c3c3c; --yf-rowsel:#404043; --yf-sep:rgba(255,255,255,.10);
  --yf-pill:#3b3b3d; --yf-foot:#373738; --yf-footline:#454546; --yf-brand:#6d6d70;
  --yf-g0:#2c2c2c; --yf-gh:rgba(255,255,255,.10); --yf-gv:rgba(255,255,255,.11); --yf-gx:#a8a8a8; --yf-gr:rgba(255,255,255,.12); --yf-gp:rgba(255,255,255,.5);
  --yf-up:#65c466; --yf-up-line:#76d672; --yf-up-fill:#76d672; --yf-dn:#eb4e3d; --yf-dn-line:#ea4d3d; --yf-dn-fill:#ea4d3d; --yf-flat:#98989d;
  --yf-blue:#67aaf2; --yf-sc-line:#6cbdf6; --yf-sc-fill:#4292f7; --yf-sc-lab:#5594f1; --yf-xh:#78c5f5; --yf-dot-ring:#1e1e1e;
  --yf-vol:#8c8c90; --yf-pinbg:#4a4a50; --yf-pinfg:#5b9cf0; --yf-card:#2a2a2c;
}
:root[data-appearance="dark"] .yfx,:root[data-appearance="dark"] .yfd,:root[data-appearance="dark"] .yfc,:root[data-appearance="dark"] .yfx-min,:root[data-appearance="dark"] .yfx-say,
:root[data-theme="dark"] .yfx,:root[data-theme="dark"] .yfd,:root[data-theme="dark"] .yfc,:root[data-theme="dark"] .yfx-min,:root[data-theme="dark"] .yfx-say{
  --yf-bg:#1e1e1e; --yf-ink:#dddddd; --yf-mute:#98989d; --yf-mute2:#717174; --yf-list2:#a8a8aa;
  --yf-side-a:#313233; --yf-side-b:#242425; --yf-side-line:#38383a; --yf-hair:#262628;
  --yf-field:#3c3c3c; --yf-clearx:#3c3c3c; --yf-rowsel:#404043; --yf-sep:rgba(255,255,255,.10);
  --yf-pill:#3b3b3d; --yf-foot:#373738; --yf-footline:#454546; --yf-brand:#6d6d70;
  --yf-g0:#2c2c2c; --yf-gh:rgba(255,255,255,.10); --yf-gv:rgba(255,255,255,.11); --yf-gx:#a8a8a8; --yf-gr:rgba(255,255,255,.12); --yf-gp:rgba(255,255,255,.5);
  --yf-up:#65c466; --yf-up-line:#76d672; --yf-up-fill:#76d672; --yf-dn:#eb4e3d; --yf-dn-line:#ea4d3d; --yf-dn-fill:#ea4d3d; --yf-flat:#98989d;
  --yf-blue:#67aaf2; --yf-sc-line:#6cbdf6; --yf-sc-fill:#4292f7; --yf-sc-lab:#5594f1; --yf-xh:#78c5f5; --yf-dot-ring:#1e1e1e;
  --yf-vol:#8c8c90; --yf-pinbg:#4a4a50; --yf-pinfg:#5b9cf0; --yf-card:#2a2a2c;
}
@media (prefers-color-scheme:dark){
  :root:not([data-appearance="light"]):not([data-theme="light"]) .yfx:not(.yf-light),
  :root:not([data-appearance="light"]):not([data-theme="light"]) .yfd:not(.yf-light),
  :root:not([data-appearance="light"]):not([data-theme="light"]) .yfc:not(.light),
  :root:not([data-appearance="light"]):not([data-theme="light"]) .yfx-min,
  :root:not([data-appearance="light"]):not([data-theme="light"]) .yfx-say{
    --yf-bg:#1e1e1e; --yf-ink:#dddddd; --yf-mute:#98989d; --yf-mute2:#717174; --yf-list2:#a8a8aa;
    --yf-side-a:#313233; --yf-side-b:#242425; --yf-side-line:#38383a; --yf-hair:#262628;
    --yf-field:#3c3c3c; --yf-clearx:#3c3c3c; --yf-rowsel:#404043; --yf-sep:rgba(255,255,255,.10);
    --yf-pill:#3b3b3d; --yf-foot:#373738; --yf-footline:#454546; --yf-brand:#6d6d70;
    --yf-g0:#2c2c2c; --yf-gh:rgba(255,255,255,.10); --yf-gv:rgba(255,255,255,.11); --yf-gx:#a8a8a8; --yf-gr:rgba(255,255,255,.12); --yf-gp:rgba(255,255,255,.5);
    --yf-up:#65c466; --yf-up-line:#76d672; --yf-up-fill:#76d672; --yf-dn:#eb4e3d; --yf-dn-line:#ea4d3d; --yf-dn-fill:#ea4d3d; --yf-flat:#98989d;
    --yf-blue:#67aaf2; --yf-sc-line:#6cbdf6; --yf-sc-fill:#4292f7; --yf-sc-lab:#5594f1; --yf-xh:#78c5f5; --yf-dot-ring:#1e1e1e;
    --yf-vol:#8c8c90; --yf-pinbg:#4a4a50; --yf-pinfg:#5b9cf0; --yf-card:#2a2a2c;
  }
}

/* ── the window ─────────────────────────────────────────────────────────── */
.yfx{ display:grid; grid-template-columns:var(--yfx-side,calc(330px * var(--yf-scale,1))) minmax(0,1fr); height:var(--yfx-h,calc(667px * var(--yf-scale,1))); min-height:calc(420px * var(--yf-scale,1)); background:var(--yf-bg); color:var(--yf-ink); border-radius:calc(12px * var(--yf-scale,1)); overflow:hidden; font-size:calc(13px * var(--yf-scale,1)); position:relative; box-sizing:border-box }
.yfx *{ box-sizing:border-box }
.yfx-side{ display:flex; flex-direction:column; min-height:0; background:var(--yf-side-bg,linear-gradient(180deg,var(--yf-side-a),var(--yf-side-b))); border-right:1px solid var(--yf-side-line) }
.yfx-top{ padding:calc(61px * var(--yf-scale,1)) calc(11px * var(--yf-scale,1)) calc(10px * var(--yf-scale,1)) calc(10px * var(--yf-scale,1)); border-bottom:1px solid var(--yf-hair) }
.yfx-search{ display:flex; align-items:center; height:calc(26px * var(--yf-scale,1)); padding:0 calc(3px * var(--yf-scale,1)) 0 calc(7px * var(--yf-scale,1)); border-radius:calc(7px * var(--yf-scale,1)); background:var(--yf-field); color:var(--yf-mute); cursor:text }
.yfx-mag{ display:inline-flex; width:calc(13px * var(--yf-scale,1)); height:calc(13px * var(--yf-scale,1)); margin-right:calc(7px * var(--yf-scale,1)); flex:none } .yfx-mag svg{ width:calc(13px * var(--yf-scale,1)); height:calc(13px * var(--yf-scale,1)) }
.yfx-search input{ flex:1; min-width:0; height:calc(24px * var(--yf-scale,1)); border:0; outline:0; background:transparent; color:var(--yf-ink); font:400 calc(12.75px * var(--yf-scale,1))/calc(24px * var(--yf-scale,1)) var(--yf-text); padding:0; -webkit-appearance:none; appearance:none }
.yfx-search input::placeholder{ color:var(--yf-mute) } .yfx-search input::-webkit-search-cancel-button{ display:none }
.yfx-search:focus-within{ box-shadow:0 0 0 calc(3px * var(--yf-scale,1)) color-mix(in srgb,var(--yf-blue) 45%,transparent) }
.yfx-clear{ flex:none; width:calc(17px * var(--yf-scale,1)); height:calc(17px * var(--yf-scale,1)); padding:0; border:0; background:transparent; color:var(--yf-mute); cursor:pointer; display:inline-flex } .yfx-clear[hidden]{ display:none } .yfx-clear svg{ width:calc(17px * var(--yf-scale,1)); height:calc(17px * var(--yf-scale,1)) }
.yfx-lh{ position:relative; padding:calc(18px * var(--yf-scale,1)) calc(14px * var(--yf-scale,1)) 0 calc(14px * var(--yf-scale,1)); height:calc(52px * var(--yf-scale,1)) }
.yfx-lt{ display:inline-flex; align-items:center; gap:calc(7px * var(--yf-scale,1)); border:0; background:transparent; color:var(--yf-ink); font:700 calc(13.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); padding:0; cursor:pointer }
.yfx-lt i{ display:inline-flex; width:calc(9px * var(--yf-scale,1)); height:calc(15px * var(--yf-scale,1)); color:var(--yf-mute) } .yfx-lt svg{ width:calc(9px * var(--yf-scale,1)); height:calc(15px * var(--yf-scale,1)) }
.yfx-menu{ position:absolute; z-index:6; left:calc(12px * var(--yf-scale,1)); top:calc(44px * var(--yf-scale,1)); min-width:calc(176px * var(--yf-scale,1)); padding:calc(5px * var(--yf-scale,1)); border-radius:calc(10px * var(--yf-scale,1)); background:var(--yf-side-a); box-shadow:0 calc(10px * var(--yf-scale,1)) calc(30px * var(--yf-scale,1)) rgba(0,0,0,.35),0 0 0 1px var(--yf-side-line) }
.yfx-menu[hidden]{ display:none }
.yfx-menu button{ display:block; width:100%; text-align:left; border:0; background:transparent; color:var(--yf-ink); font:500 calc(12.75px * var(--yf-scale,1))/calc(26px * var(--yf-scale,1)) var(--yf-text); padding:0 calc(10px * var(--yf-scale,1)); border-radius:calc(6px * var(--yf-scale,1)); cursor:pointer }
.yfx-menu button:hover,.yfx-menu button[aria-checked="true"]{ background:var(--yf-rowsel) }
.yfx-list{ flex:1; min-height:0; overflow-y:auto; padding:0 calc(6px * var(--yf-scale,1)) 0 calc(5px * var(--yf-scale,1)); scrollbar-width:none } .yfx-list::-webkit-scrollbar{ display:none }
.yfx-row{ position:relative; border-radius:calc(10px * var(--yf-scale,1)); cursor:default; outline:0 }
.yfx-row+.yfx-row::before{ content:""; position:absolute; left:calc(10px * var(--yf-scale,1)); right:calc(10px * var(--yf-scale,1)); top:0; height:1px; background:var(--yf-sep) }
.yfx-row.on::before,.yfx-row.on+.yfx-row::before{ opacity:0 }
.yfx-row.on{ background:var(--yf-rowsel) }
.yfx-row:focus-visible{ box-shadow:inset 0 0 0 calc(2px * var(--yf-scale,1)) color-mix(in srgb,var(--yf-blue) 70%,transparent) }
.yfx-pin{ position:absolute; left:calc(13px * var(--yf-scale,1)); top:calc(30px * var(--yf-scale,1)); width:calc(18px * var(--yf-scale,1)); height:calc(18px * var(--yf-scale,1)); padding:0; border:0; background:transparent; cursor:pointer; z-index:1 } .yfx-pin svg{ width:calc(18px * var(--yf-scale,1)); height:calc(18px * var(--yf-scale,1)); display:block }
.yfx-pin .c{ fill:var(--yf-pinbg) } .yfx-pin .p{ stroke:var(--yf-pinfg); stroke-width:1.6; stroke-linecap:round; fill:none }
.yfx-pin.is .c{ fill:var(--yf-pinfg) } .yfx-pin.is .p{ stroke:var(--yf-bg) }
.yfx-rt{ display:grid; grid-template-columns:minmax(0,1fr) minmax(calc(76px * var(--yf-scale,1)),auto); column-gap:0; padding:calc(15px * var(--yf-scale,1)) calc(17px * var(--yf-scale,1)) calc(13px * var(--yf-scale,1)) calc(50px * var(--yf-scale,1)) }
.yfx-rn{ font:700 calc(14.25px * var(--yf-scale,1))/calc(17px * var(--yf-scale,1)) var(--yf-disp); color:var(--yf-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; align-self:baseline; color:var(--yf-ink) }
.yfx-rv{ font:800 calc(13.75px * var(--yf-scale,1))/calc(17px * var(--yf-scale,1)) var(--yf-text); text-align:right; align-self:baseline; color:var(--yf-ink) }
.yfx-rs{ grid-column:1/-1; margin-top:1px; font:400 calc(10.75px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute2) }
.yfx-r2{ margin-top:calc(3px * var(--yf-scale,1)); font:500 calc(10.75px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-list2); align-self:start; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical }
.yfx-rc{ margin-top:calc(3px * var(--yf-scale,1)); font:800 calc(14px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); text-align:right; align-self:start; white-space:nowrap }
.yfx-rc.up,.yfd-c.up{ color:var(--yf-up) } .yfx-rc.dn,.yfd-c.dn{ color:var(--yf-dn) } .yfx-rc.flat,.yfd-c.flat{ color:var(--yf-mute) }
.yfx-none{ padding:calc(22px * var(--yf-scale,1)) calc(14px * var(--yf-scale,1)); color:var(--yf-mute); font-size:calc(13px * var(--yf-scale,1)) }
.yfx-foot{ flex:none; height:calc(34px * var(--yf-scale,1)); display:flex; align-items:center; justify-content:space-between; padding:0 calc(14px * var(--yf-scale,1)) calc(4px * var(--yf-scale,1)) calc(15px * var(--yf-scale,1)); background:var(--yf-foot); border-top:1px solid var(--yf-footline); font:400 calc(11.5px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); color:#8e8e93 }
.yfx-brand{ font:italic 600 calc(12.5px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-brand); letter-spacing:-.01em }
.yfx-main{ min-width:0; min-height:0; display:flex; flex-direction:column; overflow-y:auto; scrollbar-width:none } .yfx-main::-webkit-scrollbar{ display:none }
.yfx-bar{ flex:none; height:calc(52px * var(--yf-scale,1)); display:flex; align-items:center; padding:0 calc(18px * var(--yf-scale,1)) 0 calc(22px * var(--yf-scale,1)); color:var(--yf-mute) }
.yfx-sp{ flex:1 } .yfx-back,.yfx-share{ border:0; background:transparent; color:inherit; padding:0; cursor:pointer; width:calc(28px * var(--yf-scale,1)); height:calc(28px * var(--yf-scale,1)); display:inline-flex; align-items:center; justify-content:center; border-radius:calc(6px * var(--yf-scale,1)) } .yfx-back{ visibility:hidden }
.yfx-plus{ border:0; background:transparent; color:inherit; padding:0; cursor:pointer; width:calc(28px * var(--yf-scale,1)); height:calc(28px * var(--yf-scale,1)); display:inline-flex; align-items:center; justify-content:center; border-radius:calc(6px * var(--yf-scale,1)) } .yfx-plus svg{ width:calc(16px * var(--yf-scale,1)); height:calc(16px * var(--yf-scale,1)) } .yfx-plus:hover{ background:var(--yf-pill) } .yfx-plus.is{ color:var(--yf-blue) }
.yfx-back svg{ width:calc(8px * var(--yf-scale,1)); height:calc(14px * var(--yf-scale,1)) } .yfx-share svg{ width:calc(16px * var(--yf-scale,1)); height:calc(19px * var(--yf-scale,1)) } .yfx-share.done{ color:var(--yf-up) } .yfx-back:hover,.yfx-share:hover{ background:var(--yf-pill) }
.yfx-pane{ padding:calc(51px * var(--yf-scale,1)) calc(26px * var(--yf-scale,1)) calc(40px * var(--yf-scale,1)) calc(26px * var(--yf-scale,1)); min-width:0 }

/* ── the detail pane ────────────────────────────────────────────────────── */
.yfd{ background:transparent; color:var(--yf-ink); font-size:calc(13px * var(--yf-scale,1)); min-width:0; position:relative; box-sizing:border-box } .yfd *{ box-sizing:border-box }
.yfd-hd{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; column-gap:calc(16px * var(--yf-scale,1)); margin:0 }
.yfd.compact .yfd-hd{ display:flex; justify-content:flex-end; margin-bottom:calc(8px * var(--yf-scale,1)) }
.yfd-t1{ display:flex; align-items:baseline; gap:calc(15px * var(--yf-scale,1)); min-width:0; grid-column:1 }
.yfd-t{ margin:0; font:800 calc(30.75px * var(--yf-scale,1))/calc(36px * var(--yf-scale,1)) var(--yf-disp); letter-spacing:0; color:var(--yf-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:0 1 auto; min-width:0 }
.yfd-n{ font:600 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0 }
.yfd-s{ margin-top:calc(4px * var(--yf-scale,1)); font:400 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute) }
.yfd-l{ min-width:0 }
.yfd-r{ display:flex; align-items:baseline; gap:calc(12px * var(--yf-scale,1)); grid-column:2; grid-row:1; white-space:nowrap }
.yfd-v{ font:700 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink) }
.yfd-c{ font:600 calc(11px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text) }
.yfd-rz{ position:relative; height:calc(38px * var(--yf-scale,1)); margin-top:calc(20px * var(--yf-scale,1)) }
.yfd-rb{ display:flex; gap:calc(24px * var(--yf-scale,1)); margin-left:calc(-5px * var(--yf-scale,1)); height:calc(31px * var(--yf-scale,1)) } .yfd-rb.away{ visibility:hidden }
.yfd-rb.many{ justify-content:space-between; margin-right:calc(-7px * var(--yf-scale,1)); gap:0 }
.yfd-pill{ height:calc(31px * var(--yf-scale,1)); padding:0 calc(9.5px * var(--yf-scale,1)); border:0; border-radius:calc(7px * var(--yf-scale,1)); background:transparent; color:var(--yf-ink); font:500 calc(13.75px * var(--yf-scale,1))/calc(31px * var(--yf-scale,1)) var(--yf-text); cursor:pointer; transition:background .14s ease }
.yfd-pill:hover{ background:color-mix(in srgb,var(--yf-pill) 55%,transparent) } .yfd-pill[aria-selected="true"]{ background:var(--yf-pill) }
.yfd-pill:focus-visible{ outline:calc(2px * var(--yf-scale,1)) solid color-mix(in srgb,var(--yf-blue) 80%,transparent); outline-offset:1px }
.yfd-scrub{ position:absolute; inset:0; pointer-events:none } .yfd-scrub[hidden]{ display:none }
.yfd-sd{ position:absolute; left:0; right:0; top:0; text-align:center; font:700 calc(12.95px * var(--yf-scale,1))/calc(15px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink) }
.yfd-sv{ position:absolute; top:calc(19px * var(--yf-scale,1)); transform:translateX(-50%); font:800 calc(14px * var(--yf-scale,1))/calc(17px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-sc-lab); white-space:nowrap }
.yfd-plot{ position:relative; cursor:crosshair; touch-action:pan-y; user-select:none; -webkit-tap-highlight-color:transparent; outline:0; border-radius:calc(2px * var(--yf-scale,1)) }
.yfd-plot:focus-visible{ outline:calc(2px * var(--yf-scale,1)) solid color-mix(in srgb,var(--yf-blue) 80%,transparent); outline-offset:calc(3px * var(--yf-scale,1)) }
.yfd-plot.holding{ touch-action:none }
.yfd-svg{ display:block; width:100%; height:auto; overflow:visible }
.yfd-svg .g0{ stroke:var(--yf-g0); stroke-width:1 } .yfd-svg .gh{ stroke:var(--yf-gh); stroke-width:1 } .yfd-svg .gx{ stroke:var(--yf-gx); stroke-width:1 }
.yfd-svg .gv{ stroke:var(--yf-gv); stroke-width:1 } .yfd-svg .gr{ stroke:var(--yf-gr); stroke-width:1 }
.yfd-svg .gp{ stroke:var(--yf-gp); stroke-width:1; stroke-dasharray:2 2 }
.yfd-svg .ay{ fill:var(--yf-ink); font:700 calc(13.75px * var(--yf-scale,1)) var(--yf-text) } .yfd-svg .ax{ fill:var(--yf-ink); font:700 calc(13.75px * var(--yf-scale,1)) var(--yf-text) }
.yfd-svg .ln{ stroke:var(--c); stroke-width:1.75; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke }
.yfd-svg .gs0{ stop-color:var(--f); stop-opacity:.30 } .yfd-svg .gs1{ stop-color:var(--f); stop-opacity:0 }
.yfd-svg.t-up,.yfc-s.t-up{ --c:var(--yf-up-line); --f:var(--yf-up-fill) } .yfd-svg.t-dn,.yfc-s.t-dn{ --c:var(--yf-dn-line); --f:var(--yf-dn-fill) }
.yfd-svg.t-flat,.yfc-s.t-flat{ --c:var(--yf-flat); --f:var(--yf-flat) } .yfd-svg.t-nocmp{ --c:var(--yf-sc-line); --f:var(--yf-sc-fill) } .yfd-svg.t-scrub{ --c:var(--yf-sc-line); --f:var(--yf-sc-fill) }
.yfd-svg.t-dn .gs0{ stop-opacity:.32 } .yfd-svg.t-scrub .gs0{ stop-opacity:.36 }
.yfd-svg .xh{ stroke:var(--yf-xh); stroke-width:1 } .yfd-svg .xd{ fill:var(--yf-xh); stroke:var(--yf-dot-ring); stroke-width:1.5 }
.yfd-vol{ height:calc(15px * var(--yf-scale,1)); margin-top:calc(5px * var(--yf-scale,1)) } .yfd-vol.empty{ visibility:hidden } .yfd-vol svg{ display:block; overflow:visible } .yfd-vol rect{ fill:var(--yf-vol) }
.yfd-st{ display:grid; grid-template-columns:repeat(var(--yf-cols,4),minmax(0,1fr)); grid-template-rows:repeat(var(--yf-rows,3),auto); grid-auto-flow:column; column-gap:calc(30px * var(--yf-scale,1)); margin:calc(12px * var(--yf-scale,1)) 0 0; padding:0 }
.yfd-row{ position:relative; display:flex; justify-content:space-between; align-items:center; height:calc(22px * var(--yf-scale,1)); gap:calc(8px * var(--yf-scale,1)) }
.yfd-row dt{ margin:0; font:500 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink); white-space:nowrap } .yfd-row dd{ margin:0; font:600 calc(13.25px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink); text-align:right; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yfd-row dt{ color:var(--yf-mute) }
.yfd-more{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(24px * var(--yf-scale,1)); margin-top:calc(26px * var(--yf-scale,1)) } .yfd-more[hidden]{ display:none }
.yfd-card{ display:block; color:inherit; text-decoration:none; padding:0; min-width:0 }
.yfd-x{ margin-top:calc(26px * var(--yf-scale,1)) } .yfd-x[hidden]{ display:none }
.yfd-link{ grid-column:1/-1; font:600 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-blue); margin-bottom:calc(-2px * var(--yf-scale,1)) }
.yfd-ago{ margin-top:calc(14px * var(--yf-scale,1)); font:400 calc(10.75px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute) }
.yfd-src{ font:400 calc(11.15px * var(--yf-scale,1))/calc(14px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute) }
.yfd-ct{ margin-top:calc(5px * var(--yf-scale,1)); font:700 calc(13.1px * var(--yf-scale,1))/calc(17px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink) } .yfd-ct.dim{ color:var(--yf-mute); font-weight:500 }
.yfd-more-link{ margin-top:calc(8px * var(--yf-scale,1)); display:inline-flex; align-items:center; gap:calc(6px * var(--yf-scale,1)); font:600 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-blue) }
a.yfd-sop:hover .yfd-more-link{ text-decoration:underline } a.yfd-sop:focus-visible{ outline:calc(2px * var(--yf-scale,1)) solid color-mix(in srgb,var(--yf-blue) 80%,transparent); outline-offset:calc(4px * var(--yf-scale,1)); border-radius:calc(4px * var(--yf-scale,1)) }
.yfd-empty{ display:grid; gap:calc(4px * var(--yf-scale,1)); padding:calc(18px * var(--yf-scale,1)) 0; font-size:calc(13px * var(--yf-scale,1)); color:var(--yf-mute) } .yfd-empty b{ font-size:calc(28px * var(--yf-scale,1)); color:var(--yf-ink) }
.yfd-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
/* an expanded card already prints the ledger headline; a second figure summed from the bars would drift from it (by 60 cents on Money in), so the pane shows only the change */
.yfd.compact .yfd-hd .yfd-v{ display:none }

/* ── the widget card (Apple Stocks widget) ──────────────────────────────── */
.yfc{ --yf-cardbg:#1c1c1e; display:grid; grid-template-rows:auto auto 1fr auto; padding:calc(14px * var(--yf-scale,1)) calc(14px * var(--yf-scale,1)) calc(12px * var(--yf-scale,1)); border-radius:calc(22px * var(--yf-scale,1)); background:var(--yf-cardbg); color:#f2f2f7; min-height:calc(176px * var(--yf-scale,1)); overflow:hidden; position:relative; --yf-mute:#98989f; --yf-up-line:#76d672; --yf-up-fill:#76d672; --yf-up:#65c466; --yf-dn-line:#ea4d3d; --yf-dn-fill:#ea4d3d; --yf-dn:#eb4e3d; --yf-flat:#98989f; --yf-gp:rgba(255,255,255,.5) }
.yfc.light{ --yf-cardbg:#fff; color:#000; --yf-mute:#808080 }
.yfc-1,.yfc-2{ display:flex; justify-content:space-between; align-items:baseline; gap:calc(8px * var(--yf-scale,1)) }
.yfc-sym{ display:inline-flex; align-items:center; gap:calc(5px * var(--yf-scale,1)); font:700 calc(15px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text) } .yfc-tri{ display:inline-flex; width:calc(11px * var(--yf-scale,1)); height:calc(11px * var(--yf-scale,1)); color:var(--yf-c) } .yfc-tri svg{ width:calc(11px * var(--yf-scale,1)); height:calc(11px * var(--yf-scale,1)); fill:currentColor } .yfc-tri.dn svg{ transform:rotate(180deg) }
.yfc.up{ --yf-c:var(--yf-up) } .yfc.dn{ --yf-c:var(--yf-dn) } .yfc.flat{ --yf-c:var(--yf-flat) }
.yfc-ch{ font:600 calc(14px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-c) } .yfc-nm{ font:600 calc(14px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yfc-sp{ margin:calc(6px * var(--yf-scale,1)) calc(-14px * var(--yf-scale,1)) 0; min-height:calc(46px * var(--yf-scale,1)) } .yfc-s{ display:block; width:100%; height:100%; min-height:calc(46px * var(--yf-scale,1)) }
.yfc-s .fill{} .yfc-s .gs0{ stop-color:var(--f); stop-opacity:.42 } .yfc-s .gs1{ stop-color:var(--f); stop-opacity:0 } .yfc-s .ln{ stroke:var(--c); stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke } .yfc-s .gp{ stroke:var(--yf-gp); stroke-width:1; stroke-dasharray:2 3; vector-effect:non-scaling-stroke; opacity:.6 }
.yfc-big{ text-align:right; font:300 calc(32px * var(--yf-scale,1))/calc(35px * var(--yf-scale,1)) var(--yf-disp); letter-spacing:-.02em }

/* ── small screens: the list, then the detail ──────────────────────────── */
@media (max-width:759px){
  .yfx{ grid-template-columns:minmax(0,1fr); height:var(--yfx-h,calc(640px * var(--yf-scale,1))) }
  .yfx-side{ border-right:0 } .yfx-main{ display:none } .yfx.detail .yfx-side{ display:none } .yfx.detail .yfx-main{ display:flex }
  .yfx-top{ padding-top:calc(16px * var(--yf-scale,1)) } .yfx-back{ visibility:visible }
  .yfx-bar{ height:calc(46px * var(--yf-scale,1)) } .yfx-pane{ padding:0 calc(16px * var(--yf-scale,1)) calc(32px * var(--yf-scale,1)) }
  .yfd-t{ font-size:calc(26px * var(--yf-scale,1)) }
  .yfd-more{ grid-template-columns:minmax(0,1fr) }
}
@media (prefers-reduced-motion:reduce){ .yfd-pill{ transition:none } }

/* hub: the condition block inside the detail pane (assets/stats.js condHtml). hb-* classes are the hub's own. */
.yfd-x .hb-stz-condh{ display:flex; align-items:center; gap:calc(10px * var(--yf-scale,1)); margin:0 0 calc(10px * var(--yf-scale,1)); font:700 calc(13.75px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink) }
.yfd-x .hb-stz-tip2{ margin:calc(10px * var(--yf-scale,1)) 0; font:400 calc(12.75px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute) }
.yfd-x .hb-stz-assigned{ display:grid; gap:calc(4px * var(--yf-scale,1)); margin:calc(10px * var(--yf-scale,1)) 0; padding:calc(12px * var(--yf-scale,1)) calc(14px * var(--yf-scale,1)); border-radius:calc(10px * var(--yf-scale,1)); background:var(--yf-pill); color:var(--yf-ink); font:400 calc(12.75px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text) }
.yfd-x .hb-stz-assigned small{ display:block; color:var(--yf-mute) }
.yfd-x .hb-stz-assign{ display:grid; gap:calc(10px * var(--yf-scale,1)); margin-top:calc(12px * var(--yf-scale,1)); color:var(--yf-ink) } .yfd-x .hb-field span{ color:var(--yf-ink); font:600 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text) }

/* narrow hosts (a card, not the viewport): the stats grid folds by the pane's own width */
.yfd{ container-type:inline-size }
@container (max-width:519px){ .yfd-more{ grid-template-columns:minmax(0,1fr) } .yfd-t{ font-size:calc(26px * var(--yf-scale,1)) } }
.yf-pad{ padding:calc(18px * var(--yf-scale,1)) calc(22px * var(--yf-scale,1)) calc(22px * var(--yf-scale,1)) } .mk-yf{ margin-top:calc(6px * var(--yf-scale,1)) } .yf-sect{ margin:0 0 calc(26px * var(--yf-scale,1)) } .yf-sect .hb-st-note{ margin:calc(4px * var(--yf-scale,1)) 0 calc(14px * var(--yf-scale,1)) }
.yf-mon-host{ min-width:0 } .hb-stx{ min-width:0; margin-top:calc(8px * var(--yf-scale,1)) }

/* grow: on a web page the window is at least the reference height and takes the height of its detail pane, so nothing hides behind an inner scroll */
.yfx.grow{ height:auto; min-height:var(--yfx-h,calc(667px * var(--yf-scale,1))) } .yfx.grow .yfx-main{ overflow:visible } .yfx.grow .yfx-side{ max-height:none }
.yfx.grow .yfx-list{ overflow-y:auto }
@media (max-width:759px){ .yfx.grow{ min-height:0 } }

/* every number aligns in columns: the `font` shorthand above resets font-variant-numeric, so it is set again last, on everything inside the component */
.yfx,.yfd,.yfc,.yfx *,.yfd *,.yfc *{ font-variant-numeric:tabular-nums !important; font-optical-sizing:auto }

.yfd-row.cs::before{ content:""; position:absolute; left:calc(-15px * var(--yf-scale,1)); top:calc(-3px * var(--yf-scale,1)); height:calc(var(--yf-rows,3) * 22px * var(--yf-scale,1) + 3px * var(--yf-scale,1)); width:1px; background:var(--yf-gv) }
.yfd-hd .yfd-t1{ flex-wrap:wrap; row-gap:calc(2px * var(--yf-scale,1)) } .yfd-t{ white-space:normal !important; overflow:visible !important; text-overflow:clip !important; overflow-wrap:anywhere }
.yfd-n{ white-space:normal; flex:1 1 auto }
.yfx-exp{ border:0; background:transparent; color:inherit; padding:0; cursor:pointer; width:calc(28px * var(--yf-scale,1)); height:calc(28px * var(--yf-scale,1)); display:inline-flex; align-items:center; justify-content:center; border-radius:calc(6px * var(--yf-scale,1)) } .yfx-exp svg{ width:calc(16px * var(--yf-scale,1)); height:calc(16px * var(--yf-scale,1)) } .yfx-exp:hover{ background:var(--yf-pill) } .yfx-exp[aria-pressed="true"]{ color:var(--yf-blue) }
/* fit: the window fills the content column and (at least) the viewport below the top bar; the chart takes whatever height the readings leave */
.yfx.fit{ --yfx-side:36%; height:max(calc(100vh - 112px), 560px); min-height:0; border-radius:calc(14px * var(--yf-scale,1)) }
.yfx.fit .yfx-main{ overflow:hidden; display:flex; flex-direction:column; min-height:0 }
.yfx.fit .yfx-bar{ height:calc(40px * var(--yf-scale,1)); padding-top:calc(6px * var(--yf-scale,1)) }
.yfx.fit .yfx-pane{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; overflow-y:auto; scrollbar-width:none; padding:calc(4px * var(--yf-scale,1)) calc(26px * var(--yf-scale,1)) calc(22px * var(--yf-scale,1)) } .yfx.fit .yfx-pane::-webkit-scrollbar{ display:none }
.yfx.fit .yfd{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column } .yfx.fit .yfd>*{ flex:none }
.yfx.fit .yfd-plot{ flex:1 1 calc(220px * var(--yf-scale,1)); min-height:calc(130px * var(--yf-scale,1)) } .yfx.fit .yfd-svg{ position:absolute; left:0; top:0 }
.yfx.fit .yfx-list{ overflow-y:auto }
.yfx.expanded{ position:fixed; inset:0; z-index:2147483000; height:100vh !important; max-height:none; border-radius:0; --yfx-side:34% }
html.yf-expanded{ overflow:hidden }
@media (max-width:759px){ .yfx.fit{ height:max(calc(100vh - 150px), 480px); --yfx-side:100% } .yfx.expanded{ height:100vh !important } .yfx-exp{ display:none }
  /* .yfx.fit .yfx-main{display:flex} above is unconditional (a fit pane always fills), so on a phone it wins over the plain .yfx-main{display:none}
     list/detail toggle above by specificity alone; repeat the toggle at the same specificity so the list, not the detail, opens first here. */
  .yfx.fit .yfx-main{ display:none } .yfx.fit.detail .yfx-main{ display:flex } }

/* fit: names wrap instead of truncating, and the value column is only as wide as its figure */
.yfx.fit .yfx-rt{ grid-template-columns:minmax(0,1fr) auto; column-gap:calc(8px * var(--yf-scale,1)) }
.yfx.fit .yfx-rn{ white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere }
.yfx.fit .yfx-rv{ align-self:start }

/* the "Open in Statistics" control that stats-index.js puts on every statistic: hidden until the tile is hovered or focused */
.yf-open{ position:absolute; top:8px; right:8px; width:24px; height:24px; display:grid; place-items:center; border-radius:7px; color:var(--ta-ink-3,#6e6e73); background:color-mix(in srgb,currentColor 10%,transparent); opacity:0; transition:opacity .15s ease; z-index:2; text-decoration:none }
.yf-open svg{ width:12px; height:12px }
[data-stat]:hover>.yf-open,[data-stat]:focus-within>.yf-open,.yf-open:focus-visible{ opacity:1 } .yf-open:hover{ color:var(--ta-link,#0066cc) }
@media (hover:none){ .yf-open{ opacity:.6 } }

/* group chips under the search field (the explorer's sections) */
.yfx-chips{ display:flex; flex-wrap:wrap; gap:calc(5px * var(--yf-scale,1)); padding:calc(9px * var(--yf-scale,1)) calc(10px * var(--yf-scale,1)) calc(3px * var(--yf-scale,1)); border-bottom:1px solid var(--yf-hair) } .yfx-chips[hidden]{ display:none }
.yfx-chips button{ appearance:none; border:0; cursor:pointer; padding:calc(3px * var(--yf-scale,1)) calc(9px * var(--yf-scale,1)); border-radius:999px; background:var(--yf-field); color:var(--yf-ink); font:500 calc(11.5px * var(--yf-scale,1))/calc(15px * var(--yf-scale,1)) var(--yf-text); white-space:nowrap }
.yfx-chips button[aria-pressed="true"]{ background:var(--yf-blue); color:#fff } .yfx-chips em{ font-style:normal; opacity:.6; margin-left:calc(4px * var(--yf-scale,1)); font-size:calc(10.5px * var(--yf-scale,1)) }
/* a statistic with no line: the figure, its parts, and the honest state */
.yfd-snap{ margin-top:calc(26px * var(--yf-scale,1)) } .yfd-snap .yfd-big{ font:800 calc(52px * var(--yf-scale,1))/1.05 var(--yf-disp); letter-spacing:-.01em; color:var(--yf-ink) }
.yfd-snap .yfd-asof{ margin-top:calc(8px * var(--yf-scale,1)); font:400 calc(12.75px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute) }
.yfd-parts{ display:flex; gap:calc(28px * var(--yf-scale,1)); align-items:center; margin-top:calc(26px * var(--yf-scale,1)); flex-wrap:wrap }
.yfd-rg{ width:calc(170px * var(--yf-scale,1)); height:calc(170px * var(--yf-scale,1)); flex:none } .yfd-rt{ stroke:var(--yf-gh); stroke-width:16 } .yfd-rc{ fill:var(--yf-ink); font:700 16px var(--yf-text) }
.yfd-pl{ list-style:none; margin:0; padding:0; flex:1 1 calc(200px * var(--yf-scale,1)); display:grid; gap:calc(2px * var(--yf-scale,1)) } .yfd-pl li{ display:flex; align-items:center; gap:calc(10px * var(--yf-scale,1)); padding:calc(8px * var(--yf-scale,1)) 0; border-bottom:1px solid var(--yf-gv); font:500 calc(13px * var(--yf-scale,1))/calc(16px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-ink) }
.yfd-pl i{ width:calc(10px * var(--yf-scale,1)); height:calc(10px * var(--yf-scale,1)); border-radius:50%; flex:none } .yfd-pl span{ flex:1; min-width:0 } .yfd-pl b{ font-weight:700 }
.yfd-nohist{ margin:calc(22px * var(--yf-scale,1)) 0 0; padding:calc(12px * var(--yf-scale,1)) calc(14px * var(--yf-scale,1)); border-radius:calc(10px * var(--yf-scale,1)); background:var(--yf-pill); color:var(--yf-mute); font:400 calc(12.75px * var(--yf-scale,1))/calc(18px * var(--yf-scale,1)) var(--yf-text); max-width:calc(560px * var(--yf-scale,1)) }

/* the sidebar's tint over the desktop, sampled from the reference windows (dark: ref2-4, light: the Dow Jones capture) */
.yfx,.yfd,.yfc{ --yf-side-bg:linear-gradient(180deg,#d9d9e0 0%,#dad8e0 11%,#d8d5dc 16.5%,#d4d2d6 22%,#d2d0d5 27%,#d2d0d6 33%,#d0ced4 38%,#d0cfd8 44%,#d1d0d9 49%,#d0d0d8 55%,#ceced6 60%,#ccccd4 66%,#cbcbd3 71%,#cacad2 77%,#cac9d0 82%,#c9c9cf 88%,#c8c9ce 100%); --yf-bar:#f3f2f3; --yf-barline:#e6e6e6 }
.yf-dark.yfx,.yf-dark .yfx{ --yf-side-bg:linear-gradient(180deg,#2b2b2d 0%,#2d2d2e 6%,#303031 12%,#2e2e30 18%,#2b2b2e 24%,#27272c 30%,#26272d 36%,#2c2d36 42%,#35373f 48%,#39393c 54%,#353132 60%,#2d2a2b 66%,#2a292a 72%,#282729 78%,#242425 84%,#242425 100%); --yf-bar:#1f1f20; --yf-barline:transparent }
:root[data-appearance="dark"] .yfx,:root[data-theme="dark"] .yfx{ --yf-side-bg:linear-gradient(180deg,#2b2b2d 0%,#2d2d2e 6%,#303031 12%,#2e2e30 18%,#2b2b2e 24%,#27272c 30%,#26272d 36%,#2c2d36 42%,#35373f 48%,#39393c 54%,#353132 60%,#2d2a2b 66%,#2a292a 72%,#282729 78%,#242425 84%,#242425 100%); --yf-bar:#1f1f20; --yf-barline:transparent }
@media (prefers-color-scheme:dark){ :root:not([data-appearance="light"]):not([data-theme="light"]) .yfx:not(.yf-light){ --yf-side-bg:linear-gradient(180deg,#2b2b2d 0%,#2d2d2e 6%,#303031 12%,#2e2e30 18%,#2b2b2e 24%,#27272c 30%,#26272d 36%,#2c2d36 42%,#35373f 48%,#39393c 54%,#353132 60%,#2d2a2b 66%,#2a292a 72%,#282729 78%,#242425 84%,#242425 100%); --yf-bar:#1f1f20; --yf-barline:transparent } }
/* macOS window chrome (cfg.chrome): traffic lights, a title bar, overlay scrollbars */
.yfx-lights{ position:absolute; z-index:6; left:calc(19px * var(--yf-scale,1)); top:calc(19px * var(--yf-scale,1)); display:flex; gap:calc(8px * var(--yf-scale,1)) }
.yfx-lights button{ appearance:none; -webkit-appearance:none; padding:0; margin:0; border:0; width:calc(12px * var(--yf-scale,1)); height:calc(12px * var(--yf-scale,1)); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 .5px rgba(0,0,0,.18); cursor:default; position:relative }
.yfx-lights button:focus-visible{ outline:2px solid var(--yf-blue); outline-offset:2px }
.yfx-lights button::after{ content:''; position:absolute; inset:0; border-radius:50%; background:rgba(0,0,0,0); transition:background .08s ease }
.yfx-lights .yfx-lr{ background:#ff5f57 } .yfx-lights .yfx-ly{ background:#febc2e } .yfx-lights .yfx-lg{ background:#28c840 }
/* macOS only shows the ×/–/⤢ glyphs while the pointer is over the whole light cluster, not per-dot; approximate with :hover on the group */
.yfx-lights:hover .yfx-lr,.yfx-lights:hover .yfx-ly,.yfx-lights:hover .yfx-lg{ cursor:pointer }
.yfx-lights:hover .yfx-lr::after,.yfx-lights:hover .yfx-ly::after,.yfx-lights:hover .yfx-lg::after{ background:rgba(0,0,0,.16) }
.yfx-lights .yfx-lr svg,.yfx-lights .yfx-ly svg,.yfx-lights .yfx-lg svg{ width:calc(7px * var(--yf-scale,1)); height:calc(7px * var(--yf-scale,1)); opacity:0; pointer-events:none }
.yfx-lights:hover svg{ opacity:1 }
.yfx.chrome .yfx-bar{ background:var(--yf-bar); border-bottom:1px solid var(--yf-barline); position:sticky; top:0; z-index:4 }
/* .yfx-back only has a real job at phone width, same as the reference app: the two-pane window
   always shows the list already, so there is nothing to go "back" to there and the chevron stays
   hidden (base rule, above) -- showing it decoratively next to a working red Close was itself the
   confusing thing. At phone width it is the ONLY way from the detail pane back to the list, a real
   control distinct from red (red leaves the app for Home; back stays on it and reopens the list). */
.yfx.chrome .yfx-main,.yfx.chrome .yfx-list{ scrollbar-width:none } .yfx.chrome .yfx-main::-webkit-scrollbar,.yfx.chrome .yfx-list::-webkit-scrollbar{ display:none }
.yfx-sb{ position:absolute; right:calc(2px * var(--yf-scale,1)); width:calc(7px * var(--yf-scale,1)); border-radius:calc(4px * var(--yf-scale,1)); background:rgba(128,128,134,.55); opacity:0; transition:opacity .35s ease; pointer-events:none; z-index:6 } .yfx-sb.on{ opacity:1; transition:opacity .08s }
.yfx-main,.yfx-side{ position:relative }

.yfx.chrome .yfx-bar{ padding:0 calc(13px * var(--yf-scale,1)) 0 calc(10px * var(--yf-scale,1)); gap:calc(8px * var(--yf-scale,1)) } .yfx.chrome .yfx-exp{ display:none }
.yfx.chrome .yfx-bar{ padding-bottom:calc(5px * var(--yf-scale,1)); padding-right:calc(11px * var(--yf-scale,1)) } .yfx.chrome .yfx-share svg{ width:calc(15px * var(--yf-scale,1)); height:calc(19px * var(--yf-scale,1)) } .yfx.chrome .yfx-plus svg{ width:calc(13px * var(--yf-scale,1)); height:calc(13px * var(--yf-scale,1)) }

/* generated by tools/make-tint.py: the sidebar tint sampled from the reference windows */
.yfx,.yfd,.yfc{ --yf-tint:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAeCAIAAADLgysEAAABiklEQVR42r2WyXKDMBBEu1NKzin//4f5mB8xLwftgEC4bMsFyFqmp3tGi+/3P42KdVp8ONL9n3BkiRNgr0dybC1oqrC146lp3cjgxis3vrl31SPGVyCD6cz50H0OtWalJ1DrkgiHakBfY8dK7SlaxzYggWQzAS2b0NBUKCbpTOf26lKCyA+VVPYhPB5Lr0gHiOi8ru7TWywTaYUTnTxhWetfMsM4t1gpj1ytWcJ5QkR1xgPJydFmUhAeLcf8dGlhVxYusTEQfaMJCU28kRTgYiK38U0/Yi7AIqV6K3h5BZ5GiaRi6iS8Nvsjc9oVG6aJsdYZkGPoZCxIIakLw32+hNP9YAMiuqptScY4bxUusTFCJZYtM2Z2fgbQkV3JZBclsw4xZpwS8wTj3Y4m8T3MRs/ZnQtA/QTtgXFxRz/pzN9TGa+hcejD84t6DDk8tl8EtjnQdj15KdhZRD4Ltj7Xpy8zT1xG9pm9kOyQ2btLeKfx9Rr4eifY6m7u8PPz/TkZb7ffaxn49H1d+gd4BTppZ35KUAAAAABJRU5ErkJggg==) }
.yf-dark.yfx,.yf-dark .yfx,:root[data-appearance="dark"] .yfx,:root[data-theme="dark"] .yfx{ --yf-tint:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAeCAIAAADLgysEAAACpElEQVR42r1W7W4bMQwjZW0oukfp3v/ZgvUs7odln+1c0zUF5gCX+zQtipTMt7ff+MdBQg8eS4KkfnLxtZvZOp0AgoCAbe5HYAIoSWLDIxswSAAEQNLNjCRJIFEAapqVK+C+AlAZFaAMro1pkTmHm1kppcU3VoGJBuIed3nYKBB0CdYCkVBrdUm11ogY+E+MxJsHkp3OGgV5e0Lq4+XvEerqrlIbodAgljOPhEWkiHRF0WOkcanznRYJgTwOqhXyCLkVM/bk35GZmuAOuyVTmeku/mVhko7j8BphEsUUxWyQlsWx7I8IPqekNgudIyR4VFVG2J0Fc7UcCif4nHQghCDRQziOAGNJ5eyOvNzD+wTgrrgAcFoZ02VKh1oziVyteV2qMD6Yk5H/JEUWd/9JnL8RXD+eSBn0XkOyeOC0dhr8dGBHdvcfo3ZwgO6IHeiMblNMBxt1K+9oLrHeNN+DAiCSrZISQrqmn6SD0kr9aUpHKchRPeYCCQEecYyyDCi/VMyRLhik5W8fAGk6VUYOp7eU+nH82WxKnjamGafK3OZsQK1bmNGY15YLAUAaU2kkaC0Sr8f7rvCzpAG1Nx+ehkjINmMeMMK1fuz4HRfwiJj71OytxWhLXtFZmxlmj4wDo1Gd7JA+VLsast2cM99kAqp9qLMBt7hn+B5uX0S+54BKKZeVgRd9euP69F6XMmZFSOg1NyLCS7GXlxez8pXeeVf6h/wHz5jrAaLW9+PmAM2Ke8EzdXaDXbhYNhlkSI7vjallgWNHxjRLB1ZINcIBRRzHgW9sQT4ftdYa4bXW2+32HIdfoqDW6g0W/2W4u19ttPnhDvs7YK+vvzjtuLo1MfWYvlPTOBmdpAuC66ZtXet4zd197V0b3vLNvAldm9XWAK8p+Qt5vI45uO5obwAAAABJRU5ErkJggg==) }
@media (prefers-color-scheme:dark){ :root:not([data-appearance="light"]):not([data-theme="light"]) .yfx:not(.yf-light){ --yf-tint:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAeCAIAAADLgysEAAACpElEQVR42r1W7W4bMQwjZW0oukfp3v/ZgvUs7odln+1c0zUF5gCX+zQtipTMt7ff+MdBQg8eS4KkfnLxtZvZOp0AgoCAbe5HYAIoSWLDIxswSAAEQNLNjCRJIFEAapqVK+C+AlAZFaAMro1pkTmHm1kppcU3VoGJBuIed3nYKBB0CdYCkVBrdUm11ogY+E+MxJsHkp3OGgV5e0Lq4+XvEerqrlIbodAgljOPhEWkiHRF0WOkcanznRYJgTwOqhXyCLkVM/bk35GZmuAOuyVTmeku/mVhko7j8BphEsUUxWyQlsWx7I8IPqekNgudIyR4VFVG2J0Fc7UcCif4nHQghCDRQziOAGNJ5eyOvNzD+wTgrrgAcFoZ02VKh1oziVyteV2qMD6Yk5H/JEUWd/9JnL8RXD+eSBn0XkOyeOC0dhr8dGBHdvcfo3ZwgO6IHeiMblNMBxt1K+9oLrHeNN+DAiCSrZISQrqmn6SD0kr9aUpHKchRPeYCCQEecYyyDCi/VMyRLhik5W8fAGk6VUYOp7eU+nH82WxKnjamGafK3OZsQK1bmNGY15YLAUAaU2kkaC0Sr8f7rvCzpAG1Nx+ehkjINmMeMMK1fuz4HRfwiJj71OytxWhLXtFZmxlmj4wDo1Gd7JA+VLsast2cM99kAqp9qLMBt7hn+B5uX0S+54BKKZeVgRd9euP69F6XMmZFSOg1NyLCS7GXlxez8pXeeVf6h/wHz5jrAaLW9+PmAM2Ke8EzdXaDXbhYNhlkSI7vjallgWNHxjRLB1ZINcIBRRzHgW9sQT4ftdYa4bXW2+32HIdfoqDW6g0W/2W4u19ttPnhDvs7YK+vvzjtuLo1MfWYvlPTOBmdpAuC66ZtXet4zd197V0b3vLNvAldm9XWAK8p+Qt5vI45uO5obwAAAABJRU5ErkJggg==) } }
.yfx-side{ background:var(--yf-tint,none) 0 0/100% 100% no-repeat, var(--yf-side-bg) }
.yfx.chrome.fit .yfx-pane{ padding-top:calc(30px * var(--yf-scale,1)) }

/* MINIMIZE-v1: the pill left behind when the yellow light is clicked. Fixed to the viewport, not the
   window (the window itself is display:none while minimized), so it survives however that window was
   positioned (windowed or fullscreen). Bottom-left: bottom-right is the hub's own .hb-notestack (right,
   bottom, up to 360px wide) and .hb-toast sits bottom-center -- bottom-left is the one corner nothing
   else claims. At phone width the hub's own .hb-tabbar takes the whole bottom edge, so the pill moves
   to a top corner there instead, clear of both the tab bar and the top bar above it. */
.yfx-min{ all:unset; box-sizing:border-box; position:fixed; z-index:2147483000; left:16px; bottom:16px; display:flex; align-items:center; gap:12px; min-height:52px; max-width:min(340px,calc(100vw - 32px)); padding:8px 16px 8px 10px; border-radius:999px; cursor:pointer;
  font-family:var(--yf-text); font-size:13px; line-height:16px; background:color-mix(in srgb, var(--yf-bg) 90%, transparent); color:var(--yf-ink); box-shadow:0 10px 32px rgba(0,0,0,.34), 0 0 0 .5px var(--yf-hair); backdrop-filter:blur(22px) saturate(1.6); -webkit-backdrop-filter:blur(22px) saturate(1.6); transition:transform .12s ease, box-shadow .12s ease }
.yfx-min[hidden]{ display:none }
.yfx-min:hover{ background:color-mix(in srgb, var(--yf-bg) 97%, transparent); transform:translateY(-1px); box-shadow:0 14px 38px rgba(0,0,0,.4), 0 0 0 .5px var(--yf-hair) } .yfx-min:focus-visible{ outline:2px solid var(--yf-blue); outline-offset:3px }
.yfx-min-ic{ width:34px; height:34px; flex:none; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--yf-blue); color:#fff } .yfx-min-ic svg{ width:16px; height:16px }
.yfx-min-t{ min-width:0; flex:1; overflow:hidden }
.yfx-min-k{ display:block; font-size:11px; line-height:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--yf-mute) }
.yfx-min-n{ display:block; font-weight:600; font-size:14px; line-height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yfx-min-v{ flex:none; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; color:var(--yf-ink) }
@media (max-width:759px){ .yfx-min{ left:auto; right:12px; bottom:auto; top:calc(12px + env(safe-area-inset-top,0px)) } }

/* fallback toast for share's "Link copied", used only where the host page has no HBD.toast of its own
   (the standalone library page, e.g.) -- on a real hub page HBD.toast is used instead, for one look. */
.yfx-say{ all:unset; box-sizing:border-box; position:fixed; z-index:2147483000; left:50%; bottom:26px; transform:translate(-50%,10px); opacity:0; padding:11px 16px; border-radius:14px; background:var(--yf-ink); color:var(--yf-bg); font:600 13px/16px var(--yf-text); box-shadow:0 12px 40px rgba(0,0,0,.3); pointer-events:none; transition:opacity .2s,transform .2s }
.yfx-say.on{ opacity:1; transform:translate(-50%,0) }

/* live: the footer status and the tick on a value that moved (direction follows GOOD, not up) */
.yfx-fr{ display:inline-flex; gap:calc(10px * var(--yf-scale,1)); align-items:center } .yfx-pill{ display:inline-flex; align-items:center; gap:calc(5px * var(--yf-scale,1)); font-weight:600 } .yfx-pill i{ width:calc(7px * var(--yf-scale,1)); height:calc(7px * var(--yf-scale,1)); border-radius:50%; background:var(--yf-mute) }
.yfx-pill.live i{ background:#30d158; box-shadow:0 0 0 calc(3px * var(--yf-scale,1)) rgba(48,209,88,.22) } .yfx-pill.paused i{ background:#ff9f0a } .yfx-pill.off i{ background:#ff453a } .yfx-pill.sample i{ background:var(--yf-blue) } .yfx-ago,.yfx-note{ opacity:.85 }
@keyframes yf-up{ 0%{ background:rgba(48,209,88,.45) } 100%{ background:transparent } } @keyframes yf-dn{ 0%{ background:rgba(255,69,58,.45) } 100%{ background:transparent } }
.yfx-rv.fl-up,.yfd-v.tick-up{ animation:yf-up .9s ease-out } .yfx-rv.fl-dn,.yfd-v.tick-dn{ animation:yf-dn .9s ease-out } .yfx-rv,.yfd-v{ border-radius:calc(4px * var(--yf-scale,1)) }
@media (prefers-reduced-motion:reduce){ .yfx-rv.fl-up,.yfx-rv.fl-dn,.yfd-v.tick-up,.yfd-v.tick-dn{ animation:none } }

/* pills wrap instead of clipping; the caption under the source line */
.yfd-rb{ flex-wrap:wrap; row-gap:calc(4px * var(--yf-scale,1)) } .yfd-rz{ height:auto; min-height:calc(38px * var(--yf-scale,1)) } .yfd-rb.many{ flex-wrap:nowrap }
.yfd-cap{ margin-top:calc(2px * var(--yf-scale,1)); font:400 calc(11.5px * var(--yf-scale,1))/calc(15px * var(--yf-scale,1)) var(--yf-text); color:var(--yf-mute); opacity:.85 }

/* WEEKLY-BUTTON-v1: the toolbar's labeled way out to the classic page's weekly-cycle content, with the count waiting */
.yfx-wk{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; gap:calc(7px * var(--yf-scale,1)); height:calc(26px * var(--yf-scale,1)); padding:0 calc(11px * var(--yf-scale,1)); border-radius:999px; background:var(--yf-pill); color:var(--yf-ink); font:600 calc(12px * var(--yf-scale,1))/1 var(--yf-text) }
.yfx-wk[hidden]{ display:none } .yfx-wk:hover{ background:var(--yf-rowsel) } .yfx-wk:focus-visible{ outline:2px solid var(--yf-blue); outline-offset:2px }
.yfx-wk-b{ min-width:calc(18px * var(--yf-scale,1)); height:calc(18px * var(--yf-scale,1)); padding:0 calc(5px * var(--yf-scale,1)); border-radius:999px; background:#ff3b30; color:#fff; font-size:calc(11px * var(--yf-scale,1)); line-height:1; display:inline-flex; align-items:center; justify-content:center; font-variant-numeric:tabular-nums } .yfx-wk-b[hidden]{ display:none }


/* NARROW-v1: the single-pane list/detail layout the phone media query gives, as a class, so a large text size gets it too (see autoScale) */
.yfx.narrow{grid-template-columns:minmax(0,1fr); height:var(--yfx-h,calc(640px * var(--yf-scale,1)))}
.yfx.narrow .yfx-side{border-right:0}
.yfx.narrow .yfx-main{display:none}
.yfx.narrow.detail .yfx-side{display:none}
.yfx.narrow.detail .yfx-main{display:flex}
.yfx.narrow .yfx-top{padding-top:calc(16px * var(--yf-scale,1))}
.yfx.narrow .yfx-back{visibility:visible}
.yfx.narrow .yfx-bar{height:calc(46px * var(--yf-scale,1))}
.yfx.narrow .yfx-pane{padding:0 calc(16px * var(--yf-scale,1)) calc(32px * var(--yf-scale,1))}
.yfx.narrow .yfd-t{font-size:calc(26px * var(--yf-scale,1))}
.yfx.narrow .yfd-more{grid-template-columns:minmax(0,1fr)}

.yfx.narrow.expanded{height:100vh !important}
.yfx.narrow .yfx-exp{display:none}
.yfx.narrow /* .yfx.fit .yfx-main{display:flex}
.yfx.narrow above is unconditional (a fit pane always fills), .yfx.narrow so on a phone it wins over the plain .yfx-main{display:none}
.yfx.narrow list/detail toggle above by specificity alone; repeat the toggle at the same specificity so the list, .yfx.narrow not the detail, .yfx.narrow opens first here. */
  .yfx.fit .yfx-main{display:none}
.yfx.narrow.fit.detail .yfx-main{display:flex}
.yfx.narrow .yfx-aa2{ display:inline-flex }

/* TEXT-SIZE-v1 */
.yfx{ position:relative } .yfx.expanded{ position:fixed }
.yfx-aa{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; width:calc(28px * var(--yf-scale,1)); height:calc(28px * var(--yf-scale,1)); border-radius:calc(6px * var(--yf-scale,1)); color:inherit; font:700 calc(15px * var(--yf-scale,1))/1 var(--yf-text) }
.yfx-aa small{ font-size:.72em; font-weight:600 } .yfx-aa:hover{ background:var(--yf-pill) } .yfx-aa2{ display:none; margin-left:auto }
.yfx-sz{ position:absolute; z-index:9; right:calc(14px * var(--yf-scale,1)); top:calc(46px * var(--yf-scale,1)); width:calc(260px * var(--yf-scale,1)); max-width:calc(100% - 20px); padding:calc(14px * var(--yf-scale,1)); border-radius:calc(14px * var(--yf-scale,1)); background:var(--yf-card,var(--yf-bg)); color:var(--yf-ink); box-shadow:0 14px 44px rgba(0,0,0,.35), 0 0 0 .5px var(--yf-hair); font:400 calc(13px * var(--yf-scale,1))/1.35 var(--yf-text) }
.yfx-sz[hidden]{ display:none }
.yfx-sz-h{ font-weight:600; margin-bottom:calc(8px * var(--yf-scale,1)) }
.yfx-sz-r{ display:flex; align-items:center; gap:calc(10px * var(--yf-scale,1)); justify-content:space-between }
.yfx-sz-r button,.yfx-sz-rs{ all:unset; box-sizing:border-box; cursor:pointer; min-width:44px; min-height:44px; padding:0 calc(12px * var(--yf-scale,1)); display:inline-flex; align-items:center; justify-content:center; border-radius:calc(10px * var(--yf-scale,1)); background:var(--yf-pill); font-weight:700; font-size:calc(15px * var(--yf-scale,1)) }
.yfx-sz-r button:hover,.yfx-sz-rs:hover{ background:var(--yf-rowsel) } .yfx-sz-r button[disabled],.yfx-sz-rs[disabled]{ opacity:.4; cursor:default }
.yfx-sz-v{ font-size:calc(20px * var(--yf-scale,1)); font-variant-numeric:tabular-nums }
.yfx-sz input[type=range]{ width:100%; margin:calc(12px * var(--yf-scale,1)) 0 0; accent-color:var(--yf-blue) }
.yfx-sz-s{ display:flex; justify-content:space-between; color:var(--yf-mute); font-size:calc(11px * var(--yf-scale,1)) }
.yfx-sz-rs{ margin-top:calc(10px * var(--yf-scale,1)); width:100% }
.yfx-sz-n{ margin:calc(10px * var(--yf-scale,1)) 0 0; color:var(--yf-mute); font-size:calc(11.5px * var(--yf-scale,1)) }
.yfx.yfx-big .yfx-back,.yfx.yfx-big .yfx-share,.yfx.yfx-big .yfx-plus,.yfx.yfx-big .yfx-aa,.yfx.yfx-big .yfx-exp,.yfx.yfx-big .yfx-pin,.yfx.yfx-big .yfx-clear,.yfx.yfx-big .yfx-wk{ min-width:44px; min-height:44px }
.yfx.yfx-big .yfx-chips button,.yfx.yfx-big .yfd-pill,.yfx.yfx-big .yfx-lt{ min-height:44px }
.yfx.yfx-big .yfx-lights button::before{ content:''; position:absolute; inset:-9px }
.yfx button:focus-visible,.yfx [role=option]:focus-visible,.yfx input:focus-visible{ outline:2px solid var(--yf-blue); outline-offset:2px }

/* STAGE-v1: minimized windows wait as tilted miniatures of the real window along the right edge, like Stage Manager.
   Right edge inset clear of the scrollbar; the hub's toast (bottom centre) and note stack (bottom right, z 390) are elsewhere. */
.yfx-stage{ position:fixed; right:22px; top:120px; z-index:2147482000; display:flex; flex-direction:column; align-items:flex-end; gap:22px; pointer-events:none }
.yfx-thumb{ all:unset; box-sizing:border-box; position:relative; display:block; flex:none; cursor:pointer; pointer-events:auto; border-radius:10px; transition:opacity .2s }
.yfx-thumb-win{ display:block; position:relative; overflow:hidden; border-radius:8px; background:var(--yf-bg,#fff); box-shadow:-10px 10px 26px rgba(0,0,0,.38), 0 0 0 .5px rgba(0,0,0,.22);
  transform:perspective(700px) rotateY(20deg); transform-origin:100% 50%; transition:transform .22s ease, box-shadow .22s ease }
.yfx-thumb:hover .yfx-thumb-win,.yfx-thumb:focus-visible .yfx-thumb-win{ transform:perspective(700px) rotateY(8deg) translateX(-10px) scale(1.05); box-shadow:-14px 14px 32px rgba(0,0,0,.42), 0 0 0 .5px rgba(0,0,0,.22) }
.yfx-thumb:focus-visible{ outline:3px solid #0a84ff; outline-offset:6px }
.yfx-thumb-badge{ position:absolute; right:-10px; bottom:-10px; width:30px; height:30px; filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)); pointer-events:none } .yfx-thumb-badge svg{ width:30px; height:30px; display:block }
.yfx-clone{ position:absolute !important; pointer-events:none !important; user-select:none }
@media (prefers-reduced-motion:reduce){ .yfx-thumb-win{ transition:none } }
@media (max-width:759px){ .yfx-stage{ display:none } }

/* PHONE-CLOSE-v1: Done, only for a full-screen explorer on a phone */
.yfx-donebar{display:none}
.yfx.narrow.expanded .yfx-donebar{display:flex;justify-content:flex-end;padding:calc(env(safe-area-inset-top,0px) + 6px) 4px 10px}
.yfx-done{height:34px;padding:0 18px;border:0;border-radius:999px;background:var(--ta-blue,#0a84ff);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
