/* Bill Watch (siscto.si/bill-watch/, v1.10.0, Nov 21, 2026). Loaded after site.css, sis-grow.css, sis-pass.css and sis-near.css,
   whose cards, chips and type it reuses. Everything here starts with bw-. Every card and stat tile is a link by itself: the tile's
   own link is stretched over it, and the lit edge and lift are the ones the site's cards already use. Built by Codeflex. */

/* ---------------- stat tiles: centered, counted up by site.js, each one a link ---------------- */
.bw-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: rgba(7, 8, 10, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bw-tiles.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bw-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(14px, 2vw, 22px); }
.bw-tile { position: relative; min-width: 0; padding: 18px 12px; display: grid; gap: 6px; justify-items: center; align-content: center; text-align: center;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); transition: background .3s, box-shadow .3s; }
.bw-tile dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); line-height: 1.4; overflow-wrap: anywhere; }
.bw-tile dd { margin: 0; font-family: var(--f-display); font-size: clamp(15px, 1.5vw, 20px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bw-tile dd a { color: var(--ice); text-decoration: none; }
/* Michroma draws the percent sign as a ring, a stroke and a ring: the sign alone is set in the body face, as the degree sign is */
.bw-pc { font-family: var(--f-body); font-weight: 600; margin-left: 1px; }
.bw-tile dd a::after { content: ""; position: absolute; inset: 0; }
.bw-tile:hover, .bw-tile:focus-within { background: rgba(79, 163, 255, .07); box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line), inset 0 0 0 1px rgba(79, 163, 255, .5), inset 0 0 26px rgba(79, 163, 255, .12); }
.bw-tile dd a:focus-visible { outline: none; }
@media (max-width: 1100px) { .bw-tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .bw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bw-tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bw-tiles.three { grid-template-columns: minmax(0, 1fr); } .bw-tile { padding: 16px 10px; } }

/* ---------------- the chart: prices only, drawn to scale ---------------- */
.bw-chart { margin: 0; padding: clamp(14px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); display: grid; gap: 12px; }
.bw-chart svg { display: block; width: 100%; height: auto; }
.bw-chart .g { stroke: rgba(214, 222, 235, .1); stroke-width: 1; }
.bw-chart .yr { stroke: rgba(214, 222, 235, .07); stroke-width: 1; stroke-dasharray: 2 5; }
.bw-chart .ax { fill: var(--dim); font: 500 12.5px var(--f-mono); }
.bw-chart polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.bw-chart polyline.s { stroke: var(--flare); stroke-width: 2.6; }
.bw-chart polyline.u { stroke: var(--nebula); stroke-width: 1.8; stroke-dasharray: 6 5; }
.bw-chart circle.s { fill: var(--flare); }
.bw-chart circle.u { fill: var(--nebula); }
.bw-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 13.5px; color: var(--mute); }
.bw-key li { display: inline-flex; align-items: center; gap: 8px; }
.bw-key i { width: 24px; height: 0; border-top: 3px solid var(--flare); flex: none; }
.bw-key i.u { border-top: 2px dashed var(--nebula); }
@media (max-width: 620px) { .bw-chart { padding: 12px 8px; } .bw-chart .ax { font-size: 30px; } .bw-chart polyline.s { stroke-width: 4; } .bw-chart polyline.u { stroke-width: 3; } }

/* ---------------- cards that are links: sites, states, the set ---------------- */
.bw-sites, .bw-states { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; }
.bw-sites > .bw-site { flex: 1 1 280px; }
.bw-states > li { flex: 1 1 250px; display: flex; min-width: 0; }
.bw-states > li > a { flex: 1; }
a.card.bw-site, a.card.bw-st, .bw-set a.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; min-width: 0; }
a.card.bw-site > * + *, a.card.bw-st > * + *, .bw-set a.card > * + * { margin-top: 0; }
a.card.bw-site > .link-arrow, a.card.bw-st > .link-arrow, .bw-set a.card > .link-arrow { margin-top: auto; }
.bw-set a.card .body-copy { max-width: none; }
a.card.bw-site:hover, a.card.bw-st:hover, .bw-set a.card:hover, a.card.bw-site:focus-visible, a.card.bw-st:focus-visible, .bw-set a.card:focus-visible {
  transform: translateY(-4px); border-color: rgba(79, 163, 255, .55); box-shadow: 0 0 0 1px rgba(79, 163, 255, .18), 0 18px 44px -22px rgba(79, 163, 255, .55); }
