/* LWO-161d: the brand font-face rules live in /assets/css/fonts.css (one definition site-wide); every page that loads this sheet links fonts.css first. */
/* LWO-161 price tool v2 (design option A). Shared by every page that mounts <div id="price-tool"> (homepages, /basket, /price-check,
   EN + ES, all eight states) and by the unlisted /labs/price-v2 preview.
   The preview sits on the Lowdown stylesheet and takes its variables (--ink, --card, --line, --accent, --tool-bg ...) from it.
   On the main site the mount carries class "pv-embed" and the block at the end of this file defines the same variables from the site
   palette (--ocean follows each state's accent), so one stylesheet serves both. */

.pv-band { padding-bottom: 18px; }
.pv-band .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-lang { color: #fff; font-size: .9rem; display: inline-flex; align-items: center; min-height: 44px; }
.pv-tool { padding: 18px 0 34px; }
.pv-grid { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.pv-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pv-col:empty { display: none; }
@media (min-width: 900px) {
  .pv-grid.has-results:not(.pv-stack) { max-width: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
}
.pv-grid.pv-stack { max-width: none; }

.pv-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; }
.pv-sh { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pv-sh h2 { font-size: 1.25rem; margin: 0; }
.pv-n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-fill); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 1rem var(--display); flex: none; }

/* inputs */
.pv-field { display: flex; align-items: center; gap: 10px; min-height: 52px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--bg); }
.pv-field:focus-within { border-color: var(--accent); }
.pv-field svg { flex: none; color: var(--muted); }
.pv-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; min-height: 48px; }
.pv-field input::placeholder { color: var(--muted); }
.pv-field:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pv-field input:focus-visible { outline: 0; }
.pv-note { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.pv-err { margin: 6px 0 0; min-height: 1.2em; font-size: .95rem; color: var(--red-bd); font-weight: 600; }

/* suggestion list */
.pv-sug { margin-top: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 28px rgba(8, 78, 99, .18); }
.pv-sug:empty { display: none; }
.pv-opt { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 56px; width: 100%; background: var(--card); border: 0; border-top: 1px solid var(--line); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.pv-opt:first-child { border-top: 0; }
.pv-opt[aria-selected="true"], .pv-opt:hover { background: var(--tool-bg); }
.pv-opt .t { flex: 1; min-width: 0; }
.pv-opt b { display: block; font-weight: 700; }
.pv-opt small { display: block; font-size: .8rem; color: var(--muted); }
.pv-opt mark { background: #ffe2a8; color: #11242b; border-radius: 3px; }
.pv-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: var(--tool-bg); color: var(--accent); border: 1px solid var(--pv-gen-bd, var(--accent)); flex: none; }
.pv-badge.brand { background: var(--sand); color: var(--pv-brand-ink, #7a4a00); border-color: var(--pv-brand-bd, var(--amber-bd)); }

/* chips and choices */
.pv-more { margin-top: 12px; display: grid; gap: 12px; }
.pv-lbl { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; display: block; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chip, .pv-choice { min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 700 1rem var(--body); cursor: pointer; }
.pv-chip { border-radius: 999px; }
.pv-chip[aria-pressed="true"], .pv-choice[aria-pressed="true"] { border-color: var(--accent); background: var(--tool-bg); color: var(--accent); }
.pv-choices { display: flex; gap: 8px; }
.pv-choice { flex: 1; min-height: 48px; }
.pv-choices.stack { flex-direction: column; }
.pv-select, .pv-qty { width: 100%; min-height: 48px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; padding: 0 12px; }
.pv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-go { width: 100%; border: 0; cursor: pointer; margin-top: 4px; }
.pv-go[disabled] { opacity: .55; cursor: not-allowed; }
.pv-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--accent); font: 700 .95rem var(--body); text-decoration: underline; cursor: pointer; }

/* plan search */
.pv-plans { display: grid; gap: 6px; margin-top: 8px; }
.pv-plan { min-height: 44px; text-align: left; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.pv-plan:hover { background: var(--tool-bg); }

/* answers summary */
.pv-ans { padding: 12px 16px; }
.pv-ans-h { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.pv-ans-h b { font: 700 1rem var(--display); }
.pv-tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-fill); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pv-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); min-height: 44px; }
.pv-row .v { flex: 1; min-width: 0; }
.pv-row .k { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; }
.pv-row .val { font-weight: 700; line-height: 1.2; display: block; overflow-wrap: anywhere; }
.pv-edit { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 6px; background: none; border: 0; color: var(--accent); font: 700 .9rem var(--body); cursor: pointer; }
.pv-edit:hover { text-decoration: underline; }

/* best price */
.pv-best { background: #152a32; border: 2px solid #6fc3d9; border-radius: 18px; padding: 14px 14px 16px; color: #fff; }
.pv-best-h { font: 700 .95rem var(--display); }
.pv-meter { position: relative; width: 190px; max-width: 100%; margin: 4px auto 0; }
.pv-meter svg { display: block; width: 100%; height: auto; }
.pv-meter .mid { position: absolute; left: 0; right: 0; top: 54%; text-align: center; }
.pv-meter .pct { font: 800 2.3rem/1 var(--display); color: #fff; }
.pv-meter .off { font-size: .75rem; color: #9fb4bb; margin-top: 2px; }
.pv-price { text-align: center; margin-top: 6px; }
.pv-price .amt { font: 800 1.9rem var(--display); }
.pv-price.big .amt { font-size: 2.6rem; }
.pv-price .w { font-size: .9rem; color: #9fb4bb; }
.pv-price .sub { font-size: .9rem; color: #c9d9de; margin-top: 2px; overflow-wrap: anywhere; }
.pv-best .pv-warn { margin: 10px 0 0; color: #11242b; background: #fff1cf; border-left: 4px solid #d99a00; border-radius: 6px; padding: 4px 8px; font-size: .9rem; }
.pv-planline { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #2a414a; font-size: .95rem; text-align: center; font-weight: 700; color: #ffd98f; }
.pv-fine { margin: 8px 0 0; font-size: .8rem; color: #9fb4bb; text-align: center; }

/* wallet */
.pv-wal { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.pv-mini { background: #084e63; border-radius: 14px; padding: 12px; color: #fff; display: flex; flex-direction: column; gap: 8px; flex: none; width: 150px; }
.pv-mini .r1 { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pv-mini .nm { display: inline-flex; align-items: center; gap: 5px; font: 700 .85rem var(--display); white-space: nowrap; }
.pv-mini .nm svg { width: 22px; height: 22px; }
.pv-mini .sv { font-size: .65rem; font-weight: 700; background: #ffc23d; color: #11242b; padding: 2px 5px; border-radius: 5px; line-height: 1.15; text-align: center; }
.pv-mini .ni { font-size: .75rem; opacity: .9; line-height: 1.25; }
.pv-mini .mb { font-size: .55rem; opacity: .75; letter-spacing: .06em; }
.pv-wal .rt { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.pv-wal h3 { font-size: .95rem; line-height: 1.25; margin: 0; }
.pv-wal p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.pv-wbtn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; font: 700 .85rem var(--body); text-decoration: none; text-align: center; padding: 4px 6px; }
.pv-wbtn.apple { background: #000; color: #fff; border: 2px solid #000; }
.pv-wbtn.google { background: #fff; color: #11242b; border: 2px solid #11242b; }
.pv-wbtn.apple:focus-visible { outline-color: var(--focus); }
@media (max-width: 380px) { .pv-mini { display: none; } }

/* list */
.pv-list h2 { font-size: 1.25rem; margin: 0 0 4px; }
.pv-li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 64px; }
.pv-li:first-of-type { border-top: 0; }
.pv-rank { width: 26px; height: 26px; border-radius: 50%; background: var(--tool-bg); color: var(--accent); font: 800 .8rem var(--display); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pv-li.top .pv-rank { background: #ffc23d; color: #11242b; }
.pv-li .nm { flex: 1; min-width: 0; }
.pv-li .nm b { display: block; line-height: 1.2; overflow-wrap: anywhere; }
.pv-li .nm small { display: block; color: var(--muted); font-size: .8rem; }
.pv-li .nm .pw { display: block; margin-top: 4px; font-size: .8rem; }
.pv-li .px { text-align: right; font: 800 1.25rem var(--display); color: var(--accent); }
.pv-count { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* Lowdown cross-link */
.pv-ld { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pv-ld .hd { background: var(--band-ground); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.pv-ld .hd b { font: 700 1.1rem var(--display); }
.pv-ld .bd { padding: 14px 16px; display: grid; gap: 10px; }
.pv-ld .bd p { margin: 0; }
.pv-ld .bd a.btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; background: var(--citrus); color: #11242b; border-radius: 12px; font: 700 1rem var(--body); text-decoration: none; }
.pv-ld .bd a.how { font-weight: 600; font-size: .95rem; }

.pv-legal { margin: 0; font-size: .8rem; color: var(--muted); }
.pv-load { display: flex; align-items: center; gap: 10px; }
.pv-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); flex: none; }
@media (prefers-reduced-motion: no-preference) { .pv-spin { animation: pvspin .9s linear infinite; } }
@keyframes pvspin { to { transform: rotate(360deg); } }

/* ---- LWO-161c: the Lowdown brand on the main site (design option A) --------------------------------------------------------------- */
/* Pages on the Lowdown shell (/basket, /price-check) load lowdown.css, so the tool takes its tokens from there (light and dark).
   The homepages keep their own shell and have no dark mode: the tool defines the same tokens on its own mount, light only, inside a pale panel.
   Nothing outside #price-tool changes on the homepage. */
.pv-embed {
  --pv-gen-bd: #b9dfeb; --pv-brand-ink: #7a4a00; --pv-brand-bd: #ffd98f; --pv-save-bg: #e5f6ec; --pv-save-ink: #0a6b3c;
  color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.4; text-align: left; scroll-margin-top: 90px;
}
@media (prefers-color-scheme: dark) {
  .pv-embed:not([data-entry="home"]) { --pv-gen-bd: #3d6573; --pv-brand-ink: #ffd98f; --pv-brand-bd: #8a6a1c; --pv-save-bg: #14352a; --pv-save-ink: #7fe0ab; }
}
.pv-embed[data-entry="home"] {
  color-scheme: light;
  --ink: #11242b; --card: #fff; --bg: #fff; --tool-bg: #e9f6fb; --line: #dfeaee; --muted: #5b6b71;
  --accent: #0a6c8a; --accent-fill: #0a6c8a; --band-ground: #0a6c8a; --focus: #084e63;
  --citrus: #ff8a3d; --sun: #ffc23d; --red-bd: #c8432b; --amber-bd: #d99a00; --sand: #fff8ee;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--tool-bg); border-radius: 20px; padding: 14px;
}
.pv-embed *, .pv-embed *::before, .pv-embed *::after { box-sizing: border-box; }
.pv-embed .pd { margin: 0; font-size: .9rem; color: var(--muted); }
.pv-embed h2, .pv-embed h3 { color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.pv-embed .pv-best h2, .pv-embed .pv-best h3 { color: #fff; }
.pv-embed input, .pv-embed select, .pv-embed button { font-family: inherit; }
.pv-embed .pv-note, .pv-embed .pv-err { line-height: 1.35; }
.pv-embed .pv-waiting { margin: 0; color: var(--muted); }
.pv-embed a { color: var(--accent); }
.pv-embed a.pv-wbtn, .pv-embed a.btn { text-decoration: none; }
.pv-embed .pv-wbtn.apple { color: #fff; }
.pv-embed .pv-wbtn.google { color: #11242b; }
.pv-embed .pv-field:has(input:focus-visible) { outline-color: var(--focus); }
@media (prefers-reduced-motion: reduce) { .pv-embed { scroll-behavior: auto; } }
.bk-page .pv-embed { margin-bottom: 1rem; }
/* primary and secondary buttons: the same on every page, whatever .btn the page's own stylesheet defines */
.pv-embed .pv-go, .pv-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 18px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--accent-fill); color: #fff; font: 700 1rem var(--body); text-align: center; text-decoration: none; white-space: normal; cursor: pointer; }
.pv-embed .pv-go:hover { background: var(--accent-fill); filter: brightness(1.12); }
.pv-embed .pv-go[disabled] { opacity: .55; cursor: not-allowed; }
.pv-embed .pv-go.pv-add { background: transparent; color: var(--accent); border: 2px solid var(--accent); filter: none; }
.pv-embed .pv-go.pv-add:hover { background: var(--tool-bg); }
/* ---- Lowdown page shell for /basket and /price-check ---- */
.pv-band .sitenav { align-items: center; }
.pv-band .sitenav .pv-lang { text-decoration: underline; text-underline-offset: 2px; }
.pv-eyebrow { margin: 10px 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffd98f; }
.pv-eyebrow + h1 { margin-top: 2px; }
.pv-band h1 { font-weight: 800; color: #fff; }
.pv-trust { margin: 8px 0 0; font-size: 1rem; color: #e9f2f4; }
.pv-tool .pv-pagelegal { max-width: 760px; margin: 18px 0 0; display: grid; gap: 6px; }
.pv-tool .pv-pagelegal p { margin: 0 0 .6em; }
.pv-tool .pv-pagelegal p.muted, .pv-tool .pv-pagelegal p.small { margin: 0; font-size: .8rem; color: var(--muted); }
.pv-tool .pv-pagelegal h2 { margin: 22px 0 6px; font-size: 1.25rem; }
.pv-tool .pv-pagelegal ul { margin: 0 0 .8em; padding-left: 1.2em; }
.pv-tool .pv-pagelegal li { margin: 0 0 .3em; }
.pv-tool .pv-pagelegal table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .95rem; }
.pv-tool .pv-pagelegal th, .pv-tool .pv-pagelegal td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.pv-tool .pv-pagelegal thead th { border-top: 0; font-size: .85rem; color: var(--muted); }
.pv-tool .pv-answer { max-width: 760px; margin: 0 0 14px; }
.pv-tool .pv-pagelegal a { color: var(--accent); }
.pv-tool .pv-nojs { margin: 0; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.foot .fnav nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
.foot .fnav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .fstates { margin: 0 0 .5em; }
.foot .fstates a { display: inline-block; padding: 11px 0; }
.foot .fstates [aria-current] { font-weight: 700; }
.pv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ---- LWO-161b: a list of medicines, and the two-option result (one stop / split across stops) ------------------------------------- */
.pv-medlist { list-style: none; margin: 0 0 10px; padding: 0; }
.pv-medrow { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); min-height: 44px; }
.pv-medrow:first-child { border-top: 0; }
.pv-medrow .nm { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.pv-add { background: var(--bg); color: var(--accent); border: 2px solid var(--accent); }


@media (min-width: 900px) {
  .pv-grid.has-results.pv-multi:not(.pv-stack) { max-width: 980px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.pv-opts-h { font-size: 1.25rem; margin: 4px 0 0; }
.pv-opts { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 760px) { .pv-opts:not(.single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pv-opt-card { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.pv-opt-card.pv-one, .pv-opt-card.pv-split { border-color: var(--accent); }
.pv-opt-card h2 { font-size: 1.25rem; margin: 0; }
.pv-opt-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.pv-opt-tag { font-size: .8rem; font-weight: 700; color: var(--muted); }
.pv-opt-total { margin-top: 6px; }
.pv-opt-total .amt { font: 800 2.2rem var(--display); color: var(--accent); }
.pv-opt-total .w { font-size: .9rem; color: var(--muted); }
.pv-opt-where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 2px; overflow-wrap: anywhere; }
.pv-opt-where small { color: var(--muted); font-size: .85rem; }
.pv-save { font-weight: 800; color: var(--pv-save-ink, #0a6b3c); background: var(--pv-save-bg, #e5f6ec); border-radius: 999px; padding: 1px 10px; font-size: .9rem; }
.pv-opt-muted p, .pv-opt-note { margin: 6px 0 0; color: var(--muted); }
.pv-opt-note { margin: 0; padding: 10px 12px; background: var(--sand); border-left: 4px solid var(--amber-bd); border-radius: 8px; color: var(--ink); }
.pv-stop { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.pv-stop .hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; overflow-wrap: anywhere; }
.pv-stop .hd small { color: var(--muted); font-size: .85rem; }
.pv-items { list-style: none; margin: 8px 0 0; padding: 0; }
.pv-it { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.pv-it:first-child { border-top: 0; }
.pv-it .nm { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pv-it .px { font: 800 1.05rem var(--display); color: var(--accent); }
.pv-it .px.none { font-weight: 700; font-size: .95rem; color: var(--muted); }
.pv-it .pl { flex-basis: 100%; font-size: .8rem; color: var(--muted); }
.pv-nop h2 { font-size: 1.05rem; margin: 0; }
.pv-embed .pv-opt-card h2, .pv-embed .pv-opts-h, .pv-embed .pv-nop h2 { color: var(--ink); }
.pv-grid > .pv-col > .pv-count { margin: 0; }
/* ---- LWO-161c: result layout as in the A3 desktop frame (answers + pharmacy list on the left; best price, wallet, Lowdown card on the right).
   On a phone, and in the one-column homepage hero, the order is answers, best price, wallet, pharmacies, Lowdown card (frame A2). ---- */
@media (max-width: 899px) {
  .pv-grid.has-results:not(.pv-multi) .pv-col { display: contents; }
  .pv-grid.has-results:not(.pv-multi) .pv-ans { order: 1; }
  .pv-grid.has-results:not(.pv-multi) .pv-best { order: 2; }
  .pv-grid.has-results:not(.pv-multi) .pv-wal { order: 3; }
  .pv-grid.has-results:not(.pv-multi) .pv-list { order: 4; }
  .pv-grid.has-results:not(.pv-multi) .pv-ld { order: 5; }
  .pv-grid.has-results:not(.pv-multi) .pv-legal { order: 6; }
  .pv-grid.has-results:not(.pv-multi) > .pv-col > .pv-card:not(.pv-ans):not(.pv-list) { order: 2; }
}
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-col { display: contents; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-ans { order: 1; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-best { order: 2; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-wal { order: 3; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-list { order: 4; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-ld { order: 5; }
.pv-grid.pv-stack.has-results:not(.pv-multi) .pv-legal { order: 6; }
.pv-grid.pv-stack.has-results:not(.pv-multi) > .pv-col > .pv-card:not(.pv-ans):not(.pv-list) { order: 2; }
/* two or more medicines: cards in the same language (sun-yellow bar on the best single stop, teal on the split), Bricolage totals, rank-style stop badges */
.pv-opts-h { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.pv-opt-card { border-width: 1px; border-top-width: 6px; }
.pv-opt-card.pv-one { border-top-color: var(--sun, #ffc23d); border-color: var(--line); border-top-color: var(--sun, #ffc23d); }
.pv-opt-card.pv-split { border-color: var(--line); border-top-color: var(--accent); }
.pv-opt-card.pv-opt-muted { border-top-width: 1px; }
.pv-stop .hd { align-items: center; gap: 4px 10px; }
.pv-stop .hd .pv-rank { background: var(--tool-bg); color: var(--accent); }
.pv-stop.s1 .hd .pv-rank { background: #ffc23d; color: #11242b; }
.pv-stop .hd b { flex: 1; min-width: 0; }
/* savings gauge as in frames A2 / A3 (only drawn when the lookup returns a real retail price) */
.pv-meter { width: 220px; }
.pv-meter .pct { font-size: 2.75rem; }
@media (min-width: 900px) { .pv-grid:not(.pv-stack) .pv-meter { width: 300px; } .pv-grid:not(.pv-stack) .pv-meter .pct { font-size: 3.75rem; } }
/* LWO-160 block on the Florida price-check pages (kept as written by scripts/lowdown/site-integration), dressed as the "Check your Lowdown" card of frame A4 */
.pv-tool + .lowdown-cta { background: var(--tool-bg); padding: 0 0 34px; }
.lowdown-cta .wrap { max-width: 1120px; }
.lowdown-cta-card { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding: 0 0 16px; }
.lowdown-cta-card h2 { margin: 0; padding: 12px 16px 12px 52px; background: var(--band-ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 5 48 52'%3E%3Cg stroke='%23ffc23d' stroke-width='3.6' stroke-linecap='round'%3E%3Cline x1='27' y1='8' x2='27' y2='15'/%3E%3Cline x1='11' y1='14' x2='16' y2='19'/%3E%3Cline x1='43' y1='14' x2='38' y2='19'/%3E%3Cline x1='6' y1='30' x2='13' y2='30'/%3E%3Cline x1='48' y1='30' x2='41' y2='30'/%3E%3C/g%3E%3Cpath d='M14 40 A13 13 0 0 1 40 40 Z' fill='%23ffc23d'/%3E%3Cline x1='5' y1='40' x2='49' y2='40' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 16px 50% / 24px 24px; color: #fff; font: 700 1.1rem var(--display); }
.lowdown-cta-card p { margin: 0; padding: 14px 16px 10px; }
.lowdown-cta-card .btn { margin: 0 16px; background: var(--citrus); color: #11242b; border-radius: 12px; min-height: 48px; font: 700 1rem var(--body); text-decoration: none; }

/* LWO-161c: light-dark() needs Safari 17.5+ / Chrome 123+. Older browsers drop every lowdown.css token that uses it, so restore the light values (the light design) there. Same names and values as the light half of each light-dark() in lowdown.css; :root:root outranks it whatever the load order. tests/lwo161c.test.js keeps this block in step. */
@supports not (color: light-dark(#000, #fff)) {
  :root:root {
    --ink: #11242b; --muted: #5b6b71; --bg: #ffffff; --tool-bg: #e9f6fb; --card: #ffffff; --sand: #fff8ee; --line: #dfeaee;
    --accent: #0a6c8a; --accent-fill: #0a6c8a; --band-ground: #0a6c8a; --foot-ground: #11242b; --focus: #084e63;
    --red-bg: #fde8e4; --red-bd: #c8432b; --amber-bg: #fff1cf; --amber-bd: #d99a00;
    --s1: #6fc3d9; --s4: #c8432b; --t0: #0a6c8a; --t2: #5b8c3a; --t3: #7b4b94; --t4: #d1495b; --t6: #2a9d8f; --t7: #5b6b71;
    --c-side: #3f4fc4; --c-rx: #a0287a; --c-you: #8a5300;
  }
  [data-band="Light"] { --bandtx: #11242b; }
  [data-band="Very heavy"] { --bandtx: #fff; }
}

/* ================================================================================================================================
   LWO-161f: the homepage "lowdown score card" skin (mount attribute data-skin="scorecard"), and the free card / wallet buttons / dial.
   Design: the approved L1 mock-ups (score card on a teal band; dark #152a32 card, 2px #5cc0dc border; sun-yellow Check my price;
   purple "Or check my Lowdown score"; three tinted tabs; per-medicine colour keys from the Lowdown t-series).
   Light and dark: the page ground and the result cards follow prefers-color-scheme (light-dark(), with the light values as the
   fallback for browsers without it); the start form is the dark score card in both schemes, as in the mock-up.
   ================================================================================================================================ */
.l1-card { container-type: inline-size; width: var(--cw, 300px); max-width: 100%; aspect-ratio: 1.586 / 1; flex: none; font-family: var(--l1-b, 'Source Sans 3', 'Segoe UI', system-ui, sans-serif); }
.l1-card .c-in { height: 100%; border-radius: 4.667cqw; overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.l1-card .c-h { height: 17cqw; flex: none; background: #084e63; padding: 0 4.667cqw; display: flex; align-items: center; justify-content: space-between; }
.l1-card .c-b { display: inline-flex; align-items: center; gap: 2cqw; }
.l1-card .c-b svg { width: 7.333cqw; height: 7.333cqw; flex: none; }
.l1-card .c-b b { color: #fff; font: 800 5.333cqw/1 var(--l1-d, 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif); }
.l1-card .c-badge { font-size: 3.167cqw; font-weight: 800; background: #ffc23d; color: #11242b; padding: .667cqw 2.333cqw; border-radius: 1.667cqw; white-space: nowrap; }
.l1-card .c-m { flex: 1; min-height: 0; padding: 3.333cqw 4.667cqw 0; display: flex; flex-direction: column; justify-content: space-between; }
.l1-card .c-k { font-size: 2.833cqw; letter-spacing: .14em; color: #5b6b71; font-weight: 700; text-transform: uppercase; }
.l1-card .c-codes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; padding-bottom: 2.667cqw; }
.l1-card .c-l { font-size: 2.833cqw; letter-spacing: .1em; color: #5b6b71; font-weight: 700; }
.l1-card .c-v { font: 800 5.667cqw/1.1 var(--l1-d, 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif); color: #084e63; }
.l1-card .c-f { height: 10.667cqw; flex: none; border-top: 1px solid #dfeaee; padding: 0 4.667cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 3.167cqw; color: #5b6b71; }
.sc-wbtns { display: flex; flex-direction: column; gap: 8px; }
.sc-wbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; font: 700 14px var(--l1-b, 'Source Sans 3', 'Segoe UI', system-ui, sans-serif); text-decoration: none; text-align: center; }
a.sc-wbtn.apple { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
a.sc-wbtn.google { background: #fff; color: #11242b; border: 1.5px solid #11242b; }
a.sc-wbtn:focus-visible { outline: 3px solid #ffc23d; outline-offset: 2px; }
.sc-dial-svg { display: block; width: 100%; height: auto; }

/* ---- tokens ---- */
.pv-embed[data-skin="scorecard"] {
  color-scheme: light dark;
  --sc-ground: #f3f9fb; --sc-card: #ffffff; --sc-field: #f1f8fb; --sc-ink: #11242b; --sc-muted: #4a5d64; --sc-line: #cfe0e6; --sc-link: #0a6c8a; --sc-sky: #0a6c8a; --sc-sun-tx: #7a4a00; --sc-rowbg: rgba(10, 108, 138, .07);
  --sc-m0: #0a6c8a; --sc-m1: #7b4b94; --sc-m2: #d1495b; --sc-m3: #c2570c; --sc-m4: #4d7a2e; --sc-m5: #1f7d72; --sc-m6: #8a5f00; --sc-m7: #5b6b71;
  --sc-d: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  background: transparent; padding: 0; border-radius: 0; font-size: 17px; line-height: 1.45;
}
@supports (color: light-dark(#000, #fff)) {
  .pv-embed[data-skin="scorecard"] {
    --sc-ground: light-dark(#f3f9fb, #0b181d); --sc-card: light-dark(#ffffff, #152a32); --sc-field: light-dark(#f1f8fb, #0f2229); --sc-ink: light-dark(#11242b, #e9f2f4);
    --sc-muted: light-dark(#4a5d64, #9fb4bb); --sc-line: light-dark(#cfe0e6, #2a414a); --sc-link: light-dark(#0a6c8a, #5cc0dc); --sc-sky: light-dark(#0a6c8a, #5cc0dc);
    --sc-sun-tx: light-dark(#7a4a00, #ffd98f); --sc-rowbg: light-dark(rgba(10, 108, 138, .07), rgba(255, 255, 255, .04));
    --sc-m0: light-dark(#0a6c8a, #4cb4d3); --sc-m1: light-dark(#7b4b94, #b48ad0); --sc-m2: light-dark(#d1495b, #ff8a9a); --sc-m3: light-dark(#c2570c, #ff8a3d);
    --sc-m4: light-dark(#4d7a2e, #8cc063); --sc-m5: light-dark(#1f7d72, #5fd0c2); --sc-m6: light-dark(#8a5f00, #ffc23d); --sc-m7: light-dark(#5b6b71, #9db3ba);
  }
}
/* the start form is the dark score card in both colour schemes */
.pv-embed[data-skin="scorecard"] .sc-form {
  color-scheme: dark;
  --sc-card: #152a32; --sc-field: #0f2229; --sc-ink: #e9f2f4; --sc-muted: #9fb4bb; --sc-line: #2a414a; --sc-link: #5cc0dc; --sc-sky: #5cc0dc; --sc-sun-tx: #ffd98f; --sc-rowbg: rgba(255, 255, 255, .04);
  --sc-m0: #4cb4d3; --sc-m1: #b48ad0; --sc-m2: #ff8a9a; --sc-m3: #ff8a3d; --sc-m4: #8cc063; --sc-m5: #5fd0c2; --sc-m6: #ffc23d; --sc-m7: #9db3ba;
}
/* let the shared v2 classes (suggestions, errors, spinner, pharmacy list) take the skin's tokens */
.pv-embed[data-skin="scorecard"], .pv-embed[data-skin="scorecard"] .sc-form {
  --ink: var(--sc-ink); --card: var(--sc-card); --bg: var(--sc-field); --tool-bg: var(--sc-rowbg); --line: var(--sc-line); --muted: var(--sc-muted); --accent: var(--sc-link); --accent-fill: var(--sc-link); --focus: var(--sc-sky);
  color: var(--sc-ink);
}
.pv-embed[data-skin="scorecard"] .mc0 { --mc: var(--sc-m0); } .pv-embed[data-skin="scorecard"] .mc1 { --mc: var(--sc-m1); } .pv-embed[data-skin="scorecard"] .mc2 { --mc: var(--sc-m2); } .pv-embed[data-skin="scorecard"] .mc3 { --mc: var(--sc-m3); }
.pv-embed[data-skin="scorecard"] .mc4 { --mc: var(--sc-m4); } .pv-embed[data-skin="scorecard"] .mc5 { --mc: var(--sc-m5); } .pv-embed[data-skin="scorecard"] .mc6 { --mc: var(--sc-m6); } .pv-embed[data-skin="scorecard"] .mc7 { --mc: var(--sc-m7); }
.pv-embed[data-skin="scorecard"] .pv-grid { max-width: none; }

/* ---- the score card (start form) ---- */
.pv-embed .sc-card { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: 20px; padding: 18px; min-width: 0; color: var(--sc-ink); }
.pv-embed .sc-form { border: 2px solid #5cc0dc; padding: 18px; }
@media (min-width: 900px) { .pv-embed .sc-form { padding: 24px; } }
.pv-embed .sc-dialw { position: relative; margin: 0 auto; container-type: inline-size; }
.pv-embed .sc-dialw.w300 { width: 300px; max-width: 100%; } .pv-embed .sc-dialw.w230 { width: 230px; max-width: 100%; } .pv-embed .sc-dialw.w110 { width: 110px; flex: none; } .pv-embed .sc-dialw.w96 { width: 96px; flex: none; }
.pv-embed .sc-dialw .pct { position: absolute; left: 0; right: 0; top: 53%; text-align: center; font: 800 20cqw/1 var(--sc-d); color: var(--sc-ink); }
.pv-embed .sc-dialw .cap { position: absolute; left: 0; right: 0; top: 84%; text-align: center; font-size: max(11px, 4.67cqw); line-height: 1.1; color: var(--sc-muted); }
.pv-embed .sc-dialw.w230 .cap { top: 83%; }
.pv-embed .sc-dialw .pct.q { color: var(--sc-muted); }
.pv-embed .sc-pillrow { display: flex; justify-content: center; margin: 4px 0 16px; }
.pv-embed .sc-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border-radius: 999px; background: #ffc23d; color: #0b181d; font-weight: 800; font-size: 14px; }
.pv-embed .sc-title { font: 800 21px/1.2 var(--sc-d); color: var(--sc-ink); margin: 0 0 4px; letter-spacing: 0; }
.pv-embed .sc-sub { margin: 0 0 12px; color: var(--sc-muted); font-size: 15px; }
.pv-embed .sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pv-embed .sc-head .sc-title { font-size: 19px; margin: 0; }
.pv-embed .sc-count { color: var(--sc-muted); font-size: 14px; }
.pv-embed .sc-stack { display: flex; flex-direction: column; gap: 10px; }
.pv-embed .sc-field { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border: 2px solid var(--sc-sky); border-radius: 12px; background: var(--sc-field); color: var(--sc-sky); }
.pv-embed .sc-field.med { border-color: #ffc23d; color: #ffc23d; }
.pv-embed .sc-field svg { flex: none; }
.pv-embed .sc-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; color: var(--sc-ink); min-height: 48px; }
.pv-embed .sc-field input::placeholder { color: var(--sc-muted); opacity: 1; }
.pv-embed .sc-field:focus-within { outline: 3px solid #fff; outline-offset: 2px; }
.pv-embed .sc-card .pv-sug { background: var(--sc-field); border-color: var(--sc-line); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); margin-top: -4px; }
.pv-embed .sc-card .pv-opt { background: transparent; color: var(--sc-ink); border-top-color: var(--sc-line); }
.pv-embed .sc-card .pv-opt[aria-selected="true"], .pv-embed .sc-card .pv-opt:hover { background: rgba(255, 255, 255, .08); }
.pv-embed .sc-card .pv-opt small { color: var(--sc-muted); }
.pv-embed .sc-card .pv-opt mark { background: #ffc23d; color: #0b181d; }
.pv-embed .sc-card .pv-badge { background: transparent; color: var(--sc-sky); border-color: var(--sc-sky); }
.pv-embed .sc-card .pv-badge.brand { color: #ffd98f; border-color: #8a6a1c; background: transparent; }
.pv-embed .sc-lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sc-muted); margin: 0 0 6px; }
.pv-embed .sc-pay { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; border: 1px solid var(--sc-line); border-left: 5px solid var(--sc-sky); border-radius: 12px; background: var(--sc-field); }
.pv-embed .sc-opts { display: flex; gap: 8px; }
.pv-embed .sc-opts.stack { flex-direction: column; }
.pv-embed .sc-opt { flex: 1; min-height: 48px; padding: 0 10px; border: 2px solid var(--sc-line); border-radius: 12px; background: transparent; color: var(--sc-ink); font: 700 16px var(--body); cursor: pointer; }
.pv-embed .sc-opt[aria-pressed="true"] { border-color: #ffc23d; background: rgba(255, 194, 61, .16); }
.pv-embed .sc-ins { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sc-line); }
.pv-embed .sc-ins .pd { margin: 0; color: var(--sc-muted); }
.pv-embed .sc-plan { margin: 0; color: var(--sc-ink); }
.pv-embed .sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-embed .sc-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--sc-line); background: transparent; color: var(--sc-ink); font: 700 16px var(--body); cursor: pointer; }
.pv-embed .sc-chip[aria-pressed="true"] { border-color: #ffc23d; background: #ffc23d; color: #0b181d; }
.pv-embed .sc-sel { width: 100%; min-height: 48px; border: 2px solid var(--sc-line); border-radius: 12px; background: var(--sc-card); color: var(--sc-ink); font: inherit; font-size: 16px; padding: 0 12px; }
.pv-embed .sc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.pv-embed .sc-sup summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--sc-link); font-weight: 700; font-size: 15px; }
.pv-embed .sc-link { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--sc-link); font: 700 16px var(--body); cursor: pointer; text-decoration: none; }
.pv-embed .sc-link:hover { text-decoration: underline; }
.pv-embed .sc-meds { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pv-embed .sc-med { border: 1px solid var(--sc-line); border-left: 5px solid var(--mc, var(--sc-m0)); border-radius: 12px; background: var(--sc-field); padding: 0 14px; }
.pv-embed .sc-med.open { border: 2px solid #ffc23d; border-left: 6px solid var(--mc, var(--sc-m0)); padding: 0 12px; }
.pv-embed .sc-med-h { display: flex; align-items: center; gap: 10px; min-height: 54px; }
.pv-embed .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mc, var(--sc-m0)); flex: none; }
.pv-embed .sc-med-t { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 6px 0; min-height: 44px; }
.pv-embed .sc-med-t b { display: block; font-weight: 700; color: var(--sc-ink); overflow-wrap: anywhere; }
.pv-embed .sc-med-t small { display: block; font-size: 13px; color: var(--sc-muted); }
.pv-embed .sc-med-b { padding: 0 0 10px; }
.pv-embed .sc-err { margin: 0; color: #ffb4a6; font-size: 15px; font-weight: 600; }
.pv-embed .sc-err:empty { height: 0; }
.pv-embed .sc-err a { color: #ffd98f; }
.pv-embed .sc-actions { display: flex; flex-direction: column; gap: 8px; }
.pv-embed .sc-go { width: 100%; min-height: 58px; border: 0; border-radius: 12px; background: #ffc23d; color: #0b181d; font: 800 19px var(--sc-d); display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-align: center; }
.pv-embed .sc-go:hover { filter: brightness(1.06); }
.pv-embed .sc-ld { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; border: 2px solid #b48ad0; background: rgba(180, 138, 208, .14); color: var(--sc-ink); font: 800 17px var(--sc-d); text-decoration: none; text-align: center; }
.pv-embed .sc-ld:hover { background: rgba(180, 138, 208, .24); }
.pv-embed .sc-go:focus-visible, .pv-embed .sc-ld:focus-visible, .pv-embed .sc-opt:focus-visible, .pv-embed .sc-chip:focus-visible, .pv-embed .sc-link:focus-visible, .pv-embed .sc-med-t:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pv-embed .sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-embed .sc-tab { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--tc); border-left: 5px solid var(--tc); background: var(--tb); color: var(--sc-ink); font-weight: 700; font-size: 15px; }
.pv-embed .sc-tab i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); flex: none; }
.pv-embed .sc-tab.side { --tc: #9fb0ff; --tb: rgba(159, 176, 255, .16); } .pv-embed .sc-tab.combo { --tc: #f29bd6; --tb: rgba(242, 155, 214, .16); } .pv-embed .sc-tab.you { --tc: #f2b955; --tb: rgba(242, 185, 85, .16); }
.pv-embed .sc-tabs.sm .sc-tab { min-height: 36px; font-size: 14px; }
@media (max-width: 719px) {
  .pv-embed .sc-actions.pin { position: sticky; bottom: 0; z-index: 5; margin: 6px -16px -16px; padding: 12px 16px 16px; background: rgba(11, 24, 29, .96); border-top: 1px solid #2a414a; box-shadow: 0 -12px 30px rgba(0, 0, 0, .4); border-radius: 0 0 17px 17px; }
  .pv-embed .sc-actions.pin .sc-go { min-height: 56px; font-size: 18px; }
  .pv-embed .sc-actions.pin .sc-ld { min-height: 46px; }
}

/* ---- results ---- */
.pv-embed .sc-res-h { font: 800 clamp(24px, 3vw, 32px)/1.15 var(--sc-d); color: var(--sc-ink); margin: 0 0 16px; letter-spacing: 0; }
.pv-embed .sc-res { display: flex; flex-direction: column; gap: 16px; }
.pv-embed .sc-c { display: contents; }
.pv-embed .sc-ans { order: 1; } .pv-embed .sc-nop, .pv-embed .sc-note, .pv-embed .sc-one { order: 2; } .pv-embed .sc-wal { order: 3; } .pv-embed .sc-split, .pv-embed .pv-list { order: 4; } .pv-embed .sc-ldcard { order: 5; }
@media (min-width: 900px) {
  .pv-embed .sc-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .pv-embed .sc-c { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
}
.pv-embed .sc-ans { padding: 12px 16px; border-radius: 16px; }
.pv-embed .sc-ans-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 700 16px var(--sc-d); }
.pv-embed .sc-tick { width: 24px; height: 24px; border-radius: 50%; background: #ffc23d; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pv-embed .sc-arow { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--sc-line); min-height: 48px; }
.pv-embed .sc-arow .v { flex: 1; min-width: 0; }
.pv-embed .sc-arow .k { display: block; font-size: 12px; color: var(--sc-muted); text-transform: uppercase; letter-spacing: .05em; }
.pv-embed .sc-arow .val { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.pv-embed .sc-wal { background: #fff; color: #11242b; border-radius: 20px; padding: 16px; display: flex; gap: 14px; align-items: center; }
.pv-embed .sc-wal .rt { flex: 1; min-width: 0; }
.pv-embed .sc-wal h3 { font: 800 16px/1.25 var(--sc-d); margin: 0 0 8px; color: #11242b; }
.pv-embed .sc-wal-card { flex: none; width: 150px; }
@media (max-width: 380px) { .pv-embed .sc-wal { flex-direction: column; align-items: stretch; } .pv-embed .sc-wal-card { margin: 0 auto; } }
.pv-embed .sc-one { border: 2px solid #ffc23d; }
.pv-embed .sc-ldcard { border: 2px solid #b48ad0; }
.pv-embed .sc-hd h2, .pv-embed .sc-ldcard h2, .pv-embed .sc-nop h2 { font: 800 18px/1.25 var(--sc-d); color: var(--sc-ink); margin: 0; }
.pv-embed .sc-subline { margin: 2px 0 6px; color: var(--sc-muted); font-size: 14px; }
.pv-embed .sc-tot { text-align: center; margin: 6px 0 4px; }
.pv-embed .sc-tot .amt { font: 800 34px var(--sc-d); color: var(--sc-ink); }
.pv-embed .sc-tot.sm { text-align: left; } .pv-embed .sc-tot.sm .amt { font-size: 28px; }
.pv-embed .sc-tot .w { color: var(--sc-muted); }
.pv-embed .sc-where { text-align: center; color: var(--sc-ink); margin-bottom: 8px; overflow-wrap: anywhere; }
.pv-embed .sc-where b { font-weight: 700; }
.pv-embed .sc-where small { margin-left: 8px; color: var(--sc-muted); }
.pv-embed .sc-split .sc-where { text-align: left; }
.pv-embed .sc-save { display: inline-flex; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 194, 61, .18); color: var(--sc-sun-tx); font: 700 14px var(--body); }
.pv-embed .sc-items { list-style: none; margin: 0; padding: 0; }
.pv-embed .sc-it { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; border-left: 5px solid var(--mc, var(--sc-m0)); background: var(--sc-rowbg); color: var(--sc-ink); }
.pv-embed .sc-it .nm { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pv-embed .sc-it .px { font: 800 17px var(--sc-d); }
.pv-embed .sc-it .px.none { font: 700 15px var(--body); color: var(--sc-muted); }
.pv-embed .sc-it .pl { flex-basis: 100%; font-size: 13px; color: var(--sc-muted); padding-left: 18px; }
.pv-embed .sc-stop { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--sc-line); }
.pv-embed .sc-stop .hd { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; }
.pv-embed .sc-stop .hd small { color: var(--sc-muted); font-size: 14px; }
.pv-embed .sc-rank { width: 26px; height: 26px; border-radius: 50%; background: var(--sc-field); color: var(--sc-ink); border: 1px solid var(--sc-line); display: inline-flex; align-items: center; justify-content: center; font: 800 13px var(--sc-d); flex: none; }
.pv-embed .sc-stop.s1 .sc-rank { background: #ffc23d; color: #0b181d; border-color: #ffc23d; }
.pv-embed .sc-split.muted .sc-subline { color: var(--sc-ink); }
.pv-embed .sc-note { margin: 0; padding: 10px 12px; border-left: 4px solid #ffc23d; border-radius: 8px; background: var(--sc-rowbg); color: var(--sc-ink); }
.pv-embed .sc-warn { margin: 10px 0 0; padding: 4px 8px; border-left: 4px solid #ffc23d; border-radius: 6px; background: rgba(255, 194, 61, .16); color: var(--sc-ink); font-size: 15px; }
.pv-embed .sc-planline { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--sc-line); text-align: center; font-weight: 700; color: var(--sc-sun-tx); }
.pv-embed .sc-fine { margin: 8px 0 0; font-size: 13px; color: var(--sc-muted); text-align: center; }
.pv-embed .sc-ldrow { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pv-embed .sc-ldrow p { margin: 4px 0 0; color: var(--sc-muted); font-size: 14px; }
.pv-embed .sc-ldcard .sc-tabs { margin-bottom: 10px; }
.pv-embed .sc-seebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 2px solid #ffc23d; color: var(--sc-sun-tx); font: 800 17px var(--sc-d); text-decoration: none; }
.pv-embed .sc-how { display: block; margin-top: 8px; color: var(--sc-link); font-weight: 600; font-size: 15px; }
.pv-embed .sc-foot { margin: 10px 0 0; color: var(--sc-muted); font-size: 14px; }
/* the pharmacy list (single medicine) in the same cards */
.pv-embed[data-skin="scorecard"] .pv-card { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: 20px; padding: 18px; color: var(--sc-ink); }
.pv-embed[data-skin="scorecard"] .pv-list h2 { font: 800 18px var(--sc-d); color: var(--sc-ink); }
.pv-embed[data-skin="scorecard"] .pv-li .px { color: var(--sc-ink); }
.pv-embed[data-skin="scorecard"] .pv-rank { background: var(--sc-field); color: var(--sc-ink); border: 1px solid var(--sc-line); }
.pv-embed[data-skin="scorecard"] .pv-li.top .pv-rank { background: #ffc23d; color: #0b181d; border-color: #ffc23d; }
.pv-embed[data-skin="scorecard"] .pv-link { color: var(--sc-link); }
.pv-embed[data-skin="scorecard"] .pv-go { background: #ffc23d; color: #0b181d; font-family: var(--sc-d); font-weight: 800; }
.pv-embed[data-skin="scorecard"] .pv-waiting { color: var(--sc-muted); }
