/* pearlco.ai/openrouter/ tracker; builds on /style.css */
/* dim grey text at 4.5:1+ on the dark ground (the site's #6a655d is 3.4:1); this page only */
:root { --faint: #8a847a; }
.or-nav .home { color: var(--paper); }
/* words in Space Grotesk; Space Mono stays on figures, axes and slugs */
.top nav.or-nav { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.tbl-wrap th, .tbl-wrap td:first-child { font-family: var(--sans); }
.or-hero { padding: 56px 0 40px; }
.or-hero h1 { max-width: 14ch; }
.stamp { font-size: 12px; color: var(--muted); margin: 18px 0 28px; letter-spacing: 0.02em; }
.stamp b { color: var(--paper); font-weight: 400; }
.warn { color: var(--muted); }
.stale { font-size: 13px; color: var(--paper); border: 1px solid var(--paper); border-radius: 4px; padding: 10px 14px; margin: 0 0 22px; max-width: 64ch; line-height: 1.5; }
.stale[hidden], .new-line[hidden] { display: none; }
.new-line { font-size: 13px; color: var(--muted); margin: 14px 0 0; display: flex; align-items: center; gap: 10px; }
.new-line a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); display: inline-block; padding: 7px 0; }
.new-line a:hover { color: var(--paper); text-decoration-color: var(--faint); }
.new-line b { color: var(--paper); font-weight: 400; }
.new-line i.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff 0, #f4eee7 38%, #efd6ca 68%, #b9dcd7 88%, var(--teal) 100%); }
.kpis { margin-bottom: 18px; }
.kpis.n3 { grid-template-columns: repeat(3, 1fr); }
.or-hero .headline { font-size: clamp(21px, 2.6vw, 30px); line-height: 1.3; color: var(--paper); max-width: 44ch; margin: 22px 0 0; }
.or-hero .headline b { font-weight: 600; }
.or-hero .who { font-size: 15px; color: var(--faint); margin: 10px 0 0; max-width: 60ch; line-height: 1.5; }
.ranks li span.first { margin: 0 0 0 6px; }
.or-hero .headline[hidden] { display: none; }
.stat .value.arrow { font-size: clamp(20px, 2.2vw, 26px); }
.chart text.ref { fill: var(--faint); font-style: italic; }
/* the tracker keeps teal/blush for pearls only: override the site's accents on this page */
#or .eyebrow { color: var(--muted); }
.num { color: var(--faint); }
ul.links li::before { content: none; }
ul.links li { margin: 0 0 8px; }
ul.links .url { overflow-wrap: normal; word-break: normal; color: var(--muted); }
a:hover { text-decoration-color: var(--paper); }
.up, .down { color: var(--paper); }
.kpis:empty { display: none; }
.stat .value small { font-size: max(12px, 0.5em); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stat .label { display: flex; align-items: center; gap: 8px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px; min-width: 0; }
.panel-head { margin-bottom: 12px; }
.panel h3 { font-size: 16px; margin: 0 0 4px; }
.sub { font-size: 12px; color: var(--faint); margin: 0; line-height: 1.5; }
.panel .say { font-size: 14px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.panel .say b { color: var(--paper); font-weight: 500; }
.chart { position: relative; width: 100%; min-height: 40px; }
.chart svg { display: block; overflow: visible; }
:root { --cfs: 12px; }
.chart text { font-family: var(--mono); font-size: var(--cfs, 12px); fill: var(--faint); paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.chart text.sans { font-family: var(--sans); font-size: 12px; }
.chart text.v { fill: var(--paper); }
.chart text.m { fill: var(--muted); }
.chart .grid line { stroke: #1c1b18; stroke-width: 1; }
.chart .axis line { stroke: var(--line); }
.empty { font-size: 13px; color: var(--muted); padding: 18px 0; margin: 0; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin: 0 0 10px; list-style: none; padding: 0; }
.legend li { margin: 0; display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 16px; height: 2px; background: var(--muted); }
.legend i.p { background: var(--paper); height: 3px; }
.legend i.o { background: #3a3833; }
.legend i.d { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff 0, #f4eee7 38%, #efd6ca 68%, #b9dcd7 88%, var(--teal) 100%); }
.legend i.dash { background: none; border: 1px dashed var(--muted); height: 10px; width: 10px; border-radius: 2px; }


.model-head { margin-bottom: 24px; }
.model-head h2 { overflow-wrap: anywhere; }
.model-meta { font-size: 12px; color: var(--faint); margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.model-meta { align-items: center; }
.model-meta a { color: var(--muted); display: inline-flex; align-items: center; min-height: 32px; }
.model-stats { margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards .wide { grid-column: 1 / -1; }

.ranks { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; }
.ranks li { margin: 0; border: 1px solid var(--line); border-radius: 3px; padding: 3px 7px; color: var(--muted); }
.ranks li b { color: var(--paper); font-weight: 400; }
.ranks li span { color: var(--faint); margin-right: 4px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 0 0 10px; }
.seg button { font: inherit; font-size: 12px; background: none; color: var(--faint); border: 0; padding: 6px 10px; min-height: 34px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: #1a1915; color: var(--paper); }
.seg button:focus-visible { outline: 1px solid var(--paper); outline-offset: -1px; }
.race-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px 12px; flex-wrap: wrap; }
.race-top .ctrls { display: flex; flex-wrap: wrap; gap: 8px; }
.prices .label { margin-bottom: 6px; }
#test-only { overflow-wrap: anywhere; }

.miles { margin-top: 14px; }
.miles > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.miles > div:first-child { border-top: 0; padding-top: 0; }
.miles p { margin: 0; }
.miles .ml { font-size: 14px; color: var(--muted); line-height: 1.4; }
.miles .big { font-family: var(--mono); font-size: 16px; color: var(--paper); line-height: 1.3; text-align: right; white-space: nowrap; }
.miles .big small { font-size: 12px; color: var(--muted); }
.miles .mn { grid-column: 1 / -1; font-size: 12px; color: var(--faint); line-height: 1.45; }

details.tbl { margin-top: 12px; }
details.tbl summary { font-size: 12px; color: var(--faint); cursor: pointer; width: max-content; padding: 8px 0; line-height: 16px; list-style: none; }
details.tbl summary::-webkit-details-marker { display: none; }
details.tbl summary::before { content: "\25B6"; font-size: 9px; margin-right: 7px; display: inline-block; }
details.tbl[open] summary::before { content: "\25BC"; }
details.tbl summary:hover { color: var(--paper); }
.tbl-wrap { overflow-x: auto; max-width: 100%; margin-top: 8px; }
.tbl-wrap table { border-collapse: collapse; font-family: var(--mono); font-size: 12px; width: 100%; }
.tbl-wrap th, .tbl-wrap td { padding: 5px 10px 5px 0; text-align: right; white-space: nowrap; border-bottom: 1px solid #1a1916; color: var(--muted); font-weight: 400; }
.tbl-wrap th { color: var(--faint); font-size: 12px; }
.tbl-wrap th:first-child, .tbl-wrap td:first-child { text-align: left; }
.tbl-wrap tr.p td { color: var(--paper); }

.method-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
ul.method { margin: 0; font-size: 15px; }
ul.method li { margin: 0 0 10px; }
ul.method b { color: var(--paper); font-weight: 500; }
#method h3.sub { margin-top: 0; }
#method .sub { margin-top: 14px; }
ul.links { overflow-wrap: anywhere; }

.tip { position: fixed; z-index: 20; pointer-events: none; background: #13120f; border: 1px solid #34322c; border-radius: 4px; padding: 8px 10px; font-size: 12px; color: var(--muted); max-width: 260px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.tip .t { color: var(--paper); margin-bottom: 4px; }
.tip .r { display: flex; justify-content: space-between; gap: 14px; }
.tip .r.p { color: var(--paper); }
.tip .r b { font-weight: 400; color: var(--paper); }

.pearl-glow { filter: drop-shadow(0 0 6px rgba(121, 194, 191, 0.7)); }

@media (max-width: 900px) {
  .or-hero { padding: 36px 0 28px; }
  .top nav.or-nav { display: none; }
  .top.open nav.or-nav { display: flex; }
  .top.open nav.or-nav a { min-height: 44px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .method-grid { grid-template-columns: 1fr; gap: 8px; }
  .panel { padding: 16px; }
  .stat { padding: 16px; }
  .kpis.n3 { grid-template-columns: repeat(2, 1fr); }
  .kpis.n3 .stat:first-child { grid-column: 1 / -1; }
}
.prices { margin-top: 18px; }

/* overview: one model picker drives every panel in #overview */
.top nav.or-nav a { display: inline-flex; align-items: center; min-height: 32px; }
.ov .block-head { margin-bottom: 12px; }
.pickbar { position: sticky; top: 0; z-index: 6; background: var(--ink); padding: 10px 0; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { font: inherit; font-size: 13px; background: none; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 12px; min-height: 34px; min-width: 40px; cursor: pointer; }
.pick button:hover { color: var(--paper); border-color: var(--faint); }
.pick button[aria-pressed="true"] { background: #1a1915; color: var(--paper); border-color: var(--faint); }
.pick button:focus-visible { outline: 1px solid var(--paper); outline-offset: 1px; }
.ov-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0 0 16px; }
.big-num { font-family: var(--mono); font-size: clamp(34px, 5vw, 52px); color: var(--paper); line-height: 1.05; margin: 2px 0 8px; letter-spacing: -0.02em; }
.big-sub { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; max-width: 72ch; }
.big-sub b { color: var(--paper); font-weight: 500; }
p.how { font-size: 12px; color: var(--faint); margin: 12px 0 0; line-height: 1.55; max-width: 92ch; }
p.how b { color: var(--muted); font-weight: 400; }
.note-line { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.panel .say.first { margin: 0 0 12px; }
.legend svg { flex: none; display: block; }
.dod-label { margin: 16px 0 6px; }
.dod { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; max-width: 560px; }
.dod span { display: block; font-size: 12px; color: var(--faint); }
.dod b { display: block; font-size: 16px; color: var(--paper); font-weight: 400; margin-top: 2px; }
.pv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pv .label { margin-bottom: 4px; }
.mrow { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.mrow:first-child { border-top: 0; padding-top: 0; }
.mname { display: inline-block; padding: 6px 0; font-size: 16px; color: var(--paper); }
.mbig { font-size: 28px; color: var(--paper); margin: 2px 0 6px; letter-spacing: -0.02em; }
.mmeta .sub b { color: var(--paper); font-weight: 400; }
.show-in { font: inherit; font-size: 12px; background: none; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 10px; min-height: 32px; cursor: pointer; }
.show-in:hover { color: var(--paper); border-color: var(--faint); }
#mix > p.how { margin-top: 18px; }
@media (min-width: 900px) { .ov-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mrow { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
/* phones: no text under 12px, charts included */
@media (max-width: 600px) {
  .legend, .label, .stat .label, .seg button, details.tbl summary, .tbl-wrap th, .sub { font-size: 12px; }
  .pick button { font-size: 12px; padding: 0 10px; min-height: 44px; }
  .seg button, .show-in { min-height: 44px; }
  details.tbl summary { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .pickbar { gap: 8px; }
  #pick-label { display: none; } /* the group keeps it as its name; the chips fit one row */
}
/* labels in sentence case, no tracking (overrides /style.css on this page only) */
#or .label, #or h3.sub { text-transform: none; letter-spacing: 0; font-size: 12px; }
.panel .note-line.first { margin: 0 0 10px; }
/* per-model cards fold away on phones */
details.more { margin-top: 16px; }
details.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 4px; font-size: 14px; color: var(--muted); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary:hover { color: var(--paper); border-color: var(--faint); }
details.more > summary:focus-visible { outline: 1px solid var(--paper); outline-offset: 1px; }
details.more[open] > summary { margin-bottom: 16px; }
/* model stat tiles: figures on the page ground under one hairline, no boxes */
.stats.model-stats { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; overflow: visible; gap: 20px 24px; padding-top: 18px; }
.model-stats .stat { background: none; padding: 0; }
@media (max-width: 600px) { .dod { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* fold button: open/closed sign on the right */
details.more > summary { gap: 14px; padding: 10px 14px; line-height: 1.4; }
details.more > summary::after { content: "+"; margin-left: auto; flex: none; font-family: var(--mono); font-size: 18px; line-height: 1; color: var(--paper); }
details.more[open] > summary::after { content: "\2212"; }
/* phones: no empty band above the picker, so the model chips sit above the 812 px fold; every tap 44 px */
@media (max-width: 600px) {
  .top { padding-top: 14px; padding-bottom: 14px; }
  .top .brand, .top nav.or-nav a { min-height: 44px; }
  .or-hero { padding: 28px 0 20px; }
  .or-hero .lede, .or-hero .headline { margin-top: 16px; }
  .or-hero .stamp { margin-bottom: 0; }
  #overview.block { padding-top: 24px; }
  .ov .block-head { row-gap: 6px; }
  .pickbar { padding: 8px 0; }
  details.tbl summary, .seg button, .pick button { min-width: 44px; justify-content: center; }
}
/* no one-word last lines (Chrome 117+, Safari 26+; other browsers wrap as before) */
#or p, #or li, #or summary, #or .note, footer p { text-wrap: pretty; }