.bw-site .k, .bw-st .k { justify-content: flex-start; }
.bw-site .h3, .bw-st .h3 { overflow-wrap: anywhere; }
.bw-pw { color: var(--mute); line-height: 1.5; }
.bw-pw b { color: var(--ice); font-family: var(--f-display); font-size: 15px; font-weight: 400; }
.bw-ut { font-size: 14px; color: var(--rose); line-height: 1.45; }
.bw-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bw-big b { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); color: var(--ice); font-variant-numeric: tabular-nums; }
.bw-big small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.bw-mini { margin: 4px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.bw-mini > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bw-mini dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.bw-mini dd { margin: 0; color: var(--ice); font-variant-numeric: tabular-nums; text-align: right; }
.bw-tools { display: flex; justify-content: center; margin: 0 0 clamp(14px, 2vw, 22px); }
.bw-tools .sg-chipbar { justify-content: center; }
.bw-set.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bw-set.five { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bw-set.five > a { grid-column: span 2; } .bw-set.five > a:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 620px) { .bw-set.five { grid-template-columns: minmax(0, 1fr); } .bw-set.five > a, .bw-set.five > a:nth-child(n+4) { grid-column: auto; } }

/* ---------------- rows that span: the label on the left, the copy across ---------------- */
.bw-urows { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.bw-urow { display: grid; grid-template-columns: minmax(170px, .26fr) minmax(0, 1fr); gap: 10px clamp(16px, 2.4vw, 32px); align-items: start; }
.bw-urow > * + * { margin-top: 0; }
.bw-urow .eyebrow { overflow-wrap: anywhere; }
.bw-urow .body-copy { max-width: none; }
.bw-urow b { color: var(--ice); font-weight: 700; }
.bw-rows { margin: 0; display: grid; gap: 0; }
.bw-rows > div { display: grid; grid-template-columns: minmax(120px, .2fr) minmax(0, 1fr); gap: 6px clamp(16px, 2.4vw, 32px); padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.bw-rows dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.bw-rows dd { margin: 0; min-width: 0; display: grid; gap: 6px; }
.bw-rows dd small { color: var(--mute); font-size: 14.5px; line-height: 1.55; }
.bw-code { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; font-family: var(--f-mono); font-size: 13.5px; color: var(--ice); padding: 2px 0 6px; scrollbar-width: thin; }
.qa-a .bw-code { display: inline; white-space: normal; overflow-wrap: anywhere; padding: 0; }
.bw-api { display: grid; gap: 12px; margin-top: clamp(16px, 2.2vw, 26px); }
.bw-api > * + * { margin-top: 0; }
.bw-api .cta-row { justify-content: center; }
@media (max-width: 700px) { .bw-urow, .bw-rows > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- the table of months (the tables pass keeps it a table while it fits) ---------------- */
.bw-table { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .015); }
.js .bw-table.short tbody tr:nth-child(n+13) { display: none; }
.bw-more { display: none; justify-content: center; margin-top: 16px; }
.js .bw-more { display: flex; }
.bw-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bw-table caption { caption-side: top; padding: 14px 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: center; line-height: 1.5; }
.bw-table th, .bw-table td { padding: 11px clamp(8px, 1.6vw, 18px); text-align: right; border-top: 1px solid var(--line); }
.bw-table th:first-child, .bw-table td:first-child { text-align: left; }
.bw-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 500; z-index: 1; }
.bw-table td { color: var(--ice); }
.bw-table td small { display: inline-block; margin-left: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.bw-table tbody tr:nth-child(even) td { background: rgba(79, 163, 255, .03); }

/* ---------------- sources, notes, and the blocks on other pages ---------------- */
/* sources as rows that span: the date and the name on the left, what it says across, the link at the end (copy lengths differ a lot) */
.bw-srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.4vw, 16px); }
.bw-srcs > li { display: grid; grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr) auto; gap: 10px clamp(16px, 2.4vw, 32px); align-items: center; padding: clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 28px); min-width: 0; }
.bw-srcs > li > * + * { margin-top: 0; }
.bw-srcs > li > .eyebrow { grid-column: 1; grid-row: 1; align-self: end; }
.bw-srcs > li > .h3 { grid-column: 1; grid-row: 2; align-self: start; }
.bw-srcs > li > .body-copy { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
.bw-srcs > li > p:last-child { grid-column: 3; grid-row: 1 / span 2; white-space: nowrap; }
.bw-srcs .h3, .bw-srcs .body-copy, .bw-srcs .eyebrow { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 860px) { .bw-srcs > li { grid-template-columns: minmax(0, 1fr); } .bw-srcs > li > .eyebrow, .bw-srcs > li > .h3, .bw-srcs > li > .body-copy, .bw-srcs > li > p:last-child { grid-column: 1; grid-row: auto; } }
.bw-note { margin: clamp(16px, 2vw, 24px) auto 0; text-align: center; color: var(--mute); line-height: 1.7; max-width: none; }
.bw-note a { color: var(--ion); }
.bw-in { margin-top: clamp(16px, 2.2vw, 26px); }
.bw-line { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.bw-line a, .bw-lo a { color: var(--ion); white-space: nowrap; }
.bw-live { margin-top: 10px; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .bw-tile, a.card.bw-site, a.card.bw-st, .bw-set a.card { transition: none; } a.card.bw-site:hover, a.card.bw-st:hover, .bw-set a.card:hover { transform: none; } }

/* ---------------- every other card of this build is a link as a whole (Joe, Nov 20: every card is interactive) ----------------
   A .bw-hit card stretches its one main link (.bw-go) over itself; any other link in it stays on top and clickable. The Bill Watch
   callout on other pages does the same with its button (kept still on hover, so the stretched area never jumps). */
.bw-hit { position: relative; }
.bw-hit .bw-go::before { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.bw-hit a:not(.bw-go) { position: relative; z-index: 1; }
.bw-in .pz-callout { position: relative; }
.bw-in .pz-callout .cta-row .btn, .bw-in .pz-callout .cta-row .btn:hover { position: static; transform: none; }
.bw-in .pz-callout .cta-row .btn::before { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.bw-hit:hover, .bw-hit:focus-within, .bw-in .pz-callout:hover, .bw-in .pz-callout:focus-within {
  border-color: rgba(79, 163, 255, .55); box-shadow: 0 0 0 1px rgba(79, 163, 255, .18), 0 18px 44px -22px rgba(79, 163, 255, .55); }
