/* Report typography, publication chrome, figure captions and colors come from Insights. */
.insights-report-page .target-blog-prose :is(h2,h3), .insights-report-page .study-figure figcaption { text-align: left; }
#target-report [hidden] { display: none !important; }
#target-report .pair-peak { fill: var(--report-chart-green); }
#target-report .pair-shift { fill: var(--cv-paper); stroke: var(--report-chart-green); }
#target-report .pair-other { fill: var(--blog-rule); }
.fresh-tile svg { width: 40px; height: 40px; fill: currentColor; }
#target-report .research-scroll { margin: 16px 0 8px; }
.research-table { border-collapse: collapse; width: 100%; table-layout: fixed; color: var(--blog-ink); }
.research-table th, .research-table td { text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.research-table thead th { padding: 8px; border-block: 1px solid var(--blog-rule); font: 500 10px/1.4 var(--report-mono); color: var(--blog-muted); }
.research-table td { padding: 7px 8px; border-bottom: 1px solid var(--blog-rule); background: var(--cv-paper); font: 400 15px/1.28 var(--report-body); }
.research-table .group th { padding: 9px 8px 5px; color: var(--blog-green); background: var(--cv-surface); border-top: 1px solid var(--blog-rule); font: 500 12px/1.45 var(--report-mono); }
.research-table small { display: block; margin: 2px 0 0; font: 400 11px/1.35 var(--report-body); color: var(--blog-muted); }
.roster-table th:first-child { width: 29%; }
.roster-table th:nth-child(2) { width: 39%; }
.roster-table td { padding-block: 6px; }
.company-tag { display: inline-block; border: 1px solid var(--blog-rule); border-radius: 2px; padding: 0 3px; font: 500 9px/1.4 var(--report-mono); color: var(--blog-green); white-space: nowrap; }
.inventory thead th:first-child { width: 32%; }
.inventory td { line-height: 1.4; }
.case-frame, .standalone-case { border: 1px solid var(--blog-rule); border-radius: 3px; padding: 16px; margin: 16px 0; }
.case-browser-head { display: flex; justify-content: space-between; gap: 12px; font: 400 12px/1.5 var(--report-mono); color: var(--blog-muted); }
#target-report .tabbar { display: flex; flex-wrap: wrap; gap: 2px; margin: 8px 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--blog-rule); }
#target-report .tabbar button { font-size: 11px; padding: 4px 6px; }
#target-report .tabbar button[aria-selected=true] { border-bottom: 1px solid var(--blog-green); background: var(--cv-surface); color: var(--blog-green); }
#target-report .case-context { color: var(--blog-muted); font: 400 11px/1.5 var(--report-mono); }
#target-report .casepanel > h3 { margin: 7px 0 12px; }
#target-report .casepanel > .case-driver {
  margin: 14px 0 20px;
  font: 400 0.75rem/1.6 var(--report-mono);
  color: var(--blog-ink);
}
#target-report .case-driver-label {
  font: 400 0.75rem/1.45 var(--report-mono);
  color: var(--blog-muted);
}
#target-report .study-figure { margin: 22px 0 14px; padding: 12px 0 0; border-top: 0; }
#target-report .study-figure .chart-note {
  margin: 8px 0 0;
  color: var(--blog-muted);
  font: 400 11px/1.5 var(--report-mono);
}
#target-report .study-figure .chart-note + .blog-graph-source { margin-top: 8px; }
#target-report .study-figure h3 { font: 500 16px/1.4 var(--report-display); margin: 0 0 8px; }
.bar-legend, .period, .numeric { font: 400 11px/1.5 var(--report-mono); color: var(--blog-ink); font-variant-numeric: tabular-nums; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 4px 13px; margin-bottom: 10px; }
.bar-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.swatch { width: 9px; height: 9px; display: inline-block; flex: none; }
#target-report .takeaways li { padding-left: 4px; margin-bottom: 12px; }
@media(max-width:640px) {
  .case-frame, .standalone-case { padding: 10px; }
  .research-table td, .research-table th { padding-inline: 4px; }
  .research-table td { font-size: 14px; }
  .research-table thead th { font-size: 9px; }
  .stack-row { grid-template-columns: 4.4rem minmax(0,1fr) 3.2rem; gap: 4px; }
  .bars-row { grid-template-columns: 5rem minmax(0,1fr); gap: 5px; }
  .measure { grid-template-columns: minmax(0,1fr) 4.4rem; }
}
@media print { #target-report .case-frame .casepanel[hidden] { display: block !important; } .tabbar { display: none !important; } }
.research-table .group th {
  background: color-mix(in srgb, var(--blog-green) 7%, var(--cv-paper));
  border-left: 2px solid var(--report-chart-green);
}
.bar-legend, .period, .numeric { font-size: 12px; }
@media(max-width:640px) {
  .stack-row { grid-template-columns: 4.6rem minmax(0,1fr) 3.5rem; }
}

#target-report {
  --series-a: #235e42;
  --series-b: #82a98a;
  --series-c: #d7e4d9;
}
:root[data-theme=dark] #target-report {
  --series-a: #9bcba7;
  --series-b: #628e6f;
  --series-c: #384f3e;
}
.tone-0 { background: var(--series-a); }
.tone-1 { background: var(--series-b); }
.tone-2 { background: var(--series-c); }
.prior-brand + .prior-brand { padding-top: 5px; margin-top: 5px; border-top: 1px solid var(--blog-rule); }
.roster-table th:first-child { width: 38%; }
.roster-table th:nth-child(2) { width: 38%; }
.roster-table .group small { margin-top: 1px; color: var(--blog-ink); }
.key-drivers { padding-inline-start: 1.25em; }
#target-report .casepanel > h4 { margin: 16px 0 4px; font: 600 16px/1.4 var(--report-display); }
#target-report .key-drivers li { margin: 3px 0; }
.vstack, .vertical-bars, .sales-line {
  font: 400 12px/1.35 var(--report-mono);
  color: var(--blog-ink);
  font-variant-numeric: tabular-nums;
}
.vstack { display: flex; align-items: start; gap: 6px; }
.vscale { display: flex; flex-direction: column; height: 138px; justify-content: space-between; margin-top: 22px; text-align: right; font-size: 10px; color: var(--blog-muted); }
.share-column { flex: 1; min-width: 0; display: grid; justify-items: center; grid-template-rows: 22px 138px auto; text-align: center; }
.share-column .stack { display: flex; flex-direction: column-reverse; width: min(76%,56px); height: 100%; }
.share-column .segment { display: block; width: 100%; }
.share-column > span { margin-top: 5px; }
.share-column > b, .metric-cell b { font-weight: 500; }
.sales-line { display: grid; grid-template-columns: 4.6em minmax(0,1fr); grid-template-rows: 155px 25px; }
.line-plot,.y-ticks,.x-ticks { position: relative; }
.line-plot svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.line-grid,.sales-path { vector-effect: non-scaling-stroke; fill: none; }
.line-grid { stroke: var(--blog-rule); stroke-width: 1; }
.sales-path { stroke-width: 2.5; stroke-linejoin: round; }
.sales-path.line-0 { stroke: var(--series-a); }
.sales-path.line-1 { stroke: var(--series-b); stroke-dasharray: 5 3; }
.line-legend .swatch { width: 18px; height: 0; background: none; border-bottom: 3px solid var(--series-a); }
.line-legend .tone-1 { border-bottom: 3px dashed var(--series-b); }
.sales-dot { position: absolute; width: 4px; height: 4px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--series-a); pointer-events: none; }
.sales-dot.dot-1 { border-radius: 0; background: var(--series-b); }
.sales-dot.dot-2 { background: var(--third-drug); }
.sales-dot.dot-3 { background: var(--franchise); }
.y-ticks span,.x-ticks span { position: absolute; color: var(--blog-muted); white-space: nowrap; }
.y-ticks span { transform: translateY(-50%); right: 6px; }
.x-ticks { grid-column: 2; }
.x-ticks span { transform: translateX(-50%); font-size: 11px; }
.vertical-bars { display: flex; gap: 12px; text-align: center; margin: 10px 0; }
.metric-group { flex: 1; min-width: 0; }
.metric-group > span { display: block; margin-top: 5px; overflow-wrap: break-word; }
.metric-plot { height: 137px; display: flex; justify-content: center; position: relative; }
.metric-plot::before { content: ''; border-bottom: 1px solid var(--blog-rule); position: absolute; left: 0; right: 0; bottom: var(--zero); }
.metric-cell { position: relative; flex: 1; max-width: 86px; }
.vertical-bar { position: absolute; left: 17%; width: 66%; }
.metric-cell > b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
@media(max-width:640px) {
  .vstack { gap: 3px; }
  .share-column > span, .metric-group > span { font-size: 10px; }
  .share-column > b { font-size: 11px; }
  .vertical-bars { gap: 5px; }
  .roster-table th:first-child { width: 37%; }
  .roster-table th:nth-child(2) { width: 37%; }
}
#target-report .screen-matrix { margin: 1.6rem 0; padding: 1rem 0 .65rem; border-block: 1px solid var(--blog-rule); }
#target-report .screen-matrix figcaption h3 { margin: 0 0 1rem; }
.screen-matrix svg { display: block; width: 100%; height: auto; }
.screen-matrix .screened { --mark: #fff; --edge: #a5b1a8; }
.screen-matrix .inverse { --mark: #80b08d; --edge: #638e70; }
.screen-matrix .confirmed { --edge: #124b31; }
.screen-matrix rect { fill: var(--mark); stroke: var(--edge); stroke-width: .65; }
.screen-matrix rect.confirmed { stroke-width: 2; }
.screen-key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .7rem 0; font: 400 12px/1.4 var(--report-body); }
.screen-key span { display: inline-flex; align-items: center; gap: .35rem; }
.screen-key i { box-sizing: border-box; width: 12px; height: 12px; background: var(--mark); border: 1px solid var(--edge,var(--mark)); }
.screen-key i.confirmed { border-width: 3px; }
#target-report { --other-tracked: #d4d4d4; --third-drug: #579378; --franchise: #184730; }
:root[data-theme=dark] #target-report { --other-tracked: #585858; --third-drug: #77aa92; --franchise: #d4eed9; }
.other-tracked { background: var(--other-tracked); }
.share-column .tone-2,.bar-legend:has(.other-tracked) .tone-2 { background: var(--third-drug); }
.sales-path.line-1 { stroke: var(--series-b); stroke-dasharray: none; }
.sales-path.line-2 { stroke: var(--third-drug); }
.sales-path.line-3 { stroke: var(--franchise); stroke-width: 3.7px; }
.sales-path.interpolated { stroke-dasharray: 4 4; }
.line-legend .tone-1 { border-bottom: 3px solid var(--series-b); }
.line-legend .tone-2 { border-color: var(--third-drug); }
.line-legend .tone-3 { border-color: var(--franchise); }

/* Use the native Target Heat Index report table, including its mono type and row rhythm. */
#target-report table.blog-report-table { width: 100%; }
#target-report .casepanel table.dose-comparison {
  display: table;
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  margin: 16px 0 8px;
}
#target-report .dose-comparison :is(th,td) {
  padding: 7px 4px;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
#target-report .dose-comparison th:first-child { width: 36%; }
#target-report .dose-comparison tbody tr { height: auto; }
#target-report .blog-report-table th.blog-numeric { white-space: normal; }
#target-report .research-scroll > table[aria-label] :is(th, td) {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 480px) {
  #target-report .casepanel .sales-line { margin-inline-end: 12px; }
  #target-report .research-scroll > table[aria-label] :is(th, td) { padding-inline: 4px; }
  #target-report .research-scroll > table[aria-label] :first-child:is(th, td) { padding-left: 0; }
  #target-report .research-scroll > table[aria-label] :last-child:is(th, td) { padding-right: 0; }
}
#target-report table.blog-report-table small { display: block; margin-top: 2px; color: var(--blog-muted); font: inherit; font-size: 10px; line-height: 1.5; }
#target-report .roster-table { table-layout: fixed; }
#target-report .roster-table :is(th,td) { vertical-align: top; overflow-wrap: break-word; }
#target-report .roster-table .group { height: auto; }
#target-report .roster-table .group th { padding-top: 22px; padding-bottom: 9px; border-bottom: 1px solid var(--blog-rule); color: var(--blog-green); font-weight: 500; }
#target-report .roster-table .group small { font-weight: 400; max-width: 600px; }
#target-report .roster-table :is(b, td[data-label="Indication"]) { font-weight: 500; }
#target-report .roster-table .evidence-qualifier { color: var(--blog-green); }
#target-report .prior-brand + .prior-brand { padding-top: 7px; margin-top: 7px; border-top: 0; }
#target-report .inventory { table-layout: fixed; }
#target-report .inventory :is(th,td) { vertical-align: top; overflow-wrap: break-word; }
#target-report .research-scroll { max-width: 100%; overflow-x: auto; }

