#rp .sq-live {
  --sq-muted: light-dark(#455972, #b6cad9);
  --sq-line: light-dark(#dce5eb, #354d59);
  --sq-surface: light-dark(#f4f8f9, #203540);
  --sq-track: light-dark(#e8eff2, #3b5260);
  --sq-ink: light-dark(#132337, #f0f6fa);
  color: var(--sq-ink);
}
.sq-live .green { --sq-accent: #00a656; --sq-label: light-dark(#08763a, #7ceeaa); }
.sq-live .emerald { --sq-accent: #009d73; --sq-label: light-dark(#067654, #72dfb9); }
.sq-live .teal { --sq-accent: #009b97; --sq-label: light-dark(#00746d, #6ee0da); }
.sq-live .blue { --sq-accent: #258fc8; --sq-label: light-dark(#086795, #94d9ff); }
.sq-live .amber { --sq-accent: #e58b09; --sq-label: light-dark(#8b5200, #ffcb74); }
.sq-live .red { --sq-accent: #e33a54; --sq-label: light-dark(#b62941, #ff9aa9); }
#rp .sq-live p { color: var(--sq-muted); line-height: 1.55; margin: 5px 0 0; }
#rp .sq-live strong { color: var(--sq-ink); }
#rp .sq-live .stack-title svg { color: light-dark(#008574, #6ee0da); }
.sq-live .sq-hero { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 22px; align-items: center; margin: 18px 0; }
.sq-live .sq-ring {
  width: 104px; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--sq-accent);
  background: color-mix(in srgb, var(--sq-accent) 11%, transparent);
  display: grid; align-content: center; justify-items: center; line-height: 1;
}
.sq-live .sq-ring strong { font-size: 2.5rem; letter-spacing: -.045em; }
.sq-live .sq-ring small { font-size: .77rem; color: var(--sq-muted); }
/* no-pills (Jason, 22 Nov): the grade is a solid dot in the score's colour and the word, no tinted capsule */
.sq-live .sq-grade {
  display: inline-flex; align-items: center; gap: 7px; padding: 0; font-size: .9rem; font-weight: 750;
  background: none; color: var(--sq-label);
}
.sq-live .sq-grade::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sq-accent); }
#rp .sq-live h3 { margin: 6px 0 0; font-size: 1rem; }
#rp .sq-live .sq-date { font-size: .79rem; margin-top: 10px; }
#rp .sq-live .sq-coverage { margin-top: 3px; font-size: .85rem; }
.sq-live .sq-insufficient {
  background: var(--sq-surface);
  border: 1px solid var(--sq-line);
  border-radius: 12px;
  padding: 13px 16px;
  margin: 15px 0 19px;
}
#rp .sq-live .sq-insufficient h3 { margin-top: 0; }
.sq-live .sq-overview { margin: 22px 0; padding: 13px 16px; background: var(--sq-surface); border-radius: 12px; }
#rp .sq-live .sq-overview h3, #rp .sq-live .sq-fundamentals h3 { margin: 0; }
.sq-live .sq-fundamentals dl { margin: 8px 0 0; }
.sq-live .sq-fundamentals dl > div {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(0, 3.3fr);
  gap: 6px 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--sq-line);
}
.sq-live .sq-fundamentals dt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px 8px;
  font-weight: 700;
}
.sq-live .sq-fundamentals dd { margin: 0; color: var(--sq-muted); }
.sq-live .sq-context {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--sq-line);
  border-radius: 12px;
  background: var(--sq-surface);
}
#rp .sq-live .sq-context h3 { margin-top: 0; }
.sq-live .sq-context dl { margin: 12px 0 0; }
.sq-live .sq-context dl > div + div { margin-top: 12px; }
.sq-live .sq-context dl > div { padding-top: 12px; border-top: 1px solid var(--sq-line); }
.sq-live .sq-context dt { color: var(--sq-muted); font-size: .87rem; }
.sq-live .sq-context dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.sq-live .sq-context dd strong { font-size: 1.18rem; font-variant-numeric: tabular-nums; }
#rp .sq-live .sq-context .sq-context-date { margin-top: 2px; font-size: .82rem; }
.sq-live .sq-context a { display: inline-block; margin-top: 5px; font-size: .88rem; text-decoration: underline; }
.sq-live .sq-reading {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--sq-surface);
  color: var(--sq-muted);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.45;
}
.sq-live .sq-reading > span { min-width: 1em; text-align: center; }
.sq-live .sq-reading.positive {
  background: light-dark(#e7f5ee, #214b39);
  color: light-dark(#11633d, #a5e6bf);
}
.sq-live .sq-reading.negative {
  background: light-dark(#fbecee, #4d2837);
  color: light-dark(#a22c41, #ffb3c0);
}
.sq-live .sq-reading.mixed {
  background: light-dark(#fbf1de, #4f3c28);
  color: light-dark(#824d06, #ffce88);
}
#rp .sq-live .sq-reading-method { font-size: .84rem; margin-top: 10px; }
#rp .sq-live .sq-breakdown { border: 0; margin: 18px 0 0; padding: 0; }
#rp .sq-live .sq-breakdown > summary {
  width: 100%;
  box-sizing: border-box;
  background: var(--sq-surface);
  border: 1px solid var(--sq-line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sq-live .sq-breakdown > summary:hover { border-color: light-dark(#8ca9b1, #789ba6); }
#rp .sq-live .sq-breakdown > summary:focus-visible {
  outline: 2px solid light-dark(#0e7c66, #6ee0da);
  outline-offset: 2px;
}
.sq-live .sq-breakdown > summary small { display: block; color: var(--sq-muted); font-weight: 500; }
#rp .sq-live .sq-breakdown > p { margin-top: 13px; }
.sq-live .sq-bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 17px;
  margin: 13px 0;
  padding: 0;
  list-style: none;
}
.sq-live .sq-bands li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
  border: 0;
  padding: 0;
  font-size: .82rem;
}
.sq-live .sq-bands i { width: 8px; height: 8px; background: var(--sq-accent); border-radius: 50%; }
.sq-live .sq-bands small { color: var(--sq-muted); white-space: nowrap; }
.sq-live .sq-breakdown ol { list-style: none; padding: 0; margin: 12px 0 0; }
.sq-live .sq-breakdown ol > li { padding: 14px 0; border-top: 1px solid var(--sq-line); }
.sq-live .sq-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sq-live .sq-row > :last-child { flex-shrink: 0; }
.sq-live .sq-row small, .sq-live .sq-omitted span { font-weight: 500; color: var(--sq-muted); }
.sq-live .sq-pe-references {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 8px;
  margin: 10px 0 0;
}
.sq-live .sq-pe-references > div {
  padding: 10px 13px;
  background: light-dark(#f2f7f7, #1a2b32);
  border-radius: 9px;
}
.sq-live .sq-pe-references dt, .sq-live .sq-pe-references small { color: var(--sq-muted); }
.sq-live .sq-pe-references dd { margin: 2px 0 0; }
.sq-live .sq-pe-references small { display: block; }
.sq-live meter { appearance: none; width: 100%; height: 7px; display: block; margin: 8px 0; background: var(--sq-track); border: 0; border-radius: 9px; }
.sq-live meter::-webkit-meter-bar { background: var(--sq-track); border: 0; height: 7px; }
.sq-live meter::-webkit-meter-optimum-value { background: var(--sq-accent); border-radius: 9px; }
.sq-live meter::-moz-meter-bar { background: var(--sq-accent); border-radius: 9px; }
@media (max-width: 520px) {
  .sq-live .sq-hero { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
  .sq-live .sq-ring { width: 72px; border-width: 3px; }
  .sq-live .sq-ring strong { font-size: 1.85rem; }
  .sq-live .sq-fundamentals dl > div { grid-template-columns: 1fr; gap: 4px; }
  .sq-live .sq-fundamentals dt { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sq-live .sq-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 13px; }
}
