/* Target synopsis. One bold element (the instrument dial row); everything else quiet.
   Palette: cool slate paper, deep teal ink, a five-step indigo pipeline ramp, marigold for "yours". */
:root {
  --paper: #eef1f0;
  --sheet: #ffffff;
  --ink: #12343b;
  --ink-2: #3f5a60;
  --ink-3: #566b6f;          /* muted labels: 4.6:1 or more on sheet, paper and the washes (WCAG AA) */
  --rule: #d5dddc;
  --rule-2: #e6ebea;
  --stage-0: #dfe3f3;
  --stage-1: #b3bce6;
  --stage-2: #8090d4;
  --stage-3: #4f5fb8;
  --stage-4: #27317f;
  --on-s2: #0b1d20; --on-s3: #ffffff; --on-s4: #ffffff;   /* text on the stage ramp, 4.5:1 or more */
  --yours: #e8a33d;
  --yours-wash: #fcf1df;
  --good: #2a7353;           /* 4.9:1 on --good-wash */
  --good-wash: #e3f1ea;
  --warn: #a6412b;           /* 4.8:1 on --warn-wash */
  --warn-wash: #f8e6e1;
  --neutral-wash: #eef1f0;
  --dial-track: #e2e8e7;
  --dial-fill: #12343b;
  --focus: #4f5fb8;
  --shadow: 0 1px 0 rgba(18, 52, 59, .06), 0 8px 24px -12px rgba(18, 52, 59, .18);
  --radius-lg: 14px;
  --radius-sm: 6px;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1d20; --sheet: #15282c; --ink: #e5eeee; --ink-2: #b4c6c8; --ink-3: #93a6a9;
    --rule: #2a4045; --rule-2: #20363a; --stage-0: #2a3150; --stage-1: #3d4a85; --stage-2: #5a6bc0;
    --stage-3: #8394e0; --stage-4: #b9c3f5; --yours: #f0b257; --yours-wash: #3a2c14; --good: #6cc39a;
    --good-wash: #183b2c; --warn: #f08a70; --warn-wash: #46231b; --neutral-wash: #1b3034;
    --dial-track: #263c41; --dial-fill: #e5eeee; --focus: #8394e0; color-scheme: dark;
    --on-s2: #ffffff; --on-s3: #0b1d20; --on-s4: #0b1d20;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --paper: #0f1d20; --sheet: #15282c; --ink: #e5eeee; --ink-2: #b4c6c8; --ink-3: #93a6a9;
  --rule: #2a4045; --rule-2: #20363a; --stage-0: #2a3150; --stage-1: #3d4a85; --stage-2: #5a6bc0;
  --stage-3: #8394e0; --stage-4: #b9c3f5; --yours: #f0b257; --yours-wash: #3a2c14; --good: #6cc39a;
  --good-wash: #183b2c; --warn: #f08a70; --warn-wash: #46231b; --neutral-wash: #1b3034;
  --dial-track: #263c41; --dial-fill: #e5eeee; --focus: #8394e0; color-scheme: dark;
    --on-s2: #ffffff; --on-s3: #0b1d20; --on-s4: #0b1d20;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.5 var(--text); font-feature-settings: "tnum" 1, "ss01" 1;
}
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; margin: 0; }

