/* Economy Compass Paths: what Paths adds to the Playback's style sheet (css/ec-playback.css, loaded first). Paper and Ink only.
   The first place: a heavy line ending in a solid square. The second: a lighter line ending in an open square. The nation:
   dashed. The gap between the two: a pale wash. Labels name every line; nothing depends on telling two inks apart. */
.px-pick{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:6px 8px;max-width:620px;margin:0 0 14px}
.px-f{display:flex;flex-direction:column;gap:4px;min-width:0}
.px-pick label{font:600 13px/1.2 var(--font);color:var(--ink2)}
.px-pick select{font:400 16px/1.2 var(--font);color:var(--ink);background:var(--page);border:1.5px solid var(--ink);border-radius:0;min-height:44px;padding:0 8px;width:100%;min-width:0;text-overflow:ellipsis}
.px-pick .px-sw{padding:0;width:44px;display:inline-flex;align-items:center;justify-content:center}.px-sw svg{width:20px;height:20px}
.px-pick .pb-pick-note{grid-column:1/-1}
.px-gap{fill:var(--ink);opacity:.085}
.px-b{fill:none;stroke:var(--ink);stroke-opacity:.6;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.px-br{stroke:var(--ink);stroke-width:1}
.px-ma{fill:var(--ink);stroke:var(--page);stroke-width:1}.px-mb{fill:var(--page);stroke:var(--ink);stroke-width:1.6}
.px-lab{fill:var(--ink);font-weight:600}.px-lb{font-weight:400}.px-ln{fill:var(--ink2);font-weight:400}
.px-oth{opacity:.075}
.px-rl{fill:var(--ink2)}
.px-ttl{font:600 13px/1.3 var(--font);margin:6px 0 2px}
.px-k i.px-i-a{width:12px;height:12px;border:0;background:var(--ink)}.px-k i.px-i-b{width:11px;height:11px;border:1.6px solid var(--ink);background:var(--page)}
.px-ribh{display:flex;flex-wrap:wrap;gap:2px 14px;margin:8px 0 2px;font-size:12.5px;color:var(--ink2)}
.px-ghost{background:var(--page)!important;color:var(--ink)!important}
.px-links{gap:4px 20px}
.px-link{font:400 15px/1.5 var(--font);color:var(--ink);background:none;border:0;padding:0;min-height:44px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.px-chartw{line-height:0;max-width:620px}
.px-ribw{line-height:0;max-width:620px}
@media (min-width:900px){.px-stage{grid-template-columns:minmax(0,620px) minmax(0,1fr)}.px-pick{grid-template-columns:minmax(0,280px) auto minmax(0,280px)}}
@media (forced-colors:active){.px-ma{fill:CanvasText}.px-gap{fill:CanvasText;opacity:.15}}
body[data-ec-page="Paths"] #pa-privacy .pa-privacy-open{left:0;bottom:max(96px,env(safe-area-inset-bottom));writing-mode:vertical-rl;transform:rotate(180deg);min-height:0;min-width:24px;padding:12px 3px;border-left:0;border-radius:0;font:12px/1.4 var(--font);background:var(--page);color:var(--ink);border-color:var(--hair);box-shadow:none}
/* long place names: the next-step buttons wrap rather than run off a narrow screen; the theme button keeps its size */
.pb-after .pb-btn{white-space:normal;text-align:left;line-height:1.25;padding:8px 14px}
#pb-theme{flex:none}
/* on a phone the month bar always has room for two lines of its figure, so it does not grow when the record arrives */
@media (max-width:899px){#px-player .pb-bar{min-height:80px}}
/* C14 review round 1 */
#px-player[data-mode=poster] .pb-cap{display:block}
.pb-cap.px-past .pb-caption,.pb-cap.px-past .pb-cnote{color:var(--ink2)}
.px-nw{white-space:nowrap}
.px-keynote{font-size:12.5px;line-height:1.45;color:var(--ink2);margin:6px 0 4px;max-width:620px}
html.px-wait #px-h1,html.px-wait #px-dek,html.px-wait #px-player .pb-stage,html.px-wait #px-player .pb-read{visibility:hidden}
html:not(.px-js) .px-pick,html:not(.px-js) #px-evidence,html:not(.px-js) .px-js-only{display:none}
#px-play .px-i-next{display:none}
@media (prefers-reduced-motion:reduce){#px-play .pb-i-play,#px-play .pb-i-pause{display:none}#px-play .px-i-next{display:block}}
/* very narrow screens: the two lists stack, the swap button beside the first, so long names are not cut short */
@media (max-width:359px){.px-pick{grid-template-columns:minmax(0,1fr) auto}.px-pick .px-f:last-of-type{grid-column:1/2}}
.px-try-h{color:var(--ink2);font-size:14px;align-self:center}
/* C15.2: the ending's hierarchy. The primary step is the one solid control; the ways to change the comparison sit under a
   small heading; the evidence and sharing utilities are plain links under theirs */
.px-primary{gap:8px 14px;margin-top:18px}
.pb-after .px-go,.pb-after .px-go:visited{background:var(--ink);color:var(--page);border:1.5px solid var(--ink);text-decoration:none;padding:9px 14px;min-height:44px;display:inline-flex;align-items:center;font:600 14px/1.25 var(--font)}
.pb-after .px-go:hover,.pb-after .px-go:focus-visible{background:var(--page);color:var(--ink)}
.px-alt{font:400 15px/1.5 var(--font);color:var(--ink2)}.px-alt a{color:var(--ink);min-height:auto}
.px-group,.px-utils{gap:6px 18px;margin-top:14px;padding-top:12px;border-top:1px solid var(--hair)}
.px-group-h{flex-basis:100%;color:var(--muted);font:400 12px/1.3 var(--font);letter-spacing:.08em;text-transform:uppercase;min-height:auto;margin-bottom:-2px}
.pb-after .px-group .pb-btn{background:var(--page);color:var(--ink)}
.px-utils{gap:0 18px}.px-utils a,.px-utils .px-link{font-size:14px;min-height:36px}
/* ---- C15: lenses, roles, the start and basis controls, the annual form, wider screens ---- */
:root{--cobalt:#24579e;--rust:#a65016;--cobalt-wash:rgba(36,87,158,.12);--rust-wash:rgba(166,80,22,.12)}
[data-theme=dark]{--cobalt:#8baee9;--rust:#e6a267}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--cobalt:#8baee9;--rust:#e6a267}}
.px-basis{font:400 15px/1.5 var(--mono);color:var(--ink2);margin:-2px 0 10px;max-width:46em}
.pb-dek[hidden]{display:none}
.px-pick{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);row-gap:10px}
.px-pick .px-f:nth-of-type(n+3){grid-column:span 1}
.px-pick-one{grid-template-columns:minmax(0,320px)}
/* the measure's colour role: the first side solid, the second lighter; the nation stays ink */
.px-role-cobalt .px-a,.px-role-cobalt .px-ma{stroke:var(--cobalt)}.px-role-cobalt .px-ma{fill:var(--cobalt);stroke:var(--page)}
.px-role-cobalt .px-b,.px-role-cobalt .px-mb{stroke:var(--cobalt)}.px-role-cobalt .px-gap{fill:var(--cobalt);opacity:.1}
.px-role-rust .px-a,.px-role-rust .px-ma{stroke:var(--rust)}.px-role-rust .px-ma{fill:var(--rust);stroke:var(--page)}
.px-role-rust .px-b,.px-role-rust .px-mb{stroke:var(--rust)}.px-role-rust .px-gap{fill:var(--rust);opacity:.1}
.px-role-pair .px-a,.px-role-pair .px-ma{stroke:var(--rust)}.px-role-pair .px-ma{fill:var(--rust);stroke:var(--page)}
.px-role-pair .px-b,.px-role-pair .px-mb{stroke:var(--cobalt);stroke-opacity:1}.px-role-pair .px-gap{fill:var(--ink);opacity:.07}
.px-role-cobalt .px-k i.px-i-a{background:var(--cobalt)}.px-role-cobalt .px-k i.px-i-b{border-color:var(--cobalt)}
.px-role-rust .px-k i.px-i-a{background:var(--rust)}.px-role-rust .px-k i.px-i-b{border-color:var(--rust)}
.px-role-pair .px-k i.px-i-a{background:var(--rust)}.px-role-pair .px-k i.px-i-b{border-color:var(--cobalt)}
/* the annual form */
.px-annual .px-p0{fill:var(--ink)}.px-annual .px-p1{fill:var(--d2)}.px-annual .px-p2{fill:var(--hair)}
.px-annual .px-tot{stroke:var(--ink);stroke-width:2}.px-annual .px-fut{opacity:.25}
.px-parts .px-pk{display:inline-block;width:.75em;height:.75em;margin-right:.35em;vertical-align:-.05em;border:1px solid var(--ink)}.px-parts .px-p0{background:var(--ink)}.px-parts .px-p1{background:var(--d2)}.px-parts .px-p2{background:var(--hair)}
.px-annual .px-bar-a{fill:var(--ink)}.px-annual .px-bar-b{fill:var(--ink);opacity:.45}
.px-role-cobalt .px-annual .px-bar-a{fill:var(--cobalt)}.px-role-cobalt .px-annual .px-bar-b{fill:var(--cobalt);opacity:.45}
.px-annual .pb-ax.on{fill:var(--ink);font-weight:600}
/* the lens pages at laptop and desktop widths: the chart takes the room it needs; the words sit beside it */
@media (min-width:1100px){.px-pick{max-width:1100px}.px-stage{grid-template-columns:minmax(0,720px) minmax(300px,1fr);gap:4px 48px}.px-chartw,.px-ribw,.px-keynote,#px-ribw{max-width:720px}.px-pick{grid-template-columns:minmax(0,260px) auto minmax(0,260px) minmax(0,220px) minmax(0,200px)}.pb-h1{max-width:24em}}
@media (min-width:1400px){.pb,.pb-top{max-width:1320px}.px-stage{grid-template-columns:minmax(0,800px) minmax(320px,1fr)}.px-chartw,.px-ribw,.px-keynote,#px-ribw{max-width:800px}}
@media (max-width:899px){.px-pick .px-f:nth-of-type(n+3){grid-column:1/-1}.px-pick .px-f.px-f-from{grid-column:1/2}.px-pick .px-f.px-f-variant{grid-column:3/4}.px-pick-one .px-f.px-f-from{grid-column:1/-1}}
@media (forced-colors:active){.px-annual .px-p0{fill:CanvasText}.px-annual .px-p1{fill:GrayText}.px-annual .px-p2{fill:Canvas;stroke:CanvasText}}
/* C15: a phone keeps the first screen: one scrolling row of measures, one line of views, the picker in two rows */
@media (max-width:699px){
.px-pick{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);row-gap:8px}
.px-pick select{min-height:42px;font-size:15px}
.pb-dek{font-size:16px;line-height:1.4;margin-bottom:10px}
.px-basis{font-size:12px;margin:6px 0 8px}
.px-keynote{font-size:12px;line-height:1.35;margin:4px 0 2px}
}
@media (max-width:359px){.px-pick .px-f.px-f-from,.px-pick .px-f.px-f-variant{grid-column:1/-1}}

/* C15.4: a marked moment on the complete record. The line and the period's name on the chart; one line of scope under the
   readout with the way back to the latest period. The scope line is present only on a marked page. */
.px-mk-line{stroke:var(--ink);stroke-dasharray:3 3;stroke-width:1}
.px-mk-t{font-family:var(--mono);fill:var(--ink);paint-order:stroke;stroke:var(--page);stroke-width:4px;stroke-linejoin:round;letter-spacing:.02em}
.px-mk-band{fill:var(--ink);opacity:.07}
.px-scope{margin:0 0 10px;padding:7px 10px;border-left:3px solid var(--ink);background:var(--wash,rgba(11,11,11,.035));font:400 14px/1.45 var(--font);color:var(--ink);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.px-scope[hidden]{display:none}
.px-latest{font:600 13.5px/1.2 var(--font);color:var(--ink);background:var(--page);border:1px solid var(--ink);border-radius:0;padding:7px 12px;min-height:36px;cursor:pointer}
.px-latest:hover{background:var(--ink);color:var(--page)}
/* C15.4: the still picture's one annotation (Home), and the after-tax income line dashed wherever spending and income are drawn
   together: the two lines then differ by colour, weight, marker and stroke, in both themes. */
.px-note-l{stroke:var(--ink);stroke-width:1}
.px-note-t{fill:var(--ink);font-family:var(--font);font-weight:500;paint-order:stroke;stroke:var(--page);stroke-width:3.5px;stroke-linejoin:round}
.px-role-pair .px-b{stroke-dasharray:7 4;stroke-linecap:butt}

/* ───────── C15.5: desktop composition, chart hierarchy ─────────
   The chart: both chosen paths are opaque, deliberate strokes, told apart by line form as well as by label: the first solid
   with a filled square, the second dashed with an open square, the benchmark dotted and grey. The key draws the same three.
   The other states are drawn only on request, at a weight that can be read. */
.px-b{stroke-opacity:1;stroke-width:2.2;stroke-dasharray:7 4;stroke-linecap:butt}
.pb-us{stroke-dasharray:.1 4.2;stroke-linecap:round;stroke-width:2.1}
.pb-k i.pb-k-us{border-top:2px dotted var(--ink2)}
.pb-sel.px-a{stroke-width:3}
.px-gap{opacity:.07}.px-role-cobalt .px-gap,.px-role-rust .px-gap{opacity:.09}
.px-oth{opacity:.2;stroke-width:1}
.px-k i.px-i-b{width:18px;height:0;border:0;border-top:2.2px dashed var(--ink);background:none;vertical-align:middle}
.px-k i.px-i-a{width:18px;height:3px;vertical-align:middle}
.px-role-cobalt .px-k i.px-i-a{background:var(--cobalt)}.px-role-cobalt .px-k i.px-i-b{border-color:var(--cobalt)}
.px-role-rust .px-k i.px-i-a{background:var(--rust)}.px-role-rust .px-k i.px-i-b{border-color:var(--rust)}
.px-role-pair .px-k i.px-i-b{border-color:var(--cobalt)}
.px-opt{margin:2px 0 0}.px-opt .px-link{font-size:14px}
.px-opt .px-link[aria-pressed="true"]{font-weight:600}
.px-closing-b{margin-top:2px}

/* The Watch page from 960 px. Five jobs, in reading order: read the chart (left, as wide as the page allows); beside it, Play
   and the current finding, so the page's main action is on the first screen of a laptop; under the chart, the timeline and the
   moment buttons; then one row of three groups: the next comparison, changes to this one, evidence and sharing. The player's
   children are laid out on one grid; the markup, and with it the focus order, is unchanged: Play, the timeline, the moment
   buttons, the chart option, then the links. */
@media (min-width:960px){
.pb,.pb-top{max-width:1320px}
/* the opening: the headline on the left, its basis and the one supporting sentence beside it, so the chart starts higher */
main[class*="px-lens-"] .px-open{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);column-gap:48px;align-items:end;margin-bottom:14px}
main[class*="px-lens-"] .px-open .pb-h1{grid-column:1;grid-row:1 / 3;max-width:none;margin-bottom:0}
main[class*="px-lens-"] .px-open .px-basis{grid-column:2;max-width:none;margin:0 0 6px}
main[class*="px-lens-"] .px-open #px-dek{grid-column:2;max-width:none;margin:0}
main[class*="px-lens-"] #px-player:not([data-embed]){--px-gut:32px;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(250px,340px);grid-template-rows:auto auto auto auto auto 1fr;column-gap:0;align-items:start}
main[class*="px-lens-"] #px-player:not([data-embed])>.pb-bar,main[class*="px-lens-"] #px-player:not([data-embed])>.px-stage,main[class*="px-lens-"] #px-player:not([data-embed]) .pb-main,main[class*="px-lens-"] #px-player:not([data-embed]) .pb-side{display:contents}
main[class*="px-lens-"] #px-player:not([data-embed])>*{grid-column:1 / -1}
main[class*="px-lens-"] #px-scope{grid-row:1}
main[class*="px-lens-"] #px-ttl{grid-column:1 / 3;grid-row:2;margin-top:0}
main[class*="px-lens-"] .pb-main>.pb-key{grid-column:1 / 3;grid-row:3}
main[class*="px-lens-"] .pb-main>.pb-key.px-parts{grid-row:4}
main[class*="px-lens-"] #px-chart{grid-column:1 / 3;grid-row:5 / 7;max-width:none}
main[class*="px-lens-"] .pb-read{grid-column:3;grid-row:5;margin:14px 0 14px var(--px-gut);border:0;padding:0}
main[class*="px-lens-"] #px-cap{grid-column:3;grid-row:6 / 11;margin-left:var(--px-gut);align-self:start}
main[class*="px-lens-"] #px-play{grid-column:3;grid-row:2 / 5;margin:0 0 0 var(--px-gut);align-self:end;justify-self:start}
main[class*="px-lens-"] #px-ctl{grid-column:1 / 3;grid-row:7;margin:10px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}
main[class*="px-lens-"] #px-ctl[hidden]{display:none}
main[class*="px-lens-"] #px-ctl .pb-controls{grid-column:2;grid-row:1 / 3;margin:0;display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
main[class*="px-lens-"] #px-ctl .pb-moment{margin:0 0 0 6px;width:15em;max-width:15em;min-width:15em;flex:0 0 15em}   /* C15.6: a fixed width, so the timeline and the buttons never move sideways as the moment's name changes */
main[class*="px-lens-"] #px-ctl .pb-time-w{grid-column:1;grid-row:1}
main[class*="px-lens-"] #px-ctl .pb-time-l{grid-column:1;grid-row:2}
main[class*="px-lens-"] #px-keynote{grid-column:1 / 3;grid-row:8;max-width:none;margin-top:12px}
main[class*="px-lens-"] .px-opt{grid-column:1 / 3;grid-row:9}
main[class*="px-lens-"] #px-ribw{grid-column:1 / 3;grid-row:10;max-width:none}
main[class*="px-lens-"] #px-ribw .px-ribw{max-width:none}
main[class*="px-lens-"] #px-after{grid-column:1 / -1;grid-row:11;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:48px;margin-top:22px;border-top:1px solid var(--hair);max-width:none}
main[class*="px-lens-"] #px-after .pb-next{margin:0;padding-top:14px;border:0}
main[class*="px-lens-"] #px-status{grid-row:12}
/* below the player: the text version and the limits are two independent things to read, so they sit side by side, each at a
   comfortable measure; methods and sources share a row; the evidence table takes the page width when opened */
main[class*="px-lens-"] .pb-evidence.pb-more,main[class*="px-lens-"] .pb-text,main[class*="px-lens-"] .pb-foot{max-width:none}
main[class*="px-lens-"] .px-lower{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:64px;align-items:start}
main[class*="px-lens-"] .px-lower-b .pb-h3{margin-top:0}
main[class*="px-lens-"] .px-lower-b .pb-limits{max-width:40em}
main[class*="px-lens-"] .px-lower-a .pb-more{max-width:none}
main[class*="px-lens-"] .px-lower-c{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:64px;align-items:start;margin-top:18px;border-top:1px solid var(--hair);padding-top:6px}
main[class*="px-lens-"] .px-lower-c .pb-more{max-width:none;margin:0}
}
@media (max-width:959px){.px-group-h.px-next-h{display:none}}
@media (min-width:1100px){main[class*="px-lens-"] #px-player:not([data-embed]){--px-gut:48px}}

/* ───────── C15.6 ───────── */
.px-seg{white-space:nowrap}
/* the comparison controls from 960 px: the two places share the room; "Start from" and "Basis" are sized for their longest
   option ("Jan 2023 (whole record)"), so a date is never cut to "whole reco…" */
@media (min-width:960px){main[class*="px-lens-"] .px-pick:not(.px-pick-one){max-width:1140px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 250px 170px}
main[class*="px-lens-"] .px-pick .px-f:nth-of-type(n+3){grid-column:auto}}
.pb-closing-t .px-closing-b{display:block;font:400 13.5px/1.45 var(--font);color:var(--ink2);margin:4px 0 8px;max-width:none}
/* the three groups under the stage start on one line: each heading at the top of its group, whatever the group holds */
@media (min-width:960px){main[class*="px-lens-"] #px-after .pb-next{align-items:flex-start;align-content:flex-start}}
/* phones: where there is no "Basis" menu, "Start from" takes its row (no extra row), so "Jan 2023 (whole record)" is shown whole; with a
   Basis menu the two keep sharing a row, so Play stays on the first screen */
@media (max-width:599px){main[class*="px-lens-"] .px-pick:not(:has(.px-f-variant)) .px-f.px-f-from{grid-column:1/-1}}
/* the reading's date breaks evenly ("Marked · the first / quarter of 2024", never a lone year); a figure's comma sits against it */
#px-date{text-wrap:balance}
.pb-fig .px-nw b{margin-right:0}

/* C15.6: on the yearly bar chart the key's swatches are the bars' own fills (full and lighter), not solid and dashed lines */
.pb-key.px-key-bars .px-k i.px-i-a,.pb-key.px-key-bars .px-k i.px-i-b{width:11px;height:11px;border:0;vertical-align:-1px}
.pb-key.px-key-bars .px-k i.px-i-b{background:var(--ink);opacity:.45}
.px-role-cobalt .pb-key.px-key-bars .px-k i.px-i-b{background:var(--cobalt)}
/* C15.6: on phones the basis now names the adjustment and each place beside its figure, which takes a third line; set a little
   tighter so the Play control keeps its place at the first screen (12 px type on 16 px lines) */
@media (max-width:599px){.px-basis{line-height:16px}}
/* C15.6: below 900 px, "Start from" also takes the swap button's column, so its longest label ("Q1 2023 (whole record)") shows
   whole at a laptop zoomed to 200% (about 512 px wide); the Basis menu keeps the third column */
@media (min-width:360px) and (max-width:899px){.px-pick:not(.px-pick-one) .px-f.px-f-from{grid-column:1/3}}
/* C15.6: from 1,180 px the moment's name has room for one line ("Moment 4 of 5 · West Virginia ahead from here", about 270 px);
   below that, and for long metro names, it may take two lines inside the controls row (44 px tall), so nothing moves either way */
@media (min-width:1180px){main[class*="px-lens-"] #px-ctl .pb-moment{width:21em;max-width:21em;min-width:21em;flex:0 0 21em}}
