/* StocksXray stock page, Lens body (13-14 Nov 2026). Loaded by the Clarity layout copy; every rule is scoped to .nx-stock, so no other page changes.
   Adds: Lens accent tokens, white module headers with the gold dot, square cards, one typeface, the returns strip above the chart, the 52-week flag + verdict row in the quote block,
   phone compaction and collapsible modules (lens-stock.js). */
.nx-stock{--nx-acc:#007CAD;--nx-acc-ink:#00638A;--nx-acc-tint:#E6F3F8;--nx-acc-line:#B9DCEC;--x-acc:#007CAD;--x-acc2:#00638A;--x-accd:#00638A;--x-accbg:#E6F3F8;--x-teal:#007CAD}
/* one typeface and square cards */
.nx-stock .nx-quote,.nx-stock .nx-card,.nx-stock .nx-tabs,.nx-stock .nx-qside .nx-gauge,.nx-stock div[style*="border-radius: 8px"],.nx-stock section>div[style*="border: 1px solid"]{border-radius:0!important}
.nx-stock .nx-quote{border-top:3px solid #F5B63D}
.nx-stock .nx-q-logo{border-radius:0}
.nx-stock h2[style*="Source Serif"],.nx-stock h2[style*="IBM Plex Sans"]{font:700 15px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:-.005em!important;color:var(--nx-ink)!important}
.nx-stock h2[style*="Source Serif"]{font-size:16px!important}
.nx-stock .nx-mono,.nx-stock [style*="IBM Plex Mono"]{font-family:Inter,system-ui,sans-serif!important;font-variant-numeric:tabular-nums}
.nx-stock .nx-num,.nx-stock .nx-stats b,.nx-stock .nx-perf b{font-variant-numeric:tabular-nums}
/* module headers: white bar, gold dot (the Lens module header) */
.nx-stock .nx-card-h{background:#fff}
.nx-stock .nx-card-h h2::before,.nx-stock .nx-card-h h3::before,.nx-stock .nx-legacy section>h2::before,.nx-stock .nx-legacy section>div>h2::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#F5B63D;margin-right:9px;vertical-align:1px}
/* state chip: "At close 12 Nov 2026 · USD · Volume ..." */
.nx-stock .nx-px small time{display:inline-flex;vertical-align:middle;align-items:center;gap:6px;background:var(--nx-sunken,#F0F4F8);border:1px solid var(--nx-line);padding:4px 9px;font-weight:700;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--nx-ink)}
.nx-stock .nx-px small time::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--nx-up,#127A3E)}
/* 52-week flag and verdict row (rendered by the live-quote stub) */
.nx-stock .lx-flags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.nx-stock .lx-flag{font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;background:#FDF3DC;color:#7A5200;border:1px solid #F0D58B;padding:6px 9px}.nx-stock .lx-flag.lo{background:#FDECEC;color:#9B1C1C;border-color:#F3C3C3}
.nx-stock .lx-verdict{display:flex;gap:14px;align-items:center;margin-top:14px;padding:12px 14px;background:var(--nx-sunken,#F5F8FB);border:1px solid var(--nx-line)}
.nx-stock .lx-ring{flex:none;position:relative;width:60px;height:60px;display:block}.nx-stock .lx-ring svg{display:block}.nx-stock .lx-ring b{position:absolute;inset:0;display:grid;place-items:center;font:800 20px Inter,system-ui,sans-serif;color:var(--nx-ink)}
.nx-stock .lx-verdict strong{display:block;font:800 16px/1.25 Inter,system-ui,sans-serif;color:var(--nx-ink);letter-spacing:-.01em}.nx-stock .lx-verdict span.t{display:block;margin-top:3px;font-size:13px;color:var(--nx-mut);line-height:1.4}.nx-stock .lx-verdict a{font-weight:600;white-space:nowrap}
@media (min-width:961px){.nx-stock .lx-verdict{display:none}}   /* desktop: the scorecard in the right column already says it */
/* returns strip above the chart: each range shows its return, clicking it selects the range in the chart */
.nx-stock .lx-rngs{display:flex;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--nx-line);margin:-4px 0 12px}.nx-stock .lx-rngs::-webkit-scrollbar{display:none}
.nx-stock .lx-r{flex:1 0 auto;min-width:68px;display:grid;gap:3px;justify-items:center;padding:9px 8px;border:0;border-right:1px solid var(--nx-line);background:#fff;font-family:inherit;color:inherit;cursor:pointer}.nx-stock .lx-r:last-child{border-right:0}
.nx-stock .lx-r.static{cursor:default;background:var(--nx-sunken,#F5F8FB)}
.nx-stock .lx-r span{font:700 12.5px Inter,system-ui,sans-serif;color:var(--nx-ink)}.nx-stock .lx-r b{font:600 12.5px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--nx-mut)}.nx-stock .lx-r b.up{color:var(--nx-up)}.nx-stock .lx-r b.dn{color:var(--nx-dn)}
.nx-stock .lx-r[aria-pressed="true"]{background:var(--nx-acc-tint);box-shadow:inset 0 -2px 0 var(--nx-acc)}
.nx-stock .lx-r:focus-visible{outline:2px solid var(--nx-acc);outline-offset:-2px}
.nx-stock:has(.lx-rngs) .nx-perf{display:none}   /* the strip above the chart carries the same numbers */
/* sticky tabs: keep the Clarity tab bar, lighter active mark */
.nx-stock .nx-tabs a[aria-current]{color:var(--nx-acc-ink);border-bottom-color:#F5B63D}
/* collapsible modules (phone) */
.nx-stock .lx-c .lx-tg{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;cursor:pointer;font:inherit;color:inherit;min-height:44px}
.nx-stock .lx-c .lx-tg::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--nx-mut);border-bottom:2px solid var(--nx-mut);transform:rotate(45deg);margin:-3px 4px 0 8px;transition:transform .15s}
.nx-stock .lx-c.lx-closed .lx-tg::after{transform:rotate(-45deg);margin:0 4px 0 8px}
.nx-stock .lx-c .lx-tg:focus-visible{outline:2px solid var(--nx-acc);outline-offset:2px}
.nx-stock .lx-c.lx-closed>:not(.lx-hd){display:none!important}
.nx-stock .lx-c.lx-closed>.lx-hd{border-bottom:0!important}
.nx-stock .lx-c{width:100%;box-sizing:border-box;align-self:stretch}.nx-stock .lx-c.lx-closed{padding-top:2px!important;padding-bottom:2px!important}
@media (max-width:720px){
  .nx-stock .nx-q-h1{gap:10px}.nx-stock .nx-q-logo,.nx-stock .nx-q-logo .co-logo{width:40px!important;height:40px!important}.nx-stock .nx-q h1{font-size:22px}.nx-stock .nx-q-meta{font-size:12.5px;line-height:1.45}
  .nx-stock .nx-px{margin-top:8px}.nx-stock .lx-flags{margin-top:8px}.nx-stock .nx-links{margin-top:10px}
  .nx-stock .lx-ring,.nx-stock .lx-ring svg{width:50px;height:50px}.nx-stock .lx-ring b{font-size:17px}.nx-stock .lx-verdict span.t{font-size:12px}
  .nx-stock .nx-quote{padding:14px 16px}
  .nx-stock .nx-qside .nx-qs:nth-child(n+2){display:none}   /* day and 52-week ranges stay in the Vitals list */
  .nx-stock .nx-qside{border-left:0;padding-left:0;margin-top:10px}
  .nx-stock .nx-px b{font-size:36px}.nx-stock .nx-px .nx-pill{font-size:17px}
  .nx-stock .nx-q-act .nx-btn{height:36px;padding:0 10px;white-space:nowrap;font-size:13.5px}
  .nx-stock .lx-verdict{margin-top:10px;padding:10px 12px;gap:12px}.nx-stock .lx-verdict strong{font-size:15px}
  .nx-stock .lx-rngs{margin-bottom:8px}
}

/* company logos in rows (peers, sector leaders, holdings): our own logo or the monogram tile */
.nx-stock .lx-lg{display:inline-flex;vertical-align:middle;margin-right:8px;flex:none}.nx-stock .lx-lg--s{margin-right:4px}.nx-stock .lx-lg .co-logo{margin:0}.nx-stock .lx-lg img.co-logo{display:block;object-fit:contain}
/* link to the stock's blog post(s): "Read: Apple Earnings and Dividend" (lens-pages/post-link, data-driven from posts.tickers) */
.nx-stock .lx-read{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--nx-mut)}
.nx-stock .lx-read span{font-weight:700;color:var(--nx-ink);margin-right:4px}
.nx-stock .lx-read a{color:var(--nx-acc-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.nx-stock .lx-read i{font-style:normal;margin:0 8px;color:var(--nx-line)}
@media (max-width:640px){.nx-stock .lx-read{margin-top:10px;font-size:13.5px}}