.benefit-summary { margin: 24px 0; padding: 17px 0 0; border-top: 0; }
#target-report .benefit-summary figcaption h3 { margin: 0 0 19px; color: var(--blog-ink); font: 500 14px/1.45 var(--report-mono); }
.benefit-row { display: grid; grid-template-columns: 200px minmax(0,1fr) 100px; gap: 4px 13px; align-items: center; margin: 0 0 20px; font: 400 12px/1.5 var(--report-mono); }
.benefit-label { color: var(--blog-ink); }
.benefit-track { height: 20px; background: color-mix(in srgb, var(--blog-green) 7%, var(--cv-paper)); }
.benefit-fill { display: block; height: 100%; background: var(--report-chart-green); }
.benefit-row > b { font-weight: 500; text-align: right; white-space: nowrap; }
.benefit-row > b > span { color: var(--blog-muted); font-weight: 400; }
.benefit-products { grid-column: 1 / -1; color: var(--blog-muted); font: 400 11px/1.5 var(--report-mono); }
@media(max-width:640px) {
  .benefit-row { grid-template-columns: minmax(0,1fr) 94px; gap: 5px 9px; }
  .benefit-label { grid-column: 1 / -1; }
  .benefit-track { grid-column: 1; }
  .benefit-row > b { grid-column: 2; }
  #target-report .roster-table { min-width: 530px; }
}

