  body { background: var(--pe-bg); }

  /* header (teal, white logo + PharmEasy global nav, ported from Mosquito Watch) */
  .fw-nav { position: sticky; top: 0; z-index: 30; background: var(--pe-green); }
  .navin { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; position: relative; }
  .pe-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
  .navin img.pe-mark { height: 22px; width: auto; display: block; }
  .pe-rule { width: 1px; height: 18px; background: rgba(255,255,255,.45); flex-shrink: 0; }
  .fw-word { color: #fff; font-family: var(--font); font-size: 16.5px; font-weight: 600; letter-spacing: .2px; line-height: 1; white-space: nowrap; }
  /* PharmEasy top navigation (dropdowns + mobile hamburger) */
  .pe-topnav { display: flex; align-items: center; gap: 4px; }
  .pe-nav-item { position: relative; }
  .pe-nav-btn, .pe-nav-link { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; color: #fff; font-family: var(--font); font-size: 13.5px; font-weight: 600; opacity: .95; cursor: pointer; padding: 8px 10px; border-radius: 7px; text-decoration: none; white-space: nowrap; }
  .pe-nav-btn:hover, .pe-nav-link:hover, .pe-nav-item.open .pe-nav-btn { opacity: 1; background: rgba(255,255,255,.14); }
  .pe-caret { font-size: 9px; transition: transform .15s; }
  .pe-nav-item.open .pe-caret { transform: rotate(180deg); }
  .pe-nav-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--pe-line); border-radius: 10px; box-shadow: 0 10px 28px rgba(16,24,40,.18); padding: 6px; display: none; z-index: 1300; }
  .pe-nav-item:last-child .pe-nav-drop { left: auto; right: 0; }
  .pe-nav-item.open .pe-nav-drop { display: block; }
  .pe-nav-drop a { display: block; padding: 9px 12px; color: var(--pe-ink); font-size: 13.5px; font-weight: 500; text-decoration: none; border-radius: 7px; white-space: nowrap; }
  .pe-nav-drop a:hover { background: var(--pe-green-100); color: var(--pe-green-dark); }
  .pe-burger { display: none; background: none; border: 0; color: #fff; font-size: 21px; line-height: 1; cursor: pointer; padding: 4px 9px; border-radius: 7px; }
  .pe-burger:hover { background: rgba(255,255,255,.14); }
  @media (max-width: 820px) {
    .pe-burger { display: block; }
    .pe-topnav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--pe-green-dark); padding: 8px; box-shadow: 0 10px 22px rgba(0,0,0,.22); z-index: 1300; }
    .pe-topnav.open { display: flex; }
    .pe-nav-item { position: static; }
    .pe-nav-btn, .pe-nav-link { width: 100%; justify-content: space-between; font-size: 15px; padding: 12px; }
    .pe-nav-drop { position: static; display: none; min-width: 0; background: rgba(255,255,255,.06); border: 0; box-shadow: none; border-radius: 8px; margin: 2px 0 4px; padding: 4px 4px 4px 10px; }
    .pe-nav-item.open .pe-nav-drop { display: block; }
    .pe-nav-drop a { color: #eafffb; }
    .pe-nav-drop a:hover { background: rgba(255,255,255,.12); color: #fff; }
  }

  /* search hero (mobile vertical-fade gradient, ported from the redesign) */
  .srch { background: linear-gradient(180deg, #0A534F 0%, #0A534F 6%, #246965 38%, #307471 51%, #559190 76%, #89B8B9 100%); border-bottom: 1px solid var(--pe-line); }
  .srchin { max-width: 760px; margin: 0 auto; padding: 38px 24px 34px; text-align: center; }
  .srch h1 { font-size: 30px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.3px; color: #fff; }
  .srch h1 em { font-style: normal; color: var(--pe-gold); }
  .srch .subtitle { font-size: 14.5px; color: #d8efed; margin: 0 auto 22px; max-width: 600px; line-height: 1.55; }
  /* Updated/date note below the location pill (mirrors mobile loc-note copy). */
  .srch .loc-note { font-size: 12.5px; color: #cfe6e4; margin: 12px 0 0; text-align: center; }
  .reviewline { text-align: center; font-size: 12.5px; color: var(--pe-muted); margin: 8px 0 0; line-height: 1.5; }
  .reviewline .revico { color: var(--pe-green); vertical-align: -2px; margin-right: 2px; }
  .reviewline a { color: var(--pe-green); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
  .srch .reviewline { color: #cfe6e4; }
  .srch .reviewline .revico { color: #cfe6e4; }
  .srch .reviewline a { color: #fff; }
  /* Centered location pill (the mobile .loccard, reused as the city picker trigger). .locwrap anchors the
     .combopanel dropdown directly under the pill. */
  .locwrap { position: relative; max-width: 420px; margin: 0 auto; }
  .srch .loccard { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--pe-line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; text-align: left; cursor: pointer; }
  .srch .locpin { width: 19px; height: 19px; flex-shrink: 0; display: block; }
  .srch .locname { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; color: var(--pe-ink); line-height: 1.2; }
  .srch .locchange { font-size: 14px; color: var(--pe-green); font-weight: 700; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; }
  .srch .loccaret { font-size: 10px; line-height: 1; }
  .combopanel { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); z-index: 20; overflow: hidden; text-align: left; }
  .combopanel.open { display: block; }
  .combopanel input { width: 100%; border: none; border-bottom: 1px solid var(--pe-bg-2); padding: 14px 16px; font-size: 14px; }
  /* the panel clips with overflow:hidden, so the input's default focus outline shows only partially;
     replace it with a clean on-brand underline that cannot be clipped */
  .combopanel input:focus { outline: none; border-bottom-color: var(--pe-green); }
  .comboloc { padding: 12px 16px; color: var(--pe-green); font-weight: 600; font-size: 13.5px; cursor: pointer; border-bottom: 1px solid var(--pe-bg-2); }
  .comboloc:hover { background: var(--pe-bg); }
  .combolist { max-height: 300px; overflow-y: auto; }
  .cityopt { width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--pe-bg-2); padding: 12px 16px; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
  .cityopt:hover { background: var(--pe-bg); }
  .cityopt small { color: var(--pe-muted); font-size: 12px; }
  .cityopt .sb { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }

  /* shell: 3-col first fold (Quick Links sidebar | s-week score card | s-why breakdown card); the
     below-fold JS-only sections live in .main, which spans the two content columns on row 2. */
  .shell { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 180px minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 30px; padding: 28px 24px 36px; align-items: start; }
  .toc { position: sticky; top: 84px; grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .toc h2 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pe-muted); margin: 0 0 10px; padding: 0 12px; }
  .toc a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--pe-ink-2); font-size: 13.5px; font-weight: 500; margin-bottom: 3px; border-left: 2px solid transparent; cursor: pointer; text-decoration: none; }
  .toc a.cur, .toc a:hover { background: #fff; color: var(--pe-green); border-left-color: var(--pe-green); font-weight: 600; }
  /* First-fold row: equal-height cards (score card #s-week narrower, breakdown #s-why wider). The dial card
     is a flex column whose footer is pinned to the bottom (full-width Share), so the height it gains to match
     the taller breakdown reads as "summary up top, action at the bottom" - not a dead void. */
  #s-week { grid-column: 2; grid-row: 1; align-self: stretch; }
  #s-why { grid-column: 3; grid-row: 1; align-self: stretch; }
  #s-week > .card, #s-why > .card { height: 100%; box-sizing: border-box; }
  /* Big centered dial + legend stacked below fills the dial card's (equal) height naturally, so it flows
     top-to-bottom with the band chip + note + Share snug at the bottom (no airy gaps needed). */
  .riskcard { display: flex; flex-direction: column; }
  .main { grid-column: 2 / 4; grid-row: 2; min-width: 0; }
  /* Consistent 30px gaps: the .shell grid gap (30px) spaces the first-fold row from .main; below-fold
     sections carry a 30px bottom margin. The margin is NOT on the grid cards, or it would stack with the gap. */
  section[id^="s-"] { scroll-margin-top: 78px; }
  .main > section { margin-bottom: 30px; }
  /* s-why is the WIDER right column of the first fold: a HORIZONTAL 3-column row of light-gray sub-cards
     (matches the reference snap). The wider column lets the signal type sit at a comfortable size. */
  #s-why .acc.open .accbody { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 4px 16px 18px; }
  #s-why .acc.open .accbody .sig { min-width: 0; background: var(--pe-bg); border: 1px solid var(--pe-line); border-radius: 12px; padding: 5px 12px 6px; margin: 14px 0 0; }
  #s-why .sig .row { gap: 6px; }
  #s-why .sig .lbl { font-size: 12px; line-height: 1.3; }
  #s-why .sig .v { font-size: 12.5px; }
  #s-why .sig .v i { font-size: 11px; }
  #s-why .sig .tag { font-size: 11px; line-height: 1.4; }
  #s-why .sigbadge { width: 20px; height: 20px; }
  #s-why .sigbadge svg { width: 12px; height: 12px; }
  /* Equal-height pair: the DIAL (#s-week) is sized DOWN (smaller ring/fonts/margins below) so its natural
     height stays just under the breakdown card, making #s-why the taller one. So #s-why sits at its own
     content height while the DIAL stretches to match - and the dial absorbs that stretch GRACEFULLY via
     .rtop's flex:1 + justify-center (the ring re-centres), instead of leaving the empty void the breakdown
     tiles would. Keep the dial's natural height <= #s-why. Pure CSS; markup/parity untouched. */
  #s-why > .card { display: flex; flex-direction: column; }
  #s-why .acc.open { flex: 1 1 auto; display: flex; flex-direction: column; }
  #s-why .acc.open .accbody { flex: 1 1 auto; grid-template-rows: 1fr auto; }
  /* Top-align each tile's content so all three signal labels (incl. the short no-data Lab tile) line up;
     any stretch slack falls uniformly at the bottom. (Was justify-content:center, which dropped the Lab
     label below Weather/Search because its content is shorter.) */
  #s-why .acc.open .accbody .sig { display: flex; flex-direction: column; justify-content: flex-start; }
  /* Narrow desktop: collapse the 3-col shell to a single column (CSS-only; no DOM change). The 3-col
     signal row + compact sub-card styling above still apply (the rail is now full width, so it is roomy). */
  @media (max-width: 1100px) {
    .shell { display: block; }
    .toc { position: static; width: auto; margin-bottom: 24px; }
    #s-week > .card, #s-why > .card { height: auto; }
    #s-why .acc.open .accbody { gap: 22px; padding: 4px 18px 18px; }
  }
  /* The 8 desktop section headings normalize to a consistent 21px (item 4): .sechead already 21px;
     .sectiontitle (weather card, line below) + .fwtrend-title (trend card) are bumped to match. */
  .sechead { font-size: 21px; font-weight: 700; margin: 0 0 4px; }
  .fwtrend-title { font-size: 21px; }
  .secsub { font-size: 13.5px; color: var(--pe-muted); margin: 0 0 16px; }
  .fwtrend-months { font-size: 13px; padding-top: 3px; }   /* desktop: larger, slightly roomier month labels */
  .card { background: #fff; border: 1px solid var(--pe-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }

  /* section card sub-heads (ported from the redesign; desktop.css lacked these) */
  .sectiontitle { font-size: 21px; font-weight: 700; margin: 0; }
  .sectionsub { font-size: 13px; color: var(--pe-muted); margin: 4px 0 16px; }

  /* --- risk card: period tabs + proportional identity dial + identity legend + band chip --- */
  .riskcard .ftabs { display: flex; gap: 26px; border-bottom: 1px solid var(--pe-bg-2); margin: 0 0 18px; }
  .ftab { border: none; background: none; padding: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--pe-muted); cursor: pointer; white-space: nowrap; position: relative; }
  .ftab.on { color: var(--pe-ink); font-weight: 700; }
  .ftab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--pe-ink); border-radius: 2px; }
  /* Big centered dial with the legend stacked BELOW it, so the dial card fills its (equal) height
     naturally and the band chip + note + Share sit snug at the bottom. */
  .rtop { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; }
  /* The shared ring() markup inline-styles .ringwrap to 120px (size param, shared with mobile); override to
     188px on desktop only via !important so the wrapper actually contains the scaled dial (no legend overlap). */
  .ringwrap { position: relative; flex-shrink: 0; width: 150px !important; height: 150px !important; }
  .ringwrap svg { width: 150px; height: 150px; max-width: none; display: block; }
  .ringwrap .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .ringwrap .numtop { display: flex; align-items: baseline; gap: 3px; }
  .ringwrap .num b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.5px; color: var(--pe-ink); }
  .ringwrap .num span { font-size: 14px; color: var(--pe-muted-2); }
  .ringwrap .num em { font-size: 10px; font-style: normal; color: var(--pe-muted-2); line-height: 1.18; max-width: 72px; text-align: center; margin-top: 4px; }
  .leg { min-width: 0; width: 100%; max-width: 290px; display: flex; flex-direction: column; gap: 4px; }
  .legrow { display: flex; align-items: center; gap: 11px; padding: 4px 0; }
  .legdot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
  .legname { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; color: var(--pe-ink); }
  .legname b { font-weight: 800; font-size: 16px; }
  .legmax { font-size: 12px; font-weight: 600; color: var(--pe-muted-2); margin-left: 1px; }
  .legtrend { font-size: 11px; font-weight: 800; flex-shrink: 0; }
  .legtrend.up { color: var(--risk-high); }
  .legtrend.down { color: var(--risk-low); }
  .bandchip { display: block; font-size: 14px; font-weight: 700; padding: 12px 16px; border-radius: 12px; margin-top: 13px; line-height: 1.3; color: var(--pe-ink); border: 1.5px solid; }
  .knowmore { font: inherit; border: none; background: none; padding: 0; color: var(--pe-green); font-weight: 700; cursor: pointer; text-decoration: underline; }
  /* per-signal ⓘ in "Why this score?": ⓘ adopts the small info-button look */
  .sig .dialinfo-btn { width: 14px; height: 14px; font-size: 9.5px; vertical-align: baseline; }
  .rfoot { padding-top: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .rfoot .sharebtn { width: 100%; justify-content: center; }
  .rfoot .note { font-size: 11px; color: var(--pe-muted-2); line-height: 1.5; }
  .sharebtn { border: none; background: var(--pe-green); color: #fff; font-weight: 800; font-size: 13.5px; padding: 11px 18px; border-radius: 12px; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 18px rgba(16,132,126,.28); }

  /* dial: plain-language meaning line + "how this one number is set" tooltip */
  .dialmean { margin: 15px 0 0; font-size: 13.5px; color: var(--pe-ink-2); line-height: 1.5; }
  .bandchip { position: relative; }   /* anchors .dialtip to the full chip width so it never overflows */
  .dialinfo { display: inline-flex; vertical-align: middle; }
  .dialinfo-btn { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 1.4px solid currentColor; background: none; color: inherit; font: italic 700 11px/1 Georgia, "Times New Roman", serif; cursor: pointer; opacity: .7; display: inline-flex; align-items: center; justify-content: center; }
  .dialinfo-btn:hover, .dialinfo-btn:focus { opacity: 1; }
  .dialtip { position: fixed; left: 0; top: 0; width: min(320px, calc(100vw - 16px)); max-width: 320px; background: #1f2937; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; padding: 11px 13px; border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s, transform .16s; z-index: 90; pointer-events: none; }
  .dialinfo.open .dialtip { opacity: 1; visibility: visible; transform: translateY(0); }
  .dialtip .tiprow { display: block; }
  .dialtip b { font-weight: 800; color: #fff; }
  .tipbands { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.16); }
  .tb { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: #e5e7eb; }
  .tb i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
  .tipcaret { position: absolute; top: 100%; left: 50%; width: 0; height: 0; border: 7px solid transparent; border-top-color: #1f2937; transform: translateX(-50%); pointer-events: none; }
  .dialtip.below .tipcaret { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #1f2937; }

  /* --- weather conditions cards (3-col row for the wide main column) --- */
  .wxgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
  .wxcard { border: 1px solid var(--pe-line); border-radius: 14px; padding: 16px; background: #fff; }
  .wxtop { display: flex; align-items: flex-start; gap: 9px; }
  .wxic { width: 20px; height: 20px; color: var(--pe-muted); flex-shrink: 0; display: block; }
  .wxhead { font-size: 14.5px; color: var(--pe-ink); line-height: 1.35; }
  .wxhead b { font-weight: 800; }
  .wxsep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--pe-ink); vertical-align: middle; margin: 0 6px; }
  .wxsub { font-size: 12px; color: var(--pe-muted); line-height: 1.45; margin-top: 10px; }

  /* --- why this score: horizontal 3-signal breakdown accordions --- */
  .acc { border: 1px solid var(--pe-line); border-radius: var(--radius-sm); overflow: hidden; }
  .acc + .acc { margin-top: 10px; }
  .acchead { width: 100%; background: #fff; border: none; padding: 15px 18px; display: flex; align-items: center; gap: 13px; text-align: left; cursor: pointer; }
  .acchead .emoji { font-size: 18px; }
  .acchead .name { flex: 1; font-size: 15px; font-weight: 600; }
  .acchead .dot { width: 11px; height: 11px; border-radius: 50%; }
  .acchead .sc { font-size: 15px; font-weight: 700; min-width: 24px; text-align: right; }
  .acchead .chev { color: var(--pe-muted-2); font-size: 12px; transition: transform .2s; }
  .acc.open .acchead .chev { transform: rotate(180deg); }
  /* 3-signal row across the wide desktop column (mobile stacks; desktop is a 3-up grid) */
  .accbody { padding: 4px 18px 18px; background: var(--pe-bg); display: none; }
  .acc.open .accbody { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .acc.open .accbody .accnote { grid-column: 1 / -1; }
  .sig { margin: 14px 0 0; position: relative; }
  /* let the open accordion overflow so a per-signal popover is not clipped; re-round head/body corners */
  .acc.open { overflow: visible; }
  .acc.open .acchead { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .acc.open .accbody { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .sig .row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .sig .lbl { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--pe-ink); }
  .sig .v { font-size: 13.5px; font-weight: 800; color: var(--pe-ink); white-space: nowrap; }
  .sig .v i { font-style: normal; font-weight: 600; color: var(--pe-muted); }
  .sigbadge { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
  .sigbadge svg { width: 13px; height: 13px; display: block; }
  .sigbadge.up { background: var(--risk-high); }
  .sigbadge.down { background: var(--risk-low); }
  .sig .tag { font-size: 11.5px; color: var(--pe-muted); margin: 0 0 7px; }
  .track { height: 8px; background: #E7EDF5; border-radius: 5px; overflow: hidden; }
  .fill { height: 100%; border-radius: 5px; background: #BFC8D3; }
  .accnote { font-size: 12px; color: var(--pe-ink-2); line-height: 1.55; margin: 0px 0 0; padding-top: 12px; border-top: 1px dashed var(--pe-line); }

  /* actions (ported line-SVG cards: icon tile + text + chevron, in a 4-col row) */
  .actrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .actcard { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-sm); text-decoration: none; }
  .actcard .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--pe-green-100); flex-shrink: 0; }
  .actcard .ic svg { width: 24px; height: 24px; display: block; }
  .actcard .tx { flex: 1; min-width: 0; }
  .actcard .tx b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; color: var(--pe-green-dark); }
  .actcard .tx span { font-size: 11.5px; color: var(--pe-muted); line-height: 1.4; }
  .actcard .go { color: var(--pe-muted-2); font-size: 20px; }
  .ctabig { display: inline-block; text-decoration: none; border: none; color: #fff; font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: var(--radius-sm); margin-top: 14px; cursor: pointer; }

  /* methodology */
  .methhead { width: 100%; background: none; border: none; padding: 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
  .methtog { color: var(--pe-green); font-weight: 700; font-size: 13px; }
  .methbody { display: none; margin-top: 16px; }
  .methbody.open { display: block; }

  /* FAQ accordion styles are shared in tokens.css (.faq-list) */
  #s-faq .faq-list { max-width: 820px; }
  .methgrid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; font-size: 13px; color: var(--pe-ink-2); line-height: 1.65; }
  .methgrid h3 { font-size: 13.5px; margin: 16px 0 5px; color: var(--pe-ink); font-weight: 700; }
  .methgrid h3:first-child { margin-top: 0; }
  .methgrid code { background: var(--pe-bg-2); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
  .methgrid ul { padding-left: 18px; margin: 6px 0; }
  .methgrid li { margin: 4px 0; }
  .methgrid .side { background: var(--pe-bg); border-radius: var(--radius-sm); padding: 18px; align-self: start; }
  .cite { font-size: 12px; margin: 7px 0; padding-left: 14px; text-indent: -14px; }

  /* leaderboard */
  .lbtabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
  .lbtab { border: 1px solid var(--pe-line); background: #fff; border-radius: var(--pill); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--pe-ink-2); cursor: pointer; }
  .lbtab.on { background: var(--pe-green); border-color: var(--pe-green); color: #fff; }
  table.lbtable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
  .lbtable th { text-align: left; font-size: 12px; color: var(--pe-muted); font-weight: 600; padding: 13px 16px; border-bottom: 1px solid var(--pe-bg-2); }
  .lbtable td { padding: 12px 16px; border-bottom: 1px solid var(--pe-bg-2); font-size: 13.5px; }
  .lbtable tbody tr:hover td { background: var(--pe-bg); cursor: pointer; }
  .lbtable tr.you td { font-weight: 700; }
  /* Your-city row pinned at the bottom when it is off the current page (see leaderboardInner). */
  .lbtable tr.lb-pinned td { border-top: 2px solid var(--pe-green); background: #eef7f6; }
  .lbtable .rk { color: var(--pe-muted-2); font-weight: 700; width: 36px; }
  .lbtable .bar { width: 170px; }
  .lbtable .bar i { display: inline-block; height: 8px; border-radius: 5px; vertical-align: middle; }
  .lbtable .bd { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }
  .lbnote { font-size: 12px; color: var(--pe-muted); margin-top: 12px; }
  .lbsearch { width: 100%; max-width: 320px; padding: 10px 14px; border: 1px solid var(--pe-line); border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; display: block; }
  .lbpager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
  .pgbtn { border: 1px solid var(--pe-line); background: #fff; border-radius: var(--pill); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--pe-green); cursor: pointer; }
  .pgbtn:disabled { color: var(--pe-muted-2); opacity: .5; cursor: default; }
  .pginfo { font-size: 12.5px; color: var(--pe-muted); font-weight: 600; }

  /* Further reading (PharmEasy blog interlinks, ported from Mosquito Watch) */
  #s-reads .sechead { margin-bottom: 16px; }
  .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
  .related-col h3 { margin: 0 0 9px; font-size: 14px; color: var(--pe-ink); padding-left: 9px; border-left: 3px solid var(--pe-green); font-weight: 700; }
  .related-col ul { list-style: none; margin: 0; padding: 0; }
  .related-col li { margin: 0 0 9px; }
  .related-col a { font-size: 13.5px; color: var(--pe-green-dark); text-decoration: none; font-weight: 500; }
  .related-col a:hover { text-decoration: underline; }

  /* footer */
  .footer { background: #EBEFF6; border-top: 1px solid var(--pe-line); margin-top: 24px; }
  .footin { max-width: 1200px; margin: 0 auto; padding: 40px 24px 28px; display: grid; grid-template-columns: 1fr 1.15fr 1.25fr 0.85fr; gap: 28px; align-items: start; }
  .footcol { min-width: 0; }
  .footsec + .footsec { margin-top: 26px; }
  .footin h2 { font-size: 15px; font-weight: 800; color: var(--pe-ink); margin: 0 0 14px; }
  .footin a { display: block; font-size: 13.5px; color: var(--pe-ink-2); margin: 9px 0; }
  .footin a:hover { color: var(--pe-green); }
  .footfollow .footsocial { display: flex; align-items: center; gap: 18px; }
  .footfollow .footsocial a { color: var(--pe-ink); display: inline-flex; }
  .footfollow .footsocial a:hover { color: var(--pe-green); }
  .footbar { border-top: 1px solid var(--pe-line); }
  .footbarin { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: var(--pe-muted-2); }
  .footdisc { max-width: 820px; }

  /* share popover */
  .scrim { position: fixed; inset: 0; background: rgba(15,28,27,.5); z-index: 60; display: none; place-items: center; }
  .scrim.open { display: grid; }
  .pop { width: 360px; background: #fff; border-radius: var(--radius); overflow: hidden; max-height: calc(100vh - 48px); overflow-y: auto; }
  .pophead { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--pe-bg-2); }
  .pophead h3 { margin: 0; font-size: 16px; }
  .pophead .x { border: none; background: var(--pe-bg-2); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
  .popbody { padding: 18px; }
  .sharecard-img { display: block; width: auto; max-width: 100%; height: auto; max-height: 52vh; margin: 0 auto; border-radius: 16px; background: #0C3B37; }
  .sharetext { font-size: 12.5px; color: var(--pe-ink-2); line-height: 1.55; background: var(--pe-bg); border-radius: var(--radius-sm); padding: 13px; margin: 14px 0; }
  .sharebtns { display: flex; gap: 8px; margin-top: 14px; }
  .sharebtns button { flex: 1; border: none; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; }

  /* baked SEO fallback (crawler / no-JS; replaced on hydration) */
  .fw-fallback { max-width: 820px; margin: 0 auto; padding: 30px 24px 40px; }
  .fw-fallback h1 { font-size: 28px; font-weight: 700; line-height: 1.22; margin: 4px 0 12px; letter-spacing: -.3px; }
  .fw-fallback h2 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
  .fw-fallback p { font-size: 14px; color: var(--pe-ink-2); line-height: 1.65; margin: 9px 0; }
  .fw-fallback ul { padding-left: 20px; margin: 9px 0; }
  .fw-fallback li { font-size: 14px; color: var(--pe-ink-2); margin: 6px 0; line-height: 1.55; }
  .fw-fallback details { margin: 7px 0; border-top: 1px solid var(--pe-bg-2); padding-top: 7px; }
  .fw-fallback summary { font-weight: 600; font-size: 15px; cursor: pointer; padding: 6px 0; }

  /* leaderboard city link (SEO interlink) */
  .lbcity { color: inherit; text-decoration: none; }
  .lbcity:hover { color: var(--pe-green); text-decoration: underline; }

  /* live ticker strip under the header (share-surface handoff) */
  .fw-ticker { background: #10847e0f; border-bottom: 1px solid var(--pe-line); }
  .fw-ticker-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 9px 24px; }
  .fw-ticker-label { font-size: 12px; font-weight: 800; color: var(--pe-green-dark); text-transform: uppercase; letter-spacing: .06em; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; }
  .fw-ticker-label .livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--pe-green-bright); box-shadow: 0 0 0 3px rgba(21,172,165,.18); animation: fwLive 1.6s ease-in-out infinite; }
  .fw-ticker-vp { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .fw-ticker-track { display: inline-flex; animation: fwMarquee 32s linear infinite; will-change: transform; }
  .fw-ticker:hover .fw-ticker-track, .fw-ticker.held .fw-ticker-track { animation-play-state: paused; }
  .fw-tick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pe-ink-2); white-space: nowrap; padding-right: 30px; text-decoration: none; }
  .fw-tick:hover { color: var(--pe-green); }
  .fw-tick .tdot { width: 8px; height: 8px; border-radius: 50%; }
  .fw-tick b { font-weight: 800; }
  .fw-tick .tpill { font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 8px; }

  /* bottom-right floating share dock. Recolored to match the mobile floating share bar (.fw-foot):
     Porcelain Green dock, white text, white Share button with green text, ghost-on-green copy button. */
  .fw-dock { position: fixed; right: 28px; bottom: 28px; width: 268px; background: var(--pe-green); border: none; border-radius: 16px; box-shadow: 0 14px 38px rgba(10,83,79,.34); padding: 14px; z-index: 45; }
  .fw-dock-title { font-size: 14.5px; font-weight: 800; color: #fff; line-height: 1.25; }
  .fw-dock-sub { font-size: 12.5px; color: rgba(255,255,255,.82); margin: 4px 0 12px; }
  .fw-dock-actions { display: flex; gap: 8px; }
  .fw-dock-share { flex: 1; background: #fff; color: var(--pe-green); border: none; border-radius: 11px; padding: 11px 0; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.16); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
  .fw-dock-share:hover { background: #f1faf9; }
  .fw-dock-copy { position: relative; width: 44px; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.55); border-radius: 11px; cursor: pointer; font-size: 16px; color: #fff; }
  .fw-dock-copy:hover { border-color: #fff; background: rgba(255,255,255,.24); }
  .fw-dock-copy.done::after { content: "Copied"; position: absolute; bottom: calc(100% + 6px); right: 0; background: var(--pe-ink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }

  @keyframes fwMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes fwLive { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .fw-ticker-track { animation: none; } .fw-ticker-label .livedot { animation: none; } }

  /* server-rendered above-fold: hide the mobile designed card; desktop uses the plain fallback */
  .fw-pre-m { display: none; }
