:root { --bg:#fff; --ink:#14212b; --muted:#56636e; --line:#e3e8ec; --line2:#edf1f3; --head:#fafbfc; --soft:#f4f7f8; --hover:#ecf1f3; --field:#cfd7dd; --accent:#0f6b72; --kick:var(--accent); --dark:#0f2a33; --on:#fff; --up:#c62828; --dn:#1b7a3e; --spot:#2bb3bd; --hdr:#0f2a33; }
[data-theme="navy"] { --ink:#0f1b33; --accent:#1d3f8f; --kick:#946a06; --soft:#f3f5fa; --hover:#e8ecf5; --dark:#0f1b33; --spot:#d9a520; --hdr:#0f1b33; }
[data-theme="graphite"] { --ink:#1b1f24; --accent:#1b1f24; --kick:#b45309; --soft:#f6f5f2; --hover:#eeece7; --dark:#1b1f24; --spot:#f59e0b; --hdr:#1b1f24; }
[data-theme="indigo"] { --ink:#1e1b3a; --accent:#4f46e5; --soft:#f5f5fb; --hover:#ebebf8; --dark:#1e1b4b; --spot:#818cf8; --hdr:#1e1b4b; }
[data-theme="mono"] { --ink:#111111; --accent:#111111; --kick:#5f6670; --soft:#f5f5f5; --hover:#ececec; --dark:#111111; --spot:#9aa0a6; --hdr:#111111; }
[data-theme="midnight"] { --bg:#0e151b; --ink:#e6edf2; --muted:#9db0bd; --line:#22303b; --line2:#1b2731; --head:#131d25; --soft:#16222c; --hover:#1d2b36; --field:#34454f; --accent:#5cc8d0; --dark:#16222c; --on:#0b1218; --up:#ff7b72; --dn:#56d364; --spot:#5cc8d0; --hdr:#16222c; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.5 Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color:var(--ink); background:var(--bg); }
a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; }
.vh { position:absolute; left:-9999px; }
.top { border-bottom:1px solid var(--line); background:var(--bg); position:sticky; top:0; z-index:10; }
.topin, .tabs, main, .footin { max-width:1160px; margin:0 auto; padding-left:clamp(16px,4vw,48px); padding-right:clamp(16px,4vw,48px); }
.topin { display:flex; justify-content:space-between; align-items:center; padding-top:14px; padding-bottom:6px; }
.brand { font-weight:800; font-size:18px; color:var(--ink); letter-spacing:-0.01em; }
.cta { font-weight:600; font-size:14px; }
.tabs { display:flex; gap:4px; overflow-x:auto; }
.tabs a { padding:10px 12px 12px; color:var(--muted); font-weight:500; font-size:14.5px; white-space:nowrap; border-bottom:2px solid transparent; }
.tabs a:hover { color:var(--ink); text-decoration:none; }
.tabs a[aria-current="page"] { color:var(--ink); border-bottom-color:var(--accent); font-weight:600; }
section { margin:32px 0; }
.hero { padding:28px 0 4px; }
.hero.sm { padding-top:16px; }
h1 { font-size:clamp(30px,4.6vw,48px); line-height:1.08; letter-spacing:-0.025em; margin:6px 0 12px; max-width:800px; }
.hero.sm h1 { font-size:clamp(28px,3.6vw,38px); }
h2 { font-size:19px; margin:0 0 12px; letter-spacing:-0.01em; }
.kicker { text-transform:uppercase; letter-spacing:.08em; font-size:12px; color:var(--kick); font-weight:700; margin:0; }
.lede { color:var(--muted); font-size:17px; margin:0; max-width:680px; }
.mut { color:var(--muted); } .small { font-size:12.5px; } .strong { font-weight:700; }
.note { color:var(--muted); font-size:12.5px; margin:8px 0 0; }
.up { color:var(--up); } .dn { color:var(--dn); }
.hrow { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.more { font-size:14px; font-weight:600; }
.tbox { overflow-x:auto; border:1px solid var(--line); border-radius:14px; }
table.data { width:100%; border-collapse:collapse; font-size:14px; }
table.data th { text-align:left; font-weight:600; color:var(--muted); padding:11px 10px; font-size:12.5px; white-space:nowrap; background:var(--head); border-bottom:1px solid var(--line); }
table.data td { border-top:1px solid var(--line2); padding:10px; vertical-align:middle; }
table.data tr:first-child td { border-top:0; }
table.data .n { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
table.data a { color:var(--ink); }
table.sortable th { cursor:pointer; user-select:none; }
table.sortable th[aria-sort="ascending"]::after { content:" ↑"; } table.sortable th[aria-sort="descending"]::after { content:" ↓"; }
.tag { font-size:10.5px; font-weight:700; color:var(--accent); border:1px solid var(--accent); border-radius:4px; padding:0 4px; margin-left:4px; }
.spark { display:block; } .spark polyline { fill:none; stroke:#8a979f; stroke-width:1.6; } .spark.rise polyline { stroke:var(--up); } .spark.fall polyline { stroke:var(--dn); }
.tiles, .tiles4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.tile { display:block; background:var(--soft); border-radius:14px; padding:16px 18px; color:var(--ink); }
a.tile:hover { text-decoration:none; background:var(--hover); }
.tile span { display:block; font-size:12.5px; color:var(--muted); }
.tile b { display:block; font-size:24px; margin-top:4px; letter-spacing:-0.01em; } .tile b span { display:inline; font-size:inherit; }
.tile b.small, .tile b.smallb { font-size:18px; }
.tile em { display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:2px; } .tile em span { display:inline; }
.two { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:32px; }
.lrow { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line2); color:var(--ink); font-size:14.5px; }
.lrow:hover { text-decoration:none; background:var(--head); }
.lrow .n b { margin-left:10px; }
.barrow { display:grid; grid-template-columns:170px 1fr 64px; align-items:center; gap:10px; padding:6px 0; font-size:14px; }
.barrow .n { text-align:right; font-variant-numeric:tabular-nums; font-weight:600; }
.bar { display:block; height:10px; background:var(--line2); border-radius:6px; overflow:hidden; }
.bar i { display:block; height:100%; background:var(--accent); border-radius:6px; }
.barcell { display:grid; grid-template-columns:minmax(80px,1fr) 64px; gap:10px; align-items:center; min-width:180px; }
.panel { background:var(--soft); border-radius:14px; padding:18px 20px; }
.panel .big { font-size:36px; font-weight:800; margin:0; letter-spacing:-0.02em; }
.panel p { margin:2px 0 8px; } .panel .spark { width:100% !important; height:60px !important; }
.signup { background:var(--dark); color:#fff; border-radius:18px; padding:clamp(22px,4vw,40px); display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; }
.signup h2 { font-size:24px; margin:0; } .signup p { color:#c5d3d8; margin:6px 0 0; }
.signup form { display:flex; flex-wrap:wrap; gap:10px; flex:1 1 320px; max-width:460px; }
.signup input { flex:1 1 200px; min-width:0; height:46px; padding:0 14px; border:0; border-radius:10px; font:inherit; }
.signup button { height:46px; padding:0 20px; border:0; border-radius:10px; background:#fff; color:#14212b; font:inherit; font-weight:600; cursor:pointer; }
.search { position:relative; max-width:520px; margin-top:18px; }
.search input { width:100%; height:48px; padding:0 16px; border:1px solid var(--field); border-radius:10px; font:inherit; font-size:15.5px; }
.search ul { list-style:none; margin:4px 0 0; padding:0; position:absolute; width:100%; background:var(--bg); border:1px solid var(--line); border-radius:10px; z-index:5; box-shadow:0 8px 24px rgba(20,33,43,.08); }
.search ul:empty { display:none; } .search li a { display:block; padding:9px 14px; color:var(--ink); }
.filters { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-bottom:12px; font-size:14px; }
.filters select, .filters input:not([type=checkbox]) { height:38px; padding:0 10px; border:1px solid var(--field); border-radius:8px; font:inherit; margin-left:6px; }
.seg { display:inline-flex; background:var(--soft); border-radius:10px; padding:4px; margin-top:16px; }
.seg button { border:0; background:transparent; padding:8px 16px; border-radius:8px; font:inherit; font-size:14px; color:var(--muted); cursor:pointer; min-height:40px; }
.seg button[aria-selected="true"] { background:var(--bg); color:var(--ink); font-weight:600; box-shadow:0 1px 3px rgba(20,33,43,.1); }
.chart { width:100%; height:auto; }
.chart .grid { stroke:var(--line); } .chart .area { fill:var(--accent); opacity:.12; }
.chart .sline { fill:none; stroke:var(--accent); stroke-width:2; } .chart .pline { fill:none; stroke:#e8743b; stroke-width:1.6; }
.chart text { font-size:11px; fill:var(--muted); } .chart .axl { text-anchor:end; } .chart .axb { text-anchor:middle; }
.legend { font-size:12.5px; color:var(--muted); margin-bottom:6px; }
.legend span { display:inline-block; width:14px; height:3px; margin:0 6px 3px 14px; vertical-align:middle; }
.legend .k1 { background:var(--accent); margin-left:0; } .legend .k2 { background:#e8743b; }
.prose p { max-width:720px; }
footer { border-top:1px solid var(--line); padding:20px 0; margin-top:48px; color:var(--muted); font-size:12.5px; }
footer p { margin:0; max-width:860px; }
@media (max-width:640px) { .barrow { grid-template-columns:120px 1fr 56px; } }
[hidden] { display:none !important; }

.heat { display:grid; grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); gap:6px; }
.heat a { border-radius:10px; padding:12px 12px 10px; color:var(--ink); display:block; }
.heat a:hover { text-decoration:none; outline:2px solid var(--ink); }
.heat a.dark { color:#fff; }
.heat b { display:block; font-size:15px; } .heat span { font-size:13px; font-variant-numeric:tabular-nums; } .heat em { display:block; font-style:normal; font-size:11.5px; opacity:.85; }
.formcard { background:var(--soft); border-radius:16px; padding:clamp(20px,3vw,32px); max-width:620px; display:flex; flex-direction:column; gap:14px; }
.formcard label { font-weight:600; font-size:14px; display:flex; flex-direction:column; gap:6px; }
.formcard input, .formcard select { height:46px; padding:0 14px; border:1px solid var(--field); border-radius:10px; font:inherit; font-weight:400; background:var(--bg); }
.formcard .hint { font-weight:400; color:var(--muted); font-size:12.5px; }
.formcard button { height:48px; border:0; border-radius:10px; background:var(--accent); color:var(--on); font:inherit; font-weight:600; cursor:pointer; }
.formcard .done { color:var(--accent); font-weight:600; margin:0; }
.tile b span.up { color:var(--up); } .tile b span.dn { color:var(--dn); } .tile em span.up { color:var(--up); } .tile em span.dn { color:var(--dn); }
.seg.hm { margin-top:0; } .hrow .seg { padding:3px; } .hrow .seg button { min-height:34px; padding:6px 12px; }
.heat.h20 { grid-template-columns:repeat(10,minmax(0,1fr)); } @media (max-width:900px) { .heat.h20 { grid-template-columns:repeat(5,minmax(0,1fr)); } }
.tmap { position:relative; width:100%; aspect-ratio:1000/460; min-height:340px; border-radius:12px; overflow:hidden; background:var(--bg); }
.tmap a { position:absolute; box-sizing:border-box; border:1.5px solid var(--bg); color:var(--ink); padding:4px 6px; overflow:hidden; line-height:1.2; }
.tmap a.dark { color:#fff; } .tmap a:hover { text-decoration:none; outline:2px solid var(--ink); outline-offset:-2px; z-index:2; }
.tmap b { display:block; font-size:12px; } .tmap span { font-size:11px; font-variant-numeric:tabular-nums; }
.tmap a.big b { font-size:16px; } .tmap a.big span { font-size:13px; }
.tlegend { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:12px; color:var(--muted); }
.tlegend i { width:140px; height:8px; border-radius:4px; background:linear-gradient(90deg, rgba(198,40,40,.08), rgba(198,40,40,.95)); }
.tlegend em { font-style:normal; margin-left:auto; }
.tag { white-space:nowrap; } .tag.t20 { background:var(--accent); color:var(--on); border-color:var(--accent); } .tag.t50 { background:color-mix(in srgb, var(--accent) 18%, var(--bg)); } .tag.t100 { border-color:color-mix(in srgb, var(--accent) 60%, var(--bg)); } .tag.t200 { border-color:var(--field); color:var(--muted); }
input, select { background:var(--bg); color:var(--ink); }
.signup input { background:#fff; color:#14212b; } .signup a { color:#c5d3d8; }
.nlframe { flex:1 1 320px; max-width:460px; height:56px; border:0; background:transparent; }
.picker { display:inline-flex; gap:8px; align-items:center; margin-top:10px; } .picker select { height:32px; border:1px solid var(--field); border-radius:6px; }
.tmap { background:var(--bg); }
.soon { border:1px solid #c5d3d8; color:#fff; border-radius:999px; padding:8px 18px; font-weight:600; font-size:14px; }

.sum { max-width:70ch; margin:10px 0 0; color:var(--ink); }
.flinks { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:10px; }
.flinks span { color:var(--muted); }
.near p a { display:inline-block; margin:0 18px 6px 0; }
.prose h2 { margin-top:28px; }
.prose ul { padding-left:20px; max-width:70ch; }
.prose li { margin:4px 0; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.cards a { display:block; padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--ink); text-decoration:none; }
.cards a:hover { background:var(--hover); }
.cards b { display:block; margin-bottom:4px; }
.cards span { color:var(--muted); font-size:14px; }

.brand { display:inline-flex; align-items:center; gap:9px; }
.brand .mark { flex:none; }
.bgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.bcard { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--bg); color:var(--ink); }
.bcard .lite, .bcard .deep { display:flex; align-items:center; gap:14px; padding:26px 22px; font-weight:700; font-size:24px; letter-spacing:-.01em; }
.bcard .deep { background:var(--deep); color:#fff; --dark:#fff; --on:var(--deep); }
.bcard .info { padding:16px 22px 20px; border-top:1px solid var(--line); }
.bcard .info p { margin:6px 0 0; color:var(--muted); font-size:14px; }
.sw { display:flex; gap:6px; margin-top:12px; }
.sw i { width:34px; height:22px; border-radius:4px; border:1px solid var(--line); }
.sizes { display:flex; align-items:center; gap:14px; margin-top:12px; }

h1, h2, h3, .tabs a, th, .tile span, .cards b, .seg button, button, .more, .flinks a, .jump a, label, .lrow b { text-transform:capitalize; }
.top { background:var(--dark); border-bottom:0; }
.top .brand { color:#fff; --dark:#fff; --on:var(--hdr); }
.top .tabs a { color:rgba(255,255,255,.72); }
.top .tabs a:hover, .top .tabs a[aria-current="page"] { color:#fff; }
.top .tabs a[aria-current="page"] { border-bottom-color:var(--spot); }
.top .cta { color:#fff; }
.fine { font-size:13.5px; color:var(--muted); scroll-margin-top:110px; }
.fine h2 { color:var(--ink); border-top:1px solid var(--line); padding-top:22px; }
.fine h3 { font-size:14px; margin:18px 0 4px; color:var(--ink); }
.fine p, .fine ul { max-width:820px; margin:6px 0; }
.jump { display:flex; flex-wrap:wrap; gap:6px 18px; }

.card { border:1px solid var(--line); border-radius:18px; padding:22px 24px 18px; background:var(--bg); }
.card .hrow { align-items:center; margin-bottom:8px; }
.card .hrow h2 { margin:0; }
.card .seg { margin-top:0; }
.card > .more { display:inline-block; margin-top:12px; }

.spage h1 .tk { color:var(--muted); font-weight:600; font-size:.6em; white-space:nowrap; text-transform:none; }
.spage .tile { text-align:center; }
.spage .tile span { font-weight:700; color:var(--ink); font-size:13px; }
.spage .tile span i { font-style:normal; }
.spage .tile b.up, .spage .tile em .up { color:var(--up); } .spage .tile b.dn, .spage .tile em .dn { color:var(--dn); }
.rng { display:flex; width:max-content; max-width:100%; margin:0; overflow-x:auto; }
.ichart { position:relative; }
.isvg { width:100%; height:auto; display:block; touch-action:pan-y; }
.isvg .grid { stroke:var(--line); stroke-width:1; } .isvg .ax { font-size:13px; fill:var(--muted); }
.isvg .cross { stroke:var(--muted); stroke-width:1; stroke-dasharray:3 3; } .isvg .pxl { stroke:var(--muted); stroke-width:1.6; stroke-dasharray:5 4; }
.tip { position:absolute; transform:translate(-50%,-100%); background:var(--dark); color:#fff; font-size:12.5px; line-height:1.45; padding:8px 11px; border-radius:8px; pointer-events:none; white-space:nowrap; text-align:center; box-shadow:0 4px 14px rgba(0,0,0,.18); }
.tip b { display:block; }

.spage .legend .k2 { background:repeating-linear-gradient(90deg,var(--muted) 0 4px,transparent 4px 7px); }

/* floating navigation: full width bar at the top of the page, compact pill after scrolling */
body { padding-top:76px; }
.nv { position:fixed; inset:0 0 auto 0; z-index:50; display:flex; justify-content:center; pointer-events:none; }
.nvin { pointer-events:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; max-width:100%; height:68px; margin-top:0; padding:0 clamp(16px,4vw,48px); background:var(--hdr); border-radius:0; box-shadow:none;
  transition:max-width .7s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1), margin-top .6s cubic-bezier(.22,1,.36,1), border-radius .6s, padding .6s, background-color .4s, box-shadow .4s; }
.nv .brand { color:#fff; --dark:#fff; --on:var(--hdr); font-size:19px; white-space:nowrap; transition:font-size .5s; }
.nv .brand .mark { width:30px; height:30px; transition:width .5s, height .5s; }
.nvt { display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; } .nvt::-webkit-scrollbar { display:none; }
.nvt a { padding:8px 13px; border-radius:999px; color:rgba(255,255,255,.75); font-weight:500; font-size:14.5px; white-space:nowrap; text-transform:capitalize; transition:background-color .2s, color .2s; }
.nvt a:hover { color:#fff; text-decoration:none; background:rgba(255,255,255,.1); }
.nvt a[aria-current="page"] { color:var(--hdr); background:#fff; font-weight:600; }
.scrolled .nvin { max-width:1040px; height:54px; margin-top:12px; border-radius:999px; padding:0 10px 0 18px; background:color-mix(in srgb, var(--hdr) 86%, transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:0 10px 30px rgba(10,25,32,.22); }
.scrolled .nv .brand { font-size:16px; } .scrolled .nv .brand .mark { width:24px; height:24px; }
@media (max-width:1088px) { .scrolled .nvin { max-width:calc(100% - 24px); } }
@media (max-width:640px) { .nvin { gap:10px; } .nv .brand span { display:none; } }
@media (prefers-reduced-motion:reduce) { .nvin, .nv .brand, .nv .brand .mark { transition:none; } }
.fine { scroll-margin-top:90px; }
.hero.home { padding-top:4px; }

.btn { display:inline-block; padding:9px 16px; border:1px solid var(--field); border-radius:999px; font-size:14px; font-weight:600; color:var(--ink); background:var(--bg); text-transform:capitalize; }
.btn:hover { background:var(--hover); text-decoration:none; }

.dl { display:flex; gap:10px; margin:0 0 14px; }
.ctl { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.tools { display:flex; gap:6px; }
.tools .btn { padding:7px 13px; font-size:13px; cursor:pointer; font-family:inherit; }
.tools .btn[aria-pressed="true"] { background:var(--hdr); color:#fff; border-color:var(--hdr); }
.isvg.drawing { cursor:crosshair; touch-action:none; }
.isvg .ink { fill:none; stroke:var(--ink); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

.ext { margin:0 0 8px; font-size:14px; font-weight:600; } .ext a:not(.thtag)::after { content:" \2197"; }
.isvg .capm { fill:#d97706; stroke:var(--bg); stroke-width:1.5; }
.legend .k3 { width:9px !important; height:9px !important; background:#d97706; transform:rotate(45deg); margin-bottom:1px !important; }
.capn { color:#b45309; font-size:13px; white-space:nowrap; text-align:right; }

.nv .brand { --dark:var(--hdr); --on:#fff; }
.brand i { font-style:normal; color:var(--spot); }

.share { position:relative; display:inline-block; }
.share .sbtn { cursor:pointer; font-family:inherit; }
.sdlg { width:min(640px, 94vw); max-height:92vh; padding:24px; border:0; border-radius:18px; background:var(--bg); color:var(--ink); box-shadow:0 30px 80px rgba(10,25,32,.35); text-align:left; }
.sdlg::backdrop { background:rgba(10,25,32,.55); }
.shead { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; } .shead h2 { margin:0 0 2px; font-size:20px; }
.sclose { border:0; background:transparent; font-size:26px; line-height:1; color:var(--muted); cursor:pointer; padding:0 4px; }
.simg { display:block; width:100%; height:auto; border-radius:12px; background:var(--hdr); aspect-ratio:1200/630; }
.srow { display:flex; justify-content:space-between; gap:12px; margin:8px 0 14px; } .sdown { font-size:13px; font-weight:600; white-space:nowrap; }
.slab { display:block; font-size:12.5px; font-weight:700; margin-bottom:14px; } .slab span, .scodebox { display:flex; gap:8px; margin-top:5px; align-items:flex-start; }
.sdlg input, .sdlg textarea { flex:1; min-width:0; font:12.5px/1.45 ui-monospace, Menlo, Consolas, monospace; padding:9px 11px; border:1px solid var(--field); border-radius:9px; background:var(--soft); color:var(--ink); resize:none; }
.sdlg .cp { padding:8px 13px; font-size:13px; cursor:pointer; font-family:inherit; white-space:nowrap; }
.stabs { display:flex; flex-wrap:wrap; margin:0 0 8px; } .stabs button { min-height:34px; padding:6px 12px; font-size:13px; }
.snote { margin:0 0 8px; font-size:12.5px; color:var(--muted); } .shelp { margin-top:8px; }
.hrow .share { margin-left:auto; }
.thtag { display:inline-block; padding:3px 11px; border-radius:999px; background:var(--soft); color:var(--accent); font-weight:600; font-size:13px; }
.xbtn { margin-top:12px; margin-right:14px; cursor:pointer; font-family:inherit; padding:7px 14px; font-size:13px; }

.stabs button { display:inline-flex; align-items:center; gap:6px; }

/* search box in the navigation bar */
.nvt { flex:0 1 auto; margin-left:auto; min-width:0; }
.nvs { position:relative; flex:0 0 auto; }
.nvs input { width:210px; height:36px; padding:0 14px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.1); color:#fff; font:inherit; font-size:14px; transition:width .25s, background-color .2s; -webkit-appearance:none; appearance:none; }
.nvs input::placeholder { color:rgba(255,255,255,.65); }
.nvs input:focus { outline:none; background:#fff; color:var(--ink); border-color:#fff; width:250px; }
.nvs input:focus::placeholder { color:var(--mut, #6b7a86); }
.nvs ul { list-style:none; margin:8px 0 0; padding:4px 0; position:absolute; right:0; width:320px; max-width:86vw; background:var(--bg); border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 32px rgba(20,33,43,.18); }
.nvs ul:empty { display:none; }
.nvs li a { display:block; padding:9px 14px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nvs li a:hover, .nvs li a.on { background:var(--soft, #f1f5f6); text-decoration:none; }
.nvs li.none { padding:9px 14px; color:#6b7a86; }
@media (max-width:900px) { .nvs input { width:128px; } .nvs input:focus { width:170px; } }

/* Similar Companies and Ranked Nearby: a grid of small boxes */
.pbx { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:10px; }
.pbx a { display:grid; grid-template-columns:1fr auto; gap:2px 10px; align-items:baseline; padding:12px 14px; background:var(--soft); border:1px solid var(--line2); border-radius:12px; color:var(--ink); transition:background-color .15s, border-color .15s; }
.pbx a:hover { background:var(--hover); border-color:var(--line); text-decoration:none; }
.pbx b { font-size:15px; grid-row:1; grid-column:1; } .pbx em { font-style:normal; font-weight:600; font-size:15px; text-align:right; grid-row:1; grid-column:2; }
.pbx span { grid-row:2; grid-column:1 / -1; color:var(--muted); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* watchlist */
.nvw { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 13px; border-radius:999px; color:#fff; font-size:14px; font-weight:600; white-space:nowrap; }
.nvw:hover, .nvw[aria-current="page"] { background:rgba(255,255,255,.14); text-decoration:none; }
.nvw .st { color:var(--spot, #2bb3bd); }
.nvw .wn { min-width:18px; padding:0 5px; border-radius:999px; background:var(--spot, #2bb3bd); color:#0f2a33; font-size:11px; font-weight:700; line-height:18px; text-align:center; }
.nvw .wn:empty { display:none; }
.nvin { gap:12px; }
@media (max-width:1320px) { .nvs input { width:150px; } .nvs input:focus { width:200px; } }
@media (max-width:900px) { .nvw .wl { display:none; } .nvw { padding:0 8px; } .nvs input { width:104px; } .nvs input:focus { width:150px; } }
.wrow { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.wbtn { padding:5px 13px; border:1px solid var(--field); border-radius:999px; background:var(--bg); color:var(--ink); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.wbtn::before { content:"\2606"; margin-right:6px; color:var(--accent); }
.wbtn:hover { background:var(--hover); }
.wbtn[aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:#fff; }
.wbtn[aria-pressed="true"]::before { content:"\2605"; color:#fff; }
.wadd { position:relative; max-width:420px; margin-bottom:18px; }
.wadd input, .wacc input { width:100%; height:44px; padding:0 16px; border:1px solid var(--field); border-radius:999px; font:inherit; font-size:15px; background:var(--bg); color:var(--ink); }
.wadd ul { list-style:none; margin:6px 0 0; padding:4px 0; position:absolute; left:0; right:0; z-index:5; background:var(--bg); border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 32px rgba(20,33,43,.18); }
.wadd ul:empty { display:none; }
.wadd li button { display:block; width:100%; padding:9px 14px; border:0; background:none; text-align:left; font:inherit; color:var(--ink); cursor:pointer; }
.wadd li button:hover { background:var(--soft); }
#wtab th[data-k] { cursor:pointer; }
.xrm { border:0; background:none; color:var(--muted); font:inherit; font-size:13px; cursor:pointer; text-decoration:underline; }
.xrm:hover { color:var(--ink); }
.wacc { margin-top:34px; max-width:720px; }
.wacc h2 { margin-top:0; }
.wacc form { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 6px; }
.wacc form input { flex:1 1 240px; width:auto; }
.wacc .btn { cursor:pointer; font-family:inherit; }

/* icons inside buttons */
.ic { flex:none; vertical-align:-2px; margin-right:6px; } #dbtn .ic:last-child { margin:0 0 0 5px; }
.dl .btn .ic, .share .sbtn .ic { vertical-align:-2.5px; }
/* hover on the small trend lines */
svg.spark[data-v] { cursor:crosshair; }
.sptip { position:fixed; z-index:80; } .spdot { position:fixed; z-index:79; width:8px; height:8px; margin:-4px 0 0 -4px; border-radius:50%; border:1.5px solid var(--bg); pointer-events:none; }
/* stock page header: share sits with the watchlist button */
.wrow .share .sbtn { padding:5px 13px; font-size:13px; } .wrow .tag { margin-left:0; font-size:11.5px; padding:1px 6px; }
/* one Draw menu */
.dmenu { position:relative; } .dmenu #dbtn { display:inline-flex; align-items:center; }
.dlist { position:absolute; right:0; top:calc(100% + 6px); z-index:30; min-width:210px; padding:6px; background:var(--bg); border:1px solid var(--line); border-radius:14px; box-shadow:0 14px 40px rgba(10,25,32,.18); }
.dlist button { display:flex; align-items:center; width:100%; padding:9px 10px; border:0; border-radius:9px; background:transparent; font:inherit; font-size:14px; color:var(--ink); cursor:pointer; text-align:left; }
.dlist button:hover { background:var(--hover); } .dlist button[aria-checked="true"] { background:var(--soft); font-weight:600; }
.dlist button[aria-checked="true"]::after { content:"\2713"; margin-left:auto; color:var(--accent); }
.dlist .ic { margin-right:10px; color:var(--muted); } .dlist hr { border:0; border-top:1px solid var(--line2); margin:5px 4px; }
.isvg .ink.lvl { stroke-dasharray:7 5; stroke-width:1.6; } .isvg .inkt { font-size:13px; font-weight:600; fill:var(--ink); paint-order:stroke; stroke:var(--bg); stroke-width:4px; }
/* share dialog: one tap app buttons */
.sapps { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 6px; }
.sapp { display:flex; flex-direction:column; align-items:center; gap:5px; width:68px; padding:9px 4px 7px; border:1px solid var(--line); border-radius:12px; background:var(--bg); color:var(--ink); font:inherit; font-size:11.5px; font-weight:600; cursor:pointer; }
.sapp:hover { background:var(--hover); text-decoration:none; } .sapp i { display:block; width:22px; height:22px; color:#000; } .sapp svg { width:22px; height:22px; fill:currentColor; display:block; } .sapp svg[fill="none"] { fill:none; }
p.slab { margin:0 0 2px; } .sdone { min-height:18px; margin:0 0 10px; color:var(--accent); font-weight:600; }
/* Big Movers preview panel */
.pkhint { margin:12px 0 0; }
.peek { position:sticky; top:74px; z-index:20; margin-bottom:26px; padding:18px 22px 12px; box-shadow:0 14px 40px rgba(10,25,32,.12); }
.pkhead { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap; } .pkhead h2 { margin:0 0 6px; font-size:22px; } .pkhead .tk { color:var(--muted); font-weight:600; font-size:.65em; text-transform:none; }
.pkact { display:flex; align-items:center; gap:8px; flex-wrap:wrap; } .pkact .btn { padding:6px 14px; font-size:13px; } .pkact .sclose { margin-left:4px; }
.pktiles { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:8px; margin:12px 0 10px; } .pktiles .tile { padding:9px 10px; text-align:center; } .pktiles .tile b { font-size:17px; }
.pktiles b.up { color:var(--up); } .pktiles b.dn { color:var(--dn); }
.peek .note { margin:6px 0 0; } .peek .isvg { max-height:240px; }
tr.mrow { cursor:pointer; } tr.mrow.on td { background:var(--soft); } tr.mrow.on td:first-child { box-shadow:inset 3px 0 0 var(--accent); }
@media (max-width:760px) { .peek { position:static; padding:14px 14px 10px; } .pktiles { grid-template-columns:repeat(3, minmax(0,1fr)); } }
/* ASX 20 size map */
.t20map b { font-size:14px; } .t20map em { display:block; font-style:normal; font-size:11.5px; opacity:.85; } .t20map a.big b { font-size:20px; } .t20map a.big span { font-size:14px; }
@media (max-height:849px) { .peek { position:static; } }
.hact { margin:0 0 10px; font-size:14px; font-weight:600; }
@media (max-width:760px) { .dlist { right:auto; left:0; } }
/* share price line: solid black, with a switch beside the Draw menu */
.isvg .pxl { stroke:#111; stroke-width:1.7; stroke-dasharray:none; stroke-linejoin:round; }
.spage .legend .k2 { background:#111; }
.tools { align-items:center; gap:10px; }
.ptog { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; cursor:pointer; text-transform:none; user-select:none; }
.ptog input { position:absolute; opacity:0; width:0; height:0; }
.ptog i { position:relative; width:34px; height:20px; border-radius:999px; background:var(--field); transition:background-color .15s; }
.ptog i::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:transform .15s; }
.ptog input:checked + i { background:var(--accent); } .ptog input:checked + i::after { transform:translateX(14px); }
.ptog input:focus-visible + i { outline:2px solid var(--accent); outline-offset:2px; }
/* Top Shorted: preview row inside the table */
table.peekin tbody tr[data-code] { cursor:pointer; } table.peekin tr.on td { background:var(--soft); } table.peekin tr.on td:first-child { box-shadow:inset 3px 0 0 var(--accent); }
tr.pkrow > td { padding:10px 0 18px; background:var(--bg); white-space:normal; }
.peek.pkin { position:static; margin:0; padding:16px 20px 10px; border:1px solid var(--line); border-radius:18px; box-shadow:0 10px 30px rgba(10,25,32,.10); background:var(--bg); }
.legend .k2t { display:inline; width:auto; height:auto; margin:0; vertical-align:baseline; } .legend [hidden] { display:none !important; }
/* Themes section switch */
.gnav { display:flex; width:max-content; max-width:100%; overflow-x:auto; margin:14px 0 6px; }
.gnav a { padding:8px 16px; border-radius:8px; font-size:14px; color:var(--muted); white-space:nowrap; text-transform:capitalize; }
.gnav a:hover { text-decoration:none; color:var(--ink); } .gnav a[aria-current="page"] { background:var(--bg); color:var(--ink); font-weight:600; box-shadow:0 1px 3px rgba(20,33,43,.1); }
/* Top Shorted: second filter row */
.f2 { padding:12px 14px; background:var(--soft); border-radius:12px; gap:10px 14px; } .f2 input[type=number] { width:84px; background:var(--bg); } .f2 select { background:var(--bg); } .f2 :disabled { opacity:.5; }
.chips { display:inline-flex; flex-wrap:wrap; gap:6px; } .chips button { padding:6px 12px; border:1px solid var(--field); border-radius:999px; background:var(--bg); font:inherit; font-size:13px; font-weight:600; color:var(--ink); cursor:pointer; }
.chips button:hover { background:var(--hover); } .chips button[aria-pressed="true"] { background:var(--hdr); border-color:var(--hdr); color:#fff; }
.f2 #fclr { padding:6px 14px; font-size:13px; cursor:pointer; font-family:inherit; margin-left:auto; }
/* milestones */
.cnt { display:inline-block; min-width:22px; padding:1px 8px; margin-left:6px; border-radius:999px; background:var(--soft); color:var(--muted); font-size:13px; font-weight:700; vertical-align:middle; text-align:center; }
a.tag.tms { background:#fdecea; border-color:#f3c4bf; color:var(--up); } a.tag.tms.lo { background:#e8f5ec; border-color:#bfe0c9; color:var(--dn); } a.tag.tms:hover { text-decoration:none; filter:brightness(.97); }
.tools { flex-wrap:wrap; } .tools #cimg { display:inline-flex; align-items:center; }
/* phones: tabs fold into a menu */
.nvm { display:none; } .nvt .monly { display:none; }
@media (max-width:760px) {
  .nvin { position:relative; gap:8px; }
  .nvm { display:inline-flex; order:9; flex:none; width:38px; height:38px; align-items:center; justify-content:center; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; cursor:pointer; }
  .nvm .m2 { display:none; } .nv.open .nvm .m1 { display:none; } .nv.open .nvm .m2 { display:inline; }
  .nvt { display:none; position:absolute; top:calc(100% + 8px); left:8px; right:8px; flex-direction:column; gap:2px; padding:8px; background:var(--hdr); border-radius:18px; box-shadow:0 18px 40px rgba(10,25,32,.35); overflow:visible; }
  .nv.open .nvt { display:flex; } .nvt a { padding:13px 16px; font-size:16px; border-radius:12px; } .nvt .monly { display:block; }
  .nv .brand span { display:inline; font-size:17px; } .nvs { flex:1 1 auto; min-width:0; } .nvs input, .nvs input:focus { width:100%; }
  .scrolled .nvin { padding:0 8px 0 14px; }
}
@media (max-width:420px) { .nv .brand span { display:none; } }
/* Top Shorted: filters open from one button */
#fbtn { display:inline-flex; align-items:center; padding:8px 16px; cursor:pointer; font-family:inherit; } #fbtn[aria-expanded="true"] { background:var(--hdr); border-color:var(--hdr); color:#fff; }
#fbtn .cnt { background:var(--accent); color:#fff; margin-left:8px; min-width:20px; padding:0 6px; font-size:12px; }
.filters #ff { margin-left:0; width:230px; max-width:60vw; } .filters > .share { margin-left:auto; } .f2[hidden] { display:none; }
/* profile in the corner */
.nvp { position:relative; flex:0 0 auto; }
.pbtn { display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 12px 0 5px; border:0; border-radius:999px; background:rgba(255,255,255,.1); color:#fff; font:inherit; font-size:14px; font-weight:600; cursor:pointer; text-transform:none; }
.pbtn:hover, .pbtn[aria-expanded="true"] { background:rgba(255,255,255,.2); }
.pav { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; background:var(--spot); color:#0f2a33; font-size:13px; font-weight:800; }
.pav.empty { background:rgba(255,255,255,.18); } .pav.empty::before { content:""; width:14px; height:14px; background:#fff; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M2 15c0-3.300 2.700-5.500 6-5.500s6 2.200 6 5.500z'/%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 16 16'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M2 15c0-3.300 2.700-5.500 6-5.500s6 2.200 6 5.500z'/%3E%3C/svg%3E") center/contain no-repeat; }
.pnm { max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nvp .wn { min-width:18px; padding:0 5px; border-radius:999px; background:var(--spot); color:#0f2a33; font-size:11px; font-weight:700; line-height:18px; text-align:center; } .nvp .wn:empty { display:none; }
.pmenu { position:absolute; right:0; top:calc(100% + 10px); z-index:60; width:270px; padding:14px; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:16px; box-shadow:0 18px 44px rgba(10,25,32,.25); }
.pmenu .pl { display:block; font-size:12px; font-weight:700; color:var(--muted); margin-bottom:5px; text-transform:none; }
.pmenu input { width:100%; height:40px; padding:0 12px; border:1px solid var(--field); border-radius:10px; font:inherit; font-size:15px; background:var(--bg); color:var(--ink); margin-bottom:8px; }
.prow { display:flex; justify-content:space-between; align-items:center; width:100%; padding:10px 8px; border:0; border-radius:10px; background:transparent; color:var(--ink); font:inherit; font-size:15px; font-weight:600; cursor:pointer; text-align:left; }
.prow:hover { background:var(--hover); text-decoration:none; } .prow .st { color:var(--accent); } .prow[hidden] { display:none; }
.pnote { margin:8px 8px 0; font-size:12px; color:var(--muted); line-height:1.4; }
@media (max-width:900px) { .pnm { display:none; } .pbtn { padding:0 6px 0 5px; } }
.ptools { border-top:1px solid var(--line2); margin-top:6px; padding-top:6px; } .ptools .prow { font-weight:500; font-size:14px; padding:8px; }
.ppbox { display:flex; gap:6px; margin:4px 0 2px; } .ppbox input { margin:0; height:36px; font-size:14px; } .ppbox .btn { padding:6px 14px; font-size:13px; cursor:pointer; font-family:inherit; }
.pmsg { margin:4px 8px 0; font-size:12.5px; font-weight:600; color:var(--accent); min-height:0; } .pmsg:empty { display:none; }