#target-report .roster-table tbody tr:not(.group) > td { border-bottom: 1px solid color-mix(in srgb, var(--blog-rule) 60%, var(--cv-paper)); }


/* The side annotation spans existing rows so it never changes the distance between stages. */
#target-report .screen-funnel { margin: 20px 0; padding-top: 14px; }
#target-report .screen-funnel figcaption h3 { margin: 0 0 16px; font: 500 14px/1.45 var(--report-mono); }
#target-report .funnel-layout {
  --label: 126px;
  --aside: 116px;
  --gutter: 10px;
  --tier: 46px;
  --step: 20px;
  --connector: color-mix(in srgb, var(--series-a) 51%, var(--cv-paper));
  display: grid;
  grid-template-columns: var(--label) minmax(0,1fr) var(--aside);
  grid-template-rows: repeat(3, var(--tier) var(--step)) minmax(var(--tier), auto);
  column-gap: var(--gutter);
}
#target-report .funnel-stage { display: contents; }
#target-report .funnel-all { --row: 1; --fill: color-mix(in srgb, var(--series-a) 18%, var(--cv-paper)); }
#target-report .funnel-screen { --row: 3; --fill: var(--series-b); }
#target-report .funnel-confirmed { --row: 5; --fill: var(--series-a); }
#target-report .funnel-final { --row: 7; --fill: var(--series-a); }
#target-report .funnel-stage-label {
  grid-column: 1; grid-row: var(--row); align-self: center;
  font: 400 11px/1.35 var(--report-mono); color: var(--blog-ink);
}
#target-report .funnel-stage-label small {
  display: block; margin-top: 2px;
  font: 400 9px/1.3 var(--report-mono); color: var(--blog-muted);
}
#target-report .funnel-volume {
  grid-column: 2; grid-row: var(--row); display: grid; place-items: center;
  height: var(--tier); align-self: start;
}
#target-report .funnel-volume > * { grid-area: 1 / 1; }
#target-report .funnel-volume > span {
  width: var(--stage-width); height: 100%; background: var(--fill);
  clip-path: polygon(0 0,100% 0,94% 100%,6% 100%);
}
#target-report .funnel-volume > b {
  position: relative; color: var(--blog-green); font: 500 21px/1 var(--report-mono);
}
#target-report :is(.funnel-confirmed,.funnel-final) .funnel-volume > b { color: var(--cv-paper); }
#target-report .funnel-drop {
  grid-column: 2; width: 10px; height: var(--step); justify-self: center;
  display: block; color: var(--connector);
}
#target-report .drop-one { grid-row: 2; }
#target-report .drop-two { grid-row: 4; }
#target-report .drop-three { grid-row: 6; }
#target-report .funnel-additions {
  grid-column: 3; grid-row: 1 / 6; align-self: end; justify-self: stretch;
  margin: 0; padding: 0; text-align: center;
  color: var(--blog-green); font: 500 10px/1.3 var(--report-mono);
}
#target-report .funnel-additions > b { display: block; font: 500 18px/1.2 var(--report-mono); }
#target-report .funnel-additions > b ~ b { margin-top: 8px; }
#target-report .funnel-additions p { margin: 4px 0 0; color: var(--blog-muted); font: 400 10px/1.35 var(--report-mono); }
#target-report .funnel-merge {
  grid-column: 2 / 4; grid-row: 6; align-self: start; height: 9px;
  margin-left: calc((100% - var(--aside) - var(--gutter)) / 2);
  margin-right: calc(var(--aside) / 2);
  border: solid var(--connector); border-width: 0 1px 1px 0; border-bottom-right-radius: 5px;
}
@media (max-width: 640px) {
  #target-report .funnel-layout { --label: 90px; --aside: 75px; --gutter: 5px; --tier: 50px; }
  #target-report .funnel-stage-label { font-size: 10px; }
  #target-report .funnel-stage-label small { font-size: 9px; }
  #target-report .funnel-additions { font-size: 9px; }
  #target-report .funnel-volume > b { font-size: 18px; }
}