/* ---- top bar ---- */
.bar {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: auto 1fr auto; gap: 20px;
  align-items: center; padding: 12px max(16px, calc((100vw - 1240px) / 2)); background: var(--sheet);
  border-bottom: 1px solid var(--rule);
}
.brand { font: 700 17px/1 var(--display); text-decoration: none; letter-spacing: -0.01em; }
.search { position: relative; max-width: 620px; }
.search input {
  width: 100%; font: 500 15px var(--text); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 999px; padding: 9px 16px;
}
.search input::placeholder { color: var(--ink-3); }
.results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow);
  max-height: 60vh; overflow: auto;
}
.results li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.results li a:hover, .results li a[aria-selected="true"] { background: var(--paper); }
.results .r-label { font-weight: 600; }
.results .r-meta { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.results .r-kind { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; color: var(--ink-2); }
.who { font-size: 13px; color: var(--ink-2); text-align: right; }
.who b { color: var(--ink); font-weight: 600; }
.who .pill-yours { margin-left: 6px; }

main { max-width: 1240px; margin: 0 auto; padding: 28px 16px 48px; outline: none; }
.foot { max-width: 1240px; margin: 0 auto; padding: 0 16px 40px; font-size: 12px; color: var(--ink-3); }

/* ---- header card ---- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px;
  background: var(--sheet); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px 32px;
}
.hero .grain { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.hero .sub { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.hero .subunits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--paper); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.chip small { font-weight: 500; color: var(--ink-3); }
.chip.bind { box-shadow: inset 0 0 0 1.5px var(--stage-3); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13px; align-content: start; margin: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .syn { color: var(--ink-2); }

/* ---- dials: the one bold element ---- */
.dials {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 20px 0 0;
  background: var(--ink); color: #e9f1f1; border-radius: var(--radius-lg); overflow: hidden;
}
:root[data-theme="dark"] .dials { background: #0a1517; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dials { background: #0a1517; } }
.dial { padding: 22px 20px 18px; border-left: 1px solid rgba(255,255,255,.08); display: grid; grid-template-rows: auto auto 1fr; }
.dial:first-child { border-left: 0; }
.dial svg { width: 100%; max-width: 170px; height: auto; display: block; margin: 0 auto; }
.dial .dtrack { stroke: rgba(255,255,255,.12); }
.dial .arc { stroke: #f2f6f6; transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1); }
.dial.invert .arc { stroke: #f39a80; }
.dial .tick { stroke: rgba(255,255,255,.35); }
.dial .val { font: 700 30px/1 var(--display); fill: #fff; }
.dial .none { font: 500 13px var(--text); fill: rgba(255,255,255,.55); }
.dial h3 { font: 600 14px/1.25 var(--text); text-align: center; margin-top: 4px; letter-spacing: 0; }
.dial .level { text-align: center; font-size: 13px; color: rgba(233,241,241,.72); }
.dial details { margin-top: 10px; font-size: 12px; color: rgba(233,241,241,.78); }
.dial summary { cursor: pointer; text-align: center; list-style: none; color: rgba(233,241,241,.6); }
.dial summary::-webkit-details-marker { display: none; }
.dial summary::after { content: " +"; }
.dial details[open] summary::after { content: " \2212"; }
.dial ul { margin: 8px 0 0; padding-left: 16px; }
.dial .src { margin-top: 6px; color: rgba(233,241,241,.5); }
@media (prefers-reduced-motion: reduce) { .dial .arc { transition: none; } }

/* ---- sections ---- */
.section {
  margin-top: 28px; background: var(--sheet); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 24px 28px;
}
.section > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.section h2 { font-size: 22px; }
.section .lede { color: var(--ink-2); font-size: 14px; margin: 4px 0 0; max-width: 72ch; }
.section .aside { font-size: 13px; color: var(--ink-3); }
.empty { color: var(--ink-2); font-size: 14px; padding: 8px 0; }

/* ---- yours ---- */
.yours { box-shadow: inset 4px 0 0 var(--yours), var(--shadow); }
.yours h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yours); margin-right: 10px; vertical-align: 3px; }
.prog { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule-2); }
.prog:first-of-type { border-top: 0; padding-top: 4px; }
.prog h3 { font-size: 18px; }
.prog .meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.prog .notes { font-size: 13px; margin-top: 8px; padding: 8px 10px; background: var(--yours-wash); border-radius: var(--radius-sm); }
.prog .notes b { font-weight: 600; }
.prog .vs { font-size: 13px; }
.prog .vs li { margin: 2px 0; }
.pill-yours { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--yours-wash); color: var(--ink); box-shadow: inset 0 0 0 1px var(--yours); }

/* ---- stage track (pipeline) ---- */
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 100%; min-width: 120px; }
.track span { height: 8px; border-radius: 2px; background: var(--rule-2); }
.track span.on.s0 { background: var(--stage-0); }
.track span.on.s1 { background: var(--stage-1); }
.track span.on.s2 { background: var(--stage-2); }
.track span.on.s3 { background: var(--stage-3); }
.track span.on.s4 { background: var(--stage-4); }
.track.yours-track span.on { background: var(--yours); }
.track.disc span.on { background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(255,255,255,.55) 3px 5px); }
.track-legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; font-size: 11px; color: var(--ink-3); min-width: 120px; }

