/* ============================================================
   Cancer hub: blocks added on top of the GLP-1 hub page shell.
   Same tokens as the hub (teal #008880, ink #1C1F22, hairline
   #E6E9ED, 12px cards). Everything here is HTML + CSS, no images.
   ============================================================ */

/* ---- hover states (the hub's style-hover attribute, as real CSS) ---- */
.cx-btn-primary { background: #008880; color: #fff; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 12px; display: inline-block; white-space: nowrap; }
.cx-btn-primary:hover { background: #00736C; color: #fff; text-decoration: none; }
.cx-btn-ghost { background: #fff; color: #008880; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 12px; border: 1px solid #B8DEDB; display: inline-block; white-space: nowrap; }
.cx-btn-ghost:hover { background: #F2F9F8; color: #00736C; text-decoration: none; }
.toc-a { font-size: 14px; line-height: 22px; color: #25282B; font-weight: 700; }
.toc-a:hover { color: #008880; text-decoration: none; }
.rel-a { font-size: 14px; line-height: 22px; font-weight: 700; color: #1C1F22; }
.rel-a:hover { color: #008880; text-decoration: none; }
.tool-card { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; color: #25282B; }
.tool-card:hover { border-color: #008880; text-decoration: none; color: #25282B; }
.link-arrow { font-size: 13px; font-weight: 800; color: #00736C; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow:hover { color: #004D48; text-decoration: none; }

/* ---- citations: superscript [1], [2] ---- */
sup.cite { font-size: 11px; line-height: 0; color: #5C636D; font-weight: 600; white-space: nowrap; margin-left: 1px; }
sup.cite a { color: inherit; text-decoration: none; }
sup.cite a:hover { color: #008880; text-decoration: underline; }
.refs :target, [id^="ref-"]:target { background: #FEF3E1; border-radius: 4px; }

/* ---- generic type used by the new blocks ---- */
.lead-p { font-size: 15px; line-height: 24px; color: #5C636D; margin: 0 0 18px; max-width: 760px; }
.lead-p.wide { max-width: 820px; }
.h3 { font-size: 18px; line-height: 26px; font-weight: 800; margin: 0 0 10px; color: #1C1F22; }
.cx-card { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; }
.cx-tile { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px; }
.cx-tile p, .cx-card p { margin: 0; }
.note-box { background: #F2F9F8; border: 1px solid #B8DEDB; border-radius: 12px; padding: 16px; }
.note-box p { font-size: 14px; line-height: 22px; color: #25282B; margin: 0; }
.cx-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #008880; margin-bottom: 6px; }
.hr { height: 1px; background: #F0F2F4; margin: 0 0 20px; }

/* ---- responsive tables: a real table on desktop, stacked cards on the phone ---- */
.rt-wrap { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; overflow: hidden; }
.rt-scroll { overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtable th { text-align: left; padding: 13px 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #00736C; background: #F2F9F8; border-bottom: 1px solid #E6E9ED; vertical-align: bottom; }
.rtable td { padding: 15px 16px; border-bottom: 1px solid #F0F2F4; color: #5C636D; line-height: 22px; vertical-align: top; }
.rtable tr:last-child td { border-bottom: 0; }
.rtable td:first-child, .rtable th:first-child { padding-left: 20px; }
.rtable td:last-child, .rtable th:last-child { padding-right: 20px; }
.rtable tbody tr:hover { background: #F7FAFA; }
.rtable td.k { color: #1C1F22; font-weight: 800; font-size: 15px; line-height: 22px; }
.rtable td.k a { font-weight: 800; }
.rtable td.num, .rtable th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rtable td.num { color: #25282B; font-weight: 700; }
.rtable td .yes { color: #A6231A; font-weight: 700; }
.rtable td .no { color: #12805A; font-weight: 700; }
.rt-foot { padding: 12px 20px; background: #F5F7F8; border-top: 1px solid #E6E9ED; font-size: 12px; line-height: 18px; color: #6B747E; }
@container art (max-width: 640px) {
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; box-sizing: border-box; }
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable tr { padding: 14px 16px; border-bottom: 1px solid #E6E9ED; }
  .rtable tr:last-child { border-bottom: 0; }
  .rtable td, .rtable td:first-child, .rtable td:last-child { padding: 0; border: 0; }
  .rtable td + td { margin-top: 10px; }
  .rtable td[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; margin-bottom: 2px; }
  .rtable td.k { font-size: 16px; }
  .rtable td.k::before { display: none; }
  .rtable td.num, .rtable th.num { text-align: left; }
}

/* ---- drug-group table: molecule on the left, its brands on the right ---- */
.mol-list { display: flex; flex-direction: column; gap: 8px; }
.mol-row { display: grid; grid-template-columns: minmax(100px, 130px) 1fr; gap: 4px 14px; align-items: baseline; }
.mol-name { font-weight: 800; font-size: 13.5px; line-height: 20px; }
.mol-name a { color: #00736C; }
.brands { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.brand { font-size: 12.5px; line-height: 18px; color: #25282B; background: #F5F7F8; border: 1px solid #E6E9ED; border-radius: 999px; padding: 1px 9px; }
a.brand:hover { border-color: #008880; color: #008880; text-decoration: none; background: #fff; }
.brand.more { background: #E6F3F2; border-color: #D3E8E6; color: #00736C; font-weight: 700; }
.brand.none { background: transparent; border-style: dashed; color: #6B747E; }
.route-pill { display: inline-block; font-size: 11px; line-height: 16px; font-weight: 700; color: #00736C; background: #E6F3F2; padding: 3px 10px; border-radius: 12px; }
@container art (max-width: 640px) { .mol-row { grid-template-columns: 1fr; gap: 3px; } }

/* ---- stat tiles ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 16px; }
.stat { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px 18px; }
.stat b { display: block; font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -0.02em; color: #0F2E2C; }
.stat span { display: block; font-size: 13px; line-height: 19px; color: #5C636D; margin-top: 2px; }
.stat.hot b { color: #00736C; }

/* ---- illustration shell ---- */
.ill { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 24px; margin: 20px 0; }
.ill-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #5C636D; margin-bottom: 10px; }
.ill-card { background: #fff; border: 1px solid #DCE6E5; border-radius: 10px; padding: 10px 12px; }
.ill-card b { display: block; font-size: 14px; line-height: 20px; font-weight: 800; color: #1C1F22; }
.ill-card span { display: block; font-size: 12.5px; line-height: 18px; color: #5C636D; }
.ill-card span.bad { color: #B93B0B; font-weight: 700; }
.ill-arrow { display: flex; align-items: center; justify-content: center; color: #5C636D; }
.ill-arrow svg { width: 26px; height: 26px; }
.ill-callout { background: #F2F9F8; border: 1px solid #B8DEDB; border-radius: 12px; padding: 14px 16px; margin-top: 20px; }
.ill-callout b { display: block; font-size: 14px; color: #00736C; margin-bottom: 4px; }
.ill-callout p { font-size: 14px; line-height: 22px; color: #25282B; margin: 0; }

/* A. DNA pathway */
.dna-grid { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; gap: 0 10px; align-items: stretch; }
.dna-col { display: flex; flex-direction: column; gap: 8px; }
.dna-col .ill-eyebrow { margin-bottom: 2px; }
.dna-arrow { align-self: center; }
.dna-do { border-radius: 10px; padding: 11px 12px; font-size: 13.5px; line-height: 19px; font-weight: 700; border: 1px solid transparent; }
.dna-do.d1 { background: #EAF5F4; border-color: #D3E8E6; color: #0F2E2C; }
.dna-do.d2 { background: #CBE6E3; border-color: #B8DEDB; color: #0F2E2C; }
.dna-do.d3 { background: #5BB0A8; color: #fff; }
.dna-do.d4 { background: #00736C; color: #fff; }
.dna-do.d5 { background: #C2410C; color: #fff; }
.dna-time { position: relative; display: flex; justify-content: space-between; margin: 26px 6px 0; padding-top: 22px; }
.dna-time::before { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 2px; background: #008880; }
.dna-pt { position: relative; max-width: 33%; font-size: 12px; line-height: 17px; color: #5C636D; }
.dna-pt::before { content: ""; position: absolute; top: -22px; width: 12px; height: 12px; border-radius: 50%; background: #008880; }
.dna-pt b { display: block; font-size: 13.5px; color: #1C1F22; }
.dna-pt.mid { text-align: center; }
.dna-pt.mid::before { left: 50%; transform: translateX(-50%); }
.dna-pt.end { text-align: right; }
.dna-pt.end::before { right: 0; background: #C2410C; }
@container art (max-width: 640px) {
  .ill { padding: 16px; }
  .dna-grid { grid-template-columns: 1fr; gap: 6px; }
  .dna-arrow { padding: 2px 0; }
  .dna-arrow svg { transform: rotate(90deg); }
  .dna-pt { max-width: 34%; font-size: 11.5px; }
}

/* B. benign / in situ / malignant */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tm { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tm-title { text-align: center; font-size: 16px; font-weight: 800; }
.tm-title.t-b { color: #00736C; } .tm-title.t-i { color: #A8741A; } .tm-title.t-m { color: #C2410C; }
.tm-box { background: #F5F7F8; border: 1px solid #E6E9ED; border-radius: 12px; padding: 14px 14px 12px; position: relative; flex: 1; }
.tm-cells { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-bottom: 12px; min-height: 92px; justify-content: flex-end; }
.tm-row { display: flex; justify-content: center; gap: 5px; }
.cx-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.cx-dot.b { background: #2F9A92; } .cx-dot.i { background: #C79A2B; } .cx-dot.m { background: #C2410C; }
.tm-line { position: relative; height: 0; border-top: 2px solid #1C1F22; margin: 0 -2px; }
.tm-line .cx-dot { position: absolute; top: -11px; }
.tm-label { font-size: 12px; color: #5C636D; margin: 6px 0 8px; position: relative; z-index: 1; }
.tm-tissue { position: relative; background: #E6F3F2; border-radius: 8px; padding: 7px 10px; font-size: 12px; text-align: center; color: #3D4A48; }
.tm-tissue .cx-dot { position: absolute; width: 16px; height: 16px; top: -26px; }
.tm-vessel { display: inline-block; margin-left: 8px; border: 1.5px dashed #C2410C; color: #C2410C; border-radius: 999px; padding: 0 9px; font-size: 11.5px; background: #fff; }
.tm-cap { text-align: center; font-size: 13.5px; line-height: 20px; color: #5C636D; }
@container art (max-width: 600px) { .tm-grid { grid-template-columns: 1fr; gap: 20px; } .tm-box { max-width: 420px; width: 100%; margin: 0 auto; box-sizing: border-box; } }

/* C. how cancer spreads: primary tumour fans out to three routes, then to destinations */
.sp { display: grid; grid-template-columns: auto 92px minmax(0, 1.2fr) 40px minmax(0, 1fr); grid-template-areas: "p c1 r1 a d" "p c2 r2 a d" "p c3 r3 a d"; row-gap: 14px; align-items: stretch; }
.sp-primary { grid-area: p; align-self: center; background: #C2410C; color: #fff; font-weight: 800; font-size: 15px; padding: 18px 20px; border-radius: 12px; text-align: center; position: relative; z-index: 1; }
.sp-r1 { grid-area: r1; } .sp-r2 { grid-area: r2; } .sp-r3 { grid-area: r3; }
.sp-r { display: flex; }
.sp-r .ill-card { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sp-c { position: relative; min-height: 52px; }
.sp-c.c1 { grid-area: c1; } .sp-c.c2 { grid-area: c2; } .sp-c.c3 { grid-area: c3; }
.sp-c .h { position: absolute; left: 0; right: 9px; top: 50%; border-top: 2px solid #C2410C; }
.sp-c .h::after { content: ""; position: absolute; right: -9px; top: -6px; border-left: 9px solid #C2410C; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.sp-c .v { position: absolute; left: 0; border-left: 2px solid #C2410C; }
.sp-c.c1 .v { top: 50%; bottom: -14px; }
.sp-c.c2 .v { top: -14px; bottom: -14px; }
.sp-c.c3 .v { top: -14px; bottom: 50%; }
.sp-c .lbl { position: absolute; left: 14px; right: 14px; bottom: calc(50% + 4px); text-align: center; font-size: 11.5px; color: #5C636D; white-space: nowrap; }
.sp-a { grid-area: a; align-self: center; display: flex; justify-content: center; color: #5C636D; }
.sp-a svg { width: 26px; height: 26px; }
.sp-dest { grid-area: d; align-self: center; background: #E6F3F2; border: 1px solid #D3E8E6; border-radius: 12px; padding: 14px 16px; }
.sp-dest b { display: block; font-size: 14px; color: #1C1F22; margin-bottom: 4px; }
.sp-dest .big { font-size: 15px; font-weight: 700; color: #00736C; margin-bottom: 4px; }
.sp-dest span { font-size: 12.5px; line-height: 18px; color: #5C636D; display: block; }
.ill-card span.sp-via { display: none; }
@container art (max-width: 640px) {
  .sp { grid-template-columns: 1fr; grid-template-areas: "p" "r1" "r2" "r3" "a" "d"; row-gap: 10px; }
  .sp-primary { text-align: left; align-self: stretch; }
  .sp-c { display: none; }
  .ill-card span.sp-via { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #C2410C; margin-bottom: 3px; }
  .sp-a svg { transform: rotate(90deg); }
  .sp-dest { align-self: stretch; }
}

/* stage and grade scales */
.tnm { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 0 0 18px; }
.tnm .cx-tile b.l { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #008880; color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.stage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 12px; }
.stage div { text-align: center; font-weight: 800; font-size: 14px; padding: 12px 4px; border-radius: 10px; color: #0F2E2C; }
.stage .s0 { background: #EAF5F4; } .stage .s1 { background: #CBE6E3; } .stage .s2 { background: #8FCBC5; } .stage .s3 { background: #3F9F97; color: #fff; } .stage .s4 { background: #C2410C; color: #fff; }
.stage-notes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stage-notes p:first-child { grid-column: 2 / 5; text-align: center; }
.stage-notes p:last-child { grid-column: 5 / 6; text-align: center; }
.stage-notes p { font-size: 13px; line-height: 19px; color: #5C636D; margin: 0; }
.stage-notes p b { color: #1C1F22; }
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.grade div { text-align: center; font-weight: 800; font-size: 13px; padding: 10px 4px; border-radius: 10px; color: #0F2E2C; }
.grade .g1 { background: #EAF5F4; } .grade .g2 { background: #CBE6E3; } .grade .g3 { background: #F3D9A8; } .grade .g4 { background: #E9A27C; }
.grade-ends { display: flex; justify-content: space-between; font-size: 12px; color: #5C636D; }
@container art (max-width: 520px) { .stage-notes { grid-template-columns: 1fr; } .stage-notes p:first-child, .stage-notes p:last-child { grid-column: auto; text-align: left; } .stage div { font-size: 13px; padding: 10px 2px; } }

/* ---- bar charts ---- */
.chart { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 20px 22px 16px; margin: 16px 0 18px; }
.chart-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-h b { font-size: 16px; font-weight: 800; color: #1C1F22; }
.chart-h span { font-size: 12px; color: #6B747E; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; align-items: center; gap: 10px; padding: 3px 0; }
.bar-label { font-size: 13px; line-height: 17px; color: #3D4A48; text-align: right; }
.bar-track { position: relative; height: 22px; margin-right: 46px; background-image: linear-gradient(to right, #E6E9ED 1px, transparent 1px); background-size: var(--tick) 100%; background-repeat: repeat-x; border-right: 1px solid #E6E9ED; }
.bar { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 0 4px 4px 0; background: #5BB0A8; }
.bar.top { background: #00736C; }
.bar.other { background: #B9C4C9; }
.bar-val { position: absolute; top: 50%; transform: translateY(-50%); margin-left: 6px; font-size: 12.5px; font-weight: 700; color: #25282B; font-variant-numeric: tabular-nums; white-space: nowrap; }
.axis { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px; margin-top: 2px; }
.axis-ticks { position: relative; height: 16px; margin-right: 46px; }
.axis-ticks i { position: absolute; font-style: normal; font-size: 11px; color: #6B747E; transform: translateX(-50%); }
.axis-title { text-align: center; font-size: 12px; color: #6B747E; margin-top: 4px; }
@container art (max-width: 520px) {
  .chart { padding: 16px 14px 12px; }
  .bar-row, .axis { grid-template-columns: 1fr; gap: 2px; }
  .axis > :first-child { display: none; }
  .bar-label { text-align: left; font-size: 12.5px; }
  .bar-track { margin-right: 40px; height: 18px; }
  .bar { top: 2px; bottom: 2px; }
  .bar-row { padding: 5px 0; }
}

/* ---- row list with a pill (molecular markers, updates feed) ---- */
.pill-list { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 22px; }
.pill-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #F0F2F4; align-items: flex-start; }
.pill-row:first-child { padding-top: 0; }
.pill-row:last-child { padding-bottom: 0; border-bottom: 0; }
.cx-pill { flex: none; width: 132px; font-size: 11.5px; font-weight: 800; color: #00736C; background: #E6F3F2; padding: 5px 8px; border-radius: 999px; text-align: center; height: fit-content; }
.cx-pill.grey { color: #5C636D; background: #F0F2F4; }
.pill-row p { font-size: 14px; line-height: 22px; color: #5C636D; margin: 0; }
.pill-row p .src { display: block; font-size: 12px; color: #6B747E; margin-top: 2px; }
@container art (max-width: 520px) { .pill-list { padding: 16px; } .pill-row { flex-direction: column; gap: 8px; } .cx-pill { width: auto; padding: 5px 12px; } }

/* ---- screening cards ---- */
.screen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.screen .cx-tile .k { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #008880; margin-bottom: 4px; }
.screen .cx-tile b { display: block; font-size: 15px; color: #1C1F22; margin-bottom: 4px; }
.screen .cx-tile span { font-size: 13.5px; line-height: 21px; color: #5C636D; }

/* ---- verified badge ---- */
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #12805A; background: #E3F6EE; border-radius: 999px; padding: 4px 12px; }
.verified svg { width: 14px; height: 14px; }

/* ---- source chips under the updates feed ---- */
.srcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.srcs a { font-size: 12.5px; font-weight: 700; color: #00736C; background: #fff; border: 1px solid #B8DEDB; border-radius: 999px; padding: 5px 12px; }
.srcs a:hover { background: #F2F9F8; text-decoration: none; }

@media (max-width: 560px) {
  .card-pad { padding: 16px !important; }
  .stat b { font-size: 24px; line-height: 30px; }
}

/* fixed column widths for the drug-group table so brand chips get room */
.rtable.fixed { table-layout: fixed; }
@container art (max-width: 640px) { .rtable.fixed col { width: auto !important; } }

/* ---- two-column page: article column is the container the blocks respond to ---- */
.art { container: art / inline-size; }
@media (max-width: 560px) {
  .asec[style*="padding:36px 0 0"] { padding-top: 28px !important; }
}
/* the gap between sections is the section's top padding alone: the last block of the section before
   does not add its own bottom margin on top (it made section breaks ~54px on desktop) */
.art > .asec > :last-child, .art > .asec > :last-child > :last-child { margin-bottom: 0 !important; }

/* ---- opening description: clamped with a Read more toggle (GLP-1 home pattern) ---- */
.hero-intro.is-clamped { max-height: 196px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
.hero-toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 22px; padding: 0; border: 0; background: transparent; font: 800 14px/1 Inter, Mulish, sans-serif; color: #008880; cursor: pointer; }
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { color: #004D48; }
.hero-toggle svg { transition: transform 160ms ease-out; }
.hero-toggle.open svg { transform: rotate(180deg); }
@media (max-width: 560px) { .hero-intro.is-clamped { max-height: 176px; } }

.art > .asec:first-child { padding-top: 0 !important; }

/* ---- drug groups: group details on the left, molecules and their brands on the right ---- */
.dg-head { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 13px 20px; background: #F2F9F8; border-bottom: 1px solid #E6E9ED; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #00736C; }
.dg-item { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #F0F2F4; }
.dg-item:last-child { border-bottom: 0; }
.dg-name { font-size: 15px; line-height: 22px; font-weight: 800; color: #1C1F22; margin-bottom: 6px; }
.dg-use { font-size: 13.5px; line-height: 21px; color: #5C636D; margin: 8px 0 0; }
.dg-use b { color: #25282B; font-weight: 700; }
.dg-item .mol-row { grid-template-columns: minmax(96px, 130px) 1fr; }
@container art (max-width: 640px) {
  .dg-head { display: none; }
  .dg-item { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
}

/* ================= phone tweaks (review 6 Nov) ================= */
.dg-toggle, .refs-toggle { display: none; }
@media (max-width: 560px) {
  /* the rail (consult + related) follows the article on the phone */
  main .toc { order: 3 !important; }
  /* byline: one fact per line, no floating separators */
  .byline { flex-direction: column; align-items: flex-start !important; gap: 2px !important; }
  .byline > span[style*="#C9D0D8"] { display: none; }
  /* screening stats: two per row */
  .stats[style] { grid-template-columns: repeat(2, 1fr) !important; }
  .stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@container art (max-width: 520px) {
  /* numbered steps and T/N/M: number beside the text */
  .step-tile { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
  .step-tile .num { margin-bottom: 0 !important; flex: none; }
  .tnm .cx-tile b.l { width: 30px; height: 30px; font-size: 15px; }
  /* drug groups: molecule name above its chips, chips get the full width */
  .dg-item .mol-row { grid-template-columns: 1fr; gap: 4px; }
  .mol-list { gap: 12px; }
  /* explore band: two columns, icon above the text */
  .pad .tool-card { flex-direction: column; gap: 8px; padding: 12px; }
}
@container art (max-width: 640px) {
  /* India indicators: Males / Females / Both sexes on one line */
  .rtable.nums td.num { display: inline-block; width: 33.33%; vertical-align: top; margin-top: 10px; white-space: normal; padding-right: 8px !important; }
  .rtable.nums td.num + td.num { margin-top: 10px; }
  .rtable.nums td.num::before { font-size: 10px; }
  /* two-column tables: the key already says what the row is */
  .rtable.two td[data-label]::before { display: none; }
  .rtable.two td + td { margin-top: 4px; }
}
@media (max-width: 560px) {
  .dg-item.is-collapsed .mol-row:nth-child(n+6) { display: none; }   /* child 1 is the .mol-key */
  .dg-toggle, .refs-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 8px 14px; border: 1px solid #B8DEDB; border-radius: 999px; background: #fff; font: 700 13px/1 Inter, Mulish, sans-serif; color: #00736C; cursor: pointer; width: fit-content; }
  .refs.is-collapsed > div:nth-child(n+6) { display: none !important; }
  .refs-toggle { margin-top: 6px; }
}
@container art (max-width: 520px) {
  .pad > div[style*="minmax(250px,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

/* ---- tablet (561-900px): the rail cannot sit beside the article, so it is split.
   "On this page" spans the top with its links in columns; the consult and related
   cards follow the article side by side. ---- */
@media (min-width: 561px) and (max-width: 900px) {
  main .toc { display: contents !important; }
  main .toc > .toc-nav { order: 1; flex: 1 1 100%; }
  main .toc > .toc-nav > div:last-child { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px !important; }
  main .art { order: 2; flex: 1 1 100% !important; }
  main .toc > .pad:not(.toc-nav) { order: 3; flex: 1 1 300px; align-self: stretch; }
}

/* ---- drug table "+N more molecules" popup (client-rendered by cancer.js) */
.mol-more-row { display: flex; }
button.mol-more { font: inherit; font-size: 12.5px; line-height: 18px; cursor: pointer; }
button.mol-more:hover { border-color: #008880; background: #fff; }
button.mol-more[aria-busy="true"] { opacity: .6; }
html.mm-open { overflow: hidden; }
.mm-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 46, 44, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mm-overlay[hidden] { display: none; }
.mm-dialog { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; max-height: min(80vh, 640px); display: flex; flex-direction: column; box-shadow: 0 20px 48px rgba(15, 46, 44, .25); font-family: var(--glp-font, Inter, Mulish, sans-serif); }
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 4px; }
.mm-head h3 { font-size: 18px; line-height: 26px; font-weight: 800; color: #1C1F22; margin: 0; }
.mm-close { flex: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid #E6E9ED; background: #fff; color: #5C636D; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-close:hover { border-color: #008880; color: #00736C; }
.mm-sub { font-size: 13px; line-height: 20px; color: #5C636D; margin: 0; padding: 0 20px 12px; border-bottom: 1px solid #F0F2F4; }
.mm-list { list-style: none; margin: 0; padding: 12px 20px 20px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; }
.mm-list a { display: block; padding: 8px 12px; border: 1px solid #E6E9ED; border-radius: 10px; font-size: 14px; line-height: 20px; font-weight: 700; color: #00736C; background: #F5F7F8; }
.mm-list a:hover { border-color: #008880; background: #fff; text-decoration: none; }
@media (max-width: 560px) {
  .mm-overlay { align-items: flex-end; padding: 0; }
  .mm-dialog { max-width: none; border-radius: 16px 16px 0 0; max-height: 85vh; }
  .mm-list { grid-template-columns: 1fr; }
}
/* phone: a collapsed group shows "Show all N molecules" first; the "+N more" chip appears once expanded */
@media (max-width: 560px) { .dg-item.is-collapsed .mol-more-row { display: none; } }

/* ---- explore band: hub cards with child links + cancer types A to Z */
.ex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ex-card { position: relative; background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.ex-card:hover { border-color: #008880; }
.ex-ic { width: 34px; height: 34px; border-radius: 10px; background: #EAF5F4; color: #008880; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ex-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ex-title { font-size: 15px; font-weight: 800; color: #0F2E2C; }
.ex-title::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }   /* whole card opens the hub page */
.ex-title:hover { text-decoration: none; color: #00736C; }
.ex-desc { font-size: 13px; line-height: 20px; color: #5C636D; }
.ex-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ex-subs a, .ctz-subs a { position: relative; z-index: 1; font-size: 12.5px; line-height: 18px; font-weight: 700; color: #00736C; background: #F2F9F8; border: 1px solid #D3E8E6; border-radius: 999px; padding: 3px 10px; }
.ex-subs a:hover, .ctz-subs a:hover { background: #fff; border-color: #008880; text-decoration: none; }
.ctz { margin-top: 16px; background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 18px 20px; }
.ctz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ctz-head a, .ctz-head .ctz-title { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; }
.ctz-head span { font-size: 12px; color: #6B747E; }
.ctz-groups { columns: 3 220px; column-gap: 28px; }
.ctz-group { break-inside: avoid; display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; margin-bottom: 14px; }
.ctz-letter { font-size: 13px; font-weight: 800; color: #00736C; background: #EAF5F4; border-radius: 8px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.ctz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ctz-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.ctz-type { font-size: 14px; line-height: 20px; font-weight: 800; color: #0F2E2C; }
.ctz-type:hover { color: #00736C; }
.ctz-go, .ctz-tog { display: none; }
.ctz-subs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ctz-subs a { font-size: 12px; padding: 2px 9px; font-weight: 600; }
@container art (max-width: 520px) {
  .ex-grid { grid-template-columns: 1fr; gap: 10px; }
  .ex-card { padding: 14px; }
}

/* ---- drug table key: "Molecule" / "Brands on PharmEasy" tags, mobile only (the desktop header is hidden there) */
.mol-key { display: none; }
.mol-key span { font-size: 10.5px; line-height: 16px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; width: fit-content; }
.mol-key .k-mol { color: #fff; background: #00736C; }
.mol-key .k-brand { color: #5C636D; background: #F5F7F8; border: 1px solid #E6E9ED; }
.mol-key .k-all { display: none; color: #00736C; background: #EAF5F4; border: 1px solid #B8DEDB; }
@container art (max-width: 640px) {
  .mol-key { display: grid; grid-template-columns: minmax(96px, 130px) 1fr; gap: 4px 14px; align-items: center; padding-bottom: 8px; border-bottom: 1px dashed #E6E9ED; }
}
@container art (max-width: 520px) {
  /* rows stack (name above chips), so the key is one label for both */
  .mol-key { display: flex; }
  .mol-key .k-mol, .mol-key .k-brand { display: none; }
  .mol-key .k-all { display: inline-block; }
}

/* A to Z on mobile: one column of full-width rows under letter markers; types with subpages fold */
@container art (max-width: 520px) {
  .ctz { padding: 14px 14px 6px; }
  .ctz-groups { columns: auto; }
  .ctz-group { grid-template-columns: 28px 1fr; gap: 0 12px; margin-bottom: 10px; }
  .ctz-letter { width: 28px; height: 28px; margin-top: 8px; }
  .ctz-list { gap: 0; }
  .ctz-item { border-bottom: 1px solid #F0F2F4; }
  .ctz-group:last-child .ctz-item:last-child { border-bottom: 0; }
  .ctz-row { min-height: 44px; }
  .ctz-type { flex: 1; padding: 12px 0; font-size: 15px; }
  .ctz-go { display: flex; color: #6B747E; }
  .ctz-item:not(.has-subs) .ctz-type { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .ctz-tog { display: inline-flex; align-items: center; gap: 4px; flex: none; border: 1px solid #D3E8E6; background: #F2F9F8; color: #00736C; border-radius: 999px; padding: 6px 8px 6px 11px; font: 700 12px/1 Inter, Mulish, sans-serif; cursor: pointer; }
  .ctz-tog svg { transition: transform 160ms ease-out; }
  .ctz-tog[aria-expanded="true"] svg { transform: rotate(180deg); }
  .ctz-subs { margin: 0 0 12px; }
  .ctz.js-fold .ctz-item.has-subs:not(.open) .ctz-subs { display: none; }
}

/* ---- inner pages (build/pages.py) */
.pg-list { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.pg-list li { font-size: 15px; line-height: 25px; color: #5C636D; }
.pg-list li::marker { color: #008880; }
.pg-list ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; list-style: circle; }
.pg-list strong { color: #25282B; }
.your-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; line-height: 20px; color: #5C7370; margin: 0 0 18px; }
.your-path .yp-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; background: #fff; border: 1px solid #B8DEDB; border-radius: 999px; padding: 2px 9px; }
.your-path a { color: #00736C; font-weight: 700; }
.pg-fig { margin: 8px 0 18px; }
.pg-fig img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid #E6E9ED; background: #fff; }
.med-table { background: #fff; padding: 6px 20px; }
.med-group { display: grid; grid-template-columns: 200px 1fr; gap: 12px 16px; padding: 14px 0; border-bottom: 1px solid #F0F2F4; }
.med-group:last-child { border-bottom: 0; }
.med-label { font-size: 14px; line-height: 20px; font-weight: 800; color: #1C1F22; }
.med-table .mol-row { grid-template-columns: minmax(110px, 150px) 1fr; }
@container art (max-width: 640px) { .med-table { padding: 4px 16px; } .med-group { grid-template-columns: 1fr; gap: 8px; } }
.related-box { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 18px 20px; }
.related-box .pg-list { margin-bottom: 10px; }
.rel-reading { font-size: 14px !important; }

/* ---- review 18 Nov: tables too wide for the article column become row cards on every screen
   (cancer.js adds .stack when a table would otherwise need a sideways scroll) ---- */
.mol-name { overflow-wrap: anywhere; min-width: 0; }
.rtable.stack, .rtable.stack tbody { display: block; width: 100%; }
.rtable.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rtable.stack tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding: 16px 20px; border-bottom: 1px solid #E6E9ED; }
.rtable.stack tr:last-child { border-bottom: 0; }
.rtable.stack tbody tr:hover { background: transparent; }
.rtable.stack td, .rtable.stack td:first-child, .rtable.stack td:last-child { display: block; padding: 0; border: 0; margin: 0; }
.rtable.stack td.k { grid-column: 1 / -1; font-size: 16px; }
.rtable.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; margin-bottom: 2px; }
.rtable.stack td.k::before { display: none; }
.rtable.stack td:empty { display: none; }
@container art (max-width: 640px) {
  .rtable.stack tr { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .rtable.stack td + td { margin-top: 0; }
}
/* a one-row "facts" table: its first column is a fact too, so keep that column's label */
.rtable.stack tbody tr:only-child td.k::before { display: block; }
.rtable.stack tbody tr:only-child td.k { font-size: 15px; }
@container art (max-width: 640px) {
  .rtable tbody tr:only-child td.k::before { display: block; }
  .rtable tbody tr:only-child td.k { font-size: 15px; }
}

/* ---- spacing pass (18 Nov): one vertical rhythm on every page ---- */
.art .rt-wrap + p, .art .rt-wrap + .lead-p, .art .med-table + p { margin-top: 18px; }   /* text under a table */
.art .pg-list { margin-bottom: 18px; }
.art .pg-list ul { margin-top: 8px; }
/* phone: drug-class tables put the molecule above its brand chips (as on the hub page) */
@container art (max-width: 520px) {
  .med-table .mol-row { grid-template-columns: 1fr; gap: 6px; }
  .med-table .mol-list { gap: 14px; }
}
.art .related-box .pg-list { margin-bottom: 10px; }

/* ============================================================
   Presented tables (build/present.py): same words, laid out by kind
   ============================================================ */
.pv-wrap { margin: 0; }
.art .pv-wrap + p, .art .pv-wrap + .lead-p, .pv-wrap + p, .pv-wrap + .lead-p { margin-top: 18px; }
.pv { display: grid; gap: 12px; }
.pv p { margin: 0; }
.pv-lbl { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; margin-bottom: 3px; }
.pv-foot { font-size: 12px; line-height: 19px; color: #6B747E; margin-top: 10px; }

/* --- one card per row --- */
.pv-cards.pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-cards.pv-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pv-card { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 22px; color: #5C636D; transition: border-color .15s, box-shadow .15s; }
.pv-card:hover { border-color: #B8DEDB; box-shadow: 0 4px 16px rgba(15, 46, 44, 0.06); }
.pv-head { display: flex; gap: 12px; align-items: flex-start; }
.pv-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #E7F3F2; color: #00736C; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: -1px; }
.pv-title { color: #1C1F22; font-weight: 800; font-size: 15.5px; line-height: 23px; }
.pv-title strong { font-weight: 800; }
.pv-metas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pv-pill, .pv-badge { display: inline-block; font-size: 12.5px; line-height: 18px; padding: 4px 10px; border-radius: 8px; background: #F2F5F7; color: #30363C; font-weight: 600; }
.pv-pill-l, .pv-badge-l { font-weight: 500; color: #6B747E; }
.pv-pill-l { margin-right: 2px; }
.pv-pill-l::after { content: ":"; }
.pv-badge-l { margin-right: 2px; }
.pv-badge.good { background: #E8F6EE; color: #12805A; }
.pv-badge.bad { background: #FCE9E8; color: #A6231A; }
.pv-badge.mid { background: #FEF3E1; color: #8A5A00; }
.pv-badge.muted { background: #F2F5F7; color: #4F585E; }
.pv-badge.good .pv-badge-l, .pv-badge.bad .pv-badge-l, .pv-badge.mid .pv-badge-l { color: inherit; opacity: .75; }
.pv-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
.pv-cards.pv-grid .pv-body, .pv-cards.pv-row .pv-body { grid-template-columns: 1fr; }
.pv-notes { display: grid; gap: 8px; margin-top: auto; }
.pv-note { border-radius: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 21px; }
.pv-note-l { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.pv-note.warn { background: #FEF7EA; color: #5C4A26; } .pv-note.warn .pv-note-l { color: #A86A00; }
.pv-note.alert { background: #FDEEEC; color: #5E2F2B; } .pv-note.alert .pv-note-l { color: #B33A32; }
.pv-note.info { background: #F3F6F9; color: #3A434B; } .pv-note.info .pv-note-l { color: #4F6475; }
.pv-note.tip { background: #EEF5FF; color: #2D3D52; } .pv-note.tip .pv-note-l { color: #1F5FA8; }
.pv-note.do { background: #ECF7F5; color: #1F4A46; } .pv-note.do .pv-note-l { color: #00736C; }

/* --- "Which applies to you?" --- */
.pv-sits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-sit { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; font-size: 14px; line-height: 22px; color: #5C636D; transition: border-color .15s, box-shadow .15s; }
.pv-sit:hover { border-color: #B8DEDB; box-shadow: 0 4px 16px rgba(15, 46, 44, 0.06); }
.pv-sit-who { background: #F2F9F8; padding: 14px 16px; border-left: 3px solid #10847E; }
.pv-sit-who p { color: #1C1F22; font-weight: 700; font-size: 14.5px; }
.pv-sit-next { padding: 14px 16px 0; }
.pv-sit-more { padding: 12px 16px 14px; margin-top: auto; }
.pv-more-v { display: flex; gap: 6px; align-items: baseline; font-weight: 600; color: #00736C; }
.pv-more-v svg { flex-shrink: 0; position: relative; top: 2px; }

/* --- at-a-glance facts --- */
.pv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-fact { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 22px; color: #30363C; }
.pv-fact-q { display: flex; gap: 6px; align-items: flex-start; font-weight: 800; color: #00736C; font-size: 13px; line-height: 19px; margin-bottom: 6px; }
.pv-fact-q svg { flex-shrink: 0; margin-top: 2px; }

/* --- India numbers --- */
.pv-stats { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pv-stat { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.pv-stat-k { font-size: 13px; line-height: 19px; font-weight: 700; color: #4F585E; }
.pv-stat-v { font-size: 26px; line-height: 32px; font-weight: 800; color: #0A534F; font-variant-numeric: tabular-nums; }
.pv-stat.txt .pv-stat-v { font-size: 19px; line-height: 26px; }
.pv-stat-v .pv-lbl { margin-bottom: 0; }
.pv-split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: #EEF1F4; }
.pv-split-m { background: #10847E; } .pv-split-f { background: #F47779; }
.pv-stat-mf { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: #6B747E; margin-top: auto; }
.pv-stat-mf b { color: #30363C; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-stat-mf .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.pv-stat-mf .dot.m { background: #10847E; } .pv-stat-mf .dot.f { background: #F47779; }

@media (max-width: 720px) {
  .pv-cards.pv-grid, .pv-cards.pv-row, .pv-sits, .pv-facts { grid-template-columns: 1fr; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-card { padding: 14px 15px; }
  .pv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pv-stat { padding: 13px 14px; }
  .pv-stat-v { font-size: 21px; line-height: 28px; }
  .pv-stat.txt .pv-stat-v { font-size: 16px; line-height: 22px; }
}
@container art (max-width: 640px) {
  .pv-cards.pv-grid, .pv-cards.pv-row, .pv-sits, .pv-facts { grid-template-columns: 1fr; }
  .pv-body { grid-template-columns: 1fr; }
}

/* ============================================================
   Links (19 Nov 2026): every content link is underlined; links in running text are a touch
   bolder. Headings/titles that are links keep their own weight. Not underlined: buttons, brand
   chips, the "On this page" menu, breadcrumbs and the [n] citation markers.
   ============================================================ */
main a:not(.cx-btn-primary):not(.cx-btn-ghost):not(.brand):not(.dc-toc-link):not(.dc-toc-chip):not(.skip) {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
main a:not(.cx-btn-primary):not(.cx-btn-ghost):not(.brand):not(.dc-toc-link):not(.dc-toc-chip):not(.skip):hover { text-decoration-color: currentColor; }
/* citation markers, breadcrumbs and inline-styled buttons (the rail's "Consult a doctor") stay plain */
main sup.cite a, main .glp-crumb a, main a[style*="background"] { text-decoration-line: none !important; }
:where(main) :where(p, li, td:not(.k), .refs span, .byline span, .srcs, .src, .pv-more-v) > a:not(.brand):not(.cx-btn-primary):not(.cx-btn-ghost) { font-weight: 600; }
:where(main) :where(.glp-crumb li) > a { font-weight: inherit; }

/* Two CTAs stacked one above the other beside a note, so the note text keeps more width */
.cx-btn-stack { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.cx-btn-stack a { text-align: center; }
@container art (max-width: 640px) { .cx-btn-stack { flex: 1 1 100%; } }

/* A to Z: the row for the page you are on is plain text (no self link) */
.ctz-item.is-current .ctz-type { color: #00736C; cursor: default; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ctz-item.is-current .ctz-type::after { content: "You are here"; white-space: nowrap; font-size: 11px; font-weight: 700; color: #5C636D; background: #EAF5F4; border-radius: 999px; padding: 2px 8px; vertical-align: 1px; }
/* pill-shaped links (quick-link chips, guide chips, source chips) are already marked as links: no underline */
main .ex-subs a, main .ctz-subs a, main .srcs a { text-decoration-line: none !important; }

/* "+N more" brand card: last row links the molecule page */
.mm-list .mm-all { grid-column: 1 / -1; }
.mm-list .mm-all a { background: #fff; border-style: dashed; text-align: center; }

/* card fields: a field much longer than the others spans the full width under them (present.py balance) */
.pv-body .pv-f.pv-wide { grid-column: 1 / -1; padding-top: 12px; border-top: 1px dashed #E6E9ED; }
.pv-body.pv-top-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-body.pv-top-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .pv-body.pv-top-2, .pv-body.pv-top-3 { grid-template-columns: 1fr; } }
@container art (max-width: 640px) { .pv-body.pv-top-2, .pv-body.pv-top-3 { grid-template-columns: 1fr; } }
.pv-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 18px; margin-top: 2px; }
.pv-lines > span { position: relative; padding-left: 12px; }
.pv-lines > span::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: #9DCFCB; }

/* medicines table (inner pages): desktop column header, aligned with group label | molecule | brands */
.med-head { display: grid; grid-template-columns: 216px 164px 1fr; margin: -6px -20px 0; padding: 12px 20px; background: #F2F9F8; border-bottom: 1px solid #E6E9ED; border-radius: 12px 12px 0 0; font-size: 11px; line-height: 16px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #00736C; }
.med-table .mol-row { grid-template-columns: 150px 1fr; }
@container art (max-width: 640px) { .med-head { display: none; } }

/* drug tables on phones (homepage and inner pages): molecule on the left, its brands on the right, under a
   "Molecule | Brands on PharmEasy" key aligned to the same two columns. A group with no brands keeps the
   single "Molecules on PharmEasy" pill. */
@container art (max-width: 640px) {
  .dg-item .mol-row, .med-table .mol-row, .mol-key { grid-template-columns: 128px minmax(0, 1fr) !important; column-gap: 12px !important; }
  .dg-item .mol-row, .med-table .mol-row { row-gap: 4px !important; align-items: baseline; }
  .mol-key { display: grid !important; align-items: center; }
  .mol-key .k-mol, .mol-key .k-brand { display: inline-block !important; }
  .mol-key .k-all { display: none !important; }
  .mol-key.only { display: flex !important; }
  .mol-key.only .k-mol { display: none !important; }
  .mol-key.only .k-all { display: inline-block !important; }
}
.mol-key span { white-space: nowrap; }
@container art (max-width: 360px) { .mol-key span { font-size: 10px; letter-spacing: 0.02em; padding: 2px 8px; } }
@container art (max-width: 300px) { .dg-item .mol-row, .med-table .mol-row, .mol-key { grid-template-columns: 104px minmax(0, 1fr) !important; } }

/* chemotherapy "The medicines used": one accordion per medicine group, same field order in every group */
.pv-accs { gap: 10px; }
.pv-acc { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; box-shadow: 0 1px 3px rgba(15,46,44,0.05); overflow: hidden; }
.pv-acc[open] { border-color: #B8DEDB; }
.pv-acc > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; }
.pv-acc > summary::-webkit-details-marker { display: none; }
.pv-acc > summary:hover { background: #F7FBFB; }
.pv-acc-h { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pv-acc .pv-title { font-size: 15.5px; line-height: 22px; }
.pv-acc-sub { font-size: 13px; line-height: 19px; color: #6B747E; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-acc[open] .pv-acc-sub { display: none; }
.pv-acc-chev { flex: none; color: #6B747E; display: flex; transition: transform 160ms ease-out; }
.pv-acc[open] .pv-acc-chev { transform: rotate(180deg); color: #00736C; }
.pv-acc-body { padding: 4px 18px 16px; display: grid; gap: 12px; border-top: 1px solid #F0F2F4; padding-top: 14px; }
.pv-acc-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
.pv-acc .pv-f.pv-wide { padding-top: 12px; border-top: 1px dashed #E6E9ED; }
@container art (max-width: 520px) { .pv-acc > summary { padding: 13px 14px; } .pv-acc-body { padding: 12px 14px 14px; } .pv-acc-top { grid-template-columns: 1fr; } }

/* chemotherapy "How it works": medicine types as icon cards, closing paragraph as a note */
.mech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 0 0 18px; }
.mech { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(15,46,44,0.05); }
.mech-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #EAF5F4; color: #00736C; display: flex; align-items: center; justify-content: center; }
.mech-t { font-size: 15px; line-height: 21px; font-weight: 800; color: #1C1F22; margin: 0 0 4px; }
.mech p { margin: 0; font-size: 14px; line-height: 22px; color: #5C636D; }
.mech-note { display: flex; gap: 12px; align-items: flex-start; background: #F2F9F8; border: 1px solid #B8DEDB; border-left: 4px solid #008880; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.mech-note-ic { flex: none; color: #00736C; display: flex; padding-top: 2px; }
.mech-note p { margin: 0; font-size: 15px; line-height: 25px; color: #30363C; }
@container art (max-width: 520px) { .mech-grid { grid-template-columns: 1fr; gap: 10px; } .mech { padding: 12px 14px; } .mech-ic { width: 36px; height: 36px; } }
/* five medicine types: three across, then two wider ones, so the grid has no empty slot */
.mech-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mech-grid > .mech { grid-column: span 2; }
.mech-grid > .mech:nth-child(4):nth-last-child(2), .mech-grid > .mech:nth-child(5):last-child { grid-column: span 3; }
@container art (max-width: 700px) {
  .mech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mech-grid > .mech, .mech-grid > .mech:nth-child(4):nth-last-child(2) { grid-column: span 1; }
  .mech-grid > .mech:nth-child(5):last-child { grid-column: 1 / -1; }
}
@container art (max-width: 520px) { .mech-grid { grid-template-columns: 1fr; } .mech-grid > .mech:nth-child(5):last-child { grid-column: auto; } }

/* chemotherapy "How it is given": route cards (two across, an odd last one full width) + session timeline */
.mech-grid.routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mech-grid.routes > .mech, .mech-grid.routes > .mech:nth-child(4):nth-last-child(2), .mech-grid.routes > .mech:nth-child(5):last-child { grid-column: span 1; }
.mech-grid.routes > .mech:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tl-box { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; box-shadow: 0 1px 3px rgba(15,46,44,0.05); }
.tl-t { font-size: 15.5px; line-height: 22px; font-weight: 800; color: #1C1F22; margin: 0 0 12px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 0 0 14px; }
.tl li:last-child { padding-bottom: 0; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: #D3E8E6; }
.tl-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #008880; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.tl p { margin: 3px 0 0; font-size: 14.5px; line-height: 23px; color: #30363C; }
@container art (max-width: 520px) { .mech-grid.routes { grid-template-columns: 1fr; } .mech-grid.routes > .mech:last-child:nth-child(odd) { grid-column: auto; } .tl-box { padding: 14px; } }
/* route cards: two flowing columns (no row gaps when card heights differ) */
.mech-grid.routes { display: block; columns: 2; column-gap: 12px; }
.mech-grid.routes > .mech { break-inside: avoid; margin: 0 0 12px; }
@container art (max-width: 520px) { .mech-grid.routes { columns: 1; } .mech-grid.routes > .mech { margin-bottom: 10px; } }

/* chemotherapy: course cycle, medicine examples, notes, recent changes, questions checklist */
.cyc { margin: 0 0 16px; }
.cyc-bar { display: grid; grid-template-columns: 2fr 1fr; border-radius: 10px; overflow: hidden; font-size: 13px; line-height: 18px; font-weight: 700; }
.cyc-on { background: #008880; color: #fff; padding: 10px 12px; }
.cyc-off { background: #EAF5F4; color: #00736C; padding: 10px 12px; border: 1px dashed #9DCFCB; border-left: 0; border-radius: 0 10px 10px 0; }
.cyc-loop { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #5C636D; font-weight: 600; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.duo .mech p, .news-grid .mech p { font-size: 14.5px; line-height: 23px; color: #30363C; }
.medex-grid { columns: 2; column-gap: 12px; margin: 0 0 18px; }
.medex { break-inside: avoid; margin: 0 0 12px; background: #fff; border: 1px solid #E6E9ED; border-left: 3px solid #008880; border-radius: 10px; padding: 12px 14px; }
.medex-t { font-size: 15px; line-height: 21px; font-weight: 800; margin: 0 0 4px; }
.medex p { margin: 0; font-size: 14px; line-height: 22px; color: #5C636D; }
.note-warn, .note-info { margin: 0 0 12px; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 23px; }
.note-warn { background: #FFF4F2; border: 1px solid #F6C9C1; color: #7A2617; }
.note-warn strong { color: #A3321F; }
.note-info { background: #F5F7F8; border: 1px solid #E6E9ED; color: #4A525B; font-size: 14px; line-height: 22px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 18px; }
.qlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qlist li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #E6E9ED; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 22px; color: #30363C; }
.q-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #EAF5F4; color: #00736C; font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@container art (max-width: 560px) { .duo, .qlist { grid-template-columns: 1fr; } .medex-grid { columns: 1; } .cyc-bar { font-size: 12px; } }

/* treatment page components */
.mech-grid.goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mech-grid.goals > .mech, .mech-grid.relief > .mech { grid-column: auto !important; }
.mech-grid.relief { grid-template-columns: 1fr; gap: 10px; }
.mech-grid.relief .mech p, .mech-grid.relief .mech { font-size: 14px; }
.note-key { background: #F2F9F8; border: 1px solid #B8DEDB; border-left: 4px solid #008880; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: 15px; line-height: 25px; color: #30363C; }
.statp { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; }
.statp-n { flex: none; min-width: 84px; padding: 10px 12px; border-radius: 12px; background: #EAF5F4; color: #00736C; font-size: 26px; line-height: 30px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.statp p { margin: 0; font-size: 16px; line-height: 27px; color: #5C636D; }
.cmp { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 220px) 1fr auto; gap: 12px; align-items: center; font-size: 13px; line-height: 18px; color: #4A525B; }
.cmp-row b { font-variant-numeric: tabular-nums; color: #1C1F22; white-space: nowrap; }
.cmp-bar { height: 12px; background: #F0F2F4; border-radius: 999px; overflow: hidden; }
.cmp-bar i { display: block; height: 100%; background: #008880; border-radius: 999px; }
.cmp-bar.alt i { background: #9DCFCB; }
.cmp-cap { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #6B747E; }
.panel-urgent, .panel-soon { border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.panel-urgent { background: #FFF4F2; border: 1px solid #F6C9C1; border-left: 4px solid #D9472B; }
.panel-soon { background: #FFF9EC; border: 1px solid #F3DDA8; border-left: 4px solid #D99A1E; }
.panel-t { margin: 0 0 8px; font-weight: 800; font-size: 15px; line-height: 22px; color: #1C1F22; }
.panel-urgent ul, .panel-soon ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 14.5px; line-height: 22px; color: #30363C; }
@container art (max-width: 640px) { .mech-grid.goals, .mech-grid.relief { grid-template-columns: 1fr; } .panel-urgent ul, .panel-soon ul { grid-template-columns: 1fr; } .cmp-row { grid-template-columns: 1fr auto; } .cmp-row .cmp-l { grid-column: 1 / -1; } }
@container art (max-width: 520px) { .statp { gap: 12px; } .statp-n { min-width: 68px; font-size: 21px; line-height: 26px; padding: 8px 10px; } .statp p { font-size: 15px; line-height: 25px; } }

/* nutrition page components */
.mech-grid.tips3, .mech-grid.myths { grid-template-columns: 1fr; gap: 10px; }
.mech-grid.tips3 > .mech, .mech-grid.myths > .mech { grid-column: auto !important; }
.mech .pg-list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 22px; color: #5C636D; }
.mech .pg-list li { margin: 0 0 2px; }
.mech.myth .mech-ic { background: #FFF1EE; color: #C0462B; }
.mech-grid.myths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.checks { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
ul.checks > li { position: relative; padding-left: 28px; margin: 0; }
ul.checks > li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #EAF5F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23008880' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
h3.panel-t { scroll-margin-top: 20px; }
@container art (max-width: 640px) { ul.checks, .mech-grid.myths { grid-template-columns: 1fr; } }
.mech-grid.myths { display: block; columns: 2; column-gap: 12px; }
.mech-grid.myths > .mech { break-inside: avoid; margin: 0 0 12px; }
@container art (max-width: 640px) { .mech-grid.myths { columns: 1; } }
ul.checks > li { display: block !important; }
ul.checks { display: block; columns: 2; column-gap: 24px; }
ul.checks > li { break-inside: avoid; margin: 0 0 8px; }
@container art (max-width: 640px) { ul.checks { columns: 1; } }

/* prevention page components */
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.stat3 > div { background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat3 b { font-size: 26px; line-height: 32px; font-weight: 800; color: #00736C; font-variant-numeric: tabular-nums; }
.stat3 span { font-size: 13px; line-height: 18px; color: #5C636D; }
.mech-grid.infx { display: block; columns: 2; column-gap: 12px; }
.mech-grid.infx > .mech { break-inside: avoid; margin: 0 0 12px; }
.mech-grid.infx .mech p { font-size: 14.5px; line-height: 23px; color: #30363C; }
.tl.prio { margin: 0 0 18px; }
.tl.prio p { font-size: 15px; line-height: 25px; color: #30363C; margin-top: 2px; }
@container art (max-width: 640px) { .mech-grid.infx { columns: 1; } }
@container art (max-width: 420px) { .stat3 { grid-template-columns: 1fr 1fr; } .stat3 > div:first-child { grid-column: 1 / -1; } }

/* prevention risk factors: one comparison row per factor */
.pv-risks { gap: 10px; }
.rk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px 22px; background: #fff; border: 1px solid #E6E9ED; border-left: 4px solid #9DCFCB; border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(15,46,44,0.05); }
.rk-good { border-left-color: #008880; }
.rk-mid { border-left-color: #D99A1E; }
.rk-bad, .rk-muted { border-left-color: #B9C0C8; }
.rk-l { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rk-t { font-size: 15.5px; line-height: 23px; font-weight: 800; color: #1C1F22; }
.rk-m { display: grid; gap: 10px; align-content: start; }
.rk-m .pv-f > div { font-size: 14px; line-height: 22px; color: #4A525B; }
.rk-do { background: #F2F9F8; border-radius: 10px; padding: 10px 12px; align-self: start; font-size: 14px; line-height: 22px; color: #30363C; }
.rk-do .pv-note-l { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #00736C; margin-bottom: 4px; }
@container art (max-width: 720px) { .rk { grid-template-columns: 1fr; gap: 10px; padding: 14px; } }
.mech-grid.infx .mech p + p { margin-top: 10px; }

/* HPV page components */
.hpvt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.hpvt > :is(div, li) { border-radius: 12px; padding: 14px 16px; }
.hpvt p { margin: 0; font-size: 15px; line-height: 24px; color: #30363C; }
.hpvt-lo { background: #F2F9F8; border: 1px solid #B8DEDB; border-top: 4px solid #008880; }
.hpvt-hi { background: #FFF4F2; border: 1px solid #F6C9C1; border-top: 4px solid #D9472B; }
ul.sched { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
ul.sched li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #E6E9ED; border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 23px; color: #30363C; }
ul.sched .mech-ic { width: 34px; height: 34px; }
b.dose { font-weight: 700; color: #00736C; background: #EAF5F4; border-radius: 999px; padding: 1px 8px; white-space: normal; }
@container art (max-width: 640px) { .hpvt { grid-template-columns: 1fr; } .stat3 { grid-template-columns: 1fr; } }

/* card titles are real headings now (present.py semantic): keep their card look, drop default heading margins */
:is(h3, h4):is(.mech-t, .medex-t, .pv-title, .rk-t, .panel-t, .tl-t) { margin-top: 0; }
:is(h3, h4):is(.pv-title, .rk-t) { margin-bottom: 0; }
/* card sets are real lists now */
ul:is(.mech-grid, .medex-grid, .pv, .hpvt) { list-style: none; padding-left: 0; margin-top: 0; }
/* accordion row: number | name over molecule preview | chevron */
.pv-acc > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; }
.pv-acc > summary > .pv-n { grid-row: 1 / span 2; align-self: center; }
.pv-acc > summary > .pv-title { grid-column: 2; grid-row: 1; margin: 0; }
.pv-acc > summary > .pv-acc-sub { grid-column: 2; grid-row: 2; }
.pv-acc > summary > .pv-acc-chev { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.pv-acc[open] > summary > .pv-title { grid-row: 1 / span 2; align-self: center; }
:is(h3, h4).med-label { margin: 0; } :is(h3, h4).dg-name { margin: 0 0 6px; }
.pv-kicker { display: block; margin: 0 0 2px; }
/* notes straight under the title start there (no gap); with fields above them they still align to the card bottom */
.pv-head + .pv-notes { margin-top: 0; }

/* symptoms page components */
.mech-grid.mimic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mech-grid.mimic > .mech, .mech-grid.redflags > .mech, .mech-grid.groups > .mech { grid-column: auto !important; }
.mech-grid.mimic .mech, .mech-grid.redflags .mech { align-items: center; padding: 12px 14px; }
.mech-grid.mimic .mech p, .mech-grid.redflags .mech p { font-size: 14.5px; line-height: 22px; color: #30363C; }
.mech-grid.redflags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mech-grid.redflags .mech { background: #FFF8F6; border-color: #F6D5CD; }
.mech-grid.redflags .mech-ic { background: #FFE9E3; color: #C0462B; }
.mech-grid.groups { grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
.mech-grid.groups .mech > div { min-width: 0; flex: 1; }
.mech-grid.groups ul.checks { margin: 8px 0 0; font-size: 14px; line-height: 22px; }
@container art (max-width: 640px) { .mech-grid.mimic, .mech-grid.redflags { grid-template-columns: 1fr; } }
.mech-grid.groups ul.checks { padding-left: 0; }
.mech-grid.mimic .mech { border-left: 3px solid #9DCFCB; }

/* symptoms: warning-symptom accordion (icon | symptom | chevron) */
.pv-acc.sym > summary > .mech-ic { grid-row: 1 / span 2; align-self: center; width: 38px; height: 38px; }
.pv-acc.sym > summary > .pv-title { grid-row: 1 / span 2; align-self: center; font-size: 15.5px; line-height: 22px; }
.pv-acc.sym .pv-acc-body { display: block; }
.pv-acc.sym .pv-acc-body p { margin: 0; font-size: 15px; line-height: 25px; color: #4A525B; }

/* tests page: table accordions (number | label over name | chevron), report parts, when-to-see panels */
.pv-acc.tacc > summary > .pv-kicker { grid-column: 2; grid-row: 1; margin: 0; }
.pv-acc.tacc > summary > .pv-title, .pv-acc.tacc[open] > summary > .pv-title { grid-column: 2; grid-row: 2; align-self: start; }
.pv-acc.tacc .pv-acc-body { display: grid; gap: 12px; }
.pv-acc.tacc .pv-f > div { font-size: 14px; line-height: 22px; color: #4A525B; }
.medex-grid.rpt .medex { border-left-color: #9DCFCB; }
.note-panel { background: #F5F7F8; border: 1px solid #E6E9ED; border-left: 4px solid #8E97A3; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
:is(.panel-urgent, .panel-soon, .note-panel) > p:not(.panel-t) { margin: 0; font-size: 14.5px; line-height: 23px; color: #30363C; }
.pv-acc.sym .pv-acc-body p + p { margin-top: 10px; }

/* cervical cancer page components */
.panel-soon ul.cols2 { display: block; columns: 2; column-gap: 24px; }
.panel-soon ul.cols2 li { break-inside: avoid; margin: 0 0 6px; }
.medex-grid.stages { columns: 1; display: grid; gap: 10px; }
.medex-grid.stages .medex { display: flex; gap: 14px; align-items: flex-start; margin: 0; border-left-width: 4px; }
.stg-b { flex: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.stg-1 { border-left-color: #9DCFCB; } .stg-1 .stg-b { background: #EAF5F4; color: #00736C; }
.stg-2 { border-left-color: #D9B44A; } .stg-2 .stg-b { background: #FFF6DB; color: #8A6A00; }
.stg-3 { border-left-color: #E08A3C; } .stg-3 .stg-b { background: #FFEBD9; color: #A3530F; }
.stg-4 { border-left-color: #D9472B; } .stg-4 .stg-b { background: #FFE6E0; color: #A3321F; }
.mech-grid.prev2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.mech-grid.prev2 > .mech { grid-column: auto !important; }
.mech.prev-card p { font-size: 14.5px; line-height: 24px; color: #30363C; }
.panel-soon > p { margin: 0; font-size: 14.5px; line-height: 23px; color: #30363C; }
@container art (max-width: 640px) { .panel-soon ul.cols2 { columns: 1; } .mech-grid.prev2 { grid-template-columns: 1fr; } }
/* text after an accordion list keeps the normal gap */
ul.pv-accs, div.pv-accs { margin-bottom: 18px; }
.pv-acc.tacc.nokick > summary > .pv-title, .pv-acc.tacc.nokick[open] > summary > .pv-title { grid-row: 1 / span 2; align-self: center; }

/* ---- accessibility pass (20 Nov): contrast + mobile tap targets ---- */
.pv-badge.good, .verified { color: #0E6B4B !important; }
.pv-pill-l, .pv-badge-l { color: #4A525B !important; }
.pv-note.warn .pv-note-l { color: #7A4E00 !important; }
/* brand / molecule chips: comfortable tap size on phones */
@container art (max-width: 640px) {
  .brands .brand, .brands .brand.more, .mol-more-row .brand { min-height: 30px; display: inline-flex; align-items: center; padding: 3px 11px; }
  .brands { gap: 6px; }
}
.pv-foot { color: #5C636D !important; }
@container art (max-width: 640px) { .mol-name a { display: inline-block; padding: 5px 0; } }