#target-report .blog-report-table .same-company-product { color: var(--report-chart-green); font-weight: 500; }


/* Equal quarterly spacing fills the available width; text keeps its size. */
.quarterly-share-chart { display: flex; gap: 6px; width: 100%; margin-top: 9px; }
#target-report .quarterly-share-chart .share-axis { flex: 0 0 34px; width: 34px; height: 238px; }
.share-axis text { fill: var(--blog-muted); font: 400 10px var(--report-mono); }
.share-scroller { flex: 1; min-width: 0; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; scrollbar-color: var(--blog-rule) transparent; }
.share-scroller::-webkit-scrollbar { height: 5px; }
.share-scroller::-webkit-scrollbar-thumb { background: var(--blog-rule); border-radius: 3px; }
#target-report .quarterly-share-chart .standard-share-plot { display: block; width: 100%; max-width: none; height: 238px; }
.share-grid { stroke: var(--blog-rule); stroke-width: 1; shape-rendering: crispEdges; }
.share-segment { stroke: none; shape-rendering: crispEdges; }
.share-series-0 { fill: var(--series-a); }
.share-series-1 { fill: var(--series-b); }
.share-series-2 { fill: var(--third-drug); }
.share-series-other { fill: var(--other-tracked); }
.share-hatch { fill: none; stroke: var(--blog-rule); stroke-width: 1; }
.share-missing-label { fill: var(--blog-muted); font: 400 9px var(--report-mono); }
.share-quarter-mark { stroke: var(--blog-rule); stroke-width: 1; }
.share-quarter-tick { fill: var(--blog-muted); font: 400 9px var(--report-mono); }
.share-year-tick { fill: var(--blog-muted); font: 500 10px var(--report-mono); }
.share-event-line { stroke: var(--blog-green); stroke-width: 1; stroke-dasharray: 3 3; }
.share-event-label { fill: var(--blog-green); font: 500 9px var(--report-mono); }
.share-gap-key { background: repeating-linear-gradient(135deg,transparent 0 3px,var(--blog-rule) 3px 4px); }
.quarterly-share-figure .bar-legend { gap: 7px 12px; flex-wrap: wrap; }
.quarterly-share-figure .bar-legend .swatch { flex-shrink: 0; }

/* Commercial evidence uses the same restrained card treatment as the case charts. */

/* Revenue-led editorial review: reuse the article's case-study and chart styles. */

#target-report .product-inn { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  #target-report table.roster-table { display: block; min-width: 0; width: 100%; }
  #target-report table.roster-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #target-report table.roster-table tbody, #target-report table.roster-table .group, #target-report table.roster-table .group th:first-child { display: block; width: auto; }
  #target-report table.roster-table tbody tr:not(.group) { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--blog-rule); }
  #target-report table.roster-table tbody tr:not(.group) > td { display: block; width: auto; border: 0; padding: 0; }
  #target-report table.roster-table td:nth-child(n+3) { grid-column: 1 / -1; }
  #target-report table.roster-table td::before { content: attr(data-label); display: block; color: var(--blog-muted); font: 400 10px/1.5 var(--report-mono); }
}