/* ---- competitive table ---- */
.grain-group { margin-top: 18px; }
.grain-group:first-of-type { margin-top: 4px; }
.grain-group > h3 { font: 600 15px var(--text); display: flex; gap: 10px; align-items: baseline; }
.grain-group > h3 small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; font-size: 12px; color: var(--ink-3); padding: 6px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .mol { font-weight: 600; }
.tbl .mol small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .potency small { display: block; font-size: 12px; color: var(--ink-3); white-space: normal; max-width: 200px; margin-left: auto; }
.tbl .potency b { font-variant-numeric: tabular-nums; }
.tbl .stagecell { width: 190px; }
.tbl .stagecell .lbl { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.tbl tr.overlap td { background: var(--yours-wash); }
.tbl tr.overlap td:first-child { box-shadow: inset 3px 0 0 var(--yours); }
.inds { font-size: 13px; color: var(--ink-2); }
.inds details summary { cursor: pointer; color: var(--ink-2); }
.inds ul { margin: 6px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.inds li { break-inside: avoid; padding: 1px 0; }
.inds li i { font-style: normal; color: var(--ink-3); }
.tag { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.tag.warn { background: var(--warn-wash); color: var(--warn); }
.tag.role { font-size: 11px; padding: 0 6px; background: var(--rule-2); }
.sponsors .spon { display: block; line-height: 1.45; }
.sponsors .parent { color: var(--ink-3); font-size: 12px; }
.section .aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.more { margin-top: 8px; font: 600 13px var(--text); color: var(--ink-2); background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; cursor: pointer; }

/* ---- density strip ---- */
.density { display: grid; grid-template-columns: 140px repeat(var(--cols), minmax(56px, 1fr)); gap: 3px; font-size: 12px; margin-bottom: 18px; }
.density .h { color: var(--ink-3); padding: 4px 6px; }
.density .rowh { color: var(--ink-2); padding: 6px; }
.density .c { border-radius: 4px; text-align: center; padding: 6px 4px; background: var(--rule-2); color: var(--ink-3); font-weight: 600; }
.density .c.n1 { background: var(--stage-0); color: var(--ink); }
.density .c.n2 { background: var(--stage-1); color: var(--ink); }
.density .c.n3 { background: var(--stage-2); color: var(--on-s2); }
.density .c.n4 { background: var(--stage-3); color: var(--on-s3); }
.density .c.n5 { background: var(--stage-4); color: var(--on-s4); }
.density .c .p { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--yours); color: #3b2604; }

/* ---- subunit matrix ---- */
.matrix-wrap { overflow-x: auto; }
.matrix { border-collapse: separate; border-spacing: 3px; font-size: 13px; min-width: 100%; }
.matrix th { font-weight: 600; text-align: left; padding: 4px 8px; white-space: nowrap; }
.matrix thead th { text-align: center; font: 700 15px var(--display); vertical-align: bottom; }
.matrix thead th small { display: block; font: 500 11px var(--text); color: var(--ink-3); }
.matrix thead th.bind small { color: var(--stage-3); }
.matrix tbody th { color: var(--ink-2); font-weight: 500; }
.matrix tbody th .g { display: block; font-size: 11px; color: var(--ink-3); }
.matrix td { padding: 6px 8px; border-radius: 4px; text-align: center; white-space: nowrap; min-width: 92px; }
.matrix td.good { background: var(--good-wash); color: var(--good); font-weight: 600; }
.matrix td.warn { background: var(--warn-wash); color: var(--warn); font-weight: 600; }
.matrix td.neutral { background: var(--neutral-wash); color: var(--ink); }
.matrix td.none { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule-2); }
.matrix tr.grp th { padding-top: 12px; font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ---- associations ---- */
.assoc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.assoc li { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(90px, 1fr) minmax(0, 1.6fr); gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.assoc li:last-child { border-bottom: 0; }
.assoc .bar-s { height: 6px; border-radius: 3px; background: var(--rule-2); position: relative; overflow: hidden; }
.assoc .bar-s i { position: absolute; inset: 0 auto 0 0; background: var(--ink-2); border-radius: 3px; }
.assoc .score { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.assoc .who-else { font-size: 13px; color: var(--ink-2); }
.assoc li.mine { background: linear-gradient(90deg, var(--yours-wash), transparent 70%); }
.assoc li.mine .dname::after { content: "your indication"; margin-left: 8px; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--yours); }
.ws { color: var(--good); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; font-size: 13px; }
.seg button { font: 600 13px var(--text); background: none; border: 0; padding: 5px 12px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }

.pocket-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; font-size: 14px; }
.pocket-row b { display: block; font: 700 26px/1.1 var(--display); }
.pocket-row span { color: var(--ink-3); font-size: 12px; }

.loading { color: var(--ink-2); padding: 40px 0; }
.error { color: var(--warn); padding: 20px; background: var(--warn-wash); border-radius: var(--radius-sm); }

/* ---- landing ---- */
.landing h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.04; max-width: 18ch; }
.landing p { color: var(--ink-2); max-width: 62ch; font-size: 16px; }
.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.examples a { display: block; padding: 16px 18px; background: var(--sheet); border-radius: 12px; box-shadow: var(--shadow); text-decoration: none; }
.examples a b { display: block; font: 700 17px var(--display); }
.examples a span { font-size: 13px; color: var(--ink-3); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .dials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dial:nth-child(4) { border-left: 0; }
  .dial { border-top: 1px solid rgba(255,255,255,.08); }
  .prog { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .bar { grid-template-columns: 1fr; gap: 8px; }
  .who { text-align: left; }
  .dials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dial:nth-child(odd) { border-left: 0; }
  .dial:nth-child(4) { border-left: 1px solid rgba(255,255,255,.08); }
  .section { padding: 18px 16px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 10px 0; border-bottom: 1px solid var(--rule-2); }
  .tbl td { border: 0; padding: 3px 0; }
  .tbl .num { text-align: left; }
  .tbl .stagecell { width: 100%; }
  .inds ul { columns: 1; }
  .assoc li { grid-template-columns: 1fr; gap: 4px; }
  .pocket-row { grid-template-columns: repeat(2, 1fr); }
  .density { grid-template-columns: 96px repeat(var(--cols), minmax(40px, 1fr)); }
}

/* ---- Products (js/views/products.js): small inline SVG charts, per-source cards, attribution footer ---- */
.p-filters input[type="search"] { font: inherit; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); color: var(--ink); min-width: 0; width: min(340px, 100%); }
.p-filters .chk { font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.p-fig { margin: 0; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--sheet); min-width: 0; }
.p-fig figcaption { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.p-cap { font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
.pchart { display: block; width: 100%; height: auto; overflow: visible; }
.pchart text { font: 10px var(--text); fill: var(--ink-3); }
.pchart .tick line { stroke: var(--rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pchart .ln { fill: none; stroke: var(--stage-3); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pchart .ln.f0 { stroke: var(--yours); stroke-dasharray: 4 3; }
.pchart .ln.f1 { stroke: var(--good); stroke-dasharray: 2 3; }
.pchart .ln.f2 { stroke: var(--warn); stroke-dasharray: 6 2; }
.pchart .end { fill: var(--stage-3); }
.pchart .end.f0 { fill: var(--yours); } .pchart .end.f1 { fill: var(--good); } .pchart .end.f2 { fill: var(--warn); }
.pchart .lb { fill: var(--sheet); stroke: var(--warn); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pchart .bar { fill: var(--stage-2); }
.pchart .bar.derived { fill: var(--sheet); stroke: var(--stage-3); stroke-width: 1.5; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.p-leg { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.p-leg i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--stage-3); vertical-align: middle; margin-right: 5px; }
.p-leg i.f0 { border-top: 2px dashed var(--yours); } .p-leg i.f1 { border-top: 2px dotted var(--good); } .p-leg i.f2 { border-top: 2px dashed var(--warn); }
.delta.up { color: var(--good); } .delta.down { color: var(--warn); }
.p-src { font-size: 13px; }
.p-lines tr.muted td { color: var(--ink-3); }
.p-lines small.q { font-style: italic; max-width: 46ch; }
.p-class { margin-bottom: 18px; }
.p-class h3 { font: 600 15px var(--text); margin: 0 0 8px; }
.p-share caption { text-align: left; font-size: 12px; color: var(--ink-3); padding: 4px 0; }
.p-share tr.me td { background: var(--yours-wash); font-weight: 600; }
.p-notes { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.p-notes li { margin: 4px 0; }
.p-attr { margin-top: 18px; border-top: 1px solid var(--rule-2); padding-top: 12px; }
.p-attr h3 { font: 600 13px var(--text); margin: 0 0 6px; }
.p-attr ul { margin: 0; padding-left: 18px; font-size: 12px; color: var(--ink-2); }
.p-attr li { margin: 3px 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .p-fig { padding: 10px; }
  .p-share { display: table; } .p-share thead { display: table-header-group; } .p-share tbody { display: table-row-group; }
  .p-share tr { display: table-row; } .p-share td, .p-share th { display: table-cell; width: auto; padding: 4px 6px; }
  table.tbl.p-share td[data-label]::before { content: none; display: none; }
}
#plist .tbl .num small { white-space: normal; }
@media (max-width: 720px) { .tbl .potency small { margin-left: 0; max-width: none; text-align: left; } }
